@flowio/types 11.20.0 → 11.20.1

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.
@@ -3116,6 +3116,8 @@ declare namespace io.flow.stripe.v0.enums {
3116
3116
  type DeclineCode = 'approve_with_id' | 'call_issuer' | 'card_not_supported' | 'card_velocity_exceeded' | 'currency_not_supported' | 'do_not_honor' | 'do_not_try_again' | 'duplicate_transaction' | 'expired_card' | 'fraudulent' | 'generic_decline' | 'incorrect_number' | 'incorrect_cvc' | 'incorrect_pin' | 'incorrect_zip' | 'insufficient_funds' | 'invalid_account' | 'invalid_amount' | 'invalid_cvc' | 'invalid_expiry_year' | 'invalid_number' | 'invalid_pin' | 'issuer_not_available' | 'lost_card' | 'new_account_information_available' | 'no_action_taken' | 'not_permitted' | 'pickup_card' | 'pin_try_exceeded' | 'processing_error' | 'reenter_transaction' | 'restricted_card' | 'revocation_of_all_authorizations' | 'revocation_of_authorization' | 'security_violation' | 'service_not_allowed' | 'stolen_card' | 'stop_payment_order' | 'testmode_decline' | 'transaction_not_allowed' | 'try_again_later' | 'withdrawal_count_limit_exceeded';
3117
3117
  type ErrorType = 'api_connection_error' | 'api_error' | 'authentication_error' | 'card_error' | 'idempotency_error' | 'invalid_request_error' | 'rate_limit_error' | 'validation_error';
3118
3118
  type EventType = 'charge.captured' | 'charge.failed' | 'charge.pending' | 'charge.refunded' | 'charge.refund.updated' | 'charge.succeeded' | 'charge.updated' | 'payment_intent.amount_capturable_updated' | 'payment_intent.payment_failed' | 'payment_intent.succeeded' | 'source.canceled' | 'source.chargeable' | 'source.failed';
3119
+ type KlarnaPaymentMethodCategoryType = 'direct_bank_transfer' | 'direct_debit' | 'pay_later' | 'pay_now' | 'pay_over_time';
3120
+ type KlarnaProduct = 'payment';
3119
3121
  type NetworkStatus = 'approved_by_network' | 'declined_by_network' | 'not_sent_to_network' | 'reversed_after_approval';
3120
3122
  type NextActionType = 'redirect_to_url' | 'use_stripe_sdk';
3121
3123
  type OrderItemType = 'sku' | 'tax' | 'shipping' | 'discount';
@@ -3351,7 +3353,7 @@ declare namespace io.flow.stripe.v0.models {
3351
3353
  readonly shipping?: io.flow.stripe.v0.models.Shipping;
3352
3354
  }
3353
3355
  interface OrderItem {
3354
- readonly object: string;
3356
+ readonly object?: string;
3355
3357
  readonly amount: number;
3356
3358
  readonly currency: string;
3357
3359
  readonly description?: string;
@@ -3570,7 +3572,7 @@ declare namespace io.flow.stripe.v0.models {
3570
3572
  }
3571
3573
  interface Shipping {
3572
3574
  readonly address: io.flow.stripe.v0.models.Address;
3573
- readonly name: string;
3575
+ readonly name?: string;
3574
3576
  readonly phone?: string;
3575
3577
  }
3576
3578
  interface Source {
@@ -3592,6 +3594,7 @@ declare namespace io.flow.stripe.v0.models {
3592
3594
  readonly status: io.flow.stripe.v0.enums.SourceStatus;
3593
3595
  readonly type: io.flow.stripe.v0.enums.SourceType;
3594
3596
  readonly usage: io.flow.stripe.v0.enums.SourceUsageType;
3597
+ readonly source_order?: io.flow.stripe.v0.models.SourceOrder;
3595
3598
  }
3596
3599
  interface SourceCard {
3597
3600
  readonly exp_month: number;
@@ -3619,11 +3622,47 @@ declare namespace io.flow.stripe.v0.models {
3619
3622
  readonly first_name?: string;
3620
3623
  readonly last_name?: string;
3621
3624
  readonly client_token: string;
3625
+ readonly payment_method_categories?: string;
3626
+ readonly purchase_country?: string;
3627
+ readonly shipping_first_name?: string;
3628
+ readonly shipping_last_name?: string;
3629
+ readonly locale?: string;
3630
+ readonly pay_later_name?: string;
3631
+ readonly pay_later_asset_urls_standard?: string;
3632
+ readonly pay_later_asset_urls_descriptive?: string;
3633
+ readonly pay_now_name?: string;
3634
+ readonly pay_now_asset_urls_standard?: string;
3635
+ readonly pay_now_asset_urls_descriptive?: string;
3636
+ readonly pay_over_time_name?: string;
3637
+ readonly pay_over_time_asset_urls_standard?: string;
3638
+ readonly pay_over_time_asset_urls_descriptive?: string;
3639
+ readonly direct_bank_transfer_name?: string;
3640
+ readonly direct_bank_transfer_asset_urls_standard?: string;
3641
+ readonly direct_bank_transfer_asset_urls_descriptive?: string;
3642
+ readonly direct_debit_name?: string;
3643
+ readonly direct_debit_asset_urls_standard?: string;
3644
+ readonly direct_debit_asset_urls_descriptive?: string;
3622
3645
  }
3623
3646
  interface SourceKlarnaRequest {
3624
3647
  readonly first_name: string;
3625
3648
  readonly last_name: string;
3649
+ readonly purchase_country?: string;
3650
+ readonly product?: io.flow.stripe.v0.enums.KlarnaProduct;
3626
3651
  readonly attachment?: string;
3652
+ readonly shipping_first_name?: string;
3653
+ readonly shipping_last_name?: string;
3654
+ readonly locale?: string;
3655
+ }
3656
+ interface SourceOrder {
3657
+ readonly amount?: number;
3658
+ readonly currency?: string;
3659
+ readonly email?: string;
3660
+ readonly items?: io.flow.stripe.v0.models.OrderItem[];
3661
+ readonly shipping?: io.flow.stripe.v0.models.Shipping;
3662
+ }
3663
+ interface SourceOrderRequest {
3664
+ readonly items?: io.flow.stripe.v0.models.OrderItemRequest[];
3665
+ readonly shipping?: io.flow.stripe.v0.models.Shipping;
3627
3666
  }
3628
3667
  interface SourceRequest {
3629
3668
  readonly type?: io.flow.stripe.v0.enums.SourceType;
@@ -3640,6 +3679,7 @@ declare namespace io.flow.stripe.v0.models {
3640
3679
  readonly three_d_secure?: io.flow.stripe.v0.models.ThreeDSecure;
3641
3680
  readonly token?: string;
3642
3681
  readonly usage: io.flow.stripe.v0.enums.SourceUsageType;
3682
+ readonly source_order?: io.flow.stripe.v0.models.SourceOrderRequest;
3643
3683
  }
3644
3684
  interface Stripe3Ds2Fingerprint {
3645
3685
  readonly type: io.flow.stripe.v0.enums.UseStripeSdkType;
@@ -4536,7 +4576,7 @@ declare namespace io.flow.brickftp.v0.models {
4536
4576
  readonly id: number;
4537
4577
  readonly path: string;
4538
4578
  readonly behavior: io.flow.brickftp.v0.enums.BehaviorType;
4539
- readonly value: string[];
4579
+ readonly value: any;
4540
4580
  }
4541
4581
  interface BehaviorForm {
4542
4582
  readonly path: string;
@@ -4668,6 +4708,10 @@ declare namespace io.flow.adyen.v0.models {
4668
4708
  readonly value: number;
4669
4709
  readonly currency: string;
4670
4710
  }
4711
+ interface Applepay {
4712
+ readonly type: 'applepay';
4713
+ readonly applePayToken: string;
4714
+ }
4671
4715
  interface Authentication {
4672
4716
  readonly 'threeds2.fingerprintToken'?: string;
4673
4717
  readonly 'threeds2.challengeToken'?: string;
@@ -4694,6 +4738,8 @@ declare namespace io.flow.adyen.v0.models {
4694
4738
  readonly browserInfo?: io.flow.adyen.v0.unions.BrowserInfo;
4695
4739
  readonly threeDS2RequestData?: io.flow.adyen.v0.models.Threeds2RequestData;
4696
4740
  readonly recurringProcessingModel?: io.flow.adyen.v0.enums.RecurringProcessingModel;
4741
+ readonly mcc?: string;
4742
+ readonly metadata?: any;
4697
4743
  }
4698
4744
  interface AuthorizeRequest3D {
4699
4745
  readonly merchantAccount: string;
@@ -4827,6 +4873,12 @@ declare namespace io.flow.adyen.v0.models {
4827
4873
  readonly details: any;
4828
4874
  readonly paymentData?: string;
4829
4875
  }
4876
+ interface PaymentDetailsV663Ds2Challenge {
4877
+ readonly 'threeds2.challengeResult': string;
4878
+ }
4879
+ interface PaymentDetailsV663Ds2Fingerprint {
4880
+ readonly 'threeds2.fingerprint': string;
4881
+ }
4830
4882
  interface PaymentRequest {
4831
4883
  readonly reference: string;
4832
4884
  readonly merchantAccount: string;
@@ -4848,7 +4900,9 @@ declare namespace io.flow.adyen.v0.models {
4848
4900
  readonly browserInfo?: io.flow.adyen.v0.unions.BrowserInfo;
4849
4901
  readonly origin?: string;
4850
4902
  readonly channel?: io.flow.adyen.v0.enums.Channel;
4851
- readonly returnURL?: string;
4903
+ readonly returnUrl?: string;
4904
+ readonly mcc?: string;
4905
+ readonly metadata?: any;
4852
4906
  }
4853
4907
  interface PaymentResponse {
4854
4908
  readonly resultCode: io.flow.adyen.v0.enums.ResultCode;
@@ -4896,6 +4950,13 @@ declare namespace io.flow.adyen.v0.models {
4896
4950
  readonly number: string;
4897
4951
  readonly cvc?: string;
4898
4952
  }
4953
+ interface SdkV3OnCompleteData {
4954
+ readonly details: any;
4955
+ readonly payment_data?: string;
4956
+ }
4957
+ interface SdkV3OnCompleteResult {
4958
+ readonly data: io.flow.adyen.v0.models.SdkV3OnCompleteData;
4959
+ }
4899
4960
  interface ThreeDSecureData {
4900
4961
  readonly authenticationResponse?: string;
4901
4962
  readonly cavv?: string;
@@ -4921,7 +4982,7 @@ declare namespace io.flow.adyen.v0.models {
4921
4982
  }
4922
4983
  declare namespace io.flow.adyen.v0.unions {
4923
4984
  type BrowserInfo = io.flow.adyen.v0.models.BrowserInfo3Ds1 | io.flow.adyen.v0.models.BrowserInfo3Ds2;
4924
- type PaymentMethodData = io.flow.adyen.v0.models.Scheme;
4985
+ type PaymentMethodData = io.flow.adyen.v0.models.Scheme | io.flow.adyen.v0.models.Applepay;
4925
4986
  }
4926
4987
  declare namespace io.flow.order.management.v0.enums {
4927
4988
  type CancelReason = 'out_of_stock' | 'consumer_requested' | 'flow_cancel';
@@ -6658,14 +6719,14 @@ declare namespace io.flow.payment.gateway.v0.models {
6658
6719
  readonly reason?: io.flow.payment.v0.enums.CaptureDeclineCode;
6659
6720
  }
6660
6721
  interface PaymentContactBilling {
6661
- readonly first_name: string;
6722
+ readonly first_name?: string;
6662
6723
  readonly last_name: string;
6663
6724
  readonly company?: string;
6664
6725
  readonly email?: string;
6665
6726
  readonly phone?: string;
6666
6727
  }
6667
6728
  interface PaymentContactShipping {
6668
- readonly first_name: string;
6729
+ readonly first_name?: string;
6669
6730
  readonly last_name: string;
6670
6731
  readonly email: string;
6671
6732
  readonly phone: string;
@@ -7585,10 +7646,13 @@ declare namespace io.flow.crypto.v0.models {
7585
7646
  interface CryptoPaymentInfo {
7586
7647
  readonly publishable_key: string;
7587
7648
  }
7649
+ interface Error {
7650
+ readonly type?: io.flow.crypto.v0.enums.ErrorType;
7651
+ readonly code?: string;
7652
+ readonly param?: string;
7653
+ }
7588
7654
  interface ErrorResponse {
7589
- readonly type: io.flow.crypto.v0.enums.ErrorType;
7590
- readonly code: string;
7591
- readonly param: string;
7655
+ readonly error?: io.flow.crypto.v0.models.Error;
7592
7656
  }
7593
7657
  interface Payment {
7594
7658
  readonly id: string;
@@ -7607,7 +7671,6 @@ declare namespace io.flow.crypto.v0.models {
7607
7671
  readonly recipient: string;
7608
7672
  readonly refunded: boolean;
7609
7673
  readonly status: io.flow.crypto.v0.enums.PaymentStatus;
7610
- readonly time_window: number;
7611
7674
  }
7612
7675
  interface PaymentRequest {
7613
7676
  readonly amount: number;
@@ -9266,6 +9329,7 @@ declare namespace io.flow.organization.v0.enums {
9266
9329
  type CountryPickerSource = 'experience' | 'destination';
9267
9330
  type EcommercePlatformType = 'commercetools' | 'custom' | 'hybris' | 'magento' | 'shopify' | 'shopify_markets' | 'sfcc' | 'solidus' | 'workarea';
9268
9331
  type InvitationErrorCode = 'expired' | 'invalid_email';
9332
+ type ShortIdSourceKey = 'channel' | 'organization';
9269
9333
  }
9270
9334
  declare namespace io.flow.organization.v0.models {
9271
9335
  interface CountryPicker {
@@ -9385,6 +9449,15 @@ declare namespace io.flow.organization.v0.models {
9385
9449
  interface RegionSettingForm {
9386
9450
  readonly status: io.flow.common.v0.enums.AvailabilityStatus;
9387
9451
  }
9452
+ interface ShortId {
9453
+ readonly id: string;
9454
+ readonly source: io.flow.organization.v0.models.ShortIdSource;
9455
+ readonly identifier: string;
9456
+ }
9457
+ interface ShortIdSource {
9458
+ readonly key: io.flow.organization.v0.enums.ShortIdSourceKey;
9459
+ readonly id: string;
9460
+ }
9388
9461
  }
9389
9462
  declare namespace io.flow.session.v0.models {
9390
9463
  interface CartReference {
@@ -9601,7 +9674,7 @@ declare namespace io.flow.internal.v0.enums {
9601
9674
  type DutySelectionRule = 'lookup_by_tariff_code' | 'lookup_by_hs6_code' | 'fallback_for_jurisdiction' | 'domestic_sale' | 'intra_community_sale' | 'reimport' | 'override' | 'preferential_rate';
9602
9675
  type DutySimpleExpressionType = 'free' | 'percent' | 'per_uom' | 'flat';
9603
9676
  type EmptyAttribute = 'irrelevant';
9604
- type EventType = 'adyen_authorization_deleted' | 'adyen_authorization_upserted' | 'adyen_cancel_deleted' | 'adyen_cancel_upserted' | 'adyen_capture_deleted' | 'adyen_capture_upserted' | 'adyen_refund_deleted' | 'adyen_refund_upserted' | 'billable_label_upserted' | 'billable_label_deleted' | 'account_upserted' | 'account_upserted_v2' | 'account_deleted_v2' | 'account_contact_upserted' | 'account_contact_deleted' | 'billing_statement_upserted' | 'billing_statement_deleted' | 'tax_remittance_transaction_upserted' | 'tax_remittance_transaction_deleted' | 'channel_transaction_upserted' | 'channel_transaction_deleted' | 'organization_account_upserted' | 'organization_account_deleted' | 'account_transactions_export_request' | 'account_orders_export_request' | 'main_transaction_upserted' | 'main_transaction_deleted' | 'main_transaction_upserted_v2' | 'main_transaction_deleted_v2' | 'transfer_transaction_upserted' | 'transfer_transaction_deleted' | 'transfer_transaction_upserted_v2' | 'transfer_transaction_deleted_v2' | 'processing_transaction_upserted' | 'processing_transaction_deleted' | 'bank_payment_upserted' | 'bank_payment_deleted' | 'bank_payment_upserted_v2' | 'bank_payment_deleted_v2' | 'carrier_account_upserted' | 'catalog_import_request' | 'exclusion_rule_upserted' | 'exclusion_rule_deleted' | 'exclusion_rule_export_request' | 'catalog_item_region_availabilities_published' | 'return_policy_upserted' | 'return_policy_deleted' | 'return_policy_item_result_upserted' | 'return_policy_item_result_deleted' | 'channel_order_acceptance_upserted' | 'checkout_configuration_upserted' | 'checkout_configuration_deleted' | 'localized_content_upserted' | 'localization_upserted' | 'rate_deleted' | 'rate_upserted' | 'spot_rate_deleted' | 'spot_rate_upserted' | 'rate_deleted_v2' | 'rate_upserted_v2' | 'organization_currency_setting_upserted' | 'organization_currency_setting_deleted' | 'channel_currency_setting_upserted' | 'channel_currency_setting_deleted' | 'customer_purge_upserted' | 'customs_description_import' | 'customs_description_tariffs_import' | 'item_dimension_estimate_upserted_v2' | 'item_dimension_estimate_deleted_v2' | 'dispute_upserted' | 'dispute_deleted' | 'duty_rates_published' | 'duty_rate_request' | 'duty_rate_bulk_request' | 'duty_raw_upserted' | 'duty_raw_bulk_upserted' | 'duty_rate_upserted' | 'duty_rate_response' | 'duty_rate_bulk_response' | 'item_sales_margin_deleted' | 'item_sales_margin_upserted' | 'order_attribute_deleted' | 'order_attribute_upserted' | 'experience_export_request' | 'experience_import_request' | 'submitted_order_upserted' | 'levy_rate_summary_upserted' | 'experiment_upserted' | 'experiment_deleted' | 'experiment_results_upserted' | 'experiment_results_deleted' | 'daily_experiment_results_upserted' | 'daily_experiment_results_deleted' | 'experiment_milestone_upserted' | 'experiment_milestone_deleted' | 'export_completed' | 'export_failed' | 'feature_upserted' | 'feature_deleted' | 'organization_boolean_value_upserted' | 'organization_boolean_value_deleted' | 'billing_organization_processing_rates_upserted' | 'billing_organization_processing_rates_deleted' | 'billing_organization_settings_upserted' | 'billing_organization_settings_deleted' | 'platform_fee_change_upserted' | 'platform_fee_change_deleted' | 'fx_revenue_recognition_upserted' | 'fx_revenue_recognition_deleted' | 'fraud_review_upserted' | 'fraud_review_deleted' | 'fraud_pending_review_upserted' | 'fraud_pending_review_deleted' | 'fraud_review_decision_upserted' | 'fraud_review_decision_deleted' | 'ftp_file_upserted' | 'ftp_file_deleted' | 'ftp_file_to_process_uploaded' | 'pregenerated_request_event' | 'all_items_export' | 'harmonized_items_hs6_export' | 'unharmonized_items_export' | 'dutied_items_export' | 'tariff_codes_export' | 'harmonization_phrase_suggestion_request_import' | 'harmonization_codes_import' | 'item_classification_created' | 'harmonize_fully_request_v2' | 'hybris_catalog_items_import_request' | 'import_completed' | 'import_failed' | 'time_to_classify_upserted' | 'time_to_classify_deleted' | 'time_to_classify_aggregated_upserted' | 'time_to_classify_aggregated_deleted' | 'rate_source_summary_upserted' | 'rate_source_summary_deleted' | 'rate_freshness_summary_upserted' | 'rate_freshness_summary_deleted' | 'item_harmonization_upserted' | 'item_harmonization_deleted' | 'harmonization_item_classification_upserted' | 'harmonization_item_classification_deleted' | 'issuer_upserted' | 'issuer_deleted' | 'item_form_import_request' | 'localized_item_upserted_v2' | 'localized_item_deleted' | 'localized_item_deleted_v2' | 'localized_item_snapshot' | 'localized_price_book_item_upserted' | 'localized_price_book_item_deleted' | 'feed_upserted' | 'feed_deleted' | 'feeds_export' | 'localized_item_prices_export_request' | 'optin_prompt_upserted' | 'optin_prompt_deleted' | 'order_fulfillment_deleted' | 'order_fulfillment_upserted' | 'order_placed' | 'ready_to_fulfill' | 'fulfillment_cancel' | 'order_shipped' | 'items_shipped' | 'internal_authorization_upserted' | 'internal_authorization_deleted' | 'afterpay_authorization_upserted' | 'afterpay_authorization_deleted' | 'afterpay_capture_upserted' | 'afterpay_capture_deleted' | 'afterpay_refund_upserted' | 'afterpay_refund_deleted' | 'adyen_merchant_account_upserted' | 'adyen_merchant_account_deleted' | 'chargeback_upserted' | 'chargeback_deleted' | 'payment_processor_account_upserted' | 'payment_processor_account_deleted' | 'payment_processor_merchant_upserted' | 'payment_processor_merchant_deleted' | 'virtual_card_provider_upserted' | 'virtual_card_provider_deleted' | 'paypal_payment_deleted' | 'paypal_payment_upserted' | 'paypal_execution_deleted' | 'paypal_execution_upserted' | 'paypal_refund_deleted' | 'paypal_refund_upserted' | 'pricing_indicator' | 'order_rates_published_v3' | 'ratecard_dimension_estimate_upserted' | 'ratecard_dimension_estimate_deleted' | 'ratecard_lanes_import_request' | 'ratecard_standard_configuration_upserted' | 'ratecard_standard_configuration_deleted' | 'ratecard_lane_aggregate_upserted' | 'ratecard_lane_aggregate_deleted' | 'shopify_shop_upserted' | 'shopify_shop_deleted' | 'shopify_experience_short_id_upserted' | 'shopify_experience_short_id_deleted' | 'stripe_authorization_deleted' | 'stripe_authorization_upserted' | 'stripe_reversal_deleted' | 'stripe_reversal_upserted' | 'stripe_capture_deleted' | 'stripe_capture_upserted' | 'stripe_refund_deleted' | 'stripe_refund_upserted' | 'svb_virtual_card_clearing_upserted' | 'svb_virtual_card_clearing_deleted' | 'liability_remittance_plan_upserted' | 'liability_remittance_plan_deleted' | 'tracking_label_event_upserted_v2' | 'tracking_label_event_deleted_v2' | 'tracking_label_upserted' | 'tracking_label_deleted' | 'tracking_upserted' | 'tracking_deleted' | 'tracking_request_upserted' | 'tracking_response_upserted' | 'user_upserted_v2' | 'user_deleted_v2';
9677
+ type EventType = 'adyen_authorization_deleted' | 'adyen_authorization_upserted' | 'adyen_cancel_deleted' | 'adyen_cancel_upserted' | 'adyen_capture_deleted' | 'adyen_capture_upserted' | 'adyen_refund_deleted' | 'adyen_refund_upserted' | 'billable_label_upserted' | 'billable_label_deleted' | 'account_upserted' | 'account_upserted_v2' | 'account_deleted_v2' | 'account_contact_upserted' | 'account_contact_deleted' | 'billing_statement_upserted' | 'billing_statement_deleted' | 'tax_remittance_transaction_upserted' | 'tax_remittance_transaction_deleted' | 'channel_transaction_upserted' | 'channel_transaction_deleted' | 'channel_account_upserted' | 'channel_account_deleted' | 'organization_account_upserted' | 'organization_account_deleted' | 'account_transactions_export_request' | 'account_orders_export_request' | 'main_transaction_upserted' | 'main_transaction_deleted' | 'main_transaction_upserted_v2' | 'main_transaction_deleted_v2' | 'transfer_transaction_upserted' | 'transfer_transaction_deleted' | 'transfer_transaction_upserted_v2' | 'transfer_transaction_deleted_v2' | 'processing_transaction_upserted' | 'processing_transaction_deleted' | 'bank_payment_upserted' | 'bank_payment_deleted' | 'bank_payment_upserted_v2' | 'bank_payment_deleted_v2' | 'carrier_account_upserted' | 'catalog_import_request' | 'exclusion_rule_upserted' | 'exclusion_rule_deleted' | 'exclusion_rule_export_request' | 'catalog_item_region_availabilities_published' | 'return_policy_upserted' | 'return_policy_deleted' | 'return_policy_item_result_upserted' | 'return_policy_item_result_deleted' | 'channel_order_acceptance_upserted' | 'checkout_configuration_upserted' | 'checkout_configuration_deleted' | 'localized_content_upserted' | 'localization_upserted' | 'rate_deleted' | 'rate_upserted' | 'spot_rate_deleted' | 'spot_rate_upserted' | 'rate_deleted_v2' | 'rate_upserted_v2' | 'organization_currency_setting_upserted' | 'organization_currency_setting_deleted' | 'channel_currency_setting_upserted' | 'channel_currency_setting_deleted' | 'customer_purge_upserted' | 'customs_description_import' | 'customs_description_tariffs_import' | 'item_dimension_estimate_upserted_v2' | 'item_dimension_estimate_deleted_v2' | 'dispute_upserted' | 'dispute_deleted' | 'duty_rates_published' | 'duty_rate_request' | 'duty_rate_bulk_request' | 'duty_raw_upserted' | 'duty_raw_bulk_upserted' | 'duty_rate_upserted' | 'duty_rate_response' | 'duty_rate_bulk_response' | 'item_sales_margin_deleted' | 'item_sales_margin_upserted' | 'order_attribute_deleted' | 'order_attribute_upserted' | 'experience_export_request' | 'experience_import_request' | 'submitted_order_upserted' | 'levy_rate_summary_upserted' | 'experiment_upserted' | 'experiment_deleted' | 'experiment_results_upserted' | 'experiment_results_deleted' | 'daily_experiment_results_upserted' | 'daily_experiment_results_deleted' | 'experiment_milestone_upserted' | 'experiment_milestone_deleted' | 'export_completed' | 'export_failed' | 'feature_upserted' | 'feature_deleted' | 'organization_boolean_value_upserted' | 'organization_boolean_value_deleted' | 'billing_organization_processing_rates_upserted' | 'billing_organization_processing_rates_deleted' | 'billing_organization_settings_upserted' | 'billing_organization_settings_deleted' | 'platform_fee_change_upserted' | 'platform_fee_change_deleted' | 'fx_revenue_recognition_upserted' | 'fx_revenue_recognition_deleted' | 'fraud_review_upserted' | 'fraud_review_deleted' | 'fraud_pending_review_upserted' | 'fraud_pending_review_deleted' | 'fraud_review_decision_upserted' | 'fraud_review_decision_deleted' | 'ftp_file_upserted' | 'ftp_file_deleted' | 'ftp_file_to_process_uploaded' | 'pregenerated_request_event' | 'all_items_export' | 'harmonized_items_hs6_export' | 'unharmonized_items_export' | 'dutied_items_export' | 'tariff_codes_export' | 'harmonization_phrase_suggestion_request_import' | 'harmonization_codes_import' | 'item_classification_created' | 'harmonize_fully_request_v2' | 'hybris_catalog_items_import_request' | 'import_completed' | 'import_failed' | 'time_to_classify_upserted' | 'time_to_classify_deleted' | 'time_to_classify_aggregated_upserted' | 'time_to_classify_aggregated_deleted' | 'rate_source_summary_upserted' | 'rate_source_summary_deleted' | 'rate_freshness_summary_upserted' | 'rate_freshness_summary_deleted' | 'item_harmonization_upserted' | 'item_harmonization_deleted' | 'harmonization_item_classification_upserted' | 'harmonization_item_classification_deleted' | 'issuer_upserted' | 'issuer_deleted' | 'item_form_import_request' | 'localized_item_upserted_v2' | 'localized_item_deleted' | 'localized_item_deleted_v2' | 'localized_item_snapshot' | 'localized_price_book_item_upserted' | 'localized_price_book_item_deleted' | 'feed_upserted' | 'feed_deleted' | 'feeds_export' | 'localized_item_prices_export_request' | 'optin_prompt_upserted' | 'optin_prompt_deleted' | 'order_fulfillment_deleted' | 'order_fulfillment_upserted' | 'order_placed' | 'ready_to_fulfill' | 'fulfillment_cancel' | 'order_shipped' | 'items_shipped' | 'internal_authorization_upserted' | 'internal_authorization_deleted' | 'afterpay_authorization_upserted' | 'afterpay_authorization_deleted' | 'afterpay_capture_upserted' | 'afterpay_capture_deleted' | 'afterpay_refund_upserted' | 'afterpay_refund_deleted' | 'adyen_merchant_account_upserted' | 'adyen_merchant_account_deleted' | 'chargeback_upserted' | 'chargeback_deleted' | 'payment_processor_account_upserted' | 'payment_processor_account_deleted' | 'payment_processor_merchant_upserted' | 'payment_processor_merchant_deleted' | 'virtual_card_provider_upserted' | 'virtual_card_provider_deleted' | 'paypal_payment_deleted' | 'paypal_payment_upserted' | 'paypal_execution_deleted' | 'paypal_execution_upserted' | 'paypal_refund_deleted' | 'paypal_refund_upserted' | 'pricing_indicator' | 'order_rates_published_v3' | 'ratecard_dimension_estimate_upserted' | 'ratecard_dimension_estimate_deleted' | 'ratecard_lanes_import_request' | 'ratecard_standard_configuration_upserted' | 'ratecard_standard_configuration_deleted' | 'ratecard_lane_aggregate_upserted' | 'ratecard_lane_aggregate_deleted' | 'shopify_shop_upserted' | 'shopify_shop_deleted' | 'shopify_experience_short_id_upserted' | 'shopify_experience_short_id_deleted' | 'stripe_authorization_deleted' | 'stripe_authorization_upserted' | 'stripe_reversal_deleted' | 'stripe_reversal_upserted' | 'stripe_capture_deleted' | 'stripe_capture_upserted' | 'stripe_refund_deleted' | 'stripe_refund_upserted' | 'svb_virtual_card_clearing_upserted' | 'svb_virtual_card_clearing_deleted' | 'liability_remittance_plan_upserted' | 'liability_remittance_plan_deleted' | 'tracking_label_event_upserted_v2' | 'tracking_label_event_deleted_v2' | 'tracking_label_upserted' | 'tracking_label_deleted' | 'tracking_upserted' | 'tracking_deleted' | 'tracking_request_upserted' | 'tracking_response_upserted' | 'user_upserted_v2' | 'user_deleted_v2';
9605
9678
  type ExperienceImportType = 'experience_with_settings';
9606
9679
  type ExperienceOrderAction = 'submit' | 'refund_gift_cards';
9607
9680
  type ExperienceOrderActionTrigger = 'zero_balance' | 'unsubmitted_order';
@@ -10765,6 +10838,23 @@ declare namespace io.flow.internal.v0.models {
10765
10838
  readonly environment: io.flow.common.v0.enums.Environment;
10766
10839
  readonly organization_id_prefix?: string;
10767
10840
  }
10841
+ interface ChannelAccount {
10842
+ readonly id: string;
10843
+ readonly channel: io.flow.common.v0.models.ChannelReference;
10844
+ readonly account: io.flow.internal.v0.models.SimpleAccountReference;
10845
+ }
10846
+ interface ChannelAccountDeleted {
10847
+ readonly discriminator: 'channel_account_deleted';
10848
+ readonly event_id: string;
10849
+ readonly timestamp: string;
10850
+ readonly id: string;
10851
+ }
10852
+ interface ChannelAccountUpserted {
10853
+ readonly discriminator: 'channel_account_upserted';
10854
+ readonly event_id: string;
10855
+ readonly timestamp: string;
10856
+ readonly channel_account: io.flow.internal.v0.models.ChannelAccount;
10857
+ }
10768
10858
  interface ChannelCurrency {
10769
10859
  readonly id: string;
10770
10860
  readonly currency: string;
@@ -18350,7 +18440,7 @@ declare namespace io.flow.internal.v0.unions {
18350
18440
  type DiscountRequestOfferForm = io.flow.internal.v0.models.DiscountRequestOfferFixedAmountForm;
18351
18441
  type DisputeDetails = io.flow.internal.v0.models.DisputeDetailsAdyen | io.flow.internal.v0.models.DisputeDetailsPaypal;
18352
18442
  type DutyExpression = io.flow.internal.v0.models.DutyCompoundExpression | io.flow.internal.v0.models.DutySimpleExpression;
18353
- type Event = io.flow.internal.v0.models.AdyenAuthorizationDeleted | io.flow.internal.v0.models.AdyenAuthorizationUpserted | io.flow.internal.v0.models.AdyenCancelDeleted | io.flow.internal.v0.models.AdyenCancelUpserted | io.flow.internal.v0.models.AdyenCaptureDeleted | io.flow.internal.v0.models.AdyenCaptureUpserted | io.flow.internal.v0.models.AdyenRefundDeleted | io.flow.internal.v0.models.AdyenRefundUpserted | io.flow.internal.v0.models.BillableLabelUpserted | io.flow.internal.v0.models.BillableLabelDeleted | io.flow.internal.v0.models.AccountUpserted | io.flow.internal.v0.models.AccountUpsertedV2 | io.flow.internal.v0.models.AccountDeletedV2 | io.flow.internal.v0.models.AccountContactUpserted | io.flow.internal.v0.models.AccountContactDeleted | io.flow.internal.v0.models.BillingStatementUpserted | io.flow.internal.v0.models.BillingStatementDeleted | io.flow.internal.v0.models.TaxRemittanceTransactionUpserted | io.flow.internal.v0.models.TaxRemittanceTransactionDeleted | io.flow.internal.v0.models.ChannelTransactionUpserted | io.flow.internal.v0.models.ChannelTransactionDeleted | io.flow.internal.v0.models.OrganizationAccountUpserted | io.flow.internal.v0.models.OrganizationAccountDeleted | io.flow.internal.v0.models.AccountTransactionsExportRequest | io.flow.internal.v0.models.AccountOrdersExportRequest | io.flow.internal.v0.models.MainTransactionUpserted | io.flow.internal.v0.models.MainTransactionDeleted | io.flow.internal.v0.models.MainTransactionUpsertedV2 | io.flow.internal.v0.models.MainTransactionDeletedV2 | io.flow.internal.v0.models.TransferTransactionUpserted | io.flow.internal.v0.models.TransferTransactionDeleted | io.flow.internal.v0.models.TransferTransactionUpsertedV2 | io.flow.internal.v0.models.TransferTransactionDeletedV2 | io.flow.internal.v0.models.ProcessingTransactionUpserted | io.flow.internal.v0.models.ProcessingTransactionDeleted | io.flow.internal.v0.models.BankPaymentUpserted | io.flow.internal.v0.models.BankPaymentDeleted | io.flow.internal.v0.models.BankPaymentUpsertedV2 | io.flow.internal.v0.models.BankPaymentDeletedV2 | io.flow.internal.v0.models.CarrierAccountUpserted | io.flow.internal.v0.models.CatalogImportRequest | io.flow.internal.v0.models.ExclusionRuleUpserted | io.flow.internal.v0.models.ExclusionRuleDeleted | io.flow.internal.v0.models.ExclusionRuleExportRequest | io.flow.internal.v0.models.CatalogItemRegionAvailabilitiesPublished | io.flow.internal.v0.models.ReturnPolicyUpserted | io.flow.internal.v0.models.ReturnPolicyDeleted | io.flow.internal.v0.models.ReturnPolicyItemResultUpserted | io.flow.internal.v0.models.ReturnPolicyItemResultDeleted | io.flow.internal.v0.models.ChannelOrderAcceptanceUpserted | io.flow.internal.v0.models.CheckoutConfigurationUpserted | io.flow.internal.v0.models.CheckoutConfigurationDeleted | io.flow.internal.v0.models.LocalizedContentUpserted | io.flow.internal.v0.models.LocalizationUpserted | io.flow.internal.v0.models.RateDeleted | io.flow.internal.v0.models.RateUpserted | io.flow.internal.v0.models.SpotRateDeleted | io.flow.internal.v0.models.SpotRateUpserted | io.flow.internal.v0.models.RateDeletedV2 | io.flow.internal.v0.models.RateUpsertedV2 | io.flow.internal.v0.models.OrganizationCurrencySettingUpserted | io.flow.internal.v0.models.OrganizationCurrencySettingDeleted | io.flow.internal.v0.models.ChannelCurrencySettingUpserted | io.flow.internal.v0.models.ChannelCurrencySettingDeleted | io.flow.internal.v0.models.CustomerPurgeUpserted | io.flow.internal.v0.models.CustomsDescriptionImport | io.flow.internal.v0.models.CustomsDescriptionTariffsImport | io.flow.internal.v0.models.ItemDimensionEstimateUpsertedV2 | io.flow.internal.v0.models.ItemDimensionEstimateDeletedV2 | io.flow.internal.v0.models.DisputeUpserted | io.flow.internal.v0.models.DisputeDeleted | io.flow.internal.v0.models.DutyRatesPublished | io.flow.internal.v0.models.DutyRateRequest | io.flow.internal.v0.models.DutyRateBulkRequest | io.flow.internal.v0.models.DutyRawUpserted | io.flow.internal.v0.models.DutyRawBulkUpserted | io.flow.internal.v0.models.DutyRateUpserted | io.flow.internal.v0.models.DutyRateResponse | io.flow.internal.v0.models.DutyRateBulkResponse | io.flow.internal.v0.models.ItemSalesMarginDeleted | io.flow.internal.v0.models.ItemSalesMarginUpserted | io.flow.internal.v0.models.OrderAttributeDeleted | io.flow.internal.v0.models.OrderAttributeUpserted | io.flow.internal.v0.models.ExperienceExportRequest | io.flow.internal.v0.models.ExperienceImportRequest | io.flow.internal.v0.models.SubmittedOrderUpserted | io.flow.internal.v0.models.LevyRateSummaryUpserted | io.flow.internal.v0.models.ExperimentUpserted | io.flow.internal.v0.models.ExperimentDeleted | io.flow.internal.v0.models.ExperimentResultsUpserted | io.flow.internal.v0.models.ExperimentResultsDeleted | io.flow.internal.v0.models.DailyExperimentResultsUpserted | io.flow.internal.v0.models.DailyExperimentResultsDeleted | io.flow.internal.v0.models.ExperimentMilestoneUpserted | io.flow.internal.v0.models.ExperimentMilestoneDeleted | io.flow.internal.v0.models.ExportCompleted | io.flow.internal.v0.models.ExportFailed | io.flow.internal.v0.models.FeatureUpserted | io.flow.internal.v0.models.FeatureDeleted | io.flow.internal.v0.models.OrganizationBooleanValueUpserted | io.flow.internal.v0.models.OrganizationBooleanValueDeleted | io.flow.internal.v0.models.BillingOrganizationProcessingRatesUpserted | io.flow.internal.v0.models.BillingOrganizationProcessingRatesDeleted | io.flow.internal.v0.models.BillingOrganizationSettingsUpserted | io.flow.internal.v0.models.BillingOrganizationSettingsDeleted | io.flow.internal.v0.models.PlatformFeeChangeUpserted | io.flow.internal.v0.models.PlatformFeeChangeDeleted | io.flow.internal.v0.models.FxRevenueRecognitionUpserted | io.flow.internal.v0.models.FxRevenueRecognitionDeleted | io.flow.internal.v0.models.FraudReviewUpserted | io.flow.internal.v0.models.FraudReviewDeleted | io.flow.internal.v0.models.FraudPendingReviewUpserted | io.flow.internal.v0.models.FraudPendingReviewDeleted | io.flow.internal.v0.models.FraudReviewDecisionUpserted | io.flow.internal.v0.models.FraudReviewDecisionDeleted | io.flow.internal.v0.models.FtpFileUpserted | io.flow.internal.v0.models.FtpFileDeleted | io.flow.internal.v0.models.FtpFileToProcessUploaded | io.flow.internal.v0.models.PregeneratedRequestEvent | io.flow.internal.v0.models.AllItemsExport | io.flow.internal.v0.models.HarmonizedItemsHs6Export | io.flow.internal.v0.models.UnharmonizedItemsExport | io.flow.internal.v0.models.DutiedItemsExport | io.flow.internal.v0.models.TariffCodesExport | io.flow.internal.v0.models.HarmonizationPhraseSuggestionRequestImport | io.flow.internal.v0.models.HarmonizationCodesImport | io.flow.internal.v0.models.ItemClassificationCreated | io.flow.internal.v0.models.HarmonizeFullyRequestV2 | io.flow.internal.v0.models.HybrisCatalogItemsImportRequest | io.flow.internal.v0.models.ImportCompleted | io.flow.internal.v0.models.ImportFailed | io.flow.internal.v0.models.TimeToClassifyUpserted | io.flow.internal.v0.models.TimeToClassifyDeleted | io.flow.internal.v0.models.TimeToClassifyAggregatedUpserted | io.flow.internal.v0.models.TimeToClassifyAggregatedDeleted | io.flow.internal.v0.models.RateSourceSummaryUpserted | io.flow.internal.v0.models.RateSourceSummaryDeleted | io.flow.internal.v0.models.RateFreshnessSummaryUpserted | io.flow.internal.v0.models.RateFreshnessSummaryDeleted | io.flow.internal.v0.models.ItemHarmonizationUpserted | io.flow.internal.v0.models.ItemHarmonizationDeleted | io.flow.internal.v0.models.HarmonizationItemClassificationUpserted | io.flow.internal.v0.models.HarmonizationItemClassificationDeleted | io.flow.internal.v0.models.IssuerUpserted | io.flow.internal.v0.models.IssuerDeleted | io.flow.internal.v0.models.ItemFormImportRequest | io.flow.internal.v0.models.LocalizedItemUpsertedV2 | io.flow.internal.v0.models.LocalizedItemDeleted | io.flow.internal.v0.models.LocalizedItemDeletedV2 | io.flow.internal.v0.models.LocalizedItemSnapshot | io.flow.internal.v0.models.LocalizedPriceBookItemUpserted | io.flow.internal.v0.models.LocalizedPriceBookItemDeleted | io.flow.internal.v0.models.FeedUpserted | io.flow.internal.v0.models.FeedDeleted | io.flow.internal.v0.models.FeedsExport | io.flow.internal.v0.models.LocalizedItemPricesExportRequest | io.flow.internal.v0.models.OptinPromptUpserted | io.flow.internal.v0.models.OptinPromptDeleted | io.flow.internal.v0.models.OrderFulfillmentDeleted | io.flow.internal.v0.models.OrderFulfillmentUpserted | io.flow.internal.v0.models.OrderPlaced | io.flow.internal.v0.models.ReadyToFulfill | io.flow.internal.v0.models.FulfillmentCancel | io.flow.internal.v0.models.OrderShipped | io.flow.internal.v0.models.ItemsShipped | io.flow.internal.v0.models.InternalAuthorizationUpserted | io.flow.internal.v0.models.InternalAuthorizationDeleted | io.flow.internal.v0.models.AfterpayAuthorizationUpserted | io.flow.internal.v0.models.AfterpayAuthorizationDeleted | io.flow.internal.v0.models.AfterpayCaptureUpserted | io.flow.internal.v0.models.AfterpayCaptureDeleted | io.flow.internal.v0.models.AfterpayRefundUpserted | io.flow.internal.v0.models.AfterpayRefundDeleted | io.flow.internal.v0.models.AdyenMerchantAccountUpserted | io.flow.internal.v0.models.AdyenMerchantAccountDeleted | io.flow.internal.v0.models.ChargebackUpserted | io.flow.internal.v0.models.ChargebackDeleted | io.flow.internal.v0.models.PaymentProcessorAccountUpserted | io.flow.internal.v0.models.PaymentProcessorAccountDeleted | io.flow.internal.v0.models.PaymentProcessorMerchantUpserted | io.flow.internal.v0.models.PaymentProcessorMerchantDeleted | io.flow.internal.v0.models.VirtualCardProviderUpserted | io.flow.internal.v0.models.VirtualCardProviderDeleted | io.flow.internal.v0.models.PaypalPaymentDeleted | io.flow.internal.v0.models.PaypalPaymentUpserted | io.flow.internal.v0.models.PaypalExecutionDeleted | io.flow.internal.v0.models.PaypalExecutionUpserted | io.flow.internal.v0.models.PaypalRefundDeleted | io.flow.internal.v0.models.PaypalRefundUpserted | io.flow.internal.v0.models.PricingIndicator | io.flow.internal.v0.models.OrderRatesPublishedV3 | io.flow.internal.v0.models.RatecardDimensionEstimateUpserted | io.flow.internal.v0.models.RatecardDimensionEstimateDeleted | io.flow.internal.v0.models.RatecardLanesImportRequest | io.flow.internal.v0.models.RatecardStandardConfigurationUpserted | io.flow.internal.v0.models.RatecardStandardConfigurationDeleted | io.flow.internal.v0.models.RatecardLaneAggregateUpserted | io.flow.internal.v0.models.RatecardLaneAggregateDeleted | io.flow.internal.v0.models.ShopifyShopUpserted | io.flow.internal.v0.models.ShopifyShopDeleted | io.flow.internal.v0.models.ShopifyExperienceShortIdUpserted | io.flow.internal.v0.models.ShopifyExperienceShortIdDeleted | io.flow.internal.v0.models.StripeAuthorizationDeleted | io.flow.internal.v0.models.StripeAuthorizationUpserted | io.flow.internal.v0.models.StripeReversalDeleted | io.flow.internal.v0.models.StripeReversalUpserted | io.flow.internal.v0.models.StripeCaptureDeleted | io.flow.internal.v0.models.StripeCaptureUpserted | io.flow.internal.v0.models.StripeRefundDeleted | io.flow.internal.v0.models.StripeRefundUpserted | io.flow.internal.v0.models.SvbVirtualCardClearingUpserted | io.flow.internal.v0.models.SvbVirtualCardClearingDeleted | io.flow.internal.v0.models.LiabilityRemittancePlanUpserted | io.flow.internal.v0.models.LiabilityRemittancePlanDeleted | io.flow.internal.v0.models.TrackingLabelEventUpsertedV2 | io.flow.internal.v0.models.TrackingLabelEventDeletedV2 | io.flow.internal.v0.models.TrackingLabelUpserted | io.flow.internal.v0.models.TrackingLabelDeleted | io.flow.internal.v0.models.TrackingUpserted | io.flow.internal.v0.models.TrackingDeleted | io.flow.internal.v0.models.TrackingRequestUpserted | io.flow.internal.v0.models.TrackingResponseUpserted | io.flow.internal.v0.models.UserUpsertedV2 | io.flow.internal.v0.models.UserDeletedV2;
18443
+ type Event = io.flow.internal.v0.models.AdyenAuthorizationDeleted | io.flow.internal.v0.models.AdyenAuthorizationUpserted | io.flow.internal.v0.models.AdyenCancelDeleted | io.flow.internal.v0.models.AdyenCancelUpserted | io.flow.internal.v0.models.AdyenCaptureDeleted | io.flow.internal.v0.models.AdyenCaptureUpserted | io.flow.internal.v0.models.AdyenRefundDeleted | io.flow.internal.v0.models.AdyenRefundUpserted | io.flow.internal.v0.models.BillableLabelUpserted | io.flow.internal.v0.models.BillableLabelDeleted | io.flow.internal.v0.models.AccountUpserted | io.flow.internal.v0.models.AccountUpsertedV2 | io.flow.internal.v0.models.AccountDeletedV2 | io.flow.internal.v0.models.AccountContactUpserted | io.flow.internal.v0.models.AccountContactDeleted | io.flow.internal.v0.models.BillingStatementUpserted | io.flow.internal.v0.models.BillingStatementDeleted | io.flow.internal.v0.models.TaxRemittanceTransactionUpserted | io.flow.internal.v0.models.TaxRemittanceTransactionDeleted | io.flow.internal.v0.models.ChannelTransactionUpserted | io.flow.internal.v0.models.ChannelTransactionDeleted | io.flow.internal.v0.models.ChannelAccountUpserted | io.flow.internal.v0.models.ChannelAccountDeleted | io.flow.internal.v0.models.OrganizationAccountUpserted | io.flow.internal.v0.models.OrganizationAccountDeleted | io.flow.internal.v0.models.AccountTransactionsExportRequest | io.flow.internal.v0.models.AccountOrdersExportRequest | io.flow.internal.v0.models.MainTransactionUpserted | io.flow.internal.v0.models.MainTransactionDeleted | io.flow.internal.v0.models.MainTransactionUpsertedV2 | io.flow.internal.v0.models.MainTransactionDeletedV2 | io.flow.internal.v0.models.TransferTransactionUpserted | io.flow.internal.v0.models.TransferTransactionDeleted | io.flow.internal.v0.models.TransferTransactionUpsertedV2 | io.flow.internal.v0.models.TransferTransactionDeletedV2 | io.flow.internal.v0.models.ProcessingTransactionUpserted | io.flow.internal.v0.models.ProcessingTransactionDeleted | io.flow.internal.v0.models.BankPaymentUpserted | io.flow.internal.v0.models.BankPaymentDeleted | io.flow.internal.v0.models.BankPaymentUpsertedV2 | io.flow.internal.v0.models.BankPaymentDeletedV2 | io.flow.internal.v0.models.CarrierAccountUpserted | io.flow.internal.v0.models.CatalogImportRequest | io.flow.internal.v0.models.ExclusionRuleUpserted | io.flow.internal.v0.models.ExclusionRuleDeleted | io.flow.internal.v0.models.ExclusionRuleExportRequest | io.flow.internal.v0.models.CatalogItemRegionAvailabilitiesPublished | io.flow.internal.v0.models.ReturnPolicyUpserted | io.flow.internal.v0.models.ReturnPolicyDeleted | io.flow.internal.v0.models.ReturnPolicyItemResultUpserted | io.flow.internal.v0.models.ReturnPolicyItemResultDeleted | io.flow.internal.v0.models.ChannelOrderAcceptanceUpserted | io.flow.internal.v0.models.CheckoutConfigurationUpserted | io.flow.internal.v0.models.CheckoutConfigurationDeleted | io.flow.internal.v0.models.LocalizedContentUpserted | io.flow.internal.v0.models.LocalizationUpserted | io.flow.internal.v0.models.RateDeleted | io.flow.internal.v0.models.RateUpserted | io.flow.internal.v0.models.SpotRateDeleted | io.flow.internal.v0.models.SpotRateUpserted | io.flow.internal.v0.models.RateDeletedV2 | io.flow.internal.v0.models.RateUpsertedV2 | io.flow.internal.v0.models.OrganizationCurrencySettingUpserted | io.flow.internal.v0.models.OrganizationCurrencySettingDeleted | io.flow.internal.v0.models.ChannelCurrencySettingUpserted | io.flow.internal.v0.models.ChannelCurrencySettingDeleted | io.flow.internal.v0.models.CustomerPurgeUpserted | io.flow.internal.v0.models.CustomsDescriptionImport | io.flow.internal.v0.models.CustomsDescriptionTariffsImport | io.flow.internal.v0.models.ItemDimensionEstimateUpsertedV2 | io.flow.internal.v0.models.ItemDimensionEstimateDeletedV2 | io.flow.internal.v0.models.DisputeUpserted | io.flow.internal.v0.models.DisputeDeleted | io.flow.internal.v0.models.DutyRatesPublished | io.flow.internal.v0.models.DutyRateRequest | io.flow.internal.v0.models.DutyRateBulkRequest | io.flow.internal.v0.models.DutyRawUpserted | io.flow.internal.v0.models.DutyRawBulkUpserted | io.flow.internal.v0.models.DutyRateUpserted | io.flow.internal.v0.models.DutyRateResponse | io.flow.internal.v0.models.DutyRateBulkResponse | io.flow.internal.v0.models.ItemSalesMarginDeleted | io.flow.internal.v0.models.ItemSalesMarginUpserted | io.flow.internal.v0.models.OrderAttributeDeleted | io.flow.internal.v0.models.OrderAttributeUpserted | io.flow.internal.v0.models.ExperienceExportRequest | io.flow.internal.v0.models.ExperienceImportRequest | io.flow.internal.v0.models.SubmittedOrderUpserted | io.flow.internal.v0.models.LevyRateSummaryUpserted | io.flow.internal.v0.models.ExperimentUpserted | io.flow.internal.v0.models.ExperimentDeleted | io.flow.internal.v0.models.ExperimentResultsUpserted | io.flow.internal.v0.models.ExperimentResultsDeleted | io.flow.internal.v0.models.DailyExperimentResultsUpserted | io.flow.internal.v0.models.DailyExperimentResultsDeleted | io.flow.internal.v0.models.ExperimentMilestoneUpserted | io.flow.internal.v0.models.ExperimentMilestoneDeleted | io.flow.internal.v0.models.ExportCompleted | io.flow.internal.v0.models.ExportFailed | io.flow.internal.v0.models.FeatureUpserted | io.flow.internal.v0.models.FeatureDeleted | io.flow.internal.v0.models.OrganizationBooleanValueUpserted | io.flow.internal.v0.models.OrganizationBooleanValueDeleted | io.flow.internal.v0.models.BillingOrganizationProcessingRatesUpserted | io.flow.internal.v0.models.BillingOrganizationProcessingRatesDeleted | io.flow.internal.v0.models.BillingOrganizationSettingsUpserted | io.flow.internal.v0.models.BillingOrganizationSettingsDeleted | io.flow.internal.v0.models.PlatformFeeChangeUpserted | io.flow.internal.v0.models.PlatformFeeChangeDeleted | io.flow.internal.v0.models.FxRevenueRecognitionUpserted | io.flow.internal.v0.models.FxRevenueRecognitionDeleted | io.flow.internal.v0.models.FraudReviewUpserted | io.flow.internal.v0.models.FraudReviewDeleted | io.flow.internal.v0.models.FraudPendingReviewUpserted | io.flow.internal.v0.models.FraudPendingReviewDeleted | io.flow.internal.v0.models.FraudReviewDecisionUpserted | io.flow.internal.v0.models.FraudReviewDecisionDeleted | io.flow.internal.v0.models.FtpFileUpserted | io.flow.internal.v0.models.FtpFileDeleted | io.flow.internal.v0.models.FtpFileToProcessUploaded | io.flow.internal.v0.models.PregeneratedRequestEvent | io.flow.internal.v0.models.AllItemsExport | io.flow.internal.v0.models.HarmonizedItemsHs6Export | io.flow.internal.v0.models.UnharmonizedItemsExport | io.flow.internal.v0.models.DutiedItemsExport | io.flow.internal.v0.models.TariffCodesExport | io.flow.internal.v0.models.HarmonizationPhraseSuggestionRequestImport | io.flow.internal.v0.models.HarmonizationCodesImport | io.flow.internal.v0.models.ItemClassificationCreated | io.flow.internal.v0.models.HarmonizeFullyRequestV2 | io.flow.internal.v0.models.HybrisCatalogItemsImportRequest | io.flow.internal.v0.models.ImportCompleted | io.flow.internal.v0.models.ImportFailed | io.flow.internal.v0.models.TimeToClassifyUpserted | io.flow.internal.v0.models.TimeToClassifyDeleted | io.flow.internal.v0.models.TimeToClassifyAggregatedUpserted | io.flow.internal.v0.models.TimeToClassifyAggregatedDeleted | io.flow.internal.v0.models.RateSourceSummaryUpserted | io.flow.internal.v0.models.RateSourceSummaryDeleted | io.flow.internal.v0.models.RateFreshnessSummaryUpserted | io.flow.internal.v0.models.RateFreshnessSummaryDeleted | io.flow.internal.v0.models.ItemHarmonizationUpserted | io.flow.internal.v0.models.ItemHarmonizationDeleted | io.flow.internal.v0.models.HarmonizationItemClassificationUpserted | io.flow.internal.v0.models.HarmonizationItemClassificationDeleted | io.flow.internal.v0.models.IssuerUpserted | io.flow.internal.v0.models.IssuerDeleted | io.flow.internal.v0.models.ItemFormImportRequest | io.flow.internal.v0.models.LocalizedItemUpsertedV2 | io.flow.internal.v0.models.LocalizedItemDeleted | io.flow.internal.v0.models.LocalizedItemDeletedV2 | io.flow.internal.v0.models.LocalizedItemSnapshot | io.flow.internal.v0.models.LocalizedPriceBookItemUpserted | io.flow.internal.v0.models.LocalizedPriceBookItemDeleted | io.flow.internal.v0.models.FeedUpserted | io.flow.internal.v0.models.FeedDeleted | io.flow.internal.v0.models.FeedsExport | io.flow.internal.v0.models.LocalizedItemPricesExportRequest | io.flow.internal.v0.models.OptinPromptUpserted | io.flow.internal.v0.models.OptinPromptDeleted | io.flow.internal.v0.models.OrderFulfillmentDeleted | io.flow.internal.v0.models.OrderFulfillmentUpserted | io.flow.internal.v0.models.OrderPlaced | io.flow.internal.v0.models.ReadyToFulfill | io.flow.internal.v0.models.FulfillmentCancel | io.flow.internal.v0.models.OrderShipped | io.flow.internal.v0.models.ItemsShipped | io.flow.internal.v0.models.InternalAuthorizationUpserted | io.flow.internal.v0.models.InternalAuthorizationDeleted | io.flow.internal.v0.models.AfterpayAuthorizationUpserted | io.flow.internal.v0.models.AfterpayAuthorizationDeleted | io.flow.internal.v0.models.AfterpayCaptureUpserted | io.flow.internal.v0.models.AfterpayCaptureDeleted | io.flow.internal.v0.models.AfterpayRefundUpserted | io.flow.internal.v0.models.AfterpayRefundDeleted | io.flow.internal.v0.models.AdyenMerchantAccountUpserted | io.flow.internal.v0.models.AdyenMerchantAccountDeleted | io.flow.internal.v0.models.ChargebackUpserted | io.flow.internal.v0.models.ChargebackDeleted | io.flow.internal.v0.models.PaymentProcessorAccountUpserted | io.flow.internal.v0.models.PaymentProcessorAccountDeleted | io.flow.internal.v0.models.PaymentProcessorMerchantUpserted | io.flow.internal.v0.models.PaymentProcessorMerchantDeleted | io.flow.internal.v0.models.VirtualCardProviderUpserted | io.flow.internal.v0.models.VirtualCardProviderDeleted | io.flow.internal.v0.models.PaypalPaymentDeleted | io.flow.internal.v0.models.PaypalPaymentUpserted | io.flow.internal.v0.models.PaypalExecutionDeleted | io.flow.internal.v0.models.PaypalExecutionUpserted | io.flow.internal.v0.models.PaypalRefundDeleted | io.flow.internal.v0.models.PaypalRefundUpserted | io.flow.internal.v0.models.PricingIndicator | io.flow.internal.v0.models.OrderRatesPublishedV3 | io.flow.internal.v0.models.RatecardDimensionEstimateUpserted | io.flow.internal.v0.models.RatecardDimensionEstimateDeleted | io.flow.internal.v0.models.RatecardLanesImportRequest | io.flow.internal.v0.models.RatecardStandardConfigurationUpserted | io.flow.internal.v0.models.RatecardStandardConfigurationDeleted | io.flow.internal.v0.models.RatecardLaneAggregateUpserted | io.flow.internal.v0.models.RatecardLaneAggregateDeleted | io.flow.internal.v0.models.ShopifyShopUpserted | io.flow.internal.v0.models.ShopifyShopDeleted | io.flow.internal.v0.models.ShopifyExperienceShortIdUpserted | io.flow.internal.v0.models.ShopifyExperienceShortIdDeleted | io.flow.internal.v0.models.StripeAuthorizationDeleted | io.flow.internal.v0.models.StripeAuthorizationUpserted | io.flow.internal.v0.models.StripeReversalDeleted | io.flow.internal.v0.models.StripeReversalUpserted | io.flow.internal.v0.models.StripeCaptureDeleted | io.flow.internal.v0.models.StripeCaptureUpserted | io.flow.internal.v0.models.StripeRefundDeleted | io.flow.internal.v0.models.StripeRefundUpserted | io.flow.internal.v0.models.SvbVirtualCardClearingUpserted | io.flow.internal.v0.models.SvbVirtualCardClearingDeleted | io.flow.internal.v0.models.LiabilityRemittancePlanUpserted | io.flow.internal.v0.models.LiabilityRemittancePlanDeleted | io.flow.internal.v0.models.TrackingLabelEventUpsertedV2 | io.flow.internal.v0.models.TrackingLabelEventDeletedV2 | io.flow.internal.v0.models.TrackingLabelUpserted | io.flow.internal.v0.models.TrackingLabelDeleted | io.flow.internal.v0.models.TrackingUpserted | io.flow.internal.v0.models.TrackingDeleted | io.flow.internal.v0.models.TrackingRequestUpserted | io.flow.internal.v0.models.TrackingResponseUpserted | io.flow.internal.v0.models.UserUpsertedV2 | io.flow.internal.v0.models.UserDeletedV2;
18354
18444
  type Experiment = io.flow.internal.v0.models.ExperienceExperiment | io.flow.internal.v0.models.FeatureExperiment;
18355
18445
  type ExportSchedule = io.flow.internal.v0.models.ExportScheduleDaily | io.flow.internal.v0.models.ExportScheduleRepeated;
18356
18446
  type FeatureDefaultValue = io.flow.internal.v0.models.BooleanFeatureDefaultValue | io.flow.internal.v0.models.StringFeatureDefaultValue;
@@ -18592,6 +18682,9 @@ export declare type CatalogItemRegionAvailabilitiesPublished = io.flow.internal.
18592
18682
  export declare type CenterQueryBuilder = io.flow.internal.v0.models.CenterQueryBuilder;
18593
18683
  export declare type ChangeSettingsIndexTask = io.flow.internal.v0.models.ChangeSettingsIndexTask;
18594
18684
  export declare type Channel = io.flow.internal.v0.models.Channel;
18685
+ export declare type ChannelAccount = io.flow.internal.v0.models.ChannelAccount;
18686
+ export declare type ChannelAccountDeleted = io.flow.internal.v0.models.ChannelAccountDeleted;
18687
+ export declare type ChannelAccountUpserted = io.flow.internal.v0.models.ChannelAccountUpserted;
18595
18688
  export declare type ChannelCurrency = io.flow.internal.v0.models.ChannelCurrency;
18596
18689
  export declare type ChannelCurrencyCapability = io.flow.internal.v0.enums.ChannelCurrencyCapability;
18597
18690
  export declare type ChannelCurrencyForm = io.flow.internal.v0.models.ChannelCurrencyForm;
package/dist/api.d.ts CHANGED
@@ -139,6 +139,8 @@ declare namespace io.flow.stripe.v0.enums {
139
139
  type DeclineCode = 'approve_with_id' | 'call_issuer' | 'card_not_supported' | 'card_velocity_exceeded' | 'currency_not_supported' | 'do_not_honor' | 'do_not_try_again' | 'duplicate_transaction' | 'expired_card' | 'fraudulent' | 'generic_decline' | 'incorrect_number' | 'incorrect_cvc' | 'incorrect_pin' | 'incorrect_zip' | 'insufficient_funds' | 'invalid_account' | 'invalid_amount' | 'invalid_cvc' | 'invalid_expiry_year' | 'invalid_number' | 'invalid_pin' | 'issuer_not_available' | 'lost_card' | 'new_account_information_available' | 'no_action_taken' | 'not_permitted' | 'pickup_card' | 'pin_try_exceeded' | 'processing_error' | 'reenter_transaction' | 'restricted_card' | 'revocation_of_all_authorizations' | 'revocation_of_authorization' | 'security_violation' | 'service_not_allowed' | 'stolen_card' | 'stop_payment_order' | 'testmode_decline' | 'transaction_not_allowed' | 'try_again_later' | 'withdrawal_count_limit_exceeded';
140
140
  type ErrorType = 'api_connection_error' | 'api_error' | 'authentication_error' | 'card_error' | 'idempotency_error' | 'invalid_request_error' | 'rate_limit_error' | 'validation_error';
141
141
  type EventType = 'charge.captured' | 'charge.failed' | 'charge.pending' | 'charge.refunded' | 'charge.refund.updated' | 'charge.succeeded' | 'charge.updated' | 'payment_intent.amount_capturable_updated' | 'payment_intent.payment_failed' | 'payment_intent.succeeded' | 'source.canceled' | 'source.chargeable' | 'source.failed';
142
+ type KlarnaPaymentMethodCategoryType = 'direct_bank_transfer' | 'direct_debit' | 'pay_later' | 'pay_now' | 'pay_over_time';
143
+ type KlarnaProduct = 'payment';
142
144
  type NetworkStatus = 'approved_by_network' | 'declined_by_network' | 'not_sent_to_network' | 'reversed_after_approval';
143
145
  type NextActionType = 'redirect_to_url' | 'use_stripe_sdk';
144
146
  type OrderItemType = 'sku' | 'tax' | 'shipping' | 'discount';
@@ -374,7 +376,7 @@ declare namespace io.flow.stripe.v0.models {
374
376
  readonly shipping?: io.flow.stripe.v0.models.Shipping;
375
377
  }
376
378
  interface OrderItem {
377
- readonly object: string;
379
+ readonly object?: string;
378
380
  readonly amount: number;
379
381
  readonly currency: string;
380
382
  readonly description?: string;
@@ -593,7 +595,7 @@ declare namespace io.flow.stripe.v0.models {
593
595
  }
594
596
  interface Shipping {
595
597
  readonly address: io.flow.stripe.v0.models.Address;
596
- readonly name: string;
598
+ readonly name?: string;
597
599
  readonly phone?: string;
598
600
  }
599
601
  interface Source {
@@ -615,6 +617,7 @@ declare namespace io.flow.stripe.v0.models {
615
617
  readonly status: io.flow.stripe.v0.enums.SourceStatus;
616
618
  readonly type: io.flow.stripe.v0.enums.SourceType;
617
619
  readonly usage: io.flow.stripe.v0.enums.SourceUsageType;
620
+ readonly source_order?: io.flow.stripe.v0.models.SourceOrder;
618
621
  }
619
622
  interface SourceCard {
620
623
  readonly exp_month: number;
@@ -642,11 +645,47 @@ declare namespace io.flow.stripe.v0.models {
642
645
  readonly first_name?: string;
643
646
  readonly last_name?: string;
644
647
  readonly client_token: string;
648
+ readonly payment_method_categories?: string;
649
+ readonly purchase_country?: string;
650
+ readonly shipping_first_name?: string;
651
+ readonly shipping_last_name?: string;
652
+ readonly locale?: string;
653
+ readonly pay_later_name?: string;
654
+ readonly pay_later_asset_urls_standard?: string;
655
+ readonly pay_later_asset_urls_descriptive?: string;
656
+ readonly pay_now_name?: string;
657
+ readonly pay_now_asset_urls_standard?: string;
658
+ readonly pay_now_asset_urls_descriptive?: string;
659
+ readonly pay_over_time_name?: string;
660
+ readonly pay_over_time_asset_urls_standard?: string;
661
+ readonly pay_over_time_asset_urls_descriptive?: string;
662
+ readonly direct_bank_transfer_name?: string;
663
+ readonly direct_bank_transfer_asset_urls_standard?: string;
664
+ readonly direct_bank_transfer_asset_urls_descriptive?: string;
665
+ readonly direct_debit_name?: string;
666
+ readonly direct_debit_asset_urls_standard?: string;
667
+ readonly direct_debit_asset_urls_descriptive?: string;
645
668
  }
646
669
  interface SourceKlarnaRequest {
647
670
  readonly first_name: string;
648
671
  readonly last_name: string;
672
+ readonly purchase_country?: string;
673
+ readonly product?: io.flow.stripe.v0.enums.KlarnaProduct;
649
674
  readonly attachment?: string;
675
+ readonly shipping_first_name?: string;
676
+ readonly shipping_last_name?: string;
677
+ readonly locale?: string;
678
+ }
679
+ interface SourceOrder {
680
+ readonly amount?: number;
681
+ readonly currency?: string;
682
+ readonly email?: string;
683
+ readonly items?: io.flow.stripe.v0.models.OrderItem[];
684
+ readonly shipping?: io.flow.stripe.v0.models.Shipping;
685
+ }
686
+ interface SourceOrderRequest {
687
+ readonly items?: io.flow.stripe.v0.models.OrderItemRequest[];
688
+ readonly shipping?: io.flow.stripe.v0.models.Shipping;
650
689
  }
651
690
  interface SourceRequest {
652
691
  readonly type?: io.flow.stripe.v0.enums.SourceType;
@@ -663,6 +702,7 @@ declare namespace io.flow.stripe.v0.models {
663
702
  readonly three_d_secure?: io.flow.stripe.v0.models.ThreeDSecure;
664
703
  readonly token?: string;
665
704
  readonly usage: io.flow.stripe.v0.enums.SourceUsageType;
705
+ readonly source_order?: io.flow.stripe.v0.models.SourceOrderRequest;
666
706
  }
667
707
  interface Stripe3Ds2Fingerprint {
668
708
  readonly type: io.flow.stripe.v0.enums.UseStripeSdkType;
@@ -2329,6 +2369,7 @@ declare namespace io.flow.v0.enums {
2329
2369
  type ShopifyGrant = 'customer' | 'discount' | 'gift_card' | 'metafield' | 'order';
2330
2370
  type ShopifyLocalizationMethod = 'api' | 'ssr';
2331
2371
  type ShopifySyncCheck = 'localized_variants' | 'flow_variant_metafields';
2372
+ type ShortIdSourceKey = 'channel' | 'organization';
2332
2373
  type SortDirection = 'ascending' | 'descending';
2333
2374
  type Strategy = 'range' | 'from' | 'to';
2334
2375
  type SubcatalogItemStatus = 'excluded' | 'included' | 'restricted';
@@ -9170,6 +9211,15 @@ declare namespace io.flow.v0.models {
9170
9211
  readonly experience: io.flow.v0.models.ExperienceReference;
9171
9212
  readonly status: io.flow.v0.enums.ItemAvailabilityStatus;
9172
9213
  }
9214
+ interface ShortId {
9215
+ readonly id: string;
9216
+ readonly source: io.flow.v0.models.ShortIdSource;
9217
+ readonly identifier: string;
9218
+ }
9219
+ interface ShortIdSource {
9220
+ readonly key: io.flow.v0.enums.ShortIdSourceKey;
9221
+ readonly id: string;
9222
+ }
9173
9223
  interface SimplePermissionCheck {
9174
9224
  readonly behaviors: io.flow.v0.enums.FlowBehavior[];
9175
9225
  }
@@ -11387,6 +11437,9 @@ export declare type ShopifySyncCheck = io.flow.v0.enums.ShopifySyncCheck;
11387
11437
  export declare type ShopifySyncStatus = io.flow.v0.models.ShopifySyncStatus;
11388
11438
  export declare type ShopifyVariantFlowMetafield = io.flow.v0.models.ShopifyVariantFlowMetafield;
11389
11439
  export declare type ShopifyVariantInventoryMetafield = io.flow.v0.models.ShopifyVariantInventoryMetafield;
11440
+ export declare type ShortId = io.flow.v0.models.ShortId;
11441
+ export declare type ShortIdSource = io.flow.v0.models.ShortIdSource;
11442
+ export declare type ShortIdSourceKey = io.flow.v0.enums.ShortIdSourceKey;
11390
11443
  export declare type SimplePermissionCheck = io.flow.v0.models.SimplePermissionCheck;
11391
11444
  export declare type SinglePackageShippingNotificationForm = io.flow.v0.models.SinglePackageShippingNotificationForm;
11392
11445
  export declare type SnapshotDeleted = io.flow.v0.models.SnapshotDeleted;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flowio/types",
3
- "version": "11.20.0",
3
+ "version": "11.20.1",
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": "31fa1fa0ccea753b679b88046a8cc02baae9a0a9"
28
+ "gitHead": "38af75487da2f490f599a0825d0b541106b9ba43"
29
29
  }
@@ -4043,6 +4043,13 @@ declare namespace io.flow.stripe.v0.enums {
4043
4043
  | 'source.canceled'
4044
4044
  | 'source.chargeable'
4045
4045
  | 'source.failed';
4046
+ type KlarnaPaymentMethodCategoryType =
4047
+ | 'direct_bank_transfer'
4048
+ | 'direct_debit'
4049
+ | 'pay_later'
4050
+ | 'pay_now'
4051
+ | 'pay_over_time';
4052
+ type KlarnaProduct = 'payment';
4046
4053
  type NetworkStatus =
4047
4054
  | 'approved_by_network'
4048
4055
  | 'declined_by_network'
@@ -4346,7 +4353,7 @@ declare namespace io.flow.stripe.v0.models {
4346
4353
  }
4347
4354
 
4348
4355
  interface OrderItem {
4349
- readonly object: string;
4356
+ readonly object?: string;
4350
4357
  readonly amount: number;
4351
4358
  readonly currency: string;
4352
4359
  readonly description?: string;
@@ -4588,7 +4595,7 @@ declare namespace io.flow.stripe.v0.models {
4588
4595
 
4589
4596
  interface Shipping {
4590
4597
  readonly address: io.flow.stripe.v0.models.Address;
4591
- readonly name: string;
4598
+ readonly name?: string;
4592
4599
  readonly phone?: string;
4593
4600
  }
4594
4601
 
@@ -4611,6 +4618,7 @@ declare namespace io.flow.stripe.v0.models {
4611
4618
  readonly status: io.flow.stripe.v0.enums.SourceStatus;
4612
4619
  readonly type: io.flow.stripe.v0.enums.SourceType;
4613
4620
  readonly usage: io.flow.stripe.v0.enums.SourceUsageType;
4621
+ readonly source_order?: io.flow.stripe.v0.models.SourceOrder;
4614
4622
  }
4615
4623
 
4616
4624
  interface SourceCard {
@@ -4641,12 +4649,50 @@ declare namespace io.flow.stripe.v0.models {
4641
4649
  readonly first_name?: string;
4642
4650
  readonly last_name?: string;
4643
4651
  readonly client_token: string;
4652
+ readonly payment_method_categories?: string;
4653
+ readonly purchase_country?: string;
4654
+ readonly shipping_first_name?: string;
4655
+ readonly shipping_last_name?: string;
4656
+ readonly locale?: string;
4657
+ readonly pay_later_name?: string;
4658
+ readonly pay_later_asset_urls_standard?: string;
4659
+ readonly pay_later_asset_urls_descriptive?: string;
4660
+ readonly pay_now_name?: string;
4661
+ readonly pay_now_asset_urls_standard?: string;
4662
+ readonly pay_now_asset_urls_descriptive?: string;
4663
+ readonly pay_over_time_name?: string;
4664
+ readonly pay_over_time_asset_urls_standard?: string;
4665
+ readonly pay_over_time_asset_urls_descriptive?: string;
4666
+ readonly direct_bank_transfer_name?: string;
4667
+ readonly direct_bank_transfer_asset_urls_standard?: string;
4668
+ readonly direct_bank_transfer_asset_urls_descriptive?: string;
4669
+ readonly direct_debit_name?: string;
4670
+ readonly direct_debit_asset_urls_standard?: string;
4671
+ readonly direct_debit_asset_urls_descriptive?: string;
4644
4672
  }
4645
4673
 
4646
4674
  interface SourceKlarnaRequest {
4647
4675
  readonly first_name: string;
4648
4676
  readonly last_name: string;
4677
+ readonly purchase_country?: string;
4678
+ readonly product?: io.flow.stripe.v0.enums.KlarnaProduct;
4649
4679
  readonly attachment?: string;
4680
+ readonly shipping_first_name?: string;
4681
+ readonly shipping_last_name?: string;
4682
+ readonly locale?: string;
4683
+ }
4684
+
4685
+ interface SourceOrder {
4686
+ readonly amount?: number;
4687
+ readonly currency?: string;
4688
+ readonly email?: string;
4689
+ readonly items?: io.flow.stripe.v0.models.OrderItem[];
4690
+ readonly shipping?: io.flow.stripe.v0.models.Shipping;
4691
+ }
4692
+
4693
+ interface SourceOrderRequest {
4694
+ readonly items?: io.flow.stripe.v0.models.OrderItemRequest[];
4695
+ readonly shipping?: io.flow.stripe.v0.models.Shipping;
4650
4696
  }
4651
4697
 
4652
4698
  interface SourceRequest {
@@ -4664,6 +4710,7 @@ declare namespace io.flow.stripe.v0.models {
4664
4710
  readonly three_d_secure?: io.flow.stripe.v0.models.ThreeDSecure;
4665
4711
  readonly token?: string;
4666
4712
  readonly usage: io.flow.stripe.v0.enums.SourceUsageType;
4713
+ readonly source_order?: io.flow.stripe.v0.models.SourceOrderRequest;
4667
4714
  }
4668
4715
 
4669
4716
  interface Stripe3Ds2Fingerprint {
@@ -6017,7 +6064,7 @@ declare namespace io.flow.brickftp.v0.models {
6017
6064
  readonly id: number;
6018
6065
  readonly path: string;
6019
6066
  readonly behavior: io.flow.brickftp.v0.enums.BehaviorType;
6020
- readonly value: string[];
6067
+ readonly value: any /*object*/;
6021
6068
  }
6022
6069
 
6023
6070
  interface BehaviorForm {
@@ -6256,6 +6303,11 @@ declare namespace io.flow.adyen.v0.models {
6256
6303
  readonly currency: string;
6257
6304
  }
6258
6305
 
6306
+ interface Applepay {
6307
+ readonly type: 'applepay';
6308
+ readonly applePayToken: string;
6309
+ }
6310
+
6259
6311
  interface Authentication {
6260
6312
  readonly 'threeds2.fingerprintToken'?: string;
6261
6313
  readonly 'threeds2.challengeToken'?: string;
@@ -6283,6 +6335,8 @@ declare namespace io.flow.adyen.v0.models {
6283
6335
  readonly browserInfo?: io.flow.adyen.v0.unions.BrowserInfo;
6284
6336
  readonly threeDS2RequestData?: io.flow.adyen.v0.models.Threeds2RequestData;
6285
6337
  readonly recurringProcessingModel?: io.flow.adyen.v0.enums.RecurringProcessingModel;
6338
+ readonly mcc?: string;
6339
+ readonly metadata?: any /*object*/;
6286
6340
  }
6287
6341
 
6288
6342
  interface AuthorizeRequest3D {
@@ -6439,6 +6493,14 @@ declare namespace io.flow.adyen.v0.models {
6439
6493
  readonly paymentData?: string;
6440
6494
  }
6441
6495
 
6496
+ interface PaymentDetailsV663Ds2Challenge {
6497
+ readonly 'threeds2.challengeResult': string;
6498
+ }
6499
+
6500
+ interface PaymentDetailsV663Ds2Fingerprint {
6501
+ readonly 'threeds2.fingerprint': string;
6502
+ }
6503
+
6442
6504
  interface PaymentRequest {
6443
6505
  readonly reference: string;
6444
6506
  readonly merchantAccount: string;
@@ -6460,7 +6522,9 @@ declare namespace io.flow.adyen.v0.models {
6460
6522
  readonly browserInfo?: io.flow.adyen.v0.unions.BrowserInfo;
6461
6523
  readonly origin?: string;
6462
6524
  readonly channel?: io.flow.adyen.v0.enums.Channel;
6463
- readonly returnURL?: string;
6525
+ readonly returnUrl?: string;
6526
+ readonly mcc?: string;
6527
+ readonly metadata?: any /*object*/;
6464
6528
  }
6465
6529
 
6466
6530
  interface PaymentResponse {
@@ -6516,6 +6580,15 @@ declare namespace io.flow.adyen.v0.models {
6516
6580
  readonly cvc?: string;
6517
6581
  }
6518
6582
 
6583
+ interface SdkV3OnCompleteData {
6584
+ readonly details: any /*object*/;
6585
+ readonly payment_data?: string;
6586
+ }
6587
+
6588
+ interface SdkV3OnCompleteResult {
6589
+ readonly data: io.flow.adyen.v0.models.SdkV3OnCompleteData;
6590
+ }
6591
+
6519
6592
  interface ThreeDSecureData {
6520
6593
  readonly authenticationResponse?: string;
6521
6594
  readonly cavv?: string;
@@ -6547,7 +6620,9 @@ declare namespace io.flow.adyen.v0.unions {
6547
6620
  type BrowserInfo =
6548
6621
  | io.flow.adyen.v0.models.BrowserInfo3Ds1
6549
6622
  | io.flow.adyen.v0.models.BrowserInfo3Ds2;
6550
- type PaymentMethodData = io.flow.adyen.v0.models.Scheme;
6623
+ type PaymentMethodData =
6624
+ | io.flow.adyen.v0.models.Scheme
6625
+ | io.flow.adyen.v0.models.Applepay;
6551
6626
  }
6552
6627
 
6553
6628
  declare namespace io.flow.order.management.v0.enums {
@@ -8770,7 +8845,7 @@ declare namespace io.flow.payment.gateway.v0.models {
8770
8845
  }
8771
8846
 
8772
8847
  interface PaymentContactBilling {
8773
- readonly first_name: string;
8848
+ readonly first_name?: string;
8774
8849
  readonly last_name: string;
8775
8850
  readonly company?: string;
8776
8851
  readonly email?: string;
@@ -8778,7 +8853,7 @@ declare namespace io.flow.payment.gateway.v0.models {
8778
8853
  }
8779
8854
 
8780
8855
  interface PaymentContactShipping {
8781
- readonly first_name: string;
8856
+ readonly first_name?: string;
8782
8857
  readonly last_name: string;
8783
8858
  readonly email: string;
8784
8859
  readonly phone: string;
@@ -9979,10 +10054,14 @@ declare namespace io.flow.crypto.v0.models {
9979
10054
  readonly publishable_key: string;
9980
10055
  }
9981
10056
 
10057
+ interface Error {
10058
+ readonly type?: io.flow.crypto.v0.enums.ErrorType;
10059
+ readonly code?: string;
10060
+ readonly param?: string;
10061
+ }
10062
+
9982
10063
  interface ErrorResponse {
9983
- readonly type: io.flow.crypto.v0.enums.ErrorType;
9984
- readonly code: string;
9985
- readonly param: string;
10064
+ readonly error?: io.flow.crypto.v0.models.Error;
9986
10065
  }
9987
10066
 
9988
10067
  interface Payment {
@@ -10002,7 +10081,6 @@ declare namespace io.flow.crypto.v0.models {
10002
10081
  readonly recipient: string;
10003
10082
  readonly refunded: boolean;
10004
10083
  readonly status: io.flow.crypto.v0.enums.PaymentStatus;
10005
- readonly time_window: number;
10006
10084
  }
10007
10085
 
10008
10086
  interface PaymentRequest {
@@ -12091,6 +12169,7 @@ declare namespace io.flow.organization.v0.enums {
12091
12169
  | 'solidus'
12092
12170
  | 'workarea';
12093
12171
  type InvitationErrorCode = 'expired' | 'invalid_email';
12172
+ type ShortIdSourceKey = 'channel' | 'organization';
12094
12173
  }
12095
12174
 
12096
12175
  declare namespace io.flow.organization.v0.models {
@@ -12233,6 +12312,17 @@ declare namespace io.flow.organization.v0.models {
12233
12312
  interface RegionSettingForm {
12234
12313
  readonly status: io.flow.common.v0.enums.AvailabilityStatus;
12235
12314
  }
12315
+
12316
+ interface ShortId {
12317
+ readonly id: string;
12318
+ readonly source: io.flow.organization.v0.models.ShortIdSource;
12319
+ readonly identifier: string;
12320
+ }
12321
+
12322
+ interface ShortIdSource {
12323
+ readonly key: io.flow.organization.v0.enums.ShortIdSourceKey;
12324
+ readonly id: string;
12325
+ }
12236
12326
  }
12237
12327
 
12238
12328
  declare namespace io.flow.session.v0.models {
@@ -12789,6 +12879,8 @@ declare namespace io.flow.internal.v0.enums {
12789
12879
  | 'tax_remittance_transaction_deleted'
12790
12880
  | 'channel_transaction_upserted'
12791
12881
  | 'channel_transaction_deleted'
12882
+ | 'channel_account_upserted'
12883
+ | 'channel_account_deleted'
12792
12884
  | 'organization_account_upserted'
12793
12885
  | 'organization_account_deleted'
12794
12886
  | 'account_transactions_export_request'
@@ -14493,6 +14585,26 @@ declare namespace io.flow.internal.v0.models {
14493
14585
  readonly organization_id_prefix?: string;
14494
14586
  }
14495
14587
 
14588
+ interface ChannelAccount {
14589
+ readonly id: string;
14590
+ readonly channel: io.flow.common.v0.models.ChannelReference;
14591
+ readonly account: io.flow.internal.v0.models.SimpleAccountReference;
14592
+ }
14593
+
14594
+ interface ChannelAccountDeleted {
14595
+ readonly discriminator: 'channel_account_deleted';
14596
+ readonly event_id: string;
14597
+ readonly timestamp: string;
14598
+ readonly id: string;
14599
+ }
14600
+
14601
+ interface ChannelAccountUpserted {
14602
+ readonly discriminator: 'channel_account_upserted';
14603
+ readonly event_id: string;
14604
+ readonly timestamp: string;
14605
+ readonly channel_account: io.flow.internal.v0.models.ChannelAccount;
14606
+ }
14607
+
14496
14608
  interface ChannelCurrency {
14497
14609
  readonly id: string;
14498
14610
  readonly currency: string;
@@ -23648,6 +23760,8 @@ declare namespace io.flow.internal.v0.unions {
23648
23760
  | io.flow.internal.v0.models.TaxRemittanceTransactionDeleted
23649
23761
  | io.flow.internal.v0.models.ChannelTransactionUpserted
23650
23762
  | io.flow.internal.v0.models.ChannelTransactionDeleted
23763
+ | io.flow.internal.v0.models.ChannelAccountUpserted
23764
+ | io.flow.internal.v0.models.ChannelAccountDeleted
23651
23765
  | io.flow.internal.v0.models.OrganizationAccountUpserted
23652
23766
  | io.flow.internal.v0.models.OrganizationAccountDeleted
23653
23767
  | io.flow.internal.v0.models.AccountTransactionsExportRequest
@@ -24270,6 +24384,9 @@ export type CatalogItemRegionAvailabilitiesPublished = io.flow.internal.v0.model
24270
24384
  export type CenterQueryBuilder = io.flow.internal.v0.models.CenterQueryBuilder;
24271
24385
  export type ChangeSettingsIndexTask = io.flow.internal.v0.models.ChangeSettingsIndexTask;
24272
24386
  export type Channel = io.flow.internal.v0.models.Channel;
24387
+ export type ChannelAccount = io.flow.internal.v0.models.ChannelAccount;
24388
+ export type ChannelAccountDeleted = io.flow.internal.v0.models.ChannelAccountDeleted;
24389
+ export type ChannelAccountUpserted = io.flow.internal.v0.models.ChannelAccountUpserted;
24273
24390
  export type ChannelCurrency = io.flow.internal.v0.models.ChannelCurrency;
24274
24391
  export type ChannelCurrencyCapability = io.flow.internal.v0.enums.ChannelCurrencyCapability;
24275
24392
  export type ChannelCurrencyForm = io.flow.internal.v0.models.ChannelCurrencyForm;
package/src/api.ts CHANGED
@@ -251,6 +251,13 @@ declare namespace io.flow.stripe.v0.enums {
251
251
  | 'source.canceled'
252
252
  | 'source.chargeable'
253
253
  | 'source.failed';
254
+ type KlarnaPaymentMethodCategoryType =
255
+ | 'direct_bank_transfer'
256
+ | 'direct_debit'
257
+ | 'pay_later'
258
+ | 'pay_now'
259
+ | 'pay_over_time';
260
+ type KlarnaProduct = 'payment';
254
261
  type NetworkStatus =
255
262
  | 'approved_by_network'
256
263
  | 'declined_by_network'
@@ -554,7 +561,7 @@ declare namespace io.flow.stripe.v0.models {
554
561
  }
555
562
 
556
563
  interface OrderItem {
557
- readonly object: string;
564
+ readonly object?: string;
558
565
  readonly amount: number;
559
566
  readonly currency: string;
560
567
  readonly description?: string;
@@ -796,7 +803,7 @@ declare namespace io.flow.stripe.v0.models {
796
803
 
797
804
  interface Shipping {
798
805
  readonly address: io.flow.stripe.v0.models.Address;
799
- readonly name: string;
806
+ readonly name?: string;
800
807
  readonly phone?: string;
801
808
  }
802
809
 
@@ -819,6 +826,7 @@ declare namespace io.flow.stripe.v0.models {
819
826
  readonly status: io.flow.stripe.v0.enums.SourceStatus;
820
827
  readonly type: io.flow.stripe.v0.enums.SourceType;
821
828
  readonly usage: io.flow.stripe.v0.enums.SourceUsageType;
829
+ readonly source_order?: io.flow.stripe.v0.models.SourceOrder;
822
830
  }
823
831
 
824
832
  interface SourceCard {
@@ -849,12 +857,50 @@ declare namespace io.flow.stripe.v0.models {
849
857
  readonly first_name?: string;
850
858
  readonly last_name?: string;
851
859
  readonly client_token: string;
860
+ readonly payment_method_categories?: string;
861
+ readonly purchase_country?: string;
862
+ readonly shipping_first_name?: string;
863
+ readonly shipping_last_name?: string;
864
+ readonly locale?: string;
865
+ readonly pay_later_name?: string;
866
+ readonly pay_later_asset_urls_standard?: string;
867
+ readonly pay_later_asset_urls_descriptive?: string;
868
+ readonly pay_now_name?: string;
869
+ readonly pay_now_asset_urls_standard?: string;
870
+ readonly pay_now_asset_urls_descriptive?: string;
871
+ readonly pay_over_time_name?: string;
872
+ readonly pay_over_time_asset_urls_standard?: string;
873
+ readonly pay_over_time_asset_urls_descriptive?: string;
874
+ readonly direct_bank_transfer_name?: string;
875
+ readonly direct_bank_transfer_asset_urls_standard?: string;
876
+ readonly direct_bank_transfer_asset_urls_descriptive?: string;
877
+ readonly direct_debit_name?: string;
878
+ readonly direct_debit_asset_urls_standard?: string;
879
+ readonly direct_debit_asset_urls_descriptive?: string;
852
880
  }
853
881
 
854
882
  interface SourceKlarnaRequest {
855
883
  readonly first_name: string;
856
884
  readonly last_name: string;
885
+ readonly purchase_country?: string;
886
+ readonly product?: io.flow.stripe.v0.enums.KlarnaProduct;
857
887
  readonly attachment?: string;
888
+ readonly shipping_first_name?: string;
889
+ readonly shipping_last_name?: string;
890
+ readonly locale?: string;
891
+ }
892
+
893
+ interface SourceOrder {
894
+ readonly amount?: number;
895
+ readonly currency?: string;
896
+ readonly email?: string;
897
+ readonly items?: io.flow.stripe.v0.models.OrderItem[];
898
+ readonly shipping?: io.flow.stripe.v0.models.Shipping;
899
+ }
900
+
901
+ interface SourceOrderRequest {
902
+ readonly items?: io.flow.stripe.v0.models.OrderItemRequest[];
903
+ readonly shipping?: io.flow.stripe.v0.models.Shipping;
858
904
  }
859
905
 
860
906
  interface SourceRequest {
@@ -872,6 +918,7 @@ declare namespace io.flow.stripe.v0.models {
872
918
  readonly three_d_secure?: io.flow.stripe.v0.models.ThreeDSecure;
873
919
  readonly token?: string;
874
920
  readonly usage: io.flow.stripe.v0.enums.SourceUsageType;
921
+ readonly source_order?: io.flow.stripe.v0.models.SourceOrderRequest;
875
922
  }
876
923
 
877
924
  interface Stripe3Ds2Fingerprint {
@@ -3557,6 +3604,7 @@ declare namespace io.flow.v0.enums {
3557
3604
  | 'order';
3558
3605
  type ShopifyLocalizationMethod = 'api' | 'ssr';
3559
3606
  type ShopifySyncCheck = 'localized_variants' | 'flow_variant_metafields';
3607
+ type ShortIdSourceKey = 'channel' | 'organization';
3560
3608
  type SortDirection = 'ascending' | 'descending';
3561
3609
  type Strategy = 'range' | 'from' | 'to';
3562
3610
  type SubcatalogItemStatus = 'excluded' | 'included' | 'restricted';
@@ -11572,6 +11620,17 @@ declare namespace io.flow.v0.models {
11572
11620
  readonly status: io.flow.v0.enums.ItemAvailabilityStatus;
11573
11621
  }
11574
11622
 
11623
+ interface ShortId {
11624
+ readonly id: string;
11625
+ readonly source: io.flow.v0.models.ShortIdSource;
11626
+ readonly identifier: string;
11627
+ }
11628
+
11629
+ interface ShortIdSource {
11630
+ readonly key: io.flow.v0.enums.ShortIdSourceKey;
11631
+ readonly id: string;
11632
+ }
11633
+
11575
11634
  interface SimplePermissionCheck {
11576
11635
  readonly behaviors: io.flow.v0.enums.FlowBehavior[];
11577
11636
  }
@@ -14314,6 +14373,9 @@ export type ShopifySyncCheck = io.flow.v0.enums.ShopifySyncCheck;
14314
14373
  export type ShopifySyncStatus = io.flow.v0.models.ShopifySyncStatus;
14315
14374
  export type ShopifyVariantFlowMetafield = io.flow.v0.models.ShopifyVariantFlowMetafield;
14316
14375
  export type ShopifyVariantInventoryMetafield = io.flow.v0.models.ShopifyVariantInventoryMetafield;
14376
+ export type ShortId = io.flow.v0.models.ShortId;
14377
+ export type ShortIdSource = io.flow.v0.models.ShortIdSource;
14378
+ export type ShortIdSourceKey = io.flow.v0.enums.ShortIdSourceKey;
14317
14379
  export type SimplePermissionCheck = io.flow.v0.models.SimplePermissionCheck;
14318
14380
  export type SinglePackageShippingNotificationForm = io.flow.v0.models.SinglePackageShippingNotificationForm;
14319
14381
  export type SnapshotDeleted = io.flow.v0.models.SnapshotDeleted;