@flowio/types 11.24.79 → 11.24.81

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.
@@ -1931,9 +1931,16 @@ declare namespace io.flow.billing.csv.v0.models {
1931
1931
  interface BillingCsvTransactionMetadata {
1932
1932
  readonly channel?: io.flow.billing.csv.v0.models.BillingCsvTransactionMetadataChannel;
1933
1933
  readonly shipping_label?: io.flow.billing.csv.v0.models.BillingCsvTransactionMetadataShippingLabel;
1934
+ readonly shipping_label_revenue_share?: io.flow.billing.csv.v0.models.BillingCsvTransactionMetadataShippingLabelRevenueShare;
1934
1935
  readonly trueup?: io.flow.billing.csv.v0.models.BillingCsvTransactionMetadataTrueup;
1936
+ readonly carrier_charge?: io.flow.billing.csv.v0.models.BillingCsvTransactionMetadataCarrierCharge;
1935
1937
  readonly manual?: io.flow.billing.csv.v0.models.BillingCsvTransactionMetadataManual;
1936
1938
  }
1939
+ interface BillingCsvTransactionMetadataCarrierCharge {
1940
+ readonly reason: io.flow.trueup.v0.enums.CarrierChargeReason;
1941
+ readonly carrier_id: string;
1942
+ readonly carrier_tracking_number: string;
1943
+ }
1937
1944
  interface BillingCsvTransactionMetadataChannel {
1938
1945
  readonly method: string;
1939
1946
  readonly card?: io.flow.billing.v0.models.TransactionMetadataChannelCardMetadata;
@@ -1945,6 +1952,11 @@ declare namespace io.flow.billing.csv.v0.models {
1945
1952
  interface BillingCsvTransactionMetadataShippingLabel {
1946
1953
  readonly request_method?: io.flow.label.v0.enums.LabelRequestMethod;
1947
1954
  }
1955
+ interface BillingCsvTransactionMetadataShippingLabelRevenueShare {
1956
+ readonly label_id: string;
1957
+ readonly base_amount?: number;
1958
+ readonly percentage?: number;
1959
+ }
1948
1960
  interface BillingCsvTransactionMetadataTrueup {
1949
1961
  readonly original: io.flow.billing.v0.models.TransactionMetadataOriginalTransaction;
1950
1962
  }
@@ -5408,6 +5420,9 @@ declare namespace io.flow.shopify.external.v0.models {
5408
5420
  }
5409
5421
  }
5410
5422
  declare namespace io.flow.shopify.markets.v0.enums {
5423
+ type BulkOperationErrorCode = 'access_denied' | 'internal_server_error' | 'timeout';
5424
+ type BulkOperationStatus = 'canceled' | 'canceling' | 'completed' | 'created' | 'expired' | 'failed' | 'running';
5425
+ type BulkOperationType = 'mutation' | 'query';
5411
5426
  type CancelReason = 'customer' | 'fraud' | 'inventory' | 'declined' | 'other';
5412
5427
  type FulfillmentOrderDeliveryMethodType = 'local' | 'none' | 'pick_up' | 'retail' | 'shipping';
5413
5428
  type IncotermDuties = 'DAP' | 'DDP';
@@ -5438,7 +5453,7 @@ declare namespace io.flow.shopify.markets.v0.enums {
5438
5453
  type ShopifyOrderValueType = 'string' | 'integer';
5439
5454
  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';
5440
5455
  type ShopifyWebhookFormat = 'json' | 'xml';
5441
- type ShopifyWebhookTopic = 'customers/redact' | 'customers/data_request' | 'locations/create' | 'locations/update' | 'locations/delete' | 'order_transactions/create' | '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';
5456
+ type ShopifyWebhookTopic = 'customers/redact' | 'customers/data_request' | 'locations/create' | 'locations/update' | 'locations/delete' | 'order_transactions/create' | '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' | 'bulk_operations/finish';
5442
5457
  }
5443
5458
  declare namespace io.flow.shopify.markets.v0.models {
5444
5459
  interface FulfillmentOrderInternationalDuties {
@@ -5505,6 +5520,14 @@ declare namespace io.flow.shopify.markets.v0.models {
5505
5520
  readonly value_type?: io.flow.shopify.markets.v0.enums.ShopifyDiscountValueType;
5506
5521
  readonly amount?: number;
5507
5522
  }
5523
+ interface ShopifyBulkOperationsFinish {
5524
+ readonly admin_graphql_api_id: string;
5525
+ readonly completed_at?: string;
5526
+ readonly created_at: string;
5527
+ readonly error_code?: io.flow.shopify.markets.v0.enums.BulkOperationErrorCode;
5528
+ readonly status: io.flow.shopify.markets.v0.enums.BulkOperationStatus;
5529
+ readonly type: io.flow.shopify.markets.v0.enums.BulkOperationType;
5530
+ }
5508
5531
  interface ShopifyCountryHarmonizedSystemCode {
5509
5532
  readonly country_code: string;
5510
5533
  readonly harmonized_system_code: string;
@@ -6388,6 +6411,8 @@ declare namespace io.flow.payment.gateway.v0.models {
6388
6411
  readonly status: io.flow.payment.gateway.v0.models.PaymentAuthorizationStatus;
6389
6412
  readonly amount: number;
6390
6413
  readonly currency: string;
6414
+ readonly base_amount?: number;
6415
+ readonly base_currency?: string;
6391
6416
  }
6392
6417
  interface PaymentAuthorizationStatus {
6393
6418
  readonly status: io.flow.payment.v0.enums.AuthorizationStatus;
@@ -6397,6 +6422,8 @@ declare namespace io.flow.payment.gateway.v0.models {
6397
6422
  readonly id: string;
6398
6423
  readonly amount: number;
6399
6424
  readonly currency: string;
6425
+ readonly base_amount?: number;
6426
+ readonly base_currency?: string;
6400
6427
  readonly created_at: string;
6401
6428
  readonly updated_at: string;
6402
6429
  readonly status: io.flow.payment.gateway.v0.models.PaymentCaptureStatus;
@@ -6651,6 +6678,8 @@ declare namespace io.flow.payment.gateway.v0.models {
6651
6678
  readonly id: string;
6652
6679
  readonly amount: number;
6653
6680
  readonly currency: string;
6681
+ readonly base_amount?: number;
6682
+ readonly base_currency?: string;
6654
6683
  readonly created_at: string;
6655
6684
  readonly updated_at: string;
6656
6685
  readonly status: io.flow.payment.gateway.v0.models.PaymentRefundStatus;
@@ -6673,6 +6702,8 @@ declare namespace io.flow.payment.gateway.v0.models {
6673
6702
  readonly next_action?: io.flow.payment.gateway.v0.unions.Action;
6674
6703
  readonly amount: number;
6675
6704
  readonly currency: string;
6705
+ readonly base_amount?: number;
6706
+ readonly base_currency?: string;
6676
6707
  readonly order_information: io.flow.payment.gateway.v0.unions.OrderInformation;
6677
6708
  readonly device_details: io.flow.payment.v0.unions.DeviceDetails;
6678
6709
  readonly locale?: string;
@@ -6713,6 +6744,8 @@ declare namespace io.flow.payment.gateway.v0.models {
6713
6744
  readonly id: string;
6714
6745
  readonly amount: number;
6715
6746
  readonly currency: string;
6747
+ readonly base_amount?: number;
6748
+ readonly base_currency?: string;
6716
6749
  readonly created_at: string;
6717
6750
  readonly updated_at: string;
6718
6751
  readonly status: io.flow.payment.gateway.v0.models.PaymentReversalStatus;
@@ -6823,6 +6856,10 @@ declare namespace io.flow.channel.internal.v0.models {
6823
6856
  readonly order_created_at?: string;
6824
6857
  readonly order_updated_at?: string;
6825
6858
  }
6859
+ interface ChannelOrderAcceptanceDetails {
6860
+ readonly order_acceptance: io.flow.channel.internal.v0.models.ChannelOrderAcceptance;
6861
+ readonly external_order: any;
6862
+ }
6826
6863
  interface ChannelOrderAcceptanceForm {
6827
6864
  readonly status: io.flow.channel.internal.v0.enums.ChannelOrderAcceptanceStatus;
6828
6865
  }
@@ -6834,1571 +6871,1593 @@ declare namespace io.flow.channel.internal.v0.models {
6834
6871
  readonly placeholder?: string;
6835
6872
  }
6836
6873
  }
6837
- declare namespace io.flow.payment.internal.v0.enums {
6838
- type AdyenIntegrationType = 'hosted_payment_page' | 'checkout_payments_api' | 'classic_authorise_api';
6839
- type ChargebackPaymentStatus = 'captured' | 'refunded';
6840
- type ChargebackProcessStatus = 'inquiry' | 'open' | 'closed';
6841
- type HttpMethod = 'get' | 'post';
6842
- type OrganizationCapability = 'organization' | 'flow' | 'dynamic';
6843
- type OrganizationPaymentStatus = 'active' | 'archived';
6844
- type Owner = 'flow' | 'organization';
6845
- type Processor = 'adyen' | 'afterpay' | 'bitpay' | 'stripe' | 'paypal' | 'flow_sandbox' | 'fiserv' | 'crypto';
6846
- type ProcessorEntityStatus = 'active' | 'draft' | 'archived';
6847
- type RedirectReason = 'three_d_secure';
6848
- type RiskCheck = 'three_d_secure';
6874
+ declare namespace io.flow.partner.v0.enums {
6875
+ type LabelFormat = 'pdf' | 'zpl' | 'all';
6849
6876
  }
6850
- declare namespace io.flow.payment.internal.v0.models {
6851
- interface AdyenAccount {
6852
- readonly discriminator: 'adyen_account';
6853
- readonly id: string;
6854
- readonly organization_id: string;
6855
- readonly key: string;
6856
- readonly owner: io.flow.payment.internal.v0.enums.Owner;
6857
- readonly name: string;
6858
- readonly ui_reference: string;
6859
- readonly authentication: io.flow.payment.internal.v0.models.AdyenAuthentication;
6860
- readonly country: string;
6861
- readonly status: io.flow.payment.internal.v0.enums.ProcessorEntityStatus;
6862
- readonly organization_capability: io.flow.payment.internal.v0.enums.OrganizationCapability;
6863
- readonly created_at: string;
6864
- readonly updated_at: string;
6865
- }
6866
- interface AdyenAccountModificationForm {
6867
- readonly discriminator: 'adyen_account_modification_form';
6868
- readonly owner: io.flow.payment.internal.v0.enums.Owner;
6869
- readonly name: string;
6870
- readonly ui_reference: string;
6871
- readonly country: string;
6872
- readonly status: io.flow.payment.internal.v0.enums.ProcessorEntityStatus;
6873
- }
6874
- interface AdyenAccountPutForm {
6875
- readonly discriminator: 'adyen_account_put_form';
6876
- readonly owner?: io.flow.payment.internal.v0.enums.Owner;
6877
- readonly name: string;
6878
- readonly ui_reference: string;
6879
- readonly authentication: io.flow.payment.internal.v0.models.AdyenAuthenticationForm;
6880
- readonly country: string;
6881
- readonly status?: io.flow.payment.internal.v0.enums.ProcessorEntityStatus;
6882
- readonly organization_capability?: io.flow.payment.internal.v0.enums.OrganizationCapability;
6877
+ declare namespace io.flow.partner.v0.models {
6878
+ interface BridgeHub {
6879
+ readonly hub_code: string;
6880
+ readonly address: io.flow.fulfillment.v0.models.ShippingAddress;
6883
6881
  }
6884
- interface AdyenAuthentication {
6885
- readonly username: string;
6886
- readonly password_reference: string;
6887
- readonly signature_secret_reference: string;
6882
+ interface BridgeLabelForm {
6883
+ readonly discriminator: 'bridge_label_form';
6884
+ readonly organization: string;
6885
+ readonly order_number: string;
6886
+ readonly package: io.flow.partner.v0.models.BridgeLabelPackage;
6887
+ readonly hub?: io.flow.partner.v0.models.BridgeHub;
6888
6888
  }
6889
- interface AdyenAuthenticationDataReference {
6890
- readonly account_id: string;
6891
- readonly merchant_account: string;
6892
- readonly origin_key?: string;
6893
- readonly integration_type?: io.flow.payment.internal.v0.enums.AdyenIntegrationType;
6889
+ interface BridgeLabelPackage {
6890
+ readonly dimensions?: io.flow.common.v0.models.Dimension;
6891
+ readonly items: io.flow.common.v0.models.LineItemForm[];
6892
+ readonly reference_number: string;
6894
6893
  }
6895
- interface AdyenAuthenticationForm {
6896
- readonly username: string;
6897
- readonly password: string;
6898
- readonly signature_secret: string;
6894
+ interface DetailedLabelForm {
6895
+ readonly discriminator: 'detailed_label_form';
6896
+ readonly organization: string;
6897
+ readonly destination: io.flow.fulfillment.v0.models.ShippingAddress;
6898
+ readonly order_number: string;
6899
+ readonly origin: io.flow.fulfillment.v0.models.ShippingAddress;
6900
+ readonly package: io.flow.label.v0.models.ShippingLabelPackage;
6901
+ readonly service?: string;
6902
+ readonly references?: string[];
6899
6903
  }
6900
- interface AdyenMerchant {
6901
- readonly discriminator: 'adyen_merchant';
6904
+ interface Label {
6902
6905
  readonly id: string;
6903
- readonly key: string;
6904
- readonly organization_id: string;
6905
- readonly external_id: string;
6906
- readonly processor_account_reference: io.flow.payment.internal.v0.models.ProcessorAccountReference;
6907
- readonly country: string;
6908
- readonly status: io.flow.payment.internal.v0.enums.ProcessorEntityStatus;
6909
- readonly organization_capability: io.flow.payment.internal.v0.enums.OrganizationCapability;
6910
- readonly created_at: string;
6911
- readonly updated_at: string;
6912
- }
6913
- interface AdyenMerchantModificationForm {
6914
- readonly discriminator: 'adyen_merchant_modification_form';
6915
- readonly external_id: string;
6916
- readonly country: string;
6917
- readonly status: io.flow.payment.internal.v0.enums.ProcessorEntityStatus;
6918
- }
6919
- interface AdyenMerchantPutForm {
6920
- readonly discriminator: 'adyen_merchant_put_form';
6921
- readonly organization_id: string;
6922
- readonly external_id: string;
6923
- readonly country: string;
6924
- readonly status?: io.flow.payment.internal.v0.enums.ProcessorEntityStatus;
6925
- readonly organization_capability?: io.flow.payment.internal.v0.enums.OrganizationCapability;
6906
+ readonly organization: io.flow.partner.v0.models.PartnerOrganizationReference;
6907
+ readonly order_number: string;
6908
+ readonly package: io.flow.label.v0.models.ShippingLabelPackage;
6909
+ readonly carrier_tracking_number: string;
6910
+ readonly carrier_tracking_number_url: string;
6911
+ readonly destination: io.flow.fulfillment.v0.models.ShippingAddress;
6912
+ readonly flow_tracking_number: string;
6913
+ readonly flow_tracking_number_url: string;
6914
+ readonly origin: io.flow.fulfillment.v0.models.ShippingAddress;
6915
+ readonly service: io.flow.fulfillment.v0.models.ServiceSummary;
6916
+ readonly window: io.flow.common.v0.models.DatetimeRange;
6917
+ readonly zpl?: string;
6918
+ readonly pdf?: string;
6919
+ readonly png?: string;
6920
+ readonly commercial_invoice?: string;
6921
+ readonly references?: string[];
6922
+ readonly label?: io.flow.label.v0.models.ShippingLabelDocument;
6923
+ readonly invoice?: io.flow.label.v0.models.ShippingLabelDocument;
6924
+ readonly cost?: io.flow.common.v0.models.Price;
6925
+ readonly shipment_recipient?: io.flow.label.v0.enums.ShipmentRecipient;
6926
6926
  }
6927
- interface AdyenPaymentDetailsForm {
6928
- readonly fingerprint?: string;
6929
- readonly challenge_result?: string;
6927
+ interface PartnerBridgeManifest {
6928
+ readonly id: string;
6929
+ readonly organization: io.flow.partner.v0.models.PartnerOrganizationReference;
6930
+ readonly service: io.flow.fulfillment.v0.models.ServiceSummary;
6931
+ readonly pdf: string;
6932
+ readonly data: string;
6930
6933
  }
6931
- interface AdyenRefundForm {
6932
- readonly discriminator: 'adyen_refund_form';
6933
- readonly amount: number;
6934
- readonly authorization_id: string;
6935
- readonly capture_id: string;
6936
- readonly currency: string;
6937
- readonly psp_reference: string;
6938
- readonly key?: string;
6934
+ interface PartnerBridgeManifestForm {
6935
+ readonly order_numbers: string[];
6939
6936
  }
6940
- interface AfterpayAccount {
6941
- readonly discriminator: 'afterpay_account';
6942
- readonly id: string;
6943
- readonly organization_id: string;
6937
+ interface PartnerFulfillment {
6938
+ readonly organization: string;
6944
6939
  readonly key: string;
6945
- readonly owner: io.flow.payment.internal.v0.enums.Owner;
6946
- readonly country: string;
6947
- readonly authentication: io.flow.payment.internal.v0.models.AfterpayAuthentication;
6948
- readonly status: io.flow.payment.internal.v0.enums.ProcessorEntityStatus;
6949
- readonly organization_capability: io.flow.payment.internal.v0.enums.OrganizationCapability;
6950
- readonly created_at: string;
6951
- readonly updated_at: string;
6940
+ readonly number: string;
6941
+ readonly items: io.flow.order.management.v0.models.FulfillmentItem[];
6942
+ readonly center?: io.flow.fulfillment.v0.models.CenterSummary[];
6952
6943
  }
6953
- interface AfterpayAccountModificationForm {
6954
- readonly discriminator: 'afterpay_account_modification_form';
6955
- readonly owner: io.flow.payment.internal.v0.enums.Owner;
6956
- readonly country: string;
6957
- readonly status: io.flow.payment.internal.v0.enums.ProcessorEntityStatus;
6944
+ interface PartnerFulfillmentCancellationForm {
6945
+ readonly change_source: io.flow.order.management.v0.enums.OrderChangeSource;
6946
+ readonly reason: io.flow.order.management.v0.enums.CancelReason;
6947
+ readonly lines: io.flow.order.management.v0.models.FulfillmentLineCancelForm[];
6958
6948
  }
6959
- interface AfterpayAccountPutForm {
6960
- readonly discriminator: 'afterpay_account_put_form';
6961
- readonly owner?: io.flow.payment.internal.v0.enums.Owner;
6962
- readonly country: string;
6963
- readonly authentication: io.flow.payment.internal.v0.models.AfterpayAuthenticationForm;
6964
- readonly status?: io.flow.payment.internal.v0.enums.ProcessorEntityStatus;
6965
- readonly organization_capability?: io.flow.payment.internal.v0.enums.OrganizationCapability;
6949
+ interface PartnerFulfillmentCompleteCancellationForm {
6950
+ readonly change_source: io.flow.order.management.v0.enums.OrderChangeSource;
6951
+ readonly reason: io.flow.order.management.v0.enums.CancelReason;
6966
6952
  }
6967
- interface AfterpayAuthentication {
6968
- readonly username: string;
6969
- readonly password_reference: string;
6953
+ interface PartnerManifest {
6954
+ readonly id: string;
6955
+ readonly organization: io.flow.partner.v0.models.PartnerOrganizationReference;
6956
+ readonly service?: io.flow.fulfillment.v0.models.ServiceSummary;
6957
+ readonly timestamp: string;
6958
+ readonly shipping_labels: io.flow.label.v0.models.ShippingLabelSummary[];
6959
+ readonly pdf?: string;
6970
6960
  }
6971
- interface AfterpayAuthenticationDataReference {
6972
- readonly account_id: string;
6961
+ interface PartnerManifestForm {
6962
+ readonly tracking_numbers: string[];
6963
+ readonly service?: string;
6973
6964
  }
6974
- interface AfterpayAuthenticationForm {
6975
- readonly username: string;
6976
- readonly password: string;
6965
+ interface PartnerOrderIdentifier {
6966
+ readonly id: string;
6967
+ readonly organization: io.flow.partner.v0.models.PartnerOrganizationReference;
6968
+ readonly order: io.flow.partner.v0.models.PartnerOrderReference;
6969
+ readonly number: string;
6977
6970
  }
6978
- interface ApplePayAuthorizationPayload {
6979
- readonly discriminator: 'apple_pay_authorization_payload';
6980
- readonly apple_pay_token: string;
6971
+ interface PartnerOrderIdentifierForm {
6972
+ readonly number: string;
6973
+ readonly order_number: string;
6981
6974
  }
6982
- interface AuthenticationForm {
6983
- readonly password: string;
6975
+ interface PartnerOrderIdentifierPutForm {
6976
+ readonly order_number: string;
6984
6977
  }
6985
- interface AuthorizationBundle {
6978
+ interface PartnerOrderReference {
6986
6979
  readonly id: string;
6987
- readonly organization_id: string;
6988
- readonly authorization_reference: io.flow.payment.v0.models.AuthorizationReference;
6989
- readonly payment_request_reference: io.flow.payment.gateway.v0.models.PaymentRequestReference;
6990
- readonly billing?: io.flow.payment.request.bundle.v0.models.PaymentRequestBilling;
6991
- }
6992
- interface AuthorizationMetadata {
6993
- readonly limit?: number;
6980
+ readonly number: string;
6994
6981
  }
6995
- interface AuthorizationParameters {
6996
- readonly method: string;
6997
- readonly parameters: any;
6982
+ interface PartnerOrganizationReference {
6983
+ readonly id: string;
6998
6984
  }
6999
- interface AuthorizationParametersForm {
6985
+ interface SummaryLabelForm {
6986
+ readonly discriminator: 'summary_label_form';
6987
+ readonly organization: string;
7000
6988
  readonly order_number: string;
7001
- readonly amount: number;
7002
- readonly currency: string;
7003
- readonly billing_address?: io.flow.common.v0.models.BillingAddress;
7004
- readonly ip?: string;
7005
- readonly origin_url?: string;
6989
+ readonly items?: io.flow.common.v0.models.LineItemForm[];
6990
+ readonly package?: io.flow.label.v0.models.ShippingLabelPackage;
6991
+ readonly center_key?: string;
7006
6992
  }
7007
- interface BitpayAccount {
7008
- readonly discriminator: 'bitpay_account';
7009
- readonly id: string;
7010
- readonly organization_id: string;
7011
- readonly key: string;
7012
- readonly owner: io.flow.payment.internal.v0.enums.Owner;
7013
- readonly authentication: io.flow.payment.internal.v0.models.BitpayAuthentication;
7014
- readonly country: string;
7015
- readonly status: io.flow.payment.internal.v0.enums.ProcessorEntityStatus;
7016
- readonly organization_capability: io.flow.payment.internal.v0.enums.OrganizationCapability;
7017
- readonly created_at: string;
7018
- readonly updated_at: string;
7019
- }
7020
- interface BitpayAccountModificationForm {
7021
- readonly discriminator: 'bitpay_account_modification_form';
7022
- readonly owner: io.flow.payment.internal.v0.enums.Owner;
7023
- readonly country: string;
7024
- readonly status: io.flow.payment.internal.v0.enums.ProcessorEntityStatus;
7025
- }
7026
- interface BitpayAccountPutForm {
7027
- readonly discriminator: 'bitpay_account_put_form';
7028
- readonly owner?: io.flow.payment.internal.v0.enums.Owner;
7029
- readonly authentication: io.flow.payment.internal.v0.models.BitpayAuthenticationForm;
7030
- readonly country: string;
7031
- readonly status?: io.flow.payment.internal.v0.enums.ProcessorEntityStatus;
7032
- readonly organization_capability?: io.flow.payment.internal.v0.enums.OrganizationCapability;
6993
+ }
6994
+ declare namespace io.flow.partner.v0.unions {
6995
+ type LabelForm = io.flow.partner.v0.models.DetailedLabelForm | io.flow.partner.v0.models.SummaryLabelForm | io.flow.partner.v0.models.BridgeLabelForm;
6996
+ }
6997
+ declare namespace io.flow.common.v0.enums {
6998
+ type AttributeDataType = 'boolean' | 'integer' | 'decimal' | 'string' | 'json_array';
6999
+ type AvailabilityStatus = 'enabled' | 'disabled';
7000
+ type Calendar = 'weekdays' | 'everyday';
7001
+ type Capability = 'crossdock';
7002
+ type ChangeType = 'insert' | 'update' | 'delete';
7003
+ type CurrencyLabelFormatter = 'strip_trailing_zeros' | 'symbol_prefix' | 'symbol_suffix';
7004
+ type CurrencySymbolFormat = 'narrow' | 'primary';
7005
+ type DayOfWeek = 'sunday' | 'monday' | 'tuesday' | 'wednesday' | 'thursday' | 'friday' | 'saturday';
7006
+ type DeliveredDuty = 'paid' | 'unpaid';
7007
+ type DiscountTarget = 'item' | 'shipping';
7008
+ type EntityIdentifierType = 'ioss' | 'voec';
7009
+ type Environment = 'sandbox' | 'production';
7010
+ type ExceptionType = 'open' | 'closed';
7011
+ type GoodsSupply = 'export' | 'intra_community' | 'local';
7012
+ type HolidayCalendar = 'us_bank_holidays' | 'jewish_holidays';
7013
+ type IncludedLevyKey = 'duty' | 'vat' | 'vat_and_duty' | 'none';
7014
+ type Incoterm = 'EXW' | 'FCA' | 'CPT' | 'CIP' | 'DAT' | 'DAP' | 'DDP' | 'FAS' | 'FOB' | 'CFR' | 'CIF' | 'DAF' | 'DES' | 'DEQ' | 'DDU';
7015
+ type InputSpecificationType = 'text' | 'number';
7016
+ type MarginType = 'fixed' | 'percent';
7017
+ type MeasurementSystem = 'imperial' | 'metric';
7018
+ type MerchantOfRecord = 'flow' | 'organization';
7019
+ type OrderMerchantOfRecord = 'flow' | 'organization' | 'mixed';
7020
+ type OrganizationStatus = 'active' | 'inactive' | 'deactivated' | 'provisioned';
7021
+ type OrganizationType = 'standalone' | 'channel';
7022
+ type PriceBookStatus = 'draft' | 'published' | 'archived';
7023
+ type Role = 'admin' | 'member';
7024
+ type RoundingMethod = 'up' | 'down' | 'nearest';
7025
+ type RoundingType = 'pattern' | 'multiple';
7026
+ type ScheduleExceptionStatus = 'Open' | 'Closed';
7027
+ type SortDirection = 'ascending' | 'descending';
7028
+ type UnitOfMeasurement = 'millimeter' | 'centimeter' | 'inch' | 'foot' | 'cubic_inch' | 'cubic_meter' | 'gram' | 'kilogram' | 'meter' | 'ounce' | 'pound';
7029
+ type UnitOfTime = 'year' | 'month' | 'week' | 'day' | 'hour' | 'minute';
7030
+ type UserStatus = 'pending' | 'active' | 'inactive';
7031
+ type ValueAddedService = 'Hazardous Material';
7032
+ type Visibility = 'public' | 'private';
7033
+ }
7034
+ declare namespace io.flow.common.v0.models {
7035
+ interface Address {
7036
+ readonly text?: string;
7037
+ readonly streets?: string[];
7038
+ readonly street_number?: string;
7039
+ readonly city?: string;
7040
+ readonly province?: string;
7041
+ readonly postal?: string;
7042
+ readonly country?: string;
7043
+ readonly latitude?: string;
7044
+ readonly longitude?: string;
7033
7045
  }
7034
- interface BitpayAuthentication {
7035
- readonly api_token: string;
7036
- readonly public_key: string;
7037
- readonly secret_key_reference: string;
7046
+ interface BillingAddress {
7047
+ readonly name?: io.flow.common.v0.models.Name;
7048
+ readonly streets?: string[];
7049
+ readonly city?: string;
7050
+ readonly province?: string;
7051
+ readonly postal?: string;
7052
+ readonly country?: string;
7053
+ readonly company?: string;
7038
7054
  }
7039
- interface BitpayAuthenticationDataReference {
7055
+ interface CatalogItemReference {
7040
7056
  readonly id: string;
7057
+ readonly number: string;
7041
7058
  }
7042
- interface BitpayAuthenticationForm {
7043
- readonly api_token: string;
7044
- readonly public_key: string;
7045
- readonly secret_key: string;
7059
+ interface CatalogItemSummary {
7060
+ readonly number: string;
7061
+ readonly name: string;
7062
+ readonly attributes: Record<string, string>;
7046
7063
  }
7047
- interface Chargeback {
7064
+ interface ChannelReference {
7048
7065
  readonly id: string;
7049
- readonly key: string;
7050
- readonly authorization: io.flow.payment.v0.models.AuthorizationReference;
7051
- readonly amount: number;
7052
- readonly currency: string;
7053
- readonly base?: io.flow.common.v0.models.Money;
7054
- readonly chargeback_issued_at: string;
7055
- readonly created_at: string;
7056
- readonly payment_status: io.flow.payment.internal.v0.enums.ChargebackPaymentStatus;
7057
- readonly process_status: io.flow.payment.internal.v0.enums.ChargebackProcessStatus;
7058
- readonly processor: io.flow.payment.internal.v0.enums.Processor;
7059
- readonly processor_reason: string;
7060
- readonly processor_status: string;
7061
- readonly processor_reference?: string;
7062
- readonly provider_reference?: string;
7063
- readonly provider_reason_code?: string;
7064
7066
  }
7065
- interface ChargebackVersion {
7067
+ interface CheckoutReference {
7066
7068
  readonly id: string;
7067
- readonly timestamp: string;
7068
- readonly type: io.flow.common.v0.enums.ChangeType;
7069
- readonly chargeback: io.flow.payment.internal.v0.models.Chargeback;
7070
7069
  }
7071
- interface Cipher {
7072
- readonly id: string;
7073
- readonly attributes: Record<string, string>;
7070
+ interface Contact {
7071
+ readonly name: io.flow.common.v0.models.Name;
7072
+ readonly company?: string;
7073
+ readonly email?: string;
7074
+ readonly phone?: string;
7074
7075
  }
7075
- interface CipherForm {
7076
- readonly text: string;
7077
- readonly attributes?: Record<string, string>;
7078
- readonly password?: string;
7076
+ interface CustomerInvoice {
7077
+ readonly address?: io.flow.common.v0.models.BillingAddress;
7079
7078
  }
7080
- interface CipherReference {
7081
- readonly id: string;
7079
+ interface CustomerReference {
7080
+ readonly number: string;
7082
7081
  }
7083
- interface ClassicPaymentRedirectForm {
7084
- readonly MD: string;
7085
- readonly PaRes: string;
7082
+ interface DatetimeRange {
7083
+ readonly from: string;
7084
+ readonly to: string;
7086
7085
  }
7087
- interface CryptoAccount {
7088
- readonly discriminator: 'crypto_account';
7089
- readonly id: string;
7090
- readonly organization_id: string;
7091
- readonly key: string;
7092
- readonly owner: io.flow.payment.internal.v0.enums.Owner;
7093
- readonly authentication: io.flow.payment.internal.v0.models.CryptoAuthentication;
7094
- readonly country: string;
7095
- readonly status: io.flow.payment.internal.v0.enums.ProcessorEntityStatus;
7096
- readonly organization_capability: io.flow.payment.internal.v0.enums.OrganizationCapability;
7097
- readonly created_at: string;
7098
- readonly updated_at: string;
7086
+ interface Dimension {
7087
+ readonly depth?: io.flow.common.v0.models.Measurement;
7088
+ readonly diameter?: io.flow.common.v0.models.Measurement;
7089
+ readonly length?: io.flow.common.v0.models.Measurement;
7090
+ readonly weight?: io.flow.common.v0.models.Measurement;
7091
+ readonly width?: io.flow.common.v0.models.Measurement;
7099
7092
  }
7100
- interface CryptoAccountModificationForm {
7101
- readonly discriminator: 'crypto_account_modification_form';
7102
- readonly owner: io.flow.payment.internal.v0.enums.Owner;
7103
- readonly country: string;
7104
- readonly status: io.flow.payment.internal.v0.enums.ProcessorEntityStatus;
7093
+ interface Dimensions {
7094
+ readonly product?: io.flow.common.v0.models.Dimension;
7095
+ readonly packaging?: io.flow.common.v0.models.Dimension;
7105
7096
  }
7106
- interface CryptoAccountPutForm {
7107
- readonly discriminator: 'crypto_account_put_form';
7108
- readonly owner?: io.flow.payment.internal.v0.enums.Owner;
7109
- readonly authentication: io.flow.payment.internal.v0.models.CryptoAuthenticationForm;
7110
- readonly country: string;
7111
- readonly status?: io.flow.payment.internal.v0.enums.ProcessorEntityStatus;
7112
- readonly organization_capability?: io.flow.payment.internal.v0.enums.OrganizationCapability;
7097
+ interface DiscountForm {
7098
+ readonly offer: io.flow.common.v0.unions.DiscountOffer;
7099
+ readonly target?: io.flow.common.v0.enums.DiscountTarget;
7100
+ readonly label?: string;
7113
7101
  }
7114
- interface CryptoAuthentication {
7115
- readonly public_key: string;
7116
- readonly secret_key_reference: string;
7117
- readonly signature_secret_reference: string;
7102
+ interface DiscountOfferFixed {
7103
+ readonly discriminator: 'discount_offer_fixed';
7104
+ readonly money: io.flow.common.v0.models.Money;
7118
7105
  }
7119
- interface CryptoAuthenticationForm {
7120
- readonly public_key: string;
7121
- readonly secret_key: string;
7122
- readonly signature_secret: string;
7106
+ interface DiscountOfferPercent {
7107
+ readonly discriminator: 'discount_offer_percent';
7108
+ readonly percent: number;
7123
7109
  }
7124
- interface DecryptCipherForm {
7125
- readonly id: string;
7126
- readonly password: string;
7110
+ interface DiscountsForm {
7111
+ readonly discounts: io.flow.common.v0.models.DiscountForm[];
7127
7112
  }
7128
- interface DecryptedCipher {
7129
- readonly id: string;
7130
- readonly cleartext: string;
7131
- readonly attributes: Record<string, string>;
7113
+ interface Duration {
7114
+ readonly unit: io.flow.common.v0.enums.UnitOfTime;
7115
+ readonly value: number;
7132
7116
  }
7133
- interface Encryption {
7134
- readonly id: string;
7135
- readonly key: io.flow.payment.internal.v0.models.KeyReference;
7136
- readonly iv: string;
7137
- readonly cipher: string;
7138
- readonly passphrase_ids: string[];
7117
+ interface EntityIdentifier {
7118
+ readonly name: io.flow.common.v0.enums.EntityIdentifierType;
7119
+ readonly number: string;
7120
+ readonly issuing_country?: string;
7139
7121
  }
7140
- interface FinancialMerchantCategory {
7141
- readonly id: string;
7142
- readonly iso_18245_4: string;
7143
- readonly title: string;
7144
- readonly category_group: string;
7145
- readonly description?: string;
7122
+ interface Exception {
7123
+ readonly type: io.flow.common.v0.enums.ExceptionType;
7124
+ readonly datetime_range: io.flow.common.v0.models.DatetimeRange;
7146
7125
  }
7147
- interface FiservAccount {
7148
- readonly discriminator: 'fiserv_account';
7126
+ interface ExperienceSummary {
7149
7127
  readonly id: string;
7150
- readonly organization_id: string;
7151
7128
  readonly key: string;
7152
- readonly owner: io.flow.payment.internal.v0.enums.Owner;
7153
- readonly region: string;
7154
- readonly authentication: io.flow.payment.internal.v0.models.FiservAuthentication;
7155
- readonly country: string;
7156
- readonly status: io.flow.payment.internal.v0.enums.ProcessorEntityStatus;
7157
- readonly organization_capability: io.flow.payment.internal.v0.enums.OrganizationCapability;
7158
- readonly created_at: string;
7159
- readonly updated_at: string;
7129
+ readonly name: string;
7130
+ readonly country?: string;
7131
+ readonly currency?: string;
7132
+ readonly language?: string;
7160
7133
  }
7161
- interface FiservAccountModificationForm {
7162
- readonly discriminator: 'fiserv_account_modification_form';
7163
- readonly owner: io.flow.payment.internal.v0.enums.Owner;
7164
- readonly region: string;
7165
- readonly country: string;
7166
- readonly status: io.flow.payment.internal.v0.enums.ProcessorEntityStatus;
7134
+ interface IncludedLevies {
7135
+ readonly key: io.flow.common.v0.enums.IncludedLevyKey;
7136
+ readonly label: string;
7167
7137
  }
7168
- interface FiservAccountPutForm {
7169
- readonly discriminator: 'fiserv_account_put_form';
7170
- readonly owner?: io.flow.payment.internal.v0.enums.Owner;
7171
- readonly region: string;
7172
- readonly authentication: io.flow.payment.internal.v0.models.FiservAuthenticationForm;
7173
- readonly country: string;
7174
- readonly status?: io.flow.payment.internal.v0.enums.ProcessorEntityStatus;
7175
- readonly organization_capability?: io.flow.payment.internal.v0.enums.OrganizationCapability;
7138
+ interface InputForm {
7139
+ readonly values?: Record<string, string>;
7176
7140
  }
7177
- interface FiservAuthentication {
7178
- readonly public_key: string;
7179
- readonly secret_key_reference: string;
7141
+ interface InputFormSpecification {
7142
+ readonly inputs?: io.flow.common.v0.models.InputSpecification[];
7143
+ readonly limitations?: io.flow.common.v0.models.InputSpecificationLimitations;
7180
7144
  }
7181
- interface FiservAuthenticationDataReference {
7182
- readonly account_id: string;
7183
- readonly store_id: string;
7145
+ interface InputSpecification {
7146
+ readonly type: io.flow.common.v0.enums.InputSpecificationType;
7147
+ readonly name: string;
7148
+ readonly display_text?: string;
7184
7149
  }
7185
- interface FiservAuthenticationForm {
7186
- readonly public_key: string;
7187
- readonly secret_key: string;
7150
+ interface InputSpecificationLimitationMax {
7151
+ readonly discriminator: 'input_specification_limitation_max';
7152
+ readonly max: number;
7188
7153
  }
7189
- interface FiservMerchant {
7190
- readonly discriminator: 'fiserv_merchant';
7191
- readonly id: string;
7192
- readonly key: string;
7193
- readonly organization_id: string;
7194
- readonly external_id: string;
7195
- readonly processor_account_reference: io.flow.payment.internal.v0.models.ProcessorAccountReference;
7196
- readonly base_currency: string;
7197
- readonly funding_currency: string;
7198
- readonly country: string;
7199
- readonly status: io.flow.payment.internal.v0.enums.ProcessorEntityStatus;
7200
- readonly organization_capability: io.flow.payment.internal.v0.enums.OrganizationCapability;
7201
- readonly created_at: string;
7202
- readonly updated_at: string;
7154
+ interface InputSpecificationLimitations {
7155
+ readonly limitations?: io.flow.common.v0.unions.InputSpecificationLimitation[];
7203
7156
  }
7204
- interface FiservMerchantModificationForm {
7205
- readonly discriminator: 'fiserv_merchant_modification_form';
7206
- readonly external_id: string;
7207
- readonly base_currency: string;
7208
- readonly funding_currency: string;
7209
- readonly country: string;
7210
- readonly status: io.flow.payment.internal.v0.enums.ProcessorEntityStatus;
7157
+ interface ItemReference {
7158
+ readonly number: string;
7211
7159
  }
7212
- interface FiservMerchantPutForm {
7213
- readonly discriminator: 'fiserv_merchant_put_form';
7214
- readonly organization_id: string;
7215
- readonly external_id: string;
7216
- readonly base_currency: string;
7217
- readonly funding_currency: string;
7218
- readonly country: string;
7219
- readonly status?: io.flow.payment.internal.v0.enums.ProcessorEntityStatus;
7220
- readonly organization_capability?: io.flow.payment.internal.v0.enums.OrganizationCapability;
7160
+ interface LineItem {
7161
+ readonly number: string;
7162
+ readonly quantity: number;
7163
+ readonly price: io.flow.common.v0.models.Money;
7164
+ readonly attributes: Record<string, string>;
7165
+ readonly center?: string;
7166
+ readonly discount?: io.flow.common.v0.models.Money;
7221
7167
  }
7222
- interface InternalAdyenAuthorizationDetails {
7223
- readonly discriminator: 'internal_adyen_authorization_details';
7224
- readonly adyen_authentication_data: io.flow.payment.internal.v0.models.AdyenAuthenticationDataReference;
7168
+ interface LineItemAttributesForm {
7169
+ readonly attributes: Record<string, string>;
7225
7170
  }
7226
- interface InternalAfterpayAuthorizationDetails {
7227
- readonly discriminator: 'internal_afterpay_authorization_details';
7228
- readonly afterpay_authentication_data: io.flow.payment.internal.v0.models.AfterpayAuthenticationDataReference;
7171
+ interface LineItemForm {
7172
+ readonly number: string;
7173
+ readonly quantity: number;
7174
+ readonly shipment_estimate?: io.flow.common.v0.models.DatetimeRange;
7175
+ readonly price?: io.flow.common.v0.models.Money;
7176
+ readonly attributes?: Record<string, string>;
7177
+ readonly center?: string;
7178
+ readonly discount?: io.flow.common.v0.models.Money;
7179
+ readonly discounts?: io.flow.common.v0.models.DiscountsForm;
7229
7180
  }
7230
- interface InternalBitpayAuthorizationDetails {
7231
- readonly discriminator: 'internal_bitpay_authorization_details';
7232
- readonly bitpay_authentication_data: io.flow.payment.internal.v0.models.BitpayAuthenticationDataReference;
7181
+ interface LineItemQuantityForm {
7182
+ readonly quantity: number;
7233
7183
  }
7234
- interface InternalFiservAuthorizationDetails {
7235
- readonly discriminator: 'internal_fiserv_authorization_details';
7236
- readonly fiserv_authentication_data: io.flow.payment.internal.v0.models.FiservAuthenticationDataReference;
7184
+ interface LogoImageSetStatic {
7185
+ readonly discriminator: 'static';
7186
+ readonly small?: io.flow.common.v0.models.LogoImageStatic;
7187
+ readonly medium: io.flow.common.v0.models.LogoImageStatic;
7188
+ readonly large?: io.flow.common.v0.models.LogoImageStatic;
7237
7189
  }
7238
- interface InternalPaymentRequest {
7239
- readonly payment_request: io.flow.payment.gateway.v0.models.PaymentRequest;
7240
- readonly actual_action?: io.flow.payment.gateway.v0.unions.Action;
7190
+ interface LogoImageStatic {
7191
+ readonly url: string;
7192
+ readonly width: number;
7193
+ readonly height: number;
7241
7194
  }
7242
- interface InternalPaypalAuthorizationDetails {
7243
- readonly discriminator: 'internal_paypal_authorization_details';
7244
- readonly paypal_authentication_data: io.flow.payment.internal.v0.models.PaypalAccountReference;
7195
+ interface LogoImageSvg {
7196
+ readonly discriminator: 'svg';
7197
+ readonly url: string;
7245
7198
  }
7246
- interface InternalStripeAuthorizationDetails {
7247
- readonly discriminator: 'internal_stripe_authorization_details';
7248
- readonly stripe_authentication_data: io.flow.payment.internal.v0.models.StripeAuthenticationDataReference;
7199
+ interface Margin {
7200
+ readonly type: io.flow.common.v0.enums.MarginType;
7201
+ readonly value: number;
7249
7202
  }
7250
- interface InternalTransactionDetailsCard {
7251
- readonly type: 'card';
7252
- readonly address_verification_result?: io.flow.payment.v0.models.AddressVerificationResult;
7253
- readonly cvv_result?: io.flow.payment.v0.models.CvvResult;
7254
- readonly network_details?: io.flow.payment.v0.models.TransactionNetworkDetailsCard;
7203
+ interface Measurement {
7204
+ readonly value: string;
7205
+ readonly units: io.flow.common.v0.enums.UnitOfMeasurement;
7255
7206
  }
7256
- interface Key {
7257
- readonly id: string;
7258
- readonly created_at: string;
7207
+ interface MerchantOfRecordEntity {
7208
+ readonly organization: io.flow.common.v0.models.OrganizationReference;
7209
+ readonly name: string;
7210
+ readonly vat?: io.flow.common.v0.models.MerchantOfRecordEntityRegistration;
7211
+ readonly identifiers?: io.flow.common.v0.models.EntityIdentifier[];
7212
+ readonly streets: string[];
7213
+ readonly city: string;
7214
+ readonly province?: string;
7215
+ readonly postal?: string;
7216
+ readonly country: string;
7217
+ readonly phone?: string;
7218
+ readonly email?: string;
7259
7219
  }
7260
- interface KeyReference {
7261
- readonly id: string;
7220
+ interface MerchantOfRecordEntityRegistration {
7221
+ readonly number: string;
7222
+ readonly country: string;
7262
7223
  }
7263
- interface KlarnaAuthorizationParameters {
7264
- readonly discriminator: 'klarna_authorization_parameters';
7265
- readonly client_token: string;
7266
- readonly payment_method_categories: io.flow.payment.internal.v0.models.KlarnaPaymentMethodCategory[];
7224
+ interface Money {
7225
+ readonly amount: number;
7226
+ readonly currency: string;
7267
7227
  }
7268
- interface KlarnaPaymentMethodCategory {
7269
- readonly id: string;
7270
- readonly name?: string;
7271
- readonly standard_asset_urls?: string;
7272
- readonly descriptive_asset_urls?: string;
7228
+ interface MoneyWithBase {
7229
+ readonly currency: string;
7230
+ readonly amount: number;
7231
+ readonly base: io.flow.common.v0.models.Money;
7273
7232
  }
7274
- interface OnlineAuthorizationCompleted {
7275
- readonly discriminator: 'online_authorization_completed';
7276
- readonly id: string;
7277
- readonly organization: string;
7278
- readonly key: string;
7279
- readonly expires_at: string;
7233
+ interface MoneyWithOptionalBase {
7234
+ readonly currency: string;
7235
+ readonly amount: number;
7236
+ readonly base?: io.flow.common.v0.models.Money;
7280
7237
  }
7281
- interface OrganizationPaymentSetting {
7282
- readonly id: string;
7283
- readonly organization_id: string;
7284
- readonly default_capture_option: io.flow.payment.gateway.v0.unions.PaymentCaptureOption;
7285
- readonly status: io.flow.payment.internal.v0.enums.OrganizationPaymentStatus;
7286
- readonly checkout_domain?: string;
7287
- readonly merchant_category_code?: string;
7288
- readonly payment_statement_suffix?: string;
7289
- readonly payment_statement_condensed?: string;
7290
- readonly created_at: string;
7291
- readonly updated_at: string;
7238
+ interface Name {
7239
+ readonly first?: string;
7240
+ readonly last?: string;
7292
7241
  }
7293
- interface OrganizationPaymentSettingForm {
7294
- readonly default_capture_option: io.flow.payment.gateway.v0.unions.PaymentCaptureOption;
7295
- readonly status: io.flow.payment.internal.v0.enums.OrganizationPaymentStatus;
7296
- readonly checkout_domain?: string;
7297
- readonly merchant_category_code?: string;
7298
- readonly payment_statement_suffix?: string;
7242
+ interface OrderCustomer {
7243
+ readonly name: io.flow.common.v0.models.Name;
7244
+ readonly number?: string;
7245
+ readonly phone?: string;
7246
+ readonly email?: string;
7247
+ readonly address?: io.flow.common.v0.models.BillingAddress;
7248
+ readonly invoice?: io.flow.common.v0.models.CustomerInvoice;
7299
7249
  }
7300
- interface OrganizationPaymentSettingVersion {
7301
- readonly id: string;
7302
- readonly timestamp: string;
7303
- readonly type: io.flow.common.v0.enums.ChangeType;
7304
- readonly organization_payment_setting: io.flow.payment.internal.v0.models.OrganizationPaymentSetting;
7250
+ interface OrderCustomerForm {
7251
+ readonly name?: io.flow.common.v0.models.Name;
7252
+ readonly number?: string;
7253
+ readonly phone?: string;
7254
+ readonly email?: string;
7255
+ readonly address?: io.flow.common.v0.models.BillingAddress;
7256
+ readonly invoice?: io.flow.common.v0.models.CustomerInvoice;
7305
7257
  }
7306
- interface Passphrase {
7258
+ interface Organization {
7259
+ readonly discriminator: 'organization';
7307
7260
  readonly id: string;
7308
- readonly tribe: io.flow.payment.internal.v0.models.Tribe;
7309
- readonly salt: string;
7310
- readonly iv: string;
7311
- readonly challenge_cipher: string;
7312
- readonly challenge_text: string;
7261
+ readonly name: string;
7262
+ readonly environment: io.flow.common.v0.enums.Environment;
7263
+ readonly parent?: io.flow.common.v0.models.OrganizationReference;
7264
+ readonly defaults?: io.flow.common.v0.models.OrganizationDefaults;
7265
+ readonly created_at?: string;
7266
+ readonly status?: io.flow.common.v0.enums.OrganizationStatus;
7267
+ readonly type?: io.flow.common.v0.enums.OrganizationType;
7313
7268
  }
7314
- interface PassphraseForm {
7315
- readonly tribe: string;
7316
- readonly current_password?: string;
7317
- readonly new_password: string;
7269
+ interface OrganizationDefaults {
7270
+ readonly country: string;
7271
+ readonly base_currency: string;
7272
+ readonly language: string;
7273
+ readonly locale: string;
7274
+ readonly timezone: string;
7318
7275
  }
7319
- interface PassphraseSummary {
7276
+ interface OrganizationReference {
7277
+ readonly discriminator: 'organization_reference';
7320
7278
  readonly id: string;
7321
- readonly tribe: io.flow.payment.internal.v0.models.Tribe;
7322
- }
7323
- interface PaymentMethodDetail {
7324
- readonly method: io.flow.reference.v0.models.PaymentMethod;
7325
- readonly method_options?: io.flow.payment.internal.v0.models.PaymentMethodOption[];
7326
7279
  }
7327
- interface PaymentMethodOption {
7280
+ interface OrganizationSummary {
7328
7281
  readonly id: string;
7329
7282
  readonly name: string;
7330
- readonly logo?: io.flow.common.v0.unions.LogoImage;
7283
+ readonly environment: io.flow.common.v0.enums.Environment;
7331
7284
  }
7332
- interface PaymentOrganizationSettings {
7285
+ interface PartnerReference {
7333
7286
  readonly id: string;
7334
- readonly enable_auto_capture: boolean;
7335
- readonly link_capture_to_vcc: boolean;
7336
- readonly purge_ciphers: boolean;
7337
- readonly domain?: string;
7338
- readonly merchant_category_code?: number;
7339
- readonly payment_statement_suffix?: string;
7340
- readonly payment_statement_condensed?: string;
7341
7287
  }
7342
- interface PaymentOrganizationSettingsPutForm {
7343
- readonly enable_auto_capture?: boolean;
7344
- readonly link_capture_to_vcc?: boolean;
7345
- readonly purge_ciphers?: boolean;
7346
- readonly domain?: string;
7347
- readonly merchant_category_code?: number;
7348
- readonly payment_statement_suffix?: string;
7288
+ interface Price {
7289
+ readonly amount: number;
7290
+ readonly currency: string;
7291
+ readonly label: string;
7349
7292
  }
7350
- interface PaypalAccount {
7351
- readonly discriminator: 'paypal_account';
7352
- readonly id: string;
7353
- readonly organization_id: string;
7354
- readonly key: string;
7355
- readonly owner: io.flow.payment.internal.v0.enums.Owner;
7356
- readonly country: string;
7357
- readonly authentication: io.flow.payment.internal.v0.models.PaypalAuthentication;
7358
- readonly status: io.flow.payment.internal.v0.enums.ProcessorEntityStatus;
7359
- readonly organization_capability: io.flow.payment.internal.v0.enums.OrganizationCapability;
7360
- readonly created_at: string;
7361
- readonly updated_at: string;
7293
+ interface PriceForm {
7294
+ readonly amount: number;
7295
+ readonly currency: string;
7362
7296
  }
7363
- interface PaypalAccountModificationForm {
7364
- readonly discriminator: 'paypal_account_modification_form';
7365
- readonly owner: io.flow.payment.internal.v0.enums.Owner;
7366
- readonly country: string;
7367
- readonly status: io.flow.payment.internal.v0.enums.ProcessorEntityStatus;
7297
+ interface PriceSourceCatalog {
7298
+ readonly discriminator: 'catalog';
7299
+ readonly price: io.flow.common.v0.models.Money;
7368
7300
  }
7369
- interface PaypalAccountPutForm {
7370
- readonly discriminator: 'paypal_account_put_form';
7371
- readonly owner?: io.flow.payment.internal.v0.enums.Owner;
7372
- readonly country: string;
7373
- readonly authentication: io.flow.payment.internal.v0.models.PaypalAuthenticationForm;
7374
- readonly status?: io.flow.payment.internal.v0.enums.ProcessorEntityStatus;
7375
- readonly organization_capability?: io.flow.payment.internal.v0.enums.OrganizationCapability;
7301
+ interface PriceSourcePriceBook {
7302
+ readonly discriminator: 'price_book';
7303
+ readonly price: io.flow.common.v0.models.Money;
7304
+ readonly includes: io.flow.common.v0.models.IncludedLevies;
7305
+ readonly price_book_reference: io.flow.common.v0.models.PriceSourcePriceBookReference;
7376
7306
  }
7377
- interface PaypalAccountReference {
7307
+ interface PriceSourcePriceBookReference {
7378
7308
  readonly id: string;
7379
- readonly flow_merchant_id?: string;
7309
+ readonly key: string;
7380
7310
  }
7381
- interface PaypalAuthentication {
7382
- readonly username: string;
7383
- readonly password_reference: string;
7311
+ interface PriceSourceProvided {
7312
+ readonly discriminator: 'provided';
7313
+ readonly price: io.flow.common.v0.models.Money;
7384
7314
  }
7385
- interface PaypalAuthenticationForm {
7386
- readonly username: string;
7387
- readonly password: string;
7315
+ interface PriceWithBase {
7316
+ readonly currency: string;
7317
+ readonly amount: number;
7318
+ readonly label: string;
7319
+ readonly base?: io.flow.common.v0.models.Price;
7388
7320
  }
7389
- interface PaypalAuthorizationPayload {
7390
- readonly discriminator: 'paypal_authorization_payload';
7391
- readonly payment_id: string;
7392
- readonly payer_id: string;
7321
+ interface RepeatDaily {
7322
+ readonly discriminator: 'repeat_daily';
7323
+ readonly interval: number;
7393
7324
  }
7394
- interface PaypalMerchant {
7395
- readonly discriminator: 'paypal_merchant';
7396
- readonly id: string;
7397
- readonly key: string;
7398
- readonly organization_id: string;
7399
- readonly external_id: string;
7400
- readonly processor_account_reference: io.flow.payment.internal.v0.models.ProcessorAccountReference;
7401
- readonly country: string;
7402
- readonly status: io.flow.payment.internal.v0.enums.ProcessorEntityStatus;
7403
- readonly organization_capability: io.flow.payment.internal.v0.enums.OrganizationCapability;
7404
- readonly created_at: string;
7405
- readonly updated_at: string;
7325
+ interface RepeatHourly {
7326
+ readonly discriminator: 'repeat_hourly';
7327
+ readonly interval: number;
7406
7328
  }
7407
- interface PaypalMerchantModificationForm {
7408
- readonly discriminator: 'paypal_merchant_modification_form';
7409
- readonly external_id: string;
7410
- readonly country: string;
7411
- readonly status?: io.flow.payment.internal.v0.enums.ProcessorEntityStatus;
7329
+ interface RepeatMonthly {
7330
+ readonly discriminator: 'repeat_monthly';
7331
+ readonly interval: number;
7332
+ readonly days: number[];
7412
7333
  }
7413
- interface PaypalMerchantPutForm {
7414
- readonly discriminator: 'paypal_merchant_put_form';
7415
- readonly organization_id: string;
7416
- readonly external_id: string;
7417
- readonly country: string;
7418
- readonly status?: io.flow.payment.internal.v0.enums.ProcessorEntityStatus;
7419
- readonly organization_capability?: io.flow.payment.internal.v0.enums.OrganizationCapability;
7334
+ interface RepeatWeekly {
7335
+ readonly discriminator: 'repeat_weekly';
7336
+ readonly interval: number;
7337
+ readonly days_of_week: io.flow.common.v0.enums.DayOfWeek[];
7420
7338
  }
7421
- interface ProcessorAccountReference {
7422
- readonly id: string;
7423
- readonly organization_id: string;
7424
- readonly key: string;
7425
- readonly processor: io.flow.payment.internal.v0.enums.Processor;
7426
- readonly country: string;
7427
- readonly owner: io.flow.payment.internal.v0.enums.Owner;
7428
- readonly status: io.flow.payment.internal.v0.enums.ProcessorEntityStatus;
7429
- readonly organization_capability: io.flow.payment.internal.v0.enums.OrganizationCapability;
7339
+ interface Rounding {
7340
+ readonly type: io.flow.common.v0.enums.RoundingType;
7341
+ readonly method: io.flow.common.v0.enums.RoundingMethod;
7342
+ readonly value: number;
7430
7343
  }
7431
- interface ProcessorEntityStatusForm {
7432
- readonly status: io.flow.payment.internal.v0.enums.ProcessorEntityStatus;
7344
+ interface Schedule {
7345
+ readonly calendar?: io.flow.common.v0.enums.Calendar;
7346
+ readonly holiday: io.flow.common.v0.enums.HolidayCalendar;
7347
+ readonly exception: io.flow.common.v0.models.Exception[];
7348
+ readonly cutoff?: string;
7349
+ readonly min_lead_time?: number;
7350
+ readonly max_lead_time?: number;
7433
7351
  }
7434
- interface ProcessorMerchantReference {
7352
+ interface SessionReference {
7435
7353
  readonly id: string;
7436
- readonly organization_id: string;
7437
- readonly key: string;
7438
- readonly processor: io.flow.payment.internal.v0.enums.Processor;
7439
- readonly country: string;
7440
- readonly status: io.flow.payment.internal.v0.enums.ProcessorEntityStatus;
7441
- readonly organization_capability: io.flow.payment.internal.v0.enums.OrganizationCapability;
7442
7354
  }
7443
- interface Redirect {
7355
+ interface User {
7356
+ readonly discriminator: 'user';
7444
7357
  readonly id: string;
7445
- readonly post_payment_redirect_urls: io.flow.payment.v0.models.PostPaymentRedirectUrls;
7446
- readonly reason: io.flow.payment.internal.v0.enums.RedirectReason;
7358
+ readonly email?: string;
7359
+ readonly name: io.flow.common.v0.models.Name;
7360
+ readonly status: io.flow.common.v0.enums.UserStatus;
7447
7361
  }
7448
- interface RedirectActionCompleted {
7449
- readonly discriminator: 'redirect_action_completed';
7362
+ interface UserReference {
7363
+ readonly discriminator: 'user_reference';
7450
7364
  readonly id: string;
7451
- readonly organization: string;
7452
- readonly key: string;
7453
- readonly expires_at: string;
7454
- readonly post_payment_redirect_urls: io.flow.payment.v0.models.PostPaymentRedirectUrls;
7455
- readonly inline_notification_urls?: io.flow.payment.v0.models.PostPaymentRedirectUrls;
7456
- }
7457
- interface RoutingAccount {
7458
- readonly discriminator: 'routing_account';
7459
- readonly processor: io.flow.payment.internal.v0.enums.Processor;
7460
- readonly processor_account: io.flow.payment.internal.v0.models.ProcessorAccountReference;
7461
7365
  }
7462
- interface RoutingMerchant {
7463
- readonly discriminator: 'routing_merchant';
7464
- readonly processor: io.flow.payment.internal.v0.enums.Processor;
7465
- readonly processor_account: io.flow.payment.internal.v0.models.ProcessorAccountReference;
7466
- readonly processor_merchant: io.flow.payment.internal.v0.models.ProcessorMerchantReference;
7366
+ interface Zone {
7367
+ readonly postals?: string[];
7368
+ readonly provinces?: string[];
7369
+ readonly country: string;
7467
7370
  }
7468
- interface RoutingProcessor {
7469
- readonly discriminator: 'routing_processor';
7470
- readonly processor: io.flow.payment.internal.v0.enums.Processor;
7371
+ }
7372
+ declare namespace io.flow.common.v0.unions {
7373
+ type DiscountOffer = io.flow.common.v0.models.DiscountOfferFixed | io.flow.common.v0.models.DiscountOfferPercent;
7374
+ type ExpandableOrganization = io.flow.common.v0.models.Organization | io.flow.common.v0.models.OrganizationReference;
7375
+ type ExpandableUser = io.flow.common.v0.models.User | io.flow.common.v0.models.UserReference;
7376
+ type InputSpecificationLimitation = io.flow.common.v0.models.InputSpecificationLimitationMax;
7377
+ type LogoImage = io.flow.common.v0.models.LogoImageSvg | io.flow.common.v0.models.LogoImageSetStatic;
7378
+ type PriceSource = io.flow.common.v0.models.PriceSourcePriceBook | io.flow.common.v0.models.PriceSourceCatalog | io.flow.common.v0.models.PriceSourceProvided;
7379
+ type RepeatSchedule = io.flow.common.v0.models.RepeatHourly | io.flow.common.v0.models.RepeatDaily | io.flow.common.v0.models.RepeatWeekly | io.flow.common.v0.models.RepeatMonthly;
7380
+ }
7381
+ declare namespace io.flow.billing.reporting.v0.enums {
7382
+ type ReportStatus = 'created' | 'completed' | 'completed_no_records' | 'failed';
7383
+ type ReportType = 'sales_record' | 'trueup_overview' | 'non_channel_payment_bank_account';
7384
+ type ReportingFulfillmentIsVirtual = 'all' | 'mixed' | 'none';
7385
+ type RevenueRecordType = 'sales' | 'refund';
7386
+ }
7387
+ declare namespace io.flow.billing.reporting.v0.models {
7388
+ interface FulfillmentShopperBreakdown {
7389
+ readonly shipping: io.flow.billing.reporting.v0.models.ReportingMonetaryValue;
7390
+ readonly fees: io.flow.billing.reporting.v0.models.ReportingShopperFees;
7391
+ readonly product: io.flow.billing.reporting.v0.models.ReportingMonetaryValue;
7392
+ readonly subtotal: io.flow.billing.reporting.v0.models.ReportingMonetaryValue;
7393
+ readonly tax: io.flow.billing.reporting.v0.models.ReportingMonetaryValue;
7394
+ readonly duty: io.flow.billing.reporting.v0.models.ReportingMonetaryValue;
7395
+ readonly discount: io.flow.billing.reporting.v0.models.ReportingMonetaryValue;
7396
+ readonly total: io.flow.billing.reporting.v0.models.ReportingMonetaryValue;
7471
7397
  }
7472
- interface StripeAccount {
7473
- readonly discriminator: 'stripe_account';
7474
- readonly id: string;
7475
- readonly organization_id: string;
7476
- readonly key: string;
7477
- readonly owner: io.flow.payment.internal.v0.enums.Owner;
7478
- readonly name: string;
7479
- readonly external_id: string;
7480
- readonly country: string;
7481
- readonly authentication: io.flow.payment.internal.v0.models.StripeAuthentication;
7482
- readonly status: io.flow.payment.internal.v0.enums.ProcessorEntityStatus;
7483
- readonly organization_capability: io.flow.payment.internal.v0.enums.OrganizationCapability;
7484
- readonly created_at: string;
7485
- readonly updated_at: string;
7398
+ interface MarkedAsFinal {
7399
+ readonly products: boolean;
7400
+ readonly shipping: boolean;
7486
7401
  }
7487
- interface StripeAccountModificationForm {
7488
- readonly discriminator: 'stripe_account_modification_form';
7489
- readonly owner: io.flow.payment.internal.v0.enums.Owner;
7490
- readonly name: string;
7491
- readonly external_id: string;
7492
- readonly country: string;
7493
- readonly status: io.flow.payment.internal.v0.enums.ProcessorEntityStatus;
7402
+ interface NonChannelPaymentBankAccount {
7403
+ readonly payment: io.flow.billing.reporting.v0.models.ReportPayment;
7404
+ readonly bank_account: io.flow.billing.reporting.v0.models.ReportBankAccount;
7405
+ readonly account: io.flow.billing.reporting.v0.models.ReportAccount;
7494
7406
  }
7495
- interface StripeAccountPutForm {
7496
- readonly discriminator: 'stripe_account_put_form';
7497
- readonly owner?: io.flow.payment.internal.v0.enums.Owner;
7498
- readonly name: string;
7499
- readonly external_id: string;
7500
- readonly country: string;
7501
- readonly authentication: io.flow.payment.internal.v0.models.StripeAuthenticationForm;
7502
- readonly status?: io.flow.payment.internal.v0.enums.ProcessorEntityStatus;
7503
- readonly organization_capability?: io.flow.payment.internal.v0.enums.OrganizationCapability;
7407
+ interface RecordReference {
7408
+ readonly id: string;
7504
7409
  }
7505
- interface StripeAuthentication {
7506
- readonly public_key: string;
7507
- readonly secret_key_reference: string;
7410
+ interface Report {
7411
+ readonly id: string;
7412
+ readonly status: io.flow.billing.reporting.v0.enums.ReportStatus;
7413
+ readonly type: io.flow.billing.reporting.v0.enums.ReportType;
7414
+ readonly from: string;
7415
+ readonly to: string;
7416
+ readonly url?: string;
7417
+ readonly processed_at?: string;
7508
7418
  }
7509
- interface StripeAuthenticationDataReference {
7419
+ interface ReportAccount {
7510
7420
  readonly id: string;
7421
+ readonly source: io.flow.billing.internal.v0.models.AccountSource;
7511
7422
  }
7512
- interface StripeAuthenticationForm {
7513
- readonly public_key: string;
7514
- readonly secret_key: string;
7423
+ interface ReportBankAccount {
7424
+ readonly id?: string;
7425
+ readonly last4?: string;
7515
7426
  }
7516
- interface StripeMerchant {
7517
- readonly discriminator: 'stripe_merchant';
7427
+ interface ReportForm {
7428
+ readonly from: string;
7429
+ readonly to: string;
7430
+ readonly type: io.flow.billing.reporting.v0.enums.ReportType;
7431
+ }
7432
+ interface ReportPayment {
7518
7433
  readonly id: string;
7519
- readonly key: string;
7520
- readonly organization_id: string;
7521
- readonly external_id: string;
7522
- readonly processor_account_reference: io.flow.payment.internal.v0.models.ProcessorAccountReference;
7523
- readonly name: string;
7524
- readonly account_type: io.flow.stripe.v0.enums.AccountType;
7525
- readonly country: string;
7526
- readonly status: io.flow.payment.internal.v0.enums.ProcessorEntityStatus;
7527
- readonly organization_capability: io.flow.payment.internal.v0.enums.OrganizationCapability;
7528
7434
  readonly created_at: string;
7529
- readonly updated_at: string;
7530
7435
  }
7531
- interface StripeMerchantForm {
7532
- readonly discriminator: 'stripe_merchant_form';
7533
- readonly key?: string;
7534
- readonly organization_id: string;
7535
- readonly name: string;
7536
- readonly account_type: io.flow.stripe.v0.enums.AccountType;
7537
- readonly country: string;
7538
- readonly payment_statement: string;
7539
- readonly status?: io.flow.payment.internal.v0.enums.ProcessorEntityStatus;
7436
+ interface ReportingAuthorizationReference {
7437
+ readonly id: string;
7540
7438
  }
7541
- interface StripeMerchantModificationForm {
7542
- readonly discriminator: 'stripe_merchant_modification_form';
7543
- readonly external_id: string;
7544
- readonly name: string;
7545
- readonly account_type: io.flow.stripe.v0.enums.AccountType;
7546
- readonly status: io.flow.payment.internal.v0.enums.ProcessorEntityStatus;
7547
- readonly country: string;
7439
+ interface ReportingBusiness {
7440
+ readonly vat_registration_number: string;
7441
+ readonly name?: string;
7548
7442
  }
7549
- interface StripeMerchantPutForm {
7550
- readonly discriminator: 'stripe_merchant_put_form';
7551
- readonly organization_id: string;
7552
- readonly external_id: string;
7553
- readonly name: string;
7554
- readonly account_type: io.flow.stripe.v0.enums.AccountType;
7555
- readonly status?: io.flow.payment.internal.v0.enums.ProcessorEntityStatus;
7556
- readonly country: string;
7557
- readonly organization_capability?: io.flow.payment.internal.v0.enums.OrganizationCapability;
7443
+ interface ReportingConversionRates {
7444
+ readonly merchant: number;
7445
+ readonly entity: number;
7446
+ readonly usd: number;
7447
+ readonly eur: number;
7558
7448
  }
7559
- interface Tribe {
7449
+ interface ReportingCountry {
7450
+ readonly code: string;
7451
+ readonly is_eu: boolean;
7452
+ }
7453
+ interface ReportingCurrencies {
7454
+ readonly transaction: string;
7455
+ readonly merchant: string;
7456
+ readonly entity: string;
7457
+ }
7458
+ interface ReportingDebug {
7459
+ readonly console_order_link: string;
7460
+ readonly allocation_order_totals_delta?: number;
7461
+ readonly allocation_order_item_discount_delta?: number;
7462
+ readonly missing_item_subsidies?: io.flow.billing.reporting.v0.models.ReportingDebugMissingSubsidies;
7463
+ readonly missing_shipping_subsidies?: io.flow.billing.reporting.v0.models.ReportingDebugMissingSubsidies;
7464
+ }
7465
+ interface ReportingDebugMissingSubsidies {
7466
+ readonly price?: boolean;
7467
+ readonly tax?: boolean;
7468
+ readonly duty?: boolean;
7469
+ }
7470
+ interface ReportingDestination {
7471
+ readonly country: io.flow.billing.reporting.v0.models.ReportingCountry;
7472
+ readonly province?: io.flow.billing.reporting.v0.models.ReportingProvince;
7473
+ }
7474
+ interface ReportingEntity {
7560
7475
  readonly id: string;
7561
- readonly description: string;
7562
7476
  }
7563
- interface VirtualCardProvider {
7477
+ interface ReportingFulfillment {
7564
7478
  readonly id: string;
7565
- readonly organization_id: string;
7566
- readonly provider: string;
7567
- readonly attributes?: Record<string, string>;
7568
- readonly created_at: string;
7569
- readonly updated_at: string;
7479
+ readonly sequence_number: number;
7480
+ readonly fulfilled_at: string;
7481
+ readonly completes_order: boolean;
7482
+ readonly payment: io.flow.billing.reporting.v0.models.ReportingPayment;
7483
+ readonly refund?: io.flow.billing.reporting.v0.models.ReportingRefundReference;
7484
+ readonly value: io.flow.billing.reporting.v0.models.FulfillmentShopperBreakdown;
7485
+ readonly dispatch_country?: io.flow.billing.reporting.v0.models.ReportingCountry;
7486
+ readonly destination?: io.flow.billing.reporting.v0.models.ReportingDestination;
7487
+ readonly shipment?: io.flow.billing.reporting.v0.models.ReportingShipment;
7488
+ readonly is: io.flow.billing.reporting.v0.models.ReportingFulfillmentIs;
7489
+ readonly has: io.flow.billing.reporting.v0.models.ReportingFulfillmentHas;
7490
+ readonly fx: io.flow.billing.reporting.v0.models.ReportingFx;
7491
+ readonly business?: io.flow.billing.reporting.v0.models.ReportingBusiness;
7570
7492
  }
7571
- }
7572
- declare namespace io.flow.payment.internal.v0.unions {
7573
- type AuthorizationPayload = io.flow.payment.internal.v0.models.ApplePayAuthorizationPayload | io.flow.payment.internal.v0.models.PaypalAuthorizationPayload;
7574
- type InlineAuthorizationParameters = io.flow.payment.internal.v0.models.KlarnaAuthorizationParameters;
7575
- type InternalAuthorizationDetails = io.flow.payment.internal.v0.models.InternalPaypalAuthorizationDetails | io.flow.payment.internal.v0.models.InternalBitpayAuthorizationDetails | io.flow.payment.internal.v0.models.InternalStripeAuthorizationDetails | io.flow.payment.internal.v0.models.InternalAdyenAuthorizationDetails | io.flow.payment.internal.v0.models.InternalAfterpayAuthorizationDetails | io.flow.payment.internal.v0.models.InternalFiservAuthorizationDetails;
7576
- type InternalRefundForm = io.flow.payment.internal.v0.models.AdyenRefundForm;
7577
- type InternalTransactionDetails = io.flow.payment.internal.v0.models.InternalTransactionDetailsCard;
7578
- type PaymentRedirect = io.flow.payment.internal.v0.models.OnlineAuthorizationCompleted | io.flow.payment.internal.v0.models.RedirectActionCompleted;
7579
- type ProcessorAccount = io.flow.payment.internal.v0.models.StripeAccount | io.flow.payment.internal.v0.models.AdyenAccount | io.flow.payment.internal.v0.models.PaypalAccount | io.flow.payment.internal.v0.models.AfterpayAccount | io.flow.payment.internal.v0.models.BitpayAccount | io.flow.payment.internal.v0.models.FiservAccount | io.flow.payment.internal.v0.models.CryptoAccount;
7580
- type ProcessorAccountModificationForm = io.flow.payment.internal.v0.models.StripeAccountModificationForm | io.flow.payment.internal.v0.models.AdyenAccountModificationForm | io.flow.payment.internal.v0.models.PaypalAccountModificationForm | io.flow.payment.internal.v0.models.AfterpayAccountModificationForm | io.flow.payment.internal.v0.models.BitpayAccountModificationForm | io.flow.payment.internal.v0.models.FiservAccountModificationForm | io.flow.payment.internal.v0.models.CryptoAccountModificationForm;
7581
- type ProcessorAccountPutForm = io.flow.payment.internal.v0.models.StripeAccountPutForm | io.flow.payment.internal.v0.models.AdyenAccountPutForm | io.flow.payment.internal.v0.models.PaypalAccountPutForm | io.flow.payment.internal.v0.models.AfterpayAccountPutForm | io.flow.payment.internal.v0.models.BitpayAccountPutForm | io.flow.payment.internal.v0.models.FiservAccountPutForm | io.flow.payment.internal.v0.models.CryptoAccountPutForm;
7582
- type ProcessorMerchant = io.flow.payment.internal.v0.models.StripeMerchant | io.flow.payment.internal.v0.models.AdyenMerchant | io.flow.payment.internal.v0.models.FiservMerchant | io.flow.payment.internal.v0.models.PaypalMerchant;
7583
- type ProcessorMerchantForm = io.flow.payment.internal.v0.models.StripeMerchantForm;
7584
- type ProcessorMerchantModificationForm = io.flow.payment.internal.v0.models.StripeMerchantModificationForm | io.flow.payment.internal.v0.models.AdyenMerchantModificationForm | io.flow.payment.internal.v0.models.FiservMerchantModificationForm | io.flow.payment.internal.v0.models.PaypalMerchantModificationForm;
7585
- type ProcessorMerchantPutForm = io.flow.payment.internal.v0.models.StripeMerchantPutForm | io.flow.payment.internal.v0.models.AdyenMerchantPutForm | io.flow.payment.internal.v0.models.FiservMerchantPutForm | io.flow.payment.internal.v0.models.PaypalMerchantPutForm;
7586
- type RoutingEntity = io.flow.payment.internal.v0.models.RoutingProcessor | io.flow.payment.internal.v0.models.RoutingAccount | io.flow.payment.internal.v0.models.RoutingMerchant;
7587
- }
7588
- declare namespace io.flow.partner.v0.enums {
7589
- type LabelFormat = 'pdf' | 'zpl' | 'all';
7590
- }
7591
- declare namespace io.flow.partner.v0.models {
7592
- interface BridgeHub {
7593
- readonly hub_code: string;
7594
- readonly address: io.flow.fulfillment.v0.models.ShippingAddress;
7493
+ interface ReportingFulfillmentHas {
7494
+ readonly zero_vat_product: boolean;
7595
7495
  }
7596
- interface BridgeLabelForm {
7597
- readonly discriminator: 'bridge_label_form';
7598
- readonly organization: string;
7599
- readonly order_number: string;
7600
- readonly package: io.flow.partner.v0.models.BridgeLabelPackage;
7601
- readonly hub?: io.flow.partner.v0.models.BridgeHub;
7496
+ interface ReportingFulfillmentIs {
7497
+ readonly replacement: boolean;
7498
+ readonly virtual: io.flow.billing.reporting.v0.enums.ReportingFulfillmentIsVirtual;
7499
+ readonly duties_guaranteed: boolean;
7500
+ readonly wyol: boolean;
7501
+ readonly b2b: boolean;
7502
+ readonly domestic: boolean;
7602
7503
  }
7603
- interface BridgeLabelPackage {
7604
- readonly dimensions?: io.flow.common.v0.models.Dimension;
7605
- readonly items: io.flow.common.v0.models.LineItemForm[];
7606
- readonly reference_number: string;
7504
+ interface ReportingFx {
7505
+ readonly shipping: io.flow.billing.reporting.v0.models.ReportingUsd;
7506
+ readonly fees: io.flow.billing.reporting.v0.models.ReportingUsd;
7507
+ readonly product: io.flow.billing.reporting.v0.models.ReportingUsd;
7508
+ readonly tax: io.flow.billing.reporting.v0.models.ReportingUsd;
7509
+ readonly duty: io.flow.billing.reporting.v0.models.ReportingUsd;
7510
+ readonly total: io.flow.billing.reporting.v0.models.ReportingUsd;
7511
+ }
7512
+ interface ReportingMerchantBreakdown {
7513
+ readonly subsidies: io.flow.billing.reporting.v0.models.ReportingMerchantSubsidies;
7514
+ readonly fees: io.flow.billing.reporting.v0.models.ReportingMerchantFees;
7515
+ readonly transactions: io.flow.billing.reporting.v0.models.ReportingMerchantTransactions;
7607
7516
  }
7608
- interface DetailedLabelForm {
7609
- readonly discriminator: 'detailed_label_form';
7610
- readonly organization: string;
7611
- readonly destination: io.flow.fulfillment.v0.models.ShippingAddress;
7612
- readonly order_number: string;
7613
- readonly origin: io.flow.fulfillment.v0.models.ShippingAddress;
7614
- readonly package: io.flow.label.v0.models.ShippingLabelPackage;
7615
- readonly service?: string;
7616
- readonly references?: string[];
7517
+ interface ReportingMerchantFees {
7518
+ readonly duty_guarantee: io.flow.billing.reporting.v0.models.ReportingMonetaryValue;
7519
+ readonly mor: io.flow.billing.reporting.v0.models.ReportingMonetaryValue;
7520
+ readonly fraud: io.flow.billing.reporting.v0.models.ReportingMonetaryValue;
7521
+ readonly fx: io.flow.billing.reporting.v0.models.ReportingMonetaryValue;
7522
+ readonly processing: io.flow.billing.reporting.v0.models.ReportingMonetaryValue;
7523
+ readonly rate_lock: io.flow.billing.reporting.v0.models.ReportingMonetaryValue;
7524
+ readonly transfer: io.flow.billing.reporting.v0.models.ReportingMonetaryValue;
7617
7525
  }
7618
- interface Label {
7526
+ interface ReportingMerchantSubsidies {
7527
+ readonly shipping: io.flow.billing.reporting.v0.models.ReportingMonetaryValue;
7528
+ readonly tax: io.flow.billing.reporting.v0.models.ReportingMonetaryValue;
7529
+ readonly duty: io.flow.billing.reporting.v0.models.ReportingMonetaryValue;
7530
+ readonly ccf: io.flow.billing.reporting.v0.models.ReportingMonetaryValue;
7531
+ }
7532
+ interface ReportingMerchantTransactions {
7533
+ readonly adjustment: io.flow.billing.reporting.v0.models.ReportingMonetaryValue;
7534
+ readonly reversal: io.flow.billing.reporting.v0.models.ReportingMonetaryValue;
7535
+ readonly tax: io.flow.billing.reporting.v0.models.ReportingMonetaryValue;
7536
+ readonly duty: io.flow.billing.reporting.v0.models.ReportingMonetaryValue;
7537
+ readonly freight: io.flow.billing.reporting.v0.models.ReportingMonetaryValue;
7538
+ readonly refund: io.flow.billing.reporting.v0.models.ReportingMonetaryValue;
7539
+ }
7540
+ interface ReportingMonetaryValue {
7541
+ readonly transaction: number;
7542
+ readonly merchant: number;
7543
+ readonly entity: number;
7544
+ readonly usd: number;
7545
+ readonly eur: number;
7546
+ }
7547
+ interface ReportingOrderSummary {
7619
7548
  readonly id: string;
7620
- readonly organization: io.flow.partner.v0.models.PartnerOrganizationReference;
7621
- readonly order_number: string;
7622
- readonly package: io.flow.label.v0.models.ShippingLabelPackage;
7623
- readonly carrier_tracking_number: string;
7624
- readonly carrier_tracking_number_url: string;
7625
- readonly destination: io.flow.fulfillment.v0.models.ShippingAddress;
7626
- readonly flow_tracking_number: string;
7627
- readonly flow_tracking_number_url: string;
7628
- readonly origin: io.flow.fulfillment.v0.models.ShippingAddress;
7629
- readonly service: io.flow.fulfillment.v0.models.ServiceSummary;
7630
- readonly window: io.flow.common.v0.models.DatetimeRange;
7631
- readonly zpl?: string;
7632
- readonly pdf?: string;
7633
- readonly png?: string;
7634
- readonly commercial_invoice?: string;
7635
- readonly references?: string[];
7636
- readonly label?: io.flow.label.v0.models.ShippingLabelDocument;
7637
- readonly invoice?: io.flow.label.v0.models.ShippingLabelDocument;
7638
- readonly cost?: io.flow.common.v0.models.Price;
7639
- readonly shipment_recipient?: io.flow.label.v0.enums.ShipmentRecipient;
7549
+ readonly number: string;
7550
+ readonly submitted_at: string;
7640
7551
  }
7641
- interface PartnerBridgeManifest {
7552
+ interface ReportingOrganizationSummary {
7642
7553
  readonly id: string;
7643
- readonly organization: io.flow.partner.v0.models.PartnerOrganizationReference;
7644
- readonly service: io.flow.fulfillment.v0.models.ServiceSummary;
7645
- readonly pdf: string;
7646
- readonly data: string;
7554
+ readonly name: string;
7647
7555
  }
7648
- interface PartnerBridgeManifestForm {
7649
- readonly order_numbers: string[];
7556
+ interface ReportingPayment {
7557
+ readonly metadata?: io.flow.billing.reporting.v0.models.ReportingPaymentMetadata;
7558
+ readonly psp: io.flow.billing.reporting.v0.models.ReportingMonetaryValue;
7559
+ readonly credit: io.flow.billing.reporting.v0.models.ReportingMonetaryValue;
7560
+ readonly total: io.flow.billing.reporting.v0.models.ReportingMonetaryValue;
7650
7561
  }
7651
- interface PartnerFulfillment {
7652
- readonly organization: string;
7653
- readonly key: string;
7654
- readonly number: string;
7655
- readonly items: io.flow.order.management.v0.models.FulfillmentItem[];
7656
- readonly center?: io.flow.fulfillment.v0.models.CenterSummary[];
7562
+ interface ReportingPaymentMetadata {
7563
+ readonly gateway: io.flow.payment.internal.v0.enums.Processor;
7564
+ readonly method: string;
7565
+ readonly psp_reference?: string;
7566
+ readonly authorization?: io.flow.billing.reporting.v0.models.ReportingAuthorizationReference;
7567
+ readonly settlement_date: string;
7568
+ readonly additional_authorizations?: io.flow.billing.reporting.v0.models.ReportingPaymentMetadataAdditionalAuthorizations;
7657
7569
  }
7658
- interface PartnerFulfillmentCancellationForm {
7659
- readonly change_source: io.flow.order.management.v0.enums.OrderChangeSource;
7660
- readonly reason: io.flow.order.management.v0.enums.CancelReason;
7661
- readonly lines: io.flow.order.management.v0.models.FulfillmentLineCancelForm[];
7570
+ interface ReportingPaymentMetadataAdditionalAuthorizations {
7571
+ readonly ids: string;
7662
7572
  }
7663
- interface PartnerFulfillmentCompleteCancellationForm {
7664
- readonly change_source: io.flow.order.management.v0.enums.OrderChangeSource;
7665
- readonly reason: io.flow.order.management.v0.enums.CancelReason;
7573
+ interface ReportingProvince {
7574
+ readonly code?: string;
7575
+ readonly name: string;
7666
7576
  }
7667
- interface PartnerManifest {
7577
+ interface ReportingReconciliation {
7578
+ readonly date: string;
7579
+ readonly month: number;
7580
+ readonly year: number;
7581
+ }
7582
+ interface ReportingRefundReference {
7668
7583
  readonly id: string;
7669
- readonly organization: io.flow.partner.v0.models.PartnerOrganizationReference;
7670
- readonly service?: io.flow.fulfillment.v0.models.ServiceSummary;
7671
- readonly timestamp: string;
7672
- readonly shipping_labels: io.flow.label.v0.models.ShippingLabelSummary[];
7673
- readonly pdf?: string;
7674
7584
  }
7675
- interface PartnerManifestForm {
7676
- readonly tracking_numbers: string[];
7677
- readonly service?: string;
7585
+ interface ReportingShipment {
7586
+ readonly carrier: string;
7587
+ readonly tracking_number?: string;
7678
7588
  }
7679
- interface PartnerOrderIdentifier {
7680
- readonly id: string;
7681
- readonly organization: io.flow.partner.v0.models.PartnerOrganizationReference;
7682
- readonly order: io.flow.partner.v0.models.PartnerOrderReference;
7683
- readonly number: string;
7589
+ interface ReportingShopperFees {
7590
+ readonly fuel: io.flow.billing.reporting.v0.models.ReportingMonetaryValue;
7591
+ readonly remote_area: io.flow.billing.reporting.v0.models.ReportingMonetaryValue;
7592
+ readonly oversize: io.flow.billing.reporting.v0.models.ReportingMonetaryValue;
7593
+ readonly ccf: io.flow.billing.reporting.v0.models.ReportingMonetaryValue;
7594
+ readonly emergency: io.flow.billing.reporting.v0.models.ReportingMonetaryValue;
7595
+ readonly peak: io.flow.billing.reporting.v0.models.ReportingMonetaryValue;
7684
7596
  }
7685
- interface PartnerOrderIdentifierForm {
7686
- readonly number: string;
7687
- readonly order_number: string;
7597
+ interface ReportingUsd {
7598
+ readonly usd: number;
7688
7599
  }
7689
- interface PartnerOrderIdentifierPutForm {
7690
- readonly order_number: string;
7600
+ interface ReportingVatRemittance {
7601
+ readonly currency: string;
7602
+ readonly rate: io.flow.billing.reporting.v0.models.ReportingVatRemittanceRate;
7691
7603
  }
7692
- interface PartnerOrderReference {
7693
- readonly id: string;
7694
- readonly number: string;
7604
+ interface ReportingVatRemittanceRate {
7605
+ readonly entity: number;
7695
7606
  }
7696
- interface PartnerOrganizationReference {
7607
+ interface ReportingVendor {
7697
7608
  readonly id: string;
7698
7609
  }
7699
- interface SummaryLabelForm {
7700
- readonly discriminator: 'summary_label_form';
7701
- readonly organization: string;
7702
- readonly order_number: string;
7703
- readonly items?: io.flow.common.v0.models.LineItemForm[];
7704
- readonly package?: io.flow.label.v0.models.ShippingLabelPackage;
7705
- readonly center_key?: string;
7610
+ interface RevenueRecord {
7611
+ readonly id: string;
7612
+ readonly organization: io.flow.billing.reporting.v0.models.ReportingOrganizationSummary;
7613
+ readonly parent?: io.flow.billing.reporting.v0.models.RecordReference;
7614
+ readonly type: io.flow.billing.reporting.v0.enums.RevenueRecordType;
7615
+ readonly order: io.flow.billing.reporting.v0.models.ReportingOrderSummary;
7616
+ readonly entity: io.flow.billing.reporting.v0.models.ReportingEntity;
7617
+ readonly vendor: io.flow.billing.reporting.v0.models.ReportingVendor;
7618
+ readonly currencies: io.flow.billing.reporting.v0.models.ReportingCurrencies;
7619
+ readonly conversion_rate: io.flow.billing.reporting.v0.models.ReportingConversionRates;
7620
+ readonly reconciliation: io.flow.billing.reporting.v0.models.ReportingReconciliation;
7621
+ readonly merchant: io.flow.billing.reporting.v0.models.ReportingMerchantBreakdown;
7622
+ readonly fulfillment: io.flow.billing.reporting.v0.models.ReportingFulfillment;
7623
+ readonly vat_remittance: io.flow.billing.reporting.v0.models.ReportingVatRemittance;
7624
+ readonly marked_as_final: io.flow.billing.reporting.v0.models.MarkedAsFinal;
7625
+ readonly debug: io.flow.billing.reporting.v0.models.ReportingDebug;
7706
7626
  }
7707
7627
  }
7708
- declare namespace io.flow.partner.v0.unions {
7709
- type LabelForm = io.flow.partner.v0.models.DetailedLabelForm | io.flow.partner.v0.models.SummaryLabelForm | io.flow.partner.v0.models.BridgeLabelForm;
7710
- }
7711
- declare namespace io.flow.common.v0.enums {
7712
- type AttributeDataType = 'boolean' | 'integer' | 'decimal' | 'string' | 'json_array';
7713
- type AvailabilityStatus = 'enabled' | 'disabled';
7714
- type Calendar = 'weekdays' | 'everyday';
7715
- type Capability = 'crossdock';
7716
- type ChangeType = 'insert' | 'update' | 'delete';
7717
- type CurrencyLabelFormatter = 'strip_trailing_zeros' | 'symbol_prefix' | 'symbol_suffix';
7718
- type CurrencySymbolFormat = 'narrow' | 'primary';
7719
- type DayOfWeek = 'sunday' | 'monday' | 'tuesday' | 'wednesday' | 'thursday' | 'friday' | 'saturday';
7720
- type DeliveredDuty = 'paid' | 'unpaid';
7721
- type DiscountTarget = 'item' | 'shipping';
7722
- type EntityIdentifierType = 'ioss' | 'voec';
7723
- type Environment = 'sandbox' | 'production';
7724
- type ExceptionType = 'open' | 'closed';
7725
- type GoodsSupply = 'export' | 'intra_community' | 'local';
7726
- type HolidayCalendar = 'us_bank_holidays' | 'jewish_holidays';
7727
- type IncludedLevyKey = 'duty' | 'vat' | 'vat_and_duty' | 'none';
7728
- type Incoterm = 'EXW' | 'FCA' | 'CPT' | 'CIP' | 'DAT' | 'DAP' | 'DDP' | 'FAS' | 'FOB' | 'CFR' | 'CIF' | 'DAF' | 'DES' | 'DEQ' | 'DDU';
7729
- type InputSpecificationType = 'text' | 'number';
7730
- type MarginType = 'fixed' | 'percent';
7731
- type MeasurementSystem = 'imperial' | 'metric';
7732
- type MerchantOfRecord = 'flow' | 'organization';
7733
- type OrderMerchantOfRecord = 'flow' | 'organization' | 'mixed';
7734
- type OrganizationStatus = 'active' | 'inactive' | 'deactivated' | 'provisioned';
7735
- type OrganizationType = 'standalone' | 'channel';
7736
- type PriceBookStatus = 'draft' | 'published' | 'archived';
7737
- type Role = 'admin' | 'member';
7738
- type RoundingMethod = 'up' | 'down' | 'nearest';
7739
- type RoundingType = 'pattern' | 'multiple';
7740
- type ScheduleExceptionStatus = 'Open' | 'Closed';
7741
- type SortDirection = 'ascending' | 'descending';
7742
- type UnitOfMeasurement = 'millimeter' | 'centimeter' | 'inch' | 'foot' | 'cubic_inch' | 'cubic_meter' | 'gram' | 'kilogram' | 'meter' | 'ounce' | 'pound';
7743
- type UnitOfTime = 'year' | 'month' | 'week' | 'day' | 'hour' | 'minute';
7744
- type UserStatus = 'pending' | 'active' | 'inactive';
7745
- type ValueAddedService = 'Hazardous Material';
7746
- type Visibility = 'public' | 'private';
7628
+ declare namespace io.flow.payment.internal.v0.enums {
7629
+ type AdyenIntegrationType = 'hosted_payment_page' | 'checkout_payments_api' | 'classic_authorise_api';
7630
+ type ChargebackPaymentStatus = 'captured' | 'refunded';
7631
+ type ChargebackProcessStatus = 'inquiry' | 'open' | 'closed';
7632
+ type HttpMethod = 'get' | 'post';
7633
+ type OrganizationCapability = 'organization' | 'flow' | 'dynamic';
7634
+ type OrganizationPaymentStatus = 'active' | 'archived';
7635
+ type Owner = 'flow' | 'organization';
7636
+ type Processor = 'adyen' | 'afterpay' | 'bitpay' | 'stripe' | 'paypal' | 'flow_sandbox' | 'fiserv' | 'crypto';
7637
+ type ProcessorEntityStatus = 'active' | 'draft' | 'archived';
7638
+ type RedirectReason = 'three_d_secure';
7639
+ type RiskCheck = 'three_d_secure';
7747
7640
  }
7748
- declare namespace io.flow.common.v0.models {
7749
- interface Address {
7750
- readonly text?: string;
7751
- readonly streets?: string[];
7752
- readonly street_number?: string;
7753
- readonly city?: string;
7754
- readonly province?: string;
7755
- readonly postal?: string;
7756
- readonly country?: string;
7757
- readonly latitude?: string;
7758
- readonly longitude?: string;
7759
- }
7760
- interface BillingAddress {
7761
- readonly name?: io.flow.common.v0.models.Name;
7762
- readonly streets?: string[];
7763
- readonly city?: string;
7764
- readonly province?: string;
7765
- readonly postal?: string;
7766
- readonly country?: string;
7767
- readonly company?: string;
7768
- }
7769
- interface CatalogItemReference {
7641
+ declare namespace io.flow.payment.internal.v0.models {
7642
+ interface AdyenAccount {
7643
+ readonly discriminator: 'adyen_account';
7770
7644
  readonly id: string;
7771
- readonly number: string;
7645
+ readonly organization_id: string;
7646
+ readonly key: string;
7647
+ readonly owner: io.flow.payment.internal.v0.enums.Owner;
7648
+ readonly name: string;
7649
+ readonly ui_reference: string;
7650
+ readonly authentication: io.flow.payment.internal.v0.models.AdyenAuthentication;
7651
+ readonly country: string;
7652
+ readonly status: io.flow.payment.internal.v0.enums.ProcessorEntityStatus;
7653
+ readonly organization_capability: io.flow.payment.internal.v0.enums.OrganizationCapability;
7654
+ readonly created_at: string;
7655
+ readonly updated_at: string;
7772
7656
  }
7773
- interface CatalogItemSummary {
7774
- readonly number: string;
7657
+ interface AdyenAccountModificationForm {
7658
+ readonly discriminator: 'adyen_account_modification_form';
7659
+ readonly owner: io.flow.payment.internal.v0.enums.Owner;
7775
7660
  readonly name: string;
7776
- readonly attributes: Record<string, string>;
7661
+ readonly ui_reference: string;
7662
+ readonly country: string;
7663
+ readonly status: io.flow.payment.internal.v0.enums.ProcessorEntityStatus;
7777
7664
  }
7778
- interface ChannelReference {
7779
- readonly id: string;
7665
+ interface AdyenAccountPutForm {
7666
+ readonly discriminator: 'adyen_account_put_form';
7667
+ readonly owner?: io.flow.payment.internal.v0.enums.Owner;
7668
+ readonly name: string;
7669
+ readonly ui_reference: string;
7670
+ readonly authentication: io.flow.payment.internal.v0.models.AdyenAuthenticationForm;
7671
+ readonly country: string;
7672
+ readonly status?: io.flow.payment.internal.v0.enums.ProcessorEntityStatus;
7673
+ readonly organization_capability?: io.flow.payment.internal.v0.enums.OrganizationCapability;
7780
7674
  }
7781
- interface CheckoutReference {
7782
- readonly id: string;
7675
+ interface AdyenAuthentication {
7676
+ readonly username: string;
7677
+ readonly password_reference: string;
7678
+ readonly signature_secret_reference: string;
7783
7679
  }
7784
- interface Contact {
7785
- readonly name: io.flow.common.v0.models.Name;
7786
- readonly company?: string;
7787
- readonly email?: string;
7788
- readonly phone?: string;
7680
+ interface AdyenAuthenticationDataReference {
7681
+ readonly account_id: string;
7682
+ readonly merchant_account: string;
7683
+ readonly origin_key?: string;
7684
+ readonly integration_type?: io.flow.payment.internal.v0.enums.AdyenIntegrationType;
7789
7685
  }
7790
- interface CustomerInvoice {
7791
- readonly address?: io.flow.common.v0.models.BillingAddress;
7686
+ interface AdyenAuthenticationForm {
7687
+ readonly username: string;
7688
+ readonly password: string;
7689
+ readonly signature_secret: string;
7792
7690
  }
7793
- interface CustomerReference {
7794
- readonly number: string;
7691
+ interface AdyenMerchant {
7692
+ readonly discriminator: 'adyen_merchant';
7693
+ readonly id: string;
7694
+ readonly key: string;
7695
+ readonly organization_id: string;
7696
+ readonly external_id: string;
7697
+ readonly processor_account_reference: io.flow.payment.internal.v0.models.ProcessorAccountReference;
7698
+ readonly country: string;
7699
+ readonly status: io.flow.payment.internal.v0.enums.ProcessorEntityStatus;
7700
+ readonly organization_capability: io.flow.payment.internal.v0.enums.OrganizationCapability;
7701
+ readonly created_at: string;
7702
+ readonly updated_at: string;
7795
7703
  }
7796
- interface DatetimeRange {
7797
- readonly from: string;
7798
- readonly to: string;
7704
+ interface AdyenMerchantModificationForm {
7705
+ readonly discriminator: 'adyen_merchant_modification_form';
7706
+ readonly external_id: string;
7707
+ readonly country: string;
7708
+ readonly status: io.flow.payment.internal.v0.enums.ProcessorEntityStatus;
7799
7709
  }
7800
- interface Dimension {
7801
- readonly depth?: io.flow.common.v0.models.Measurement;
7802
- readonly diameter?: io.flow.common.v0.models.Measurement;
7803
- readonly length?: io.flow.common.v0.models.Measurement;
7804
- readonly weight?: io.flow.common.v0.models.Measurement;
7805
- readonly width?: io.flow.common.v0.models.Measurement;
7710
+ interface AdyenMerchantPutForm {
7711
+ readonly discriminator: 'adyen_merchant_put_form';
7712
+ readonly organization_id: string;
7713
+ readonly external_id: string;
7714
+ readonly country: string;
7715
+ readonly status?: io.flow.payment.internal.v0.enums.ProcessorEntityStatus;
7716
+ readonly organization_capability?: io.flow.payment.internal.v0.enums.OrganizationCapability;
7806
7717
  }
7807
- interface Dimensions {
7808
- readonly product?: io.flow.common.v0.models.Dimension;
7809
- readonly packaging?: io.flow.common.v0.models.Dimension;
7718
+ interface AdyenPaymentDetailsForm {
7719
+ readonly fingerprint?: string;
7720
+ readonly challenge_result?: string;
7810
7721
  }
7811
- interface DiscountForm {
7812
- readonly offer: io.flow.common.v0.unions.DiscountOffer;
7813
- readonly target?: io.flow.common.v0.enums.DiscountTarget;
7814
- readonly label?: string;
7722
+ interface AdyenRefundForm {
7723
+ readonly discriminator: 'adyen_refund_form';
7724
+ readonly amount: number;
7725
+ readonly authorization_id: string;
7726
+ readonly capture_id: string;
7727
+ readonly currency: string;
7728
+ readonly psp_reference: string;
7729
+ readonly key?: string;
7815
7730
  }
7816
- interface DiscountOfferFixed {
7817
- readonly discriminator: 'discount_offer_fixed';
7818
- readonly money: io.flow.common.v0.models.Money;
7731
+ interface AfterpayAccount {
7732
+ readonly discriminator: 'afterpay_account';
7733
+ readonly id: string;
7734
+ readonly organization_id: string;
7735
+ readonly key: string;
7736
+ readonly owner: io.flow.payment.internal.v0.enums.Owner;
7737
+ readonly country: string;
7738
+ readonly authentication: io.flow.payment.internal.v0.models.AfterpayAuthentication;
7739
+ readonly status: io.flow.payment.internal.v0.enums.ProcessorEntityStatus;
7740
+ readonly organization_capability: io.flow.payment.internal.v0.enums.OrganizationCapability;
7741
+ readonly created_at: string;
7742
+ readonly updated_at: string;
7819
7743
  }
7820
- interface DiscountOfferPercent {
7821
- readonly discriminator: 'discount_offer_percent';
7822
- readonly percent: number;
7744
+ interface AfterpayAccountModificationForm {
7745
+ readonly discriminator: 'afterpay_account_modification_form';
7746
+ readonly owner: io.flow.payment.internal.v0.enums.Owner;
7747
+ readonly country: string;
7748
+ readonly status: io.flow.payment.internal.v0.enums.ProcessorEntityStatus;
7823
7749
  }
7824
- interface DiscountsForm {
7825
- readonly discounts: io.flow.common.v0.models.DiscountForm[];
7750
+ interface AfterpayAccountPutForm {
7751
+ readonly discriminator: 'afterpay_account_put_form';
7752
+ readonly owner?: io.flow.payment.internal.v0.enums.Owner;
7753
+ readonly country: string;
7754
+ readonly authentication: io.flow.payment.internal.v0.models.AfterpayAuthenticationForm;
7755
+ readonly status?: io.flow.payment.internal.v0.enums.ProcessorEntityStatus;
7756
+ readonly organization_capability?: io.flow.payment.internal.v0.enums.OrganizationCapability;
7826
7757
  }
7827
- interface Duration {
7828
- readonly unit: io.flow.common.v0.enums.UnitOfTime;
7829
- readonly value: number;
7758
+ interface AfterpayAuthentication {
7759
+ readonly username: string;
7760
+ readonly password_reference: string;
7830
7761
  }
7831
- interface EntityIdentifier {
7832
- readonly name: io.flow.common.v0.enums.EntityIdentifierType;
7833
- readonly number: string;
7834
- readonly issuing_country?: string;
7762
+ interface AfterpayAuthenticationDataReference {
7763
+ readonly account_id: string;
7835
7764
  }
7836
- interface Exception {
7837
- readonly type: io.flow.common.v0.enums.ExceptionType;
7838
- readonly datetime_range: io.flow.common.v0.models.DatetimeRange;
7765
+ interface AfterpayAuthenticationForm {
7766
+ readonly username: string;
7767
+ readonly password: string;
7839
7768
  }
7840
- interface ExperienceSummary {
7769
+ interface ApplePayAuthorizationPayload {
7770
+ readonly discriminator: 'apple_pay_authorization_payload';
7771
+ readonly apple_pay_token: string;
7772
+ }
7773
+ interface AuthenticationForm {
7774
+ readonly password: string;
7775
+ }
7776
+ interface AuthorizationBundle {
7841
7777
  readonly id: string;
7842
- readonly key: string;
7843
- readonly name: string;
7844
- readonly country?: string;
7845
- readonly currency?: string;
7846
- readonly language?: string;
7778
+ readonly organization_id: string;
7779
+ readonly authorization_reference: io.flow.payment.v0.models.AuthorizationReference;
7780
+ readonly payment_request_reference: io.flow.payment.gateway.v0.models.PaymentRequestReference;
7781
+ readonly billing?: io.flow.payment.request.bundle.v0.models.PaymentRequestBilling;
7782
+ }
7783
+ interface AuthorizationMetadata {
7784
+ readonly limit?: number;
7785
+ }
7786
+ interface AuthorizationParameters {
7787
+ readonly method: string;
7788
+ readonly parameters: any;
7789
+ }
7790
+ interface AuthorizationParametersForm {
7791
+ readonly order_number: string;
7792
+ readonly amount: number;
7793
+ readonly currency: string;
7794
+ readonly billing_address?: io.flow.common.v0.models.BillingAddress;
7795
+ readonly ip?: string;
7796
+ readonly origin_url?: string;
7847
7797
  }
7848
- interface IncludedLevies {
7849
- readonly key: io.flow.common.v0.enums.IncludedLevyKey;
7850
- readonly label: string;
7798
+ interface BitpayAccount {
7799
+ readonly discriminator: 'bitpay_account';
7800
+ readonly id: string;
7801
+ readonly organization_id: string;
7802
+ readonly key: string;
7803
+ readonly owner: io.flow.payment.internal.v0.enums.Owner;
7804
+ readonly authentication: io.flow.payment.internal.v0.models.BitpayAuthentication;
7805
+ readonly country: string;
7806
+ readonly status: io.flow.payment.internal.v0.enums.ProcessorEntityStatus;
7807
+ readonly organization_capability: io.flow.payment.internal.v0.enums.OrganizationCapability;
7808
+ readonly created_at: string;
7809
+ readonly updated_at: string;
7851
7810
  }
7852
- interface InputForm {
7853
- readonly values?: Record<string, string>;
7811
+ interface BitpayAccountModificationForm {
7812
+ readonly discriminator: 'bitpay_account_modification_form';
7813
+ readonly owner: io.flow.payment.internal.v0.enums.Owner;
7814
+ readonly country: string;
7815
+ readonly status: io.flow.payment.internal.v0.enums.ProcessorEntityStatus;
7854
7816
  }
7855
- interface InputFormSpecification {
7856
- readonly inputs?: io.flow.common.v0.models.InputSpecification[];
7857
- readonly limitations?: io.flow.common.v0.models.InputSpecificationLimitations;
7817
+ interface BitpayAccountPutForm {
7818
+ readonly discriminator: 'bitpay_account_put_form';
7819
+ readonly owner?: io.flow.payment.internal.v0.enums.Owner;
7820
+ readonly authentication: io.flow.payment.internal.v0.models.BitpayAuthenticationForm;
7821
+ readonly country: string;
7822
+ readonly status?: io.flow.payment.internal.v0.enums.ProcessorEntityStatus;
7823
+ readonly organization_capability?: io.flow.payment.internal.v0.enums.OrganizationCapability;
7858
7824
  }
7859
- interface InputSpecification {
7860
- readonly type: io.flow.common.v0.enums.InputSpecificationType;
7861
- readonly name: string;
7862
- readonly display_text?: string;
7825
+ interface BitpayAuthentication {
7826
+ readonly api_token: string;
7827
+ readonly public_key: string;
7828
+ readonly secret_key_reference: string;
7863
7829
  }
7864
- interface InputSpecificationLimitationMax {
7865
- readonly discriminator: 'input_specification_limitation_max';
7866
- readonly max: number;
7830
+ interface BitpayAuthenticationDataReference {
7831
+ readonly id: string;
7867
7832
  }
7868
- interface InputSpecificationLimitations {
7869
- readonly limitations?: io.flow.common.v0.unions.InputSpecificationLimitation[];
7833
+ interface BitpayAuthenticationForm {
7834
+ readonly api_token: string;
7835
+ readonly public_key: string;
7836
+ readonly secret_key: string;
7870
7837
  }
7871
- interface ItemReference {
7872
- readonly number: string;
7838
+ interface Chargeback {
7839
+ readonly id: string;
7840
+ readonly key: string;
7841
+ readonly authorization: io.flow.payment.v0.models.AuthorizationReference;
7842
+ readonly amount: number;
7843
+ readonly currency: string;
7844
+ readonly base?: io.flow.common.v0.models.Money;
7845
+ readonly chargeback_issued_at: string;
7846
+ readonly created_at: string;
7847
+ readonly payment_status: io.flow.payment.internal.v0.enums.ChargebackPaymentStatus;
7848
+ readonly process_status: io.flow.payment.internal.v0.enums.ChargebackProcessStatus;
7849
+ readonly processor: io.flow.payment.internal.v0.enums.Processor;
7850
+ readonly processor_reason: string;
7851
+ readonly processor_status: string;
7852
+ readonly processor_reference?: string;
7853
+ readonly provider_reference?: string;
7854
+ readonly provider_reason_code?: string;
7873
7855
  }
7874
- interface LineItem {
7875
- readonly number: string;
7876
- readonly quantity: number;
7877
- readonly price: io.flow.common.v0.models.Money;
7878
- readonly attributes: Record<string, string>;
7879
- readonly center?: string;
7880
- readonly discount?: io.flow.common.v0.models.Money;
7856
+ interface ChargebackVersion {
7857
+ readonly id: string;
7858
+ readonly timestamp: string;
7859
+ readonly type: io.flow.common.v0.enums.ChangeType;
7860
+ readonly chargeback: io.flow.payment.internal.v0.models.Chargeback;
7881
7861
  }
7882
- interface LineItemAttributesForm {
7862
+ interface Cipher {
7863
+ readonly id: string;
7883
7864
  readonly attributes: Record<string, string>;
7884
7865
  }
7885
- interface LineItemForm {
7886
- readonly number: string;
7887
- readonly quantity: number;
7888
- readonly shipment_estimate?: io.flow.common.v0.models.DatetimeRange;
7889
- readonly price?: io.flow.common.v0.models.Money;
7866
+ interface CipherForm {
7867
+ readonly text: string;
7890
7868
  readonly attributes?: Record<string, string>;
7891
- readonly center?: string;
7892
- readonly discount?: io.flow.common.v0.models.Money;
7893
- readonly discounts?: io.flow.common.v0.models.DiscountsForm;
7894
- }
7895
- interface LineItemQuantityForm {
7896
- readonly quantity: number;
7897
- }
7898
- interface LogoImageSetStatic {
7899
- readonly discriminator: 'static';
7900
- readonly small?: io.flow.common.v0.models.LogoImageStatic;
7901
- readonly medium: io.flow.common.v0.models.LogoImageStatic;
7902
- readonly large?: io.flow.common.v0.models.LogoImageStatic;
7903
- }
7904
- interface LogoImageStatic {
7905
- readonly url: string;
7906
- readonly width: number;
7907
- readonly height: number;
7869
+ readonly password?: string;
7908
7870
  }
7909
- interface LogoImageSvg {
7910
- readonly discriminator: 'svg';
7911
- readonly url: string;
7871
+ interface CipherReference {
7872
+ readonly id: string;
7912
7873
  }
7913
- interface Margin {
7914
- readonly type: io.flow.common.v0.enums.MarginType;
7915
- readonly value: number;
7874
+ interface ClassicPaymentRedirectForm {
7875
+ readonly MD: string;
7876
+ readonly PaRes: string;
7916
7877
  }
7917
- interface Measurement {
7918
- readonly value: string;
7919
- readonly units: io.flow.common.v0.enums.UnitOfMeasurement;
7878
+ interface CryptoAccount {
7879
+ readonly discriminator: 'crypto_account';
7880
+ readonly id: string;
7881
+ readonly organization_id: string;
7882
+ readonly key: string;
7883
+ readonly owner: io.flow.payment.internal.v0.enums.Owner;
7884
+ readonly authentication: io.flow.payment.internal.v0.models.CryptoAuthentication;
7885
+ readonly country: string;
7886
+ readonly status: io.flow.payment.internal.v0.enums.ProcessorEntityStatus;
7887
+ readonly organization_capability: io.flow.payment.internal.v0.enums.OrganizationCapability;
7888
+ readonly created_at: string;
7889
+ readonly updated_at: string;
7920
7890
  }
7921
- interface MerchantOfRecordEntity {
7922
- readonly organization: io.flow.common.v0.models.OrganizationReference;
7923
- readonly name: string;
7924
- readonly vat?: io.flow.common.v0.models.MerchantOfRecordEntityRegistration;
7925
- readonly identifiers?: io.flow.common.v0.models.EntityIdentifier[];
7926
- readonly streets: string[];
7927
- readonly city: string;
7928
- readonly province?: string;
7929
- readonly postal?: string;
7891
+ interface CryptoAccountModificationForm {
7892
+ readonly discriminator: 'crypto_account_modification_form';
7893
+ readonly owner: io.flow.payment.internal.v0.enums.Owner;
7930
7894
  readonly country: string;
7931
- readonly phone?: string;
7932
- readonly email?: string;
7895
+ readonly status: io.flow.payment.internal.v0.enums.ProcessorEntityStatus;
7933
7896
  }
7934
- interface MerchantOfRecordEntityRegistration {
7935
- readonly number: string;
7897
+ interface CryptoAccountPutForm {
7898
+ readonly discriminator: 'crypto_account_put_form';
7899
+ readonly owner?: io.flow.payment.internal.v0.enums.Owner;
7900
+ readonly authentication: io.flow.payment.internal.v0.models.CryptoAuthenticationForm;
7936
7901
  readonly country: string;
7902
+ readonly status?: io.flow.payment.internal.v0.enums.ProcessorEntityStatus;
7903
+ readonly organization_capability?: io.flow.payment.internal.v0.enums.OrganizationCapability;
7937
7904
  }
7938
- interface Money {
7939
- readonly amount: number;
7940
- readonly currency: string;
7905
+ interface CryptoAuthentication {
7906
+ readonly public_key: string;
7907
+ readonly secret_key_reference: string;
7908
+ readonly signature_secret_reference: string;
7941
7909
  }
7942
- interface MoneyWithBase {
7943
- readonly currency: string;
7944
- readonly amount: number;
7945
- readonly base: io.flow.common.v0.models.Money;
7910
+ interface CryptoAuthenticationForm {
7911
+ readonly public_key: string;
7912
+ readonly secret_key: string;
7913
+ readonly signature_secret: string;
7946
7914
  }
7947
- interface MoneyWithOptionalBase {
7948
- readonly currency: string;
7949
- readonly amount: number;
7950
- readonly base?: io.flow.common.v0.models.Money;
7915
+ interface DecryptCipherForm {
7916
+ readonly id: string;
7917
+ readonly password: string;
7951
7918
  }
7952
- interface Name {
7953
- readonly first?: string;
7954
- readonly last?: string;
7919
+ interface DecryptedCipher {
7920
+ readonly id: string;
7921
+ readonly cleartext: string;
7922
+ readonly attributes: Record<string, string>;
7955
7923
  }
7956
- interface OrderCustomer {
7957
- readonly name: io.flow.common.v0.models.Name;
7958
- readonly number?: string;
7959
- readonly phone?: string;
7960
- readonly email?: string;
7961
- readonly address?: io.flow.common.v0.models.BillingAddress;
7962
- readonly invoice?: io.flow.common.v0.models.CustomerInvoice;
7924
+ interface Encryption {
7925
+ readonly id: string;
7926
+ readonly key: io.flow.payment.internal.v0.models.KeyReference;
7927
+ readonly iv: string;
7928
+ readonly cipher: string;
7929
+ readonly passphrase_ids: string[];
7963
7930
  }
7964
- interface OrderCustomerForm {
7965
- readonly name?: io.flow.common.v0.models.Name;
7966
- readonly number?: string;
7967
- readonly phone?: string;
7968
- readonly email?: string;
7969
- readonly address?: io.flow.common.v0.models.BillingAddress;
7970
- readonly invoice?: io.flow.common.v0.models.CustomerInvoice;
7931
+ interface FinancialMerchantCategory {
7932
+ readonly id: string;
7933
+ readonly iso_18245_4: string;
7934
+ readonly title: string;
7935
+ readonly category_group: string;
7936
+ readonly description?: string;
7971
7937
  }
7972
- interface Organization {
7973
- readonly discriminator: 'organization';
7938
+ interface FiservAccount {
7939
+ readonly discriminator: 'fiserv_account';
7974
7940
  readonly id: string;
7975
- readonly name: string;
7976
- readonly environment: io.flow.common.v0.enums.Environment;
7977
- readonly parent?: io.flow.common.v0.models.OrganizationReference;
7978
- readonly defaults?: io.flow.common.v0.models.OrganizationDefaults;
7979
- readonly created_at?: string;
7980
- readonly status?: io.flow.common.v0.enums.OrganizationStatus;
7981
- readonly type?: io.flow.common.v0.enums.OrganizationType;
7941
+ readonly organization_id: string;
7942
+ readonly key: string;
7943
+ readonly owner: io.flow.payment.internal.v0.enums.Owner;
7944
+ readonly region: string;
7945
+ readonly authentication: io.flow.payment.internal.v0.models.FiservAuthentication;
7946
+ readonly country: string;
7947
+ readonly status: io.flow.payment.internal.v0.enums.ProcessorEntityStatus;
7948
+ readonly organization_capability: io.flow.payment.internal.v0.enums.OrganizationCapability;
7949
+ readonly created_at: string;
7950
+ readonly updated_at: string;
7951
+ }
7952
+ interface FiservAccountModificationForm {
7953
+ readonly discriminator: 'fiserv_account_modification_form';
7954
+ readonly owner: io.flow.payment.internal.v0.enums.Owner;
7955
+ readonly region: string;
7956
+ readonly country: string;
7957
+ readonly status: io.flow.payment.internal.v0.enums.ProcessorEntityStatus;
7958
+ }
7959
+ interface FiservAccountPutForm {
7960
+ readonly discriminator: 'fiserv_account_put_form';
7961
+ readonly owner?: io.flow.payment.internal.v0.enums.Owner;
7962
+ readonly region: string;
7963
+ readonly authentication: io.flow.payment.internal.v0.models.FiservAuthenticationForm;
7964
+ readonly country: string;
7965
+ readonly status?: io.flow.payment.internal.v0.enums.ProcessorEntityStatus;
7966
+ readonly organization_capability?: io.flow.payment.internal.v0.enums.OrganizationCapability;
7967
+ }
7968
+ interface FiservAuthentication {
7969
+ readonly public_key: string;
7970
+ readonly secret_key_reference: string;
7971
+ }
7972
+ interface FiservAuthenticationDataReference {
7973
+ readonly account_id: string;
7974
+ readonly store_id: string;
7982
7975
  }
7983
- interface OrganizationDefaults {
7984
- readonly country: string;
7985
- readonly base_currency: string;
7986
- readonly language: string;
7987
- readonly locale: string;
7988
- readonly timezone: string;
7976
+ interface FiservAuthenticationForm {
7977
+ readonly public_key: string;
7978
+ readonly secret_key: string;
7989
7979
  }
7990
- interface OrganizationReference {
7991
- readonly discriminator: 'organization_reference';
7980
+ interface FiservMerchant {
7981
+ readonly discriminator: 'fiserv_merchant';
7992
7982
  readonly id: string;
7983
+ readonly key: string;
7984
+ readonly organization_id: string;
7985
+ readonly external_id: string;
7986
+ readonly processor_account_reference: io.flow.payment.internal.v0.models.ProcessorAccountReference;
7987
+ readonly base_currency: string;
7988
+ readonly funding_currency: string;
7989
+ readonly country: string;
7990
+ readonly status: io.flow.payment.internal.v0.enums.ProcessorEntityStatus;
7991
+ readonly organization_capability: io.flow.payment.internal.v0.enums.OrganizationCapability;
7992
+ readonly created_at: string;
7993
+ readonly updated_at: string;
7993
7994
  }
7994
- interface OrganizationSummary {
7995
- readonly id: string;
7996
- readonly name: string;
7997
- readonly environment: io.flow.common.v0.enums.Environment;
7995
+ interface FiservMerchantModificationForm {
7996
+ readonly discriminator: 'fiserv_merchant_modification_form';
7997
+ readonly external_id: string;
7998
+ readonly base_currency: string;
7999
+ readonly funding_currency: string;
8000
+ readonly country: string;
8001
+ readonly status: io.flow.payment.internal.v0.enums.ProcessorEntityStatus;
7998
8002
  }
7999
- interface PartnerReference {
8000
- readonly id: string;
8003
+ interface FiservMerchantPutForm {
8004
+ readonly discriminator: 'fiserv_merchant_put_form';
8005
+ readonly organization_id: string;
8006
+ readonly external_id: string;
8007
+ readonly base_currency: string;
8008
+ readonly funding_currency: string;
8009
+ readonly country: string;
8010
+ readonly status?: io.flow.payment.internal.v0.enums.ProcessorEntityStatus;
8011
+ readonly organization_capability?: io.flow.payment.internal.v0.enums.OrganizationCapability;
8001
8012
  }
8002
- interface Price {
8003
- readonly amount: number;
8004
- readonly currency: string;
8005
- readonly label: string;
8013
+ interface InternalAdyenAuthorizationDetails {
8014
+ readonly discriminator: 'internal_adyen_authorization_details';
8015
+ readonly adyen_authentication_data: io.flow.payment.internal.v0.models.AdyenAuthenticationDataReference;
8006
8016
  }
8007
- interface PriceForm {
8008
- readonly amount: number;
8009
- readonly currency: string;
8017
+ interface InternalAfterpayAuthorizationDetails {
8018
+ readonly discriminator: 'internal_afterpay_authorization_details';
8019
+ readonly afterpay_authentication_data: io.flow.payment.internal.v0.models.AfterpayAuthenticationDataReference;
8010
8020
  }
8011
- interface PriceSourceCatalog {
8012
- readonly discriminator: 'catalog';
8013
- readonly price: io.flow.common.v0.models.Money;
8021
+ interface InternalBitpayAuthorizationDetails {
8022
+ readonly discriminator: 'internal_bitpay_authorization_details';
8023
+ readonly bitpay_authentication_data: io.flow.payment.internal.v0.models.BitpayAuthenticationDataReference;
8014
8024
  }
8015
- interface PriceSourcePriceBook {
8016
- readonly discriminator: 'price_book';
8017
- readonly price: io.flow.common.v0.models.Money;
8018
- readonly includes: io.flow.common.v0.models.IncludedLevies;
8019
- readonly price_book_reference: io.flow.common.v0.models.PriceSourcePriceBookReference;
8025
+ interface InternalFiservAuthorizationDetails {
8026
+ readonly discriminator: 'internal_fiserv_authorization_details';
8027
+ readonly fiserv_authentication_data: io.flow.payment.internal.v0.models.FiservAuthenticationDataReference;
8020
8028
  }
8021
- interface PriceSourcePriceBookReference {
8022
- readonly id: string;
8023
- readonly key: string;
8029
+ interface InternalPaymentRequest {
8030
+ readonly payment_request: io.flow.payment.gateway.v0.models.PaymentRequest;
8031
+ readonly actual_action?: io.flow.payment.gateway.v0.unions.Action;
8024
8032
  }
8025
- interface PriceSourceProvided {
8026
- readonly discriminator: 'provided';
8027
- readonly price: io.flow.common.v0.models.Money;
8033
+ interface InternalPaypalAuthorizationDetails {
8034
+ readonly discriminator: 'internal_paypal_authorization_details';
8035
+ readonly paypal_authentication_data: io.flow.payment.internal.v0.models.PaypalAccountReference;
8028
8036
  }
8029
- interface PriceWithBase {
8030
- readonly currency: string;
8031
- readonly amount: number;
8032
- readonly label: string;
8033
- readonly base?: io.flow.common.v0.models.Price;
8037
+ interface InternalStripeAuthorizationDetails {
8038
+ readonly discriminator: 'internal_stripe_authorization_details';
8039
+ readonly stripe_authentication_data: io.flow.payment.internal.v0.models.StripeAuthenticationDataReference;
8034
8040
  }
8035
- interface RepeatDaily {
8036
- readonly discriminator: 'repeat_daily';
8037
- readonly interval: number;
8041
+ interface InternalTransactionDetailsCard {
8042
+ readonly type: 'card';
8043
+ readonly address_verification_result?: io.flow.payment.v0.models.AddressVerificationResult;
8044
+ readonly cvv_result?: io.flow.payment.v0.models.CvvResult;
8045
+ readonly network_details?: io.flow.payment.v0.models.TransactionNetworkDetailsCard;
8038
8046
  }
8039
- interface RepeatHourly {
8040
- readonly discriminator: 'repeat_hourly';
8041
- readonly interval: number;
8047
+ interface Key {
8048
+ readonly id: string;
8049
+ readonly created_at: string;
8042
8050
  }
8043
- interface RepeatMonthly {
8044
- readonly discriminator: 'repeat_monthly';
8045
- readonly interval: number;
8046
- readonly days: number[];
8051
+ interface KeyReference {
8052
+ readonly id: string;
8047
8053
  }
8048
- interface RepeatWeekly {
8049
- readonly discriminator: 'repeat_weekly';
8050
- readonly interval: number;
8051
- readonly days_of_week: io.flow.common.v0.enums.DayOfWeek[];
8054
+ interface KlarnaAuthorizationParameters {
8055
+ readonly discriminator: 'klarna_authorization_parameters';
8056
+ readonly client_token: string;
8057
+ readonly payment_method_categories: io.flow.payment.internal.v0.models.KlarnaPaymentMethodCategory[];
8052
8058
  }
8053
- interface Rounding {
8054
- readonly type: io.flow.common.v0.enums.RoundingType;
8055
- readonly method: io.flow.common.v0.enums.RoundingMethod;
8056
- readonly value: number;
8059
+ interface KlarnaPaymentMethodCategory {
8060
+ readonly id: string;
8061
+ readonly name?: string;
8062
+ readonly standard_asset_urls?: string;
8063
+ readonly descriptive_asset_urls?: string;
8057
8064
  }
8058
- interface Schedule {
8059
- readonly calendar?: io.flow.common.v0.enums.Calendar;
8060
- readonly holiday: io.flow.common.v0.enums.HolidayCalendar;
8061
- readonly exception: io.flow.common.v0.models.Exception[];
8062
- readonly cutoff?: string;
8063
- readonly min_lead_time?: number;
8064
- readonly max_lead_time?: number;
8065
+ interface OnlineAuthorizationCompleted {
8066
+ readonly discriminator: 'online_authorization_completed';
8067
+ readonly id: string;
8068
+ readonly organization: string;
8069
+ readonly key: string;
8070
+ readonly expires_at: string;
8065
8071
  }
8066
- interface SessionReference {
8072
+ interface OrganizationPaymentSetting {
8067
8073
  readonly id: string;
8074
+ readonly organization_id: string;
8075
+ readonly default_capture_option: io.flow.payment.gateway.v0.unions.PaymentCaptureOption;
8076
+ readonly status: io.flow.payment.internal.v0.enums.OrganizationPaymentStatus;
8077
+ readonly checkout_domain?: string;
8078
+ readonly merchant_category_code?: string;
8079
+ readonly payment_statement_suffix?: string;
8080
+ readonly payment_statement_condensed?: string;
8081
+ readonly created_at: string;
8082
+ readonly updated_at: string;
8068
8083
  }
8069
- interface User {
8070
- readonly discriminator: 'user';
8084
+ interface OrganizationPaymentSettingForm {
8085
+ readonly default_capture_option: io.flow.payment.gateway.v0.unions.PaymentCaptureOption;
8086
+ readonly status: io.flow.payment.internal.v0.enums.OrganizationPaymentStatus;
8087
+ readonly checkout_domain?: string;
8088
+ readonly merchant_category_code?: string;
8089
+ readonly payment_statement_suffix?: string;
8090
+ }
8091
+ interface OrganizationPaymentSettingVersion {
8071
8092
  readonly id: string;
8072
- readonly email?: string;
8073
- readonly name: io.flow.common.v0.models.Name;
8074
- readonly status: io.flow.common.v0.enums.UserStatus;
8093
+ readonly timestamp: string;
8094
+ readonly type: io.flow.common.v0.enums.ChangeType;
8095
+ readonly organization_payment_setting: io.flow.payment.internal.v0.models.OrganizationPaymentSetting;
8075
8096
  }
8076
- interface UserReference {
8077
- readonly discriminator: 'user_reference';
8097
+ interface Passphrase {
8078
8098
  readonly id: string;
8099
+ readonly tribe: io.flow.payment.internal.v0.models.Tribe;
8100
+ readonly salt: string;
8101
+ readonly iv: string;
8102
+ readonly challenge_cipher: string;
8103
+ readonly challenge_text: string;
8079
8104
  }
8080
- interface Zone {
8081
- readonly postals?: string[];
8082
- readonly provinces?: string[];
8083
- readonly country: string;
8105
+ interface PassphraseForm {
8106
+ readonly tribe: string;
8107
+ readonly current_password?: string;
8108
+ readonly new_password: string;
8084
8109
  }
8085
- }
8086
- declare namespace io.flow.common.v0.unions {
8087
- type DiscountOffer = io.flow.common.v0.models.DiscountOfferFixed | io.flow.common.v0.models.DiscountOfferPercent;
8088
- type ExpandableOrganization = io.flow.common.v0.models.Organization | io.flow.common.v0.models.OrganizationReference;
8089
- type ExpandableUser = io.flow.common.v0.models.User | io.flow.common.v0.models.UserReference;
8090
- type InputSpecificationLimitation = io.flow.common.v0.models.InputSpecificationLimitationMax;
8091
- type LogoImage = io.flow.common.v0.models.LogoImageSvg | io.flow.common.v0.models.LogoImageSetStatic;
8092
- type PriceSource = io.flow.common.v0.models.PriceSourcePriceBook | io.flow.common.v0.models.PriceSourceCatalog | io.flow.common.v0.models.PriceSourceProvided;
8093
- type RepeatSchedule = io.flow.common.v0.models.RepeatHourly | io.flow.common.v0.models.RepeatDaily | io.flow.common.v0.models.RepeatWeekly | io.flow.common.v0.models.RepeatMonthly;
8094
- }
8095
- declare namespace io.flow.ftp.v0.enums {
8096
- type FtpFileSource = 'flow' | 'organization';
8097
- }
8098
- declare namespace io.flow.ftp.v0.models {
8099
- interface FtpAccount {
8100
- readonly server: io.flow.ftp.v0.models.FtpServer;
8101
- readonly user: io.flow.ftp.v0.models.FtpUser;
8110
+ interface PassphraseSummary {
8111
+ readonly id: string;
8112
+ readonly tribe: io.flow.payment.internal.v0.models.Tribe;
8102
8113
  }
8103
- interface FtpFile {
8114
+ interface PaymentMethodDetail {
8115
+ readonly method: io.flow.reference.v0.models.PaymentMethod;
8116
+ readonly method_options?: io.flow.payment.internal.v0.models.PaymentMethodOption[];
8117
+ }
8118
+ interface PaymentMethodOption {
8104
8119
  readonly id: string;
8105
- readonly source: io.flow.ftp.v0.enums.FtpFileSource;
8106
8120
  readonly name: string;
8107
- readonly directory: string;
8108
- readonly url: string;
8109
- readonly created_at: string;
8121
+ readonly logo?: io.flow.common.v0.unions.LogoImage;
8110
8122
  }
8111
- interface FtpFileForm {
8112
- readonly url: string;
8113
- readonly directory: string;
8114
- readonly name?: string;
8123
+ interface PaymentOrganizationSettings {
8124
+ readonly id: string;
8125
+ readonly enable_auto_capture: boolean;
8126
+ readonly link_capture_to_vcc: boolean;
8127
+ readonly purge_ciphers: boolean;
8128
+ readonly domain?: string;
8129
+ readonly merchant_category_code?: number;
8130
+ readonly payment_statement_suffix?: string;
8131
+ readonly payment_statement_condensed?: string;
8115
8132
  }
8116
- interface FtpFolder {
8133
+ interface PaymentOrganizationSettingsPutForm {
8134
+ readonly enable_auto_capture?: boolean;
8135
+ readonly link_capture_to_vcc?: boolean;
8136
+ readonly purge_ciphers?: boolean;
8137
+ readonly domain?: string;
8138
+ readonly merchant_category_code?: number;
8139
+ readonly payment_statement_suffix?: string;
8140
+ }
8141
+ interface PaypalAccount {
8142
+ readonly discriminator: 'paypal_account';
8117
8143
  readonly id: string;
8118
- readonly path: string;
8119
- readonly webhook: boolean;
8120
- readonly description?: string;
8144
+ readonly organization_id: string;
8145
+ readonly key: string;
8146
+ readonly owner: io.flow.payment.internal.v0.enums.Owner;
8147
+ readonly country: string;
8148
+ readonly authentication: io.flow.payment.internal.v0.models.PaypalAuthentication;
8149
+ readonly status: io.flow.payment.internal.v0.enums.ProcessorEntityStatus;
8150
+ readonly organization_capability: io.flow.payment.internal.v0.enums.OrganizationCapability;
8151
+ readonly created_at: string;
8152
+ readonly updated_at: string;
8121
8153
  }
8122
- interface FtpFolderForm {
8123
- readonly path: string;
8124
- readonly webhook: boolean;
8125
- readonly description?: string;
8154
+ interface PaypalAccountModificationForm {
8155
+ readonly discriminator: 'paypal_account_modification_form';
8156
+ readonly owner: io.flow.payment.internal.v0.enums.Owner;
8157
+ readonly country: string;
8158
+ readonly status: io.flow.payment.internal.v0.enums.ProcessorEntityStatus;
8126
8159
  }
8127
- interface FtpOrganizationSettings {
8128
- readonly enabled: boolean;
8129
- readonly emails: string[];
8130
- readonly account?: io.flow.ftp.v0.models.FtpAccount;
8160
+ interface PaypalAccountPutForm {
8161
+ readonly discriminator: 'paypal_account_put_form';
8162
+ readonly owner?: io.flow.payment.internal.v0.enums.Owner;
8163
+ readonly country: string;
8164
+ readonly authentication: io.flow.payment.internal.v0.models.PaypalAuthenticationForm;
8165
+ readonly status?: io.flow.payment.internal.v0.enums.ProcessorEntityStatus;
8166
+ readonly organization_capability?: io.flow.payment.internal.v0.enums.OrganizationCapability;
8131
8167
  }
8132
- interface FtpOrganizationSettingsForm {
8133
- readonly enabled: boolean;
8134
- readonly emails: string[];
8168
+ interface PaypalAccountReference {
8169
+ readonly id: string;
8170
+ readonly flow_merchant_id?: string;
8135
8171
  }
8136
- interface FtpServer {
8137
- readonly hostname: string;
8172
+ interface PaypalAuthentication {
8173
+ readonly username: string;
8174
+ readonly password_reference: string;
8138
8175
  }
8139
- interface FtpUser {
8176
+ interface PaypalAuthenticationForm {
8140
8177
  readonly username: string;
8141
- readonly password?: string;
8178
+ readonly password: string;
8142
8179
  }
8143
- }
8144
- declare namespace io.flow.billing.reporting.csv.v0.enums {
8145
- type ReportingFulfillmentIsVirtual = 'all' | 'mixed' | 'none';
8146
- }
8147
- declare namespace io.flow.billing.reporting.csv.v0.models {
8148
- interface FulfillmentShopperBreakdown {
8149
- readonly shipping: io.flow.billing.reporting.csv.v0.models.ReportingMonetaryValue;
8150
- readonly fees: io.flow.billing.reporting.csv.v0.models.ReportingShopperFees;
8151
- readonly product: io.flow.billing.reporting.csv.v0.models.ReportingMonetaryValue;
8152
- readonly subtotal: io.flow.billing.reporting.csv.v0.models.ReportingMonetaryValue;
8153
- readonly tax: io.flow.billing.reporting.csv.v0.models.ReportingMonetaryValue;
8154
- readonly duty: io.flow.billing.reporting.csv.v0.models.ReportingMonetaryValue;
8155
- readonly discount: io.flow.billing.reporting.csv.v0.models.ReportingMonetaryValue;
8156
- readonly total: io.flow.billing.reporting.csv.v0.models.ReportingMonetaryValue;
8180
+ interface PaypalAuthorizationPayload {
8181
+ readonly discriminator: 'paypal_authorization_payload';
8182
+ readonly payment_id: string;
8183
+ readonly payer_id: string;
8157
8184
  }
8158
- interface MarkedAsFinal {
8159
- readonly products: boolean;
8160
- readonly shipping: boolean;
8185
+ interface PaypalMerchant {
8186
+ readonly discriminator: 'paypal_merchant';
8187
+ readonly id: string;
8188
+ readonly key: string;
8189
+ readonly organization_id: string;
8190
+ readonly external_id: string;
8191
+ readonly processor_account_reference: io.flow.payment.internal.v0.models.ProcessorAccountReference;
8192
+ readonly country: string;
8193
+ readonly status: io.flow.payment.internal.v0.enums.ProcessorEntityStatus;
8194
+ readonly organization_capability: io.flow.payment.internal.v0.enums.OrganizationCapability;
8195
+ readonly created_at: string;
8196
+ readonly updated_at: string;
8161
8197
  }
8162
- interface RefundRecord {
8163
- readonly billing_entity: string;
8164
- readonly order_id: string;
8165
- readonly order_refund_id: string;
8166
- readonly refund_created_at_date: string;
8167
- readonly reconciliation_date: string;
8168
- readonly reconciliation_month: number;
8169
- readonly reconciliation_year: number;
8170
- readonly order_created_at_date: string;
8171
- readonly order_status: string;
8172
- readonly b2b_sale: boolean;
8173
- readonly a_zero_vat_product_exists: boolean;
8174
- readonly payment_merchant_reference?: string;
8175
- readonly merchant_reference?: string;
8176
- readonly merchant_id: string;
8177
- readonly merchant_name: string;
8178
- readonly destination_country: string;
8179
- readonly shopper_country_is_eu: boolean;
8180
- readonly order_refund_reason_name: string;
8181
- readonly order_refund_status_name: string;
8182
- readonly original_ccy: string;
8183
- readonly transaction_ccy: string;
8184
- readonly total_refund_amount_exc_vat_in_transaction_ccy?: number;
8185
- readonly refund_vat_in_transaction_ccy?: number;
8186
- readonly total_refund_amount_inc_vat_in_transaction_ccy?: number;
8187
- readonly merchant_total_products_refund_amount_exc_vat_in_original_ccy: number;
8188
- readonly merchant_shipping_refund_amount_exc_vat_in_transaction_ccy?: number;
8189
- readonly merchant_shipping_refund_amount_exc_vat_in_original_ccy: number;
8190
- readonly total_refund_amount_exc_tax_collected_in_shopper_ccy?: number;
8191
- readonly tax_collected_amount_in_shopper_ccy: number;
8192
- readonly total_refund_amount_inc_tax_collected_in_shopper_ccy?: number;
8193
- readonly payment_gateway: string;
8194
- readonly min_product_customer_vat_rate?: number;
8195
- readonly is_virtual_order: boolean;
8196
- readonly is_mixed_virtual_order: boolean;
8197
- readonly total_refund_amount_exc_tax_collected_in_usd: number;
8198
- readonly tax_collected_amount_in_usd: number;
8199
- readonly total_refund_amount_inc_tax_collected_in_usd: number;
8200
- readonly total_refund_amount_exc_tax_collected_in_eur: number;
8201
- readonly tax_collected_amount_in_eur: number;
8202
- readonly total_refund_amount_inc_tax_collected_in_eur: number;
8203
- readonly is_wyol_order: boolean;
8204
- readonly is_duties_guaranteed: boolean;
8205
- readonly invoice_id?: string;
8206
- readonly total_refund_amount_exc_vat_in_entity_ccy: number;
8207
- readonly refund_vat_in_entity_ccy: number;
8208
- readonly total_refund_amount_inc_vat_in_entity_ccy: number;
8209
- readonly merchant_total_products_refund_amount_exc_vat_in_entity_ccy: number;
8210
- readonly merchant_shipping_refund_amount_exc_vat_in_entity_ccy: number;
8211
- readonly merchant_duties_and_taxes_refund_amount_in_entity_ccy: number;
8212
- readonly merchant_service_gesture_amount_exc_vat_in_entity_ccy: number;
8213
- readonly customer_prepaid_refund_amount_exc_vat_in_entity_ccy: number;
8214
- readonly total_refund_amount_exc_tax_collected_in_entity_ccy: number;
8215
- readonly tax_collected_amount_in_entity_ccy: number;
8216
- readonly total_refund_amount_inc_tax_collected_in_entity_ccy: number;
8217
- readonly conversion_rate_transaction_to_entity_ccy: number;
8218
- readonly merchant_order_id: string;
8219
- readonly transaction_date: string;
8220
- readonly debug_console_order_link: string;
8198
+ interface PaypalMerchantModificationForm {
8199
+ readonly discriminator: 'paypal_merchant_modification_form';
8200
+ readonly external_id: string;
8201
+ readonly country: string;
8202
+ readonly status?: io.flow.payment.internal.v0.enums.ProcessorEntityStatus;
8221
8203
  }
8222
- interface ReportingAuthorizationReference {
8223
- readonly id: string;
8204
+ interface PaypalMerchantPutForm {
8205
+ readonly discriminator: 'paypal_merchant_put_form';
8206
+ readonly organization_id: string;
8207
+ readonly external_id: string;
8208
+ readonly country: string;
8209
+ readonly status?: io.flow.payment.internal.v0.enums.ProcessorEntityStatus;
8210
+ readonly organization_capability?: io.flow.payment.internal.v0.enums.OrganizationCapability;
8224
8211
  }
8225
- interface ReportingBusiness {
8226
- readonly vat_registration_number: string;
8227
- readonly name?: string;
8212
+ interface ProcessorAccountReference {
8213
+ readonly id: string;
8214
+ readonly organization_id: string;
8215
+ readonly key: string;
8216
+ readonly processor: io.flow.payment.internal.v0.enums.Processor;
8217
+ readonly country: string;
8218
+ readonly owner: io.flow.payment.internal.v0.enums.Owner;
8219
+ readonly status: io.flow.payment.internal.v0.enums.ProcessorEntityStatus;
8220
+ readonly organization_capability: io.flow.payment.internal.v0.enums.OrganizationCapability;
8228
8221
  }
8229
- interface ReportingConversionRates {
8230
- readonly merchant: number;
8231
- readonly entity: number;
8232
- readonly usd: number;
8233
- readonly eur: number;
8222
+ interface ProcessorEntityStatusForm {
8223
+ readonly status: io.flow.payment.internal.v0.enums.ProcessorEntityStatus;
8234
8224
  }
8235
- interface ReportingCountry {
8236
- readonly code: string;
8237
- readonly is_eu: boolean;
8225
+ interface ProcessorMerchantReference {
8226
+ readonly id: string;
8227
+ readonly organization_id: string;
8228
+ readonly key: string;
8229
+ readonly processor: io.flow.payment.internal.v0.enums.Processor;
8230
+ readonly country: string;
8231
+ readonly status: io.flow.payment.internal.v0.enums.ProcessorEntityStatus;
8232
+ readonly organization_capability: io.flow.payment.internal.v0.enums.OrganizationCapability;
8238
8233
  }
8239
- interface ReportingCurrencies {
8240
- readonly transaction: string;
8241
- readonly merchant: string;
8242
- readonly entity: string;
8234
+ interface Redirect {
8235
+ readonly id: string;
8236
+ readonly post_payment_redirect_urls: io.flow.payment.v0.models.PostPaymentRedirectUrls;
8237
+ readonly reason: io.flow.payment.internal.v0.enums.RedirectReason;
8243
8238
  }
8244
- interface ReportingDebug {
8245
- readonly console_order_link: string;
8246
- readonly allocation_order_totals_delta?: number;
8247
- readonly allocation_order_item_discount_delta?: number;
8248
- readonly missing_item_subsidies?: io.flow.billing.reporting.csv.v0.models.ReportingDebugMissingSubsidies;
8249
- readonly missing_shipping_subsidies?: io.flow.billing.reporting.csv.v0.models.ReportingDebugMissingSubsidies;
8239
+ interface RedirectActionCompleted {
8240
+ readonly discriminator: 'redirect_action_completed';
8241
+ readonly id: string;
8242
+ readonly organization: string;
8243
+ readonly key: string;
8244
+ readonly expires_at: string;
8245
+ readonly post_payment_redirect_urls: io.flow.payment.v0.models.PostPaymentRedirectUrls;
8246
+ readonly inline_notification_urls?: io.flow.payment.v0.models.PostPaymentRedirectUrls;
8250
8247
  }
8251
- interface ReportingDebugMissingSubsidies {
8252
- readonly price?: boolean;
8253
- readonly tax?: boolean;
8254
- readonly duty?: boolean;
8248
+ interface RoutingAccount {
8249
+ readonly discriminator: 'routing_account';
8250
+ readonly processor: io.flow.payment.internal.v0.enums.Processor;
8251
+ readonly processor_account: io.flow.payment.internal.v0.models.ProcessorAccountReference;
8255
8252
  }
8256
- interface ReportingDestination {
8257
- readonly country: io.flow.billing.reporting.csv.v0.models.ReportingCountry;
8258
- readonly province?: io.flow.billing.reporting.csv.v0.models.ReportingProvince;
8253
+ interface RoutingMerchant {
8254
+ readonly discriminator: 'routing_merchant';
8255
+ readonly processor: io.flow.payment.internal.v0.enums.Processor;
8256
+ readonly processor_account: io.flow.payment.internal.v0.models.ProcessorAccountReference;
8257
+ readonly processor_merchant: io.flow.payment.internal.v0.models.ProcessorMerchantReference;
8259
8258
  }
8260
- interface ReportingEntity {
8261
- readonly id: string;
8259
+ interface RoutingProcessor {
8260
+ readonly discriminator: 'routing_processor';
8261
+ readonly processor: io.flow.payment.internal.v0.enums.Processor;
8262
8262
  }
8263
- interface ReportingFulfillment {
8263
+ interface StripeAccount {
8264
+ readonly discriminator: 'stripe_account';
8264
8265
  readonly id: string;
8265
- readonly sequence_number: number;
8266
- readonly fulfilled_at: string;
8267
- readonly completes_order: boolean;
8268
- readonly payment: io.flow.billing.reporting.csv.v0.models.ReportingFulfillmentPayment;
8269
- readonly value: io.flow.billing.reporting.csv.v0.models.FulfillmentShopperBreakdown;
8270
- readonly dispatch_country?: io.flow.billing.reporting.csv.v0.models.ReportingCountry;
8271
- readonly destination: io.flow.billing.reporting.csv.v0.models.ReportingDestination;
8272
- readonly carrier?: string;
8273
- readonly is: io.flow.billing.reporting.csv.v0.models.ReportingFulfillmentIs;
8274
- readonly has: io.flow.billing.reporting.csv.v0.models.ReportingFulfillmentHas;
8275
- readonly fx: io.flow.billing.reporting.csv.v0.models.ReportingFx;
8276
- readonly business?: io.flow.billing.reporting.csv.v0.models.ReportingBusiness;
8266
+ readonly organization_id: string;
8267
+ readonly key: string;
8268
+ readonly owner: io.flow.payment.internal.v0.enums.Owner;
8269
+ readonly name: string;
8270
+ readonly external_id: string;
8271
+ readonly country: string;
8272
+ readonly authentication: io.flow.payment.internal.v0.models.StripeAuthentication;
8273
+ readonly status: io.flow.payment.internal.v0.enums.ProcessorEntityStatus;
8274
+ readonly organization_capability: io.flow.payment.internal.v0.enums.OrganizationCapability;
8275
+ readonly created_at: string;
8276
+ readonly updated_at: string;
8277
8277
  }
8278
- interface ReportingFulfillmentHas {
8279
- readonly zero_vat_product: boolean;
8278
+ interface StripeAccountModificationForm {
8279
+ readonly discriminator: 'stripe_account_modification_form';
8280
+ readonly owner: io.flow.payment.internal.v0.enums.Owner;
8281
+ readonly name: string;
8282
+ readonly external_id: string;
8283
+ readonly country: string;
8284
+ readonly status: io.flow.payment.internal.v0.enums.ProcessorEntityStatus;
8280
8285
  }
8281
- interface ReportingFulfillmentIs {
8282
- readonly replacement: boolean;
8283
- readonly virtual: io.flow.billing.reporting.csv.v0.enums.ReportingFulfillmentIsVirtual;
8284
- readonly duties_guaranteed: boolean;
8285
- readonly wyol: boolean;
8286
- readonly b2b: boolean;
8287
- readonly domestic: boolean;
8286
+ interface StripeAccountPutForm {
8287
+ readonly discriminator: 'stripe_account_put_form';
8288
+ readonly owner?: io.flow.payment.internal.v0.enums.Owner;
8289
+ readonly name: string;
8290
+ readonly external_id: string;
8291
+ readonly country: string;
8292
+ readonly authentication: io.flow.payment.internal.v0.models.StripeAuthenticationForm;
8293
+ readonly status?: io.flow.payment.internal.v0.enums.ProcessorEntityStatus;
8294
+ readonly organization_capability?: io.flow.payment.internal.v0.enums.OrganizationCapability;
8288
8295
  }
8289
- interface ReportingFulfillmentPayment {
8290
- readonly metadata?: io.flow.billing.reporting.csv.v0.models.ReportingFulfillmentPaymentMetadata;
8291
- readonly psp: io.flow.billing.reporting.csv.v0.models.ReportingMonetaryValue;
8292
- readonly credit: io.flow.billing.reporting.csv.v0.models.ReportingMonetaryValue;
8293
- readonly total: io.flow.billing.reporting.csv.v0.models.ReportingMonetaryValue;
8296
+ interface StripeAuthentication {
8297
+ readonly public_key: string;
8298
+ readonly secret_key_reference: string;
8294
8299
  }
8295
- interface ReportingFulfillmentPaymentMetadata {
8296
- readonly gateway: io.flow.payment.internal.v0.enums.Processor;
8297
- readonly method: string;
8298
- readonly psp_reference?: string;
8299
- readonly authorization?: io.flow.billing.reporting.csv.v0.models.ReportingAuthorizationReference;
8300
- readonly settlement_date: string;
8301
- readonly additional_authorizations?: io.flow.billing.reporting.csv.v0.models.ReportingFulfillmentPaymentMetadataAdditionalAuthorizations;
8300
+ interface StripeAuthenticationDataReference {
8301
+ readonly id: string;
8302
8302
  }
8303
- interface ReportingFulfillmentPaymentMetadataAdditionalAuthorizations {
8304
- readonly ids: string;
8303
+ interface StripeAuthenticationForm {
8304
+ readonly public_key: string;
8305
+ readonly secret_key: string;
8305
8306
  }
8306
- interface ReportingFx {
8307
- readonly shipping: io.flow.billing.reporting.csv.v0.models.ReportingUsd;
8308
- readonly fees: io.flow.billing.reporting.csv.v0.models.ReportingUsd;
8309
- readonly product: io.flow.billing.reporting.csv.v0.models.ReportingUsd;
8310
- readonly tax: io.flow.billing.reporting.csv.v0.models.ReportingUsd;
8311
- readonly duty: io.flow.billing.reporting.csv.v0.models.ReportingUsd;
8312
- readonly total: io.flow.billing.reporting.csv.v0.models.ReportingUsd;
8307
+ interface StripeMerchant {
8308
+ readonly discriminator: 'stripe_merchant';
8309
+ readonly id: string;
8310
+ readonly key: string;
8311
+ readonly organization_id: string;
8312
+ readonly external_id: string;
8313
+ readonly processor_account_reference: io.flow.payment.internal.v0.models.ProcessorAccountReference;
8314
+ readonly name: string;
8315
+ readonly account_type: io.flow.stripe.v0.enums.AccountType;
8316
+ readonly country: string;
8317
+ readonly status: io.flow.payment.internal.v0.enums.ProcessorEntityStatus;
8318
+ readonly organization_capability: io.flow.payment.internal.v0.enums.OrganizationCapability;
8319
+ readonly created_at: string;
8320
+ readonly updated_at: string;
8313
8321
  }
8314
- interface ReportingMerchantFees {
8315
- readonly duty_guarantee: io.flow.billing.reporting.csv.v0.models.ReportingMonetaryValue;
8316
- readonly mor: io.flow.billing.reporting.csv.v0.models.ReportingMonetaryValue;
8317
- readonly fraud: io.flow.billing.reporting.csv.v0.models.ReportingMonetaryValue;
8318
- readonly fx: io.flow.billing.reporting.csv.v0.models.ReportingMonetaryValue;
8319
- readonly processing: io.flow.billing.reporting.csv.v0.models.ReportingMonetaryValue;
8320
- readonly rate_lock: io.flow.billing.reporting.csv.v0.models.ReportingMonetaryValue;
8321
- readonly transfer: io.flow.billing.reporting.csv.v0.models.ReportingMonetaryValue;
8322
+ interface StripeMerchantForm {
8323
+ readonly discriminator: 'stripe_merchant_form';
8324
+ readonly key?: string;
8325
+ readonly organization_id: string;
8326
+ readonly name: string;
8327
+ readonly account_type: io.flow.stripe.v0.enums.AccountType;
8328
+ readonly country: string;
8329
+ readonly payment_statement: string;
8330
+ readonly status?: io.flow.payment.internal.v0.enums.ProcessorEntityStatus;
8322
8331
  }
8323
- interface ReportingMerchantSubsidies {
8324
- readonly shipping: io.flow.billing.reporting.csv.v0.models.ReportingMonetaryValue;
8325
- readonly tax: io.flow.billing.reporting.csv.v0.models.ReportingMonetaryValue;
8326
- readonly duty: io.flow.billing.reporting.csv.v0.models.ReportingMonetaryValue;
8327
- readonly ccf: io.flow.billing.reporting.csv.v0.models.ReportingMonetaryValue;
8332
+ interface StripeMerchantModificationForm {
8333
+ readonly discriminator: 'stripe_merchant_modification_form';
8334
+ readonly external_id: string;
8335
+ readonly name: string;
8336
+ readonly account_type: io.flow.stripe.v0.enums.AccountType;
8337
+ readonly status: io.flow.payment.internal.v0.enums.ProcessorEntityStatus;
8338
+ readonly country: string;
8328
8339
  }
8329
- interface ReportingMerchantTransactions {
8330
- readonly adjustment: io.flow.billing.reporting.csv.v0.models.ReportingMonetaryValue;
8331
- readonly reversal: io.flow.billing.reporting.csv.v0.models.ReportingMonetaryValue;
8332
- readonly tax: io.flow.billing.reporting.csv.v0.models.ReportingMonetaryValue;
8333
- readonly duty: io.flow.billing.reporting.csv.v0.models.ReportingMonetaryValue;
8334
- readonly freight: io.flow.billing.reporting.csv.v0.models.ReportingMonetaryValue;
8340
+ interface StripeMerchantPutForm {
8341
+ readonly discriminator: 'stripe_merchant_put_form';
8342
+ readonly organization_id: string;
8343
+ readonly external_id: string;
8344
+ readonly name: string;
8345
+ readonly account_type: io.flow.stripe.v0.enums.AccountType;
8346
+ readonly status?: io.flow.payment.internal.v0.enums.ProcessorEntityStatus;
8347
+ readonly country: string;
8348
+ readonly organization_capability?: io.flow.payment.internal.v0.enums.OrganizationCapability;
8335
8349
  }
8336
- interface ReportingMonetaryValue {
8337
- readonly transaction: number;
8338
- readonly merchant: number;
8339
- readonly entity: number;
8340
- readonly usd: number;
8341
- readonly eur: number;
8350
+ interface Tribe {
8351
+ readonly id: string;
8352
+ readonly description: string;
8342
8353
  }
8343
- interface ReportingOrderSummary {
8354
+ interface VirtualCardProvider {
8344
8355
  readonly id: string;
8345
- readonly number: string;
8346
- readonly submitted_at: string;
8356
+ readonly organization_id: string;
8357
+ readonly provider: string;
8358
+ readonly attributes?: Record<string, string>;
8359
+ readonly created_at: string;
8360
+ readonly updated_at: string;
8347
8361
  }
8348
- interface ReportingOrganizationSummary {
8362
+ }
8363
+ declare namespace io.flow.payment.internal.v0.unions {
8364
+ type AuthorizationPayload = io.flow.payment.internal.v0.models.ApplePayAuthorizationPayload | io.flow.payment.internal.v0.models.PaypalAuthorizationPayload;
8365
+ type InlineAuthorizationParameters = io.flow.payment.internal.v0.models.KlarnaAuthorizationParameters;
8366
+ type InternalAuthorizationDetails = io.flow.payment.internal.v0.models.InternalPaypalAuthorizationDetails | io.flow.payment.internal.v0.models.InternalBitpayAuthorizationDetails | io.flow.payment.internal.v0.models.InternalStripeAuthorizationDetails | io.flow.payment.internal.v0.models.InternalAdyenAuthorizationDetails | io.flow.payment.internal.v0.models.InternalAfterpayAuthorizationDetails | io.flow.payment.internal.v0.models.InternalFiservAuthorizationDetails;
8367
+ type InternalRefundForm = io.flow.payment.internal.v0.models.AdyenRefundForm;
8368
+ type InternalTransactionDetails = io.flow.payment.internal.v0.models.InternalTransactionDetailsCard;
8369
+ type PaymentRedirect = io.flow.payment.internal.v0.models.OnlineAuthorizationCompleted | io.flow.payment.internal.v0.models.RedirectActionCompleted;
8370
+ type ProcessorAccount = io.flow.payment.internal.v0.models.StripeAccount | io.flow.payment.internal.v0.models.AdyenAccount | io.flow.payment.internal.v0.models.PaypalAccount | io.flow.payment.internal.v0.models.AfterpayAccount | io.flow.payment.internal.v0.models.BitpayAccount | io.flow.payment.internal.v0.models.FiservAccount | io.flow.payment.internal.v0.models.CryptoAccount;
8371
+ type ProcessorAccountModificationForm = io.flow.payment.internal.v0.models.StripeAccountModificationForm | io.flow.payment.internal.v0.models.AdyenAccountModificationForm | io.flow.payment.internal.v0.models.PaypalAccountModificationForm | io.flow.payment.internal.v0.models.AfterpayAccountModificationForm | io.flow.payment.internal.v0.models.BitpayAccountModificationForm | io.flow.payment.internal.v0.models.FiservAccountModificationForm | io.flow.payment.internal.v0.models.CryptoAccountModificationForm;
8372
+ type ProcessorAccountPutForm = io.flow.payment.internal.v0.models.StripeAccountPutForm | io.flow.payment.internal.v0.models.AdyenAccountPutForm | io.flow.payment.internal.v0.models.PaypalAccountPutForm | io.flow.payment.internal.v0.models.AfterpayAccountPutForm | io.flow.payment.internal.v0.models.BitpayAccountPutForm | io.flow.payment.internal.v0.models.FiservAccountPutForm | io.flow.payment.internal.v0.models.CryptoAccountPutForm;
8373
+ type ProcessorMerchant = io.flow.payment.internal.v0.models.StripeMerchant | io.flow.payment.internal.v0.models.AdyenMerchant | io.flow.payment.internal.v0.models.FiservMerchant | io.flow.payment.internal.v0.models.PaypalMerchant;
8374
+ type ProcessorMerchantForm = io.flow.payment.internal.v0.models.StripeMerchantForm;
8375
+ type ProcessorMerchantModificationForm = io.flow.payment.internal.v0.models.StripeMerchantModificationForm | io.flow.payment.internal.v0.models.AdyenMerchantModificationForm | io.flow.payment.internal.v0.models.FiservMerchantModificationForm | io.flow.payment.internal.v0.models.PaypalMerchantModificationForm;
8376
+ type ProcessorMerchantPutForm = io.flow.payment.internal.v0.models.StripeMerchantPutForm | io.flow.payment.internal.v0.models.AdyenMerchantPutForm | io.flow.payment.internal.v0.models.FiservMerchantPutForm | io.flow.payment.internal.v0.models.PaypalMerchantPutForm;
8377
+ type RoutingEntity = io.flow.payment.internal.v0.models.RoutingProcessor | io.flow.payment.internal.v0.models.RoutingAccount | io.flow.payment.internal.v0.models.RoutingMerchant;
8378
+ }
8379
+ declare namespace io.flow.ftp.v0.enums {
8380
+ type FtpFileSource = 'flow' | 'organization';
8381
+ }
8382
+ declare namespace io.flow.ftp.v0.models {
8383
+ interface FtpAccount {
8384
+ readonly server: io.flow.ftp.v0.models.FtpServer;
8385
+ readonly user: io.flow.ftp.v0.models.FtpUser;
8386
+ }
8387
+ interface FtpFile {
8349
8388
  readonly id: string;
8389
+ readonly source: io.flow.ftp.v0.enums.FtpFileSource;
8350
8390
  readonly name: string;
8391
+ readonly directory: string;
8392
+ readonly url: string;
8393
+ readonly created_at: string;
8351
8394
  }
8352
- interface ReportingProvince {
8353
- readonly code?: string;
8354
- readonly name: string;
8395
+ interface FtpFileForm {
8396
+ readonly url: string;
8397
+ readonly directory: string;
8398
+ readonly name?: string;
8355
8399
  }
8356
- interface ReportingReconciliation {
8357
- readonly date: string;
8358
- readonly month: number;
8359
- readonly year: number;
8400
+ interface FtpFolder {
8401
+ readonly id: string;
8402
+ readonly path: string;
8403
+ readonly webhook: boolean;
8404
+ readonly description?: string;
8360
8405
  }
8361
- interface ReportingShopperFees {
8362
- readonly fuel: io.flow.billing.reporting.csv.v0.models.ReportingMonetaryValue;
8363
- readonly remote_area: io.flow.billing.reporting.csv.v0.models.ReportingMonetaryValue;
8364
- readonly oversize: io.flow.billing.reporting.csv.v0.models.ReportingMonetaryValue;
8365
- readonly ccf: io.flow.billing.reporting.csv.v0.models.ReportingMonetaryValue;
8366
- readonly emergency: io.flow.billing.reporting.csv.v0.models.ReportingMonetaryValue;
8367
- readonly peak: io.flow.billing.reporting.csv.v0.models.ReportingMonetaryValue;
8406
+ interface FtpFolderForm {
8407
+ readonly path: string;
8408
+ readonly webhook: boolean;
8409
+ readonly description?: string;
8368
8410
  }
8369
- interface ReportingUsd {
8370
- readonly usd: number;
8411
+ interface FtpOrganizationSettings {
8412
+ readonly enabled: boolean;
8413
+ readonly emails: string[];
8414
+ readonly account?: io.flow.ftp.v0.models.FtpAccount;
8371
8415
  }
8372
- interface ReportingVatRemittance {
8373
- readonly currency: string;
8374
- readonly rate: io.flow.billing.reporting.csv.v0.models.ReportingVatRemittanceRate;
8416
+ interface FtpOrganizationSettingsForm {
8417
+ readonly enabled: boolean;
8418
+ readonly emails: string[];
8375
8419
  }
8376
- interface ReportingVatRemittanceRate {
8377
- readonly entity: number;
8420
+ interface FtpServer {
8421
+ readonly hostname: string;
8378
8422
  }
8379
- interface ReportingVendor {
8423
+ interface FtpUser {
8424
+ readonly username: string;
8425
+ readonly password?: string;
8426
+ }
8427
+ }
8428
+ declare namespace io.flow.billing.reporting.csv.v0.models {
8429
+ interface ReportingFulfillment {
8380
8430
  readonly id: string;
8431
+ readonly sequence_number: number;
8432
+ readonly fulfilled_at: string;
8433
+ readonly completes_order: boolean;
8434
+ readonly payment: io.flow.billing.reporting.v0.models.ReportingPayment;
8435
+ readonly value: io.flow.billing.reporting.v0.models.FulfillmentShopperBreakdown;
8436
+ readonly dispatch_country?: io.flow.billing.reporting.v0.models.ReportingCountry;
8437
+ readonly destination: io.flow.billing.reporting.v0.models.ReportingDestination;
8438
+ readonly carrier?: string;
8439
+ readonly is: io.flow.billing.reporting.v0.models.ReportingFulfillmentIs;
8440
+ readonly has: io.flow.billing.reporting.v0.models.ReportingFulfillmentHas;
8441
+ readonly fx: io.flow.billing.reporting.v0.models.ReportingFx;
8442
+ readonly business?: io.flow.billing.reporting.v0.models.ReportingBusiness;
8381
8443
  }
8382
8444
  interface SalesRecord {
8383
8445
  readonly id: string;
8384
- readonly parent?: io.flow.billing.reporting.csv.v0.models.SalesRecordReference;
8385
- readonly merchant: io.flow.billing.reporting.csv.v0.models.ReportingOrganizationSummary;
8386
- readonly order: io.flow.billing.reporting.csv.v0.models.ReportingOrderSummary;
8387
- readonly entity: io.flow.billing.reporting.csv.v0.models.ReportingEntity;
8388
- readonly vendor: io.flow.billing.reporting.csv.v0.models.ReportingVendor;
8389
- readonly currencies: io.flow.billing.reporting.csv.v0.models.ReportingCurrencies;
8390
- readonly conversion_rate: io.flow.billing.reporting.csv.v0.models.ReportingConversionRates;
8446
+ readonly parent?: io.flow.billing.reporting.v0.models.RecordReference;
8447
+ readonly merchant: io.flow.billing.reporting.v0.models.ReportingOrganizationSummary;
8448
+ readonly order: io.flow.billing.reporting.v0.models.ReportingOrderSummary;
8449
+ readonly entity: io.flow.billing.reporting.v0.models.ReportingEntity;
8450
+ readonly vendor: io.flow.billing.reporting.v0.models.ReportingVendor;
8451
+ readonly currencies: io.flow.billing.reporting.v0.models.ReportingCurrencies;
8452
+ readonly conversion_rate: io.flow.billing.reporting.v0.models.ReportingConversionRates;
8453
+ readonly reconciliation: io.flow.billing.reporting.v0.models.ReportingReconciliation;
8454
+ readonly merchant_subsidies: io.flow.billing.reporting.v0.models.ReportingMerchantSubsidies;
8455
+ readonly merchant_fees: io.flow.billing.reporting.v0.models.ReportingMerchantFees;
8456
+ readonly merchant_transactions: io.flow.billing.reporting.v0.models.ReportingMerchantTransactions;
8457
+ readonly debug: io.flow.billing.reporting.v0.models.ReportingDebug;
8391
8458
  readonly fulfillment: io.flow.billing.reporting.csv.v0.models.ReportingFulfillment;
8392
- readonly reconciliation: io.flow.billing.reporting.csv.v0.models.ReportingReconciliation;
8393
- readonly marked_as_final: io.flow.billing.reporting.csv.v0.models.MarkedAsFinal;
8394
- readonly merchant_subsidies: io.flow.billing.reporting.csv.v0.models.ReportingMerchantSubsidies;
8395
- readonly merchant_fees: io.flow.billing.reporting.csv.v0.models.ReportingMerchantFees;
8396
- readonly merchant_transactions: io.flow.billing.reporting.csv.v0.models.ReportingMerchantTransactions;
8397
- readonly vat_remittance: io.flow.billing.reporting.csv.v0.models.ReportingVatRemittance;
8398
- readonly debug: io.flow.billing.reporting.csv.v0.models.ReportingDebug;
8399
- }
8400
- interface SalesRecordReference {
8401
- readonly id: string;
8459
+ readonly vat_remittance: io.flow.billing.reporting.v0.models.ReportingVatRemittance;
8460
+ readonly marked_as_final: io.flow.billing.reporting.v0.models.MarkedAsFinal;
8402
8461
  }
8403
8462
  }
8404
8463
  declare namespace io.flow.order.management.event.v0.models {
@@ -9455,6 +9514,11 @@ declare namespace io.flow.experience.v0.unions {
9455
9514
  declare namespace io.flow.payment.request.bundle.v0.models {
9456
9515
  interface PaymentRequestBilling {
9457
9516
  readonly fees: io.flow.payment.request.bundle.v0.models.PaymentRequestBillingFees;
9517
+ readonly currency_rate?: io.flow.payment.request.bundle.v0.models.PaymentRequestBillingCurrencyRate;
9518
+ }
9519
+ interface PaymentRequestBillingCurrencyRate {
9520
+ readonly base_amount: number;
9521
+ readonly base_currency: string;
9458
9522
  }
9459
9523
  interface PaymentRequestBillingFees {
9460
9524
  readonly mor_fee_rate?: number;
@@ -10262,6 +10326,7 @@ declare namespace io.flow.price.v0.unions {
10262
10326
  type Deminimis = io.flow.price.v0.models.DeminimisSimple | io.flow.price.v0.models.DeminimisPerItem;
10263
10327
  }
10264
10328
  declare namespace io.flow.trueup.v0.enums {
10329
+ type CarrierChargeReason = 'return_to_origin' | 'rejection' | 'other';
10265
10330
  type TrueupSurchargeType = 'fuel' | 'remote_area' | 'oversize' | 'duties_paid' | 'emergency' | 'peak' | 'address_correction';
10266
10331
  }
10267
10332
  declare namespace io.flow.trueup.v0.models {
@@ -11205,10 +11270,11 @@ declare namespace io.flow.billing.internal.v0.enums {
11205
11270
  type AdjustmentTransactionType = 'adjustment' | 'reversal';
11206
11271
  type BankPaymentStatusCode = 'scheduled' | 'sent' | 'failed';
11207
11272
  type BillingAllocationKey = 'freight_cost' | 'adjustment' | 'vat_deminimis' | 'duty_deminimis' | 'duties_item_price' | 'duties_freight' | 'duties_insurance' | 'vat_item_price' | 'vat_freight' | 'vat_insurance' | 'vat_duties_item_price' | 'vat_duties_freight' | 'vat_duties_insurance' | 'item_price' | 'item_discount' | 'rounding' | 'insurance' | 'shipping' | 'order_discount' | 'subtotal_percent_sales_margin' | 'subtotal_vat_percent_sales_margin' | 'subtotal_duty_percent_sales_margin' | 'vat_subsidy' | 'duty_subsidy' | 'fuel_surcharge' | 'remote_area_surcharge';
11208
- type BillingStatementAttachmentKey = 'invoice' | 'statement' | 'consumer_invoice' | 'credit_memo' | 'channel_billed' | 'transactions' | 'virtual_card' | 'tax_remittance' | 'manual' | 'orders' | 'label' | 'order_service' | 'tax' | 'duty' | 'trueup' | 'all';
11273
+ type BillingStatementAttachmentKey = 'invoice' | 'statement' | 'consumer_invoice' | 'credit_memo' | 'channel_billed' | 'transactions' | 'virtual_card' | 'tax_remittance' | 'manual' | 'orders' | 'label' | 'order_service' | 'tax' | 'duty' | 'trueup' | 'carrier_charge' | 'all';
11209
11274
  type BillingStatementBatchFileKey = 'summary';
11210
11275
  type BillingTransactionStatus = 'pending' | 'pending_proof' | 'posted';
11211
- 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' | 'trueup';
11276
+ 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' | 'trueup' | 'carrier_charge';
11277
+ type CarrierChargeTransactionType = 'adjustment' | 'reversal' | 'charge';
11212
11278
  type ChannelBilledTransactionType = 'adjustment' | 'reversal' | 'channel_initiated';
11213
11279
  type ChannelTransactionType = 'adjustment' | 'reversal' | 'processing';
11214
11280
  type DisputeTransactionType = 'adjustment' | 'dispute';
@@ -11221,7 +11287,7 @@ declare namespace io.flow.billing.internal.v0.enums {
11221
11287
  type OrderTransactionType = 'adjustment' | 'reversal' | 'order_service';
11222
11288
  type PreferredBillingSchedule = 'monthly' | 'bi-monthly';
11223
11289
  type ProcessingTransactionType = 'adjustment' | 'reversal' | 'capture' | 'refund' | 'fully_subsidized_order' | 'credit_payment';
11224
- type QueuedRecordType = 'capture' | 'channel_transaction' | 'consumer_invoice' | 'fulfillment_in_transit' | 'fulfillment_shipping_notification' | 'fulfillment_external' | 'fulfillment_order_combined_shipment' | 'fulfillment_order_time' | 'label_tracking_summary' | 'label_invoice_request' | 'carrier_charge' | 'carrier_charge_file' | 'order' | 'order_identifier' | 'organization_onboarding_state' | 'posting_proof' | 'refund' | 'refund_over_capture' | 'sales_record' | 'statement_batch' | 'statement_email' | 'statement_summary_email' | 'pending_payout_transaction_event' | 'credit_and_subsidy' | 'negative_balance_guarantee';
11290
+ type QueuedRecordType = 'capture' | 'channel_transaction' | 'consumer_invoice' | 'fulfillment_in_transit' | 'fulfillment_shipping_notification' | 'fulfillment_external' | 'fulfillment_order_combined_shipment' | 'fulfillment_order_time' | 'return_refund' | 'label_tracking_summary' | 'label_invoice_request' | 'carrier_charge' | 'carrier_charge_file' | 'order' | 'order_identifier' | 'organization_onboarding_state' | 'posting_proof' | 'refund' | 'refund_over_capture' | 'sales_record' | 'refund_record' | 'statement_batch' | 'statement_email' | 'statement_summary_email' | 'pending_payout_transaction_event' | 'credit_and_subsidy' | 'negative_balance_guarantee';
11225
11291
  type ResponsibleParty = 'flow' | 'organization';
11226
11292
  type StatementTransferTransactionLocation = 'transactions_file' | 'summary';
11227
11293
  type SubscriptionFrequency = 'yearly' | 'monthly';
@@ -11476,6 +11542,7 @@ declare namespace io.flow.billing.internal.v0.models {
11476
11542
  readonly tax: io.flow.common.v0.models.Price;
11477
11543
  readonly duty: io.flow.common.v0.models.Price;
11478
11544
  readonly trueup: io.flow.common.v0.models.Price;
11545
+ readonly carrier_charge: io.flow.common.v0.models.Price;
11479
11546
  readonly ending_balance: io.flow.common.v0.models.Price;
11480
11547
  }
11481
11548
  interface BillingTransaction {
@@ -11488,6 +11555,18 @@ declare namespace io.flow.billing.internal.v0.models {
11488
11555
  readonly created_at: string;
11489
11556
  readonly statement?: io.flow.billing.internal.v0.models.BillingStatementReference;
11490
11557
  }
11558
+ interface CarrierChargeTransaction {
11559
+ readonly discriminator: 'carrier_charge_transaction';
11560
+ readonly order: io.flow.billing.internal.v0.models.BillingOrderTransactionOrderReference;
11561
+ readonly id: string;
11562
+ readonly type: io.flow.billing.internal.v0.enums.BillingTransactionType;
11563
+ readonly status: io.flow.billing.internal.v0.enums.BillingTransactionStatus;
11564
+ readonly posted_at?: string;
11565
+ readonly value: io.flow.common.v0.models.Price;
11566
+ readonly description: string;
11567
+ readonly statement?: io.flow.billing.internal.v0.models.BillingStatementReference;
11568
+ readonly created_at: string;
11569
+ }
11491
11570
  interface ChannelAccount {
11492
11571
  readonly channel: io.flow.common.v0.models.ChannelReference;
11493
11572
  readonly id: string;
@@ -12110,7 +12189,7 @@ declare namespace io.flow.billing.internal.v0.unions {
12110
12189
  type PlatformFee = io.flow.billing.internal.v0.models.PlatformFeePause | io.flow.billing.internal.v0.models.PlatformFeeFlat | io.flow.billing.internal.v0.models.PlatformFeePercentage | io.flow.billing.internal.v0.models.PlatformFeeDisabled;
12111
12190
  type ProofOfPosting = io.flow.billing.internal.v0.models.ProofOfPostingFulfilled | io.flow.billing.internal.v0.models.ProofOfPostingExternallyFulfilled | io.flow.billing.internal.v0.models.ProofOfPostingShippingNotification | io.flow.billing.internal.v0.models.ProofOfPostingOrderCancellation | io.flow.billing.internal.v0.models.ProofOfPostingOrderCombinedShipment;
12112
12191
  type SpotRateMetadata = io.flow.billing.internal.v0.models.SpotRateMetadataIdentity | io.flow.billing.internal.v0.models.SpotRateMetadataRate;
12113
- type Transaction = io.flow.billing.internal.v0.models.InvoiceTransaction | io.flow.billing.internal.v0.models.ManualTransaction | io.flow.billing.internal.v0.models.ProcessingTransaction | io.flow.billing.internal.v0.models.SubscriptionTransaction | io.flow.billing.internal.v0.models.TaxRemittanceTransaction | io.flow.billing.internal.v0.models.TransferTransaction | io.flow.billing.internal.v0.models.VirtualCardTransaction | io.flow.billing.internal.v0.models.DisputeTransaction | io.flow.billing.internal.v0.models.ChannelTransaction | io.flow.billing.internal.v0.models.LabelTransaction | io.flow.billing.internal.v0.models.OrderTransaction | io.flow.billing.internal.v0.models.ChannelBilledTransaction | io.flow.billing.internal.v0.models.TaxTransaction | io.flow.billing.internal.v0.models.DutyTransaction | io.flow.billing.internal.v0.models.TrueupTransaction;
12192
+ type Transaction = io.flow.billing.internal.v0.models.InvoiceTransaction | io.flow.billing.internal.v0.models.ManualTransaction | io.flow.billing.internal.v0.models.ProcessingTransaction | io.flow.billing.internal.v0.models.SubscriptionTransaction | io.flow.billing.internal.v0.models.TaxRemittanceTransaction | io.flow.billing.internal.v0.models.TransferTransaction | io.flow.billing.internal.v0.models.VirtualCardTransaction | io.flow.billing.internal.v0.models.DisputeTransaction | io.flow.billing.internal.v0.models.ChannelTransaction | io.flow.billing.internal.v0.models.LabelTransaction | io.flow.billing.internal.v0.models.OrderTransaction | io.flow.billing.internal.v0.models.ChannelBilledTransaction | io.flow.billing.internal.v0.models.TaxTransaction | io.flow.billing.internal.v0.models.DutyTransaction | io.flow.billing.internal.v0.models.TrueupTransaction | io.flow.billing.internal.v0.models.CarrierChargeTransaction;
12114
12193
  }
12115
12194
  declare namespace io.flow.billing.v0.enums {
12116
12195
  type FeeDeductionType = 'duty_guarantee' | 'mor' | 'fraud' | 'fx' | 'processing' | 'rate_lock' | 'transfer';
@@ -12118,7 +12197,7 @@ declare namespace io.flow.billing.v0.enums {
12118
12197
  type PayoutStatusFailureCode = 'invalid_account_number' | 'account_closed' | 'could_not_process';
12119
12198
  type PendingPayoutTransactionReasonCode = 'waiting_for_full_refund' | 'waiting_for_fulfillment' | 'waiting_for_in_transit' | 'waiting_for_next_payout_date' | 'waiting_for_tracking_info' | 'waiting_for_positive_account_balance';
12120
12199
  type StatementAttachmentType = 'csv';
12121
- type TransactionSource = 'capture' | 'refund' | 'dispute' | 'adjustment' | 'reversal' | 'shipping_label' | 'shipping_label_service' | 'trueup' | 'shipping_label_revenue_share' | 'platform_fee' | 'tax' | 'duty' | 'withholding' | 'other_adjustment' | 'tax_adjustment' | 'channel' | 'channel_billed' | 'order_service' | 'virtual_card_capture' | 'virtual_card_refund';
12200
+ type TransactionSource = 'capture' | 'refund' | 'dispute' | 'adjustment' | 'reversal' | 'shipping_label' | 'shipping_label_service' | 'trueup' | 'carrier_charge' | 'shipping_label_revenue_share' | 'platform_fee' | 'tax' | 'duty' | 'withholding' | 'other_adjustment' | 'tax_adjustment' | 'channel' | 'channel_billed' | 'order_service' | 'virtual_card_capture' | 'virtual_card_refund';
12122
12201
  type TrueupSource = 'flow' | 'channel' | 'dhl-parcel' | 'dhl';
12123
12202
  type WithholdingDeductionType = 'tax' | 'duty' | 'freight' | 'insurance';
12124
12203
  }
@@ -12337,6 +12416,12 @@ declare namespace io.flow.billing.v0.models {
12337
12416
  readonly created_at: string;
12338
12417
  readonly updated_at: string;
12339
12418
  }
12419
+ interface TransactionMetadataCarrierCharge {
12420
+ readonly discriminator: 'carrier_charge';
12421
+ readonly reason: io.flow.trueup.v0.enums.CarrierChargeReason;
12422
+ readonly carrier_id: string;
12423
+ readonly carrier_tracking_number: string;
12424
+ }
12340
12425
  interface TransactionMetadataChannel {
12341
12426
  readonly discriminator: 'channel';
12342
12427
  readonly method: string;
@@ -12410,7 +12495,7 @@ declare namespace io.flow.billing.v0.unions {
12410
12495
  type BankAccountForm = io.flow.billing.v0.models.BankAccountFormInfo | io.flow.billing.v0.models.BankAccountFormSimple;
12411
12496
  type PayoutStatus = io.flow.billing.v0.models.PayoutStatusScheduled | io.flow.billing.v0.models.PayoutStatusSent | io.flow.billing.v0.models.PayoutStatusFailed;
12412
12497
  type Settlement = io.flow.billing.v0.models.SettlementNoPayout | io.flow.billing.v0.models.SettlementPayout;
12413
- type TransactionMetadata = io.flow.billing.v0.models.TransactionMetadataShippingLabel | io.flow.billing.v0.models.TransactionMetadataChannel | io.flow.billing.v0.models.TransactionMetadataTrueup | io.flow.billing.v0.models.TransactionMetadataManual;
12498
+ type TransactionMetadata = io.flow.billing.v0.models.TransactionMetadataShippingLabel | io.flow.billing.v0.models.TransactionMetadataChannel | io.flow.billing.v0.models.TransactionMetadataTrueup | io.flow.billing.v0.models.TransactionMetadataCarrierCharge | io.flow.billing.v0.models.TransactionMetadataManual;
12414
12499
  }
12415
12500
  declare namespace io.flow.harmonization.v0.enums {
12416
12501
  type TaxApplicability = 'none' | 'all';
@@ -13834,16 +13919,16 @@ declare namespace io.flow.internal.v0.enums {
13834
13919
  type AutoRestrictRule = 'prr-3ce7d556f2464314ab0a3e8eee33e0ce' | 'prr-599c6246a1a24752aeb85e8f79030781' | 'prr-79e41878ea564f9c81cc432a0e84703f' | 'prr-f29c26dc09e04536bc77f9c32786ed70' | 'prr-b186129720f0446eb452a68518437c95';
13835
13920
  type BankPaymentStatusCode = 'scheduled' | 'sent' | 'failed';
13836
13921
  type BillingAllocationKey = 'freight_cost' | 'adjustment' | 'vat_deminimis' | 'duty_deminimis' | 'duties_item_price' | 'duties_freight' | 'duties_insurance' | 'vat_item_price' | 'vat_freight' | 'vat_insurance' | 'vat_duties_item_price' | 'vat_duties_freight' | 'vat_duties_insurance' | 'item_price' | 'item_discount' | 'rounding' | 'insurance' | 'shipping' | 'order_discount' | 'subtotal_percent_sales_margin' | 'subtotal_vat_percent_sales_margin' | 'subtotal_duty_percent_sales_margin' | 'vat_subsidy' | 'duty_subsidy' | 'fuel_surcharge' | 'remote_area_surcharge';
13837
- type BillingMetricKey = 'adjustment_transactions_count' | 'adjustment_transactions_total' | 'capture_transactions_count' | 'capture_transactions_ignored_fraud_count' | 'capture_transactions_ignored_fully_refunded_count' | 'capture_transactions_ignored_other_count' | 'capture_transactions_ignored_previously_processed_count' | 'capture_transactions_total' | 'channel_transactions_processing_count' | 'channel_transactions_processing_total' | 'channel_transactions_adjustment_count' | 'channel_transactions_adjustment_total' | 'channel_transactions_reversal_count' | 'channel_transactions_reversal_total' | 'channel_billed_transactions_count' | 'channel_billed_transactions_total' | 'credit_payment_transactions_count' | 'credit_payment_transactions_total' | 'duty_transactions_count' | 'duty_transactions_total' | 'fully_subsidized_order_transactions_count' | 'fully_subsidized_order_transactions_total' | 'billable_label_transactions_count' | 'billable_label_transactions_count_for_unique_orders' | 'billable_label_transactions_total' | 'revenue_share_label_transactions_count' | 'revenue_share_label_transactions_count_for_unique_orders' | 'revenue_share_label_transactions_total' | 'manual_transactions_count' | 'manual_transactions_total' | 'order_transactions_count' | 'order_transactions_total' | 'refund_transactions_count' | 'refund_transactions_ignored_fraud_count' | 'refund_transactions_ignored_fully_refunded_count' | 'refund_transactions_ignored_other_count' | 'refund_transactions_ignored_previously_processed_count' | 'refund_transactions_total' | 'reversal_order_cancellations_transactions_count' | 'reversal_order_cancellations_transactions_total' | 'reversal_external_fulfillment_transactions_count' | 'reversal_external_fulfillment_transactions_total' | 'reversal_other_transactions_count' | 'reversal_other_transactions_total' | 'reversal_all_transactions_count' | 'reversal_all_transactions_total' | 'tax_transactions_count' | 'tax_transactions_total' | 'transfer_transactions_count' | 'transfer_transactions_total' | 'trueup_transactions_count' | 'trueup_transactions_total' | 'fulfillments_count' | 'fulfilled_via_replacement_order_count' | 'percentage_orders_with_fulfillment_proof_2_weeks' | 'percentage_orders_with_fulfillment_proof_4_weeks' | 'percentage_orders_with_fulfillment_proof_6_weeks' | 'percentage_orders_with_fulfillment_proof_all' | 'pending_payouts_max_age_in_millis' | 'shipping_notifications_count' | 'queued_capture_unprocessed_count' | 'queued_refund_unprocessed_count' | 'queued_label_invoice_request_unprocessed_count' | 'queued_other_unprocessed_count' | 'queued_record_snooze_count' | 'queued_record_snooze_ending_in_48_hours_count' | 'statements_no_payout_count' | 'statements_no_payout_total' | 'statements_pending_payout_count' | 'statements_pending_payout_total' | 'payouts_scheduled_count' | 'payouts_scheduled_total' | 'payouts_sent_count' | 'payouts_sent_total' | 'payouts_failed_count' | 'payouts_failed_total' | 'average_payout_amount' | 'capture_transaction_with_zero_fees_and_no_channel_transaction_count' | 'percentage_billable_label_transactions_with_carrier_charge_10_days' | 'percentage_billable_label_transactions_with_carrier_charge_20_days' | 'percentage_billable_label_transactions_with_carrier_charge_30_days' | 'percentage_billable_label_transactions_with_carrier_charge_60_days' | 'percentage_billable_label_transactions_with_carrier_charge_90_days';
13838
- type BillingStatementAttachmentKey = 'invoice' | 'statement' | 'consumer_invoice' | 'credit_memo' | 'channel_billed' | 'transactions' | 'virtual_card' | 'tax_remittance' | 'manual' | 'orders' | 'label' | 'order_service' | 'tax' | 'duty' | 'trueup' | 'all';
13922
+ type BillingMetricKey = 'adjustment_transactions_count' | 'adjustment_transactions_total' | 'capture_transactions_count' | 'capture_transactions_ignored_fraud_count' | 'capture_transactions_ignored_fully_refunded_count' | 'capture_transactions_ignored_other_count' | 'capture_transactions_ignored_previously_processed_count' | 'capture_queued_count' | 'capture_transactions_total' | 'carrier_charge_transactions_count' | 'carrier_charge_transactions_total' | 'channel_transactions_processing_count' | 'channel_transactions_processing_total' | 'channel_transactions_adjustment_count' | 'channel_transactions_adjustment_total' | 'channel_transactions_reversal_count' | 'channel_transactions_reversal_total' | 'channel_billed_transactions_count' | 'channel_billed_transactions_total' | 'credit_payment_transactions_count' | 'credit_payment_transactions_total' | 'duty_transactions_count' | 'duty_transactions_total' | 'fully_subsidized_order_transactions_count' | 'fully_subsidized_order_transactions_total' | 'billable_label_transactions_count' | 'billable_label_transactions_count_for_unique_orders' | 'billable_label_transactions_total' | 'revenue_share_label_transactions_count' | 'revenue_share_label_transactions_count_for_unique_orders' | 'revenue_share_label_transactions_total' | 'manual_transactions_count' | 'manual_transactions_total' | 'order_transactions_count' | 'order_transactions_total' | 'refund_transactions_count' | 'refund_transactions_ignored_fraud_count' | 'refund_transactions_ignored_fully_refunded_count' | 'refund_transactions_ignored_other_count' | 'refund_transactions_ignored_previously_processed_count' | 'refund_queued_count' | 'refund_transactions_total' | 'reversal_order_cancellations_transactions_count' | 'reversal_order_cancellations_transactions_total' | 'reversal_external_fulfillment_transactions_count' | 'reversal_external_fulfillment_transactions_total' | 'reversal_other_transactions_count' | 'reversal_other_transactions_total' | 'reversal_all_transactions_count' | 'reversal_all_transactions_total' | 'tax_transactions_count' | 'tax_transactions_total' | 'transfer_transactions_count' | 'transfer_transactions_total' | 'trueup_transactions_count' | 'trueup_transactions_total' | 'fulfillments_count' | 'fulfilled_via_replacement_order_count' | 'percentage_orders_with_fulfillment_proof_2_weeks' | 'percentage_orders_with_fulfillment_proof_4_weeks' | 'percentage_orders_with_fulfillment_proof_6_weeks' | 'percentage_orders_with_fulfillment_proof_all' | 'pending_payouts_max_age_in_millis' | 'shipping_notifications_count' | 'queued_capture_unprocessed_count' | 'queued_refund_unprocessed_count' | 'queued_label_invoice_request_unprocessed_count' | 'queued_other_unprocessed_count' | 'queued_record_snooze_count' | 'queued_record_snooze_ending_in_48_hours_count' | 'statements_no_payout_count' | 'statements_no_payout_total' | 'statements_pending_payout_count' | 'statements_pending_payout_total' | 'payouts_scheduled_count' | 'payouts_scheduled_total' | 'payouts_sent_count' | 'payouts_sent_total' | 'payouts_failed_count' | 'payouts_failed_total' | 'average_payout_amount' | 'capture_transaction_with_zero_fees_and_no_channel_transaction_count' | 'percentage_billable_label_transactions_with_carrier_charge_10_days' | 'percentage_billable_label_transactions_with_carrier_charge_20_days' | 'percentage_billable_label_transactions_with_carrier_charge_30_days' | 'percentage_billable_label_transactions_with_carrier_charge_60_days' | 'percentage_billable_label_transactions_with_carrier_charge_90_days' | 'percentage_bank_account_updates' | 'percentage_bank_account_unique_updates' | 'negative_balance_number_accounts' | 'negative_balance_total' | 'negative_balance_single_account_max';
13923
+ type BillingStatementAttachmentKey = 'invoice' | 'statement' | 'consumer_invoice' | 'credit_memo' | 'channel_billed' | 'transactions' | 'virtual_card' | 'tax_remittance' | 'manual' | 'orders' | 'label' | 'order_service' | 'tax' | 'duty' | 'trueup' | 'carrier_charge' | 'all';
13839
13924
  type BillingStatementBatchFileKey = 'summary';
13840
13925
  type BillingTransactionStatus = 'pending' | 'pending_proof' | 'posted';
13841
- 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' | 'trueup';
13926
+ 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' | 'trueup' | 'carrier_charge';
13842
13927
  type BlazeCheckoutEvent = 'begin_checkout' | 'select_promotion' | 'add_shipping_info' | 'add_payment_info' | 'purchase';
13843
13928
  type BlazeCheckoutStep = 'customer_info' | 'delivery' | 'payment';
13844
13929
  type BrowserBundleErrorCode = 'generic_error' | 'country_invalid';
13845
- type CalculatorEngine = 'flow_rate_and_rule' | 'dtce' | 'dtce_two_calls' | 'dtce_with_deminimis' | 'dtce_merged_with_tax';
13846
- type CarrierChargeOtherReason = 'return_to_origin' | 'other';
13930
+ type CalculatorEngine = 'flow_rate_and_rule' | 'dtce' | 'dtce_two_calls' | 'dtce_with_deminimis' | 'dtce_merged_with_tax' | 'dtce_with_inclusive_pricing';
13931
+ type CarrierChargeTransactionType = 'adjustment' | 'reversal' | 'charge';
13847
13932
  type CarrierLabelGenerationMethod = 'direct' | 'easypost';
13848
13933
  type CarrierValidationStatus = 'success' | 'error';
13849
13934
  type CatalogImportType = 'catalog_items' | 'item_form_overlays' | 'item_prices' | 'price_book_items_import' | 'price_book_items_query_import';
@@ -13854,6 +13939,8 @@ declare namespace io.flow.internal.v0.enums {
13854
13939
  type ChannelOrderAcceptanceStatus = 'accepted' | 'rejected' | 'review';
13855
13940
  type ChannelOrderFulfillmentStatusCode = 'unfulfilled' | 'fulfilled' | 'partial' | 'cancelled';
13856
13941
  type ChannelTransactionType = 'adjustment' | 'reversal' | 'processing';
13942
+ type ChargeEstimateSource = 'global-e' | 'shopify';
13943
+ type ChargeInputType = 'fuelsc' | 'incoterm_ddp' | 'delivery_confirmation' | 'base_charge' | 'package_pickup' | 'insurance' | 'usps_first_mile' | 'oversize_piece' | 'incoterm_dap' | 'emergency_situation' | 'remote_area_delivery';
13857
13944
  type ChargebackPaymentStatus = 'captured' | 'refunded';
13858
13945
  type ChargebackProcessStatus = 'inquiry' | 'open' | 'closed';
13859
13946
  type CheckoutAddAuthorizationErrorCode = 'checkout_not_found' | 'authorization_not_found';
@@ -13959,7 +14046,7 @@ declare namespace io.flow.internal.v0.enums {
13959
14046
  type DutyTransactionType = 'adjustment' | 'reversal' | 'duty';
13960
14047
  type EmptyAttribute = 'irrelevant';
13961
14048
  type ErpFileType = 'vendor';
13962
- 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' | 'index_assignment_upserted' | 'index_assignment_deleted' | 'merchant_upserted' | 'merchant_deleted' | 'account_upserted' | 'account_upserted_v2' | 'account_deleted_v2' | 'account_contact_upserted' | 'account_contact_deleted' | 'billing_statement_upserted' | 'billing_statement_deleted' | 'tax_remittance_transaction_upserted' | 'tax_remittance_transaction_deleted' | 'channel_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' | 'transaction_statement_upserted' | 'transaction_statement_deleted' | 'daily_value_upserted' | 'daily_value_deleted' | 'sales_record_upserted' | 'sales_record_deleted' | 'calculator_organization_settings_upserted' | 'calculator_organization_settings_deleted' | 'carrier_account_upserted_v2' | 'carrier_account_deleted' | 'label_generation_settings_upserted' | 'label_generation_settings_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' | 'catalog_settings_upserted' | 'catalog_settings_deleted' | 'channel_order_acceptance_upserted' | 'channel_order_acceptance_deleted' | 'checkout_configuration_upserted' | 'checkout_configuration_deleted' | 'commercial_invoice_internal_upserted' | 'commercial_invoice_internal_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' | 'standalone_attachment_upserted' | 'standalone_attachment_deleted' | 'platform_fee_change_upserted' | 'platform_fee_change_deleted' | 'organization_bank_account_upserted' | 'organization_bank_account_deleted' | 'billing_csv_transaction_upserted' | 'billing_csv_transaction_deleted' | 'label_invoice_request_upserted' | 'label_invoice_request_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' | 'manual_review_rule_upserted' | 'manual_review_rule_deleted' | 'ftp_file_upserted' | 'ftp_file_deleted' | 'ftp_file_to_process_uploaded' | 'center_defaults_upserted' | 'center_defaults_deleted' | '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' | 'harmonization_classification_statistics_published' | 'issuer_upserted' | 'issuer_deleted' | 'item_form_import_request' | 'label_request_error_upserted' | 'label_request_error_deleted' | '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_combined_shipment_upserted' | 'order_combined_shipment_deleted' | 'order_fulfillment_deleted' | 'order_fulfillment_upserted' | 'order_placed' | 'ready_to_fulfill' | 'fulfillment_cancel' | 'order_shipped' | 'items_shipped' | 'organization_business_entity_deleted' | 'organization_business_entity_upserted' | 'organization_status_change_upserted' | 'organization_status_change_deleted' | 'organization_deactivation_upserted' | 'organization_deactivation_deleted' | 'merchant_guid_assignment_upserted' | 'merchant_guid_assignment_deleted' | 'partner_organization_settings_upserted' | 'partner_organization_settings_deleted' | 'unassigned_merchant_guid_upserted' | 'unassigned_merchant_guid_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' | 'product_restriction_rule_decision_upserted' | 'product_restriction_rule_decision_deleted' | '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' | 'ratecard_rate_level_upserted' | 'ratecard_rate_level_deleted' | 'ratecard_rate_level_ratecard_upserted' | 'ratecard_rate_level_ratecard_deleted' | 'ratecard_rate_level_organization_upserted' | 'ratecard_rate_level_organization_deleted' | 'organization_restriction_snapshot_upserted' | 'organization_restriction_snapshot_deleted' | 'restriction_organization_status_upserted' | 'restriction_organization_status_deleted' | 'organization_restriction_status_upserted' | 'organization_restriction_status_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_markets_webhook_registration_upserted' | 'shopify_markets_webhook_registration_deleted' | 'shopify_markets_shop_statistics_upserted' | 'shopify_markets_shop_statistics_deleted' | 'shopify_markets_metrics_upserted' | 'shopify_markets_metrics_deleted' | 'channel_order_summary_upserted' | 'channel_order_summary_deleted' | 'shopify_monitoring_order_monitor_event_upserted' | 'shopify_monitoring_order_monitor_event_deleted' | 'shopify_order_fulfillments_snapshot_upserted' | 'shopify_order_fulfillments_snapshot_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';
14049
+ 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' | 'index_assignment_upserted' | 'index_assignment_deleted' | 'merchant_upserted' | 'merchant_deleted' | 'account_upserted' | 'account_upserted_v2' | 'account_deleted_v2' | 'account_contact_upserted' | 'account_contact_deleted' | 'billing_statement_upserted' | 'billing_statement_deleted' | 'tax_remittance_transaction_upserted' | 'tax_remittance_transaction_deleted' | 'channel_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' | 'transaction_statement_upserted' | 'transaction_statement_deleted' | 'daily_value_upserted' | 'daily_value_deleted' | 'sales_record_upserted' | 'sales_record_deleted' | 'revenue_record_upserted' | 'revenue_record_deleted' | 'calculator_organization_settings_upserted' | 'calculator_organization_settings_deleted' | 'carrier_account_upserted_v2' | 'carrier_account_deleted' | 'label_generation_settings_upserted' | 'label_generation_settings_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' | 'catalog_settings_upserted' | 'catalog_settings_deleted' | 'channel_order_acceptance_upserted' | 'channel_order_acceptance_deleted' | 'checkout_configuration_upserted' | 'checkout_configuration_deleted' | 'commercial_invoice_internal_upserted' | 'commercial_invoice_internal_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' | 'standalone_attachment_upserted' | 'standalone_attachment_deleted' | 'platform_fee_change_upserted' | 'platform_fee_change_deleted' | 'organization_bank_account_upserted' | 'organization_bank_account_deleted' | 'billing_csv_transaction_upserted' | 'billing_csv_transaction_deleted' | 'label_invoice_request_upserted' | 'label_invoice_request_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' | 'manual_review_rule_upserted' | 'manual_review_rule_deleted' | 'ftp_file_upserted' | 'ftp_file_deleted' | 'ftp_file_to_process_uploaded' | 'center_defaults_upserted' | 'center_defaults_deleted' | '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' | 'harmonization_classification_statistics_published' | 'issuer_upserted' | 'issuer_deleted' | 'item_form_import_request' | 'label_request_error_upserted' | 'label_request_error_deleted' | '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_combined_shipment_upserted' | 'order_combined_shipment_deleted' | 'order_fulfillment_deleted' | 'order_fulfillment_upserted' | 'order_placed' | 'ready_to_fulfill' | 'fulfillment_cancel' | 'order_shipped' | 'items_shipped' | 'organization_business_entity_deleted' | 'organization_business_entity_upserted' | 'organization_status_change_upserted' | 'organization_status_change_deleted' | 'organization_deactivation_upserted' | 'organization_deactivation_deleted' | 'merchant_guid_assignment_upserted' | 'merchant_guid_assignment_deleted' | 'partner_organization_settings_upserted' | 'partner_organization_settings_deleted' | 'unassigned_merchant_guid_upserted' | 'unassigned_merchant_guid_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' | 'product_restriction_rule_decision_upserted' | 'product_restriction_rule_decision_deleted' | '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' | 'ratecard_rate_level_upserted' | 'ratecard_rate_level_deleted' | 'ratecard_rate_level_ratecard_upserted' | 'ratecard_rate_level_ratecard_deleted' | 'ratecard_rate_level_organization_upserted' | 'ratecard_rate_level_organization_deleted' | 'organization_restriction_snapshot_upserted' | 'organization_restriction_snapshot_deleted' | 'restriction_organization_status_upserted' | 'restriction_organization_status_deleted' | 'organization_restriction_status_upserted' | 'organization_restriction_status_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_markets_webhook_registration_upserted' | 'shopify_markets_webhook_registration_deleted' | 'shopify_markets_shop_statistics_upserted' | 'shopify_markets_shop_statistics_deleted' | 'shopify_markets_metrics_upserted' | 'shopify_markets_metrics_deleted' | 'channel_order_summary_upserted' | 'channel_order_summary_deleted' | 'shopify_monitoring_order_monitor_event_upserted' | 'shopify_monitoring_order_monitor_event_deleted' | 'shopify_order_fulfillments_snapshot_upserted' | 'shopify_order_fulfillments_snapshot_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';
13963
14050
  type ExperienceImportType = 'experience_with_settings';
13964
14051
  type ExperienceOrderAction = 'submit' | 'refund_gift_cards';
13965
14052
  type ExperienceOrderActionTrigger = 'zero_balance' | 'unsubmitted_order';
@@ -14014,7 +14101,7 @@ declare namespace io.flow.internal.v0.enums {
14014
14101
  type NoLiabilityReasonCode = 'zero_basis' | 'zero_rate_on_goods' | 'zero_rate_on_sale' | 'goods_above_value_threshold' | 'goods_below_value_threshold' | 'order_below_de_minimis_threshold' | 'amount_below_de_minimis_threshold' | 'delivered_unpaid' | 'duty_free_domestic' | 'duty_free_intra_community' | 'duty_free_by_trade_agreement';
14015
14102
  type OnboardingAuditMessageLevel = 'info' | 'warning' | 'error';
14016
14103
  type OnboardingAuditResult = 'pass' | 'warning' | 'fail';
14017
- type OnboardingAuditThemeKey = 'billing' | 'b2b_invoicing' | 'catalog' | 'currency' | 'checkout' | 'fraud' | 'logistics' | 'payments' | 'shopify_markets' | 'integration_partner' | 'dtce' | 'restrictions' | 'organization_status' | 'miscellaneous';
14104
+ type OnboardingAuditThemeKey = 'billing' | 'b2b_invoicing' | 'catalog' | 'currency' | 'checkout' | 'fraud' | 'logistics' | 'payments' | 'shopify_markets' | 'integration_partner' | 'dtce' | 'restrictions' | 'organization_status' | 'category_constraints' | 'miscellaneous';
14018
14105
  type OnboardingAutomationProcessState = 'not_started' | 'in_progress' | 'success' | 'failed';
14019
14106
  type OnboardingAutomationTaskState = 'not_started' | 'in_progress' | 'success' | 'failed';
14020
14107
  type OnboardingStateSource = 'unknown' | 'unit_test' | 'api' | 'api_activation' | 'audit_auto_activation' | 'api_deactivation' | 'api_sandbox_setup' | 'api_internal' | 'api_internal_block' | 'api_internal_unblock' | 'api_internal_delete_transaction' | 'onboarding_application' | 'organization_state_change' | 'restriction_organization_status';
@@ -14049,7 +14136,7 @@ declare namespace io.flow.internal.v0.enums {
14049
14136
  type PromptCheckoutDisplayPosition = 'email' | 'submission';
14050
14137
  type PromptOptions = 'notice_only' | 'require_consent' | 'consent_by_default';
14051
14138
  type PromptTarget = 'browse' | 'checkout';
14052
- type QueuedRecordType = 'capture' | 'channel_transaction' | 'consumer_invoice' | 'fulfillment_in_transit' | 'fulfillment_shipping_notification' | 'fulfillment_external' | 'fulfillment_order_combined_shipment' | 'fulfillment_order_time' | 'label_tracking_summary' | 'label_invoice_request' | 'carrier_charge' | 'carrier_charge_file' | 'order' | 'order_identifier' | 'organization_onboarding_state' | 'posting_proof' | 'refund' | 'refund_over_capture' | 'sales_record' | 'statement_batch' | 'statement_email' | 'statement_summary_email' | 'pending_payout_transaction_event' | 'credit_and_subsidy' | 'negative_balance_guarantee';
14139
+ type QueuedRecordType = 'capture' | 'channel_transaction' | 'consumer_invoice' | 'fulfillment_in_transit' | 'fulfillment_shipping_notification' | 'fulfillment_external' | 'fulfillment_order_combined_shipment' | 'fulfillment_order_time' | 'return_refund' | 'label_tracking_summary' | 'label_invoice_request' | 'carrier_charge' | 'carrier_charge_file' | 'order' | 'order_identifier' | 'organization_onboarding_state' | 'posting_proof' | 'refund' | 'refund_over_capture' | 'sales_record' | 'refund_record' | 'statement_batch' | 'statement_email' | 'statement_summary_email' | 'pending_payout_transaction_event' | 'credit_and_subsidy' | 'negative_balance_guarantee';
14053
14140
  type QuoteRequestType = 'generate' | 'delete' | 'update_currency_rate' | 'update_country';
14054
14141
  type RateLevelKey = 'shopify_small_usa' | 'shopify_medium_usa' | 'shopify_enterprise_usa' | 'shopify_small_sdc_usa';
14055
14142
  type RateSource = 'calculated' | 'market';
@@ -14059,11 +14146,13 @@ declare namespace io.flow.internal.v0.enums {
14059
14146
  type ReportInterval = 'hourly' | 'daily' | 'weekly' | 'monthly';
14060
14147
  type ReportStatus = 'created' | 'completed' | 'completed_no_records' | 'failed';
14061
14148
  type ReportType = 'sales_record' | 'trueup_overview' | 'non_channel_payment_bank_account';
14149
+ type ReportingFulfillmentIsVirtual = 'all' | 'mixed' | 'none';
14062
14150
  type ReportingScheme = 'immediate_reporting_to_tax_authority' | 'periodic_reporting_to_tax_authority' | 'paid_at_border' | 'paid_on_delivery';
14063
14151
  type ResponsibleParty = 'flow' | 'organization';
14064
14152
  type RestrictionAction = 'prohibited' | 'restricted';
14065
14153
  type RestrictionDecision = 'accept' | 'escalate' | 'reject' | 'review';
14066
14154
  type RestrictionStatus = 'pending' | 'in_review' | 'escalated' | 'accepted' | 'restricted';
14155
+ type RevenueRecordType = 'sales' | 'refund';
14067
14156
  type RiskCheck = 'three_d_secure';
14068
14157
  type RiskEvaluation = 'Pending' | 'High-Risk' | 'Low-Risk' | 'Restricted-Party' | 'none';
14069
14158
  type Scope = 'organization' | 'global';
@@ -14074,7 +14163,7 @@ declare namespace io.flow.internal.v0.enums {
14074
14163
  type ShopifyGrantStatus = 'pass' | 'fail';
14075
14164
  type ShopifyMarketsDangerousGoods = 'aerosols' | 'air_bag_inflators_or_seat_belt_pretensioners' | 'alcoholic_beverages_containing_more_than_24_percent_alcohol_by_volume' | 'batteries' | 'carbon_dioxide_or_dry_ice' | 'corrosives' | 'cannabidiol_products' | 'cologne_or_perfume' | 'currency_or_gift_cards_or_monetary_instruments' | 'exotic_leather_goods' | 'environmental_waste' | 'explosives_or_ammunition' | 'flammable_liquids' | 'gases' | 'hazardous_or_combustible_materials' | 'infectious_or_biological_substances' | 'knives' | 'matches_or_lighter_or_lighter_refills' | 'nail_polish' | 'oxidizing_materials_or_organic_peroxides' | 'pornography' | 'prohibited_carriage' | 'pesticides_or_toxic_herbicides_or_insecticides_or_poisonous_toxic_substances';
14076
14165
  type ShopifyMarketsHtsNumberAvailable = 'yes' | 'no' | 'i_dont_know';
14077
- type ShopifyMarketsQueuedRecordType = 'card_payment' | 'catalog_publication_sync' | 'flow_shop' | 'online_payment' | 'order_update' | 'product_restriction_result' | 'product_sync';
14166
+ type ShopifyMarketsQueuedRecordType = 'card_payment' | 'catalog_publication_sync' | 'flow_shop' | 'online_payment' | 'order_update' | 'product_restriction_result' | 'product_sync' | 'webhook_registrations';
14078
14167
  type ShopifyMarketsTradeSector = 'apparel_and_accessories' | 'beauty_and_cosmetics' | 'electronics' | 'food_or_perishables' | 'jewellery_and_watches' | 'paper_and_art' | 'sports_and_fitness' | 'toys_hobbies_gifts' | 'other';
14079
14168
  type ShopifyMonitoringMonitorReviewStatus = 'in_review' | 'reviewed';
14080
14169
  type ShopifyMonitoringTrackingField = 'tracking_number' | 'carrier_service' | 'tracking_url';
@@ -15007,6 +15096,7 @@ declare namespace io.flow.internal.v0.models {
15007
15096
  readonly tax: io.flow.common.v0.models.Price;
15008
15097
  readonly duty: io.flow.common.v0.models.Price;
15009
15098
  readonly trueup: io.flow.common.v0.models.Price;
15099
+ readonly carrier_charge: io.flow.common.v0.models.Price;
15010
15100
  readonly ending_balance: io.flow.common.v0.models.Price;
15011
15101
  }
15012
15102
  interface BillingStatementUpserted {
@@ -15383,7 +15473,7 @@ declare namespace io.flow.internal.v0.models {
15383
15473
  interface CarrierChargeFormOther {
15384
15474
  readonly discriminator: 'other';
15385
15475
  readonly id: string;
15386
- readonly reason: io.flow.internal.v0.enums.CarrierChargeOtherReason;
15476
+ readonly reason: io.flow.trueup.v0.enums.CarrierChargeReason;
15387
15477
  readonly organization_id: string;
15388
15478
  readonly order_number: string;
15389
15479
  readonly carrier_id: string;
@@ -15397,6 +15487,18 @@ declare namespace io.flow.internal.v0.models {
15397
15487
  readonly dimensional?: io.flow.trueup.v0.models.DimensionalWeight;
15398
15488
  readonly attributes?: Record<string, string>;
15399
15489
  }
15490
+ interface CarrierChargeTransaction {
15491
+ readonly discriminator: 'carrier_charge_transaction';
15492
+ readonly order: io.flow.internal.v0.models.BillingOrderTransactionOrderReference;
15493
+ readonly id: string;
15494
+ readonly type: io.flow.internal.v0.enums.BillingTransactionType;
15495
+ readonly status: io.flow.internal.v0.enums.BillingTransactionStatus;
15496
+ readonly posted_at?: string;
15497
+ readonly value: io.flow.common.v0.models.Price;
15498
+ readonly description: string;
15499
+ readonly statement?: io.flow.internal.v0.models.BillingStatementReference;
15500
+ readonly created_at: string;
15501
+ }
15400
15502
  interface CarrierChargeUnits {
15401
15503
  readonly currency: string;
15402
15504
  readonly weight: io.flow.units.v0.enums.UnitOfWeight;
@@ -15678,6 +15780,10 @@ declare namespace io.flow.internal.v0.models {
15678
15780
  readonly channel_id: string;
15679
15781
  readonly channel_order_acceptance: io.flow.internal.v0.models.ChannelOrderAcceptance;
15680
15782
  }
15783
+ interface ChannelOrderAcceptanceDetails {
15784
+ readonly order_acceptance: io.flow.internal.v0.models.ChannelOrderAcceptance;
15785
+ readonly external_order: any;
15786
+ }
15681
15787
  interface ChannelOrderAcceptanceForm {
15682
15788
  readonly status: io.flow.internal.v0.enums.ChannelOrderAcceptanceStatus;
15683
15789
  }
@@ -15777,6 +15883,11 @@ declare namespace io.flow.internal.v0.models {
15777
15883
  readonly timestamp: string;
15778
15884
  readonly channel_transaction: io.flow.internal.v0.models.ChannelTransaction;
15779
15885
  }
15886
+ interface ChargeInput {
15887
+ readonly charge_input_code: io.flow.internal.v0.enums.ChargeInputType;
15888
+ readonly price: io.flow.common.v0.models.Money;
15889
+ readonly charge_input_source: io.flow.internal.v0.enums.ChargeEstimateSource;
15890
+ }
15780
15891
  interface Chargeback {
15781
15892
  readonly id: string;
15782
15893
  readonly key: string;
@@ -19548,6 +19659,16 @@ declare namespace io.flow.internal.v0.models {
19548
19659
  readonly carrier_tracking_url?: string;
19549
19660
  readonly items: io.flow.order.management.v0.models.FulfillmentItem[];
19550
19661
  }
19662
+ interface FulfillmentShopperBreakdown {
19663
+ readonly shipping: io.flow.internal.v0.models.ReportingMonetaryValue;
19664
+ readonly fees: io.flow.internal.v0.models.ReportingShopperFees;
19665
+ readonly product: io.flow.internal.v0.models.ReportingMonetaryValue;
19666
+ readonly subtotal: io.flow.internal.v0.models.ReportingMonetaryValue;
19667
+ readonly tax: io.flow.internal.v0.models.ReportingMonetaryValue;
19668
+ readonly duty: io.flow.internal.v0.models.ReportingMonetaryValue;
19669
+ readonly discount: io.flow.internal.v0.models.ReportingMonetaryValue;
19670
+ readonly total: io.flow.internal.v0.models.ReportingMonetaryValue;
19671
+ }
19551
19672
  interface FulfillmentSnapshot {
19552
19673
  readonly tracking_source: string;
19553
19674
  readonly fulfillment_status?: string;
@@ -20859,6 +20980,10 @@ declare namespace io.flow.internal.v0.models {
20859
20980
  readonly flow_tracking_number: string;
20860
20981
  readonly shipped_item_values: io.flow.internal.v0.models.ShippedItemValue[];
20861
20982
  }
20983
+ interface JeanDemoItem {
20984
+ readonly id: string;
20985
+ readonly name: string;
20986
+ }
20862
20987
  interface Key {
20863
20988
  readonly id: string;
20864
20989
  readonly created_at: string;
@@ -20921,6 +21046,7 @@ declare namespace io.flow.internal.v0.models {
20921
21046
  readonly organization: string;
20922
21047
  readonly shipping_label_form: io.flow.label.v0.unions.ShippingLabelForm;
20923
21048
  readonly shipment_cost?: io.flow.common.v0.models.Money;
21049
+ readonly charges?: io.flow.internal.v0.models.ChargeInput[];
20924
21050
  readonly reference_id?: string;
20925
21051
  }
20926
21052
  interface LabelDestination {
@@ -21464,6 +21590,10 @@ declare namespace io.flow.internal.v0.models {
21464
21590
  readonly organization_id: string;
21465
21591
  readonly number: string;
21466
21592
  }
21593
+ interface MarkedAsFinal {
21594
+ readonly products: boolean;
21595
+ readonly shipping: boolean;
21596
+ }
21467
21597
  interface MarketingGatewayChannel {
21468
21598
  readonly id: string;
21469
21599
  readonly platform: io.flow.internal.v0.enums.MarketingGatewayPlatform;
@@ -23491,6 +23621,9 @@ declare namespace io.flow.internal.v0.models {
23491
23621
  readonly status: io.flow.internal.v0.enums.ReboundConfigurationStatus;
23492
23622
  readonly orders_since_submitted_at?: string;
23493
23623
  }
23624
+ interface RecordReference {
23625
+ readonly id: string;
23626
+ }
23494
23627
  interface Redirect {
23495
23628
  readonly id: string;
23496
23629
  readonly post_payment_redirect_urls: io.flow.payment.v0.models.PostPaymentRedirectUrls;
@@ -23548,6 +23681,44 @@ declare namespace io.flow.internal.v0.models {
23548
23681
  interface ReportSummary {
23549
23682
  readonly task_id: string;
23550
23683
  }
23684
+ interface ReportingAuthorizationReference {
23685
+ readonly id: string;
23686
+ }
23687
+ interface ReportingBusiness {
23688
+ readonly vat_registration_number: string;
23689
+ readonly name?: string;
23690
+ }
23691
+ interface ReportingConversionRates {
23692
+ readonly merchant: number;
23693
+ readonly entity: number;
23694
+ readonly usd: number;
23695
+ readonly eur: number;
23696
+ }
23697
+ interface ReportingCountry {
23698
+ readonly code: string;
23699
+ readonly is_eu: boolean;
23700
+ }
23701
+ interface ReportingCurrencies {
23702
+ readonly transaction: string;
23703
+ readonly merchant: string;
23704
+ readonly entity: string;
23705
+ }
23706
+ interface ReportingDebug {
23707
+ readonly console_order_link: string;
23708
+ readonly allocation_order_totals_delta?: number;
23709
+ readonly allocation_order_item_discount_delta?: number;
23710
+ readonly missing_item_subsidies?: io.flow.internal.v0.models.ReportingDebugMissingSubsidies;
23711
+ readonly missing_shipping_subsidies?: io.flow.internal.v0.models.ReportingDebugMissingSubsidies;
23712
+ }
23713
+ interface ReportingDebugMissingSubsidies {
23714
+ readonly price?: boolean;
23715
+ readonly tax?: boolean;
23716
+ readonly duty?: boolean;
23717
+ }
23718
+ interface ReportingDestination {
23719
+ readonly country: io.flow.internal.v0.models.ReportingCountry;
23720
+ readonly province?: io.flow.internal.v0.models.ReportingProvince;
23721
+ }
23551
23722
  interface ReportingDetails {
23552
23723
  readonly accounting_transactions?: any[];
23553
23724
  readonly fulfillments?: any[];
@@ -23555,6 +23726,142 @@ declare namespace io.flow.internal.v0.models {
23555
23726
  readonly sales_records?: any[];
23556
23727
  readonly refund_records?: any[];
23557
23728
  }
23729
+ interface ReportingEntity {
23730
+ readonly id: string;
23731
+ }
23732
+ interface ReportingFulfillment {
23733
+ readonly id: string;
23734
+ readonly sequence_number: number;
23735
+ readonly fulfilled_at: string;
23736
+ readonly completes_order: boolean;
23737
+ readonly payment: io.flow.internal.v0.models.ReportingPayment;
23738
+ readonly refund?: io.flow.internal.v0.models.ReportingRefundReference;
23739
+ readonly value: io.flow.internal.v0.models.FulfillmentShopperBreakdown;
23740
+ readonly dispatch_country?: io.flow.internal.v0.models.ReportingCountry;
23741
+ readonly destination?: io.flow.internal.v0.models.ReportingDestination;
23742
+ readonly shipment?: io.flow.internal.v0.models.ReportingShipment;
23743
+ readonly is: io.flow.internal.v0.models.ReportingFulfillmentIs;
23744
+ readonly has: io.flow.internal.v0.models.ReportingFulfillmentHas;
23745
+ readonly fx: io.flow.internal.v0.models.ReportingFx;
23746
+ readonly business?: io.flow.internal.v0.models.ReportingBusiness;
23747
+ }
23748
+ interface ReportingFulfillmentHas {
23749
+ readonly zero_vat_product: boolean;
23750
+ }
23751
+ interface ReportingFulfillmentIs {
23752
+ readonly replacement: boolean;
23753
+ readonly virtual: io.flow.internal.v0.enums.ReportingFulfillmentIsVirtual;
23754
+ readonly duties_guaranteed: boolean;
23755
+ readonly wyol: boolean;
23756
+ readonly b2b: boolean;
23757
+ readonly domestic: boolean;
23758
+ }
23759
+ interface ReportingFx {
23760
+ readonly shipping: io.flow.internal.v0.models.ReportingUsd;
23761
+ readonly fees: io.flow.internal.v0.models.ReportingUsd;
23762
+ readonly product: io.flow.internal.v0.models.ReportingUsd;
23763
+ readonly tax: io.flow.internal.v0.models.ReportingUsd;
23764
+ readonly duty: io.flow.internal.v0.models.ReportingUsd;
23765
+ readonly total: io.flow.internal.v0.models.ReportingUsd;
23766
+ }
23767
+ interface ReportingMerchantBreakdown {
23768
+ readonly subsidies: io.flow.internal.v0.models.ReportingMerchantSubsidies;
23769
+ readonly fees: io.flow.internal.v0.models.ReportingMerchantFees;
23770
+ readonly transactions: io.flow.internal.v0.models.ReportingMerchantTransactions;
23771
+ }
23772
+ interface ReportingMerchantFees {
23773
+ readonly duty_guarantee: io.flow.internal.v0.models.ReportingMonetaryValue;
23774
+ readonly mor: io.flow.internal.v0.models.ReportingMonetaryValue;
23775
+ readonly fraud: io.flow.internal.v0.models.ReportingMonetaryValue;
23776
+ readonly fx: io.flow.internal.v0.models.ReportingMonetaryValue;
23777
+ readonly processing: io.flow.internal.v0.models.ReportingMonetaryValue;
23778
+ readonly rate_lock: io.flow.internal.v0.models.ReportingMonetaryValue;
23779
+ readonly transfer: io.flow.internal.v0.models.ReportingMonetaryValue;
23780
+ }
23781
+ interface ReportingMerchantSubsidies {
23782
+ readonly shipping: io.flow.internal.v0.models.ReportingMonetaryValue;
23783
+ readonly tax: io.flow.internal.v0.models.ReportingMonetaryValue;
23784
+ readonly duty: io.flow.internal.v0.models.ReportingMonetaryValue;
23785
+ readonly ccf: io.flow.internal.v0.models.ReportingMonetaryValue;
23786
+ }
23787
+ interface ReportingMerchantTransactions {
23788
+ readonly adjustment: io.flow.internal.v0.models.ReportingMonetaryValue;
23789
+ readonly reversal: io.flow.internal.v0.models.ReportingMonetaryValue;
23790
+ readonly tax: io.flow.internal.v0.models.ReportingMonetaryValue;
23791
+ readonly duty: io.flow.internal.v0.models.ReportingMonetaryValue;
23792
+ readonly freight: io.flow.internal.v0.models.ReportingMonetaryValue;
23793
+ readonly refund: io.flow.internal.v0.models.ReportingMonetaryValue;
23794
+ }
23795
+ interface ReportingMonetaryValue {
23796
+ readonly transaction: number;
23797
+ readonly merchant: number;
23798
+ readonly entity: number;
23799
+ readonly usd: number;
23800
+ readonly eur: number;
23801
+ }
23802
+ interface ReportingOrderSummary {
23803
+ readonly id: string;
23804
+ readonly number: string;
23805
+ readonly submitted_at: string;
23806
+ }
23807
+ interface ReportingOrganizationSummary {
23808
+ readonly id: string;
23809
+ readonly name: string;
23810
+ }
23811
+ interface ReportingPayment {
23812
+ readonly metadata?: io.flow.internal.v0.models.ReportingPaymentMetadata;
23813
+ readonly psp: io.flow.internal.v0.models.ReportingMonetaryValue;
23814
+ readonly credit: io.flow.internal.v0.models.ReportingMonetaryValue;
23815
+ readonly total: io.flow.internal.v0.models.ReportingMonetaryValue;
23816
+ }
23817
+ interface ReportingPaymentMetadata {
23818
+ readonly gateway: io.flow.internal.v0.enums.Processor;
23819
+ readonly method: string;
23820
+ readonly psp_reference?: string;
23821
+ readonly authorization?: io.flow.internal.v0.models.ReportingAuthorizationReference;
23822
+ readonly settlement_date: string;
23823
+ readonly additional_authorizations?: io.flow.internal.v0.models.ReportingPaymentMetadataAdditionalAuthorizations;
23824
+ }
23825
+ interface ReportingPaymentMetadataAdditionalAuthorizations {
23826
+ readonly ids: string;
23827
+ }
23828
+ interface ReportingProvince {
23829
+ readonly code?: string;
23830
+ readonly name: string;
23831
+ }
23832
+ interface ReportingReconciliation {
23833
+ readonly date: string;
23834
+ readonly month: number;
23835
+ readonly year: number;
23836
+ }
23837
+ interface ReportingRefundReference {
23838
+ readonly id: string;
23839
+ }
23840
+ interface ReportingShipment {
23841
+ readonly carrier: string;
23842
+ readonly tracking_number?: string;
23843
+ }
23844
+ interface ReportingShopperFees {
23845
+ readonly fuel: io.flow.internal.v0.models.ReportingMonetaryValue;
23846
+ readonly remote_area: io.flow.internal.v0.models.ReportingMonetaryValue;
23847
+ readonly oversize: io.flow.internal.v0.models.ReportingMonetaryValue;
23848
+ readonly ccf: io.flow.internal.v0.models.ReportingMonetaryValue;
23849
+ readonly emergency: io.flow.internal.v0.models.ReportingMonetaryValue;
23850
+ readonly peak: io.flow.internal.v0.models.ReportingMonetaryValue;
23851
+ }
23852
+ interface ReportingUsd {
23853
+ readonly usd: number;
23854
+ }
23855
+ interface ReportingVatRemittance {
23856
+ readonly currency: string;
23857
+ readonly rate: io.flow.internal.v0.models.ReportingVatRemittanceRate;
23858
+ }
23859
+ interface ReportingVatRemittanceRate {
23860
+ readonly entity: number;
23861
+ }
23862
+ interface ReportingVendor {
23863
+ readonly id: string;
23864
+ }
23558
23865
  interface RequeueRequestForm {
23559
23866
  readonly product_ids?: string[];
23560
23867
  readonly hs6_codes?: string[];
@@ -23602,6 +23909,7 @@ declare namespace io.flow.internal.v0.models {
23602
23909
  readonly status?: io.flow.internal.v0.enums.RestrictionStatus;
23603
23910
  readonly statuses?: io.flow.internal.v0.enums.RestrictionStatus[];
23604
23911
  readonly rule_ids?: string[];
23912
+ readonly user_ids?: string[];
23605
23913
  readonly categories?: string[];
23606
23914
  readonly product_name_query?: string;
23607
23915
  readonly positive_keywords?: string[];
@@ -23796,6 +24104,7 @@ declare namespace io.flow.internal.v0.models {
23796
24104
  readonly posting_cutoff: string;
23797
24105
  readonly trigger: io.flow.internal.v0.unions.ReturnTrigger;
23798
24106
  readonly returned_at: string;
24107
+ readonly completes_order: boolean;
23799
24108
  }
23800
24109
  interface ReturnPolicyDeleted {
23801
24110
  readonly discriminator: 'return_policy_deleted';
@@ -23835,6 +24144,37 @@ declare namespace io.flow.internal.v0.models {
23835
24144
  readonly discriminator: 'by_refund';
23836
24145
  readonly refund: io.flow.payment.v0.models.RefundReference;
23837
24146
  }
24147
+ interface RevenueRecord {
24148
+ readonly id: string;
24149
+ readonly organization: io.flow.internal.v0.models.ReportingOrganizationSummary;
24150
+ readonly parent?: io.flow.internal.v0.models.RecordReference;
24151
+ readonly type: io.flow.internal.v0.enums.RevenueRecordType;
24152
+ readonly order: io.flow.internal.v0.models.ReportingOrderSummary;
24153
+ readonly entity: io.flow.internal.v0.models.ReportingEntity;
24154
+ readonly vendor: io.flow.internal.v0.models.ReportingVendor;
24155
+ readonly currencies: io.flow.internal.v0.models.ReportingCurrencies;
24156
+ readonly conversion_rate: io.flow.internal.v0.models.ReportingConversionRates;
24157
+ readonly reconciliation: io.flow.internal.v0.models.ReportingReconciliation;
24158
+ readonly merchant: io.flow.internal.v0.models.ReportingMerchantBreakdown;
24159
+ readonly fulfillment: io.flow.internal.v0.models.ReportingFulfillment;
24160
+ readonly vat_remittance: io.flow.internal.v0.models.ReportingVatRemittance;
24161
+ readonly marked_as_final: io.flow.internal.v0.models.MarkedAsFinal;
24162
+ readonly debug: io.flow.internal.v0.models.ReportingDebug;
24163
+ }
24164
+ interface RevenueRecordDeleted {
24165
+ readonly discriminator: 'revenue_record_deleted';
24166
+ readonly event_id: string;
24167
+ readonly timestamp: string;
24168
+ readonly organization: string;
24169
+ readonly id: string;
24170
+ }
24171
+ interface RevenueRecordUpserted {
24172
+ readonly discriminator: 'revenue_record_upserted';
24173
+ readonly event_id: string;
24174
+ readonly timestamp: string;
24175
+ readonly organization: string;
24176
+ readonly revenue_record: io.flow.internal.v0.models.RevenueRecord;
24177
+ }
23838
24178
  interface RoutingAccount {
23839
24179
  readonly discriminator: 'routing_account';
23840
24180
  readonly processor: io.flow.internal.v0.enums.Processor;
@@ -25588,7 +25928,7 @@ declare namespace io.flow.internal.v0.unions {
25588
25928
  type DiscountRequestOfferForm = io.flow.internal.v0.models.DiscountRequestOfferFixedAmountForm;
25589
25929
  type DisputeDetails = io.flow.internal.v0.models.DisputeDetailsAdyen | io.flow.internal.v0.models.DisputeDetailsPaypal;
25590
25930
  type DutyExpression = io.flow.internal.v0.models.DutyCompoundExpression | io.flow.internal.v0.models.DutySimpleExpression;
25591
- 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.IndexAssignmentUpserted | io.flow.internal.v0.models.IndexAssignmentDeleted | io.flow.internal.v0.models.MerchantUpserted | io.flow.internal.v0.models.MerchantDeleted | 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.TransactionStatementUpserted | io.flow.internal.v0.models.TransactionStatementDeleted | io.flow.internal.v0.models.DailyValueUpserted | io.flow.internal.v0.models.DailyValueDeleted | io.flow.internal.v0.models.SalesRecordUpserted | io.flow.internal.v0.models.SalesRecordDeleted | 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.LabelGenerationSettingsUpserted | io.flow.internal.v0.models.LabelGenerationSettingsDeleted | 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.CatalogSettingsUpserted | io.flow.internal.v0.models.CatalogSettingsDeleted | 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.CommercialInvoiceInternalUpserted | io.flow.internal.v0.models.CommercialInvoiceInternalDeleted | 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.StandaloneAttachmentUpserted | io.flow.internal.v0.models.StandaloneAttachmentDeleted | io.flow.internal.v0.models.PlatformFeeChangeUpserted | io.flow.internal.v0.models.PlatformFeeChangeDeleted | io.flow.internal.v0.models.OrganizationBankAccountUpserted | io.flow.internal.v0.models.OrganizationBankAccountDeleted | io.flow.internal.v0.models.BillingCsvTransactionUpserted | io.flow.internal.v0.models.BillingCsvTransactionDeleted | io.flow.internal.v0.models.LabelInvoiceRequestUpserted | io.flow.internal.v0.models.LabelInvoiceRequestDeleted | 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.ManualReviewRuleUpserted | io.flow.internal.v0.models.ManualReviewRuleDeleted | io.flow.internal.v0.models.FtpFileUpserted | io.flow.internal.v0.models.FtpFileDeleted | io.flow.internal.v0.models.FtpFileToProcessUploaded | io.flow.internal.v0.models.CenterDefaultsUpserted | io.flow.internal.v0.models.CenterDefaultsDeleted | 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.HarmonizationClassificationStatisticsPublished | io.flow.internal.v0.models.IssuerUpserted | io.flow.internal.v0.models.IssuerDeleted | io.flow.internal.v0.models.ItemFormImportRequest | io.flow.internal.v0.models.LabelRequestErrorUpserted | io.flow.internal.v0.models.LabelRequestErrorDeleted | 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.OrderCombinedShipmentUpserted | io.flow.internal.v0.models.OrderCombinedShipmentDeleted | 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.OrganizationBusinessEntityDeleted | io.flow.internal.v0.models.OrganizationBusinessEntityUpserted | io.flow.internal.v0.models.OrganizationStatusChangeUpserted | io.flow.internal.v0.models.OrganizationStatusChangeDeleted | io.flow.internal.v0.models.OrganizationDeactivationUpserted | io.flow.internal.v0.models.OrganizationDeactivationDeleted | io.flow.internal.v0.models.MerchantGuidAssignmentUpserted | io.flow.internal.v0.models.MerchantGuidAssignmentDeleted | io.flow.internal.v0.models.PartnerOrganizationSettingsUpserted | io.flow.internal.v0.models.PartnerOrganizationSettingsDeleted | io.flow.internal.v0.models.UnassignedMerchantGuidUpserted | io.flow.internal.v0.models.UnassignedMerchantGuidDeleted | 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.ProductRestrictionRuleDecisionUpserted | io.flow.internal.v0.models.ProductRestrictionRuleDecisionDeleted | 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.RatecardRateLevelUpserted | io.flow.internal.v0.models.RatecardRateLevelDeleted | io.flow.internal.v0.models.RatecardRateLevelRatecardUpserted | io.flow.internal.v0.models.RatecardRateLevelRatecardDeleted | io.flow.internal.v0.models.RatecardRateLevelOrganizationUpserted | io.flow.internal.v0.models.RatecardRateLevelOrganizationDeleted | io.flow.internal.v0.models.OrganizationRestrictionSnapshotUpserted | io.flow.internal.v0.models.OrganizationRestrictionSnapshotDeleted | io.flow.internal.v0.models.RestrictionOrganizationStatusUpserted | io.flow.internal.v0.models.RestrictionOrganizationStatusDeleted | io.flow.internal.v0.models.OrganizationRestrictionStatusUpserted | io.flow.internal.v0.models.OrganizationRestrictionStatusDeleted | 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.ShopifyMarketsWebhookRegistrationUpserted | io.flow.internal.v0.models.ShopifyMarketsWebhookRegistrationDeleted | io.flow.internal.v0.models.ShopifyMarketsShopStatisticsUpserted | io.flow.internal.v0.models.ShopifyMarketsShopStatisticsDeleted | io.flow.internal.v0.models.ShopifyMarketsMetricsUpserted | io.flow.internal.v0.models.ShopifyMarketsMetricsDeleted | io.flow.internal.v0.models.ChannelOrderSummaryUpserted | io.flow.internal.v0.models.ChannelOrderSummaryDeleted | io.flow.internal.v0.models.ShopifyMonitoringOrderMonitorEventUpserted | io.flow.internal.v0.models.ShopifyMonitoringOrderMonitorEventDeleted | io.flow.internal.v0.models.ShopifyOrderFulfillmentsSnapshotUpserted | io.flow.internal.v0.models.ShopifyOrderFulfillmentsSnapshotDeleted | 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;
25931
+ 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.IndexAssignmentUpserted | io.flow.internal.v0.models.IndexAssignmentDeleted | io.flow.internal.v0.models.MerchantUpserted | io.flow.internal.v0.models.MerchantDeleted | 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.TransactionStatementUpserted | io.flow.internal.v0.models.TransactionStatementDeleted | io.flow.internal.v0.models.DailyValueUpserted | io.flow.internal.v0.models.DailyValueDeleted | io.flow.internal.v0.models.SalesRecordUpserted | io.flow.internal.v0.models.SalesRecordDeleted | io.flow.internal.v0.models.RevenueRecordUpserted | io.flow.internal.v0.models.RevenueRecordDeleted | 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.LabelGenerationSettingsUpserted | io.flow.internal.v0.models.LabelGenerationSettingsDeleted | 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.CatalogSettingsUpserted | io.flow.internal.v0.models.CatalogSettingsDeleted | 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.CommercialInvoiceInternalUpserted | io.flow.internal.v0.models.CommercialInvoiceInternalDeleted | 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.StandaloneAttachmentUpserted | io.flow.internal.v0.models.StandaloneAttachmentDeleted | io.flow.internal.v0.models.PlatformFeeChangeUpserted | io.flow.internal.v0.models.PlatformFeeChangeDeleted | io.flow.internal.v0.models.OrganizationBankAccountUpserted | io.flow.internal.v0.models.OrganizationBankAccountDeleted | io.flow.internal.v0.models.BillingCsvTransactionUpserted | io.flow.internal.v0.models.BillingCsvTransactionDeleted | io.flow.internal.v0.models.LabelInvoiceRequestUpserted | io.flow.internal.v0.models.LabelInvoiceRequestDeleted | 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.ManualReviewRuleUpserted | io.flow.internal.v0.models.ManualReviewRuleDeleted | io.flow.internal.v0.models.FtpFileUpserted | io.flow.internal.v0.models.FtpFileDeleted | io.flow.internal.v0.models.FtpFileToProcessUploaded | io.flow.internal.v0.models.CenterDefaultsUpserted | io.flow.internal.v0.models.CenterDefaultsDeleted | 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.HarmonizationClassificationStatisticsPublished | io.flow.internal.v0.models.IssuerUpserted | io.flow.internal.v0.models.IssuerDeleted | io.flow.internal.v0.models.ItemFormImportRequest | io.flow.internal.v0.models.LabelRequestErrorUpserted | io.flow.internal.v0.models.LabelRequestErrorDeleted | 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.OrderCombinedShipmentUpserted | io.flow.internal.v0.models.OrderCombinedShipmentDeleted | 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.OrganizationBusinessEntityDeleted | io.flow.internal.v0.models.OrganizationBusinessEntityUpserted | io.flow.internal.v0.models.OrganizationStatusChangeUpserted | io.flow.internal.v0.models.OrganizationStatusChangeDeleted | io.flow.internal.v0.models.OrganizationDeactivationUpserted | io.flow.internal.v0.models.OrganizationDeactivationDeleted | io.flow.internal.v0.models.MerchantGuidAssignmentUpserted | io.flow.internal.v0.models.MerchantGuidAssignmentDeleted | io.flow.internal.v0.models.PartnerOrganizationSettingsUpserted | io.flow.internal.v0.models.PartnerOrganizationSettingsDeleted | io.flow.internal.v0.models.UnassignedMerchantGuidUpserted | io.flow.internal.v0.models.UnassignedMerchantGuidDeleted | 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.ProductRestrictionRuleDecisionUpserted | io.flow.internal.v0.models.ProductRestrictionRuleDecisionDeleted | 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.RatecardRateLevelUpserted | io.flow.internal.v0.models.RatecardRateLevelDeleted | io.flow.internal.v0.models.RatecardRateLevelRatecardUpserted | io.flow.internal.v0.models.RatecardRateLevelRatecardDeleted | io.flow.internal.v0.models.RatecardRateLevelOrganizationUpserted | io.flow.internal.v0.models.RatecardRateLevelOrganizationDeleted | io.flow.internal.v0.models.OrganizationRestrictionSnapshotUpserted | io.flow.internal.v0.models.OrganizationRestrictionSnapshotDeleted | io.flow.internal.v0.models.RestrictionOrganizationStatusUpserted | io.flow.internal.v0.models.RestrictionOrganizationStatusDeleted | io.flow.internal.v0.models.OrganizationRestrictionStatusUpserted | io.flow.internal.v0.models.OrganizationRestrictionStatusDeleted | 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.ShopifyMarketsWebhookRegistrationUpserted | io.flow.internal.v0.models.ShopifyMarketsWebhookRegistrationDeleted | io.flow.internal.v0.models.ShopifyMarketsShopStatisticsUpserted | io.flow.internal.v0.models.ShopifyMarketsShopStatisticsDeleted | io.flow.internal.v0.models.ShopifyMarketsMetricsUpserted | io.flow.internal.v0.models.ShopifyMarketsMetricsDeleted | io.flow.internal.v0.models.ChannelOrderSummaryUpserted | io.flow.internal.v0.models.ChannelOrderSummaryDeleted | io.flow.internal.v0.models.ShopifyMonitoringOrderMonitorEventUpserted | io.flow.internal.v0.models.ShopifyMonitoringOrderMonitorEventDeleted | io.flow.internal.v0.models.ShopifyOrderFulfillmentsSnapshotUpserted | io.flow.internal.v0.models.ShopifyOrderFulfillmentsSnapshotDeleted | 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;
25592
25932
  type Experiment = io.flow.internal.v0.models.ExperienceExperiment | io.flow.internal.v0.models.FeatureExperiment;
25593
25933
  type ExportSchedule = io.flow.internal.v0.models.ExportScheduleDaily | io.flow.internal.v0.models.ExportScheduleRepeated;
25594
25934
  type FeatureDefaultValue = io.flow.internal.v0.models.BooleanFeatureDefaultValue | io.flow.internal.v0.models.StringFeatureDefaultValue;
@@ -25644,7 +25984,7 @@ declare namespace io.flow.internal.v0.unions {
25644
25984
  type TaskData = io.flow.internal.v0.models.TaskProcessQueuedEvent | io.flow.internal.v0.models.TaskSummarizeCode | io.flow.internal.v0.models.TaskItemUpserted | io.flow.internal.v0.models.TaskImport;
25645
25985
  type TaxAmount = io.flow.internal.v0.models.CalculatedTaxAmount | io.flow.internal.v0.models.NoCalculatedTaxAmount;
25646
25986
  type Tracker = io.flow.internal.v0.models.GoogleAnalytics | io.flow.internal.v0.models.GoogleGlobalSiteTag | io.flow.internal.v0.models.GoogleTagManager | io.flow.internal.v0.models.FacebookPixel | io.flow.internal.v0.models.SnapchatPixel;
25647
- type Transaction = io.flow.internal.v0.models.InvoiceTransaction | io.flow.internal.v0.models.ManualTransaction | io.flow.internal.v0.models.ProcessingTransaction | io.flow.internal.v0.models.SubscriptionTransaction | io.flow.internal.v0.models.TaxRemittanceTransaction | io.flow.internal.v0.models.TransferTransaction | io.flow.internal.v0.models.VirtualCardTransaction | io.flow.internal.v0.models.DisputeTransaction | io.flow.internal.v0.models.ChannelTransaction | io.flow.internal.v0.models.LabelTransaction | io.flow.internal.v0.models.OrderTransaction | io.flow.internal.v0.models.ChannelBilledTransaction | io.flow.internal.v0.models.TaxTransaction | io.flow.internal.v0.models.DutyTransaction | io.flow.internal.v0.models.TrueupTransaction;
25987
+ type Transaction = io.flow.internal.v0.models.InvoiceTransaction | io.flow.internal.v0.models.ManualTransaction | io.flow.internal.v0.models.ProcessingTransaction | io.flow.internal.v0.models.SubscriptionTransaction | io.flow.internal.v0.models.TaxRemittanceTransaction | io.flow.internal.v0.models.TransferTransaction | io.flow.internal.v0.models.VirtualCardTransaction | io.flow.internal.v0.models.DisputeTransaction | io.flow.internal.v0.models.ChannelTransaction | io.flow.internal.v0.models.LabelTransaction | io.flow.internal.v0.models.OrderTransaction | io.flow.internal.v0.models.ChannelBilledTransaction | io.flow.internal.v0.models.TaxTransaction | io.flow.internal.v0.models.DutyTransaction | io.flow.internal.v0.models.TrueupTransaction | io.flow.internal.v0.models.CarrierChargeTransaction;
25648
25988
  type TransactionSummary = io.flow.internal.v0.models.PaymentSummaryV2 | io.flow.internal.v0.models.FraudSummary;
25649
25989
  type ValidationRule = io.flow.internal.v0.models.ValidationCharacterLength;
25650
25990
  type Variant = io.flow.internal.v0.models.ExperienceVariant | io.flow.internal.v0.models.FeatureVariant;
@@ -25881,7 +26221,8 @@ export declare type CarrierChargeFileResult = io.flow.internal.v0.models.Carrier
25881
26221
  export declare type CarrierChargeForm = io.flow.internal.v0.unions.CarrierChargeForm;
25882
26222
  export declare type CarrierChargeFormLabel = io.flow.internal.v0.models.CarrierChargeFormLabel;
25883
26223
  export declare type CarrierChargeFormOther = io.flow.internal.v0.models.CarrierChargeFormOther;
25884
- export declare type CarrierChargeOtherReason = io.flow.internal.v0.enums.CarrierChargeOtherReason;
26224
+ export declare type CarrierChargeTransaction = io.flow.internal.v0.models.CarrierChargeTransaction;
26225
+ export declare type CarrierChargeTransactionType = io.flow.internal.v0.enums.CarrierChargeTransactionType;
25885
26226
  export declare type CarrierChargeUnits = io.flow.internal.v0.models.CarrierChargeUnits;
25886
26227
  export declare type CarrierCredentials = io.flow.internal.v0.unions.CarrierCredentials;
25887
26228
  export declare type CarrierInvoice = io.flow.internal.v0.models.CarrierInvoice;
@@ -25931,6 +26272,7 @@ export declare type ChannelMembershipPutForm = io.flow.internal.v0.models.Channe
25931
26272
  export declare type ChannelOrder = io.flow.internal.v0.models.ChannelOrder;
25932
26273
  export declare type ChannelOrderAcceptance = io.flow.internal.v0.models.ChannelOrderAcceptance;
25933
26274
  export declare type ChannelOrderAcceptanceDeleted = io.flow.internal.v0.models.ChannelOrderAcceptanceDeleted;
26275
+ export declare type ChannelOrderAcceptanceDetails = io.flow.internal.v0.models.ChannelOrderAcceptanceDetails;
25934
26276
  export declare type ChannelOrderAcceptanceErrorAction = io.flow.internal.v0.enums.ChannelOrderAcceptanceErrorAction;
25935
26277
  export declare type ChannelOrderAcceptanceForm = io.flow.internal.v0.models.ChannelOrderAcceptanceForm;
25936
26278
  export declare type ChannelOrderAcceptanceNextActionFrom = io.flow.internal.v0.enums.ChannelOrderAcceptanceNextActionFrom;
@@ -25954,6 +26296,9 @@ export declare type ChannelTransactionDeleted = io.flow.internal.v0.models.Chann
25954
26296
  export declare type ChannelTransactionRate = io.flow.internal.v0.models.ChannelTransactionRate;
25955
26297
  export declare type ChannelTransactionType = io.flow.internal.v0.enums.ChannelTransactionType;
25956
26298
  export declare type ChannelTransactionUpserted = io.flow.internal.v0.models.ChannelTransactionUpserted;
26299
+ export declare type ChargeEstimateSource = io.flow.internal.v0.enums.ChargeEstimateSource;
26300
+ export declare type ChargeInput = io.flow.internal.v0.models.ChargeInput;
26301
+ export declare type ChargeInputType = io.flow.internal.v0.enums.ChargeInputType;
25957
26302
  export declare type Chargeback = io.flow.internal.v0.models.Chargeback;
25958
26303
  export declare type ChargebackDeleted = io.flow.internal.v0.models.ChargebackDeleted;
25959
26304
  export declare type ChargebackPaymentStatus = io.flow.internal.v0.enums.ChargebackPaymentStatus;
@@ -26854,6 +27199,7 @@ export declare type FulfillmentProofOrderCombinedShipmentReference = io.flow.int
26854
27199
  export declare type FulfillmentProofShippingNotificationReference = io.flow.internal.v0.models.FulfillmentProofShippingNotificationReference;
26855
27200
  export declare type FulfillmentReference = io.flow.internal.v0.models.FulfillmentReference;
26856
27201
  export declare type FulfillmentShipmentTracking = io.flow.internal.v0.models.FulfillmentShipmentTracking;
27202
+ export declare type FulfillmentShopperBreakdown = io.flow.internal.v0.models.FulfillmentShopperBreakdown;
26857
27203
  export declare type FulfillmentSnapshot = io.flow.internal.v0.models.FulfillmentSnapshot;
26858
27204
  export declare type FulfillmentSubsidyBreakdown = io.flow.internal.v0.models.FulfillmentSubsidyBreakdown;
26859
27205
  export declare type FulfillmentTrigger = io.flow.internal.v0.unions.FulfillmentTrigger;
@@ -27036,6 +27382,7 @@ export declare type ItemSummary = io.flow.internal.v0.models.ItemSummary;
27036
27382
  export declare type ItemType = io.flow.internal.v0.enums.ItemType;
27037
27383
  export declare type ItemValuesForm = io.flow.internal.v0.models.ItemValuesForm;
27038
27384
  export declare type ItemsShipped = io.flow.internal.v0.models.ItemsShipped;
27385
+ export declare type JeanDemoItem = io.flow.internal.v0.models.JeanDemoItem;
27039
27386
  export declare type Key = io.flow.internal.v0.models.Key;
27040
27387
  export declare type KeyReference = io.flow.internal.v0.models.KeyReference;
27041
27388
  export declare type KeywordType = io.flow.internal.v0.enums.KeywordType;
@@ -27139,6 +27486,7 @@ export declare type ManualTransaction = io.flow.internal.v0.models.ManualTransac
27139
27486
  export declare type ManualTransactionCategory = io.flow.internal.v0.enums.ManualTransactionCategory;
27140
27487
  export declare type ManualTransactionForm = io.flow.internal.v0.models.ManualTransactionForm;
27141
27488
  export declare type ManualTransactionFormOrder = io.flow.internal.v0.models.ManualTransactionFormOrder;
27489
+ export declare type MarkedAsFinal = io.flow.internal.v0.models.MarkedAsFinal;
27142
27490
  export declare type MarketingGatewayAccountConnectionStatus = io.flow.internal.v0.enums.MarketingGatewayAccountConnectionStatus;
27143
27491
  export declare type MarketingGatewayChannel = io.flow.internal.v0.models.MarketingGatewayChannel;
27144
27492
  export declare type MarketingGatewayChannelConnectionForm = io.flow.internal.v0.models.MarketingGatewayChannelConnectionForm;
@@ -27523,6 +27871,7 @@ export declare type ReadyToFulfill = io.flow.internal.v0.models.ReadyToFulfill;
27523
27871
  export declare type ReboundConfiguration = io.flow.internal.v0.models.ReboundConfiguration;
27524
27872
  export declare type ReboundConfigurationForm = io.flow.internal.v0.models.ReboundConfigurationForm;
27525
27873
  export declare type ReboundConfigurationStatus = io.flow.internal.v0.enums.ReboundConfigurationStatus;
27874
+ export declare type RecordReference = io.flow.internal.v0.models.RecordReference;
27526
27875
  export declare type Redirect = io.flow.internal.v0.models.Redirect;
27527
27876
  export declare type RedirectActionCompleted = io.flow.internal.v0.models.RedirectActionCompleted;
27528
27877
  export declare type RedirectReason = io.flow.internal.v0.enums.RedirectReason;
@@ -27539,8 +27888,41 @@ export declare type ReportRuleDecision = io.flow.internal.v0.models.ReportRuleDe
27539
27888
  export declare type ReportStatus = io.flow.internal.v0.enums.ReportStatus;
27540
27889
  export declare type ReportSummary = io.flow.internal.v0.models.ReportSummary;
27541
27890
  export declare type ReportType = io.flow.internal.v0.enums.ReportType;
27891
+ export declare type ReportingAuthorizationReference = io.flow.internal.v0.models.ReportingAuthorizationReference;
27892
+ export declare type ReportingBusiness = io.flow.internal.v0.models.ReportingBusiness;
27893
+ export declare type ReportingConversionRates = io.flow.internal.v0.models.ReportingConversionRates;
27894
+ export declare type ReportingCountry = io.flow.internal.v0.models.ReportingCountry;
27895
+ export declare type ReportingCurrencies = io.flow.internal.v0.models.ReportingCurrencies;
27896
+ export declare type ReportingDebug = io.flow.internal.v0.models.ReportingDebug;
27897
+ export declare type ReportingDebugMissingSubsidies = io.flow.internal.v0.models.ReportingDebugMissingSubsidies;
27898
+ export declare type ReportingDestination = io.flow.internal.v0.models.ReportingDestination;
27542
27899
  export declare type ReportingDetails = io.flow.internal.v0.models.ReportingDetails;
27900
+ export declare type ReportingEntity = io.flow.internal.v0.models.ReportingEntity;
27901
+ export declare type ReportingFulfillment = io.flow.internal.v0.models.ReportingFulfillment;
27902
+ export declare type ReportingFulfillmentHas = io.flow.internal.v0.models.ReportingFulfillmentHas;
27903
+ export declare type ReportingFulfillmentIs = io.flow.internal.v0.models.ReportingFulfillmentIs;
27904
+ export declare type ReportingFulfillmentIsVirtual = io.flow.internal.v0.enums.ReportingFulfillmentIsVirtual;
27905
+ export declare type ReportingFx = io.flow.internal.v0.models.ReportingFx;
27906
+ export declare type ReportingMerchantBreakdown = io.flow.internal.v0.models.ReportingMerchantBreakdown;
27907
+ export declare type ReportingMerchantFees = io.flow.internal.v0.models.ReportingMerchantFees;
27908
+ export declare type ReportingMerchantSubsidies = io.flow.internal.v0.models.ReportingMerchantSubsidies;
27909
+ export declare type ReportingMerchantTransactions = io.flow.internal.v0.models.ReportingMerchantTransactions;
27910
+ export declare type ReportingMonetaryValue = io.flow.internal.v0.models.ReportingMonetaryValue;
27911
+ export declare type ReportingOrderSummary = io.flow.internal.v0.models.ReportingOrderSummary;
27912
+ export declare type ReportingOrganizationSummary = io.flow.internal.v0.models.ReportingOrganizationSummary;
27913
+ export declare type ReportingPayment = io.flow.internal.v0.models.ReportingPayment;
27914
+ export declare type ReportingPaymentMetadata = io.flow.internal.v0.models.ReportingPaymentMetadata;
27915
+ export declare type ReportingPaymentMetadataAdditionalAuthorizations = io.flow.internal.v0.models.ReportingPaymentMetadataAdditionalAuthorizations;
27916
+ export declare type ReportingProvince = io.flow.internal.v0.models.ReportingProvince;
27917
+ export declare type ReportingReconciliation = io.flow.internal.v0.models.ReportingReconciliation;
27918
+ export declare type ReportingRefundReference = io.flow.internal.v0.models.ReportingRefundReference;
27543
27919
  export declare type ReportingScheme = io.flow.internal.v0.enums.ReportingScheme;
27920
+ export declare type ReportingShipment = io.flow.internal.v0.models.ReportingShipment;
27921
+ export declare type ReportingShopperFees = io.flow.internal.v0.models.ReportingShopperFees;
27922
+ export declare type ReportingUsd = io.flow.internal.v0.models.ReportingUsd;
27923
+ export declare type ReportingVatRemittance = io.flow.internal.v0.models.ReportingVatRemittance;
27924
+ export declare type ReportingVatRemittanceRate = io.flow.internal.v0.models.ReportingVatRemittanceRate;
27925
+ export declare type ReportingVendor = io.flow.internal.v0.models.ReportingVendor;
27544
27926
  export declare type RequeueRequestForm = io.flow.internal.v0.models.RequeueRequestForm;
27545
27927
  export declare type ResponsibleParty = io.flow.internal.v0.enums.ResponsibleParty;
27546
27928
  export declare type RestrictionAction = io.flow.internal.v0.enums.RestrictionAction;
@@ -27586,6 +27968,10 @@ export declare type ReturnPolicyUpserted = io.flow.internal.v0.models.ReturnPoli
27586
27968
  export declare type ReturnSummary = io.flow.internal.v0.models.ReturnSummary;
27587
27969
  export declare type ReturnTrigger = io.flow.internal.v0.unions.ReturnTrigger;
27588
27970
  export declare type ReturnTriggerRefund = io.flow.internal.v0.models.ReturnTriggerRefund;
27971
+ export declare type RevenueRecord = io.flow.internal.v0.models.RevenueRecord;
27972
+ export declare type RevenueRecordDeleted = io.flow.internal.v0.models.RevenueRecordDeleted;
27973
+ export declare type RevenueRecordType = io.flow.internal.v0.enums.RevenueRecordType;
27974
+ export declare type RevenueRecordUpserted = io.flow.internal.v0.models.RevenueRecordUpserted;
27589
27975
  export declare type RiskCheck = io.flow.internal.v0.enums.RiskCheck;
27590
27976
  export declare type RiskEvaluation = io.flow.internal.v0.enums.RiskEvaluation;
27591
27977
  export declare type RoutingAccount = io.flow.internal.v0.models.RoutingAccount;