@poweredbysous/storefront-all-sdk 7.1.1 → 7.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/dist/index.d.cts +1493 -373
  2. package/dist/index.d.ts +1493 -373
  3. package/package.json +1 -1
package/dist/index.d.cts CHANGED
@@ -1170,6 +1170,181 @@ interface paths {
1170
1170
  patch: operations["admin_promotions_partial_update"];
1171
1171
  trace?: never;
1172
1172
  };
1173
+ "/api/v1/admin/readiness/stores/": {
1174
+ parameters: {
1175
+ query?: never;
1176
+ header?: never;
1177
+ path?: never;
1178
+ cookie?: never;
1179
+ };
1180
+ /**
1181
+ * Stores that can be checked for readiness
1182
+ * @description Stores' ``public_id`` and ``name``, 50 a page, for backoffice tokens only.
1183
+ *
1184
+ * Evaluates no rules. ``?search=`` matches name or public id, on the server,
1185
+ * because the browser only ever holds one page.
1186
+ */
1187
+ get: operations["admin_readiness_stores_list"];
1188
+ put?: never;
1189
+ post?: never;
1190
+ delete?: never;
1191
+ options?: never;
1192
+ head?: never;
1193
+ patch?: never;
1194
+ trace?: never;
1195
+ };
1196
+ "/api/v1/admin/readiness/stores/{public_id}/": {
1197
+ parameters: {
1198
+ query?: never;
1199
+ header?: never;
1200
+ path?: never;
1201
+ cookie?: never;
1202
+ };
1203
+ /**
1204
+ * A store's readiness checks
1205
+ * @description One store's readiness, for backoffice (``is_admin``) tokens only.
1206
+ *
1207
+ * Needs no ``X-Sous-Company-Id``: a backoffice token reads any store.
1208
+ * Models are ``ReplicaSafe`` where they opt in, so reads follow the router.
1209
+ */
1210
+ get: operations["admin_readiness_stores_retrieve"];
1211
+ put?: never;
1212
+ post?: never;
1213
+ delete?: never;
1214
+ options?: never;
1215
+ head?: never;
1216
+ patch?: never;
1217
+ trace?: never;
1218
+ };
1219
+ "/api/v1/admin/readiness/stores/{public_id}/exceptions/": {
1220
+ parameters: {
1221
+ query?: never;
1222
+ header?: never;
1223
+ path?: never;
1224
+ cookie?: never;
1225
+ };
1226
+ get?: never;
1227
+ put?: never;
1228
+ /**
1229
+ * Except a check for a store until a date (at most 90 days)
1230
+ * @description Backoffice (``is_admin``) Firebase tokens only; no company header needed.
1231
+ */
1232
+ post: operations["admin_readiness_stores_exceptions_create"];
1233
+ delete?: never;
1234
+ options?: never;
1235
+ head?: never;
1236
+ patch?: never;
1237
+ trace?: never;
1238
+ };
1239
+ "/api/v1/admin/readiness/stores/{public_id}/go-live/": {
1240
+ parameters: {
1241
+ query?: never;
1242
+ header?: never;
1243
+ path?: never;
1244
+ cookie?: never;
1245
+ };
1246
+ /**
1247
+ * What confirming go-live covers, and must acknowledge
1248
+ * @description Backoffice (``is_admin``) Firebase tokens only; no company header needed.
1249
+ */
1250
+ get: operations["admin_readiness_stores_go_live_retrieve"];
1251
+ put?: never;
1252
+ /**
1253
+ * Confirm go-live, acknowledging each failing blocking check
1254
+ * @description Backoffice (``is_admin``) Firebase tokens only; no company header needed.
1255
+ */
1256
+ post: operations["admin_readiness_stores_go_live_create"];
1257
+ delete?: never;
1258
+ options?: never;
1259
+ head?: never;
1260
+ patch?: never;
1261
+ trace?: never;
1262
+ };
1263
+ "/api/v1/admin/readiness/stores/{public_id}/lifecycle/": {
1264
+ parameters: {
1265
+ query?: never;
1266
+ header?: never;
1267
+ path?: never;
1268
+ cookie?: never;
1269
+ };
1270
+ get?: never;
1271
+ put?: never;
1272
+ /**
1273
+ * Pause, churn or resume a store
1274
+ * @description Backoffice (``is_admin``) Firebase tokens only; no company header needed.
1275
+ */
1276
+ post: operations["admin_readiness_stores_lifecycle_create"];
1277
+ delete?: never;
1278
+ options?: never;
1279
+ head?: never;
1280
+ patch?: never;
1281
+ trace?: never;
1282
+ };
1283
+ "/api/v1/admin/readiness/stores/{public_id}/probes/": {
1284
+ parameters: {
1285
+ query?: never;
1286
+ header?: never;
1287
+ path?: never;
1288
+ cookie?: never;
1289
+ };
1290
+ get?: never;
1291
+ put?: never;
1292
+ /**
1293
+ * Run a store's readiness probes
1294
+ * @description Run one store's probes now and return the whole readiness result.
1295
+ *
1296
+ * Probes call outside providers (read-only), so they run only here, never on
1297
+ * ``GET``. They run in the request within a 20s budget, each with its own
1298
+ * timeout; a provider that does not answer reads ``unknown``. Same access as
1299
+ * the ``GET``: backoffice tokens only.
1300
+ */
1301
+ post: operations["admin_readiness_store_probes_run"];
1302
+ delete?: never;
1303
+ options?: never;
1304
+ head?: never;
1305
+ patch?: never;
1306
+ trace?: never;
1307
+ };
1308
+ "/api/v1/admin/readiness/stores/{public_id}/ticks/": {
1309
+ parameters: {
1310
+ query?: never;
1311
+ header?: never;
1312
+ path?: never;
1313
+ cookie?: never;
1314
+ };
1315
+ get?: never;
1316
+ put?: never;
1317
+ /**
1318
+ * Tick a manual checklist item
1319
+ * @description Backoffice (``is_admin``) Firebase tokens only; no company header needed.
1320
+ */
1321
+ post: operations["admin_readiness_stores_ticks_create"];
1322
+ delete?: never;
1323
+ options?: never;
1324
+ head?: never;
1325
+ patch?: never;
1326
+ trace?: never;
1327
+ };
1328
+ "/api/v1/admin/readiness/stores/{public_id}/ticks/{rule_id}/": {
1329
+ parameters: {
1330
+ query?: never;
1331
+ header?: never;
1332
+ path?: never;
1333
+ cookie?: never;
1334
+ };
1335
+ get?: never;
1336
+ put?: never;
1337
+ post?: never;
1338
+ /**
1339
+ * Withdraw a manual checklist tick
1340
+ * @description Backoffice (``is_admin``) Firebase tokens only; no company header needed.
1341
+ */
1342
+ delete: operations["admin_readiness_stores_ticks_destroy"];
1343
+ options?: never;
1344
+ head?: never;
1345
+ patch?: never;
1346
+ trace?: never;
1347
+ };
1173
1348
  "/api/v1/admin/store-fulfillment-types/": {
1174
1349
  parameters: {
1175
1350
  query?: never;
@@ -2266,7 +2441,13 @@ interface paths {
2266
2441
  };
2267
2442
  /**
2268
2443
  * @description The dates every line of the cart can be fulfilled on, for one
2269
- * fulfilment type (design R3 to R7). Read-only; changes no cart.
2444
+ * fulfilment type, up to the pre-order horizon. Read-only; changes no
2445
+ * cart.
2446
+ *
2447
+ * An exploreSOUS cart is judged by every rule its checkout enforces
2448
+ * (design R3 to R7). A cart on any other channel is judged by the
2449
+ * product's own dates and order-until date alone, from today: the days its
2450
+ * products allow, not whether the store is open or has slots on them.
2270
2451
  */
2271
2452
  get: operations["cart_fulfilment_dates_retrieve"];
2272
2453
  put?: never;
@@ -6607,9 +6788,13 @@ interface paths {
6607
6788
  };
6608
6789
  /**
6609
6790
  * @description The dates this product can be ordered for, within the location's
6610
- * pre-order horizon, as the cart's ``fulfilment-dates`` lists them for
6611
- * a basket holding only this product's line, so the storefront can tell
6612
- * a customer when a product it hides for their date is available.
6791
+ * pre-order horizon, so the storefront can tell a customer when a
6792
+ * product it hides for their date is available.
6793
+ *
6794
+ * Answers by the exploreSOUS rules whatever the caller's channel, as the
6795
+ * cart's ``fulfilment-dates`` does for an exploreSOUS basket holding only
6796
+ * this product's line. For a storefront cart that read judges the
6797
+ * product's own dates alone, so this can list fewer days than it does.
6613
6798
  */
6614
6799
  get: operations["products_orderable_dates_retrieve"];
6615
6800
  put?: never;
@@ -7384,6 +7569,23 @@ interface paths {
7384
7569
  patch?: never;
7385
7570
  trace?: never;
7386
7571
  };
7572
+ "/api/v1/sync/merchant-portal/stores/{store_public_id}/compliance-values/": {
7573
+ parameters: {
7574
+ query?: never;
7575
+ header?: never;
7576
+ path?: never;
7577
+ cookie?: never;
7578
+ };
7579
+ /** @description One page of the store's products that hold a brand compliance value. */
7580
+ get: operations["sync_store_compliance_values"];
7581
+ put?: never;
7582
+ post?: never;
7583
+ delete?: never;
7584
+ options?: never;
7585
+ head?: never;
7586
+ patch?: never;
7587
+ trace?: never;
7588
+ };
7387
7589
  "/api/v1/ucp/capabilities/": {
7388
7590
  parameters: {
7389
7591
  query?: never;
@@ -7733,6 +7935,13 @@ interface components {
7733
7935
  /** @description Correlation ID included when available. */
7734
7936
  request_id?: string;
7735
7937
  };
7938
+ /**
7939
+ * @description * `pause` - Pause
7940
+ * * `churn` - Churn
7941
+ * * `resume` - Resume
7942
+ * @enum {string}
7943
+ */
7944
+ ActionEnum: "pause" | "churn" | "resume";
7736
7945
  AddAdjustment: {
7737
7946
  description: string;
7738
7947
  /** Format: decimal */
@@ -9045,6 +9254,9 @@ interface components {
9045
9254
  /** Format: date-time */
9046
9255
  confirmed_at: string | null;
9047
9256
  is_attested: boolean;
9257
+ /** @default false */
9258
+ confirmed_by_brand: boolean;
9259
+ brand_locked_slugs?: string[];
9048
9260
  };
9049
9261
  /**
9050
9262
  * @description The 400 body of ``POST .../confirm-compliance``.
@@ -9080,6 +9292,10 @@ interface components {
9080
9292
  legacy_product_info_enabled: boolean;
9081
9293
  fields: components["schemas"]["ComplianceSchemaField"][];
9082
9294
  };
9295
+ ComplianceValuesResponse: {
9296
+ results: components["schemas"]["ProductComplianceValues"][];
9297
+ next_after: number | null;
9298
+ };
9083
9299
  ConfirmEdit: {
9084
9300
  payment_strategy: components["schemas"]["PaymentStrategyEnum"];
9085
9301
  };
@@ -9766,6 +9982,12 @@ interface components {
9766
9982
  * @enum {string}
9767
9983
  */
9768
9984
  EventTypeEnum: "impression" | "click" | "dismiss";
9985
+ ExceptionRequest: {
9986
+ rule_id: string;
9987
+ reason: string;
9988
+ /** Format: date */
9989
+ expires_on: string;
9990
+ };
9769
9991
  /** @description Why a retry sends a store's own failed push nowhere (409). */
9770
9992
  FailedPushNotResent: {
9771
9993
  detail: string;
@@ -9809,6 +10031,24 @@ interface components {
9809
10031
  products_assigned: number;
9810
10032
  products_unassigned: number;
9811
10033
  };
10034
+ GoLiveAcknowledgementRequired: {
10035
+ error: components["schemas"]["GoLiveAcknowledgementRequiredError"];
10036
+ };
10037
+ GoLiveAcknowledgementRequiredDetails: {
10038
+ /** @description The failing checks not yet acknowledged, in the shape of the go-live plan's ``required`` items. */
10039
+ required: {
10040
+ [key: string]: unknown;
10041
+ }[];
10042
+ };
10043
+ GoLiveAcknowledgementRequiredError: {
10044
+ code: string;
10045
+ message: string;
10046
+ details: components["schemas"]["GoLiveAcknowledgementRequiredDetails"];
10047
+ request_id?: string;
10048
+ };
10049
+ GoLiveRequest: {
10050
+ acknowledged: string[];
10051
+ };
9812
10052
  GroupEditResult: {
9813
10053
  products_affected: number;
9814
10054
  group: components["schemas"]["LibraryGroup"];
@@ -10347,12 +10587,18 @@ interface components {
10347
10587
  snoozed: boolean;
10348
10588
  groups: components["schemas"]["OptionInGroup"][];
10349
10589
  used_in: components["schemas"]["UsedInProduct"][];
10590
+ modifier_ids: number[];
10350
10591
  };
10351
10592
  LibrarySummary: {
10352
10593
  enabled: boolean;
10353
10594
  option_count: number;
10354
10595
  group_count: number;
10355
10596
  };
10597
+ LifecycleRequest: {
10598
+ action: components["schemas"]["ActionEnum"];
10599
+ /** @default */
10600
+ reason: string;
10601
+ };
10356
10602
  /** @description One failed outbound push row. */
10357
10603
  LightspeedFailedPush: {
10358
10604
  id: number;
@@ -12372,6 +12618,15 @@ interface components {
12372
12618
  /** @description Place in the Explore menu, 1 first; null when not on the menu. */
12373
12619
  menu_position: number | null;
12374
12620
  };
12621
+ ProductComplianceValues: {
12622
+ product_id: number;
12623
+ values: {
12624
+ [key: string]: {
12625
+ [key: string]: unknown;
12626
+ };
12627
+ };
12628
+ attested: boolean;
12629
+ };
12375
12630
  /** @description Which products reach the address, and the badges each carries there. */
12376
12631
  ProductDeliverability: {
12377
12632
  results: components["schemas"]["ProductDeliverabilityItem"][];
@@ -13697,6 +13952,9 @@ interface components {
13697
13952
  * @enum {string}
13698
13953
  */
13699
13954
  ThrottledResponseCodeEnum: "throttled";
13955
+ TickRequest: {
13956
+ rule_id: string;
13957
+ };
13700
13958
  TokenRefreshResponse: {
13701
13959
  token: string;
13702
13960
  };
@@ -15944,11 +16202,254 @@ interface operations {
15944
16202
  };
15945
16203
  };
15946
16204
  };
15947
- admin_pages_create: {
16205
+ admin_pages_create: {
16206
+ parameters: {
16207
+ query?: never;
16208
+ header?: never;
16209
+ path?: never;
16210
+ cookie?: never;
16211
+ };
16212
+ requestBody?: {
16213
+ content: {
16214
+ "application/json": {
16215
+ [key: string]: unknown;
16216
+ };
16217
+ "application/x-www-form-urlencoded": {
16218
+ [key: string]: unknown;
16219
+ };
16220
+ "multipart/form-data": {
16221
+ [key: string]: unknown;
16222
+ };
16223
+ };
16224
+ };
16225
+ responses: {
16226
+ 201: {
16227
+ headers: {
16228
+ [name: string]: unknown;
16229
+ };
16230
+ content: {
16231
+ "application/json": {
16232
+ [key: string]: unknown;
16233
+ };
16234
+ };
16235
+ };
16236
+ /** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `INVALID_BLOCK_TYPE`. Use `x-error-codes` for machine-readable retryability metadata. */
16237
+ 400: {
16238
+ headers: {
16239
+ [name: string]: unknown;
16240
+ };
16241
+ content: {
16242
+ "application/json": components["schemas"]["APIErrorEnvelope"];
16243
+ };
16244
+ };
16245
+ /** @description Possible error codes include `UNAUTHORIZED`. Use `x-error-codes` for machine-readable retryability metadata. */
16246
+ 401: {
16247
+ headers: {
16248
+ [name: string]: unknown;
16249
+ };
16250
+ content: {
16251
+ "application/json": components["schemas"]["APIErrorEnvelope"];
16252
+ };
16253
+ };
16254
+ /** @description Possible error codes include `FORBIDDEN`. Use `x-error-codes` for machine-readable retryability metadata. */
16255
+ 403: {
16256
+ headers: {
16257
+ [name: string]: unknown;
16258
+ };
16259
+ content: {
16260
+ "application/json": components["schemas"]["APIErrorEnvelope"];
16261
+ };
16262
+ };
16263
+ /** @description Possible error codes include `NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `PAGE_NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `BLOCK_NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. */
16264
+ 404: {
16265
+ headers: {
16266
+ [name: string]: unknown;
16267
+ };
16268
+ content: {
16269
+ "application/json": components["schemas"]["APIErrorEnvelope"];
16270
+ };
16271
+ };
16272
+ /** @description Possible error codes include `RATE_LIMITED`. Use `x-error-codes` for machine-readable retryability metadata. */
16273
+ 429: {
16274
+ headers: {
16275
+ [name: string]: unknown;
16276
+ };
16277
+ content: {
16278
+ "application/json": components["schemas"]["APIErrorEnvelope"];
16279
+ };
16280
+ };
16281
+ /** @description Possible error codes include `INTERNAL_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
16282
+ 500: {
16283
+ headers: {
16284
+ [name: string]: unknown;
16285
+ };
16286
+ content: {
16287
+ "application/json": components["schemas"]["APIErrorEnvelope"];
16288
+ };
16289
+ };
16290
+ };
16291
+ };
16292
+ admin_pages_detail: {
16293
+ parameters: {
16294
+ query?: {
16295
+ /** @description Language override for translated content. The primary mechanism is the `Accept-Language` header; this query parameter is an override for widget embedding where merchants cannot control browser headers. Defaults to `en`. */
16296
+ lang?: string;
16297
+ };
16298
+ header?: never;
16299
+ path: {
16300
+ page_id: string;
16301
+ };
16302
+ cookie?: never;
16303
+ };
16304
+ requestBody?: never;
16305
+ responses: {
16306
+ 200: {
16307
+ headers: {
16308
+ [name: string]: unknown;
16309
+ };
16310
+ content: {
16311
+ "application/json": {
16312
+ [key: string]: unknown;
16313
+ };
16314
+ };
16315
+ };
16316
+ /** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `INVALID_BLOCK_TYPE`. Use `x-error-codes` for machine-readable retryability metadata. */
16317
+ 400: {
16318
+ headers: {
16319
+ [name: string]: unknown;
16320
+ };
16321
+ content: {
16322
+ "application/json": components["schemas"]["APIErrorEnvelope"];
16323
+ };
16324
+ };
16325
+ /** @description Possible error codes include `UNAUTHORIZED`. Use `x-error-codes` for machine-readable retryability metadata. */
16326
+ 401: {
16327
+ headers: {
16328
+ [name: string]: unknown;
16329
+ };
16330
+ content: {
16331
+ "application/json": components["schemas"]["APIErrorEnvelope"];
16332
+ };
16333
+ };
16334
+ /** @description Possible error codes include `FORBIDDEN`. Use `x-error-codes` for machine-readable retryability metadata. */
16335
+ 403: {
16336
+ headers: {
16337
+ [name: string]: unknown;
16338
+ };
16339
+ content: {
16340
+ "application/json": components["schemas"]["APIErrorEnvelope"];
16341
+ };
16342
+ };
16343
+ /** @description Possible error codes include `NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `PAGE_NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `BLOCK_NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. */
16344
+ 404: {
16345
+ headers: {
16346
+ [name: string]: unknown;
16347
+ };
16348
+ content: {
16349
+ "application/json": components["schemas"]["APIErrorEnvelope"];
16350
+ };
16351
+ };
16352
+ /** @description Possible error codes include `RATE_LIMITED`. Use `x-error-codes` for machine-readable retryability metadata. */
16353
+ 429: {
16354
+ headers: {
16355
+ [name: string]: unknown;
16356
+ };
16357
+ content: {
16358
+ "application/json": components["schemas"]["APIErrorEnvelope"];
16359
+ };
16360
+ };
16361
+ /** @description Possible error codes include `INTERNAL_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
16362
+ 500: {
16363
+ headers: {
16364
+ [name: string]: unknown;
16365
+ };
16366
+ content: {
16367
+ "application/json": components["schemas"]["APIErrorEnvelope"];
16368
+ };
16369
+ };
16370
+ };
16371
+ };
16372
+ admin_pages_destroy: {
16373
+ parameters: {
16374
+ query?: never;
16375
+ header?: never;
16376
+ path: {
16377
+ page_id: string;
16378
+ };
16379
+ cookie?: never;
16380
+ };
16381
+ requestBody?: never;
16382
+ responses: {
16383
+ /** @description No response body */
16384
+ 204: {
16385
+ headers: {
16386
+ [name: string]: unknown;
16387
+ };
16388
+ content?: never;
16389
+ };
16390
+ /** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `INVALID_BLOCK_TYPE`. Use `x-error-codes` for machine-readable retryability metadata. */
16391
+ 400: {
16392
+ headers: {
16393
+ [name: string]: unknown;
16394
+ };
16395
+ content: {
16396
+ "application/json": components["schemas"]["APIErrorEnvelope"];
16397
+ };
16398
+ };
16399
+ /** @description Possible error codes include `UNAUTHORIZED`. Use `x-error-codes` for machine-readable retryability metadata. */
16400
+ 401: {
16401
+ headers: {
16402
+ [name: string]: unknown;
16403
+ };
16404
+ content: {
16405
+ "application/json": components["schemas"]["APIErrorEnvelope"];
16406
+ };
16407
+ };
16408
+ /** @description Possible error codes include `FORBIDDEN`. Use `x-error-codes` for machine-readable retryability metadata. */
16409
+ 403: {
16410
+ headers: {
16411
+ [name: string]: unknown;
16412
+ };
16413
+ content: {
16414
+ "application/json": components["schemas"]["APIErrorEnvelope"];
16415
+ };
16416
+ };
16417
+ /** @description Possible error codes include `NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `PAGE_NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `BLOCK_NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. */
16418
+ 404: {
16419
+ headers: {
16420
+ [name: string]: unknown;
16421
+ };
16422
+ content: {
16423
+ "application/json": components["schemas"]["APIErrorEnvelope"];
16424
+ };
16425
+ };
16426
+ /** @description Possible error codes include `RATE_LIMITED`. Use `x-error-codes` for machine-readable retryability metadata. */
16427
+ 429: {
16428
+ headers: {
16429
+ [name: string]: unknown;
16430
+ };
16431
+ content: {
16432
+ "application/json": components["schemas"]["APIErrorEnvelope"];
16433
+ };
16434
+ };
16435
+ /** @description Possible error codes include `INTERNAL_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
16436
+ 500: {
16437
+ headers: {
16438
+ [name: string]: unknown;
16439
+ };
16440
+ content: {
16441
+ "application/json": components["schemas"]["APIErrorEnvelope"];
16442
+ };
16443
+ };
16444
+ };
16445
+ };
16446
+ admin_pages_partial_update: {
15948
16447
  parameters: {
15949
16448
  query?: never;
15950
16449
  header?: never;
15951
- path?: never;
16450
+ path: {
16451
+ page_id: string;
16452
+ };
15952
16453
  cookie?: never;
15953
16454
  };
15954
16455
  requestBody?: {
@@ -15965,7 +16466,7 @@ interface operations {
15965
16466
  };
15966
16467
  };
15967
16468
  responses: {
15968
- 201: {
16469
+ 200: {
15969
16470
  headers: {
15970
16471
  [name: string]: unknown;
15971
16472
  };
@@ -16031,21 +16532,30 @@ interface operations {
16031
16532
  };
16032
16533
  };
16033
16534
  };
16034
- admin_pages_detail: {
16535
+ admin_pages_blocks_create: {
16035
16536
  parameters: {
16036
- query?: {
16037
- /** @description Language override for translated content. The primary mechanism is the `Accept-Language` header; this query parameter is an override for widget embedding where merchants cannot control browser headers. Defaults to `en`. */
16038
- lang?: string;
16039
- };
16537
+ query?: never;
16040
16538
  header?: never;
16041
16539
  path: {
16042
16540
  page_id: string;
16043
16541
  };
16044
16542
  cookie?: never;
16045
16543
  };
16046
- requestBody?: never;
16544
+ requestBody?: {
16545
+ content: {
16546
+ "application/json": {
16547
+ [key: string]: unknown;
16548
+ };
16549
+ "application/x-www-form-urlencoded": {
16550
+ [key: string]: unknown;
16551
+ };
16552
+ "multipart/form-data": {
16553
+ [key: string]: unknown;
16554
+ };
16555
+ };
16556
+ };
16047
16557
  responses: {
16048
- 200: {
16558
+ 201: {
16049
16559
  headers: {
16050
16560
  [name: string]: unknown;
16051
16561
  };
@@ -16111,11 +16621,12 @@ interface operations {
16111
16621
  };
16112
16622
  };
16113
16623
  };
16114
- admin_pages_destroy: {
16624
+ admin_pages_blocks_destroy: {
16115
16625
  parameters: {
16116
16626
  query?: never;
16117
16627
  header?: never;
16118
16628
  path: {
16629
+ block_id: string;
16119
16630
  page_id: string;
16120
16631
  };
16121
16632
  cookie?: never;
@@ -16185,11 +16696,12 @@ interface operations {
16185
16696
  };
16186
16697
  };
16187
16698
  };
16188
- admin_pages_partial_update: {
16699
+ admin_pages_blocks_partial_update: {
16189
16700
  parameters: {
16190
16701
  query?: never;
16191
16702
  header?: never;
16192
16703
  path: {
16704
+ block_id: string;
16193
16705
  page_id: string;
16194
16706
  };
16195
16707
  cookie?: never;
@@ -16274,7 +16786,7 @@ interface operations {
16274
16786
  };
16275
16787
  };
16276
16788
  };
16277
- admin_pages_blocks_create: {
16789
+ admin_pages_blocks_reorder_update: {
16278
16790
  parameters: {
16279
16791
  query?: never;
16280
16792
  header?: never;
@@ -16297,7 +16809,7 @@ interface operations {
16297
16809
  };
16298
16810
  };
16299
16811
  responses: {
16300
- 201: {
16812
+ 200: {
16301
16813
  headers: {
16302
16814
  [name: string]: unknown;
16303
16815
  };
@@ -16363,24 +16875,26 @@ interface operations {
16363
16875
  };
16364
16876
  };
16365
16877
  };
16366
- admin_pages_blocks_destroy: {
16878
+ admin_pages_duplicate_create: {
16367
16879
  parameters: {
16368
16880
  query?: never;
16369
16881
  header?: never;
16370
16882
  path: {
16371
- block_id: string;
16372
16883
  page_id: string;
16373
16884
  };
16374
16885
  cookie?: never;
16375
16886
  };
16376
16887
  requestBody?: never;
16377
16888
  responses: {
16378
- /** @description No response body */
16379
- 204: {
16889
+ 201: {
16380
16890
  headers: {
16381
16891
  [name: string]: unknown;
16382
16892
  };
16383
- content?: never;
16893
+ content: {
16894
+ "application/json": {
16895
+ [key: string]: unknown;
16896
+ };
16897
+ };
16384
16898
  };
16385
16899
  /** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `INVALID_BLOCK_TYPE`. Use `x-error-codes` for machine-readable retryability metadata. */
16386
16900
  400: {
@@ -16438,12 +16952,11 @@ interface operations {
16438
16952
  };
16439
16953
  };
16440
16954
  };
16441
- admin_pages_blocks_partial_update: {
16955
+ admin_pages_publish_create: {
16442
16956
  parameters: {
16443
16957
  query?: never;
16444
16958
  header?: never;
16445
16959
  path: {
16446
- block_id: string;
16447
16960
  page_id: string;
16448
16961
  };
16449
16962
  cookie?: never;
@@ -16478,7 +16991,9 @@ interface operations {
16478
16991
  [name: string]: unknown;
16479
16992
  };
16480
16993
  content: {
16481
- "application/json": components["schemas"]["APIErrorEnvelope"];
16994
+ "application/json": {
16995
+ [key: string]: unknown;
16996
+ };
16482
16997
  };
16483
16998
  };
16484
16999
  /** @description Possible error codes include `UNAUTHORIZED`. Use `x-error-codes` for machine-readable retryability metadata. */
@@ -16528,30 +17043,142 @@ interface operations {
16528
17043
  };
16529
17044
  };
16530
17045
  };
16531
- admin_pages_blocks_reorder_update: {
17046
+ admin_printing_order_jobs: {
16532
17047
  parameters: {
16533
- query?: never;
16534
- header?: never;
16535
- path: {
16536
- page_id: string;
17048
+ query: {
17049
+ order_id: string;
17050
+ store_id: number;
16537
17051
  };
17052
+ header?: {
17053
+ /** @description Company the request acts on. Ignored for merchant tokens (scoped to their own company); required for admin tokens to select a company. */
17054
+ "X-Sous-Company-Id"?: number;
17055
+ };
17056
+ path?: never;
16538
17057
  cookie?: never;
16539
17058
  };
16540
- requestBody?: {
16541
- content: {
16542
- "application/json": {
16543
- [key: string]: unknown;
17059
+ requestBody?: never;
17060
+ responses: {
17061
+ 200: {
17062
+ headers: {
17063
+ [name: string]: unknown;
16544
17064
  };
16545
- "application/x-www-form-urlencoded": {
16546
- [key: string]: unknown;
17065
+ content: {
17066
+ "application/json": components["schemas"]["PrintJobsResponse"];
16547
17067
  };
16548
- "multipart/form-data": {
16549
- [key: string]: unknown;
17068
+ };
17069
+ /** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
17070
+ 400: {
17071
+ headers: {
17072
+ [name: string]: unknown;
17073
+ };
17074
+ content: {
17075
+ "application/json": components["schemas"]["APIErrorEnvelope"];
17076
+ };
17077
+ };
17078
+ /** @description Possible error codes include `UNAUTHORIZED`. Use `x-error-codes` for machine-readable retryability metadata. */
17079
+ 401: {
17080
+ headers: {
17081
+ [name: string]: unknown;
17082
+ };
17083
+ content: {
17084
+ "application/json": components["schemas"]["APIErrorEnvelope"];
17085
+ };
17086
+ };
17087
+ /** @description Possible error codes include `FORBIDDEN`. Use `x-error-codes` for machine-readable retryability metadata. */
17088
+ 403: {
17089
+ headers: {
17090
+ [name: string]: unknown;
17091
+ };
17092
+ content: {
17093
+ "application/json": components["schemas"]["APIErrorEnvelope"];
17094
+ };
17095
+ };
17096
+ /** @description Possible error codes include `NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. */
17097
+ 404: {
17098
+ headers: {
17099
+ [name: string]: unknown;
17100
+ };
17101
+ content: {
17102
+ "application/json": {
17103
+ [key: string]: unknown;
17104
+ };
17105
+ };
17106
+ };
17107
+ /** @description Possible error codes include `RATE_LIMITED`. Use `x-error-codes` for machine-readable retryability metadata. */
17108
+ 429: {
17109
+ headers: {
17110
+ [name: string]: unknown;
17111
+ };
17112
+ content: {
17113
+ "application/json": components["schemas"]["APIErrorEnvelope"];
17114
+ };
17115
+ };
17116
+ /** @description Possible error codes include `INTERNAL_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
17117
+ 500: {
17118
+ headers: {
17119
+ [name: string]: unknown;
17120
+ };
17121
+ content: {
17122
+ "application/json": components["schemas"]["APIErrorEnvelope"];
16550
17123
  };
16551
17124
  };
16552
17125
  };
17126
+ };
17127
+ admin_printing_print_order: {
17128
+ parameters: {
17129
+ query?: never;
17130
+ header?: {
17131
+ /** @description Company the request acts on. Ignored for merchant tokens (scoped to their own company); required for admin tokens to select a company. */
17132
+ "X-Sous-Company-Id"?: number;
17133
+ };
17134
+ path?: never;
17135
+ cookie?: never;
17136
+ };
17137
+ requestBody: {
17138
+ content: {
17139
+ "application/json": components["schemas"]["MerchantPrintOrderRequest"];
17140
+ "application/x-www-form-urlencoded": components["schemas"]["MerchantPrintOrderRequest"];
17141
+ "multipart/form-data": components["schemas"]["MerchantPrintOrderRequest"];
17142
+ };
17143
+ };
16553
17144
  responses: {
16554
- 200: {
17145
+ 202: {
17146
+ headers: {
17147
+ [name: string]: unknown;
17148
+ };
17149
+ content: {
17150
+ "application/json": components["schemas"]["PrintJobsResponse"];
17151
+ };
17152
+ };
17153
+ /** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
17154
+ 400: {
17155
+ headers: {
17156
+ [name: string]: unknown;
17157
+ };
17158
+ content: {
17159
+ "application/json": components["schemas"]["APIErrorEnvelope"];
17160
+ };
17161
+ };
17162
+ /** @description Possible error codes include `UNAUTHORIZED`. Use `x-error-codes` for machine-readable retryability metadata. */
17163
+ 401: {
17164
+ headers: {
17165
+ [name: string]: unknown;
17166
+ };
17167
+ content: {
17168
+ "application/json": components["schemas"]["APIErrorEnvelope"];
17169
+ };
17170
+ };
17171
+ /** @description Possible error codes include `FORBIDDEN`. Use `x-error-codes` for machine-readable retryability metadata. */
17172
+ 403: {
17173
+ headers: {
17174
+ [name: string]: unknown;
17175
+ };
17176
+ content: {
17177
+ "application/json": components["schemas"]["APIErrorEnvelope"];
17178
+ };
17179
+ };
17180
+ /** @description Possible error codes include `NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. */
17181
+ 404: {
16555
17182
  headers: {
16556
17183
  [name: string]: unknown;
16557
17184
  };
@@ -16561,7 +17188,59 @@ interface operations {
16561
17188
  };
16562
17189
  };
16563
17190
  };
16564
- /** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `INVALID_BLOCK_TYPE`. Use `x-error-codes` for machine-readable retryability metadata. */
17191
+ 409: {
17192
+ headers: {
17193
+ [name: string]: unknown;
17194
+ };
17195
+ content: {
17196
+ "application/json": {
17197
+ [key: string]: unknown;
17198
+ };
17199
+ };
17200
+ };
17201
+ /** @description Possible error codes include `RATE_LIMITED`. Use `x-error-codes` for machine-readable retryability metadata. */
17202
+ 429: {
17203
+ headers: {
17204
+ [name: string]: unknown;
17205
+ };
17206
+ content: {
17207
+ "application/json": components["schemas"]["APIErrorEnvelope"];
17208
+ };
17209
+ };
17210
+ /** @description Possible error codes include `INTERNAL_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
17211
+ 500: {
17212
+ headers: {
17213
+ [name: string]: unknown;
17214
+ };
17215
+ content: {
17216
+ "application/json": components["schemas"]["APIErrorEnvelope"];
17217
+ };
17218
+ };
17219
+ };
17220
+ };
17221
+ admin_printing_store_devices: {
17222
+ parameters: {
17223
+ query?: never;
17224
+ header?: {
17225
+ /** @description Company the request acts on. Ignored for merchant tokens (scoped to their own company); required for admin tokens to select a company. */
17226
+ "X-Sous-Company-Id"?: number;
17227
+ };
17228
+ path: {
17229
+ store_public_id: string;
17230
+ };
17231
+ cookie?: never;
17232
+ };
17233
+ requestBody?: never;
17234
+ responses: {
17235
+ 200: {
17236
+ headers: {
17237
+ [name: string]: unknown;
17238
+ };
17239
+ content: {
17240
+ "application/json": components["schemas"]["PrintDevicesResponse"];
17241
+ };
17242
+ };
17243
+ /** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
16565
17244
  400: {
16566
17245
  headers: {
16567
17246
  [name: string]: unknown;
@@ -16588,13 +17267,15 @@ interface operations {
16588
17267
  "application/json": components["schemas"]["APIErrorEnvelope"];
16589
17268
  };
16590
17269
  };
16591
- /** @description Possible error codes include `NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `PAGE_NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `BLOCK_NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. */
17270
+ /** @description Possible error codes include `NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. */
16592
17271
  404: {
16593
17272
  headers: {
16594
17273
  [name: string]: unknown;
16595
17274
  };
16596
17275
  content: {
16597
- "application/json": components["schemas"]["APIErrorEnvelope"];
17276
+ "application/json": {
17277
+ [key: string]: unknown;
17278
+ };
16598
17279
  };
16599
17280
  };
16600
17281
  /** @description Possible error codes include `RATE_LIMITED`. Use `x-error-codes` for machine-readable retryability metadata. */
@@ -16617,28 +17298,35 @@ interface operations {
16617
17298
  };
16618
17299
  };
16619
17300
  };
16620
- admin_pages_duplicate_create: {
17301
+ admin_printing_add_store_device: {
16621
17302
  parameters: {
16622
17303
  query?: never;
16623
- header?: never;
17304
+ header?: {
17305
+ /** @description Company the request acts on. Ignored for merchant tokens (scoped to their own company); required for admin tokens to select a company. */
17306
+ "X-Sous-Company-Id"?: number;
17307
+ };
16624
17308
  path: {
16625
- page_id: string;
17309
+ store_public_id: string;
16626
17310
  };
16627
17311
  cookie?: never;
16628
17312
  };
16629
- requestBody?: never;
17313
+ requestBody: {
17314
+ content: {
17315
+ "application/json": components["schemas"]["PrintDeviceCreateRequest"];
17316
+ "application/x-www-form-urlencoded": components["schemas"]["PrintDeviceCreateRequest"];
17317
+ "multipart/form-data": components["schemas"]["PrintDeviceCreateRequest"];
17318
+ };
17319
+ };
16630
17320
  responses: {
16631
17321
  201: {
16632
17322
  headers: {
16633
17323
  [name: string]: unknown;
16634
17324
  };
16635
17325
  content: {
16636
- "application/json": {
16637
- [key: string]: unknown;
16638
- };
17326
+ "application/json": components["schemas"]["PrintDevice"];
16639
17327
  };
16640
17328
  };
16641
- /** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `INVALID_BLOCK_TYPE`. Use `x-error-codes` for machine-readable retryability metadata. */
17329
+ /** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
16642
17330
  400: {
16643
17331
  headers: {
16644
17332
  [name: string]: unknown;
@@ -16662,16 +17350,40 @@ interface operations {
16662
17350
  [name: string]: unknown;
16663
17351
  };
16664
17352
  content: {
16665
- "application/json": components["schemas"]["APIErrorEnvelope"];
17353
+ "application/json": {
17354
+ [key: string]: unknown;
17355
+ };
16666
17356
  };
16667
17357
  };
16668
- /** @description Possible error codes include `NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `PAGE_NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `BLOCK_NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. */
17358
+ /** @description Possible error codes include `NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. */
16669
17359
  404: {
16670
17360
  headers: {
16671
17361
  [name: string]: unknown;
16672
17362
  };
16673
17363
  content: {
16674
- "application/json": components["schemas"]["APIErrorEnvelope"];
17364
+ "application/json": {
17365
+ [key: string]: unknown;
17366
+ };
17367
+ };
17368
+ };
17369
+ 409: {
17370
+ headers: {
17371
+ [name: string]: unknown;
17372
+ };
17373
+ content: {
17374
+ "application/json": {
17375
+ [key: string]: unknown;
17376
+ };
17377
+ };
17378
+ };
17379
+ 422: {
17380
+ headers: {
17381
+ [name: string]: unknown;
17382
+ };
17383
+ content: {
17384
+ "application/json": {
17385
+ [key: string]: unknown;
17386
+ };
16675
17387
  };
16676
17388
  };
16677
17389
  /** @description Possible error codes include `RATE_LIMITED`. Use `x-error-codes` for machine-readable retryability metadata. */
@@ -16692,28 +17404,46 @@ interface operations {
16692
17404
  "application/json": components["schemas"]["APIErrorEnvelope"];
16693
17405
  };
16694
17406
  };
17407
+ 502: {
17408
+ headers: {
17409
+ [name: string]: unknown;
17410
+ };
17411
+ content: {
17412
+ "application/json": {
17413
+ [key: string]: unknown;
17414
+ };
17415
+ };
17416
+ };
17417
+ 503: {
17418
+ headers: {
17419
+ [name: string]: unknown;
17420
+ };
17421
+ content: {
17422
+ "application/json": {
17423
+ [key: string]: unknown;
17424
+ };
17425
+ };
17426
+ };
16695
17427
  };
16696
17428
  };
16697
- admin_pages_publish_create: {
17429
+ admin_printing_update_store_device: {
16698
17430
  parameters: {
16699
17431
  query?: never;
16700
- header?: never;
17432
+ header?: {
17433
+ /** @description Company the request acts on. Ignored for merchant tokens (scoped to their own company); required for admin tokens to select a company. */
17434
+ "X-Sous-Company-Id"?: number;
17435
+ };
16701
17436
  path: {
16702
- page_id: string;
17437
+ device_id: number;
17438
+ store_public_id: string;
16703
17439
  };
16704
17440
  cookie?: never;
16705
17441
  };
16706
17442
  requestBody?: {
16707
17443
  content: {
16708
- "application/json": {
16709
- [key: string]: unknown;
16710
- };
16711
- "application/x-www-form-urlencoded": {
16712
- [key: string]: unknown;
16713
- };
16714
- "multipart/form-data": {
16715
- [key: string]: unknown;
16716
- };
17444
+ "application/json": components["schemas"]["PatchedPrintDeviceUpdateRequest"];
17445
+ "application/x-www-form-urlencoded": components["schemas"]["PatchedPrintDeviceUpdateRequest"];
17446
+ "multipart/form-data": components["schemas"]["PatchedPrintDeviceUpdateRequest"];
16717
17447
  };
16718
17448
  };
16719
17449
  responses: {
@@ -16722,20 +17452,16 @@ interface operations {
16722
17452
  [name: string]: unknown;
16723
17453
  };
16724
17454
  content: {
16725
- "application/json": {
16726
- [key: string]: unknown;
16727
- };
17455
+ "application/json": components["schemas"]["PrintDevice"];
16728
17456
  };
16729
17457
  };
16730
- /** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `INVALID_BLOCK_TYPE`. Use `x-error-codes` for machine-readable retryability metadata. */
17458
+ /** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
16731
17459
  400: {
16732
17460
  headers: {
16733
17461
  [name: string]: unknown;
16734
17462
  };
16735
17463
  content: {
16736
- "application/json": {
16737
- [key: string]: unknown;
16738
- };
17464
+ "application/json": components["schemas"]["APIErrorEnvelope"];
16739
17465
  };
16740
17466
  };
16741
17467
  /** @description Possible error codes include `UNAUTHORIZED`. Use `x-error-codes` for machine-readable retryability metadata. */
@@ -16753,16 +17479,20 @@ interface operations {
16753
17479
  [name: string]: unknown;
16754
17480
  };
16755
17481
  content: {
16756
- "application/json": components["schemas"]["APIErrorEnvelope"];
17482
+ "application/json": {
17483
+ [key: string]: unknown;
17484
+ };
16757
17485
  };
16758
17486
  };
16759
- /** @description Possible error codes include `NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `PAGE_NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `BLOCK_NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. */
17487
+ /** @description Possible error codes include `NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. */
16760
17488
  404: {
16761
17489
  headers: {
16762
17490
  [name: string]: unknown;
16763
17491
  };
16764
17492
  content: {
16765
- "application/json": components["schemas"]["APIErrorEnvelope"];
17493
+ "application/json": {
17494
+ [key: string]: unknown;
17495
+ };
16766
17496
  };
16767
17497
  };
16768
17498
  /** @description Possible error codes include `RATE_LIMITED`. Use `x-error-codes` for machine-readable retryability metadata. */
@@ -16785,17 +17515,17 @@ interface operations {
16785
17515
  };
16786
17516
  };
16787
17517
  };
16788
- admin_printing_order_jobs: {
17518
+ admin_printing_regenerate_store_device_url: {
16789
17519
  parameters: {
16790
- query: {
16791
- order_id: string;
16792
- store_id: number;
16793
- };
17520
+ query?: never;
16794
17521
  header?: {
16795
17522
  /** @description Company the request acts on. Ignored for merchant tokens (scoped to their own company); required for admin tokens to select a company. */
16796
17523
  "X-Sous-Company-Id"?: number;
16797
17524
  };
16798
- path?: never;
17525
+ path: {
17526
+ device_id: number;
17527
+ store_public_id: string;
17528
+ };
16799
17529
  cookie?: never;
16800
17530
  };
16801
17531
  requestBody?: never;
@@ -16805,7 +17535,7 @@ interface operations {
16805
17535
  [name: string]: unknown;
16806
17536
  };
16807
17537
  content: {
16808
- "application/json": components["schemas"]["PrintJobsResponse"];
17538
+ "application/json": components["schemas"]["EpsonSetup"];
16809
17539
  };
16810
17540
  };
16811
17541
  /** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
@@ -16832,7 +17562,9 @@ interface operations {
16832
17562
  [name: string]: unknown;
16833
17563
  };
16834
17564
  content: {
16835
- "application/json": components["schemas"]["APIErrorEnvelope"];
17565
+ "application/json": {
17566
+ [key: string]: unknown;
17567
+ };
16836
17568
  };
16837
17569
  };
16838
17570
  /** @description Possible error codes include `NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. */
@@ -16864,32 +17596,39 @@ interface operations {
16864
17596
  "application/json": components["schemas"]["APIErrorEnvelope"];
16865
17597
  };
16866
17598
  };
17599
+ 503: {
17600
+ headers: {
17601
+ [name: string]: unknown;
17602
+ };
17603
+ content: {
17604
+ "application/json": {
17605
+ [key: string]: unknown;
17606
+ };
17607
+ };
17608
+ };
16867
17609
  };
16868
17610
  };
16869
- admin_printing_print_order: {
17611
+ admin_printing_remove_store_device: {
16870
17612
  parameters: {
16871
17613
  query?: never;
16872
17614
  header?: {
16873
17615
  /** @description Company the request acts on. Ignored for merchant tokens (scoped to their own company); required for admin tokens to select a company. */
16874
17616
  "X-Sous-Company-Id"?: number;
16875
17617
  };
16876
- path?: never;
16877
- cookie?: never;
16878
- };
16879
- requestBody: {
16880
- content: {
16881
- "application/json": components["schemas"]["MerchantPrintOrderRequest"];
16882
- "application/x-www-form-urlencoded": components["schemas"]["MerchantPrintOrderRequest"];
16883
- "multipart/form-data": components["schemas"]["MerchantPrintOrderRequest"];
17618
+ path: {
17619
+ device_id: number;
17620
+ store_public_id: string;
16884
17621
  };
17622
+ cookie?: never;
16885
17623
  };
17624
+ requestBody?: never;
16886
17625
  responses: {
16887
- 202: {
17626
+ 200: {
16888
17627
  headers: {
16889
17628
  [name: string]: unknown;
16890
17629
  };
16891
17630
  content: {
16892
- "application/json": components["schemas"]["PrintJobsResponse"];
17631
+ "application/json": components["schemas"]["PrintDevice"];
16893
17632
  };
16894
17633
  };
16895
17634
  /** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
@@ -16912,15 +17651,6 @@ interface operations {
16912
17651
  };
16913
17652
  /** @description Possible error codes include `FORBIDDEN`. Use `x-error-codes` for machine-readable retryability metadata. */
16914
17653
  403: {
16915
- headers: {
16916
- [name: string]: unknown;
16917
- };
16918
- content: {
16919
- "application/json": components["schemas"]["APIErrorEnvelope"];
16920
- };
16921
- };
16922
- /** @description Possible error codes include `NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. */
16923
- 404: {
16924
17654
  headers: {
16925
17655
  [name: string]: unknown;
16926
17656
  };
@@ -16930,7 +17660,8 @@ interface operations {
16930
17660
  };
16931
17661
  };
16932
17662
  };
16933
- 409: {
17663
+ /** @description Possible error codes include `NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. */
17664
+ 404: {
16934
17665
  headers: {
16935
17666
  [name: string]: unknown;
16936
17667
  };
@@ -16960,7 +17691,7 @@ interface operations {
16960
17691
  };
16961
17692
  };
16962
17693
  };
16963
- admin_printing_store_devices: {
17694
+ admin_printing_store_device_setup: {
16964
17695
  parameters: {
16965
17696
  query?: never;
16966
17697
  header?: {
@@ -16968,6 +17699,7 @@ interface operations {
16968
17699
  "X-Sous-Company-Id"?: number;
16969
17700
  };
16970
17701
  path: {
17702
+ device_id: number;
16971
17703
  store_public_id: string;
16972
17704
  };
16973
17705
  cookie?: never;
@@ -16979,7 +17711,7 @@ interface operations {
16979
17711
  [name: string]: unknown;
16980
17712
  };
16981
17713
  content: {
16982
- "application/json": components["schemas"]["PrintDevicesResponse"];
17714
+ "application/json": components["schemas"]["EpsonSetup"];
16983
17715
  };
16984
17716
  };
16985
17717
  /** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
@@ -17006,7 +17738,9 @@ interface operations {
17006
17738
  [name: string]: unknown;
17007
17739
  };
17008
17740
  content: {
17009
- "application/json": components["schemas"]["APIErrorEnvelope"];
17741
+ "application/json": {
17742
+ [key: string]: unknown;
17743
+ };
17010
17744
  };
17011
17745
  };
17012
17746
  /** @description Possible error codes include `NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. */
@@ -17040,7 +17774,7 @@ interface operations {
17040
17774
  };
17041
17775
  };
17042
17776
  };
17043
- admin_printing_add_store_device: {
17777
+ admin_printing_test_print_store_device: {
17044
17778
  parameters: {
17045
17779
  query?: never;
17046
17780
  header?: {
@@ -17048,24 +17782,25 @@ interface operations {
17048
17782
  "X-Sous-Company-Id"?: number;
17049
17783
  };
17050
17784
  path: {
17785
+ device_id: number;
17051
17786
  store_public_id: string;
17052
17787
  };
17053
17788
  cookie?: never;
17054
17789
  };
17055
17790
  requestBody: {
17056
17791
  content: {
17057
- "application/json": components["schemas"]["PrintDeviceCreateRequest"];
17058
- "application/x-www-form-urlencoded": components["schemas"]["PrintDeviceCreateRequest"];
17059
- "multipart/form-data": components["schemas"]["PrintDeviceCreateRequest"];
17792
+ "application/json": components["schemas"]["TestPrintRequest"];
17793
+ "application/x-www-form-urlencoded": components["schemas"]["TestPrintRequest"];
17794
+ "multipart/form-data": components["schemas"]["TestPrintRequest"];
17060
17795
  };
17061
17796
  };
17062
17797
  responses: {
17063
- 201: {
17798
+ 202: {
17064
17799
  headers: {
17065
17800
  [name: string]: unknown;
17066
17801
  };
17067
17802
  content: {
17068
- "application/json": components["schemas"]["PrintDevice"];
17803
+ "application/json": components["schemas"]["TestPrintResponse"];
17069
17804
  };
17070
17805
  };
17071
17806
  /** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
@@ -17108,27 +17843,7 @@ interface operations {
17108
17843
  };
17109
17844
  };
17110
17845
  };
17111
- 409: {
17112
- headers: {
17113
- [name: string]: unknown;
17114
- };
17115
- content: {
17116
- "application/json": {
17117
- [key: string]: unknown;
17118
- };
17119
- };
17120
- };
17121
- 422: {
17122
- headers: {
17123
- [name: string]: unknown;
17124
- };
17125
- content: {
17126
- "application/json": {
17127
- [key: string]: unknown;
17128
- };
17129
- };
17130
- };
17131
- /** @description Possible error codes include `RATE_LIMITED`. Use `x-error-codes` for machine-readable retryability metadata. */
17846
+ /** @description Possible error codes include `RATE_LIMITED`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `TEST_PRINT_PENDING`. Use `x-error-codes` for machine-readable retryability metadata. */
17132
17847
  429: {
17133
17848
  headers: {
17134
17849
  [name: string]: unknown;
@@ -17146,55 +17861,33 @@ interface operations {
17146
17861
  "application/json": components["schemas"]["APIErrorEnvelope"];
17147
17862
  };
17148
17863
  };
17149
- 502: {
17150
- headers: {
17151
- [name: string]: unknown;
17152
- };
17153
- content: {
17154
- "application/json": {
17155
- [key: string]: unknown;
17156
- };
17157
- };
17158
- };
17159
- 503: {
17160
- headers: {
17161
- [name: string]: unknown;
17162
- };
17163
- content: {
17164
- "application/json": {
17165
- [key: string]: unknown;
17166
- };
17167
- };
17168
- };
17169
17864
  };
17170
17865
  };
17171
- admin_printing_update_store_device: {
17866
+ admin_products_list: {
17172
17867
  parameters: {
17173
- query?: never;
17868
+ query?: {
17869
+ /** @description Restrict to the product carrying this external_id (the merchant-portal Menu.id mirrored across the sync). Narrows the company-scoped list and never widens it, so an id belonging to another company yields an empty list — as does an unmatched or non-numeric value. Lets the portal resolve one product without downloading the store's catalogue to search it client-side. */
17870
+ external_id?: number;
17871
+ /** @description Restrict to one store by numeric Store.id. Must belong to the authenticated company; an unrelated id yields an empty list. */
17872
+ store_id?: number;
17873
+ /** @description Restrict to one store by its public_id (the stable, cross-system store key the merchant portal holds). Must belong to the authenticated company; an unrelated value yields an empty list. Preferred over store_id. */
17874
+ store_public_id?: string;
17875
+ };
17174
17876
  header?: {
17175
17877
  /** @description Company the request acts on. Ignored for merchant tokens (scoped to their own company); required for admin tokens to select a company. */
17176
17878
  "X-Sous-Company-Id"?: number;
17177
17879
  };
17178
- path: {
17179
- device_id: number;
17180
- store_public_id: string;
17181
- };
17880
+ path?: never;
17182
17881
  cookie?: never;
17183
17882
  };
17184
- requestBody?: {
17185
- content: {
17186
- "application/json": components["schemas"]["PatchedPrintDeviceUpdateRequest"];
17187
- "application/x-www-form-urlencoded": components["schemas"]["PatchedPrintDeviceUpdateRequest"];
17188
- "multipart/form-data": components["schemas"]["PatchedPrintDeviceUpdateRequest"];
17189
- };
17190
- };
17883
+ requestBody?: never;
17191
17884
  responses: {
17192
17885
  200: {
17193
17886
  headers: {
17194
17887
  [name: string]: unknown;
17195
17888
  };
17196
17889
  content: {
17197
- "application/json": components["schemas"]["PrintDevice"];
17890
+ "application/json": components["schemas"]["AdminProductOption"][];
17198
17891
  };
17199
17892
  };
17200
17893
  /** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
@@ -17221,9 +17914,7 @@ interface operations {
17221
17914
  [name: string]: unknown;
17222
17915
  };
17223
17916
  content: {
17224
- "application/json": {
17225
- [key: string]: unknown;
17226
- };
17917
+ "application/json": components["schemas"]["APIErrorEnvelope"];
17227
17918
  };
17228
17919
  };
17229
17920
  /** @description Possible error codes include `NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. */
@@ -17232,9 +17923,7 @@ interface operations {
17232
17923
  [name: string]: unknown;
17233
17924
  };
17234
17925
  content: {
17235
- "application/json": {
17236
- [key: string]: unknown;
17237
- };
17926
+ "application/json": components["schemas"]["APIErrorEnvelope"];
17238
17927
  };
17239
17928
  };
17240
17929
  /** @description Possible error codes include `RATE_LIMITED`. Use `x-error-codes` for machine-readable retryability metadata. */
@@ -17257,7 +17946,7 @@ interface operations {
17257
17946
  };
17258
17947
  };
17259
17948
  };
17260
- admin_printing_regenerate_store_device_url: {
17949
+ admin_products_attribute_values_list: {
17261
17950
  parameters: {
17262
17951
  query?: never;
17263
17952
  header?: {
@@ -17265,8 +17954,7 @@ interface operations {
17265
17954
  "X-Sous-Company-Id"?: number;
17266
17955
  };
17267
17956
  path: {
17268
- device_id: number;
17269
- store_public_id: string;
17957
+ product_id: number;
17270
17958
  };
17271
17959
  cookie?: never;
17272
17960
  };
@@ -17277,7 +17965,7 @@ interface operations {
17277
17965
  [name: string]: unknown;
17278
17966
  };
17279
17967
  content: {
17280
- "application/json": components["schemas"]["EpsonSetup"];
17968
+ "application/json": components["schemas"]["ProductAttributeValue"][];
17281
17969
  };
17282
17970
  };
17283
17971
  /** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
@@ -17304,9 +17992,7 @@ interface operations {
17304
17992
  [name: string]: unknown;
17305
17993
  };
17306
17994
  content: {
17307
- "application/json": {
17308
- [key: string]: unknown;
17309
- };
17995
+ "application/json": components["schemas"]["APIErrorEnvelope"];
17310
17996
  };
17311
17997
  };
17312
17998
  /** @description Possible error codes include `NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. */
@@ -17315,9 +18001,7 @@ interface operations {
17315
18001
  [name: string]: unknown;
17316
18002
  };
17317
18003
  content: {
17318
- "application/json": {
17319
- [key: string]: unknown;
17320
- };
18004
+ "application/json": components["schemas"]["APIErrorEnvelope"];
17321
18005
  };
17322
18006
  };
17323
18007
  /** @description Possible error codes include `RATE_LIMITED`. Use `x-error-codes` for machine-readable retryability metadata. */
@@ -17338,19 +18022,93 @@ interface operations {
17338
18022
  "application/json": components["schemas"]["APIErrorEnvelope"];
17339
18023
  };
17340
18024
  };
17341
- 503: {
18025
+ };
18026
+ };
18027
+ admin_products_attribute_values_update: {
18028
+ parameters: {
18029
+ query?: never;
18030
+ header?: {
18031
+ /** @description Company the request acts on. Ignored for merchant tokens (scoped to their own company); required for admin tokens to select a company. */
18032
+ "X-Sous-Company-Id"?: number;
18033
+ };
18034
+ path: {
18035
+ product_id: number;
18036
+ };
18037
+ cookie?: never;
18038
+ };
18039
+ requestBody: {
18040
+ content: {
18041
+ "application/json": components["schemas"]["AdminAttributeValuesRequest"];
18042
+ "application/x-www-form-urlencoded": components["schemas"]["AdminAttributeValuesRequest"];
18043
+ "multipart/form-data": components["schemas"]["AdminAttributeValuesRequest"];
18044
+ };
18045
+ };
18046
+ responses: {
18047
+ 200: {
17342
18048
  headers: {
17343
18049
  [name: string]: unknown;
17344
18050
  };
17345
18051
  content: {
17346
- "application/json": {
17347
- [key: string]: unknown;
17348
- };
18052
+ "application/json": components["schemas"]["ProductAttributeValue"][];
18053
+ };
18054
+ };
18055
+ /** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `BRAND_OWNED_VALUE`. Use `x-error-codes` for machine-readable retryability metadata. */
18056
+ 400: {
18057
+ headers: {
18058
+ [name: string]: unknown;
18059
+ };
18060
+ content: {
18061
+ "application/json": components["schemas"]["APIErrorEnvelope"];
18062
+ };
18063
+ };
18064
+ /** @description Possible error codes include `UNAUTHORIZED`. Use `x-error-codes` for machine-readable retryability metadata. */
18065
+ 401: {
18066
+ headers: {
18067
+ [name: string]: unknown;
18068
+ };
18069
+ content: {
18070
+ "application/json": components["schemas"]["APIErrorEnvelope"];
18071
+ };
18072
+ };
18073
+ /** @description Possible error codes include `FORBIDDEN`. Use `x-error-codes` for machine-readable retryability metadata. */
18074
+ 403: {
18075
+ headers: {
18076
+ [name: string]: unknown;
18077
+ };
18078
+ content: {
18079
+ "application/json": components["schemas"]["APIErrorEnvelope"];
18080
+ };
18081
+ };
18082
+ /** @description Possible error codes include `NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. */
18083
+ 404: {
18084
+ headers: {
18085
+ [name: string]: unknown;
18086
+ };
18087
+ content: {
18088
+ "application/json": components["schemas"]["APIErrorEnvelope"];
18089
+ };
18090
+ };
18091
+ /** @description Possible error codes include `RATE_LIMITED`. Use `x-error-codes` for machine-readable retryability metadata. */
18092
+ 429: {
18093
+ headers: {
18094
+ [name: string]: unknown;
18095
+ };
18096
+ content: {
18097
+ "application/json": components["schemas"]["APIErrorEnvelope"];
18098
+ };
18099
+ };
18100
+ /** @description Possible error codes include `INTERNAL_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
18101
+ 500: {
18102
+ headers: {
18103
+ [name: string]: unknown;
18104
+ };
18105
+ content: {
18106
+ "application/json": components["schemas"]["APIErrorEnvelope"];
17349
18107
  };
17350
18108
  };
17351
18109
  };
17352
18110
  };
17353
- admin_printing_remove_store_device: {
18111
+ admin_products_confirm_compliance_retrieve: {
17354
18112
  parameters: {
17355
18113
  query?: never;
17356
18114
  header?: {
@@ -17358,8 +18116,7 @@ interface operations {
17358
18116
  "X-Sous-Company-Id"?: number;
17359
18117
  };
17360
18118
  path: {
17361
- device_id: number;
17362
- store_public_id: string;
18119
+ product_id: number;
17363
18120
  };
17364
18121
  cookie?: never;
17365
18122
  };
@@ -17370,7 +18127,7 @@ interface operations {
17370
18127
  [name: string]: unknown;
17371
18128
  };
17372
18129
  content: {
17373
- "application/json": components["schemas"]["PrintDevice"];
18130
+ "application/json": components["schemas"]["ComplianceConfirmation"];
17374
18131
  };
17375
18132
  };
17376
18133
  /** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
@@ -17397,9 +18154,7 @@ interface operations {
17397
18154
  [name: string]: unknown;
17398
18155
  };
17399
18156
  content: {
17400
- "application/json": {
17401
- [key: string]: unknown;
17402
- };
18157
+ "application/json": components["schemas"]["APIErrorEnvelope"];
17403
18158
  };
17404
18159
  };
17405
18160
  /** @description Possible error codes include `NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. */
@@ -17408,9 +18163,7 @@ interface operations {
17408
18163
  [name: string]: unknown;
17409
18164
  };
17410
18165
  content: {
17411
- "application/json": {
17412
- [key: string]: unknown;
17413
- };
18166
+ "application/json": components["schemas"]["APIErrorEnvelope"];
17414
18167
  };
17415
18168
  };
17416
18169
  /** @description Possible error codes include `RATE_LIMITED`. Use `x-error-codes` for machine-readable retryability metadata. */
@@ -17433,7 +18186,7 @@ interface operations {
17433
18186
  };
17434
18187
  };
17435
18188
  };
17436
- admin_printing_store_device_setup: {
18189
+ admin_products_confirm_compliance_create: {
17437
18190
  parameters: {
17438
18191
  query?: never;
17439
18192
  header?: {
@@ -17441,20 +18194,18 @@ interface operations {
17441
18194
  "X-Sous-Company-Id"?: number;
17442
18195
  };
17443
18196
  path: {
17444
- device_id: number;
17445
- store_public_id: string;
18197
+ product_id: number;
17446
18198
  };
17447
18199
  cookie?: never;
17448
18200
  };
17449
18201
  requestBody?: never;
17450
18202
  responses: {
18203
+ /** @description No response body */
17451
18204
  200: {
17452
18205
  headers: {
17453
18206
  [name: string]: unknown;
17454
18207
  };
17455
- content: {
17456
- "application/json": components["schemas"]["EpsonSetup"];
17457
- };
18208
+ content?: never;
17458
18209
  };
17459
18210
  /** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
17460
18211
  400: {
@@ -17462,7 +18213,7 @@ interface operations {
17462
18213
  [name: string]: unknown;
17463
18214
  };
17464
18215
  content: {
17465
- "application/json": components["schemas"]["APIErrorEnvelope"];
18216
+ "application/json": components["schemas"]["ComplianceIncomplete"];
17466
18217
  };
17467
18218
  };
17468
18219
  /** @description Possible error codes include `UNAUTHORIZED`. Use `x-error-codes` for machine-readable retryability metadata. */
@@ -17480,9 +18231,7 @@ interface operations {
17480
18231
  [name: string]: unknown;
17481
18232
  };
17482
18233
  content: {
17483
- "application/json": {
17484
- [key: string]: unknown;
17485
- };
18234
+ "application/json": components["schemas"]["APIErrorEnvelope"];
17486
18235
  };
17487
18236
  };
17488
18237
  /** @description Possible error codes include `NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. */
@@ -17491,9 +18240,7 @@ interface operations {
17491
18240
  [name: string]: unknown;
17492
18241
  };
17493
18242
  content: {
17494
- "application/json": {
17495
- [key: string]: unknown;
17496
- };
18243
+ "application/json": components["schemas"]["APIErrorEnvelope"];
17497
18244
  };
17498
18245
  };
17499
18246
  /** @description Possible error codes include `RATE_LIMITED`. Use `x-error-codes` for machine-readable retryability metadata. */
@@ -17516,7 +18263,7 @@ interface operations {
17516
18263
  };
17517
18264
  };
17518
18265
  };
17519
- admin_printing_test_print_store_device: {
18266
+ admin_products_confirm_compliance_destroy: {
17520
18267
  parameters: {
17521
18268
  query?: never;
17522
18269
  header?: {
@@ -17524,26 +18271,18 @@ interface operations {
17524
18271
  "X-Sous-Company-Id"?: number;
17525
18272
  };
17526
18273
  path: {
17527
- device_id: number;
17528
- store_public_id: string;
18274
+ product_id: number;
17529
18275
  };
17530
18276
  cookie?: never;
17531
18277
  };
17532
- requestBody: {
17533
- content: {
17534
- "application/json": components["schemas"]["TestPrintRequest"];
17535
- "application/x-www-form-urlencoded": components["schemas"]["TestPrintRequest"];
17536
- "multipart/form-data": components["schemas"]["TestPrintRequest"];
17537
- };
17538
- };
18278
+ requestBody?: never;
17539
18279
  responses: {
17540
- 202: {
18280
+ /** @description No response body */
18281
+ 204: {
17541
18282
  headers: {
17542
18283
  [name: string]: unknown;
17543
18284
  };
17544
- content: {
17545
- "application/json": components["schemas"]["TestPrintResponse"];
17546
- };
18285
+ content?: never;
17547
18286
  };
17548
18287
  /** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
17549
18288
  400: {
@@ -17569,9 +18308,7 @@ interface operations {
17569
18308
  [name: string]: unknown;
17570
18309
  };
17571
18310
  content: {
17572
- "application/json": {
17573
- [key: string]: unknown;
17574
- };
18311
+ "application/json": components["schemas"]["APIErrorEnvelope"];
17575
18312
  };
17576
18313
  };
17577
18314
  /** @description Possible error codes include `NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. */
@@ -17580,12 +18317,10 @@ interface operations {
17580
18317
  [name: string]: unknown;
17581
18318
  };
17582
18319
  content: {
17583
- "application/json": {
17584
- [key: string]: unknown;
17585
- };
18320
+ "application/json": components["schemas"]["APIErrorEnvelope"];
17586
18321
  };
17587
18322
  };
17588
- /** @description Possible error codes include `RATE_LIMITED`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `TEST_PRINT_PENDING`. Use `x-error-codes` for machine-readable retryability metadata. */
18323
+ /** @description Possible error codes include `RATE_LIMITED`. Use `x-error-codes` for machine-readable retryability metadata. */
17589
18324
  429: {
17590
18325
  headers: {
17591
18326
  [name: string]: unknown;
@@ -17605,21 +18340,16 @@ interface operations {
17605
18340
  };
17606
18341
  };
17607
18342
  };
17608
- admin_products_list: {
18343
+ admin_products_deposit_retrieve: {
17609
18344
  parameters: {
17610
- query?: {
17611
- /** @description Restrict to the product carrying this external_id (the merchant-portal Menu.id mirrored across the sync). Narrows the company-scoped list and never widens it, so an id belonging to another company yields an empty list — as does an unmatched or non-numeric value. Lets the portal resolve one product without downloading the store's catalogue to search it client-side. */
17612
- external_id?: number;
17613
- /** @description Restrict to one store by numeric Store.id. Must belong to the authenticated company; an unrelated id yields an empty list. */
17614
- store_id?: number;
17615
- /** @description Restrict to one store by its public_id (the stable, cross-system store key the merchant portal holds). Must belong to the authenticated company; an unrelated value yields an empty list. Preferred over store_id. */
17616
- store_public_id?: string;
17617
- };
18345
+ query?: never;
17618
18346
  header?: {
17619
18347
  /** @description Company the request acts on. Ignored for merchant tokens (scoped to their own company); required for admin tokens to select a company. */
17620
18348
  "X-Sous-Company-Id"?: number;
17621
18349
  };
17622
- path?: never;
18350
+ path: {
18351
+ product_id: number;
18352
+ };
17623
18353
  cookie?: never;
17624
18354
  };
17625
18355
  requestBody?: never;
@@ -17629,7 +18359,7 @@ interface operations {
17629
18359
  [name: string]: unknown;
17630
18360
  };
17631
18361
  content: {
17632
- "application/json": components["schemas"]["AdminProductOption"][];
18362
+ "application/json": components["schemas"]["AdminProductDeposit"];
17633
18363
  };
17634
18364
  };
17635
18365
  /** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
@@ -17688,7 +18418,7 @@ interface operations {
17688
18418
  };
17689
18419
  };
17690
18420
  };
17691
- admin_products_attribute_values_list: {
18421
+ admin_products_deposit_update: {
17692
18422
  parameters: {
17693
18423
  query?: never;
17694
18424
  header?: {
@@ -17700,14 +18430,20 @@ interface operations {
17700
18430
  };
17701
18431
  cookie?: never;
17702
18432
  };
17703
- requestBody?: never;
18433
+ requestBody: {
18434
+ content: {
18435
+ "application/json": components["schemas"]["AdminProductDeposit"];
18436
+ "application/x-www-form-urlencoded": components["schemas"]["AdminProductDeposit"];
18437
+ "multipart/form-data": components["schemas"]["AdminProductDeposit"];
18438
+ };
18439
+ };
17704
18440
  responses: {
17705
18441
  200: {
17706
18442
  headers: {
17707
18443
  [name: string]: unknown;
17708
18444
  };
17709
18445
  content: {
17710
- "application/json": components["schemas"]["ProductAttributeValue"][];
18446
+ "application/json": components["schemas"]["AdminProductDeposit"];
17711
18447
  };
17712
18448
  };
17713
18449
  /** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
@@ -17766,7 +18502,7 @@ interface operations {
17766
18502
  };
17767
18503
  };
17768
18504
  };
17769
- admin_products_attribute_values_update: {
18505
+ admin_products_surcharges_update: {
17770
18506
  parameters: {
17771
18507
  query?: never;
17772
18508
  header?: {
@@ -17780,9 +18516,9 @@ interface operations {
17780
18516
  };
17781
18517
  requestBody: {
17782
18518
  content: {
17783
- "application/json": components["schemas"]["AdminAttributeValuesRequest"];
17784
- "application/x-www-form-urlencoded": components["schemas"]["AdminAttributeValuesRequest"];
17785
- "multipart/form-data": components["schemas"]["AdminAttributeValuesRequest"];
18519
+ "application/json": components["schemas"]["AdminProductSurchargesRequest"];
18520
+ "application/x-www-form-urlencoded": components["schemas"]["AdminProductSurchargesRequest"];
18521
+ "multipart/form-data": components["schemas"]["AdminProductSurchargesRequest"];
17786
18522
  };
17787
18523
  };
17788
18524
  responses: {
@@ -17791,7 +18527,7 @@ interface operations {
17791
18527
  [name: string]: unknown;
17792
18528
  };
17793
18529
  content: {
17794
- "application/json": components["schemas"]["ProductAttributeValue"][];
18530
+ "application/json": components["schemas"]["Surcharge"][];
17795
18531
  };
17796
18532
  };
17797
18533
  /** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
@@ -17850,26 +18586,30 @@ interface operations {
17850
18586
  };
17851
18587
  };
17852
18588
  };
17853
- admin_products_confirm_compliance_retrieve: {
18589
+ admin_products_shared_create: {
17854
18590
  parameters: {
17855
18591
  query?: never;
17856
18592
  header?: {
17857
18593
  /** @description Company the request acts on. Ignored for merchant tokens (scoped to their own company); required for admin tokens to select a company. */
17858
18594
  "X-Sous-Company-Id"?: number;
17859
18595
  };
17860
- path: {
17861
- product_id: number;
17862
- };
18596
+ path?: never;
17863
18597
  cookie?: never;
17864
18598
  };
17865
- requestBody?: never;
18599
+ requestBody: {
18600
+ content: {
18601
+ "application/json": components["schemas"]["SharedProductsRequest"];
18602
+ "application/x-www-form-urlencoded": components["schemas"]["SharedProductsRequest"];
18603
+ "multipart/form-data": components["schemas"]["SharedProductsRequest"];
18604
+ };
18605
+ };
17866
18606
  responses: {
17867
18607
  200: {
17868
18608
  headers: {
17869
18609
  [name: string]: unknown;
17870
18610
  };
17871
18611
  content: {
17872
- "application/json": components["schemas"]["ComplianceConfirmation"];
18612
+ "application/json": components["schemas"]["SharedBrandProduct"][];
17873
18613
  };
17874
18614
  };
17875
18615
  /** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
@@ -17928,26 +18668,28 @@ interface operations {
17928
18668
  };
17929
18669
  };
17930
18670
  };
17931
- admin_products_confirm_compliance_create: {
18671
+ admin_promotions_list: {
17932
18672
  parameters: {
17933
- query?: never;
18673
+ query?: {
18674
+ /** @description The pagination cursor value. */
18675
+ cursor?: string;
18676
+ };
17934
18677
  header?: {
17935
18678
  /** @description Company the request acts on. Ignored for merchant tokens (scoped to their own company); required for admin tokens to select a company. */
17936
18679
  "X-Sous-Company-Id"?: number;
17937
18680
  };
17938
- path: {
17939
- product_id: number;
17940
- };
18681
+ path?: never;
17941
18682
  cookie?: never;
17942
18683
  };
17943
18684
  requestBody?: never;
17944
18685
  responses: {
17945
- /** @description No response body */
17946
18686
  200: {
17947
18687
  headers: {
17948
18688
  [name: string]: unknown;
17949
18689
  };
17950
- content?: never;
18690
+ content: {
18691
+ "application/json": components["schemas"]["PaginatedAdminPromotionList"];
18692
+ };
17951
18693
  };
17952
18694
  /** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
17953
18695
  400: {
@@ -17955,7 +18697,7 @@ interface operations {
17955
18697
  [name: string]: unknown;
17956
18698
  };
17957
18699
  content: {
17958
- "application/json": components["schemas"]["ComplianceIncomplete"];
18700
+ "application/json": components["schemas"]["APIErrorEnvelope"];
17959
18701
  };
17960
18702
  };
17961
18703
  /** @description Possible error codes include `UNAUTHORIZED`. Use `x-error-codes` for machine-readable retryability metadata. */
@@ -18005,26 +18747,31 @@ interface operations {
18005
18747
  };
18006
18748
  };
18007
18749
  };
18008
- admin_products_confirm_compliance_destroy: {
18750
+ admin_promotions_create: {
18009
18751
  parameters: {
18010
18752
  query?: never;
18011
18753
  header?: {
18012
18754
  /** @description Company the request acts on. Ignored for merchant tokens (scoped to their own company); required for admin tokens to select a company. */
18013
18755
  "X-Sous-Company-Id"?: number;
18014
18756
  };
18015
- path: {
18016
- product_id: number;
18017
- };
18757
+ path?: never;
18018
18758
  cookie?: never;
18019
18759
  };
18020
- requestBody?: never;
18760
+ requestBody: {
18761
+ content: {
18762
+ "application/json": components["schemas"]["AdminPromotion"];
18763
+ "application/x-www-form-urlencoded": components["schemas"]["AdminPromotion"];
18764
+ "multipart/form-data": components["schemas"]["AdminPromotion"];
18765
+ };
18766
+ };
18021
18767
  responses: {
18022
- /** @description No response body */
18023
- 204: {
18768
+ 200: {
18024
18769
  headers: {
18025
18770
  [name: string]: unknown;
18026
18771
  };
18027
- content?: never;
18772
+ content: {
18773
+ "application/json": components["schemas"]["AdminPromotion"];
18774
+ };
18028
18775
  };
18029
18776
  /** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
18030
18777
  400: {
@@ -18082,7 +18829,7 @@ interface operations {
18082
18829
  };
18083
18830
  };
18084
18831
  };
18085
- admin_products_deposit_retrieve: {
18832
+ admin_promotions_retrieve: {
18086
18833
  parameters: {
18087
18834
  query?: never;
18088
18835
  header?: {
@@ -18090,7 +18837,8 @@ interface operations {
18090
18837
  "X-Sous-Company-Id"?: number;
18091
18838
  };
18092
18839
  path: {
18093
- product_id: number;
18840
+ /** @description A unique integer value identifying this promotion. */
18841
+ id: number;
18094
18842
  };
18095
18843
  cookie?: never;
18096
18844
  };
@@ -18101,7 +18849,7 @@ interface operations {
18101
18849
  [name: string]: unknown;
18102
18850
  };
18103
18851
  content: {
18104
- "application/json": components["schemas"]["AdminProductDeposit"];
18852
+ "application/json": components["schemas"]["AdminPromotion"];
18105
18853
  };
18106
18854
  };
18107
18855
  /** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
@@ -18160,7 +18908,7 @@ interface operations {
18160
18908
  };
18161
18909
  };
18162
18910
  };
18163
- admin_products_deposit_update: {
18911
+ admin_promotions_update: {
18164
18912
  parameters: {
18165
18913
  query?: never;
18166
18914
  header?: {
@@ -18168,15 +18916,16 @@ interface operations {
18168
18916
  "X-Sous-Company-Id"?: number;
18169
18917
  };
18170
18918
  path: {
18171
- product_id: number;
18919
+ /** @description A unique integer value identifying this promotion. */
18920
+ id: number;
18172
18921
  };
18173
18922
  cookie?: never;
18174
18923
  };
18175
18924
  requestBody: {
18176
18925
  content: {
18177
- "application/json": components["schemas"]["AdminProductDeposit"];
18178
- "application/x-www-form-urlencoded": components["schemas"]["AdminProductDeposit"];
18179
- "multipart/form-data": components["schemas"]["AdminProductDeposit"];
18926
+ "application/json": components["schemas"]["AdminPromotion"];
18927
+ "application/x-www-form-urlencoded": components["schemas"]["AdminPromotion"];
18928
+ "multipart/form-data": components["schemas"]["AdminPromotion"];
18180
18929
  };
18181
18930
  };
18182
18931
  responses: {
@@ -18185,7 +18934,7 @@ interface operations {
18185
18934
  [name: string]: unknown;
18186
18935
  };
18187
18936
  content: {
18188
- "application/json": components["schemas"]["AdminProductDeposit"];
18937
+ "application/json": components["schemas"]["AdminPromotion"];
18189
18938
  };
18190
18939
  };
18191
18940
  /** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
@@ -18244,7 +18993,7 @@ interface operations {
18244
18993
  };
18245
18994
  };
18246
18995
  };
18247
- admin_products_surcharges_update: {
18996
+ admin_promotions_destroy: {
18248
18997
  parameters: {
18249
18998
  query?: never;
18250
18999
  header?: {
@@ -18252,25 +19001,19 @@ interface operations {
18252
19001
  "X-Sous-Company-Id"?: number;
18253
19002
  };
18254
19003
  path: {
18255
- product_id: number;
19004
+ /** @description A unique integer value identifying this promotion. */
19005
+ id: number;
18256
19006
  };
18257
19007
  cookie?: never;
18258
19008
  };
18259
- requestBody: {
18260
- content: {
18261
- "application/json": components["schemas"]["AdminProductSurchargesRequest"];
18262
- "application/x-www-form-urlencoded": components["schemas"]["AdminProductSurchargesRequest"];
18263
- "multipart/form-data": components["schemas"]["AdminProductSurchargesRequest"];
18264
- };
18265
- };
19009
+ requestBody?: never;
18266
19010
  responses: {
18267
- 200: {
19011
+ /** @description No response body */
19012
+ 204: {
18268
19013
  headers: {
18269
19014
  [name: string]: unknown;
18270
19015
  };
18271
- content: {
18272
- "application/json": components["schemas"]["Surcharge"][];
18273
- };
19016
+ content?: never;
18274
19017
  };
18275
19018
  /** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
18276
19019
  400: {
@@ -18328,21 +19071,24 @@ interface operations {
18328
19071
  };
18329
19072
  };
18330
19073
  };
18331
- admin_products_shared_create: {
19074
+ admin_promotions_partial_update: {
18332
19075
  parameters: {
18333
19076
  query?: never;
18334
19077
  header?: {
18335
19078
  /** @description Company the request acts on. Ignored for merchant tokens (scoped to their own company); required for admin tokens to select a company. */
18336
19079
  "X-Sous-Company-Id"?: number;
18337
19080
  };
18338
- path?: never;
19081
+ path: {
19082
+ /** @description A unique integer value identifying this promotion. */
19083
+ id: number;
19084
+ };
18339
19085
  cookie?: never;
18340
19086
  };
18341
- requestBody: {
19087
+ requestBody?: {
18342
19088
  content: {
18343
- "application/json": components["schemas"]["SharedProductsRequest"];
18344
- "application/x-www-form-urlencoded": components["schemas"]["SharedProductsRequest"];
18345
- "multipart/form-data": components["schemas"]["SharedProductsRequest"];
19089
+ "application/json": components["schemas"]["PatchedAdminPromotion"];
19090
+ "application/x-www-form-urlencoded": components["schemas"]["PatchedAdminPromotion"];
19091
+ "multipart/form-data": components["schemas"]["PatchedAdminPromotion"];
18346
19092
  };
18347
19093
  };
18348
19094
  responses: {
@@ -18351,7 +19097,7 @@ interface operations {
18351
19097
  [name: string]: unknown;
18352
19098
  };
18353
19099
  content: {
18354
- "application/json": components["schemas"]["SharedBrandProduct"][];
19100
+ "application/json": components["schemas"]["AdminPromotion"];
18355
19101
  };
18356
19102
  };
18357
19103
  /** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
@@ -18410,16 +19156,14 @@ interface operations {
18410
19156
  };
18411
19157
  };
18412
19158
  };
18413
- admin_promotions_list: {
19159
+ admin_readiness_stores_list: {
18414
19160
  parameters: {
18415
19161
  query?: {
18416
- /** @description The pagination cursor value. */
18417
- cursor?: string;
18418
- };
18419
- header?: {
18420
- /** @description Company the request acts on. Ignored for merchant tokens (scoped to their own company); required for admin tokens to select a company. */
18421
- "X-Sous-Company-Id"?: number;
19162
+ page?: number;
19163
+ /** @description Part of a name or public id */
19164
+ search?: string;
18422
19165
  };
19166
+ header?: never;
18423
19167
  path?: never;
18424
19168
  cookie?: never;
18425
19169
  };
@@ -18430,7 +19174,9 @@ interface operations {
18430
19174
  [name: string]: unknown;
18431
19175
  };
18432
19176
  content: {
18433
- "application/json": components["schemas"]["PaginatedAdminPromotionList"];
19177
+ "application/json": {
19178
+ [key: string]: unknown;
19179
+ };
18434
19180
  };
18435
19181
  };
18436
19182
  /** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
@@ -18489,33 +19235,111 @@ interface operations {
18489
19235
  };
18490
19236
  };
18491
19237
  };
18492
- admin_promotions_create: {
19238
+ admin_readiness_stores_retrieve: {
18493
19239
  parameters: {
18494
19240
  query?: never;
18495
- header?: {
18496
- /** @description Company the request acts on. Ignored for merchant tokens (scoped to their own company); required for admin tokens to select a company. */
18497
- "X-Sous-Company-Id"?: number;
19241
+ header?: never;
19242
+ path: {
19243
+ public_id: string;
19244
+ };
19245
+ cookie?: never;
19246
+ };
19247
+ requestBody?: never;
19248
+ responses: {
19249
+ 200: {
19250
+ headers: {
19251
+ [name: string]: unknown;
19252
+ };
19253
+ content: {
19254
+ "application/json": {
19255
+ [key: string]: unknown;
19256
+ };
19257
+ };
19258
+ };
19259
+ /** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
19260
+ 400: {
19261
+ headers: {
19262
+ [name: string]: unknown;
19263
+ };
19264
+ content: {
19265
+ "application/json": components["schemas"]["APIErrorEnvelope"];
19266
+ };
19267
+ };
19268
+ /** @description Possible error codes include `UNAUTHORIZED`. Use `x-error-codes` for machine-readable retryability metadata. */
19269
+ 401: {
19270
+ headers: {
19271
+ [name: string]: unknown;
19272
+ };
19273
+ content: {
19274
+ "application/json": components["schemas"]["APIErrorEnvelope"];
19275
+ };
19276
+ };
19277
+ /** @description Possible error codes include `FORBIDDEN`. Use `x-error-codes` for machine-readable retryability metadata. */
19278
+ 403: {
19279
+ headers: {
19280
+ [name: string]: unknown;
19281
+ };
19282
+ content: {
19283
+ "application/json": components["schemas"]["APIErrorEnvelope"];
19284
+ };
19285
+ };
19286
+ /** @description Store not found (READINESS_STORE_NOT_FOUND). Possible error codes include `NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. */
19287
+ 404: {
19288
+ headers: {
19289
+ [name: string]: unknown;
19290
+ };
19291
+ content: {
19292
+ "application/json": components["schemas"]["APIErrorEnvelope"];
19293
+ };
19294
+ };
19295
+ /** @description Possible error codes include `RATE_LIMITED`. Use `x-error-codes` for machine-readable retryability metadata. */
19296
+ 429: {
19297
+ headers: {
19298
+ [name: string]: unknown;
19299
+ };
19300
+ content: {
19301
+ "application/json": components["schemas"]["APIErrorEnvelope"];
19302
+ };
19303
+ };
19304
+ /** @description Possible error codes include `INTERNAL_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
19305
+ 500: {
19306
+ headers: {
19307
+ [name: string]: unknown;
19308
+ };
19309
+ content: {
19310
+ "application/json": components["schemas"]["APIErrorEnvelope"];
19311
+ };
19312
+ };
19313
+ };
19314
+ };
19315
+ admin_readiness_stores_exceptions_create: {
19316
+ parameters: {
19317
+ query?: never;
19318
+ header?: never;
19319
+ path: {
19320
+ public_id: string;
18498
19321
  };
18499
- path?: never;
18500
19322
  cookie?: never;
18501
19323
  };
18502
19324
  requestBody: {
18503
19325
  content: {
18504
- "application/json": components["schemas"]["AdminPromotion"];
18505
- "application/x-www-form-urlencoded": components["schemas"]["AdminPromotion"];
18506
- "multipart/form-data": components["schemas"]["AdminPromotion"];
19326
+ "application/json": components["schemas"]["ExceptionRequest"];
19327
+ "application/x-www-form-urlencoded": components["schemas"]["ExceptionRequest"];
19328
+ "multipart/form-data": components["schemas"]["ExceptionRequest"];
18507
19329
  };
18508
19330
  };
18509
19331
  responses: {
18510
- 200: {
19332
+ 201: {
18511
19333
  headers: {
18512
19334
  [name: string]: unknown;
18513
19335
  };
18514
19336
  content: {
18515
- "application/json": components["schemas"]["AdminPromotion"];
19337
+ "application/json": {
19338
+ [key: string]: unknown;
19339
+ };
18516
19340
  };
18517
19341
  };
18518
- /** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
19342
+ /** @description Not applicable to this store (READINESS_INVALID_ACTION). Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
18519
19343
  400: {
18520
19344
  headers: {
18521
19345
  [name: string]: unknown;
@@ -18542,7 +19366,7 @@ interface operations {
18542
19366
  "application/json": components["schemas"]["APIErrorEnvelope"];
18543
19367
  };
18544
19368
  };
18545
- /** @description Possible error codes include `NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. */
19369
+ /** @description Store not found (READINESS_STORE_NOT_FOUND). Possible error codes include `NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. */
18546
19370
  404: {
18547
19371
  headers: {
18548
19372
  [name: string]: unknown;
@@ -18571,16 +19395,12 @@ interface operations {
18571
19395
  };
18572
19396
  };
18573
19397
  };
18574
- admin_promotions_retrieve: {
19398
+ admin_readiness_stores_go_live_retrieve: {
18575
19399
  parameters: {
18576
19400
  query?: never;
18577
- header?: {
18578
- /** @description Company the request acts on. Ignored for merchant tokens (scoped to their own company); required for admin tokens to select a company. */
18579
- "X-Sous-Company-Id"?: number;
18580
- };
19401
+ header?: never;
18581
19402
  path: {
18582
- /** @description A unique integer value identifying this promotion. */
18583
- id: number;
19403
+ public_id: string;
18584
19404
  };
18585
19405
  cookie?: never;
18586
19406
  };
@@ -18591,7 +19411,9 @@ interface operations {
18591
19411
  [name: string]: unknown;
18592
19412
  };
18593
19413
  content: {
18594
- "application/json": components["schemas"]["AdminPromotion"];
19414
+ "application/json": {
19415
+ [key: string]: unknown;
19416
+ };
18595
19417
  };
18596
19418
  };
18597
19419
  /** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
@@ -18621,7 +19443,7 @@ interface operations {
18621
19443
  "application/json": components["schemas"]["APIErrorEnvelope"];
18622
19444
  };
18623
19445
  };
18624
- /** @description Possible error codes include `NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. */
19446
+ /** @description Store not found (READINESS_STORE_NOT_FOUND). Possible error codes include `NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. */
18625
19447
  404: {
18626
19448
  headers: {
18627
19449
  [name: string]: unknown;
@@ -18650,36 +19472,126 @@ interface operations {
18650
19472
  };
18651
19473
  };
18652
19474
  };
18653
- admin_promotions_update: {
19475
+ admin_readiness_stores_go_live_create: {
19476
+ parameters: {
19477
+ query?: never;
19478
+ header?: never;
19479
+ path: {
19480
+ public_id: string;
19481
+ };
19482
+ cookie?: never;
19483
+ };
19484
+ requestBody: {
19485
+ content: {
19486
+ "application/json": components["schemas"]["GoLiveRequest"];
19487
+ "application/x-www-form-urlencoded": components["schemas"]["GoLiveRequest"];
19488
+ "multipart/form-data": components["schemas"]["GoLiveRequest"];
19489
+ };
19490
+ };
19491
+ responses: {
19492
+ 201: {
19493
+ headers: {
19494
+ [name: string]: unknown;
19495
+ };
19496
+ content: {
19497
+ "application/json": {
19498
+ [key: string]: unknown;
19499
+ };
19500
+ };
19501
+ };
19502
+ /** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
19503
+ 400: {
19504
+ headers: {
19505
+ [name: string]: unknown;
19506
+ };
19507
+ content: {
19508
+ "application/json": components["schemas"]["APIErrorEnvelope"];
19509
+ };
19510
+ };
19511
+ /** @description Possible error codes include `UNAUTHORIZED`. Use `x-error-codes` for machine-readable retryability metadata. */
19512
+ 401: {
19513
+ headers: {
19514
+ [name: string]: unknown;
19515
+ };
19516
+ content: {
19517
+ "application/json": components["schemas"]["APIErrorEnvelope"];
19518
+ };
19519
+ };
19520
+ /** @description Possible error codes include `FORBIDDEN`. Use `x-error-codes` for machine-readable retryability metadata. */
19521
+ 403: {
19522
+ headers: {
19523
+ [name: string]: unknown;
19524
+ };
19525
+ content: {
19526
+ "application/json": components["schemas"]["APIErrorEnvelope"];
19527
+ };
19528
+ };
19529
+ /** @description Store not found (READINESS_STORE_NOT_FOUND). Possible error codes include `NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. */
19530
+ 404: {
19531
+ headers: {
19532
+ [name: string]: unknown;
19533
+ };
19534
+ content: {
19535
+ "application/json": components["schemas"]["APIErrorEnvelope"];
19536
+ };
19537
+ };
19538
+ /** @description A failing check was not acknowledged (READINESS_ACKNOWLEDGEMENT_REQUIRED). ``error.details.required`` lists those still to acknowledge. */
19539
+ 409: {
19540
+ headers: {
19541
+ [name: string]: unknown;
19542
+ };
19543
+ content: {
19544
+ "application/json": components["schemas"]["GoLiveAcknowledgementRequired"];
19545
+ };
19546
+ };
19547
+ /** @description Possible error codes include `RATE_LIMITED`. Use `x-error-codes` for machine-readable retryability metadata. */
19548
+ 429: {
19549
+ headers: {
19550
+ [name: string]: unknown;
19551
+ };
19552
+ content: {
19553
+ "application/json": components["schemas"]["APIErrorEnvelope"];
19554
+ };
19555
+ };
19556
+ /** @description Possible error codes include `INTERNAL_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
19557
+ 500: {
19558
+ headers: {
19559
+ [name: string]: unknown;
19560
+ };
19561
+ content: {
19562
+ "application/json": components["schemas"]["APIErrorEnvelope"];
19563
+ };
19564
+ };
19565
+ };
19566
+ };
19567
+ admin_readiness_stores_lifecycle_create: {
18654
19568
  parameters: {
18655
19569
  query?: never;
18656
- header?: {
18657
- /** @description Company the request acts on. Ignored for merchant tokens (scoped to their own company); required for admin tokens to select a company. */
18658
- "X-Sous-Company-Id"?: number;
18659
- };
19570
+ header?: never;
18660
19571
  path: {
18661
- /** @description A unique integer value identifying this promotion. */
18662
- id: number;
19572
+ public_id: string;
18663
19573
  };
18664
19574
  cookie?: never;
18665
19575
  };
18666
19576
  requestBody: {
18667
19577
  content: {
18668
- "application/json": components["schemas"]["AdminPromotion"];
18669
- "application/x-www-form-urlencoded": components["schemas"]["AdminPromotion"];
18670
- "multipart/form-data": components["schemas"]["AdminPromotion"];
19578
+ "application/json": components["schemas"]["LifecycleRequest"];
19579
+ "application/x-www-form-urlencoded": components["schemas"]["LifecycleRequest"];
19580
+ "multipart/form-data": components["schemas"]["LifecycleRequest"];
18671
19581
  };
18672
19582
  };
18673
19583
  responses: {
18674
- 200: {
19584
+ 201: {
18675
19585
  headers: {
18676
19586
  [name: string]: unknown;
18677
19587
  };
18678
19588
  content: {
18679
- "application/json": components["schemas"]["AdminPromotion"];
19589
+ "application/json": {
19590
+ [key: string]: unknown;
19591
+ };
18680
19592
  };
18681
19593
  };
18682
- /** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
19594
+ /** @description Not applicable to this store (READINESS_INVALID_ACTION). Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
18683
19595
  400: {
18684
19596
  headers: {
18685
19597
  [name: string]: unknown;
@@ -18706,7 +19618,7 @@ interface operations {
18706
19618
  "application/json": components["schemas"]["APIErrorEnvelope"];
18707
19619
  };
18708
19620
  };
18709
- /** @description Possible error codes include `NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. */
19621
+ /** @description Store not found (READINESS_STORE_NOT_FOUND). Possible error codes include `NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. */
18710
19622
  404: {
18711
19623
  headers: {
18712
19624
  [name: string]: unknown;
@@ -18735,27 +19647,26 @@ interface operations {
18735
19647
  };
18736
19648
  };
18737
19649
  };
18738
- admin_promotions_destroy: {
19650
+ admin_readiness_store_probes_run: {
18739
19651
  parameters: {
18740
19652
  query?: never;
18741
- header?: {
18742
- /** @description Company the request acts on. Ignored for merchant tokens (scoped to their own company); required for admin tokens to select a company. */
18743
- "X-Sous-Company-Id"?: number;
18744
- };
19653
+ header?: never;
18745
19654
  path: {
18746
- /** @description A unique integer value identifying this promotion. */
18747
- id: number;
19655
+ public_id: string;
18748
19656
  };
18749
19657
  cookie?: never;
18750
19658
  };
18751
19659
  requestBody?: never;
18752
19660
  responses: {
18753
- /** @description No response body */
18754
- 204: {
19661
+ 200: {
18755
19662
  headers: {
18756
19663
  [name: string]: unknown;
18757
19664
  };
18758
- content?: never;
19665
+ content: {
19666
+ "application/json": {
19667
+ [key: string]: unknown;
19668
+ };
19669
+ };
18759
19670
  };
18760
19671
  /** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
18761
19672
  400: {
@@ -18784,7 +19695,7 @@ interface operations {
18784
19695
  "application/json": components["schemas"]["APIErrorEnvelope"];
18785
19696
  };
18786
19697
  };
18787
- /** @description Possible error codes include `NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. */
19698
+ /** @description Store not found (READINESS_STORE_NOT_FOUND). Possible error codes include `NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. */
18788
19699
  404: {
18789
19700
  headers: {
18790
19701
  [name: string]: unknown;
@@ -18813,36 +19724,34 @@ interface operations {
18813
19724
  };
18814
19725
  };
18815
19726
  };
18816
- admin_promotions_partial_update: {
19727
+ admin_readiness_stores_ticks_create: {
18817
19728
  parameters: {
18818
19729
  query?: never;
18819
- header?: {
18820
- /** @description Company the request acts on. Ignored for merchant tokens (scoped to their own company); required for admin tokens to select a company. */
18821
- "X-Sous-Company-Id"?: number;
18822
- };
19730
+ header?: never;
18823
19731
  path: {
18824
- /** @description A unique integer value identifying this promotion. */
18825
- id: number;
19732
+ public_id: string;
18826
19733
  };
18827
19734
  cookie?: never;
18828
19735
  };
18829
- requestBody?: {
19736
+ requestBody: {
18830
19737
  content: {
18831
- "application/json": components["schemas"]["PatchedAdminPromotion"];
18832
- "application/x-www-form-urlencoded": components["schemas"]["PatchedAdminPromotion"];
18833
- "multipart/form-data": components["schemas"]["PatchedAdminPromotion"];
19738
+ "application/json": components["schemas"]["TickRequest"];
19739
+ "application/x-www-form-urlencoded": components["schemas"]["TickRequest"];
19740
+ "multipart/form-data": components["schemas"]["TickRequest"];
18834
19741
  };
18835
19742
  };
18836
19743
  responses: {
18837
- 200: {
19744
+ 201: {
18838
19745
  headers: {
18839
19746
  [name: string]: unknown;
18840
19747
  };
18841
19748
  content: {
18842
- "application/json": components["schemas"]["AdminPromotion"];
19749
+ "application/json": {
19750
+ [key: string]: unknown;
19751
+ };
18843
19752
  };
18844
19753
  };
18845
- /** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
19754
+ /** @description Not applicable to this store (READINESS_INVALID_ACTION). Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
18846
19755
  400: {
18847
19756
  headers: {
18848
19757
  [name: string]: unknown;
@@ -18869,7 +19778,82 @@ interface operations {
18869
19778
  "application/json": components["schemas"]["APIErrorEnvelope"];
18870
19779
  };
18871
19780
  };
18872
- /** @description Possible error codes include `NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. */
19781
+ /** @description Store not found (READINESS_STORE_NOT_FOUND). Possible error codes include `NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. */
19782
+ 404: {
19783
+ headers: {
19784
+ [name: string]: unknown;
19785
+ };
19786
+ content: {
19787
+ "application/json": components["schemas"]["APIErrorEnvelope"];
19788
+ };
19789
+ };
19790
+ /** @description Possible error codes include `RATE_LIMITED`. Use `x-error-codes` for machine-readable retryability metadata. */
19791
+ 429: {
19792
+ headers: {
19793
+ [name: string]: unknown;
19794
+ };
19795
+ content: {
19796
+ "application/json": components["schemas"]["APIErrorEnvelope"];
19797
+ };
19798
+ };
19799
+ /** @description Possible error codes include `INTERNAL_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
19800
+ 500: {
19801
+ headers: {
19802
+ [name: string]: unknown;
19803
+ };
19804
+ content: {
19805
+ "application/json": components["schemas"]["APIErrorEnvelope"];
19806
+ };
19807
+ };
19808
+ };
19809
+ };
19810
+ admin_readiness_stores_ticks_destroy: {
19811
+ parameters: {
19812
+ query?: never;
19813
+ header?: never;
19814
+ path: {
19815
+ public_id: string;
19816
+ rule_id: string;
19817
+ };
19818
+ cookie?: never;
19819
+ };
19820
+ requestBody?: never;
19821
+ responses: {
19822
+ /** @description No response body */
19823
+ 204: {
19824
+ headers: {
19825
+ [name: string]: unknown;
19826
+ };
19827
+ content?: never;
19828
+ };
19829
+ /** @description Not applicable to this store (READINESS_INVALID_ACTION). Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
19830
+ 400: {
19831
+ headers: {
19832
+ [name: string]: unknown;
19833
+ };
19834
+ content: {
19835
+ "application/json": components["schemas"]["APIErrorEnvelope"];
19836
+ };
19837
+ };
19838
+ /** @description Possible error codes include `UNAUTHORIZED`. Use `x-error-codes` for machine-readable retryability metadata. */
19839
+ 401: {
19840
+ headers: {
19841
+ [name: string]: unknown;
19842
+ };
19843
+ content: {
19844
+ "application/json": components["schemas"]["APIErrorEnvelope"];
19845
+ };
19846
+ };
19847
+ /** @description Possible error codes include `FORBIDDEN`. Use `x-error-codes` for machine-readable retryability metadata. */
19848
+ 403: {
19849
+ headers: {
19850
+ [name: string]: unknown;
19851
+ };
19852
+ content: {
19853
+ "application/json": components["schemas"]["APIErrorEnvelope"];
19854
+ };
19855
+ };
19856
+ /** @description Store not found (READINESS_STORE_NOT_FOUND). Possible error codes include `NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. */
18873
19857
  404: {
18874
19858
  headers: {
18875
19859
  [name: string]: unknown;
@@ -20906,6 +21890,15 @@ interface operations {
20906
21890
  "application/json": components["schemas"]["APIErrorEnvelope"];
20907
21891
  };
20908
21892
  };
21893
+ /** @description Possible error codes include `brand_managed`. Use `x-error-codes` for machine-readable retryability metadata. */
21894
+ 409: {
21895
+ headers: {
21896
+ [name: string]: unknown;
21897
+ };
21898
+ content: {
21899
+ "application/json": components["schemas"]["APIErrorEnvelope"];
21900
+ };
21901
+ };
20909
21902
  /** @description Possible error codes include `RATE_LIMITED`. Use `x-error-codes` for machine-readable retryability metadata. */
20910
21903
  429: {
20911
21904
  headers: {
@@ -20991,6 +21984,15 @@ interface operations {
20991
21984
  "application/json": components["schemas"]["APIErrorEnvelope"];
20992
21985
  };
20993
21986
  };
21987
+ /** @description Possible error codes include `brand_managed`. Use `x-error-codes` for machine-readable retryability metadata. */
21988
+ 409: {
21989
+ headers: {
21990
+ [name: string]: unknown;
21991
+ };
21992
+ content: {
21993
+ "application/json": components["schemas"]["APIErrorEnvelope"];
21994
+ };
21995
+ };
20994
21996
  /** @description Possible error codes include `RATE_LIMITED`. Use `x-error-codes` for machine-readable retryability metadata. */
20995
21997
  429: {
20996
21998
  headers: {
@@ -21232,6 +22234,15 @@ interface operations {
21232
22234
  "application/json": components["schemas"]["APIErrorEnvelope"];
21233
22235
  };
21234
22236
  };
22237
+ /** @description Possible error codes include `brand_managed`. Use `x-error-codes` for machine-readable retryability metadata. */
22238
+ 409: {
22239
+ headers: {
22240
+ [name: string]: unknown;
22241
+ };
22242
+ content: {
22243
+ "application/json": components["schemas"]["APIErrorEnvelope"];
22244
+ };
22245
+ };
21235
22246
  /** @description Possible error codes include `RATE_LIMITED`. Use `x-error-codes` for machine-readable retryability metadata. */
21236
22247
  429: {
21237
22248
  headers: {
@@ -21317,6 +22328,15 @@ interface operations {
21317
22328
  "application/json": components["schemas"]["APIErrorEnvelope"];
21318
22329
  };
21319
22330
  };
22331
+ /** @description Possible error codes include `brand_managed`. Use `x-error-codes` for machine-readable retryability metadata. */
22332
+ 409: {
22333
+ headers: {
22334
+ [name: string]: unknown;
22335
+ };
22336
+ content: {
22337
+ "application/json": components["schemas"]["APIErrorEnvelope"];
22338
+ };
22339
+ };
21320
22340
  /** @description Possible error codes include `RATE_LIMITED`. Use `x-error-codes` for machine-readable retryability metadata. */
21321
22341
  429: {
21322
22342
  headers: {
@@ -21481,6 +22501,15 @@ interface operations {
21481
22501
  "application/json": components["schemas"]["APIErrorEnvelope"];
21482
22502
  };
21483
22503
  };
22504
+ /** @description Possible error codes include `brand_managed`. Use `x-error-codes` for machine-readable retryability metadata. */
22505
+ 409: {
22506
+ headers: {
22507
+ [name: string]: unknown;
22508
+ };
22509
+ content: {
22510
+ "application/json": components["schemas"]["APIErrorEnvelope"];
22511
+ };
22512
+ };
21484
22513
  /** @description Possible error codes include `RATE_LIMITED`. Use `x-error-codes` for machine-readable retryability metadata. */
21485
22514
  429: {
21486
22515
  headers: {
@@ -21560,6 +22589,15 @@ interface operations {
21560
22589
  "application/json": components["schemas"]["APIErrorEnvelope"];
21561
22590
  };
21562
22591
  };
22592
+ /** @description Possible error codes include `brand_managed`. Use `x-error-codes` for machine-readable retryability metadata. */
22593
+ 409: {
22594
+ headers: {
22595
+ [name: string]: unknown;
22596
+ };
22597
+ content: {
22598
+ "application/json": components["schemas"]["APIErrorEnvelope"];
22599
+ };
22600
+ };
21563
22601
  /** @description Possible error codes include `RATE_LIMITED`. Use `x-error-codes` for machine-readable retryability metadata. */
21564
22602
  429: {
21565
22603
  headers: {
@@ -21645,7 +22683,7 @@ interface operations {
21645
22683
  "application/json": components["schemas"]["APIErrorEnvelope"];
21646
22684
  };
21647
22685
  };
21648
- /** @description Possible error codes include `group_order_stale`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `product_not_synced`. Use `x-error-codes` for machine-readable retryability metadata. */
22686
+ /** @description Possible error codes include `brand_managed`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `group_order_stale`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `product_not_synced`. Use `x-error-codes` for machine-readable retryability metadata. */
21649
22687
  409: {
21650
22688
  headers: {
21651
22689
  [name: string]: unknown;
@@ -47180,6 +48218,88 @@ interface operations {
47180
48218
  };
47181
48219
  };
47182
48220
  };
48221
+ sync_store_compliance_values: {
48222
+ parameters: {
48223
+ query?: {
48224
+ /** @description Last product id read. */
48225
+ after?: number;
48226
+ /** @description Page size, at most 500. */
48227
+ limit?: number;
48228
+ };
48229
+ header?: never;
48230
+ path: {
48231
+ store_public_id: string;
48232
+ };
48233
+ cookie?: never;
48234
+ };
48235
+ requestBody?: never;
48236
+ responses: {
48237
+ 200: {
48238
+ headers: {
48239
+ [name: string]: unknown;
48240
+ };
48241
+ content: {
48242
+ "application/json": components["schemas"]["ComplianceValuesResponse"];
48243
+ };
48244
+ };
48245
+ /** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
48246
+ 400: {
48247
+ headers: {
48248
+ [name: string]: unknown;
48249
+ };
48250
+ content: {
48251
+ "application/json": components["schemas"]["APIErrorEnvelope"];
48252
+ };
48253
+ };
48254
+ /** @description Possible error codes include `UNAUTHORIZED`. Use `x-error-codes` for machine-readable retryability metadata. */
48255
+ 401: {
48256
+ headers: {
48257
+ [name: string]: unknown;
48258
+ };
48259
+ content: {
48260
+ "application/json": components["schemas"]["APIErrorEnvelope"];
48261
+ };
48262
+ };
48263
+ /** @description Possible error codes include `FORBIDDEN`. Use `x-error-codes` for machine-readable retryability metadata. */
48264
+ 403: {
48265
+ headers: {
48266
+ [name: string]: unknown;
48267
+ };
48268
+ content: {
48269
+ "application/json": components["schemas"]["APIErrorEnvelope"];
48270
+ };
48271
+ };
48272
+ /** @description Possible error codes include `NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. */
48273
+ 404: {
48274
+ headers: {
48275
+ [name: string]: unknown;
48276
+ };
48277
+ content: {
48278
+ "application/json": {
48279
+ [key: string]: unknown;
48280
+ };
48281
+ };
48282
+ };
48283
+ /** @description Possible error codes include `RATE_LIMITED`. Use `x-error-codes` for machine-readable retryability metadata. */
48284
+ 429: {
48285
+ headers: {
48286
+ [name: string]: unknown;
48287
+ };
48288
+ content: {
48289
+ "application/json": components["schemas"]["APIErrorEnvelope"];
48290
+ };
48291
+ };
48292
+ /** @description Possible error codes include `INTERNAL_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
48293
+ 500: {
48294
+ headers: {
48295
+ [name: string]: unknown;
48296
+ };
48297
+ content: {
48298
+ "application/json": components["schemas"]["APIErrorEnvelope"];
48299
+ };
48300
+ };
48301
+ };
48302
+ };
47183
48303
  ucp_capabilities_retrieve: {
47184
48304
  parameters: {
47185
48305
  query?: never;