@omni-commerce/sdk 0.5.0 → 0.7.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.
package/dist/index.cjs CHANGED
@@ -1,10 +1,19 @@
1
1
  'use strict';
2
2
 
3
3
  var __defProp = Object.defineProperty;
4
+ var __typeError = (msg) => {
5
+ throw TypeError(msg);
6
+ };
7
+ var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
4
8
  var __export = (target, all) => {
5
9
  for (var name in all)
6
10
  __defProp(target, name, { get: all[name], enumerable: true });
7
11
  };
12
+ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
13
+ var __accessCheck = (obj, member, msg) => member.has(obj) || __typeError("Cannot " + msg);
14
+ var __privateGet = (obj, member, getter) => (__accessCheck(obj, member, "read from private field"), getter ? getter.call(obj) : member.get(obj));
15
+ var __privateAdd = (obj, member, value) => member.has(obj) ? __typeError("Cannot add the same private member more than once") : member instanceof WeakSet ? member.add(obj) : member.set(obj, value);
16
+ var __privateSet = (obj, member, value, setter) => (__accessCheck(obj, member, "write to private field"), member.set(obj, value), value);
8
17
 
9
18
  // src/BaseClient.ts
10
19
  function normalizeClientOptions(options = {}) {
@@ -26,7 +35,7 @@ function normalizeClientOptions(options = {}) {
26
35
  }
27
36
 
28
37
  // src/version.ts
29
- var SDK_VERSION = "0.5.0";
38
+ var SDK_VERSION = "0.7.0";
30
39
  var SDK_USER_AGENT = `omnicommerce-js/${SDK_VERSION}`;
31
40
 
32
41
  // src/environments.ts
@@ -37,9 +46,6 @@ var OmniEnvironment = {
37
46
 
38
47
  // src/errors/OmniError.ts
39
48
  var OmniError = class extends Error {
40
- statusCode;
41
- body;
42
- rawResponse;
43
49
  constructor({
44
50
  message,
45
51
  statusCode,
@@ -47,6 +53,9 @@ var OmniError = class extends Error {
47
53
  rawResponse
48
54
  }) {
49
55
  super(message ?? defaultErrorMessage(statusCode, body));
56
+ __publicField(this, "statusCode");
57
+ __publicField(this, "body");
58
+ __publicField(this, "rawResponse");
50
59
  this.name = "OmniError";
51
60
  this.statusCode = statusCode;
52
61
  this.body = body;
@@ -225,11 +234,12 @@ function joinUrl(baseUrl, path, query) {
225
234
  }
226
235
 
227
236
  // src/core/http-response-promise.ts
228
- var HttpResponsePromise = class _HttpResponsePromise extends Promise {
229
- #response;
237
+ var _response;
238
+ var _HttpResponsePromise = class _HttpResponsePromise extends Promise {
230
239
  constructor(executor, response) {
231
240
  super(executor);
232
- this.#response = response;
241
+ __privateAdd(this, _response);
242
+ __privateSet(this, _response, response);
233
243
  }
234
244
  static from(response) {
235
245
  return new _HttpResponsePromise((resolve, reject) => {
@@ -237,9 +247,11 @@ var HttpResponsePromise = class _HttpResponsePromise extends Promise {
237
247
  }, response);
238
248
  }
239
249
  withRawResponse() {
240
- return this.#response;
250
+ return __privateGet(this, _response);
241
251
  }
242
252
  };
253
+ _response = new WeakMap();
254
+ var HttpResponsePromise = _HttpResponsePromise;
243
255
  function toRawResponse(response) {
244
256
  return {
245
257
  status: response.status,
@@ -252,9 +264,8 @@ function toRawResponse(response) {
252
264
  var IDEMPOTENT_METHODS = /* @__PURE__ */ new Set(["GET", "HEAD", "OPTIONS", "PUT", "DELETE"]);
253
265
  var OmniHttp = class {
254
266
  constructor(options) {
255
- this.options = options;
267
+ __publicField(this, "options", options);
256
268
  }
257
- options;
258
269
  request(init) {
259
270
  return HttpResponsePromise.from(this.requestWithRaw(init));
260
271
  }
@@ -465,12 +476,12 @@ var TERMINAL_STATUSES = /* @__PURE__ */ new Set([
465
476
  ...CANCELLED_STATUSES
466
477
  ]);
467
478
  var JobFailedError = class extends OmniError {
468
- jobStatus;
469
479
  constructor(jobStatus, body) {
470
480
  super({
471
481
  message: `Job ended with status "${jobStatus}"`,
472
482
  body
473
483
  });
484
+ __publicField(this, "jobStatus");
474
485
  this.name = "JobFailedError";
475
486
  this.jobStatus = jobStatus;
476
487
  }
@@ -523,9 +534,8 @@ async function waitForJob(http, request, options) {
523
534
  // src/generated/resources.ts
524
535
  var AgentsGeneralClient = class {
525
536
  constructor(_http) {
526
- this._http = _http;
537
+ __publicField(this, "_http", _http);
527
538
  }
528
- _http;
529
539
  /**
530
540
  * Invoke the Omni agent
531
541
  *
@@ -582,17 +592,15 @@ var AgentsGeneralClient = class {
582
592
  };
583
593
  var AgentsClient = class {
584
594
  constructor(_http) {
585
- this._http = _http;
595
+ __publicField(this, "_http", _http);
596
+ __publicField(this, "general");
586
597
  this.general = new AgentsGeneralClient(this._http);
587
598
  }
588
- _http;
589
- general;
590
599
  };
591
600
  var AnalyticsClient = class {
592
601
  constructor(_http) {
593
- this._http = _http;
602
+ __publicField(this, "_http", _http);
594
603
  }
595
- _http;
596
604
  /**
597
605
  * Get Ads Analytics
598
606
  *
@@ -1011,9 +1019,8 @@ var AnalyticsClient = class {
1011
1019
  };
1012
1020
  var AopClient = class {
1013
1021
  constructor(_http) {
1014
- this._http = _http;
1022
+ __publicField(this, "_http", _http);
1015
1023
  }
1016
- _http;
1017
1024
  /**
1018
1025
  * Get AOP configuration
1019
1026
  *
@@ -1100,11 +1107,38 @@ var AopClient = class {
1100
1107
  });
1101
1108
  }
1102
1109
  };
1110
+ var BrandsgatewayClient = class {
1111
+ constructor(_http) {
1112
+ __publicField(this, "_http", _http);
1113
+ }
1114
+ /**
1115
+ * Import BrandsGateway Products
1116
+ *
1117
+ * Requires catalog:write and a connected BrandsGateway account. Uses the same parameters and import service as the import_brandsgateway_products tool.
1118
+
1119
+ ### Selection
1120
+
1121
+ Choose catalogProductIds or importAllMatching with filters. maxProducts limits new imports to 1–50 across pages (default 50); already imported products are skipped. Numeric brandIds, vendorIds (supplier warehouses), categoryIds, and conditionIds arrays match any value within each field and all supplied fields together. Omit a field for no restriction; empty arrays and legacy singular/string filters are rejected. Brands accept at most 500 IDs; other filter arrays accept at most 50 each. Broad combinations may exceed the supplier request budget and return a failure asking you to narrow the filters.
1122
+
1123
+ ### Updated dates and enrichme
1124
+ *
1125
+ * `POST /api/v1/brandsgateway/import`
1126
+ */
1127
+ importProducts(request, requestOptions) {
1128
+ const { ...body } = request ?? {};
1129
+ return this._http.request({
1130
+ method: "POST",
1131
+ path: "/api/v1/brandsgateway/import",
1132
+ query: void 0,
1133
+ body,
1134
+ ...mergeRequestOptions(requestOptions)
1135
+ });
1136
+ }
1137
+ };
1103
1138
  var CampaignsClient = class {
1104
1139
  constructor(_http) {
1105
- this._http = _http;
1140
+ __publicField(this, "_http", _http);
1106
1141
  }
1107
- _http;
1108
1142
  /**
1109
1143
  * List Campaigns
1110
1144
  *
@@ -1244,9 +1278,8 @@ var CampaignsClient = class {
1244
1278
  };
1245
1279
  var CatalogClient = class {
1246
1280
  constructor(_http) {
1247
- this._http = _http;
1281
+ __publicField(this, "_http", _http);
1248
1282
  }
1249
- _http;
1250
1283
  /**
1251
1284
  * Export Catalog Items
1252
1285
  *
@@ -1269,9 +1302,8 @@ var CatalogClient = class {
1269
1302
  };
1270
1303
  var CheckoutSessionsClient = class {
1271
1304
  constructor(_http) {
1272
- this._http = _http;
1305
+ __publicField(this, "_http", _http);
1273
1306
  }
1274
- _http;
1275
1307
  /**
1276
1308
  * Create Agentic Checkout Session
1277
1309
  *
@@ -1377,9 +1409,8 @@ var CheckoutSessionsClient = class {
1377
1409
  };
1378
1410
  var CompareClient = class {
1379
1411
  constructor(_http) {
1380
- this._http = _http;
1412
+ __publicField(this, "_http", _http);
1381
1413
  }
1382
- _http;
1383
1414
  /**
1384
1415
  * Compare Public Products
1385
1416
  *
@@ -1400,9 +1431,8 @@ var CompareClient = class {
1400
1431
  };
1401
1432
  var DirectoryClient = class {
1402
1433
  constructor(_http) {
1403
- this._http = _http;
1434
+ __publicField(this, "_http", _http);
1404
1435
  }
1405
- _http;
1406
1436
  /**
1407
1437
  * List Public Merchants
1408
1438
  *
@@ -1422,15 +1452,14 @@ var DirectoryClient = class {
1422
1452
  };
1423
1453
  var DocumentsClient = class {
1424
1454
  constructor(_http) {
1425
- this._http = _http;
1455
+ __publicField(this, "_http", _http);
1426
1456
  }
1427
- _http;
1428
1457
  /**
1429
1458
  * Upload Document
1430
1459
  *
1431
1460
  * Upload one file to the knowledge base as multipart/form-data. Requires `documents:write`.
1432
1461
 
1433
- Accepted: PDF up to 20 MB, Excel (.xlsx/.xlsm) up to 10 MB, images up to 8 MB, CSV and Markdown up to 2 MB. PDFs, Markdown, and images are indexed in the background; poll `GET /api/v1/documents/{documentId}` until `status` is `completed`. CSV and Excel are stored for agents to read but are not indexed.
1462
+ Accepted: PDF up to 20 MB, Word (.docx) and PowerPoint (.pptx) up to 20 MB, Excel (.xlsx/.xlsm) up to 10 MB, images up to 8 MB, CSV and Markdown up to 2 MB. PDFs, Word, PowerPoint, Markdown, and images are indexed in the background; poll `GET /api/v1/documents/{documentId}` until `status` is `completed`. CSV and Excel are stored for agents to read but are not indexed.
1434
1463
  *
1435
1464
  * `POST /api/v1/documents`
1436
1465
  */
@@ -1464,9 +1493,8 @@ var DocumentsClient = class {
1464
1493
  };
1465
1494
  var EvaluateClient = class {
1466
1495
  constructor(_http) {
1467
- this._http = _http;
1496
+ __publicField(this, "_http", _http);
1468
1497
  }
1469
- _http;
1470
1498
  /**
1471
1499
  * Evaluate SKU Readiness
1472
1500
  *
@@ -1487,9 +1515,8 @@ var EvaluateClient = class {
1487
1515
  };
1488
1516
  var FeedClient = class {
1489
1517
  constructor(_http) {
1490
- this._http = _http;
1518
+ __publicField(this, "_http", _http);
1491
1519
  }
1492
- _http;
1493
1520
  /**
1494
1521
  * Get Merchant LLM Feed
1495
1522
  *
@@ -1510,9 +1537,8 @@ var FeedClient = class {
1510
1537
  };
1511
1538
  var ImagesClient = class {
1512
1539
  constructor(_http) {
1513
- this._http = _http;
1540
+ __publicField(this, "_http", _http);
1514
1541
  }
1515
- _http;
1516
1542
  /**
1517
1543
  * Generate Ghost Mannequin Image
1518
1544
  *
@@ -1533,9 +1559,8 @@ var ImagesClient = class {
1533
1559
  };
1534
1560
  var JobsClient = class {
1535
1561
  constructor(_http) {
1536
- this._http = _http;
1562
+ __publicField(this, "_http", _http);
1537
1563
  }
1538
- _http;
1539
1564
  /**
1540
1565
  * Get Developer Job Status
1541
1566
  *
@@ -1589,9 +1614,8 @@ var JobsClient = class {
1589
1614
  };
1590
1615
  var LooksClient = class {
1591
1616
  constructor(_http) {
1592
- this._http = _http;
1617
+ __publicField(this, "_http", _http);
1593
1618
  }
1594
- _http;
1595
1619
  /**
1596
1620
  * List Looks
1597
1621
  *
@@ -1646,9 +1670,8 @@ var LooksClient = class {
1646
1670
  };
1647
1671
  var MarketplacesClient = class {
1648
1672
  constructor(_http) {
1649
- this._http = _http;
1673
+ __publicField(this, "_http", _http);
1650
1674
  }
1651
- _http;
1652
1675
  /**
1653
1676
  * List Connected Marketplaces
1654
1677
  *
@@ -1669,9 +1692,8 @@ var MarketplacesClient = class {
1669
1692
  };
1670
1693
  var MerchantsClient = class {
1671
1694
  constructor(_http) {
1672
- this._http = _http;
1695
+ __publicField(this, "_http", _http);
1673
1696
  }
1674
- _http;
1675
1697
  /**
1676
1698
  * Get Public Merchant Manifest
1677
1699
  *
@@ -1755,9 +1777,8 @@ var MerchantsClient = class {
1755
1777
  };
1756
1778
  var MonitorClient = class {
1757
1779
  constructor(_http) {
1758
- this._http = _http;
1780
+ __publicField(this, "_http", _http);
1759
1781
  }
1760
- _http;
1761
1782
  /**
1762
1783
  * Run AI Shelf Share Monitor
1763
1784
  *
@@ -1778,9 +1799,8 @@ var MonitorClient = class {
1778
1799
  };
1779
1800
  var OauthClient = class {
1780
1801
  constructor(_http) {
1781
- this._http = _http;
1802
+ __publicField(this, "_http", _http);
1782
1803
  }
1783
- _http;
1784
1804
  /**
1785
1805
  * Revoke Access Token
1786
1806
  *
@@ -1818,9 +1838,8 @@ var OauthClient = class {
1818
1838
  };
1819
1839
  var OrdersClient = class {
1820
1840
  constructor(_http) {
1821
- this._http = _http;
1841
+ __publicField(this, "_http", _http);
1822
1842
  }
1823
- _http;
1824
1843
  /**
1825
1844
  * List Orders
1826
1845
  *
@@ -2033,9 +2052,8 @@ var OrdersClient = class {
2033
2052
  };
2034
2053
  var OrganizationsClient = class {
2035
2054
  constructor(_http) {
2036
- this._http = _http;
2055
+ __publicField(this, "_http", _http);
2037
2056
  }
2038
- _http;
2039
2057
  /**
2040
2058
  * Create Organization
2041
2059
  *
@@ -2056,9 +2074,8 @@ var OrganizationsClient = class {
2056
2074
  };
2057
2075
  var PriceBooksClient = class {
2058
2076
  constructor(_http) {
2059
- this._http = _http;
2077
+ __publicField(this, "_http", _http);
2060
2078
  }
2061
- _http;
2062
2079
  /**
2063
2080
  * List Price Book Rules
2064
2081
  *
@@ -2166,9 +2183,8 @@ var PriceBooksClient = class {
2166
2183
  };
2167
2184
  var ProductCategoriesClient = class {
2168
2185
  constructor(_http) {
2169
- this._http = _http;
2186
+ __publicField(this, "_http", _http);
2170
2187
  }
2171
- _http;
2172
2188
  /**
2173
2189
  * Recommend Marketplace Product Categories
2174
2190
  *
@@ -2189,9 +2205,8 @@ var ProductCategoriesClient = class {
2189
2205
  };
2190
2206
  var ProductsClient = class {
2191
2207
  constructor(_http) {
2192
- this._http = _http;
2208
+ __publicField(this, "_http", _http);
2193
2209
  }
2194
- _http;
2195
2210
  /**
2196
2211
  * List Products
2197
2212
  *
@@ -2551,9 +2566,8 @@ var ProductsClient = class {
2551
2566
  };
2552
2567
  var PromotionsClient = class {
2553
2568
  constructor(_http) {
2554
- this._http = _http;
2569
+ __publicField(this, "_http", _http);
2555
2570
  }
2556
- _http;
2557
2571
  /**
2558
2572
  * List Promotions
2559
2573
  *
@@ -2732,9 +2746,8 @@ var PromotionsClient = class {
2732
2746
  };
2733
2747
  var ReturnsClient = class {
2734
2748
  constructor(_http) {
2735
- this._http = _http;
2749
+ __publicField(this, "_http", _http);
2736
2750
  }
2737
- _http;
2738
2751
  /**
2739
2752
  * List Returns
2740
2753
  *
@@ -2788,9 +2801,8 @@ var ReturnsClient = class {
2788
2801
  };
2789
2802
  var ReviewsClient = class {
2790
2803
  constructor(_http) {
2791
- this._http = _http;
2804
+ __publicField(this, "_http", _http);
2792
2805
  }
2793
- _http;
2794
2806
  /**
2795
2807
  * List Reviews
2796
2808
  *
@@ -2890,9 +2902,8 @@ var ReviewsClient = class {
2890
2902
  };
2891
2903
  var SearchClient = class {
2892
2904
  constructor(_http) {
2893
- this._http = _http;
2905
+ __publicField(this, "_http", _http);
2894
2906
  }
2895
- _http;
2896
2907
  /**
2897
2908
  * Search Public Merchant Products
2898
2909
  *
@@ -2991,9 +3002,8 @@ var SearchClient = class {
2991
3002
  };
2992
3003
  var SettlementsClient = class {
2993
3004
  constructor(_http) {
2994
- this._http = _http;
3005
+ __publicField(this, "_http", _http);
2995
3006
  }
2996
- _http;
2997
3007
  /**
2998
3008
  * List Settlements
2999
3009
  *
@@ -3084,9 +3094,8 @@ var SettlementsClient = class {
3084
3094
  };
3085
3095
  var SyncClient = class {
3086
3096
  constructor(_http) {
3087
- this._http = _http;
3097
+ __publicField(this, "_http", _http);
3088
3098
  }
3089
- _http;
3090
3099
  /**
3091
3100
  * Sync Product Commercial Fields
3092
3101
  *
@@ -3107,9 +3116,8 @@ var SyncClient = class {
3107
3116
  };
3108
3117
  var ThreadsClient = class {
3109
3118
  constructor(_http) {
3110
- this._http = _http;
3119
+ __publicField(this, "_http", _http);
3111
3120
  }
3112
- _http;
3113
3121
  /**
3114
3122
  * Get Thread Status
3115
3123
  *
@@ -3134,9 +3142,8 @@ var ThreadsClient = class {
3134
3142
  };
3135
3143
  var UcpCheckoutSessionsClient = class {
3136
3144
  constructor(_http) {
3137
- this._http = _http;
3145
+ __publicField(this, "_http", _http);
3138
3146
  }
3139
- _http;
3140
3147
  /**
3141
3148
  * Create UCP Checkout Session
3142
3149
  *
@@ -3242,9 +3249,8 @@ var UcpCheckoutSessionsClient = class {
3242
3249
  };
3243
3250
  var UcpOrdersClient = class {
3244
3251
  constructor(_http) {
3245
- this._http = _http;
3252
+ __publicField(this, "_http", _http);
3246
3253
  }
3247
- _http;
3248
3254
  /**
3249
3255
  * Get UCP Order
3250
3256
  *
@@ -3265,19 +3271,17 @@ var UcpOrdersClient = class {
3265
3271
  };
3266
3272
  var UcpClient = class {
3267
3273
  constructor(_http) {
3268
- this._http = _http;
3274
+ __publicField(this, "_http", _http);
3275
+ __publicField(this, "checkoutSessions");
3276
+ __publicField(this, "orders");
3269
3277
  this.checkoutSessions = new UcpCheckoutSessionsClient(this._http);
3270
3278
  this.orders = new UcpOrdersClient(this._http);
3271
3279
  }
3272
- _http;
3273
- checkoutSessions;
3274
- orders;
3275
3280
  };
3276
3281
  var WebhookEventsClient = class {
3277
3282
  constructor(_http) {
3278
- this._http = _http;
3283
+ __publicField(this, "_http", _http);
3279
3284
  }
3280
- _http;
3281
3285
  /**
3282
3286
  * List Webhook Events
3283
3287
  *
@@ -3298,9 +3302,8 @@ var WebhookEventsClient = class {
3298
3302
  };
3299
3303
  var WebhooksClient = class {
3300
3304
  constructor(_http) {
3301
- this._http = _http;
3305
+ __publicField(this, "_http", _http);
3302
3306
  }
3303
- _http;
3304
3307
  /**
3305
3308
  * List Developer Webhooks
3306
3309
  *
@@ -3337,9 +3340,8 @@ var WebhooksClient = class {
3337
3340
  };
3338
3341
  var ZaloraClient = class {
3339
3342
  constructor(_http) {
3340
- this._http = _http;
3343
+ __publicField(this, "_http", _http);
3341
3344
  }
3342
- _http;
3343
3345
  /**
3344
3346
  * Get Selected Zalora Import Status
3345
3347
  *
@@ -3385,10 +3387,46 @@ var ZaloraClient = class {
3385
3387
  };
3386
3388
  var OmniGeneratedClient = class {
3387
3389
  constructor(_http) {
3388
- this._http = _http;
3390
+ __publicField(this, "_http", _http);
3391
+ __publicField(this, "agents");
3392
+ __publicField(this, "analytics");
3393
+ __publicField(this, "aop");
3394
+ __publicField(this, "brandsgateway");
3395
+ __publicField(this, "campaigns");
3396
+ __publicField(this, "catalog");
3397
+ __publicField(this, "checkoutSessions");
3398
+ __publicField(this, "compare");
3399
+ __publicField(this, "directory");
3400
+ __publicField(this, "documents");
3401
+ __publicField(this, "evaluate");
3402
+ __publicField(this, "feed");
3403
+ __publicField(this, "images");
3404
+ __publicField(this, "jobs");
3405
+ __publicField(this, "looks");
3406
+ __publicField(this, "marketplaces");
3407
+ __publicField(this, "merchants");
3408
+ __publicField(this, "monitor");
3409
+ __publicField(this, "oauth");
3410
+ __publicField(this, "orders");
3411
+ __publicField(this, "organizations");
3412
+ __publicField(this, "priceBooks");
3413
+ __publicField(this, "productCategories");
3414
+ __publicField(this, "products");
3415
+ __publicField(this, "promotions");
3416
+ __publicField(this, "returns");
3417
+ __publicField(this, "reviews");
3418
+ __publicField(this, "search");
3419
+ __publicField(this, "settlements");
3420
+ __publicField(this, "sync");
3421
+ __publicField(this, "threads");
3422
+ __publicField(this, "ucp");
3423
+ __publicField(this, "webhookEvents");
3424
+ __publicField(this, "webhooks");
3425
+ __publicField(this, "zalora");
3389
3426
  this.agents = new AgentsClient(this._http);
3390
3427
  this.analytics = new AnalyticsClient(this._http);
3391
3428
  this.aop = new AopClient(this._http);
3429
+ this.brandsgateway = new BrandsgatewayClient(this._http);
3392
3430
  this.campaigns = new CampaignsClient(this._http);
3393
3431
  this.catalog = new CatalogClient(this._http);
3394
3432
  this.checkoutSessions = new CheckoutSessionsClient(this._http);
@@ -3421,41 +3459,6 @@ var OmniGeneratedClient = class {
3421
3459
  this.webhooks = new WebhooksClient(this._http);
3422
3460
  this.zalora = new ZaloraClient(this._http);
3423
3461
  }
3424
- _http;
3425
- agents;
3426
- analytics;
3427
- aop;
3428
- campaigns;
3429
- catalog;
3430
- checkoutSessions;
3431
- compare;
3432
- directory;
3433
- documents;
3434
- evaluate;
3435
- feed;
3436
- images;
3437
- jobs;
3438
- looks;
3439
- marketplaces;
3440
- merchants;
3441
- monitor;
3442
- oauth;
3443
- orders;
3444
- organizations;
3445
- priceBooks;
3446
- productCategories;
3447
- products;
3448
- promotions;
3449
- returns;
3450
- reviews;
3451
- search;
3452
- settlements;
3453
- sync;
3454
- threads;
3455
- ucp;
3456
- webhookEvents;
3457
- webhooks;
3458
- zalora;
3459
3462
  };
3460
3463
 
3461
3464
  // src/Client.ts