@poweredbysous/storefront-all-sdk 4.7.0 → 4.8.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.cts CHANGED
@@ -3192,6 +3192,107 @@ interface paths {
3192
3192
  patch?: never;
3193
3193
  trace?: never;
3194
3194
  };
3195
+ "/api/v1/exploresous/consent/": {
3196
+ parameters: {
3197
+ query?: never;
3198
+ header?: never;
3199
+ path?: never;
3200
+ cookie?: never;
3201
+ };
3202
+ /**
3203
+ * @description GET / PUT /api/v1/exploresous/consent/ - the signed-in customer's choices.
3204
+ *
3205
+ * Always the account the token belongs to; no id is read from the request.
3206
+ */
3207
+ get: operations["exploresous_consent_retrieve"];
3208
+ /**
3209
+ * @description GET / PUT /api/v1/exploresous/consent/ - the signed-in customer's choices.
3210
+ *
3211
+ * Always the account the token belongs to; no id is read from the request.
3212
+ */
3213
+ put: operations["exploresous_consent_update"];
3214
+ post?: never;
3215
+ delete?: never;
3216
+ options?: never;
3217
+ head?: never;
3218
+ patch?: never;
3219
+ trace?: never;
3220
+ };
3221
+ "/api/v1/exploresous/history/": {
3222
+ parameters: {
3223
+ query?: never;
3224
+ header?: never;
3225
+ path?: never;
3226
+ cookie?: never;
3227
+ };
3228
+ /**
3229
+ * @description GET /api/v1/exploresous/history/ - the signed-in customer's imported orders.
3230
+ *
3231
+ * The account comes from the verified token only; no id in the query or body
3232
+ * is read. ``history_available`` is false until the history is signed off.
3233
+ */
3234
+ get: operations["exploresous_history_retrieve"];
3235
+ put?: never;
3236
+ post?: never;
3237
+ delete?: never;
3238
+ options?: never;
3239
+ head?: never;
3240
+ patch?: never;
3241
+ trace?: never;
3242
+ };
3243
+ "/api/v1/exploresous/link/": {
3244
+ parameters: {
3245
+ query?: never;
3246
+ header?: never;
3247
+ path?: never;
3248
+ cookie?: never;
3249
+ };
3250
+ get?: never;
3251
+ put?: never;
3252
+ /**
3253
+ * @description POST /api/v1/exploresous/link/ - link the WorkOS sign-in to a SOUS account.
3254
+ *
3255
+ * Authenticates the token without requiring an existing link: this is the call
3256
+ * that creates it. 200 ``linked``, or 409 ``held`` with a message for the
3257
+ * customer; the reason is logged, never returned.
3258
+ */
3259
+ post: operations["exploresous_link_create"];
3260
+ delete?: never;
3261
+ options?: never;
3262
+ head?: never;
3263
+ patch?: never;
3264
+ trace?: never;
3265
+ };
3266
+ "/api/v1/exploresous/unsubscribe/": {
3267
+ parameters: {
3268
+ query?: never;
3269
+ header?: never;
3270
+ path?: never;
3271
+ cookie?: never;
3272
+ };
3273
+ /**
3274
+ * @description /api/v1/exploresous/unsubscribe/ - login-free one-click unsubscribe.
3275
+ *
3276
+ * POST withdraws the channel the signed token names. GET only describes it, so
3277
+ * a mail scanner prefetching the link cannot unsubscribe anyone; the
3278
+ * storefront page confirms and POSTs.
3279
+ */
3280
+ get: operations["exploresous_unsubscribe_retrieve"];
3281
+ put?: never;
3282
+ /**
3283
+ * @description /api/v1/exploresous/unsubscribe/ - login-free one-click unsubscribe.
3284
+ *
3285
+ * POST withdraws the channel the signed token names. GET only describes it, so
3286
+ * a mail scanner prefetching the link cannot unsubscribe anyone; the
3287
+ * storefront page confirms and POSTs.
3288
+ */
3289
+ post: operations["exploresous_unsubscribe_create"];
3290
+ delete?: never;
3291
+ options?: never;
3292
+ head?: never;
3293
+ patch?: never;
3294
+ trace?: never;
3295
+ };
3195
3296
  "/api/v1/fulfillment/address-check/": {
3196
3297
  parameters: {
3197
3298
  query?: never;
@@ -7582,6 +7683,12 @@ interface components {
7582
7683
  /** Format: date-time */
7583
7684
  readonly created_at: string;
7584
7685
  };
7686
+ /**
7687
+ * @description * `email` - Email
7688
+ * * `sms` - SMS
7689
+ * @enum {string}
7690
+ */
7691
+ ChannelEnum: "email" | "sms";
7585
7692
  /**
7586
7693
  * @description * `own_website` - Own Website
7587
7694
  * * `uber_eats` - Uber Eats
@@ -7791,6 +7898,26 @@ interface components {
7791
7898
  /** @default */
7792
7899
  payment_data: string;
7793
7900
  };
7901
+ /** @description The customer's choice for one channel. */
7902
+ ConsentChoice: {
7903
+ channel: components["schemas"]["ChannelEnum"];
7904
+ status: components["schemas"]["ConsentChoiceStatusEnum"];
7905
+ phone?: string;
7906
+ };
7907
+ /**
7908
+ * @description * `active` - Active
7909
+ * * `withdrawn` - Withdrawn
7910
+ * @enum {string}
7911
+ */
7912
+ ConsentChoiceStatusEnum: "active" | "withdrawn";
7913
+ ConsentRow: {
7914
+ channel: string;
7915
+ status: string;
7916
+ };
7917
+ /** @description The customer's ExploreSOUS consent, per channel. */
7918
+ Consents: {
7919
+ consents: components["schemas"]["ConsentRow"][];
7920
+ };
7794
7921
  ContentTranslation: {
7795
7922
  language_code: string;
7796
7923
  headline?: string;
@@ -8412,6 +8539,45 @@ interface components {
8412
8539
  * @enum {string}
8413
8540
  */
8414
8541
  HealthStatusEnum: "champion" | "loyal" | "potential_loyal" | "new" | "promising" | "needs_attention" | "about_to_sleep" | "at_risk" | "cant_lose" | "hibernating" | "lost";
8542
+ /** @description The history endpoint's response. */
8543
+ History: {
8544
+ history_available: boolean;
8545
+ orders: components["schemas"]["HistoryOrder"][];
8546
+ };
8547
+ /** @description One line of a past order, as ``projection._lines`` stores it. */
8548
+ HistoryLineItem: {
8549
+ title: string;
8550
+ variant_title: string;
8551
+ quantity: number;
8552
+ unit_price: string | null;
8553
+ vendor: string;
8554
+ partner_name: string;
8555
+ store_id: number | null;
8556
+ };
8557
+ /** @description One past order, as ``history.HistoryOrder``. */
8558
+ HistoryOrder: {
8559
+ name: string;
8560
+ /** Format: date-time */
8561
+ placed_at: string | null;
8562
+ /** Format: date-time */
8563
+ cancelled_at: string | null;
8564
+ financial_status: string;
8565
+ fulfilment_status: string;
8566
+ currency: string;
8567
+ /** Format: decimal */
8568
+ total_amount: string | null;
8569
+ /** Format: decimal */
8570
+ subtotal_amount: string | null;
8571
+ /** Format: decimal */
8572
+ shipping_amount: string | null;
8573
+ /** Format: decimal */
8574
+ tax_amount: string | null;
8575
+ /** Format: decimal */
8576
+ discount_amount: string | null;
8577
+ /** Format: decimal */
8578
+ refunded_amount: string | null;
8579
+ line_items: components["schemas"]["HistoryLineItem"][];
8580
+ };
8415
8581
  /**
8416
8582
  * @description * `customer` - Customer
8417
8583
  * * `merchant` - Merchant
@@ -8673,6 +8839,12 @@ interface components {
8673
8839
  LightspeedWebhook: {
8674
8840
  endpoint_id: string;
8675
8841
  };
8842
+ /** @description The link endpoint's answer: linked, or held with a message for the customer. */
8843
+ LinkOutcome: {
8844
+ outcome: components["schemas"]["OutcomeEnum"];
8845
+ user_id?: number;
8846
+ detail?: string;
8847
+ };
8676
8848
  /** @description One location's delivery-method state, grouped by the stores serving it. */
8677
8849
  LocationDeliveryMethodSummary: {
8678
8850
  location_public_id: string;
@@ -9335,6 +9507,12 @@ interface components {
9335
9507
  /** Format: date-time */
9336
9508
  readonly updated_at: string;
9337
9509
  };
9510
+ /**
9511
+ * @description * `linked` - linked
9512
+ * * `held` - held
9513
+ * @enum {string}
9514
+ */
9515
+ OutcomeEnum: "linked" | "held";
9338
9516
  /** @description One POS catalogue item with drift classification. */
9339
9517
  POSCatalogueItem: {
9340
9518
  sku: string;
@@ -11613,6 +11791,16 @@ interface components {
11613
11791
  slug: string;
11614
11792
  abbreviation: string;
11615
11793
  };
11794
+ /** @description The signed token from the unsubscribe link (body or query). */
11795
+ UnsubscribeToken: {
11796
+ token: string;
11797
+ };
11798
+ /** @description What an unsubscribe link covers, and for POST the resulting status. */
11799
+ Unsubscribed: {
11800
+ channel: string;
11801
+ scope: string;
11802
+ status?: string;
11803
+ };
11616
11804
  User: {
11617
11805
  /** @description Required. 150 characters or fewer. Letters, digits and @/./+/-/_ only. */
11618
11806
  username: string;
@@ -26533,6 +26721,430 @@ interface operations {
26533
26721
  };
26534
26722
  };
26535
26723
  };
26724
+ exploresous_consent_retrieve: {
26725
+ parameters: {
26726
+ query?: never;
26727
+ header?: never;
26728
+ path?: never;
26729
+ cookie?: never;
26730
+ };
26731
+ requestBody?: never;
26732
+ responses: {
26733
+ 200: {
26734
+ headers: {
26735
+ [name: string]: unknown;
26736
+ };
26737
+ content: {
26738
+ "application/json": components["schemas"]["Consents"];
26739
+ };
26740
+ };
26741
+ /** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
26742
+ 400: {
26743
+ headers: {
26744
+ [name: string]: unknown;
26745
+ };
26746
+ content: {
26747
+ "application/json": components["schemas"]["APIErrorEnvelope"];
26748
+ };
26749
+ };
26750
+ /** @description Possible error codes include `UNAUTHORIZED`. Use `x-error-codes` for machine-readable retryability metadata. */
26751
+ 401: {
26752
+ headers: {
26753
+ [name: string]: unknown;
26754
+ };
26755
+ content: {
26756
+ "application/json": components["schemas"]["APIErrorEnvelope"];
26757
+ };
26758
+ };
26759
+ /** @description Possible error codes include `FORBIDDEN`. Use `x-error-codes` for machine-readable retryability metadata. */
26760
+ 403: {
26761
+ headers: {
26762
+ [name: string]: unknown;
26763
+ };
26764
+ content: {
26765
+ "application/json": components["schemas"]["APIErrorEnvelope"];
26766
+ };
26767
+ };
26768
+ /** @description Possible error codes include `NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. */
26769
+ 404: {
26770
+ headers: {
26771
+ [name: string]: unknown;
26772
+ };
26773
+ content: {
26774
+ "application/json": components["schemas"]["APIErrorEnvelope"];
26775
+ };
26776
+ };
26777
+ /** @description Possible error codes include `RATE_LIMITED`. Use `x-error-codes` for machine-readable retryability metadata. */
26778
+ 429: {
26779
+ headers: {
26780
+ [name: string]: unknown;
26781
+ };
26782
+ content: {
26783
+ "application/json": components["schemas"]["APIErrorEnvelope"];
26784
+ };
26785
+ };
26786
+ /** @description Possible error codes include `INTERNAL_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
26787
+ 500: {
26788
+ headers: {
26789
+ [name: string]: unknown;
26790
+ };
26791
+ content: {
26792
+ "application/json": components["schemas"]["APIErrorEnvelope"];
26793
+ };
26794
+ };
26795
+ };
26796
+ };
26797
+ exploresous_consent_update: {
26798
+ parameters: {
26799
+ query?: never;
26800
+ header?: never;
26801
+ path?: never;
26802
+ cookie?: never;
26803
+ };
26804
+ requestBody: {
26805
+ content: {
26806
+ "application/json": components["schemas"]["ConsentChoice"];
26807
+ "application/x-www-form-urlencoded": components["schemas"]["ConsentChoice"];
26808
+ "multipart/form-data": components["schemas"]["ConsentChoice"];
26809
+ };
26810
+ };
26811
+ responses: {
26812
+ 200: {
26813
+ headers: {
26814
+ [name: string]: unknown;
26815
+ };
26816
+ content: {
26817
+ "application/json": components["schemas"]["Consents"];
26818
+ };
26819
+ };
26820
+ /** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
26821
+ 400: {
26822
+ headers: {
26823
+ [name: string]: unknown;
26824
+ };
26825
+ content: {
26826
+ "application/json": components["schemas"]["APIErrorEnvelope"];
26827
+ };
26828
+ };
26829
+ /** @description Possible error codes include `UNAUTHORIZED`. Use `x-error-codes` for machine-readable retryability metadata. */
26830
+ 401: {
26831
+ headers: {
26832
+ [name: string]: unknown;
26833
+ };
26834
+ content: {
26835
+ "application/json": components["schemas"]["APIErrorEnvelope"];
26836
+ };
26837
+ };
26838
+ /** @description Possible error codes include `FORBIDDEN`. Use `x-error-codes` for machine-readable retryability metadata. */
26839
+ 403: {
26840
+ headers: {
26841
+ [name: string]: unknown;
26842
+ };
26843
+ content: {
26844
+ "application/json": components["schemas"]["APIErrorEnvelope"];
26845
+ };
26846
+ };
26847
+ /** @description Possible error codes include `NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. */
26848
+ 404: {
26849
+ headers: {
26850
+ [name: string]: unknown;
26851
+ };
26852
+ content: {
26853
+ "application/json": components["schemas"]["APIErrorEnvelope"];
26854
+ };
26855
+ };
26856
+ /** @description Possible error codes include `RATE_LIMITED`. Use `x-error-codes` for machine-readable retryability metadata. */
26857
+ 429: {
26858
+ headers: {
26859
+ [name: string]: unknown;
26860
+ };
26861
+ content: {
26862
+ "application/json": components["schemas"]["APIErrorEnvelope"];
26863
+ };
26864
+ };
26865
+ /** @description Possible error codes include `INTERNAL_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
26866
+ 500: {
26867
+ headers: {
26868
+ [name: string]: unknown;
26869
+ };
26870
+ content: {
26871
+ "application/json": components["schemas"]["APIErrorEnvelope"];
26872
+ };
26873
+ };
26874
+ };
26875
+ };
26876
+ exploresous_history_retrieve: {
26877
+ parameters: {
26878
+ query?: never;
26879
+ header?: never;
26880
+ path?: never;
26881
+ cookie?: never;
26882
+ };
26883
+ requestBody?: never;
26884
+ responses: {
26885
+ 200: {
26886
+ headers: {
26887
+ [name: string]: unknown;
26888
+ };
26889
+ content: {
26890
+ "application/json": components["schemas"]["History"];
26891
+ };
26892
+ };
26893
+ /** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
26894
+ 400: {
26895
+ headers: {
26896
+ [name: string]: unknown;
26897
+ };
26898
+ content: {
26899
+ "application/json": components["schemas"]["APIErrorEnvelope"];
26900
+ };
26901
+ };
26902
+ /** @description Possible error codes include `UNAUTHORIZED`. Use `x-error-codes` for machine-readable retryability metadata. */
26903
+ 401: {
26904
+ headers: {
26905
+ [name: string]: unknown;
26906
+ };
26907
+ content: {
26908
+ "application/json": components["schemas"]["APIErrorEnvelope"];
26909
+ };
26910
+ };
26911
+ /** @description Possible error codes include `FORBIDDEN`. Use `x-error-codes` for machine-readable retryability metadata. */
26912
+ 403: {
26913
+ headers: {
26914
+ [name: string]: unknown;
26915
+ };
26916
+ content: {
26917
+ "application/json": components["schemas"]["APIErrorEnvelope"];
26918
+ };
26919
+ };
26920
+ /** @description Possible error codes include `NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. */
26921
+ 404: {
26922
+ headers: {
26923
+ [name: string]: unknown;
26924
+ };
26925
+ content: {
26926
+ "application/json": components["schemas"]["APIErrorEnvelope"];
26927
+ };
26928
+ };
26929
+ /** @description Possible error codes include `RATE_LIMITED`. Use `x-error-codes` for machine-readable retryability metadata. */
26930
+ 429: {
26931
+ headers: {
26932
+ [name: string]: unknown;
26933
+ };
26934
+ content: {
26935
+ "application/json": components["schemas"]["APIErrorEnvelope"];
26936
+ };
26937
+ };
26938
+ /** @description Possible error codes include `INTERNAL_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
26939
+ 500: {
26940
+ headers: {
26941
+ [name: string]: unknown;
26942
+ };
26943
+ content: {
26944
+ "application/json": components["schemas"]["APIErrorEnvelope"];
26945
+ };
26946
+ };
26947
+ };
26948
+ };
26949
+ exploresous_link_create: {
26950
+ parameters: {
26951
+ query?: never;
26952
+ header?: never;
26953
+ path?: never;
26954
+ cookie?: never;
26955
+ };
26956
+ requestBody?: never;
26957
+ responses: {
26958
+ 200: {
26959
+ headers: {
26960
+ [name: string]: unknown;
26961
+ };
26962
+ content: {
26963
+ "application/json": components["schemas"]["LinkOutcome"];
26964
+ };
26965
+ };
26966
+ /** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
26967
+ 400: {
26968
+ headers: {
26969
+ [name: string]: unknown;
26970
+ };
26971
+ content: {
26972
+ "application/json": components["schemas"]["APIErrorEnvelope"];
26973
+ };
26974
+ };
26975
+ /** @description Possible error codes include `UNAUTHORIZED`. Use `x-error-codes` for machine-readable retryability metadata. */
26976
+ 401: {
26977
+ headers: {
26978
+ [name: string]: unknown;
26979
+ };
26980
+ content: {
26981
+ "application/json": components["schemas"]["APIErrorEnvelope"];
26982
+ };
26983
+ };
26984
+ /** @description Possible error codes include `FORBIDDEN`. Use `x-error-codes` for machine-readable retryability metadata. */
26985
+ 403: {
26986
+ headers: {
26987
+ [name: string]: unknown;
26988
+ };
26989
+ content: {
26990
+ "application/json": components["schemas"]["APIErrorEnvelope"];
26991
+ };
26992
+ };
26993
+ /** @description Possible error codes include `NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. */
26994
+ 404: {
26995
+ headers: {
26996
+ [name: string]: unknown;
26997
+ };
26998
+ content: {
26999
+ "application/json": components["schemas"]["APIErrorEnvelope"];
27000
+ };
27001
+ };
27002
+ 409: {
27003
+ headers: {
27004
+ [name: string]: unknown;
27005
+ };
27006
+ content: {
27007
+ "application/json": components["schemas"]["LinkOutcome"];
27008
+ };
27009
+ };
27010
+ /** @description Possible error codes include `RATE_LIMITED`. Use `x-error-codes` for machine-readable retryability metadata. */
27011
+ 429: {
27012
+ headers: {
27013
+ [name: string]: unknown;
27014
+ };
27015
+ content: {
27016
+ "application/json": components["schemas"]["APIErrorEnvelope"];
27017
+ };
27018
+ };
27019
+ /** @description Possible error codes include `INTERNAL_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
27020
+ 500: {
27021
+ headers: {
27022
+ [name: string]: unknown;
27023
+ };
27024
+ content: {
27025
+ "application/json": components["schemas"]["APIErrorEnvelope"];
27026
+ };
27027
+ };
27028
+ };
27029
+ };
27030
+ exploresous_unsubscribe_retrieve: {
27031
+ parameters: {
27032
+ query: {
27033
+ token: string;
27034
+ };
27035
+ header?: never;
27036
+ path?: never;
27037
+ cookie?: never;
27038
+ };
27039
+ requestBody?: never;
27040
+ responses: {
27041
+ 200: {
27042
+ headers: {
27043
+ [name: string]: unknown;
27044
+ };
27045
+ content: {
27046
+ "application/json": components["schemas"]["Unsubscribed"];
27047
+ };
27048
+ };
27049
+ /** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
27050
+ 400: {
27051
+ headers: {
27052
+ [name: string]: unknown;
27053
+ };
27054
+ content: {
27055
+ "application/json": components["schemas"]["APIErrorEnvelope"];
27056
+ };
27057
+ };
27058
+ /** @description Possible error codes include `NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. */
27059
+ 404: {
27060
+ headers: {
27061
+ [name: string]: unknown;
27062
+ };
27063
+ content: {
27064
+ "application/json": components["schemas"]["APIErrorEnvelope"];
27065
+ };
27066
+ };
27067
+ /** @description Possible error codes include `RATE_LIMITED`. Use `x-error-codes` for machine-readable retryability metadata. */
27068
+ 429: {
27069
+ headers: {
27070
+ [name: string]: unknown;
27071
+ };
27072
+ content: {
27073
+ "application/json": components["schemas"]["APIErrorEnvelope"];
27074
+ };
27075
+ };
27076
+ /** @description Possible error codes include `INTERNAL_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
27077
+ 500: {
27078
+ headers: {
27079
+ [name: string]: unknown;
27080
+ };
27081
+ content: {
27082
+ "application/json": components["schemas"]["APIErrorEnvelope"];
27083
+ };
27084
+ };
27085
+ };
27086
+ };
27087
+ exploresous_unsubscribe_create: {
27088
+ parameters: {
27089
+ query?: never;
27090
+ header?: never;
27091
+ path?: never;
27092
+ cookie?: never;
27093
+ };
27094
+ requestBody: {
27095
+ content: {
27096
+ "application/json": components["schemas"]["UnsubscribeToken"];
27097
+ "application/x-www-form-urlencoded": components["schemas"]["UnsubscribeToken"];
27098
+ "multipart/form-data": components["schemas"]["UnsubscribeToken"];
27099
+ };
27100
+ };
27101
+ responses: {
27102
+ 200: {
27103
+ headers: {
27104
+ [name: string]: unknown;
27105
+ };
27106
+ content: {
27107
+ "application/json": components["schemas"]["Unsubscribed"];
27108
+ };
27109
+ };
27110
+ /** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
27111
+ 400: {
27112
+ headers: {
27113
+ [name: string]: unknown;
27114
+ };
27115
+ content: {
27116
+ "application/json": components["schemas"]["APIErrorEnvelope"];
27117
+ };
27118
+ };
27119
+ /** @description Possible error codes include `NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. */
27120
+ 404: {
27121
+ headers: {
27122
+ [name: string]: unknown;
27123
+ };
27124
+ content: {
27125
+ "application/json": components["schemas"]["APIErrorEnvelope"];
27126
+ };
27127
+ };
27128
+ /** @description Possible error codes include `RATE_LIMITED`. Use `x-error-codes` for machine-readable retryability metadata. */
27129
+ 429: {
27130
+ headers: {
27131
+ [name: string]: unknown;
27132
+ };
27133
+ content: {
27134
+ "application/json": components["schemas"]["APIErrorEnvelope"];
27135
+ };
27136
+ };
27137
+ /** @description Possible error codes include `INTERNAL_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
27138
+ 500: {
27139
+ headers: {
27140
+ [name: string]: unknown;
27141
+ };
27142
+ content: {
27143
+ "application/json": components["schemas"]["APIErrorEnvelope"];
27144
+ };
27145
+ };
27146
+ };
27147
+ };
26536
27148
  fulfillment_address_check_create: {
26537
27149
  parameters: {
26538
27150
  query?: never;
package/dist/index.d.ts CHANGED
@@ -3192,6 +3192,107 @@ interface paths {
3192
3192
  patch?: never;
3193
3193
  trace?: never;
3194
3194
  };
3195
+ "/api/v1/exploresous/consent/": {
3196
+ parameters: {
3197
+ query?: never;
3198
+ header?: never;
3199
+ path?: never;
3200
+ cookie?: never;
3201
+ };
3202
+ /**
3203
+ * @description GET / PUT /api/v1/exploresous/consent/ - the signed-in customer's choices.
3204
+ *
3205
+ * Always the account the token belongs to; no id is read from the request.
3206
+ */
3207
+ get: operations["exploresous_consent_retrieve"];
3208
+ /**
3209
+ * @description GET / PUT /api/v1/exploresous/consent/ - the signed-in customer's choices.
3210
+ *
3211
+ * Always the account the token belongs to; no id is read from the request.
3212
+ */
3213
+ put: operations["exploresous_consent_update"];
3214
+ post?: never;
3215
+ delete?: never;
3216
+ options?: never;
3217
+ head?: never;
3218
+ patch?: never;
3219
+ trace?: never;
3220
+ };
3221
+ "/api/v1/exploresous/history/": {
3222
+ parameters: {
3223
+ query?: never;
3224
+ header?: never;
3225
+ path?: never;
3226
+ cookie?: never;
3227
+ };
3228
+ /**
3229
+ * @description GET /api/v1/exploresous/history/ - the signed-in customer's imported orders.
3230
+ *
3231
+ * The account comes from the verified token only; no id in the query or body
3232
+ * is read. ``history_available`` is false until the history is signed off.
3233
+ */
3234
+ get: operations["exploresous_history_retrieve"];
3235
+ put?: never;
3236
+ post?: never;
3237
+ delete?: never;
3238
+ options?: never;
3239
+ head?: never;
3240
+ patch?: never;
3241
+ trace?: never;
3242
+ };
3243
+ "/api/v1/exploresous/link/": {
3244
+ parameters: {
3245
+ query?: never;
3246
+ header?: never;
3247
+ path?: never;
3248
+ cookie?: never;
3249
+ };
3250
+ get?: never;
3251
+ put?: never;
3252
+ /**
3253
+ * @description POST /api/v1/exploresous/link/ - link the WorkOS sign-in to a SOUS account.
3254
+ *
3255
+ * Authenticates the token without requiring an existing link: this is the call
3256
+ * that creates it. 200 ``linked``, or 409 ``held`` with a message for the
3257
+ * customer; the reason is logged, never returned.
3258
+ */
3259
+ post: operations["exploresous_link_create"];
3260
+ delete?: never;
3261
+ options?: never;
3262
+ head?: never;
3263
+ patch?: never;
3264
+ trace?: never;
3265
+ };
3266
+ "/api/v1/exploresous/unsubscribe/": {
3267
+ parameters: {
3268
+ query?: never;
3269
+ header?: never;
3270
+ path?: never;
3271
+ cookie?: never;
3272
+ };
3273
+ /**
3274
+ * @description /api/v1/exploresous/unsubscribe/ - login-free one-click unsubscribe.
3275
+ *
3276
+ * POST withdraws the channel the signed token names. GET only describes it, so
3277
+ * a mail scanner prefetching the link cannot unsubscribe anyone; the
3278
+ * storefront page confirms and POSTs.
3279
+ */
3280
+ get: operations["exploresous_unsubscribe_retrieve"];
3281
+ put?: never;
3282
+ /**
3283
+ * @description /api/v1/exploresous/unsubscribe/ - login-free one-click unsubscribe.
3284
+ *
3285
+ * POST withdraws the channel the signed token names. GET only describes it, so
3286
+ * a mail scanner prefetching the link cannot unsubscribe anyone; the
3287
+ * storefront page confirms and POSTs.
3288
+ */
3289
+ post: operations["exploresous_unsubscribe_create"];
3290
+ delete?: never;
3291
+ options?: never;
3292
+ head?: never;
3293
+ patch?: never;
3294
+ trace?: never;
3295
+ };
3195
3296
  "/api/v1/fulfillment/address-check/": {
3196
3297
  parameters: {
3197
3298
  query?: never;
@@ -7582,6 +7683,12 @@ interface components {
7582
7683
  /** Format: date-time */
7583
7684
  readonly created_at: string;
7584
7685
  };
7686
+ /**
7687
+ * @description * `email` - Email
7688
+ * * `sms` - SMS
7689
+ * @enum {string}
7690
+ */
7691
+ ChannelEnum: "email" | "sms";
7585
7692
  /**
7586
7693
  * @description * `own_website` - Own Website
7587
7694
  * * `uber_eats` - Uber Eats
@@ -7791,6 +7898,26 @@ interface components {
7791
7898
  /** @default */
7792
7899
  payment_data: string;
7793
7900
  };
7901
+ /** @description The customer's choice for one channel. */
7902
+ ConsentChoice: {
7903
+ channel: components["schemas"]["ChannelEnum"];
7904
+ status: components["schemas"]["ConsentChoiceStatusEnum"];
7905
+ phone?: string;
7906
+ };
7907
+ /**
7908
+ * @description * `active` - Active
7909
+ * * `withdrawn` - Withdrawn
7910
+ * @enum {string}
7911
+ */
7912
+ ConsentChoiceStatusEnum: "active" | "withdrawn";
7913
+ ConsentRow: {
7914
+ channel: string;
7915
+ status: string;
7916
+ };
7917
+ /** @description The customer's ExploreSOUS consent, per channel. */
7918
+ Consents: {
7919
+ consents: components["schemas"]["ConsentRow"][];
7920
+ };
7794
7921
  ContentTranslation: {
7795
7922
  language_code: string;
7796
7923
  headline?: string;
@@ -8412,6 +8539,45 @@ interface components {
8412
8539
  * @enum {string}
8413
8540
  */
8414
8541
  HealthStatusEnum: "champion" | "loyal" | "potential_loyal" | "new" | "promising" | "needs_attention" | "about_to_sleep" | "at_risk" | "cant_lose" | "hibernating" | "lost";
8542
+ /** @description The history endpoint's response. */
8543
+ History: {
8544
+ history_available: boolean;
8545
+ orders: components["schemas"]["HistoryOrder"][];
8546
+ };
8547
+ /** @description One line of a past order, as ``projection._lines`` stores it. */
8548
+ HistoryLineItem: {
8549
+ title: string;
8550
+ variant_title: string;
8551
+ quantity: number;
8552
+ unit_price: string | null;
8553
+ vendor: string;
8554
+ partner_name: string;
8555
+ store_id: number | null;
8556
+ };
8557
+ /** @description One past order, as ``history.HistoryOrder``. */
8558
+ HistoryOrder: {
8559
+ name: string;
8560
+ /** Format: date-time */
8561
+ placed_at: string | null;
8562
+ /** Format: date-time */
8563
+ cancelled_at: string | null;
8564
+ financial_status: string;
8565
+ fulfilment_status: string;
8566
+ currency: string;
8567
+ /** Format: decimal */
8568
+ total_amount: string | null;
8569
+ /** Format: decimal */
8570
+ subtotal_amount: string | null;
8571
+ /** Format: decimal */
8572
+ shipping_amount: string | null;
8573
+ /** Format: decimal */
8574
+ tax_amount: string | null;
8575
+ /** Format: decimal */
8576
+ discount_amount: string | null;
8577
+ /** Format: decimal */
8578
+ refunded_amount: string | null;
8579
+ line_items: components["schemas"]["HistoryLineItem"][];
8580
+ };
8415
8581
  /**
8416
8582
  * @description * `customer` - Customer
8417
8583
  * * `merchant` - Merchant
@@ -8673,6 +8839,12 @@ interface components {
8673
8839
  LightspeedWebhook: {
8674
8840
  endpoint_id: string;
8675
8841
  };
8842
+ /** @description The link endpoint's answer: linked, or held with a message for the customer. */
8843
+ LinkOutcome: {
8844
+ outcome: components["schemas"]["OutcomeEnum"];
8845
+ user_id?: number;
8846
+ detail?: string;
8847
+ };
8676
8848
  /** @description One location's delivery-method state, grouped by the stores serving it. */
8677
8849
  LocationDeliveryMethodSummary: {
8678
8850
  location_public_id: string;
@@ -9335,6 +9507,12 @@ interface components {
9335
9507
  /** Format: date-time */
9336
9508
  readonly updated_at: string;
9337
9509
  };
9510
+ /**
9511
+ * @description * `linked` - linked
9512
+ * * `held` - held
9513
+ * @enum {string}
9514
+ */
9515
+ OutcomeEnum: "linked" | "held";
9338
9516
  /** @description One POS catalogue item with drift classification. */
9339
9517
  POSCatalogueItem: {
9340
9518
  sku: string;
@@ -11613,6 +11791,16 @@ interface components {
11613
11791
  slug: string;
11614
11792
  abbreviation: string;
11615
11793
  };
11794
+ /** @description The signed token from the unsubscribe link (body or query). */
11795
+ UnsubscribeToken: {
11796
+ token: string;
11797
+ };
11798
+ /** @description What an unsubscribe link covers, and for POST the resulting status. */
11799
+ Unsubscribed: {
11800
+ channel: string;
11801
+ scope: string;
11802
+ status?: string;
11803
+ };
11616
11804
  User: {
11617
11805
  /** @description Required. 150 characters or fewer. Letters, digits and @/./+/-/_ only. */
11618
11806
  username: string;
@@ -26533,6 +26721,430 @@ interface operations {
26533
26721
  };
26534
26722
  };
26535
26723
  };
26724
+ exploresous_consent_retrieve: {
26725
+ parameters: {
26726
+ query?: never;
26727
+ header?: never;
26728
+ path?: never;
26729
+ cookie?: never;
26730
+ };
26731
+ requestBody?: never;
26732
+ responses: {
26733
+ 200: {
26734
+ headers: {
26735
+ [name: string]: unknown;
26736
+ };
26737
+ content: {
26738
+ "application/json": components["schemas"]["Consents"];
26739
+ };
26740
+ };
26741
+ /** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
26742
+ 400: {
26743
+ headers: {
26744
+ [name: string]: unknown;
26745
+ };
26746
+ content: {
26747
+ "application/json": components["schemas"]["APIErrorEnvelope"];
26748
+ };
26749
+ };
26750
+ /** @description Possible error codes include `UNAUTHORIZED`. Use `x-error-codes` for machine-readable retryability metadata. */
26751
+ 401: {
26752
+ headers: {
26753
+ [name: string]: unknown;
26754
+ };
26755
+ content: {
26756
+ "application/json": components["schemas"]["APIErrorEnvelope"];
26757
+ };
26758
+ };
26759
+ /** @description Possible error codes include `FORBIDDEN`. Use `x-error-codes` for machine-readable retryability metadata. */
26760
+ 403: {
26761
+ headers: {
26762
+ [name: string]: unknown;
26763
+ };
26764
+ content: {
26765
+ "application/json": components["schemas"]["APIErrorEnvelope"];
26766
+ };
26767
+ };
26768
+ /** @description Possible error codes include `NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. */
26769
+ 404: {
26770
+ headers: {
26771
+ [name: string]: unknown;
26772
+ };
26773
+ content: {
26774
+ "application/json": components["schemas"]["APIErrorEnvelope"];
26775
+ };
26776
+ };
26777
+ /** @description Possible error codes include `RATE_LIMITED`. Use `x-error-codes` for machine-readable retryability metadata. */
26778
+ 429: {
26779
+ headers: {
26780
+ [name: string]: unknown;
26781
+ };
26782
+ content: {
26783
+ "application/json": components["schemas"]["APIErrorEnvelope"];
26784
+ };
26785
+ };
26786
+ /** @description Possible error codes include `INTERNAL_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
26787
+ 500: {
26788
+ headers: {
26789
+ [name: string]: unknown;
26790
+ };
26791
+ content: {
26792
+ "application/json": components["schemas"]["APIErrorEnvelope"];
26793
+ };
26794
+ };
26795
+ };
26796
+ };
26797
+ exploresous_consent_update: {
26798
+ parameters: {
26799
+ query?: never;
26800
+ header?: never;
26801
+ path?: never;
26802
+ cookie?: never;
26803
+ };
26804
+ requestBody: {
26805
+ content: {
26806
+ "application/json": components["schemas"]["ConsentChoice"];
26807
+ "application/x-www-form-urlencoded": components["schemas"]["ConsentChoice"];
26808
+ "multipart/form-data": components["schemas"]["ConsentChoice"];
26809
+ };
26810
+ };
26811
+ responses: {
26812
+ 200: {
26813
+ headers: {
26814
+ [name: string]: unknown;
26815
+ };
26816
+ content: {
26817
+ "application/json": components["schemas"]["Consents"];
26818
+ };
26819
+ };
26820
+ /** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
26821
+ 400: {
26822
+ headers: {
26823
+ [name: string]: unknown;
26824
+ };
26825
+ content: {
26826
+ "application/json": components["schemas"]["APIErrorEnvelope"];
26827
+ };
26828
+ };
26829
+ /** @description Possible error codes include `UNAUTHORIZED`. Use `x-error-codes` for machine-readable retryability metadata. */
26830
+ 401: {
26831
+ headers: {
26832
+ [name: string]: unknown;
26833
+ };
26834
+ content: {
26835
+ "application/json": components["schemas"]["APIErrorEnvelope"];
26836
+ };
26837
+ };
26838
+ /** @description Possible error codes include `FORBIDDEN`. Use `x-error-codes` for machine-readable retryability metadata. */
26839
+ 403: {
26840
+ headers: {
26841
+ [name: string]: unknown;
26842
+ };
26843
+ content: {
26844
+ "application/json": components["schemas"]["APIErrorEnvelope"];
26845
+ };
26846
+ };
26847
+ /** @description Possible error codes include `NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. */
26848
+ 404: {
26849
+ headers: {
26850
+ [name: string]: unknown;
26851
+ };
26852
+ content: {
26853
+ "application/json": components["schemas"]["APIErrorEnvelope"];
26854
+ };
26855
+ };
26856
+ /** @description Possible error codes include `RATE_LIMITED`. Use `x-error-codes` for machine-readable retryability metadata. */
26857
+ 429: {
26858
+ headers: {
26859
+ [name: string]: unknown;
26860
+ };
26861
+ content: {
26862
+ "application/json": components["schemas"]["APIErrorEnvelope"];
26863
+ };
26864
+ };
26865
+ /** @description Possible error codes include `INTERNAL_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
26866
+ 500: {
26867
+ headers: {
26868
+ [name: string]: unknown;
26869
+ };
26870
+ content: {
26871
+ "application/json": components["schemas"]["APIErrorEnvelope"];
26872
+ };
26873
+ };
26874
+ };
26875
+ };
26876
+ exploresous_history_retrieve: {
26877
+ parameters: {
26878
+ query?: never;
26879
+ header?: never;
26880
+ path?: never;
26881
+ cookie?: never;
26882
+ };
26883
+ requestBody?: never;
26884
+ responses: {
26885
+ 200: {
26886
+ headers: {
26887
+ [name: string]: unknown;
26888
+ };
26889
+ content: {
26890
+ "application/json": components["schemas"]["History"];
26891
+ };
26892
+ };
26893
+ /** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
26894
+ 400: {
26895
+ headers: {
26896
+ [name: string]: unknown;
26897
+ };
26898
+ content: {
26899
+ "application/json": components["schemas"]["APIErrorEnvelope"];
26900
+ };
26901
+ };
26902
+ /** @description Possible error codes include `UNAUTHORIZED`. Use `x-error-codes` for machine-readable retryability metadata. */
26903
+ 401: {
26904
+ headers: {
26905
+ [name: string]: unknown;
26906
+ };
26907
+ content: {
26908
+ "application/json": components["schemas"]["APIErrorEnvelope"];
26909
+ };
26910
+ };
26911
+ /** @description Possible error codes include `FORBIDDEN`. Use `x-error-codes` for machine-readable retryability metadata. */
26912
+ 403: {
26913
+ headers: {
26914
+ [name: string]: unknown;
26915
+ };
26916
+ content: {
26917
+ "application/json": components["schemas"]["APIErrorEnvelope"];
26918
+ };
26919
+ };
26920
+ /** @description Possible error codes include `NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. */
26921
+ 404: {
26922
+ headers: {
26923
+ [name: string]: unknown;
26924
+ };
26925
+ content: {
26926
+ "application/json": components["schemas"]["APIErrorEnvelope"];
26927
+ };
26928
+ };
26929
+ /** @description Possible error codes include `RATE_LIMITED`. Use `x-error-codes` for machine-readable retryability metadata. */
26930
+ 429: {
26931
+ headers: {
26932
+ [name: string]: unknown;
26933
+ };
26934
+ content: {
26935
+ "application/json": components["schemas"]["APIErrorEnvelope"];
26936
+ };
26937
+ };
26938
+ /** @description Possible error codes include `INTERNAL_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
26939
+ 500: {
26940
+ headers: {
26941
+ [name: string]: unknown;
26942
+ };
26943
+ content: {
26944
+ "application/json": components["schemas"]["APIErrorEnvelope"];
26945
+ };
26946
+ };
26947
+ };
26948
+ };
26949
+ exploresous_link_create: {
26950
+ parameters: {
26951
+ query?: never;
26952
+ header?: never;
26953
+ path?: never;
26954
+ cookie?: never;
26955
+ };
26956
+ requestBody?: never;
26957
+ responses: {
26958
+ 200: {
26959
+ headers: {
26960
+ [name: string]: unknown;
26961
+ };
26962
+ content: {
26963
+ "application/json": components["schemas"]["LinkOutcome"];
26964
+ };
26965
+ };
26966
+ /** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
26967
+ 400: {
26968
+ headers: {
26969
+ [name: string]: unknown;
26970
+ };
26971
+ content: {
26972
+ "application/json": components["schemas"]["APIErrorEnvelope"];
26973
+ };
26974
+ };
26975
+ /** @description Possible error codes include `UNAUTHORIZED`. Use `x-error-codes` for machine-readable retryability metadata. */
26976
+ 401: {
26977
+ headers: {
26978
+ [name: string]: unknown;
26979
+ };
26980
+ content: {
26981
+ "application/json": components["schemas"]["APIErrorEnvelope"];
26982
+ };
26983
+ };
26984
+ /** @description Possible error codes include `FORBIDDEN`. Use `x-error-codes` for machine-readable retryability metadata. */
26985
+ 403: {
26986
+ headers: {
26987
+ [name: string]: unknown;
26988
+ };
26989
+ content: {
26990
+ "application/json": components["schemas"]["APIErrorEnvelope"];
26991
+ };
26992
+ };
26993
+ /** @description Possible error codes include `NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. */
26994
+ 404: {
26995
+ headers: {
26996
+ [name: string]: unknown;
26997
+ };
26998
+ content: {
26999
+ "application/json": components["schemas"]["APIErrorEnvelope"];
27000
+ };
27001
+ };
27002
+ 409: {
27003
+ headers: {
27004
+ [name: string]: unknown;
27005
+ };
27006
+ content: {
27007
+ "application/json": components["schemas"]["LinkOutcome"];
27008
+ };
27009
+ };
27010
+ /** @description Possible error codes include `RATE_LIMITED`. Use `x-error-codes` for machine-readable retryability metadata. */
27011
+ 429: {
27012
+ headers: {
27013
+ [name: string]: unknown;
27014
+ };
27015
+ content: {
27016
+ "application/json": components["schemas"]["APIErrorEnvelope"];
27017
+ };
27018
+ };
27019
+ /** @description Possible error codes include `INTERNAL_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
27020
+ 500: {
27021
+ headers: {
27022
+ [name: string]: unknown;
27023
+ };
27024
+ content: {
27025
+ "application/json": components["schemas"]["APIErrorEnvelope"];
27026
+ };
27027
+ };
27028
+ };
27029
+ };
27030
+ exploresous_unsubscribe_retrieve: {
27031
+ parameters: {
27032
+ query: {
27033
+ token: string;
27034
+ };
27035
+ header?: never;
27036
+ path?: never;
27037
+ cookie?: never;
27038
+ };
27039
+ requestBody?: never;
27040
+ responses: {
27041
+ 200: {
27042
+ headers: {
27043
+ [name: string]: unknown;
27044
+ };
27045
+ content: {
27046
+ "application/json": components["schemas"]["Unsubscribed"];
27047
+ };
27048
+ };
27049
+ /** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
27050
+ 400: {
27051
+ headers: {
27052
+ [name: string]: unknown;
27053
+ };
27054
+ content: {
27055
+ "application/json": components["schemas"]["APIErrorEnvelope"];
27056
+ };
27057
+ };
27058
+ /** @description Possible error codes include `NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. */
27059
+ 404: {
27060
+ headers: {
27061
+ [name: string]: unknown;
27062
+ };
27063
+ content: {
27064
+ "application/json": components["schemas"]["APIErrorEnvelope"];
27065
+ };
27066
+ };
27067
+ /** @description Possible error codes include `RATE_LIMITED`. Use `x-error-codes` for machine-readable retryability metadata. */
27068
+ 429: {
27069
+ headers: {
27070
+ [name: string]: unknown;
27071
+ };
27072
+ content: {
27073
+ "application/json": components["schemas"]["APIErrorEnvelope"];
27074
+ };
27075
+ };
27076
+ /** @description Possible error codes include `INTERNAL_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
27077
+ 500: {
27078
+ headers: {
27079
+ [name: string]: unknown;
27080
+ };
27081
+ content: {
27082
+ "application/json": components["schemas"]["APIErrorEnvelope"];
27083
+ };
27084
+ };
27085
+ };
27086
+ };
27087
+ exploresous_unsubscribe_create: {
27088
+ parameters: {
27089
+ query?: never;
27090
+ header?: never;
27091
+ path?: never;
27092
+ cookie?: never;
27093
+ };
27094
+ requestBody: {
27095
+ content: {
27096
+ "application/json": components["schemas"]["UnsubscribeToken"];
27097
+ "application/x-www-form-urlencoded": components["schemas"]["UnsubscribeToken"];
27098
+ "multipart/form-data": components["schemas"]["UnsubscribeToken"];
27099
+ };
27100
+ };
27101
+ responses: {
27102
+ 200: {
27103
+ headers: {
27104
+ [name: string]: unknown;
27105
+ };
27106
+ content: {
27107
+ "application/json": components["schemas"]["Unsubscribed"];
27108
+ };
27109
+ };
27110
+ /** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
27111
+ 400: {
27112
+ headers: {
27113
+ [name: string]: unknown;
27114
+ };
27115
+ content: {
27116
+ "application/json": components["schemas"]["APIErrorEnvelope"];
27117
+ };
27118
+ };
27119
+ /** @description Possible error codes include `NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. */
27120
+ 404: {
27121
+ headers: {
27122
+ [name: string]: unknown;
27123
+ };
27124
+ content: {
27125
+ "application/json": components["schemas"]["APIErrorEnvelope"];
27126
+ };
27127
+ };
27128
+ /** @description Possible error codes include `RATE_LIMITED`. Use `x-error-codes` for machine-readable retryability metadata. */
27129
+ 429: {
27130
+ headers: {
27131
+ [name: string]: unknown;
27132
+ };
27133
+ content: {
27134
+ "application/json": components["schemas"]["APIErrorEnvelope"];
27135
+ };
27136
+ };
27137
+ /** @description Possible error codes include `INTERNAL_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
27138
+ 500: {
27139
+ headers: {
27140
+ [name: string]: unknown;
27141
+ };
27142
+ content: {
27143
+ "application/json": components["schemas"]["APIErrorEnvelope"];
27144
+ };
27145
+ };
27146
+ };
27147
+ };
26536
27148
  fulfillment_address_check_create: {
26537
27149
  parameters: {
26538
27150
  query?: never;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@poweredbysous/storefront-all-sdk",
3
- "version": "4.7.0",
3
+ "version": "4.8.0",
4
4
  "description": "Type-safe TypeScript SDK for all SOUS Storefront Backend endpoints",
5
5
  "license": "UNLICENSED",
6
6
  "private": false,