@flowio/types 11.19.10 → 11.19.11

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.
@@ -434,6 +434,10 @@ declare namespace io.flow.common.v0.models {
434
434
  readonly attributes: Record<string, string>;
435
435
  }
436
436
 
437
+ interface ChannelReference {
438
+ readonly id: string;
439
+ }
440
+
437
441
  interface CheckoutReference {
438
442
  readonly id: string;
439
443
  }
@@ -851,6 +855,7 @@ declare namespace io.flow.experience.v0.enums {
851
855
  | 'card'
852
856
  | 'online'
853
857
  | 'credit'
858
+ | 'subsidized'
854
859
  | 'installment_plan'
855
860
  | 'cash_on_delivery';
856
861
  type OrderRefundSummaryIncludes = 'duties' | 'vat' | 'shipping';
@@ -1968,6 +1973,11 @@ declare namespace io.flow.ratecard.v0.models {
1968
1973
  readonly width: io.flow.common.v0.models.Measurement;
1969
1974
  }
1970
1975
 
1976
+ interface FeeWeight {
1977
+ readonly weight: number;
1978
+ readonly unit: io.flow.common.v0.enums.UnitOfMeasurement;
1979
+ }
1980
+
1971
1981
  interface FuelSurchargeRatecardFee {
1972
1982
  readonly discriminator: 'fuel_surcharge_ratecard_fee';
1973
1983
  readonly amount: io.flow.common.v0.models.Money;
@@ -2002,6 +2012,15 @@ declare namespace io.flow.ratecard.v0.models {
2002
2012
  readonly amount?: number;
2003
2013
  }
2004
2014
 
2015
+ interface PeakSurchargeByWeightServiceFee {
2016
+ readonly discriminator: 'peak_surcharge_by_weight_service_fee';
2017
+ readonly amount: io.flow.common.v0.models.Money;
2018
+ readonly weight: io.flow.ratecard.v0.models.FeeWeight;
2019
+ readonly regions?: string[];
2020
+ readonly starts_at?: string;
2021
+ readonly ends_at?: string;
2022
+ }
2023
+
2005
2024
  interface PeakSurchargeRatecardFee {
2006
2025
  readonly discriminator: 'peak_surcharge_ratecard_fee';
2007
2026
  readonly amount: io.flow.common.v0.models.Money;
@@ -2248,7 +2267,8 @@ declare namespace io.flow.ratecard.v0.unions {
2248
2267
  | io.flow.ratecard.v0.models.FuelSurchargeServiceFee
2249
2268
  | io.flow.ratecard.v0.models.RemoteAreaServiceFee
2250
2269
  | io.flow.ratecard.v0.models.EmergencySituationSurchargeServiceFee
2251
- | io.flow.ratecard.v0.models.PeakSurchargeServiceFee;
2270
+ | io.flow.ratecard.v0.models.PeakSurchargeServiceFee
2271
+ | io.flow.ratecard.v0.models.PeakSurchargeByWeightServiceFee;
2252
2272
  }
2253
2273
 
2254
2274
  declare namespace io.flow.error.v0.enums {
@@ -4034,6 +4054,7 @@ declare namespace io.flow.payment.v0.models {
4034
4054
  }
4035
4055
 
4036
4056
  interface AuthorizationOrderReference {
4057
+ readonly discriminator: 'flow_order';
4037
4058
  readonly number: string;
4038
4059
  }
4039
4060
 
@@ -4195,6 +4216,7 @@ declare namespace io.flow.payment.v0.models {
4195
4216
  readonly destination?: io.flow.common.v0.models.Address;
4196
4217
  readonly billing_address?: io.flow.common.v0.models.BillingAddress;
4197
4218
  readonly order?: io.flow.payment.v0.models.AuthorizationOrderReference;
4219
+ readonly payment_order_reference?: io.flow.payment.v0.unions.PaymentOrderReference;
4198
4220
  readonly ip?: string;
4199
4221
  readonly result: io.flow.payment.v0.models.AuthorizationResult;
4200
4222
  readonly created_at: string;
@@ -4425,6 +4447,7 @@ declare namespace io.flow.payment.v0.models {
4425
4447
  readonly destination?: io.flow.common.v0.models.Address;
4426
4448
  readonly billing_address?: io.flow.common.v0.models.BillingAddress;
4427
4449
  readonly order?: io.flow.payment.v0.models.AuthorizationOrderReference;
4450
+ readonly payment_order_reference?: io.flow.payment.v0.unions.PaymentOrderReference;
4428
4451
  readonly ip?: string;
4429
4452
  readonly result: io.flow.payment.v0.models.AuthorizationResult;
4430
4453
  readonly created_at: string;
@@ -4454,6 +4477,11 @@ declare namespace io.flow.payment.v0.models {
4454
4477
  readonly codes: io.flow.payment.v0.enums.PaymentErrorCode[];
4455
4478
  }
4456
4479
 
4480
+ interface PaymentPaymentRequestReference {
4481
+ readonly discriminator: 'payment_request';
4482
+ readonly payment_request_id: string;
4483
+ }
4484
+
4457
4485
  interface PaymentPaypal {
4458
4486
  readonly discriminator: 'payment_paypal';
4459
4487
  readonly id: string;
@@ -4839,6 +4867,9 @@ declare namespace io.flow.payment.v0.unions {
4839
4867
  | io.flow.payment.v0.models.PaymentPaypal
4840
4868
  | io.flow.payment.v0.models.PaymentCryptopay;
4841
4869
  type PaymentForm = io.flow.payment.v0.models.MerchantOfRecordPaymentForm;
4870
+ type PaymentOrderReference =
4871
+ | io.flow.payment.v0.models.AuthorizationOrderReference
4872
+ | io.flow.payment.v0.models.PaymentPaymentRequestReference;
4842
4873
  type PaymentSource = io.flow.payment.v0.models.CardPaymentSource;
4843
4874
  type PaymentSourceForm = io.flow.payment.v0.models.CardPaymentSourceForm;
4844
4875
  type ThreedsChallengeAction = io.flow.payment.v0.models.ThreedsTwoChallengeRequest;
@@ -5970,6 +6001,16 @@ declare namespace io.flow.label.v0.models {
5970
6001
  readonly items: io.flow.common.v0.models.LineItemForm[];
5971
6002
  readonly center_key?: string;
5972
6003
  }
6004
+
6005
+ interface SummaryShippingNotificationForm {
6006
+ readonly discriminator: 'summary_shipping_notification_form';
6007
+ readonly order_number: string;
6008
+ readonly items: io.flow.common.v0.models.LineItemForm[];
6009
+ readonly service: string;
6010
+ readonly carrier_tracking_number: string;
6011
+ readonly key?: string;
6012
+ readonly shipment_recipient?: io.flow.label.v0.enums.ShipmentRecipient;
6013
+ }
5973
6014
  }
5974
6015
 
5975
6016
  declare namespace io.flow.label.v0.unions {
@@ -5978,7 +6019,8 @@ declare namespace io.flow.label.v0.unions {
5978
6019
  | io.flow.label.v0.models.SummaryShippingLabelForm;
5979
6020
  type ShippingNotificationForm =
5980
6021
  | io.flow.label.v0.models.DetailedShippingNotificationForm
5981
- | io.flow.label.v0.models.SinglePackageShippingNotificationForm;
6022
+ | io.flow.label.v0.models.SinglePackageShippingNotificationForm
6023
+ | io.flow.label.v0.models.SummaryShippingNotificationForm;
5982
6024
  }
5983
6025
 
5984
6026
  declare namespace io.flow.external.paypal.v1.enums {
@@ -6976,7 +7018,7 @@ declare namespace io.flow.brickftp.v0.models {
6976
7018
  readonly id: number;
6977
7019
  readonly path: string;
6978
7020
  readonly behavior: io.flow.brickftp.v0.enums.BehaviorType;
6979
- readonly value: any /*object*/;
7021
+ readonly value: string[];
6980
7022
  }
6981
7023
 
6982
7024
  interface BehaviorForm {
@@ -7215,11 +7257,6 @@ declare namespace io.flow.adyen.v0.models {
7215
7257
  readonly currency: string;
7216
7258
  }
7217
7259
 
7218
- interface Applepay {
7219
- readonly type: 'applepay';
7220
- readonly applePayToken: string;
7221
- }
7222
-
7223
7260
  interface Authentication {
7224
7261
  readonly 'threeds2.fingerprintToken'?: string;
7225
7262
  readonly 'threeds2.challengeToken'?: string;
@@ -7403,14 +7440,6 @@ declare namespace io.flow.adyen.v0.models {
7403
7440
  readonly paymentData?: string;
7404
7441
  }
7405
7442
 
7406
- interface PaymentDetailsV663Ds2Challenge {
7407
- readonly 'threeds2.challengeResult': string;
7408
- }
7409
-
7410
- interface PaymentDetailsV663Ds2Fingerprint {
7411
- readonly 'threeds2.fingerprint': string;
7412
- }
7413
-
7414
7443
  interface PaymentRequest {
7415
7444
  readonly reference: string;
7416
7445
  readonly merchantAccount: string;
@@ -7432,7 +7461,7 @@ declare namespace io.flow.adyen.v0.models {
7432
7461
  readonly browserInfo?: io.flow.adyen.v0.unions.BrowserInfo;
7433
7462
  readonly origin?: string;
7434
7463
  readonly channel?: io.flow.adyen.v0.enums.Channel;
7435
- readonly returnUrl?: string;
7464
+ readonly returnURL?: string;
7436
7465
  }
7437
7466
 
7438
7467
  interface PaymentResponse {
@@ -7488,15 +7517,6 @@ declare namespace io.flow.adyen.v0.models {
7488
7517
  readonly cvc?: string;
7489
7518
  }
7490
7519
 
7491
- interface SdkV3OnCompleteData {
7492
- readonly details: any /*object*/;
7493
- readonly payment_data?: string;
7494
- }
7495
-
7496
- interface SdkV3OnCompleteResult {
7497
- readonly data: io.flow.adyen.v0.models.SdkV3OnCompleteData;
7498
- }
7499
-
7500
7520
  interface ThreeDSecureData {
7501
7521
  readonly authenticationResponse?: string;
7502
7522
  readonly cavv?: string;
@@ -7528,9 +7548,7 @@ declare namespace io.flow.adyen.v0.unions {
7528
7548
  type BrowserInfo =
7529
7549
  | io.flow.adyen.v0.models.BrowserInfo3Ds1
7530
7550
  | io.flow.adyen.v0.models.BrowserInfo3Ds2;
7531
- type PaymentMethodData =
7532
- | io.flow.adyen.v0.models.Scheme
7533
- | io.flow.adyen.v0.models.Applepay;
7551
+ type PaymentMethodData = io.flow.adyen.v0.models.Scheme;
7534
7552
  }
7535
7553
 
7536
7554
  declare namespace io.flow.order.management.v0.enums {
@@ -8797,6 +8815,17 @@ declare namespace io.flow.svb.v0.models {
8797
8815
  }
8798
8816
 
8799
8817
  declare namespace io.flow.payment.gateway.v0.enums {
8818
+ type PaymentActionType =
8819
+ | 'redirect'
8820
+ | 'use_sdk_klarna_v1'
8821
+ | 'use_sdk_applepay_js'
8822
+ | 'use_sdk_googlepay'
8823
+ | 'use_sdk_paypal'
8824
+ | 'use_sdk_stripe_v3'
8825
+ | 'use_sdk_adyen_v3'
8826
+ | 'use_sdk_adyen_v4'
8827
+ | 'execute_script'
8828
+ | 'display_inline_window';
8800
8829
  type PaymentFailureCode =
8801
8830
  | 'action_expired'
8802
8831
  | 'action_cancelled'
@@ -8825,33 +8854,9 @@ declare namespace io.flow.payment.gateway.v0.enums {
8825
8854
  | 'applepay'
8826
8855
  | 'ideal'
8827
8856
  | 'afterpay';
8828
- type SupportedActionType =
8829
- | 'redirect'
8830
- | 'use_sdk_klarna_v1'
8831
- | 'use_sdk_applepay_js'
8832
- | 'use_sdk_googlepay'
8833
- | 'use_sdk_paypal'
8834
- | 'use_sdk_stripe_v3'
8835
- | 'use_sdk_adyen_v3'
8836
- | 'use_sdk_adyen_v4'
8837
- | 'execute_script'
8838
- | 'display_inline_window';
8839
8857
  }
8840
8858
 
8841
8859
  declare namespace io.flow.payment.gateway.v0.models {
8842
- interface ActionAddPaymentMethod {
8843
- readonly type: 'add_payment_method';
8844
- readonly expires_at?: string;
8845
- readonly available_payment_methods: io.flow.payment.gateway.v0.models.PaymentPaymentMethod[];
8846
- }
8847
-
8848
- interface ActionCapture {
8849
- readonly type: 'capture';
8850
- readonly expires_at?: string;
8851
- readonly amount_awaiting_capture: number;
8852
- readonly currency: string;
8853
- }
8854
-
8855
8860
  interface ActionDisplayInlineWindow {
8856
8861
  readonly type: 'display_inline_window';
8857
8862
  readonly expires_at?: string;
@@ -8898,13 +8903,13 @@ declare namespace io.flow.payment.gateway.v0.models {
8898
8903
  readonly type: 'use_sdk_applepay_js_create_session';
8899
8904
  readonly expires_at?: string;
8900
8905
  readonly merchant_identifier: string;
8901
- readonly payment_data_request: any /*object*/;
8906
+ readonly payment_data_request: io.flow.apple.pay.v0.models.ApplePayPaymentInfo;
8902
8907
  }
8903
8908
 
8904
8909
  interface ActionUseSdkGooglepay {
8905
8910
  readonly type: 'use_sdk_googlepay';
8906
8911
  readonly expires_at?: string;
8907
- readonly payment_data_request: any /*object*/;
8912
+ readonly payment_data_request: io.flow.google.pay.v0.models.PaymentDataRequest;
8908
8913
  }
8909
8914
 
8910
8915
  interface ActionUseSdkKlarnaV1 {
@@ -8954,19 +8959,23 @@ declare namespace io.flow.payment.gateway.v0.models {
8954
8959
 
8955
8960
  interface BrowserDetails {
8956
8961
  readonly type: 'browser';
8957
- readonly origin?: string;
8958
- readonly language?: string;
8959
- readonly java_enabled?: boolean;
8960
- readonly color_depth?: number;
8961
- readonly screen_height?: number;
8962
- readonly screen_width?: number;
8963
- readonly time_zone_offset?: number;
8962
+ readonly origin: string;
8963
+ readonly language: string;
8964
+ readonly java_enabled: boolean;
8965
+ readonly color_depth: number;
8966
+ readonly screen_height: number;
8967
+ readonly screen_width: number;
8968
+ readonly time_zone_offset: number;
8964
8969
  readonly user_agent?: string;
8965
8970
  readonly accept?: string;
8966
8971
  }
8967
8972
 
8968
8973
  interface OrderDetails {
8969
8974
  readonly line_items: io.flow.payment.gateway.v0.models.PaymentOrderDetailsLineItem[];
8975
+ readonly shipping?: io.flow.payment.gateway.v0.models.Shipping;
8976
+ readonly discounts?: io.flow.payment.gateway.v0.models.PaymentDiscount[];
8977
+ readonly tax?: io.flow.payment.gateway.v0.models.PaymentTax;
8978
+ readonly duty?: io.flow.payment.gateway.v0.models.PaymentDuty;
8970
8979
  }
8971
8980
 
8972
8981
  interface OrderInformationDetails {
@@ -9024,18 +9033,57 @@ declare namespace io.flow.payment.gateway.v0.models {
9024
9033
  readonly reason?: io.flow.payment.v0.enums.CaptureDeclineCode;
9025
9034
  }
9026
9035
 
9036
+ interface PaymentDiscount {
9037
+ readonly amount: number;
9038
+ readonly name?: string;
9039
+ readonly code?: string;
9040
+ }
9041
+
9042
+ interface PaymentDuty {
9043
+ readonly amount: number;
9044
+ readonly name?: string;
9045
+ }
9046
+
9027
9047
  interface PaymentFailure {
9028
9048
  readonly authorization_id?: string;
9029
9049
  readonly failure_code: io.flow.payment.gateway.v0.enums.PaymentFailureCode;
9030
9050
  readonly failure_message: string;
9031
9051
  }
9032
9052
 
9053
+ interface PaymentInformation {
9054
+ readonly amount_refundable?: number;
9055
+ readonly amount_refunded?: number;
9056
+ readonly refundable_before?: string;
9057
+ readonly amount_capturable?: number;
9058
+ readonly amount_captured?: number;
9059
+ readonly capturable_before?: string;
9060
+ readonly authorizations: io.flow.payment.gateway.v0.models.PaymentAuthorization[];
9061
+ }
9062
+
9033
9063
  interface PaymentMethodBrand {
9034
9064
  readonly id: string;
9035
9065
  readonly name: string;
9036
9066
  readonly images: io.flow.reference.v0.models.PaymentMethodImages;
9037
9067
  }
9038
9068
 
9069
+ interface PaymentMethodCardNumberCipher {
9070
+ readonly type: 'cipher';
9071
+ readonly cipher: string;
9072
+ }
9073
+
9074
+ interface PaymentMethodCardNumberCleartext {
9075
+ readonly type: 'cleartext';
9076
+ readonly number: string;
9077
+ }
9078
+
9079
+ interface PaymentMethodCardPciDetails {
9080
+ readonly type: 'card_pci_details';
9081
+ readonly card_number: io.flow.payment.gateway.v0.unions.CardNumber;
9082
+ readonly expiration_month: number;
9083
+ readonly expiration_year: number;
9084
+ readonly name: string;
9085
+ }
9086
+
9039
9087
  interface PaymentMethodCardToken {
9040
9088
  readonly type: 'token';
9041
9089
  readonly token: string;
@@ -9119,6 +9167,7 @@ declare namespace io.flow.payment.gateway.v0.models {
9119
9167
  readonly merchant_of_record: io.flow.common.v0.enums.MerchantOfRecord;
9120
9168
  readonly last_four: string;
9121
9169
  readonly card_type: io.flow.payment.v0.enums.CardType;
9170
+ readonly id: string;
9122
9171
  }
9123
9172
 
9124
9173
  interface PaymentMethodSummaryGooglepay {
@@ -9143,13 +9192,16 @@ declare namespace io.flow.payment.gateway.v0.models {
9143
9192
  }
9144
9193
 
9145
9194
  interface PaymentOrderDetailsLineItem {
9195
+ readonly id: string;
9146
9196
  readonly description: string;
9147
9197
  readonly quantity: number;
9148
- readonly amount_excluding_tax_and_duty: number;
9149
- readonly tax_amount?: number;
9150
- readonly duty_amount?: number;
9198
+ readonly amount: number;
9199
+ readonly tax?: io.flow.payment.gateway.v0.models.PaymentTax;
9200
+ readonly duty?: io.flow.payment.gateway.v0.models.PaymentDuty;
9151
9201
  readonly product_url?: string;
9152
9202
  readonly image_url?: string;
9203
+ readonly category?: string;
9204
+ readonly discounts?: io.flow.payment.gateway.v0.models.PaymentDiscount[];
9153
9205
  }
9154
9206
 
9155
9207
  interface PaymentPaymentMethod {
@@ -9159,7 +9211,7 @@ declare namespace io.flow.payment.gateway.v0.models {
9159
9211
  readonly brands: io.flow.payment.gateway.v0.models.PaymentMethodBrand[];
9160
9212
  readonly merchant_of_record: io.flow.common.v0.enums.MerchantOfRecord;
9161
9213
  readonly images: io.flow.reference.v0.models.PaymentMethodImages;
9162
- readonly possible_actions: io.flow.payment.gateway.v0.enums.SupportedActionType[];
9214
+ readonly possible_actions: io.flow.payment.gateway.v0.enums.PaymentActionType[];
9163
9215
  }
9164
9216
 
9165
9217
  interface PaymentRefund {
@@ -9184,18 +9236,19 @@ declare namespace io.flow.payment.gateway.v0.models {
9184
9236
  interface PaymentRequest {
9185
9237
  readonly id: string;
9186
9238
  readonly status: io.flow.payment.gateway.v0.enums.PaymentStatus;
9239
+ readonly available_payment_methods: io.flow.payment.gateway.v0.models.PaymentPaymentMethod[];
9187
9240
  readonly last_payment_failure?: io.flow.payment.gateway.v0.models.PaymentFailure;
9188
9241
  readonly next_action?: io.flow.payment.gateway.v0.unions.Action;
9189
9242
  readonly amount: number;
9190
- readonly amount_refundable?: number;
9191
9243
  readonly currency: string;
9192
9244
  readonly order_information: io.flow.payment.gateway.v0.unions.OrderInformation;
9193
9245
  readonly ip?: string;
9246
+ readonly locale?: string;
9194
9247
  readonly return_url: string;
9195
9248
  readonly attributes?: Record<string, string>;
9196
9249
  readonly reference?: string;
9197
- readonly authorizations: io.flow.payment.gateway.v0.models.PaymentAuthorization[];
9198
- readonly supported_actions: io.flow.payment.gateway.v0.enums.SupportedActionType[];
9250
+ readonly payment_information: io.flow.payment.gateway.v0.models.PaymentInformation;
9251
+ readonly supported_actions: io.flow.payment.gateway.v0.enums.PaymentActionType[];
9199
9252
  }
9200
9253
 
9201
9254
  interface PaymentRequestForm {
@@ -9203,11 +9256,17 @@ declare namespace io.flow.payment.gateway.v0.models {
9203
9256
  readonly currency: string;
9204
9257
  readonly order_information: io.flow.payment.gateway.v0.unions.OrderInformation;
9205
9258
  readonly ip?: string;
9259
+ readonly locale?: string;
9206
9260
  readonly return_url: string;
9207
9261
  readonly attributes?: Record<string, string>;
9208
9262
  readonly reference?: string;
9209
9263
  readonly payment_method_data?: io.flow.payment.gateway.v0.unions.PaymentMethodData;
9210
- readonly supported_actions?: io.flow.payment.gateway.v0.enums.SupportedActionType[];
9264
+ readonly supported_actions?: io.flow.payment.gateway.v0.enums.PaymentActionType[];
9265
+ }
9266
+
9267
+ interface PaymentRequestReference {
9268
+ readonly id: string;
9269
+ readonly reference?: string;
9211
9270
  }
9212
9271
 
9213
9272
  interface PaymentReversal {
@@ -9228,6 +9287,19 @@ declare namespace io.flow.payment.gateway.v0.models {
9228
9287
  readonly status: io.flow.payment.v0.enums.ReversalStatus;
9229
9288
  readonly reason?: io.flow.payment.v0.enums.ReversalErrorCode;
9230
9289
  }
9290
+
9291
+ interface PaymentTax {
9292
+ readonly amount: number;
9293
+ readonly name?: string;
9294
+ }
9295
+
9296
+ interface Shipping {
9297
+ readonly description: string;
9298
+ readonly amount: number;
9299
+ readonly tax?: io.flow.payment.gateway.v0.models.PaymentTax;
9300
+ readonly duty?: io.flow.payment.gateway.v0.models.PaymentDuty;
9301
+ readonly discounts?: io.flow.payment.gateway.v0.models.PaymentDiscount[];
9302
+ }
9231
9303
  }
9232
9304
 
9233
9305
  declare namespace io.flow.payment.gateway.v0.unions {
@@ -9243,17 +9315,20 @@ declare namespace io.flow.payment.gateway.v0.unions {
9243
9315
  | io.flow.payment.gateway.v0.models.ActionUseSdkAdyenV4
9244
9316
  | io.flow.payment.gateway.v0.models.ActionExecuteScript
9245
9317
  | io.flow.payment.gateway.v0.models.ActionDisplayInlineWindow
9246
- | io.flow.payment.gateway.v0.models.ActionCapture
9247
- | io.flow.payment.gateway.v0.models.ActionAddPaymentMethod
9248
9318
  | io.flow.payment.gateway.v0.models.ActionWait;
9249
9319
  type CardAuthorizationActionResult =
9250
9320
  | io.flow.payment.gateway.v0.models.AuthorizationActionResultAdyenV3
9251
9321
  | io.flow.payment.gateway.v0.models.AuthorizationActionResultAdyenV4;
9322
+ type CardNumber =
9323
+ | io.flow.payment.gateway.v0.models.PaymentMethodCardNumberCleartext
9324
+ | io.flow.payment.gateway.v0.models.PaymentMethodCardNumberCipher;
9252
9325
  type DeviceDetails = io.flow.payment.gateway.v0.models.BrowserDetails;
9253
9326
  type OrderInformation =
9254
9327
  | io.flow.payment.gateway.v0.models.OrderInformationFlow
9255
9328
  | io.flow.payment.gateway.v0.models.OrderInformationDetails;
9256
- type PaymentMethodCard = io.flow.payment.gateway.v0.models.PaymentMethodCardToken;
9329
+ type PaymentMethodCard =
9330
+ | io.flow.payment.gateway.v0.models.PaymentMethodCardPciDetails
9331
+ | io.flow.payment.gateway.v0.models.PaymentMethodCardToken;
9257
9332
  type PaymentMethodData =
9258
9333
  | io.flow.payment.gateway.v0.models.PaymentMethodDataInitKlarna
9259
9334
  | io.flow.payment.gateway.v0.models.PaymentMethodDataInitAfterpay
@@ -9511,6 +9586,7 @@ declare namespace io.flow.crypto.v0.models {
9511
9586
  readonly recipient: string;
9512
9587
  readonly refunded: boolean;
9513
9588
  readonly status: io.flow.crypto.v0.enums.PaymentStatus;
9589
+ readonly time_window: number;
9514
9590
  }
9515
9591
 
9516
9592
  interface PaymentRequest {
@@ -10083,7 +10159,8 @@ declare namespace io.flow.permission.v0.enums {
10083
10159
  | 'organization_fulfillment'
10084
10160
  | 'organization_marketing'
10085
10161
  | 'organization_finance'
10086
- | 'flow_operations';
10162
+ | 'flow_operations'
10163
+ | 'channel_admin';
10087
10164
  type PermittedHttpMethod = 'GET' | 'POST' | 'PUT' | 'DELETE' | 'PATCH';
10088
10165
  }
10089
10166
 
@@ -10886,6 +10963,8 @@ declare namespace io.flow.fulfillment.v0.models {
10886
10963
  readonly to: string;
10887
10964
  readonly timezone?: string;
10888
10965
  readonly label?: string;
10966
+ readonly min_days?: number;
10967
+ readonly max_days?: number;
10889
10968
  }
10890
10969
 
10891
10970
  interface DeliveryWindowComponent {
@@ -11529,12 +11608,28 @@ declare namespace io.flow.fraud.v0.models {
11529
11608
  readonly rule: io.flow.fraud.v0.models.FraudEmailRule;
11530
11609
  }
11531
11610
 
11611
+ interface FraudFlowOrderReference {
11612
+ readonly discriminator: 'flow_order';
11613
+ readonly reference: io.flow.experience.v0.models.OrderReference;
11614
+ }
11615
+
11616
+ interface FraudPaymentRequestReference {
11617
+ readonly discriminator: 'payment_request';
11618
+ readonly reference: io.flow.payment.gateway.v0.models.PaymentRequestReference;
11619
+ }
11620
+
11532
11621
  interface OrderFraudStatus {
11533
11622
  readonly order: io.flow.experience.v0.models.OrderReference;
11534
11623
  readonly status: io.flow.fraud.v0.enums.FraudStatus;
11535
11624
  }
11536
11625
  }
11537
11626
 
11627
+ declare namespace io.flow.fraud.v0.unions {
11628
+ type FraudOrderReference =
11629
+ | io.flow.fraud.v0.models.FraudFlowOrderReference
11630
+ | io.flow.fraud.v0.models.FraudPaymentRequestReference;
11631
+ }
11632
+
11538
11633
  declare namespace io.flow.currency.v0.models {
11539
11634
  interface Rate {
11540
11635
  readonly id: string;
@@ -11566,6 +11661,7 @@ declare namespace io.flow.organization.v0.enums {
11566
11661
  | 'hybris'
11567
11662
  | 'magento'
11568
11663
  | 'shopify'
11664
+ | 'shopify_markets'
11569
11665
  | 'sfcc'
11570
11666
  | 'solidus'
11571
11667
  | 'workarea';
@@ -12182,6 +12278,7 @@ declare namespace io.flow.internal.v0.enums {
12182
12278
  | 'continue_shopping'
12183
12279
  | 'confirmation'
12184
12280
  | 'invalid_checkout';
12281
+ type ClassificationErrorCode = 'generic_error';
12185
12282
  type ComplianceType = 'weee';
12186
12283
  type ContentElementType = 'markdown' | 'html' | 'plain_text' | 'href';
12187
12284
  type ContentStatus = 'draft' | 'live' | 'archived';
@@ -14739,6 +14836,11 @@ declare namespace io.flow.internal.v0.models {
14739
14836
  readonly invoicing?: io.flow.internal.v0.models.CheckoutAddress;
14740
14837
  }
14741
14838
 
14839
+ interface CheckoutOrderAddressSourceInputs {
14840
+ readonly shipping?: io.flow.internal.v0.enums.CheckoutAddressSource;
14841
+ readonly invoicing?: io.flow.internal.v0.enums.CheckoutAddressSource;
14842
+ }
14843
+
14742
14844
  interface CheckoutOrderAddresses {
14743
14845
  readonly shipping?: io.flow.internal.v0.models.CheckoutAddress;
14744
14846
  readonly invoicing?: io.flow.internal.v0.models.CheckoutAddress;
@@ -14828,6 +14930,7 @@ declare namespace io.flow.internal.v0.models {
14828
14930
  readonly contact?: io.flow.internal.v0.models.CheckoutOrderContactInputs;
14829
14931
  readonly addresses?: io.flow.internal.v0.models.CheckoutOrderAddressInputs;
14830
14932
  readonly address_book?: io.flow.internal.v0.models.CheckoutOrderAddressBookInputs;
14933
+ readonly address_sources?: io.flow.internal.v0.models.CheckoutOrderAddressSourceInputs;
14831
14934
  readonly attributes?: Record<string, string>;
14832
14935
  readonly delivery_options?: io.flow.internal.v0.models.CheckoutOrderDeliveryOptionsInput[];
14833
14936
  readonly gift_cards?: io.flow.internal.v0.models.CheckoutGiftCardForm[];
@@ -15770,6 +15873,19 @@ declare namespace io.flow.internal.v0.models {
15770
15873
  readonly PaRes: string;
15771
15874
  }
15772
15875
 
15876
+ interface Classification {
15877
+ readonly discriminator: 'classification';
15878
+ readonly product_id: string;
15879
+ readonly description: string;
15880
+ readonly items: io.flow.common.v0.models.CatalogItemSummary[];
15881
+ readonly images: string[];
15882
+ readonly categories: string[];
15883
+ readonly product_harmonization: io.flow.internal.v0.models.ClassificationProductHarmonization;
15884
+ readonly status?: io.flow.internal.v0.enums.UnclassifiedProductStatus;
15885
+ readonly suggested_action?: io.flow.internal.v0.enums.ItemClassificationAction;
15886
+ readonly score?: number;
15887
+ }
15888
+
15773
15889
  interface ClassificationDetails {
15774
15890
  readonly updated_by_user_id: string;
15775
15891
  readonly organization_id: string;
@@ -15787,6 +15903,17 @@ declare namespace io.flow.internal.v0.models {
15787
15903
  readonly construction: string;
15788
15904
  }
15789
15905
 
15906
+ interface ClassificationError {
15907
+ readonly discriminator: 'classification_error';
15908
+ readonly code: io.flow.internal.v0.enums.ClassificationErrorCode;
15909
+ readonly messages: string[];
15910
+ readonly form: io.flow.internal.v0.unions.ClassificationForm;
15911
+ }
15912
+
15913
+ interface ClassificationFormWrapper {
15914
+ readonly classifications: io.flow.internal.v0.unions.ClassificationForm[];
15915
+ }
15916
+
15790
15917
  interface ClassificationItem {
15791
15918
  readonly id: string;
15792
15919
  readonly organization_id: string;
@@ -15808,6 +15935,13 @@ declare namespace io.flow.internal.v0.models {
15808
15935
  readonly next_id?: io.flow.internal.v0.models.ClassificationProductId;
15809
15936
  }
15810
15937
 
15938
+ interface ClassificationProductHarmonization {
15939
+ readonly product_labels?: io.flow.internal.v0.models.ProductLabels;
15940
+ readonly customs_description?: string;
15941
+ readonly hs6_code?: string;
15942
+ readonly hs6_description?: string;
15943
+ }
15944
+
15811
15945
  interface ClassificationProductId {
15812
15946
  readonly organization_id: string;
15813
15947
  readonly product_id: string;
@@ -15835,6 +15969,10 @@ declare namespace io.flow.internal.v0.models {
15835
15969
  readonly number_of_items: number;
15836
15970
  }
15837
15971
 
15972
+ interface ClassificationWrapper {
15973
+ readonly classifications: io.flow.internal.v0.unions.ClassificationResponse[];
15974
+ }
15975
+
15838
15976
  interface ClassifiedProduct {
15839
15977
  readonly product_id: string;
15840
15978
  readonly organization_id: string;
@@ -16409,6 +16547,12 @@ declare namespace io.flow.internal.v0.models {
16409
16547
  readonly email?: string;
16410
16548
  }
16411
16549
 
16550
+ interface EmptyClassificationForm {
16551
+ readonly discriminator: 'empty_classification_form';
16552
+ readonly product_id: string;
16553
+ readonly harmonization_status: io.flow.internal.v0.enums.ItemHarmonizationStatus;
16554
+ }
16555
+
16412
16556
  interface Encryption {
16413
16557
  readonly id: string;
16414
16558
  readonly key: io.flow.internal.v0.models.KeyReference;
@@ -17024,6 +17168,7 @@ declare namespace io.flow.internal.v0.models {
17024
17168
  readonly id: string;
17025
17169
  readonly fraud_review_id: string;
17026
17170
  readonly order: io.flow.experience.v0.models.OrderReference;
17171
+ readonly fraud_order_reference: io.flow.fraud.v0.unions.FraudOrderReference;
17027
17172
  readonly recommended_status: io.flow.fraud.v0.enums.FraudStatus;
17028
17173
  readonly apply_at?: string;
17029
17174
  readonly liability?: io.flow.fraud.v0.enums.FraudLiability;
@@ -17063,6 +17208,7 @@ declare namespace io.flow.internal.v0.models {
17063
17208
  readonly id: string;
17064
17209
  readonly organization_id: string;
17065
17210
  readonly order: io.flow.experience.v0.models.OrderReference;
17211
+ readonly fraud_order_reference: io.flow.fraud.v0.unions.FraudOrderReference;
17066
17212
  readonly status: io.flow.fraud.v0.enums.FraudStatus;
17067
17213
  readonly responsible_party: io.flow.internal.v0.enums.FraudReviewResponsibleParty;
17068
17214
  readonly description?: string;
@@ -17077,6 +17223,7 @@ declare namespace io.flow.internal.v0.models {
17077
17223
  readonly id: string;
17078
17224
  readonly fraud_review_id: string;
17079
17225
  readonly order: io.flow.experience.v0.models.OrderReference;
17226
+ readonly fraud_order_reference: io.flow.fraud.v0.unions.FraudOrderReference;
17080
17227
  readonly status: io.flow.fraud.v0.enums.FraudStatus;
17081
17228
  readonly created_at: string;
17082
17229
  readonly liability?: io.flow.fraud.v0.enums.FraudLiability;
@@ -20902,6 +21049,13 @@ declare namespace io.flow.internal.v0.models {
20902
21049
  readonly children: io.flow.internal.v0.unions.SimplifiedClassificationTaxonomy[];
20903
21050
  }
20904
21051
 
21052
+ interface SingleClassificationForm {
21053
+ readonly discriminator: 'single_classification_form';
21054
+ readonly product_id: string;
21055
+ readonly product_harmonization: io.flow.internal.v0.models.ProductHarmonizationForm;
21056
+ readonly initial_customs_description?: string;
21057
+ }
21058
+
20905
21059
  interface SnapchatPixel {
20906
21060
  readonly discriminator: 'snapchat_pixel';
20907
21061
  readonly name?: string;
@@ -21744,6 +21898,7 @@ declare namespace io.flow.internal.v0.unions {
21744
21898
  type BlazeProviderMessage =
21745
21899
  | io.flow.internal.v0.models.BlazeCheckoutCompleteMessage
21746
21900
  | io.flow.internal.v0.models.BlazeCheckoutProgressMessage
21901
+ | io.flow.internal.v0.models.BlazeStartCheckoutMessage
21747
21902
  | io.flow.internal.v0.models.BlazeExitCheckoutMessage
21748
21903
  | io.flow.internal.v0.models.BlazeRedirectConfirmationMessage
21749
21904
  | io.flow.internal.v0.models.BlazeSynInitializeMessage
@@ -22047,6 +22202,9 @@ declare namespace io.flow.internal.v0.unions {
22047
22202
  | io.flow.internal.v0.models.CheckoutSequencedSubmitResponseSuccess;
22048
22203
  type CheckoutSubmitOrderBundles = io.flow.internal.v0.models.CheckoutSubmitOrderBundle;
22049
22204
  type CheckoutSubmitOrderForms = io.flow.internal.v0.models.CheckoutSubmitOrderForm;
22205
+ type ClassificationForm =
22206
+ | io.flow.internal.v0.models.SingleClassificationForm
22207
+ | io.flow.internal.v0.models.EmptyClassificationForm;
22050
22208
  type ClassificationJudgementForm =
22051
22209
  | io.flow.internal.v0.models.ProductClassificationForm
22052
22210
  | io.flow.internal.v0.models.NoClassificationForm;
@@ -22058,6 +22216,9 @@ declare namespace io.flow.internal.v0.unions {
22058
22216
  }
22059
22217
  | io.flow.internal.v0.models.SupportedLabels;
22060
22218
 
22219
+ type ClassificationResponse =
22220
+ | io.flow.internal.v0.models.Classification
22221
+ | io.flow.internal.v0.models.ClassificationError;
22061
22222
  type ClassificationTaxonomy =
22062
22223
  | io.flow.internal.v0.models.TaxonomyCategory
22063
22224
  | io.flow.internal.v0.models.LabelTaxonomy;
@@ -22889,6 +23050,7 @@ export type CheckoutOpenOrder = io.flow.internal.v0.models.CheckoutOpenOrder;
22889
23050
  export type CheckoutOrder = io.flow.internal.v0.unions.CheckoutOrder;
22890
23051
  export type CheckoutOrderAddressBookInputs = io.flow.internal.v0.models.CheckoutOrderAddressBookInputs;
22891
23052
  export type CheckoutOrderAddressInputs = io.flow.internal.v0.models.CheckoutOrderAddressInputs;
23053
+ export type CheckoutOrderAddressSourceInputs = io.flow.internal.v0.models.CheckoutOrderAddressSourceInputs;
22892
23054
  export type CheckoutOrderAddresses = io.flow.internal.v0.models.CheckoutOrderAddresses;
22893
23055
  export type CheckoutOrderContactInputs = io.flow.internal.v0.models.CheckoutOrderContactInputs;
22894
23056
  export type CheckoutOrderDeliveries = io.flow.internal.v0.models.CheckoutOrderDeliveries;
@@ -23161,17 +23323,25 @@ export type Cipher = io.flow.internal.v0.models.Cipher;
23161
23323
  export type CipherForm = io.flow.internal.v0.models.CipherForm;
23162
23324
  export type CipherReference = io.flow.internal.v0.models.CipherReference;
23163
23325
  export type ClassicPaymentRedirectForm = io.flow.internal.v0.models.ClassicPaymentRedirectForm;
23326
+ export type Classification = io.flow.internal.v0.models.Classification;
23164
23327
  export type ClassificationDetails = io.flow.internal.v0.models.ClassificationDetails;
23328
+ export type ClassificationError = io.flow.internal.v0.models.ClassificationError;
23329
+ export type ClassificationErrorCode = io.flow.internal.v0.enums.ClassificationErrorCode;
23330
+ export type ClassificationForm = io.flow.internal.v0.unions.ClassificationForm;
23331
+ export type ClassificationFormWrapper = io.flow.internal.v0.models.ClassificationFormWrapper;
23165
23332
  export type ClassificationItem = io.flow.internal.v0.models.ClassificationItem;
23166
23333
  export type ClassificationJudgementForm = io.flow.internal.v0.unions.ClassificationJudgementForm;
23167
23334
  export type ClassificationLabelAttribute = io.flow.internal.v0.unions.ClassificationLabelAttribute;
23168
23335
  export type ClassificationProduct = io.flow.internal.v0.models.ClassificationProduct;
23336
+ export type ClassificationProductHarmonization = io.flow.internal.v0.models.ClassificationProductHarmonization;
23169
23337
  export type ClassificationProductId = io.flow.internal.v0.models.ClassificationProductId;
23170
23338
  export type ClassificationProductSummary = io.flow.internal.v0.models.ClassificationProductSummary;
23171
23339
  export type ClassificationProductSummaryPage = io.flow.internal.v0.models.ClassificationProductSummaryPage;
23172
23340
  export type ClassificationRequeueRequest = io.flow.internal.v0.models.ClassificationRequeueRequest;
23341
+ export type ClassificationResponse = io.flow.internal.v0.unions.ClassificationResponse;
23173
23342
  export type ClassificationStatistics = io.flow.internal.v0.models.ClassificationStatistics;
23174
23343
  export type ClassificationTaxonomy = io.flow.internal.v0.unions.ClassificationTaxonomy;
23344
+ export type ClassificationWrapper = io.flow.internal.v0.models.ClassificationWrapper;
23175
23345
  export type ClassifiedProduct = io.flow.internal.v0.models.ClassifiedProduct;
23176
23346
  export type Compliance = io.flow.internal.v0.models.Compliance;
23177
23347
  export type ComplianceData = io.flow.internal.v0.unions.ComplianceData;
@@ -23270,6 +23440,7 @@ export type DutySimpleExpressionType = io.flow.internal.v0.enums.DutySimpleExpre
23270
23440
  export type EmailForm = io.flow.internal.v0.models.EmailForm;
23271
23441
  export type EmailModificationForm = io.flow.internal.v0.models.EmailModificationForm;
23272
23442
  export type EmptyAttribute = io.flow.internal.v0.enums.EmptyAttribute;
23443
+ export type EmptyClassificationForm = io.flow.internal.v0.models.EmptyClassificationForm;
23273
23444
  export type Encryption = io.flow.internal.v0.models.Encryption;
23274
23445
  export type Event = io.flow.internal.v0.unions.Event;
23275
23446
  export type EventType = io.flow.internal.v0.enums.EventType;
@@ -23968,6 +24139,7 @@ export type SimpleRoundingStrategy = io.flow.internal.v0.enums.SimpleRoundingStr
23968
24139
  export type SimplifiedClassificationTaxonomy = io.flow.internal.v0.unions.SimplifiedClassificationTaxonomy;
23969
24140
  export type SimplifiedItemLabel = io.flow.internal.v0.models.SimplifiedItemLabel;
23970
24141
  export type SimplifiedTaxonomyCategory = io.flow.internal.v0.models.SimplifiedTaxonomyCategory;
24142
+ export type SingleClassificationForm = io.flow.internal.v0.models.SingleClassificationForm;
23971
24143
  export type SnapchatPixel = io.flow.internal.v0.models.SnapchatPixel;
23972
24144
  export type SpotRate = io.flow.internal.v0.models.SpotRate;
23973
24145
  export type SpotRateDeleted = io.flow.internal.v0.models.SpotRateDeleted;