@congminh1254/shopee-sdk 0.10.0 → 1.0.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 (133) hide show
  1. package/README.md +172 -36
  2. package/lib/fetch.js +13 -0
  3. package/lib/fetch.js.map +1 -1
  4. package/lib/managers/add-on-deal.manager.d.ts +140 -0
  5. package/lib/managers/add-on-deal.manager.js +240 -0
  6. package/lib/managers/add-on-deal.manager.js.map +1 -0
  7. package/lib/managers/ads.manager.d.ts +217 -1
  8. package/lib/managers/ads.manager.js +312 -0
  9. package/lib/managers/ads.manager.js.map +1 -1
  10. package/lib/managers/bundle-deal.manager.d.ts +106 -0
  11. package/lib/managers/bundle-deal.manager.js +178 -0
  12. package/lib/managers/bundle-deal.manager.js.map +1 -0
  13. package/lib/managers/discount.manager.d.ts +102 -0
  14. package/lib/managers/discount.manager.js +167 -0
  15. package/lib/managers/discount.manager.js.map +1 -0
  16. package/lib/managers/fbs.manager.d.ts +115 -0
  17. package/lib/managers/fbs.manager.js +145 -0
  18. package/lib/managers/fbs.manager.js.map +1 -0
  19. package/lib/managers/first-mile.manager.d.ts +150 -0
  20. package/lib/managers/first-mile.manager.js +264 -0
  21. package/lib/managers/first-mile.manager.js.map +1 -0
  22. package/lib/managers/follow-prize.manager.d.ts +108 -0
  23. package/lib/managers/follow-prize.manager.js +152 -0
  24. package/lib/managers/follow-prize.manager.js.map +1 -0
  25. package/lib/managers/global-product.manager.d.ts +664 -0
  26. package/lib/managers/global-product.manager.js +904 -0
  27. package/lib/managers/global-product.manager.js.map +1 -0
  28. package/lib/managers/index.d.ts +17 -1
  29. package/lib/managers/index.js +17 -1
  30. package/lib/managers/index.js.map +1 -1
  31. package/lib/managers/livestream.manager.d.ts +377 -0
  32. package/lib/managers/livestream.manager.js +529 -0
  33. package/lib/managers/livestream.manager.js.map +1 -0
  34. package/lib/managers/logistics.manager.d.ts +267 -1
  35. package/lib/managers/logistics.manager.js +544 -0
  36. package/lib/managers/logistics.manager.js.map +1 -1
  37. package/lib/managers/media-space.manager.d.ts +179 -0
  38. package/lib/managers/media-space.manager.js +220 -0
  39. package/lib/managers/media-space.manager.js.map +1 -0
  40. package/lib/managers/media.manager.d.ts +226 -0
  41. package/lib/managers/media.manager.js +274 -0
  42. package/lib/managers/media.manager.js.map +1 -0
  43. package/lib/managers/merchant.manager.d.ts +100 -0
  44. package/lib/managers/merchant.manager.js +144 -0
  45. package/lib/managers/merchant.manager.js.map +1 -0
  46. package/lib/managers/order.manager.d.ts +213 -1
  47. package/lib/managers/order.manager.js +305 -0
  48. package/lib/managers/order.manager.js.map +1 -1
  49. package/lib/managers/payment.manager.d.ts +186 -1
  50. package/lib/managers/payment.manager.js +288 -0
  51. package/lib/managers/payment.manager.js.map +1 -1
  52. package/lib/managers/returns.manager.d.ts +200 -0
  53. package/lib/managers/returns.manager.js +300 -0
  54. package/lib/managers/returns.manager.js.map +1 -0
  55. package/lib/managers/sbs.manager.d.ts +112 -0
  56. package/lib/managers/sbs.manager.js +149 -0
  57. package/lib/managers/sbs.manager.js.map +1 -0
  58. package/lib/managers/shop-category.manager.d.ts +207 -0
  59. package/lib/managers/shop-category.manager.js +258 -0
  60. package/lib/managers/shop-category.manager.js.map +1 -0
  61. package/lib/managers/shop-flash-sale.manager.d.ts +242 -0
  62. package/lib/managers/shop-flash-sale.manager.js +321 -0
  63. package/lib/managers/shop-flash-sale.manager.js.map +1 -0
  64. package/lib/managers/shop.manager.d.ts +173 -0
  65. package/lib/managers/shop.manager.js +217 -0
  66. package/lib/managers/shop.manager.js.map +1 -0
  67. package/lib/managers/top-picks.manager.d.ts +62 -0
  68. package/lib/managers/top-picks.manager.js +91 -0
  69. package/lib/managers/top-picks.manager.js.map +1 -0
  70. package/lib/schemas/add-on-deal.d.ts +390 -0
  71. package/lib/schemas/add-on-deal.js +45 -0
  72. package/lib/schemas/add-on-deal.js.map +1 -0
  73. package/lib/schemas/ads.d.ts +437 -0
  74. package/lib/schemas/bundle-deal.d.ts +300 -0
  75. package/lib/schemas/bundle-deal.js +27 -0
  76. package/lib/schemas/bundle-deal.js.map +1 -0
  77. package/lib/schemas/discount.d.ts +334 -0
  78. package/lib/schemas/discount.js +15 -0
  79. package/lib/schemas/discount.js.map +1 -0
  80. package/lib/schemas/fbs.d.ts +117 -0
  81. package/lib/schemas/fbs.js +2 -0
  82. package/lib/schemas/fbs.js.map +1 -0
  83. package/lib/schemas/first-mile.d.ts +551 -0
  84. package/lib/schemas/first-mile.js +2 -0
  85. package/lib/schemas/first-mile.js.map +1 -0
  86. package/lib/schemas/follow-prize.d.ts +198 -0
  87. package/lib/schemas/follow-prize.js +27 -0
  88. package/lib/schemas/follow-prize.js.map +1 -0
  89. package/lib/schemas/global-product.d.ts +1127 -0
  90. package/lib/schemas/global-product.js +2 -0
  91. package/lib/schemas/global-product.js.map +1 -0
  92. package/lib/schemas/index.d.ts +13 -0
  93. package/lib/schemas/index.js +17 -0
  94. package/lib/schemas/index.js.map +1 -1
  95. package/lib/schemas/livestream.d.ts +649 -0
  96. package/lib/schemas/livestream.js +2 -0
  97. package/lib/schemas/livestream.js.map +1 -0
  98. package/lib/schemas/logistics.d.ts +979 -0
  99. package/lib/schemas/logistics.js +13 -0
  100. package/lib/schemas/logistics.js.map +1 -1
  101. package/lib/schemas/media-space.d.ts +189 -0
  102. package/lib/schemas/media-space.js +2 -0
  103. package/lib/schemas/media-space.js.map +1 -0
  104. package/lib/schemas/media.d.ts +230 -0
  105. package/lib/schemas/media.js +2 -0
  106. package/lib/schemas/media.js.map +1 -0
  107. package/lib/schemas/merchant.d.ts +236 -0
  108. package/lib/schemas/merchant.js +2 -0
  109. package/lib/schemas/merchant.js.map +1 -0
  110. package/lib/schemas/order.d.ts +431 -0
  111. package/lib/schemas/payment.d.ts +397 -0
  112. package/lib/schemas/returns.d.ts +632 -0
  113. package/lib/schemas/returns.js +63 -0
  114. package/lib/schemas/returns.js.map +1 -0
  115. package/lib/schemas/sbs.d.ts +484 -0
  116. package/lib/schemas/sbs.js +2 -0
  117. package/lib/schemas/sbs.js.map +1 -0
  118. package/lib/schemas/shop-category.d.ts +176 -0
  119. package/lib/schemas/shop-category.js +2 -0
  120. package/lib/schemas/shop-category.js.map +1 -0
  121. package/lib/schemas/shop-flash-sale.d.ts +473 -0
  122. package/lib/schemas/shop-flash-sale.js +43 -0
  123. package/lib/schemas/shop-flash-sale.js.map +1 -0
  124. package/lib/schemas/shop.d.ts +250 -0
  125. package/lib/schemas/shop.js +2 -0
  126. package/lib/schemas/shop.js.map +1 -0
  127. package/lib/schemas/top-picks.d.ts +99 -0
  128. package/lib/schemas/top-picks.js +2 -0
  129. package/lib/schemas/top-picks.js.map +1 -0
  130. package/lib/sdk.d.ts +34 -0
  131. package/lib/sdk.js +34 -0
  132. package/lib/sdk.js.map +1 -1
  133. package/package.json +2 -4
@@ -0,0 +1,390 @@
1
+ import { BaseResponse } from "./base.js";
2
+ /**
3
+ * Add-on deal promotion types
4
+ */
5
+ export declare enum AddOnDealPromotionType {
6
+ /** Add-on discount promotion */
7
+ ADD_ON_DISCOUNT = 0,
8
+ /** Gift with minimum spend promotion */
9
+ GIFT_WITH_MIN_SPEND = 1
10
+ }
11
+ /**
12
+ * Add-on deal promotion status for filtering
13
+ */
14
+ export declare enum AddOnDealPromotionStatus {
15
+ /** All add-on deals regardless of status */
16
+ ALL = "all",
17
+ /** Currently active add-on deals */
18
+ ONGOING = "ongoing",
19
+ /** Add-on deals that have not started yet */
20
+ UPCOMING = "upcoming",
21
+ /** Add-on deals that have ended */
22
+ EXPIRED = "expired"
23
+ }
24
+ /**
25
+ * Main item status
26
+ */
27
+ export declare enum AddOnDealMainItemStatus {
28
+ /** Deleted status */
29
+ DELETED = 0,
30
+ /** Active status */
31
+ ACTIVE = 1
32
+ }
33
+ /**
34
+ * Sub item status
35
+ */
36
+ export declare enum AddOnDealSubItemStatus {
37
+ /** Deleted status */
38
+ DELETED = 0,
39
+ /** Active status */
40
+ ACTIVE = 1
41
+ }
42
+ /**
43
+ * Main item in add-on deal
44
+ */
45
+ export interface AddOnDealMainItem {
46
+ /** Shopee's unique identifier for an item */
47
+ item_id: number;
48
+ /** Status of the main item (0=deleted, 1=active) */
49
+ status: AddOnDealMainItemStatus;
50
+ }
51
+ /**
52
+ * Sub item (discounted/gift item) in add-on deal
53
+ */
54
+ export interface AddOnDealSubItem {
55
+ /** Shopee's unique identifier for an item */
56
+ item_id: number;
57
+ /** Shopee's unique identifier for a model (variation) */
58
+ model_id: number;
59
+ /** Discounted price or gift price for the sub item */
60
+ sub_item_input_price: number;
61
+ /** Maximum quantity of this sub item that can be purchased per order */
62
+ sub_item_limit?: number;
63
+ /** Status of the sub item (0=deleted, 1=active) */
64
+ status: AddOnDealSubItemStatus;
65
+ }
66
+ /**
67
+ * Failed item in batch operations
68
+ */
69
+ export interface AddOnDealFailedItem {
70
+ /** Shopee's unique identifier for an item */
71
+ item_id: number;
72
+ /** Shopee's unique identifier for a model (variation) - only for sub items */
73
+ model_id?: number;
74
+ /** Error code */
75
+ fail_error: string;
76
+ /** Error message */
77
+ fail_message: string;
78
+ }
79
+ /**
80
+ * Add-on deal information
81
+ */
82
+ export interface AddOnDealInfo {
83
+ /** Shopee's unique identifier for an add on deal activity */
84
+ add_on_deal_id: number;
85
+ /** Title of the add on deal */
86
+ add_on_deal_name: string;
87
+ /** The time when add on deal activity start */
88
+ start_time: number;
89
+ /** The time when add on deal activity end */
90
+ end_time: number;
91
+ /** The type of add on deal (0=add on discount, 1=gift with min spend) */
92
+ promotion_type: AddOnDealPromotionType;
93
+ /** The minimum purchase amount that needs to be met to buy the gift with min spend */
94
+ purchase_min_spend?: number;
95
+ /** Number of gifts that buyers can get */
96
+ per_gift_num?: number;
97
+ /** Max number of add-on products that a customer can purchase per order */
98
+ promotion_purchase_limit?: number;
99
+ /** The display sequence of sub items in buyer side */
100
+ sub_item_priority: number[];
101
+ /** The create source of add on deal (0=shopee admin, 1=seller) */
102
+ source: number;
103
+ }
104
+ /**
105
+ * Parameters for adding a new add-on deal
106
+ */
107
+ export interface AddAddOnDealParams {
108
+ /** Title of the add on deal (max 25 characters) */
109
+ add_on_deal_name: string;
110
+ /** The time when add on deal activity start (must be 1 hour later than current time) */
111
+ start_time: number;
112
+ /** The time when add on deal activity end (must be 1 hour later than start time) */
113
+ end_time: number;
114
+ /** The type of add on deal (0=add on discount, 1=gift with min spend) */
115
+ promotion_type: AddOnDealPromotionType;
116
+ /** The minimum purchase amount that needs to be met to buy the gift with min spend */
117
+ purchase_min_spend?: number;
118
+ /** Number of gifts that buyers can get (1-50) */
119
+ per_gift_num?: number;
120
+ /** Max number of add-on products that a customer can purchase per order (1-100) */
121
+ promotion_purchase_limit?: number;
122
+ }
123
+ /**
124
+ * Parameters for adding main items to an add-on deal
125
+ */
126
+ export interface AddAddOnDealMainItemParams {
127
+ /** Shopee's unique identifier for an add on deal activity */
128
+ add_on_deal_id: number;
129
+ /** List of main items to add */
130
+ main_item_list: AddOnDealMainItem[];
131
+ }
132
+ /**
133
+ * Parameters for adding sub items to an add-on deal
134
+ */
135
+ export interface AddAddOnDealSubItemParams {
136
+ /** Shopee's unique identifier for an add on deal activity */
137
+ add_on_deal_id: number;
138
+ /** List of sub items to add */
139
+ sub_item_list: AddOnDealSubItem[];
140
+ }
141
+ /**
142
+ * Parameters for deleting an add-on deal
143
+ */
144
+ export interface DeleteAddOnDealParams {
145
+ /** Shopee's unique identifier for an add on deal activity */
146
+ add_on_deal_id: number;
147
+ }
148
+ /**
149
+ * Parameters for deleting main items from an add-on deal
150
+ */
151
+ export interface DeleteAddOnDealMainItemParams {
152
+ /** Shopee's unique identifier for an add on deal activity */
153
+ add_on_deal_id: number;
154
+ /** List of item IDs to delete */
155
+ item_id_list: number[];
156
+ }
157
+ /**
158
+ * Parameters for deleting sub items from an add-on deal
159
+ */
160
+ export interface DeleteAddOnDealSubItemParams {
161
+ /** Shopee's unique identifier for an add on deal activity */
162
+ add_on_deal_id: number;
163
+ /** List of sub items to delete */
164
+ sub_item_list: Array<{
165
+ /** Shopee's unique identifier for an item */
166
+ item_id: number;
167
+ /** Shopee's unique identifier for a model (variation) */
168
+ model_id: number;
169
+ }>;
170
+ }
171
+ /**
172
+ * Parameters for ending an add-on deal
173
+ */
174
+ export interface EndAddOnDealParams {
175
+ /** Shopee's unique identifier for an add on deal activity */
176
+ add_on_deal_id: number;
177
+ }
178
+ /**
179
+ * Parameters for getting an add-on deal
180
+ */
181
+ export interface GetAddOnDealParams {
182
+ /** Shopee's unique identifier for an add on deal activity */
183
+ add_on_deal_id: number;
184
+ [key: string]: string | number | boolean | (string | number | boolean)[] | null | undefined;
185
+ }
186
+ /**
187
+ * Parameters for getting add-on deal list
188
+ */
189
+ export interface GetAddOnDealListParams {
190
+ /** Filter by promotion status (default: all) */
191
+ promotion_status: AddOnDealPromotionStatus;
192
+ /** Page number (1-1000, default: 1) */
193
+ page_no?: number;
194
+ /** Number of items per page (1-100, default: 100) */
195
+ page_size?: number;
196
+ [key: string]: string | number | boolean | (string | number | boolean)[] | null | undefined;
197
+ }
198
+ /**
199
+ * Parameters for getting main items in an add-on deal
200
+ */
201
+ export interface GetAddOnDealMainItemParams {
202
+ /** Shopee's unique identifier for an add on deal activity */
203
+ add_on_deal_id: number;
204
+ [key: string]: string | number | boolean | (string | number | boolean)[] | null | undefined;
205
+ }
206
+ /**
207
+ * Parameters for getting sub items in an add-on deal
208
+ */
209
+ export interface GetAddOnDealSubItemParams {
210
+ /** Shopee's unique identifier for an add on deal activity */
211
+ add_on_deal_id: number;
212
+ [key: string]: string | number | boolean | (string | number | boolean)[] | null | undefined;
213
+ }
214
+ /**
215
+ * Parameters for updating an add-on deal
216
+ */
217
+ export interface UpdateAddOnDealParams {
218
+ /** Shopee's unique identifier for an add on deal activity */
219
+ add_on_deal_id: number;
220
+ /** Title of the add on deal */
221
+ add_on_deal_name?: string;
222
+ /** The time when add on deal activity start */
223
+ start_time?: number;
224
+ /** The time when add on deal activity end */
225
+ end_time?: number;
226
+ /** The minimum purchase amount that needs to be met to buy the gift with min spend */
227
+ purchase_min_spend?: number;
228
+ /** Number of gifts that buyers can get */
229
+ per_gift_num?: number;
230
+ /** Max number of add-on products that a customer can purchase per order */
231
+ promotion_purchase_limit?: number;
232
+ /** The order of sub items */
233
+ sub_item_priority?: number[];
234
+ }
235
+ /**
236
+ * Parameters for updating main items in an add-on deal
237
+ */
238
+ export interface UpdateAddOnDealMainItemParams {
239
+ /** Shopee's unique identifier for an add on deal activity */
240
+ add_on_deal_id: number;
241
+ /** List of main items to update */
242
+ main_item_list: AddOnDealMainItem[];
243
+ }
244
+ /**
245
+ * Parameters for updating sub items in an add-on deal
246
+ */
247
+ export interface UpdateAddOnDealSubItemParams {
248
+ /** Shopee's unique identifier for an add on deal activity */
249
+ add_on_deal_id: number;
250
+ /** List of sub items to update */
251
+ sub_item_list: AddOnDealSubItem[];
252
+ }
253
+ /**
254
+ * Response for the add add-on deal API
255
+ */
256
+ export interface AddAddOnDealResponse extends BaseResponse {
257
+ response: {
258
+ /** Shopee's unique identifier for an add on deal activity */
259
+ add_on_deal_id: number;
260
+ };
261
+ }
262
+ /**
263
+ * Response for the add add-on deal main item API
264
+ */
265
+ export interface AddAddOnDealMainItemResponse extends BaseResponse {
266
+ response: {
267
+ /** Shopee's unique identifier for an add on deal activity */
268
+ add_on_deal_id: number;
269
+ /** List of main items that were added */
270
+ main_item_list: AddOnDealMainItem[];
271
+ };
272
+ }
273
+ /**
274
+ * Response for the add add-on deal sub item API
275
+ */
276
+ export interface AddAddOnDealSubItemResponse extends BaseResponse {
277
+ response: {
278
+ /** Shopee's unique identifier for an add on deal activity */
279
+ add_on_deal_id: number;
280
+ /** List of sub items that failed to be added */
281
+ sub_item_list: AddOnDealFailedItem[];
282
+ };
283
+ }
284
+ /**
285
+ * Response for the delete add-on deal API
286
+ */
287
+ export interface DeleteAddOnDealResponse extends BaseResponse {
288
+ response: {
289
+ /** Shopee's unique identifier for an add on deal activity */
290
+ add_on_deal_id: number;
291
+ };
292
+ }
293
+ /**
294
+ * Response for the delete add-on deal main item API
295
+ */
296
+ export interface DeleteAddOnDealMainItemResponse extends BaseResponse {
297
+ response: {
298
+ /** Shopee's unique identifier for an add on deal activity */
299
+ add_on_deal_id: number;
300
+ /** List of item IDs that failed to be deleted */
301
+ failed_item_id_list: number[];
302
+ };
303
+ }
304
+ /**
305
+ * Response for the delete add-on deal sub item API
306
+ */
307
+ export interface DeleteAddOnDealSubItemResponse extends BaseResponse {
308
+ response: {
309
+ /** Shopee's unique identifier for an add on deal activity */
310
+ add_on_deal_id: number;
311
+ /** List of sub items that failed to be deleted */
312
+ sub_item_list: AddOnDealFailedItem[];
313
+ };
314
+ }
315
+ /**
316
+ * Response for the end add-on deal API
317
+ */
318
+ export interface EndAddOnDealResponse extends BaseResponse {
319
+ response: {
320
+ /** Shopee's unique identifier for an add on deal activity */
321
+ add_on_deal_id: number;
322
+ };
323
+ }
324
+ /**
325
+ * Response for the get add-on deal API
326
+ */
327
+ export interface GetAddOnDealResponse extends BaseResponse {
328
+ response: AddOnDealInfo;
329
+ }
330
+ /**
331
+ * Response for the get add-on deal list API
332
+ */
333
+ export interface GetAddOnDealListResponse extends BaseResponse {
334
+ response: {
335
+ /** List of add-on deals */
336
+ add_on_deal_list: AddOnDealInfo[];
337
+ /** Whether there are more pages */
338
+ more: boolean;
339
+ };
340
+ }
341
+ /**
342
+ * Response for the get add-on deal main item API
343
+ */
344
+ export interface GetAddOnDealMainItemResponse extends BaseResponse {
345
+ response: {
346
+ /** Shopee's unique identifier for an add on deal activity */
347
+ add_on_deal_id: number;
348
+ /** List of main items */
349
+ main_item_list: AddOnDealMainItem[];
350
+ };
351
+ }
352
+ /**
353
+ * Response for the get add-on deal sub item API
354
+ */
355
+ export interface GetAddOnDealSubItemResponse extends BaseResponse {
356
+ response: {
357
+ /** Shopee's unique identifier for an add on deal activity */
358
+ add_on_deal_id: number;
359
+ /** List of sub items */
360
+ sub_item_list: AddOnDealSubItem[];
361
+ };
362
+ }
363
+ /**
364
+ * Response for the update add-on deal API
365
+ */
366
+ export interface UpdateAddOnDealResponse extends BaseResponse {
367
+ response: AddOnDealInfo;
368
+ }
369
+ /**
370
+ * Response for the update add-on deal main item API
371
+ */
372
+ export interface UpdateAddOnDealMainItemResponse extends BaseResponse {
373
+ response: {
374
+ /** Shopee's unique identifier for an add on deal activity */
375
+ add_on_deal_id: number;
376
+ /** List of main items that were updated */
377
+ main_item_list: AddOnDealMainItem[];
378
+ };
379
+ }
380
+ /**
381
+ * Response for the update add-on deal sub item API
382
+ */
383
+ export interface UpdateAddOnDealSubItemResponse extends BaseResponse {
384
+ response: {
385
+ /** Shopee's unique identifier for an add on deal activity */
386
+ add_on_deal_id: number;
387
+ /** List of sub items that failed to be updated */
388
+ sub_item_list: AddOnDealFailedItem[];
389
+ };
390
+ }
@@ -0,0 +1,45 @@
1
+ /**
2
+ * Add-on deal promotion types
3
+ */
4
+ export var AddOnDealPromotionType;
5
+ (function (AddOnDealPromotionType) {
6
+ /** Add-on discount promotion */
7
+ AddOnDealPromotionType[AddOnDealPromotionType["ADD_ON_DISCOUNT"] = 0] = "ADD_ON_DISCOUNT";
8
+ /** Gift with minimum spend promotion */
9
+ AddOnDealPromotionType[AddOnDealPromotionType["GIFT_WITH_MIN_SPEND"] = 1] = "GIFT_WITH_MIN_SPEND";
10
+ })(AddOnDealPromotionType || (AddOnDealPromotionType = {}));
11
+ /**
12
+ * Add-on deal promotion status for filtering
13
+ */
14
+ export var AddOnDealPromotionStatus;
15
+ (function (AddOnDealPromotionStatus) {
16
+ /** All add-on deals regardless of status */
17
+ AddOnDealPromotionStatus["ALL"] = "all";
18
+ /** Currently active add-on deals */
19
+ AddOnDealPromotionStatus["ONGOING"] = "ongoing";
20
+ /** Add-on deals that have not started yet */
21
+ AddOnDealPromotionStatus["UPCOMING"] = "upcoming";
22
+ /** Add-on deals that have ended */
23
+ AddOnDealPromotionStatus["EXPIRED"] = "expired";
24
+ })(AddOnDealPromotionStatus || (AddOnDealPromotionStatus = {}));
25
+ /**
26
+ * Main item status
27
+ */
28
+ export var AddOnDealMainItemStatus;
29
+ (function (AddOnDealMainItemStatus) {
30
+ /** Deleted status */
31
+ AddOnDealMainItemStatus[AddOnDealMainItemStatus["DELETED"] = 0] = "DELETED";
32
+ /** Active status */
33
+ AddOnDealMainItemStatus[AddOnDealMainItemStatus["ACTIVE"] = 1] = "ACTIVE";
34
+ })(AddOnDealMainItemStatus || (AddOnDealMainItemStatus = {}));
35
+ /**
36
+ * Sub item status
37
+ */
38
+ export var AddOnDealSubItemStatus;
39
+ (function (AddOnDealSubItemStatus) {
40
+ /** Deleted status */
41
+ AddOnDealSubItemStatus[AddOnDealSubItemStatus["DELETED"] = 0] = "DELETED";
42
+ /** Active status */
43
+ AddOnDealSubItemStatus[AddOnDealSubItemStatus["ACTIVE"] = 1] = "ACTIVE";
44
+ })(AddOnDealSubItemStatus || (AddOnDealSubItemStatus = {}));
45
+ //# sourceMappingURL=add-on-deal.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"add-on-deal.js","sourceRoot":"","sources":["../../src/schemas/add-on-deal.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,MAAM,CAAN,IAAY,sBAKX;AALD,WAAY,sBAAsB;IAChC,gCAAgC;IAChC,yFAAmB,CAAA;IACnB,wCAAwC;IACxC,iGAAuB,CAAA;AACzB,CAAC,EALW,sBAAsB,KAAtB,sBAAsB,QAKjC;AAED;;GAEG;AACH,MAAM,CAAN,IAAY,wBASX;AATD,WAAY,wBAAwB;IAClC,4CAA4C;IAC5C,uCAAW,CAAA;IACX,oCAAoC;IACpC,+CAAmB,CAAA;IACnB,6CAA6C;IAC7C,iDAAqB,CAAA;IACrB,mCAAmC;IACnC,+CAAmB,CAAA;AACrB,CAAC,EATW,wBAAwB,KAAxB,wBAAwB,QASnC;AAED;;GAEG;AACH,MAAM,CAAN,IAAY,uBAKX;AALD,WAAY,uBAAuB;IACjC,qBAAqB;IACrB,2EAAW,CAAA;IACX,oBAAoB;IACpB,yEAAU,CAAA;AACZ,CAAC,EALW,uBAAuB,KAAvB,uBAAuB,QAKlC;AAED;;GAEG;AACH,MAAM,CAAN,IAAY,sBAKX;AALD,WAAY,sBAAsB;IAChC,qBAAqB;IACrB,yEAAW,CAAA;IACX,oBAAoB;IACpB,uEAAU,CAAA;AACZ,CAAC,EALW,sBAAsB,KAAtB,sBAAsB,QAKjC"}