@commercelayer/cli-plugin-triggers 4.11.0 → 4.12.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (141) hide show
  1. package/README.md +1148 -2
  2. package/lib/commands/address/add_tags.d.ts +9 -0
  3. package/lib/commands/address/add_tags.js +22 -0
  4. package/lib/commands/address/index.d.ts +9 -0
  5. package/lib/commands/address/index.js +40 -0
  6. package/lib/commands/address/remove_tags.d.ts +9 -0
  7. package/lib/commands/address/remove_tags.js +22 -0
  8. package/lib/commands/bundle/add_tags.d.ts +9 -0
  9. package/lib/commands/bundle/add_tags.js +22 -0
  10. package/lib/commands/bundle/remove_tags.d.ts +9 -0
  11. package/lib/commands/bundle/remove_tags.js +22 -0
  12. package/lib/commands/buy_x_pay_y_promotion/add_tags.d.ts +9 -0
  13. package/lib/commands/buy_x_pay_y_promotion/add_tags.js +22 -0
  14. package/lib/commands/buy_x_pay_y_promotion/remove_tags.d.ts +9 -0
  15. package/lib/commands/buy_x_pay_y_promotion/remove_tags.js +22 -0
  16. package/lib/commands/coupon/add_tags.d.ts +9 -0
  17. package/lib/commands/coupon/add_tags.js +22 -0
  18. package/lib/commands/coupon/index.d.ts +9 -0
  19. package/lib/commands/coupon/index.js +40 -0
  20. package/lib/commands/coupon/remove_tags.d.ts +9 -0
  21. package/lib/commands/coupon/remove_tags.js +22 -0
  22. package/lib/commands/customer/add_tags.d.ts +9 -0
  23. package/lib/commands/customer/add_tags.js +22 -0
  24. package/lib/commands/customer/index.d.ts +9 -0
  25. package/lib/commands/customer/index.js +40 -0
  26. package/lib/commands/customer/remove_tags.d.ts +9 -0
  27. package/lib/commands/customer/remove_tags.js +22 -0
  28. package/lib/commands/external_promotion/add_tags.d.ts +9 -0
  29. package/lib/commands/external_promotion/add_tags.js +22 -0
  30. package/lib/commands/external_promotion/remove_tags.d.ts +9 -0
  31. package/lib/commands/external_promotion/remove_tags.js +22 -0
  32. package/lib/commands/fixed_amount_promotion/add_tags.d.ts +9 -0
  33. package/lib/commands/fixed_amount_promotion/add_tags.js +22 -0
  34. package/lib/commands/fixed_amount_promotion/remove_tags.d.ts +9 -0
  35. package/lib/commands/fixed_amount_promotion/remove_tags.js +22 -0
  36. package/lib/commands/fixed_price_promotion/add_tags.d.ts +9 -0
  37. package/lib/commands/fixed_price_promotion/add_tags.js +22 -0
  38. package/lib/commands/fixed_price_promotion/remove_tags.d.ts +9 -0
  39. package/lib/commands/fixed_price_promotion/remove_tags.js +22 -0
  40. package/lib/commands/flex_promotion/add_tags.d.ts +9 -0
  41. package/lib/commands/flex_promotion/add_tags.js +22 -0
  42. package/lib/commands/flex_promotion/remove_tags.d.ts +9 -0
  43. package/lib/commands/flex_promotion/remove_tags.js +22 -0
  44. package/lib/commands/free_gift_promotion/add_tags.d.ts +9 -0
  45. package/lib/commands/free_gift_promotion/add_tags.js +22 -0
  46. package/lib/commands/free_gift_promotion/remove_tags.d.ts +9 -0
  47. package/lib/commands/free_gift_promotion/remove_tags.js +22 -0
  48. package/lib/commands/free_shipping_promotion/add_tags.d.ts +9 -0
  49. package/lib/commands/free_shipping_promotion/add_tags.js +22 -0
  50. package/lib/commands/free_shipping_promotion/remove_tags.d.ts +9 -0
  51. package/lib/commands/free_shipping_promotion/remove_tags.js +22 -0
  52. package/lib/commands/gift_card/add_tags.d.ts +9 -0
  53. package/lib/commands/gift_card/add_tags.js +22 -0
  54. package/lib/commands/gift_card/remove_tags.d.ts +9 -0
  55. package/lib/commands/gift_card/remove_tags.js +22 -0
  56. package/lib/commands/line_item/add_tags.d.ts +9 -0
  57. package/lib/commands/line_item/add_tags.js +22 -0
  58. package/lib/commands/line_item/remove_tags.d.ts +9 -0
  59. package/lib/commands/line_item/remove_tags.js +22 -0
  60. package/lib/commands/line_item_option/add_tags.d.ts +9 -0
  61. package/lib/commands/line_item_option/add_tags.js +22 -0
  62. package/lib/commands/line_item_option/index.d.ts +9 -0
  63. package/lib/commands/line_item_option/index.js +40 -0
  64. package/lib/commands/line_item_option/remove_tags.d.ts +9 -0
  65. package/lib/commands/line_item_option/remove_tags.js +22 -0
  66. package/lib/commands/order/add_tags.d.ts +9 -0
  67. package/lib/commands/order/add_tags.js +22 -0
  68. package/lib/commands/order/remove_tags.d.ts +9 -0
  69. package/lib/commands/order/remove_tags.js +22 -0
  70. package/lib/commands/order_subscription/add_tags.d.ts +9 -0
  71. package/lib/commands/order_subscription/add_tags.js +22 -0
  72. package/lib/commands/order_subscription/remove_tags.d.ts +9 -0
  73. package/lib/commands/order_subscription/remove_tags.js +22 -0
  74. package/lib/commands/percentage_discount_promotion/add_tags.d.ts +9 -0
  75. package/lib/commands/percentage_discount_promotion/add_tags.js +22 -0
  76. package/lib/commands/percentage_discount_promotion/remove_tags.d.ts +9 -0
  77. package/lib/commands/percentage_discount_promotion/remove_tags.js +22 -0
  78. package/lib/commands/return/add_tags.d.ts +9 -0
  79. package/lib/commands/return/add_tags.js +22 -0
  80. package/lib/commands/return/remove_tags.d.ts +9 -0
  81. package/lib/commands/return/remove_tags.js +22 -0
  82. package/lib/commands/shipment/add_tags.d.ts +9 -0
  83. package/lib/commands/shipment/add_tags.js +22 -0
  84. package/lib/commands/shipment/remove_tags.d.ts +9 -0
  85. package/lib/commands/shipment/remove_tags.js +22 -0
  86. package/lib/commands/sku/add_tags.d.ts +9 -0
  87. package/lib/commands/sku/add_tags.js +22 -0
  88. package/lib/commands/sku/index.d.ts +9 -0
  89. package/lib/commands/sku/index.js +40 -0
  90. package/lib/commands/sku/remove_tags.d.ts +9 -0
  91. package/lib/commands/sku/remove_tags.js +22 -0
  92. package/lib/commands/sku_option/add_tags.d.ts +9 -0
  93. package/lib/commands/sku_option/add_tags.js +22 -0
  94. package/lib/commands/sku_option/index.d.ts +9 -0
  95. package/lib/commands/sku_option/index.js +40 -0
  96. package/lib/commands/sku_option/remove_tags.d.ts +9 -0
  97. package/lib/commands/sku_option/remove_tags.js +22 -0
  98. package/lib/triggers/addresses.d.ts +3 -0
  99. package/lib/triggers/addresses.js +15 -0
  100. package/lib/triggers/bundles.d.ts +1 -1
  101. package/lib/triggers/bundles.js +10 -0
  102. package/lib/triggers/buy_x_pay_y_promotions.d.ts +1 -1
  103. package/lib/triggers/buy_x_pay_y_promotions.js +10 -0
  104. package/lib/triggers/coupons.d.ts +3 -0
  105. package/lib/triggers/coupons.js +15 -0
  106. package/lib/triggers/customers.d.ts +3 -0
  107. package/lib/triggers/customers.js +15 -0
  108. package/lib/triggers/external_promotions.d.ts +1 -1
  109. package/lib/triggers/external_promotions.js +10 -0
  110. package/lib/triggers/fixed_amount_promotions.d.ts +1 -1
  111. package/lib/triggers/fixed_amount_promotions.js +10 -0
  112. package/lib/triggers/fixed_price_promotions.d.ts +1 -1
  113. package/lib/triggers/fixed_price_promotions.js +10 -0
  114. package/lib/triggers/flex_promotions.d.ts +1 -1
  115. package/lib/triggers/flex_promotions.js +10 -0
  116. package/lib/triggers/free_gift_promotions.d.ts +1 -1
  117. package/lib/triggers/free_gift_promotions.js +10 -0
  118. package/lib/triggers/free_shipping_promotions.d.ts +1 -1
  119. package/lib/triggers/free_shipping_promotions.js +10 -0
  120. package/lib/triggers/gift_cards.d.ts +1 -1
  121. package/lib/triggers/gift_cards.js +10 -0
  122. package/lib/triggers/line_item_options.d.ts +3 -0
  123. package/lib/triggers/line_item_options.js +15 -0
  124. package/lib/triggers/line_items.d.ts +1 -1
  125. package/lib/triggers/line_items.js +10 -0
  126. package/lib/triggers/order_subscriptions.d.ts +1 -1
  127. package/lib/triggers/order_subscriptions.js +10 -0
  128. package/lib/triggers/orders.d.ts +1 -1
  129. package/lib/triggers/orders.js +10 -0
  130. package/lib/triggers/percentage_discount_promotions.d.ts +1 -1
  131. package/lib/triggers/percentage_discount_promotions.js +10 -0
  132. package/lib/triggers/returns.d.ts +1 -1
  133. package/lib/triggers/returns.js +10 -0
  134. package/lib/triggers/shipments.d.ts +1 -1
  135. package/lib/triggers/shipments.js +10 -0
  136. package/lib/triggers/sku_options.d.ts +3 -0
  137. package/lib/triggers/sku_options.js +15 -0
  138. package/lib/triggers/skus.d.ts +3 -0
  139. package/lib/triggers/skus.js +15 -0
  140. package/oclif.manifest.json +5022 -798
  141. package/package.json +5 -5
@@ -1,3 +1,3 @@
1
1
  import type { Trigger } from '../common';
2
2
  export declare const triggers: Record<string, Trigger>;
3
- export type ActionType = 'disable' | 'enable';
3
+ export type ActionType = 'disable' | 'enable' | 'add_tags' | 'remove_tags';
@@ -12,4 +12,14 @@ exports.triggers = {
12
12
  trigger: '_enable',
13
13
  description: 'Send this attribute if you want to mark this resource as enabled.',
14
14
  },
15
+ add_tags: {
16
+ action: 'add_tags',
17
+ trigger: '_add_tags',
18
+ description: 'Comma separated list of tags to be added. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.',
19
+ },
20
+ remove_tags: {
21
+ action: 'remove_tags',
22
+ trigger: '_remove_tags',
23
+ description: 'Comma separated list of tags to be removed. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.',
24
+ },
15
25
  };
@@ -1,3 +1,3 @@
1
1
  import type { Trigger } from '../common';
2
2
  export declare const triggers: Record<string, Trigger>;
3
- export type ActionType = 'disable' | 'enable';
3
+ export type ActionType = 'disable' | 'enable' | 'add_tags' | 'remove_tags';
@@ -12,4 +12,14 @@ exports.triggers = {
12
12
  trigger: '_enable',
13
13
  description: 'Send this attribute if you want to mark this resource as enabled.',
14
14
  },
15
+ add_tags: {
16
+ action: 'add_tags',
17
+ trigger: '_add_tags',
18
+ description: 'Comma separated list of tags to be added. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.',
19
+ },
20
+ remove_tags: {
21
+ action: 'remove_tags',
22
+ trigger: '_remove_tags',
23
+ description: 'Comma separated list of tags to be removed. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.',
24
+ },
15
25
  };
@@ -1,3 +1,3 @@
1
1
  import type { Trigger } from '../common';
2
2
  export declare const triggers: Record<string, Trigger>;
3
- export type ActionType = 'disable' | 'enable';
3
+ export type ActionType = 'disable' | 'enable' | 'add_tags' | 'remove_tags';
@@ -12,4 +12,14 @@ exports.triggers = {
12
12
  trigger: '_enable',
13
13
  description: 'Send this attribute if you want to mark this resource as enabled.',
14
14
  },
15
+ add_tags: {
16
+ action: 'add_tags',
17
+ trigger: '_add_tags',
18
+ description: 'Comma separated list of tags to be added. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.',
19
+ },
20
+ remove_tags: {
21
+ action: 'remove_tags',
22
+ trigger: '_remove_tags',
23
+ description: 'Comma separated list of tags to be removed. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.',
24
+ },
15
25
  };
@@ -1,3 +1,3 @@
1
1
  import type { Trigger } from '../common';
2
2
  export declare const triggers: Record<string, Trigger>;
3
- export type ActionType = 'purchase' | 'activate' | 'deactivate' | 'balance_change_cents';
3
+ export type ActionType = 'purchase' | 'activate' | 'deactivate' | 'balance_change_cents' | 'add_tags' | 'remove_tags';
@@ -22,4 +22,14 @@ exports.triggers = {
22
22
  trigger: '_balance_change_cents',
23
23
  description: 'The balance change, in cents. Send a negative value to reduces the card balance by the specified amount. Send a positive value to recharge the gift card (if rechargeable).',
24
24
  },
25
+ add_tags: {
26
+ action: 'add_tags',
27
+ trigger: '_add_tags',
28
+ description: 'Comma separated list of tags to be added. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.',
29
+ },
30
+ remove_tags: {
31
+ action: 'remove_tags',
32
+ trigger: '_remove_tags',
33
+ description: 'Comma separated list of tags to be removed. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.',
34
+ },
25
35
  };
@@ -0,0 +1,3 @@
1
+ import type { Trigger } from '../common';
2
+ export declare const triggers: Record<string, Trigger>;
3
+ export type ActionType = 'add_tags' | 'remove_tags';
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.triggers = void 0;
4
+ exports.triggers = {
5
+ add_tags: {
6
+ action: 'add_tags',
7
+ trigger: '_add_tags',
8
+ description: 'Comma separated list of tags to be added. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.',
9
+ },
10
+ remove_tags: {
11
+ action: 'remove_tags',
12
+ trigger: '_remove_tags',
13
+ description: 'Comma separated list of tags to be removed. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.',
14
+ },
15
+ };
@@ -1,3 +1,3 @@
1
1
  import type { Trigger } from '../common';
2
2
  export declare const triggers: Record<string, Trigger>;
3
- export type ActionType = 'external_price' | 'reserve_stock' | 'reset_circuit';
3
+ export type ActionType = 'external_price' | 'reserve_stock' | 'reset_circuit' | 'add_tags' | 'remove_tags';
@@ -17,4 +17,14 @@ exports.triggers = {
17
17
  trigger: '_reset_circuit',
18
18
  description: 'Send this attribute if you want to reset the circuit breaker associated to this resource to \'closed\' state and zero failures count. Cannot be passed by sales channels.',
19
19
  },
20
+ add_tags: {
21
+ action: 'add_tags',
22
+ trigger: '_add_tags',
23
+ description: 'Comma separated list of tags to be added. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.',
24
+ },
25
+ remove_tags: {
26
+ action: 'remove_tags',
27
+ trigger: '_remove_tags',
28
+ description: 'Comma separated list of tags to be removed. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.',
29
+ },
20
30
  };
@@ -1,3 +1,3 @@
1
1
  import type { Trigger } from '../common';
2
2
  export declare const triggers: Record<string, Trigger>;
3
- export type ActionType = 'activate' | 'deactivate' | 'cancel' | 'convert';
3
+ export type ActionType = 'activate' | 'deactivate' | 'cancel' | 'convert' | 'add_tags' | 'remove_tags';
@@ -22,4 +22,14 @@ exports.triggers = {
22
22
  trigger: '_convert',
23
23
  description: 'Send this attribute if you want to convert a manual subscription to an automatic one. A subscription model is required before conversion.',
24
24
  },
25
+ add_tags: {
26
+ action: 'add_tags',
27
+ trigger: '_add_tags',
28
+ description: 'Comma separated list of tags to be added. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.',
29
+ },
30
+ remove_tags: {
31
+ action: 'remove_tags',
32
+ trigger: '_remove_tags',
33
+ description: 'Comma separated list of tags to be removed. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.',
34
+ },
25
35
  };
@@ -1,3 +1,3 @@
1
1
  import type { Trigger } from '../common';
2
2
  export declare const triggers: Record<string, Trigger>;
3
- export type ActionType = 'archive' | 'unarchive' | 'pending' | 'place' | 'cancel' | 'approve' | 'approve_and_capture' | 'authorize' | 'authorization_amount_cents' | 'capture' | 'refund' | 'fulfill' | 'update_taxes' | 'nullify_payment_source' | 'fix_payment_source' | 'billing_address_clone_id' | 'shipping_address_clone_id' | 'customer_payment_source_id' | 'shipping_address_same_as_billing' | 'billing_address_same_as_shipping' | 'commit_invoice' | 'refund_invoice' | 'save_payment_source_to_customer_wallet' | 'save_shipping_address_to_customer_address_book' | 'save_billing_address_to_customer_address_book' | 'refresh' | 'validate' | 'create_subscriptions' | 'start_editing' | 'stop_editing' | 'reset_circuit';
3
+ export type ActionType = 'archive' | 'unarchive' | 'pending' | 'place' | 'cancel' | 'approve' | 'approve_and_capture' | 'authorize' | 'authorization_amount_cents' | 'capture' | 'refund' | 'fulfill' | 'update_taxes' | 'nullify_payment_source' | 'fix_payment_source' | 'billing_address_clone_id' | 'shipping_address_clone_id' | 'customer_payment_source_id' | 'shipping_address_same_as_billing' | 'billing_address_same_as_shipping' | 'commit_invoice' | 'refund_invoice' | 'save_payment_source_to_customer_wallet' | 'save_shipping_address_to_customer_address_book' | 'save_billing_address_to_customer_address_book' | 'refresh' | 'validate' | 'create_subscriptions' | 'start_editing' | 'stop_editing' | 'reset_circuit' | 'add_tags' | 'remove_tags';
@@ -157,4 +157,14 @@ exports.triggers = {
157
157
  trigger: '_reset_circuit',
158
158
  description: 'Send this attribute if you want to reset the circuit breaker associated to this resource to \'closed\' state and zero failures count. Cannot be passed by sales channels.',
159
159
  },
160
+ add_tags: {
161
+ action: 'add_tags',
162
+ trigger: '_add_tags',
163
+ description: 'Comma separated list of tags to be added. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.',
164
+ },
165
+ remove_tags: {
166
+ action: 'remove_tags',
167
+ trigger: '_remove_tags',
168
+ description: 'Comma separated list of tags to be removed. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.',
169
+ },
160
170
  };
@@ -1,3 +1,3 @@
1
1
  import type { Trigger } from '../common';
2
2
  export declare const triggers: Record<string, Trigger>;
3
- export type ActionType = 'disable' | 'enable';
3
+ export type ActionType = 'disable' | 'enable' | 'add_tags' | 'remove_tags';
@@ -12,4 +12,14 @@ exports.triggers = {
12
12
  trigger: '_enable',
13
13
  description: 'Send this attribute if you want to mark this resource as enabled.',
14
14
  },
15
+ add_tags: {
16
+ action: 'add_tags',
17
+ trigger: '_add_tags',
18
+ description: 'Comma separated list of tags to be added. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.',
19
+ },
20
+ remove_tags: {
21
+ action: 'remove_tags',
22
+ trigger: '_remove_tags',
23
+ description: 'Comma separated list of tags to be removed. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.',
24
+ },
15
25
  };
@@ -1,3 +1,3 @@
1
1
  import type { Trigger } from '../common';
2
2
  export declare const triggers: Record<string, Trigger>;
3
- export type ActionType = 'request' | 'approve' | 'cancel' | 'ship' | 'reject' | 'receive' | 'restock' | 'archive' | 'unarchive' | 'refund' | 'refund_amount_cents';
3
+ export type ActionType = 'request' | 'approve' | 'cancel' | 'ship' | 'reject' | 'receive' | 'restock' | 'archive' | 'unarchive' | 'refund' | 'refund_amount_cents' | 'add_tags' | 'remove_tags';
@@ -57,4 +57,14 @@ exports.triggers = {
57
57
  trigger: '_refund_amount_cents',
58
58
  description: 'Send this attribute as a value in cents to specify the amount to be refunded.',
59
59
  },
60
+ add_tags: {
61
+ action: 'add_tags',
62
+ trigger: '_add_tags',
63
+ description: 'Comma separated list of tags to be added. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.',
64
+ },
65
+ remove_tags: {
66
+ action: 'remove_tags',
67
+ trigger: '_remove_tags',
68
+ description: 'Comma separated list of tags to be removed. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.',
69
+ },
60
70
  };
@@ -1,3 +1,3 @@
1
1
  import type { Trigger } from '../common';
2
2
  export declare const triggers: Record<string, Trigger>;
3
- export type ActionType = 'upcoming' | 'cancel' | 'on_hold' | 'picking' | 'packing' | 'ready_to_ship' | 'ship' | 'deliver' | 'reserve_stock' | 'release_stock' | 'decrement_stock' | 'get_rates' | 'purchase';
3
+ export type ActionType = 'upcoming' | 'cancel' | 'on_hold' | 'picking' | 'packing' | 'ready_to_ship' | 'ship' | 'deliver' | 'reserve_stock' | 'release_stock' | 'decrement_stock' | 'get_rates' | 'purchase' | 'add_tags' | 'remove_tags';
@@ -67,4 +67,14 @@ exports.triggers = {
67
67
  trigger: '_purchase',
68
68
  description: 'Send this attribute if you want to purchase this shipment with the selected rate.',
69
69
  },
70
+ add_tags: {
71
+ action: 'add_tags',
72
+ trigger: '_add_tags',
73
+ description: 'Comma separated list of tags to be added. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.',
74
+ },
75
+ remove_tags: {
76
+ action: 'remove_tags',
77
+ trigger: '_remove_tags',
78
+ description: 'Comma separated list of tags to be removed. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.',
79
+ },
70
80
  };
@@ -0,0 +1,3 @@
1
+ import type { Trigger } from '../common';
2
+ export declare const triggers: Record<string, Trigger>;
3
+ export type ActionType = 'add_tags' | 'remove_tags';
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.triggers = void 0;
4
+ exports.triggers = {
5
+ add_tags: {
6
+ action: 'add_tags',
7
+ trigger: '_add_tags',
8
+ description: 'Comma separated list of tags to be added. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.',
9
+ },
10
+ remove_tags: {
11
+ action: 'remove_tags',
12
+ trigger: '_remove_tags',
13
+ description: 'Comma separated list of tags to be removed. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.',
14
+ },
15
+ };
@@ -0,0 +1,3 @@
1
+ import type { Trigger } from '../common';
2
+ export declare const triggers: Record<string, Trigger>;
3
+ export type ActionType = 'add_tags' | 'remove_tags';
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.triggers = void 0;
4
+ exports.triggers = {
5
+ add_tags: {
6
+ action: 'add_tags',
7
+ trigger: '_add_tags',
8
+ description: 'Comma separated list of tags to be added. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.',
9
+ },
10
+ remove_tags: {
11
+ action: 'remove_tags',
12
+ trigger: '_remove_tags',
13
+ description: 'Comma separated list of tags to be removed. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.',
14
+ },
15
+ };