@flowio/api-types 0.0.241 → 0.0.243

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.
@@ -54,7 +54,9 @@ declare namespace io.flow.v0.enums {
54
54
  type EconomicTitleLocation = 'high_seas' | 'origination' | 'destination';
55
55
  type EntityIdentifierType = 'ioss' | 'voec' | 'zaz';
56
56
  type Environment = 'sandbox' | 'production';
57
- type EventType = 'test_upserted' | 'generate_load' | 'aldo_item_upserted' | 'aldo_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_shopify_order_state_upserted' | 'channel_shopify_order_state_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' | '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' | 'label_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' | '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' | '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' | 'return_upserted' | 'return_deleted' | 'return_upserted_v2' | 'return_deleted_v2' | 'shopify_localization_setting_upserted' | 'shopify_localization_setting_deleted' | 'tracking_label_event_upserted';
57
+ type EstimateOrigin = 'Shopify' | 'GlobalE' | 'Aftership' | 'Carrier';
58
+ type EstimateType = 'Estimated' | 'Final';
59
+ type EventType = 'test_upserted' | 'generate_load' | 'aldo_item_upserted' | 'aldo_item_deleted' | 'ansh_item_upserted' | 'ansh_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_shopify_order_state_upserted' | 'channel_shopify_order_state_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' | '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' | 'ge_item_inserted' | 'ge_item_updated' | 'ge_item_deleted' | 'ge_product_restriction_result_upserted' | 'ge_product_restriction_result_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' | 'label_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' | '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' | 'authorization_retry_upserted' | 'authorization_retry_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' | 'return_upserted' | 'return_deleted' | 'return_upserted_v2' | 'return_deleted_v2' | 'shopify_localization_setting_upserted' | 'shopify_localization_setting_deleted' | 'tracking_label_event_upserted';
58
60
  type ExceptionType = 'open' | 'closed';
59
61
  type ExclusionRuleState = 'current' | 'deleting' | 'updating';
60
62
  type ExperienceCloneStatus = 'pending' | 'updating' | 'completed' | 'failed';
@@ -107,10 +109,10 @@ declare namespace io.flow.v0.enums {
107
109
  type OnboardingApplicationStatus = 'to_do' | 'in_progress' | 'on_hold' | 'rejected' | 'accepted';
108
110
  type OnboardingBlockedReason = 'street_address_is_blank_3pl' | 'street_address_is_po_box_3pl' | 'business_street_address_is_blank' | 'business_street_address_is_po_box' | 'exception_merchant' | 'application_missing' | 'missing_logistics_contact_info';
109
111
  type OnboardingTradeSector = 'accessories' | 'animals_and_pet_supplies' | 'apparel' | 'apparel_and_accessories' | 'arts_and_entertainment' | 'baby_and_toddler' | 'business_and_industrial' | 'cameras_and_optics' | 'electronics' | 'food_beverages_and_tobacco' | 'furniture' | 'gift_cards' | 'hardware' | 'health_and_beauty' | 'home_and_garden' | 'jewelry' | 'luggage_and_bags' | 'mature' | 'media' | 'office_supplies' | 'paper_and_art' | 'religious_and_ceremonial' | 'software' | 'sporting_goods' | 'sports_and_fitness' | 'toys_and_games' | 'toys_hobbies_gifts' | 'vehicles_and_parts' | 'other';
110
- type OptinResponseType = 'not_shown' | 'opted_in' | 'opted_out';
111
112
  type OrderChangeSource = 'consumer' | 'retailer' | 'fulfillment' | 'flow' | 'carrier';
112
113
  type OrderErrorCode = 'generic_error' | 'order_item_not_available' | 'order_identifier_error' | 'authorization_invalid' | 'domestic_shipping_unavailable' | 'shipping_unavailable' | 'value_threshold_exceeded' | 'invalid_currency' | 'invalid_country' | 'invalid_region' | 'invalid_language' | 'item_out_of_stock' | 'gift_card_not_accepted' | 'total_changed';
113
114
  type OrderMerchantOfRecord = 'flow' | 'organization' | 'mixed';
115
+ type OrderPaymentSourceType = 'globale' | 'third_party';
114
116
  type OrderPaymentType = 'card' | 'online' | 'credit' | 'external' | 'subsidized' | 'installment_plan' | 'cash_on_delivery';
115
117
  type OrderPriceDetailComponentKey = 'adjustment' | 'vat_deminimis' | 'duty_deminimis' | 'duties_item_price' | 'duties_freight' | 'duties_insurance' | 'vat_item_price' | 'vat_freight' | 'vat_insurance' | 'vat_duties_item_price' | 'vat_duties_freight' | 'vat_duties_insurance' | 'item_price' | 'item_discount' | 'rounding' | 'insurance' | 'shipping' | 'shipping_discount' | 'order_discount' | 'subtotal_percent_sales_margin' | 'subtotal_vat_percent_sales_margin' | 'subtotal_duty_percent_sales_margin' | 'vat_subsidy' | 'duty_subsidy' | 'remote_area_surcharge' | 'fuel_surcharge' | 'emergency_situation_surcharge' | 'peak_surcharge' | 'duties_taxes_paid_surcharge' | 'tip';
116
118
  type OrderPriceDetailKey = 'adjustment' | 'subtotal' | 'vat' | 'duty' | 'shipping' | 'insurance' | 'discount' | 'surcharges' | 'tip';
@@ -170,7 +172,6 @@ declare namespace io.flow.v0.enums {
170
172
  type Role = 'admin' | 'member';
171
173
  type RoundingMethod = 'up' | 'down' | 'nearest';
172
174
  type RoundingType = 'pattern' | 'multiple';
173
- type RuleEffectType = 'market' | 'dhl' | 'dhl_ecommerce' | 'ups';
174
175
  type ScheduleExceptionStatus = 'Open' | 'Closed';
175
176
  type ShipmentIntegrationType = 'direct' | 'information' | 'preadvice';
176
177
  type ShipmentRecipient = 'customer' | 'return' | 'crossdock';
@@ -186,9 +187,6 @@ declare namespace io.flow.v0.enums {
186
187
  type SubcatalogItemStatus = 'excluded' | 'included' | 'restricted';
187
188
  type SubstatusCode = 'Delivered_001' | 'Delivered_002' | 'Delivered_003' | 'Delivered_004' | 'AvailableForPickup_001' | 'Exception_001' | 'Exception_002' | 'Exception_003' | 'Exception_004' | 'Exception_005' | 'Exception_006' | 'Exception_007' | 'Exception_008' | 'Exception_009' | 'Exception_010' | 'Exception_011' | 'Exception_012' | 'Exception_013' | 'AttemptFail_001' | 'AttemptFail_002' | 'AttemptFail_003' | 'InTransit_001' | 'InTransit_002' | 'InTransit_003' | 'InTransit_004' | 'InTransit_005' | 'InTransit_006' | 'InTransit_007' | 'InTransit_008' | 'InTransit_009' | 'InfoReceived_001' | 'OutForDelivery_001' | 'OutForDelivery_003' | 'OutForDelivery_004' | 'Pending_001' | 'Pending_002' | 'Pending_003' | 'Pending_004' | 'Pending_005' | 'Pending_006' | 'Expired_001';
188
189
  type SurchargeResponsibleParty = 'organization' | 'customer';
189
- type SyncRecordFailureReason = 'inventory' | 'address' | 'promotion' | 'other';
190
- type SyncStreamType = 'submitted_order' | 'placed_order';
191
- type SyncUnitOfTime = 'day' | 'hour' | 'minute' | 'second';
192
190
  type TaxApplicability = 'none' | 'all';
193
191
  type TaxReportType = 'consumer' | 'b2b';
194
192
  type TaxVerificationResult = 'valid' | 'invalid' | 'unable_to_validate';
@@ -201,10 +199,10 @@ declare namespace io.flow.v0.enums {
201
199
  type TierStrategy = 'fastest' | 'lowest_cost';
202
200
  type TokenType = 'permanent' | 'one_time';
203
201
  type TrackingNumberType = 'flow' | 'carrier';
204
- type TrackingStatus = 'label_created' | 'pending' | 'info_received' | 'picked_up' | 'in_transit' | 'out_for_delivery' | 'attempt_fail' | 'delivered' | 'exception' | 'returned' | 'expired';
202
+ type TrackingStatus = 'label_created' | 'pending' | 'info_received' | 'picked_up' | 'in_transit' | 'out_for_delivery' | 'attempt_fail' | 'delivered' | 'exception' | 'returned' | 'expired' | 'unknown' | 'unmapped';
205
203
  type TradeAgreementName = 'USMCA' | 'T-MEC' | 'CUSMA' | 'TCA';
206
204
  type TradeAgreementStatus = 'supported' | 'not_supported';
207
- 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' | 'order_fx' | 'ge_revenue_share' | 'tax_duty_delta';
205
+ 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' | 'non_l4l_tax_duty_fx' | 'ge_revenue_share' | 'tax_duty_delta';
208
206
  type TrueupSource = 'flow' | 'channel' | 'dhl-parcel' | 'dhl' | 'ups';
209
207
  type TrueupSurchargeType = 'fuel' | 'remote_area' | 'oversize' | 'duties_paid' | 'emergency' | 'peak' | 'address_correction' | 'security' | 'eei_filing' | 'fixed_ddp' | 'fixed_currency_conversion' | 'prohibited_item' | 'undeliverable_shipment' | 'signature_required' | 'direct_delivery' | 'saturday_stop' | 'residential_extended_area_pickup' | 'package_level_detail';
210
208
  type UnitOfLength = 'millimeter' | 'centimeter' | 'inch' | 'foot' | 'meter';
@@ -671,6 +669,20 @@ declare namespace io.flow.v0.models {
671
669
  readonly 'interval'?: io.flow.v0.enums.UnitOfTime;
672
670
  }
673
671
 
672
+ interface AnshItemDeleted {
673
+ readonly 'discriminator': 'ansh_item_deleted';
674
+ readonly 'event_id': string;
675
+ readonly 'timestamp': string;
676
+ readonly 'id': string;
677
+ }
678
+
679
+ interface AnshItemUpserted {
680
+ readonly 'discriminator': 'ansh_item_upserted';
681
+ readonly 'event_id': string;
682
+ readonly 'timestamp': string;
683
+ readonly 'item': io.flow.tech.onboarding.playground.v0.models.AnshItem;
684
+ }
685
+
674
686
  interface ApplePayMerchantValidationPayload {
675
687
  readonly 'discriminator': 'apple_pay_merchant_validation_payload';
676
688
  readonly 'validation_url': string;
@@ -858,6 +870,33 @@ declare namespace io.flow.v0.models {
858
870
  readonly 'display': string;
859
871
  }
860
872
 
873
+ interface AuthorizationRetry {
874
+ readonly 'id': string;
875
+ readonly 'authorization_request_id': string;
876
+ readonly 'authorization_id': string;
877
+ readonly 'organization_id': string;
878
+ readonly 'attempt': number;
879
+ readonly 'last_failure_code': string;
880
+ readonly 'created_at': string;
881
+ readonly 'updated_at': string;
882
+ }
883
+
884
+ interface AuthorizationRetryDeleted {
885
+ readonly 'discriminator': 'authorization_retry_deleted';
886
+ readonly 'event_id': string;
887
+ readonly 'timestamp': string;
888
+ readonly 'organization': string;
889
+ readonly 'id': string;
890
+ }
891
+
892
+ interface AuthorizationRetryUpserted {
893
+ readonly 'discriminator': 'authorization_retry_upserted';
894
+ readonly 'event_id': string;
895
+ readonly 'timestamp': string;
896
+ readonly 'organization': string;
897
+ readonly 'authorization_retry': io.flow.v0.models.AuthorizationRetry;
898
+ }
899
+
861
900
  interface AuthorizationStatusChanged {
862
901
  readonly 'discriminator': 'authorization_status_changed';
863
902
  readonly 'event_id': string;
@@ -1139,28 +1178,6 @@ declare namespace io.flow.v0.models {
1139
1178
  readonly 'hub_code'?: string;
1140
1179
  }
1141
1180
 
1142
- interface BrowseOptinResponses {
1143
- readonly 'id': string;
1144
- readonly 'session_id': string;
1145
- readonly 'optin_responses': io.flow.v0.models.OptinResponse[];
1146
- }
1147
-
1148
- interface BrowseOptinResponsesDeleted {
1149
- readonly 'discriminator': 'browse_optin_responses_deleted';
1150
- readonly 'event_id': string;
1151
- readonly 'timestamp': string;
1152
- readonly 'organization': string;
1153
- readonly 'id': string;
1154
- }
1155
-
1156
- interface BrowseOptinResponsesUpserted {
1157
- readonly 'discriminator': 'browse_optin_responses_upserted';
1158
- readonly 'event_id': string;
1159
- readonly 'timestamp': string;
1160
- readonly 'organization': string;
1161
- readonly 'browse_optin_responses': io.flow.v0.models.BrowseOptinResponses;
1162
- }
1163
-
1164
1181
  interface BrowserInfo {
1165
1182
  readonly 'origin'?: string;
1166
1183
  readonly 'language'?: string;
@@ -1296,6 +1313,7 @@ declare namespace io.flow.v0.models {
1296
1313
  readonly 'processor'?: io.flow.v0.unions.ExpandablePaymentProcessor;
1297
1314
  readonly 'stored_method_usage_step'?: io.flow.v0.enums.StoredMethodUsageStep;
1298
1315
  readonly 'authorized_at'?: string;
1316
+ readonly 'authorization_request_id'?: string;
1299
1317
  }
1300
1318
 
1301
1319
  interface CardAuthorizationDeletedV2 {
@@ -1986,29 +2004,6 @@ declare namespace io.flow.v0.models {
1986
2004
  readonly 'value': string;
1987
2005
  }
1988
2006
 
1989
- interface CheckoutOptinResponses {
1990
- readonly 'id': string;
1991
- readonly 'order_number': string;
1992
- readonly 'session_id': string;
1993
- readonly 'optin_responses': io.flow.v0.models.OptinResponse[];
1994
- }
1995
-
1996
- interface CheckoutOptinResponsesDeleted {
1997
- readonly 'discriminator': 'checkout_optin_responses_deleted';
1998
- readonly 'event_id': string;
1999
- readonly 'timestamp': string;
2000
- readonly 'organization': string;
2001
- readonly 'id': string;
2002
- }
2003
-
2004
- interface CheckoutOptinResponsesUpserted {
2005
- readonly 'discriminator': 'checkout_optin_responses_upserted';
2006
- readonly 'event_id': string;
2007
- readonly 'timestamp': string;
2008
- readonly 'organization': string;
2009
- readonly 'checkout_optin_responses': io.flow.v0.models.CheckoutOptinResponses;
2010
- }
2011
-
2012
2007
  interface CheckoutReference {
2013
2008
  readonly 'id': string;
2014
2009
  }
@@ -3128,6 +3123,15 @@ declare namespace io.flow.v0.models {
3128
3123
  readonly 'issuing_country'?: string;
3129
3124
  }
3130
3125
 
3126
+ interface Estimate {
3127
+ readonly 'id': string;
3128
+ readonly 'organization_id': string;
3129
+ readonly 'label_id': string;
3130
+ readonly 'estimate': io.flow.v0.models.ShippingLabelHopSummary;
3131
+ readonly 'type': io.flow.v0.enums.EstimateType;
3132
+ readonly 'origin'?: io.flow.v0.enums.EstimateOrigin;
3133
+ }
3134
+
3131
3135
  interface EstimatedDimensions {
3132
3136
  readonly 'depth': io.flow.v0.models.Measurement;
3133
3137
  readonly 'length': io.flow.v0.models.Measurement;
@@ -3819,6 +3823,46 @@ declare namespace io.flow.v0.models {
3819
3823
  readonly 'landed_costs': io.flow.v0.models.LaneLandedCost[];
3820
3824
  }
3821
3825
 
3826
+ interface GeItemDeleted {
3827
+ readonly 'discriminator': 'ge_item_deleted';
3828
+ readonly 'event_id': string;
3829
+ readonly 'timestamp': string;
3830
+ readonly 'organization': string;
3831
+ readonly 'item': io.flow.v0.models.Item;
3832
+ }
3833
+
3834
+ interface GeItemInserted {
3835
+ readonly 'discriminator': 'ge_item_inserted';
3836
+ readonly 'event_id': string;
3837
+ readonly 'timestamp': string;
3838
+ readonly 'organization': string;
3839
+ readonly 'item': io.flow.v0.models.Item;
3840
+ }
3841
+
3842
+ interface GeItemUpdated {
3843
+ readonly 'discriminator': 'ge_item_updated';
3844
+ readonly 'event_id': string;
3845
+ readonly 'timestamp': string;
3846
+ readonly 'organization': string;
3847
+ readonly 'item': io.flow.v0.models.Item;
3848
+ }
3849
+
3850
+ interface GeProductRestrictionResultDeleted {
3851
+ readonly 'discriminator': 'ge_product_restriction_result_deleted';
3852
+ readonly 'event_id': string;
3853
+ readonly 'timestamp': string;
3854
+ readonly 'organization': string;
3855
+ readonly 'id': string;
3856
+ }
3857
+
3858
+ interface GeProductRestrictionResultUpserted {
3859
+ readonly 'discriminator': 'ge_product_restriction_result_upserted';
3860
+ readonly 'event_id': string;
3861
+ readonly 'timestamp': string;
3862
+ readonly 'organization': string;
3863
+ readonly 'ge_product_restriction_result': io.flow.v0.models.ProductRestrictionResult;
3864
+ }
3865
+
3822
3866
  interface GenerateLoad {
3823
3867
  readonly 'discriminator': 'generate_load';
3824
3868
  readonly 'event_id': string;
@@ -4831,14 +4875,6 @@ declare namespace io.flow.v0.models {
4831
4875
  readonly 'price': io.flow.v0.models.LocalizedItemPrice;
4832
4876
  }
4833
4877
 
4834
- interface LocalItemDeleted {
4835
- readonly 'discriminator': 'local_item_deleted';
4836
- readonly 'event_id': string;
4837
- readonly 'timestamp': string;
4838
- readonly 'organization': string;
4839
- readonly 'local_item': io.flow.v0.models.LocalItem;
4840
- }
4841
-
4842
4878
  interface LocalItemPricing {
4843
4879
  readonly 'price': io.flow.v0.models.LocalizedItemPrice;
4844
4880
  readonly 'vat'?: io.flow.v0.models.LocalizedItemVat;
@@ -4848,14 +4884,6 @@ declare namespace io.flow.v0.models {
4848
4884
  readonly 'price_attributes'?: Record<string, io.flow.v0.models.LocalItemAttributePricing>;
4849
4885
  }
4850
4886
 
4851
- interface LocalItemUpserted {
4852
- readonly 'discriminator': 'local_item_upserted';
4853
- readonly 'event_id': string;
4854
- readonly 'timestamp': string;
4855
- readonly 'organization': string;
4856
- readonly 'local_item': io.flow.v0.models.LocalItem;
4857
- }
4858
-
4859
4887
  interface LocalPriceDetails {
4860
4888
  readonly 'base': io.flow.v0.models.PriceDetails;
4861
4889
  readonly 'local': io.flow.v0.models.PriceDetails;
@@ -5331,6 +5359,7 @@ declare namespace io.flow.v0.models {
5331
5359
  readonly 'processor'?: io.flow.v0.unions.ExpandablePaymentProcessor;
5332
5360
  readonly 'confirmation_details'?: io.flow.v0.unions.ConfirmationDetails;
5333
5361
  readonly 'authorized_at'?: string;
5362
+ readonly 'authorization_request_id'?: string;
5334
5363
  }
5335
5364
 
5336
5365
  interface OnlineAuthorizationDeletedV2 {
@@ -5362,11 +5391,6 @@ declare namespace io.flow.v0.models {
5362
5391
  readonly 'phone'?: string;
5363
5392
  }
5364
5393
 
5365
- interface OptinResponse {
5366
- readonly 'key': string;
5367
- readonly 'value': io.flow.v0.enums.OptinResponseType;
5368
- }
5369
-
5370
5394
  interface OptionWeightEstimates {
5371
5395
  readonly 'gravitational': io.flow.v0.models.Measurement;
5372
5396
  readonly 'dimensional': io.flow.v0.models.Measurement;
@@ -5407,6 +5431,7 @@ declare namespace io.flow.v0.models {
5407
5431
  readonly 'device_details'?: io.flow.v0.unions.DeviceDetails;
5408
5432
  readonly 'destination_contact_details'?: io.flow.v0.models.DestinationContactDetail[];
5409
5433
  readonly 'incoterm_summary'?: io.flow.v0.models.IncotermSummary;
5434
+ readonly 'payment_source'?: io.flow.v0.enums.OrderPaymentSourceType;
5410
5435
  }
5411
5436
 
5412
5437
  interface OrderAddress {
@@ -5550,6 +5575,7 @@ declare namespace io.flow.v0.models {
5550
5575
  readonly 'authorization_keys'?: string[];
5551
5576
  readonly 'options'?: io.flow.v0.models.OrderOptions;
5552
5577
  readonly 'device_details'?: io.flow.v0.unions.DeviceDetails;
5578
+ readonly 'payment_source'?: io.flow.v0.enums.OrderPaymentSourceType;
5553
5579
  }
5554
5580
 
5555
5581
  interface OrderFraudStatus {
@@ -5769,6 +5795,7 @@ declare namespace io.flow.v0.models {
5769
5795
  readonly 'authorization_keys'?: string[];
5770
5796
  readonly 'options'?: io.flow.v0.models.OrderOptions;
5771
5797
  readonly 'device_details'?: io.flow.v0.unions.DeviceDetails;
5798
+ readonly 'payment_source'?: io.flow.v0.enums.OrderPaymentSourceType;
5772
5799
  }
5773
5800
 
5774
5801
  interface OrderReference {
@@ -7323,10 +7350,6 @@ declare namespace io.flow.v0.models {
7323
7350
  readonly 'id': string;
7324
7351
  }
7325
7352
 
7326
- interface PriceBookItemExportOptions {
7327
- readonly 'available_identifiers': io.flow.v0.enums.ItemIdentifier[];
7328
- }
7329
-
7330
7353
  interface PriceBookItemExportType {
7331
7354
  readonly 'discriminator': 'price_book_item_export_type';
7332
7355
  readonly 'price_book_key'?: string;
@@ -7570,29 +7593,6 @@ declare namespace io.flow.v0.models {
7570
7593
  readonly 'product_restriction_result': io.flow.v0.models.ProductRestrictionResult;
7571
7594
  }
7572
7595
 
7573
- interface ProductSellability {
7574
- readonly 'organization_id': string;
7575
- readonly 'product_id'?: string;
7576
- readonly 'product_correlation_id': string;
7577
- readonly 'restricted_regions': io.flow.v0.models.SellablilityRegionResult[];
7578
- readonly 'in_review_regions': io.flow.v0.models.SellablilityRegionResult[];
7579
- }
7580
-
7581
- interface ProductSellabilityForm {
7582
- readonly 'organization_id': string;
7583
- readonly 'product_id'?: string;
7584
- readonly 'product_correlation_id': string;
7585
- readonly 'name': string;
7586
- readonly 'price': io.flow.v0.models.ProductSellabilityPrice;
7587
- readonly 'description': string;
7588
- readonly 'taxonomy_category': io.flow.v0.models.ProductTaxonomyCategory;
7589
- }
7590
-
7591
- interface ProductSellabilityPrice {
7592
- readonly 'currency': string;
7593
- readonly 'amount': number;
7594
- }
7595
-
7596
7596
  interface ProductTaxonomyCategory {
7597
7597
  readonly 'name': string;
7598
7598
  readonly 'full_name': string;
@@ -8556,11 +8556,6 @@ declare namespace io.flow.v0.models {
8556
8556
  readonly 'issuer_options': io.flow.v0.models.IssuerReference[];
8557
8557
  }
8558
8558
 
8559
- interface SellablilityRegionResult {
8560
- readonly 'type': io.flow.v0.enums.RuleEffectType;
8561
- readonly 'regions': string[];
8562
- }
8563
-
8564
8559
  interface ServiceReference {
8565
8560
  readonly 'id': string;
8566
8561
  }
@@ -9509,79 +9504,6 @@ declare namespace io.flow.v0.models {
9509
9504
  readonly 'available': io.flow.v0.models.SurchargeResponsiblePartyDisplay[];
9510
9505
  }
9511
9506
 
9512
- interface SyncDuration {
9513
- readonly 'unit': io.flow.v0.enums.SyncUnitOfTime;
9514
- readonly 'value': number;
9515
- }
9516
-
9517
- interface SyncPendingRecord {
9518
- readonly 'id': string;
9519
- readonly 'stream': io.flow.v0.models.SyncStreamReference;
9520
- readonly 'value': string;
9521
- readonly 'system': string;
9522
- }
9523
-
9524
- interface SyncRecord {
9525
- readonly 'id': string;
9526
- readonly 'system': string;
9527
- readonly 'value': string;
9528
- readonly 'stream': io.flow.v0.models.SyncStreamReference;
9529
- }
9530
-
9531
- interface SyncRecordFailure {
9532
- readonly 'id': string;
9533
- readonly 'stream': io.flow.v0.models.SyncStreamReference;
9534
- readonly 'value': string;
9535
- readonly 'system': string;
9536
- readonly 'reason': io.flow.v0.enums.SyncRecordFailureReason;
9537
- readonly 'attributes'?: Record<string, string>;
9538
- }
9539
-
9540
- interface SyncRecordFailureForm {
9541
- readonly 'stream_key': string;
9542
- readonly 'value': string;
9543
- readonly 'system': string;
9544
- readonly 'reason': io.flow.v0.enums.SyncRecordFailureReason;
9545
- readonly 'attributes'?: Record<string, string>;
9546
- }
9547
-
9548
- interface SyncRecordForm {
9549
- readonly 'stream_key': string;
9550
- readonly 'system': string;
9551
- readonly 'value': string;
9552
- }
9553
-
9554
- interface SyncStream {
9555
- readonly 'id': string;
9556
- readonly 'key': string;
9557
- readonly 'type': io.flow.v0.enums.SyncStreamType;
9558
- readonly 'systems': string[];
9559
- readonly 'settings': io.flow.v0.models.SyncStreamSettings;
9560
- }
9561
-
9562
- interface SyncStreamForm {
9563
- readonly 'type': io.flow.v0.enums.SyncStreamType;
9564
- readonly 'systems': string[];
9565
- readonly 'settings'?: io.flow.v0.models.SyncStreamSettingsForm;
9566
- }
9567
-
9568
- interface SyncStreamReference {
9569
- readonly 'id': string;
9570
- readonly 'key': string;
9571
- }
9572
-
9573
- interface SyncStreamSettings {
9574
- readonly 'pending_record_after': io.flow.v0.models.SyncDuration;
9575
- readonly 'warn_after': io.flow.v0.models.SyncDuration;
9576
- readonly 'error_after': io.flow.v0.models.SyncDuration;
9577
- }
9578
-
9579
- interface SyncStreamSettingsForm {
9580
- readonly 'pending_record_after': io.flow.v0.models.SyncDuration;
9581
- readonly 'warn_after': io.flow.v0.models.SyncDuration;
9582
- readonly 'error_after': io.flow.v0.models.SyncDuration;
9583
- }
9584
-
9585
9507
  interface Tax {
9586
9508
  readonly 'name': string;
9587
9509
  readonly 'rate': number;
@@ -10410,7 +10332,7 @@ declare namespace io.flow.v0.unions {
10410
10332
  type Document = (io.flow.v0.models.CatalogItemDocument | io.flow.v0.models.HarmonizationDocument);
10411
10333
  type EmailNotificationData = (io.flow.v0.models.EmailNotificationDataRefund | io.flow.v0.models.EmailNotificationAbandonedOrder);
10412
10334
  type Entity = (io.flow.v0.models.Company | io.flow.v0.models.Individual);
10413
- type Event = (io.flow.v0.models.TestUpserted | io.flow.v0.models.GenerateLoad | io.flow.v0.models.AldoItemUpserted | io.flow.v0.models.AldoItemDeleted | 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.ChannelShopifyOrderStateUpserted | io.flow.v0.models.ChannelShopifyOrderStateDeleted | 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.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.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.LabelProcessingModificationUpserted | io.flow.v0.models.LabelProcessingModificationDeleted | 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.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.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);
10335
+ type Event = (io.flow.v0.models.TestUpserted | io.flow.v0.models.GenerateLoad | io.flow.v0.models.AldoItemUpserted | io.flow.v0.models.AldoItemDeleted | io.flow.v0.models.AnshItemUpserted | io.flow.v0.models.AnshItemDeleted | 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.ChannelShopifyOrderStateUpserted | io.flow.v0.models.ChannelShopifyOrderStateDeleted | 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.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.GeItemInserted | io.flow.v0.models.GeItemUpdated | io.flow.v0.models.GeItemDeleted | io.flow.v0.models.GeProductRestrictionResultUpserted | io.flow.v0.models.GeProductRestrictionResultDeleted | 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.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.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.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.AuthorizationRetryUpserted | io.flow.v0.models.AuthorizationRetryDeleted | 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.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);
10414
10336
  type ExpandableCard = (io.flow.v0.models.Card | io.flow.v0.models.CardReference | io.flow.v0.models.CardSummary);
10415
10337
  type ExpandableCenter = (io.flow.v0.models.Center | io.flow.v0.models.CenterReference);
10416
10338
  type ExpandableExperience = (io.flow.v0.models.Experience | io.flow.v0.models.ExperienceReference);
package/index.d.ts CHANGED
@@ -12,7 +12,6 @@
12
12
  /// <reference path="generated/io.flow.channel.currency.v0.channel-currency.d.ts" />
13
13
  /// <reference path="generated/io.flow.channel.internal.v0.channel-internal.d.ts" />
14
14
  /// <reference path="generated/io.flow.channel.v0.channel.d.ts" />
15
- /// <reference path="generated/io.flow.checkout.v0.checkout.d.ts" />
16
15
  /// <reference path="generated/io.flow.common.v0.common.d.ts" />
17
16
  /// <reference path="generated/io.flow.crypto.v0.crypto.d.ts" />
18
17
  /// <reference path="generated/io.flow.currency.v0.currency.d.ts" />
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flowio/api-types",
3
- "version": "0.0.241",
3
+ "version": "0.0.243",
4
4
  "description": "Global TypeScript typings for Flow Commerce API",
5
5
  "repository": {
6
6
  "type": "git",
@@ -14,5 +14,5 @@
14
14
  "scripts": {
15
15
  "generate": "apibuilder update && node scripts/generate-index.js"
16
16
  },
17
- "gitHead": "b6c2f519293efcf70e56cc356ba0b60292295b25"
17
+ "gitHead": "804cd1afec6f2a750da3a0f134494fec43c1f1f7"
18
18
  }
@@ -1,46 +0,0 @@
1
- declare namespace io.flow.checkout.v0.models {
2
- interface CheckoutToken {
3
- readonly 'id': string;
4
- readonly 'organization': io.flow.common.v0.models.OrganizationReference;
5
- readonly 'checkout': io.flow.common.v0.models.CheckoutReference;
6
- readonly 'order': io.flow.experience.v0.models.OrderNumberReference;
7
- readonly 'urls': io.flow.checkout.v0.models.CheckoutUrls;
8
- readonly 'expires_at': string;
9
- readonly 'session': io.flow.common.v0.models.SessionReference;
10
- readonly 'customer'?: io.flow.common.v0.models.CustomerReference;
11
- }
12
-
13
- interface CheckoutTokenOrderForm {
14
- readonly 'discriminator': 'checkout_token_order_form';
15
- readonly 'order_form': io.flow.experience.v0.models.OrderForm;
16
- readonly 'customer'?: io.flow.customer.v0.models.CustomerForm;
17
- readonly 'address_book'?: io.flow.customer.v0.models.CustomerAddressBookForm;
18
- readonly 'payment_sources'?: io.flow.payment.v0.unions.PaymentSourceForm[];
19
- readonly 'session_id': string;
20
- readonly 'urls'?: io.flow.checkout.v0.models.CheckoutUrlsForm;
21
- readonly 'identifiers'?: io.flow.experience.v0.models.OrderSubmissionIdentifierForm[];
22
- }
23
-
24
- interface CheckoutTokenReferenceForm {
25
- readonly 'discriminator': 'checkout_token_reference_form';
26
- readonly 'order_number': string;
27
- readonly 'session_id': string;
28
- readonly 'urls': io.flow.checkout.v0.models.CheckoutUrlsForm;
29
- }
30
-
31
- interface CheckoutUrls {
32
- readonly 'continue_shopping'?: string;
33
- readonly 'confirmation'?: string;
34
- readonly 'invalid_checkout'?: string;
35
- }
36
-
37
- interface CheckoutUrlsForm {
38
- readonly 'continue_shopping'?: string;
39
- readonly 'confirmation'?: string;
40
- readonly 'invalid_checkout'?: string;
41
- }
42
- }
43
-
44
- declare namespace io.flow.checkout.v0.unions {
45
- type CheckoutTokenForm = (io.flow.checkout.v0.models.CheckoutTokenOrderForm | io.flow.checkout.v0.models.CheckoutTokenReferenceForm);
46
- }