@flowio/types 11.24.60 → 11.24.62

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.
@@ -8916,7 +8916,7 @@ declare namespace io.flow.billing.v0.enums {
8916
8916
  type PayoutAttachmentType = 'transactions';
8917
8917
  type PayoutStatusFailureCode = 'invalid_account_number' | 'could_not_process';
8918
8918
  type StatementAttachmentType = 'csv';
8919
- type TransactionSource = 'capture' | 'refund' | 'dispute' | 'adjustment' | 'reversal' | 'shipping_label' | 'shipping_label_service' | 'shipping_label_revenue_share' | 'platform_fee' | 'tax' | 'duty' | 'other_adjustment' | 'tax_adjustment' | 'channel' | 'channel_billed' | 'order_service' | 'virtual_card_capture' | 'virtual_card_refund';
8919
+ type TransactionSource = 'capture' | 'refund' | 'dispute' | 'adjustment' | 'reversal' | 'shipping_label' | 'shipping_label_service' | 'shipping_label_revenue_share' | 'platform_fee' | 'tax' | 'duty' | 'withholding' | 'other_adjustment' | 'tax_adjustment' | 'channel' | 'channel_billed' | 'order_service' | 'virtual_card_capture' | 'virtual_card_refund';
8920
8920
  type WithholdingDeductionType = 'tax' | 'duty' | 'freight' | 'insurance';
8921
8921
  }
8922
8922
  declare namespace io.flow.billing.v0.models {
@@ -10181,6 +10181,7 @@ declare namespace io.flow.organization.onboarding.state.v0.models {
10181
10181
  readonly started_at: string;
10182
10182
  }
10183
10183
  interface OrganizationOnboardingState {
10184
+ readonly id: string;
10184
10185
  readonly organization: io.flow.common.v0.models.OrganizationReference;
10185
10186
  readonly transitions: io.flow.organization.onboarding.state.v0.models.OnboardingStateTransition[];
10186
10187
  readonly current_state: io.flow.organization.onboarding.state.v0.unions.OnboardingState;
@@ -10663,8 +10664,10 @@ declare namespace io.flow.internal.v0.enums {
10663
10664
  type OnboardingAuditThemeKey = 'billing' | 'b2b_invoicing' | 'catalog' | 'currency' | 'checkout' | 'fraud' | 'logistics' | 'payments' | 'shopify_markets' | 'integration_partner' | 'dtce' | 'restrictions' | 'miscellaneous';
10664
10665
  type OnboardingAutomationProcessState = 'not_started' | 'in_progress' | 'success' | 'failed';
10665
10666
  type OnboardingAutomationTaskState = 'not_started' | 'in_progress' | 'success' | 'failed';
10667
+ type OnboardingStateSource = 'unknown' | 'unit_test' | 'api' | 'api_activation' | 'api_internal' | 'api_internal_block' | 'api_internal_unblock' | 'onboarding_application' | 'organization_state_change' | 'restriction_organization_status';
10666
10668
  type OrderAction = 'consumer_submit' | 'fraud_review_accept' | 'fraud_review_decline' | 'payment_fully_authorize' | 'payment_fully_capture';
10667
10669
  type OrderAttributeIntent = 'discount_code';
10670
+ type OrderCancellationInitiatedBy = 'flow' | 'organization';
10668
10671
  type OrderChargeTrigger = 'first_shipment' | 'last_shipment' | 'shipment_exhausted';
10669
10672
  type OrderLifecycleEvent = 'order_placed' | 'ready_to_fulfill';
10670
10673
  type OrderTransactionType = 'adjustment' | 'reversal' | 'order_service';
@@ -10792,6 +10795,7 @@ declare namespace io.flow.internal.v0.models {
10792
10795
  readonly payment_conditions?: string;
10793
10796
  readonly deposit_rule?: io.flow.internal.v0.models.AccountDepositRuleForm;
10794
10797
  readonly center_key?: string;
10798
+ readonly bank_account_id?: string;
10795
10799
  }
10796
10800
  interface AccountOrdersExportRequest {
10797
10801
  readonly discriminator: 'account_orders_export_request';
@@ -11402,6 +11406,9 @@ declare namespace io.flow.internal.v0.models {
11402
11406
  readonly organization_id?: string;
11403
11407
  readonly experiment_key?: string;
11404
11408
  }
11409
+ interface BankAccountReference {
11410
+ readonly id: string;
11411
+ }
11405
11412
  interface BankPayment {
11406
11413
  readonly id: string;
11407
11414
  readonly key: string;
@@ -12041,6 +12048,7 @@ declare namespace io.flow.internal.v0.models {
12041
12048
  readonly center_key?: string;
12042
12049
  readonly statistics: io.flow.internal.v0.models.AccountStatistics;
12043
12050
  readonly next_statement: io.flow.internal.v0.models.NextBillingStatement;
12051
+ readonly bank_account?: io.flow.internal.v0.models.BankAccountReference;
12044
12052
  readonly created_at: string;
12045
12053
  }
12046
12054
  interface ChannelAccountDeleted {
@@ -15441,7 +15449,7 @@ declare namespace io.flow.internal.v0.models {
15441
15449
  }
15442
15450
  interface FinanceBankAccount {
15443
15451
  readonly id: string;
15444
- readonly account: io.flow.internal.v0.models.AccountSummary;
15452
+ readonly accounts: io.flow.internal.v0.models.AccountSummary[];
15445
15453
  readonly last4: string;
15446
15454
  readonly info: io.flow.billing.bank.account.v0.unions.BankAccountInfo;
15447
15455
  readonly owner?: io.flow.internal.v0.models.FinanceBankAccountOwner;
@@ -15570,6 +15578,7 @@ declare namespace io.flow.internal.v0.models {
15570
15578
  readonly center_key?: string;
15571
15579
  readonly statistics: io.flow.internal.v0.models.AccountStatistics;
15572
15580
  readonly next_statement: io.flow.internal.v0.models.NextBillingStatement;
15581
+ readonly bank_account?: io.flow.internal.v0.models.BankAccountReference;
15573
15582
  readonly created_at: string;
15574
15583
  }
15575
15584
  interface FlowChannelOrganization {
@@ -17896,10 +17905,11 @@ declare namespace io.flow.internal.v0.models {
17896
17905
  readonly setup_completed_at?: string;
17897
17906
  readonly gmv: number;
17898
17907
  readonly health_score: number;
17908
+ readonly blocked_since?: string;
17899
17909
  }
17900
17910
  interface OnboardingStateForm {
17901
17911
  readonly onboarding_state: io.flow.organization.onboarding.state.v0.unions.OnboardingState;
17902
- readonly transitioned_at: string;
17912
+ readonly transitioned_at?: string;
17903
17913
  }
17904
17914
  interface OneTimeTokenRedemptionForm {
17905
17915
  readonly token: string;
@@ -18010,8 +18020,12 @@ declare namespace io.flow.internal.v0.models {
18010
18020
  readonly discriminator: 'manual';
18011
18021
  readonly description: string;
18012
18022
  }
18023
+ interface OrderCancellationEvidenceReturnToSender {
18024
+ readonly discriminator: 'return_to_sender';
18025
+ readonly initiated_by: io.flow.internal.v0.enums.OrderCancellationInitiatedBy;
18026
+ }
18013
18027
  interface OrderCancellationForm {
18014
- readonly evidence: io.flow.internal.v0.models.OrderCancellationEvidenceManual;
18028
+ readonly evidence: io.flow.internal.v0.unions.OrderCancellationEvidence;
18015
18029
  }
18016
18030
  interface OrderDetail {
18017
18031
  readonly order: io.flow.experience.v0.models.Order;
@@ -18159,6 +18173,7 @@ declare namespace io.flow.internal.v0.models {
18159
18173
  readonly center_key?: string;
18160
18174
  readonly statistics: io.flow.internal.v0.models.AccountStatistics;
18161
18175
  readonly next_statement: io.flow.internal.v0.models.NextBillingStatement;
18176
+ readonly bank_account?: io.flow.internal.v0.models.BankAccountReference;
18162
18177
  readonly created_at: string;
18163
18178
  }
18164
18179
  interface OrganizationAccountDeleted {
@@ -19530,6 +19545,7 @@ declare namespace io.flow.internal.v0.models {
19530
19545
  interface RestrictionRuleDecisionForm {
19531
19546
  readonly rule_id: string;
19532
19547
  readonly decision: io.flow.internal.v0.enums.RestrictionDecision;
19548
+ readonly product_id?: string;
19533
19549
  }
19534
19550
  interface RestrictionRuleForm {
19535
19551
  readonly name: string;
@@ -21219,7 +21235,7 @@ declare namespace io.flow.internal.v0.unions {
21219
21235
  type MarketingGatewaySourceSummary = io.flow.internal.v0.models.MarketingGatewayGoogleSourceSummary | io.flow.internal.v0.models.MarketingGatewayFacebookSourceSummary | io.flow.internal.v0.models.MarketingGatewayFlowSourceSummary;
21220
21236
  type OptinPromptDisplay = io.flow.internal.v0.models.OptinPromptCheckoutDisplay;
21221
21237
  type OrderActionForm = io.flow.internal.v0.models.WholeOrderActionForm | io.flow.internal.v0.models.LineActionForm | io.flow.internal.v0.models.FulfillmentActionForm;
21222
- type OrderCancellationEvidence = io.flow.internal.v0.models.OrderCancellationEvidenceManual | io.flow.internal.v0.models.OrderCancellationEvidenceFullyRefundedNotFulfilled;
21238
+ type OrderCancellationEvidence = io.flow.internal.v0.models.OrderCancellationEvidenceManual | io.flow.internal.v0.models.OrderCancellationEvidenceFullyRefundedNotFulfilled | io.flow.internal.v0.models.OrderCancellationEvidenceReturnToSender;
21223
21239
  type PaymentRedirect = io.flow.internal.v0.models.OnlineAuthorizationCompleted | io.flow.internal.v0.models.RedirectActionCompleted;
21224
21240
  type PaymentSummaryDetails = io.flow.internal.v0.models.SearchAuthorization;
21225
21241
  type PlatformFee = io.flow.internal.v0.models.PlatformFeePause | io.flow.internal.v0.models.PlatformFeeFlat | io.flow.internal.v0.models.PlatformFeePercentage | io.flow.internal.v0.models.PlatformFeeDisabled;
@@ -21362,6 +21378,7 @@ export declare type AuthorizedOrderCharge = io.flow.internal.v0.unions.Authorize
21362
21378
  export declare type AuthorizedShippingCharge = io.flow.internal.v0.models.AuthorizedShippingCharge;
21363
21379
  export declare type Backfill = io.flow.internal.v0.models.Backfill;
21364
21380
  export declare type BackfillForm = io.flow.internal.v0.models.BackfillForm;
21381
+ export declare type BankAccountReference = io.flow.internal.v0.models.BankAccountReference;
21365
21382
  export declare type BankPayment = io.flow.internal.v0.models.BankPayment;
21366
21383
  export declare type BankPaymentDeleted = io.flow.internal.v0.models.BankPaymentDeleted;
21367
21384
  export declare type BankPaymentDeletedV2 = io.flow.internal.v0.models.BankPaymentDeletedV2;
@@ -22751,6 +22768,7 @@ export declare type OnboardingAutomationProcessState = io.flow.internal.v0.enums
22751
22768
  export declare type OnboardingAutomationTaskState = io.flow.internal.v0.enums.OnboardingAutomationTaskState;
22752
22769
  export declare type OnboardingOrganization = io.flow.internal.v0.models.OnboardingOrganization;
22753
22770
  export declare type OnboardingStateForm = io.flow.internal.v0.models.OnboardingStateForm;
22771
+ export declare type OnboardingStateSource = io.flow.internal.v0.enums.OnboardingStateSource;
22754
22772
  export declare type OneTimeTokenRedemptionForm = io.flow.internal.v0.models.OneTimeTokenRedemptionForm;
22755
22773
  export declare type OnlineAuthorizationCompleted = io.flow.internal.v0.models.OnlineAuthorizationCompleted;
22756
22774
  export declare type OptinAttribute = io.flow.internal.v0.models.OptinAttribute;
@@ -22774,7 +22792,9 @@ export declare type OrderCancellation = io.flow.internal.v0.models.OrderCancella
22774
22792
  export declare type OrderCancellationEvidence = io.flow.internal.v0.unions.OrderCancellationEvidence;
22775
22793
  export declare type OrderCancellationEvidenceFullyRefundedNotFulfilled = io.flow.internal.v0.models.OrderCancellationEvidenceFullyRefundedNotFulfilled;
22776
22794
  export declare type OrderCancellationEvidenceManual = io.flow.internal.v0.models.OrderCancellationEvidenceManual;
22795
+ export declare type OrderCancellationEvidenceReturnToSender = io.flow.internal.v0.models.OrderCancellationEvidenceReturnToSender;
22777
22796
  export declare type OrderCancellationForm = io.flow.internal.v0.models.OrderCancellationForm;
22797
+ export declare type OrderCancellationInitiatedBy = io.flow.internal.v0.enums.OrderCancellationInitiatedBy;
22778
22798
  export declare type OrderChargeTrigger = io.flow.internal.v0.enums.OrderChargeTrigger;
22779
22799
  export declare type OrderDetail = io.flow.internal.v0.models.OrderDetail;
22780
22800
  export declare type OrderFulfillmentDeleted = io.flow.internal.v0.models.OrderFulfillmentDeleted;
package/dist/api.d.ts CHANGED
@@ -1694,7 +1694,7 @@ declare namespace io.flow.v0.enums {
1694
1694
  type EconomicTitleLocation = 'high_seas' | 'origination' | 'destination';
1695
1695
  type EntityIdentifierType = 'ioss' | 'voec';
1696
1696
  type Environment = 'sandbox' | 'production';
1697
- type EventType = 'test_upserted' | 'transaction_upserted' | 'organization_transaction_upserted' | 'organization_transaction_deleted' | 'statement_upserted' | 'statement_deleted' | 'channel_transaction_upserted' | 'channel_transaction_deleted' | 'channel_transaction_deleted_v2' | 'channel_statement_upserted' | 'channel_statement_deleted' | 'channel_payout_upserted' | 'channel_payout_deleted' | 'organization_payout_upserted' | 'organization_payout_deleted' | 'attribute_upserted' | 'attribute_deleted' | 'attribute_upserted_v2' | 'attribute_deleted_v2' | 'catalog_upserted' | 'catalog_deleted' | 'subcatalog_upserted' | 'subcatalog_deleted' | 'catalog_item_upserted' | 'catalog_item_deleted' | 'catalog_item_upserted_v2' | 'catalog_item_deleted_v2' | 'subcatalog_item_upserted' | 'subcatalog_item_deleted' | 'channel_upserted' | 'channel_deleted' | 'channel_currency_upserted' | 'channel_currency_deleted' | 'channel_organization_upserted' | 'channel_organization_deleted' | 'b2b_invoice_upserted' | 'b2b_invoice_deleted' | 'b2b_credit_memo_upserted' | 'b2b_credit_memo_deleted' | 'consumer_invoice_upserted' | 'consumer_invoice_deleted' | 'credit_memo_upserted' | 'credit_memo_deleted' | 'crossdock_shipment_upserted' | 'rate_deleted' | 'rate_upserted' | 'rate_deleted_v3' | 'rate_upserted_v3' | 'customer_upserted' | 'customer_deleted' | 'customer_address_book_contact_upserted' | 'customer_address_book_contact_deleted' | 'email_notification_upserted' | 'email_notification_deleted' | 'available_promotions_upserted' | 'available_promotions_deleted' | 'available_promotions_upserted_v2' | 'available_promotions_deleted_v2' | 'allocation_deleted_v2' | 'allocation_upserted_v2' | 'currency_format_deleted' | 'currency_format_upserted' | 'experience_deleted' | 'experience_upserted' | 'experience_deleted_v2' | 'experience_upserted_v2' | 'country_status_upserted' | 'country_status_deleted' | 'experience_price_book_mapping_deleted' | 'experience_price_book_mapping_upserted' | 'experience_logistics_settings_upserted' | 'experience_logistics_settings_deleted' | 'item_margin_deleted_v2' | 'item_margin_upserted_v2' | 'item_sales_margin_deleted' | 'item_sales_margin_upserted' | 'label_format_deleted' | 'label_format_upserted' | 'order_deleted' | 'order_upserted' | 'order_deleted_v2' | 'order_upserted_v2' | 'order_identifier_deleted' | 'order_identifier_upserted' | 'order_identifier_deleted_v2' | 'order_identifier_upserted_v2' | 'order_identifier_upserted_v3' | 'order_replacement_upserted' | 'order_replacement_deleted' | 'pricing_deleted' | 'pricing_upserted' | 'order_service_change_request' | 'fraud_status_changed' | 'center_upserted' | 'center_deleted' | 'shipping_configuration_upserted' | 'shipping_configuration_deleted' | 'tier_upserted_v2' | 'tier_deleted_v2' | 'shipping_lane_upserted' | 'shipping_lane_deleted' | 'shipping_configuration_item_availability_upserted' | 'shipping_configuration_item_availability_deleted' | 'shipping_configuration_item_shipping_pricing_upserted' | 'shipping_configuration_item_shipping_pricing_deleted' | 'hs6_code_upserted' | 'hs6_code_deleted' | 'hs10_code_upserted' | 'hs10_code_deleted' | 'item_origin_upserted' | 'item_origin_deleted' | 'harmonized_landed_cost_upserted' | 'fully_harmonized_item_upserted' | 'import_completed_v2' | 'import_failed_v2' | 'rule_upserted' | 'rule_deleted' | 'snapshot_upserted' | 'snapshot_deleted' | 'label_upserted' | 'label_deleted_v2' | 'label_upserted_v2' | 'notification_upserted_v2' | 'notification_deleted_v2' | 'manifested_label_upserted' | 'manifested_label_deleted' | 'local_item_upserted' | 'local_item_deleted' | 'merchant_application_upserted' | 'merchant_application_deleted' | 'checkout_optin_responses_upserted' | 'checkout_optin_responses_deleted' | 'browse_optin_responses_upserted' | 'browse_optin_responses_deleted' | 'order_placed' | 'order_placed_v2' | 'ready_to_fulfill' | 'ready_to_fulfill_v2' | 'membership_upserted_v2' | 'membership_deleted_v2' | 'organization_upserted' | 'organization_deleted' | 'organization_upserted_v2' | 'organization_deleted_v2' | 'organization_default_configurations_upserted' | 'organization_default_configurations_deleted' | 'ecommerce_platform_upserted' | 'ecommerce_platform_deleted' | 'organization_onboarding_state_upserted' | 'organization_onboarding_state_deleted' | 'authorization_deleted_v2' | 'authorization_status_changed' | 'card_authorization_upserted_v2' | 'card_authorization_deleted_v2' | 'online_authorization_upserted_v2' | 'online_authorization_deleted_v2' | 'capture_upserted_v2' | 'capture_deleted' | 'card_upserted_v2' | 'card_deleted' | 'payment_upserted' | 'payment_deleted' | 'refund_upserted_v2' | 'refund_deleted_v2' | 'refund_capture_upserted_v2' | 'reversal_upserted' | 'reversal_deleted' | 'capture_identifier_upserted' | 'capture_identifier_deleted' | 'refund_identifier_upserted' | 'refund_identifier_deleted' | 'virtual_card_capture_upserted' | 'virtual_card_capture_deleted' | 'virtual_card_refund_upserted' | 'virtual_card_refund_deleted' | 'payment_request_upserted' | 'price_book_upserted' | 'price_book_deleted' | 'price_book_item_upserted' | 'price_book_item_deleted' | 'organization_rates_published' | 'ratecard_lane_upserted' | 'ratecard_lane_deleted' | 'ratecard_upserted' | 'ratecard_deleted' | 'product_restriction_result_upserted' | 'product_restriction_result_deleted' | 'return_upserted' | 'return_deleted' | 'return_upserted_v2' | 'return_deleted_v2' | 'shopify_localization_setting_upserted' | 'shopify_localization_setting_deleted' | 'tracking_label_event_upserted';
1697
+ type EventType = 'test_upserted' | 'transaction_upserted' | 'organization_transaction_upserted' | 'organization_transaction_deleted' | 'statement_upserted' | 'statement_deleted' | 'channel_transaction_upserted' | 'channel_transaction_deleted' | 'channel_transaction_deleted_v2' | 'channel_statement_upserted' | 'channel_statement_deleted' | 'channel_payout_upserted' | 'channel_payout_deleted' | 'organization_payout_upserted' | 'organization_payout_deleted' | 'attribute_upserted' | 'attribute_deleted' | 'attribute_upserted_v2' | 'attribute_deleted_v2' | 'catalog_upserted' | 'catalog_deleted' | 'subcatalog_upserted' | 'subcatalog_deleted' | 'catalog_item_upserted' | 'catalog_item_deleted' | 'catalog_item_upserted_v2' | 'catalog_item_deleted_v2' | 'subcatalog_item_upserted' | 'subcatalog_item_deleted' | 'catalog_statistics_upserted' | 'catalog_statistics_deleted' | 'channel_upserted' | 'channel_deleted' | 'channel_currency_upserted' | 'channel_currency_deleted' | 'channel_organization_upserted' | 'channel_organization_deleted' | 'b2b_invoice_upserted' | 'b2b_invoice_deleted' | 'b2b_credit_memo_upserted' | 'b2b_credit_memo_deleted' | 'consumer_invoice_upserted' | 'consumer_invoice_deleted' | 'credit_memo_upserted' | 'credit_memo_deleted' | 'crossdock_shipment_upserted' | 'rate_deleted' | 'rate_upserted' | 'rate_deleted_v3' | 'rate_upserted_v3' | 'customer_upserted' | 'customer_deleted' | 'customer_address_book_contact_upserted' | 'customer_address_book_contact_deleted' | 'email_notification_upserted' | 'email_notification_deleted' | 'available_promotions_upserted' | 'available_promotions_deleted' | 'available_promotions_upserted_v2' | 'available_promotions_deleted_v2' | 'allocation_deleted_v2' | 'allocation_upserted_v2' | 'currency_format_deleted' | 'currency_format_upserted' | 'experience_deleted' | 'experience_upserted' | 'experience_deleted_v2' | 'experience_upserted_v2' | 'country_status_upserted' | 'country_status_deleted' | 'experience_price_book_mapping_deleted' | 'experience_price_book_mapping_upserted' | 'experience_logistics_settings_upserted' | 'experience_logistics_settings_deleted' | 'item_margin_deleted_v2' | 'item_margin_upserted_v2' | 'item_sales_margin_deleted' | 'item_sales_margin_upserted' | 'label_format_deleted' | 'label_format_upserted' | 'order_deleted' | 'order_upserted' | 'order_deleted_v2' | 'order_upserted_v2' | 'order_identifier_deleted' | 'order_identifier_upserted' | 'order_identifier_deleted_v2' | 'order_identifier_upserted_v2' | 'order_identifier_upserted_v3' | 'order_replacement_upserted' | 'order_replacement_deleted' | 'pricing_deleted' | 'pricing_upserted' | 'order_service_change_request' | 'fraud_status_changed' | 'center_upserted' | 'center_deleted' | 'shipping_configuration_upserted' | 'shipping_configuration_deleted' | 'tier_upserted_v2' | 'tier_deleted_v2' | 'shipping_lane_upserted' | 'shipping_lane_deleted' | 'shipping_configuration_item_availability_upserted' | 'shipping_configuration_item_availability_deleted' | 'shipping_configuration_item_shipping_pricing_upserted' | 'shipping_configuration_item_shipping_pricing_deleted' | 'hs6_code_upserted' | 'hs6_code_deleted' | 'hs10_code_upserted' | 'hs10_code_deleted' | 'item_origin_upserted' | 'item_origin_deleted' | 'harmonized_landed_cost_upserted' | 'fully_harmonized_item_upserted' | 'import_completed_v2' | 'import_failed_v2' | 'rule_upserted' | 'rule_deleted' | 'snapshot_upserted' | 'snapshot_deleted' | 'label_upserted' | 'label_deleted_v2' | 'label_upserted_v2' | 'notification_upserted_v2' | 'notification_deleted_v2' | 'manifested_label_upserted' | 'manifested_label_deleted' | 'local_item_upserted' | 'local_item_deleted' | 'merchant_application_upserted' | 'merchant_application_deleted' | 'checkout_optin_responses_upserted' | 'checkout_optin_responses_deleted' | 'browse_optin_responses_upserted' | 'browse_optin_responses_deleted' | 'order_placed' | 'order_placed_v2' | 'ready_to_fulfill' | 'ready_to_fulfill_v2' | 'membership_upserted_v2' | 'membership_deleted_v2' | 'organization_upserted' | 'organization_deleted' | 'organization_upserted_v2' | 'organization_deleted_v2' | 'organization_default_configurations_upserted' | 'organization_default_configurations_deleted' | 'ecommerce_platform_upserted' | 'ecommerce_platform_deleted' | 'organization_onboarding_state_upserted' | 'organization_onboarding_state_deleted' | 'authorization_deleted_v2' | 'authorization_status_changed' | 'card_authorization_upserted_v2' | 'card_authorization_deleted_v2' | 'online_authorization_upserted_v2' | 'online_authorization_deleted_v2' | 'capture_upserted_v2' | 'capture_deleted' | 'card_upserted_v2' | 'card_deleted' | 'payment_upserted' | 'payment_deleted' | 'refund_upserted_v2' | 'refund_deleted_v2' | 'refund_capture_upserted_v2' | 'reversal_upserted' | 'reversal_deleted' | 'capture_identifier_upserted' | 'capture_identifier_deleted' | 'refund_identifier_upserted' | 'refund_identifier_deleted' | 'virtual_card_capture_upserted' | 'virtual_card_capture_deleted' | 'virtual_card_refund_upserted' | 'virtual_card_refund_deleted' | 'payment_request_upserted' | 'price_book_upserted' | 'price_book_deleted' | 'price_book_item_upserted' | 'price_book_item_deleted' | 'organization_rates_published' | 'ratecard_lane_upserted' | 'ratecard_lane_deleted' | 'ratecard_upserted' | 'ratecard_deleted' | 'product_restriction_result_upserted' | 'product_restriction_result_deleted' | 'return_upserted' | 'return_deleted' | 'return_upserted_v2' | 'return_deleted_v2' | 'shopify_localization_setting_upserted' | 'shopify_localization_setting_deleted' | 'tracking_label_event_upserted';
1698
1698
  type ExceptionType = 'open' | 'closed';
1699
1699
  type ExclusionRuleState = 'current' | 'deleting' | 'updating';
1700
1700
  type ExperienceCloneStatus = 'pending' | 'updating' | 'completed' | 'failed';
@@ -1836,7 +1836,7 @@ declare namespace io.flow.v0.enums {
1836
1836
  type TrackingStatus = 'label_created' | 'pending' | 'info_received' | 'picked_up' | 'in_transit' | 'out_for_delivery' | 'attempt_fail' | 'delivered' | 'exception' | 'returned' | 'expired';
1837
1837
  type TradeAgreementName = 'USMCA' | 'T-MEC' | 'CUSMA' | 'TCA';
1838
1838
  type TradeAgreementStatus = 'supported' | 'not_supported';
1839
- type TransactionSource = 'capture' | 'refund' | 'dispute' | 'adjustment' | 'reversal' | 'shipping_label' | 'shipping_label_service' | 'shipping_label_revenue_share' | 'platform_fee' | 'tax' | 'duty' | 'other_adjustment' | 'tax_adjustment' | 'channel' | 'channel_billed' | 'order_service' | 'virtual_card_capture' | 'virtual_card_refund';
1839
+ type TransactionSource = 'capture' | 'refund' | 'dispute' | 'adjustment' | 'reversal' | 'shipping_label' | 'shipping_label_service' | 'shipping_label_revenue_share' | 'platform_fee' | 'tax' | 'duty' | 'withholding' | 'other_adjustment' | 'tax_adjustment' | 'channel' | 'channel_billed' | 'order_service' | 'virtual_card_capture' | 'virtual_card_refund';
1840
1840
  type UnitOfMeasurement = 'millimeter' | 'centimeter' | 'inch' | 'foot' | 'cubic_inch' | 'cubic_meter' | 'gram' | 'kilogram' | 'meter' | 'ounce' | 'pound';
1841
1841
  type UnitOfTime = 'year' | 'month' | 'week' | 'day' | 'hour' | 'minute';
1842
1842
  type UpdatePolicy = 'auto' | 'queue' | 'discard';
@@ -2942,9 +2942,24 @@ declare namespace io.flow.v0.models {
2942
2942
  readonly id: string;
2943
2943
  }
2944
2944
  interface CatalogStatistics {
2945
+ readonly id: string;
2945
2946
  readonly items: number;
2946
2947
  readonly categories: number;
2947
2948
  }
2949
+ interface CatalogStatisticsDeleted {
2950
+ readonly discriminator: 'catalog_statistics_deleted';
2951
+ readonly event_id: string;
2952
+ readonly timestamp: string;
2953
+ readonly organization: string;
2954
+ readonly id: string;
2955
+ }
2956
+ interface CatalogStatisticsUpserted {
2957
+ readonly discriminator: 'catalog_statistics_upserted';
2958
+ readonly event_id: string;
2959
+ readonly timestamp: string;
2960
+ readonly organization: string;
2961
+ readonly statistics: io.flow.v0.models.CatalogStatistics;
2962
+ }
2948
2963
  interface CatalogUpserted {
2949
2964
  readonly discriminator: 'catalog_upserted';
2950
2965
  readonly event_id: string;
@@ -6807,6 +6822,7 @@ declare namespace io.flow.v0.models {
6807
6822
  readonly type?: io.flow.v0.enums.OrganizationType;
6808
6823
  }
6809
6824
  interface OrganizationOnboardingState {
6825
+ readonly id: string;
6810
6826
  readonly organization: io.flow.v0.models.OrganizationReference;
6811
6827
  readonly transitions: io.flow.v0.models.OnboardingStateTransition[];
6812
6828
  readonly current_state: io.flow.v0.unions.OnboardingState;
@@ -6816,6 +6832,7 @@ declare namespace io.flow.v0.models {
6816
6832
  readonly event_id: string;
6817
6833
  readonly timestamp: string;
6818
6834
  readonly organization: string;
6835
+ readonly id: string;
6819
6836
  readonly organization_onboarding_state: io.flow.v0.models.OrganizationOnboardingState;
6820
6837
  }
6821
6838
  interface OrganizationOnboardingStateUpserted {
@@ -10277,7 +10294,7 @@ declare namespace io.flow.v0.unions {
10277
10294
  type DiscountRuleEntitlement = io.flow.v0.models.DiscountRuleSubsidyEntitlement;
10278
10295
  type Document = io.flow.v0.models.CatalogItemDocument | io.flow.v0.models.HarmonizationDocument;
10279
10296
  type EmailNotificationData = io.flow.v0.models.EmailNotificationDataRefund | io.flow.v0.models.EmailNotificationAbandonedOrder;
10280
- type Event = io.flow.v0.models.TestUpserted | io.flow.v0.models.TransactionUpserted | io.flow.v0.models.OrganizationTransactionUpserted | io.flow.v0.models.OrganizationTransactionDeleted | io.flow.v0.models.StatementUpserted | io.flow.v0.models.StatementDeleted | io.flow.v0.models.ChannelTransactionUpserted | io.flow.v0.models.ChannelTransactionDeleted | io.flow.v0.models.ChannelTransactionDeletedV2 | io.flow.v0.models.ChannelStatementUpserted | io.flow.v0.models.ChannelStatementDeleted | io.flow.v0.models.ChannelPayoutUpserted | io.flow.v0.models.ChannelPayoutDeleted | io.flow.v0.models.OrganizationPayoutUpserted | io.flow.v0.models.OrganizationPayoutDeleted | io.flow.v0.models.AttributeUpserted | io.flow.v0.models.AttributeDeleted | io.flow.v0.models.AttributeUpsertedV2 | io.flow.v0.models.AttributeDeletedV2 | io.flow.v0.models.CatalogUpserted | io.flow.v0.models.CatalogDeleted | io.flow.v0.models.SubcatalogUpserted | io.flow.v0.models.SubcatalogDeleted | io.flow.v0.models.CatalogItemUpserted | io.flow.v0.models.CatalogItemDeleted | io.flow.v0.models.CatalogItemUpsertedV2 | io.flow.v0.models.CatalogItemDeletedV2 | io.flow.v0.models.SubcatalogItemUpserted | io.flow.v0.models.SubcatalogItemDeleted | io.flow.v0.models.ChannelUpserted | io.flow.v0.models.ChannelDeleted | io.flow.v0.models.ChannelCurrencyUpserted | io.flow.v0.models.ChannelCurrencyDeleted | io.flow.v0.models.ChannelOrganizationUpserted | io.flow.v0.models.ChannelOrganizationDeleted | io.flow.v0.models.B2BInvoiceUpserted | io.flow.v0.models.B2BInvoiceDeleted | io.flow.v0.models.B2BCreditMemoUpserted | io.flow.v0.models.B2BCreditMemoDeleted | io.flow.v0.models.ConsumerInvoiceUpserted | io.flow.v0.models.ConsumerInvoiceDeleted | io.flow.v0.models.CreditMemoUpserted | io.flow.v0.models.CreditMemoDeleted | io.flow.v0.models.CrossdockShipmentUpserted | io.flow.v0.models.RateDeleted | io.flow.v0.models.RateUpserted | io.flow.v0.models.RateDeletedV3 | io.flow.v0.models.RateUpsertedV3 | io.flow.v0.models.CustomerUpserted | io.flow.v0.models.CustomerDeleted | io.flow.v0.models.CustomerAddressBookContactUpserted | io.flow.v0.models.CustomerAddressBookContactDeleted | io.flow.v0.models.EmailNotificationUpserted | io.flow.v0.models.EmailNotificationDeleted | io.flow.v0.models.AvailablePromotionsUpserted | io.flow.v0.models.AvailablePromotionsDeleted | io.flow.v0.models.AvailablePromotionsUpsertedV2 | io.flow.v0.models.AvailablePromotionsDeletedV2 | io.flow.v0.models.AllocationDeletedV2 | io.flow.v0.models.AllocationUpsertedV2 | io.flow.v0.models.CurrencyFormatDeleted | io.flow.v0.models.CurrencyFormatUpserted | io.flow.v0.models.ExperienceDeleted | io.flow.v0.models.ExperienceUpserted | io.flow.v0.models.ExperienceDeletedV2 | io.flow.v0.models.ExperienceUpsertedV2 | io.flow.v0.models.CountryStatusUpserted | io.flow.v0.models.CountryStatusDeleted | io.flow.v0.models.ExperiencePriceBookMappingDeleted | io.flow.v0.models.ExperiencePriceBookMappingUpserted | io.flow.v0.models.ExperienceLogisticsSettingsUpserted | io.flow.v0.models.ExperienceLogisticsSettingsDeleted | io.flow.v0.models.ItemMarginDeletedV2 | io.flow.v0.models.ItemMarginUpsertedV2 | io.flow.v0.models.ItemSalesMarginDeleted | io.flow.v0.models.ItemSalesMarginUpserted | io.flow.v0.models.LabelFormatDeleted | io.flow.v0.models.LabelFormatUpserted | io.flow.v0.models.OrderDeleted | io.flow.v0.models.OrderUpserted | io.flow.v0.models.OrderDeletedV2 | io.flow.v0.models.OrderUpsertedV2 | io.flow.v0.models.OrderIdentifierDeleted | io.flow.v0.models.OrderIdentifierUpserted | io.flow.v0.models.OrderIdentifierDeletedV2 | io.flow.v0.models.OrderIdentifierUpsertedV2 | io.flow.v0.models.OrderIdentifierUpsertedV3 | io.flow.v0.models.OrderReplacementUpserted | io.flow.v0.models.OrderReplacementDeleted | io.flow.v0.models.PricingDeleted | io.flow.v0.models.PricingUpserted | io.flow.v0.models.OrderServiceChangeRequest | io.flow.v0.models.FraudStatusChanged | io.flow.v0.models.CenterUpserted | io.flow.v0.models.CenterDeleted | io.flow.v0.models.ShippingConfigurationUpserted | io.flow.v0.models.ShippingConfigurationDeleted | io.flow.v0.models.TierUpsertedV2 | io.flow.v0.models.TierDeletedV2 | io.flow.v0.models.ShippingLaneUpserted | io.flow.v0.models.ShippingLaneDeleted | io.flow.v0.models.ShippingConfigurationItemAvailabilityUpserted | io.flow.v0.models.ShippingConfigurationItemAvailabilityDeleted | io.flow.v0.models.ShippingConfigurationItemShippingPricingUpserted | io.flow.v0.models.ShippingConfigurationItemShippingPricingDeleted | io.flow.v0.models.Hs6CodeUpserted | io.flow.v0.models.Hs6CodeDeleted | io.flow.v0.models.Hs10CodeUpserted | io.flow.v0.models.Hs10CodeDeleted | io.flow.v0.models.ItemOriginUpserted | io.flow.v0.models.ItemOriginDeleted | io.flow.v0.models.HarmonizedLandedCostUpserted | io.flow.v0.models.FullyHarmonizedItemUpserted | io.flow.v0.models.ImportCompletedV2 | io.flow.v0.models.ImportFailedV2 | io.flow.v0.models.RuleUpserted | io.flow.v0.models.RuleDeleted | io.flow.v0.models.SnapshotUpserted | io.flow.v0.models.SnapshotDeleted | io.flow.v0.models.LabelUpserted | io.flow.v0.models.LabelDeletedV2 | io.flow.v0.models.LabelUpsertedV2 | io.flow.v0.models.NotificationUpsertedV2 | io.flow.v0.models.NotificationDeletedV2 | io.flow.v0.models.ManifestedLabelUpserted | io.flow.v0.models.ManifestedLabelDeleted | io.flow.v0.models.LocalItemUpserted | io.flow.v0.models.LocalItemDeleted | io.flow.v0.models.MerchantApplicationUpserted | io.flow.v0.models.MerchantApplicationDeleted | io.flow.v0.models.CheckoutOptinResponsesUpserted | io.flow.v0.models.CheckoutOptinResponsesDeleted | io.flow.v0.models.BrowseOptinResponsesUpserted | io.flow.v0.models.BrowseOptinResponsesDeleted | io.flow.v0.models.OrderPlaced | io.flow.v0.models.OrderPlacedV2 | io.flow.v0.models.ReadyToFulfill | io.flow.v0.models.ReadyToFulfillV2 | io.flow.v0.models.MembershipUpsertedV2 | io.flow.v0.models.MembershipDeletedV2 | io.flow.v0.models.OrganizationUpserted | io.flow.v0.models.OrganizationDeleted | io.flow.v0.models.OrganizationUpsertedV2 | io.flow.v0.models.OrganizationDeletedV2 | io.flow.v0.models.OrganizationDefaultConfigurationsUpserted | io.flow.v0.models.OrganizationDefaultConfigurationsDeleted | io.flow.v0.models.EcommercePlatformUpserted | io.flow.v0.models.EcommercePlatformDeleted | io.flow.v0.models.OrganizationOnboardingStateUpserted | io.flow.v0.models.OrganizationOnboardingStateDeleted | io.flow.v0.models.AuthorizationDeletedV2 | io.flow.v0.models.AuthorizationStatusChanged | io.flow.v0.models.CardAuthorizationUpsertedV2 | io.flow.v0.models.CardAuthorizationDeletedV2 | io.flow.v0.models.OnlineAuthorizationUpsertedV2 | io.flow.v0.models.OnlineAuthorizationDeletedV2 | io.flow.v0.models.CaptureUpsertedV2 | io.flow.v0.models.CaptureDeleted | io.flow.v0.models.CardUpsertedV2 | io.flow.v0.models.CardDeleted | io.flow.v0.models.PaymentUpserted | io.flow.v0.models.PaymentDeleted | io.flow.v0.models.RefundUpsertedV2 | io.flow.v0.models.RefundDeletedV2 | io.flow.v0.models.RefundCaptureUpsertedV2 | io.flow.v0.models.ReversalUpserted | io.flow.v0.models.ReversalDeleted | io.flow.v0.models.CaptureIdentifierUpserted | io.flow.v0.models.CaptureIdentifierDeleted | io.flow.v0.models.RefundIdentifierUpserted | io.flow.v0.models.RefundIdentifierDeleted | io.flow.v0.models.VirtualCardCaptureUpserted | io.flow.v0.models.VirtualCardCaptureDeleted | io.flow.v0.models.VirtualCardRefundUpserted | io.flow.v0.models.VirtualCardRefundDeleted | io.flow.v0.models.PaymentRequestUpserted | io.flow.v0.models.PriceBookUpserted | io.flow.v0.models.PriceBookDeleted | io.flow.v0.models.PriceBookItemUpserted | io.flow.v0.models.PriceBookItemDeleted | io.flow.v0.models.OrganizationRatesPublished | io.flow.v0.models.RatecardLaneUpserted | io.flow.v0.models.RatecardLaneDeleted | io.flow.v0.models.RatecardUpserted | io.flow.v0.models.RatecardDeleted | io.flow.v0.models.ProductRestrictionResultUpserted | io.flow.v0.models.ProductRestrictionResultDeleted | io.flow.v0.models.ReturnUpserted | io.flow.v0.models.ReturnDeleted | io.flow.v0.models.ReturnUpsertedV2 | io.flow.v0.models.ReturnDeletedV2 | io.flow.v0.models.ShopifyLocalizationSettingUpserted | io.flow.v0.models.ShopifyLocalizationSettingDeleted | io.flow.v0.models.TrackingLabelEventUpserted;
10297
+ type Event = io.flow.v0.models.TestUpserted | io.flow.v0.models.TransactionUpserted | io.flow.v0.models.OrganizationTransactionUpserted | io.flow.v0.models.OrganizationTransactionDeleted | io.flow.v0.models.StatementUpserted | io.flow.v0.models.StatementDeleted | io.flow.v0.models.ChannelTransactionUpserted | io.flow.v0.models.ChannelTransactionDeleted | io.flow.v0.models.ChannelTransactionDeletedV2 | io.flow.v0.models.ChannelStatementUpserted | io.flow.v0.models.ChannelStatementDeleted | io.flow.v0.models.ChannelPayoutUpserted | io.flow.v0.models.ChannelPayoutDeleted | io.flow.v0.models.OrganizationPayoutUpserted | io.flow.v0.models.OrganizationPayoutDeleted | io.flow.v0.models.AttributeUpserted | io.flow.v0.models.AttributeDeleted | io.flow.v0.models.AttributeUpsertedV2 | io.flow.v0.models.AttributeDeletedV2 | io.flow.v0.models.CatalogUpserted | io.flow.v0.models.CatalogDeleted | io.flow.v0.models.SubcatalogUpserted | io.flow.v0.models.SubcatalogDeleted | io.flow.v0.models.CatalogItemUpserted | io.flow.v0.models.CatalogItemDeleted | io.flow.v0.models.CatalogItemUpsertedV2 | io.flow.v0.models.CatalogItemDeletedV2 | io.flow.v0.models.SubcatalogItemUpserted | io.flow.v0.models.SubcatalogItemDeleted | io.flow.v0.models.CatalogStatisticsUpserted | io.flow.v0.models.CatalogStatisticsDeleted | io.flow.v0.models.ChannelUpserted | io.flow.v0.models.ChannelDeleted | io.flow.v0.models.ChannelCurrencyUpserted | io.flow.v0.models.ChannelCurrencyDeleted | io.flow.v0.models.ChannelOrganizationUpserted | io.flow.v0.models.ChannelOrganizationDeleted | io.flow.v0.models.B2BInvoiceUpserted | io.flow.v0.models.B2BInvoiceDeleted | io.flow.v0.models.B2BCreditMemoUpserted | io.flow.v0.models.B2BCreditMemoDeleted | io.flow.v0.models.ConsumerInvoiceUpserted | io.flow.v0.models.ConsumerInvoiceDeleted | io.flow.v0.models.CreditMemoUpserted | io.flow.v0.models.CreditMemoDeleted | io.flow.v0.models.CrossdockShipmentUpserted | io.flow.v0.models.RateDeleted | io.flow.v0.models.RateUpserted | io.flow.v0.models.RateDeletedV3 | io.flow.v0.models.RateUpsertedV3 | io.flow.v0.models.CustomerUpserted | io.flow.v0.models.CustomerDeleted | io.flow.v0.models.CustomerAddressBookContactUpserted | io.flow.v0.models.CustomerAddressBookContactDeleted | io.flow.v0.models.EmailNotificationUpserted | io.flow.v0.models.EmailNotificationDeleted | io.flow.v0.models.AvailablePromotionsUpserted | io.flow.v0.models.AvailablePromotionsDeleted | io.flow.v0.models.AvailablePromotionsUpsertedV2 | io.flow.v0.models.AvailablePromotionsDeletedV2 | io.flow.v0.models.AllocationDeletedV2 | io.flow.v0.models.AllocationUpsertedV2 | io.flow.v0.models.CurrencyFormatDeleted | io.flow.v0.models.CurrencyFormatUpserted | io.flow.v0.models.ExperienceDeleted | io.flow.v0.models.ExperienceUpserted | io.flow.v0.models.ExperienceDeletedV2 | io.flow.v0.models.ExperienceUpsertedV2 | io.flow.v0.models.CountryStatusUpserted | io.flow.v0.models.CountryStatusDeleted | io.flow.v0.models.ExperiencePriceBookMappingDeleted | io.flow.v0.models.ExperiencePriceBookMappingUpserted | io.flow.v0.models.ExperienceLogisticsSettingsUpserted | io.flow.v0.models.ExperienceLogisticsSettingsDeleted | io.flow.v0.models.ItemMarginDeletedV2 | io.flow.v0.models.ItemMarginUpsertedV2 | io.flow.v0.models.ItemSalesMarginDeleted | io.flow.v0.models.ItemSalesMarginUpserted | io.flow.v0.models.LabelFormatDeleted | io.flow.v0.models.LabelFormatUpserted | io.flow.v0.models.OrderDeleted | io.flow.v0.models.OrderUpserted | io.flow.v0.models.OrderDeletedV2 | io.flow.v0.models.OrderUpsertedV2 | io.flow.v0.models.OrderIdentifierDeleted | io.flow.v0.models.OrderIdentifierUpserted | io.flow.v0.models.OrderIdentifierDeletedV2 | io.flow.v0.models.OrderIdentifierUpsertedV2 | io.flow.v0.models.OrderIdentifierUpsertedV3 | io.flow.v0.models.OrderReplacementUpserted | io.flow.v0.models.OrderReplacementDeleted | io.flow.v0.models.PricingDeleted | io.flow.v0.models.PricingUpserted | io.flow.v0.models.OrderServiceChangeRequest | io.flow.v0.models.FraudStatusChanged | io.flow.v0.models.CenterUpserted | io.flow.v0.models.CenterDeleted | io.flow.v0.models.ShippingConfigurationUpserted | io.flow.v0.models.ShippingConfigurationDeleted | io.flow.v0.models.TierUpsertedV2 | io.flow.v0.models.TierDeletedV2 | io.flow.v0.models.ShippingLaneUpserted | io.flow.v0.models.ShippingLaneDeleted | io.flow.v0.models.ShippingConfigurationItemAvailabilityUpserted | io.flow.v0.models.ShippingConfigurationItemAvailabilityDeleted | io.flow.v0.models.ShippingConfigurationItemShippingPricingUpserted | io.flow.v0.models.ShippingConfigurationItemShippingPricingDeleted | io.flow.v0.models.Hs6CodeUpserted | io.flow.v0.models.Hs6CodeDeleted | io.flow.v0.models.Hs10CodeUpserted | io.flow.v0.models.Hs10CodeDeleted | io.flow.v0.models.ItemOriginUpserted | io.flow.v0.models.ItemOriginDeleted | io.flow.v0.models.HarmonizedLandedCostUpserted | io.flow.v0.models.FullyHarmonizedItemUpserted | io.flow.v0.models.ImportCompletedV2 | io.flow.v0.models.ImportFailedV2 | io.flow.v0.models.RuleUpserted | io.flow.v0.models.RuleDeleted | io.flow.v0.models.SnapshotUpserted | io.flow.v0.models.SnapshotDeleted | io.flow.v0.models.LabelUpserted | io.flow.v0.models.LabelDeletedV2 | io.flow.v0.models.LabelUpsertedV2 | io.flow.v0.models.NotificationUpsertedV2 | io.flow.v0.models.NotificationDeletedV2 | io.flow.v0.models.ManifestedLabelUpserted | io.flow.v0.models.ManifestedLabelDeleted | io.flow.v0.models.LocalItemUpserted | io.flow.v0.models.LocalItemDeleted | io.flow.v0.models.MerchantApplicationUpserted | io.flow.v0.models.MerchantApplicationDeleted | io.flow.v0.models.CheckoutOptinResponsesUpserted | io.flow.v0.models.CheckoutOptinResponsesDeleted | io.flow.v0.models.BrowseOptinResponsesUpserted | io.flow.v0.models.BrowseOptinResponsesDeleted | io.flow.v0.models.OrderPlaced | io.flow.v0.models.OrderPlacedV2 | io.flow.v0.models.ReadyToFulfill | io.flow.v0.models.ReadyToFulfillV2 | io.flow.v0.models.MembershipUpsertedV2 | io.flow.v0.models.MembershipDeletedV2 | io.flow.v0.models.OrganizationUpserted | io.flow.v0.models.OrganizationDeleted | io.flow.v0.models.OrganizationUpsertedV2 | io.flow.v0.models.OrganizationDeletedV2 | io.flow.v0.models.OrganizationDefaultConfigurationsUpserted | io.flow.v0.models.OrganizationDefaultConfigurationsDeleted | io.flow.v0.models.EcommercePlatformUpserted | io.flow.v0.models.EcommercePlatformDeleted | io.flow.v0.models.OrganizationOnboardingStateUpserted | io.flow.v0.models.OrganizationOnboardingStateDeleted | io.flow.v0.models.AuthorizationDeletedV2 | io.flow.v0.models.AuthorizationStatusChanged | io.flow.v0.models.CardAuthorizationUpsertedV2 | io.flow.v0.models.CardAuthorizationDeletedV2 | io.flow.v0.models.OnlineAuthorizationUpsertedV2 | io.flow.v0.models.OnlineAuthorizationDeletedV2 | io.flow.v0.models.CaptureUpsertedV2 | io.flow.v0.models.CaptureDeleted | io.flow.v0.models.CardUpsertedV2 | io.flow.v0.models.CardDeleted | io.flow.v0.models.PaymentUpserted | io.flow.v0.models.PaymentDeleted | io.flow.v0.models.RefundUpsertedV2 | io.flow.v0.models.RefundDeletedV2 | io.flow.v0.models.RefundCaptureUpsertedV2 | io.flow.v0.models.ReversalUpserted | io.flow.v0.models.ReversalDeleted | io.flow.v0.models.CaptureIdentifierUpserted | io.flow.v0.models.CaptureIdentifierDeleted | io.flow.v0.models.RefundIdentifierUpserted | io.flow.v0.models.RefundIdentifierDeleted | io.flow.v0.models.VirtualCardCaptureUpserted | io.flow.v0.models.VirtualCardCaptureDeleted | io.flow.v0.models.VirtualCardRefundUpserted | io.flow.v0.models.VirtualCardRefundDeleted | io.flow.v0.models.PaymentRequestUpserted | io.flow.v0.models.PriceBookUpserted | io.flow.v0.models.PriceBookDeleted | io.flow.v0.models.PriceBookItemUpserted | io.flow.v0.models.PriceBookItemDeleted | io.flow.v0.models.OrganizationRatesPublished | io.flow.v0.models.RatecardLaneUpserted | io.flow.v0.models.RatecardLaneDeleted | io.flow.v0.models.RatecardUpserted | io.flow.v0.models.RatecardDeleted | io.flow.v0.models.ProductRestrictionResultUpserted | io.flow.v0.models.ProductRestrictionResultDeleted | io.flow.v0.models.ReturnUpserted | io.flow.v0.models.ReturnDeleted | io.flow.v0.models.ReturnUpsertedV2 | io.flow.v0.models.ReturnDeletedV2 | io.flow.v0.models.ShopifyLocalizationSettingUpserted | io.flow.v0.models.ShopifyLocalizationSettingDeleted | io.flow.v0.models.TrackingLabelEventUpserted;
10281
10298
  type ExpandableCard = io.flow.v0.models.Card | io.flow.v0.models.CardReference | io.flow.v0.models.CardSummary;
10282
10299
  type ExpandableCenter = io.flow.v0.models.Center | io.flow.v0.models.CenterReference;
10283
10300
  type ExpandableExperience = io.flow.v0.models.Experience | io.flow.v0.models.ExperienceReference;
@@ -10570,6 +10587,8 @@ export declare type CatalogItemUpsertedV2 = io.flow.v0.models.CatalogItemUpserte
10570
10587
  export declare type CatalogPriceBookItemDocument = io.flow.v0.models.CatalogPriceBookItemDocument;
10571
10588
  export declare type CatalogReference = io.flow.v0.models.CatalogReference;
10572
10589
  export declare type CatalogStatistics = io.flow.v0.models.CatalogStatistics;
10590
+ export declare type CatalogStatisticsDeleted = io.flow.v0.models.CatalogStatisticsDeleted;
10591
+ export declare type CatalogStatisticsUpserted = io.flow.v0.models.CatalogStatisticsUpserted;
10573
10592
  export declare type CatalogUpserted = io.flow.v0.models.CatalogUpserted;
10574
10593
  export declare type CatalogVersion = io.flow.v0.models.CatalogVersion;
10575
10594
  export declare type CategorySummary = io.flow.v0.models.CategorySummary;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flowio/types",
3
- "version": "11.24.60",
3
+ "version": "11.24.62",
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": "ad876b01a126395eae5d27ad56893b2c69b3944f"
28
+ "gitHead": "5bf5109cdb6252257d20453fbdab8e9cf5a7344c"
29
29
  }
@@ -11767,6 +11767,7 @@ declare namespace io.flow.billing.v0.enums {
11767
11767
  | 'platform_fee'
11768
11768
  | 'tax'
11769
11769
  | 'duty'
11770
+ | 'withholding'
11770
11771
  | 'other_adjustment'
11771
11772
  | 'tax_adjustment'
11772
11773
  | 'channel'
@@ -13327,6 +13328,7 @@ declare namespace io.flow.organization.onboarding.state.v0.models {
13327
13328
  }
13328
13329
 
13329
13330
  interface OrganizationOnboardingState {
13331
+ readonly id: string;
13330
13332
  readonly organization: io.flow.common.v0.models.OrganizationReference;
13331
13333
  readonly transitions: io.flow.organization.onboarding.state.v0.models.OnboardingStateTransition[];
13332
13334
  readonly current_state: io.flow.organization.onboarding.state.v0.unions.OnboardingState;
@@ -14628,6 +14630,17 @@ declare namespace io.flow.internal.v0.enums {
14628
14630
  | 'in_progress'
14629
14631
  | 'success'
14630
14632
  | 'failed';
14633
+ type OnboardingStateSource =
14634
+ | 'unknown'
14635
+ | 'unit_test'
14636
+ | 'api'
14637
+ | 'api_activation'
14638
+ | 'api_internal'
14639
+ | 'api_internal_block'
14640
+ | 'api_internal_unblock'
14641
+ | 'onboarding_application'
14642
+ | 'organization_state_change'
14643
+ | 'restriction_organization_status';
14631
14644
  type OrderAction =
14632
14645
  | 'consumer_submit'
14633
14646
  | 'fraud_review_accept'
@@ -14635,6 +14648,7 @@ declare namespace io.flow.internal.v0.enums {
14635
14648
  | 'payment_fully_authorize'
14636
14649
  | 'payment_fully_capture';
14637
14650
  type OrderAttributeIntent = 'discount_code';
14651
+ type OrderCancellationInitiatedBy = 'flow' | 'organization';
14638
14652
  type OrderChargeTrigger =
14639
14653
  | 'first_shipment'
14640
14654
  | 'last_shipment'
@@ -14907,6 +14921,7 @@ declare namespace io.flow.internal.v0.models {
14907
14921
  readonly payment_conditions?: string;
14908
14922
  readonly deposit_rule?: io.flow.internal.v0.models.AccountDepositRuleForm;
14909
14923
  readonly center_key?: string;
14924
+ readonly bank_account_id?: string;
14910
14925
  }
14911
14926
 
14912
14927
  interface AccountOrdersExportRequest {
@@ -15610,6 +15625,10 @@ declare namespace io.flow.internal.v0.models {
15610
15625
  readonly experiment_key?: string;
15611
15626
  }
15612
15627
 
15628
+ interface BankAccountReference {
15629
+ readonly id: string;
15630
+ }
15631
+
15613
15632
  interface BankPayment {
15614
15633
  readonly id: string;
15615
15634
  readonly key: string;
@@ -16358,6 +16377,7 @@ declare namespace io.flow.internal.v0.models {
16358
16377
  readonly center_key?: string;
16359
16378
  readonly statistics: io.flow.internal.v0.models.AccountStatistics;
16360
16379
  readonly next_statement: io.flow.internal.v0.models.NextBillingStatement;
16380
+ readonly bank_account?: io.flow.internal.v0.models.BankAccountReference;
16361
16381
  readonly created_at: string;
16362
16382
  }
16363
16383
 
@@ -20421,7 +20441,7 @@ declare namespace io.flow.internal.v0.models {
20421
20441
 
20422
20442
  interface FinanceBankAccount {
20423
20443
  readonly id: string;
20424
- readonly account: io.flow.internal.v0.models.AccountSummary;
20444
+ readonly accounts: io.flow.internal.v0.models.AccountSummary[];
20425
20445
  readonly last4: string;
20426
20446
  readonly info: io.flow.billing.bank.account.v0.unions.BankAccountInfo;
20427
20447
  readonly owner?: io.flow.internal.v0.models.FinanceBankAccountOwner;
@@ -20565,6 +20585,7 @@ declare namespace io.flow.internal.v0.models {
20565
20585
  readonly center_key?: string;
20566
20586
  readonly statistics: io.flow.internal.v0.models.AccountStatistics;
20567
20587
  readonly next_statement: io.flow.internal.v0.models.NextBillingStatement;
20588
+ readonly bank_account?: io.flow.internal.v0.models.BankAccountReference;
20568
20589
  readonly created_at: string;
20569
20590
  }
20570
20591
 
@@ -23220,11 +23241,12 @@ declare namespace io.flow.internal.v0.models {
23220
23241
  readonly setup_completed_at?: string;
23221
23242
  readonly gmv: number;
23222
23243
  readonly health_score: number;
23244
+ readonly blocked_since?: string;
23223
23245
  }
23224
23246
 
23225
23247
  interface OnboardingStateForm {
23226
23248
  readonly onboarding_state: io.flow.organization.onboarding.state.v0.unions.OnboardingState;
23227
- readonly transitioned_at: string;
23249
+ readonly transitioned_at?: string;
23228
23250
  }
23229
23251
 
23230
23252
  interface OneTimeTokenRedemptionForm {
@@ -23354,8 +23376,13 @@ declare namespace io.flow.internal.v0.models {
23354
23376
  readonly description: string;
23355
23377
  }
23356
23378
 
23379
+ interface OrderCancellationEvidenceReturnToSender {
23380
+ readonly discriminator: 'return_to_sender';
23381
+ readonly initiated_by: io.flow.internal.v0.enums.OrderCancellationInitiatedBy;
23382
+ }
23383
+
23357
23384
  interface OrderCancellationForm {
23358
- readonly evidence: io.flow.internal.v0.models.OrderCancellationEvidenceManual;
23385
+ readonly evidence: io.flow.internal.v0.unions.OrderCancellationEvidence;
23359
23386
  }
23360
23387
 
23361
23388
  interface OrderDetail {
@@ -23524,6 +23551,7 @@ declare namespace io.flow.internal.v0.models {
23524
23551
  readonly center_key?: string;
23525
23552
  readonly statistics: io.flow.internal.v0.models.AccountStatistics;
23526
23553
  readonly next_statement: io.flow.internal.v0.models.NextBillingStatement;
23554
+ readonly bank_account?: io.flow.internal.v0.models.BankAccountReference;
23527
23555
  readonly created_at: string;
23528
23556
  }
23529
23557
 
@@ -25099,6 +25127,7 @@ declare namespace io.flow.internal.v0.models {
25099
25127
  interface RestrictionRuleDecisionForm {
25100
25128
  readonly rule_id: string;
25101
25129
  readonly decision: io.flow.internal.v0.enums.RestrictionDecision;
25130
+ readonly product_id?: string;
25102
25131
  }
25103
25132
 
25104
25133
  interface RestrictionRuleForm {
@@ -27801,7 +27830,8 @@ declare namespace io.flow.internal.v0.unions {
27801
27830
  | io.flow.internal.v0.models.FulfillmentActionForm;
27802
27831
  type OrderCancellationEvidence =
27803
27832
  | io.flow.internal.v0.models.OrderCancellationEvidenceManual
27804
- | io.flow.internal.v0.models.OrderCancellationEvidenceFullyRefundedNotFulfilled;
27833
+ | io.flow.internal.v0.models.OrderCancellationEvidenceFullyRefundedNotFulfilled
27834
+ | io.flow.internal.v0.models.OrderCancellationEvidenceReturnToSender;
27805
27835
  type PaymentRedirect =
27806
27836
  | io.flow.internal.v0.models.OnlineAuthorizationCompleted
27807
27837
  | io.flow.internal.v0.models.RedirectActionCompleted;
@@ -28115,6 +28145,8 @@ export type AuthorizedShippingCharge =
28115
28145
  io.flow.internal.v0.models.AuthorizedShippingCharge;
28116
28146
  export type Backfill = io.flow.internal.v0.models.Backfill;
28117
28147
  export type BackfillForm = io.flow.internal.v0.models.BackfillForm;
28148
+ export type BankAccountReference =
28149
+ io.flow.internal.v0.models.BankAccountReference;
28118
28150
  export type BankPayment = io.flow.internal.v0.models.BankPayment;
28119
28151
  export type BankPaymentDeleted = io.flow.internal.v0.models.BankPaymentDeleted;
28120
28152
  export type BankPaymentDeletedV2 =
@@ -30554,6 +30586,8 @@ export type OnboardingOrganization =
30554
30586
  io.flow.internal.v0.models.OnboardingOrganization;
30555
30587
  export type OnboardingStateForm =
30556
30588
  io.flow.internal.v0.models.OnboardingStateForm;
30589
+ export type OnboardingStateSource =
30590
+ io.flow.internal.v0.enums.OnboardingStateSource;
30557
30591
  export type OneTimeTokenRedemptionForm =
30558
30592
  io.flow.internal.v0.models.OneTimeTokenRedemptionForm;
30559
30593
  export type OnlineAuthorizationCompleted =
@@ -30588,8 +30622,12 @@ export type OrderCancellationEvidenceFullyRefundedNotFulfilled =
30588
30622
  io.flow.internal.v0.models.OrderCancellationEvidenceFullyRefundedNotFulfilled;
30589
30623
  export type OrderCancellationEvidenceManual =
30590
30624
  io.flow.internal.v0.models.OrderCancellationEvidenceManual;
30625
+ export type OrderCancellationEvidenceReturnToSender =
30626
+ io.flow.internal.v0.models.OrderCancellationEvidenceReturnToSender;
30591
30627
  export type OrderCancellationForm =
30592
30628
  io.flow.internal.v0.models.OrderCancellationForm;
30629
+ export type OrderCancellationInitiatedBy =
30630
+ io.flow.internal.v0.enums.OrderCancellationInitiatedBy;
30593
30631
  export type OrderChargeTrigger = io.flow.internal.v0.enums.OrderChargeTrigger;
30594
30632
  export type OrderDetail = io.flow.internal.v0.models.OrderDetail;
30595
30633
  export type OrderFulfillmentDeleted =
package/src/api.ts CHANGED
@@ -2328,6 +2328,8 @@ declare namespace io.flow.v0.enums {
2328
2328
  | 'catalog_item_deleted_v2'
2329
2329
  | 'subcatalog_item_upserted'
2330
2330
  | 'subcatalog_item_deleted'
2331
+ | 'catalog_statistics_upserted'
2332
+ | 'catalog_statistics_deleted'
2331
2333
  | 'channel_upserted'
2332
2334
  | 'channel_deleted'
2333
2335
  | 'channel_currency_upserted'
@@ -3040,6 +3042,7 @@ declare namespace io.flow.v0.enums {
3040
3042
  | 'platform_fee'
3041
3043
  | 'tax'
3042
3044
  | 'duty'
3045
+ | 'withholding'
3043
3046
  | 'other_adjustment'
3044
3047
  | 'tax_adjustment'
3045
3048
  | 'channel'
@@ -4343,10 +4346,27 @@ declare namespace io.flow.v0.models {
4343
4346
  }
4344
4347
 
4345
4348
  interface CatalogStatistics {
4349
+ readonly id: string;
4346
4350
  readonly items: number;
4347
4351
  readonly categories: number;
4348
4352
  }
4349
4353
 
4354
+ interface CatalogStatisticsDeleted {
4355
+ readonly discriminator: 'catalog_statistics_deleted';
4356
+ readonly event_id: string;
4357
+ readonly timestamp: string;
4358
+ readonly organization: string;
4359
+ readonly id: string;
4360
+ }
4361
+
4362
+ interface CatalogStatisticsUpserted {
4363
+ readonly discriminator: 'catalog_statistics_upserted';
4364
+ readonly event_id: string;
4365
+ readonly timestamp: string;
4366
+ readonly organization: string;
4367
+ readonly statistics: io.flow.v0.models.CatalogStatistics;
4368
+ }
4369
+
4350
4370
  interface CatalogUpserted {
4351
4371
  readonly discriminator: 'catalog_upserted';
4352
4372
  readonly event_id: string;
@@ -8853,6 +8873,7 @@ declare namespace io.flow.v0.models {
8853
8873
  }
8854
8874
 
8855
8875
  interface OrganizationOnboardingState {
8876
+ readonly id: string;
8856
8877
  readonly organization: io.flow.v0.models.OrganizationReference;
8857
8878
  readonly transitions: io.flow.v0.models.OnboardingStateTransition[];
8858
8879
  readonly current_state: io.flow.v0.unions.OnboardingState;
@@ -8863,6 +8884,7 @@ declare namespace io.flow.v0.models {
8863
8884
  readonly event_id: string;
8864
8885
  readonly timestamp: string;
8865
8886
  readonly organization: string;
8887
+ readonly id: string;
8866
8888
  readonly organization_onboarding_state: io.flow.v0.models.OrganizationOnboardingState;
8867
8889
  }
8868
8890
 
@@ -12981,6 +13003,8 @@ declare namespace io.flow.v0.unions {
12981
13003
  | io.flow.v0.models.CatalogItemDeletedV2
12982
13004
  | io.flow.v0.models.SubcatalogItemUpserted
12983
13005
  | io.flow.v0.models.SubcatalogItemDeleted
13006
+ | io.flow.v0.models.CatalogStatisticsUpserted
13007
+ | io.flow.v0.models.CatalogStatisticsDeleted
12984
13008
  | io.flow.v0.models.ChannelUpserted
12985
13009
  | io.flow.v0.models.ChannelDeleted
12986
13010
  | io.flow.v0.models.ChannelCurrencyUpserted
@@ -13703,6 +13727,10 @@ export type CatalogPriceBookItemDocument =
13703
13727
  io.flow.v0.models.CatalogPriceBookItemDocument;
13704
13728
  export type CatalogReference = io.flow.v0.models.CatalogReference;
13705
13729
  export type CatalogStatistics = io.flow.v0.models.CatalogStatistics;
13730
+ export type CatalogStatisticsDeleted =
13731
+ io.flow.v0.models.CatalogStatisticsDeleted;
13732
+ export type CatalogStatisticsUpserted =
13733
+ io.flow.v0.models.CatalogStatisticsUpserted;
13706
13734
  export type CatalogUpserted = io.flow.v0.models.CatalogUpserted;
13707
13735
  export type CatalogVersion = io.flow.v0.models.CatalogVersion;
13708
13736
  export type CategorySummary = io.flow.v0.models.CategorySummary;