@congminh1254/shopee-sdk 1.3.0 → 1.5.2

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 (43) hide show
  1. package/lib/managers/ads.manager.d.ts +7 -0
  2. package/lib/managers/ads.manager.js +7 -0
  3. package/lib/managers/ads.manager.js.map +1 -1
  4. package/lib/managers/ams.manager.d.ts +332 -0
  5. package/lib/managers/ams.manager.js +601 -0
  6. package/lib/managers/ams.manager.js.map +1 -0
  7. package/lib/managers/index.d.ts +2 -0
  8. package/lib/managers/index.js +2 -0
  9. package/lib/managers/index.js.map +1 -1
  10. package/lib/managers/logistics.manager.d.ts +13 -1
  11. package/lib/managers/logistics.manager.js +33 -0
  12. package/lib/managers/logistics.manager.js.map +1 -1
  13. package/lib/managers/product.manager.d.ts +9 -1
  14. package/lib/managers/product.manager.js +25 -0
  15. package/lib/managers/product.manager.js.map +1 -1
  16. package/lib/managers/shop.manager.d.ts +13 -1
  17. package/lib/managers/shop.manager.js +33 -0
  18. package/lib/managers/shop.manager.js.map +1 -1
  19. package/lib/managers/video.manager.d.ts +166 -0
  20. package/lib/managers/video.manager.js +273 -0
  21. package/lib/managers/video.manager.js.map +1 -0
  22. package/lib/schemas/account-health.d.ts +67 -0
  23. package/lib/schemas/account-health.js.map +1 -1
  24. package/lib/schemas/ams.d.ts +1037 -0
  25. package/lib/schemas/ams.js +2 -0
  26. package/lib/schemas/ams.js.map +1 -0
  27. package/lib/schemas/index.d.ts +1 -0
  28. package/lib/schemas/index.js +1 -0
  29. package/lib/schemas/index.js.map +1 -1
  30. package/lib/schemas/logistics.d.ts +67 -0
  31. package/lib/schemas/order.d.ts +24 -0
  32. package/lib/schemas/order.js.map +1 -1
  33. package/lib/schemas/product.d.ts +139 -0
  34. package/lib/schemas/shop.d.ts +98 -0
  35. package/lib/schemas/video.d.ts +688 -0
  36. package/lib/schemas/video.js +2 -0
  37. package/lib/schemas/video.js.map +1 -0
  38. package/lib/sdk.d.ts +4 -0
  39. package/lib/sdk.js +4 -0
  40. package/lib/sdk.js.map +1 -1
  41. package/lib/version.d.ts +1 -1
  42. package/lib/version.js +1 -1
  43. package/package.json +3 -2
@@ -0,0 +1,601 @@
1
+ import { BaseManager } from "./base.manager.js";
2
+ import { ShopeeFetch } from "../fetch.js";
3
+ /**
4
+ * AMS (Affiliate Marketing Solution) Manager
5
+ *
6
+ * This manager provides methods for managing affiliate marketing campaigns,
7
+ * including open campaigns, targeted campaigns, performance tracking, and affiliate management.
8
+ */
9
+ export class AmsManager extends BaseManager {
10
+ constructor(config) {
11
+ super(config);
12
+ }
13
+ // ============================================================================
14
+ // Open Campaign APIs
15
+ // ============================================================================
16
+ /**
17
+ * Add all products to open campaign
18
+ *
19
+ * Use this API to add all shop products to the open campaign with specified commission rate and period.
20
+ *
21
+ * @param params - Parameters for adding all products
22
+ * @returns Promise with task ID for checking batch task result
23
+ */
24
+ async addAllProductsToOpenCampaign(params) {
25
+ const response = await ShopeeFetch.fetch(this.config, "/ams/add_all_products_to_open_campaign", {
26
+ method: "POST",
27
+ auth: true,
28
+ body: params,
29
+ });
30
+ return response;
31
+ }
32
+ /**
33
+ * Batch add products to open campaign
34
+ *
35
+ * Use this API to add specific products to the open campaign.
36
+ *
37
+ * @param params - Parameters including item IDs, commission rate, and period
38
+ * @returns Promise with task ID for checking batch task result
39
+ */
40
+ async batchAddProductsToOpenCampaign(params) {
41
+ const response = await ShopeeFetch.fetch(this.config, "/ams/batch_add_products_to_open_campaign", {
42
+ method: "POST",
43
+ auth: true,
44
+ body: params,
45
+ });
46
+ return response;
47
+ }
48
+ /**
49
+ * Batch edit products open campaign setting
50
+ *
51
+ * Use this API to edit settings for multiple products in the open campaign.
52
+ *
53
+ * @param params - Parameters including campaign IDs and new settings
54
+ * @returns Promise with task ID for checking batch task result
55
+ */
56
+ async batchEditProductsOpenCampaignSetting(params) {
57
+ const response = await ShopeeFetch.fetch(this.config, "/ams/batch_edit_products_open_campaign_setting", {
58
+ method: "POST",
59
+ auth: true,
60
+ body: params,
61
+ });
62
+ return response;
63
+ }
64
+ /**
65
+ * Batch get products suggested rate
66
+ *
67
+ * Use this API to get suggested commission rates for multiple products.
68
+ *
69
+ * @param params - Parameters with item ID list
70
+ * @returns Promise with suggested rates for each item
71
+ */
72
+ async batchGetProductsSuggestedRate(params) {
73
+ const response = await ShopeeFetch.fetch(this.config, "/ams/batch_get_products_suggested_rate", {
74
+ method: "GET",
75
+ auth: true,
76
+ params,
77
+ });
78
+ return response;
79
+ }
80
+ /**
81
+ * Batch remove products open campaign setting
82
+ *
83
+ * Use this API to remove multiple products from the open campaign.
84
+ *
85
+ * @param params - Parameters with campaign IDs to remove
86
+ * @returns Promise with task ID for checking batch task result
87
+ */
88
+ async batchRemoveProductsOpenCampaignSetting(params) {
89
+ const response = await ShopeeFetch.fetch(this.config, "/ams/batch_remove_products_open_campaign_setting", {
90
+ method: "POST",
91
+ auth: true,
92
+ body: params,
93
+ });
94
+ return response;
95
+ }
96
+ /**
97
+ * Edit all products open campaign setting
98
+ *
99
+ * Use this API to edit settings for all products in the open campaign.
100
+ *
101
+ * @param params - Parameters with new commission rate and period
102
+ * @returns Promise with task ID for checking batch task result
103
+ */
104
+ async editAllProductsOpenCampaignSetting(params) {
105
+ const response = await ShopeeFetch.fetch(this.config, "/ams/edit_all_products_open_campaign_setting", {
106
+ method: "POST",
107
+ auth: true,
108
+ body: params,
109
+ });
110
+ return response;
111
+ }
112
+ /**
113
+ * Get open campaign added product list
114
+ *
115
+ * Use this API to get the list of products added to the open campaign.
116
+ *
117
+ * @param params - Pagination and search parameters
118
+ * @returns Promise with list of added products
119
+ */
120
+ async getOpenCampaignAddedProduct(params) {
121
+ const response = await ShopeeFetch.fetch(this.config, "/ams/get_open_campaign_added_product", {
122
+ method: "GET",
123
+ auth: true,
124
+ params,
125
+ });
126
+ return response;
127
+ }
128
+ /**
129
+ * Get open campaign batch task result
130
+ *
131
+ * Use this API to check the status and result of a batch operation.
132
+ *
133
+ * @param params - Parameters with task ID
134
+ * @returns Promise with task status and results
135
+ */
136
+ async getOpenCampaignBatchTaskResult(params) {
137
+ const response = await ShopeeFetch.fetch(this.config, "/ams/get_open_campaign_batch_task_result", {
138
+ method: "GET",
139
+ auth: true,
140
+ params,
141
+ });
142
+ return response;
143
+ }
144
+ /**
145
+ * Get open campaign not added product list
146
+ *
147
+ * Use this API to get products that are not yet added to the open campaign.
148
+ *
149
+ * @param params - Pagination and search parameters
150
+ * @returns Promise with list of not added products
151
+ */
152
+ async getOpenCampaignNotAddedProduct(params) {
153
+ const response = await ShopeeFetch.fetch(this.config, "/ams/get_open_campaign_not_added_product", {
154
+ method: "GET",
155
+ auth: true,
156
+ params,
157
+ });
158
+ return response;
159
+ }
160
+ /**
161
+ * Get open campaign performance
162
+ *
163
+ * Use this API to get performance data for the open campaign.
164
+ *
165
+ * @param params - Period type, date range, and pagination parameters
166
+ * @returns Promise with performance data
167
+ */
168
+ async getOpenCampaignPerformance(params) {
169
+ const response = await ShopeeFetch.fetch(this.config, "/ams/get_open_campaign_performance", {
170
+ method: "GET",
171
+ auth: true,
172
+ params,
173
+ });
174
+ return response;
175
+ }
176
+ /**
177
+ * Remove all products from open campaign
178
+ *
179
+ * Use this API to remove all products from the open campaign.
180
+ *
181
+ * @returns Promise with task ID for checking batch task result
182
+ */
183
+ async removeAllProductsOpenCampaignSetting() {
184
+ const response = await ShopeeFetch.fetch(this.config, "/ams/remove_all_products_open_campaign_setting", {
185
+ method: "POST",
186
+ auth: true,
187
+ body: {},
188
+ });
189
+ return response;
190
+ }
191
+ // ============================================================================
192
+ // Targeted Campaign APIs
193
+ // ============================================================================
194
+ /**
195
+ * Create a new targeted campaign
196
+ *
197
+ * Use this API to create a targeted campaign with specific products and affiliates.
198
+ *
199
+ * @param params - Campaign details including name, period, items, and affiliates
200
+ * @returns Promise with created campaign ID and any failed items/affiliates
201
+ */
202
+ async createNewTargetedCampaign(params) {
203
+ const response = await ShopeeFetch.fetch(this.config, "/ams/create_new_targeted_campaign", {
204
+ method: "POST",
205
+ auth: true,
206
+ body: params,
207
+ });
208
+ return response;
209
+ }
210
+ /**
211
+ * Edit affiliate list of targeted campaign
212
+ *
213
+ * Use this API to add or remove affiliates from a targeted campaign.
214
+ *
215
+ * @param params - Campaign ID, edit type (add/remove), and affiliate list
216
+ * @returns Promise with campaign ID and any failed affiliates
217
+ */
218
+ async editAffiliateListOfTargetedCampaign(params) {
219
+ const response = await ShopeeFetch.fetch(this.config, "/ams/edit_affiliate_list_of_targeted_campaign", {
220
+ method: "POST",
221
+ auth: true,
222
+ body: params,
223
+ });
224
+ return response;
225
+ }
226
+ /**
227
+ * Edit product list of targeted campaign
228
+ *
229
+ * Use this API to add, remove, or edit products in a targeted campaign.
230
+ *
231
+ * @param params - Campaign ID, edit type (add/remove/edit), and item list
232
+ * @returns Promise with campaign ID and any failed items
233
+ */
234
+ async editProductListOfTargetedCampaign(params) {
235
+ const response = await ShopeeFetch.fetch(this.config, "/ams/edit_product_list_of_targeted_campaign", {
236
+ method: "POST",
237
+ auth: true,
238
+ body: params,
239
+ });
240
+ return response;
241
+ }
242
+ /**
243
+ * Get targeted campaign addable product list
244
+ *
245
+ * Use this API to get products that can be added to targeted campaigns.
246
+ *
247
+ * @param params - Pagination and search parameters
248
+ * @returns Promise with list of addable products
249
+ */
250
+ async getTargetedCampaignAddableProductList(params) {
251
+ const response = await ShopeeFetch.fetch(this.config, "/ams/get_targeted_campaign_addable_product_list", {
252
+ method: "GET",
253
+ auth: true,
254
+ params,
255
+ });
256
+ return response;
257
+ }
258
+ /**
259
+ * Get targeted campaign list
260
+ *
261
+ * Use this API to get a list of targeted campaigns with optional filters.
262
+ *
263
+ * @param params - Pagination and filter parameters
264
+ * @returns Promise with list of campaigns
265
+ */
266
+ async getTargetedCampaignList(params) {
267
+ const response = await ShopeeFetch.fetch(this.config, "/ams/get_targeted_campaign_list", {
268
+ method: "GET",
269
+ auth: true,
270
+ params: params || {},
271
+ });
272
+ return response;
273
+ }
274
+ /**
275
+ * Get targeted campaign performance
276
+ *
277
+ * Use this API to get performance data for targeted campaigns.
278
+ *
279
+ * @param params - Period type, date range, and pagination parameters
280
+ * @returns Promise with campaign performance data
281
+ */
282
+ async getTargetedCampaignPerformance(params) {
283
+ const response = await ShopeeFetch.fetch(this.config, "/ams/get_targeted_campaign_performance", {
284
+ method: "GET",
285
+ auth: true,
286
+ params,
287
+ });
288
+ return response;
289
+ }
290
+ /**
291
+ * Get targeted campaign settings
292
+ *
293
+ * Use this API to get detailed settings of a specific targeted campaign.
294
+ *
295
+ * @param params - Campaign ID
296
+ * @returns Promise with campaign settings including items and affiliates
297
+ */
298
+ async getTargetedCampaignSettings(params) {
299
+ const response = await ShopeeFetch.fetch(this.config, "/ams/get_targeted_campaign_settings", {
300
+ method: "GET",
301
+ auth: true,
302
+ params,
303
+ });
304
+ return response;
305
+ }
306
+ /**
307
+ * Terminate targeted campaign
308
+ *
309
+ * Use this API to terminate an active targeted campaign.
310
+ *
311
+ * @param params - Campaign ID to terminate
312
+ * @returns Promise with terminated campaign ID
313
+ */
314
+ async terminateTargetedCampaign(params) {
315
+ const response = await ShopeeFetch.fetch(this.config, "/ams/terminate_targeted_campaign", {
316
+ method: "POST",
317
+ auth: true,
318
+ body: params,
319
+ });
320
+ return response;
321
+ }
322
+ /**
323
+ * Update basic info of targeted campaign
324
+ *
325
+ * Use this API to update basic information of a targeted campaign.
326
+ *
327
+ * @param params - Campaign ID and fields to update
328
+ * @returns Promise with updated campaign ID
329
+ */
330
+ async updateBasicInfoOfTargetedCampaign(params) {
331
+ const response = await ShopeeFetch.fetch(this.config, "/ams/update_basic_info_of_targeted_campaign", {
332
+ method: "POST",
333
+ auth: true,
334
+ body: params,
335
+ });
336
+ return response;
337
+ }
338
+ // ============================================================================
339
+ // Performance & Analytics APIs
340
+ // ============================================================================
341
+ /**
342
+ * Get affiliate performance
343
+ *
344
+ * Use this API to get performance data by affiliate.
345
+ *
346
+ * @param params - Period type, date range, and pagination parameters
347
+ * @returns Promise with affiliate performance data
348
+ */
349
+ async getAffiliatePerformance(params) {
350
+ const response = await ShopeeFetch.fetch(this.config, "/ams/get_affiliate_performance", {
351
+ method: "GET",
352
+ auth: true,
353
+ params,
354
+ });
355
+ return response;
356
+ }
357
+ /**
358
+ * Get auto add new product toggle status
359
+ *
360
+ * Use this API to check if auto-add new product feature is enabled.
361
+ *
362
+ * @returns Promise with toggle status and commission rate
363
+ */
364
+ async getAutoAddNewProductToggleStatus() {
365
+ const response = await ShopeeFetch.fetch(this.config, "/ams/get_auto_add_new_product_toggle_status", {
366
+ method: "GET",
367
+ auth: true,
368
+ });
369
+ return response;
370
+ }
371
+ /**
372
+ * Get campaign key metrics performance
373
+ *
374
+ * Use this API to get overall key metrics for campaigns.
375
+ *
376
+ * @param params - Period type and date range
377
+ * @returns Promise with aggregated performance metrics
378
+ */
379
+ async getCampaignKeyMetricsPerformance(params) {
380
+ const response = await ShopeeFetch.fetch(this.config, "/ams/get_campaign_key_metrics_performance", {
381
+ method: "GET",
382
+ auth: true,
383
+ params,
384
+ });
385
+ return response;
386
+ }
387
+ /**
388
+ * Get content performance
389
+ *
390
+ * Use this API to get performance data by content.
391
+ *
392
+ * @param params - Period type, date range, and pagination parameters
393
+ * @returns Promise with content performance data
394
+ */
395
+ async getContentPerformance(params) {
396
+ const response = await ShopeeFetch.fetch(this.config, "/ams/get_content_performance", {
397
+ method: "GET",
398
+ auth: true,
399
+ params,
400
+ });
401
+ return response;
402
+ }
403
+ /**
404
+ * Get conversion report
405
+ *
406
+ * Use this API to get detailed conversion data with optional filters.
407
+ *
408
+ * @param params - Pagination and filter parameters
409
+ * @returns Promise with conversion report data
410
+ */
411
+ async getConversionReport(params) {
412
+ const response = await ShopeeFetch.fetch(this.config, "/ams/get_conversion_report", {
413
+ method: "GET",
414
+ auth: true,
415
+ params: params || {},
416
+ });
417
+ return response;
418
+ }
419
+ /**
420
+ * Get managed affiliate list
421
+ *
422
+ * Use this API to get the list of affiliates managed by the shop.
423
+ *
424
+ * @param params - Pagination parameters
425
+ * @returns Promise with list of managed affiliates
426
+ */
427
+ async getManagedAffiliateList(params) {
428
+ const response = await ShopeeFetch.fetch(this.config, "/ams/get_managed_affiliate_list", {
429
+ method: "GET",
430
+ auth: true,
431
+ params: params || {},
432
+ });
433
+ return response;
434
+ }
435
+ /**
436
+ * Get optimization suggestion product
437
+ *
438
+ * Use this API to get products with optimization suggestions.
439
+ *
440
+ * @param params - Pagination and filter parameters
441
+ * @returns Promise with products and their suggested optimizations
442
+ */
443
+ async getOptimizationSuggestionProduct(params) {
444
+ const response = await ShopeeFetch.fetch(this.config, "/ams/get_optimization_suggestion_product", {
445
+ method: "GET",
446
+ auth: true,
447
+ params: params || {},
448
+ });
449
+ return response;
450
+ }
451
+ /**
452
+ * Get performance data update time
453
+ *
454
+ * Use this API to get the latest data date for performance data.
455
+ *
456
+ * @param params - Marker type (e.g., AmsMarker)
457
+ * @returns Promise with latest data date
458
+ */
459
+ async getPerformanceDataUpdateTime(params) {
460
+ const response = await ShopeeFetch.fetch(this.config, "/ams/get_performance_data_update_time", {
461
+ method: "GET",
462
+ auth: true,
463
+ params,
464
+ });
465
+ return response;
466
+ }
467
+ /**
468
+ * Get product performance
469
+ *
470
+ * Use this API to get performance data by product.
471
+ *
472
+ * @param params - Period type, date range, and pagination parameters
473
+ * @returns Promise with product performance data
474
+ */
475
+ async getProductPerformance(params) {
476
+ const response = await ShopeeFetch.fetch(this.config, "/ams/get_product_performance", {
477
+ method: "GET",
478
+ auth: true,
479
+ params,
480
+ });
481
+ return response;
482
+ }
483
+ /**
484
+ * Get recommended affiliate list
485
+ *
486
+ * Use this API to get a list of recommended affiliates for the shop.
487
+ *
488
+ * @param params - Page size parameter
489
+ * @returns Promise with list of recommended affiliates
490
+ */
491
+ async getRecommendedAffiliateList(params) {
492
+ const response = await ShopeeFetch.fetch(this.config, "/ams/get_recommended_affiliate_list", {
493
+ method: "GET",
494
+ auth: true,
495
+ params: params || {},
496
+ });
497
+ return response;
498
+ }
499
+ /**
500
+ * Get shop performance
501
+ *
502
+ * Use this API to retrieve overall key metrics for all channels or specific channels.
503
+ *
504
+ * @param params - Period type, date range, order type, and channel
505
+ * @returns Promise with shop-level performance metrics
506
+ */
507
+ async getShopPerformance(params) {
508
+ const response = await ShopeeFetch.fetch(this.config, "/ams/get_shop_performance", {
509
+ method: "GET",
510
+ auth: true,
511
+ params,
512
+ });
513
+ return response;
514
+ }
515
+ /**
516
+ * Get shop suggested rate
517
+ *
518
+ * Use this API to get the suggested commission rate for the shop.
519
+ *
520
+ * @returns Promise with suggested rate and rate range
521
+ */
522
+ async getShopSuggestedRate() {
523
+ const response = await ShopeeFetch.fetch(this.config, "/ams/get_shop_suggested_rate", {
524
+ method: "GET",
525
+ auth: true,
526
+ });
527
+ return response;
528
+ }
529
+ // ============================================================================
530
+ // Validation APIs
531
+ // ============================================================================
532
+ /**
533
+ * Get validation list
534
+ *
535
+ * Use this API to get the list of validation periods.
536
+ *
537
+ * @returns Promise with list of validation periods
538
+ */
539
+ async getValidationList() {
540
+ const response = await ShopeeFetch.fetch(this.config, "/ams/get_validation_list", {
541
+ method: "GET",
542
+ auth: true,
543
+ });
544
+ return response;
545
+ }
546
+ /**
547
+ * Get validation report
548
+ *
549
+ * Use this API to get detailed validation report data.
550
+ *
551
+ * @param params - Pagination and filter parameters
552
+ * @returns Promise with validation report data
553
+ */
554
+ async getValidationReport(params) {
555
+ const response = await ShopeeFetch.fetch(this.config, "/ams/get_validation_report", {
556
+ method: "GET",
557
+ auth: true,
558
+ params: params || {},
559
+ });
560
+ return response;
561
+ }
562
+ // ============================================================================
563
+ // Query APIs
564
+ // ============================================================================
565
+ /**
566
+ * Query affiliate list
567
+ *
568
+ * Use this API to search for affiliates by ID or name.
569
+ *
570
+ * @param params - Query type (id/name) and search criteria
571
+ * @returns Promise with matching affiliates
572
+ */
573
+ async queryAffiliateList(params) {
574
+ const response = await ShopeeFetch.fetch(this.config, "/ams/query_affiliate_list", {
575
+ method: "GET",
576
+ auth: true,
577
+ params,
578
+ });
579
+ return response;
580
+ }
581
+ // ============================================================================
582
+ // Settings APIs
583
+ // ============================================================================
584
+ /**
585
+ * Update auto add new product setting
586
+ *
587
+ * Use this API to enable/disable and configure auto-add new product feature.
588
+ *
589
+ * @param params - Toggle status and commission rate
590
+ * @returns Promise with empty response on success
591
+ */
592
+ async updateAutoAddNewProductSetting(params) {
593
+ const response = await ShopeeFetch.fetch(this.config, "/ams/update_auto_add_new_product_setting", {
594
+ method: "POST",
595
+ auth: true,
596
+ body: params,
597
+ });
598
+ return response;
599
+ }
600
+ }
601
+ //# sourceMappingURL=ams.manager.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ams.manager.js","sourceRoot":"","sources":["../../src/managers/ams.manager.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAChD,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAwE1C;;;;;GAKG;AACH,MAAM,OAAO,UAAW,SAAQ,WAAW;IACzC,YAAY,MAAoB;QAC9B,KAAK,CAAC,MAAM,CAAC,CAAC;IAChB,CAAC;IAED,+EAA+E;IAC/E,qBAAqB;IACrB,+EAA+E;IAE/E;;;;;;;OAOG;IACH,KAAK,CAAC,4BAA4B,CAChC,MAA0C;QAE1C,MAAM,QAAQ,GAAG,MAAM,WAAW,CAAC,KAAK,CACtC,IAAI,CAAC,MAAM,EACX,wCAAwC,EACxC;YACE,MAAM,EAAE,MAAM;YACd,IAAI,EAAE,IAAI;YACV,IAAI,EAAE,MAAM;SACb,CACF,CAAC;QACF,OAAO,QAAQ,CAAC;IAClB,CAAC;IAED;;;;;;;OAOG;IACH,KAAK,CAAC,8BAA8B,CAClC,MAA4C;QAE5C,MAAM,QAAQ,GAAG,MAAM,WAAW,CAAC,KAAK,CACtC,IAAI,CAAC,MAAM,EACX,0CAA0C,EAC1C;YACE,MAAM,EAAE,MAAM;YACd,IAAI,EA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,IAAI,EAAE;SACrB,CACF,CAAC;QACF,OAAO,QAAQ,CAAC;IAClB,CAAC;IAED,+EAA+E;IAC/E,aAAa;IACb,+EAA+E;IAE/E;;;;;;;OAOG;IACH,KAAK,CAAC,kBAAkB,CAAC,MAAgC;QACvD,MAAM,QAAQ,GAAG,MAAM,WAAW,CAAC,KAAK,CACtC,IAAI,CAAC,MAAM,EACX,2BAA2B,EAC3B;YACE,MAAM,EAAE,KAAK;YACb,IAAI,EAAE,IAAI;YACV,MAAM;SACP,CACF,CAAC;QACF,OAAO,QAAQ,CAAC;IAClB,CAAC;IAED,+EAA+E;IAC/E,gBAAgB;IAChB,+EAA+E;IAE/E;;;;;;;OAOG;IACH,KAAK,CAAC,8BAA8B,CAClC,MAA4C;QAE5C,MAAM,QAAQ,GAAG,MAAM,WAAW,CAAC,KAAK,CACtC,IAAI,CAAC,MAAM,EACX,0CAA0C,EAC1C;YACE,MAAM,EAAE,MAAM;YACd,IAAI,EAAE,IAAI;YACV,IAAI,EAAE,MAAM;SACb,CACF,CAAC;QACF,OAAO,QAAQ,CAAC;IAClB,CAAC;CACF"}
@@ -25,3 +25,5 @@ export * from "./returns.manager.js";
25
25
  export * from "./sbs.manager.js";
26
26
  export * from "./fbs.manager.js";
27
27
  export * from "./livestream.manager.js";
28
+ export * from "./ams.manager.js";
29
+ export * from "./video.manager.js";
@@ -25,4 +25,6 @@ export * from "./returns.manager.js";
25
25
  export * from "./sbs.manager.js";
26
26
  export * from "./fbs.manager.js";
27
27
  export * from "./livestream.manager.js";
28
+ export * from "./ams.manager.js";
29
+ export * from "./video.manager.js";
28
30
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/managers/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAC;AAClC,cAAc,mBAAmB,CAAC;AAClC,cAAc,wBAAwB,CAAC;AACvC,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC;A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B,CAAC;AACvC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,sBAAsB,CAAC;AACrC,cAAc,kBAAkB,CAAC;AACjC,cAAc,kBAAkB,CAAC;AACjC,cAAc,yBAAyB,CAAC;AACxC,cAAc,kBAAkB,CAAC;AACjC,cAAc,oBAAoB,CAAC"}
@@ -1,6 +1,6 @@
1
1
  import { ShopeeConfig } from "../sdk.js";
2
2
  import { BaseManager } from "./base.manager.js";
3
- import { GetTrackingInfoParams, GetTrackingInfoResponse, GetChannelListResponse, GetShippingParameterParams, GetShippingParameterResponse, GetTrackingNumberParams, GetTrackingNumberResponse, ShipOrderParams, ShipOrderResponse, GetAddressListResponse, BatchShipOrderParams, BatchShipOrderResponse, MassShipOrderParams, MassShipOrderResponse, ShipBookingParams, ShipBookingResponse, GetBookingShippingParameterParams, GetBookingShippingParameterResponse, GetBookingTrackingInfoParams, GetBookingTrackingInfoResponse, GetBookingTrackingNumberParams, GetBookingTrackingNumberResponse, GetMassShippingParameterParams, GetMassShippingParameterResponse, GetMassTrackingNumberParams, GetMassTrackingNumberResponse, SetAddressConfigParams, SetAddressConfigResponse, DeleteAddressParams, DeleteAddressResponse, CreateShippingDocumentParams, CreateShippingDocumentResponse, DownloadShippingDocumentParams, DownloadShippingDocumentResponse, GetShippingDocumentParameterParams, GetShippingDocumentParameterResponse, GetShippingDocumentResultParams, GetShippingDocumentResultResponse, GetShippingDocumentDataInfoParams, GetShippingDocumentDataInfoResponse, CreateBookingShippingDocumentParams, CreateBookingShippingDocumentResponse, DownloadBookingShippingDocumentParams, DownloadBookingShippingDocumentResponse, GetBookingShippingDocumentParameterParams, GetBookingShippingDocumentParameterResponse, GetBookingShippingDocumentResultParams, GetBookingShippingDocumentResultResponse, GetBookingShippingDocumentDataInfoParams, GetBookingShippingDocumentDataInfoResponse, CreateShippingDocumentJobParams, CreateShippingDocumentJobResponse, DownloadShippingDocumentJobParams, DownloadShippingDocumentJobResponse, GetShippingDocumentJobStatusParams, GetShippingDocumentJobStatusResponse, DownloadToLabelParams, DownloadToLabelResponse, UpdateChannelParams, UpdateChannelResponse, UpdateShippingOrderParams, UpdateShippingOrderResponse, UpdateTrackingStatusParams, UpdateTrackingStatusResponse, UpdateSelfCollectionOrderLogisticsParams, UpdateSelfCollectionOrderLogisticsResponse, GetOperatingHoursParams, GetOperatingHoursResponse, UpdateOperatingHoursParams, UpdateOperatingHoursResponse, GetOperatingHourRestrictionsParams, GetOperatingHourRestrictionsResponse, DeleteSpecialOperatingHourParams, DeleteSpecialOperatingHourResponse, GetMartPackagingInfoParams, GetMartPackagingInfoResponse, SetMartPackagingInfoParams, SetMartPackagingInfoResponse, BatchUpdateTPFWarehouseTrackingStatusParams, BatchUpdateTPFWarehouseTrackingStatusResponse } from "../schemas/logistics.js";
3
+ import { GetTrackingInfoParams, GetTrackingInfoResponse, GetChannelListResponse, GetShippingParameterParams, GetShippingParameterResponse, GetTrackingNumberParams, GetTrackingNumberResponse, ShipOrderParams, ShipOrderResponse, GetAddressListResponse, BatchShipOrderParams, BatchShipOrderResponse, MassShipOrderParams, MassShipOrderResponse, ShipBookingParams, ShipBookingResponse, GetBookingShippingParameterParams, GetBookingShippingParameterResponse, GetBookingTrackingInfoParams, GetBookingTrackingInfoResponse, GetBookingTrackingNumberParams, GetBookingTrackingNumberResponse, GetMassShippingParameterParams, GetMassShippingParameterResponse, GetMassTrackingNumberParams, GetMassTrackingNumberResponse, SetAddressConfigParams, SetAddressConfigResponse, DeleteAddressParams, DeleteAddressResponse, CreateShippingDocumentParams, CreateShippingDocumentResponse, DownloadShippingDocumentParams, DownloadShippingDocumentResponse, GetShippingDocumentParameterParams, GetShippingDocumentParameterResponse, GetShippingDocumentResultParams, GetShippingDocumentResultResponse, GetShippingDocumentDataInfoParams, GetShippingDocumentDataInfoResponse, CreateBookingShippingDocumentParams, CreateBookingShippingDocumentResponse, DownloadBookingShippingDocumentParams, DownloadBookingShippingDocumentResponse, GetBookingShippingDocumentParameterParams, GetBookingShippingDocumentParameterResponse, GetBookingShippingDocumentResultParams, GetBookingShippingDocumentResultResponse, GetBookingShippingDocumentDataInfoParams, GetBookingShippingDocumentDataInfoResponse, CreateShippingDocumentJobParams, CreateShippingDocumentJobResponse, DownloadShippingDocumentJobParams, DownloadShippingDocumentJobResponse, GetShippingDocumentJobStatusParams, GetShippingDocumentJobStatusResponse, DownloadToLabelParams, DownloadToLabelResponse, UpdateChannelParams, UpdateChannelResponse, UpdateShippingOrderParams, UpdateShippingOrderResponse, UpdateTrackingStatusParams, UpdateTrackingStatusResponse, UpdateSelfCollectionOrderLogisticsParams, UpdateSelfCollectionOrderLogisticsResponse, GetOperatingHoursParams, GetOperatingHoursResponse, UpdateOperatingHoursParams, UpdateOperatingHoursResponse, GetOperatingHourRestrictionsParams, GetOperatingHourRestrictionsResponse, DeleteSpecialOperatingHourParams, DeleteSpecialOperatingHourResponse, GetMartPackagingInfoParams, GetMartPackagingInfoResponse, SetMartPackagingInfoParams, SetMartPackagingInfoResponse, BatchUpdateTPFWarehouseTrackingStatusParams, BatchUpdateTPFWarehouseTrackingStatusResponse, CheckPolygonUpdateStatusParams, CheckPolygonUpdateStatusResponse, UpdateAddressParams, UpdateAddressResponse, UploadServiceablePolygonParams, UploadServiceablePolygonResponse } from "../schemas/logistics.js";
4
4
  export declare class LogisticsManager extends BaseManager {
5
5
  constructor(config: ShopeeConfig);
6
6
  /**
@@ -296,4 +296,16 @@ export declare class LogisticsManager extends BaseManager {
296
296
  * Use this API to batch update TPF warehouse tracking status.
297
297
  */
298
298
  batchUpdateTPFWarehouseTrackingStatus(params: BatchUpdateTPFWarehouseTrackingStatusParams): Promise<BatchUpdateTPFWarehouseTrackingStatusResponse>;
299
+ /**
300
+ * Only available for Brazil sellers. Use this API to check the status of polygon file uploaded for BR Entrega Turbo channel (Channel ID: 90026) by querying the task_id returned via the v2.logistics.upload_serviceable_polygon.
301
+ */
302
+ checkPolygonUpdateStatus(params: CheckPolygonUpdateStatusParams): Promise<CheckPolygonUpdateStatusResponse>;
303
+ /**
304
+ * Use this API to update the address of a shop.
305
+ */
306
+ updateAddress(params: UpdateAddressParams): Promise<UpdateAddressResponse>;
307
+ /**
308
+ * Only available for Brazil sellers. Use this API to upload KML file for shop level serviceability setting for BR Entrega Turbo channel (Channel ID: 90026). Please note that multiple Outlet Shops under the same Mart Shop cannot have overlapping service areas.
309
+ */
310
+ uploadServiceablePolygon(params: UploadServiceablePolygonParams): Promise<UploadServiceablePolygonResponse>;
299
311
  }