@flowio/types 11.15.0 → 11.15.2

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.
@@ -3925,6 +3925,12 @@ declare namespace io.flow.adyen.v0.models {
3925
3925
  readonly details: any;
3926
3926
  readonly paymentData?: string;
3927
3927
  }
3928
+ interface PaymentDetailsV663Ds2Challenge {
3929
+ readonly 'threeds2.challengeResult': string;
3930
+ }
3931
+ interface PaymentDetailsV663Ds2Fingerprint {
3932
+ readonly 'threeds2.fingerprint': string;
3933
+ }
3928
3934
  interface PaymentRequest {
3929
3935
  readonly reference: string;
3930
3936
  readonly merchantAccount: string;
@@ -3994,6 +4000,13 @@ declare namespace io.flow.adyen.v0.models {
3994
4000
  readonly number: string;
3995
4001
  readonly cvc?: string;
3996
4002
  }
4003
+ interface SdkV3OnCompleteData {
4004
+ readonly details: any;
4005
+ readonly payment_data?: string;
4006
+ }
4007
+ interface SdkV3OnCompleteResult {
4008
+ readonly data: io.flow.adyen.v0.models.SdkV3OnCompleteData;
4009
+ }
3997
4010
  interface ThreeDSecureData {
3998
4011
  readonly authenticationResponse?: string;
3999
4012
  readonly cavv?: string;
@@ -6007,7 +6020,9 @@ declare namespace io.flow.payment.internal.v0.unions {
6007
6020
  declare namespace io.flow.fraud.internal.v0.enums {
6008
6021
  type DisputeEvidence = 'proof_of_delivery' | 'proof_of_fulfillment' | 'other';
6009
6022
  type FraudProvider = 'flow' | 'paypal' | 'riskified' | 'rps' | 'other' | 'none';
6023
+ type FraudProviderStatus = 'active' | 'archived';
6010
6024
  type FraudReviewResponsibleParty = 'flow' | 'organization';
6025
+ type ManualReviewRuleStatus = 'active' | 'archived';
6011
6026
  type RiskEvaluation = 'pending' | 'high' | 'low' | 'restricted' | 'none';
6012
6027
  }
6013
6028
  declare namespace io.flow.fraud.internal.v0.models {
@@ -6027,6 +6042,17 @@ declare namespace io.flow.fraud.internal.v0.models {
6027
6042
  readonly apply_at?: string;
6028
6043
  readonly liability?: io.flow.fraud.v0.enums.FraudLiability;
6029
6044
  }
6045
+ interface FraudProviderConfigurationFormRiskified {
6046
+ readonly discriminator: 'riskified';
6047
+ readonly external_id: string;
6048
+ readonly status: io.flow.fraud.internal.v0.enums.FraudProviderStatus;
6049
+ }
6050
+ interface FraudProviderConfigurationRiskified {
6051
+ readonly discriminator: 'riskified';
6052
+ readonly key: string;
6053
+ readonly external_id: string;
6054
+ readonly status: io.flow.fraud.internal.v0.enums.FraudProviderStatus;
6055
+ }
6030
6056
  interface FraudReview {
6031
6057
  readonly id: string;
6032
6058
  readonly organization_id: string;
@@ -6057,10 +6083,25 @@ declare namespace io.flow.fraud.internal.v0.models {
6057
6083
  readonly type: io.flow.common.v0.enums.ChangeType;
6058
6084
  readonly fraud_review: io.flow.fraud.internal.v0.models.FraudReview;
6059
6085
  }
6086
+ interface ManualReviewRule {
6087
+ readonly responsible_party: io.flow.fraud.internal.v0.enums.FraudReviewResponsibleParty;
6088
+ readonly status: io.flow.fraud.internal.v0.enums.ManualReviewRuleStatus;
6089
+ readonly duration: io.flow.common.v0.models.Duration;
6090
+ readonly emails: string[];
6091
+ }
6092
+ interface ManualReviewRuleForm {
6093
+ readonly status: io.flow.fraud.internal.v0.enums.ManualReviewRuleStatus;
6094
+ readonly duration: io.flow.common.v0.models.Duration;
6095
+ readonly emails: string[];
6096
+ }
6060
6097
  interface Notification {
6061
6098
  readonly order: io.flow.fraud.internal.v0.models.Decision;
6062
6099
  }
6063
6100
  }
6101
+ declare namespace io.flow.fraud.internal.v0.unions {
6102
+ type FraudProviderConfiguration = io.flow.fraud.internal.v0.models.FraudProviderConfigurationRiskified;
6103
+ type FraudProviderConfigurationForm = io.flow.fraud.internal.v0.models.FraudProviderConfigurationFormRiskified;
6104
+ }
6064
6105
  declare namespace io.flow.common.v0.enums {
6065
6106
  type AttributeDataType = 'boolean' | 'integer' | 'decimal' | 'string' | 'json_array';
6066
6107
  type AvailabilityStatus = 'enabled' | 'disabled';
@@ -10603,7 +10644,7 @@ declare namespace io.flow.checkout.protocol.v0.enums {
10603
10644
  type CheckoutAddPaymentDetailsErrorCode = 'payment_failed' | 'authorization_form_not_supported' | 'authorization_invalid_amount' | 'authorization_invalid_currency' | 'authorization_amount_exceeds_balance' | 'address_street1_required';
10604
10645
  type CheckoutCreateAuthorizationDetailsErrorCode = 'checkout_not_found' | 'authorization_details_payment_not_found';
10605
10646
  type CheckoutCreateAuthorizationErrorCode = 'authorization_form_not_supported' | 'authorization_invalid_amount' | 'authorization_invalid_currency' | 'authorization_amount_exceeds_balance' | 'address_street1_required';
10606
- type CheckoutCreateBySessionByOrderErrorCode = 'session_not_found' | 'session_experience_required' | 'country_not_supported' | 'order_not_found';
10647
+ type CheckoutCreateBySessionByOrderErrorCode = 'session_not_found' | 'session_experience_required' | 'order_not_found' | 'country_not_supported';
10607
10648
  type CheckoutCreateBySessionErrorCode = 'session_not_found' | 'session_experience_required' | 'country_not_supported';
10608
10649
  type CheckoutDeleteAddressStreetErrorCode = 'address_line_number_invalid';
10609
10650
  type CheckoutDeleteLineErrorCode = 'line_not_found';
@@ -10620,6 +10661,7 @@ declare namespace io.flow.checkout.protocol.v0.enums {
10620
10661
  type CheckoutInfoOrderSummaryKeyField = 'shipping_country' | 'shipping_province' | 'shipping_postal' | 'delivery_option_id';
10621
10662
  type CheckoutInfoPaymentDetailsKeyField = 'value' | 'currency' | 'payment_method_id';
10622
10663
  type CheckoutInfoPaymentsFormDataKeyField = 'value' | 'currency' | 'shipping_country';
10664
+ type CheckoutInfoTranslationsKeyField = 'locale';
10623
10665
  type CheckoutInitiatePaymentErrorCode = 'payment_failed' | 'authorization_form_not_supported' | 'authorization_invalid_amount' | 'authorization_invalid_currency' | 'authorization_amount_exceeds_balance' | 'address_street1_required';
10624
10666
  type CheckoutPaymentAuthorizationParametersErrorCode = 'order_balance_not_available';
10625
10667
  type CheckoutSetAddressCityErrorCode = 'address_city_invalid' | 'address_city_required';
@@ -10695,9 +10737,19 @@ declare namespace io.flow.checkout.protocol.v0.models {
10695
10737
  readonly code: io.flow.checkout.protocol.v0.enums.CheckoutCreateBySessionByOrderErrorCode;
10696
10738
  readonly message: string;
10697
10739
  }
10740
+ interface CheckoutCreateBySessionByOrderRequestForm {
10741
+ readonly discriminator: 'checkout_create_by_session_by_order_request_form';
10742
+ readonly session_id: string;
10743
+ readonly order_number: string;
10744
+ }
10698
10745
  interface CheckoutCreateBySessionByOrderResponseError {
10746
+ readonly discriminator: 'checkout_create_by_session_by_order_response_error';
10699
10747
  readonly errors: io.flow.checkout.protocol.v0.models.CheckoutCreateBySessionByOrderError[];
10700
10748
  }
10749
+ interface CheckoutCreateBySessionByOrderResponseSuccess {
10750
+ readonly discriminator: 'checkout_create_by_session_by_order_response_success';
10751
+ readonly checkout: io.flow.checkout.backend.v0.models.V2Checkout;
10752
+ }
10701
10753
  interface CheckoutCreateBySessionError {
10702
10754
  readonly code: io.flow.checkout.protocol.v0.enums.CheckoutCreateBySessionErrorCode;
10703
10755
  readonly message: string;
@@ -10874,6 +10926,15 @@ declare namespace io.flow.checkout.protocol.v0.models {
10874
10926
  readonly discriminator: 'checkout_info_public_key';
10875
10927
  readonly data: io.flow.payment.v0.models.PublicKey;
10876
10928
  }
10929
+ interface CheckoutInfoTranslations {
10930
+ readonly discriminator: 'checkout_info_translations';
10931
+ readonly key: io.flow.checkout.protocol.v0.models.CheckoutInfoTranslationsKey[];
10932
+ readonly data: any;
10933
+ }
10934
+ interface CheckoutInfoTranslationsKey {
10935
+ readonly field: io.flow.checkout.protocol.v0.enums.CheckoutInfoTranslationsKeyField;
10936
+ readonly value: string;
10937
+ }
10877
10938
  interface CheckoutInitiatePaymentError {
10878
10939
  readonly code: io.flow.checkout.protocol.v0.enums.CheckoutInitiatePaymentErrorCode;
10879
10940
  readonly message: string;
@@ -11406,13 +11467,14 @@ declare namespace io.flow.checkout.protocol.v0.models {
11406
11467
  }
11407
11468
  declare namespace io.flow.checkout.protocol.v0.unions {
11408
11469
  type CheckoutCreateAuthorizationDetailsResponse = io.flow.checkout.protocol.v0.models.CheckoutCreateAuthorizationDetailsResponseError | io.flow.checkout.protocol.v0.models.CheckoutCreateAuthorizationDetailsResponseSuccess;
11470
+ type CheckoutCreateBySessionByOrderResponse = io.flow.checkout.protocol.v0.models.CheckoutCreateBySessionByOrderResponseError | io.flow.checkout.protocol.v0.models.CheckoutCreateBySessionByOrderResponseSuccess;
11409
11471
  type CheckoutCreateBySessionResponse = io.flow.checkout.protocol.v0.models.CheckoutCreateBySessionResponseError | io.flow.checkout.protocol.v0.models.CheckoutCreateBySessionResponseSuccess;
11410
11472
  type CheckoutFeaturesResponse = io.flow.checkout.protocol.v0.models.CheckoutFeaturesResponseError | io.flow.checkout.protocol.v0.models.CheckoutFeaturesResponseSuccess;
11411
11473
  type CheckoutGetResponse = io.flow.checkout.protocol.v0.models.CheckoutGetResponseError | io.flow.checkout.protocol.v0.models.CheckoutGetResponseSuccess;
11412
- type CheckoutInfo = io.flow.checkout.protocol.v0.models.CheckoutInfoAddressConfigurationFormData | io.flow.checkout.protocol.v0.models.CheckoutInfoAddressPredictions | io.flow.checkout.protocol.v0.models.CheckoutInfoAnalyticsOrder | io.flow.checkout.protocol.v0.models.CheckoutInfoAnalyticsSession | io.flow.checkout.protocol.v0.models.CheckoutInfoContent | io.flow.checkout.protocol.v0.models.CheckoutInfoCountriesFormData | io.flow.checkout.protocol.v0.models.CheckoutInfoDeliveriesFormData | io.flow.checkout.protocol.v0.models.CheckoutInfoHostedConfirmationPage | io.flow.checkout.protocol.v0.models.CheckoutInfoMustUseOrder | io.flow.checkout.protocol.v0.models.CheckoutInfoNationalIdNumberConfigurationFormData | io.flow.checkout.protocol.v0.models.CheckoutInfoOptins | io.flow.checkout.protocol.v0.models.CheckoutInfoOrderSummary | io.flow.checkout.protocol.v0.models.CheckoutInfoPaymentDetails | io.flow.checkout.protocol.v0.models.CheckoutInfoPaymentsFormData | io.flow.checkout.protocol.v0.models.CheckoutInfoPublicKey;
11474
+ type CheckoutInfo = io.flow.checkout.protocol.v0.models.CheckoutInfoAddressConfigurationFormData | io.flow.checkout.protocol.v0.models.CheckoutInfoAddressPredictions | io.flow.checkout.protocol.v0.models.CheckoutInfoAnalyticsOrder | io.flow.checkout.protocol.v0.models.CheckoutInfoAnalyticsSession | io.flow.checkout.protocol.v0.models.CheckoutInfoContent | io.flow.checkout.protocol.v0.models.CheckoutInfoCountriesFormData | io.flow.checkout.protocol.v0.models.CheckoutInfoDeliveriesFormData | io.flow.checkout.protocol.v0.models.CheckoutInfoHostedConfirmationPage | io.flow.checkout.protocol.v0.models.CheckoutInfoMustUseOrder | io.flow.checkout.protocol.v0.models.CheckoutInfoNationalIdNumberConfigurationFormData | io.flow.checkout.protocol.v0.models.CheckoutInfoOptins | io.flow.checkout.protocol.v0.models.CheckoutInfoOrderSummary | io.flow.checkout.protocol.v0.models.CheckoutInfoPaymentDetails | io.flow.checkout.protocol.v0.models.CheckoutInfoPaymentsFormData | io.flow.checkout.protocol.v0.models.CheckoutInfoPublicKey | io.flow.checkout.protocol.v0.models.CheckoutInfoTranslations;
11413
11475
  type CheckoutInput = io.flow.checkout.protocol.v0.models.CheckoutInputAddAttributes | io.flow.checkout.protocol.v0.models.CheckoutInputDeleteAddressStreet | io.flow.checkout.protocol.v0.models.CheckoutInputSetAddressCity | io.flow.checkout.protocol.v0.models.CheckoutInputSetAddressCompany | io.flow.checkout.protocol.v0.models.CheckoutInputSetAddressCountry | io.flow.checkout.protocol.v0.models.CheckoutInputSetAddressFirstName | io.flow.checkout.protocol.v0.models.CheckoutInputSetAddressLastName | io.flow.checkout.protocol.v0.models.CheckoutInputSetAddressName | io.flow.checkout.protocol.v0.models.CheckoutInputSetAddressPostal | io.flow.checkout.protocol.v0.models.CheckoutInputSetAddressProvince | io.flow.checkout.protocol.v0.models.CheckoutInputSetAddressStreet | io.flow.checkout.protocol.v0.models.CheckoutInputSetAttributes | io.flow.checkout.protocol.v0.models.CheckoutInputSetContactEmail | io.flow.checkout.protocol.v0.models.CheckoutInputSetContactPhone | io.flow.checkout.protocol.v0.models.CheckoutInputSetCurrency | io.flow.checkout.protocol.v0.models.CheckoutInputSetDeliveryOption | io.flow.checkout.protocol.v0.models.CheckoutInputSetLanguage | io.flow.checkout.protocol.v0.models.CheckoutInputSetLocale | io.flow.checkout.protocol.v0.models.CheckoutInputSetNationalIdNumber | io.flow.checkout.protocol.v0.models.CheckoutInputSetOptinPrompt;
11414
- type CheckoutRequestForm = io.flow.checkout.protocol.v0.models.CheckoutCreateAuthorizationDetailsRequestForm | io.flow.checkout.protocol.v0.models.CheckoutCreateBySessionRequestForm | io.flow.checkout.protocol.v0.models.CheckoutFeaturesRequestForm | io.flow.checkout.protocol.v0.models.CheckoutGetRequestForm;
11415
- type CheckoutResponse = io.flow.checkout.protocol.v0.models.CheckoutCreateAuthorizationDetailsResponseError | io.flow.checkout.protocol.v0.models.CheckoutCreateAuthorizationDetailsResponseSuccess | io.flow.checkout.protocol.v0.models.CheckoutCreateBySessionResponseError | io.flow.checkout.protocol.v0.models.CheckoutCreateBySessionResponseSuccess | io.flow.checkout.protocol.v0.models.CheckoutFeaturesResponseError | io.flow.checkout.protocol.v0.models.CheckoutFeaturesResponseSuccess | io.flow.checkout.protocol.v0.models.CheckoutGetResponseError | io.flow.checkout.protocol.v0.models.CheckoutGetResponseSuccess;
11476
+ type CheckoutRequestForm = io.flow.checkout.protocol.v0.models.CheckoutCreateAuthorizationDetailsRequestForm | io.flow.checkout.protocol.v0.models.CheckoutCreateBySessionByOrderRequestForm | io.flow.checkout.protocol.v0.models.CheckoutCreateBySessionRequestForm | io.flow.checkout.protocol.v0.models.CheckoutFeaturesRequestForm | io.flow.checkout.protocol.v0.models.CheckoutGetRequestForm;
11477
+ type CheckoutResponse = io.flow.checkout.protocol.v0.models.CheckoutCreateAuthorizationDetailsResponseError | io.flow.checkout.protocol.v0.models.CheckoutCreateAuthorizationDetailsResponseSuccess | io.flow.checkout.protocol.v0.models.CheckoutCreateBySessionByOrderResponseError | io.flow.checkout.protocol.v0.models.CheckoutCreateBySessionByOrderResponseSuccess | io.flow.checkout.protocol.v0.models.CheckoutCreateBySessionResponseError | io.flow.checkout.protocol.v0.models.CheckoutCreateBySessionResponseSuccess | io.flow.checkout.protocol.v0.models.CheckoutFeaturesResponseError | io.flow.checkout.protocol.v0.models.CheckoutFeaturesResponseSuccess | io.flow.checkout.protocol.v0.models.CheckoutGetResponseError | io.flow.checkout.protocol.v0.models.CheckoutGetResponseSuccess;
11416
11478
  type CheckoutSequencedAddAuthorizationResponse = io.flow.checkout.protocol.v0.models.CheckoutSequencedAddAuthorizationResponseError | io.flow.checkout.protocol.v0.models.CheckoutSequencedAddAuthorizationResponseSuccess;
11417
11479
  type CheckoutSequencedAddGiftCardAndPromotionCodeResponse = io.flow.checkout.protocol.v0.models.CheckoutSequencedAddGiftCardAndPromotionCodeResponseError;
11418
11480
  type CheckoutSequencedAddGiftCardResponse = io.flow.checkout.protocol.v0.models.CheckoutSequencedAddGiftCardResponseError;
@@ -13918,7 +13980,7 @@ declare namespace io.flow.internal.v0.enums {
13918
13980
  type CheckoutAssetType = 'stylesheet' | 'javascript';
13919
13981
  type CheckoutCreateAuthorizationDetailsErrorCode = 'checkout_not_found' | 'authorization_details_payment_not_found';
13920
13982
  type CheckoutCreateAuthorizationErrorCode = 'authorization_form_not_supported' | 'authorization_invalid_amount' | 'authorization_invalid_currency' | 'authorization_amount_exceeds_balance' | 'address_street1_required';
13921
- type CheckoutCreateBySessionByOrderErrorCode = 'session_not_found' | 'session_experience_required' | 'country_not_supported' | 'order_not_found';
13983
+ type CheckoutCreateBySessionByOrderErrorCode = 'session_not_found' | 'session_experience_required' | 'order_not_found' | 'country_not_supported';
13922
13984
  type CheckoutCreateBySessionErrorCode = 'session_not_found' | 'session_experience_required' | 'country_not_supported';
13923
13985
  type CheckoutDeleteAddressStreetErrorCode = 'address_line_number_invalid';
13924
13986
  type CheckoutDeleteLineErrorCode = 'line_not_found';
@@ -13937,6 +13999,7 @@ declare namespace io.flow.internal.v0.enums {
13937
13999
  type CheckoutInfoOrderSummaryKeyField = 'shipping_country' | 'shipping_province' | 'shipping_postal' | 'delivery_option_id';
13938
14000
  type CheckoutInfoPaymentDetailsKeyField = 'value' | 'currency' | 'payment_method_id';
13939
14001
  type CheckoutInfoPaymentsFormDataKeyField = 'value' | 'currency' | 'shipping_country';
14002
+ type CheckoutInfoTranslationsKeyField = 'locale';
13940
14003
  type CheckoutInitiatePaymentErrorCode = 'payment_failed' | 'authorization_form_not_supported' | 'authorization_invalid_amount' | 'authorization_invalid_currency' | 'authorization_amount_exceeds_balance' | 'address_street1_required';
13941
14004
  type CheckoutLineErrorCode = 'line_quantity_invalid' | 'line_item_number_invalid' | 'line_item_number_not_available' | 'line_value_threshold_exceeded';
13942
14005
  type CheckoutPaymentAuthorizationParametersErrorCode = 'order_balance_not_available';
@@ -13988,12 +14051,14 @@ declare namespace io.flow.internal.v0.enums {
13988
14051
  type ExperienceOrderAction = 'submit' | 'refund_gift_cards';
13989
14052
  type ExperienceOrderActionTrigger = 'zero_balance' | 'unsubmitted_order';
13990
14053
  type ExperimentDiscriminatorKey = 'experience' | 'feature';
14054
+ type ExportContentType = 'item' | 'price_book_item';
13991
14055
  type FeatureScope = 'global' | 'organization';
13992
14056
  type FeatureStatus = 'draft' | 'active' | 'archived';
13993
14057
  type FeatureType = 'boolean' | 'decimal' | 'string';
13994
14058
  type FlowApp = 'console';
13995
14059
  type Format = 'text' | 'phone' | 'email';
13996
14060
  type FraudProvider = 'flow' | 'paypal' | 'riskified' | 'rps' | 'other' | 'none';
14061
+ type FraudProviderStatus = 'active' | 'archived';
13997
14062
  type FraudReviewResponsibleParty = 'flow' | 'organization';
13998
14063
  type FtpIntent = 'orders_from_flow' | 'pricebooks_from_flow' | 'pricebooks_to_flow' | 'catalog_to_flow' | 'inventory_to_flow';
13999
14064
  type FtpProtocol = 'sftp' | 'ftp';
@@ -14009,6 +14074,7 @@ declare namespace io.flow.internal.v0.enums {
14009
14074
  type ItemType = 'standard' | 'multi_product';
14010
14075
  type LabelBillingStrategy = 'quote' | 'carrier';
14011
14076
  type LiabilityType = 'full_value_tax' | 'low_value_goods_tax' | 'high_value_goods_tax' | 'duties';
14077
+ type ManualReviewRuleStatus = 'active' | 'archived';
14012
14078
  type MarketingGatewayAccountConnectionStatus = 'not_connected' | 'connecting' | 'connected' | 'disconnecting' | 'disconnected';
14013
14079
  type MarketingGatewayChannelIntegrationType = 'automated' | 'manual';
14014
14080
  type MarketingGatewayChannelStatus = 'not_connected' | 'connecting' | 'connected' | 'disconnecting' | 'disconnected' | 'unavailable';
@@ -14922,13 +14988,13 @@ declare namespace io.flow.internal.v0.models {
14922
14988
  readonly carrier: io.flow.fulfillment.v0.models.CarrierReference;
14923
14989
  readonly credentials: io.flow.tracking.internal.v0.unions.CarrierCredentials;
14924
14990
  readonly q?: string;
14925
- readonly position?: number;
14991
+ readonly position: number;
14926
14992
  }
14927
14993
  interface CarrierAccountForm {
14928
14994
  readonly carrier_id: string;
14929
14995
  readonly credentials: io.flow.tracking.internal.v0.unions.CarrierCredentials;
14930
14996
  readonly q?: string;
14931
- readonly position?: number;
14997
+ readonly position: number;
14932
14998
  }
14933
14999
  interface CarrierAccountUpserted {
14934
15000
  readonly discriminator: 'carrier_account_upserted';
@@ -15310,9 +15376,19 @@ declare namespace io.flow.internal.v0.models {
15310
15376
  readonly code: io.flow.internal.v0.enums.CheckoutCreateBySessionByOrderErrorCode;
15311
15377
  readonly message: string;
15312
15378
  }
15379
+ interface CheckoutCreateBySessionByOrderRequestForm {
15380
+ readonly discriminator: 'checkout_create_by_session_by_order_request_form';
15381
+ readonly session_id: string;
15382
+ readonly order_number: string;
15383
+ }
15313
15384
  interface CheckoutCreateBySessionByOrderResponseError {
15385
+ readonly discriminator: 'checkout_create_by_session_by_order_response_error';
15314
15386
  readonly errors: io.flow.internal.v0.models.CheckoutCreateBySessionByOrderError[];
15315
15387
  }
15388
+ interface CheckoutCreateBySessionByOrderResponseSuccess {
15389
+ readonly discriminator: 'checkout_create_by_session_by_order_response_success';
15390
+ readonly checkout: io.flow.checkout.backend.v0.models.V2Checkout;
15391
+ }
15316
15392
  interface CheckoutCreateBySessionError {
15317
15393
  readonly code: io.flow.internal.v0.enums.CheckoutCreateBySessionErrorCode;
15318
15394
  readonly message: string;
@@ -15568,6 +15644,15 @@ declare namespace io.flow.internal.v0.models {
15568
15644
  readonly discriminator: 'checkout_info_public_key';
15569
15645
  readonly data: io.flow.payment.v0.models.PublicKey;
15570
15646
  }
15647
+ interface CheckoutInfoTranslations {
15648
+ readonly discriminator: 'checkout_info_translations';
15649
+ readonly key: io.flow.internal.v0.models.CheckoutInfoTranslationsKey[];
15650
+ readonly data: any;
15651
+ }
15652
+ interface CheckoutInfoTranslationsKey {
15653
+ readonly field: io.flow.internal.v0.enums.CheckoutInfoTranslationsKeyField;
15654
+ readonly value: string;
15655
+ }
15571
15656
  interface CheckoutInitiateDirectPaymentForm {
15572
15657
  readonly discriminator: 'initiate_direct_payment_form';
15573
15658
  readonly token: string;
@@ -17566,6 +17651,17 @@ declare namespace io.flow.internal.v0.models {
17566
17651
  readonly id: string;
17567
17652
  readonly fraud_pending_review: io.flow.fraud.internal.v0.models.FraudPendingReview;
17568
17653
  }
17654
+ interface FraudProviderConfigurationFormRiskified {
17655
+ readonly discriminator: 'riskified';
17656
+ readonly external_id: string;
17657
+ readonly status: io.flow.internal.v0.enums.FraudProviderStatus;
17658
+ }
17659
+ interface FraudProviderConfigurationRiskified {
17660
+ readonly discriminator: 'riskified';
17661
+ readonly key: string;
17662
+ readonly external_id: string;
17663
+ readonly status: io.flow.internal.v0.enums.FraudProviderStatus;
17664
+ }
17569
17665
  interface FraudReview {
17570
17666
  readonly id: string;
17571
17667
  readonly organization_id: string;
@@ -19020,6 +19116,7 @@ declare namespace io.flow.internal.v0.models {
19020
19116
  readonly item_schedule?: io.flow.price.v0.models.PriceBookItemSchedule;
19021
19117
  }
19022
19118
  interface LocalizedItemsExportSettings {
19119
+ readonly content_type: io.flow.internal.v0.enums.ExportContentType;
19023
19120
  readonly full_export_schedule?: io.flow.internal.v0.unions.ExportSchedule;
19024
19121
  readonly delta_export_schedule?: io.flow.internal.v0.unions.ExportSchedule;
19025
19122
  }
@@ -19034,6 +19131,17 @@ declare namespace io.flow.internal.v0.models {
19034
19131
  readonly price_book_item_price: io.flow.common.v0.models.Price;
19035
19132
  readonly schedule: io.flow.price.v0.models.PriceBookItemSchedule;
19036
19133
  }
19134
+ interface LocalizedPriceBookItemData {
19135
+ readonly organization: io.flow.common.v0.models.OrganizationReference;
19136
+ readonly experience: io.flow.common.v0.models.ExperienceSummary;
19137
+ readonly item: io.flow.common.v0.models.CatalogItemReference;
19138
+ readonly prices: io.flow.RESERVED_WORD_export.v0.models.ExportLocalizedItemPricesDetail;
19139
+ readonly status?: io.flow.catalog.v0.enums.SubcatalogItemStatus;
19140
+ readonly price_book_key: string;
19141
+ readonly price_book_item_price: io.flow.common.v0.models.Price;
19142
+ readonly price_start_date: string;
19143
+ readonly price_end_date?: string;
19144
+ }
19037
19145
  interface LocalizedPriceBookItemDeleted {
19038
19146
  readonly discriminator: 'localized_price_book_item_deleted';
19039
19147
  readonly event_id: string;
@@ -19099,6 +19207,17 @@ declare namespace io.flow.internal.v0.models {
19099
19207
  readonly organization: string;
19100
19208
  readonly main_transaction: io.flow.billing.internal.v0.models.MainTransaction;
19101
19209
  }
19210
+ interface ManualReviewRule {
19211
+ readonly responsible_party: io.flow.internal.v0.enums.FraudReviewResponsibleParty;
19212
+ readonly status: io.flow.internal.v0.enums.ManualReviewRuleStatus;
19213
+ readonly duration: io.flow.common.v0.models.Duration;
19214
+ readonly emails: string[];
19215
+ }
19216
+ interface ManualReviewRuleForm {
19217
+ readonly status: io.flow.internal.v0.enums.ManualReviewRuleStatus;
19218
+ readonly duration: io.flow.common.v0.models.Duration;
19219
+ readonly emails: string[];
19220
+ }
19102
19221
  interface ManualTransaction {
19103
19222
  readonly discriminator: 'manual_transaction';
19104
19223
  readonly id: string;
@@ -21519,12 +21638,13 @@ declare namespace io.flow.internal.v0.unions {
21519
21638
  type CheckoutAnalyticsPayment = io.flow.internal.v0.models.CheckoutAnalyticsPaymentCard | io.flow.internal.v0.models.CheckoutAnalyticsPaymentGiftCard | io.flow.internal.v0.models.CheckoutAnalyticsPaymentOnline;
21520
21639
  type CheckoutConfirmationDetails = io.flow.internal.v0.models.CheckoutDirectDebit;
21521
21640
  type CheckoutCreateAuthorizationDetailsResponse = io.flow.internal.v0.models.CheckoutCreateAuthorizationDetailsResponseError | io.flow.internal.v0.models.CheckoutCreateAuthorizationDetailsResponseSuccess;
21641
+ type CheckoutCreateBySessionByOrderResponse = io.flow.internal.v0.models.CheckoutCreateBySessionByOrderResponseError | io.flow.internal.v0.models.CheckoutCreateBySessionByOrderResponseSuccess;
21522
21642
  type CheckoutCreateBySessionResponse = io.flow.internal.v0.models.CheckoutCreateBySessionResponseError | io.flow.internal.v0.models.CheckoutCreateBySessionResponseSuccess;
21523
21643
  type CheckoutDeliveryWindow = io.flow.internal.v0.models.CheckoutDeliveryWindowStatic | io.flow.internal.v0.models.CheckoutDeliveryWindowEstimate;
21524
21644
  type CheckoutFeaturesResponse = io.flow.internal.v0.models.CheckoutFeaturesResponseError | io.flow.internal.v0.models.CheckoutFeaturesResponseSuccess;
21525
21645
  type CheckoutForm = io.flow.internal.v0.models.CheckoutOrderForm | io.flow.internal.v0.models.CheckoutOrderNumberForm;
21526
21646
  type CheckoutGetResponse = io.flow.internal.v0.models.CheckoutGetResponseError | io.flow.internal.v0.models.CheckoutGetResponseSuccess;
21527
- type CheckoutInfo = io.flow.internal.v0.models.CheckoutInfoAddressConfigurationFormData | io.flow.internal.v0.models.CheckoutInfoAddressPredictions | io.flow.internal.v0.models.CheckoutInfoAnalyticsOrder | io.flow.internal.v0.models.CheckoutInfoAnalyticsSession | io.flow.internal.v0.models.CheckoutInfoContent | io.flow.internal.v0.models.CheckoutInfoCountriesFormData | io.flow.internal.v0.models.CheckoutInfoDeliveriesFormData | io.flow.internal.v0.models.CheckoutInfoHostedConfirmationPage | io.flow.internal.v0.models.CheckoutInfoMustUseOrder | io.flow.internal.v0.models.CheckoutInfoNationalIdNumberConfigurationFormData | io.flow.internal.v0.models.CheckoutInfoOptins | io.flow.internal.v0.models.CheckoutInfoOrderSummary | io.flow.internal.v0.models.CheckoutInfoPaymentDetails | io.flow.internal.v0.models.CheckoutInfoPaymentsFormData | io.flow.internal.v0.models.CheckoutInfoPublicKey;
21647
+ type CheckoutInfo = io.flow.internal.v0.models.CheckoutInfoAddressConfigurationFormData | io.flow.internal.v0.models.CheckoutInfoAddressPredictions | io.flow.internal.v0.models.CheckoutInfoAnalyticsOrder | io.flow.internal.v0.models.CheckoutInfoAnalyticsSession | io.flow.internal.v0.models.CheckoutInfoContent | io.flow.internal.v0.models.CheckoutInfoCountriesFormData | io.flow.internal.v0.models.CheckoutInfoDeliveriesFormData | io.flow.internal.v0.models.CheckoutInfoHostedConfirmationPage | io.flow.internal.v0.models.CheckoutInfoMustUseOrder | io.flow.internal.v0.models.CheckoutInfoNationalIdNumberConfigurationFormData | io.flow.internal.v0.models.CheckoutInfoOptins | io.flow.internal.v0.models.CheckoutInfoOrderSummary | io.flow.internal.v0.models.CheckoutInfoPaymentDetails | io.flow.internal.v0.models.CheckoutInfoPaymentsFormData | io.flow.internal.v0.models.CheckoutInfoPublicKey | io.flow.internal.v0.models.CheckoutInfoTranslations;
21528
21648
  type CheckoutInitiatePaymentForm = io.flow.internal.v0.models.CheckoutInitiateRedirectPaymentForm | io.flow.internal.v0.models.CheckoutInitiateInlinePaymentForm | io.flow.internal.v0.models.CheckoutInitiateDirectPaymentForm;
21529
21649
  type CheckoutInput = io.flow.internal.v0.models.CheckoutInputAddAttributes | io.flow.internal.v0.models.CheckoutInputDeleteAddressStreet | io.flow.internal.v0.models.CheckoutInputSetAddressCity | io.flow.internal.v0.models.CheckoutInputSetAddressCompany | io.flow.internal.v0.models.CheckoutInputSetAddressCountry | io.flow.internal.v0.models.CheckoutInputSetAddressFirstName | io.flow.internal.v0.models.CheckoutInputSetAddressLastName | io.flow.internal.v0.models.CheckoutInputSetAddressName | io.flow.internal.v0.models.CheckoutInputSetAddressPostal | io.flow.internal.v0.models.CheckoutInputSetAddressProvince | io.flow.internal.v0.models.CheckoutInputSetAddressStreet | io.flow.internal.v0.models.CheckoutInputSetAttributes | io.flow.internal.v0.models.CheckoutInputSetContactEmail | io.flow.internal.v0.models.CheckoutInputSetContactPhone | io.flow.internal.v0.models.CheckoutInputSetCurrency | io.flow.internal.v0.models.CheckoutInputSetDeliveryOption | io.flow.internal.v0.models.CheckoutInputSetLanguage | io.flow.internal.v0.models.CheckoutInputSetLocale | io.flow.internal.v0.models.CheckoutInputSetNationalIdNumber | io.flow.internal.v0.models.CheckoutInputSetOptinPrompt;
21530
21650
  type CheckoutOrder = io.flow.internal.v0.models.CheckoutOpenOrder | io.flow.internal.v0.models.CheckoutSubmittedOrder;
@@ -21535,8 +21655,8 @@ declare namespace io.flow.internal.v0.unions {
21535
21655
  type CheckoutPaymentActionRequirement = io.flow.internal.v0.models.CheckoutRedirectAuthorizationRequirement | io.flow.internal.v0.models.CheckoutInlineAuthorizationRequirement | io.flow.internal.v0.models.CheckoutDirectAuthorizationRequirement;
21536
21656
  type CheckoutPaymentDetailsForm = io.flow.internal.v0.models.CheckoutPaypalAuthorizationPayload | io.flow.internal.v0.models.CheckoutGooglePayAuthorizationPayload | io.flow.internal.v0.models.CheckoutCreditPaymentPayload;
21537
21657
  type CheckoutPrice = io.flow.internal.v0.models.CheckoutPriceFree | io.flow.internal.v0.models.CheckoutPriceNotYetKnown | io.flow.internal.v0.models.CheckoutPriceIncluded | io.flow.internal.v0.models.CheckoutPriceStandard | io.flow.internal.v0.models.CheckoutPriceEstimated;
21538
- type CheckoutRequestForm = io.flow.internal.v0.models.CheckoutCreateAuthorizationDetailsRequestForm | io.flow.internal.v0.models.CheckoutCreateBySessionRequestForm | io.flow.internal.v0.models.CheckoutFeaturesRequestForm | io.flow.internal.v0.models.CheckoutGetRequestForm;
21539
- type CheckoutResponse = io.flow.internal.v0.models.CheckoutCreateAuthorizationDetailsResponseError | io.flow.internal.v0.models.CheckoutCreateAuthorizationDetailsResponseSuccess | io.flow.internal.v0.models.CheckoutCreateBySessionResponseError | io.flow.internal.v0.models.CheckoutCreateBySessionResponseSuccess | io.flow.internal.v0.models.CheckoutFeaturesResponseError | io.flow.internal.v0.models.CheckoutFeaturesResponseSuccess | io.flow.internal.v0.models.CheckoutGetResponseError | io.flow.internal.v0.models.CheckoutGetResponseSuccess;
21658
+ type CheckoutRequestForm = io.flow.internal.v0.models.CheckoutCreateAuthorizationDetailsRequestForm | io.flow.internal.v0.models.CheckoutCreateBySessionByOrderRequestForm | io.flow.internal.v0.models.CheckoutCreateBySessionRequestForm | io.flow.internal.v0.models.CheckoutFeaturesRequestForm | io.flow.internal.v0.models.CheckoutGetRequestForm;
21659
+ type CheckoutResponse = io.flow.internal.v0.models.CheckoutCreateAuthorizationDetailsResponseError | io.flow.internal.v0.models.CheckoutCreateAuthorizationDetailsResponseSuccess | io.flow.internal.v0.models.CheckoutCreateBySessionByOrderResponseError | io.flow.internal.v0.models.CheckoutCreateBySessionByOrderResponseSuccess | io.flow.internal.v0.models.CheckoutCreateBySessionResponseError | io.flow.internal.v0.models.CheckoutCreateBySessionResponseSuccess | io.flow.internal.v0.models.CheckoutFeaturesResponseError | io.flow.internal.v0.models.CheckoutFeaturesResponseSuccess | io.flow.internal.v0.models.CheckoutGetResponseError | io.flow.internal.v0.models.CheckoutGetResponseSuccess;
21540
21660
  type CheckoutSequencedAddAuthorizationResponse = io.flow.internal.v0.models.CheckoutSequencedAddAuthorizationResponseError | io.flow.internal.v0.models.CheckoutSequencedAddAuthorizationResponseSuccess;
21541
21661
  type CheckoutSequencedAddGiftCardAndPromotionCodeResponse = io.flow.internal.v0.models.CheckoutSequencedAddGiftCardAndPromotionCodeResponseError;
21542
21662
  type CheckoutSequencedAddGiftCardResponse = io.flow.internal.v0.models.CheckoutSequencedAddGiftCardResponseError;
@@ -21595,6 +21715,8 @@ declare namespace io.flow.internal.v0.unions {
21595
21715
  type FeatureRuleForm = io.flow.internal.v0.models.BooleanFeatureRuleForm | io.flow.internal.v0.models.StringFeatureRuleForm;
21596
21716
  type FeatureTaskData = io.flow.internal.v0.models.FeatureTaskDataSyncFeature | io.flow.internal.v0.models.FeatureTaskDataSyncOrganization;
21597
21717
  type FeatureValue = io.flow.internal.v0.models.BooleanFeatureValue | io.flow.internal.v0.models.StringFeatureValue;
21718
+ type FraudProviderConfiguration = io.flow.internal.v0.models.FraudProviderConfigurationRiskified;
21719
+ type FraudProviderConfigurationForm = io.flow.internal.v0.models.FraudProviderConfigurationFormRiskified;
21598
21720
  type GlobalSearchResult = io.flow.internal.v0.models.SearchExperienceSummary | io.flow.internal.v0.models.SearchExperimentSummary | io.flow.internal.v0.models.SearchOrderSummary | io.flow.internal.v0.models.SearchItemSummary;
21599
21721
  type HeapEvent = io.flow.internal.v0.models.HeapAddressPredictionClick | io.flow.internal.v0.models.HeapAfterpayPopupOpened | io.flow.internal.v0.models.HeapAfterpayPopupClosed | io.flow.internal.v0.models.HeapAuthorizationDeclined | io.flow.internal.v0.models.HeapAuthorizationError | io.flow.internal.v0.models.HeapCardError | io.flow.internal.v0.models.HeapCheckoutProgress | io.flow.internal.v0.models.HeapCheckoutStarted | io.flow.internal.v0.models.HeapContinueClick | io.flow.internal.v0.models.HeapDeliveryFormDataReceived | io.flow.internal.v0.models.HeapDeliveryFormDataTimeout | io.flow.internal.v0.models.HeapDeliveryOptionCount | io.flow.internal.v0.models.HeapDeliveryOptionSelected | io.flow.internal.v0.models.HeapExitCheckout | io.flow.internal.v0.models.HeapFieldBlur | io.flow.internal.v0.models.HeapFieldErrorTooltipShown | io.flow.internal.v0.models.HeapFieldFocus | io.flow.internal.v0.models.HeapFieldValidation | io.flow.internal.v0.models.HeapGiftCardApply | io.flow.internal.v0.models.HeapGiftCardOpen | io.flow.internal.v0.models.HeapGiftCardWithPin | io.flow.internal.v0.models.HeapOptinPromptDeselected | io.flow.internal.v0.models.HeapOptinPromptSelected | io.flow.internal.v0.models.HeapOrderSummaryClose | io.flow.internal.v0.models.HeapOrderSummaryOpen | io.flow.internal.v0.models.HeapPayClick | io.flow.internal.v0.models.HeapPaymentFormDataReceived | io.flow.internal.v0.models.HeapPaymentFormDataTimeout | io.flow.internal.v0.models.HeapPaymentMethodSelected | io.flow.internal.v0.models.HeapPerformance | io.flow.internal.v0.models.HeapPromoCodeApply | io.flow.internal.v0.models.HeapPromoCodeError | io.flow.internal.v0.models.HeapPromoCodeOpen | io.flow.internal.v0.models.HeapPurchase | io.flow.internal.v0.models.HeapRageClick | io.flow.internal.v0.models.HeapScriptError | io.flow.internal.v0.models.HeapSequencedError | io.flow.internal.v0.models.HeapSequencedTiming | io.flow.internal.v0.models.HeapSplitLoaded | io.flow.internal.v0.models.HeapSplitTimeout | io.flow.internal.v0.models.HeapStartCheckout | io.flow.internal.v0.models.HeapStreamError | io.flow.internal.v0.models.HeapSubmitError | io.flow.internal.v0.models.HeapWebsocketClose | io.flow.internal.v0.models.HeapWebsocketError | io.flow.internal.v0.models.HeapWebsocketGiveUp | io.flow.internal.v0.models.HeapWebsocketOpen | io.flow.internal.v0.models.HeapWebsocketRequest | io.flow.internal.v0.models.HeapWebsocketResponse | io.flow.internal.v0.models.HeapWebsocketRetry;
21600
21722
  type IndexTaskType = io.flow.internal.v0.models.CatalogItemIndexTask | io.flow.internal.v0.models.CatalogItemBatchIndexTask | io.flow.internal.v0.models.CatalogItemDeleteIndexTask | io.flow.internal.v0.models.ChangeSettingsIndexTask | io.flow.internal.v0.models.DeleteIndexTask;
@@ -21885,7 +22007,10 @@ export declare type CheckoutCreateAuthorizationError = io.flow.internal.v0.model
21885
22007
  export declare type CheckoutCreateAuthorizationErrorCode = io.flow.internal.v0.enums.CheckoutCreateAuthorizationErrorCode;
21886
22008
  export declare type CheckoutCreateBySessionByOrderError = io.flow.internal.v0.models.CheckoutCreateBySessionByOrderError;
21887
22009
  export declare type CheckoutCreateBySessionByOrderErrorCode = io.flow.internal.v0.enums.CheckoutCreateBySessionByOrderErrorCode;
22010
+ export declare type CheckoutCreateBySessionByOrderRequestForm = io.flow.internal.v0.models.CheckoutCreateBySessionByOrderRequestForm;
22011
+ export declare type CheckoutCreateBySessionByOrderResponse = io.flow.internal.v0.unions.CheckoutCreateBySessionByOrderResponse;
21888
22012
  export declare type CheckoutCreateBySessionByOrderResponseError = io.flow.internal.v0.models.CheckoutCreateBySessionByOrderResponseError;
22013
+ export declare type CheckoutCreateBySessionByOrderResponseSuccess = io.flow.internal.v0.models.CheckoutCreateBySessionByOrderResponseSuccess;
21889
22014
  export declare type CheckoutCreateBySessionError = io.flow.internal.v0.models.CheckoutCreateBySessionError;
21890
22015
  export declare type CheckoutCreateBySessionErrorCode = io.flow.internal.v0.enums.CheckoutCreateBySessionErrorCode;
21891
22016
  export declare type CheckoutCreateBySessionRequestForm = io.flow.internal.v0.models.CheckoutCreateBySessionRequestForm;
@@ -21969,6 +22094,9 @@ export declare type CheckoutInfoPaymentsFormData = io.flow.internal.v0.models.Ch
21969
22094
  export declare type CheckoutInfoPaymentsFormDataKey = io.flow.internal.v0.models.CheckoutInfoPaymentsFormDataKey;
21970
22095
  export declare type CheckoutInfoPaymentsFormDataKeyField = io.flow.internal.v0.enums.CheckoutInfoPaymentsFormDataKeyField;
21971
22096
  export declare type CheckoutInfoPublicKey = io.flow.internal.v0.models.CheckoutInfoPublicKey;
22097
+ export declare type CheckoutInfoTranslations = io.flow.internal.v0.models.CheckoutInfoTranslations;
22098
+ export declare type CheckoutInfoTranslationsKey = io.flow.internal.v0.models.CheckoutInfoTranslationsKey;
22099
+ export declare type CheckoutInfoTranslationsKeyField = io.flow.internal.v0.enums.CheckoutInfoTranslationsKeyField;
21972
22100
  export declare type CheckoutInitiateDirectPaymentForm = io.flow.internal.v0.models.CheckoutInitiateDirectPaymentForm;
21973
22101
  export declare type CheckoutInitiateInlinePaymentForm = io.flow.internal.v0.models.CheckoutInitiateInlinePaymentForm;
21974
22102
  export declare type CheckoutInitiatePaymentError = io.flow.internal.v0.models.CheckoutInitiatePaymentError;
@@ -22397,6 +22525,7 @@ export declare type ExperimentVersion = io.flow.internal.v0.models.ExperimentVer
22397
22525
  export declare type ExplicitStatementDate = io.flow.internal.v0.models.ExplicitStatementDate;
22398
22526
  export declare type ExplicitStatementDateForm = io.flow.internal.v0.models.ExplicitStatementDateForm;
22399
22527
  export declare type ExportCompleted = io.flow.internal.v0.models.ExportCompleted;
22528
+ export declare type ExportContentType = io.flow.internal.v0.enums.ExportContentType;
22400
22529
  export declare type ExportFailed = io.flow.internal.v0.models.ExportFailed;
22401
22530
  export declare type ExportSchedule = io.flow.internal.v0.unions.ExportSchedule;
22402
22531
  export declare type ExportScheduleDaily = io.flow.internal.v0.models.ExportScheduleDaily;
@@ -22461,6 +22590,11 @@ export declare type FraudPendingReview = io.flow.internal.v0.models.FraudPending
22461
22590
  export declare type FraudPendingReviewDeleted = io.flow.internal.v0.models.FraudPendingReviewDeleted;
22462
22591
  export declare type FraudPendingReviewUpserted = io.flow.internal.v0.models.FraudPendingReviewUpserted;
22463
22592
  export declare type FraudProvider = io.flow.internal.v0.enums.FraudProvider;
22593
+ export declare type FraudProviderConfiguration = io.flow.internal.v0.unions.FraudProviderConfiguration;
22594
+ export declare type FraudProviderConfigurationForm = io.flow.internal.v0.unions.FraudProviderConfigurationForm;
22595
+ export declare type FraudProviderConfigurationFormRiskified = io.flow.internal.v0.models.FraudProviderConfigurationFormRiskified;
22596
+ export declare type FraudProviderConfigurationRiskified = io.flow.internal.v0.models.FraudProviderConfigurationRiskified;
22597
+ export declare type FraudProviderStatus = io.flow.internal.v0.enums.FraudProviderStatus;
22464
22598
  export declare type FraudReview = io.flow.internal.v0.models.FraudReview;
22465
22599
  export declare type FraudReviewDecision = io.flow.internal.v0.models.FraudReviewDecision;
22466
22600
  export declare type FraudReviewDecisionDeleted = io.flow.internal.v0.models.FraudReviewDecisionDeleted;
@@ -22669,6 +22803,7 @@ export declare type LocalizedItemSnapshot = io.flow.internal.v0.models.Localized
22669
22803
  export declare type LocalizedItemUpsertedV2 = io.flow.internal.v0.models.LocalizedItemUpsertedV2;
22670
22804
  export declare type LocalizedItemsExportSettings = io.flow.internal.v0.models.LocalizedItemsExportSettings;
22671
22805
  export declare type LocalizedPriceBookItem = io.flow.internal.v0.models.LocalizedPriceBookItem;
22806
+ export declare type LocalizedPriceBookItemData = io.flow.internal.v0.models.LocalizedPriceBookItemData;
22672
22807
  export declare type LocalizedPriceBookItemDeleted = io.flow.internal.v0.models.LocalizedPriceBookItemDeleted;
22673
22808
  export declare type LocalizedPriceBookItemUpserted = io.flow.internal.v0.models.LocalizedPriceBookItemUpserted;
22674
22809
  export declare type Location = io.flow.internal.v0.models.Location;
@@ -22681,6 +22816,9 @@ export declare type MagentoInstallForm = io.flow.internal.v0.models.MagentoInsta
22681
22816
  export declare type MainTransaction = io.flow.internal.v0.models.MainTransaction;
22682
22817
  export declare type MainTransactionDeleted = io.flow.internal.v0.models.MainTransactionDeleted;
22683
22818
  export declare type MainTransactionUpserted = io.flow.internal.v0.models.MainTransactionUpserted;
22819
+ export declare type ManualReviewRule = io.flow.internal.v0.models.ManualReviewRule;
22820
+ export declare type ManualReviewRuleForm = io.flow.internal.v0.models.ManualReviewRuleForm;
22821
+ export declare type ManualReviewRuleStatus = io.flow.internal.v0.enums.ManualReviewRuleStatus;
22684
22822
  export declare type ManualTransaction = io.flow.internal.v0.models.ManualTransaction;
22685
22823
  export declare type ManualTransactionForm = io.flow.internal.v0.models.ManualTransactionForm;
22686
22824
  export declare type MarketingGatewayAccountConnectionStatus = io.flow.internal.v0.enums.MarketingGatewayAccountConnectionStatus;
package/dist/api.d.ts CHANGED
@@ -1041,8 +1041,8 @@ declare namespace io.flow.v0.models {
1041
1041
  interface ActionCapture {
1042
1042
  readonly type: 'capture';
1043
1043
  readonly expires_at?: string;
1044
- readonly amount_awaiting_capture?: number;
1045
- readonly currency?: string;
1044
+ readonly amount_awaiting_capture: number;
1045
+ readonly currency: string;
1046
1046
  }
1047
1047
  interface ActionDisplayInlineWindow {
1048
1048
  readonly type: 'display_inline_window';
@@ -1347,11 +1347,11 @@ declare namespace io.flow.v0.models {
1347
1347
  }
1348
1348
  interface AuthorizationActionResultAdyenV3 {
1349
1349
  readonly type: 'adyen_v3';
1350
- readonly details: any;
1350
+ readonly result: any;
1351
1351
  }
1352
1352
  interface AuthorizationActionResultAdyenV4 {
1353
1353
  readonly type: 'adyen_v4';
1354
- readonly details: any;
1354
+ readonly result: any;
1355
1355
  }
1356
1356
  interface AuthorizationCopyForm {
1357
1357
  readonly discriminator: 'authorization_copy_form';
@@ -5340,6 +5340,10 @@ declare namespace io.flow.v0.models {
5340
5340
  interface PasswordResetRequestForm {
5341
5341
  readonly email: string;
5342
5342
  }
5343
+ interface PaymentAddress {
5344
+ readonly contact: io.flow.v0.models.Contact;
5345
+ readonly location: io.flow.v0.models.Address;
5346
+ }
5343
5347
  interface PaymentAuthorization {
5344
5348
  readonly id: string;
5345
5349
  readonly payment_method_summary: io.flow.v0.unions.PaymentMethodSummary;
@@ -5349,6 +5353,8 @@ declare namespace io.flow.v0.models {
5349
5353
  readonly created_at: string;
5350
5354
  readonly updated_at: string;
5351
5355
  readonly status: io.flow.v0.models.PaymentAuthorizationStatus;
5356
+ readonly amount: number;
5357
+ readonly currency: string;
5352
5358
  }
5353
5359
  interface PaymentAuthorizationStatus {
5354
5360
  readonly status: io.flow.v0.enums.AuthorizationStatus;
@@ -5591,15 +5597,15 @@ declare namespace io.flow.v0.models {
5591
5597
  }
5592
5598
  interface PaymentRequest {
5593
5599
  readonly id: string;
5594
- readonly status: io.flow.v0.models.PaymentRequestStatus;
5600
+ readonly status: io.flow.v0.enums.PaymentStatus;
5595
5601
  readonly last_payment_failure?: io.flow.v0.models.PaymentFailure;
5596
5602
  readonly next_action?: io.flow.v0.unions.Action;
5597
5603
  readonly amount: number;
5598
5604
  readonly amount_refundable?: number;
5599
5605
  readonly currency: string;
5600
5606
  readonly order_details: io.flow.v0.models.OrderDetails;
5601
- readonly customer?: io.flow.v0.models.OrderCustomer;
5602
- readonly shipping_address?: io.flow.v0.models.ShippingAddress;
5607
+ readonly billing_address?: io.flow.v0.models.PaymentAddress;
5608
+ readonly shipping_address?: io.flow.v0.models.PaymentAddress;
5603
5609
  readonly ip?: string;
5604
5610
  readonly return_url: string;
5605
5611
  readonly attributes?: Record<string, string>;
@@ -5610,18 +5616,14 @@ declare namespace io.flow.v0.models {
5610
5616
  readonly amount: number;
5611
5617
  readonly currency: string;
5612
5618
  readonly order_details: io.flow.v0.models.OrderDetails;
5613
- readonly customer?: io.flow.v0.models.OrderCustomer;
5614
- readonly shipping_address?: io.flow.v0.models.ShippingAddress;
5619
+ readonly billing_address?: io.flow.v0.models.PaymentAddress;
5620
+ readonly shipping_address?: io.flow.v0.models.PaymentAddress;
5615
5621
  readonly ip?: string;
5616
5622
  readonly return_url: string;
5617
5623
  readonly attributes?: Record<string, string>;
5618
5624
  readonly reference?: string;
5619
5625
  readonly payment_method_data?: io.flow.v0.unions.PaymentMethodData;
5620
5626
  }
5621
- interface PaymentRequestStatus {
5622
- readonly status: io.flow.v0.enums.PaymentStatus;
5623
- readonly reason?: string;
5624
- }
5625
5627
  interface PaymentReversal {
5626
5628
  readonly id: string;
5627
5629
  readonly amount: number;
@@ -8877,6 +8879,7 @@ export declare type PasswordChangeForm = io.flow.v0.models.PasswordChangeForm;
8877
8879
  export declare type PasswordResetForm = io.flow.v0.models.PasswordResetForm;
8878
8880
  export declare type PasswordResetRequestForm = io.flow.v0.models.PasswordResetRequestForm;
8879
8881
  export declare type Payment = io.flow.v0.unions.Payment;
8882
+ export declare type PaymentAddress = io.flow.v0.models.PaymentAddress;
8880
8883
  export declare type PaymentAuthorization = io.flow.v0.models.PaymentAuthorization;
8881
8884
  export declare type PaymentAuthorizationStatus = io.flow.v0.models.PaymentAuthorizationStatus;
8882
8885
  export declare type PaymentCapture = io.flow.v0.models.PaymentCapture;
@@ -8937,7 +8940,6 @@ export declare type PaymentRefundForm = io.flow.v0.models.PaymentRefundForm;
8937
8940
  export declare type PaymentRefundStatus = io.flow.v0.models.PaymentRefundStatus;
8938
8941
  export declare type PaymentRequest = io.flow.v0.models.PaymentRequest;
8939
8942
  export declare type PaymentRequestForm = io.flow.v0.models.PaymentRequestForm;
8940
- export declare type PaymentRequestStatus = io.flow.v0.models.PaymentRequestStatus;
8941
8943
  export declare type PaymentReversal = io.flow.v0.models.PaymentReversal;
8942
8944
  export declare type PaymentReversalForm = io.flow.v0.models.PaymentReversalForm;
8943
8945
  export declare type PaymentReversalStatus = io.flow.v0.models.PaymentReversalStatus;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flowio/types",
3
- "version": "11.15.0",
3
+ "version": "11.15.2",
4
4
  "description": "TypeScript type definitions for custom types found in Flow API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -25,5 +25,5 @@
25
25
  "maintainers": [
26
26
  "Christian Muñoz <christian.munoz@flow.io>"
27
27
  ],
28
- "gitHead": "a4321688f5d9b572fdb67816ecbbfb830b2a5ea0"
28
+ "gitHead": "de096f16a03eb9ee19da8f28f9c85a721d809abd"
29
29
  }
@@ -5321,6 +5321,14 @@ declare namespace io.flow.adyen.v0.models {
5321
5321
  readonly paymentData?: string;
5322
5322
  }
5323
5323
 
5324
+ interface PaymentDetailsV663Ds2Challenge {
5325
+ readonly 'threeds2.challengeResult': string;
5326
+ }
5327
+
5328
+ interface PaymentDetailsV663Ds2Fingerprint {
5329
+ readonly 'threeds2.fingerprint': string;
5330
+ }
5331
+
5324
5332
  interface PaymentRequest {
5325
5333
  readonly reference: string;
5326
5334
  readonly merchantAccount: string;
@@ -5398,6 +5406,15 @@ declare namespace io.flow.adyen.v0.models {
5398
5406
  readonly cvc?: string;
5399
5407
  }
5400
5408
 
5409
+ interface SdkV3OnCompleteData {
5410
+ readonly details: any /*object*/;
5411
+ readonly payment_data?: string;
5412
+ }
5413
+
5414
+ interface SdkV3OnCompleteResult {
5415
+ readonly data: io.flow.adyen.v0.models.SdkV3OnCompleteData;
5416
+ }
5417
+
5401
5418
  interface ThreeDSecureData {
5402
5419
  readonly authenticationResponse?: string;
5403
5420
  readonly cavv?: string;
@@ -7904,7 +7921,9 @@ declare namespace io.flow.fraud.internal.v0.enums {
7904
7921
  | 'rps'
7905
7922
  | 'other'
7906
7923
  | 'none';
7924
+ type FraudProviderStatus = 'active' | 'archived';
7907
7925
  type FraudReviewResponsibleParty = 'flow' | 'organization';
7926
+ type ManualReviewRuleStatus = 'active' | 'archived';
7908
7927
  type RiskEvaluation = 'pending' | 'high' | 'low' | 'restricted' | 'none';
7909
7928
  }
7910
7929
 
@@ -7927,6 +7946,19 @@ declare namespace io.flow.fraud.internal.v0.models {
7927
7946
  readonly liability?: io.flow.fraud.v0.enums.FraudLiability;
7928
7947
  }
7929
7948
 
7949
+ interface FraudProviderConfigurationFormRiskified {
7950
+ readonly discriminator: 'riskified';
7951
+ readonly external_id: string;
7952
+ readonly status: io.flow.fraud.internal.v0.enums.FraudProviderStatus;
7953
+ }
7954
+
7955
+ interface FraudProviderConfigurationRiskified {
7956
+ readonly discriminator: 'riskified';
7957
+ readonly key: string;
7958
+ readonly external_id: string;
7959
+ readonly status: io.flow.fraud.internal.v0.enums.FraudProviderStatus;
7960
+ }
7961
+
7930
7962
  interface FraudReview {
7931
7963
  readonly id: string;
7932
7964
  readonly organization_id: string;
@@ -7961,11 +7993,29 @@ declare namespace io.flow.fraud.internal.v0.models {
7961
7993
  readonly fraud_review: io.flow.fraud.internal.v0.models.FraudReview;
7962
7994
  }
7963
7995
 
7996
+ interface ManualReviewRule {
7997
+ readonly responsible_party: io.flow.fraud.internal.v0.enums.FraudReviewResponsibleParty;
7998
+ readonly status: io.flow.fraud.internal.v0.enums.ManualReviewRuleStatus;
7999
+ readonly duration: io.flow.common.v0.models.Duration;
8000
+ readonly emails: string[];
8001
+ }
8002
+
8003
+ interface ManualReviewRuleForm {
8004
+ readonly status: io.flow.fraud.internal.v0.enums.ManualReviewRuleStatus;
8005
+ readonly duration: io.flow.common.v0.models.Duration;
8006
+ readonly emails: string[];
8007
+ }
8008
+
7964
8009
  interface Notification {
7965
8010
  readonly order: io.flow.fraud.internal.v0.models.Decision;
7966
8011
  }
7967
8012
  }
7968
8013
 
8014
+ declare namespace io.flow.fraud.internal.v0.unions {
8015
+ type FraudProviderConfiguration = io.flow.fraud.internal.v0.models.FraudProviderConfigurationRiskified;
8016
+ type FraudProviderConfigurationForm = io.flow.fraud.internal.v0.models.FraudProviderConfigurationFormRiskified;
8017
+ }
8018
+
7969
8019
  declare namespace io.flow.common.v0.enums {
7970
8020
  type AttributeDataType =
7971
8021
  | 'boolean'
@@ -13702,8 +13752,8 @@ declare namespace io.flow.checkout.protocol.v0.enums {
13702
13752
  type CheckoutCreateBySessionByOrderErrorCode =
13703
13753
  | 'session_not_found'
13704
13754
  | 'session_experience_required'
13705
- | 'country_not_supported'
13706
- | 'order_not_found';
13755
+ | 'order_not_found'
13756
+ | 'country_not_supported';
13707
13757
  type CheckoutCreateBySessionErrorCode =
13708
13758
  | 'session_not_found'
13709
13759
  | 'session_experience_required'
@@ -13745,6 +13795,7 @@ declare namespace io.flow.checkout.protocol.v0.enums {
13745
13795
  | 'value'
13746
13796
  | 'currency'
13747
13797
  | 'shipping_country';
13798
+ type CheckoutInfoTranslationsKeyField = 'locale';
13748
13799
  type CheckoutInitiatePaymentErrorCode =
13749
13800
  | 'payment_failed'
13750
13801
  | 'authorization_form_not_supported'
@@ -13946,10 +13997,22 @@ declare namespace io.flow.checkout.protocol.v0.models {
13946
13997
  readonly message: string;
13947
13998
  }
13948
13999
 
14000
+ interface CheckoutCreateBySessionByOrderRequestForm {
14001
+ readonly discriminator: 'checkout_create_by_session_by_order_request_form';
14002
+ readonly session_id: string;
14003
+ readonly order_number: string;
14004
+ }
14005
+
13949
14006
  interface CheckoutCreateBySessionByOrderResponseError {
14007
+ readonly discriminator: 'checkout_create_by_session_by_order_response_error';
13950
14008
  readonly errors: io.flow.checkout.protocol.v0.models.CheckoutCreateBySessionByOrderError[];
13951
14009
  }
13952
14010
 
14011
+ interface CheckoutCreateBySessionByOrderResponseSuccess {
14012
+ readonly discriminator: 'checkout_create_by_session_by_order_response_success';
14013
+ readonly checkout: io.flow.checkout.backend.v0.models.V2Checkout;
14014
+ }
14015
+
13953
14016
  interface CheckoutCreateBySessionError {
13954
14017
  readonly code: io.flow.checkout.protocol.v0.enums.CheckoutCreateBySessionErrorCode;
13955
14018
  readonly message: string;
@@ -14167,6 +14230,17 @@ declare namespace io.flow.checkout.protocol.v0.models {
14167
14230
  readonly data: io.flow.payment.v0.models.PublicKey;
14168
14231
  }
14169
14232
 
14233
+ interface CheckoutInfoTranslations {
14234
+ readonly discriminator: 'checkout_info_translations';
14235
+ readonly key: io.flow.checkout.protocol.v0.models.CheckoutInfoTranslationsKey[];
14236
+ readonly data: any /*object*/;
14237
+ }
14238
+
14239
+ interface CheckoutInfoTranslationsKey {
14240
+ readonly field: io.flow.checkout.protocol.v0.enums.CheckoutInfoTranslationsKeyField;
14241
+ readonly value: string;
14242
+ }
14243
+
14170
14244
  interface CheckoutInitiatePaymentError {
14171
14245
  readonly code: io.flow.checkout.protocol.v0.enums.CheckoutInitiatePaymentErrorCode;
14172
14246
  readonly message: string;
@@ -14826,6 +14900,9 @@ declare namespace io.flow.checkout.protocol.v0.unions {
14826
14900
  type CheckoutCreateAuthorizationDetailsResponse =
14827
14901
  | io.flow.checkout.protocol.v0.models.CheckoutCreateAuthorizationDetailsResponseError
14828
14902
  | io.flow.checkout.protocol.v0.models.CheckoutCreateAuthorizationDetailsResponseSuccess;
14903
+ type CheckoutCreateBySessionByOrderResponse =
14904
+ | io.flow.checkout.protocol.v0.models.CheckoutCreateBySessionByOrderResponseError
14905
+ | io.flow.checkout.protocol.v0.models.CheckoutCreateBySessionByOrderResponseSuccess;
14829
14906
  type CheckoutCreateBySessionResponse =
14830
14907
  | io.flow.checkout.protocol.v0.models.CheckoutCreateBySessionResponseError
14831
14908
  | io.flow.checkout.protocol.v0.models.CheckoutCreateBySessionResponseSuccess;
@@ -14850,7 +14927,8 @@ declare namespace io.flow.checkout.protocol.v0.unions {
14850
14927
  | io.flow.checkout.protocol.v0.models.CheckoutInfoOrderSummary
14851
14928
  | io.flow.checkout.protocol.v0.models.CheckoutInfoPaymentDetails
14852
14929
  | io.flow.checkout.protocol.v0.models.CheckoutInfoPaymentsFormData
14853
- | io.flow.checkout.protocol.v0.models.CheckoutInfoPublicKey;
14930
+ | io.flow.checkout.protocol.v0.models.CheckoutInfoPublicKey
14931
+ | io.flow.checkout.protocol.v0.models.CheckoutInfoTranslations;
14854
14932
  type CheckoutInput =
14855
14933
  | io.flow.checkout.protocol.v0.models.CheckoutInputAddAttributes
14856
14934
  | io.flow.checkout.protocol.v0.models.CheckoutInputDeleteAddressStreet
@@ -14874,12 +14952,15 @@ declare namespace io.flow.checkout.protocol.v0.unions {
14874
14952
  | io.flow.checkout.protocol.v0.models.CheckoutInputSetOptinPrompt;
14875
14953
  type CheckoutRequestForm =
14876
14954
  | io.flow.checkout.protocol.v0.models.CheckoutCreateAuthorizationDetailsRequestForm
14955
+ | io.flow.checkout.protocol.v0.models.CheckoutCreateBySessionByOrderRequestForm
14877
14956
  | io.flow.checkout.protocol.v0.models.CheckoutCreateBySessionRequestForm
14878
14957
  | io.flow.checkout.protocol.v0.models.CheckoutFeaturesRequestForm
14879
14958
  | io.flow.checkout.protocol.v0.models.CheckoutGetRequestForm;
14880
14959
  type CheckoutResponse =
14881
14960
  | io.flow.checkout.protocol.v0.models.CheckoutCreateAuthorizationDetailsResponseError
14882
14961
  | io.flow.checkout.protocol.v0.models.CheckoutCreateAuthorizationDetailsResponseSuccess
14962
+ | io.flow.checkout.protocol.v0.models.CheckoutCreateBySessionByOrderResponseError
14963
+ | io.flow.checkout.protocol.v0.models.CheckoutCreateBySessionByOrderResponseSuccess
14883
14964
  | io.flow.checkout.protocol.v0.models.CheckoutCreateBySessionResponseError
14884
14965
  | io.flow.checkout.protocol.v0.models.CheckoutCreateBySessionResponseSuccess
14885
14966
  | io.flow.checkout.protocol.v0.models.CheckoutFeaturesResponseError
@@ -18179,8 +18260,8 @@ declare namespace io.flow.internal.v0.enums {
18179
18260
  type CheckoutCreateBySessionByOrderErrorCode =
18180
18261
  | 'session_not_found'
18181
18262
  | 'session_experience_required'
18182
- | 'country_not_supported'
18183
- | 'order_not_found';
18263
+ | 'order_not_found'
18264
+ | 'country_not_supported';
18184
18265
  type CheckoutCreateBySessionErrorCode =
18185
18266
  | 'session_not_found'
18186
18267
  | 'session_experience_required'
@@ -18238,6 +18319,7 @@ declare namespace io.flow.internal.v0.enums {
18238
18319
  | 'value'
18239
18320
  | 'currency'
18240
18321
  | 'shipping_country';
18322
+ type CheckoutInfoTranslationsKeyField = 'locale';
18241
18323
  type CheckoutInitiatePaymentErrorCode =
18242
18324
  | 'payment_failed'
18243
18325
  | 'authorization_form_not_supported'
@@ -18596,6 +18678,7 @@ declare namespace io.flow.internal.v0.enums {
18596
18678
  type ExperienceOrderAction = 'submit' | 'refund_gift_cards';
18597
18679
  type ExperienceOrderActionTrigger = 'zero_balance' | 'unsubmitted_order';
18598
18680
  type ExperimentDiscriminatorKey = 'experience' | 'feature';
18681
+ type ExportContentType = 'item' | 'price_book_item';
18599
18682
  type FeatureScope = 'global' | 'organization';
18600
18683
  type FeatureStatus = 'draft' | 'active' | 'archived';
18601
18684
  type FeatureType = 'boolean' | 'decimal' | 'string';
@@ -18608,6 +18691,7 @@ declare namespace io.flow.internal.v0.enums {
18608
18691
  | 'rps'
18609
18692
  | 'other'
18610
18693
  | 'none';
18694
+ type FraudProviderStatus = 'active' | 'archived';
18611
18695
  type FraudReviewResponsibleParty = 'flow' | 'organization';
18612
18696
  type FtpIntent =
18613
18697
  | 'orders_from_flow'
@@ -18644,6 +18728,7 @@ declare namespace io.flow.internal.v0.enums {
18644
18728
  | 'low_value_goods_tax'
18645
18729
  | 'high_value_goods_tax'
18646
18730
  | 'duties';
18731
+ type ManualReviewRuleStatus = 'active' | 'archived';
18647
18732
  type MarketingGatewayAccountConnectionStatus =
18648
18733
  | 'not_connected'
18649
18734
  | 'connecting'
@@ -19810,14 +19895,14 @@ declare namespace io.flow.internal.v0.models {
19810
19895
  readonly carrier: io.flow.fulfillment.v0.models.CarrierReference;
19811
19896
  readonly credentials: io.flow.tracking.internal.v0.unions.CarrierCredentials;
19812
19897
  readonly q?: string;
19813
- readonly position?: number;
19898
+ readonly position: number;
19814
19899
  }
19815
19900
 
19816
19901
  interface CarrierAccountForm {
19817
19902
  readonly carrier_id: string;
19818
19903
  readonly credentials: io.flow.tracking.internal.v0.unions.CarrierCredentials;
19819
19904
  readonly q?: string;
19820
- readonly position?: number;
19905
+ readonly position: number;
19821
19906
  }
19822
19907
 
19823
19908
  interface CarrierAccountUpserted {
@@ -20276,10 +20361,22 @@ declare namespace io.flow.internal.v0.models {
20276
20361
  readonly message: string;
20277
20362
  }
20278
20363
 
20364
+ interface CheckoutCreateBySessionByOrderRequestForm {
20365
+ readonly discriminator: 'checkout_create_by_session_by_order_request_form';
20366
+ readonly session_id: string;
20367
+ readonly order_number: string;
20368
+ }
20369
+
20279
20370
  interface CheckoutCreateBySessionByOrderResponseError {
20371
+ readonly discriminator: 'checkout_create_by_session_by_order_response_error';
20280
20372
  readonly errors: io.flow.internal.v0.models.CheckoutCreateBySessionByOrderError[];
20281
20373
  }
20282
20374
 
20375
+ interface CheckoutCreateBySessionByOrderResponseSuccess {
20376
+ readonly discriminator: 'checkout_create_by_session_by_order_response_success';
20377
+ readonly checkout: io.flow.checkout.backend.v0.models.V2Checkout;
20378
+ }
20379
+
20283
20380
  interface CheckoutCreateBySessionError {
20284
20381
  readonly code: io.flow.internal.v0.enums.CheckoutCreateBySessionErrorCode;
20285
20382
  readonly message: string;
@@ -20594,6 +20691,17 @@ declare namespace io.flow.internal.v0.models {
20594
20691
  readonly data: io.flow.payment.v0.models.PublicKey;
20595
20692
  }
20596
20693
 
20694
+ interface CheckoutInfoTranslations {
20695
+ readonly discriminator: 'checkout_info_translations';
20696
+ readonly key: io.flow.internal.v0.models.CheckoutInfoTranslationsKey[];
20697
+ readonly data: any /*object*/;
20698
+ }
20699
+
20700
+ interface CheckoutInfoTranslationsKey {
20701
+ readonly field: io.flow.internal.v0.enums.CheckoutInfoTranslationsKeyField;
20702
+ readonly value: string;
20703
+ }
20704
+
20597
20705
  interface CheckoutInitiateDirectPaymentForm {
20598
20706
  readonly discriminator: 'initiate_direct_payment_form';
20599
20707
  readonly token: string;
@@ -22975,6 +23083,19 @@ declare namespace io.flow.internal.v0.models {
22975
23083
  readonly fraud_pending_review: io.flow.fraud.internal.v0.models.FraudPendingReview;
22976
23084
  }
22977
23085
 
23086
+ interface FraudProviderConfigurationFormRiskified {
23087
+ readonly discriminator: 'riskified';
23088
+ readonly external_id: string;
23089
+ readonly status: io.flow.internal.v0.enums.FraudProviderStatus;
23090
+ }
23091
+
23092
+ interface FraudProviderConfigurationRiskified {
23093
+ readonly discriminator: 'riskified';
23094
+ readonly key: string;
23095
+ readonly external_id: string;
23096
+ readonly status: io.flow.internal.v0.enums.FraudProviderStatus;
23097
+ }
23098
+
22978
23099
  interface FraudReview {
22979
23100
  readonly id: string;
22980
23101
  readonly organization_id: string;
@@ -24621,6 +24742,7 @@ declare namespace io.flow.internal.v0.models {
24621
24742
  }
24622
24743
 
24623
24744
  interface LocalizedItemsExportSettings {
24745
+ readonly content_type: io.flow.internal.v0.enums.ExportContentType;
24624
24746
  readonly full_export_schedule?: io.flow.internal.v0.unions.ExportSchedule;
24625
24747
  readonly delta_export_schedule?: io.flow.internal.v0.unions.ExportSchedule;
24626
24748
  }
@@ -24637,6 +24759,18 @@ declare namespace io.flow.internal.v0.models {
24637
24759
  readonly schedule: io.flow.price.v0.models.PriceBookItemSchedule;
24638
24760
  }
24639
24761
 
24762
+ interface LocalizedPriceBookItemData {
24763
+ readonly organization: io.flow.common.v0.models.OrganizationReference;
24764
+ readonly experience: io.flow.common.v0.models.ExperienceSummary;
24765
+ readonly item: io.flow.common.v0.models.CatalogItemReference;
24766
+ readonly prices: io.flow.RESERVED_WORD_export.v0.models.ExportLocalizedItemPricesDetail;
24767
+ readonly status?: io.flow.catalog.v0.enums.SubcatalogItemStatus;
24768
+ readonly price_book_key: string;
24769
+ readonly price_book_item_price: io.flow.common.v0.models.Price;
24770
+ readonly price_start_date: string;
24771
+ readonly price_end_date?: string;
24772
+ }
24773
+
24640
24774
  interface LocalizedPriceBookItemDeleted {
24641
24775
  readonly discriminator: 'localized_price_book_item_deleted';
24642
24776
  readonly event_id: string;
@@ -24714,6 +24848,19 @@ declare namespace io.flow.internal.v0.models {
24714
24848
  readonly main_transaction: io.flow.billing.internal.v0.models.MainTransaction;
24715
24849
  }
24716
24850
 
24851
+ interface ManualReviewRule {
24852
+ readonly responsible_party: io.flow.internal.v0.enums.FraudReviewResponsibleParty;
24853
+ readonly status: io.flow.internal.v0.enums.ManualReviewRuleStatus;
24854
+ readonly duration: io.flow.common.v0.models.Duration;
24855
+ readonly emails: string[];
24856
+ }
24857
+
24858
+ interface ManualReviewRuleForm {
24859
+ readonly status: io.flow.internal.v0.enums.ManualReviewRuleStatus;
24860
+ readonly duration: io.flow.common.v0.models.Duration;
24861
+ readonly emails: string[];
24862
+ }
24863
+
24717
24864
  interface ManualTransaction {
24718
24865
  readonly discriminator: 'manual_transaction';
24719
24866
  readonly id: string;
@@ -27547,6 +27694,9 @@ declare namespace io.flow.internal.v0.unions {
27547
27694
  type CheckoutCreateAuthorizationDetailsResponse =
27548
27695
  | io.flow.internal.v0.models.CheckoutCreateAuthorizationDetailsResponseError
27549
27696
  | io.flow.internal.v0.models.CheckoutCreateAuthorizationDetailsResponseSuccess;
27697
+ type CheckoutCreateBySessionByOrderResponse =
27698
+ | io.flow.internal.v0.models.CheckoutCreateBySessionByOrderResponseError
27699
+ | io.flow.internal.v0.models.CheckoutCreateBySessionByOrderResponseSuccess;
27550
27700
  type CheckoutCreateBySessionResponse =
27551
27701
  | io.flow.internal.v0.models.CheckoutCreateBySessionResponseError
27552
27702
  | io.flow.internal.v0.models.CheckoutCreateBySessionResponseSuccess;
@@ -27577,7 +27727,8 @@ declare namespace io.flow.internal.v0.unions {
27577
27727
  | io.flow.internal.v0.models.CheckoutInfoOrderSummary
27578
27728
  | io.flow.internal.v0.models.CheckoutInfoPaymentDetails
27579
27729
  | io.flow.internal.v0.models.CheckoutInfoPaymentsFormData
27580
- | io.flow.internal.v0.models.CheckoutInfoPublicKey;
27730
+ | io.flow.internal.v0.models.CheckoutInfoPublicKey
27731
+ | io.flow.internal.v0.models.CheckoutInfoTranslations;
27581
27732
  type CheckoutInitiatePaymentForm =
27582
27733
  | io.flow.internal.v0.models.CheckoutInitiateRedirectPaymentForm
27583
27734
  | io.flow.internal.v0.models.CheckoutInitiateInlinePaymentForm
@@ -27635,12 +27786,15 @@ declare namespace io.flow.internal.v0.unions {
27635
27786
  | io.flow.internal.v0.models.CheckoutPriceEstimated;
27636
27787
  type CheckoutRequestForm =
27637
27788
  | io.flow.internal.v0.models.CheckoutCreateAuthorizationDetailsRequestForm
27789
+ | io.flow.internal.v0.models.CheckoutCreateBySessionByOrderRequestForm
27638
27790
  | io.flow.internal.v0.models.CheckoutCreateBySessionRequestForm
27639
27791
  | io.flow.internal.v0.models.CheckoutFeaturesRequestForm
27640
27792
  | io.flow.internal.v0.models.CheckoutGetRequestForm;
27641
27793
  type CheckoutResponse =
27642
27794
  | io.flow.internal.v0.models.CheckoutCreateAuthorizationDetailsResponseError
27643
27795
  | io.flow.internal.v0.models.CheckoutCreateAuthorizationDetailsResponseSuccess
27796
+ | io.flow.internal.v0.models.CheckoutCreateBySessionByOrderResponseError
27797
+ | io.flow.internal.v0.models.CheckoutCreateBySessionByOrderResponseSuccess
27644
27798
  | io.flow.internal.v0.models.CheckoutCreateBySessionResponseError
27645
27799
  | io.flow.internal.v0.models.CheckoutCreateBySessionResponseSuccess
27646
27800
  | io.flow.internal.v0.models.CheckoutFeaturesResponseError
@@ -28006,6 +28160,8 @@ declare namespace io.flow.internal.v0.unions {
28006
28160
  type FeatureValue =
28007
28161
  | io.flow.internal.v0.models.BooleanFeatureValue
28008
28162
  | io.flow.internal.v0.models.StringFeatureValue;
28163
+ type FraudProviderConfiguration = io.flow.internal.v0.models.FraudProviderConfigurationRiskified;
28164
+ type FraudProviderConfigurationForm = io.flow.internal.v0.models.FraudProviderConfigurationFormRiskified;
28009
28165
  type GlobalSearchResult =
28010
28166
  | io.flow.internal.v0.models.SearchExperienceSummary
28011
28167
  | io.flow.internal.v0.models.SearchExperimentSummary
@@ -28457,7 +28613,10 @@ export type CheckoutCreateAuthorizationError = io.flow.internal.v0.models.Checko
28457
28613
  export type CheckoutCreateAuthorizationErrorCode = io.flow.internal.v0.enums.CheckoutCreateAuthorizationErrorCode;
28458
28614
  export type CheckoutCreateBySessionByOrderError = io.flow.internal.v0.models.CheckoutCreateBySessionByOrderError;
28459
28615
  export type CheckoutCreateBySessionByOrderErrorCode = io.flow.internal.v0.enums.CheckoutCreateBySessionByOrderErrorCode;
28616
+ export type CheckoutCreateBySessionByOrderRequestForm = io.flow.internal.v0.models.CheckoutCreateBySessionByOrderRequestForm;
28617
+ export type CheckoutCreateBySessionByOrderResponse = io.flow.internal.v0.unions.CheckoutCreateBySessionByOrderResponse;
28460
28618
  export type CheckoutCreateBySessionByOrderResponseError = io.flow.internal.v0.models.CheckoutCreateBySessionByOrderResponseError;
28619
+ export type CheckoutCreateBySessionByOrderResponseSuccess = io.flow.internal.v0.models.CheckoutCreateBySessionByOrderResponseSuccess;
28461
28620
  export type CheckoutCreateBySessionError = io.flow.internal.v0.models.CheckoutCreateBySessionError;
28462
28621
  export type CheckoutCreateBySessionErrorCode = io.flow.internal.v0.enums.CheckoutCreateBySessionErrorCode;
28463
28622
  export type CheckoutCreateBySessionRequestForm = io.flow.internal.v0.models.CheckoutCreateBySessionRequestForm;
@@ -28541,6 +28700,9 @@ export type CheckoutInfoPaymentsFormData = io.flow.internal.v0.models.CheckoutIn
28541
28700
  export type CheckoutInfoPaymentsFormDataKey = io.flow.internal.v0.models.CheckoutInfoPaymentsFormDataKey;
28542
28701
  export type CheckoutInfoPaymentsFormDataKeyField = io.flow.internal.v0.enums.CheckoutInfoPaymentsFormDataKeyField;
28543
28702
  export type CheckoutInfoPublicKey = io.flow.internal.v0.models.CheckoutInfoPublicKey;
28703
+ export type CheckoutInfoTranslations = io.flow.internal.v0.models.CheckoutInfoTranslations;
28704
+ export type CheckoutInfoTranslationsKey = io.flow.internal.v0.models.CheckoutInfoTranslationsKey;
28705
+ export type CheckoutInfoTranslationsKeyField = io.flow.internal.v0.enums.CheckoutInfoTranslationsKeyField;
28544
28706
  export type CheckoutInitiateDirectPaymentForm = io.flow.internal.v0.models.CheckoutInitiateDirectPaymentForm;
28545
28707
  export type CheckoutInitiateInlinePaymentForm = io.flow.internal.v0.models.CheckoutInitiateInlinePaymentForm;
28546
28708
  export type CheckoutInitiatePaymentError = io.flow.internal.v0.models.CheckoutInitiatePaymentError;
@@ -28969,6 +29131,7 @@ export type ExperimentVersion = io.flow.internal.v0.models.ExperimentVersion;
28969
29131
  export type ExplicitStatementDate = io.flow.internal.v0.models.ExplicitStatementDate;
28970
29132
  export type ExplicitStatementDateForm = io.flow.internal.v0.models.ExplicitStatementDateForm;
28971
29133
  export type ExportCompleted = io.flow.internal.v0.models.ExportCompleted;
29134
+ export type ExportContentType = io.flow.internal.v0.enums.ExportContentType;
28972
29135
  export type ExportFailed = io.flow.internal.v0.models.ExportFailed;
28973
29136
  export type ExportSchedule = io.flow.internal.v0.unions.ExportSchedule;
28974
29137
  export type ExportScheduleDaily = io.flow.internal.v0.models.ExportScheduleDaily;
@@ -29033,6 +29196,11 @@ export type FraudPendingReview = io.flow.internal.v0.models.FraudPendingReview;
29033
29196
  export type FraudPendingReviewDeleted = io.flow.internal.v0.models.FraudPendingReviewDeleted;
29034
29197
  export type FraudPendingReviewUpserted = io.flow.internal.v0.models.FraudPendingReviewUpserted;
29035
29198
  export type FraudProvider = io.flow.internal.v0.enums.FraudProvider;
29199
+ export type FraudProviderConfiguration = io.flow.internal.v0.unions.FraudProviderConfiguration;
29200
+ export type FraudProviderConfigurationForm = io.flow.internal.v0.unions.FraudProviderConfigurationForm;
29201
+ export type FraudProviderConfigurationFormRiskified = io.flow.internal.v0.models.FraudProviderConfigurationFormRiskified;
29202
+ export type FraudProviderConfigurationRiskified = io.flow.internal.v0.models.FraudProviderConfigurationRiskified;
29203
+ export type FraudProviderStatus = io.flow.internal.v0.enums.FraudProviderStatus;
29036
29204
  export type FraudReview = io.flow.internal.v0.models.FraudReview;
29037
29205
  export type FraudReviewDecision = io.flow.internal.v0.models.FraudReviewDecision;
29038
29206
  export type FraudReviewDecisionDeleted = io.flow.internal.v0.models.FraudReviewDecisionDeleted;
@@ -29241,6 +29409,7 @@ export type LocalizedItemSnapshot = io.flow.internal.v0.models.LocalizedItemSnap
29241
29409
  export type LocalizedItemUpsertedV2 = io.flow.internal.v0.models.LocalizedItemUpsertedV2;
29242
29410
  export type LocalizedItemsExportSettings = io.flow.internal.v0.models.LocalizedItemsExportSettings;
29243
29411
  export type LocalizedPriceBookItem = io.flow.internal.v0.models.LocalizedPriceBookItem;
29412
+ export type LocalizedPriceBookItemData = io.flow.internal.v0.models.LocalizedPriceBookItemData;
29244
29413
  export type LocalizedPriceBookItemDeleted = io.flow.internal.v0.models.LocalizedPriceBookItemDeleted;
29245
29414
  export type LocalizedPriceBookItemUpserted = io.flow.internal.v0.models.LocalizedPriceBookItemUpserted;
29246
29415
  export type Location = io.flow.internal.v0.models.Location;
@@ -29253,6 +29422,9 @@ export type MagentoInstallForm = io.flow.internal.v0.models.MagentoInstallForm;
29253
29422
  export type MainTransaction = io.flow.internal.v0.models.MainTransaction;
29254
29423
  export type MainTransactionDeleted = io.flow.internal.v0.models.MainTransactionDeleted;
29255
29424
  export type MainTransactionUpserted = io.flow.internal.v0.models.MainTransactionUpserted;
29425
+ export type ManualReviewRule = io.flow.internal.v0.models.ManualReviewRule;
29426
+ export type ManualReviewRuleForm = io.flow.internal.v0.models.ManualReviewRuleForm;
29427
+ export type ManualReviewRuleStatus = io.flow.internal.v0.enums.ManualReviewRuleStatus;
29256
29428
  export type ManualTransaction = io.flow.internal.v0.models.ManualTransaction;
29257
29429
  export type ManualTransactionForm = io.flow.internal.v0.models.ManualTransactionForm;
29258
29430
  export type MarketingGatewayAccountConnectionStatus = io.flow.internal.v0.enums.MarketingGatewayAccountConnectionStatus;
package/src/api.ts CHANGED
@@ -1800,8 +1800,8 @@ declare namespace io.flow.v0.models {
1800
1800
  interface ActionCapture {
1801
1801
  readonly type: 'capture';
1802
1802
  readonly expires_at?: string;
1803
- readonly amount_awaiting_capture?: number;
1804
- readonly currency?: string;
1803
+ readonly amount_awaiting_capture: number;
1804
+ readonly currency: string;
1805
1805
  }
1806
1806
 
1807
1807
  interface ActionDisplayInlineWindow {
@@ -2157,12 +2157,12 @@ declare namespace io.flow.v0.models {
2157
2157
 
2158
2158
  interface AuthorizationActionResultAdyenV3 {
2159
2159
  readonly type: 'adyen_v3';
2160
- readonly details: any /*object*/;
2160
+ readonly result: any /*object*/;
2161
2161
  }
2162
2162
 
2163
2163
  interface AuthorizationActionResultAdyenV4 {
2164
2164
  readonly type: 'adyen_v4';
2165
- readonly details: any /*object*/;
2165
+ readonly result: any /*object*/;
2166
2166
  }
2167
2167
 
2168
2168
  interface AuthorizationCopyForm {
@@ -6796,6 +6796,11 @@ declare namespace io.flow.v0.models {
6796
6796
  readonly email: string;
6797
6797
  }
6798
6798
 
6799
+ interface PaymentAddress {
6800
+ readonly contact: io.flow.v0.models.Contact;
6801
+ readonly location: io.flow.v0.models.Address;
6802
+ }
6803
+
6799
6804
  interface PaymentAuthorization {
6800
6805
  readonly id: string;
6801
6806
  readonly payment_method_summary: io.flow.v0.unions.PaymentMethodSummary;
@@ -6805,6 +6810,8 @@ declare namespace io.flow.v0.models {
6805
6810
  readonly created_at: string;
6806
6811
  readonly updated_at: string;
6807
6812
  readonly status: io.flow.v0.models.PaymentAuthorizationStatus;
6813
+ readonly amount: number;
6814
+ readonly currency: string;
6808
6815
  }
6809
6816
 
6810
6817
  interface PaymentAuthorizationStatus {
@@ -7095,15 +7102,15 @@ declare namespace io.flow.v0.models {
7095
7102
 
7096
7103
  interface PaymentRequest {
7097
7104
  readonly id: string;
7098
- readonly status: io.flow.v0.models.PaymentRequestStatus;
7105
+ readonly status: io.flow.v0.enums.PaymentStatus;
7099
7106
  readonly last_payment_failure?: io.flow.v0.models.PaymentFailure;
7100
7107
  readonly next_action?: io.flow.v0.unions.Action;
7101
7108
  readonly amount: number;
7102
7109
  readonly amount_refundable?: number;
7103
7110
  readonly currency: string;
7104
7111
  readonly order_details: io.flow.v0.models.OrderDetails;
7105
- readonly customer?: io.flow.v0.models.OrderCustomer;
7106
- readonly shipping_address?: io.flow.v0.models.ShippingAddress;
7112
+ readonly billing_address?: io.flow.v0.models.PaymentAddress;
7113
+ readonly shipping_address?: io.flow.v0.models.PaymentAddress;
7107
7114
  readonly ip?: string;
7108
7115
  readonly return_url: string;
7109
7116
  readonly attributes?: Record<string, string>;
@@ -7115,8 +7122,8 @@ declare namespace io.flow.v0.models {
7115
7122
  readonly amount: number;
7116
7123
  readonly currency: string;
7117
7124
  readonly order_details: io.flow.v0.models.OrderDetails;
7118
- readonly customer?: io.flow.v0.models.OrderCustomer;
7119
- readonly shipping_address?: io.flow.v0.models.ShippingAddress;
7125
+ readonly billing_address?: io.flow.v0.models.PaymentAddress;
7126
+ readonly shipping_address?: io.flow.v0.models.PaymentAddress;
7120
7127
  readonly ip?: string;
7121
7128
  readonly return_url: string;
7122
7129
  readonly attributes?: Record<string, string>;
@@ -7124,11 +7131,6 @@ declare namespace io.flow.v0.models {
7124
7131
  readonly payment_method_data?: io.flow.v0.unions.PaymentMethodData;
7125
7132
  }
7126
7133
 
7127
- interface PaymentRequestStatus {
7128
- readonly status: io.flow.v0.enums.PaymentStatus;
7129
- readonly reason?: string;
7130
- }
7131
-
7132
7134
  interface PaymentReversal {
7133
7135
  readonly id: string;
7134
7136
  readonly amount: number;
@@ -11125,6 +11127,7 @@ export type PasswordChangeForm = io.flow.v0.models.PasswordChangeForm;
11125
11127
  export type PasswordResetForm = io.flow.v0.models.PasswordResetForm;
11126
11128
  export type PasswordResetRequestForm = io.flow.v0.models.PasswordResetRequestForm;
11127
11129
  export type Payment = io.flow.v0.unions.Payment;
11130
+ export type PaymentAddress = io.flow.v0.models.PaymentAddress;
11128
11131
  export type PaymentAuthorization = io.flow.v0.models.PaymentAuthorization;
11129
11132
  export type PaymentAuthorizationStatus = io.flow.v0.models.PaymentAuthorizationStatus;
11130
11133
  export type PaymentCapture = io.flow.v0.models.PaymentCapture;
@@ -11185,7 +11188,6 @@ export type PaymentRefundForm = io.flow.v0.models.PaymentRefundForm;
11185
11188
  export type PaymentRefundStatus = io.flow.v0.models.PaymentRefundStatus;
11186
11189
  export type PaymentRequest = io.flow.v0.models.PaymentRequest;
11187
11190
  export type PaymentRequestForm = io.flow.v0.models.PaymentRequestForm;
11188
- export type PaymentRequestStatus = io.flow.v0.models.PaymentRequestStatus;
11189
11191
  export type PaymentReversal = io.flow.v0.models.PaymentReversal;
11190
11192
  export type PaymentReversalForm = io.flow.v0.models.PaymentReversalForm;
11191
11193
  export type PaymentReversalStatus = io.flow.v0.models.PaymentReversalStatus;