@omni-commerce/sdk 0.33.0 → 0.34.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/README.md +2 -0
- package/dist/index.cjs +115 -5
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1140 -74
- package/dist/index.d.ts +1140 -74
- package/dist/index.js +115 -5
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -4006,6 +4006,26 @@ interface paths {
|
|
|
4006
4006
|
patch: operations["patch_v1_review_queue_by_batchid"];
|
|
4007
4007
|
trace?: never;
|
|
4008
4008
|
};
|
|
4009
|
+
"/api/v1/review-queue/{batchId}/apply": {
|
|
4010
|
+
parameters: {
|
|
4011
|
+
query?: never;
|
|
4012
|
+
header?: never;
|
|
4013
|
+
path?: never;
|
|
4014
|
+
cookie?: never;
|
|
4015
|
+
};
|
|
4016
|
+
get?: never;
|
|
4017
|
+
put?: never;
|
|
4018
|
+
/**
|
|
4019
|
+
* Apply Review Queue Corrections
|
|
4020
|
+
* @description Requires `catalog:write`. Apply up to 100 item corrections across this job's linked scopes using each workflow's existing proposal validation. editedProposal follows the saved workflow proposal shape returned by items; images select existing candidate IDs. Duplicate item corrections are rejected. Product version and gallery checks remain enforced. Once all scopes commit, saved auto-publish requests continue automatically. Use repair-products for corrections to already approved catalog data.
|
|
4021
|
+
*/
|
|
4022
|
+
post: operations["post_v1_review_queue_by_batchid_apply"];
|
|
4023
|
+
delete?: never;
|
|
4024
|
+
options?: never;
|
|
4025
|
+
head?: never;
|
|
4026
|
+
patch?: never;
|
|
4027
|
+
trace?: never;
|
|
4028
|
+
};
|
|
4009
4029
|
"/api/v1/review-queue/{batchId}/approve": {
|
|
4010
4030
|
parameters: {
|
|
4011
4031
|
query?: never;
|
|
@@ -4019,7 +4039,7 @@ interface paths {
|
|
|
4019
4039
|
* Approve Review Queue Items
|
|
4020
4040
|
* @description Requires `catalog:write`.
|
|
4021
4041
|
*
|
|
4022
|
-
* Applies up to 100 explicitly selected review item IDs from the job and its linked batches
|
|
4042
|
+
* Applies up to 100 explicitly selected review item IDs from the job and its linked batches through the normal stale-product and gallery checks. Already applied items are safe to resubmit. Saved auto-publish requests continue after approval commits and all scopes for that product are applied. Otherwise use publish explicitly. Approval is not confirmation of marketplace publication.
|
|
4023
4043
|
*/
|
|
4024
4044
|
post: operations["post_v1_review_queue_by_batchid_approve"];
|
|
4025
4045
|
delete?: never;
|
|
@@ -4028,6 +4048,46 @@ interface paths {
|
|
|
4028
4048
|
patch?: never;
|
|
4029
4049
|
trace?: never;
|
|
4030
4050
|
};
|
|
4051
|
+
"/api/v1/review-queue/{batchId}/diagnose": {
|
|
4052
|
+
parameters: {
|
|
4053
|
+
query?: never;
|
|
4054
|
+
header?: never;
|
|
4055
|
+
path?: never;
|
|
4056
|
+
cookie?: never;
|
|
4057
|
+
};
|
|
4058
|
+
get?: never;
|
|
4059
|
+
put?: never;
|
|
4060
|
+
/**
|
|
4061
|
+
* Diagnose Review Product Publishing
|
|
4062
|
+
* @description Requires `catalog:read`. Diagnose 1–25 exact review product or physical variant IDs. Returns current canonical shipping measurements (grams and cm), product facts and images, variant values, exact store/category fields, required/missing attributes, allowed options and the latest publish job's message, code and request ID. No raw provider request bodies or credentials are exposed. Store, variant and attribute-option pages have explicit continuation offsets. success means diagnosis completed; publishReady describes saved catalog validation and does not promise marketplace acceptance. Use product.updatedAt unchanged for repairs. Only targets belonging to this organization and review are accessible.
|
|
4063
|
+
*/
|
|
4064
|
+
post: operations["post_v1_review_queue_by_batchid_diagnose"];
|
|
4065
|
+
delete?: never;
|
|
4066
|
+
options?: never;
|
|
4067
|
+
head?: never;
|
|
4068
|
+
patch?: never;
|
|
4069
|
+
trace?: never;
|
|
4070
|
+
};
|
|
4071
|
+
"/api/v1/review-queue/{batchId}/items": {
|
|
4072
|
+
parameters: {
|
|
4073
|
+
query?: never;
|
|
4074
|
+
header?: never;
|
|
4075
|
+
path?: never;
|
|
4076
|
+
cookie?: never;
|
|
4077
|
+
};
|
|
4078
|
+
/**
|
|
4079
|
+
* List Review Queue Item Details
|
|
4080
|
+
* @description Requires `catalog:read`. Pages through saved proposals, issues, current/baseline/applied snapshots and publish receipts across every scope in this review job. Limit 1–50; follow nextOffset until hasMore is false. Repeat productIds to filter up to 50 products. Automation state reports each scope separately; fullyAutomatic describes configuration, not successful approval or publication.
|
|
4081
|
+
*/
|
|
4082
|
+
get: operations["get_v1_review_queue_by_batchid_items"];
|
|
4083
|
+
put?: never;
|
|
4084
|
+
post?: never;
|
|
4085
|
+
delete?: never;
|
|
4086
|
+
options?: never;
|
|
4087
|
+
head?: never;
|
|
4088
|
+
patch?: never;
|
|
4089
|
+
trace?: never;
|
|
4090
|
+
};
|
|
4031
4091
|
"/api/v1/review-queue/{batchId}/publish": {
|
|
4032
4092
|
parameters: {
|
|
4033
4093
|
query?: never;
|
|
@@ -4041,7 +4101,7 @@ interface paths {
|
|
|
4041
4101
|
* Publish Review Queue Products
|
|
4042
4102
|
* @description Requires `catalog:sync`.
|
|
4043
4103
|
*
|
|
4044
|
-
* Specify productIds and visibility. Only products with all review scopes applied and outstanding releases to assigned marketplace stores are eligible. Optionally filter by marketplaces. Inspect every product and listing result for preparation failures. HTTP 202 confirms queue acceptance. Pass every returned correlation to POST /api/v1/commerce/jobs/await
|
|
4104
|
+
* Specify productIds and visibility. Only products with all review scopes applied and outstanding releases to assigned marketplace stores are eligible. Optionally filter by marketplaces and exact storeTargets to publish only repaired or failed stores. Inspect every product and listing result for preparation failures. HTTP 202 confirms queue acceptance. Pass every returned correlation to POST /api/v1/commerce/jobs/await and verify marketplace state before reporting publication.
|
|
4045
4105
|
*/
|
|
4046
4106
|
post: operations["post_v1_review_queue_by_batchid_publish"];
|
|
4047
4107
|
delete?: never;
|
|
@@ -4050,6 +4110,66 @@ interface paths {
|
|
|
4050
4110
|
patch?: never;
|
|
4051
4111
|
trace?: never;
|
|
4052
4112
|
};
|
|
4113
|
+
"/api/v1/review-queue/{batchId}/repair-products": {
|
|
4114
|
+
parameters: {
|
|
4115
|
+
query?: never;
|
|
4116
|
+
header?: never;
|
|
4117
|
+
path?: never;
|
|
4118
|
+
cookie?: never;
|
|
4119
|
+
};
|
|
4120
|
+
get?: never;
|
|
4121
|
+
put?: never;
|
|
4122
|
+
/**
|
|
4123
|
+
* Repair Approved Review Products
|
|
4124
|
+
* @description Requires `catalog:write`. Correct 1–25 already approved products with expectedUpdatedAt copied exactly from diagnosis. Patches only supplied weight (grams), complete package dimensions (cm) and exact assigned-store category attributes. Validates keys and fixed-choice values against current marketplace metadata. Records evidence URLs and the initiating actor in review history. Conflicting versions and pending review scopes fail explicitly; correct pending proposals through apply first. Shared category attributes belong to the parent; variant values use the variant API. Does not approve or publish implicitly. Reload diagnosis and publish exact repaired stores after success. Duplicate product corrections are rejected.
|
|
4125
|
+
*/
|
|
4126
|
+
post: operations["post_v1_review_queue_by_batchid_repair_products"];
|
|
4127
|
+
delete?: never;
|
|
4128
|
+
options?: never;
|
|
4129
|
+
head?: never;
|
|
4130
|
+
patch?: never;
|
|
4131
|
+
trace?: never;
|
|
4132
|
+
};
|
|
4133
|
+
"/api/v1/review-queue/{batchId}/retry": {
|
|
4134
|
+
parameters: {
|
|
4135
|
+
query?: never;
|
|
4136
|
+
header?: never;
|
|
4137
|
+
path?: never;
|
|
4138
|
+
cookie?: never;
|
|
4139
|
+
};
|
|
4140
|
+
get?: never;
|
|
4141
|
+
put?: never;
|
|
4142
|
+
/**
|
|
4143
|
+
* Retry Review Queue Processing
|
|
4144
|
+
* @description Requires `catalog:write`. Explicitly restart existing durable review processing. scope defaults to failed; unfinished also includes unapplied work; all may regenerate applied proposals. Optionally restrict workflow and use a supported review model. No polling schedule is created. Read items to observe processing; this does not confirm publication.
|
|
4145
|
+
*/
|
|
4146
|
+
post: operations["post_v1_review_queue_by_batchid_retry"];
|
|
4147
|
+
delete?: never;
|
|
4148
|
+
options?: never;
|
|
4149
|
+
head?: never;
|
|
4150
|
+
patch?: never;
|
|
4151
|
+
trace?: never;
|
|
4152
|
+
};
|
|
4153
|
+
"/api/v1/review-queue/automation": {
|
|
4154
|
+
parameters: {
|
|
4155
|
+
query?: never;
|
|
4156
|
+
header?: never;
|
|
4157
|
+
path?: never;
|
|
4158
|
+
cookie?: never;
|
|
4159
|
+
};
|
|
4160
|
+
get?: never;
|
|
4161
|
+
put?: never;
|
|
4162
|
+
/**
|
|
4163
|
+
* Enable Review Queue Automation
|
|
4164
|
+
* @description Requires both `catalog:write` and `catalog:sync`. Enable auto approval for enrichment, taxonomy and images plus saved auto-publish requests on 1–100 existing root review jobs, through the same durable worker as the app. Applies eligible proposals and continues publishing after all scopes commit. Blocked or unverified facts remain visible for the bot to diagnose and correct. Read items.automation for per-scope configuration and publishing for actual outcomes. Inspect every batch result; acceptance does not mean the job is already fully automatic or published.
|
|
4165
|
+
*/
|
|
4166
|
+
post: operations["post_v1_review_queue_automation"];
|
|
4167
|
+
delete?: never;
|
|
4168
|
+
options?: never;
|
|
4169
|
+
head?: never;
|
|
4170
|
+
patch?: never;
|
|
4171
|
+
trace?: never;
|
|
4172
|
+
};
|
|
4053
4173
|
"/api/v1/review-queue/settings": {
|
|
4054
4174
|
parameters: {
|
|
4055
4175
|
query?: never;
|
|
@@ -4061,7 +4181,7 @@ interface paths {
|
|
|
4061
4181
|
* Get Review Queue Settings
|
|
4062
4182
|
* @description Requires catalog:review-settings for bearer credentials and company settings read permission for delegated users.
|
|
4063
4183
|
*
|
|
4064
|
-
* Returns the organization
|
|
4184
|
+
* Returns the organization auto-apply switch and enrichment/taxonomy confidence defaults.
|
|
4065
4185
|
*/
|
|
4066
4186
|
get: operations["get_v1_review_queue_settings"];
|
|
4067
4187
|
put?: never;
|
|
@@ -4073,7 +4193,7 @@ interface paths {
|
|
|
4073
4193
|
* Update Review Queue Settings
|
|
4074
4194
|
* @description Requires catalog:review-settings for bearer credentials and company settings write permission for delegated users.
|
|
4075
4195
|
*
|
|
4076
|
-
*
|
|
4196
|
+
* Set autoApplyHighConfidence and/or confidence thresholds from 0.50 to 1.00. Existing review jobs retain their saved settings.
|
|
4077
4197
|
*/
|
|
4078
4198
|
patch: operations["patch_v1_review_queue_settings"];
|
|
4079
4199
|
trace?: never;
|
|
@@ -33720,6 +33840,14 @@ interface operations {
|
|
|
33720
33840
|
reviewUrl: string;
|
|
33721
33841
|
autoApproveEnabled?: boolean;
|
|
33722
33842
|
autoPublishEnabled?: boolean;
|
|
33843
|
+
publishProgress?: {
|
|
33844
|
+
requested: number;
|
|
33845
|
+
published: number;
|
|
33846
|
+
partial: number;
|
|
33847
|
+
publishing: number;
|
|
33848
|
+
failed: number;
|
|
33849
|
+
waiting: number;
|
|
33850
|
+
};
|
|
33723
33851
|
importJob?: {
|
|
33724
33852
|
status: string;
|
|
33725
33853
|
rowCount: number;
|
|
@@ -33859,6 +33987,16 @@ interface operations {
|
|
|
33859
33987
|
};
|
|
33860
33988
|
totalCount: number;
|
|
33861
33989
|
};
|
|
33990
|
+
/** Format: uuid */
|
|
33991
|
+
reviewJobId?: string;
|
|
33992
|
+
publishProgress?: {
|
|
33993
|
+
requested: number;
|
|
33994
|
+
published: number;
|
|
33995
|
+
partial: number;
|
|
33996
|
+
publishing: number;
|
|
33997
|
+
failed: number;
|
|
33998
|
+
waiting: number;
|
|
33999
|
+
};
|
|
33862
34000
|
items: {
|
|
33863
34001
|
/** Format: uuid */
|
|
33864
34002
|
id: string;
|
|
@@ -33907,6 +34045,9 @@ interface operations {
|
|
|
33907
34045
|
hasActivePublish?: boolean;
|
|
33908
34046
|
hasFailedPublish?: boolean;
|
|
33909
34047
|
errorMessage: string | null;
|
|
34048
|
+
galleryImageCount?: number;
|
|
34049
|
+
detailsLoaded?: boolean;
|
|
34050
|
+
productUpdatedAt?: string | null;
|
|
33910
34051
|
}[];
|
|
33911
34052
|
queueSelection: {
|
|
33912
34053
|
/** @enum {string} */
|
|
@@ -33973,17 +34114,33 @@ interface operations {
|
|
|
33973
34114
|
hasActivePublish?: boolean;
|
|
33974
34115
|
hasFailedPublish?: boolean;
|
|
33975
34116
|
errorMessage: string | null;
|
|
34117
|
+
galleryImageCount?: number;
|
|
34118
|
+
detailsLoaded?: boolean;
|
|
34119
|
+
productUpdatedAt?: string | null;
|
|
33976
34120
|
proposal: {
|
|
33977
34121
|
[key: string]: unknown;
|
|
33978
34122
|
};
|
|
34123
|
+
currentSnapshot: {
|
|
34124
|
+
[key: string]: unknown;
|
|
34125
|
+
};
|
|
34126
|
+
baselineSnapshot: {
|
|
34127
|
+
[key: string]: unknown;
|
|
34128
|
+
};
|
|
34129
|
+
appliedSnapshot?: {
|
|
34130
|
+
[key: string]: unknown;
|
|
34131
|
+
};
|
|
33979
34132
|
issues: ({
|
|
33980
34133
|
code: string;
|
|
33981
34134
|
message: string;
|
|
33982
34135
|
/** @enum {string} */
|
|
33983
34136
|
severity: "info" | "warning" | "error";
|
|
34137
|
+
field?: string;
|
|
33984
34138
|
} & {
|
|
33985
34139
|
[key: string]: unknown;
|
|
33986
34140
|
})[];
|
|
34141
|
+
updatedAt: string;
|
|
34142
|
+
reviewedAt: string | null;
|
|
34143
|
+
appliedAt: string | null;
|
|
33987
34144
|
};
|
|
33988
34145
|
};
|
|
33989
34146
|
links: {
|
|
@@ -34112,7 +34269,7 @@ interface operations {
|
|
|
34112
34269
|
};
|
|
34113
34270
|
};
|
|
34114
34271
|
};
|
|
34115
|
-
|
|
34272
|
+
post_v1_review_queue_by_batchid_apply: {
|
|
34116
34273
|
parameters: {
|
|
34117
34274
|
query?: never;
|
|
34118
34275
|
header?: never;
|
|
@@ -34125,13 +34282,20 @@ interface operations {
|
|
|
34125
34282
|
content: {
|
|
34126
34283
|
"application/json": {
|
|
34127
34284
|
organizationId?: string;
|
|
34128
|
-
|
|
34285
|
+
updates: {
|
|
34286
|
+
/** Format: uuid */
|
|
34287
|
+
itemId: string;
|
|
34288
|
+
editedProposal?: {
|
|
34289
|
+
[key: string]: unknown;
|
|
34290
|
+
};
|
|
34291
|
+
}[];
|
|
34129
34292
|
allowProductChangedOverride?: boolean;
|
|
34293
|
+
reapply?: boolean;
|
|
34130
34294
|
};
|
|
34131
34295
|
};
|
|
34132
34296
|
};
|
|
34133
34297
|
responses: {
|
|
34134
|
-
/** @description
|
|
34298
|
+
/** @description Ordered item application outcomes, including validation failures. */
|
|
34135
34299
|
200: {
|
|
34136
34300
|
headers: {
|
|
34137
34301
|
[name: string]: unknown;
|
|
@@ -34201,7 +34365,7 @@ interface operations {
|
|
|
34201
34365
|
};
|
|
34202
34366
|
};
|
|
34203
34367
|
};
|
|
34204
|
-
|
|
34368
|
+
post_v1_review_queue_by_batchid_approve: {
|
|
34205
34369
|
parameters: {
|
|
34206
34370
|
query?: never;
|
|
34207
34371
|
header?: never;
|
|
@@ -34214,24 +34378,13 @@ interface operations {
|
|
|
34214
34378
|
content: {
|
|
34215
34379
|
"application/json": {
|
|
34216
34380
|
organizationId?: string;
|
|
34217
|
-
|
|
34218
|
-
|
|
34219
|
-
| "shopee"
|
|
34220
|
-
| "lazada"
|
|
34221
|
-
| "tiktok"
|
|
34222
|
-
| "shopify"
|
|
34223
|
-
| "whatsapp"
|
|
34224
|
-
| "zalora"
|
|
34225
|
-
| "amazon"
|
|
34226
|
-
| "ebay"
|
|
34227
|
-
)[];
|
|
34228
|
-
/** @enum {string} */
|
|
34229
|
-
visibility: "live" | "draft";
|
|
34381
|
+
itemIds: string[];
|
|
34382
|
+
allowProductChangedOverride?: boolean;
|
|
34230
34383
|
};
|
|
34231
34384
|
};
|
|
34232
34385
|
};
|
|
34233
34386
|
responses: {
|
|
34234
|
-
/** @description
|
|
34387
|
+
/** @description Approval outcomes in requested item order, including partial failures. */
|
|
34235
34388
|
200: {
|
|
34236
34389
|
headers: {
|
|
34237
34390
|
[name: string]: unknown;
|
|
@@ -34248,38 +34401,12 @@ interface operations {
|
|
|
34248
34401
|
success: boolean;
|
|
34249
34402
|
succeededCount: number;
|
|
34250
34403
|
failedCount: number;
|
|
34251
|
-
|
|
34252
|
-
productIds: string[];
|
|
34253
|
-
jobBatchId?: string;
|
|
34254
|
-
correlations: {
|
|
34255
|
-
/** @enum {string} */
|
|
34256
|
-
kind: "publish_job" | "inventory_job";
|
|
34257
|
-
id: string;
|
|
34258
|
-
}[];
|
|
34404
|
+
itemIds: string[];
|
|
34259
34405
|
results: {
|
|
34260
34406
|
/** Format: uuid */
|
|
34261
|
-
|
|
34407
|
+
itemId: string;
|
|
34262
34408
|
success: boolean;
|
|
34263
34409
|
error?: string;
|
|
34264
|
-
listings: {
|
|
34265
|
-
ok: boolean;
|
|
34266
|
-
productId: string;
|
|
34267
|
-
/** @enum {string} */
|
|
34268
|
-
platform?:
|
|
34269
|
-
| "shopee"
|
|
34270
|
-
| "lazada"
|
|
34271
|
-
| "tiktok"
|
|
34272
|
-
| "shopify"
|
|
34273
|
-
| "whatsapp"
|
|
34274
|
-
| "zalora"
|
|
34275
|
-
| "amazon"
|
|
34276
|
-
| "ebay";
|
|
34277
|
-
storeId?: string;
|
|
34278
|
-
jobId?: string;
|
|
34279
|
-
queued?: boolean;
|
|
34280
|
-
error?: string;
|
|
34281
|
-
blockingReason?: string;
|
|
34282
|
-
}[];
|
|
34283
34410
|
}[];
|
|
34284
34411
|
};
|
|
34285
34412
|
links: {
|
|
@@ -34290,8 +34417,82 @@ interface operations {
|
|
|
34290
34417
|
};
|
|
34291
34418
|
};
|
|
34292
34419
|
};
|
|
34293
|
-
/** @description
|
|
34294
|
-
|
|
34420
|
+
/** @description Invalid Review queue request. */
|
|
34421
|
+
400: {
|
|
34422
|
+
headers: {
|
|
34423
|
+
[name: string]: unknown;
|
|
34424
|
+
};
|
|
34425
|
+
content?: never;
|
|
34426
|
+
};
|
|
34427
|
+
/** @description Missing or invalid credentials. */
|
|
34428
|
+
401: {
|
|
34429
|
+
headers: {
|
|
34430
|
+
[name: string]: unknown;
|
|
34431
|
+
};
|
|
34432
|
+
content?: never;
|
|
34433
|
+
};
|
|
34434
|
+
/** @description Missing scope, insufficient organization-wide permissions, conflicting organization, or inactive organization. */
|
|
34435
|
+
403: {
|
|
34436
|
+
headers: {
|
|
34437
|
+
[name: string]: unknown;
|
|
34438
|
+
};
|
|
34439
|
+
content?: never;
|
|
34440
|
+
};
|
|
34441
|
+
/** @description Review job or item was not found in the authenticated organization and job. */
|
|
34442
|
+
404: {
|
|
34443
|
+
headers: {
|
|
34444
|
+
[name: string]: unknown;
|
|
34445
|
+
};
|
|
34446
|
+
content?: never;
|
|
34447
|
+
};
|
|
34448
|
+
/** @description Rate limit exceeded. */
|
|
34449
|
+
429: {
|
|
34450
|
+
headers: {
|
|
34451
|
+
[name: string]: unknown;
|
|
34452
|
+
};
|
|
34453
|
+
content?: never;
|
|
34454
|
+
};
|
|
34455
|
+
};
|
|
34456
|
+
};
|
|
34457
|
+
post_v1_review_queue_by_batchid_diagnose: {
|
|
34458
|
+
parameters: {
|
|
34459
|
+
query?: never;
|
|
34460
|
+
header?: never;
|
|
34461
|
+
path: {
|
|
34462
|
+
batchId: string;
|
|
34463
|
+
};
|
|
34464
|
+
cookie?: never;
|
|
34465
|
+
};
|
|
34466
|
+
requestBody: {
|
|
34467
|
+
content: {
|
|
34468
|
+
"application/json": {
|
|
34469
|
+
organizationId?: string;
|
|
34470
|
+
productIds: string[];
|
|
34471
|
+
storeTargets?: {
|
|
34472
|
+
/** @enum {string} */
|
|
34473
|
+
marketplace:
|
|
34474
|
+
| "shopee"
|
|
34475
|
+
| "lazada"
|
|
34476
|
+
| "tiktok"
|
|
34477
|
+
| "shopify"
|
|
34478
|
+
| "whatsapp"
|
|
34479
|
+
| "zalora"
|
|
34480
|
+
| "amazon"
|
|
34481
|
+
| "ebay";
|
|
34482
|
+
storeId: string;
|
|
34483
|
+
}[];
|
|
34484
|
+
storeOffset?: number;
|
|
34485
|
+
storeLimit?: number;
|
|
34486
|
+
attributeOptionOffset?: number;
|
|
34487
|
+
attributeOptionLimit?: number;
|
|
34488
|
+
variantOffset?: number;
|
|
34489
|
+
variantLimit?: number;
|
|
34490
|
+
};
|
|
34491
|
+
};
|
|
34492
|
+
};
|
|
34493
|
+
responses: {
|
|
34494
|
+
/** @description Ordered product diagnoses with explicit per-store metadata failures. */
|
|
34495
|
+
200: {
|
|
34295
34496
|
headers: {
|
|
34296
34497
|
[name: string]: unknown;
|
|
34297
34498
|
};
|
|
@@ -34302,29 +34503,52 @@ interface operations {
|
|
|
34302
34503
|
/** Format: uuid */
|
|
34303
34504
|
operationId: string;
|
|
34304
34505
|
/** @enum {string} */
|
|
34305
|
-
status: "
|
|
34506
|
+
status: "completed";
|
|
34306
34507
|
data: {
|
|
34307
34508
|
success: boolean;
|
|
34509
|
+
productIds: string[];
|
|
34308
34510
|
succeededCount: number;
|
|
34309
34511
|
failedCount: number;
|
|
34310
|
-
queued: boolean;
|
|
34311
|
-
productIds: string[];
|
|
34312
|
-
jobBatchId?: string;
|
|
34313
|
-
correlations: {
|
|
34314
|
-
/** @enum {string} */
|
|
34315
|
-
kind: "publish_job" | "inventory_job";
|
|
34316
|
-
id: string;
|
|
34317
|
-
}[];
|
|
34318
34512
|
results: {
|
|
34319
34513
|
/** Format: uuid */
|
|
34320
34514
|
productId: string;
|
|
34321
34515
|
success: boolean;
|
|
34322
34516
|
error?: string;
|
|
34323
|
-
|
|
34324
|
-
|
|
34325
|
-
|
|
34517
|
+
rootProductId?: string;
|
|
34518
|
+
product?: {
|
|
34519
|
+
id: string;
|
|
34520
|
+
name: string | null;
|
|
34521
|
+
sku: string | null;
|
|
34522
|
+
description: string | null;
|
|
34523
|
+
brand: string | null;
|
|
34524
|
+
highlights: string[];
|
|
34525
|
+
weight: number | null;
|
|
34526
|
+
dimensions: {
|
|
34527
|
+
length: number;
|
|
34528
|
+
width: number;
|
|
34529
|
+
height: number;
|
|
34530
|
+
} | null;
|
|
34531
|
+
images: unknown[];
|
|
34532
|
+
updatedAt: string;
|
|
34533
|
+
};
|
|
34534
|
+
variants?: {
|
|
34535
|
+
id: string;
|
|
34536
|
+
sku: unknown;
|
|
34537
|
+
name: unknown;
|
|
34538
|
+
variationAttributes: unknown;
|
|
34539
|
+
weight: number | null;
|
|
34540
|
+
dimensions: {
|
|
34541
|
+
length: number;
|
|
34542
|
+
width: number;
|
|
34543
|
+
height: number;
|
|
34544
|
+
} | null;
|
|
34545
|
+
}[];
|
|
34546
|
+
variantCount?: number;
|
|
34547
|
+
hasMoreVariants?: boolean;
|
|
34548
|
+
nextVariantOffset?: number | null;
|
|
34549
|
+
stores: {
|
|
34326
34550
|
/** @enum {string} */
|
|
34327
|
-
|
|
34551
|
+
marketplace:
|
|
34328
34552
|
| "shopee"
|
|
34329
34553
|
| "lazada"
|
|
34330
34554
|
| "tiktok"
|
|
@@ -34333,11 +34557,475 @@ interface operations {
|
|
|
34333
34557
|
| "zalora"
|
|
34334
34558
|
| "amazon"
|
|
34335
34559
|
| "ebay";
|
|
34336
|
-
storeId
|
|
34337
|
-
|
|
34338
|
-
queued?: boolean;
|
|
34560
|
+
storeId: string;
|
|
34561
|
+
success: boolean;
|
|
34339
34562
|
error?: string;
|
|
34340
|
-
|
|
34563
|
+
country: string | null;
|
|
34564
|
+
categoryId: string | null;
|
|
34565
|
+
attributes: {
|
|
34566
|
+
attributeId: string;
|
|
34567
|
+
key: string;
|
|
34568
|
+
label: string;
|
|
34569
|
+
required: boolean;
|
|
34570
|
+
missing: boolean;
|
|
34571
|
+
inputType: string | null;
|
|
34572
|
+
value: unknown;
|
|
34573
|
+
options: {
|
|
34574
|
+
value: string;
|
|
34575
|
+
label: string;
|
|
34576
|
+
}[];
|
|
34577
|
+
optionCount: number;
|
|
34578
|
+
hasMoreOptions: boolean;
|
|
34579
|
+
nextOptionOffset: number | null;
|
|
34580
|
+
}[];
|
|
34581
|
+
latestPublish: {
|
|
34582
|
+
jobId: string;
|
|
34583
|
+
status: string;
|
|
34584
|
+
requestedAt: string | null;
|
|
34585
|
+
error: {
|
|
34586
|
+
message: string;
|
|
34587
|
+
code: string | null;
|
|
34588
|
+
requestId: string | null;
|
|
34589
|
+
httpStatus: number | null;
|
|
34590
|
+
} | null;
|
|
34591
|
+
} | null;
|
|
34592
|
+
publishReady: boolean;
|
|
34593
|
+
requirements: {
|
|
34594
|
+
marketplace: string;
|
|
34595
|
+
missingFields: string[];
|
|
34596
|
+
message: string;
|
|
34597
|
+
attributeConflicts?: string[];
|
|
34598
|
+
missingVariantLabels?: string[];
|
|
34599
|
+
}[];
|
|
34600
|
+
}[];
|
|
34601
|
+
storeCount: number;
|
|
34602
|
+
hasMoreStores: boolean;
|
|
34603
|
+
nextStoreOffset: number | null;
|
|
34604
|
+
}[];
|
|
34605
|
+
};
|
|
34606
|
+
links: {
|
|
34607
|
+
[key: string]: string;
|
|
34608
|
+
};
|
|
34609
|
+
warnings: string[];
|
|
34610
|
+
recommendations: string[];
|
|
34611
|
+
};
|
|
34612
|
+
};
|
|
34613
|
+
};
|
|
34614
|
+
/** @description Invalid Review queue request. */
|
|
34615
|
+
400: {
|
|
34616
|
+
headers: {
|
|
34617
|
+
[name: string]: unknown;
|
|
34618
|
+
};
|
|
34619
|
+
content?: never;
|
|
34620
|
+
};
|
|
34621
|
+
/** @description Missing or invalid credentials. */
|
|
34622
|
+
401: {
|
|
34623
|
+
headers: {
|
|
34624
|
+
[name: string]: unknown;
|
|
34625
|
+
};
|
|
34626
|
+
content?: never;
|
|
34627
|
+
};
|
|
34628
|
+
/** @description Missing scope, insufficient organization-wide permissions, conflicting organization, or inactive organization. */
|
|
34629
|
+
403: {
|
|
34630
|
+
headers: {
|
|
34631
|
+
[name: string]: unknown;
|
|
34632
|
+
};
|
|
34633
|
+
content?: never;
|
|
34634
|
+
};
|
|
34635
|
+
/** @description Review job or item was not found in the authenticated organization and job. */
|
|
34636
|
+
404: {
|
|
34637
|
+
headers: {
|
|
34638
|
+
[name: string]: unknown;
|
|
34639
|
+
};
|
|
34640
|
+
content?: never;
|
|
34641
|
+
};
|
|
34642
|
+
/** @description Rate limit exceeded. */
|
|
34643
|
+
429: {
|
|
34644
|
+
headers: {
|
|
34645
|
+
[name: string]: unknown;
|
|
34646
|
+
};
|
|
34647
|
+
content?: never;
|
|
34648
|
+
};
|
|
34649
|
+
};
|
|
34650
|
+
};
|
|
34651
|
+
get_v1_review_queue_by_batchid_items: {
|
|
34652
|
+
parameters: {
|
|
34653
|
+
query?: {
|
|
34654
|
+
/** @description Session callers only. API keys resolve organization scope from the credential. */
|
|
34655
|
+
organizationId?: string;
|
|
34656
|
+
limit?: number;
|
|
34657
|
+
offset?: number;
|
|
34658
|
+
status?:
|
|
34659
|
+
| "queued"
|
|
34660
|
+
| "running"
|
|
34661
|
+
| "pending_review"
|
|
34662
|
+
| "apply_queued"
|
|
34663
|
+
| "applying"
|
|
34664
|
+
| "applied"
|
|
34665
|
+
| "reverted"
|
|
34666
|
+
| "rejected"
|
|
34667
|
+
| "failed"
|
|
34668
|
+
| "cancelled";
|
|
34669
|
+
workflow?: "enrichment" | "marketplace_taxonomy" | "product_images";
|
|
34670
|
+
/** @description Repeat this query parameter for each UUID. Between 1 and 50 entries, deduplicated in first-requested order. */
|
|
34671
|
+
productIds?: string[];
|
|
34672
|
+
};
|
|
34673
|
+
header?: never;
|
|
34674
|
+
path: {
|
|
34675
|
+
batchId: string;
|
|
34676
|
+
};
|
|
34677
|
+
cookie?: never;
|
|
34678
|
+
};
|
|
34679
|
+
requestBody?: never;
|
|
34680
|
+
responses: {
|
|
34681
|
+
/** @description Paginated review diagnostics and saved publication outcomes. */
|
|
34682
|
+
200: {
|
|
34683
|
+
headers: {
|
|
34684
|
+
[name: string]: unknown;
|
|
34685
|
+
};
|
|
34686
|
+
content: {
|
|
34687
|
+
"application/json": {
|
|
34688
|
+
ok: boolean;
|
|
34689
|
+
apiVersion: string;
|
|
34690
|
+
/** Format: uuid */
|
|
34691
|
+
operationId: string;
|
|
34692
|
+
/** @enum {string} */
|
|
34693
|
+
status: "completed";
|
|
34694
|
+
data: {
|
|
34695
|
+
/** Format: uuid */
|
|
34696
|
+
batchId: string;
|
|
34697
|
+
items: {
|
|
34698
|
+
/** Format: uuid */
|
|
34699
|
+
id: string;
|
|
34700
|
+
/** Format: uuid */
|
|
34701
|
+
batchId: string;
|
|
34702
|
+
/** @enum {string} */
|
|
34703
|
+
workflow:
|
|
34704
|
+
| "enrichment"
|
|
34705
|
+
| "marketplace_taxonomy"
|
|
34706
|
+
| "product_images";
|
|
34707
|
+
productId: string;
|
|
34708
|
+
productName: string | null;
|
|
34709
|
+
/** @enum {string} */
|
|
34710
|
+
status:
|
|
34711
|
+
| "queued"
|
|
34712
|
+
| "running"
|
|
34713
|
+
| "pending_review"
|
|
34714
|
+
| "apply_queued"
|
|
34715
|
+
| "applying"
|
|
34716
|
+
| "applied"
|
|
34717
|
+
| "reverted"
|
|
34718
|
+
| "rejected"
|
|
34719
|
+
| "failed"
|
|
34720
|
+
| "cancelled";
|
|
34721
|
+
confidence: number | null;
|
|
34722
|
+
productChanged: boolean;
|
|
34723
|
+
targetMarketplace:
|
|
34724
|
+
| (
|
|
34725
|
+
| "shopee"
|
|
34726
|
+
| "lazada"
|
|
34727
|
+
| "tiktok"
|
|
34728
|
+
| "shopify"
|
|
34729
|
+
| "whatsapp"
|
|
34730
|
+
| "zalora"
|
|
34731
|
+
| "amazon"
|
|
34732
|
+
| "ebay"
|
|
34733
|
+
)
|
|
34734
|
+
| null;
|
|
34735
|
+
targetStoreId: string | null;
|
|
34736
|
+
targetStoreName: string | null;
|
|
34737
|
+
targetCountry: string | null;
|
|
34738
|
+
publishedStoreTargets?: {
|
|
34739
|
+
marketplace: string;
|
|
34740
|
+
storeId: string;
|
|
34741
|
+
}[];
|
|
34742
|
+
hasActivePublish?: boolean;
|
|
34743
|
+
hasFailedPublish?: boolean;
|
|
34744
|
+
errorMessage: string | null;
|
|
34745
|
+
galleryImageCount?: number;
|
|
34746
|
+
detailsLoaded?: boolean;
|
|
34747
|
+
productUpdatedAt?: string | null;
|
|
34748
|
+
proposal: {
|
|
34749
|
+
[key: string]: unknown;
|
|
34750
|
+
};
|
|
34751
|
+
currentSnapshot: {
|
|
34752
|
+
[key: string]: unknown;
|
|
34753
|
+
};
|
|
34754
|
+
baselineSnapshot: {
|
|
34755
|
+
[key: string]: unknown;
|
|
34756
|
+
};
|
|
34757
|
+
appliedSnapshot?: {
|
|
34758
|
+
[key: string]: unknown;
|
|
34759
|
+
};
|
|
34760
|
+
issues: ({
|
|
34761
|
+
code: string;
|
|
34762
|
+
message: string;
|
|
34763
|
+
/** @enum {string} */
|
|
34764
|
+
severity: "info" | "warning" | "error";
|
|
34765
|
+
field?: string;
|
|
34766
|
+
} & {
|
|
34767
|
+
[key: string]: unknown;
|
|
34768
|
+
})[];
|
|
34769
|
+
updatedAt: string;
|
|
34770
|
+
reviewedAt: string | null;
|
|
34771
|
+
appliedAt: string | null;
|
|
34772
|
+
}[];
|
|
34773
|
+
publishing: {
|
|
34774
|
+
/** Format: uuid */
|
|
34775
|
+
batchId: string;
|
|
34776
|
+
productId: string;
|
|
34777
|
+
queuedAt: string | null;
|
|
34778
|
+
error: string | null;
|
|
34779
|
+
storeTargets: {
|
|
34780
|
+
/** @enum {string} */
|
|
34781
|
+
marketplace:
|
|
34782
|
+
| "shopee"
|
|
34783
|
+
| "lazada"
|
|
34784
|
+
| "tiktok"
|
|
34785
|
+
| "shopify"
|
|
34786
|
+
| "whatsapp"
|
|
34787
|
+
| "zalora"
|
|
34788
|
+
| "amazon"
|
|
34789
|
+
| "ebay";
|
|
34790
|
+
storeId: string;
|
|
34791
|
+
}[];
|
|
34792
|
+
results: {
|
|
34793
|
+
/** @enum {string} */
|
|
34794
|
+
marketplace:
|
|
34795
|
+
| "shopee"
|
|
34796
|
+
| "lazada"
|
|
34797
|
+
| "tiktok"
|
|
34798
|
+
| "shopify"
|
|
34799
|
+
| "whatsapp"
|
|
34800
|
+
| "zalora"
|
|
34801
|
+
| "amazon"
|
|
34802
|
+
| "ebay";
|
|
34803
|
+
storeId: string;
|
|
34804
|
+
success: boolean;
|
|
34805
|
+
queued: boolean;
|
|
34806
|
+
jobId?: string;
|
|
34807
|
+
status: string | null;
|
|
34808
|
+
error: string | null;
|
|
34809
|
+
}[];
|
|
34810
|
+
}[];
|
|
34811
|
+
automation: {
|
|
34812
|
+
fullyAutomatic: boolean;
|
|
34813
|
+
autoPublishEnabled: boolean;
|
|
34814
|
+
scopes: {
|
|
34815
|
+
/** Format: uuid */
|
|
34816
|
+
batchId: string;
|
|
34817
|
+
/** @enum {string} */
|
|
34818
|
+
workflow:
|
|
34819
|
+
| "enrichment"
|
|
34820
|
+
| "marketplace_taxonomy"
|
|
34821
|
+
| "product_images";
|
|
34822
|
+
status: string;
|
|
34823
|
+
marketplace: string | null;
|
|
34824
|
+
storeId: string | null;
|
|
34825
|
+
autoApproveEnabled: boolean;
|
|
34826
|
+
threshold: number | null;
|
|
34827
|
+
}[];
|
|
34828
|
+
};
|
|
34829
|
+
limit: number;
|
|
34830
|
+
offset: number;
|
|
34831
|
+
hasMore: boolean;
|
|
34832
|
+
nextOffset: number | null;
|
|
34833
|
+
};
|
|
34834
|
+
links: {
|
|
34835
|
+
[key: string]: string;
|
|
34836
|
+
};
|
|
34837
|
+
warnings: string[];
|
|
34838
|
+
recommendations: string[];
|
|
34839
|
+
};
|
|
34840
|
+
};
|
|
34841
|
+
};
|
|
34842
|
+
/** @description Invalid Review queue request. */
|
|
34843
|
+
400: {
|
|
34844
|
+
headers: {
|
|
34845
|
+
[name: string]: unknown;
|
|
34846
|
+
};
|
|
34847
|
+
content?: never;
|
|
34848
|
+
};
|
|
34849
|
+
/** @description Missing or invalid credentials. */
|
|
34850
|
+
401: {
|
|
34851
|
+
headers: {
|
|
34852
|
+
[name: string]: unknown;
|
|
34853
|
+
};
|
|
34854
|
+
content?: never;
|
|
34855
|
+
};
|
|
34856
|
+
/** @description Missing scope, insufficient organization-wide permissions, conflicting organization, or inactive organization. */
|
|
34857
|
+
403: {
|
|
34858
|
+
headers: {
|
|
34859
|
+
[name: string]: unknown;
|
|
34860
|
+
};
|
|
34861
|
+
content?: never;
|
|
34862
|
+
};
|
|
34863
|
+
/** @description Review job or item was not found in the authenticated organization and job. */
|
|
34864
|
+
404: {
|
|
34865
|
+
headers: {
|
|
34866
|
+
[name: string]: unknown;
|
|
34867
|
+
};
|
|
34868
|
+
content?: never;
|
|
34869
|
+
};
|
|
34870
|
+
/** @description Rate limit exceeded. */
|
|
34871
|
+
429: {
|
|
34872
|
+
headers: {
|
|
34873
|
+
[name: string]: unknown;
|
|
34874
|
+
};
|
|
34875
|
+
content?: never;
|
|
34876
|
+
};
|
|
34877
|
+
};
|
|
34878
|
+
};
|
|
34879
|
+
post_v1_review_queue_by_batchid_publish: {
|
|
34880
|
+
parameters: {
|
|
34881
|
+
query?: never;
|
|
34882
|
+
header?: never;
|
|
34883
|
+
path: {
|
|
34884
|
+
batchId: string;
|
|
34885
|
+
};
|
|
34886
|
+
cookie?: never;
|
|
34887
|
+
};
|
|
34888
|
+
requestBody: {
|
|
34889
|
+
content: {
|
|
34890
|
+
"application/json": {
|
|
34891
|
+
organizationId?: string;
|
|
34892
|
+
productIds: string[];
|
|
34893
|
+
marketplaces?: (
|
|
34894
|
+
| "shopee"
|
|
34895
|
+
| "lazada"
|
|
34896
|
+
| "tiktok"
|
|
34897
|
+
| "shopify"
|
|
34898
|
+
| "whatsapp"
|
|
34899
|
+
| "zalora"
|
|
34900
|
+
| "amazon"
|
|
34901
|
+
| "ebay"
|
|
34902
|
+
)[];
|
|
34903
|
+
/** @enum {string} */
|
|
34904
|
+
visibility: "live" | "draft";
|
|
34905
|
+
storeTargets?: {
|
|
34906
|
+
/** @enum {string} */
|
|
34907
|
+
marketplace:
|
|
34908
|
+
| "shopee"
|
|
34909
|
+
| "lazada"
|
|
34910
|
+
| "tiktok"
|
|
34911
|
+
| "shopify"
|
|
34912
|
+
| "whatsapp"
|
|
34913
|
+
| "zalora"
|
|
34914
|
+
| "amazon"
|
|
34915
|
+
| "ebay";
|
|
34916
|
+
storeId: string;
|
|
34917
|
+
}[];
|
|
34918
|
+
};
|
|
34919
|
+
};
|
|
34920
|
+
};
|
|
34921
|
+
responses: {
|
|
34922
|
+
/** @description Publish preparation results when no jobs were queued. */
|
|
34923
|
+
200: {
|
|
34924
|
+
headers: {
|
|
34925
|
+
[name: string]: unknown;
|
|
34926
|
+
};
|
|
34927
|
+
content: {
|
|
34928
|
+
"application/json": {
|
|
34929
|
+
ok: boolean;
|
|
34930
|
+
apiVersion: string;
|
|
34931
|
+
/** Format: uuid */
|
|
34932
|
+
operationId: string;
|
|
34933
|
+
/** @enum {string} */
|
|
34934
|
+
status: "completed";
|
|
34935
|
+
data: {
|
|
34936
|
+
success: boolean;
|
|
34937
|
+
succeededCount: number;
|
|
34938
|
+
failedCount: number;
|
|
34939
|
+
queued: boolean;
|
|
34940
|
+
productIds: string[];
|
|
34941
|
+
jobBatchId?: string;
|
|
34942
|
+
correlations: {
|
|
34943
|
+
/** @enum {string} */
|
|
34944
|
+
kind: "publish_job" | "inventory_job";
|
|
34945
|
+
id: string;
|
|
34946
|
+
}[];
|
|
34947
|
+
results: {
|
|
34948
|
+
/** Format: uuid */
|
|
34949
|
+
productId: string;
|
|
34950
|
+
success: boolean;
|
|
34951
|
+
error?: string;
|
|
34952
|
+
listings: {
|
|
34953
|
+
ok: boolean;
|
|
34954
|
+
productId: string;
|
|
34955
|
+
/** @enum {string} */
|
|
34956
|
+
platform?:
|
|
34957
|
+
| "shopee"
|
|
34958
|
+
| "lazada"
|
|
34959
|
+
| "tiktok"
|
|
34960
|
+
| "shopify"
|
|
34961
|
+
| "whatsapp"
|
|
34962
|
+
| "zalora"
|
|
34963
|
+
| "amazon"
|
|
34964
|
+
| "ebay";
|
|
34965
|
+
storeId?: string;
|
|
34966
|
+
jobId?: string;
|
|
34967
|
+
queued?: boolean;
|
|
34968
|
+
error?: string;
|
|
34969
|
+
blockingReason?: string;
|
|
34970
|
+
}[];
|
|
34971
|
+
}[];
|
|
34972
|
+
};
|
|
34973
|
+
links: {
|
|
34974
|
+
[key: string]: string;
|
|
34975
|
+
};
|
|
34976
|
+
warnings: string[];
|
|
34977
|
+
recommendations: string[];
|
|
34978
|
+
};
|
|
34979
|
+
};
|
|
34980
|
+
};
|
|
34981
|
+
/** @description At least one marketplace job queued. Check per-listing results and follow every returned correlation. */
|
|
34982
|
+
202: {
|
|
34983
|
+
headers: {
|
|
34984
|
+
[name: string]: unknown;
|
|
34985
|
+
};
|
|
34986
|
+
content: {
|
|
34987
|
+
"application/json": {
|
|
34988
|
+
ok: boolean;
|
|
34989
|
+
apiVersion: string;
|
|
34990
|
+
/** Format: uuid */
|
|
34991
|
+
operationId: string;
|
|
34992
|
+
/** @enum {string} */
|
|
34993
|
+
status: "accepted";
|
|
34994
|
+
data: {
|
|
34995
|
+
success: boolean;
|
|
34996
|
+
succeededCount: number;
|
|
34997
|
+
failedCount: number;
|
|
34998
|
+
queued: boolean;
|
|
34999
|
+
productIds: string[];
|
|
35000
|
+
jobBatchId?: string;
|
|
35001
|
+
correlations: {
|
|
35002
|
+
/** @enum {string} */
|
|
35003
|
+
kind: "publish_job" | "inventory_job";
|
|
35004
|
+
id: string;
|
|
35005
|
+
}[];
|
|
35006
|
+
results: {
|
|
35007
|
+
/** Format: uuid */
|
|
35008
|
+
productId: string;
|
|
35009
|
+
success: boolean;
|
|
35010
|
+
error?: string;
|
|
35011
|
+
listings: {
|
|
35012
|
+
ok: boolean;
|
|
35013
|
+
productId: string;
|
|
35014
|
+
/** @enum {string} */
|
|
35015
|
+
platform?:
|
|
35016
|
+
| "shopee"
|
|
35017
|
+
| "lazada"
|
|
35018
|
+
| "tiktok"
|
|
35019
|
+
| "shopify"
|
|
35020
|
+
| "whatsapp"
|
|
35021
|
+
| "zalora"
|
|
35022
|
+
| "amazon"
|
|
35023
|
+
| "ebay";
|
|
35024
|
+
storeId?: string;
|
|
35025
|
+
jobId?: string;
|
|
35026
|
+
queued?: boolean;
|
|
35027
|
+
error?: string;
|
|
35028
|
+
blockingReason?: string;
|
|
34341
35029
|
}[];
|
|
34342
35030
|
}[];
|
|
34343
35031
|
};
|
|
@@ -34393,6 +35081,333 @@ interface operations {
|
|
|
34393
35081
|
};
|
|
34394
35082
|
};
|
|
34395
35083
|
};
|
|
35084
|
+
post_v1_review_queue_by_batchid_repair_products: {
|
|
35085
|
+
parameters: {
|
|
35086
|
+
query?: never;
|
|
35087
|
+
header?: never;
|
|
35088
|
+
path: {
|
|
35089
|
+
batchId: string;
|
|
35090
|
+
};
|
|
35091
|
+
cookie?: never;
|
|
35092
|
+
};
|
|
35093
|
+
requestBody: {
|
|
35094
|
+
content: {
|
|
35095
|
+
"application/json": {
|
|
35096
|
+
organizationId?: string;
|
|
35097
|
+
updates: {
|
|
35098
|
+
/** Format: uuid */
|
|
35099
|
+
productId: string;
|
|
35100
|
+
/** Format: date-time */
|
|
35101
|
+
expectedUpdatedAt: string;
|
|
35102
|
+
weight?: number;
|
|
35103
|
+
dimensions?: {
|
|
35104
|
+
length: number;
|
|
35105
|
+
width: number;
|
|
35106
|
+
height: number;
|
|
35107
|
+
};
|
|
35108
|
+
storeUpdates?: {
|
|
35109
|
+
/** @enum {string} */
|
|
35110
|
+
marketplace:
|
|
35111
|
+
| "shopee"
|
|
35112
|
+
| "lazada"
|
|
35113
|
+
| "tiktok"
|
|
35114
|
+
| "shopify"
|
|
35115
|
+
| "whatsapp"
|
|
35116
|
+
| "zalora"
|
|
35117
|
+
| "amazon"
|
|
35118
|
+
| "ebay";
|
|
35119
|
+
storeId: string;
|
|
35120
|
+
attributes: {
|
|
35121
|
+
[key: string]: unknown;
|
|
35122
|
+
};
|
|
35123
|
+
}[];
|
|
35124
|
+
evidence?: {
|
|
35125
|
+
field: string;
|
|
35126
|
+
/** Format: uri */
|
|
35127
|
+
sourceUrl: string;
|
|
35128
|
+
note?: string;
|
|
35129
|
+
}[];
|
|
35130
|
+
}[];
|
|
35131
|
+
};
|
|
35132
|
+
};
|
|
35133
|
+
};
|
|
35134
|
+
responses: {
|
|
35135
|
+
/** @description Independent, atomic product corrections with ordered partial failures and new versions. */
|
|
35136
|
+
200: {
|
|
35137
|
+
headers: {
|
|
35138
|
+
[name: string]: unknown;
|
|
35139
|
+
};
|
|
35140
|
+
content: {
|
|
35141
|
+
"application/json": {
|
|
35142
|
+
ok: boolean;
|
|
35143
|
+
apiVersion: string;
|
|
35144
|
+
/** Format: uuid */
|
|
35145
|
+
operationId: string;
|
|
35146
|
+
/** @enum {string} */
|
|
35147
|
+
status: "completed";
|
|
35148
|
+
data: {
|
|
35149
|
+
success: boolean;
|
|
35150
|
+
productIds: string[];
|
|
35151
|
+
succeededCount: number;
|
|
35152
|
+
failedCount: number;
|
|
35153
|
+
results: {
|
|
35154
|
+
/** Format: uuid */
|
|
35155
|
+
productId: string;
|
|
35156
|
+
success: boolean;
|
|
35157
|
+
updatedAt?: string;
|
|
35158
|
+
error?: string;
|
|
35159
|
+
code?: string;
|
|
35160
|
+
}[];
|
|
35161
|
+
};
|
|
35162
|
+
links: {
|
|
35163
|
+
[key: string]: string;
|
|
35164
|
+
};
|
|
35165
|
+
warnings: string[];
|
|
35166
|
+
recommendations: string[];
|
|
35167
|
+
};
|
|
35168
|
+
};
|
|
35169
|
+
};
|
|
35170
|
+
/** @description Invalid Review queue request. */
|
|
35171
|
+
400: {
|
|
35172
|
+
headers: {
|
|
35173
|
+
[name: string]: unknown;
|
|
35174
|
+
};
|
|
35175
|
+
content?: never;
|
|
35176
|
+
};
|
|
35177
|
+
/** @description Missing or invalid credentials. */
|
|
35178
|
+
401: {
|
|
35179
|
+
headers: {
|
|
35180
|
+
[name: string]: unknown;
|
|
35181
|
+
};
|
|
35182
|
+
content?: never;
|
|
35183
|
+
};
|
|
35184
|
+
/** @description Missing scope, insufficient organization-wide permissions, conflicting organization, or inactive organization. */
|
|
35185
|
+
403: {
|
|
35186
|
+
headers: {
|
|
35187
|
+
[name: string]: unknown;
|
|
35188
|
+
};
|
|
35189
|
+
content?: never;
|
|
35190
|
+
};
|
|
35191
|
+
/** @description Review job or item was not found in the authenticated organization and job. */
|
|
35192
|
+
404: {
|
|
35193
|
+
headers: {
|
|
35194
|
+
[name: string]: unknown;
|
|
35195
|
+
};
|
|
35196
|
+
content?: never;
|
|
35197
|
+
};
|
|
35198
|
+
/** @description Rate limit exceeded. */
|
|
35199
|
+
429: {
|
|
35200
|
+
headers: {
|
|
35201
|
+
[name: string]: unknown;
|
|
35202
|
+
};
|
|
35203
|
+
content?: never;
|
|
35204
|
+
};
|
|
35205
|
+
};
|
|
35206
|
+
};
|
|
35207
|
+
post_v1_review_queue_by_batchid_retry: {
|
|
35208
|
+
parameters: {
|
|
35209
|
+
query?: never;
|
|
35210
|
+
header?: never;
|
|
35211
|
+
path: {
|
|
35212
|
+
batchId: string;
|
|
35213
|
+
};
|
|
35214
|
+
cookie?: never;
|
|
35215
|
+
};
|
|
35216
|
+
requestBody: {
|
|
35217
|
+
content: {
|
|
35218
|
+
"application/json": {
|
|
35219
|
+
organizationId?: string;
|
|
35220
|
+
/** @enum {string} */
|
|
35221
|
+
scope?: "failed" | "unfinished" | "all";
|
|
35222
|
+
/** @enum {string} */
|
|
35223
|
+
workflow?: "enrichment" | "marketplace_taxonomy" | "product_images";
|
|
35224
|
+
model?: string;
|
|
35225
|
+
};
|
|
35226
|
+
};
|
|
35227
|
+
};
|
|
35228
|
+
responses: {
|
|
35229
|
+
/** @description Durable review retry request accepted. */
|
|
35230
|
+
202: {
|
|
35231
|
+
headers: {
|
|
35232
|
+
[name: string]: unknown;
|
|
35233
|
+
};
|
|
35234
|
+
content: {
|
|
35235
|
+
"application/json": {
|
|
35236
|
+
ok: boolean;
|
|
35237
|
+
apiVersion: string;
|
|
35238
|
+
/** Format: uuid */
|
|
35239
|
+
operationId: string;
|
|
35240
|
+
/** @enum {string} */
|
|
35241
|
+
status: "accepted";
|
|
35242
|
+
data: {
|
|
35243
|
+
/** @constant */
|
|
35244
|
+
queued: true;
|
|
35245
|
+
/** Format: uuid */
|
|
35246
|
+
requestId: string;
|
|
35247
|
+
};
|
|
35248
|
+
links: {
|
|
35249
|
+
[key: string]: string;
|
|
35250
|
+
};
|
|
35251
|
+
warnings: string[];
|
|
35252
|
+
recommendations: string[];
|
|
35253
|
+
};
|
|
35254
|
+
};
|
|
35255
|
+
};
|
|
35256
|
+
/** @description Invalid Review queue request. */
|
|
35257
|
+
400: {
|
|
35258
|
+
headers: {
|
|
35259
|
+
[name: string]: unknown;
|
|
35260
|
+
};
|
|
35261
|
+
content?: never;
|
|
35262
|
+
};
|
|
35263
|
+
/** @description Missing or invalid credentials. */
|
|
35264
|
+
401: {
|
|
35265
|
+
headers: {
|
|
35266
|
+
[name: string]: unknown;
|
|
35267
|
+
};
|
|
35268
|
+
content?: never;
|
|
35269
|
+
};
|
|
35270
|
+
/** @description Missing scope, insufficient organization-wide permissions, conflicting organization, or inactive organization. */
|
|
35271
|
+
403: {
|
|
35272
|
+
headers: {
|
|
35273
|
+
[name: string]: unknown;
|
|
35274
|
+
};
|
|
35275
|
+
content?: never;
|
|
35276
|
+
};
|
|
35277
|
+
/** @description Review job or item was not found in the authenticated organization and job. */
|
|
35278
|
+
404: {
|
|
35279
|
+
headers: {
|
|
35280
|
+
[name: string]: unknown;
|
|
35281
|
+
};
|
|
35282
|
+
content?: never;
|
|
35283
|
+
};
|
|
35284
|
+
/** @description Rate limit exceeded. */
|
|
35285
|
+
429: {
|
|
35286
|
+
headers: {
|
|
35287
|
+
[name: string]: unknown;
|
|
35288
|
+
};
|
|
35289
|
+
content?: never;
|
|
35290
|
+
};
|
|
35291
|
+
};
|
|
35292
|
+
};
|
|
35293
|
+
post_v1_review_queue_automation: {
|
|
35294
|
+
parameters: {
|
|
35295
|
+
query?: never;
|
|
35296
|
+
header?: never;
|
|
35297
|
+
path?: never;
|
|
35298
|
+
cookie?: never;
|
|
35299
|
+
};
|
|
35300
|
+
requestBody: {
|
|
35301
|
+
content: {
|
|
35302
|
+
"application/json": {
|
|
35303
|
+
organizationId?: string;
|
|
35304
|
+
batchIds: string[];
|
|
35305
|
+
};
|
|
35306
|
+
};
|
|
35307
|
+
};
|
|
35308
|
+
responses: {
|
|
35309
|
+
/** @description No valid review jobs accepted. */
|
|
35310
|
+
200: {
|
|
35311
|
+
headers: {
|
|
35312
|
+
[name: string]: unknown;
|
|
35313
|
+
};
|
|
35314
|
+
content: {
|
|
35315
|
+
"application/json": {
|
|
35316
|
+
ok: boolean;
|
|
35317
|
+
apiVersion: string;
|
|
35318
|
+
/** Format: uuid */
|
|
35319
|
+
operationId: string;
|
|
35320
|
+
/** @enum {string} */
|
|
35321
|
+
status: "completed";
|
|
35322
|
+
data: {
|
|
35323
|
+
success: boolean;
|
|
35324
|
+
queued: boolean;
|
|
35325
|
+
/** Format: uuid */
|
|
35326
|
+
requestId: string;
|
|
35327
|
+
batchIds: string[];
|
|
35328
|
+
succeededCount: number;
|
|
35329
|
+
failedCount: number;
|
|
35330
|
+
results: {
|
|
35331
|
+
/** Format: uuid */
|
|
35332
|
+
batchId: string;
|
|
35333
|
+
success: boolean;
|
|
35334
|
+
error?: string;
|
|
35335
|
+
}[];
|
|
35336
|
+
};
|
|
35337
|
+
links: {
|
|
35338
|
+
[key: string]: string;
|
|
35339
|
+
};
|
|
35340
|
+
warnings: string[];
|
|
35341
|
+
recommendations: string[];
|
|
35342
|
+
};
|
|
35343
|
+
};
|
|
35344
|
+
};
|
|
35345
|
+
/** @description Decisions queued. Inspect every job; acceptance does not mean success. */
|
|
35346
|
+
202: {
|
|
35347
|
+
headers: {
|
|
35348
|
+
[name: string]: unknown;
|
|
35349
|
+
};
|
|
35350
|
+
content: {
|
|
35351
|
+
"application/json": {
|
|
35352
|
+
ok: boolean;
|
|
35353
|
+
apiVersion: string;
|
|
35354
|
+
/** Format: uuid */
|
|
35355
|
+
operationId: string;
|
|
35356
|
+
/** @enum {string} */
|
|
35357
|
+
status: "accepted";
|
|
35358
|
+
data: {
|
|
35359
|
+
success: boolean;
|
|
35360
|
+
queued: boolean;
|
|
35361
|
+
/** Format: uuid */
|
|
35362
|
+
requestId: string;
|
|
35363
|
+
batchIds: string[];
|
|
35364
|
+
succeededCount: number;
|
|
35365
|
+
failedCount: number;
|
|
35366
|
+
results: {
|
|
35367
|
+
/** Format: uuid */
|
|
35368
|
+
batchId: string;
|
|
35369
|
+
success: boolean;
|
|
35370
|
+
error?: string;
|
|
35371
|
+
}[];
|
|
35372
|
+
};
|
|
35373
|
+
links: {
|
|
35374
|
+
[key: string]: string;
|
|
35375
|
+
};
|
|
35376
|
+
warnings: string[];
|
|
35377
|
+
recommendations: string[];
|
|
35378
|
+
};
|
|
35379
|
+
};
|
|
35380
|
+
};
|
|
35381
|
+
/** @description Invalid Review queue request. */
|
|
35382
|
+
400: {
|
|
35383
|
+
headers: {
|
|
35384
|
+
[name: string]: unknown;
|
|
35385
|
+
};
|
|
35386
|
+
content?: never;
|
|
35387
|
+
};
|
|
35388
|
+
/** @description Missing or invalid credentials. */
|
|
35389
|
+
401: {
|
|
35390
|
+
headers: {
|
|
35391
|
+
[name: string]: unknown;
|
|
35392
|
+
};
|
|
35393
|
+
content?: never;
|
|
35394
|
+
};
|
|
35395
|
+
/** @description Missing scope, insufficient organization-wide permissions, conflicting organization, or inactive organization. */
|
|
35396
|
+
403: {
|
|
35397
|
+
headers: {
|
|
35398
|
+
[name: string]: unknown;
|
|
35399
|
+
};
|
|
35400
|
+
content?: never;
|
|
35401
|
+
};
|
|
35402
|
+
/** @description Rate limit exceeded. */
|
|
35403
|
+
429: {
|
|
35404
|
+
headers: {
|
|
35405
|
+
[name: string]: unknown;
|
|
35406
|
+
};
|
|
35407
|
+
content?: never;
|
|
35408
|
+
};
|
|
35409
|
+
};
|
|
35410
|
+
};
|
|
34396
35411
|
get_v1_review_queue_settings: {
|
|
34397
35412
|
parameters: {
|
|
34398
35413
|
query?: {
|
|
@@ -34419,6 +35434,7 @@ interface operations {
|
|
|
34419
35434
|
/** @enum {string} */
|
|
34420
35435
|
status: "completed";
|
|
34421
35436
|
data: {
|
|
35437
|
+
autoApplyHighConfidence: boolean;
|
|
34422
35438
|
enrichmentAutoApplyThreshold: number;
|
|
34423
35439
|
taxonomyAutoApplyThreshold: number;
|
|
34424
35440
|
};
|
|
@@ -34471,6 +35487,7 @@ interface operations {
|
|
|
34471
35487
|
content: {
|
|
34472
35488
|
"application/json": {
|
|
34473
35489
|
organizationId?: string;
|
|
35490
|
+
autoApplyHighConfidence?: boolean;
|
|
34474
35491
|
enrichmentAutoApplyThreshold?: number;
|
|
34475
35492
|
taxonomyAutoApplyThreshold?: number;
|
|
34476
35493
|
};
|
|
@@ -34491,6 +35508,7 @@ interface operations {
|
|
|
34491
35508
|
/** @enum {string} */
|
|
34492
35509
|
status: "completed";
|
|
34493
35510
|
data: {
|
|
35511
|
+
autoApplyHighConfidence: boolean;
|
|
34494
35512
|
enrichmentAutoApplyThreshold: number;
|
|
34495
35513
|
taxonomyAutoApplyThreshold: number;
|
|
34496
35514
|
};
|
|
@@ -42155,32 +43173,80 @@ declare class ReviewQueueClient {
|
|
|
42155
43173
|
* `PATCH /api/v1/review-queue/{batchId}`
|
|
42156
43174
|
*/
|
|
42157
43175
|
update(request: OperationPath<operations["patch_v1_review_queue_by_batchid"]> & OperationBody<operations["patch_v1_review_queue_by_batchid"]>, requestOptions?: BaseRequestOptions): HttpResponsePromise<SuccessData<operations["patch_v1_review_queue_by_batchid"]>>;
|
|
43176
|
+
/**
|
|
43177
|
+
* Apply Review Queue Corrections
|
|
43178
|
+
*
|
|
43179
|
+
* Requires `catalog:write`. Apply up to 100 item corrections across this job's linked scopes using each workflow's existing proposal validation. editedProposal follows the saved workflow proposal shape returned by items; images select existing candidate IDs. Duplicate item corrections are rejected. Product version and gallery checks remain enforced. Once all scopes commit, saved auto-publish requests continue automatically. Use repair-products for corrections to already approved catalog data.
|
|
43180
|
+
*
|
|
43181
|
+
* `POST /api/v1/review-queue/{batchId}/apply`
|
|
43182
|
+
*/
|
|
43183
|
+
apply(request: OperationPath<operations["post_v1_review_queue_by_batchid_apply"]> & OperationBody<operations["post_v1_review_queue_by_batchid_apply"]>, requestOptions?: BaseRequestOptions): HttpResponsePromise<SuccessData<operations["post_v1_review_queue_by_batchid_apply"]>>;
|
|
42158
43184
|
/**
|
|
42159
43185
|
* Approve Review Queue Items
|
|
42160
43186
|
*
|
|
42161
43187
|
* Requires `catalog:write`.
|
|
42162
43188
|
|
|
42163
|
-
Applies up to 100 explicitly selected review item IDs from the job and its linked batches
|
|
43189
|
+
Applies up to 100 explicitly selected review item IDs from the job and its linked batches through the normal stale-product and gallery checks. Already applied items are safe to resubmit. Saved auto-publish requests continue after approval commits and all scopes for that product are applied. Otherwise use publish explicitly. Approval is not confirmation of marketplace publication.
|
|
42164
43190
|
*
|
|
42165
43191
|
* `POST /api/v1/review-queue/{batchId}/approve`
|
|
42166
43192
|
*/
|
|
42167
43193
|
approve(request: OperationPath<operations["post_v1_review_queue_by_batchid_approve"]> & OperationBody<operations["post_v1_review_queue_by_batchid_approve"]>, requestOptions?: BaseRequestOptions): HttpResponsePromise<SuccessData<operations["post_v1_review_queue_by_batchid_approve"]>>;
|
|
43194
|
+
/**
|
|
43195
|
+
* Diagnose Review Product Publishing
|
|
43196
|
+
*
|
|
43197
|
+
* Requires `catalog:read`. Diagnose 1–25 exact review product or physical variant IDs. Returns current canonical shipping measurements (grams and cm), product facts and images, variant values, exact store/category fields, required/missing attributes, allowed options and the latest publish job's message, code and request ID. No raw provider request bodies or credentials are exposed. Store, variant and attribute-option pages have explicit continuation offsets. success means diagnosis completed; publishReady describes saved catalog validation and does not promise marketplace acceptance. Use product.updatedAt unchanged for repairs. Only targets belonging to this organization and review are accessible.
|
|
43198
|
+
*
|
|
43199
|
+
* `POST /api/v1/review-queue/{batchId}/diagnose`
|
|
43200
|
+
*/
|
|
43201
|
+
diagnose(request: OperationPath<operations["post_v1_review_queue_by_batchid_diagnose"]> & OperationBody<operations["post_v1_review_queue_by_batchid_diagnose"]>, requestOptions?: BaseRequestOptions): HttpResponsePromise<SuccessData<operations["post_v1_review_queue_by_batchid_diagnose"]>>;
|
|
43202
|
+
/**
|
|
43203
|
+
* List Review Queue Item Details
|
|
43204
|
+
*
|
|
43205
|
+
* Requires `catalog:read`. Pages through saved proposals, issues, current/baseline/applied snapshots and publish receipts across every scope in this review job. Limit 1–50; follow nextOffset until hasMore is false. Repeat productIds to filter up to 50 products. Automation state reports each scope separately; fullyAutomatic describes configuration, not successful approval or publication.
|
|
43206
|
+
*
|
|
43207
|
+
* `GET /api/v1/review-queue/{batchId}/items`
|
|
43208
|
+
*/
|
|
43209
|
+
listItems(request: OperationPath<operations["get_v1_review_queue_by_batchid_items"]> & OperationQuery<operations["get_v1_review_queue_by_batchid_items"]>, requestOptions?: BaseRequestOptions): HttpResponsePromise<SuccessData<operations["get_v1_review_queue_by_batchid_items"]>>;
|
|
42168
43210
|
/**
|
|
42169
43211
|
* Publish Review Queue Products
|
|
42170
43212
|
*
|
|
42171
43213
|
* Requires `catalog:sync`.
|
|
42172
43214
|
|
|
42173
|
-
Specify productIds and visibility. Only products with all review scopes applied and outstanding releases to assigned marketplace stores are eligible. Optionally filter by marketplaces. Inspect every product and listing result for preparation failures. HTTP 202 confirms queue acceptance. Pass every returned correlation to POST /api/v1/commerce/jobs/await
|
|
43215
|
+
Specify productIds and visibility. Only products with all review scopes applied and outstanding releases to assigned marketplace stores are eligible. Optionally filter by marketplaces and exact storeTargets to publish only repaired or failed stores. Inspect every product and listing result for preparation failures. HTTP 202 confirms queue acceptance. Pass every returned correlation to POST /api/v1/commerce/jobs/await and verify marketplace state before reporting publication.
|
|
42174
43216
|
*
|
|
42175
43217
|
* `POST /api/v1/review-queue/{batchId}/publish`
|
|
42176
43218
|
*/
|
|
42177
43219
|
publish(request: OperationPath<operations["post_v1_review_queue_by_batchid_publish"]> & OperationBody<operations["post_v1_review_queue_by_batchid_publish"]>, requestOptions?: BaseRequestOptions): HttpResponsePromise<SuccessData<operations["post_v1_review_queue_by_batchid_publish"]>>;
|
|
43220
|
+
/**
|
|
43221
|
+
* Repair Approved Review Products
|
|
43222
|
+
*
|
|
43223
|
+
* Requires `catalog:write`. Correct 1–25 already approved products with expectedUpdatedAt copied exactly from diagnosis. Patches only supplied weight (grams), complete package dimensions (cm) and exact assigned-store category attributes. Validates keys and fixed-choice values against current marketplace metadata. Records evidence URLs and the initiating actor in review history. Conflicting versions and pending review scopes fail explicitly; correct pending proposals through apply first. Shared category attributes belong to the parent; variant values use the variant API. Does not approve or publish implicitly. Reload diagnosis and publish exact repaired stores after success. Duplicate product corrections are rejected.
|
|
43224
|
+
*
|
|
43225
|
+
* `POST /api/v1/review-queue/{batchId}/repair-products`
|
|
43226
|
+
*/
|
|
43227
|
+
repairProducts(request: OperationPath<operations["post_v1_review_queue_by_batchid_repair_products"]> & OperationBody<operations["post_v1_review_queue_by_batchid_repair_products"]>, requestOptions?: BaseRequestOptions): HttpResponsePromise<SuccessData<operations["post_v1_review_queue_by_batchid_repair_products"]>>;
|
|
43228
|
+
/**
|
|
43229
|
+
* Retry Review Queue Processing
|
|
43230
|
+
*
|
|
43231
|
+
* Requires `catalog:write`. Explicitly restart existing durable review processing. scope defaults to failed; unfinished also includes unapplied work; all may regenerate applied proposals. Optionally restrict workflow and use a supported review model. No polling schedule is created. Read items to observe processing; this does not confirm publication.
|
|
43232
|
+
*
|
|
43233
|
+
* `POST /api/v1/review-queue/{batchId}/retry`
|
|
43234
|
+
*/
|
|
43235
|
+
retry(request: OperationPath<operations["post_v1_review_queue_by_batchid_retry"]> & OperationBody<operations["post_v1_review_queue_by_batchid_retry"]>, requestOptions?: BaseRequestOptions): HttpResponsePromise<SuccessData<operations["post_v1_review_queue_by_batchid_retry"]>>;
|
|
43236
|
+
/**
|
|
43237
|
+
* Enable Review Queue Automation
|
|
43238
|
+
*
|
|
43239
|
+
* Requires both `catalog:write` and `catalog:sync`. Enable auto approval for enrichment, taxonomy and images plus saved auto-publish requests on 1–100 existing root review jobs, through the same durable worker as the app. Applies eligible proposals and continues publishing after all scopes commit. Blocked or unverified facts remain visible for the bot to diagnose and correct. Read items.automation for per-scope configuration and publishing for actual outcomes. Inspect every batch result; acceptance does not mean the job is already fully automatic or published.
|
|
43240
|
+
*
|
|
43241
|
+
* `POST /api/v1/review-queue/automation`
|
|
43242
|
+
*/
|
|
43243
|
+
enableAutomation(request: OperationBody<operations["post_v1_review_queue_automation"]>, requestOptions?: BaseRequestOptions): HttpResponsePromise<SuccessData<operations["post_v1_review_queue_automation"]>>;
|
|
42178
43244
|
/**
|
|
42179
43245
|
* Get Review Queue Settings
|
|
42180
43246
|
*
|
|
42181
43247
|
* Requires catalog:review-settings for bearer credentials and company settings read permission for delegated users.
|
|
42182
43248
|
|
|
42183
|
-
Returns the organization
|
|
43249
|
+
Returns the organization auto-apply switch and enrichment/taxonomy confidence defaults.
|
|
42184
43250
|
*
|
|
42185
43251
|
* `GET /api/v1/review-queue/settings`
|
|
42186
43252
|
*/
|
|
@@ -42190,7 +43256,7 @@ declare class ReviewQueueClient {
|
|
|
42190
43256
|
*
|
|
42191
43257
|
* Requires catalog:review-settings for bearer credentials and company settings write permission for delegated users.
|
|
42192
43258
|
|
|
42193
|
-
|
|
43259
|
+
Set autoApplyHighConfidence and/or confidence thresholds from 0.50 to 1.00. Existing review jobs retain their saved settings.
|
|
42194
43260
|
*
|
|
42195
43261
|
* `PATCH /api/v1/review-queue/settings`
|
|
42196
43262
|
*/
|
|
@@ -42869,7 +43935,7 @@ declare function constructEvent(payload: string | Uint8Array, headers: WebhookHe
|
|
|
42869
43935
|
toleranceInSeconds?: number;
|
|
42870
43936
|
}): Promise<ConstructedWebhookEvent>;
|
|
42871
43937
|
|
|
42872
|
-
declare const SDK_VERSION = "0.
|
|
43938
|
+
declare const SDK_VERSION = "0.34.0";
|
|
42873
43939
|
|
|
42874
43940
|
type ProductCreatedWebhookEvent = components["schemas"]["ProductCreatedWebhookEvent"];
|
|
42875
43941
|
type ProductUpdatedWebhookEvent = components["schemas"]["ProductUpdatedWebhookEvent"];
|