@flowio/types 11.24.47 → 11.24.49

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.
@@ -5027,7 +5027,9 @@ declare namespace io.flow.shopify.markets.v0.enums {
5027
5027
  type CancelReason = 'customer' | 'fraud' | 'inventory' | 'declined' | 'other';
5028
5028
  type FulfillmentOrderDeliveryMethodType = 'local' | 'none' | 'pick_up' | 'retail' | 'shipping';
5029
5029
  type IncotermDuties = 'DAP' | 'DDP';
5030
+ type ShopifyDiscountValueType = 'fixed_amount' | 'percentage';
5030
5031
  type ShopifyDiscrepancyReason = 'restock' | 'damage' | 'customer' | 'other';
5032
+ type ShopifyDraftOrderStatus = 'open' | 'invoice_sent' | 'completed' | 'pending' | 'authorized' | 'partially_paid' | 'paid' | 'partially_refunded' | 'refunded' | 'voided';
5031
5033
  type ShopifyOrderCancelReason = 'customer' | 'fraud' | 'inventory' | 'declined' | 'other';
5032
5034
  type ShopifyOrderDiscountAllocationMethod = 'across' | 'each' | 'one';
5033
5035
  type ShopifyOrderDiscountApplicationTargetSelection = 'all' | 'entitled' | 'explicit';
@@ -5049,6 +5051,7 @@ declare namespace io.flow.shopify.markets.v0.enums {
5049
5051
  type ShopifyOrderTransactionErrorCode = 'incorrect_number' | 'invalid_number' | 'invalid_expiry_date' | 'invalid_cvc' | 'expired_card' | 'incorrect_cvc' | 'incorrect_zip' | 'incorrect_address' | 'card_declined' | 'processing_error' | 'call_issuer' | 'pick_up_card';
5050
5052
  type ShopifyOrderTransactionStatus = 'pending' | 'failure' | 'success' | 'error';
5051
5053
  type ShopifyOrderValueType = 'string' | 'integer';
5054
+ type ShopifyTaxExemptions = 'EXEMPT_ALL' | 'CA_STATUS_CARD_EXEMPTION' | 'CA_DIPLOMAT_EXEMPTION' | 'CA_BC_RESELLER_EXEMPTION' | 'CA_MB_RESELLER_EXEMPTION' | 'CA_SK_RESELLER_EXEMPTION' | 'CA_BC_COMMERCIAL_FISHERY_EXEMPTION' | 'CA_MB_COMMERCIAL_FISHERY_EXEMPTION' | 'CA_NS_COMMERCIAL_FISHERY_EXEMPTION' | 'CA_PE_COMMERCIAL_FISHERY_EXEMPTION' | 'CA_SK_COMMERCIAL_FISHERY_EXEMPTION' | 'CA_BC_PRODUCTION_AND_MACHINERY_EXEMPTION' | 'CA_SK_PRODUCTION_AND_MACHINERY_EXEMPTION' | 'CA_BC_SUB_CONTRACTOR_EXEMPTION' | 'CA_SK_SUB_CONTRACTOR_EXEMPTION' | 'CA_BC_CONTRACTOR_EXEMPTION' | 'CA_SK_CONTRACTOR_EXEMPTION' | 'CA_ON_PURCHASE_EXEMPTION' | 'CA_MB_FARMER_EXEMPTION' | 'CA_NS_FARMER_EXEMPTION' | 'CA_SK_FARMER_EXEMPTION';
5052
5055
  type ShopifyWebhookFormat = 'json' | 'xml';
5053
5056
  type ShopifyWebhookTopic = 'customers/redact' | 'customers/data_request' | 'locations/create' | 'locations/update' | 'locations/delete' | 'orders/cancelled' | 'orders/create' | 'orders/fulfilled' | 'orders/paid' | 'orders/partially_fulfilled' | 'orders/updated' | 'orders/delete' | 'orders/edited' | 'products/create' | 'products/delete' | 'products/update' | 'inventory_items/create' | 'inventory_items/update' | 'inventory_items/delete' | 'refunds/create' | 'fulfillment_events/create' | 'fulfillment_events/delete' | 'shop/redact' | 'themes/create' | 'themes/publish' | 'themes/update';
5054
5057
  }
@@ -5110,10 +5113,53 @@ declare namespace io.flow.shopify.markets.v0.models {
5110
5113
  interface ShopWrapper {
5111
5114
  readonly shop: io.flow.shopify.markets.v0.models.Shop;
5112
5115
  }
5116
+ interface ShopifyAppliedDiscount {
5117
+ readonly title?: string;
5118
+ readonly description?: string;
5119
+ readonly value?: string;
5120
+ readonly value_type?: io.flow.shopify.markets.v0.enums.ShopifyDiscountValueType;
5121
+ readonly amount?: number;
5122
+ }
5113
5123
  interface ShopifyCountryHarmonizedSystemCode {
5114
5124
  readonly country_code: string;
5115
5125
  readonly harmonized_system_code: string;
5116
5126
  }
5127
+ interface ShopifyDraftOrder {
5128
+ readonly applied_discount: io.flow.shopify.markets.v0.models.ShopifyAppliedDiscount;
5129
+ readonly billing_address?: io.flow.shopify.markets.v0.models.ShopifyOrderAddress;
5130
+ readonly completed_at?: string;
5131
+ readonly created_at?: string;
5132
+ readonly currency?: string;
5133
+ readonly customer?: io.flow.shopify.markets.v0.models.ShopifyOrderCustomer;
5134
+ readonly email?: string;
5135
+ readonly id?: number;
5136
+ readonly invoice_sent_at?: string;
5137
+ readonly invoice_url?: string;
5138
+ readonly line_items: io.flow.shopify.markets.v0.models.ShopifyOrderLineItem[];
5139
+ readonly name?: string;
5140
+ readonly note?: string;
5141
+ readonly note_attributes: io.flow.shopify.markets.v0.models.ShopifyOrderAttribute[];
5142
+ readonly order_id: io.flow.shopify.markets.v0.models.ShopifyOrderId;
5143
+ readonly payment_terms: io.flow.shopify.markets.v0.models.ShopifyPaymentTerms;
5144
+ readonly shipping_address?: io.flow.shopify.markets.v0.models.ShopifyOrderAddress;
5145
+ readonly shipping_lines: io.flow.shopify.markets.v0.models.ShopifyOrderShippingLine[];
5146
+ readonly source_name?: string;
5147
+ readonly subtotal_price?: string;
5148
+ readonly status?: io.flow.shopify.markets.v0.enums.ShopifyDraftOrderStatus;
5149
+ readonly tags?: string;
5150
+ readonly tax_exemptions?: io.flow.shopify.markets.v0.enums.ShopifyTaxExemptions[];
5151
+ readonly tax_lines: io.flow.shopify.markets.v0.models.ShopifyOrderTaxLine[];
5152
+ readonly taxes_included: boolean;
5153
+ readonly total_price?: string;
5154
+ readonly total_tax?: string;
5155
+ readonly updated_at?: string;
5156
+ }
5157
+ interface ShopifyDraftOrderCount {
5158
+ readonly count: number;
5159
+ }
5160
+ interface ShopifyDraftOrdersWrapper {
5161
+ readonly draft_orders: io.flow.shopify.markets.v0.models.ShopifyDraftOrder[];
5162
+ }
5117
5163
  interface ShopifyError {
5118
5164
  readonly errors: any;
5119
5165
  }
@@ -5284,6 +5330,9 @@ declare namespace io.flow.shopify.markets.v0.models {
5284
5330
  readonly session_hash?: string;
5285
5331
  readonly user_agent?: string;
5286
5332
  }
5333
+ interface ShopifyOrderCount {
5334
+ readonly count: number;
5335
+ }
5287
5336
  interface ShopifyOrderCustomer {
5288
5337
  readonly id?: number;
5289
5338
  readonly email?: string;
@@ -5377,6 +5426,9 @@ declare namespace io.flow.shopify.markets.v0.models {
5377
5426
  readonly updated_at?: string;
5378
5427
  readonly variant_inventory_management?: string;
5379
5428
  }
5429
+ interface ShopifyOrderId {
5430
+ readonly id: number;
5431
+ }
5380
5432
  interface ShopifyOrderLineItem {
5381
5433
  readonly fulfillable_quantity?: number;
5382
5434
  readonly fulfillment_service: string;
@@ -5520,6 +5572,22 @@ declare namespace io.flow.shopify.markets.v0.models {
5520
5572
  interface ShopifyOrdersWrapper {
5521
5573
  readonly orders: io.flow.shopify.markets.v0.models.ShopifyOrder[];
5522
5574
  }
5575
+ interface ShopifyPaymentSchedules {
5576
+ readonly amount?: number;
5577
+ readonly currency?: string;
5578
+ readonly issued_at?: string;
5579
+ readonly due_at?: string;
5580
+ readonly completed_at?: string;
5581
+ readonly expected_payment_method?: string;
5582
+ }
5583
+ interface ShopifyPaymentTerms {
5584
+ readonly amount?: number;
5585
+ readonly currency?: string;
5586
+ readonly payment_terms_name?: string;
5587
+ readonly payment_terms_type?: number;
5588
+ readonly due_in_days?: number;
5589
+ readonly payment_schedules?: io.flow.shopify.markets.v0.models.ShopifyPaymentSchedules;
5590
+ }
5523
5591
  interface ShopifyRefund {
5524
5592
  readonly notify_x: boolean;
5525
5593
  readonly note?: string;
@@ -6034,6 +6102,14 @@ declare namespace io.flow.payment.gateway.v0.models {
6034
6102
  }
6035
6103
  interface PaymentMethodDataAuthorizeApplepay {
6036
6104
  readonly type: 'authorize_applepay';
6105
+ readonly result: io.flow.payment.gateway.v0.unions.PaymentMethodDataAuthorizeApplepayResult;
6106
+ }
6107
+ interface PaymentMethodDataAuthorizeApplepayResultFailure {
6108
+ readonly type: 'failure';
6109
+ readonly placeholder?: string;
6110
+ }
6111
+ interface PaymentMethodDataAuthorizeApplepayResultSuccess {
6112
+ readonly type: 'success';
6037
6113
  readonly token: string;
6038
6114
  }
6039
6115
  interface PaymentMethodDataAuthorizeCard {
@@ -6272,6 +6348,7 @@ declare namespace io.flow.payment.gateway.v0.unions {
6272
6348
  type PaymentCaptureOption = io.flow.payment.gateway.v0.models.PaymentCaptureOptionAutomaticImmediate | io.flow.payment.gateway.v0.models.PaymentCaptureOptionManual;
6273
6349
  type PaymentMethodCard = io.flow.payment.gateway.v0.models.PaymentMethodCardPciDetails | io.flow.payment.gateway.v0.models.PaymentMethodCardToken;
6274
6350
  type PaymentMethodData = io.flow.payment.gateway.v0.models.PaymentMethodDataInitKlarna | io.flow.payment.gateway.v0.models.PaymentMethodDataInitAfterpay | io.flow.payment.gateway.v0.models.PaymentMethodDataInitApplepay | io.flow.payment.gateway.v0.models.PaymentMethodDataInitGooglepay | io.flow.payment.gateway.v0.models.PaymentMethodDataInitPaypal | io.flow.payment.gateway.v0.models.PaymentMethodDataInitIdeal | io.flow.payment.gateway.v0.models.PaymentMethodDataInitSofort | io.flow.payment.gateway.v0.models.PaymentMethodDataInitBancontact | io.flow.payment.gateway.v0.models.PaymentMethodDataValidateApplepay | io.flow.payment.gateway.v0.models.PaymentMethodDataAuthorizeCard | io.flow.payment.gateway.v0.models.PaymentMethodDataAuthorizeGooglepay | io.flow.payment.gateway.v0.models.PaymentMethodDataAuthorizeApplepay | io.flow.payment.gateway.v0.models.PaymentMethodDataAuthorizePaypal | io.flow.payment.gateway.v0.models.PaymentMethodDataAuthorizeKlarna | io.flow.payment.gateway.v0.models.PaymentMethodDataSelectedPaymentOption | io.flow.payment.gateway.v0.models.PaymentMethodDataCompleteAuthorizationCard;
6351
+ type PaymentMethodDataAuthorizeApplepayResult = io.flow.payment.gateway.v0.models.PaymentMethodDataAuthorizeApplepayResultSuccess | io.flow.payment.gateway.v0.models.PaymentMethodDataAuthorizeApplepayResultFailure;
6275
6352
  type PaymentMethodDataAuthorizeKlarnaResult = io.flow.payment.gateway.v0.models.PaymentMethodDataAuthorizeKlarnaResultSuccess | io.flow.payment.gateway.v0.models.PaymentMethodDataAuthorizeKlarnaResultFailure;
6276
6353
  type PaymentMethodDataOptionLogo = io.flow.payment.gateway.v0.models.PaymentMethodDataOptionLogoSvg;
6277
6354
  type PaymentMethodSummary = io.flow.payment.gateway.v0.models.PaymentMethodSummaryCard | io.flow.payment.gateway.v0.models.PaymentMethodSummaryKlarna | io.flow.payment.gateway.v0.models.PaymentMethodSummaryAfterpay | io.flow.payment.gateway.v0.models.PaymentMethodSummaryApplepay | io.flow.payment.gateway.v0.models.PaymentMethodSummaryGooglepay | io.flow.payment.gateway.v0.models.PaymentMethodSummaryPaypal | io.flow.payment.gateway.v0.models.PaymentMethodSummaryIdeal | io.flow.payment.gateway.v0.models.PaymentMethodSummarySofort | io.flow.payment.gateway.v0.models.PaymentMethodSummaryBancontact;
@@ -8665,7 +8742,7 @@ declare namespace io.flow.billing.v0.enums {
8665
8742
  type AttachmentType = 'csv';
8666
8743
  type FeeDeductionType = 'duty_guarantee' | 'mor' | 'fraud' | 'fx' | 'processing' | 'rate_lock' | 'transfer';
8667
8744
  type PayoutStatusCode = 'scheduled' | 'sent' | 'cancelled' | 'failed' | 'succeeded';
8668
- type TransactionSource = 'capture' | 'refund' | 'dispute' | 'adjustment' | 'shipping_label' | 'shipping_label_service' | 'shipping_label_revenue_share' | 'platform_fee' | 'tax' | 'duties' | 'other_adjustment' | 'tax_adjustment' | 'channel' | 'channel_billed' | 'order_service' | 'virtual_card_capture' | 'virtual_card_refund';
8745
+ type TransactionSource = 'capture' | 'refund' | 'dispute' | 'adjustment' | 'reversal' | 'shipping_label' | 'shipping_label_service' | 'shipping_label_revenue_share' | 'platform_fee' | 'tax' | 'duty' | 'other_adjustment' | 'tax_adjustment' | 'channel' | 'channel_billed' | 'order_service' | 'virtual_card_capture' | 'virtual_card_refund';
8669
8746
  type WithholdingDeductionType = 'tax' | 'duty' | 'freight' | 'insurance';
8670
8747
  }
8671
8748
  declare namespace io.flow.billing.v0.models {
@@ -10159,6 +10236,7 @@ declare namespace io.flow.internal.v0.enums {
10159
10236
  type AccountSettingLiabilitiesMethod = 'withholding' | 'transaction';
10160
10237
  type AccountType = 'channel' | 'organization';
10161
10238
  type AddressConfigurationSettingProvinceCode = 'iso_3166_2' | 'name';
10239
+ type AdjustmentTransactionType = 'adjustment' | 'reversal';
10162
10240
  type AdyenIntegrationType = 'hosted_payment_page' | 'checkout_payments_api' | 'classic_authorise_api';
10163
10241
  type AnyDangerousGoods = 'yes' | 'no' | 'i_dont_know';
10164
10242
  type ApiCallReferenceId = 'duty_rates_data_event' | 'integration_test' | 'unit_test';
@@ -10167,17 +10245,17 @@ declare namespace io.flow.internal.v0.enums {
10167
10245
  type BillingStatementBatchFileKey = 'archive' | 'summary';
10168
10246
  type BillingStatementReviewStatus = 'approved' | 'pending';
10169
10247
  type BillingTransactionStatus = 'pending' | 'pending_proof' | 'posted';
10170
- type BillingTransactionType = 'manual' | 'subscription' | 'invoice' | 'transfer' | 'adjustment' | 'capture' | 'refund' | 'virtual_card_capture' | 'virtual_card_refund' | 'tax_remittance' | 'fully_subsidized_order' | 'credit_payment' | 'dispute' | 'channel' | 'label' | 'order' | 'channel_billed' | 'tax' | 'duty';
10248
+ type BillingTransactionType = 'manual' | 'subscription' | 'invoice' | 'transfer' | 'adjustment' | 'reversal' | 'capture' | 'refund' | 'virtual_card_capture' | 'virtual_card_refund' | 'tax_remittance' | 'fully_subsidized_order' | 'credit_payment' | 'dispute' | 'channel' | 'label' | 'order' | 'channel_billed' | 'tax' | 'duty';
10171
10249
  type BlazeCheckoutEvent = 'begin_checkout' | 'select_promotion' | 'add_shipping_info' | 'add_payment_info' | 'purchase';
10172
10250
  type BlazeCheckoutStep = 'customer_info' | 'delivery' | 'payment';
10173
10251
  type BrowserBundleErrorCode = 'generic_error' | 'country_invalid';
10174
10252
  type CalculatorEngine = 'flow_rate_and_rule' | 'dtce' | 'dtce_two_calls' | 'dtce_with_deminimis' | 'dtce_merged_with_tax';
10175
10253
  type CarrierLabelGenerationMethod = 'direct' | 'easypost';
10176
10254
  type CatalogImportType = 'catalog_items' | 'item_form_overlays' | 'item_prices' | 'price_book_items_import' | 'price_book_items_query_import';
10177
- type ChannelBilledTransactionType = 'adjustment' | 'channel_initiated';
10255
+ type ChannelBilledTransactionType = 'adjustment' | 'reversal' | 'channel_initiated';
10178
10256
  type ChannelOrderAcceptanceRejectionReason = 'unsupported_origin_country' | 'unsupported_destination_country' | 'domestic_order' | 'order_contains_gift_card' | 'order_contains_restricted_goods' | 'missing_order_information' | 'unsupported_payment_information';
10179
10257
  type ChannelOrderAcceptanceStatus = 'accepted' | 'rejected' | 'review';
10180
- type ChannelTransactionType = 'adjustment' | 'processing';
10258
+ type ChannelTransactionType = 'adjustment' | 'reversal' | 'processing';
10181
10259
  type ChargebackPaymentStatus = 'captured' | 'refunded';
10182
10260
  type ChargebackProcessStatus = 'inquiry' | 'open' | 'closed';
10183
10261
  type CheckoutAddAuthorizationErrorCode = 'checkout_not_found' | 'authorization_not_found';
@@ -10278,10 +10356,10 @@ declare namespace io.flow.internal.v0.enums {
10278
10356
  type DutyRateUnitOfMeasure = 'kg' | 'sq m' | 'item' | 'pair';
10279
10357
  type DutySelectionRule = 'lookup_by_tariff_code' | 'lookup_by_hs6_code' | 'fallback_for_jurisdiction' | 'domestic_sale' | 'intra_community_sale' | 'reimport' | 'override' | 'preferential_rate';
10280
10358
  type DutySimpleExpressionType = 'free' | 'percent' | 'per_uom' | 'flat';
10281
- type DutyTransactionType = 'adjustment' | 'duty';
10359
+ type DutyTransactionType = 'adjustment' | 'reversal' | 'duty';
10282
10360
  type EmptyAttribute = 'irrelevant';
10283
10361
  type ErpFileType = 'vendor';
10284
- type EventType = 'adyen_authorization_deleted' | 'adyen_authorization_upserted' | 'adyen_cancel_deleted' | 'adyen_cancel_upserted' | 'adyen_capture_deleted' | 'adyen_capture_upserted' | 'adyen_refund_deleted' | 'adyen_refund_upserted' | 'account_upserted' | 'account_upserted_v2' | 'account_deleted_v2' | 'account_contact_upserted' | 'account_contact_deleted' | 'billing_statement_upserted' | 'billing_statement_deleted' | 'tax_remittance_transaction_upserted' | 'tax_remittance_transaction_deleted' | 'channel_account_upserted_v2' | 'channel_account_deleted' | 'organization_account_upserted_v2' | 'organization_account_deleted' | 'account_transactions_export_request' | 'account_orders_export_request' | 'main_transaction_upserted' | 'main_transaction_deleted' | 'main_transaction_upserted_v2' | 'main_transaction_deleted_v2' | 'transfer_transaction_upserted' | 'transfer_transaction_deleted' | 'transfer_transaction_upserted_v2' | 'transfer_transaction_deleted_v2' | 'processing_transaction_upserted' | 'processing_transaction_deleted' | 'bank_payment_upserted' | 'bank_payment_deleted' | 'bank_payment_upserted_v2' | 'bank_payment_deleted_v2' | 'channel_transaction_upserted' | 'channel_transaction_deleted' | 'order_transaction_upserted' | 'order_transaction_deleted' | 'label_transaction_upserted' | 'label_transaction_deleted' | 'channel_billed_transaction_upserted' | 'channel_billed_transaction_deleted' | 'tax_transaction_upserted' | 'tax_transaction_deleted' | 'duty_transaction_upserted' | 'duty_transaction_deleted' | 'calculator_organization_settings_upserted' | 'calculator_organization_settings_deleted' | 'carrier_account_upserted_v2' | 'carrier_account_deleted' | 'catalog_import_request' | 'exclusion_rule_upserted' | 'exclusion_rule_deleted' | 'exclusion_rule_export_request' | 'catalog_item_region_availabilities_published' | 'return_policy_upserted' | 'return_policy_deleted' | 'return_policy_item_result_upserted' | 'return_policy_item_result_deleted' | 'channel_order_acceptance_upserted' | 'channel_order_acceptance_deleted' | 'checkout_configuration_upserted' | 'checkout_configuration_deleted' | 'localized_content_upserted' | 'localization_upserted' | 'internal_channel_rate_deleted' | 'internal_channel_rate_upserted' | 'rate_deleted' | 'rate_upserted' | 'spot_rate_deleted' | 'spot_rate_upserted' | 'usd_spot_rate_deleted' | 'usd_spot_rate_upserted' | 'rate_deleted_v2' | 'rate_upserted_v2' | 'organization_currency_setting_upserted' | 'organization_currency_setting_deleted' | 'channel_currency_setting_upserted' | 'channel_currency_setting_deleted' | 'customer_purge_upserted' | 'customs_description_import' | 'customs_description_tariffs_import' | 'item_dimension_estimate_upserted_v2' | 'item_dimension_estimate_deleted_v2' | 'dispute_upserted' | 'dispute_deleted' | 'duty_rates_published_v2' | 'duty_rate_request' | 'duty_rate_bulk_request' | 'duty_raw_upserted' | 'duty_raw_bulk_upserted' | 'duty_rate_upserted' | 'duty_rate_response' | 'duty_rate_bulk_response' | 'item_sales_margin_deleted' | 'item_sales_margin_upserted' | 'order_attribute_deleted' | 'order_attribute_upserted' | 'experience_export_request' | 'experience_import_request' | 'submitted_order_upserted' | 'levy_rate_summary_upserted' | 'experiment_upserted' | 'experiment_deleted' | 'experiment_results_upserted' | 'experiment_results_deleted' | 'daily_experiment_results_upserted' | 'daily_experiment_results_deleted' | 'experiment_milestone_upserted' | 'experiment_milestone_deleted' | 'export_completed' | 'export_failed' | 'feature_upserted' | 'feature_deleted' | 'organization_boolean_value_upserted' | 'organization_boolean_value_deleted' | 'account_settings_upserted' | 'account_settings_deleted' | 'account_processing_rates_upserted' | 'account_processing_rates_deleted' | 'billing_organization_processing_rates_upserted' | 'billing_organization_processing_rates_deleted' | 'billing_organization_settings_upserted' | 'billing_organization_settings_deleted' | 'billing_statement_batch_upserted' | 'billing_statement_batch_deleted' | 'billing_statement_batch_statement_upserted' | 'billing_statement_batch_statement_deleted' | 'platform_fee_change_upserted' | 'platform_fee_change_deleted' | 'fraud_review_upserted' | 'fraud_review_deleted' | 'fraud_pending_review_upserted' | 'fraud_pending_review_deleted' | 'fraud_review_decision_upserted' | 'fraud_review_decision_deleted' | 'fraud_provider_configuration_upserted' | 'fraud_provider_configuration_deleted' | 'ftp_file_upserted' | 'ftp_file_deleted' | 'ftp_file_to_process_uploaded' | 'pregenerated_request_event' | 'all_items_export' | 'harmonized_items_hs6_export' | 'unharmonized_items_export' | 'dutied_items_export' | 'tariff_codes_export' | 'harmonization_phrase_suggestion_request_import' | 'harmonization_codes_import' | 'item_classification_created' | 'harmonize_fully_request_v2' | 'hybris_catalog_items_import_request' | 'import_completed' | 'import_failed' | 'time_to_classify_upserted' | 'time_to_classify_deleted' | 'time_to_classify_aggregated_upserted' | 'time_to_classify_aggregated_deleted' | 'rate_source_summary_upserted' | 'rate_source_summary_deleted' | 'rate_freshness_summary_upserted' | 'rate_freshness_summary_deleted' | 'item_harmonization_upserted' | 'item_harmonization_deleted' | 'harmonization_item_classification_upserted' | 'harmonization_item_classification_deleted' | 'issuer_upserted' | 'issuer_deleted' | 'item_form_import_request' | 'label_tracking_summary_upserted' | 'label_tracking_summary_deleted' | 'localized_item_upserted_v2' | 'localized_item_deleted' | 'localized_item_deleted_v2' | 'localized_item_snapshot' | 'localized_price_book_item_upserted' | 'localized_price_book_item_deleted' | 'feed_upserted' | 'feed_deleted' | 'feeds_export' | 'localized_item_prices_export_request' | 'optin_prompt_upserted' | 'optin_prompt_deleted' | 'order_fulfillment_deleted' | 'order_fulfillment_upserted' | 'order_placed' | 'ready_to_fulfill' | 'fulfillment_cancel' | 'order_shipped' | 'items_shipped' | 'organization_restriction_approval_upserted' | 'organization_restriction_approval_deleted' | 'organization_restriction_snapshot_upserted' | 'organization_restriction_snapshot_deleted' | 'organization_restriction_status_upserted' | 'organization_restriction_status_deleted' | 'internal_authorization_upserted' | 'internal_authorization_deleted' | 'afterpay_authorization_upserted' | 'afterpay_authorization_deleted' | 'afterpay_capture_upserted' | 'afterpay_capture_deleted' | 'afterpay_refund_upserted' | 'afterpay_refund_deleted' | 'adyen_merchant_account_upserted' | 'adyen_merchant_account_deleted' | 'chargeback_upserted' | 'chargeback_deleted' | 'payment_processor_account_upserted' | 'payment_processor_account_deleted' | 'payment_processor_merchant_upserted' | 'payment_processor_merchant_deleted' | 'virtual_card_provider_upserted' | 'virtual_card_provider_deleted' | 'authorization_bundle_upserted' | 'authorization_bundle_deleted' | 'organization_payment_setting_upserted' | 'organization_payment_setting_deleted' | 'paypal_payment_deleted' | 'paypal_payment_upserted' | 'paypal_execution_deleted' | 'paypal_execution_upserted' | 'paypal_refund_deleted' | 'paypal_refund_upserted' | 'pricing_indicator' | 'order_rates_published_v3' | 'ratecard_dimension_estimate_upserted' | 'ratecard_dimension_estimate_deleted' | 'ratecard_lanes_import_request' | 'ratecard_standard_configuration_upserted' | 'ratecard_standard_configuration_deleted' | 'ratecard_service_fee_upserted' | 'ratecard_service_fee_deleted' | 'ratecard_lane_aggregate_upserted' | 'ratecard_lane_aggregate_deleted' | 'shopify_shop_upserted' | 'shopify_shop_deleted' | 'shopify_experience_short_id_upserted' | 'shopify_experience_short_id_deleted' | 'shopify_markets_order_upserted' | 'shopify_markets_order_deleted' | 'shopify_monitoring_order_monitor_event_upserted' | 'shopify_monitoring_order_monitor_event_deleted' | 'stripe_authorization_deleted' | 'stripe_authorization_upserted' | 'stripe_reversal_deleted' | 'stripe_reversal_upserted' | 'stripe_capture_deleted' | 'stripe_capture_upserted' | 'stripe_refund_deleted' | 'stripe_refund_upserted' | 'svb_virtual_card_clearing_upserted' | 'svb_virtual_card_clearing_deleted' | 'liability_remittance_plan_upserted' | 'liability_remittance_plan_deleted' | 'tracking_label_event_upserted_v2' | 'tracking_label_event_deleted_v2' | 'tracking_label_upserted' | 'tracking_label_deleted' | 'tracking_upserted' | 'tracking_deleted' | 'tracking_request_upserted' | 'tracking_response_upserted' | 'user_upserted_v2' | 'user_deleted_v2';
10362
+ type EventType = 'adyen_authorization_deleted' | 'adyen_authorization_upserted' | 'adyen_cancel_deleted' | 'adyen_cancel_upserted' | 'adyen_capture_deleted' | 'adyen_capture_upserted' | 'adyen_refund_deleted' | 'adyen_refund_upserted' | 'account_upserted' | 'account_upserted_v2' | 'account_deleted_v2' | 'account_contact_upserted' | 'account_contact_deleted' | 'billing_statement_upserted' | 'billing_statement_deleted' | 'tax_remittance_transaction_upserted' | 'tax_remittance_transaction_deleted' | 'channel_account_upserted_v2' | 'channel_account_deleted' | 'organization_account_upserted_v2' | 'organization_account_deleted' | 'account_transactions_export_request' | 'account_orders_export_request' | 'main_transaction_upserted' | 'main_transaction_deleted' | 'main_transaction_upserted_v2' | 'main_transaction_deleted_v2' | 'transfer_transaction_upserted' | 'transfer_transaction_deleted' | 'transfer_transaction_upserted_v2' | 'transfer_transaction_deleted_v2' | 'processing_transaction_upserted' | 'processing_transaction_deleted' | 'bank_payment_upserted' | 'bank_payment_deleted' | 'bank_payment_upserted_v2' | 'bank_payment_deleted_v2' | 'channel_transaction_upserted' | 'channel_transaction_deleted' | 'order_transaction_upserted' | 'order_transaction_deleted' | 'label_transaction_upserted' | 'label_transaction_deleted' | 'channel_billed_transaction_upserted' | 'channel_billed_transaction_deleted' | 'tax_transaction_upserted' | 'tax_transaction_deleted' | 'duty_transaction_upserted' | 'duty_transaction_deleted' | 'calculator_organization_settings_upserted' | 'calculator_organization_settings_deleted' | 'carrier_account_upserted_v2' | 'carrier_account_deleted' | 'catalog_import_request' | 'exclusion_rule_upserted' | 'exclusion_rule_deleted' | 'exclusion_rule_export_request' | 'catalog_item_region_availabilities_published' | 'return_policy_upserted' | 'return_policy_deleted' | 'return_policy_item_result_upserted' | 'return_policy_item_result_deleted' | 'channel_order_acceptance_upserted' | 'channel_order_acceptance_deleted' | 'checkout_configuration_upserted' | 'checkout_configuration_deleted' | 'localized_content_upserted' | 'localization_upserted' | 'internal_channel_rate_deleted' | 'internal_channel_rate_upserted' | 'rate_deleted' | 'rate_upserted' | 'spot_rate_deleted' | 'spot_rate_upserted' | 'usd_spot_rate_deleted' | 'usd_spot_rate_upserted' | 'rate_deleted_v2' | 'rate_upserted_v2' | 'organization_currency_setting_upserted' | 'organization_currency_setting_deleted' | 'channel_currency_setting_upserted' | 'channel_currency_setting_deleted' | 'customer_purge_upserted' | 'customs_description_import' | 'customs_description_tariffs_import' | 'item_dimension_estimate_upserted_v2' | 'item_dimension_estimate_deleted_v2' | 'dispute_upserted' | 'dispute_deleted' | 'duty_rates_published_v2' | 'duty_rate_request' | 'duty_rate_bulk_request' | 'duty_raw_upserted' | 'duty_raw_bulk_upserted' | 'duty_rate_upserted' | 'duty_rate_response' | 'duty_rate_bulk_response' | 'item_sales_margin_deleted' | 'item_sales_margin_upserted' | 'order_attribute_deleted' | 'order_attribute_upserted' | 'experience_export_request' | 'experience_import_request' | 'submitted_order_upserted' | 'levy_rate_summary_upserted' | 'experiment_upserted' | 'experiment_deleted' | 'experiment_results_upserted' | 'experiment_results_deleted' | 'daily_experiment_results_upserted' | 'daily_experiment_results_deleted' | 'experiment_milestone_upserted' | 'experiment_milestone_deleted' | 'export_completed' | 'export_failed' | 'feature_upserted' | 'feature_deleted' | 'organization_boolean_value_upserted' | 'organization_boolean_value_deleted' | 'account_settings_upserted' | 'account_settings_deleted' | 'account_processing_rates_upserted' | 'account_processing_rates_deleted' | 'billing_organization_processing_rates_upserted' | 'billing_organization_processing_rates_deleted' | 'billing_organization_settings_upserted' | 'billing_organization_settings_deleted' | 'billing_statement_batch_upserted' | 'billing_statement_batch_deleted' | 'billing_statement_batch_statement_upserted' | 'billing_statement_batch_statement_deleted' | 'platform_fee_change_upserted' | 'platform_fee_change_deleted' | 'fraud_review_upserted' | 'fraud_review_deleted' | 'fraud_pending_review_upserted' | 'fraud_pending_review_deleted' | 'fraud_review_decision_upserted' | 'fraud_review_decision_deleted' | 'fraud_provider_configuration_upserted' | 'fraud_provider_configuration_deleted' | 'ftp_file_upserted' | 'ftp_file_deleted' | 'ftp_file_to_process_uploaded' | 'pregenerated_request_event' | 'all_items_export' | 'harmonized_items_hs6_export' | 'unharmonized_items_export' | 'dutied_items_export' | 'tariff_codes_export' | 'harmonization_phrase_suggestion_request_import' | 'harmonization_codes_import' | 'item_classification_created' | 'harmonize_fully_request_v2' | 'hybris_catalog_items_import_request' | 'import_completed' | 'import_failed' | 'time_to_classify_upserted' | 'time_to_classify_deleted' | 'time_to_classify_aggregated_upserted' | 'time_to_classify_aggregated_deleted' | 'rate_source_summary_upserted' | 'rate_source_summary_deleted' | 'rate_freshness_summary_upserted' | 'rate_freshness_summary_deleted' | 'item_harmonization_upserted' | 'item_harmonization_deleted' | 'harmonization_item_classification_upserted' | 'harmonization_item_classification_deleted' | 'issuer_upserted' | 'issuer_deleted' | 'item_form_import_request' | 'label_tracking_summary_upserted' | 'label_tracking_summary_deleted' | 'localized_item_upserted_v2' | 'localized_item_deleted' | 'localized_item_deleted_v2' | 'localized_item_snapshot' | 'localized_price_book_item_upserted' | 'localized_price_book_item_deleted' | 'feed_upserted' | 'feed_deleted' | 'feeds_export' | 'localized_item_prices_export_request' | 'optin_prompt_upserted' | 'optin_prompt_deleted' | 'order_fulfillment_deleted' | 'order_fulfillment_upserted' | 'order_placed' | 'ready_to_fulfill' | 'fulfillment_cancel' | 'order_shipped' | 'items_shipped' | 'organization_restriction_approval_upserted' | 'organization_restriction_approval_deleted' | 'organization_restriction_snapshot_upserted' | 'organization_restriction_snapshot_deleted' | 'organization_restriction_status_upserted' | 'organization_restriction_status_deleted' | 'internal_authorization_upserted' | 'internal_authorization_deleted' | 'afterpay_authorization_upserted' | 'afterpay_authorization_deleted' | 'afterpay_capture_upserted' | 'afterpay_capture_deleted' | 'afterpay_refund_upserted' | 'afterpay_refund_deleted' | 'adyen_merchant_account_upserted' | 'adyen_merchant_account_deleted' | 'chargeback_upserted' | 'chargeback_deleted' | 'payment_processor_account_upserted' | 'payment_processor_account_deleted' | 'payment_processor_merchant_upserted' | 'payment_processor_merchant_deleted' | 'virtual_card_provider_upserted' | 'virtual_card_provider_deleted' | 'authorization_bundle_upserted' | 'authorization_bundle_deleted' | 'organization_payment_setting_upserted' | 'organization_payment_setting_deleted' | 'paypal_payment_deleted' | 'paypal_payment_upserted' | 'paypal_execution_deleted' | 'paypal_execution_upserted' | 'paypal_refund_deleted' | 'paypal_refund_upserted' | 'pricing_indicator' | 'order_rates_published_v3' | 'ratecard_dimension_estimate_upserted' | 'ratecard_dimension_estimate_deleted' | 'ratecard_lanes_import_request' | 'ratecard_standard_configuration_upserted' | 'ratecard_standard_configuration_deleted' | 'ratecard_service_fee_upserted' | 'ratecard_service_fee_deleted' | 'ratecard_lane_aggregate_upserted' | 'ratecard_lane_aggregate_deleted' | 'shopify_shop_upserted' | 'shopify_shop_deleted' | 'shopify_experience_short_id_upserted' | 'shopify_experience_short_id_deleted' | 'shopify_markets_order_upserted' | 'shopify_markets_order_deleted' | 'shopify_markets_shop_upserted' | 'shopify_markets_shop_deleted' | 'shopify_monitoring_order_monitor_event_upserted' | 'shopify_monitoring_order_monitor_event_deleted' | 'stripe_authorization_deleted' | 'stripe_authorization_upserted' | 'stripe_reversal_deleted' | 'stripe_reversal_upserted' | 'stripe_capture_deleted' | 'stripe_capture_upserted' | 'stripe_refund_deleted' | 'stripe_refund_upserted' | 'svb_virtual_card_clearing_upserted' | 'svb_virtual_card_clearing_deleted' | 'liability_remittance_plan_upserted' | 'liability_remittance_plan_deleted' | 'tracking_label_event_upserted_v2' | 'tracking_label_event_deleted_v2' | 'tracking_label_upserted' | 'tracking_label_deleted' | 'tracking_upserted' | 'tracking_deleted' | 'tracking_request_upserted' | 'tracking_response_upserted' | 'user_upserted_v2' | 'user_deleted_v2';
10285
10363
  type ExperienceImportType = 'experience_with_settings';
10286
10364
  type ExperienceOrderAction = 'submit' | 'refund_gift_cards';
10287
10365
  type ExperienceOrderActionTrigger = 'zero_balance' | 'unsubmitted_order';
@@ -10313,7 +10391,7 @@ declare namespace io.flow.internal.v0.enums {
10313
10391
  type LabelBillingStrategy = 'quote' | 'carrier';
10314
10392
  type LabelCancellationErrorCode = 'already_used' | 'carrier_unsupported';
10315
10393
  type LabelCreationStatus = 'success' | 'error' | 'pending' | 'cancelled';
10316
- type LabelTransactionType = 'adjustment' | 'billable_label' | 'fee' | 'revenue_share';
10394
+ type LabelTransactionType = 'adjustment' | 'reversal' | 'billable_label' | 'fee' | 'revenue_share';
10317
10395
  type LiabilityType = 'full_value_tax' | 'low_value_goods_tax' | 'high_value_goods_tax' | 'duties';
10318
10396
  type MainTransactionStatus = 'scheduled' | 'pending_proof';
10319
10397
  type ManualReviewRuleStatus = 'active' | 'archived';
@@ -10339,7 +10417,7 @@ declare namespace io.flow.internal.v0.enums {
10339
10417
  type OrderAttributeIntent = 'discount_code';
10340
10418
  type OrderChargeTrigger = 'first_shipment' | 'last_shipment' | 'shipment_exhausted';
10341
10419
  type OrderLifecycleEvent = 'order_placed' | 'ready_to_fulfill';
10342
- type OrderTransactionType = 'adjustment' | 'order_service';
10420
+ type OrderTransactionType = 'adjustment' | 'reversal' | 'order_service';
10343
10421
  type OrganizationCapability = 'organization' | 'flow' | 'dynamic';
10344
10422
  type OrganizationPaymentStatus = 'active' | 'archived';
10345
10423
  type OrganizationRestrictionApprovalStatus = 'ready' | 'not-ready';
@@ -10355,7 +10433,7 @@ declare namespace io.flow.internal.v0.enums {
10355
10433
  type PregenDataKeyField = 'shipping_country' | 'shipping_province' | 'invoicing_country' | 'delivery_option_id';
10356
10434
  type PriceSelector = 'minimum' | 'maximum';
10357
10435
  type PricingIndicatorStatus = 'complete' | 'in_progress';
10358
- type ProcessingTransactionType = 'adjustment' | 'capture' | 'refund' | 'fully_subsidized_order' | 'credit_payment';
10436
+ type ProcessingTransactionType = 'adjustment' | 'reversal' | 'capture' | 'refund' | 'fully_subsidized_order' | 'credit_payment';
10359
10437
  type Processor = 'adyen' | 'afterpay' | 'bitpay' | 'stripe' | 'paypal' | 'flow_sandbox' | 'fiserv' | 'crypto';
10360
10438
  type ProcessorEntityStatus = 'active' | 'draft' | 'archived';
10361
10439
  type PromptAction = 'prompt_displayed' | 'consent_granted' | 'consent_denied';
@@ -10404,7 +10482,7 @@ declare namespace io.flow.internal.v0.enums {
10404
10482
  type TaskProcessorKey = 'billing_account' | 'order_messenger' | 'harmonization' | 'fraud_review' | 'carrier_account' | 'payment' | 'label_generation_settings' | 'ratecard';
10405
10483
  type TaxCalculationErrorCode = 'generic_error' | 'outside_of_jurisdiction';
10406
10484
  type TaxParty = 'consumer' | 'organization' | 'flow' | 'carrier';
10407
- type TaxTransactionType = 'adjustment' | 'tax';
10485
+ type TaxTransactionType = 'adjustment' | 'reversal' | 'tax';
10408
10486
  type TimeseriesType = 'daily' | 'weekly' | 'monthly' | 'yearly';
10409
10487
  type TrackingIntegrationType = 'api' | 'bulk' | 'aftership';
10410
10488
  type TransactionPostingMethod = 'time' | 'proof';
@@ -11300,6 +11378,7 @@ declare namespace io.flow.internal.v0.models {
11300
11378
  readonly adjustment: io.flow.common.v0.models.Price;
11301
11379
  readonly capture: io.flow.common.v0.models.Price;
11302
11380
  readonly refund: io.flow.common.v0.models.Price;
11381
+ readonly reversal: io.flow.common.v0.models.Price;
11303
11382
  readonly credit_payment: io.flow.common.v0.models.Price;
11304
11383
  readonly fully_subsidized_order: io.flow.common.v0.models.Price;
11305
11384
  readonly virtual_card_capture: io.flow.common.v0.models.Price;
@@ -11880,6 +11959,7 @@ declare namespace io.flow.internal.v0.models {
11880
11959
  interface ChannelTransaction {
11881
11960
  readonly discriminator: 'channel_transaction';
11882
11961
  readonly transaction: io.flow.internal.v0.models.TransactionReference;
11962
+ readonly fees: io.flow.internal.v0.models.Fee[];
11883
11963
  readonly id: string;
11884
11964
  readonly type: io.flow.internal.v0.enums.BillingTransactionType;
11885
11965
  readonly status: io.flow.internal.v0.enums.BillingTransactionStatus;
@@ -16116,6 +16196,10 @@ declare namespace io.flow.internal.v0.models {
16116
16196
  readonly label: io.flow.internal.v0.models.ContentLabel;
16117
16197
  readonly url: string;
16118
16198
  }
16199
+ interface Hs6 {
16200
+ readonly code: string;
16201
+ readonly description: string;
16202
+ }
16119
16203
  interface Hs6Metadata {
16120
16204
  readonly description: string;
16121
16205
  }
@@ -16617,6 +16701,7 @@ declare namespace io.flow.internal.v0.models {
16617
16701
  readonly commercial_invoice_only_query?: string;
16618
16702
  }
16619
16703
  interface LabelSummary {
16704
+ readonly id: string;
16620
16705
  readonly commercial_invoice?: string;
16621
16706
  readonly pdf?: string;
16622
16707
  readonly png?: string;
@@ -17331,7 +17416,6 @@ declare namespace io.flow.internal.v0.models {
17331
17416
  readonly legal_name: string;
17332
17417
  readonly shop_name: string;
17333
17418
  readonly organization_id: string;
17334
- readonly onboarding_state: io.flow.organization.onboarding.state.v0.models.OrganizationOnboardingState;
17335
17419
  readonly onboarding_current_state: io.flow.organization.onboarding.state.v0.unions.OnboardingState;
17336
17420
  readonly gmv: number;
17337
17421
  }
@@ -18380,11 +18464,6 @@ declare namespace io.flow.internal.v0.models {
18380
18464
  readonly discriminator: 'fulfilled';
18381
18465
  readonly label_tracking_summary_id: string;
18382
18466
  }
18383
- interface ProofOfPostingFullyRefunded {
18384
- readonly discriminator: 'fully_refunded';
18385
- readonly capture_id: string;
18386
- readonly refund_ids: string[];
18387
- }
18388
18467
  interface ProofOfPostingOrderCancellation {
18389
18468
  readonly discriminator: 'order_cancellation';
18390
18469
  readonly order_cancellation_id: string;
@@ -19150,6 +19229,13 @@ declare namespace io.flow.internal.v0.models {
19150
19229
  readonly api_password_masked?: string;
19151
19230
  readonly access_token_masked?: string;
19152
19231
  }
19232
+ interface ShopifyMarketsShopDeleted {
19233
+ readonly discriminator: 'shopify_markets_shop_deleted';
19234
+ readonly event_id: string;
19235
+ readonly timestamp: string;
19236
+ readonly organization: string;
19237
+ readonly id: string;
19238
+ }
19153
19239
  interface ShopifyMarketsShopForm {
19154
19240
  readonly shop: string;
19155
19241
  readonly domain: string;
@@ -19163,6 +19249,13 @@ declare namespace io.flow.internal.v0.models {
19163
19249
  readonly organization: io.flow.common.v0.models.OrganizationSummary;
19164
19250
  readonly channel: io.flow.common.v0.models.ChannelReference;
19165
19251
  }
19252
+ interface ShopifyMarketsShopUpserted {
19253
+ readonly discriminator: 'shopify_markets_shop_upserted';
19254
+ readonly event_id: string;
19255
+ readonly timestamp: string;
19256
+ readonly organization: string;
19257
+ readonly shopify_markets_shop: io.flow.internal.v0.models.ShopifyMarketsShop;
19258
+ }
19166
19259
  interface ShopifyMarketsSubsidiaryCompany {
19167
19260
  readonly legal_name?: string;
19168
19261
  readonly incorporation_country?: io.flow.internal.v0.models.ShopifyMarketsIncorporationCountry;
@@ -19199,7 +19292,6 @@ declare namespace io.flow.internal.v0.models {
19199
19292
  readonly organization_reference: io.flow.common.v0.models.OrganizationReference;
19200
19293
  readonly order_number: string;
19201
19294
  readonly monitor: io.flow.internal.v0.unions.ShopifyMonitoringOrderMonitorType;
19202
- readonly created_at: string;
19203
19295
  }
19204
19296
  interface ShopifyMonitoringOrderMonitorEventDeleted {
19205
19297
  readonly discriminator: 'shopify_monitoring_order_monitor_event_deleted';
@@ -19218,13 +19310,8 @@ declare namespace io.flow.internal.v0.models {
19218
19310
  interface ShopifyMonitoringOrderMonitorReview {
19219
19311
  readonly id: string;
19220
19312
  readonly order_monitor: io.flow.internal.v0.models.ShopifyMonitoringOrderMonitor;
19221
- readonly order_details: io.flow.internal.v0.models.ShopifyMonitoringOrderMonitorReviewOrderDetails;
19222
19313
  readonly status: io.flow.internal.v0.enums.ShopifyMonitoringMonitorReviewStatus;
19223
19314
  }
19224
- interface ShopifyMonitoringOrderMonitorReviewOrderDetails {
19225
- readonly organization: string;
19226
- readonly shopify_order: io.flow.shopify.markets.v0.models.ShopifyOrder;
19227
- }
19228
19315
  interface ShopifyMonitoringTrackingNumber {
19229
19316
  readonly number: string;
19230
19317
  }
@@ -20070,8 +20157,8 @@ declare namespace io.flow.internal.v0.models {
20070
20157
  }
20071
20158
  interface TransactionAdjustment {
20072
20159
  readonly id: string;
20073
- readonly original_transaction: io.flow.internal.v0.models.ProcessingTransactionReference;
20074
- readonly adjustment_transaction: io.flow.internal.v0.models.ProcessingTransactionReference;
20160
+ readonly original_transaction: io.flow.internal.v0.models.TransactionReference;
20161
+ readonly adjustment_transaction?: io.flow.internal.v0.models.TransactionReference;
20075
20162
  readonly description: string;
20076
20163
  readonly details: io.flow.internal.v0.unions.AdjustmentDetails;
20077
20164
  }
@@ -20079,6 +20166,7 @@ declare namespace io.flow.internal.v0.models {
20079
20166
  readonly original_transaction_id: string;
20080
20167
  readonly description: string;
20081
20168
  readonly details: io.flow.internal.v0.unions.AdjustmentDetails;
20169
+ readonly type?: io.flow.internal.v0.enums.AdjustmentTransactionType;
20082
20170
  }
20083
20171
  interface TransactionReference {
20084
20172
  readonly id: string;
@@ -20435,7 +20523,7 @@ declare namespace io.flow.internal.v0.unions {
20435
20523
  type DiscountRequestOfferForm = io.flow.internal.v0.models.DiscountRequestOfferFixedAmountForm;
20436
20524
  type DisputeDetails = io.flow.internal.v0.models.DisputeDetailsAdyen | io.flow.internal.v0.models.DisputeDetailsPaypal;
20437
20525
  type DutyExpression = io.flow.internal.v0.models.DutyCompoundExpression | io.flow.internal.v0.models.DutySimpleExpression;
20438
- type Event = io.flow.internal.v0.models.AdyenAuthorizationDeleted | io.flow.internal.v0.models.AdyenAuthorizationUpserted | io.flow.internal.v0.models.AdyenCancelDeleted | io.flow.internal.v0.models.AdyenCancelUpserted | io.flow.internal.v0.models.AdyenCaptureDeleted | io.flow.internal.v0.models.AdyenCaptureUpserted | io.flow.internal.v0.models.AdyenRefundDeleted | io.flow.internal.v0.models.AdyenRefundUpserted | io.flow.internal.v0.models.AccountUpserted | io.flow.internal.v0.models.AccountUpsertedV2 | io.flow.internal.v0.models.AccountDeletedV2 | io.flow.internal.v0.models.AccountContactUpserted | io.flow.internal.v0.models.AccountContactDeleted | io.flow.internal.v0.models.BillingStatementUpserted | io.flow.internal.v0.models.BillingStatementDeleted | io.flow.internal.v0.models.TaxRemittanceTransactionUpserted | io.flow.internal.v0.models.TaxRemittanceTransactionDeleted | io.flow.internal.v0.models.ChannelAccountUpsertedV2 | io.flow.internal.v0.models.ChannelAccountDeleted | io.flow.internal.v0.models.OrganizationAccountUpsertedV2 | io.flow.internal.v0.models.OrganizationAccountDeleted | io.flow.internal.v0.models.AccountTransactionsExportRequest | io.flow.internal.v0.models.AccountOrdersExportRequest | io.flow.internal.v0.models.MainTransactionUpserted | io.flow.internal.v0.models.MainTransactionDeleted | io.flow.internal.v0.models.MainTransactionUpsertedV2 | io.flow.internal.v0.models.MainTransactionDeletedV2 | io.flow.internal.v0.models.TransferTransactionUpserted | io.flow.internal.v0.models.TransferTransactionDeleted | io.flow.internal.v0.models.TransferTransactionUpsertedV2 | io.flow.internal.v0.models.TransferTransactionDeletedV2 | io.flow.internal.v0.models.ProcessingTransactionUpserted | io.flow.internal.v0.models.ProcessingTransactionDeleted | io.flow.internal.v0.models.BankPaymentUpserted | io.flow.internal.v0.models.BankPaymentDeleted | io.flow.internal.v0.models.BankPaymentUpsertedV2 | io.flow.internal.v0.models.BankPaymentDeletedV2 | io.flow.internal.v0.models.ChannelTransactionUpserted | io.flow.internal.v0.models.ChannelTransactionDeleted | io.flow.internal.v0.models.OrderTransactionUpserted | io.flow.internal.v0.models.OrderTransactionDeleted | io.flow.internal.v0.models.LabelTransactionUpserted | io.flow.internal.v0.models.LabelTransactionDeleted | io.flow.internal.v0.models.ChannelBilledTransactionUpserted | io.flow.internal.v0.models.ChannelBilledTransactionDeleted | io.flow.internal.v0.models.TaxTransactionUpserted | io.flow.internal.v0.models.TaxTransactionDeleted | io.flow.internal.v0.models.DutyTransactionUpserted | io.flow.internal.v0.models.DutyTransactionDeleted | io.flow.internal.v0.models.CalculatorOrganizationSettingsUpserted | io.flow.internal.v0.models.CalculatorOrganizationSettingsDeleted | io.flow.internal.v0.models.CarrierAccountUpsertedV2 | io.flow.internal.v0.models.CarrierAccountDeleted | io.flow.internal.v0.models.CatalogImportRequest | io.flow.internal.v0.models.ExclusionRuleUpserted | io.flow.internal.v0.models.ExclusionRuleDeleted | io.flow.internal.v0.models.ExclusionRuleExportRequest | io.flow.internal.v0.models.CatalogItemRegionAvailabilitiesPublished | io.flow.internal.v0.models.ReturnPolicyUpserted | io.flow.internal.v0.models.ReturnPolicyDeleted | io.flow.internal.v0.models.ReturnPolicyItemResultUpserted | io.flow.internal.v0.models.ReturnPolicyItemResultDeleted | io.flow.internal.v0.models.ChannelOrderAcceptanceUpserted | io.flow.internal.v0.models.ChannelOrderAcceptanceDeleted | io.flow.internal.v0.models.CheckoutConfigurationUpserted | io.flow.internal.v0.models.CheckoutConfigurationDeleted | io.flow.internal.v0.models.LocalizedContentUpserted | io.flow.internal.v0.models.LocalizationUpserted | io.flow.internal.v0.models.InternalChannelRateDeleted | io.flow.internal.v0.models.InternalChannelRateUpserted | io.flow.internal.v0.models.RateDeleted | io.flow.internal.v0.models.RateUpserted | io.flow.internal.v0.models.SpotRateDeleted | io.flow.internal.v0.models.SpotRateUpserted | io.flow.internal.v0.models.UsdSpotRateDeleted | io.flow.internal.v0.models.UsdSpotRateUpserted | io.flow.internal.v0.models.RateDeletedV2 | io.flow.internal.v0.models.RateUpsertedV2 | io.flow.internal.v0.models.OrganizationCurrencySettingUpserted | io.flow.internal.v0.models.OrganizationCurrencySettingDeleted | io.flow.internal.v0.models.ChannelCurrencySettingUpserted | io.flow.internal.v0.models.ChannelCurrencySettingDeleted | io.flow.internal.v0.models.CustomerPurgeUpserted | io.flow.internal.v0.models.CustomsDescriptionImport | io.flow.internal.v0.models.CustomsDescriptionTariffsImport | io.flow.internal.v0.models.ItemDimensionEstimateUpsertedV2 | io.flow.internal.v0.models.ItemDimensionEstimateDeletedV2 | io.flow.internal.v0.models.DisputeUpserted | io.flow.internal.v0.models.DisputeDeleted | io.flow.internal.v0.models.DutyRatesPublishedV2 | io.flow.internal.v0.models.DutyRateRequest | io.flow.internal.v0.models.DutyRateBulkRequest | io.flow.internal.v0.models.DutyRawUpserted | io.flow.internal.v0.models.DutyRawBulkUpserted | io.flow.internal.v0.models.DutyRateUpserted | io.flow.internal.v0.models.DutyRateResponse | io.flow.internal.v0.models.DutyRateBulkResponse | io.flow.internal.v0.models.ItemSalesMarginDeleted | io.flow.internal.v0.models.ItemSalesMarginUpserted | io.flow.internal.v0.models.OrderAttributeDeleted | io.flow.internal.v0.models.OrderAttributeUpserted | io.flow.internal.v0.models.ExperienceExportRequest | io.flow.internal.v0.models.ExperienceImportRequest | io.flow.internal.v0.models.SubmittedOrderUpserted | io.flow.internal.v0.models.LevyRateSummaryUpserted | io.flow.internal.v0.models.ExperimentUpserted | io.flow.internal.v0.models.ExperimentDeleted | io.flow.internal.v0.models.ExperimentResultsUpserted | io.flow.internal.v0.models.ExperimentResultsDeleted | io.flow.internal.v0.models.DailyExperimentResultsUpserted | io.flow.internal.v0.models.DailyExperimentResultsDeleted | io.flow.internal.v0.models.ExperimentMilestoneUpserted | io.flow.internal.v0.models.ExperimentMilestoneDeleted | io.flow.internal.v0.models.ExportCompleted | io.flow.internal.v0.models.ExportFailed | io.flow.internal.v0.models.FeatureUpserted | io.flow.internal.v0.models.FeatureDeleted | io.flow.internal.v0.models.OrganizationBooleanValueUpserted | io.flow.internal.v0.models.OrganizationBooleanValueDeleted | io.flow.internal.v0.models.AccountSettingsUpserted | io.flow.internal.v0.models.AccountSettingsDeleted | io.flow.internal.v0.models.AccountProcessingRatesUpserted | io.flow.internal.v0.models.AccountProcessingRatesDeleted | io.flow.internal.v0.models.BillingOrganizationProcessingRatesUpserted | io.flow.internal.v0.models.BillingOrganizationProcessingRatesDeleted | io.flow.internal.v0.models.BillingOrganizationSettingsUpserted | io.flow.internal.v0.models.BillingOrganizationSettingsDeleted | io.flow.internal.v0.models.BillingStatementBatchUpserted | io.flow.internal.v0.models.BillingStatementBatchDeleted | io.flow.internal.v0.models.BillingStatementBatchStatementUpserted | io.flow.internal.v0.models.BillingStatementBatchStatementDeleted | io.flow.internal.v0.models.PlatformFeeChangeUpserted | io.flow.internal.v0.models.PlatformFeeChangeDeleted | io.flow.internal.v0.models.FraudReviewUpserted | io.flow.internal.v0.models.FraudReviewDeleted | io.flow.internal.v0.models.FraudPendingReviewUpserted | io.flow.internal.v0.models.FraudPendingReviewDeleted | io.flow.internal.v0.models.FraudReviewDecisionUpserted | io.flow.internal.v0.models.FraudReviewDecisionDeleted | io.flow.internal.v0.models.FraudProviderConfigurationUpserted | io.flow.internal.v0.models.FraudProviderConfigurationDeleted | io.flow.internal.v0.models.FtpFileUpserted | io.flow.internal.v0.models.FtpFileDeleted | io.flow.internal.v0.models.FtpFileToProcessUploaded | io.flow.internal.v0.models.PregeneratedRequestEvent | io.flow.internal.v0.models.AllItemsExport | io.flow.internal.v0.models.HarmonizedItemsHs6Export | io.flow.internal.v0.models.UnharmonizedItemsExport | io.flow.internal.v0.models.DutiedItemsExport | io.flow.internal.v0.models.TariffCodesExport | io.flow.internal.v0.models.HarmonizationPhraseSuggestionRequestImport | io.flow.internal.v0.models.HarmonizationCodesImport | io.flow.internal.v0.models.ItemClassificationCreated | io.flow.internal.v0.models.HarmonizeFullyRequestV2 | io.flow.internal.v0.models.HybrisCatalogItemsImportRequest | io.flow.internal.v0.models.ImportCompleted | io.flow.internal.v0.models.ImportFailed | io.flow.internal.v0.models.TimeToClassifyUpserted | io.flow.internal.v0.models.TimeToClassifyDeleted | io.flow.internal.v0.models.TimeToClassifyAggregatedUpserted | io.flow.internal.v0.models.TimeToClassifyAggregatedDeleted | io.flow.internal.v0.models.RateSourceSummaryUpserted | io.flow.internal.v0.models.RateSourceSummaryDeleted | io.flow.internal.v0.models.RateFreshnessSummaryUpserted | io.flow.internal.v0.models.RateFreshnessSummaryDeleted | io.flow.internal.v0.models.ItemHarmonizationUpserted | io.flow.internal.v0.models.ItemHarmonizationDeleted | io.flow.internal.v0.models.HarmonizationItemClassificationUpserted | io.flow.internal.v0.models.HarmonizationItemClassificationDeleted | io.flow.internal.v0.models.IssuerUpserted | io.flow.internal.v0.models.IssuerDeleted | io.flow.internal.v0.models.ItemFormImportRequest | io.flow.internal.v0.models.LabelTrackingSummaryUpserted | io.flow.internal.v0.models.LabelTrackingSummaryDeleted | io.flow.internal.v0.models.LocalizedItemUpsertedV2 | io.flow.internal.v0.models.LocalizedItemDeleted | io.flow.internal.v0.models.LocalizedItemDeletedV2 | io.flow.internal.v0.models.LocalizedItemSnapshot | io.flow.internal.v0.models.LocalizedPriceBookItemUpserted | io.flow.internal.v0.models.LocalizedPriceBookItemDeleted | io.flow.internal.v0.models.FeedUpserted | io.flow.internal.v0.models.FeedDeleted | io.flow.internal.v0.models.FeedsExport | io.flow.internal.v0.models.LocalizedItemPricesExportRequest | io.flow.internal.v0.models.OptinPromptUpserted | io.flow.internal.v0.models.OptinPromptDeleted | io.flow.internal.v0.models.OrderFulfillmentDeleted | io.flow.internal.v0.models.OrderFulfillmentUpserted | io.flow.internal.v0.models.OrderPlaced | io.flow.internal.v0.models.ReadyToFulfill | io.flow.internal.v0.models.FulfillmentCancel | io.flow.internal.v0.models.OrderShipped | io.flow.internal.v0.models.ItemsShipped | io.flow.internal.v0.models.OrganizationRestrictionApprovalUpserted | io.flow.internal.v0.models.OrganizationRestrictionApprovalDeleted | io.flow.internal.v0.models.OrganizationRestrictionSnapshotUpserted | io.flow.internal.v0.models.OrganizationRestrictionSnapshotDeleted | io.flow.internal.v0.models.OrganizationRestrictionStatusUpserted | io.flow.internal.v0.models.OrganizationRestrictionStatusDeleted | io.flow.internal.v0.models.InternalAuthorizationUpserted | io.flow.internal.v0.models.InternalAuthorizationDeleted | io.flow.internal.v0.models.AfterpayAuthorizationUpserted | io.flow.internal.v0.models.AfterpayAuthorizationDeleted | io.flow.internal.v0.models.AfterpayCaptureUpserted | io.flow.internal.v0.models.AfterpayCaptureDeleted | io.flow.internal.v0.models.AfterpayRefundUpserted | io.flow.internal.v0.models.AfterpayRefundDeleted | io.flow.internal.v0.models.AdyenMerchantAccountUpserted | io.flow.internal.v0.models.AdyenMerchantAccountDeleted | io.flow.internal.v0.models.ChargebackUpserted | io.flow.internal.v0.models.ChargebackDeleted | io.flow.internal.v0.models.PaymentProcessorAccountUpserted | io.flow.internal.v0.models.PaymentProcessorAccountDeleted | io.flow.internal.v0.models.PaymentProcessorMerchantUpserted | io.flow.internal.v0.models.PaymentProcessorMerchantDeleted | io.flow.internal.v0.models.VirtualCardProviderUpserted | io.flow.internal.v0.models.VirtualCardProviderDeleted | io.flow.internal.v0.models.AuthorizationBundleUpserted | io.flow.internal.v0.models.AuthorizationBundleDeleted | io.flow.internal.v0.models.OrganizationPaymentSettingUpserted | io.flow.internal.v0.models.OrganizationPaymentSettingDeleted | io.flow.internal.v0.models.PaypalPaymentDeleted | io.flow.internal.v0.models.PaypalPaymentUpserted | io.flow.internal.v0.models.PaypalExecutionDeleted | io.flow.internal.v0.models.PaypalExecutionUpserted | io.flow.internal.v0.models.PaypalRefundDeleted | io.flow.internal.v0.models.PaypalRefundUpserted | io.flow.internal.v0.models.PricingIndicator | io.flow.internal.v0.models.OrderRatesPublishedV3 | io.flow.internal.v0.models.RatecardDimensionEstimateUpserted | io.flow.internal.v0.models.RatecardDimensionEstimateDeleted | io.flow.internal.v0.models.RatecardLanesImportRequest | io.flow.internal.v0.models.RatecardStandardConfigurationUpserted | io.flow.internal.v0.models.RatecardStandardConfigurationDeleted | io.flow.internal.v0.models.RatecardServiceFeeUpserted | io.flow.internal.v0.models.RatecardServiceFeeDeleted | io.flow.internal.v0.models.RatecardLaneAggregateUpserted | io.flow.internal.v0.models.RatecardLaneAggregateDeleted | io.flow.internal.v0.models.ShopifyShopUpserted | io.flow.internal.v0.models.ShopifyShopDeleted | io.flow.internal.v0.models.ShopifyExperienceShortIdUpserted | io.flow.internal.v0.models.ShopifyExperienceShortIdDeleted | io.flow.internal.v0.models.ShopifyMarketsOrderUpserted | io.flow.internal.v0.models.ShopifyMarketsOrderDeleted | io.flow.internal.v0.models.ShopifyMonitoringOrderMonitorEventUpserted | io.flow.internal.v0.models.ShopifyMonitoringOrderMonitorEventDeleted | io.flow.internal.v0.models.StripeAuthorizationDeleted | io.flow.internal.v0.models.StripeAuthorizationUpserted | io.flow.internal.v0.models.StripeReversalDeleted | io.flow.internal.v0.models.StripeReversalUpserted | io.flow.internal.v0.models.StripeCaptureDeleted | io.flow.internal.v0.models.StripeCaptureUpserted | io.flow.internal.v0.models.StripeRefundDeleted | io.flow.internal.v0.models.StripeRefundUpserted | io.flow.internal.v0.models.SvbVirtualCardClearingUpserted | io.flow.internal.v0.models.SvbVirtualCardClearingDeleted | io.flow.internal.v0.models.LiabilityRemittancePlanUpserted | io.flow.internal.v0.models.LiabilityRemittancePlanDeleted | io.flow.internal.v0.models.TrackingLabelEventUpsertedV2 | io.flow.internal.v0.models.TrackingLabelEventDeletedV2 | io.flow.internal.v0.models.TrackingLabelUpserted | io.flow.internal.v0.models.TrackingLabelDeleted | io.flow.internal.v0.models.TrackingUpserted | io.flow.internal.v0.models.TrackingDeleted | io.flow.internal.v0.models.TrackingRequestUpserted | io.flow.internal.v0.models.TrackingResponseUpserted | io.flow.internal.v0.models.UserUpsertedV2 | io.flow.internal.v0.models.UserDeletedV2;
20526
+ type Event = io.flow.internal.v0.models.AdyenAuthorizationDeleted | io.flow.internal.v0.models.AdyenAuthorizationUpserted | io.flow.internal.v0.models.AdyenCancelDeleted | io.flow.internal.v0.models.AdyenCancelUpserted | io.flow.internal.v0.models.AdyenCaptureDeleted | io.flow.internal.v0.models.AdyenCaptureUpserted | io.flow.internal.v0.models.AdyenRefundDeleted | io.flow.internal.v0.models.AdyenRefundUpserted | io.flow.internal.v0.models.AccountUpserted | io.flow.internal.v0.models.AccountUpsertedV2 | io.flow.internal.v0.models.AccountDeletedV2 | io.flow.internal.v0.models.AccountContactUpserted | io.flow.internal.v0.models.AccountContactDeleted | io.flow.internal.v0.models.BillingStatementUpserted | io.flow.internal.v0.models.BillingStatementDeleted | io.flow.internal.v0.models.TaxRemittanceTransactionUpserted | io.flow.internal.v0.models.TaxRemittanceTransactionDeleted | io.flow.internal.v0.models.ChannelAccountUpsertedV2 | io.flow.internal.v0.models.ChannelAccountDeleted | io.flow.internal.v0.models.OrganizationAccountUpsertedV2 | io.flow.internal.v0.models.OrganizationAccountDeleted | io.flow.internal.v0.models.AccountTransactionsExportRequest | io.flow.internal.v0.models.AccountOrdersExportRequest | io.flow.internal.v0.models.MainTransactionUpserted | io.flow.internal.v0.models.MainTransactionDeleted | io.flow.internal.v0.models.MainTransactionUpsertedV2 | io.flow.internal.v0.models.MainTransactionDeletedV2 | io.flow.internal.v0.models.TransferTransactionUpserted | io.flow.internal.v0.models.TransferTransactionDeleted | io.flow.internal.v0.models.TransferTransactionUpsertedV2 | io.flow.internal.v0.models.TransferTransactionDeletedV2 | io.flow.internal.v0.models.ProcessingTransactionUpserted | io.flow.internal.v0.models.ProcessingTransactionDeleted | io.flow.internal.v0.models.BankPaymentUpserted | io.flow.internal.v0.models.BankPaymentDeleted | io.flow.internal.v0.models.BankPaymentUpsertedV2 | io.flow.internal.v0.models.BankPaymentDeletedV2 | io.flow.internal.v0.models.ChannelTransactionUpserted | io.flow.internal.v0.models.ChannelTransactionDeleted | io.flow.internal.v0.models.OrderTransactionUpserted | io.flow.internal.v0.models.OrderTransactionDeleted | io.flow.internal.v0.models.LabelTransactionUpserted | io.flow.internal.v0.models.LabelTransactionDeleted | io.flow.internal.v0.models.ChannelBilledTransactionUpserted | io.flow.internal.v0.models.ChannelBilledTransactionDeleted | io.flow.internal.v0.models.TaxTransactionUpserted | io.flow.internal.v0.models.TaxTransactionDeleted | io.flow.internal.v0.models.DutyTransactionUpserted | io.flow.internal.v0.models.DutyTransactionDeleted | io.flow.internal.v0.models.CalculatorOrganizationSettingsUpserted | io.flow.internal.v0.models.CalculatorOrganizationSettingsDeleted | io.flow.internal.v0.models.CarrierAccountUpsertedV2 | io.flow.internal.v0.models.CarrierAccountDeleted | io.flow.internal.v0.models.CatalogImportRequest | io.flow.internal.v0.models.ExclusionRuleUpserted | io.flow.internal.v0.models.ExclusionRuleDeleted | io.flow.internal.v0.models.ExclusionRuleExportRequest | io.flow.internal.v0.models.CatalogItemRegionAvailabilitiesPublished | io.flow.internal.v0.models.ReturnPolicyUpserted | io.flow.internal.v0.models.ReturnPolicyDeleted | io.flow.internal.v0.models.ReturnPolicyItemResultUpserted | io.flow.internal.v0.models.ReturnPolicyItemResultDeleted | io.flow.internal.v0.models.ChannelOrderAcceptanceUpserted | io.flow.internal.v0.models.ChannelOrderAcceptanceDeleted | io.flow.internal.v0.models.CheckoutConfigurationUpserted | io.flow.internal.v0.models.CheckoutConfigurationDeleted | io.flow.internal.v0.models.LocalizedContentUpserted | io.flow.internal.v0.models.LocalizationUpserted | io.flow.internal.v0.models.InternalChannelRateDeleted | io.flow.internal.v0.models.InternalChannelRateUpserted | io.flow.internal.v0.models.RateDeleted | io.flow.internal.v0.models.RateUpserted | io.flow.internal.v0.models.SpotRateDeleted | io.flow.internal.v0.models.SpotRateUpserted | io.flow.internal.v0.models.UsdSpotRateDeleted | io.flow.internal.v0.models.UsdSpotRateUpserted | io.flow.internal.v0.models.RateDeletedV2 | io.flow.internal.v0.models.RateUpsertedV2 | io.flow.internal.v0.models.OrganizationCurrencySettingUpserted | io.flow.internal.v0.models.OrganizationCurrencySettingDeleted | io.flow.internal.v0.models.ChannelCurrencySettingUpserted | io.flow.internal.v0.models.ChannelCurrencySettingDeleted | io.flow.internal.v0.models.CustomerPurgeUpserted | io.flow.internal.v0.models.CustomsDescriptionImport | io.flow.internal.v0.models.CustomsDescriptionTariffsImport | io.flow.internal.v0.models.ItemDimensionEstimateUpsertedV2 | io.flow.internal.v0.models.ItemDimensionEstimateDeletedV2 | io.flow.internal.v0.models.DisputeUpserted | io.flow.internal.v0.models.DisputeDeleted | io.flow.internal.v0.models.DutyRatesPublishedV2 | io.flow.internal.v0.models.DutyRateRequest | io.flow.internal.v0.models.DutyRateBulkRequest | io.flow.internal.v0.models.DutyRawUpserted | io.flow.internal.v0.models.DutyRawBulkUpserted | io.flow.internal.v0.models.DutyRateUpserted | io.flow.internal.v0.models.DutyRateResponse | io.flow.internal.v0.models.DutyRateBulkResponse | io.flow.internal.v0.models.ItemSalesMarginDeleted | io.flow.internal.v0.models.ItemSalesMarginUpserted | io.flow.internal.v0.models.OrderAttributeDeleted | io.flow.internal.v0.models.OrderAttributeUpserted | io.flow.internal.v0.models.ExperienceExportRequest | io.flow.internal.v0.models.ExperienceImportRequest | io.flow.internal.v0.models.SubmittedOrderUpserted | io.flow.internal.v0.models.LevyRateSummaryUpserted | io.flow.internal.v0.models.ExperimentUpserted | io.flow.internal.v0.models.ExperimentDeleted | io.flow.internal.v0.models.ExperimentResultsUpserted | io.flow.internal.v0.models.ExperimentResultsDeleted | io.flow.internal.v0.models.DailyExperimentResultsUpserted | io.flow.internal.v0.models.DailyExperimentResultsDeleted | io.flow.internal.v0.models.ExperimentMilestoneUpserted | io.flow.internal.v0.models.ExperimentMilestoneDeleted | io.flow.internal.v0.models.ExportCompleted | io.flow.internal.v0.models.ExportFailed | io.flow.internal.v0.models.FeatureUpserted | io.flow.internal.v0.models.FeatureDeleted | io.flow.internal.v0.models.OrganizationBooleanValueUpserted | io.flow.internal.v0.models.OrganizationBooleanValueDeleted | io.flow.internal.v0.models.AccountSettingsUpserted | io.flow.internal.v0.models.AccountSettingsDeleted | io.flow.internal.v0.models.AccountProcessingRatesUpserted | io.flow.internal.v0.models.AccountProcessingRatesDeleted | io.flow.internal.v0.models.BillingOrganizationProcessingRatesUpserted | io.flow.internal.v0.models.BillingOrganizationProcessingRatesDeleted | io.flow.internal.v0.models.BillingOrganizationSettingsUpserted | io.flow.internal.v0.models.BillingOrganizationSettingsDeleted | io.flow.internal.v0.models.BillingStatementBatchUpserted | io.flow.internal.v0.models.BillingStatementBatchDeleted | io.flow.internal.v0.models.BillingStatementBatchStatementUpserted | io.flow.internal.v0.models.BillingStatementBatchStatementDeleted | io.flow.internal.v0.models.PlatformFeeChangeUpserted | io.flow.internal.v0.models.PlatformFeeChangeDeleted | io.flow.internal.v0.models.FraudReviewUpserted | io.flow.internal.v0.models.FraudReviewDeleted | io.flow.internal.v0.models.FraudPendingReviewUpserted | io.flow.internal.v0.models.FraudPendingReviewDeleted | io.flow.internal.v0.models.FraudReviewDecisionUpserted | io.flow.internal.v0.models.FraudReviewDecisionDeleted | io.flow.internal.v0.models.FraudProviderConfigurationUpserted | io.flow.internal.v0.models.FraudProviderConfigurationDeleted | io.flow.internal.v0.models.FtpFileUpserted | io.flow.internal.v0.models.FtpFileDeleted | io.flow.internal.v0.models.FtpFileToProcessUploaded | io.flow.internal.v0.models.PregeneratedRequestEvent | io.flow.internal.v0.models.AllItemsExport | io.flow.internal.v0.models.HarmonizedItemsHs6Export | io.flow.internal.v0.models.UnharmonizedItemsExport | io.flow.internal.v0.models.DutiedItemsExport | io.flow.internal.v0.models.TariffCodesExport | io.flow.internal.v0.models.HarmonizationPhraseSuggestionRequestImport | io.flow.internal.v0.models.HarmonizationCodesImport | io.flow.internal.v0.models.ItemClassificationCreated | io.flow.internal.v0.models.HarmonizeFullyRequestV2 | io.flow.internal.v0.models.HybrisCatalogItemsImportRequest | io.flow.internal.v0.models.ImportCompleted | io.flow.internal.v0.models.ImportFailed | io.flow.internal.v0.models.TimeToClassifyUpserted | io.flow.internal.v0.models.TimeToClassifyDeleted | io.flow.internal.v0.models.TimeToClassifyAggregatedUpserted | io.flow.internal.v0.models.TimeToClassifyAggregatedDeleted | io.flow.internal.v0.models.RateSourceSummaryUpserted | io.flow.internal.v0.models.RateSourceSummaryDeleted | io.flow.internal.v0.models.RateFreshnessSummaryUpserted | io.flow.internal.v0.models.RateFreshnessSummaryDeleted | io.flow.internal.v0.models.ItemHarmonizationUpserted | io.flow.internal.v0.models.ItemHarmonizationDeleted | io.flow.internal.v0.models.HarmonizationItemClassificationUpserted | io.flow.internal.v0.models.HarmonizationItemClassificationDeleted | io.flow.internal.v0.models.IssuerUpserted | io.flow.internal.v0.models.IssuerDeleted | io.flow.internal.v0.models.ItemFormImportRequest | io.flow.internal.v0.models.LabelTrackingSummaryUpserted | io.flow.internal.v0.models.LabelTrackingSummaryDeleted | io.flow.internal.v0.models.LocalizedItemUpsertedV2 | io.flow.internal.v0.models.LocalizedItemDeleted | io.flow.internal.v0.models.LocalizedItemDeletedV2 | io.flow.internal.v0.models.LocalizedItemSnapshot | io.flow.internal.v0.models.LocalizedPriceBookItemUpserted | io.flow.internal.v0.models.LocalizedPriceBookItemDeleted | io.flow.internal.v0.models.FeedUpserted | io.flow.internal.v0.models.FeedDeleted | io.flow.internal.v0.models.FeedsExport | io.flow.internal.v0.models.LocalizedItemPricesExportRequest | io.flow.internal.v0.models.OptinPromptUpserted | io.flow.internal.v0.models.OptinPromptDeleted | io.flow.internal.v0.models.OrderFulfillmentDeleted | io.flow.internal.v0.models.OrderFulfillmentUpserted | io.flow.internal.v0.models.OrderPlaced | io.flow.internal.v0.models.ReadyToFulfill | io.flow.internal.v0.models.FulfillmentCancel | io.flow.internal.v0.models.OrderShipped | io.flow.internal.v0.models.ItemsShipped | io.flow.internal.v0.models.OrganizationRestrictionApprovalUpserted | io.flow.internal.v0.models.OrganizationRestrictionApprovalDeleted | io.flow.internal.v0.models.OrganizationRestrictionSnapshotUpserted | io.flow.internal.v0.models.OrganizationRestrictionSnapshotDeleted | io.flow.internal.v0.models.OrganizationRestrictionStatusUpserted | io.flow.internal.v0.models.OrganizationRestrictionStatusDeleted | io.flow.internal.v0.models.InternalAuthorizationUpserted | io.flow.internal.v0.models.InternalAuthorizationDeleted | io.flow.internal.v0.models.AfterpayAuthorizationUpserted | io.flow.internal.v0.models.AfterpayAuthorizationDeleted | io.flow.internal.v0.models.AfterpayCaptureUpserted | io.flow.internal.v0.models.AfterpayCaptureDeleted | io.flow.internal.v0.models.AfterpayRefundUpserted | io.flow.internal.v0.models.AfterpayRefundDeleted | io.flow.internal.v0.models.AdyenMerchantAccountUpserted | io.flow.internal.v0.models.AdyenMerchantAccountDeleted | io.flow.internal.v0.models.ChargebackUpserted | io.flow.internal.v0.models.ChargebackDeleted | io.flow.internal.v0.models.PaymentProcessorAccountUpserted | io.flow.internal.v0.models.PaymentProcessorAccountDeleted | io.flow.internal.v0.models.PaymentProcessorMerchantUpserted | io.flow.internal.v0.models.PaymentProcessorMerchantDeleted | io.flow.internal.v0.models.VirtualCardProviderUpserted | io.flow.internal.v0.models.VirtualCardProviderDeleted | io.flow.internal.v0.models.AuthorizationBundleUpserted | io.flow.internal.v0.models.AuthorizationBundleDeleted | io.flow.internal.v0.models.OrganizationPaymentSettingUpserted | io.flow.internal.v0.models.OrganizationPaymentSettingDeleted | io.flow.internal.v0.models.PaypalPaymentDeleted | io.flow.internal.v0.models.PaypalPaymentUpserted | io.flow.internal.v0.models.PaypalExecutionDeleted | io.flow.internal.v0.models.PaypalExecutionUpserted | io.flow.internal.v0.models.PaypalRefundDeleted | io.flow.internal.v0.models.PaypalRefundUpserted | io.flow.internal.v0.models.PricingIndicator | io.flow.internal.v0.models.OrderRatesPublishedV3 | io.flow.internal.v0.models.RatecardDimensionEstimateUpserted | io.flow.internal.v0.models.RatecardDimensionEstimateDeleted | io.flow.internal.v0.models.RatecardLanesImportRequest | io.flow.internal.v0.models.RatecardStandardConfigurationUpserted | io.flow.internal.v0.models.RatecardStandardConfigurationDeleted | io.flow.internal.v0.models.RatecardServiceFeeUpserted | io.flow.internal.v0.models.RatecardServiceFeeDeleted | io.flow.internal.v0.models.RatecardLaneAggregateUpserted | io.flow.internal.v0.models.RatecardLaneAggregateDeleted | io.flow.internal.v0.models.ShopifyShopUpserted | io.flow.internal.v0.models.ShopifyShopDeleted | io.flow.internal.v0.models.ShopifyExperienceShortIdUpserted | io.flow.internal.v0.models.ShopifyExperienceShortIdDeleted | io.flow.internal.v0.models.ShopifyMarketsOrderUpserted | io.flow.internal.v0.models.ShopifyMarketsOrderDeleted | io.flow.internal.v0.models.ShopifyMarketsShopUpserted | io.flow.internal.v0.models.ShopifyMarketsShopDeleted | io.flow.internal.v0.models.ShopifyMonitoringOrderMonitorEventUpserted | io.flow.internal.v0.models.ShopifyMonitoringOrderMonitorEventDeleted | io.flow.internal.v0.models.StripeAuthorizationDeleted | io.flow.internal.v0.models.StripeAuthorizationUpserted | io.flow.internal.v0.models.StripeReversalDeleted | io.flow.internal.v0.models.StripeReversalUpserted | io.flow.internal.v0.models.StripeCaptureDeleted | io.flow.internal.v0.models.StripeCaptureUpserted | io.flow.internal.v0.models.StripeRefundDeleted | io.flow.internal.v0.models.StripeRefundUpserted | io.flow.internal.v0.models.SvbVirtualCardClearingUpserted | io.flow.internal.v0.models.SvbVirtualCardClearingDeleted | io.flow.internal.v0.models.LiabilityRemittancePlanUpserted | io.flow.internal.v0.models.LiabilityRemittancePlanDeleted | io.flow.internal.v0.models.TrackingLabelEventUpsertedV2 | io.flow.internal.v0.models.TrackingLabelEventDeletedV2 | io.flow.internal.v0.models.TrackingLabelUpserted | io.flow.internal.v0.models.TrackingLabelDeleted | io.flow.internal.v0.models.TrackingUpserted | io.flow.internal.v0.models.TrackingDeleted | io.flow.internal.v0.models.TrackingRequestUpserted | io.flow.internal.v0.models.TrackingResponseUpserted | io.flow.internal.v0.models.UserUpsertedV2 | io.flow.internal.v0.models.UserDeletedV2;
20439
20527
  type Experiment = io.flow.internal.v0.models.ExperienceExperiment | io.flow.internal.v0.models.FeatureExperiment;
20440
20528
  type ExportSchedule = io.flow.internal.v0.models.ExportScheduleDaily | io.flow.internal.v0.models.ExportScheduleRepeated;
20441
20529
  type FeatureDefaultValue = io.flow.internal.v0.models.BooleanFeatureDefaultValue | io.flow.internal.v0.models.StringFeatureDefaultValue;
@@ -20472,7 +20560,7 @@ declare namespace io.flow.internal.v0.unions {
20472
20560
  type ProcessorMerchantForm = io.flow.internal.v0.models.StripeMerchantForm;
20473
20561
  type ProcessorMerchantModificationForm = io.flow.internal.v0.models.StripeMerchantModificationForm | io.flow.internal.v0.models.AdyenMerchantModificationForm | io.flow.internal.v0.models.FiservMerchantModificationForm | io.flow.internal.v0.models.PaypalMerchantModificationForm;
20474
20562
  type ProcessorMerchantPutForm = io.flow.internal.v0.models.StripeMerchantPutForm | io.flow.internal.v0.models.AdyenMerchantPutForm | io.flow.internal.v0.models.FiservMerchantPutForm | io.flow.internal.v0.models.PaypalMerchantPutForm;
20475
- type ProofOfPosting = io.flow.internal.v0.models.ProofOfPostingFulfilled | io.flow.internal.v0.models.ProofOfPostingExternallyFulfilled | io.flow.internal.v0.models.ProofOfPostingFullyRefunded | io.flow.internal.v0.models.ProofOfPostingShippingNotification | io.flow.internal.v0.models.ProofOfPostingOrderCancellation;
20563
+ type ProofOfPosting = io.flow.internal.v0.models.ProofOfPostingFulfilled | io.flow.internal.v0.models.ProofOfPostingExternallyFulfilled | io.flow.internal.v0.models.ProofOfPostingShippingNotification | io.flow.internal.v0.models.ProofOfPostingOrderCancellation;
20476
20564
  type RoutingEntity = io.flow.internal.v0.models.RoutingProcessor | io.flow.internal.v0.models.RoutingAccount | io.flow.internal.v0.models.RoutingMerchant;
20477
20565
  type ShopifyMonitoringOrderMonitorType = io.flow.internal.v0.models.ShopifyMonitoringFulfillmentExternal | io.flow.internal.v0.models.ShopifyMonitoringFulfillmentMissingDetails;
20478
20566
  type ShopifyPromotionOfferDiscount = io.flow.internal.v0.models.ShopifyPromotionFixedAmount | io.flow.internal.v0.models.ShopifyPromotionPercent;
@@ -20534,6 +20622,7 @@ export declare type AdjustmentDetailsAmountPercentage = io.flow.internal.v0.mode
20534
20622
  export declare type AdjustmentDetailsProcessingTransaction = io.flow.internal.v0.models.AdjustmentDetailsProcessingTransaction;
20535
20623
  export declare type AdjustmentDetailsProcessingTransactionFee = io.flow.internal.v0.models.AdjustmentDetailsProcessingTransactionFee;
20536
20624
  export declare type AdjustmentDetailsProcessingTransactionWithholding = io.flow.internal.v0.models.AdjustmentDetailsProcessingTransactionWithholding;
20625
+ export declare type AdjustmentTransactionType = io.flow.internal.v0.enums.AdjustmentTransactionType;
20537
20626
  export declare type AdyenAccount = io.flow.internal.v0.models.AdyenAccount;
20538
20627
  export declare type AdyenAccountModificationForm = io.flow.internal.v0.models.AdyenAccountModificationForm;
20539
20628
  export declare type AdyenAccountPutForm = io.flow.internal.v0.models.AdyenAccountPutForm;
@@ -21713,6 +21802,7 @@ export declare type HeapWebsocketRequest = io.flow.internal.v0.models.HeapWebsoc
21713
21802
  export declare type HeapWebsocketResponse = io.flow.internal.v0.models.HeapWebsocketResponse;
21714
21803
  export declare type HeapWebsocketRetry = io.flow.internal.v0.models.HeapWebsocketRetry;
21715
21804
  export declare type Href = io.flow.internal.v0.models.Href;
21805
+ export declare type Hs6 = io.flow.internal.v0.models.Hs6;
21716
21806
  export declare type Hs6Metadata = io.flow.internal.v0.models.Hs6Metadata;
21717
21807
  export declare type HttpMethod = io.flow.internal.v0.enums.HttpMethod;
21718
21808
  export declare type HybrisCatalogItemsImportRequest = io.flow.internal.v0.models.HybrisCatalogItemsImportRequest;
@@ -22148,7 +22238,6 @@ export declare type PromptTarget = io.flow.internal.v0.enums.PromptTarget;
22148
22238
  export declare type ProofOfPosting = io.flow.internal.v0.unions.ProofOfPosting;
22149
22239
  export declare type ProofOfPostingExternallyFulfilled = io.flow.internal.v0.models.ProofOfPostingExternallyFulfilled;
22150
22240
  export declare type ProofOfPostingFulfilled = io.flow.internal.v0.models.ProofOfPostingFulfilled;
22151
- export declare type ProofOfPostingFullyRefunded = io.flow.internal.v0.models.ProofOfPostingFullyRefunded;
22152
22241
  export declare type ProofOfPostingOrderCancellation = io.flow.internal.v0.models.ProofOfPostingOrderCancellation;
22153
22242
  export declare type ProofOfPostingShippingNotification = io.flow.internal.v0.models.ProofOfPostingShippingNotification;
22154
22243
  export declare type QuoteRequest = io.flow.internal.v0.models.QuoteRequest;
@@ -22294,8 +22383,10 @@ export declare type ShopifyMarketsOrder = io.flow.internal.v0.models.ShopifyMark
22294
22383
  export declare type ShopifyMarketsOrderDeleted = io.flow.internal.v0.models.ShopifyMarketsOrderDeleted;
22295
22384
  export declare type ShopifyMarketsOrderUpserted = io.flow.internal.v0.models.ShopifyMarketsOrderUpserted;
22296
22385
  export declare type ShopifyMarketsShop = io.flow.internal.v0.models.ShopifyMarketsShop;
22386
+ export declare type ShopifyMarketsShopDeleted = io.flow.internal.v0.models.ShopifyMarketsShopDeleted;
22297
22387
  export declare type ShopifyMarketsShopForm = io.flow.internal.v0.models.ShopifyMarketsShopForm;
22298
22388
  export declare type ShopifyMarketsShopSummary = io.flow.internal.v0.models.ShopifyMarketsShopSummary;
22389
+ export declare type ShopifyMarketsShopUpserted = io.flow.internal.v0.models.ShopifyMarketsShopUpserted;
22299
22390
  export declare type ShopifyMarketsSubsidiaryCompany = io.flow.internal.v0.models.ShopifyMarketsSubsidiaryCompany;
22300
22391
  export declare type ShopifyMarketsSync = io.flow.internal.v0.models.ShopifyMarketsSync;
22301
22392
  export declare type ShopifyMarketsTradeSector = io.flow.internal.v0.enums.ShopifyMarketsTradeSector;
@@ -22309,7 +22400,6 @@ export declare type ShopifyMonitoringOrderMonitor = io.flow.internal.v0.models.S
22309
22400
  export declare type ShopifyMonitoringOrderMonitorEventDeleted = io.flow.internal.v0.models.ShopifyMonitoringOrderMonitorEventDeleted;
22310
22401
  export declare type ShopifyMonitoringOrderMonitorEventUpserted = io.flow.internal.v0.models.ShopifyMonitoringOrderMonitorEventUpserted;
22311
22402
  export declare type ShopifyMonitoringOrderMonitorReview = io.flow.internal.v0.models.ShopifyMonitoringOrderMonitorReview;
22312
- export declare type ShopifyMonitoringOrderMonitorReviewOrderDetails = io.flow.internal.v0.models.ShopifyMonitoringOrderMonitorReviewOrderDetails;
22313
22403
  export declare type ShopifyMonitoringOrderMonitorType = io.flow.internal.v0.unions.ShopifyMonitoringOrderMonitorType;
22314
22404
  export declare type ShopifyMonitoringTrackingField = io.flow.internal.v0.enums.ShopifyMonitoringTrackingField;
22315
22405
  export declare type ShopifyMonitoringTrackingNumber = io.flow.internal.v0.models.ShopifyMonitoringTrackingNumber;
package/dist/api.d.ts CHANGED
@@ -1834,7 +1834,7 @@ declare namespace io.flow.v0.enums {
1834
1834
  type TrackingStatus = 'label_created' | 'pending' | 'info_received' | 'picked_up' | 'in_transit' | 'out_for_delivery' | 'attempt_fail' | 'delivered' | 'exception' | 'returned' | 'expired';
1835
1835
  type TradeAgreementName = 'USMCA' | 'T-MEC' | 'CUSMA' | 'TCA';
1836
1836
  type TradeAgreementStatus = 'supported' | 'not_supported';
1837
- type TransactionSource = 'capture' | 'refund' | 'dispute' | 'adjustment' | 'shipping_label' | 'shipping_label_service' | 'shipping_label_revenue_share' | 'platform_fee' | 'tax' | 'duties' | 'other_adjustment' | 'tax_adjustment' | 'channel' | 'channel_billed' | 'order_service' | 'virtual_card_capture' | 'virtual_card_refund';
1837
+ type TransactionSource = 'capture' | 'refund' | 'dispute' | 'adjustment' | 'reversal' | 'shipping_label' | 'shipping_label_service' | 'shipping_label_revenue_share' | 'platform_fee' | 'tax' | 'duty' | 'other_adjustment' | 'tax_adjustment' | 'channel' | 'channel_billed' | 'order_service' | 'virtual_card_capture' | 'virtual_card_refund';
1838
1838
  type UnitOfMeasurement = 'millimeter' | 'centimeter' | 'inch' | 'foot' | 'cubic_inch' | 'cubic_meter' | 'gram' | 'kilogram' | 'meter' | 'ounce' | 'pound';
1839
1839
  type UnitOfTime = 'year' | 'month' | 'week' | 'day' | 'hour' | 'minute';
1840
1840
  type UpdatePolicy = 'auto' | 'queue' | 'discard';
@@ -2213,10 +2213,6 @@ declare namespace io.flow.v0.models {
2213
2213
  readonly validation_url: string;
2214
2214
  readonly display_name?: string;
2215
2215
  }
2216
- interface ApplicationReceived {
2217
- readonly discriminator: 'application_received';
2218
- readonly placeholder?: boolean;
2219
- }
2220
2216
  interface AtCost {
2221
2217
  readonly discriminator: 'at_cost';
2222
2218
  readonly ignore?: string;
@@ -7105,6 +7101,14 @@ declare namespace io.flow.v0.models {
7105
7101
  }
7106
7102
  interface PaymentMethodDataAuthorizeApplepay {
7107
7103
  readonly type: 'authorize_applepay';
7104
+ readonly result: io.flow.v0.unions.PaymentMethodDataAuthorizeApplepayResult;
7105
+ }
7106
+ interface PaymentMethodDataAuthorizeApplepayResultFailure {
7107
+ readonly type: 'failure';
7108
+ readonly placeholder?: string;
7109
+ }
7110
+ interface PaymentMethodDataAuthorizeApplepayResultSuccess {
7111
+ readonly type: 'success';
7108
7112
  readonly token: string;
7109
7113
  }
7110
7114
  interface PaymentMethodDataAuthorizeCard {
@@ -10134,7 +10138,7 @@ declare namespace io.flow.v0.unions {
10134
10138
  type MerchantApplicationForm = io.flow.v0.models.ShopifyMerchantApplicationForm;
10135
10139
  type MerchantApplicationPutForm = io.flow.v0.models.ShopifyMerchantApplicationPutForm;
10136
10140
  type MerchantApplicationsSummary = io.flow.v0.models.ShopifyMerchantApplicationsSummary;
10137
- type OnboardingState = io.flow.v0.models.ApplicationReceived | io.flow.v0.models.InComplianceReview | io.flow.v0.models.SetupInProgress | io.flow.v0.models.MerchantRejected | io.flow.v0.models.SetupBlocked | io.flow.v0.models.SetupCompleted | io.flow.v0.models.MerchantActivated;
10141
+ type OnboardingState = io.flow.v0.models.InComplianceReview | io.flow.v0.models.SetupInProgress | io.flow.v0.models.MerchantRejected | io.flow.v0.models.SetupBlocked | io.flow.v0.models.SetupCompleted | io.flow.v0.models.MerchantActivated;
10138
10142
  type OnlineAuthorizationDetails = io.flow.v0.models.CryptopayAuthorizationDetails | io.flow.v0.models.PaypalAuthorizationDetails | io.flow.v0.models.RedirectAuthorizationDetails | io.flow.v0.models.InlineAuthorizationDetails;
10139
10143
  type OrderInformation = io.flow.v0.models.OrderInformationFlow | io.flow.v0.models.OrderInformationDetails;
10140
10144
  type OrderNumberGenerator = io.flow.v0.models.OrderNumberGeneratorUuid | io.flow.v0.models.OrderNumberGeneratorHexadecimal | io.flow.v0.models.OrderNumberGeneratorPrefixSuffix;
@@ -10148,6 +10152,7 @@ declare namespace io.flow.v0.unions {
10148
10152
  type PaymentForm = io.flow.v0.models.MerchantOfRecordPaymentForm;
10149
10153
  type PaymentMethodCard = io.flow.v0.models.PaymentMethodCardPciDetails | io.flow.v0.models.PaymentMethodCardToken;
10150
10154
  type PaymentMethodData = io.flow.v0.models.PaymentMethodDataInitKlarna | io.flow.v0.models.PaymentMethodDataInitAfterpay | io.flow.v0.models.PaymentMethodDataInitApplepay | io.flow.v0.models.PaymentMethodDataInitGooglepay | io.flow.v0.models.PaymentMethodDataInitPaypal | io.flow.v0.models.PaymentMethodDataInitIdeal | io.flow.v0.models.PaymentMethodDataInitSofort | io.flow.v0.models.PaymentMethodDataInitBancontact | io.flow.v0.models.PaymentMethodDataValidateApplepay | io.flow.v0.models.PaymentMethodDataAuthorizeCard | io.flow.v0.models.PaymentMethodDataAuthorizeGooglepay | io.flow.v0.models.PaymentMethodDataAuthorizeApplepay | io.flow.v0.models.PaymentMethodDataAuthorizePaypal | io.flow.v0.models.PaymentMethodDataAuthorizeKlarna | io.flow.v0.models.PaymentMethodDataSelectedPaymentOption | io.flow.v0.models.PaymentMethodDataCompleteAuthorizationCard;
10155
+ type PaymentMethodDataAuthorizeApplepayResult = io.flow.v0.models.PaymentMethodDataAuthorizeApplepayResultSuccess | io.flow.v0.models.PaymentMethodDataAuthorizeApplepayResultFailure;
10151
10156
  type PaymentMethodDataAuthorizeKlarnaResult = io.flow.v0.models.PaymentMethodDataAuthorizeKlarnaResultSuccess | io.flow.v0.models.PaymentMethodDataAuthorizeKlarnaResultFailure;
10152
10157
  type PaymentMethodDataOptionLogo = io.flow.v0.models.PaymentMethodDataOptionLogoSvg;
10153
10158
  type PaymentMethodSummary = io.flow.v0.models.PaymentMethodSummaryCard | io.flow.v0.models.PaymentMethodSummaryKlarna | io.flow.v0.models.PaymentMethodSummaryAfterpay | io.flow.v0.models.PaymentMethodSummaryApplepay | io.flow.v0.models.PaymentMethodSummaryGooglepay | io.flow.v0.models.PaymentMethodSummaryPaypal | io.flow.v0.models.PaymentMethodSummaryIdeal | io.flow.v0.models.PaymentMethodSummarySofort | io.flow.v0.models.PaymentMethodSummaryBancontact;
@@ -10257,7 +10262,6 @@ export declare type AmountMargin = io.flow.v0.models.AmountMargin;
10257
10262
  export declare type AmountMarginForm = io.flow.v0.models.AmountMarginForm;
10258
10263
  export declare type AnalyticsExportType = io.flow.v0.models.AnalyticsExportType;
10259
10264
  export declare type ApplePayMerchantValidationPayload = io.flow.v0.models.ApplePayMerchantValidationPayload;
10260
- export declare type ApplicationReceived = io.flow.v0.models.ApplicationReceived;
10261
10265
  export declare type AtCost = io.flow.v0.models.AtCost;
10262
10266
  export declare type Attachment = io.flow.v0.models.Attachment;
10263
10267
  export declare type AttachmentType = io.flow.v0.enums.AttachmentType;
@@ -11245,6 +11249,9 @@ export declare type PaymentMethodCardPciDetails = io.flow.v0.models.PaymentMetho
11245
11249
  export declare type PaymentMethodCardToken = io.flow.v0.models.PaymentMethodCardToken;
11246
11250
  export declare type PaymentMethodData = io.flow.v0.unions.PaymentMethodData;
11247
11251
  export declare type PaymentMethodDataAuthorizeApplepay = io.flow.v0.models.PaymentMethodDataAuthorizeApplepay;
11252
+ export declare type PaymentMethodDataAuthorizeApplepayResult = io.flow.v0.unions.PaymentMethodDataAuthorizeApplepayResult;
11253
+ export declare type PaymentMethodDataAuthorizeApplepayResultFailure = io.flow.v0.models.PaymentMethodDataAuthorizeApplepayResultFailure;
11254
+ export declare type PaymentMethodDataAuthorizeApplepayResultSuccess = io.flow.v0.models.PaymentMethodDataAuthorizeApplepayResultSuccess;
11248
11255
  export declare type PaymentMethodDataAuthorizeCard = io.flow.v0.models.PaymentMethodDataAuthorizeCard;
11249
11256
  export declare type PaymentMethodDataAuthorizeGooglepay = io.flow.v0.models.PaymentMethodDataAuthorizeGooglepay;
11250
11257
  export declare type PaymentMethodDataAuthorizeKlarna = io.flow.v0.models.PaymentMethodDataAuthorizeKlarna;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flowio/types",
3
- "version": "11.24.47",
3
+ "version": "11.24.49",
4
4
  "description": "TypeScript type definitions for custom types found in Flow API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -25,5 +25,5 @@
25
25
  "maintainers": [
26
26
  "Christian Muñoz <christian.munoz@flow.io>"
27
27
  ],
28
- "gitHead": "ed619947b1c3685c45671265137cea5b7882e8a6"
28
+ "gitHead": "f8f8ae1c2b9472a8a42afdf320e7baa8341a3533"
29
29
  }
@@ -6754,7 +6754,19 @@ declare namespace io.flow.shopify.markets.v0.enums {
6754
6754
  | 'retail'
6755
6755
  | 'shipping';
6756
6756
  type IncotermDuties = 'DAP' | 'DDP';
6757
+ type ShopifyDiscountValueType = 'fixed_amount' | 'percentage';
6757
6758
  type ShopifyDiscrepancyReason = 'restock' | 'damage' | 'customer' | 'other';
6759
+ type ShopifyDraftOrderStatus =
6760
+ | 'open'
6761
+ | 'invoice_sent'
6762
+ | 'completed'
6763
+ | 'pending'
6764
+ | 'authorized'
6765
+ | 'partially_paid'
6766
+ | 'paid'
6767
+ | 'partially_refunded'
6768
+ | 'refunded'
6769
+ | 'voided';
6758
6770
  type ShopifyOrderCancelReason =
6759
6771
  | 'customer'
6760
6772
  | 'fraud'
@@ -6856,6 +6868,28 @@ declare namespace io.flow.shopify.markets.v0.enums {
6856
6868
  | 'success'
6857
6869
  | 'error';
6858
6870
  type ShopifyOrderValueType = 'string' | 'integer';
6871
+ type ShopifyTaxExemptions =
6872
+ | 'EXEMPT_ALL'
6873
+ | 'CA_STATUS_CARD_EXEMPTION'
6874
+ | 'CA_DIPLOMAT_EXEMPTION'
6875
+ | 'CA_BC_RESELLER_EXEMPTION'
6876
+ | 'CA_MB_RESELLER_EXEMPTION'
6877
+ | 'CA_SK_RESELLER_EXEMPTION'
6878
+ | 'CA_BC_COMMERCIAL_FISHERY_EXEMPTION'
6879
+ | 'CA_MB_COMMERCIAL_FISHERY_EXEMPTION'
6880
+ | 'CA_NS_COMMERCIAL_FISHERY_EXEMPTION'
6881
+ | 'CA_PE_COMMERCIAL_FISHERY_EXEMPTION'
6882
+ | 'CA_SK_COMMERCIAL_FISHERY_EXEMPTION'
6883
+ | 'CA_BC_PRODUCTION_AND_MACHINERY_EXEMPTION'
6884
+ | 'CA_SK_PRODUCTION_AND_MACHINERY_EXEMPTION'
6885
+ | 'CA_BC_SUB_CONTRACTOR_EXEMPTION'
6886
+ | 'CA_SK_SUB_CONTRACTOR_EXEMPTION'
6887
+ | 'CA_BC_CONTRACTOR_EXEMPTION'
6888
+ | 'CA_SK_CONTRACTOR_EXEMPTION'
6889
+ | 'CA_ON_PURCHASE_EXEMPTION'
6890
+ | 'CA_MB_FARMER_EXEMPTION'
6891
+ | 'CA_NS_FARMER_EXEMPTION'
6892
+ | 'CA_SK_FARMER_EXEMPTION';
6859
6893
  type ShopifyWebhookFormat = 'json' | 'xml';
6860
6894
  type ShopifyWebhookTopic =
6861
6895
  | 'customers/redact'
@@ -6949,11 +6983,58 @@ declare namespace io.flow.shopify.markets.v0.models {
6949
6983
  readonly shop: io.flow.shopify.markets.v0.models.Shop;
6950
6984
  }
6951
6985
 
6986
+ interface ShopifyAppliedDiscount {
6987
+ readonly title?: string;
6988
+ readonly description?: string;
6989
+ readonly value?: string;
6990
+ readonly value_type?: io.flow.shopify.markets.v0.enums.ShopifyDiscountValueType;
6991
+ readonly amount?: number;
6992
+ }
6993
+
6952
6994
  interface ShopifyCountryHarmonizedSystemCode {
6953
6995
  readonly country_code: string;
6954
6996
  readonly harmonized_system_code: string;
6955
6997
  }
6956
6998
 
6999
+ interface ShopifyDraftOrder {
7000
+ readonly applied_discount: io.flow.shopify.markets.v0.models.ShopifyAppliedDiscount;
7001
+ readonly billing_address?: io.flow.shopify.markets.v0.models.ShopifyOrderAddress;
7002
+ readonly completed_at?: string;
7003
+ readonly created_at?: string;
7004
+ readonly currency?: string;
7005
+ readonly customer?: io.flow.shopify.markets.v0.models.ShopifyOrderCustomer;
7006
+ readonly email?: string;
7007
+ readonly id?: number;
7008
+ readonly invoice_sent_at?: string;
7009
+ readonly invoice_url?: string;
7010
+ readonly line_items: io.flow.shopify.markets.v0.models.ShopifyOrderLineItem[];
7011
+ readonly name?: string;
7012
+ readonly note?: string;
7013
+ readonly note_attributes: io.flow.shopify.markets.v0.models.ShopifyOrderAttribute[];
7014
+ readonly order_id: io.flow.shopify.markets.v0.models.ShopifyOrderId;
7015
+ readonly payment_terms: io.flow.shopify.markets.v0.models.ShopifyPaymentTerms;
7016
+ readonly shipping_address?: io.flow.shopify.markets.v0.models.ShopifyOrderAddress;
7017
+ readonly shipping_lines: io.flow.shopify.markets.v0.models.ShopifyOrderShippingLine[];
7018
+ readonly source_name?: string;
7019
+ readonly subtotal_price?: string;
7020
+ readonly status?: io.flow.shopify.markets.v0.enums.ShopifyDraftOrderStatus;
7021
+ readonly tags?: string;
7022
+ readonly tax_exemptions?: io.flow.shopify.markets.v0.enums.ShopifyTaxExemptions[];
7023
+ readonly tax_lines: io.flow.shopify.markets.v0.models.ShopifyOrderTaxLine[];
7024
+ readonly taxes_included: boolean;
7025
+ readonly total_price?: string;
7026
+ readonly total_tax?: string;
7027
+ readonly updated_at?: string;
7028
+ }
7029
+
7030
+ interface ShopifyDraftOrderCount {
7031
+ readonly count: number;
7032
+ }
7033
+
7034
+ interface ShopifyDraftOrdersWrapper {
7035
+ readonly draft_orders: io.flow.shopify.markets.v0.models.ShopifyDraftOrder[];
7036
+ }
7037
+
6957
7038
  interface ShopifyError {
6958
7039
  readonly errors: any /*object*/;
6959
7040
  }
@@ -7142,6 +7223,10 @@ declare namespace io.flow.shopify.markets.v0.models {
7142
7223
  readonly user_agent?: string;
7143
7224
  }
7144
7225
 
7226
+ interface ShopifyOrderCount {
7227
+ readonly count: number;
7228
+ }
7229
+
7145
7230
  interface ShopifyOrderCustomer {
7146
7231
  readonly id?: number;
7147
7232
  readonly email?: string;
@@ -7245,6 +7330,10 @@ declare namespace io.flow.shopify.markets.v0.models {
7245
7330
  readonly variant_inventory_management?: string;
7246
7331
  }
7247
7332
 
7333
+ interface ShopifyOrderId {
7334
+ readonly id: number;
7335
+ }
7336
+
7248
7337
  interface ShopifyOrderLineItem {
7249
7338
  readonly fulfillable_quantity?: number;
7250
7339
  readonly fulfillment_service: string;
@@ -7404,6 +7493,24 @@ declare namespace io.flow.shopify.markets.v0.models {
7404
7493
  readonly orders: io.flow.shopify.markets.v0.models.ShopifyOrder[];
7405
7494
  }
7406
7495
 
7496
+ interface ShopifyPaymentSchedules {
7497
+ readonly amount?: number;
7498
+ readonly currency?: string;
7499
+ readonly issued_at?: string;
7500
+ readonly due_at?: string;
7501
+ readonly completed_at?: string;
7502
+ readonly expected_payment_method?: string;
7503
+ }
7504
+
7505
+ interface ShopifyPaymentTerms {
7506
+ readonly amount?: number;
7507
+ readonly currency?: string;
7508
+ readonly payment_terms_name?: string;
7509
+ readonly payment_terms_type?: number;
7510
+ readonly due_in_days?: number;
7511
+ readonly payment_schedules?: io.flow.shopify.markets.v0.models.ShopifyPaymentSchedules;
7512
+ }
7513
+
7407
7514
  interface ShopifyRefund {
7408
7515
  readonly notify_x: boolean;
7409
7516
  readonly note?: string;
@@ -8061,6 +8168,16 @@ declare namespace io.flow.payment.gateway.v0.models {
8061
8168
 
8062
8169
  interface PaymentMethodDataAuthorizeApplepay {
8063
8170
  readonly type: 'authorize_applepay';
8171
+ readonly result: io.flow.payment.gateway.v0.unions.PaymentMethodDataAuthorizeApplepayResult;
8172
+ }
8173
+
8174
+ interface PaymentMethodDataAuthorizeApplepayResultFailure {
8175
+ readonly type: 'failure';
8176
+ readonly placeholder?: string;
8177
+ }
8178
+
8179
+ interface PaymentMethodDataAuthorizeApplepayResultSuccess {
8180
+ readonly type: 'success';
8064
8181
  readonly token: string;
8065
8182
  }
8066
8183
 
@@ -8381,6 +8498,9 @@ declare namespace io.flow.payment.gateway.v0.unions {
8381
8498
  | io.flow.payment.gateway.v0.models.PaymentMethodDataAuthorizeKlarna
8382
8499
  | io.flow.payment.gateway.v0.models.PaymentMethodDataSelectedPaymentOption
8383
8500
  | io.flow.payment.gateway.v0.models.PaymentMethodDataCompleteAuthorizationCard;
8501
+ type PaymentMethodDataAuthorizeApplepayResult =
8502
+ | io.flow.payment.gateway.v0.models.PaymentMethodDataAuthorizeApplepayResultSuccess
8503
+ | io.flow.payment.gateway.v0.models.PaymentMethodDataAuthorizeApplepayResultFailure;
8384
8504
  type PaymentMethodDataAuthorizeKlarnaResult =
8385
8505
  | io.flow.payment.gateway.v0.models.PaymentMethodDataAuthorizeKlarnaResultSuccess
8386
8506
  | io.flow.payment.gateway.v0.models.PaymentMethodDataAuthorizeKlarnaResultFailure;
@@ -11424,12 +11544,13 @@ declare namespace io.flow.billing.v0.enums {
11424
11544
  | 'refund'
11425
11545
  | 'dispute'
11426
11546
  | 'adjustment'
11547
+ | 'reversal'
11427
11548
  | 'shipping_label'
11428
11549
  | 'shipping_label_service'
11429
11550
  | 'shipping_label_revenue_share'
11430
11551
  | 'platform_fee'
11431
11552
  | 'tax'
11432
- | 'duties'
11553
+ | 'duty'
11433
11554
  | 'other_adjustment'
11434
11555
  | 'tax_adjustment'
11435
11556
  | 'channel'
@@ -13283,6 +13404,7 @@ declare namespace io.flow.internal.v0.enums {
13283
13404
  type AccountSettingLiabilitiesMethod = 'withholding' | 'transaction';
13284
13405
  type AccountType = 'channel' | 'organization';
13285
13406
  type AddressConfigurationSettingProvinceCode = 'iso_3166_2' | 'name';
13407
+ type AdjustmentTransactionType = 'adjustment' | 'reversal';
13286
13408
  type AdyenIntegrationType =
13287
13409
  | 'hosted_payment_page'
13288
13410
  | 'checkout_payments_api'
@@ -13343,6 +13465,7 @@ declare namespace io.flow.internal.v0.enums {
13343
13465
  | 'invoice'
13344
13466
  | 'transfer'
13345
13467
  | 'adjustment'
13468
+ | 'reversal'
13346
13469
  | 'capture'
13347
13470
  | 'refund'
13348
13471
  | 'virtual_card_capture'
@@ -13378,7 +13501,10 @@ declare namespace io.flow.internal.v0.enums {
13378
13501
  | 'item_prices'
13379
13502
  | 'price_book_items_import'
13380
13503
  | 'price_book_items_query_import';
13381
- type ChannelBilledTransactionType = 'adjustment' | 'channel_initiated';
13504
+ type ChannelBilledTransactionType =
13505
+ | 'adjustment'
13506
+ | 'reversal'
13507
+ | 'channel_initiated';
13382
13508
  type ChannelOrderAcceptanceRejectionReason =
13383
13509
  | 'unsupported_origin_country'
13384
13510
  | 'unsupported_destination_country'
@@ -13388,7 +13514,7 @@ declare namespace io.flow.internal.v0.enums {
13388
13514
  | 'missing_order_information'
13389
13515
  | 'unsupported_payment_information';
13390
13516
  type ChannelOrderAcceptanceStatus = 'accepted' | 'rejected' | 'review';
13391
- type ChannelTransactionType = 'adjustment' | 'processing';
13517
+ type ChannelTransactionType = 'adjustment' | 'reversal' | 'processing';
13392
13518
  type ChargebackPaymentStatus = 'captured' | 'refunded';
13393
13519
  type ChargebackProcessStatus = 'inquiry' | 'open' | 'closed';
13394
13520
  type CheckoutAddAuthorizationErrorCode =
@@ -13718,7 +13844,7 @@ declare namespace io.flow.internal.v0.enums {
13718
13844
  | 'override'
13719
13845
  | 'preferential_rate';
13720
13846
  type DutySimpleExpressionType = 'free' | 'percent' | 'per_uom' | 'flat';
13721
- type DutyTransactionType = 'adjustment' | 'duty';
13847
+ type DutyTransactionType = 'adjustment' | 'reversal' | 'duty';
13722
13848
  type EmptyAttribute = 'irrelevant';
13723
13849
  type ErpFileType = 'vendor';
13724
13850
  type EventType =
@@ -13966,6 +14092,8 @@ declare namespace io.flow.internal.v0.enums {
13966
14092
  | 'shopify_experience_short_id_deleted'
13967
14093
  | 'shopify_markets_order_upserted'
13968
14094
  | 'shopify_markets_order_deleted'
14095
+ | 'shopify_markets_shop_upserted'
14096
+ | 'shopify_markets_shop_deleted'
13969
14097
  | 'shopify_monitoring_order_monitor_event_upserted'
13970
14098
  | 'shopify_monitoring_order_monitor_event_deleted'
13971
14099
  | 'stripe_authorization_deleted'
@@ -14048,6 +14176,7 @@ declare namespace io.flow.internal.v0.enums {
14048
14176
  type LabelCreationStatus = 'success' | 'error' | 'pending' | 'cancelled';
14049
14177
  type LabelTransactionType =
14050
14178
  | 'adjustment'
14179
+ | 'reversal'
14051
14180
  | 'billable_label'
14052
14181
  | 'fee'
14053
14182
  | 'revenue_share';
@@ -14174,7 +14303,7 @@ declare namespace io.flow.internal.v0.enums {
14174
14303
  | 'last_shipment'
14175
14304
  | 'shipment_exhausted';
14176
14305
  type OrderLifecycleEvent = 'order_placed' | 'ready_to_fulfill';
14177
- type OrderTransactionType = 'adjustment' | 'order_service';
14306
+ type OrderTransactionType = 'adjustment' | 'reversal' | 'order_service';
14178
14307
  type OrganizationCapability = 'organization' | 'flow' | 'dynamic';
14179
14308
  type OrganizationPaymentStatus = 'active' | 'archived';
14180
14309
  type OrganizationRestrictionApprovalStatus = 'ready' | 'not-ready';
@@ -14218,6 +14347,7 @@ declare namespace io.flow.internal.v0.enums {
14218
14347
  type PricingIndicatorStatus = 'complete' | 'in_progress';
14219
14348
  type ProcessingTransactionType =
14220
14349
  | 'adjustment'
14350
+ | 'reversal'
14221
14351
  | 'capture'
14222
14352
  | 'refund'
14223
14353
  | 'fully_subsidized_order'
@@ -14359,7 +14489,7 @@ declare namespace io.flow.internal.v0.enums {
14359
14489
  | 'ratecard';
14360
14490
  type TaxCalculationErrorCode = 'generic_error' | 'outside_of_jurisdiction';
14361
14491
  type TaxParty = 'consumer' | 'organization' | 'flow' | 'carrier';
14362
- type TaxTransactionType = 'adjustment' | 'tax';
14492
+ type TaxTransactionType = 'adjustment' | 'reversal' | 'tax';
14363
14493
  type TimeseriesType = 'daily' | 'weekly' | 'monthly' | 'yearly';
14364
14494
  type TrackingIntegrationType = 'api' | 'bulk' | 'aftership';
14365
14495
  type TransactionPostingMethod = 'time' | 'proof';
@@ -15399,6 +15529,7 @@ declare namespace io.flow.internal.v0.models {
15399
15529
  readonly adjustment: io.flow.common.v0.models.Price;
15400
15530
  readonly capture: io.flow.common.v0.models.Price;
15401
15531
  readonly refund: io.flow.common.v0.models.Price;
15532
+ readonly reversal: io.flow.common.v0.models.Price;
15402
15533
  readonly credit_payment: io.flow.common.v0.models.Price;
15403
15534
  readonly fully_subsidized_order: io.flow.common.v0.models.Price;
15404
15535
  readonly virtual_card_capture: io.flow.common.v0.models.Price;
@@ -16080,6 +16211,7 @@ declare namespace io.flow.internal.v0.models {
16080
16211
  interface ChannelTransaction {
16081
16212
  readonly discriminator: 'channel_transaction';
16082
16213
  readonly transaction: io.flow.internal.v0.models.TransactionReference;
16214
+ readonly fees: io.flow.internal.v0.models.Fee[];
16083
16215
  readonly id: string;
16084
16216
  readonly type: io.flow.internal.v0.enums.BillingTransactionType;
16085
16217
  readonly status: io.flow.internal.v0.enums.BillingTransactionStatus;
@@ -21060,6 +21192,11 @@ declare namespace io.flow.internal.v0.models {
21060
21192
  readonly url: string;
21061
21193
  }
21062
21194
 
21195
+ interface Hs6 {
21196
+ readonly code: string;
21197
+ readonly description: string;
21198
+ }
21199
+
21063
21200
  interface Hs6Metadata {
21064
21201
  readonly description: string;
21065
21202
  }
@@ -21644,6 +21781,7 @@ declare namespace io.flow.internal.v0.models {
21644
21781
  }
21645
21782
 
21646
21783
  interface LabelSummary {
21784
+ readonly id: string;
21647
21785
  readonly commercial_invoice?: string;
21648
21786
  readonly pdf?: string;
21649
21787
  readonly png?: string;
@@ -22474,7 +22612,6 @@ declare namespace io.flow.internal.v0.models {
22474
22612
  readonly legal_name: string;
22475
22613
  readonly shop_name: string;
22476
22614
  readonly organization_id: string;
22477
- readonly onboarding_state: io.flow.organization.onboarding.state.v0.models.OrganizationOnboardingState;
22478
22615
  readonly onboarding_current_state: io.flow.organization.onboarding.state.v0.unions.OnboardingState;
22479
22616
  readonly gmv: number;
22480
22617
  }
@@ -23681,12 +23818,6 @@ declare namespace io.flow.internal.v0.models {
23681
23818
  readonly label_tracking_summary_id: string;
23682
23819
  }
23683
23820
 
23684
- interface ProofOfPostingFullyRefunded {
23685
- readonly discriminator: 'fully_refunded';
23686
- readonly capture_id: string;
23687
- readonly refund_ids: string[];
23688
- }
23689
-
23690
23821
  interface ProofOfPostingOrderCancellation {
23691
23822
  readonly discriminator: 'order_cancellation';
23692
23823
  readonly order_cancellation_id: string;
@@ -24576,6 +24707,14 @@ declare namespace io.flow.internal.v0.models {
24576
24707
  readonly access_token_masked?: string;
24577
24708
  }
24578
24709
 
24710
+ interface ShopifyMarketsShopDeleted {
24711
+ readonly discriminator: 'shopify_markets_shop_deleted';
24712
+ readonly event_id: string;
24713
+ readonly timestamp: string;
24714
+ readonly organization: string;
24715
+ readonly id: string;
24716
+ }
24717
+
24579
24718
  interface ShopifyMarketsShopForm {
24580
24719
  readonly shop: string;
24581
24720
  readonly domain: string;
@@ -24591,6 +24730,14 @@ declare namespace io.flow.internal.v0.models {
24591
24730
  readonly channel: io.flow.common.v0.models.ChannelReference;
24592
24731
  }
24593
24732
 
24733
+ interface ShopifyMarketsShopUpserted {
24734
+ readonly discriminator: 'shopify_markets_shop_upserted';
24735
+ readonly event_id: string;
24736
+ readonly timestamp: string;
24737
+ readonly organization: string;
24738
+ readonly shopify_markets_shop: io.flow.internal.v0.models.ShopifyMarketsShop;
24739
+ }
24740
+
24594
24741
  interface ShopifyMarketsSubsidiaryCompany {
24595
24742
  readonly legal_name?: string;
24596
24743
  readonly incorporation_country?: io.flow.internal.v0.models.ShopifyMarketsIncorporationCountry;
@@ -24634,7 +24781,6 @@ declare namespace io.flow.internal.v0.models {
24634
24781
  readonly organization_reference: io.flow.common.v0.models.OrganizationReference;
24635
24782
  readonly order_number: string;
24636
24783
  readonly monitor: io.flow.internal.v0.unions.ShopifyMonitoringOrderMonitorType;
24637
- readonly created_at: string;
24638
24784
  }
24639
24785
 
24640
24786
  interface ShopifyMonitoringOrderMonitorEventDeleted {
@@ -24656,15 +24802,9 @@ declare namespace io.flow.internal.v0.models {
24656
24802
  interface ShopifyMonitoringOrderMonitorReview {
24657
24803
  readonly id: string;
24658
24804
  readonly order_monitor: io.flow.internal.v0.models.ShopifyMonitoringOrderMonitor;
24659
- readonly order_details: io.flow.internal.v0.models.ShopifyMonitoringOrderMonitorReviewOrderDetails;
24660
24805
  readonly status: io.flow.internal.v0.enums.ShopifyMonitoringMonitorReviewStatus;
24661
24806
  }
24662
24807
 
24663
- interface ShopifyMonitoringOrderMonitorReviewOrderDetails {
24664
- readonly organization: string;
24665
- readonly shopify_order: io.flow.shopify.markets.v0.models.ShopifyOrder;
24666
- }
24667
-
24668
24808
  interface ShopifyMonitoringTrackingNumber {
24669
24809
  readonly number: string;
24670
24810
  }
@@ -25644,8 +25784,8 @@ declare namespace io.flow.internal.v0.models {
25644
25784
 
25645
25785
  interface TransactionAdjustment {
25646
25786
  readonly id: string;
25647
- readonly original_transaction: io.flow.internal.v0.models.ProcessingTransactionReference;
25648
- readonly adjustment_transaction: io.flow.internal.v0.models.ProcessingTransactionReference;
25787
+ readonly original_transaction: io.flow.internal.v0.models.TransactionReference;
25788
+ readonly adjustment_transaction?: io.flow.internal.v0.models.TransactionReference;
25649
25789
  readonly description: string;
25650
25790
  readonly details: io.flow.internal.v0.unions.AdjustmentDetails;
25651
25791
  }
@@ -25654,6 +25794,7 @@ declare namespace io.flow.internal.v0.models {
25654
25794
  readonly original_transaction_id: string;
25655
25795
  readonly description: string;
25656
25796
  readonly details: io.flow.internal.v0.unions.AdjustmentDetails;
25797
+ readonly type?: io.flow.internal.v0.enums.AdjustmentTransactionType;
25657
25798
  }
25658
25799
 
25659
25800
  interface TransactionReference {
@@ -26642,6 +26783,8 @@ declare namespace io.flow.internal.v0.unions {
26642
26783
  | io.flow.internal.v0.models.ShopifyExperienceShortIdDeleted
26643
26784
  | io.flow.internal.v0.models.ShopifyMarketsOrderUpserted
26644
26785
  | io.flow.internal.v0.models.ShopifyMarketsOrderDeleted
26786
+ | io.flow.internal.v0.models.ShopifyMarketsShopUpserted
26787
+ | io.flow.internal.v0.models.ShopifyMarketsShopDeleted
26645
26788
  | io.flow.internal.v0.models.ShopifyMonitoringOrderMonitorEventUpserted
26646
26789
  | io.flow.internal.v0.models.ShopifyMonitoringOrderMonitorEventDeleted
26647
26790
  | io.flow.internal.v0.models.StripeAuthorizationDeleted
@@ -26853,7 +26996,6 @@ declare namespace io.flow.internal.v0.unions {
26853
26996
  type ProofOfPosting =
26854
26997
  | io.flow.internal.v0.models.ProofOfPostingFulfilled
26855
26998
  | io.flow.internal.v0.models.ProofOfPostingExternallyFulfilled
26856
- | io.flow.internal.v0.models.ProofOfPostingFullyRefunded
26857
26999
  | io.flow.internal.v0.models.ProofOfPostingShippingNotification
26858
27000
  | io.flow.internal.v0.models.ProofOfPostingOrderCancellation;
26859
27001
  type RoutingEntity =
@@ -26993,6 +27135,8 @@ export type AdjustmentDetailsProcessingTransactionFee =
26993
27135
  io.flow.internal.v0.models.AdjustmentDetailsProcessingTransactionFee;
26994
27136
  export type AdjustmentDetailsProcessingTransactionWithholding =
26995
27137
  io.flow.internal.v0.models.AdjustmentDetailsProcessingTransactionWithholding;
27138
+ export type AdjustmentTransactionType =
27139
+ io.flow.internal.v0.enums.AdjustmentTransactionType;
26996
27140
  export type AdyenAccount = io.flow.internal.v0.models.AdyenAccount;
26997
27141
  export type AdyenAccountModificationForm =
26998
27142
  io.flow.internal.v0.models.AdyenAccountModificationForm;
@@ -29079,6 +29223,7 @@ export type HeapWebsocketResponse =
29079
29223
  io.flow.internal.v0.models.HeapWebsocketResponse;
29080
29224
  export type HeapWebsocketRetry = io.flow.internal.v0.models.HeapWebsocketRetry;
29081
29225
  export type Href = io.flow.internal.v0.models.Href;
29226
+ export type Hs6 = io.flow.internal.v0.models.Hs6;
29082
29227
  export type Hs6Metadata = io.flow.internal.v0.models.Hs6Metadata;
29083
29228
  export type HttpMethod = io.flow.internal.v0.enums.HttpMethod;
29084
29229
  export type HybrisCatalogItemsImportRequest =
@@ -29828,8 +29973,6 @@ export type ProofOfPostingExternallyFulfilled =
29828
29973
  io.flow.internal.v0.models.ProofOfPostingExternallyFulfilled;
29829
29974
  export type ProofOfPostingFulfilled =
29830
29975
  io.flow.internal.v0.models.ProofOfPostingFulfilled;
29831
- export type ProofOfPostingFullyRefunded =
29832
- io.flow.internal.v0.models.ProofOfPostingFullyRefunded;
29833
29976
  export type ProofOfPostingOrderCancellation =
29834
29977
  io.flow.internal.v0.models.ProofOfPostingOrderCancellation;
29835
29978
  export type ProofOfPostingShippingNotification =
@@ -30059,10 +30202,14 @@ export type ShopifyMarketsOrderDeleted =
30059
30202
  export type ShopifyMarketsOrderUpserted =
30060
30203
  io.flow.internal.v0.models.ShopifyMarketsOrderUpserted;
30061
30204
  export type ShopifyMarketsShop = io.flow.internal.v0.models.ShopifyMarketsShop;
30205
+ export type ShopifyMarketsShopDeleted =
30206
+ io.flow.internal.v0.models.ShopifyMarketsShopDeleted;
30062
30207
  export type ShopifyMarketsShopForm =
30063
30208
  io.flow.internal.v0.models.ShopifyMarketsShopForm;
30064
30209
  export type ShopifyMarketsShopSummary =
30065
30210
  io.flow.internal.v0.models.ShopifyMarketsShopSummary;
30211
+ export type ShopifyMarketsShopUpserted =
30212
+ io.flow.internal.v0.models.ShopifyMarketsShopUpserted;
30066
30213
  export type ShopifyMarketsSubsidiaryCompany =
30067
30214
  io.flow.internal.v0.models.ShopifyMarketsSubsidiaryCompany;
30068
30215
  export type ShopifyMarketsSync = io.flow.internal.v0.models.ShopifyMarketsSync;
@@ -30087,8 +30234,6 @@ export type ShopifyMonitoringOrderMonitorEventUpserted =
30087
30234
  io.flow.internal.v0.models.ShopifyMonitoringOrderMonitorEventUpserted;
30088
30235
  export type ShopifyMonitoringOrderMonitorReview =
30089
30236
  io.flow.internal.v0.models.ShopifyMonitoringOrderMonitorReview;
30090
- export type ShopifyMonitoringOrderMonitorReviewOrderDetails =
30091
- io.flow.internal.v0.models.ShopifyMonitoringOrderMonitorReviewOrderDetails;
30092
30237
  export type ShopifyMonitoringOrderMonitorType =
30093
30238
  io.flow.internal.v0.unions.ShopifyMonitoringOrderMonitorType;
30094
30239
  export type ShopifyMonitoringTrackingField =
package/src/api.ts CHANGED
@@ -3022,12 +3022,13 @@ declare namespace io.flow.v0.enums {
3022
3022
  | 'refund'
3023
3023
  | 'dispute'
3024
3024
  | 'adjustment'
3025
+ | 'reversal'
3025
3026
  | 'shipping_label'
3026
3027
  | 'shipping_label_service'
3027
3028
  | 'shipping_label_revenue_share'
3028
3029
  | 'platform_fee'
3029
3030
  | 'tax'
3030
- | 'duties'
3031
+ | 'duty'
3031
3032
  | 'other_adjustment'
3032
3033
  | 'tax_adjustment'
3033
3034
  | 'channel'
@@ -3491,11 +3492,6 @@ declare namespace io.flow.v0.models {
3491
3492
  readonly display_name?: string;
3492
3493
  }
3493
3494
 
3494
- interface ApplicationReceived {
3495
- readonly discriminator: 'application_received';
3496
- readonly placeholder?: boolean;
3497
- }
3498
-
3499
3495
  interface AtCost {
3500
3496
  readonly discriminator: 'at_cost';
3501
3497
  readonly ignore?: string;
@@ -9193,6 +9189,16 @@ declare namespace io.flow.v0.models {
9193
9189
 
9194
9190
  interface PaymentMethodDataAuthorizeApplepay {
9195
9191
  readonly type: 'authorize_applepay';
9192
+ readonly result: io.flow.v0.unions.PaymentMethodDataAuthorizeApplepayResult;
9193
+ }
9194
+
9195
+ interface PaymentMethodDataAuthorizeApplepayResultFailure {
9196
+ readonly type: 'failure';
9197
+ readonly placeholder?: string;
9198
+ }
9199
+
9200
+ interface PaymentMethodDataAuthorizeApplepayResultSuccess {
9201
+ readonly type: 'success';
9196
9202
  readonly token: string;
9197
9203
  }
9198
9204
 
@@ -13016,7 +13022,6 @@ declare namespace io.flow.v0.unions {
13016
13022
  type MerchantApplicationsSummary =
13017
13023
  io.flow.v0.models.ShopifyMerchantApplicationsSummary;
13018
13024
  type OnboardingState =
13019
- | io.flow.v0.models.ApplicationReceived
13020
13025
  | io.flow.v0.models.InComplianceReview
13021
13026
  | io.flow.v0.models.SetupInProgress
13022
13027
  | io.flow.v0.models.MerchantRejected
@@ -13077,6 +13082,9 @@ declare namespace io.flow.v0.unions {
13077
13082
  | io.flow.v0.models.PaymentMethodDataAuthorizeKlarna
13078
13083
  | io.flow.v0.models.PaymentMethodDataSelectedPaymentOption
13079
13084
  | io.flow.v0.models.PaymentMethodDataCompleteAuthorizationCard;
13085
+ type PaymentMethodDataAuthorizeApplepayResult =
13086
+ | io.flow.v0.models.PaymentMethodDataAuthorizeApplepayResultSuccess
13087
+ | io.flow.v0.models.PaymentMethodDataAuthorizeApplepayResultFailure;
13080
13088
  type PaymentMethodDataAuthorizeKlarnaResult =
13081
13089
  | io.flow.v0.models.PaymentMethodDataAuthorizeKlarnaResultSuccess
13082
13090
  | io.flow.v0.models.PaymentMethodDataAuthorizeKlarnaResultFailure;
@@ -13298,7 +13306,6 @@ export type AmountMarginForm = io.flow.v0.models.AmountMarginForm;
13298
13306
  export type AnalyticsExportType = io.flow.v0.models.AnalyticsExportType;
13299
13307
  export type ApplePayMerchantValidationPayload =
13300
13308
  io.flow.v0.models.ApplePayMerchantValidationPayload;
13301
- export type ApplicationReceived = io.flow.v0.models.ApplicationReceived;
13302
13309
  export type AtCost = io.flow.v0.models.AtCost;
13303
13310
  export type Attachment = io.flow.v0.models.Attachment;
13304
13311
  export type AttachmentType = io.flow.v0.enums.AttachmentType;
@@ -14550,6 +14557,12 @@ export type PaymentMethodCardToken = io.flow.v0.models.PaymentMethodCardToken;
14550
14557
  export type PaymentMethodData = io.flow.v0.unions.PaymentMethodData;
14551
14558
  export type PaymentMethodDataAuthorizeApplepay =
14552
14559
  io.flow.v0.models.PaymentMethodDataAuthorizeApplepay;
14560
+ export type PaymentMethodDataAuthorizeApplepayResult =
14561
+ io.flow.v0.unions.PaymentMethodDataAuthorizeApplepayResult;
14562
+ export type PaymentMethodDataAuthorizeApplepayResultFailure =
14563
+ io.flow.v0.models.PaymentMethodDataAuthorizeApplepayResultFailure;
14564
+ export type PaymentMethodDataAuthorizeApplepayResultSuccess =
14565
+ io.flow.v0.models.PaymentMethodDataAuthorizeApplepayResultSuccess;
14553
14566
  export type PaymentMethodDataAuthorizeCard =
14554
14567
  io.flow.v0.models.PaymentMethodDataAuthorizeCard;
14555
14568
  export type PaymentMethodDataAuthorizeGooglepay =