@omni-commerce/sdk 0.8.1 → 0.10.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.d.ts CHANGED
@@ -1004,7 +1004,9 @@ interface paths {
1004
1004
  };
1005
1005
  /**
1006
1006
  * Get Developer Job Status
1007
- * @description Fetch shared async status for developer-platform operations, including product workflow jobs, bulk CSV import jobs, Look generation jobs, import jobs, enrichment jobs, and sync jobs.
1007
+ * @description Fetch shared async status for developer-platform operations, including product workflow jobs, bulk CSV import jobs, Look generation jobs, import jobs, enrichment jobs, price comparison jobs, and sync jobs.
1008
+ *
1009
+ * Price comparison jobs expose partial progress in data.results and their final batch result in data.result; completed means processing finished, so inspect data.result.success for comparison failures.
1008
1010
  */
1009
1011
  get: operations["get_v1_jobs_by_jobid"];
1010
1012
  put?: never;
@@ -1761,7 +1763,7 @@ interface paths {
1761
1763
  * ### Input options
1762
1764
  *
1763
1765
  * - Upload a CSV (2 MiB) or JSON products file (8 MiB) using `multipart/form-data`.
1764
- * - Send JSON with a `products` array of 1–1,000 flat product objects (8 MiB request maximum).
1766
+ * - Send JSON with a `products` array of 1–5,000 flat product objects (8 MiB request maximum).
1765
1767
  * - Send JSON with inline `csvText`.
1766
1768
  * - Send JSON referencing a stored `documentId`.
1767
1769
  *
@@ -1778,6 +1780,68 @@ interface paths {
1778
1780
  patch?: never;
1779
1781
  trace?: never;
1780
1782
  };
1783
+ "/api/v1/products/compare-prices": {
1784
+ parameters: {
1785
+ query?: never;
1786
+ header?: never;
1787
+ path?: never;
1788
+ cookie?: never;
1789
+ };
1790
+ get?: never;
1791
+ put?: never;
1792
+ /**
1793
+ * Compare Product Market Prices
1794
+ * @description Research market offers for a batch of OmniCommerce simple product or variant UUIDs using the same BigGo API and Serper Shopping fallback as pricing strategy. Read-only; no prices are changed.
1795
+ *
1796
+ * ### Authorization
1797
+ *
1798
+ * Requires catalog:read. API keys resolve organizationId from the credential; session callers must provide an authorized organizationId.
1799
+ *
1800
+ * ### Durable batches
1801
+ *
1802
+ * Accepts 1–50 input entries, trimmed and deduplicated in first-requested order. Returns HTTP 202 and a durable jobId. Retrieve progress and results from GET /api/v1/products/compare-prices/jobs/{jobId} or await jobs.wait in the SDK with a suitable timeout. A client timeout does not cancel the job. Use variant IDs for products with variants. Each listing market has its own durable search step; searches use bounded concurrency and retry failed providers once. Final result.success is true only when every requested product and listing market succeeds. Partial failures remain explicit.
1803
+ *
1804
+ * Omit country/gl to compare every recorded listing market. Global Zalora compares its exact country prices in SG, MY, ID, PH, HK, and TW as present on the listing; variant offers use exact SKU/variant identity. An India Shopify store selling in SGD is researched in Singapore because market selection follows selling currency, not the store address. gl overrides country and restricts research to that market. Unsupported currencies and missing country prices are reported without silently skipping listings or converting currencies.
1805
+ *
1806
+ * results[].markets contains separate platform/store/country prices and shopping statistics. Prices come from persisted marketplace snapshots or acknowledged marketplace writes; priceSource and priceAsOf identify the evidence. Published listings without exact price evidence may return catalog research but success is false, with an explicit verification error. Unlisted products use their catalog price/currency. Research does not refresh the connected marketplace listing; refresh stale listing data before comparing.
1807
+ *
1808
+ * Market comparison measures recorded listing list price minus market median (p50), with percentage relative to the median. Catalog fallback comparisons use the explicitly named catalog_price_vs_market_median metric. The product-level currentPrice/currency remain catalog fields; product-level research/comparison are available only for a single market with compatible currency. For multiple markets, consume markets[]. These differences are not recommended selling prices; monetary values are never combined across currencies.
1809
+ *
1810
+ * Shopping search coverage depends on the provider index; individual marketplaces and listings are not verified.
1811
+ *
1812
+ * Offers may refer to different variants, pack sizes, bundles, or similar products. Verify the offer before using its price.
1813
+ *
1814
+ * Pricing strategy excludes offers from ebay and walmart.
1815
+ */
1816
+ post: operations["post_v1_products_compare_prices"];
1817
+ delete?: never;
1818
+ options?: never;
1819
+ head?: never;
1820
+ patch?: never;
1821
+ trace?: never;
1822
+ };
1823
+ "/api/v1/products/compare-prices/jobs/{jobId}": {
1824
+ parameters: {
1825
+ query?: never;
1826
+ header?: never;
1827
+ path?: never;
1828
+ cookie?: never;
1829
+ };
1830
+ /**
1831
+ * Get Product Price Comparison
1832
+ * @description Read durable batch progress and ordered per-product results. Requires catalog:read and the job's organization.
1833
+ *
1834
+ * completed means every target was processed; inspect result.success, succeededCount, failedCount, and each result for partial failures. Session callers must supply organizationId.
1835
+ */
1836
+ get: operations["get_v1_products_compare_prices_jobs_by_jobid"];
1837
+ put?: never;
1838
+ post?: never;
1839
+ delete?: never;
1840
+ options?: never;
1841
+ head?: never;
1842
+ patch?: never;
1843
+ trace?: never;
1844
+ };
1781
1845
  "/api/v1/products/cost": {
1782
1846
  parameters: {
1783
1847
  query?: never;
@@ -2031,7 +2095,7 @@ interface paths {
2031
2095
  * Draft Review Reply
2032
2096
  * @description Draft a reply with AI from the review, the product, recent replies, and the brand kit. Uses AI credits. Requires `reviews:write`.
2033
2097
  *
2034
- * Nothing is posted; send the text with `POST /api/v1/reviews/actions`.
2098
+ * Nothing is posted; review and send the draft from the workspace Reviews page.
2035
2099
  */
2036
2100
  post: operations["post_v1_reviews_by_reviewid_draft_reply"];
2037
2101
  delete?: never;
@@ -2040,28 +2104,6 @@ interface paths {
2040
2104
  patch?: never;
2041
2105
  trace?: never;
2042
2106
  };
2043
- "/api/v1/reviews/actions": {
2044
- parameters: {
2045
- query?: never;
2046
- header?: never;
2047
- path?: never;
2048
- cookie?: never;
2049
- };
2050
- get?: never;
2051
- put?: never;
2052
- /**
2053
- * Act on Reviews
2054
- * @description Reply to up to 50 reviews, or send Amazon review requests for solicitation rows. Requires `reviews:write`.
2055
- *
2056
- * Each target succeeds or fails on its own; read `data.results`. `ok` is true only when every target succeeds.
2057
- */
2058
- post: operations["post_v1_reviews_actions"];
2059
- delete?: never;
2060
- options?: never;
2061
- head?: never;
2062
- patch?: never;
2063
- trace?: never;
2064
- };
2065
2107
  "/api/v1/search": {
2066
2108
  parameters: {
2067
2109
  query?: never;
@@ -2786,6 +2828,7 @@ interface components {
2786
2828
  | "shopee_video"
2787
2829
  | "shopee_new_buyer"
2788
2830
  | "shopee_repeat_buyer"
2831
+ | "shopee_campaign"
2789
2832
  | "shopee_follow_prize"
2790
2833
  | "shopee_exclusive_streamer"
2791
2834
  | "shopee_welcome"
@@ -2811,6 +2854,12 @@ interface components {
2811
2854
  | "ebay_coded_coupon"
2812
2855
  )
2813
2856
  | null;
2857
+ /** @description Campaign voucher targeting: exact campaignId/sessionId from Seller Center and termsAccepted only after the seller reviewed participation obligations. Required for shopee_campaign; nomination creates a draft awaiting marketplace review. */
2858
+ voucherCampaign?: {
2859
+ campaignId: string;
2860
+ sessionId: string;
2861
+ termsAccepted: boolean;
2862
+ };
2814
2863
  browserAutomation?: {
2815
2864
  aopId?: string;
2816
2865
  variableValues?: {
@@ -3300,6 +3349,41 @@ interface components {
3300
3349
  } & {
3301
3350
  [key: string]: unknown;
3302
3351
  };
3352
+ /** @description Current OmniCommerce inventory captured with the order event, using the same stock authority as Inventory detail. Not a live marketplace stock read. */
3353
+ OrderWebhookInventory: {
3354
+ onHand: number;
3355
+ locked: number;
3356
+ available: number;
3357
+ /** Format: date-time */
3358
+ asOf: string;
3359
+ };
3360
+ OrderWebhookItemIdentity: {
3361
+ id: string;
3362
+ productId: string | null;
3363
+ externalOrderItemId: string;
3364
+ marketplaceItemId: string | null;
3365
+ marketplaceVariantId: string | null;
3366
+ sku: string | null;
3367
+ sellerSku: string | null;
3368
+ shopSku: string | null;
3369
+ name: string | null;
3370
+ status: string | null;
3371
+ quantity: number;
3372
+ /** @default null */
3373
+ inventory: components["schemas"]["OrderWebhookInventory"] | null;
3374
+ /**
3375
+ * @default null
3376
+ * @enum {string|null}
3377
+ */
3378
+ inventoryUnavailableReason:
3379
+ | "product_not_linked"
3380
+ | "product_not_found"
3381
+ | "variant_not_resolved"
3382
+ | "inventory_unavailable"
3383
+ | null;
3384
+ } & {
3385
+ [key: string]: unknown;
3386
+ };
3303
3387
  WebhookMoney: {
3304
3388
  /** @description Decimal monetary amount encoded as a JSON string. */
3305
3389
  amount: string;
@@ -3349,6 +3433,18 @@ interface components {
3349
3433
  name: string | null;
3350
3434
  status: string | null;
3351
3435
  quantity: number;
3436
+ /** @default null */
3437
+ inventory: components["schemas"]["OrderWebhookInventory"] | null;
3438
+ /**
3439
+ * @default null
3440
+ * @enum {string|null}
3441
+ */
3442
+ inventoryUnavailableReason:
3443
+ | "product_not_linked"
3444
+ | "product_not_found"
3445
+ | "variant_not_resolved"
3446
+ | "inventory_unavailable"
3447
+ | null;
3352
3448
  currency: string;
3353
3449
  unitPrice: components["schemas"]["WebhookMoney"] | null;
3354
3450
  paidPrice: components["schemas"]["WebhookMoney"] | null;
@@ -3398,6 +3494,8 @@ interface components {
3398
3494
  externalOrderNumber: string | null;
3399
3495
  /** Format: date-time */
3400
3496
  deletedAt: string;
3497
+ /** @default [] */
3498
+ items: components["schemas"]["OrderWebhookItemIdentity"][];
3401
3499
  } & {
3402
3500
  [key: string]: unknown;
3403
3501
  };
@@ -7676,6 +7774,10 @@ interface operations {
7676
7774
  | "archived";
7677
7775
  offset?: number;
7678
7776
  limit?: number;
7777
+ /** @description Sort by creation or last update date. */
7778
+ sortBy?: "createdAt" | "updatedAt";
7779
+ /** @description Sort direction; newest first by default. */
7780
+ sortDir?: "asc" | "desc";
7679
7781
  };
7680
7782
  header?: never;
7681
7783
  path?: never;
@@ -7922,6 +8024,7 @@ interface operations {
7922
8024
  | "shopee_video"
7923
8025
  | "shopee_new_buyer"
7924
8026
  | "shopee_repeat_buyer"
8027
+ | "shopee_campaign"
7925
8028
  | "shopee_follow_prize"
7926
8029
  | "shopee_exclusive_streamer"
7927
8030
  | "shopee_welcome"
@@ -7947,6 +8050,12 @@ interface operations {
7947
8050
  | "ebay_coded_coupon"
7948
8051
  )
7949
8052
  | null;
8053
+ /** @description Campaign voucher targeting: exact campaignId/sessionId from Seller Center and termsAccepted only after the seller reviewed participation obligations. Required for shopee_campaign; nomination creates a draft awaiting marketplace review. */
8054
+ voucherCampaign?: {
8055
+ campaignId: string;
8056
+ sessionId: string;
8057
+ termsAccepted: boolean;
8058
+ };
7950
8059
  browserAutomation?: {
7951
8060
  aopId?: string;
7952
8061
  variableValues?: {
@@ -8579,6 +8688,7 @@ interface operations {
8579
8688
  | "shopee_video"
8580
8689
  | "shopee_new_buyer"
8581
8690
  | "shopee_repeat_buyer"
8691
+ | "shopee_campaign"
8582
8692
  | "shopee_follow_prize"
8583
8693
  | "shopee_exclusive_streamer"
8584
8694
  | "shopee_welcome"
@@ -8604,6 +8714,12 @@ interface operations {
8604
8714
  | "ebay_coded_coupon"
8605
8715
  )
8606
8716
  | null;
8717
+ /** @description Campaign voucher targeting: exact campaignId/sessionId from Seller Center and termsAccepted only after the seller reviewed participation obligations. Required for shopee_campaign; nomination creates a draft awaiting marketplace review. */
8718
+ voucherCampaign?: {
8719
+ campaignId: string;
8720
+ sessionId: string;
8721
+ termsAccepted: boolean;
8722
+ };
8607
8723
  browserAutomation?: {
8608
8724
  aopId?: string;
8609
8725
  variableValues?: {
@@ -11834,7 +11950,15 @@ interface operations {
11834
11950
  parameters: {
11835
11951
  query?: {
11836
11952
  /** @description Marketplace platform filter. */
11837
- platform?: "shopee" | "lazada";
11953
+ platform?:
11954
+ | "shopee"
11955
+ | "lazada"
11956
+ | "tiktok"
11957
+ | "shopify"
11958
+ | "whatsapp"
11959
+ | "zalora"
11960
+ | "amazon"
11961
+ | "ebay";
11838
11962
  /** @description Marketplace country hint (example: sg). */
11839
11963
  country?: string;
11840
11964
  /** @description Localization language. Defaults to en. */
@@ -11905,22 +12029,46 @@ interface operations {
11905
12029
  get_v1_merchants_by_merchantid_search: {
11906
12030
  parameters: {
11907
12031
  query?: {
12032
+ /** @description ISO currency code. Required for price ranges and price sorting; no cross-currency ranking or conversion. */
12033
+ currency?: string;
12034
+ /** @description Minimum average imported product review rating. Unrated products do not match; not a marketplace-wide lifetime rating. */
12035
+ min_rating?: number;
12036
+ /** @description Minimum number of imported rated product reviews. */
12037
+ min_review_count?: number;
12038
+ /** @description Inclusive catalog creation timestamp with time zone. Does not mean product release date. */
12039
+ added_after?: string;
12040
+ /** @description JSON array of 1-5 exact, case-insensitive option pairs, e.g. [{"name":"Color","value":"Red"}]. All options must match the same variant. */
12041
+ variant_options?: string;
11908
12042
  /** @description Natural-language search query. */
11909
12043
  q?: string;
11910
12044
  /** @description Optional category-name filter. */
11911
12045
  category?: string;
11912
12046
  /** @description Optional brand filter. */
11913
12047
  brand?: string;
11914
- /** @description Minimum listed price. */
12048
+ /** @description Minimum catalogPrice in the requested currency (inclusive). Requires currency. */
11915
12049
  min_price?: number;
11916
- /** @description Maximum listed price. */
12050
+ /** @description Maximum catalogPrice in the requested currency (inclusive). Requires currency. */
11917
12051
  max_price?: number;
11918
12052
  /** @description Filter by stock availability. */
11919
12053
  in_stock?: boolean;
11920
- /** @description Sort order. */
11921
- sort?: "relevance" | "price_asc" | "price_desc";
12054
+ /** @description Sort by relevance, newest catalog addition, catalog price, imported average rating, or review count. Price sorting requires currency; most_reviewed is not best selling. */
12055
+ sort?:
12056
+ | "relevance"
12057
+ | "newest"
12058
+ | "price_asc"
12059
+ | "price_desc"
12060
+ | "rating_desc"
12061
+ | "most_reviewed";
11922
12062
  /** @description Marketplace platform filter. */
11923
- platform?: "shopee" | "lazada";
12063
+ platform?:
12064
+ | "shopee"
12065
+ | "lazada"
12066
+ | "tiktok"
12067
+ | "shopify"
12068
+ | "whatsapp"
12069
+ | "zalora"
12070
+ | "amazon"
12071
+ | "ebay";
11924
12072
  /** @description Marketplace country hint (example: sg). */
11925
12073
  country?: string;
11926
12074
  /** @description Localization language. Defaults to en. */
@@ -13961,7 +14109,7 @@ interface operations {
13961
14109
  * ],
13962
14110
  * "workflow": {
13963
14111
  * "enrich": false,
13964
- * "aco": true,
14112
+ * "aco": false,
13965
14113
  * "sourceImagesAutomatically": false,
13966
14114
  * "enableRichDescription": false,
13967
14115
  * "skipBackgroundRemoval": false,
@@ -14163,7 +14311,7 @@ interface operations {
14163
14311
  enrich?: boolean;
14164
14312
  /**
14165
14313
  * @description Defaults to false. Set true to queue a separate ACO generation job after the product is written. Otherwise generate a profile explicitly. Poll `result.geoJobId` when a job is queued.
14166
- * @default true
14314
+ * @default false
14167
14315
  */
14168
14316
  aco?: boolean;
14169
14317
  /** @default false */
@@ -14309,6 +14457,24 @@ interface operations {
14309
14457
  zaloraQualityControl?: Record<string, never>;
14310
14458
  };
14311
14459
  images?: Record<string, never>[];
14460
+ /** @description Import image exclusions, with original source URLs, classification tags, matching filters, and reasons. Empty when no exclusion audit was saved. */
14461
+ excludedImages?: {
14462
+ /** Format: uri */
14463
+ url: string;
14464
+ /** Format: uri */
14465
+ sourceUrl: string;
14466
+ position: number;
14467
+ imageTagId?: string;
14468
+ imageTags: string[];
14469
+ matchedExcludedTags: string[];
14470
+ /** @enum {string} */
14471
+ reason:
14472
+ | "excluded_tag"
14473
+ | "size_chart"
14474
+ | "gallery_limit"
14475
+ | "non_product_asset"
14476
+ | "mirror_unavailable";
14477
+ }[];
14312
14478
  highlights?: string[] | null;
14313
14479
  marketplaces?: Record<string, never>;
14314
14480
  inventory?: Record<string, never>;
@@ -15902,6 +16068,417 @@ interface operations {
15902
16068
  };
15903
16069
  };
15904
16070
  };
16071
+ post_v1_products_compare_prices: {
16072
+ parameters: {
16073
+ query?: never;
16074
+ header?: never;
16075
+ path?: never;
16076
+ cookie?: never;
16077
+ };
16078
+ requestBody: {
16079
+ content: {
16080
+ /**
16081
+ * @example {
16082
+ * "productIds": [
16083
+ * "cc87d195-097a-4a5a-8229-cd989ce98d0f"
16084
+ * ],
16085
+ * "gl": "sg",
16086
+ * "limit": 15
16087
+ * }
16088
+ */
16089
+ "application/json": {
16090
+ organizationId?: string;
16091
+ /** @description OmniCommerce simple product or variant UUIDs. Deduplicated in first-requested order; maximum 50 input entries. */
16092
+ productIds: string[];
16093
+ /** @enum {string} */
16094
+ country?:
16095
+ | "Singapore"
16096
+ | "Indonesia"
16097
+ | "Malaysia"
16098
+ | "Vietnam"
16099
+ | "Thailand"
16100
+ | "Philippines";
16101
+ /**
16102
+ * @description Optional shopping market restriction; overrides country. Omit to compare every listing market using its currency, or the catalog currency for unlisted products.
16103
+ * @enum {string}
16104
+ */
16105
+ gl?: "sg" | "id" | "my" | "vn" | "th" | "ph" | "us" | "hk" | "tw";
16106
+ limit?: number;
16107
+ };
16108
+ };
16109
+ };
16110
+ responses: {
16111
+ /** @description Batch accepted. jobId tracks durable progress; acceptance does not mean comparisons succeeded. */
16112
+ 202: {
16113
+ headers: {
16114
+ [name: string]: unknown;
16115
+ };
16116
+ content: {
16117
+ "application/json": {
16118
+ ok: boolean;
16119
+ apiVersion: string;
16120
+ /** Format: uuid */
16121
+ operationId: string;
16122
+ /** @enum {string} */
16123
+ status: "accepted";
16124
+ jobId: string;
16125
+ data: {
16126
+ jobId: string;
16127
+ productIds: string[];
16128
+ };
16129
+ warnings: string[];
16130
+ recommendations: string[];
16131
+ links: {
16132
+ [key: string]: string;
16133
+ };
16134
+ };
16135
+ };
16136
+ };
16137
+ /** @description Invalid payload or missing session organizationId. */
16138
+ 400: {
16139
+ headers: {
16140
+ [name: string]: unknown;
16141
+ };
16142
+ content?: never;
16143
+ };
16144
+ /** @description Missing or invalid credentials. */
16145
+ 401: {
16146
+ headers: {
16147
+ [name: string]: unknown;
16148
+ };
16149
+ content?: never;
16150
+ };
16151
+ /** @description Missing catalog:read or unauthorized organization/product scope. */
16152
+ 403: {
16153
+ headers: {
16154
+ [name: string]: unknown;
16155
+ };
16156
+ content?: never;
16157
+ };
16158
+ /** @description Rate limit exceeded. */
16159
+ 429: {
16160
+ headers: {
16161
+ [name: string]: unknown;
16162
+ };
16163
+ content?: never;
16164
+ };
16165
+ /** @description Unable to load comparison data. */
16166
+ 500: {
16167
+ headers: {
16168
+ [name: string]: unknown;
16169
+ };
16170
+ content?: never;
16171
+ };
16172
+ };
16173
+ };
16174
+ get_v1_products_compare_prices_jobs_by_jobid: {
16175
+ parameters: {
16176
+ query?: {
16177
+ organizationId?: string;
16178
+ };
16179
+ header?: never;
16180
+ path: {
16181
+ jobId: string;
16182
+ };
16183
+ cookie?: never;
16184
+ };
16185
+ requestBody?: never;
16186
+ responses: {
16187
+ /** @description Current progress or completed results. */
16188
+ 200: {
16189
+ headers: {
16190
+ [name: string]: unknown;
16191
+ };
16192
+ content: {
16193
+ "application/json": {
16194
+ id: string;
16195
+ /** @constant */
16196
+ type: "price_comparison";
16197
+ /** @enum {string} */
16198
+ status: "queued" | "running" | "completed" | "failed";
16199
+ productIds: string[];
16200
+ total: number;
16201
+ processed: number;
16202
+ remaining: number;
16203
+ results: {
16204
+ productId: string;
16205
+ success: boolean;
16206
+ retryable: boolean;
16207
+ name: string | null;
16208
+ sku: string | null;
16209
+ currentPrice: number | null;
16210
+ currency: string | null;
16211
+ research: {
16212
+ /** @constant */
16213
+ success: true;
16214
+ queries: string[];
16215
+ gl: string;
16216
+ currency?: string | null;
16217
+ count: number;
16218
+ items: {
16219
+ title: string;
16220
+ price: number;
16221
+ priceText: string | null;
16222
+ source: string | null;
16223
+ link: string | null;
16224
+ }[];
16225
+ stats: {
16226
+ min: number | null;
16227
+ max: number | null;
16228
+ avg: number | null;
16229
+ percentiles: {
16230
+ p20: number | null;
16231
+ p50: number | null;
16232
+ p80: number | null;
16233
+ };
16234
+ };
16235
+ pricingBands: {
16236
+ low: number | null;
16237
+ mid: number | null;
16238
+ high: number | null;
16239
+ };
16240
+ } | null;
16241
+ comparison: {
16242
+ /** @constant */
16243
+ metric: "catalog_price_vs_market_median";
16244
+ currency: string;
16245
+ medianPrice: number;
16246
+ differenceAmount: number;
16247
+ differencePercent: number | null;
16248
+ } | null;
16249
+ markets: {
16250
+ marketplace:
16251
+ | (
16252
+ | "shopee"
16253
+ | "lazada"
16254
+ | "tiktok"
16255
+ | "shopify"
16256
+ | "whatsapp"
16257
+ | "zalora"
16258
+ | "amazon"
16259
+ | "ebay"
16260
+ )
16261
+ | null;
16262
+ storeId: string | null;
16263
+ listingCountry: string | null;
16264
+ country: string | null;
16265
+ gl: string | null;
16266
+ currency: string | null;
16267
+ currentPrice: number | null;
16268
+ /** @enum {string} */
16269
+ priceSource:
16270
+ | "marketplace_snapshot"
16271
+ | "acknowledged_write"
16272
+ | "catalog_fallback";
16273
+ priceAsOf: string | null;
16274
+ success: boolean;
16275
+ retryable: boolean;
16276
+ research: {
16277
+ /** @constant */
16278
+ success: true;
16279
+ queries: string[];
16280
+ gl: string;
16281
+ currency?: string | null;
16282
+ count: number;
16283
+ items: {
16284
+ title: string;
16285
+ price: number;
16286
+ priceText: string | null;
16287
+ source: string | null;
16288
+ link: string | null;
16289
+ }[];
16290
+ stats: {
16291
+ min: number | null;
16292
+ max: number | null;
16293
+ avg: number | null;
16294
+ percentiles: {
16295
+ p20: number | null;
16296
+ p50: number | null;
16297
+ p80: number | null;
16298
+ };
16299
+ };
16300
+ pricingBands: {
16301
+ low: number | null;
16302
+ mid: number | null;
16303
+ high: number | null;
16304
+ };
16305
+ } | null;
16306
+ comparison: {
16307
+ /** @enum {string} */
16308
+ metric:
16309
+ | "catalog_price_vs_market_median"
16310
+ | "listing_price_vs_market_median";
16311
+ currency: string;
16312
+ medianPrice: number;
16313
+ differenceAmount: number;
16314
+ differencePercent: number | null;
16315
+ } | null;
16316
+ warnings: string[];
16317
+ error?: string;
16318
+ }[];
16319
+ warnings: string[];
16320
+ error?: string;
16321
+ }[];
16322
+ result: {
16323
+ success: boolean;
16324
+ productIds: string[];
16325
+ succeededCount: number;
16326
+ failedCount: number;
16327
+ results: {
16328
+ productId: string;
16329
+ success: boolean;
16330
+ retryable: boolean;
16331
+ name: string | null;
16332
+ sku: string | null;
16333
+ currentPrice: number | null;
16334
+ currency: string | null;
16335
+ research: {
16336
+ /** @constant */
16337
+ success: true;
16338
+ queries: string[];
16339
+ gl: string;
16340
+ currency?: string | null;
16341
+ count: number;
16342
+ items: {
16343
+ title: string;
16344
+ price: number;
16345
+ priceText: string | null;
16346
+ source: string | null;
16347
+ link: string | null;
16348
+ }[];
16349
+ stats: {
16350
+ min: number | null;
16351
+ max: number | null;
16352
+ avg: number | null;
16353
+ percentiles: {
16354
+ p20: number | null;
16355
+ p50: number | null;
16356
+ p80: number | null;
16357
+ };
16358
+ };
16359
+ pricingBands: {
16360
+ low: number | null;
16361
+ mid: number | null;
16362
+ high: number | null;
16363
+ };
16364
+ } | null;
16365
+ comparison: {
16366
+ /** @constant */
16367
+ metric: "catalog_price_vs_market_median";
16368
+ currency: string;
16369
+ medianPrice: number;
16370
+ differenceAmount: number;
16371
+ differencePercent: number | null;
16372
+ } | null;
16373
+ markets: {
16374
+ marketplace:
16375
+ | (
16376
+ | "shopee"
16377
+ | "lazada"
16378
+ | "tiktok"
16379
+ | "shopify"
16380
+ | "whatsapp"
16381
+ | "zalora"
16382
+ | "amazon"
16383
+ | "ebay"
16384
+ )
16385
+ | null;
16386
+ storeId: string | null;
16387
+ listingCountry: string | null;
16388
+ country: string | null;
16389
+ gl: string | null;
16390
+ currency: string | null;
16391
+ currentPrice: number | null;
16392
+ /** @enum {string} */
16393
+ priceSource:
16394
+ | "marketplace_snapshot"
16395
+ | "acknowledged_write"
16396
+ | "catalog_fallback";
16397
+ priceAsOf: string | null;
16398
+ success: boolean;
16399
+ retryable: boolean;
16400
+ research: {
16401
+ /** @constant */
16402
+ success: true;
16403
+ queries: string[];
16404
+ gl: string;
16405
+ currency?: string | null;
16406
+ count: number;
16407
+ items: {
16408
+ title: string;
16409
+ price: number;
16410
+ priceText: string | null;
16411
+ source: string | null;
16412
+ link: string | null;
16413
+ }[];
16414
+ stats: {
16415
+ min: number | null;
16416
+ max: number | null;
16417
+ avg: number | null;
16418
+ percentiles: {
16419
+ p20: number | null;
16420
+ p50: number | null;
16421
+ p80: number | null;
16422
+ };
16423
+ };
16424
+ pricingBands: {
16425
+ low: number | null;
16426
+ mid: number | null;
16427
+ high: number | null;
16428
+ };
16429
+ } | null;
16430
+ comparison: {
16431
+ /** @enum {string} */
16432
+ metric:
16433
+ | "catalog_price_vs_market_median"
16434
+ | "listing_price_vs_market_median";
16435
+ currency: string;
16436
+ medianPrice: number;
16437
+ differenceAmount: number;
16438
+ differencePercent: number | null;
16439
+ } | null;
16440
+ warnings: string[];
16441
+ error?: string;
16442
+ }[];
16443
+ warnings: string[];
16444
+ error?: string;
16445
+ }[];
16446
+ warnings: string[];
16447
+ } | null;
16448
+ error: string | null;
16449
+ };
16450
+ };
16451
+ };
16452
+ /** @description Missing or invalid credentials. */
16453
+ 401: {
16454
+ headers: {
16455
+ [name: string]: unknown;
16456
+ };
16457
+ content?: never;
16458
+ };
16459
+ /** @description Unauthorized organization or missing catalog:read. */
16460
+ 403: {
16461
+ headers: {
16462
+ [name: string]: unknown;
16463
+ };
16464
+ content?: never;
16465
+ };
16466
+ /** @description Job not found in the authorized organization. */
16467
+ 404: {
16468
+ headers: {
16469
+ [name: string]: unknown;
16470
+ };
16471
+ content?: never;
16472
+ };
16473
+ /** @description Rate limit exceeded. */
16474
+ 429: {
16475
+ headers: {
16476
+ [name: string]: unknown;
16477
+ };
16478
+ content?: never;
16479
+ };
16480
+ };
16481
+ };
15905
16482
  post_v1_products_cost: {
15906
16483
  parameters: {
15907
16484
  query?: never;
@@ -16132,7 +16709,7 @@ interface operations {
16132
16709
  /** @description Comma-separated promotion store keys (`marketplace:country:storeId`). */
16133
16710
  store?: string;
16134
16711
  /** @description Sort field. */
16135
- sortBy?: "createdAt" | "name" | "startsAt" | "status";
16712
+ sortBy?: "createdAt" | "updatedAt" | "name" | "startsAt" | "status";
16136
16713
  /** @description Sort direction. */
16137
16714
  sortDir?: "asc" | "desc";
16138
16715
  /** @description Page size. Default 20, max 50. */
@@ -16280,6 +16857,12 @@ interface operations {
16280
16857
  /** @description Total redemption/order limit, or per-SKU promotional quantity for flash sales. */
16281
16858
  totalUsageLimit?: number | null;
16282
16859
  mechanicConfig?: {
16860
+ /** @description Exact Shopee campaign/session for Campaign Voucher Nomination, with reviewed participation obligations. Nomination remains a draft until Shopee approval. */
16861
+ voucherCampaign?: {
16862
+ campaignId: string;
16863
+ sessionId: string;
16864
+ termsAccepted: boolean;
16865
+ };
16283
16866
  /**
16284
16867
  * @description Exact marketplace voucher subtype. Native types use APIs; Seller Center-only types use a browser AOP with per-store eligibility checks.
16285
16868
  * @enum {string|null}
@@ -16292,6 +16875,7 @@ interface operations {
16292
16875
  | "shopee_video"
16293
16876
  | "shopee_new_buyer"
16294
16877
  | "shopee_repeat_buyer"
16878
+ | "shopee_campaign"
16295
16879
  | "shopee_follow_prize"
16296
16880
  | "shopee_exclusive_streamer"
16297
16881
  | "shopee_welcome"
@@ -16606,6 +17190,12 @@ interface operations {
16606
17190
  minSpend?: number | null;
16607
17191
  totalUsageLimit?: number | null;
16608
17192
  mechanicConfig?: {
17193
+ /** @description Exact Shopee campaign/session for Campaign Voucher Nomination, with reviewed participation obligations. Nomination remains a draft until Shopee approval. */
17194
+ voucherCampaign?: {
17195
+ campaignId: string;
17196
+ sessionId: string;
17197
+ termsAccepted: boolean;
17198
+ };
16609
17199
  /**
16610
17200
  * @description Exact marketplace voucher subtype. Native types use APIs; Seller Center-only types use a browser AOP with per-store eligibility checks.
16611
17201
  * @enum {string|null}
@@ -16618,6 +17208,7 @@ interface operations {
16618
17208
  | "shopee_video"
16619
17209
  | "shopee_new_buyer"
16620
17210
  | "shopee_repeat_buyer"
17211
+ | "shopee_campaign"
16621
17212
  | "shopee_follow_prize"
16622
17213
  | "shopee_exclusive_streamer"
16623
17214
  | "shopee_welcome"
@@ -17247,6 +17838,10 @@ interface operations {
17247
17838
  productName: string | null;
17248
17839
  productSku: string | null;
17249
17840
  productThumbnailUrl: string | null;
17841
+ /** @description Confirmed linked variant UUID, or null when the purchased variant is unknown. */
17842
+ variantId: string | null;
17843
+ variantName: string | null;
17844
+ variantSku: string | null;
17250
17845
  orderId: string | null;
17251
17846
  externalItemId: string | null;
17252
17847
  externalReviewId: string;
@@ -17270,7 +17865,7 @@ interface operations {
17270
17865
  sellerRepliedAt: string | null;
17271
17866
  /** @description The marketplace's own reply eligibility flag. */
17272
17867
  canReply: boolean;
17273
- /** @description Why a reply is not possible right now, or null when `review.reply` will be accepted. */
17868
+ /** @description Why a reply is not possible right now, or null when the marketplace allows a seller reply. */
17274
17869
  replyRestriction: string | null;
17275
17870
  reviewedAt: string | null;
17276
17871
  /** @description Public marketplace product page, when it can be resolved. */
@@ -17378,6 +17973,10 @@ interface operations {
17378
17973
  productName: string | null;
17379
17974
  productSku: string | null;
17380
17975
  productThumbnailUrl: string | null;
17976
+ /** @description Confirmed linked variant UUID, or null when the purchased variant is unknown. */
17977
+ variantId: string | null;
17978
+ variantName: string | null;
17979
+ variantSku: string | null;
17381
17980
  orderId: string | null;
17382
17981
  externalItemId: string | null;
17383
17982
  externalReviewId: string;
@@ -17401,7 +18000,7 @@ interface operations {
17401
18000
  sellerRepliedAt: string | null;
17402
18001
  /** @description The marketplace's own reply eligibility flag. */
17403
18002
  canReply: boolean;
17404
- /** @description Why a reply is not possible right now, or null when `review.reply` will be accepted. */
18003
+ /** @description Why a reply is not possible right now, or null when the marketplace allows a seller reply. */
17405
18004
  replyRestriction: string | null;
17406
18005
  reviewedAt: string | null;
17407
18006
  /** @description Public marketplace product page, when it can be resolved. */
@@ -17550,128 +18149,51 @@ interface operations {
17550
18149
  };
17551
18150
  };
17552
18151
  };
17553
- post_v1_reviews_actions: {
17554
- parameters: {
17555
- query?: never;
17556
- header?: never;
17557
- path?: never;
17558
- cookie?: never;
17559
- };
17560
- requestBody: {
17561
- content: {
17562
- "application/json": {
17563
- /** @description Required for session auth. API keys already belong to one organization. */
17564
- organizationId?: string;
17565
- /**
17566
- * @description `review.reply` posts a seller reply. `review.solicit` sends an Amazon review request for a solicitation row.
17567
- * @enum {string}
17568
- */
17569
- action: "review.reply" | "review.solicit";
17570
- targets: {
17571
- /** Format: uuid */
17572
- reviewId: string;
17573
- /** @description Reply for this review. Overrides the shared `reply`. */
17574
- reply?: string;
17575
- }[];
17576
- /** @description Reply text used for every target without its own `reply`. */
17577
- reply?: string;
17578
- };
17579
- };
17580
- };
17581
- responses: {
17582
- /** @description One result per review. */
17583
- 200: {
17584
- headers: {
17585
- [name: string]: unknown;
17586
- };
17587
- content: {
17588
- "application/json": {
17589
- ok: boolean;
17590
- /** @constant */
17591
- apiVersion: "developer_v1";
17592
- operationId: string;
17593
- /** @enum {string} */
17594
- status: "accepted" | "completed" | "failed";
17595
- jobId?: string;
17596
- productId?: string;
17597
- warnings: string[];
17598
- recommendations: string[];
17599
- links: {
17600
- [key: string]: string;
17601
- };
17602
- data: {
17603
- success: boolean;
17604
- succeededCount: number;
17605
- failedCount: number;
17606
- results: {
17607
- reviewId: string;
17608
- success: boolean;
17609
- error?: string;
17610
- /** @description Where to finish the action by hand when the marketplace API cannot. */
17611
- sellerCenterUrl?: string;
17612
- }[];
17613
- };
17614
- };
17615
- };
17616
- };
17617
- /** @description Invalid request */
17618
- 400: {
17619
- headers: {
17620
- [name: string]: unknown;
17621
- };
17622
- content?: never;
17623
- };
17624
- /** @description Unauthorized */
17625
- 401: {
17626
- headers: {
17627
- [name: string]: unknown;
17628
- };
17629
- content?: never;
17630
- };
17631
- /** @description Missing the `reviews:write` scope */
17632
- 403: {
17633
- headers: {
17634
- [name: string]: unknown;
17635
- };
17636
- content?: never;
17637
- };
17638
- /** @description Rate limit exceeded */
17639
- 429: {
17640
- headers: {
17641
- [name: string]: unknown;
17642
- };
17643
- content?: never;
17644
- };
17645
- /** @description Internal Server Error */
17646
- 500: {
17647
- headers: {
17648
- [name: string]: unknown;
17649
- };
17650
- content?: never;
17651
- };
17652
- };
17653
- };
17654
18152
  get_v1_search: {
17655
18153
  parameters: {
17656
18154
  query?: {
18155
+ /** @description ISO currency code. Required for price ranges and price sorting; no cross-currency ranking or conversion. */
18156
+ currency?: string;
18157
+ /** @description Minimum average imported product review rating. Unrated products do not match; not a marketplace-wide lifetime rating. */
18158
+ min_rating?: number;
18159
+ /** @description Minimum number of imported rated product reviews. */
18160
+ min_review_count?: number;
18161
+ /** @description Inclusive catalog creation timestamp with time zone. Does not mean product release date. */
18162
+ added_after?: string;
18163
+ /** @description JSON array of 1-5 exact, case-insensitive option pairs, e.g. [{"name":"Color","value":"Red"}]. All options must match the same variant. */
18164
+ variant_options?: string;
17657
18165
  /** @description Natural-language search query. */
17658
18166
  q?: string;
17659
18167
  /** @description Optional category-name filter. */
17660
18168
  category?: string;
17661
18169
  /** @description Optional brand filter. */
17662
18170
  brand?: string;
17663
- /** @description Minimum listed price. */
18171
+ /** @description Minimum catalogPrice in the requested currency (inclusive). Requires currency. */
17664
18172
  min_price?: number;
17665
- /** @description Maximum listed price. */
18173
+ /** @description Maximum catalogPrice in the requested currency (inclusive). Requires currency. */
17666
18174
  max_price?: number;
17667
18175
  /** @description Filter by stock availability. */
17668
18176
  in_stock?: boolean;
17669
18177
  /** @description Comma-separated merchant IDs to scope the search. */
17670
18178
  merchant_ids?: string;
17671
- /** @description Sort order. */
17672
- sort?: "relevance" | "price_asc" | "price_desc";
18179
+ /** @description Sort by relevance, newest catalog addition, catalog price, imported average rating, or review count. Price sorting requires currency; most_reviewed is not best selling. */
18180
+ sort?:
18181
+ | "relevance"
18182
+ | "newest"
18183
+ | "price_asc"
18184
+ | "price_desc"
18185
+ | "rating_desc"
18186
+ | "most_reviewed";
17673
18187
  /** @description Marketplace platform filter. */
17674
- platform?: "shopee" | "lazada";
18188
+ platform?:
18189
+ | "shopee"
18190
+ | "lazada"
18191
+ | "tiktok"
18192
+ | "shopify"
18193
+ | "whatsapp"
18194
+ | "zalora"
18195
+ | "amazon"
18196
+ | "ebay";
17675
18197
  /** @description Marketplace country hint (example: sg). */
17676
18198
  country?: string;
17677
18199
  /** @description Localization language. Defaults to en. */
@@ -17742,24 +18264,48 @@ interface operations {
17742
18264
  post_v1_search: {
17743
18265
  parameters: {
17744
18266
  query?: {
18267
+ /** @description ISO currency code. Required for price ranges and price sorting; no cross-currency ranking or conversion. */
18268
+ currency?: string;
18269
+ /** @description Minimum average imported product review rating. Unrated products do not match; not a marketplace-wide lifetime rating. */
18270
+ min_rating?: number;
18271
+ /** @description Minimum number of imported rated product reviews. */
18272
+ min_review_count?: number;
18273
+ /** @description Inclusive catalog creation timestamp with time zone. Does not mean product release date. */
18274
+ added_after?: string;
18275
+ /** @description JSON array of 1-5 exact, case-insensitive option pairs, e.g. [{"name":"Color","value":"Red"}]. All options must match the same variant. */
18276
+ variant_options?: string;
17745
18277
  /** @description Natural-language search query. */
17746
18278
  q?: string;
17747
18279
  /** @description Optional category-name filter. */
17748
18280
  category?: string;
17749
18281
  /** @description Optional brand filter. */
17750
18282
  brand?: string;
17751
- /** @description Minimum listed price. */
18283
+ /** @description Minimum catalogPrice in the requested currency (inclusive). Requires currency. */
17752
18284
  min_price?: number;
17753
- /** @description Maximum listed price. */
18285
+ /** @description Maximum catalogPrice in the requested currency (inclusive). Requires currency. */
17754
18286
  max_price?: number;
17755
18287
  /** @description Filter by stock availability. */
17756
18288
  in_stock?: boolean;
17757
18289
  /** @description Comma-separated merchant IDs to scope the search. */
17758
18290
  merchant_ids?: string;
17759
- /** @description Sort order. */
17760
- sort?: "relevance" | "price_asc" | "price_desc";
18291
+ /** @description Sort by relevance, newest catalog addition, catalog price, imported average rating, or review count. Price sorting requires currency; most_reviewed is not best selling. */
18292
+ sort?:
18293
+ | "relevance"
18294
+ | "newest"
18295
+ | "price_asc"
18296
+ | "price_desc"
18297
+ | "rating_desc"
18298
+ | "most_reviewed";
17761
18299
  /** @description Marketplace platform filter. */
17762
- platform?: "shopee" | "lazada";
18300
+ platform?:
18301
+ | "shopee"
18302
+ | "lazada"
18303
+ | "tiktok"
18304
+ | "shopify"
18305
+ | "whatsapp"
18306
+ | "zalora"
18307
+ | "amazon"
18308
+ | "ebay";
17763
18309
  /** @description Marketplace country hint (example: sg). */
17764
18310
  country?: string;
17765
18311
  /** @description Localization language. Defaults to en. */
@@ -21016,7 +21562,9 @@ declare class JobsClient {
21016
21562
  /**
21017
21563
  * Get Developer Job Status
21018
21564
  *
21019
- * Fetch shared async status for developer-platform operations, including product workflow jobs, bulk CSV import jobs, Look generation jobs, import jobs, enrichment jobs, and sync jobs.
21565
+ * Fetch shared async status for developer-platform operations, including product workflow jobs, bulk CSV import jobs, Look generation jobs, import jobs, enrichment jobs, price comparison jobs, and sync jobs.
21566
+
21567
+ Price comparison jobs expose partial progress in data.results and their final batch result in data.result; completed means processing finished, so inspect data.result.success for comparison failures.
21020
21568
  *
21021
21569
  * `GET /api/v1/jobs/{jobId}`
21022
21570
  */
@@ -21503,7 +22051,7 @@ declare class ProductsClient {
21503
22051
  ### Input options
21504
22052
 
21505
22053
  - Upload a CSV (2 MiB) or JSON products file (8 MiB) using `multipart/form-data`.
21506
- - Send JSON with a `products` array of 1–1,000 flat product objects (8 MiB request maximum).
22054
+ - Send JSON with a `products` array of 1–5,000 flat product objects (8 MiB request maximum).
21507
22055
  - Send JSON with inline `csvText`.
21508
22056
  - Send JSON referencing a stored `documentId`.
21509
22057
 
@@ -21516,6 +22064,32 @@ declare class ProductsClient {
21516
22064
  * `POST /api/v1/products/bulk-import`
21517
22065
  */
21518
22066
  bulkImport(request: OperationBody<operations["post_v1_products_bulk_import"]>, requestOptions?: BaseRequestOptions): HttpResponsePromise<SuccessData<operations["post_v1_products_bulk_import"]>>;
22067
+ /**
22068
+ * Compare Product Market Prices
22069
+ *
22070
+ * Research market offers for a batch of OmniCommerce simple product or variant UUIDs using the same BigGo API and Serper Shopping fallback as pricing strategy. Read-only; no prices are changed.
22071
+
22072
+ ### Authorization
22073
+
22074
+ Requires catalog:read. API keys resolve organizationId from the credential; session callers must provide an authorized organizationId.
22075
+
22076
+ ### Durable batches
22077
+
22078
+ Accepts 1–50 input entries, trimmed and deduplicated in first-requested order. Returns HTTP 202 and a durable jobId. Retrieve progress and results from GET /api/v1/products/compare-prices/jobs/{jobId} or await jobs.wait in the SDK with a suitable timeout. A client timeout does not cancel the job. Use variant IDs for products with variants. Each listing market has its own durable search step; searches use bounded concurrency and
22079
+ *
22080
+ * `POST /api/v1/products/compare-prices`
22081
+ */
22082
+ comparePrices(request: OperationBody<operations["post_v1_products_compare_prices"]>, requestOptions?: BaseRequestOptions): HttpResponsePromise<SuccessData<operations["post_v1_products_compare_prices"]>>;
22083
+ /**
22084
+ * Get Product Price Comparison
22085
+ *
22086
+ * Read durable batch progress and ordered per-product results. Requires catalog:read and the job's organization.
22087
+
22088
+ completed means every target was processed; inspect result.success, succeededCount, failedCount, and each result for partial failures. Session callers must supply organizationId.
22089
+ *
22090
+ * `GET /api/v1/products/compare-prices/jobs/{jobId}`
22091
+ */
22092
+ getPriceComparison(request: OperationPath<operations["get_v1_products_compare_prices_jobs_by_jobid"]> & OperationQuery<operations["get_v1_products_compare_prices_jobs_by_jobid"]>, requestOptions?: BaseRequestOptions): HttpResponsePromise<SuccessData<operations["get_v1_products_compare_prices_jobs_by_jobid"]>>;
21519
22093
  /**
21520
22094
  * Batch Update Product Cost
21521
22095
  *
@@ -21673,21 +22247,11 @@ declare class ReviewsClient {
21673
22247
  *
21674
22248
  * Draft a reply with AI from the review, the product, recent replies, and the brand kit. Uses AI credits. Requires `reviews:write`.
21675
22249
 
21676
- Nothing is posted; send the text with `POST /api/v1/reviews/actions`.
22250
+ Nothing is posted; review and send the draft from the workspace Reviews page.
21677
22251
  *
21678
22252
  * `POST /api/v1/reviews/{reviewId}/draft-reply`
21679
22253
  */
21680
22254
  draftReply(request: OperationPath<operations["post_v1_reviews_by_reviewid_draft_reply"]> & OperationQuery<operations["post_v1_reviews_by_reviewid_draft_reply"]> & Record<string, unknown>, requestOptions?: BaseRequestOptions): HttpResponsePromise<SuccessData<operations["post_v1_reviews_by_reviewid_draft_reply"]>>;
21681
- /**
21682
- * Act on Reviews
21683
- *
21684
- * Reply to up to 50 reviews, or send Amazon review requests for solicitation rows. Requires `reviews:write`.
21685
-
21686
- Each target succeeds or fails on its own; read `data.results`. `ok` is true only when every target succeeds.
21687
- *
21688
- * `POST /api/v1/reviews/actions`
21689
- */
21690
- actions(request: OperationBody<operations["post_v1_reviews_actions"]>, requestOptions?: BaseRequestOptions): HttpResponsePromise<SuccessData<operations["post_v1_reviews_actions"]>>;
21691
22255
  }
21692
22256
  declare class SearchClient {
21693
22257
  protected readonly _http: OmniHttp;
@@ -22027,7 +22591,7 @@ declare function constructEvent(payload: string | Uint8Array, headers: WebhookHe
22027
22591
  toleranceInSeconds?: number;
22028
22592
  }): Promise<ConstructedWebhookEvent>;
22029
22593
 
22030
- declare const SDK_VERSION = "0.8.1";
22594
+ declare const SDK_VERSION = "0.10.0";
22031
22595
 
22032
22596
  type ProductCreatedWebhookEvent = components["schemas"]["ProductCreatedWebhookEvent"];
22033
22597
  type ProductUpdatedWebhookEvent = components["schemas"]["ProductUpdatedWebhookEvent"];