@flowio/types 11.17.0 → 11.19.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.
@@ -287,7 +287,7 @@ declare namespace io.flow.order.price.v0.models {
287
287
  readonly components: io.flow.order.price.v0.models.OrderPriceDetailComponent[];
288
288
  readonly name?: string;
289
289
  readonly rate?: number;
290
- readonly accuracy: io.flow.price.v0.enums.PriceAccuracy;
290
+ readonly accuracy?: io.flow.price.v0.enums.PriceAccuracy;
291
291
  readonly rate_label?: string;
292
292
  }
293
293
 
@@ -371,7 +371,7 @@ declare namespace io.flow.experience.v0.models {
371
371
  readonly country: string;
372
372
  readonly field_validation: io.flow.experience.v0.models.AddressFieldValidation;
373
373
  readonly provinces: io.flow.experience.v0.models.AddressConfigurationProvince[];
374
- readonly formats: io.flow.experience.v0.models.AddressConfigurationFormat[];
374
+ readonly formats?: io.flow.experience.v0.models.AddressConfigurationFormat[];
375
375
  readonly province_type?: io.flow.reference.v0.enums.ProvinceType;
376
376
  readonly postal_type?: io.flow.reference.v0.enums.PostalType;
377
377
  }
@@ -432,7 +432,7 @@ declare namespace io.flow.experience.v0.models {
432
432
  readonly rate: number;
433
433
  readonly name: string;
434
434
  readonly price?: io.flow.common.v0.models.PriceWithBase;
435
- readonly accuracy: io.flow.price.v0.enums.PriceAccuracy;
435
+ readonly accuracy?: io.flow.price.v0.enums.PriceAccuracy;
436
436
  readonly basis?: io.flow.common.v0.models.MoneyWithBase;
437
437
  }
438
438
 
@@ -932,7 +932,7 @@ declare namespace io.flow.experience.v0.models {
932
932
  readonly discriminator: 'order';
933
933
  readonly id: string;
934
934
  readonly number: string;
935
- readonly order_type: io.flow.experience.v0.enums.OrderType;
935
+ readonly order_type?: io.flow.experience.v0.enums.OrderType;
936
936
  readonly merchant_of_record?: io.flow.common.v0.enums.OrderMerchantOfRecord;
937
937
  readonly experience?: io.flow.experience.v0.unions.ExpandableExperience;
938
938
  readonly customer: io.flow.common.v0.models.OrderCustomer;
@@ -1111,7 +1111,7 @@ declare namespace io.flow.experience.v0.models {
1111
1111
 
1112
1112
  interface OrderNumberGeneratorUuid {
1113
1113
  readonly discriminator: 'uuid';
1114
- readonly prefix: string;
1114
+ readonly prefix?: string;
1115
1115
  }
1116
1116
 
1117
1117
  interface OrderNumberReference {
@@ -1125,13 +1125,13 @@ declare namespace io.flow.experience.v0.models {
1125
1125
  interface OrderPayment {
1126
1126
  readonly id: string;
1127
1127
  readonly type: io.flow.experience.v0.enums.OrderPaymentType;
1128
- readonly merchant_of_record: io.flow.common.v0.enums.MerchantOfRecord;
1128
+ readonly merchant_of_record?: io.flow.common.v0.enums.MerchantOfRecord;
1129
1129
  readonly reference: string;
1130
1130
  readonly description: string;
1131
1131
  readonly total: io.flow.common.v0.models.PriceWithBase;
1132
1132
  readonly address?: io.flow.common.v0.models.BillingAddress;
1133
1133
  readonly date?: string;
1134
- readonly attributes: Record<string, string>;
1134
+ readonly attributes?: Record<string, string>;
1135
1135
  readonly method?: string;
1136
1136
  }
1137
1137
 
@@ -1141,7 +1141,7 @@ declare namespace io.flow.experience.v0.models {
1141
1141
  }
1142
1142
 
1143
1143
  interface OrderPutForm {
1144
- readonly order_type: io.flow.experience.v0.enums.OrderType;
1144
+ readonly order_type?: io.flow.experience.v0.enums.OrderType;
1145
1145
  readonly items: io.flow.common.v0.models.LineItemForm[];
1146
1146
  readonly customer?: io.flow.common.v0.models.OrderCustomerForm;
1147
1147
  readonly delivered_duty?: io.flow.common.v0.enums.DeliveredDuty;
@@ -1233,7 +1233,7 @@ declare namespace io.flow.experience.v0.models {
1233
1233
  }
1234
1234
 
1235
1235
  interface OrderSubmissionForm {
1236
- readonly identifiers: io.flow.experience.v0.models.OrderSubmissionIdentifierForm[];
1236
+ readonly identifiers?: io.flow.experience.v0.models.OrderSubmissionIdentifierForm[];
1237
1237
  }
1238
1238
 
1239
1239
  interface OrderSubmissionIdentifierForm {
@@ -1622,7 +1622,7 @@ declare namespace io.flow.shopify.xborder.v0.models {
1622
1622
  readonly updated_at?: string;
1623
1623
  readonly user_id?: number;
1624
1624
  readonly order_status_url?: string;
1625
- readonly inventory_behaviour: io.flow.shopify.xborder.v0.enums.ShopifyOrderInventoryBehaviour;
1625
+ readonly inventory_behaviour?: io.flow.shopify.xborder.v0.enums.ShopifyOrderInventoryBehaviour;
1626
1626
  readonly gateway?: string;
1627
1627
  readonly transactions?: io.flow.shopify.xborder.v0.models.ShopifyOrderTransaction[];
1628
1628
  readonly send_receipt?: boolean;
@@ -1659,7 +1659,7 @@ declare namespace io.flow.shopify.xborder.v0.models {
1659
1659
  }
1660
1660
 
1661
1661
  interface ShopifyOrderClientDetail {
1662
- readonly accept_language: string;
1662
+ readonly accept_language?: string;
1663
1663
  readonly browser_height?: number;
1664
1664
  readonly browser_ip?: string;
1665
1665
  readonly browser_width?: number;
@@ -2587,7 +2587,7 @@ declare namespace io.flow.RESERVED_WORD_export.v0.models {
2587
2587
  readonly item_numbers?: string[];
2588
2588
  readonly start_date?: string;
2589
2589
  readonly end_date?: string;
2590
- readonly item_identifier: io.flow.RESERVED_WORD_export.v0.enums.ItemIdentifier;
2590
+ readonly item_identifier?: io.flow.RESERVED_WORD_export.v0.enums.ItemIdentifier;
2591
2591
  }
2592
2592
 
2593
2593
  interface ScheduledExport {
@@ -4872,14 +4872,14 @@ declare namespace io.flow.bitpay.v0.models {
4872
4872
  readonly currency: string;
4873
4873
  readonly posData?: string;
4874
4874
  readonly notificationURL?: string;
4875
- readonly transactionSpeed: io.flow.bitpay.v0.enums.TransactionSpeed;
4875
+ readonly transactionSpeed?: io.flow.bitpay.v0.enums.TransactionSpeed;
4876
4876
  readonly fullNotifications?: boolean;
4877
4877
  readonly notificationEmail?: string;
4878
4878
  readonly redirectURL?: string;
4879
4879
  readonly orderId?: string;
4880
4880
  readonly itemDesc?: string;
4881
4881
  readonly itemCode?: string;
4882
- readonly physical: boolean;
4882
+ readonly physical?: boolean;
4883
4883
  readonly buyerName?: string;
4884
4884
  readonly buyerAddress1?: string;
4885
4885
  readonly buyerAddress2?: string;
@@ -4936,12 +4936,12 @@ declare namespace io.flow.bitpay.v0.models {
4936
4936
  readonly currency: string;
4937
4937
  readonly posData?: string;
4938
4938
  readonly notificationURL?: string;
4939
- readonly transactionSpeed: io.flow.bitpay.v0.enums.TransactionSpeed;
4939
+ readonly transactionSpeed?: io.flow.bitpay.v0.enums.TransactionSpeed;
4940
4940
  readonly fullNotifications?: boolean;
4941
4941
  readonly extendedNotifications?: boolean;
4942
4942
  readonly redirectURL?: string;
4943
4943
  readonly orderId?: string;
4944
- readonly physical: boolean;
4944
+ readonly physical?: boolean;
4945
4945
  readonly buyerName?: string;
4946
4946
  readonly buyerAddress1?: string;
4947
4947
  readonly buyerAddress2?: string;
@@ -5039,7 +5039,7 @@ declare namespace io.flow.brickftp.v0.models {
5039
5039
  readonly id: number;
5040
5040
  readonly path: string;
5041
5041
  readonly behavior: io.flow.brickftp.v0.enums.BehaviorType;
5042
- readonly value: string[];
5042
+ readonly value: any /*object*/;
5043
5043
  }
5044
5044
 
5045
5045
  interface BehaviorForm {
@@ -5278,6 +5278,11 @@ declare namespace io.flow.adyen.v0.models {
5278
5278
  readonly currency: string;
5279
5279
  }
5280
5280
 
5281
+ interface Applepay {
5282
+ readonly type: 'applepay';
5283
+ readonly applePayToken: string;
5284
+ }
5285
+
5281
5286
  interface Authentication {
5282
5287
  readonly 'threeds2.fingerprintToken'?: string;
5283
5288
  readonly 'threeds2.challengeToken'?: string;
@@ -5461,6 +5466,14 @@ declare namespace io.flow.adyen.v0.models {
5461
5466
  readonly paymentData?: string;
5462
5467
  }
5463
5468
 
5469
+ interface PaymentDetailsV663Ds2Challenge {
5470
+ readonly 'threeds2.challengeResult': string;
5471
+ }
5472
+
5473
+ interface PaymentDetailsV663Ds2Fingerprint {
5474
+ readonly 'threeds2.fingerprint': string;
5475
+ }
5476
+
5464
5477
  interface PaymentRequest {
5465
5478
  readonly reference: string;
5466
5479
  readonly merchantAccount: string;
@@ -5482,7 +5495,7 @@ declare namespace io.flow.adyen.v0.models {
5482
5495
  readonly browserInfo?: io.flow.adyen.v0.unions.BrowserInfo;
5483
5496
  readonly origin?: string;
5484
5497
  readonly channel?: io.flow.adyen.v0.enums.Channel;
5485
- readonly returnURL?: string;
5498
+ readonly returnUrl?: string;
5486
5499
  }
5487
5500
 
5488
5501
  interface PaymentResponse {
@@ -5538,6 +5551,15 @@ declare namespace io.flow.adyen.v0.models {
5538
5551
  readonly cvc?: string;
5539
5552
  }
5540
5553
 
5554
+ interface SdkV3OnCompleteData {
5555
+ readonly details: any /*object*/;
5556
+ readonly payment_data?: string;
5557
+ }
5558
+
5559
+ interface SdkV3OnCompleteResult {
5560
+ readonly data: io.flow.adyen.v0.models.SdkV3OnCompleteData;
5561
+ }
5562
+
5541
5563
  interface ThreeDSecureData {
5542
5564
  readonly authenticationResponse?: string;
5543
5565
  readonly cavv?: string;
@@ -5569,7 +5591,9 @@ declare namespace io.flow.adyen.v0.unions {
5569
5591
  type BrowserInfo =
5570
5592
  | io.flow.adyen.v0.models.BrowserInfo3Ds1
5571
5593
  | io.flow.adyen.v0.models.BrowserInfo3Ds2;
5572
- type PaymentMethodData = io.flow.adyen.v0.models.Scheme;
5594
+ type PaymentMethodData =
5595
+ | io.flow.adyen.v0.models.Scheme
5596
+ | io.flow.adyen.v0.models.Applepay;
5573
5597
  }
5574
5598
 
5575
5599
  declare namespace io.flow.order.management.v0.enums {
@@ -5935,7 +5959,7 @@ declare namespace io.flow.shopify.external.v0.models {
5935
5959
  interface Product {
5936
5960
  readonly id: number;
5937
5961
  readonly handle: string;
5938
- readonly variants: io.flow.shopify.external.v0.models.ProductVariant[];
5962
+ readonly variants?: io.flow.shopify.external.v0.models.ProductVariant[];
5939
5963
  readonly images: io.flow.shopify.external.v0.models.ProductImage[];
5940
5964
  readonly title: string;
5941
5965
  readonly vendor?: string;
@@ -6120,7 +6144,7 @@ declare namespace io.flow.shopify.external.v0.models {
6120
6144
  }
6121
6145
 
6122
6146
  interface ShopifyClientDetail {
6123
- readonly accept_language: boolean;
6147
+ readonly accept_language?: boolean;
6124
6148
  readonly browser_height?: number;
6125
6149
  readonly browser_ip?: string;
6126
6150
  readonly browser_width?: number;
@@ -6136,7 +6160,7 @@ declare namespace io.flow.shopify.external.v0.models {
6136
6160
  readonly tax_exempt: boolean;
6137
6161
  readonly verified_email: boolean;
6138
6162
  readonly state: io.flow.shopify.external.v0.enums.ShopifyCustomerState;
6139
- readonly accepts_marketing: boolean;
6163
+ readonly accepts_marketing?: boolean;
6140
6164
  readonly default_address?: any /*object*/;
6141
6165
  readonly email?: string;
6142
6166
  readonly first_name?: string;
@@ -6215,7 +6239,7 @@ declare namespace io.flow.shopify.external.v0.models {
6215
6239
  readonly requires_shipping: boolean;
6216
6240
  readonly currency?: string;
6217
6241
  readonly items: io.flow.shopify.external.v0.models.ShopifyExternalCartItem[];
6218
- readonly cart_level_discount_applications: io.flow.shopify.external.v0.models.ShopifyDiscountApplication[];
6242
+ readonly cart_level_discount_applications?: io.flow.shopify.external.v0.models.ShopifyDiscountApplication[];
6219
6243
  }
6220
6244
 
6221
6245
  interface ShopifyExternalCartItem {
@@ -6230,7 +6254,7 @@ declare namespace io.flow.shopify.external.v0.models {
6230
6254
  readonly original_line_price: number;
6231
6255
  readonly total_discount: number;
6232
6256
  readonly discounted_price: number;
6233
- readonly discounts: io.flow.shopify.external.v0.models.ShopifyCartItemDiscount[];
6257
+ readonly discounts?: io.flow.shopify.external.v0.models.ShopifyCartItemDiscount[];
6234
6258
  readonly taxable: boolean;
6235
6259
  readonly quantity: number;
6236
6260
  readonly sku?: string;
@@ -6248,8 +6272,8 @@ declare namespace io.flow.shopify.external.v0.models {
6248
6272
  readonly product_description?: string;
6249
6273
  readonly product_type: string;
6250
6274
  readonly variant_title?: string;
6251
- readonly variant_options: string[];
6252
- readonly line_level_discount_allocations: io.flow.shopify.external.v0.models.ShopifyLineLevelDiscountAllocation[];
6275
+ readonly variant_options?: string[];
6276
+ readonly line_level_discount_allocations?: io.flow.shopify.external.v0.models.ShopifyLineLevelDiscountAllocation[];
6253
6277
  }
6254
6278
 
6255
6279
  interface ShopifyFulfillment {
@@ -6490,11 +6514,11 @@ declare namespace io.flow.shopify.external.v0.models {
6490
6514
  readonly updated_at?: string;
6491
6515
  readonly user_id?: number;
6492
6516
  readonly order_status_url?: string;
6493
- readonly inventory_behaviour: io.flow.shopify.external.v0.enums.InventoryBehaviour;
6517
+ readonly inventory_behaviour?: io.flow.shopify.external.v0.enums.InventoryBehaviour;
6494
6518
  readonly gateway?: string;
6495
6519
  readonly transactions?: io.flow.shopify.external.v0.models.ShopifyTransactionForm[];
6496
6520
  readonly send_receipt?: boolean;
6497
- readonly metafields: io.flow.shopify.external.v0.models.MetafieldForm[];
6521
+ readonly metafields?: io.flow.shopify.external.v0.models.MetafieldForm[];
6498
6522
  }
6499
6523
 
6500
6524
  interface ShopifyOrderCount {
@@ -6632,7 +6656,7 @@ declare namespace io.flow.shopify.external.v0.models {
6632
6656
 
6633
6657
  interface ShopifyWebhookOrder {
6634
6658
  readonly id?: number;
6635
- readonly line_items: io.flow.shopify.external.v0.models.ShopifyWebhookOrderLineItem[];
6659
+ readonly line_items?: io.flow.shopify.external.v0.models.ShopifyWebhookOrderLineItem[];
6636
6660
  }
6637
6661
 
6638
6662
  interface ShopifyWebhookOrderCancelled {
@@ -8151,8 +8175,8 @@ declare namespace io.flow.common.v0.enums {
8151
8175
  type ChangeType = 'insert' | 'update' | 'delete';
8152
8176
  type CurrencyLabelFormatter =
8153
8177
  | 'strip_trailing_zeros'
8154
- | 'before_amount'
8155
- | 'after_amount';
8178
+ | 'symbol_prefix'
8179
+ | 'symbol_suffix';
8156
8180
  type CurrencySymbolFormat = 'narrow' | 'primary';
8157
8181
  type DayOfWeek =
8158
8182
  | 'sunday'
@@ -8955,20 +8979,6 @@ declare namespace io.flow.ratecard.v0.models {
8955
8979
  readonly amount?: number;
8956
8980
  }
8957
8981
 
8958
- interface PeakSurchargeRatecardFee {
8959
- readonly discriminator: 'peak_surcharge_ratecard_fee';
8960
- readonly amount: io.flow.common.v0.models.Money;
8961
- readonly starts_at?: string;
8962
- readonly ends_at?: string;
8963
- }
8964
-
8965
- interface PeakSurchargeServiceFee {
8966
- readonly discriminator: 'peak_surcharge_service_fee';
8967
- readonly amount: io.flow.common.v0.models.Money;
8968
- readonly starts_at?: string;
8969
- readonly ends_at?: string;
8970
- }
8971
-
8972
8982
  interface Ratecard {
8973
8983
  readonly id: string;
8974
8984
  readonly number: string;
@@ -9195,13 +9205,11 @@ declare namespace io.flow.ratecard.v0.unions {
9195
9205
  | io.flow.ratecard.v0.models.ReturnPackageRatecardFee
9196
9206
  | io.flow.ratecard.v0.models.CrossdockRatecardFee
9197
9207
  | io.flow.ratecard.v0.models.RemoteAreaRatecardFee
9198
- | io.flow.ratecard.v0.models.EmergencySituationSurchargeRatecardFee
9199
- | io.flow.ratecard.v0.models.PeakSurchargeRatecardFee;
9208
+ | io.flow.ratecard.v0.models.EmergencySituationSurchargeRatecardFee;
9200
9209
  type ServiceFee =
9201
9210
  | io.flow.ratecard.v0.models.FuelSurchargeServiceFee
9202
9211
  | io.flow.ratecard.v0.models.RemoteAreaServiceFee
9203
- | io.flow.ratecard.v0.models.EmergencySituationSurchargeServiceFee
9204
- | io.flow.ratecard.v0.models.PeakSurchargeServiceFee;
9212
+ | io.flow.ratecard.v0.models.EmergencySituationSurchargeServiceFee;
9205
9213
  }
9206
9214
 
9207
9215
  declare namespace io.flow.magento.v0.models {
@@ -9778,7 +9786,6 @@ declare namespace io.flow.crypto.v0.models {
9778
9786
  readonly recipient: string;
9779
9787
  readonly refunded: boolean;
9780
9788
  readonly status: io.flow.crypto.v0.enums.PaymentStatus;
9781
- readonly time_window: number;
9782
9789
  }
9783
9790
 
9784
9791
  interface PaymentRequest {
@@ -10208,7 +10215,7 @@ declare namespace io.flow.price.v0.models {
10208
10215
  readonly currency: string;
10209
10216
  readonly name: string;
10210
10217
  readonly includes: io.flow.common.v0.enums.IncludedLevyKey;
10211
- readonly status: io.flow.common.v0.enums.PriceBookStatus;
10218
+ readonly status?: io.flow.common.v0.enums.PriceBookStatus;
10212
10219
  }
10213
10220
 
10214
10221
  interface PriceBookItem {
@@ -11229,7 +11236,7 @@ declare namespace io.flow.catalog.v0.models {
11229
11236
  readonly base: io.flow.common.v0.models.Price;
11230
11237
  readonly name: string;
11231
11238
  readonly adjustment?: io.flow.catalog.v0.models.LocalizedAdjustment;
11232
- readonly accuracy: io.flow.price.v0.enums.PriceAccuracy;
11239
+ readonly accuracy?: io.flow.price.v0.enums.PriceAccuracy;
11233
11240
  readonly basis?: io.flow.common.v0.models.MoneyWithBase;
11234
11241
  }
11235
11242
 
@@ -11411,7 +11418,7 @@ declare namespace io.flow.inventory.v0.models {
11411
11418
 
11412
11419
  interface InventoryUnlimited {
11413
11420
  readonly discriminator: 'inventory_unlimited';
11414
- readonly placeholder: string;
11421
+ readonly placeholder?: string;
11415
11422
  }
11416
11423
 
11417
11424
  interface InventoryUpdate {
@@ -13157,7 +13164,6 @@ declare namespace io.flow.fulfillment.v0.enums {
13157
13164
  | 'ratecard_oversized_shipment_fee'
13158
13165
  | 'ratecard_rural_shipment_fee'
13159
13166
  | 'ratecard_emergency_situation_surcharge_fee'
13160
- | 'ratecard_peak_surcharge_fee'
13161
13167
  | 'center_commercial_invoice_fee'
13162
13168
  | 'center_inbound_carton_fee'
13163
13169
  | 'center_outbound_carton_fee';
@@ -13892,6 +13898,11 @@ declare namespace io.flow.checkout.protocol.v0.enums {
13892
13898
  | 'authorization_invalid_currency'
13893
13899
  | 'authorization_amount_exceeds_balance'
13894
13900
  | 'address_street1_required';
13901
+ type CheckoutCreateBySessionByCustomerTokenErrorCode =
13902
+ | 'session_not_found'
13903
+ | 'session_experience_required'
13904
+ | 'customer_token_invalid'
13905
+ | 'country_not_supported';
13895
13906
  type CheckoutCreateBySessionByOrderErrorCode =
13896
13907
  | 'session_not_found'
13897
13908
  | 'session_experience_required'
@@ -14149,6 +14160,27 @@ declare namespace io.flow.checkout.protocol.v0.models {
14149
14160
  readonly message: string;
14150
14161
  }
14151
14162
 
14163
+ interface CheckoutCreateBySessionByCustomerTokenError {
14164
+ readonly code: io.flow.checkout.protocol.v0.enums.CheckoutCreateBySessionByCustomerTokenErrorCode;
14165
+ readonly message: string;
14166
+ }
14167
+
14168
+ interface CheckoutCreateBySessionByCustomerTokenRequestForm {
14169
+ readonly discriminator: 'checkout_create_by_session_by_customer_token_request_form';
14170
+ readonly session_id: string;
14171
+ readonly customer_token: string;
14172
+ }
14173
+
14174
+ interface CheckoutCreateBySessionByCustomerTokenResponseError {
14175
+ readonly discriminator: 'checkout_create_by_session_by_customer_token_response_error';
14176
+ readonly errors: io.flow.checkout.protocol.v0.models.CheckoutCreateBySessionByCustomerTokenError[];
14177
+ }
14178
+
14179
+ interface CheckoutCreateBySessionByCustomerTokenResponseSuccess {
14180
+ readonly discriminator: 'checkout_create_by_session_by_customer_token_response_success';
14181
+ readonly checkout: io.flow.checkout.backend.v0.models.V2Checkout;
14182
+ }
14183
+
14152
14184
  interface CheckoutCreateBySessionByOrderError {
14153
14185
  readonly code: io.flow.checkout.protocol.v0.enums.CheckoutCreateBySessionByOrderErrorCode;
14154
14186
  readonly message: string;
@@ -15167,6 +15199,9 @@ declare namespace io.flow.checkout.protocol.v0.unions {
15167
15199
  type CheckoutCreateAuthorizationDetailsResponse =
15168
15200
  | io.flow.checkout.protocol.v0.models.CheckoutCreateAuthorizationDetailsResponseError
15169
15201
  | io.flow.checkout.protocol.v0.models.CheckoutCreateAuthorizationDetailsResponseSuccess;
15202
+ type CheckoutCreateBySessionByCustomerTokenResponse =
15203
+ | io.flow.checkout.protocol.v0.models.CheckoutCreateBySessionByCustomerTokenResponseError
15204
+ | io.flow.checkout.protocol.v0.models.CheckoutCreateBySessionByCustomerTokenResponseSuccess;
15170
15205
  type CheckoutCreateBySessionByOrderResponse =
15171
15206
  | io.flow.checkout.protocol.v0.models.CheckoutCreateBySessionByOrderResponseError
15172
15207
  | io.flow.checkout.protocol.v0.models.CheckoutCreateBySessionByOrderResponseSuccess;
@@ -15227,6 +15262,7 @@ declare namespace io.flow.checkout.protocol.v0.unions {
15227
15262
  | io.flow.checkout.protocol.v0.models.CheckoutInputSetPaymentSource;
15228
15263
  type CheckoutRequestForm =
15229
15264
  | io.flow.checkout.protocol.v0.models.CheckoutCreateAuthorizationDetailsRequestForm
15265
+ | io.flow.checkout.protocol.v0.models.CheckoutCreateBySessionByCustomerTokenRequestForm
15230
15266
  | io.flow.checkout.protocol.v0.models.CheckoutCreateBySessionByOrderRequestForm
15231
15267
  | io.flow.checkout.protocol.v0.models.CheckoutCreateBySessionRequestForm
15232
15268
  | io.flow.checkout.protocol.v0.models.CheckoutFeaturesRequestForm
@@ -15234,6 +15270,8 @@ declare namespace io.flow.checkout.protocol.v0.unions {
15234
15270
  type CheckoutResponse =
15235
15271
  | io.flow.checkout.protocol.v0.models.CheckoutCreateAuthorizationDetailsResponseError
15236
15272
  | io.flow.checkout.protocol.v0.models.CheckoutCreateAuthorizationDetailsResponseSuccess
15273
+ | io.flow.checkout.protocol.v0.models.CheckoutCreateBySessionByCustomerTokenResponseError
15274
+ | io.flow.checkout.protocol.v0.models.CheckoutCreateBySessionByCustomerTokenResponseSuccess
15237
15275
  | io.flow.checkout.protocol.v0.models.CheckoutCreateBySessionByOrderResponseError
15238
15276
  | io.flow.checkout.protocol.v0.models.CheckoutCreateBySessionByOrderResponseSuccess
15239
15277
  | io.flow.checkout.protocol.v0.models.CheckoutCreateBySessionResponseError
@@ -16423,7 +16461,7 @@ declare namespace io.flow.payment.v0.models {
16423
16461
  readonly requested?: io.flow.common.v0.models.Money;
16424
16462
  readonly created_at: string;
16425
16463
  readonly attributes?: Record<string, string>;
16426
- readonly status: io.flow.payment.v0.enums.CaptureStatus;
16464
+ readonly status?: io.flow.payment.v0.enums.CaptureStatus;
16427
16465
  readonly base?: io.flow.common.v0.models.Money;
16428
16466
  }
16429
16467
 
@@ -16478,7 +16516,7 @@ declare namespace io.flow.payment.v0.models {
16478
16516
  readonly discriminator: 'card_authorization';
16479
16517
  readonly id: string;
16480
16518
  readonly key: string;
16481
- readonly merchant_of_record: io.flow.common.v0.enums.MerchantOfRecord;
16519
+ readonly merchant_of_record?: io.flow.common.v0.enums.MerchantOfRecord;
16482
16520
  readonly method?: io.flow.reference.v0.models.PaymentMethod;
16483
16521
  readonly card: io.flow.payment.v0.unions.ExpandableCard;
16484
16522
  readonly amount: number;
@@ -16708,7 +16746,7 @@ declare namespace io.flow.payment.v0.models {
16708
16746
  readonly id: string;
16709
16747
  readonly key: string;
16710
16748
  readonly method?: io.flow.reference.v0.models.PaymentMethod;
16711
- readonly merchant_of_record: io.flow.common.v0.enums.MerchantOfRecord;
16749
+ readonly merchant_of_record?: io.flow.common.v0.enums.MerchantOfRecord;
16712
16750
  readonly details?: io.flow.payment.v0.unions.OnlineAuthorizationDetails;
16713
16751
  readonly payment?: any /*object*/;
16714
16752
  readonly amount: number;
@@ -16858,7 +16896,7 @@ declare namespace io.flow.payment.v0.models {
16858
16896
  readonly captures: io.flow.payment.v0.models.RefundCaptureSummary[];
16859
16897
  readonly created_at: string;
16860
16898
  readonly attributes?: Record<string, string>;
16861
- readonly status: io.flow.payment.v0.enums.RefundStatus;
16899
+ readonly status?: io.flow.payment.v0.enums.RefundStatus;
16862
16900
  readonly base?: io.flow.common.v0.models.Money;
16863
16901
  }
16864
16902
 
@@ -16869,7 +16907,7 @@ declare namespace io.flow.payment.v0.models {
16869
16907
  readonly amount: number;
16870
16908
  readonly currency: string;
16871
16909
  readonly base: io.flow.common.v0.models.Money;
16872
- readonly status: io.flow.payment.v0.enums.RefundStatus;
16910
+ readonly status?: io.flow.payment.v0.enums.RefundStatus;
16873
16911
  }
16874
16912
 
16875
16913
  interface RefundCaptureSummary {
@@ -17718,7 +17756,7 @@ declare namespace io.flow.organization.v0.models {
17718
17756
  readonly organization: string;
17719
17757
  readonly email: string;
17720
17758
  readonly name?: io.flow.common.v0.models.Name;
17721
- readonly role: io.flow.common.v0.enums.Role;
17759
+ readonly role?: io.flow.common.v0.enums.Role;
17722
17760
  readonly roles?: io.flow.permission.v0.enums.FlowRole[];
17723
17761
  }
17724
17762
 
@@ -17740,13 +17778,13 @@ declare namespace io.flow.organization.v0.models {
17740
17778
  interface MembershipForm {
17741
17779
  readonly organization: string;
17742
17780
  readonly user: string;
17743
- readonly role: io.flow.common.v0.enums.Role;
17744
- readonly roles: io.flow.permission.v0.enums.FlowRole[];
17781
+ readonly role?: io.flow.common.v0.enums.Role;
17782
+ readonly roles?: io.flow.permission.v0.enums.FlowRole[];
17745
17783
  }
17746
17784
 
17747
17785
  interface MembershipPutForm {
17748
- readonly role: io.flow.common.v0.enums.Role;
17749
- readonly roles: io.flow.permission.v0.enums.FlowRole[];
17786
+ readonly role?: io.flow.common.v0.enums.Role;
17787
+ readonly roles?: io.flow.permission.v0.enums.FlowRole[];
17750
17788
  }
17751
17789
 
17752
17790
  interface MembershipVersion {
@@ -17785,7 +17823,7 @@ declare namespace io.flow.organization.v0.models {
17785
17823
  readonly environment: io.flow.common.v0.enums.Environment;
17786
17824
  readonly parent_id?: string;
17787
17825
  readonly defaults?: io.flow.common.v0.models.OrganizationDefaults;
17788
- readonly status: io.flow.common.v0.enums.OrganizationStatus;
17826
+ readonly status?: io.flow.common.v0.enums.OrganizationStatus;
17789
17827
  }
17790
17828
 
17791
17829
  interface OrganizationPutForm {
@@ -17793,7 +17831,7 @@ declare namespace io.flow.organization.v0.models {
17793
17831
  readonly environment?: io.flow.common.v0.enums.Environment;
17794
17832
  readonly parent_id?: string;
17795
17833
  readonly defaults?: io.flow.common.v0.models.OrganizationDefaults;
17796
- readonly status: io.flow.common.v0.enums.OrganizationStatus;
17834
+ readonly status?: io.flow.common.v0.enums.OrganizationStatus;
17797
17835
  }
17798
17836
 
17799
17837
  interface OrganizationShortId {
@@ -18557,6 +18595,11 @@ declare namespace io.flow.internal.v0.enums {
18557
18595
  | 'authorization_invalid_currency'
18558
18596
  | 'authorization_amount_exceeds_balance'
18559
18597
  | 'address_street1_required';
18598
+ type CheckoutCreateBySessionByCustomerTokenErrorCode =
18599
+ | 'session_not_found'
18600
+ | 'session_experience_required'
18601
+ | 'customer_token_invalid'
18602
+ | 'country_not_supported';
18560
18603
  type CheckoutCreateBySessionByOrderErrorCode =
18561
18604
  | 'session_not_found'
18562
18605
  | 'session_experience_required'
@@ -18955,7 +18998,7 @@ declare namespace io.flow.internal.v0.enums {
18955
18998
  | 'paypal_refund_deleted'
18956
18999
  | 'paypal_refund_upserted'
18957
19000
  | 'consumed_localized_item'
18958
- | 'created_catalog_item'
19001
+ | 'upserted_catalog_item'
18959
19002
  | 'published_localized_item'
18960
19003
  | 'order_rates_published_v3'
18961
19004
  | 'ratecard_dimension_estimate_upserted'
@@ -20681,6 +20724,27 @@ declare namespace io.flow.internal.v0.models {
20681
20724
  readonly message: string;
20682
20725
  }
20683
20726
 
20727
+ interface CheckoutCreateBySessionByCustomerTokenError {
20728
+ readonly code: io.flow.internal.v0.enums.CheckoutCreateBySessionByCustomerTokenErrorCode;
20729
+ readonly message: string;
20730
+ }
20731
+
20732
+ interface CheckoutCreateBySessionByCustomerTokenRequestForm {
20733
+ readonly discriminator: 'checkout_create_by_session_by_customer_token_request_form';
20734
+ readonly session_id: string;
20735
+ readonly customer_token: string;
20736
+ }
20737
+
20738
+ interface CheckoutCreateBySessionByCustomerTokenResponseError {
20739
+ readonly discriminator: 'checkout_create_by_session_by_customer_token_response_error';
20740
+ readonly errors: io.flow.internal.v0.models.CheckoutCreateBySessionByCustomerTokenError[];
20741
+ }
20742
+
20743
+ interface CheckoutCreateBySessionByCustomerTokenResponseSuccess {
20744
+ readonly discriminator: 'checkout_create_by_session_by_customer_token_response_success';
20745
+ readonly checkout: io.flow.checkout.backend.v0.models.V2Checkout;
20746
+ }
20747
+
20684
20748
  interface CheckoutCreateBySessionByOrderError {
20685
20749
  readonly code: io.flow.internal.v0.enums.CheckoutCreateBySessionByOrderErrorCode;
20686
20750
  readonly message: string;
@@ -22458,17 +22522,6 @@ declare namespace io.flow.internal.v0.models {
22458
22522
  readonly id: string;
22459
22523
  }
22460
22524
 
22461
- interface CreatedCatalogItem {
22462
- readonly discriminator: 'created_catalog_item';
22463
- readonly event_id: string;
22464
- readonly timestamp: string;
22465
- readonly organization: string;
22466
- readonly published_from: io.flow.internal.v0.enums.ServiceName;
22467
- readonly status: io.flow.internal.v0.enums.PricingIndicatorStatus;
22468
- readonly idempotency_key: string;
22469
- readonly details: io.flow.internal.v0.models.Details;
22470
- }
22471
-
22472
22525
  interface CryptoAccount {
22473
22526
  readonly discriminator: 'crypto_account';
22474
22527
  readonly id: string;
@@ -22726,8 +22779,8 @@ declare namespace io.flow.internal.v0.models {
22726
22779
  interface Details {
22727
22780
  readonly catalog_item: io.flow.common.v0.models.CatalogItemSummary;
22728
22781
  readonly experience?: io.flow.common.v0.models.ExperienceSummary;
22729
- readonly created_at: string;
22730
- readonly time_lapsed_since_upserted: number;
22782
+ readonly upserted_at: string;
22783
+ readonly time_elapsed_since_upserted: number;
22731
22784
  }
22732
22785
 
22733
22786
  interface Dhl {
@@ -26996,8 +27049,8 @@ declare namespace io.flow.internal.v0.models {
26996
27049
  }
26997
27050
 
26998
27051
  interface ShippingLane {
26999
- readonly ship_from_country: string;
27000
- readonly destination_countries: string[];
27052
+ readonly origin: string;
27053
+ readonly destination: string;
27001
27054
  }
27002
27055
 
27003
27056
  interface Shop {
@@ -27019,23 +27072,6 @@ declare namespace io.flow.internal.v0.models {
27019
27072
  readonly shop: io.flow.internal.v0.models.Shop;
27020
27073
  }
27021
27074
 
27022
- interface ShopifyXborderShop {
27023
- readonly id: string;
27024
- readonly organization_id: string;
27025
- readonly shop: string;
27026
- readonly created_at: string;
27027
- readonly api_key_masked: string;
27028
- readonly api_password_masked: string;
27029
- readonly shared_secret_masked: string;
27030
- }
27031
-
27032
- interface ShopifyXborderShopForm {
27033
- readonly shop: string;
27034
- readonly api_key: string;
27035
- readonly api_password: string;
27036
- readonly shared_secret: string;
27037
- }
27038
-
27039
27075
  interface ShopifyCheckInventoryError {
27040
27076
  readonly code: io.flow.internal.v0.enums.ShopifyCheckInventoryErrorCode;
27041
27077
  readonly messages: string[];
@@ -27311,6 +27347,23 @@ declare namespace io.flow.internal.v0.models {
27311
27347
  readonly topic: io.flow.shopify.external.v0.enums.Topic;
27312
27348
  }
27313
27349
 
27350
+ interface ShopifyXborderShop {
27351
+ readonly id: string;
27352
+ readonly organization_id: string;
27353
+ readonly shop: string;
27354
+ readonly created_at: string;
27355
+ readonly api_key_masked: string;
27356
+ readonly api_password_masked: string;
27357
+ readonly shared_secret_masked: string;
27358
+ }
27359
+
27360
+ interface ShopifyXborderShopForm {
27361
+ readonly shop: string;
27362
+ readonly api_key: string;
27363
+ readonly api_password: string;
27364
+ readonly shared_secret: string;
27365
+ }
27366
+
27314
27367
  interface SimplifiedItemLabel {
27315
27368
  readonly discriminator: 'item';
27316
27369
  readonly item_type: string;
@@ -28034,6 +28087,17 @@ declare namespace io.flow.internal.v0.models {
28034
28087
  readonly shipper_account?: io.flow.internal.v0.models.ShipperAccountInfoForm;
28035
28088
  }
28036
28089
 
28090
+ interface UpsertedCatalogItem {
28091
+ readonly discriminator: 'upserted_catalog_item';
28092
+ readonly event_id: string;
28093
+ readonly timestamp: string;
28094
+ readonly organization: string;
28095
+ readonly published_from: io.flow.internal.v0.enums.ServiceName;
28096
+ readonly status: io.flow.internal.v0.enums.PricingIndicatorStatus;
28097
+ readonly idempotency_key: string;
28098
+ readonly details: io.flow.internal.v0.models.Details;
28099
+ }
28100
+
28037
28101
  interface UserDeletedV2 {
28038
28102
  readonly discriminator: 'user_deleted_v2';
28039
28103
  readonly event_id: string;
@@ -28190,6 +28254,9 @@ declare namespace io.flow.internal.v0.unions {
28190
28254
  type CheckoutCreateAuthorizationDetailsResponse =
28191
28255
  | io.flow.internal.v0.models.CheckoutCreateAuthorizationDetailsResponseError
28192
28256
  | io.flow.internal.v0.models.CheckoutCreateAuthorizationDetailsResponseSuccess;
28257
+ type CheckoutCreateBySessionByCustomerTokenResponse =
28258
+ | io.flow.internal.v0.models.CheckoutCreateBySessionByCustomerTokenResponseError
28259
+ | io.flow.internal.v0.models.CheckoutCreateBySessionByCustomerTokenResponseSuccess;
28193
28260
  type CheckoutCreateBySessionByOrderResponse =
28194
28261
  | io.flow.internal.v0.models.CheckoutCreateBySessionByOrderResponseError
28195
28262
  | io.flow.internal.v0.models.CheckoutCreateBySessionByOrderResponseSuccess;
@@ -28290,6 +28357,7 @@ declare namespace io.flow.internal.v0.unions {
28290
28357
  | io.flow.internal.v0.models.CheckoutPriceEstimated;
28291
28358
  type CheckoutRequestForm =
28292
28359
  | io.flow.internal.v0.models.CheckoutCreateAuthorizationDetailsRequestForm
28360
+ | io.flow.internal.v0.models.CheckoutCreateBySessionByCustomerTokenRequestForm
28293
28361
  | io.flow.internal.v0.models.CheckoutCreateBySessionByOrderRequestForm
28294
28362
  | io.flow.internal.v0.models.CheckoutCreateBySessionRequestForm
28295
28363
  | io.flow.internal.v0.models.CheckoutFeaturesRequestForm
@@ -28297,6 +28365,8 @@ declare namespace io.flow.internal.v0.unions {
28297
28365
  type CheckoutResponse =
28298
28366
  | io.flow.internal.v0.models.CheckoutCreateAuthorizationDetailsResponseError
28299
28367
  | io.flow.internal.v0.models.CheckoutCreateAuthorizationDetailsResponseSuccess
28368
+ | io.flow.internal.v0.models.CheckoutCreateBySessionByCustomerTokenResponseError
28369
+ | io.flow.internal.v0.models.CheckoutCreateBySessionByCustomerTokenResponseSuccess
28300
28370
  | io.flow.internal.v0.models.CheckoutCreateBySessionByOrderResponseError
28301
28371
  | io.flow.internal.v0.models.CheckoutCreateBySessionByOrderResponseSuccess
28302
28372
  | io.flow.internal.v0.models.CheckoutCreateBySessionResponseError
@@ -28624,7 +28694,7 @@ declare namespace io.flow.internal.v0.unions {
28624
28694
  | io.flow.internal.v0.models.PaypalRefundDeleted
28625
28695
  | io.flow.internal.v0.models.PaypalRefundUpserted
28626
28696
  | io.flow.internal.v0.models.ConsumedLocalizedItem
28627
- | io.flow.internal.v0.models.CreatedCatalogItem
28697
+ | io.flow.internal.v0.models.UpsertedCatalogItem
28628
28698
  | io.flow.internal.v0.models.PublishedLocalizedItem
28629
28699
  | io.flow.internal.v0.models.OrderRatesPublishedV3
28630
28700
  | io.flow.internal.v0.models.RatecardDimensionEstimateUpserted
@@ -29133,6 +29203,12 @@ export type CheckoutCreateAuthorizationDetailsResponseError = io.flow.internal.v
29133
29203
  export type CheckoutCreateAuthorizationDetailsResponseSuccess = io.flow.internal.v0.models.CheckoutCreateAuthorizationDetailsResponseSuccess;
29134
29204
  export type CheckoutCreateAuthorizationError = io.flow.internal.v0.models.CheckoutCreateAuthorizationError;
29135
29205
  export type CheckoutCreateAuthorizationErrorCode = io.flow.internal.v0.enums.CheckoutCreateAuthorizationErrorCode;
29206
+ export type CheckoutCreateBySessionByCustomerTokenError = io.flow.internal.v0.models.CheckoutCreateBySessionByCustomerTokenError;
29207
+ export type CheckoutCreateBySessionByCustomerTokenErrorCode = io.flow.internal.v0.enums.CheckoutCreateBySessionByCustomerTokenErrorCode;
29208
+ export type CheckoutCreateBySessionByCustomerTokenRequestForm = io.flow.internal.v0.models.CheckoutCreateBySessionByCustomerTokenRequestForm;
29209
+ export type CheckoutCreateBySessionByCustomerTokenResponse = io.flow.internal.v0.unions.CheckoutCreateBySessionByCustomerTokenResponse;
29210
+ export type CheckoutCreateBySessionByCustomerTokenResponseError = io.flow.internal.v0.models.CheckoutCreateBySessionByCustomerTokenResponseError;
29211
+ export type CheckoutCreateBySessionByCustomerTokenResponseSuccess = io.flow.internal.v0.models.CheckoutCreateBySessionByCustomerTokenResponseSuccess;
29136
29212
  export type CheckoutCreateBySessionByOrderError = io.flow.internal.v0.models.CheckoutCreateBySessionByOrderError;
29137
29213
  export type CheckoutCreateBySessionByOrderErrorCode = io.flow.internal.v0.enums.CheckoutCreateBySessionByOrderErrorCode;
29138
29214
  export type CheckoutCreateBySessionByOrderRequestForm = io.flow.internal.v0.models.CheckoutCreateBySessionByOrderRequestForm;
@@ -29573,7 +29649,6 @@ export type CountryPickerData = io.flow.internal.v0.models.CountryPickerData;
29573
29649
  export type CountryPickerDeliveryWindow = io.flow.internal.v0.models.CountryPickerDeliveryWindow;
29574
29650
  export type CountryPickerExperienceData = io.flow.internal.v0.models.CountryPickerExperienceData;
29575
29651
  export type CountryPickerPaymentMethod = io.flow.internal.v0.models.CountryPickerPaymentMethod;
29576
- export type CreatedCatalogItem = io.flow.internal.v0.models.CreatedCatalogItem;
29577
29652
  export type CrossdockTrackingStatus = io.flow.internal.v0.enums.CrossdockTrackingStatus;
29578
29653
  export type CryptoAccount = io.flow.internal.v0.models.CryptoAccount;
29579
29654
  export type CryptoAccountModificationForm = io.flow.internal.v0.models.CryptoAccountModificationForm;
@@ -30273,8 +30348,6 @@ export type ShippingLane = io.flow.internal.v0.models.ShippingLane;
30273
30348
  export type Shop = io.flow.internal.v0.models.Shop;
30274
30349
  export type ShopForm = io.flow.internal.v0.models.ShopForm;
30275
30350
  export type ShopVersion = io.flow.internal.v0.models.ShopVersion;
30276
- export type ShopifyXborderShop = io.flow.internal.v0.models.ShopifyXborderShop;
30277
- export type ShopifyXborderShopForm = io.flow.internal.v0.models.ShopifyXborderShopForm;
30278
30351
  export type ShopifyCheckInventoryError = io.flow.internal.v0.models.ShopifyCheckInventoryError;
30279
30352
  export type ShopifyCheckInventoryErrorCode = io.flow.internal.v0.enums.ShopifyCheckInventoryErrorCode;
30280
30353
  export type ShopifyCodeForm = io.flow.internal.v0.models.ShopifyCodeForm;
@@ -30329,6 +30402,8 @@ export type ShopifyShopUpserted = io.flow.internal.v0.models.ShopifyShopUpserted
30329
30402
  export type ShopifyWebhook = io.flow.internal.v0.models.ShopifyWebhook;
30330
30403
  export type ShopifyWebhookEvent = io.flow.internal.v0.models.ShopifyWebhookEvent;
30331
30404
  export type ShopifyWebhookForm = io.flow.internal.v0.models.ShopifyWebhookForm;
30405
+ export type ShopifyXborderShop = io.flow.internal.v0.models.ShopifyXborderShop;
30406
+ export type ShopifyXborderShopForm = io.flow.internal.v0.models.ShopifyXborderShopForm;
30332
30407
  export type SignificanceAction = io.flow.internal.v0.enums.SignificanceAction;
30333
30408
  export type SimpleRoundingStrategy = io.flow.internal.v0.enums.SimpleRoundingStrategy;
30334
30409
  export type SimplifiedClassificationTaxonomy = io.flow.internal.v0.unions.SimplifiedClassificationTaxonomy;
@@ -30443,6 +30518,7 @@ export type UpsLicense = io.flow.internal.v0.models.UpsLicense;
30443
30518
  export type UpsLicenseForm = io.flow.internal.v0.models.UpsLicenseForm;
30444
30519
  export type UpsRegistration = io.flow.internal.v0.models.UpsRegistration;
30445
30520
  export type UpsRegistrationForm = io.flow.internal.v0.models.UpsRegistrationForm;
30521
+ export type UpsertedCatalogItem = io.flow.internal.v0.models.UpsertedCatalogItem;
30446
30522
  export type UserDeletedV2 = io.flow.internal.v0.models.UserDeletedV2;
30447
30523
  export type UserOneTimeToken = io.flow.internal.v0.models.UserOneTimeToken;
30448
30524
  export type UserStatusForm = io.flow.internal.v0.models.UserStatusForm;