@flowio/api-types 0.0.262 → 0.0.266

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.
Files changed (23) hide show
  1. package/generated/io.flow.ben.test.internal.v0.ben-test-internal.d.ts +6 -0
  2. package/generated/io.flow.billing.bank.account.v0.billing-bank-account.d.ts +9 -1
  3. package/generated/io.flow.billing.v0.billing.d.ts +18 -5
  4. package/generated/io.flow.common.v0.common.d.ts +3 -2
  5. package/generated/io.flow.consumer.invoice.v0.consumer-invoice.d.ts +1 -0
  6. package/generated/io.flow.experience.v0.experience.d.ts +2 -0
  7. package/generated/io.flow.harmonization.v0.harmonization.d.ts +12 -0
  8. package/generated/io.flow.internal.v0.api-internal.d.ts +365 -276
  9. package/generated/io.flow.inventory.v0.inventory.d.ts +1 -1
  10. package/generated/io.flow.label.v0.label.d.ts +1 -1
  11. package/generated/io.flow.merchant.onboarding.v0.merchant-onboarding.d.ts +1 -2
  12. package/generated/io.flow.order.price.v0.order-price.d.ts +1 -1
  13. package/generated/io.flow.payment.v0.payment.d.ts +1 -1
  14. package/generated/io.flow.ratecard.v0.ratecard.d.ts +7 -1
  15. package/generated/io.flow.restrictions.v0.restrictions.d.ts +4 -0
  16. package/generated/io.flow.sellability.v0.sellability.d.ts +18 -3
  17. package/generated/io.flow.shopify.markets.internal.event.v0.shopify-markets-internal-event.d.ts +17 -1
  18. package/generated/io.flow.shopify.markets.internal.v0.shopify-markets-internal.d.ts +5 -0
  19. package/generated/io.flow.shopify.markets.v0.shopify-markets.d.ts +1 -0
  20. package/generated/io.flow.tech.onboarding.playground.v0.tech-onboarding-playground.d.ts +62 -0
  21. package/generated/io.flow.v0.api.d.ts +165 -18
  22. package/index.d.ts +1 -0
  23. package/package.json +2 -3
@@ -55,7 +55,7 @@ declare namespace io.flow.v0.enums {
55
55
  type EconomicTitleLocation = 'high_seas' | 'origination' | 'destination';
56
56
  type EntityIdentifierType = 'ioss' | 'voec' | 'zaz';
57
57
  type Environment = 'sandbox' | 'production';
58
- type EventType = 'test_upserted' | 'generate_load' | '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' | 'channel_pending_payout_transaction_upserted' | 'channel_pending_payout_transaction_deleted' | 'organization_pending_payout_transaction_upserted' | 'organization_pending_payout_transaction_deleted' | 'attribute_upserted' | 'attribute_deleted' | 'attribute_upserted_v2' | 'attribute_deleted_v2' | 'catalog_upserted' | 'catalog_deleted' | 'subcatalog_upserted' | 'subcatalog_deleted' | 'subcatalog_item_upserted' | 'subcatalog_item_deleted' | 'catalog_statistics_upserted' | 'catalog_statistics_deleted' | 'item_inserted' | 'item_updated' | 'item_deleted' | 'channel_upserted' | 'channel_deleted' | 'channel_currency_upserted' | 'channel_currency_deleted' | 'channel_organization_upserted' | 'channel_organization_deleted' | 'channel_shopify_order_state_upserted' | 'channel_shopify_order_state_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' | 'allocation_deleted_v2' | 'allocation_upserted_v2' | 'order_deleted_v2' | 'order_upserted_v2' | 'order_identifier_deleted_v2' | 'order_identifier_upserted_v3' | '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' | 'ge_item_inserted' | 'ge_item_updated' | 'ge_item_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' | 'label_deleted_v2' | 'label_upserted_v2' | 'notification_upserted_v2' | 'notification_deleted_v2' | 'manifested_label_upserted' | 'manifested_label_deleted' | 'label_processing_modification_upserted' | 'label_processing_modification_deleted' | 'merchant_application_upserted' | 'merchant_application_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' | 'ecommerce_platform_upserted' | 'ecommerce_platform_deleted' | 'tax_registration_upserted' | 'tax_registration_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' | 'authorization_retry_upserted' | 'authorization_retry_deleted' | 'transfer_upserted' | 'transfer_deleted' | 'payment_request_upserted' | 'payment_request_deleted' | 'price_book_upserted' | 'price_book_deleted' | 'price_book_item_upserted' | 'price_book_item_deleted' | 'product_inserted' | 'product_updated' | 'product_deleted' | 'organization_rates_published' | 'ratecard_lane_upserted' | 'ratecard_lane_deleted' | 'ratecard_upserted' | 'ratecard_deleted' | 'product_restriction_result_upserted' | 'product_restriction_result_deleted' | 'product_sellability_result_upserted' | 'product_sellability_result_deleted' | 'shopify_localization_setting_upserted' | 'shopify_localization_setting_deleted' | 'tracking_label_event_upserted' | 'tracking_label_event_upserted_v2';
58
+ type EventType = 'test_upserted' | 'generate_load' | 'amrutha_item_upserted' | 'amrutha_item_deleted' | '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' | 'channel_pending_payout_transaction_upserted' | 'channel_pending_payout_transaction_deleted' | 'organization_pending_payout_transaction_upserted' | 'organization_pending_payout_transaction_deleted' | 'attribute_upserted' | 'attribute_deleted' | 'attribute_upserted_v2' | 'attribute_deleted_v2' | 'catalog_upserted' | 'catalog_deleted' | 'subcatalog_upserted' | 'subcatalog_deleted' | 'subcatalog_item_upserted' | 'subcatalog_item_deleted' | 'catalog_statistics_upserted' | 'catalog_statistics_deleted' | 'item_inserted' | 'item_updated' | 'item_deleted' | 'channel_upserted' | 'channel_deleted' | 'channel_currency_upserted' | 'channel_currency_deleted' | 'channel_organization_upserted' | 'channel_organization_deleted' | 'channel_shopify_order_state_upserted' | 'channel_shopify_order_state_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' | 'allocation_deleted_v2' | 'allocation_upserted_v2' | 'order_deleted_v2' | 'order_upserted_v2' | 'order_identifier_deleted_v2' | 'order_identifier_upserted_v3' | 'order_state_upserted' | 'order_state_deleted' | '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' | 'ge_item_inserted' | 'ge_item_updated' | 'ge_item_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' | 'tariff_codes_upserted' | 'tariff_codes_deleted' | 'label_deleted_v2' | 'label_upserted_v2' | 'notification_upserted_v2' | 'notification_deleted_v2' | 'manifested_label_upserted' | 'manifested_label_deleted' | 'label_processing_modification_upserted' | 'label_processing_modification_deleted' | 'merchant_application_upserted' | 'merchant_application_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' | 'ecommerce_platform_upserted' | 'ecommerce_platform_deleted' | 'tax_registration_upserted' | 'tax_registration_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' | 'authorization_retry_upserted' | 'authorization_retry_deleted' | 'transfer_upserted' | 'transfer_deleted' | 'payment_request_upserted' | 'payment_request_deleted' | 'price_book_upserted' | 'price_book_deleted' | 'price_book_item_upserted' | 'price_book_item_deleted' | 'product_inserted' | 'product_updated' | 'product_deleted' | 'organization_rates_published' | 'ratecard_lane_upserted' | 'ratecard_lane_deleted' | 'ratecard_upserted' | 'ratecard_deleted' | 'product_restriction_result_upserted' | 'product_restriction_result_deleted' | 'product_sellability_result_upserted' | 'product_sellability_result_deleted' | 'shopify_localization_setting_upserted' | 'shopify_localization_setting_deleted' | 'tracking_label_event_upserted' | 'tracking_label_event_upserted_v2';
59
59
  type ExceptionType = 'open' | 'closed';
60
60
  type ExclusionRuleState = 'current' | 'deleting' | 'updating';
61
61
  type ExperienceCloneStatus = 'pending' | 'updating' | 'completed' | 'failed';
@@ -64,7 +64,7 @@ declare namespace io.flow.v0.enums {
64
64
  type ExperienceStatus = 'draft' | 'active' | 'archiving' | 'archived';
65
65
  type ExportStatus = 'created' | 'processing' | 'completed' | 'failed';
66
66
  type ExporterOfRecord = 'flow' | 'organization';
67
- type FeeDeductionType = 'duty_guarantee' | 'mor' | 'fraud' | 'tax' | 'duty' | 'tax_and_duty' | 'product' | 'tax_and_duty_fx_diff' | 'fx' | 'processing' | 'rate_lock' | 'transfer' | 'negative_balance_guarantee' | 'sp';
67
+ type FeeDeductionType = 'duty_guarantee' | 'mor' | 'fraud' | 'tax' | 'duty' | 'tax_and_duty' | 'product' | 'tax_and_duty_fx_diff' | 'fx' | 'processing' | 'rate_lock' | 'transfer' | 'negative_balance_guarantee' | 'sp' | 'rev_share';
68
68
  type FlowBehavior = 'view_consumer_data';
69
69
  type FlowEntity = 'flow-usa' | 'flow-irl' | 'flow-can' | 'ge-usa' | 'ge-can' | 'ge-gbr' | 'ge-irl';
70
70
  type FlowRole = 'organization_admin' | 'organization_merchant' | 'organization_customer_service' | 'organization_fulfillment' | 'organization_marketing' | 'organization_finance' | 'organization_classification' | 'flow_operations' | 'channel_admin' | 'channel_organization_admin';
@@ -91,7 +91,7 @@ declare namespace io.flow.v0.enums {
91
91
  type InvitationErrorCode = 'expired' | 'invalid_email';
92
92
  type ItemAvailabilityStatus = 'available' | 'low' | 'out_of_stock';
93
93
  type ItemIdentifier = 'item_number' | 'sku';
94
- type LabelRequestMethod = 'flow_web_sync' | 'channel_web_async' | 'direct_api_sync' | 'direct_api_async' | 'bridge_api_sync' | 'partner_api_sync' | 'notification_requiring_crossdock' | 'flow_simulation_sync' | 'autogenerated';
94
+ type LabelRequestMethod = 'flow_web_sync' | 'channel_web_async' | 'direct_api_sync' | 'direct_api_async' | 'bridge_api_sync' | 'partner_api_sync' | 'notification_requiring_crossdock' | 'flow_simulation_sync' | 'autogenerated' | 'legacy_shopify_graphql_server';
95
95
  type LabelTriggerMethod = 'autogenerated' | 'on_demand';
96
96
  type LaneDirection = 'outbound' | 'return';
97
97
  type LanePreselectPreference = 'lowest_cost' | 'default_tier';
@@ -121,6 +121,7 @@ declare namespace io.flow.v0.enums {
121
121
  type OrderPriceFeeType = 'service' | 'fx' | 'tax' | 'duties' | 'tax_and_duties' | 'product';
122
122
  type OrderRefundSummaryIncludes = 'duties' | 'vat' | 'shipping';
123
123
  type OrderRefundSummaryPartialCharged = 'per_item' | 'for_order' | 'by_value_percentage' | 'by_quantity_percentage';
124
+ type OrderStateStatus = 'pending' | 'accepted' | 'rejected';
124
125
  type OrderStatus = 'open' | 'submitted';
125
126
  type OrderStorage = 'do_not_persist' | 'persist';
126
127
  type OrderType = 'standard' | 'replacement' | 'edit';
@@ -132,7 +133,7 @@ declare namespace io.flow.v0.enums {
132
133
  type PaymentActionType = 'redirect' | 'redirect_get' | 'redirect_post' | 'select_payment_option' | 'use_sdk_klarna_v1' | 'use_sdk_applepay_js' | 'use_sdk_googlepay' | 'use_sdk_paypal' | 'use_sdk_stripe_v3' | 'use_sdk_adyen_v3' | 'use_sdk_adyen_v4' | 'execute_script' | 'display_inline_window';
133
134
  type PaymentErrorCode = 'duplicate' | 'invalid_amount' | 'invalid_currency' | 'invalid_method' | 'invalid_order' | 'invalid_customer' | 'invalid_destination' | 'unknown';
134
135
  type PaymentFailureCode = 'action_expired' | 'action_cancelled' | 'action_failed' | 'authorization_declined' | 'not_supported' | 'fraudulent' | 'error' | 'payment_checks_declined';
135
- type PaymentFeeType = 'fx' | 'mor' | 'sp';
136
+ type PaymentFeeType = 'fx' | 'mor' | 'sp' | 'mor_tax';
136
137
  type PaymentMethodCapability = 'credit' | 'debit';
137
138
  type PaymentMethodDataOptionType = 'ideal_issuer_option';
138
139
  type PaymentMethodRuleContentKey = 'description';
@@ -157,6 +158,7 @@ declare namespace io.flow.v0.enums {
157
158
  type PriceDetailKey = 'item_price' | 'margins' | 'vat' | 'duty' | 'rounding' | 'adjustment';
158
159
  type PriceFacetBoundary = 'min' | 'max';
159
160
  type PricingLevySetting = 'included' | 'displayed' | 'ignored';
161
+ type PricingType = 'inclusive_pricing';
160
162
  type PromotionTriggerType = 'automatic' | 'order_subtotal';
161
163
  type ProvinceType = 'area' | 'city' | 'county' | 'department' | 'dependency' | 'district' | 'do_si' | 'emirate' | 'entity' | 'island' | 'municipality' | 'oblast' | 'outlying_area' | 'parish' | 'prefecture' | 'province' | 'state' | 'territory' | 'other';
162
164
  type QuoteErrorCode = 'generic_error' | 'items_not_available' | 'shipping_unavailable';
@@ -181,7 +183,7 @@ declare namespace io.flow.v0.enums {
181
183
  type ScheduleExceptionStatus = 'Open' | 'Closed';
182
184
  type SellabilityErrorCode = 'insufficient_details' | 'ineligible_category' | 'wait_for_high_fidelity' | 'external_service_unavailable';
183
185
  type SellabilityRequestStatus = 'commit';
184
- type SellabilityResultErrorCode = 'insufficient_details' | 'generic_error';
186
+ type SellabilityResultErrorCode = 'insufficient_details' | 'ineligible_category' | 'wait_for_high_fidelity' | 'external_service_unavailable' | 'generic_error' | 'catalog_processing_threshold';
185
187
  type SellabilityResultStatus = 'in_review' | 'succeeded' | 'failed';
186
188
  type SellabilityScreeningMode = 'pre_onboarding' | 'default_on' | 'active';
187
189
  type ShipmentIntegrationType = 'direct' | 'information' | 'preadvice';
@@ -201,7 +203,7 @@ declare namespace io.flow.v0.enums {
201
203
  type SurchargeResponsibleParty = 'organization' | 'customer';
202
204
  type TaxApplicability = 'none' | 'all';
203
205
  type TaxDutyCalculatorValidationErrorCode = 'generic_error' | 'destination_country_not_defined' | 'destination_address_iso3166_unrecognized' | 'line_item_shipfrom_shipto_country_invalid' | 'line_item_ship_from_invalid' | 'line_item_currency_iso4217_unrecognized' | 'line_quantity_invalid' | 'line_item_quantity_invalid' | 'line_item_unit_price_precision_invalid' | 'line_item_unit_price_negative' | 'line_item_discount_amount_precision_invalid' | 'line_item_discount_amount_positive' | 'line_item_country_of_origin_iso3166_unrecognized' | 'line_item_hs_code_invalid' | 'line_item_duty_provider_invalid' | 'shipping_unit_price_precision_invalid' | 'shipping_unit_price_negative' | 'shipping_discount_amount_precision_invalid' | 'shipping_discount_amount_invalid' | 'merchant_of_record_invalid' | 'wrong_unit_specified';
204
- type TaxDutyTransactionReasonCode = 'post_capture' | 'post_fulfilment' | 'manual_payment_or_gift_card' | 'order_edit' | 'mixed_fulfilment_non_lvg' | 'lvg_refund' | 'us_inbound_tax_refund' | 'order_cancellation_above_de_min' | 'wyol_shipment_above_de_min' | 'full_refund_without_shipment' | 'unfulfilled_order_above_de_min';
206
+ type TaxDutyTransactionReasonCode = 'post_capture' | 'post_fulfilment' | 'manual_payment_or_gift_card' | 'order_edit' | 'mixed_fulfilment_non_lvg' | 'lvg_refund' | 'us_inbound_tax_refund' | 'order_cancellation_above_de_min' | 'wyol_shipment_above_de_min' | 'full_refund_without_shipment' | 'unfulfilled_order_above_de_min' | 'order_cancellation_without_capture';
205
207
  type TaxJurisdictionType = 'country' | 'province';
206
208
  type TaxReportType = 'consumer' | 'b2b';
207
209
  type TaxType = 'vat' | 'gst' | 'hst' | 'pst' | 'qst' | 'sales_tax';
@@ -218,7 +220,7 @@ declare namespace io.flow.v0.enums {
218
220
  type TrackingStatus = 'label_created' | 'pending' | 'info_received' | 'picked_up' | 'in_transit' | 'out_for_delivery' | 'attempt_fail' | 'delivered' | 'exception' | 'returned' | 'expired' | 'unknown' | 'unmapped';
219
221
  type TradeAgreementName = 'USMCA' | 'T-MEC' | 'CUSMA' | 'TCA';
220
222
  type TradeAgreementStatus = 'supported' | 'not_supported';
221
- type TransactionSource = 'capture' | 'refund' | 'dispute' | 'adjustment' | 'reversal' | 'shipping_label' | 'shipping_label_service' | 'shipping_label_revenue_share' | 'trueup' | 'trueup_base' | 'trueup_surcharge' | 'carrier_charge' | 'carrier_charge_revenue_share' | 'platform_fee' | 'tax' | 'duty' | 'withholding' | 'other_adjustment' | 'tax_adjustment' | 'channel' | 'channel_billed' | 'order_service' | 'virtual_card_capture' | 'virtual_card_refund' | 'failed_payout' | 'tax_refund' | 'duty_refund' | 'non_l4l_tax_duty_fx' | 'merchant_payout' | 'merchant_refund' | 'ge_revenue_share' | 'merchant_fee' | 'b2b_tax' | 'b2b_tax_refund';
223
+ type TransactionSource = 'capture' | 'refund' | 'dispute' | 'adjustment' | 'reversal' | 'shipping_label' | 'shipping_label_service' | 'shipping_label_revenue_share' | 'trueup' | 'trueup_base' | 'trueup_surcharge' | 'carrier_charge' | 'carrier_charge_revenue_share' | 'platform_fee' | 'tax' | 'duty' | 'withholding' | 'other_adjustment' | 'tax_adjustment' | 'channel' | 'channel_billed' | 'order_service' | 'virtual_card_capture' | 'virtual_card_refund' | 'failed_payout' | 'tax_refund' | 'duty_refund' | 'non_l4l_tax_duty_fx' | 'merchant_payout' | 'merchant_refund' | 'ge_revenue_share' | 'merchant_fee' | 'b2b_tax' | 'b2b_tax_refund' | 'b2b_fee_mor_tax';
222
224
  type TransferStatus = 'succeeded' | 'canceled';
223
225
  type TransferType = 'payout_to_merchant' | 'disputed_amount_to_merchant' | 'duties_and_taxes_adjustment_to_merchant' | 'disputed_amount_from_merchant' | 'duties_and_taxes_adjustment_from_merchant' | 'refund_from_merchant';
224
226
  type TrueupSource = 'flow' | 'channel' | 'dhl-parcel' | 'dhl' | 'ups' | 'fedex';
@@ -666,6 +668,20 @@ declare namespace io.flow.v0.models {
666
668
  readonly 'margin': io.flow.v0.models.Money;
667
669
  }
668
670
 
671
+ interface AmruthaItemDeleted {
672
+ readonly 'discriminator': 'amrutha_item_deleted';
673
+ readonly 'event_id': string;
674
+ readonly 'timestamp': string;
675
+ readonly 'id': string;
676
+ }
677
+
678
+ interface AmruthaItemUpserted {
679
+ readonly 'discriminator': 'amrutha_item_upserted';
680
+ readonly 'event_id': string;
681
+ readonly 'timestamp': string;
682
+ readonly 'item': io.flow.tech.onboarding.playground.v0.models.AmruthaItem;
683
+ }
684
+
669
685
  interface AnalyticsExportType {
670
686
  readonly 'discriminator': 'analytics_export_type';
671
687
  readonly 'from'?: string;
@@ -968,6 +984,7 @@ declare namespace io.flow.v0.models {
968
984
  readonly 'b2b_invoice_type': io.flow.v0.enums.B2BInvoiceType;
969
985
  readonly 'center'?: io.flow.v0.models.ConsumerInvoiceCenterReference;
970
986
  readonly 'order'?: io.flow.v0.models.ConsumerInvoiceOrderSummary;
987
+ readonly 'voids_b2b_invoice'?: boolean;
971
988
  }
972
989
 
973
990
  interface B2BCreditMemoDeleted {
@@ -1064,6 +1081,18 @@ declare namespace io.flow.v0.models {
1064
1081
  readonly 'iban': string;
1065
1082
  }
1066
1083
 
1084
+ interface BankAccountInfoKor {
1085
+ readonly 'discriminator': 'kor';
1086
+ readonly 'name'?: string;
1087
+ readonly 'address'?: io.flow.v0.models.Address;
1088
+ readonly 'phone'?: string;
1089
+ readonly 'email'?: string;
1090
+ readonly 'bank_account_number': string;
1091
+ readonly 'bank_routing_number'?: string;
1092
+ readonly 'bank_name'?: string;
1093
+ readonly 'bank_address'?: io.flow.v0.models.Address;
1094
+ }
1095
+
1067
1096
  interface BankAccountInfoUsa {
1068
1097
  readonly 'discriminator': 'usa';
1069
1098
  readonly 'routing_number': string;
@@ -2041,7 +2070,6 @@ declare namespace io.flow.v0.models {
2041
2070
  readonly 'beneficiary_details'?: io.flow.v0.models.MerchantOnboardingBeneficiaryDetails;
2042
2071
  readonly 'other_trade_sector'?: string;
2043
2072
  readonly 'center_contact'?: io.flow.v0.models.OperationsContact;
2044
- readonly 'center_address'?: io.flow.v0.models.Address;
2045
2073
  readonly 'average_order_weight'?: number;
2046
2074
  readonly 'average_order_weight_unit'?: io.flow.v0.enums.UnitOfMeasurement;
2047
2075
  readonly 'package_dimensions'?: io.flow.v0.models.Dimension[];
@@ -2049,6 +2077,7 @@ declare namespace io.flow.v0.models {
2049
2077
  readonly 'default_country_of_origin'?: string;
2050
2078
  readonly 'rate_card': string;
2051
2079
  readonly 'shop'?: io.flow.v0.models.Shop;
2080
+ readonly 'settlement_currency'?: string;
2052
2081
  readonly 'created_at': string;
2053
2082
  readonly 'last_year_xborder_gmv'?: io.flow.v0.models.Money;
2054
2083
  readonly 'last_month_xborder_gmv'?: io.flow.v0.models.Money;
@@ -2069,7 +2098,6 @@ declare namespace io.flow.v0.models {
2069
2098
  readonly 'beneficiary_details'?: io.flow.v0.models.MerchantOnboardingBeneficiaryDetails;
2070
2099
  readonly 'other_trade_sector'?: string;
2071
2100
  readonly 'center_contact'?: io.flow.v0.models.OperationsContact;
2072
- readonly 'center_address'?: io.flow.v0.models.Address;
2073
2101
  readonly 'average_order_weight'?: number;
2074
2102
  readonly 'average_order_weight_unit'?: io.flow.v0.enums.UnitOfMeasurement;
2075
2103
  readonly 'package_dimensions'?: io.flow.v0.models.Dimension[];
@@ -2078,6 +2106,7 @@ declare namespace io.flow.v0.models {
2078
2106
  readonly 'monthly_average_number_transactions'?: number;
2079
2107
  readonly 'default_country_of_origin'?: string;
2080
2108
  readonly 'shop'?: io.flow.v0.models.Shop;
2109
+ readonly 'settlement_currency'?: string;
2081
2110
  readonly 'rate_card'?: string;
2082
2111
  readonly 'last_year_xborder_gmv'?: io.flow.v0.models.Money;
2083
2112
  readonly 'last_month_xborder_gmv'?: io.flow.v0.models.Money;
@@ -3915,6 +3944,11 @@ declare namespace io.flow.v0.models {
3915
3944
  readonly 'sort'?: string;
3916
3945
  }
3917
3946
 
3947
+ interface HarmonizationTariffCode {
3948
+ readonly 'tariff_code': string;
3949
+ readonly 'destination': string;
3950
+ }
3951
+
3918
3952
  interface HarmonizationTariffCodesExportType {
3919
3953
  readonly 'discriminator': 'harmonization_tariff_codes_export_type';
3920
3954
  readonly 'sort'?: string;
@@ -5301,6 +5335,7 @@ declare namespace io.flow.v0.models {
5301
5335
  readonly 'company'?: string;
5302
5336
  readonly 'email'?: string;
5303
5337
  readonly 'phone'?: string;
5338
+ readonly 'address'?: io.flow.v0.models.Address;
5304
5339
  }
5305
5340
 
5306
5341
  interface OptionWeightEstimates {
@@ -5346,6 +5381,7 @@ declare namespace io.flow.v0.models {
5346
5381
  readonly 'payment_source'?: io.flow.v0.enums.OrderPaymentSourceType;
5347
5382
  readonly 'edits'?: io.flow.v0.models.EditSummary[];
5348
5383
  readonly 'rates'?: io.flow.v0.models.OrderRate[];
5384
+ readonly 'pricing_type'?: io.flow.v0.enums.PricingType;
5349
5385
  }
5350
5386
 
5351
5387
  interface OrderAddress {
@@ -5772,6 +5808,48 @@ declare namespace io.flow.v0.models {
5772
5808
  readonly 'filename'?: string;
5773
5809
  }
5774
5810
 
5811
+ interface OrderState {
5812
+ readonly 'id': string;
5813
+ readonly 'order_number': string;
5814
+ readonly 'external_order_reference': string;
5815
+ readonly 'payment_requests': io.flow.v0.models.PaymentRequestReference[];
5816
+ readonly 'status': io.flow.v0.enums.OrderStateStatus;
5817
+ readonly 'rejection_reasons'?: io.flow.v0.unions.OrderStateRejectionReason[];
5818
+ }
5819
+
5820
+ interface OrderStateDeleted {
5821
+ readonly 'discriminator': 'order_state_deleted';
5822
+ readonly 'event_id': string;
5823
+ readonly 'timestamp': string;
5824
+ readonly 'organization': string;
5825
+ readonly 'channel_id': string;
5826
+ readonly 'id': string;
5827
+ }
5828
+
5829
+ interface OrderStateRejectionReasonDomesticOrder {
5830
+ readonly 'discriminator': 'order_state_rejection_reason_domestic_order';
5831
+ readonly 'destination_address': io.flow.v0.models.Address;
5832
+ }
5833
+
5834
+ interface OrderStateRejectionReasonItemsEmpty {
5835
+ readonly 'discriminator': 'order_state_rejection_reason_items_empty';
5836
+ readonly 'line_items': string[];
5837
+ }
5838
+
5839
+ interface OrderStateRejectionReasonRestrictedItem {
5840
+ readonly 'discriminator': 'order_state_rejection_reason_restricted_item';
5841
+ readonly 'item_numbers': string[];
5842
+ }
5843
+
5844
+ interface OrderStateUpserted {
5845
+ readonly 'discriminator': 'order_state_upserted';
5846
+ readonly 'event_id': string;
5847
+ readonly 'timestamp': string;
5848
+ readonly 'organization': string;
5849
+ readonly 'channel_id': string;
5850
+ readonly 'order_state': io.flow.v0.models.OrderState;
5851
+ }
5852
+
5775
5853
  interface OrderSubmissionForm {
5776
5854
  readonly 'identifiers'?: io.flow.v0.models.OrderSubmissionIdentifierForm[];
5777
5855
  }
@@ -7403,6 +7481,10 @@ declare namespace io.flow.v0.models {
7403
7481
  readonly 'hs_code'?: string;
7404
7482
  readonly 'restricted_regions_by_type'?: io.flow.v0.models.SellabilityRegionResult[];
7405
7483
  readonly 'needs_action_attributes'?: io.flow.v0.models.NeedsActionAttributes[];
7484
+ readonly 'fingerprint'?: string;
7485
+ readonly 'restriction_created_at'?: string;
7486
+ readonly 'first_reviewed_at'?: string;
7487
+ readonly 'seconds_to_first_review'?: number;
7406
7488
  }
7407
7489
 
7408
7490
  interface ProductRestrictionResultDeleted {
@@ -7443,9 +7525,11 @@ declare namespace io.flow.v0.models {
7443
7525
  }
7444
7526
 
7445
7527
  interface ProductSellabilityResult {
7528
+ readonly 'id': string;
7446
7529
  readonly 'merchant_id'?: string;
7447
7530
  readonly 'product_id': string;
7448
7531
  readonly 'restricted_regions': io.flow.v0.models.SellabilityRestrictedRegion[];
7532
+ readonly 'restricted_reasons': io.flow.v0.models.SellabilityRestrictedReason[];
7449
7533
  readonly 'needs_action_attributes'?: io.flow.v0.models.SellabilityNeedsActionAttributes[];
7450
7534
  readonly 'request_id'?: string;
7451
7535
  readonly 'hs6_code'?: string;
@@ -7455,7 +7539,9 @@ declare namespace io.flow.v0.models {
7455
7539
  readonly 'discriminator': 'product_sellability_result_deleted';
7456
7540
  readonly 'event_id': string;
7457
7541
  readonly 'timestamp': string;
7458
- readonly 'organization': string;
7542
+ readonly 'organization'?: string;
7543
+ readonly 'merchant'?: string;
7544
+ readonly 'channel_id'?: string;
7459
7545
  readonly 'id': string;
7460
7546
  }
7461
7547
 
@@ -7463,7 +7549,9 @@ declare namespace io.flow.v0.models {
7463
7549
  readonly 'discriminator': 'product_sellability_result_upserted';
7464
7550
  readonly 'event_id': string;
7465
7551
  readonly 'timestamp': string;
7466
- readonly 'organization': string;
7552
+ readonly 'organization'?: string;
7553
+ readonly 'merchant'?: string;
7554
+ readonly 'channel_id'?: string;
7467
7555
  readonly 'product_sellability_result': io.flow.v0.models.ProductSellabilityResult;
7468
7556
  }
7469
7557
 
@@ -7693,6 +7781,12 @@ declare namespace io.flow.v0.models {
7693
7781
  readonly 'name': string;
7694
7782
  }
7695
7783
 
7784
+ interface RatecardData {
7785
+ readonly 'dhlParcelDistributionCenter'?: string;
7786
+ readonly 'glbeRatecardMetadataLaneIdentifier'?: string;
7787
+ readonly 'pickupCenter'?: string;
7788
+ }
7789
+
7696
7790
  interface RatecardDeleted {
7697
7791
  readonly 'discriminator': 'ratecard_deleted';
7698
7792
  readonly 'event_id': string;
@@ -7793,7 +7887,7 @@ declare namespace io.flow.v0.models {
7793
7887
  readonly 'glbe_shipping_method_id'?: string;
7794
7888
  readonly 'glbe_proposition_name'?: string;
7795
7889
  readonly 'channel_revenue_share_percentage'?: number;
7796
- readonly 'data'?: Record<string, string>;
7890
+ readonly 'data'?: io.flow.v0.models.RatecardData;
7797
7891
  }
7798
7892
 
7799
7893
  interface RatecardLane {
@@ -8429,9 +8523,16 @@ declare namespace io.flow.v0.models {
8429
8523
  interface SellabilityNeedsActionAttributes {
8430
8524
  readonly 'reason_code': string;
8431
8525
  readonly 'category_metafield_handles': string[];
8526
+ readonly 'category_metafield_ids': string[];
8432
8527
  readonly 'require_msds'?: boolean;
8433
8528
  }
8434
8529
 
8530
+ interface SellabilityReasonWithRegions {
8531
+ readonly 'reason': string;
8532
+ readonly 'regions': string[];
8533
+ readonly 'review_status'?: string;
8534
+ }
8535
+
8435
8536
  interface SellabilityRegionResult {
8436
8537
  readonly 'type': io.flow.v0.enums.RuleEffectType;
8437
8538
  readonly 'regions': string[];
@@ -8442,14 +8543,19 @@ declare namespace io.flow.v0.models {
8442
8543
  readonly 'reasons': string[];
8443
8544
  }
8444
8545
 
8546
+ interface SellabilityRestrictedReason {
8547
+ readonly 'type': io.flow.v0.enums.RuleEffectType;
8548
+ readonly 'reasons_with_regions': io.flow.v0.models.SellabilityReasonWithRegions[];
8549
+ }
8550
+
8445
8551
  interface SellabilityRestrictedRegion {
8446
8552
  readonly 'type': io.flow.v0.enums.RuleEffectType;
8447
- readonly 'regions_with_reasons': io.flow.v0.models.SellabilityRegionWithReasons[];
8553
+ readonly 'regions': string[];
8448
8554
  }
8449
8555
 
8450
8556
  interface SellabilityScreening {
8451
8557
  readonly 'discriminator': 'sellability_screening';
8452
- readonly 'sellability_result'?: io.flow.v0.models.ProductSellabilityResult;
8558
+ readonly 'product_sellability_result'?: io.flow.v0.models.ProductSellabilityResult;
8453
8559
  readonly 'request_id': string;
8454
8560
  readonly 'status': io.flow.v0.enums.SellabilityResultStatus;
8455
8561
  readonly 'error_code'?: io.flow.v0.enums.SellabilityResultErrorCode;
@@ -9139,6 +9245,7 @@ declare namespace io.flow.v0.models {
9139
9245
  readonly 'activated_at'?: string;
9140
9246
  readonly 'status_updated_at'?: string;
9141
9247
  readonly 'shop'?: io.flow.v0.models.Shop;
9248
+ readonly 'settlement_currency'?: string;
9142
9249
  readonly 'last_year_xborder_gmv'?: io.flow.v0.models.Money;
9143
9250
  readonly 'last_month_xborder_gmv'?: io.flow.v0.models.Money;
9144
9251
  readonly 'average_order_value'?: io.flow.v0.models.Money;
@@ -9172,6 +9279,7 @@ declare namespace io.flow.v0.models {
9172
9279
  readonly 'ratecard_id'?: string;
9173
9280
  readonly 'rate_card': string;
9174
9281
  readonly 'shop'?: io.flow.v0.models.Shop;
9282
+ readonly 'settlement_currency'?: string;
9175
9283
  readonly 'last_year_xborder_gmv'?: io.flow.v0.models.Money;
9176
9284
  readonly 'last_month_xborder_gmv'?: io.flow.v0.models.Money;
9177
9285
  readonly 'average_order_value'?: io.flow.v0.models.Money;
@@ -9475,6 +9583,29 @@ declare namespace io.flow.v0.models {
9475
9583
  readonly 'available': io.flow.v0.models.SurchargeResponsiblePartyDisplay[];
9476
9584
  }
9477
9585
 
9586
+ interface TariffCodes {
9587
+ readonly 'item_number': string;
9588
+ readonly 'product_id': string;
9589
+ readonly 'hs6_code': string;
9590
+ readonly 'codes': io.flow.v0.models.HarmonizationTariffCode[];
9591
+ }
9592
+
9593
+ interface TariffCodesDeleted {
9594
+ readonly 'discriminator': 'tariff_codes_deleted';
9595
+ readonly 'event_id': string;
9596
+ readonly 'timestamp': string;
9597
+ readonly 'organization': string;
9598
+ readonly 'id': string;
9599
+ }
9600
+
9601
+ interface TariffCodesUpserted {
9602
+ readonly 'discriminator': 'tariff_codes_upserted';
9603
+ readonly 'event_id': string;
9604
+ readonly 'timestamp': string;
9605
+ readonly 'organization': string;
9606
+ readonly 'tariff_codes': io.flow.v0.models.TariffCodes;
9607
+ }
9608
+
9478
9609
  interface Tax {
9479
9610
  readonly 'name': string;
9480
9611
  readonly 'rate': number;
@@ -9628,6 +9759,8 @@ declare namespace io.flow.v0.models {
9628
9759
  readonly 'discriminator': 'test_upserted';
9629
9760
  readonly 'event_id': string;
9630
9761
  readonly 'timestamp': string;
9762
+ readonly 'organization': string;
9763
+ readonly 'channel_id': string;
9631
9764
  readonly 'test': io.flow.ben.test.internal.v0.models.Test;
9632
9765
  }
9633
9766
 
@@ -10016,7 +10149,7 @@ declare namespace io.flow.v0.models {
10016
10149
  readonly 'label_created_at': string;
10017
10150
  readonly 'carrier_id': string;
10018
10151
  readonly 'carrier_tracking_number': string;
10019
- readonly 'revenue_share_percentage': number;
10152
+ readonly 'revenue_share_percentage'?: number;
10020
10153
  readonly 'outbound'?: io.flow.v0.models.TransactionMetadataOutboundTransaction;
10021
10154
  }
10022
10155
 
@@ -10056,6 +10189,19 @@ declare namespace io.flow.v0.models {
10056
10189
  readonly 'description': string;
10057
10190
  readonly 'original'?: io.flow.v0.models.TransactionMetadataOriginalTransaction;
10058
10191
  readonly 'url'?: string;
10192
+ readonly 'recoup'?: boolean;
10193
+ }
10194
+
10195
+ interface TransactionMetadataMerchantFee {
10196
+ readonly 'discriminator': 'merchant_fee';
10197
+ readonly 'items': io.flow.v0.models.TransactionMetadataMerchantFeeItem[];
10198
+ }
10199
+
10200
+ interface TransactionMetadataMerchantFeeItem {
10201
+ readonly 'type': string;
10202
+ readonly 'amount': number;
10203
+ readonly 'local_amount'?: number;
10204
+ readonly 'description'?: string;
10059
10205
  }
10060
10206
 
10061
10207
  interface TransactionMetadataOriginalTransaction {
@@ -10478,7 +10624,7 @@ declare namespace io.flow.v0.unions {
10478
10624
  type AuthorizationResultActionDetails = (io.flow.v0.models.AdyenNativeActionDetails | io.flow.v0.models.StripeAuthorizationResultActionDetails | io.flow.v0.models.ThreedsIdentifyActionDetails | io.flow.v0.models.ThreedsChallengeActionDetails | io.flow.v0.models.ApplepaySdkCreateResultActionDetails | io.flow.v0.models.ApplepaySdkValidateResultActionDetails | io.flow.v0.models.KlarnaSdkAuthorizationResultActionDetails | io.flow.v0.models.SelectIssuerOptionActionDetails);
10479
10625
  type AvailableFilter = (io.flow.v0.models.AvailableFilterStructured | io.flow.v0.models.AvailableFilterUnstructured);
10480
10626
  type BankAccountForm = (io.flow.v0.models.BankAccountFormInfo | io.flow.v0.models.BankAccountFormSimple);
10481
- type BankAccountInfo = (io.flow.v0.models.BankAccountInfoUsa | io.flow.v0.models.BankAccountInfoCan | io.flow.v0.models.BankAccountInfoGbr | io.flow.v0.models.BankAccountInfoFra | io.flow.v0.models.BankAccountInfoIta);
10627
+ type BankAccountInfo = (io.flow.v0.models.BankAccountInfoUsa | io.flow.v0.models.BankAccountInfoCan | io.flow.v0.models.BankAccountInfoGbr | io.flow.v0.models.BankAccountInfoFra | io.flow.v0.models.BankAccountInfoIta | io.flow.v0.models.BankAccountInfoKor);
10482
10628
  type BrowserActionConfiguration = (io.flow.v0.models.CardBrowserActionConfiguration);
10483
10629
  type CardAuthorizationActionResult = (io.flow.v0.models.AuthorizationActionResultAdyenV3 | io.flow.v0.models.AuthorizationActionResultAdyenV4);
10484
10630
  type CardNumber = (io.flow.v0.models.PaymentMethodCardNumberCleartext | io.flow.v0.models.PaymentMethodCardNumberCipher);
@@ -10495,7 +10641,7 @@ declare namespace io.flow.v0.unions {
10495
10641
  type Document = (io.flow.v0.models.CatalogItemDocument | io.flow.v0.models.HarmonizationDocument);
10496
10642
  type EmailNotificationData = (io.flow.v0.models.EmailNotificationDataRefund | io.flow.v0.models.EmailNotificationAbandonedOrder);
10497
10643
  type Entity = (io.flow.v0.models.Company | io.flow.v0.models.Individual);
10498
- type Event = (io.flow.v0.models.TestUpserted | io.flow.v0.models.GenerateLoad | 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.ChannelPendingPayoutTransactionUpserted | io.flow.v0.models.ChannelPendingPayoutTransactionDeleted | io.flow.v0.models.OrganizationPendingPayoutTransactionUpserted | io.flow.v0.models.OrganizationPendingPayoutTransactionDeleted | 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.SubcatalogItemUpserted | io.flow.v0.models.SubcatalogItemDeleted | io.flow.v0.models.CatalogStatisticsUpserted | io.flow.v0.models.CatalogStatisticsDeleted | io.flow.v0.models.ItemInserted | io.flow.v0.models.ItemUpdated | io.flow.v0.models.ItemDeleted | 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.ChannelShopifyOrderStateUpserted | io.flow.v0.models.ChannelShopifyOrderStateDeleted | 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.AllocationDeletedV2 | io.flow.v0.models.AllocationUpsertedV2 | io.flow.v0.models.OrderDeletedV2 | io.flow.v0.models.OrderUpsertedV2 | io.flow.v0.models.OrderIdentifierDeletedV2 | io.flow.v0.models.OrderIdentifierUpsertedV3 | 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.GeItemInserted | io.flow.v0.models.GeItemUpdated | io.flow.v0.models.GeItemDeleted | 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.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.LabelProcessingModificationUpserted | io.flow.v0.models.LabelProcessingModificationDeleted | io.flow.v0.models.MerchantApplicationUpserted | io.flow.v0.models.MerchantApplicationDeleted | 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.EcommercePlatformUpserted | io.flow.v0.models.EcommercePlatformDeleted | io.flow.v0.models.TaxRegistrationUpserted | io.flow.v0.models.TaxRegistrationDeleted | 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.AuthorizationRetryUpserted | io.flow.v0.models.AuthorizationRetryDeleted | io.flow.v0.models.TransferUpserted | io.flow.v0.models.TransferDeleted | io.flow.v0.models.PaymentRequestUpserted | io.flow.v0.models.PaymentRequestDeleted | io.flow.v0.models.PriceBookUpserted | io.flow.v0.models.PriceBookDeleted | io.flow.v0.models.PriceBookItemUpserted | io.flow.v0.models.PriceBookItemDeleted | io.flow.v0.models.ProductInserted | io.flow.v0.models.ProductUpdated | io.flow.v0.models.ProductDeleted | 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.ProductSellabilityResultUpserted | io.flow.v0.models.ProductSellabilityResultDeleted | io.flow.v0.models.ShopifyLocalizationSettingUpserted | io.flow.v0.models.ShopifyLocalizationSettingDeleted | io.flow.v0.models.TrackingLabelEventUpserted | io.flow.v0.models.TrackingLabelEventUpsertedV2);
10644
+ type Event = (io.flow.v0.models.TestUpserted | io.flow.v0.models.GenerateLoad | io.flow.v0.models.AmruthaItemUpserted | io.flow.v0.models.AmruthaItemDeleted | 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.ChannelPendingPayoutTransactionUpserted | io.flow.v0.models.ChannelPendingPayoutTransactionDeleted | io.flow.v0.models.OrganizationPendingPayoutTransactionUpserted | io.flow.v0.models.OrganizationPendingPayoutTransactionDeleted | 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.SubcatalogItemUpserted | io.flow.v0.models.SubcatalogItemDeleted | io.flow.v0.models.CatalogStatisticsUpserted | io.flow.v0.models.CatalogStatisticsDeleted | io.flow.v0.models.ItemInserted | io.flow.v0.models.ItemUpdated | io.flow.v0.models.ItemDeleted | 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.ChannelShopifyOrderStateUpserted | io.flow.v0.models.ChannelShopifyOrderStateDeleted | 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.AllocationDeletedV2 | io.flow.v0.models.AllocationUpsertedV2 | io.flow.v0.models.OrderDeletedV2 | io.flow.v0.models.OrderUpsertedV2 | io.flow.v0.models.OrderIdentifierDeletedV2 | io.flow.v0.models.OrderIdentifierUpsertedV3 | io.flow.v0.models.OrderStateUpserted | io.flow.v0.models.OrderStateDeleted | 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.GeItemInserted | io.flow.v0.models.GeItemUpdated | io.flow.v0.models.GeItemDeleted | 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.TariffCodesUpserted | io.flow.v0.models.TariffCodesDeleted | 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.LabelProcessingModificationUpserted | io.flow.v0.models.LabelProcessingModificationDeleted | io.flow.v0.models.MerchantApplicationUpserted | io.flow.v0.models.MerchantApplicationDeleted | 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.EcommercePlatformUpserted | io.flow.v0.models.EcommercePlatformDeleted | io.flow.v0.models.TaxRegistrationUpserted | io.flow.v0.models.TaxRegistrationDeleted | 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.AuthorizationRetryUpserted | io.flow.v0.models.AuthorizationRetryDeleted | io.flow.v0.models.TransferUpserted | io.flow.v0.models.TransferDeleted | io.flow.v0.models.PaymentRequestUpserted | io.flow.v0.models.PaymentRequestDeleted | io.flow.v0.models.PriceBookUpserted | io.flow.v0.models.PriceBookDeleted | io.flow.v0.models.PriceBookItemUpserted | io.flow.v0.models.PriceBookItemDeleted | io.flow.v0.models.ProductInserted | io.flow.v0.models.ProductUpdated | io.flow.v0.models.ProductDeleted | 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.ProductSellabilityResultUpserted | io.flow.v0.models.ProductSellabilityResultDeleted | io.flow.v0.models.ShopifyLocalizationSettingUpserted | io.flow.v0.models.ShopifyLocalizationSettingDeleted | io.flow.v0.models.TrackingLabelEventUpserted | io.flow.v0.models.TrackingLabelEventUpsertedV2);
10499
10645
  type ExpandableCard = (io.flow.v0.models.Card | io.flow.v0.models.CardReference | io.flow.v0.models.CardSummary | io.flow.v0.models.ExternalCard);
10500
10646
  type ExpandableCenter = (io.flow.v0.models.Center | io.flow.v0.models.CenterReference);
10501
10647
  type ExpandableExperience = (io.flow.v0.models.Experience | io.flow.v0.models.ExperienceReference);
@@ -10530,6 +10676,7 @@ declare namespace io.flow.v0.unions {
10530
10676
  type OrderPromotion = (io.flow.v0.models.FreeShippingOrderPromotion);
10531
10677
  type OrderPromotionForm = (io.flow.v0.models.FreeShippingOrderPromotionForm);
10532
10678
  type OrderRefundSummaryForm = (io.flow.v0.models.OrderRefundSummaryFullForm | io.flow.v0.models.OrderRefundSummaryPartialForm);
10679
+ type OrderStateRejectionReason = (io.flow.v0.models.OrderStateRejectionReasonRestrictedItem | io.flow.v0.models.OrderStateRejectionReasonDomesticOrder | io.flow.v0.models.OrderStateRejectionReasonItemsEmpty);
10533
10680
  type PartnerCenterFee = (io.flow.v0.models.CommercialInvoiceFee | io.flow.v0.models.InboundCartonFee | io.flow.v0.models.OutboundCartonFee);
10534
10681
  type Payment = (io.flow.v0.models.PaymentPaypal | io.flow.v0.models.PaymentCryptopay);
10535
10682
  type PaymentCaptureOption = (io.flow.v0.models.PaymentCaptureOptionAutomaticImmediate | io.flow.v0.models.PaymentCaptureOptionManual);
@@ -10586,6 +10733,6 @@ declare namespace io.flow.v0.unions {
10586
10733
  type Token = (io.flow.v0.models.ChannelToken | io.flow.v0.models.OrganizationToken | io.flow.v0.models.OrganizationTokenV2 | io.flow.v0.models.PartnerToken);
10587
10734
  type TokenReference = (io.flow.v0.models.ChannelTokenReference | io.flow.v0.models.OrganizationTokenReference | io.flow.v0.models.OrganizationTokenV2Reference | io.flow.v0.models.PartnerTokenReference);
10588
10735
  type TransactionDetails = (io.flow.v0.models.TransactionDetailsCard);
10589
- type TransactionMetadata = (io.flow.v0.models.TransactionMetadataShippingLabel | io.flow.v0.models.TransactionMetadataChannel | io.flow.v0.models.TransactionMetadataTrueup | io.flow.v0.models.TransactionMetadataTrueupBase | io.flow.v0.models.TransactionMetadataTrueupSurcharge | io.flow.v0.models.TransactionMetadataCarrierCharge | io.flow.v0.models.TransactionMetadataManual | io.flow.v0.models.TransactionMetadataFailedPayout | io.flow.v0.models.TransactionMetadataPaymentTransaction | io.flow.v0.models.TransactionMetadataTaxDuty);
10736
+ type TransactionMetadata = (io.flow.v0.models.TransactionMetadataShippingLabel | io.flow.v0.models.TransactionMetadataChannel | io.flow.v0.models.TransactionMetadataTrueup | io.flow.v0.models.TransactionMetadataTrueupBase | io.flow.v0.models.TransactionMetadataTrueupSurcharge | io.flow.v0.models.TransactionMetadataCarrierCharge | io.flow.v0.models.TransactionMetadataManual | io.flow.v0.models.TransactionMetadataFailedPayout | io.flow.v0.models.TransactionMetadataPaymentTransaction | io.flow.v0.models.TransactionMetadataTaxDuty | io.flow.v0.models.TransactionMetadataMerchantFee);
10590
10737
  type TransferReference = (io.flow.v0.models.CaptureReference | io.flow.v0.models.RefundReference | io.flow.v0.models.DisputeReference);
10591
10738
  }
package/index.d.ts CHANGED
@@ -57,6 +57,7 @@
57
57
  /// <reference path="generated/io.flow.shopify.markets.v0.shopify-markets.d.ts" />
58
58
  /// <reference path="generated/io.flow.shopify.merchant.config.v0.shopify-merchant-config.d.ts" />
59
59
  /// <reference path="generated/io.flow.stripe.v0.stripe.d.ts" />
60
+ /// <reference path="generated/io.flow.tech.onboarding.playground.v0.tech-onboarding-playground.d.ts" />
60
61
  /// <reference path="generated/io.flow.token.v0.token.d.ts" />
61
62
  /// <reference path="generated/io.flow.tracking.v0.tracking.d.ts" />
62
63
  /// <reference path="generated/io.flow.trueup.v0.trueup.d.ts" />
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flowio/api-types",
3
- "version": "0.0.262",
3
+ "version": "0.0.266",
4
4
  "description": "Global TypeScript typings for Flow Commerce API",
5
5
  "repository": {
6
6
  "type": "git",
@@ -13,6 +13,5 @@
13
13
  "types": "./index.d.ts",
14
14
  "scripts": {
15
15
  "generate": "apibuilder update && node scripts/generate-index.js"
16
- },
17
- "gitHead": "135ffbb6c863d1ed7a34a1f2aecefa6495a9a4d7"
16
+ }
18
17
  }