/** * The Selling Partner API for Messaging Automations * The Selling Partner API for Messaging Automations allows sellers to programmatically manage automated buyer-seller messaging configurations. An automation configuration defines rules for automatically responding to buyer messages (for example, auto-responses to common questions about shipping, returns, or product details). A seller can create multiple automation configurations, and each configuration can apply to one or more Amazon stores. Each store-specific entry within a configuration contains the response content and the automation trigger conditions. The `marketplaceIds` query parameter is required on all operations for store-scoped authorization. * * The version of the OpenAPI document: 2026-04-20 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. * */ /** * The TriggerConditions model module. * @module messaging_v2026_04_20/model/TriggerConditions * @version 2026-04-20 */ export declare class TriggerConditions { asinList: string[]; buyerContactTopics: string[]; buyerContactType: string; /** * Constructs a new TriggerConditions. * The conditions that determine when an automation configuration activates for a given store. All conditions must be met simultaneously using `AND` logic. Within list-based conditions (such as `buyerContactTopics` or `asinList`), any single match satisfies that condition using `OR` logic. For example, if `buyerContactTopics` contains `SHIPPING` and `WHERES_MY_STUFF`, the automation triggers when the buyer's inquiry matches either topic. Trigger conditions cannot overlap with another active automation configuration in the same store; if any combination of ASIN, buyer contact topic, and buyer contact type is already covered by another active configuration, the request is rejected with a `409` error. * @alias module:messaging_v2026_04_20/model/TriggerConditions * @class * @param asinList {String[]} The ASINs this automation configuration applies to. The configuration only triggers for buyer inquiries about these ASINs. ASINs are validated for format only (10 alphanumeric characters); they are not checked against the catalog. Non-existent ASINs won't match a buyer inquiry. * @param buyerContactTopics {String[]} The buyer contact topics that trigger this automation configuration. * @param buyerContactType {String} The buyer contact type that triggers this automation configuration. There is no default value. */ constructor(asinList: string[], buyerContactTopics: string[], buyerContactType: string); /** * Constructs a TriggerConditions from a plain JavaScript object, optionally creating a new instance. * Copies all relevant properties from data to obj if supplied or a new instance if not. * @param {Object} data The plain JavaScript object bearing properties of interest. * @param {TriggerConditions} obj Optional instance to populate. * @return {TriggerConditions} The populated TriggerConditions instance. */ static constructFromObject(data: Object, obj: TriggerConditions): TriggerConditions; } export declare namespace TriggerConditions { var BuyerContactTopicsEnum: { /** * value: "PRODUCT_DETAILS" * @const */ PRODUCT_DETAILS: string; /** * value: "WARRANTY" * @const */ WARRANTY: string; /** * value: "PRICING" * @const */ PRICING: string; /** * value: "SHIPPING" * @const */ SHIPPING: string; /** * value: "TROUBLESHOOTING" * @const */ TROUBLESHOOTING: string; /** * value: "WHERES_MY_STUFF" * @const */ WHERES_MY_STUFF: string; /** * value: "RETURN_POLICY" * @const */ RETURN_POLICY: string; }; var BuyerContactTypeEnum: { /** * value: "PRE_ORDER" * @const */ PRE_ORDER: string; /** * value: "POST_ORDER" * @const */ POST_ORDER: string; /** * value: "ANY" * @const */ ANY: string; }; } //# sourceMappingURL=TriggerConditions.d.ts.map