@poweredbysous/storefront-sdk 3.1.0 → 3.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.
package/dist/index.d.ts CHANGED
@@ -260,6 +260,49 @@ interface paths {
260
260
  patch: operations["cart_bind_service_point_partial_update"];
261
261
  trace?: never;
262
262
  };
263
+ "/api/v1/cart/{cart_id}/fulfillment/": {
264
+ parameters: {
265
+ query?: never;
266
+ header?: never;
267
+ path?: never;
268
+ cookie?: never;
269
+ };
270
+ get?: never;
271
+ put?: never;
272
+ post?: never;
273
+ delete?: never;
274
+ options?: never;
275
+ head?: never;
276
+ /**
277
+ * @description Move every line of the cart onto one fulfilment type (and date).
278
+ *
279
+ * The one request a storefront makes when the shopper switches between
280
+ * pickup and delivery. All or nothing: a product that cannot go the new way
281
+ * refuses the whole switch and the cart is left as it was.
282
+ */
283
+ patch: operations["cart_fulfillment_partial_update"];
284
+ trace?: never;
285
+ };
286
+ "/api/v1/cart/{cart_id}/fulfilment-dates/": {
287
+ parameters: {
288
+ query?: never;
289
+ header?: never;
290
+ path?: never;
291
+ cookie?: never;
292
+ };
293
+ /**
294
+ * @description The dates every line of the cart can be fulfilled on, for one
295
+ * fulfilment type (design R3 to R7). Read-only; changes no cart.
296
+ */
297
+ get: operations["cart_fulfilment_dates_retrieve"];
298
+ put?: never;
299
+ post?: never;
300
+ delete?: never;
301
+ options?: never;
302
+ head?: never;
303
+ patch?: never;
304
+ trace?: never;
305
+ };
263
306
  "/api/v1/cart/{cart_id}/items/": {
264
307
  parameters: {
265
308
  query?: never;
@@ -2099,6 +2142,31 @@ interface paths {
2099
2142
  patch?: never;
2100
2143
  trace?: never;
2101
2144
  };
2145
+ "/api/v1/products/deliverability/": {
2146
+ parameters: {
2147
+ query?: never;
2148
+ header?: never;
2149
+ path?: never;
2150
+ cookie?: never;
2151
+ };
2152
+ get?: never;
2153
+ put?: never;
2154
+ /**
2155
+ * @description Which products reach a position, and how: the address-aware list, body-borne.
2156
+ *
2157
+ * The same filter and badges as ``GET /products/?latitude=&longitude=``,
2158
+ * but the position and postcode travel in the body, because a URL is
2159
+ * written to every access log between the shopper and here. Returns every
2160
+ * reachable product (ids and badges only), so there is no page to run off
2161
+ * the end of.
2162
+ */
2163
+ post: operations["products_deliverability_create"];
2164
+ delete?: never;
2165
+ options?: never;
2166
+ head?: never;
2167
+ patch?: never;
2168
+ trace?: never;
2169
+ };
2102
2170
  "/api/v1/products/search/": {
2103
2171
  parameters: {
2104
2172
  query?: never;
@@ -3090,6 +3158,11 @@ interface components {
3090
3158
  language_preference?: (components["schemas"]["LanguagePreferenceEnum"] | components["schemas"]["NullEnum"]) | null;
3091
3159
  marketing_opt_in?: boolean | null;
3092
3160
  };
3161
+ DatedMiles: {
3162
+ miles: number;
3163
+ /** Format: date-time */
3164
+ on: string;
3165
+ };
3093
3166
  /**
3094
3167
  * @description What merchant-portal-backend's publish needs to know about a store
3095
3168
  * whose delivery methods the portal's toggles own.
@@ -3190,6 +3263,18 @@ interface components {
3190
3263
  * @enum {string}
3191
3264
  */
3192
3265
  FulfillmentTypeEnum: "nationwide_delivery" | "local_delivery" | "pickup" | "room_service";
3266
+ /** @description The dates every line of a cart can be fulfilled on. */
3267
+ FulfilmentDates: {
3268
+ dates: string[];
3269
+ reason: (components["schemas"]["FulfilmentDatesReasonEnum"] | components["schemas"]["NullEnum"]) | null;
3270
+ conflicting_product_ids: number[];
3271
+ };
3272
+ /**
3273
+ * @description * `no_common_date` - no_common_date
3274
+ * * `no_dates` - no_dates
3275
+ * @enum {string}
3276
+ */
3277
+ FulfilmentDatesReasonEnum: "no_common_date" | "no_dates";
3193
3278
  GroupOrderItemsRequest: {
3194
3279
  participant_id: string;
3195
3280
  };
@@ -3345,6 +3430,16 @@ interface components {
3345
3430
  reference_type?: string;
3346
3431
  /** @description ID of the referenced object */
3347
3432
  reference_id?: string;
3433
+ /**
3434
+ * Format: date-time
3435
+ * @description Earned miles: when they become spendable. Empty: at once.
3436
+ */
3437
+ available_from?: string | null;
3438
+ /**
3439
+ * Format: date-time
3440
+ * @description Earned miles: when what is left of them lapses. Empty: never.
3441
+ */
3442
+ expires_at?: string | null;
3348
3443
  /** Format: date-time */
3349
3444
  readonly created_at: string;
3350
3445
  };
@@ -3882,6 +3977,19 @@ interface components {
3882
3977
  /** Format: uuid */
3883
3978
  fulfillment_slot_id?: string;
3884
3979
  pickup_location_id?: number;
3980
+ /** @description ExploreSOUS only: chosen handover date (YYYY-MM-DD). */
3981
+ fulfillment_date?: string | null;
3982
+ };
3983
+ /**
3984
+ * @description Validates the request body for moving a whole cart onto one fulfilment.
3985
+ *
3986
+ * Room service is refused here: it needs a service point, which
3987
+ * ``bind-service-point/`` validates and binds.
3988
+ */
3989
+ PatchedSetFulfillmentInput: {
3990
+ fulfillment_type?: components["schemas"]["FulfillmentTypeEnum"];
3991
+ /** Format: date */
3992
+ fulfillment_date?: string;
3885
3993
  };
3886
3994
  /** @description Validates the request body for updating a line item quantity. */
3887
3995
  PatchedUpdateItemQuantityInput: {
@@ -3984,6 +4092,40 @@ interface components {
3984
4092
  product_ids: number[];
3985
4093
  restrictions: components["schemas"]["_DiscountRestrictions"];
3986
4094
  };
4095
+ /** @description Which products reach the address, and the badges each carries there. */
4096
+ ProductDeliverability: {
4097
+ results: components["schemas"]["ProductDeliverabilityItem"][];
4098
+ delivery_metadata: components["schemas"]["ProductDeliveryMetadata"];
4099
+ };
4100
+ ProductDeliverabilityItem: {
4101
+ id: number;
4102
+ address_fulfillment_types: string[];
4103
+ };
4104
+ /**
4105
+ * @description Body of ``POST /products/deliverability/``: where the shopper is.
4106
+ *
4107
+ * A body, not a query string, because a position and a postcode are personal
4108
+ * data and a URL is written to every access log on the way here. ``latitude``
4109
+ * and ``longitude`` are ``RegexField`` rather than ``DecimalField`` because
4110
+ * ``DecimalField`` bounds are runtime-only in OpenAPI: generated clients see
4111
+ * a bare string. The pattern restates the ±90 / ±180 bounds where the client
4112
+ * can read them, and the view still converts to ``Decimal``.
4113
+ */
4114
+ ProductDeliverabilityRequest: {
4115
+ /** @description Latitude, within ±90 degrees. */
4116
+ latitude: string;
4117
+ /** @description Longitude, within ±180 degrees. */
4118
+ longitude: string;
4119
+ postal_code?: string;
4120
+ /** @description ISO 3166-1 alpha-2. A nationwide carrier that declares per-country service areas only offers its products once the country is known. */
4121
+ country?: string;
4122
+ };
4123
+ ProductDeliveryMetadata: {
4124
+ delivery_unavailable: boolean;
4125
+ near_delivery_zone: boolean;
4126
+ /** @description Closest pickup location; present only when delivery is unavailable. */
4127
+ nearest_pickup?: components["schemas"]["ProductNearestPickup"];
4128
+ };
3987
4129
  /** @description Resolve tags from ProductTranslation, falling back to Product.tags. */
3988
4130
  ProductDetail: {
3989
4131
  readonly id: number;
@@ -4135,6 +4277,13 @@ interface components {
4135
4277
  position?: number;
4136
4278
  readonly modifiers: components["schemas"]["ProductModifier"][];
4137
4279
  };
4280
+ /** @description The closest pickup location: the same shape ``address-check`` returns. */
4281
+ ProductNearestPickup: {
4282
+ id: number;
4283
+ name: string;
4284
+ /** Format: double */
4285
+ distance_km: number;
4286
+ };
4138
4287
  /**
4139
4288
  * @description Display-only promotion badge attached to a product.
4140
4289
  *
@@ -4988,13 +5137,21 @@ interface components {
4988
5137
  uber_direct: boolean;
4989
5138
  lieferando: boolean;
4990
5139
  };
4991
- /** @description Customer-facing Zeemijlen balance + redemption economics. */
5140
+ /**
5141
+ * @description Customer-facing Zeemijlen balance + redemption economics.
5142
+ *
5143
+ * ``points_balance`` is what can be spent now. Miles earned but not yet
5144
+ * spendable are in ``upcoming_miles``, and spendable miles that will lapse in
5145
+ * ``expiring_miles``, each soonest first.
5146
+ */
4992
5147
  ZeemijlenSummary: {
4993
5148
  points_balance: number;
4994
5149
  redeemable_miles: number;
4995
5150
  redeem_step_miles: number;
4996
5151
  euro_per_step: string;
4997
5152
  balance_value: string;
5153
+ upcoming_miles: components["schemas"]["DatedMiles"][];
5154
+ expiring_miles: components["schemas"]["DatedMiles"][];
4998
5155
  };
4999
5156
  /** @description Schedule/scope block the storefront re-judges at render time. */
5000
5157
  _DiscountRestrictions: {
@@ -5799,6 +5956,15 @@ interface operations {
5799
5956
  "application/json": components["schemas"]["APIErrorEnvelope"];
5800
5957
  };
5801
5958
  };
5959
+ /** @description Possible error codes include `PRODUCT_NO_LONGER_ORDERABLE`. Use `x-error-codes` for machine-readable retryability metadata. */
5960
+ 409: {
5961
+ headers: {
5962
+ [name: string]: unknown;
5963
+ };
5964
+ content: {
5965
+ "application/json": components["schemas"]["APIErrorEnvelope"];
5966
+ };
5967
+ };
5802
5968
  /** @description Possible error codes: `RATE_LIMITED`. Retryable: yes. Possible error codes include `RATE_LIMITED`. Use `x-error-codes` for machine-readable retryability metadata. */
5803
5969
  429: {
5804
5970
  headers: {
@@ -5889,6 +6055,15 @@ interface operations {
5889
6055
  "application/json": components["schemas"]["APIErrorEnvelope"];
5890
6056
  };
5891
6057
  };
6058
+ /** @description Possible error codes include `PRODUCT_NO_LONGER_ORDERABLE`. Use `x-error-codes` for machine-readable retryability metadata. */
6059
+ 409: {
6060
+ headers: {
6061
+ [name: string]: unknown;
6062
+ };
6063
+ content: {
6064
+ "application/json": components["schemas"]["APIErrorEnvelope"];
6065
+ };
6066
+ };
5892
6067
  /** @description Possible error codes include `RATE_LIMITED`. Use `x-error-codes` for machine-readable retryability metadata. */
5893
6068
  429: {
5894
6069
  headers: {
@@ -5970,6 +6145,15 @@ interface operations {
5970
6145
  "application/json": components["schemas"]["APIErrorEnvelope"];
5971
6146
  };
5972
6147
  };
6148
+ /** @description Possible error codes include `PRODUCT_NO_LONGER_ORDERABLE`. Use `x-error-codes` for machine-readable retryability metadata. */
6149
+ 409: {
6150
+ headers: {
6151
+ [name: string]: unknown;
6152
+ };
6153
+ content: {
6154
+ "application/json": components["schemas"]["APIErrorEnvelope"];
6155
+ };
6156
+ };
5973
6157
  /** @description Possible error codes include `RATE_LIMITED`. Use `x-error-codes` for machine-readable retryability metadata. */
5974
6158
  429: {
5975
6159
  headers: {
@@ -6051,6 +6235,196 @@ interface operations {
6051
6235
  "application/json": components["schemas"]["APIErrorEnvelope"];
6052
6236
  };
6053
6237
  };
6238
+ /** @description Possible error codes include `PRODUCT_NO_LONGER_ORDERABLE`. Use `x-error-codes` for machine-readable retryability metadata. */
6239
+ 409: {
6240
+ headers: {
6241
+ [name: string]: unknown;
6242
+ };
6243
+ content: {
6244
+ "application/json": components["schemas"]["APIErrorEnvelope"];
6245
+ };
6246
+ };
6247
+ /** @description Possible error codes include `RATE_LIMITED`. Use `x-error-codes` for machine-readable retryability metadata. */
6248
+ 429: {
6249
+ headers: {
6250
+ [name: string]: unknown;
6251
+ };
6252
+ content: {
6253
+ "application/json": components["schemas"]["APIErrorEnvelope"];
6254
+ };
6255
+ };
6256
+ /** @description Possible error codes include `INTERNAL_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
6257
+ 500: {
6258
+ headers: {
6259
+ [name: string]: unknown;
6260
+ };
6261
+ content: {
6262
+ "application/json": components["schemas"]["APIErrorEnvelope"];
6263
+ };
6264
+ };
6265
+ };
6266
+ };
6267
+ cart_fulfillment_partial_update: {
6268
+ parameters: {
6269
+ query?: never;
6270
+ header?: never;
6271
+ path: {
6272
+ cart_id: string;
6273
+ };
6274
+ cookie?: never;
6275
+ };
6276
+ requestBody?: {
6277
+ content: {
6278
+ "application/json": components["schemas"]["PatchedSetFulfillmentInput"];
6279
+ "application/x-www-form-urlencoded": components["schemas"]["PatchedSetFulfillmentInput"];
6280
+ "multipart/form-data": components["schemas"]["PatchedSetFulfillmentInput"];
6281
+ };
6282
+ };
6283
+ responses: {
6284
+ 200: {
6285
+ headers: {
6286
+ [name: string]: unknown;
6287
+ };
6288
+ content: {
6289
+ "application/json": components["schemas"]["Cart"];
6290
+ };
6291
+ };
6292
+ /** @description Possible error codes: `FULFILLMENT_TYPE_UNAVAILABLE`. Retryable: no. Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `CART_MAX_ITEMS_EXCEEDED`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `LINE_ITEM_INVALID_QUANTITY`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `LINE_ITEM_MAX_QUANTITY_EXCEEDED`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `PRODUCT_SOLD_OUT`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `PRODUCT_UNAVAILABLE`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `OPTION_INVALID_FOR_PRODUCT`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `REQUIRED_OPTIONS_MISSING`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `FULFILLMENT_TYPE_UNAVAILABLE`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `SERVICE_POINT_REQUIRED`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `SERVICE_POINT_INVALID`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `SERVICE_POINT_NOT_ALLOWED`. Use `x-error-codes` for machine-readable retryability metadata. */
6293
+ 400: {
6294
+ headers: {
6295
+ [name: string]: unknown;
6296
+ };
6297
+ content: {
6298
+ "application/json": components["schemas"]["APIErrorEnvelope"];
6299
+ };
6300
+ };
6301
+ /** @description Possible error codes include `UNAUTHORIZED`. Use `x-error-codes` for machine-readable retryability metadata. */
6302
+ 401: {
6303
+ headers: {
6304
+ [name: string]: unknown;
6305
+ };
6306
+ content: {
6307
+ "application/json": components["schemas"]["APIErrorEnvelope"];
6308
+ };
6309
+ };
6310
+ /** @description Possible error codes include `FORBIDDEN`. Use `x-error-codes` for machine-readable retryability metadata. */
6311
+ 403: {
6312
+ headers: {
6313
+ [name: string]: unknown;
6314
+ };
6315
+ content: {
6316
+ "application/json": components["schemas"]["APIErrorEnvelope"];
6317
+ };
6318
+ };
6319
+ /** @description Possible error codes: `CART_NOT_FOUND`. Retryable: no. Possible error codes include `NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `CART_NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `LINE_ITEM_NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `OPTION_NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. */
6320
+ 404: {
6321
+ headers: {
6322
+ [name: string]: unknown;
6323
+ };
6324
+ content: {
6325
+ "application/json": components["schemas"]["APIErrorEnvelope"];
6326
+ };
6327
+ };
6328
+ /** @description Possible error codes include `PRODUCT_NO_LONGER_ORDERABLE`. Use `x-error-codes` for machine-readable retryability metadata. */
6329
+ 409: {
6330
+ headers: {
6331
+ [name: string]: unknown;
6332
+ };
6333
+ content: {
6334
+ "application/json": components["schemas"]["APIErrorEnvelope"];
6335
+ };
6336
+ };
6337
+ /** @description Possible error codes include `RATE_LIMITED`. Use `x-error-codes` for machine-readable retryability metadata. */
6338
+ 429: {
6339
+ headers: {
6340
+ [name: string]: unknown;
6341
+ };
6342
+ content: {
6343
+ "application/json": components["schemas"]["APIErrorEnvelope"];
6344
+ };
6345
+ };
6346
+ /** @description Possible error codes include `INTERNAL_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
6347
+ 500: {
6348
+ headers: {
6349
+ [name: string]: unknown;
6350
+ };
6351
+ content: {
6352
+ "application/json": components["schemas"]["APIErrorEnvelope"];
6353
+ };
6354
+ };
6355
+ };
6356
+ };
6357
+ cart_fulfilment_dates_retrieve: {
6358
+ parameters: {
6359
+ query: {
6360
+ /** @description Pickup location id, as the pickup time-slots endpoint takes it. Defaults to the store's active pickup location. */
6361
+ location?: number;
6362
+ /** @description Fulfilment type the dates are for. */
6363
+ type: "delivery" | "pickup";
6364
+ /** @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`. */
6365
+ lang?: string;
6366
+ };
6367
+ header?: never;
6368
+ path: {
6369
+ cart_id: string;
6370
+ };
6371
+ cookie?: never;
6372
+ };
6373
+ requestBody?: never;
6374
+ responses: {
6375
+ 200: {
6376
+ headers: {
6377
+ [name: string]: unknown;
6378
+ };
6379
+ content: {
6380
+ "application/json": components["schemas"]["FulfilmentDates"];
6381
+ };
6382
+ };
6383
+ /** @description Possible error codes: `VALIDATION_ERROR`. Retryable: no. Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `CART_MAX_ITEMS_EXCEEDED`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `LINE_ITEM_INVALID_QUANTITY`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `LINE_ITEM_MAX_QUANTITY_EXCEEDED`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `PRODUCT_SOLD_OUT`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `PRODUCT_UNAVAILABLE`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `OPTION_INVALID_FOR_PRODUCT`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `REQUIRED_OPTIONS_MISSING`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `FULFILLMENT_TYPE_UNAVAILABLE`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `SERVICE_POINT_REQUIRED`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `SERVICE_POINT_INVALID`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `SERVICE_POINT_NOT_ALLOWED`. Use `x-error-codes` for machine-readable retryability metadata. */
6384
+ 400: {
6385
+ headers: {
6386
+ [name: string]: unknown;
6387
+ };
6388
+ content: {
6389
+ "application/json": components["schemas"]["APIErrorEnvelope"];
6390
+ };
6391
+ };
6392
+ /** @description Possible error codes include `UNAUTHORIZED`. Use `x-error-codes` for machine-readable retryability metadata. */
6393
+ 401: {
6394
+ headers: {
6395
+ [name: string]: unknown;
6396
+ };
6397
+ content: {
6398
+ "application/json": components["schemas"]["APIErrorEnvelope"];
6399
+ };
6400
+ };
6401
+ /** @description Possible error codes include `FORBIDDEN`. Use `x-error-codes` for machine-readable retryability metadata. */
6402
+ 403: {
6403
+ headers: {
6404
+ [name: string]: unknown;
6405
+ };
6406
+ content: {
6407
+ "application/json": components["schemas"]["APIErrorEnvelope"];
6408
+ };
6409
+ };
6410
+ /** @description Possible error codes: `CART_NOT_FOUND`, `LOCATION_NOT_FOUND`. Retryable: no. Possible error codes include `NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `CART_NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `LINE_ITEM_NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `OPTION_NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. */
6411
+ 404: {
6412
+ headers: {
6413
+ [name: string]: unknown;
6414
+ };
6415
+ content: {
6416
+ "application/json": components["schemas"]["APIErrorEnvelope"];
6417
+ };
6418
+ };
6419
+ /** @description Possible error codes include `PRODUCT_NO_LONGER_ORDERABLE`. Use `x-error-codes` for machine-readable retryability metadata. */
6420
+ 409: {
6421
+ headers: {
6422
+ [name: string]: unknown;
6423
+ };
6424
+ content: {
6425
+ "application/json": components["schemas"]["APIErrorEnvelope"];
6426
+ };
6427
+ };
6054
6428
  /** @description Possible error codes include `RATE_LIMITED`. Use `x-error-codes` for machine-readable retryability metadata. */
6055
6429
  429: {
6056
6430
  headers: {
@@ -6132,6 +6506,15 @@ interface operations {
6132
6506
  "application/json": components["schemas"]["APIErrorEnvelope"];
6133
6507
  };
6134
6508
  };
6509
+ /** @description Possible error codes: `PRODUCT_NO_LONGER_ORDERABLE`, `PRODUCT_NOT_ORDERABLE_FOR_DATE`, `outside_availability_window`, `date_excluded`, `not_a_delivery_day`, `beyond_pre_order_horizon`, `past_order_cutoff`, `no_common_date`. Retryable: no. Possible error codes include `PRODUCT_NO_LONGER_ORDERABLE`. Use `x-error-codes` for machine-readable retryability metadata. */
6510
+ 409: {
6511
+ headers: {
6512
+ [name: string]: unknown;
6513
+ };
6514
+ content: {
6515
+ "application/json": components["schemas"]["APIErrorEnvelope"];
6516
+ };
6517
+ };
6135
6518
  /** @description Possible error codes include `RATE_LIMITED`. Use `x-error-codes` for machine-readable retryability metadata. */
6136
6519
  429: {
6137
6520
  headers: {
@@ -6208,6 +6591,15 @@ interface operations {
6208
6591
  "application/json": components["schemas"]["APIErrorEnvelope"];
6209
6592
  };
6210
6593
  };
6594
+ /** @description Possible error codes include `PRODUCT_NO_LONGER_ORDERABLE`. Use `x-error-codes` for machine-readable retryability metadata. */
6595
+ 409: {
6596
+ headers: {
6597
+ [name: string]: unknown;
6598
+ };
6599
+ content: {
6600
+ "application/json": components["schemas"]["APIErrorEnvelope"];
6601
+ };
6602
+ };
6211
6603
  /** @description Possible error codes include `RATE_LIMITED`. Use `x-error-codes` for machine-readable retryability metadata. */
6212
6604
  429: {
6213
6605
  headers: {
@@ -6290,6 +6682,15 @@ interface operations {
6290
6682
  "application/json": components["schemas"]["APIErrorEnvelope"];
6291
6683
  };
6292
6684
  };
6685
+ /** @description Possible error codes: `PRODUCT_NO_LONGER_ORDERABLE`. Retryable: no. Possible error codes include `PRODUCT_NO_LONGER_ORDERABLE`. Use `x-error-codes` for machine-readable retryability metadata. */
6686
+ 409: {
6687
+ headers: {
6688
+ [name: string]: unknown;
6689
+ };
6690
+ content: {
6691
+ "application/json": components["schemas"]["APIErrorEnvelope"];
6692
+ };
6693
+ };
6293
6694
  /** @description Possible error codes include `RATE_LIMITED`. Use `x-error-codes` for machine-readable retryability metadata. */
6294
6695
  429: {
6295
6696
  headers: {
@@ -6365,6 +6766,15 @@ interface operations {
6365
6766
  "application/json": components["schemas"]["APIErrorEnvelope"];
6366
6767
  };
6367
6768
  };
6769
+ /** @description Possible error codes include `PRODUCT_NO_LONGER_ORDERABLE`. Use `x-error-codes` for machine-readable retryability metadata. */
6770
+ 409: {
6771
+ headers: {
6772
+ [name: string]: unknown;
6773
+ };
6774
+ content: {
6775
+ "application/json": components["schemas"]["APIErrorEnvelope"];
6776
+ };
6777
+ };
6368
6778
  /** @description Possible error codes include `RATE_LIMITED`. Use `x-error-codes` for machine-readable retryability metadata. */
6369
6779
  429: {
6370
6780
  headers: {
@@ -6443,6 +6853,15 @@ interface operations {
6443
6853
  "application/json": components["schemas"]["APIErrorEnvelope"];
6444
6854
  };
6445
6855
  };
6856
+ /** @description Possible error codes include `PRODUCT_NO_LONGER_ORDERABLE`. Use `x-error-codes` for machine-readable retryability metadata. */
6857
+ 409: {
6858
+ headers: {
6859
+ [name: string]: unknown;
6860
+ };
6861
+ content: {
6862
+ "application/json": components["schemas"]["APIErrorEnvelope"];
6863
+ };
6864
+ };
6446
6865
  /** @description Possible error codes include `RATE_LIMITED`. Use `x-error-codes` for machine-readable retryability metadata. */
6447
6866
  429: {
6448
6867
  headers: {
@@ -6520,6 +6939,15 @@ interface operations {
6520
6939
  "application/json": components["schemas"]["APIErrorEnvelope"];
6521
6940
  };
6522
6941
  };
6942
+ /** @description Possible error codes include `PRODUCT_NO_LONGER_ORDERABLE`. Use `x-error-codes` for machine-readable retryability metadata. */
6943
+ 409: {
6944
+ headers: {
6945
+ [name: string]: unknown;
6946
+ };
6947
+ content: {
6948
+ "application/json": components["schemas"]["APIErrorEnvelope"];
6949
+ };
6950
+ };
6523
6951
  /** @description Possible error codes include `RATE_LIMITED`. Use `x-error-codes` for machine-readable retryability metadata. */
6524
6952
  429: {
6525
6953
  headers: {
@@ -7181,7 +7609,7 @@ interface operations {
7181
7609
  "application/json": components["schemas"]["APIErrorEnvelope"];
7182
7610
  };
7183
7611
  };
7184
- /** @description Possible error codes include `CHECKOUT_INVALID_STATUS`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `PAYMENT_IN_FLIGHT`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `DELIVERY_METHOD_UNAVAILABLE`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `store_closed_for_date`. Use `x-error-codes` for machine-readable retryability metadata. */
7612
+ /** @description Possible error codes include `CHECKOUT_INVALID_STATUS`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `PAYMENT_IN_FLIGHT`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `DELIVERY_METHOD_UNAVAILABLE`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `store_closed_for_date`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `PRODUCT_NOT_ORDERABLE_FOR_DATE`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `PRODUCT_NO_LONGER_ORDERABLE`. Use `x-error-codes` for machine-readable retryability metadata. */
7185
7613
  409: {
7186
7614
  headers: {
7187
7615
  [name: string]: unknown;
@@ -7277,7 +7705,7 @@ interface operations {
7277
7705
  "application/json": components["schemas"]["APIErrorEnvelope"];
7278
7706
  };
7279
7707
  };
7280
- /** @description Possible error codes include `CHECKOUT_INVALID_STATUS`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `PAYMENT_IN_FLIGHT`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `DELIVERY_METHOD_UNAVAILABLE`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `store_closed_for_date`. Use `x-error-codes` for machine-readable retryability metadata. */
7708
+ /** @description Possible error codes include `CHECKOUT_INVALID_STATUS`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `PAYMENT_IN_FLIGHT`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `DELIVERY_METHOD_UNAVAILABLE`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `store_closed_for_date`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `PRODUCT_NOT_ORDERABLE_FOR_DATE`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `PRODUCT_NO_LONGER_ORDERABLE`. Use `x-error-codes` for machine-readable retryability metadata. */
7281
7709
  409: {
7282
7710
  headers: {
7283
7711
  [name: string]: unknown;
@@ -7384,7 +7812,7 @@ interface operations {
7384
7812
  "application/json": components["schemas"]["APIErrorEnvelope"];
7385
7813
  };
7386
7814
  };
7387
- /** @description Possible error codes include `CHECKOUT_INVALID_STATUS`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `PAYMENT_IN_FLIGHT`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `DELIVERY_METHOD_UNAVAILABLE`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `store_closed_for_date`. Use `x-error-codes` for machine-readable retryability metadata. */
7815
+ /** @description Possible error codes include `CHECKOUT_INVALID_STATUS`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `PAYMENT_IN_FLIGHT`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `DELIVERY_METHOD_UNAVAILABLE`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `store_closed_for_date`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `PRODUCT_NOT_ORDERABLE_FOR_DATE`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `PRODUCT_NO_LONGER_ORDERABLE`. Use `x-error-codes` for machine-readable retryability metadata. */
7388
7816
  409: {
7389
7817
  headers: {
7390
7818
  [name: string]: unknown;
@@ -7483,7 +7911,7 @@ interface operations {
7483
7911
  "application/json": components["schemas"]["APIErrorEnvelope"];
7484
7912
  };
7485
7913
  };
7486
- /** @description Possible error codes: `GIFT_CARD_IN_USE`. Retryable: no. Possible error codes include `CHECKOUT_INVALID_STATUS`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `PAYMENT_IN_FLIGHT`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `DELIVERY_METHOD_UNAVAILABLE`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `store_closed_for_date`. Use `x-error-codes` for machine-readable retryability metadata. */
7914
+ /** @description Possible error codes: `GIFT_CARD_IN_USE`. Retryable: no. Possible error codes include `CHECKOUT_INVALID_STATUS`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `PAYMENT_IN_FLIGHT`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `DELIVERY_METHOD_UNAVAILABLE`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `store_closed_for_date`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `PRODUCT_NOT_ORDERABLE_FOR_DATE`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `PRODUCT_NO_LONGER_ORDERABLE`. Use `x-error-codes` for machine-readable retryability metadata. */
7487
7915
  409: {
7488
7916
  headers: {
7489
7917
  [name: string]: unknown;
@@ -7582,7 +8010,7 @@ interface operations {
7582
8010
  "application/json": components["schemas"]["APIErrorEnvelope"];
7583
8011
  };
7584
8012
  };
7585
- /** @description Possible error codes include `CHECKOUT_INVALID_STATUS`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `PAYMENT_IN_FLIGHT`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `DELIVERY_METHOD_UNAVAILABLE`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `store_closed_for_date`. Use `x-error-codes` for machine-readable retryability metadata. */
8013
+ /** @description Possible error codes include `CHECKOUT_INVALID_STATUS`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `PAYMENT_IN_FLIGHT`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `DELIVERY_METHOD_UNAVAILABLE`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `store_closed_for_date`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `PRODUCT_NOT_ORDERABLE_FOR_DATE`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `PRODUCT_NO_LONGER_ORDERABLE`. Use `x-error-codes` for machine-readable retryability metadata. */
7586
8014
  409: {
7587
8015
  headers: {
7588
8016
  [name: string]: unknown;
@@ -7681,7 +8109,7 @@ interface operations {
7681
8109
  "application/json": components["schemas"]["APIErrorEnvelope"];
7682
8110
  };
7683
8111
  };
7684
- /** @description Possible error codes include `CHECKOUT_INVALID_STATUS`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `PAYMENT_IN_FLIGHT`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `DELIVERY_METHOD_UNAVAILABLE`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `store_closed_for_date`. Use `x-error-codes` for machine-readable retryability metadata. */
8112
+ /** @description Possible error codes include `CHECKOUT_INVALID_STATUS`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `PAYMENT_IN_FLIGHT`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `DELIVERY_METHOD_UNAVAILABLE`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `store_closed_for_date`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `PRODUCT_NOT_ORDERABLE_FOR_DATE`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `PRODUCT_NO_LONGER_ORDERABLE`. Use `x-error-codes` for machine-readable retryability metadata. */
7685
8113
  409: {
7686
8114
  headers: {
7687
8115
  [name: string]: unknown;
@@ -7774,7 +8202,7 @@ interface operations {
7774
8202
  "application/json": components["schemas"]["APIErrorEnvelope"];
7775
8203
  };
7776
8204
  };
7777
- /** @description Possible error codes: `CHECKOUT_INVALID_STATUS`. Retryable: no. Possible error codes include `CHECKOUT_INVALID_STATUS`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `PAYMENT_IN_FLIGHT`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `DELIVERY_METHOD_UNAVAILABLE`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `store_closed_for_date`. Use `x-error-codes` for machine-readable retryability metadata. */
8205
+ /** @description Possible error codes: `CHECKOUT_INVALID_STATUS`. Retryable: no. Possible error codes include `CHECKOUT_INVALID_STATUS`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `PAYMENT_IN_FLIGHT`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `DELIVERY_METHOD_UNAVAILABLE`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `store_closed_for_date`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `PRODUCT_NOT_ORDERABLE_FOR_DATE`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `PRODUCT_NO_LONGER_ORDERABLE`. Use `x-error-codes` for machine-readable retryability metadata. */
7778
8206
  409: {
7779
8207
  headers: {
7780
8208
  [name: string]: unknown;
@@ -7884,7 +8312,7 @@ interface operations {
7884
8312
  "application/json": components["schemas"]["APIErrorEnvelope"];
7885
8313
  };
7886
8314
  };
7887
- /** @description Possible error codes: `PAYMENT_NOT_CONFIRMED`. Retryable: no. Possible error codes include `CHECKOUT_INVALID_STATUS`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `PAYMENT_IN_FLIGHT`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `DELIVERY_METHOD_UNAVAILABLE`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `store_closed_for_date`. Use `x-error-codes` for machine-readable retryability metadata. */
8315
+ /** @description Possible error codes: `PAYMENT_NOT_CONFIRMED`. Retryable: no. Possible error codes include `CHECKOUT_INVALID_STATUS`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `PAYMENT_IN_FLIGHT`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `DELIVERY_METHOD_UNAVAILABLE`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `store_closed_for_date`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `PRODUCT_NOT_ORDERABLE_FOR_DATE`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `PRODUCT_NO_LONGER_ORDERABLE`. Use `x-error-codes` for machine-readable retryability metadata. */
7888
8316
  409: {
7889
8317
  headers: {
7890
8318
  [name: string]: unknown;
@@ -8001,7 +8429,7 @@ interface operations {
8001
8429
  "application/json": components["schemas"]["APIErrorEnvelope"];
8002
8430
  };
8003
8431
  };
8004
- /** @description Possible error codes: `CHECKOUT_INVALID_STATUS`, `PAYMENT_IN_FLIGHT`, `DELIVERY_METHOD_UNAVAILABLE`. Retryable: no. Possible error codes include `CHECKOUT_INVALID_STATUS`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `PAYMENT_IN_FLIGHT`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `DELIVERY_METHOD_UNAVAILABLE`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `store_closed_for_date`. Use `x-error-codes` for machine-readable retryability metadata. */
8432
+ /** @description Possible error codes: `CHECKOUT_INVALID_STATUS`, `PAYMENT_IN_FLIGHT`, `DELIVERY_METHOD_UNAVAILABLE`, `outside_availability_window`, `date_excluded`, `not_a_delivery_day`, `beyond_pre_order_horizon`, `past_order_cutoff`, `no_common_date`. Retryable: no. Possible error codes include `CHECKOUT_INVALID_STATUS`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `PAYMENT_IN_FLIGHT`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `DELIVERY_METHOD_UNAVAILABLE`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `store_closed_for_date`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `PRODUCT_NOT_ORDERABLE_FOR_DATE`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `PRODUCT_NO_LONGER_ORDERABLE`. Use `x-error-codes` for machine-readable retryability metadata. */
8005
8433
  409: {
8006
8434
  headers: {
8007
8435
  [name: string]: unknown;
@@ -8099,7 +8527,7 @@ interface operations {
8099
8527
  "application/json": components["schemas"]["APIErrorEnvelope"];
8100
8528
  };
8101
8529
  };
8102
- /** @description Possible error codes include `CHECKOUT_INVALID_STATUS`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `PAYMENT_IN_FLIGHT`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `DELIVERY_METHOD_UNAVAILABLE`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `store_closed_for_date`. Use `x-error-codes` for machine-readable retryability metadata. */
8530
+ /** @description Possible error codes include `CHECKOUT_INVALID_STATUS`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `PAYMENT_IN_FLIGHT`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `DELIVERY_METHOD_UNAVAILABLE`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `store_closed_for_date`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `PRODUCT_NOT_ORDERABLE_FOR_DATE`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `PRODUCT_NO_LONGER_ORDERABLE`. Use `x-error-codes` for machine-readable retryability metadata. */
8103
8531
  409: {
8104
8532
  headers: {
8105
8533
  [name: string]: unknown;
@@ -8198,7 +8626,7 @@ interface operations {
8198
8626
  "application/json": components["schemas"]["APIErrorEnvelope"];
8199
8627
  };
8200
8628
  };
8201
- /** @description Possible error codes: `CHECKOUT_INVALID_STATUS`. Retryable: no. Possible error codes include `CHECKOUT_INVALID_STATUS`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `PAYMENT_IN_FLIGHT`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `DELIVERY_METHOD_UNAVAILABLE`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `store_closed_for_date`. Use `x-error-codes` for machine-readable retryability metadata. */
8629
+ /** @description Possible error codes: `CHECKOUT_INVALID_STATUS`. Retryable: no. Possible error codes include `CHECKOUT_INVALID_STATUS`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `PAYMENT_IN_FLIGHT`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `DELIVERY_METHOD_UNAVAILABLE`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `store_closed_for_date`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `PRODUCT_NOT_ORDERABLE_FOR_DATE`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `PRODUCT_NO_LONGER_ORDERABLE`. Use `x-error-codes` for machine-readable retryability metadata. */
8202
8630
  409: {
8203
8631
  headers: {
8204
8632
  [name: string]: unknown;
@@ -8297,7 +8725,7 @@ interface operations {
8297
8725
  "application/json": components["schemas"]["APIErrorEnvelope"];
8298
8726
  };
8299
8727
  };
8300
- /** @description Possible error codes include `CHECKOUT_INVALID_STATUS`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `PAYMENT_IN_FLIGHT`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `DELIVERY_METHOD_UNAVAILABLE`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `store_closed_for_date`. Use `x-error-codes` for machine-readable retryability metadata. */
8728
+ /** @description Possible error codes include `CHECKOUT_INVALID_STATUS`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `PAYMENT_IN_FLIGHT`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `DELIVERY_METHOD_UNAVAILABLE`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `store_closed_for_date`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `PRODUCT_NOT_ORDERABLE_FOR_DATE`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `PRODUCT_NO_LONGER_ORDERABLE`. Use `x-error-codes` for machine-readable retryability metadata. */
8301
8729
  409: {
8302
8730
  headers: {
8303
8731
  [name: string]: unknown;
@@ -8398,7 +8826,7 @@ interface operations {
8398
8826
  "application/json": components["schemas"]["APIErrorEnvelope"];
8399
8827
  };
8400
8828
  };
8401
- /** @description Possible error codes: `CHECKOUT_INVALID_STATUS`, `DELIVERY_METHOD_UNAVAILABLE`. Retryable: no. Possible error codes include `CHECKOUT_INVALID_STATUS`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `PAYMENT_IN_FLIGHT`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `DELIVERY_METHOD_UNAVAILABLE`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `store_closed_for_date`. Use `x-error-codes` for machine-readable retryability metadata. */
8829
+ /** @description Possible error codes: `CHECKOUT_INVALID_STATUS`, `DELIVERY_METHOD_UNAVAILABLE`, `outside_availability_window`, `date_excluded`, `not_a_delivery_day`, `beyond_pre_order_horizon`, `past_order_cutoff`, `no_common_date`. Retryable: no. Possible error codes include `CHECKOUT_INVALID_STATUS`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `PAYMENT_IN_FLIGHT`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `DELIVERY_METHOD_UNAVAILABLE`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `store_closed_for_date`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `PRODUCT_NOT_ORDERABLE_FOR_DATE`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `PRODUCT_NO_LONGER_ORDERABLE`. Use `x-error-codes` for machine-readable retryability metadata. */
8402
8830
  409: {
8403
8831
  headers: {
8404
8832
  [name: string]: unknown;
@@ -8496,7 +8924,7 @@ interface operations {
8496
8924
  "application/json": components["schemas"]["APIErrorEnvelope"];
8497
8925
  };
8498
8926
  };
8499
- /** @description Possible error codes include `CHECKOUT_INVALID_STATUS`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `PAYMENT_IN_FLIGHT`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `DELIVERY_METHOD_UNAVAILABLE`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `store_closed_for_date`. Use `x-error-codes` for machine-readable retryability metadata. */
8927
+ /** @description Possible error codes include `CHECKOUT_INVALID_STATUS`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `PAYMENT_IN_FLIGHT`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `DELIVERY_METHOD_UNAVAILABLE`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `store_closed_for_date`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `PRODUCT_NOT_ORDERABLE_FOR_DATE`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `PRODUCT_NO_LONGER_ORDERABLE`. Use `x-error-codes` for machine-readable retryability metadata. */
8500
8928
  409: {
8501
8929
  headers: {
8502
8930
  [name: string]: unknown;
@@ -8594,7 +9022,7 @@ interface operations {
8594
9022
  "application/json": components["schemas"]["APIErrorEnvelope"];
8595
9023
  };
8596
9024
  };
8597
- /** @description Possible error codes include `CHECKOUT_INVALID_STATUS`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `PAYMENT_IN_FLIGHT`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `DELIVERY_METHOD_UNAVAILABLE`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `store_closed_for_date`. Use `x-error-codes` for machine-readable retryability metadata. */
9025
+ /** @description Possible error codes include `CHECKOUT_INVALID_STATUS`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `PAYMENT_IN_FLIGHT`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `DELIVERY_METHOD_UNAVAILABLE`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `store_closed_for_date`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `PRODUCT_NOT_ORDERABLE_FOR_DATE`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `PRODUCT_NO_LONGER_ORDERABLE`. Use `x-error-codes` for machine-readable retryability metadata. */
8598
9026
  409: {
8599
9027
  headers: {
8600
9028
  [name: string]: unknown;
@@ -8701,7 +9129,7 @@ interface operations {
8701
9129
  "application/json": components["schemas"]["APIErrorEnvelope"];
8702
9130
  };
8703
9131
  };
8704
- /** @description Possible error codes include `CHECKOUT_INVALID_STATUS`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `PAYMENT_IN_FLIGHT`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `DELIVERY_METHOD_UNAVAILABLE`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `store_closed_for_date`. Use `x-error-codes` for machine-readable retryability metadata. */
9132
+ /** @description Possible error codes include `CHECKOUT_INVALID_STATUS`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `PAYMENT_IN_FLIGHT`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `DELIVERY_METHOD_UNAVAILABLE`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `store_closed_for_date`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `PRODUCT_NOT_ORDERABLE_FOR_DATE`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `PRODUCT_NO_LONGER_ORDERABLE`. Use `x-error-codes` for machine-readable retryability metadata. */
8705
9133
  409: {
8706
9134
  headers: {
8707
9135
  [name: string]: unknown;
@@ -8793,7 +9221,7 @@ interface operations {
8793
9221
  "application/json": components["schemas"]["APIErrorEnvelope"];
8794
9222
  };
8795
9223
  };
8796
- /** @description Possible error codes include `CHECKOUT_INVALID_STATUS`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `PAYMENT_IN_FLIGHT`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `DELIVERY_METHOD_UNAVAILABLE`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `store_closed_for_date`. Use `x-error-codes` for machine-readable retryability metadata. */
9224
+ /** @description Possible error codes include `CHECKOUT_INVALID_STATUS`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `PAYMENT_IN_FLIGHT`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `DELIVERY_METHOD_UNAVAILABLE`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `store_closed_for_date`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `PRODUCT_NOT_ORDERABLE_FOR_DATE`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `PRODUCT_NO_LONGER_ORDERABLE`. Use `x-error-codes` for machine-readable retryability metadata. */
8797
9225
  409: {
8798
9226
  headers: {
8799
9227
  [name: string]: unknown;
@@ -8892,7 +9320,7 @@ interface operations {
8892
9320
  "application/json": components["schemas"]["APIErrorEnvelope"];
8893
9321
  };
8894
9322
  };
8895
- /** @description Possible error codes include `CHECKOUT_INVALID_STATUS`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `PAYMENT_IN_FLIGHT`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `DELIVERY_METHOD_UNAVAILABLE`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `store_closed_for_date`. Use `x-error-codes` for machine-readable retryability metadata. */
9323
+ /** @description Possible error codes include `CHECKOUT_INVALID_STATUS`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `PAYMENT_IN_FLIGHT`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `DELIVERY_METHOD_UNAVAILABLE`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `store_closed_for_date`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `PRODUCT_NOT_ORDERABLE_FOR_DATE`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `PRODUCT_NO_LONGER_ORDERABLE`. Use `x-error-codes` for machine-readable retryability metadata. */
8896
9324
  409: {
8897
9325
  headers: {
8898
9326
  [name: string]: unknown;
@@ -8985,7 +9413,7 @@ interface operations {
8985
9413
  "application/json": components["schemas"]["APIErrorEnvelope"];
8986
9414
  };
8987
9415
  };
8988
- /** @description Possible error codes include `CHECKOUT_INVALID_STATUS`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `PAYMENT_IN_FLIGHT`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `DELIVERY_METHOD_UNAVAILABLE`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `store_closed_for_date`. Use `x-error-codes` for machine-readable retryability metadata. */
9416
+ /** @description Possible error codes include `CHECKOUT_INVALID_STATUS`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `PAYMENT_IN_FLIGHT`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `DELIVERY_METHOD_UNAVAILABLE`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `store_closed_for_date`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `PRODUCT_NOT_ORDERABLE_FOR_DATE`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `PRODUCT_NO_LONGER_ORDERABLE`. Use `x-error-codes` for machine-readable retryability metadata. */
8989
9417
  409: {
8990
9418
  headers: {
8991
9419
  [name: string]: unknown;
@@ -9078,7 +9506,7 @@ interface operations {
9078
9506
  "application/json": components["schemas"]["APIErrorEnvelope"];
9079
9507
  };
9080
9508
  };
9081
- /** @description Possible error codes include `CHECKOUT_INVALID_STATUS`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `PAYMENT_IN_FLIGHT`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `DELIVERY_METHOD_UNAVAILABLE`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `store_closed_for_date`. Use `x-error-codes` for machine-readable retryability metadata. */
9509
+ /** @description Possible error codes include `CHECKOUT_INVALID_STATUS`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `PAYMENT_IN_FLIGHT`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `DELIVERY_METHOD_UNAVAILABLE`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `store_closed_for_date`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `PRODUCT_NOT_ORDERABLE_FOR_DATE`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `PRODUCT_NO_LONGER_ORDERABLE`. Use `x-error-codes` for machine-readable retryability metadata. */
9082
9510
  409: {
9083
9511
  headers: {
9084
9512
  [name: string]: unknown;
@@ -9176,7 +9604,7 @@ interface operations {
9176
9604
  "application/json": components["schemas"]["APIErrorEnvelope"];
9177
9605
  };
9178
9606
  };
9179
- /** @description Possible error codes include `CHECKOUT_INVALID_STATUS`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `PAYMENT_IN_FLIGHT`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `DELIVERY_METHOD_UNAVAILABLE`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `store_closed_for_date`. Use `x-error-codes` for machine-readable retryability metadata. */
9607
+ /** @description Possible error codes include `CHECKOUT_INVALID_STATUS`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `PAYMENT_IN_FLIGHT`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `DELIVERY_METHOD_UNAVAILABLE`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `store_closed_for_date`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `PRODUCT_NOT_ORDERABLE_FOR_DATE`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `PRODUCT_NO_LONGER_ORDERABLE`. Use `x-error-codes` for machine-readable retryability metadata. */
9180
9608
  409: {
9181
9609
  headers: {
9182
9610
  [name: string]: unknown;
@@ -9274,7 +9702,7 @@ interface operations {
9274
9702
  "application/json": components["schemas"]["APIErrorEnvelope"];
9275
9703
  };
9276
9704
  };
9277
- /** @description Possible error codes include `CHECKOUT_INVALID_STATUS`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `PAYMENT_IN_FLIGHT`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `DELIVERY_METHOD_UNAVAILABLE`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `store_closed_for_date`. Use `x-error-codes` for machine-readable retryability metadata. */
9705
+ /** @description Possible error codes include `CHECKOUT_INVALID_STATUS`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `PAYMENT_IN_FLIGHT`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `DELIVERY_METHOD_UNAVAILABLE`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `store_closed_for_date`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `PRODUCT_NOT_ORDERABLE_FOR_DATE`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `PRODUCT_NO_LONGER_ORDERABLE`. Use `x-error-codes` for machine-readable retryability metadata. */
9278
9706
  409: {
9279
9707
  headers: {
9280
9708
  [name: string]: unknown;
@@ -9381,7 +9809,7 @@ interface operations {
9381
9809
  "application/json": components["schemas"]["APIErrorEnvelope"];
9382
9810
  };
9383
9811
  };
9384
- /** @description Possible error codes include `CHECKOUT_INVALID_STATUS`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `PAYMENT_IN_FLIGHT`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `DELIVERY_METHOD_UNAVAILABLE`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `store_closed_for_date`. Use `x-error-codes` for machine-readable retryability metadata. */
9812
+ /** @description Possible error codes include `CHECKOUT_INVALID_STATUS`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `PAYMENT_IN_FLIGHT`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `DELIVERY_METHOD_UNAVAILABLE`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `store_closed_for_date`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `PRODUCT_NOT_ORDERABLE_FOR_DATE`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `PRODUCT_NO_LONGER_ORDERABLE`. Use `x-error-codes` for machine-readable retryability metadata. */
9385
9813
  409: {
9386
9814
  headers: {
9387
9815
  [name: string]: unknown;
@@ -9477,7 +9905,7 @@ interface operations {
9477
9905
  "application/json": components["schemas"]["APIErrorEnvelope"];
9478
9906
  };
9479
9907
  };
9480
- /** @description Possible error codes include `CHECKOUT_INVALID_STATUS`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `PAYMENT_IN_FLIGHT`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `DELIVERY_METHOD_UNAVAILABLE`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `store_closed_for_date`. Use `x-error-codes` for machine-readable retryability metadata. */
9908
+ /** @description Possible error codes include `CHECKOUT_INVALID_STATUS`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `PAYMENT_IN_FLIGHT`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `DELIVERY_METHOD_UNAVAILABLE`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `store_closed_for_date`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `PRODUCT_NOT_ORDERABLE_FOR_DATE`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `PRODUCT_NO_LONGER_ORDERABLE`. Use `x-error-codes` for machine-readable retryability metadata. */
9481
9909
  409: {
9482
9910
  headers: {
9483
9911
  [name: string]: unknown;
@@ -15884,6 +16312,85 @@ interface operations {
15884
16312
  };
15885
16313
  };
15886
16314
  };
16315
+ products_deliverability_create: {
16316
+ parameters: {
16317
+ query?: never;
16318
+ header?: never;
16319
+ path?: never;
16320
+ cookie?: never;
16321
+ };
16322
+ requestBody: {
16323
+ content: {
16324
+ "application/json": components["schemas"]["ProductDeliverabilityRequest"];
16325
+ "application/x-www-form-urlencoded": components["schemas"]["ProductDeliverabilityRequest"];
16326
+ "multipart/form-data": components["schemas"]["ProductDeliverabilityRequest"];
16327
+ };
16328
+ };
16329
+ responses: {
16330
+ 200: {
16331
+ headers: {
16332
+ [name: string]: unknown;
16333
+ };
16334
+ content: {
16335
+ "application/json": components["schemas"]["ProductDeliverability"];
16336
+ };
16337
+ };
16338
+ /** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
16339
+ 400: {
16340
+ headers: {
16341
+ [name: string]: unknown;
16342
+ };
16343
+ content: {
16344
+ "application/json": components["schemas"]["APIErrorEnvelope"];
16345
+ };
16346
+ };
16347
+ /** @description Possible error codes include `UNAUTHORIZED`. Use `x-error-codes` for machine-readable retryability metadata. */
16348
+ 401: {
16349
+ headers: {
16350
+ [name: string]: unknown;
16351
+ };
16352
+ content: {
16353
+ "application/json": components["schemas"]["APIErrorEnvelope"];
16354
+ };
16355
+ };
16356
+ /** @description Possible error codes include `FORBIDDEN`. Use `x-error-codes` for machine-readable retryability metadata. */
16357
+ 403: {
16358
+ headers: {
16359
+ [name: string]: unknown;
16360
+ };
16361
+ content: {
16362
+ "application/json": components["schemas"]["APIErrorEnvelope"];
16363
+ };
16364
+ };
16365
+ /** @description Possible error codes include `NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `PRODUCT_NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. */
16366
+ 404: {
16367
+ headers: {
16368
+ [name: string]: unknown;
16369
+ };
16370
+ content: {
16371
+ "application/json": components["schemas"]["APIErrorEnvelope"];
16372
+ };
16373
+ };
16374
+ /** @description Possible error codes include `RATE_LIMITED`. Use `x-error-codes` for machine-readable retryability metadata. */
16375
+ 429: {
16376
+ headers: {
16377
+ [name: string]: unknown;
16378
+ };
16379
+ content: {
16380
+ "application/json": components["schemas"]["APIErrorEnvelope"];
16381
+ };
16382
+ };
16383
+ /** @description Possible error codes include `INTERNAL_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
16384
+ 500: {
16385
+ headers: {
16386
+ [name: string]: unknown;
16387
+ };
16388
+ content: {
16389
+ "application/json": components["schemas"]["APIErrorEnvelope"];
16390
+ };
16391
+ };
16392
+ };
16393
+ };
15887
16394
  products_search_retrieve: {
15888
16395
  parameters: {
15889
16396
  query?: {