@flowio/types 11.24.64 → 11.24.66

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.
@@ -1776,6 +1776,21 @@ declare namespace io.flow.payment.v0.models {
1776
1776
  readonly raw?: string;
1777
1777
  }
1778
1778
 
1779
+ interface DeviceDetailsBrowser {
1780
+ readonly type: 'browser';
1781
+ readonly user_agent: string;
1782
+ readonly origin: string;
1783
+ readonly accept_language?: string;
1784
+ readonly ip?: string;
1785
+ readonly time_zone_offset?: number;
1786
+ readonly date_string?: string;
1787
+ readonly navigator_language?: string;
1788
+ readonly navigator_hardware_concurrency?: number;
1789
+ readonly cookie_created_at?: number;
1790
+ readonly session_duration?: number;
1791
+ readonly fingerprint?: string;
1792
+ }
1793
+
1779
1794
  interface DirectAuthorizationForm {
1780
1795
  readonly discriminator: 'direct_authorization_form';
1781
1796
  readonly token: string;
@@ -2343,6 +2358,7 @@ declare namespace io.flow.payment.v0.unions {
2343
2358
  type ConfirmationDetails =
2344
2359
  | io.flow.payment.v0.models.DirectDebit
2345
2360
  | io.flow.payment.v0.models.CardConfirmationSummary;
2361
+ type DeviceDetails = io.flow.payment.v0.models.DeviceDetailsBrowser;
2346
2362
  type ExpandableCard =
2347
2363
  | io.flow.payment.v0.models.Card
2348
2364
  | io.flow.payment.v0.models.CardReference
@@ -3541,6 +3557,7 @@ declare namespace io.flow.label.v0.models {
3541
3557
  readonly order_identifier?: string;
3542
3558
  readonly fulfillment_key?: string;
3543
3559
  readonly shipment_recipient?: io.flow.label.v0.enums.ShipmentRecipient;
3560
+ readonly created_at?: string;
3544
3561
  readonly updated_at?: string;
3545
3562
  }
3546
3563
 
@@ -5526,6 +5543,7 @@ declare namespace io.flow.shopify.external.v0.models {
5526
5543
  readonly vendor?: string;
5527
5544
  readonly body_html?: string;
5528
5545
  readonly product_type?: string;
5546
+ readonly status?: string;
5529
5547
  readonly options: io.flow.shopify.external.v0.models.Option[];
5530
5548
  readonly tags?: string;
5531
5549
  readonly template_suffix?: string;
@@ -6451,7 +6469,7 @@ declare namespace io.flow.shopify.markets.v0.enums {
6451
6469
 
6452
6470
  declare namespace io.flow.shopify.markets.v0.models {
6453
6471
  interface FulfillmentOrderInternationalDuties {
6454
- readonly incoterm: io.flow.shopify.markets.v0.enums.IncotermDuties;
6472
+ readonly incoterm?: io.flow.shopify.markets.v0.enums.IncotermDuties;
6455
6473
  }
6456
6474
 
6457
6475
  interface FulfillmentOrderLineItem {
@@ -7516,21 +7534,6 @@ declare namespace io.flow.payment.gateway.v0.models {
7516
7534
  readonly result: any /*object*/;
7517
7535
  }
7518
7536
 
7519
- interface DeviceDetailsBrowser {
7520
- readonly type: 'browser';
7521
- readonly user_agent: string;
7522
- readonly origin: string;
7523
- readonly accept_language?: string;
7524
- readonly ip?: string;
7525
- readonly time_zone_offset?: number;
7526
- readonly date_string?: string;
7527
- readonly navigator_language?: string;
7528
- readonly navigator_hardware_concurrency?: number;
7529
- readonly cookie_created_at?: number;
7530
- readonly session_duration?: number;
7531
- readonly fingerprint?: string;
7532
- }
7533
-
7534
7537
  interface DeviceFingerprintDetailsBrowser {
7535
7538
  readonly type: 'browser';
7536
7539
  readonly accept?: string;
@@ -7942,7 +7945,7 @@ declare namespace io.flow.payment.gateway.v0.models {
7942
7945
  readonly amount: number;
7943
7946
  readonly currency: string;
7944
7947
  readonly order_information: io.flow.payment.gateway.v0.unions.OrderInformation;
7945
- readonly device_details: io.flow.payment.gateway.v0.unions.DeviceDetails;
7948
+ readonly device_details: io.flow.payment.v0.unions.DeviceDetails;
7946
7949
  readonly locale?: string;
7947
7950
  readonly return_url: string;
7948
7951
  readonly attributes?: Record<string, string>;
@@ -7957,7 +7960,7 @@ declare namespace io.flow.payment.gateway.v0.models {
7957
7960
  readonly amount: number;
7958
7961
  readonly currency: string;
7959
7962
  readonly order_information: io.flow.payment.gateway.v0.unions.OrderInformation;
7960
- readonly device_details: io.flow.payment.gateway.v0.unions.DeviceDetails;
7963
+ readonly device_details: io.flow.payment.v0.unions.DeviceDetails;
7961
7964
  readonly locale?: string;
7962
7965
  readonly return_url: string;
7963
7966
  readonly attributes?: Record<string, string>;
@@ -8036,7 +8039,6 @@ declare namespace io.flow.payment.gateway.v0.unions {
8036
8039
  type CardNumber =
8037
8040
  | io.flow.payment.gateway.v0.models.PaymentMethodCardNumberCleartext
8038
8041
  | io.flow.payment.gateway.v0.models.PaymentMethodCardNumberCipher;
8039
- type DeviceDetails = io.flow.payment.gateway.v0.models.DeviceDetailsBrowser;
8040
8042
  type DeviceFingerprintDetails =
8041
8043
  io.flow.payment.gateway.v0.models.DeviceFingerprintDetailsBrowser;
8042
8044
  type OrderInformation =
@@ -9525,6 +9527,7 @@ declare namespace io.flow.experience.v0.models {
9525
9527
  readonly rules?: io.flow.experience.v0.models.OrderRulesSummary;
9526
9528
  readonly tax_registration?: io.flow.harmonization.v0.models.TaxRegistration;
9527
9529
  readonly geo?: io.flow.experience.v0.models.OrderGeo;
9530
+ readonly device_details?: io.flow.payment.v0.unions.DeviceDetails;
9528
9531
  }
9529
9532
 
9530
9533
  interface OrderAddress {
@@ -9613,6 +9616,7 @@ declare namespace io.flow.experience.v0.models {
9613
9616
  readonly attributes?: Record<string, string>;
9614
9617
  readonly authorization_keys?: string[];
9615
9618
  readonly options?: io.flow.experience.v0.models.OrderOptions;
9619
+ readonly device_details?: io.flow.payment.v0.unions.DeviceDetails;
9616
9620
  }
9617
9621
 
9618
9622
  interface OrderGeo {
@@ -9723,6 +9727,7 @@ declare namespace io.flow.experience.v0.models {
9723
9727
  readonly attributes?: Record<string, string>;
9724
9728
  readonly authorization_keys?: string[];
9725
9729
  readonly options?: io.flow.experience.v0.models.OrderOptions;
9730
+ readonly device_details?: io.flow.payment.v0.unions.DeviceDetails;
9726
9731
  }
9727
9732
 
9728
9733
  interface OrderReference {
@@ -11764,7 +11769,10 @@ declare namespace io.flow.billing.v0.enums {
11764
11769
  | 'rate_lock'
11765
11770
  | 'transfer';
11766
11771
  type PayoutAttachmentType = 'transactions';
11767
- type PayoutStatusFailureCode = 'invalid_account_number' | 'could_not_process';
11772
+ type PayoutStatusFailureCode =
11773
+ | 'invalid_account_number'
11774
+ | 'account_closed'
11775
+ | 'could_not_process';
11768
11776
  type StatementAttachmentType = 'csv';
11769
11777
  type TransactionSource =
11770
11778
  | 'capture'
@@ -11800,10 +11808,17 @@ declare namespace io.flow.billing.v0.models {
11800
11808
  readonly url: string;
11801
11809
  }
11802
11810
 
11803
- interface BankAccountForm {
11811
+ interface BankAccountFormInfo {
11812
+ readonly discriminator: 'info';
11804
11813
  readonly info: io.flow.billing.bank.account.v0.unions.BankAccountInfo;
11805
11814
  }
11806
11815
 
11816
+ interface BankAccountFormSimple {
11817
+ readonly discriminator: 'simple';
11818
+ readonly routing_number: string;
11819
+ readonly account_number: string;
11820
+ }
11821
+
11807
11822
  interface BankAccountReference {
11808
11823
  readonly id: string;
11809
11824
  }
@@ -12007,6 +12022,9 @@ declare namespace io.flow.billing.v0.models {
12007
12022
  }
12008
12023
 
12009
12024
  declare namespace io.flow.billing.v0.unions {
12025
+ type BankAccountForm =
12026
+ | io.flow.billing.v0.models.BankAccountFormInfo
12027
+ | io.flow.billing.v0.models.BankAccountFormSimple;
12010
12028
  type PayoutStatus =
12011
12029
  | io.flow.billing.v0.models.PayoutStatusScheduled
12012
12030
  | io.flow.billing.v0.models.PayoutStatusSent
@@ -13344,6 +13362,10 @@ declare namespace io.flow.organization.onboarding.state.v0.models {
13344
13362
  readonly organization: io.flow.common.v0.models.OrganizationReference;
13345
13363
  readonly transitions: io.flow.organization.onboarding.state.v0.models.OnboardingStateTransition[];
13346
13364
  readonly current_state: io.flow.organization.onboarding.state.v0.unions.OnboardingState;
13365
+ readonly started_at?: string;
13366
+ readonly time_blocked?: number;
13367
+ readonly blocked_since?: string;
13368
+ readonly completed_at?: string;
13347
13369
  }
13348
13370
 
13349
13371
  interface SetupBlocked {
@@ -13704,6 +13726,30 @@ declare namespace io.flow.session.v0.unions {
13704
13726
  }
13705
13727
 
13706
13728
  declare namespace io.flow.billing.bank.account.v0.models {
13729
+ interface BankAccountInfoCan {
13730
+ readonly discriminator: 'can';
13731
+ readonly routing_number: string;
13732
+ readonly account_number: string;
13733
+ }
13734
+
13735
+ interface BankAccountInfoFra {
13736
+ readonly discriminator: 'fra';
13737
+ readonly swift_code: string;
13738
+ readonly iban: string;
13739
+ }
13740
+
13741
+ interface BankAccountInfoGbr {
13742
+ readonly discriminator: 'gbr';
13743
+ readonly swift_code: string;
13744
+ readonly iban: string;
13745
+ }
13746
+
13747
+ interface BankAccountInfoIta {
13748
+ readonly discriminator: 'ita';
13749
+ readonly swift_code: string;
13750
+ readonly iban: string;
13751
+ }
13752
+
13707
13753
  interface BankAccountInfoUsa {
13708
13754
  readonly discriminator: 'usa';
13709
13755
  readonly routing_number: string;
@@ -13713,7 +13759,11 @@ declare namespace io.flow.billing.bank.account.v0.models {
13713
13759
 
13714
13760
  declare namespace io.flow.billing.bank.account.v0.unions {
13715
13761
  type BankAccountInfo =
13716
- io.flow.billing.bank.account.v0.models.BankAccountInfoUsa;
13762
+ | io.flow.billing.bank.account.v0.models.BankAccountInfoUsa
13763
+ | io.flow.billing.bank.account.v0.models.BankAccountInfoCan
13764
+ | io.flow.billing.bank.account.v0.models.BankAccountInfoGbr
13765
+ | io.flow.billing.bank.account.v0.models.BankAccountInfoFra
13766
+ | io.flow.billing.bank.account.v0.models.BankAccountInfoIta;
13717
13767
  }
13718
13768
 
13719
13769
  declare namespace io.flow.internal.v0.enums {
@@ -13730,6 +13780,12 @@ declare namespace io.flow.internal.v0.enums {
13730
13780
  | 'duty_rates_data_event'
13731
13781
  | 'integration_test'
13732
13782
  | 'unit_test';
13783
+ type AutoRestrictRule =
13784
+ | 'prr-3ce7d556f2464314ab0a3e8eee33e0ce'
13785
+ | 'prr-599c6246a1a24752aeb85e8f79030781'
13786
+ | 'prr-79e41878ea564f9c81cc432a0e84703f'
13787
+ | 'prr-f29c26dc09e04536bc77f9c32786ed70'
13788
+ | 'prr-0522d426a5b741c791ba05496c35297a';
13733
13789
  type BankPaymentStatusCode = 'scheduled' | 'sent' | 'failed';
13734
13790
  type BillingAllocationKey =
13735
13791
  | 'freight_cost'
@@ -13758,6 +13814,69 @@ declare namespace io.flow.internal.v0.enums {
13758
13814
  | 'duty_subsidy'
13759
13815
  | 'fuel_surcharge'
13760
13816
  | 'remote_area_surcharge';
13817
+ type BillingMetricKey =
13818
+ | 'adjustment_transactions_count'
13819
+ | 'adjustment_transactions_total'
13820
+ | 'capture_transactions_count'
13821
+ | 'capture_transactions_total'
13822
+ | 'channel_transactions_count'
13823
+ | 'channel_transactions_total'
13824
+ | 'channel_billed_transactions_count'
13825
+ | 'channel_billed_transactions_total'
13826
+ | 'credit_payment_transactions_count'
13827
+ | 'credit_payment_transactions_total'
13828
+ | 'duty_transactions_count'
13829
+ | 'duty_transactions_total'
13830
+ | 'fully_subsidized_order_transactions_count'
13831
+ | 'fully_subsidized_order_transactions_total'
13832
+ | 'billable_label_transactions_count'
13833
+ | 'billable_label_transactions_total'
13834
+ | 'revenue_share_label_transactions_count'
13835
+ | 'revenue_share_label_transactions_total'
13836
+ | 'manual_transactions_count'
13837
+ | 'manual_transactions_total'
13838
+ | 'order_transactions_count'
13839
+ | 'order_transactions_total'
13840
+ | 'refund_transactions_count'
13841
+ | 'refund_transactions_total'
13842
+ | 'reversal_order_cancellations_transactions_count'
13843
+ | 'reversal_order_cancellations_transactions_total'
13844
+ | 'reversal_external_fulfillment_transactions_count'
13845
+ | 'reversal_external_fulfillment_transactions_total'
13846
+ | 'tax_transactions_count'
13847
+ | 'tax_transactions_total'
13848
+ | 'transfer_transactions_count'
13849
+ | 'transfer_transactions_total'
13850
+ | 'fulfillments_count'
13851
+ | 'fulfillments_total'
13852
+ | 'shipping_notifications_count'
13853
+ | 'queued_capture_unprocessed_count'
13854
+ | 'queued_capture_deletion_unprocessed_count'
13855
+ | 'queued_channel_transaction_unprocessed_count'
13856
+ | 'queued_channel_organization_unprocessed_count'
13857
+ | 'queued_consumer_invoice_unprocessed_count'
13858
+ | 'queued_label_tracking_summary_unprocessed_count'
13859
+ | 'queued_order_unprocessed_count'
13860
+ | 'queued_order_identifier_unprocessed_count'
13861
+ | 'queued_refund_unprocessed_count'
13862
+ | 'queued_refund_deletion_unprocessed_count'
13863
+ | 'queued_statement_batch_unprocessed_count'
13864
+ | 'queued_statement_batch_email_unprocessed_count'
13865
+ | 'queued_statement_email_unprocessed_count'
13866
+ | 'queued_statement_summary_email_unprocessed_count'
13867
+ | 'shipping_notifications_total'
13868
+ | 'statements_no_payout_count'
13869
+ | 'statements_no_payout_total'
13870
+ | 'statements_pending_payout_count'
13871
+ | 'statements_pending_payout_total'
13872
+ | 'payouts_scheduled_count'
13873
+ | 'payouts_scheduled_total'
13874
+ | 'payouts_sent_count'
13875
+ | 'payouts_sent_total'
13876
+ | 'payouts_failed_count'
13877
+ | 'payouts_failed_total'
13878
+ | 'pending_payouts_max_age'
13879
+ | 'average_payout_amount';
13761
13880
  type BillingStatementAttachmentKey =
13762
13881
  | 'invoice'
13763
13882
  | 'statement'
@@ -14221,6 +14340,8 @@ declare namespace io.flow.internal.v0.enums {
14221
14340
  | 'tax_transaction_deleted'
14222
14341
  | 'duty_transaction_upserted'
14223
14342
  | 'duty_transaction_deleted'
14343
+ | 'daily_value_upserted'
14344
+ | 'daily_value_deleted'
14224
14345
  | 'calculator_organization_settings_upserted'
14225
14346
  | 'calculator_organization_settings_deleted'
14226
14347
  | 'carrier_account_upserted_v2'
@@ -14307,6 +14428,8 @@ declare namespace io.flow.internal.v0.enums {
14307
14428
  | 'billing_statement_batch_deleted'
14308
14429
  | 'billing_statement_batch_statement_upserted'
14309
14430
  | 'billing_statement_batch_statement_deleted'
14431
+ | 'standalone_attachment_upserted'
14432
+ | 'standalone_attachment_deleted'
14310
14433
  | 'platform_fee_change_upserted'
14311
14434
  | 'platform_fee_change_deleted'
14312
14435
  | 'organization_bank_account_upserted'
@@ -14443,6 +14566,8 @@ declare namespace io.flow.internal.v0.enums {
14443
14566
  | 'shopify_markets_shop_deleted'
14444
14567
  | 'shopify_markets_webhook_registration_upserted'
14445
14568
  | 'shopify_markets_webhook_registration_deleted'
14569
+ | 'shopify_markets_shop_statistics_upserted'
14570
+ | 'shopify_markets_shop_statistics_deleted'
14446
14571
  | 'shopify_monitoring_order_monitor_event_upserted'
14447
14572
  | 'shopify_monitoring_order_monitor_event_deleted'
14448
14573
  | 'shopify_order_fulfillments_snapshot_upserted'
@@ -14676,6 +14801,9 @@ declare namespace io.flow.internal.v0.enums {
14676
14801
  type OrderLifecycleEvent = 'order_placed' | 'ready_to_fulfill';
14677
14802
  type OrderTransactionType = 'adjustment' | 'reversal' | 'order_service';
14678
14803
  type OrganizationCapability = 'organization' | 'flow' | 'dynamic';
14804
+ type OrganizationMetricType =
14805
+ | 'organization_restriction_snapshot'
14806
+ | 'organization_restriction_status';
14679
14807
  type OrganizationPaymentStatus = 'active' | 'archived';
14680
14808
  type OrganizationRestrictionApprovalStatus = 'ready' | 'not-ready';
14681
14809
  type OrganizationRestrictionNoteType =
@@ -14733,10 +14861,27 @@ declare namespace io.flow.internal.v0.enums {
14733
14861
  | 'fiserv'
14734
14862
  | 'crypto';
14735
14863
  type ProcessorEntityStatus = 'active' | 'draft' | 'archived';
14864
+ type ProductStatus = 'active' | 'archived' | 'draft';
14736
14865
  type PromptAction = 'prompt_displayed' | 'consent_granted' | 'consent_denied';
14737
14866
  type PromptCheckoutDisplayPosition = 'email' | 'submission';
14738
14867
  type PromptOptions = 'notice_only' | 'require_consent' | 'consent_by_default';
14739
14868
  type PromptTarget = 'browse' | 'checkout';
14869
+ type QueuedRecordType =
14870
+ | 'capture'
14871
+ | 'capture_deletion'
14872
+ | 'channel_transaction'
14873
+ | 'channel_organization'
14874
+ | 'consumer_invoice'
14875
+ | 'label_tracking_summary'
14876
+ | 'order'
14877
+ | 'order_identifier'
14878
+ | 'refund'
14879
+ | 'refund_deletion'
14880
+ | 'statement_batch'
14881
+ | 'statement_batch_email'
14882
+ | 'statement_email'
14883
+ | 'statement_summary_email'
14884
+ | 'wash';
14740
14885
  type QuoteRequestType =
14741
14886
  | 'generate'
14742
14887
  | 'delete'
@@ -14837,7 +14982,7 @@ declare namespace io.flow.internal.v0.enums {
14837
14982
  | 'do_nothing';
14838
14983
  type SimpleRoundingStrategy = 'no_rounding' | 'currency_precision';
14839
14984
  type SnoozeNextActionWith = 'customer_service' | 'engineering';
14840
- type SnoozeSourceType = 'queued_capture' | 'queued_refund';
14985
+ type SnoozeSourceType = 'queued_record';
14841
14986
  type StatementStatus =
14842
14987
  | 'created'
14843
14988
  | 'no_transactions'
@@ -15810,7 +15955,6 @@ declare namespace io.flow.internal.v0.models {
15810
15955
 
15811
15956
  interface BillingStatementBatch {
15812
15957
  readonly id: string;
15813
- readonly period: io.flow.common.v0.models.DatetimeRange;
15814
15958
  readonly reconciliation: io.flow.internal.v0.models.BillingStatementBatchReconciliation;
15815
15959
  }
15816
15960
 
@@ -18930,6 +19074,15 @@ declare namespace io.flow.internal.v0.models {
18930
19074
  readonly number_of_items: number;
18931
19075
  }
18932
19076
 
19077
+ interface ClassificationSummaryReportPayload {
19078
+ readonly organization_id?: string;
19079
+ readonly product_id?: string;
19080
+ readonly date_from?: string;
19081
+ readonly date_to?: string;
19082
+ readonly email: string;
19083
+ readonly limit: number;
19084
+ }
19085
+
18933
19086
  interface ClassificationWrapper {
18934
19087
  readonly classifications: io.flow.internal.v0.unions.ClassificationResponse[];
18935
19088
  }
@@ -19388,6 +19541,27 @@ declare namespace io.flow.internal.v0.models {
19388
19541
  readonly daily_experiment_results: io.flow.internal.v0.models.DailyExperimentResults;
19389
19542
  }
19390
19543
 
19544
+ interface DailyValue {
19545
+ readonly id: string;
19546
+ readonly key: io.flow.internal.v0.enums.BillingMetricKey;
19547
+ readonly value: number;
19548
+ readonly date: string;
19549
+ }
19550
+
19551
+ interface DailyValueDeleted {
19552
+ readonly discriminator: 'daily_value_deleted';
19553
+ readonly event_id: string;
19554
+ readonly timestamp: string;
19555
+ readonly id: string;
19556
+ }
19557
+
19558
+ interface DailyValueUpserted {
19559
+ readonly discriminator: 'daily_value_upserted';
19560
+ readonly event_id: string;
19561
+ readonly timestamp: string;
19562
+ readonly daily_value: io.flow.internal.v0.models.DailyValue;
19563
+ }
19564
+
19391
19565
  interface DebugDetails {
19392
19566
  readonly labels: io.flow.internal.v0.models.DebugLabel[];
19393
19567
  readonly captures: io.flow.internal.v0.models.DebugPaymentTransactionSummary[];
@@ -19441,8 +19615,7 @@ declare namespace io.flow.internal.v0.models {
19441
19615
  readonly type: string;
19442
19616
  readonly processing_transaction_id?: string;
19443
19617
  readonly queue_errors?: string[];
19444
- readonly processing_transaction_ignore_reason?: string;
19445
- readonly channel_transaction_ignore_reason?: string;
19618
+ readonly ignore_reason?: string;
19446
19619
  }
19447
19620
 
19448
19621
  interface DebugTransactionDetails {
@@ -19509,6 +19682,10 @@ declare namespace io.flow.internal.v0.models {
19509
19682
  readonly name: string;
19510
19683
  }
19511
19684
 
19685
+ interface DeleteTransitionsPutForm {
19686
+ readonly transition_ids: string[];
19687
+ }
19688
+
19512
19689
  interface DeliveredDutyOption {
19513
19690
  readonly methods: io.flow.common.v0.enums.DeliveredDuty[];
19514
19691
  readonly message?: io.flow.internal.v0.models.DeliveredDutyOptionMessage;
@@ -19923,6 +20100,11 @@ declare namespace io.flow.internal.v0.models {
19923
20100
  readonly created_at: string;
19924
20101
  }
19925
20102
 
20103
+ interface ErpFlowFileBatchForm {
20104
+ readonly environment: io.flow.common.v0.enums.Environment;
20105
+ readonly type: io.flow.internal.v0.enums.ErpFileType;
20106
+ }
20107
+
19926
20108
  interface ErpPriorityFile {
19927
20109
  readonly id: string;
19928
20110
  readonly type: io.flow.internal.v0.enums.ErpFileType;
@@ -19935,6 +20117,15 @@ declare namespace io.flow.internal.v0.models {
19935
20117
  readonly url: string;
19936
20118
  }
19937
20119
 
20120
+ interface ErpVendor {
20121
+ readonly placeholder?: string;
20122
+ }
20123
+
20124
+ interface ErpVendorsDelta {
20125
+ readonly entity: io.flow.merchant.of.record.v0.enums.FlowEntity;
20126
+ readonly count: number;
20127
+ }
20128
+
19938
20129
  interface ExclusionRuleDeleted {
19939
20130
  readonly discriminator: 'exclusion_rule_deleted';
19940
20131
  readonly event_id: string;
@@ -20441,33 +20632,6 @@ declare namespace io.flow.internal.v0.models {
20441
20632
  readonly transfer?: io.flow.internal.v0.models.Fee;
20442
20633
  }
20443
20634
 
20444
- interface File {
20445
- readonly id: string;
20446
- readonly stream: io.flow.internal.v0.models.StreamReference;
20447
- readonly url: string;
20448
- readonly created_at: string;
20449
- readonly metadata: io.flow.internal.v0.models.FileMetadata;
20450
- readonly confirmation?: io.flow.internal.v0.models.FileConfirmation;
20451
- }
20452
-
20453
- interface FileConfirmation {
20454
- readonly counts: io.flow.internal.v0.models.FileMetadataCounts;
20455
- }
20456
-
20457
- interface FileConfirmationForm {
20458
- readonly count_transactions: number;
20459
- readonly count_statements: number;
20460
- }
20461
-
20462
- interface FileMetadata {
20463
- readonly counts: io.flow.internal.v0.models.FileMetadataCounts;
20464
- }
20465
-
20466
- interface FileMetadataCounts {
20467
- readonly transactions: number;
20468
- readonly statements: number;
20469
- }
20470
-
20471
20635
  interface FinanceBankAccount {
20472
20636
  readonly id: string;
20473
20637
  readonly accounts: io.flow.internal.v0.models.AccountSummary[];
@@ -23746,6 +23910,11 @@ declare namespace io.flow.internal.v0.models {
23746
23910
  readonly organization_onboarding_state?: io.flow.organization.onboarding.state.v0.models.OrganizationOnboardingState;
23747
23911
  }
23748
23912
 
23913
+ interface OrganizationOnboardingStateAuditResult {
23914
+ readonly organization: string;
23915
+ readonly validation_errors: string[];
23916
+ }
23917
+
23749
23918
  interface OrganizationPaymentSetting {
23750
23919
  readonly id: string;
23751
23920
  readonly organization_id: string;
@@ -25031,6 +25200,17 @@ declare namespace io.flow.internal.v0.models {
25031
25200
  readonly number: string;
25032
25201
  }
25033
25202
 
25203
+ interface ReportRuleDecision {
25204
+ readonly rule_id: string;
25205
+ readonly rule_name: string;
25206
+ readonly status: io.flow.internal.v0.enums.RestrictionStatus;
25207
+ readonly count: number;
25208
+ }
25209
+
25210
+ interface ReportSummary {
25211
+ readonly task_id: string;
25212
+ }
25213
+
25034
25214
  interface RequeueRequestForm {
25035
25215
  readonly product_ids?: string[];
25036
25216
  readonly hs6_codes?: string[];
@@ -25600,6 +25780,22 @@ declare namespace io.flow.internal.v0.models {
25600
25780
  readonly access_token?: string;
25601
25781
  }
25602
25782
 
25783
+ interface ShopifyMarketsShopStatisticsDeleted {
25784
+ readonly discriminator: 'shopify_markets_shop_statistics_deleted';
25785
+ readonly event_id: string;
25786
+ readonly timestamp: string;
25787
+ readonly organization: string;
25788
+ readonly id: string;
25789
+ }
25790
+
25791
+ interface ShopifyMarketsShopStatisticsUpserted {
25792
+ readonly discriminator: 'shopify_markets_shop_statistics_upserted';
25793
+ readonly event_id: string;
25794
+ readonly timestamp: string;
25795
+ readonly organization: string;
25796
+ readonly shopify_markets_shop_statistics: io.flow.internal.v0.models.ShopifyShopStatistics;
25797
+ }
25798
+
25603
25799
  interface ShopifyMarketsShopSummary {
25604
25800
  readonly organization: io.flow.common.v0.models.OrganizationSummary;
25605
25801
  readonly channel: io.flow.common.v0.models.ChannelReference;
@@ -25660,6 +25856,7 @@ declare namespace io.flow.internal.v0.models {
25660
25856
  readonly flow_carrier_service: io.flow.internal.v0.models.ShopifyMonitoringCarrierService[];
25661
25857
  readonly shopify_tracking_number: io.flow.internal.v0.models.ShopifyMonitoringTrackingNumber;
25662
25858
  readonly shopify_carrier_service?: io.flow.internal.v0.models.ShopifyMonitoringCarrierService;
25859
+ readonly fulfillment_created_at?: string;
25663
25860
  }
25664
25861
 
25665
25862
  interface ShopifyMonitoringFulfillmentMissingDetails {
@@ -25904,6 +26101,13 @@ declare namespace io.flow.internal.v0.models {
25904
26101
  readonly id: string;
25905
26102
  }
25906
26103
 
26104
+ interface ShopifyShopStatistics {
26105
+ readonly id: string;
26106
+ readonly initial_catalog_synced_at?: string;
26107
+ readonly catalog_sync_duration?: number;
26108
+ readonly catalog_products_count?: number;
26109
+ }
26110
+
25907
26111
  interface ShopifyShopUpserted {
25908
26112
  readonly discriminator: 'shopify_shop_upserted';
25909
26113
  readonly event_id: string;
@@ -26053,23 +26257,36 @@ declare namespace io.flow.internal.v0.models {
26053
26257
  readonly spot_rate: io.flow.internal.v0.models.SpotRate;
26054
26258
  }
26055
26259
 
26056
- interface StoreConnection {
26057
- readonly organization?: io.flow.common.v0.models.OrganizationReference;
26260
+ interface StandaloneAttachment {
26058
26261
  readonly id: string;
26059
- readonly domain: string;
26262
+ readonly statement: io.flow.internal.v0.models.BillingStatementReference;
26263
+ readonly key: io.flow.internal.v0.enums.BillingStatementAttachmentKey;
26264
+ readonly name: string;
26265
+ readonly url: string;
26060
26266
  }
26061
26267
 
26062
- interface StoreConnectionForm {
26063
- readonly organization: string;
26268
+ interface StandaloneAttachmentDeleted {
26269
+ readonly discriminator: 'standalone_attachment_deleted';
26270
+ readonly event_id: string;
26271
+ readonly timestamp: string;
26272
+ readonly id: string;
26064
26273
  }
26065
26274
 
26066
- interface Stream {
26067
- readonly id: string;
26068
- readonly key: string;
26275
+ interface StandaloneAttachmentUpserted {
26276
+ readonly discriminator: 'standalone_attachment_upserted';
26277
+ readonly event_id: string;
26278
+ readonly timestamp: string;
26279
+ readonly attachment: io.flow.internal.v0.models.StandaloneAttachment;
26069
26280
  }
26070
26281
 
26071
- interface StreamReference {
26282
+ interface StoreConnection {
26283
+ readonly organization?: io.flow.common.v0.models.OrganizationReference;
26072
26284
  readonly id: string;
26285
+ readonly domain: string;
26286
+ }
26287
+
26288
+ interface StoreConnectionForm {
26289
+ readonly organization: string;
26073
26290
  }
26074
26291
 
26075
26292
  interface StringFeatureDefaultValue {
@@ -27515,6 +27732,8 @@ declare namespace io.flow.internal.v0.unions {
27515
27732
  | io.flow.internal.v0.models.TaxTransactionDeleted
27516
27733
  | io.flow.internal.v0.models.DutyTransactionUpserted
27517
27734
  | io.flow.internal.v0.models.DutyTransactionDeleted
27735
+ | io.flow.internal.v0.models.DailyValueUpserted
27736
+ | io.flow.internal.v0.models.DailyValueDeleted
27518
27737
  | io.flow.internal.v0.models.CalculatorOrganizationSettingsUpserted
27519
27738
  | io.flow.internal.v0.models.CalculatorOrganizationSettingsDeleted
27520
27739
  | io.flow.internal.v0.models.CarrierAccountUpsertedV2
@@ -27601,6 +27820,8 @@ declare namespace io.flow.internal.v0.unions {
27601
27820
  | io.flow.internal.v0.models.BillingStatementBatchDeleted
27602
27821
  | io.flow.internal.v0.models.BillingStatementBatchStatementUpserted
27603
27822
  | io.flow.internal.v0.models.BillingStatementBatchStatementDeleted
27823
+ | io.flow.internal.v0.models.StandaloneAttachmentUpserted
27824
+ | io.flow.internal.v0.models.StandaloneAttachmentDeleted
27604
27825
  | io.flow.internal.v0.models.PlatformFeeChangeUpserted
27605
27826
  | io.flow.internal.v0.models.PlatformFeeChangeDeleted
27606
27827
  | io.flow.internal.v0.models.OrganizationBankAccountUpserted
@@ -27737,6 +27958,8 @@ declare namespace io.flow.internal.v0.unions {
27737
27958
  | io.flow.internal.v0.models.ShopifyMarketsShopDeleted
27738
27959
  | io.flow.internal.v0.models.ShopifyMarketsWebhookRegistrationUpserted
27739
27960
  | io.flow.internal.v0.models.ShopifyMarketsWebhookRegistrationDeleted
27961
+ | io.flow.internal.v0.models.ShopifyMarketsShopStatisticsUpserted
27962
+ | io.flow.internal.v0.models.ShopifyMarketsShopStatisticsDeleted
27740
27963
  | io.flow.internal.v0.models.ShopifyMonitoringOrderMonitorEventUpserted
27741
27964
  | io.flow.internal.v0.models.ShopifyMonitoringOrderMonitorEventDeleted
27742
27965
  | io.flow.internal.v0.models.ShopifyOrderFulfillmentsSnapshotUpserted
@@ -28215,6 +28438,7 @@ export type AuthorizedOrderCharge =
28215
28438
  io.flow.internal.v0.unions.AuthorizedOrderCharge;
28216
28439
  export type AuthorizedShippingCharge =
28217
28440
  io.flow.internal.v0.models.AuthorizedShippingCharge;
28441
+ export type AutoRestrictRule = io.flow.internal.v0.enums.AutoRestrictRule;
28218
28442
  export type Backfill = io.flow.internal.v0.models.Backfill;
28219
28443
  export type BackfillForm = io.flow.internal.v0.models.BackfillForm;
28220
28444
  export type BankAccountReference =
@@ -28242,6 +28466,7 @@ export type BillingLabelSummary =
28242
28466
  io.flow.internal.v0.models.BillingLabelSummary;
28243
28467
  export type BillingLabelTrackingSummaryReference =
28244
28468
  io.flow.internal.v0.models.BillingLabelTrackingSummaryReference;
28469
+ export type BillingMetricKey = io.flow.internal.v0.enums.BillingMetricKey;
28245
28470
  export type BillingOrderDestination =
28246
28471
  io.flow.internal.v0.models.BillingOrderDestination;
28247
28472
  export type BillingOrderSummary =
@@ -29595,6 +29820,8 @@ export type ClassificationResponse =
29595
29820
  io.flow.internal.v0.unions.ClassificationResponse;
29596
29821
  export type ClassificationStatistics =
29597
29822
  io.flow.internal.v0.models.ClassificationStatistics;
29823
+ export type ClassificationSummaryReportPayload =
29824
+ io.flow.internal.v0.models.ClassificationSummaryReportPayload;
29598
29825
  export type ClassificationTaxonomy =
29599
29826
  io.flow.internal.v0.unions.ClassificationTaxonomy;
29600
29827
  export type ClassificationWrapper =
@@ -29700,6 +29927,9 @@ export type DailyExperimentResultsDeleted =
29700
29927
  io.flow.internal.v0.models.DailyExperimentResultsDeleted;
29701
29928
  export type DailyExperimentResultsUpserted =
29702
29929
  io.flow.internal.v0.models.DailyExperimentResultsUpserted;
29930
+ export type DailyValue = io.flow.internal.v0.models.DailyValue;
29931
+ export type DailyValueDeleted = io.flow.internal.v0.models.DailyValueDeleted;
29932
+ export type DailyValueUpserted = io.flow.internal.v0.models.DailyValueUpserted;
29703
29933
  export type DebugDetails = io.flow.internal.v0.models.DebugDetails;
29704
29934
  export type DebugLabel = io.flow.internal.v0.models.DebugLabel;
29705
29935
  export type DebugLabelTransactionSummary =
@@ -29730,6 +29960,8 @@ export type DeclineReasonFraud = io.flow.internal.v0.models.DeclineReasonFraud;
29730
29960
  export type DecryptCipherForm = io.flow.internal.v0.models.DecryptCipherForm;
29731
29961
  export type DecryptedCipher = io.flow.internal.v0.models.DecryptedCipher;
29732
29962
  export type DeleteIndexTask = io.flow.internal.v0.models.DeleteIndexTask;
29963
+ export type DeleteTransitionsPutForm =
29964
+ io.flow.internal.v0.models.DeleteTransitionsPutForm;
29733
29965
  export type DeliveredDutyOption =
29734
29966
  io.flow.internal.v0.models.DeliveredDutyOption;
29735
29967
  export type DeliveredDutyOptionMessage =
@@ -29847,9 +30079,13 @@ export type EmptyClassificationForm =
29847
30079
  export type Encryption = io.flow.internal.v0.models.Encryption;
29848
30080
  export type ErpFileType = io.flow.internal.v0.enums.ErpFileType;
29849
30081
  export type ErpFlowFile = io.flow.internal.v0.models.ErpFlowFile;
30082
+ export type ErpFlowFileBatchForm =
30083
+ io.flow.internal.v0.models.ErpFlowFileBatchForm;
29850
30084
  export type ErpPriorityFile = io.flow.internal.v0.models.ErpPriorityFile;
29851
30085
  export type ErpPriorityFileForm =
29852
30086
  io.flow.internal.v0.models.ErpPriorityFileForm;
30087
+ export type ErpVendor = io.flow.internal.v0.models.ErpVendor;
30088
+ export type ErpVendorsDelta = io.flow.internal.v0.models.ErpVendorsDelta;
29853
30089
  export type Event = io.flow.internal.v0.unions.Event;
29854
30090
  export type EventType = io.flow.internal.v0.enums.EventType;
29855
30091
  export type ExclusionRuleDeleted =
@@ -29981,12 +30217,6 @@ export type FeedUpserted = io.flow.internal.v0.models.FeedUpserted;
29981
30217
  export type FeedsExport = io.flow.internal.v0.models.FeedsExport;
29982
30218
  export type Fees = io.flow.internal.v0.models.Fees;
29983
30219
  export type FeesSource = io.flow.internal.v0.enums.FeesSource;
29984
- export type File = io.flow.internal.v0.models.File;
29985
- export type FileConfirmation = io.flow.internal.v0.models.FileConfirmation;
29986
- export type FileConfirmationForm =
29987
- io.flow.internal.v0.models.FileConfirmationForm;
29988
- export type FileMetadata = io.flow.internal.v0.models.FileMetadata;
29989
- export type FileMetadataCounts = io.flow.internal.v0.models.FileMetadataCounts;
29990
30220
  export type FinanceBankAccount = io.flow.internal.v0.models.FinanceBankAccount;
29991
30221
  export type FinanceBankAccountOwner =
29992
30222
  io.flow.internal.v0.models.FinanceBankAccountOwner;
@@ -30787,8 +31017,12 @@ export type OrganizationMembershipCopy =
30787
31017
  io.flow.internal.v0.models.OrganizationMembershipCopy;
30788
31018
  export type OrganizationMembershipCopyForm =
30789
31019
  io.flow.internal.v0.models.OrganizationMembershipCopyForm;
31020
+ export type OrganizationMetricType =
31021
+ io.flow.internal.v0.enums.OrganizationMetricType;
30790
31022
  export type OrganizationOnboardingStateAdjustmentResult =
30791
31023
  io.flow.internal.v0.models.OrganizationOnboardingStateAdjustmentResult;
31024
+ export type OrganizationOnboardingStateAuditResult =
31025
+ io.flow.internal.v0.models.OrganizationOnboardingStateAuditResult;
30792
31026
  export type OrganizationPaymentSetting =
30793
31027
  io.flow.internal.v0.models.OrganizationPaymentSetting;
30794
31028
  export type OrganizationPaymentSettingDeleted =
@@ -31018,6 +31252,7 @@ export type ProductListSettingsForm =
31018
31252
  io.flow.internal.v0.models.ProductListSettingsForm;
31019
31253
  export type ProductReviewHistory =
31020
31254
  io.flow.internal.v0.models.ProductReviewHistory;
31255
+ export type ProductStatus = io.flow.internal.v0.enums.ProductStatus;
31021
31256
  export type PromptAction = io.flow.internal.v0.enums.PromptAction;
31022
31257
  export type PromptCheckoutDisplayPosition =
31023
31258
  io.flow.internal.v0.enums.PromptCheckoutDisplayPosition;
@@ -31032,6 +31267,7 @@ export type ProofOfPostingOrderCancellation =
31032
31267
  io.flow.internal.v0.models.ProofOfPostingOrderCancellation;
31033
31268
  export type ProofOfPostingShippingNotification =
31034
31269
  io.flow.internal.v0.models.ProofOfPostingShippingNotification;
31270
+ export type QueuedRecordType = io.flow.internal.v0.enums.QueuedRecordType;
31035
31271
  export type QuoteRequest = io.flow.internal.v0.models.QuoteRequest;
31036
31272
  export type QuoteRequestType = io.flow.internal.v0.enums.QuoteRequestType;
31037
31273
  export type RateAndRuleItem = io.flow.internal.v0.models.RateAndRuleItem;
@@ -31140,6 +31376,8 @@ export type RegisteredExporterTariffEligibilityForm =
31140
31376
  io.flow.internal.v0.models.RegisteredExporterTariffEligibilityForm;
31141
31377
  export type RejectionReason = io.flow.internal.v0.enums.RejectionReason;
31142
31378
  export type ReportInterval = io.flow.internal.v0.enums.ReportInterval;
31379
+ export type ReportRuleDecision = io.flow.internal.v0.models.ReportRuleDecision;
31380
+ export type ReportSummary = io.flow.internal.v0.models.ReportSummary;
31143
31381
  export type ReportingScheme = io.flow.internal.v0.enums.ReportingScheme;
31144
31382
  export type RequeueRequestForm = io.flow.internal.v0.models.RequeueRequestForm;
31145
31383
  export type ResponsibleParty = io.flow.internal.v0.enums.ResponsibleParty;
@@ -31292,6 +31530,10 @@ export type ShopifyMarketsShopDeleted =
31292
31530
  io.flow.internal.v0.models.ShopifyMarketsShopDeleted;
31293
31531
  export type ShopifyMarketsShopForm =
31294
31532
  io.flow.internal.v0.models.ShopifyMarketsShopForm;
31533
+ export type ShopifyMarketsShopStatisticsDeleted =
31534
+ io.flow.internal.v0.models.ShopifyMarketsShopStatisticsDeleted;
31535
+ export type ShopifyMarketsShopStatisticsUpserted =
31536
+ io.flow.internal.v0.models.ShopifyMarketsShopStatisticsUpserted;
31295
31537
  export type ShopifyMarketsShopSummary =
31296
31538
  io.flow.internal.v0.models.ShopifyMarketsShopSummary;
31297
31539
  export type ShopifyMarketsShopUpserted =
@@ -31407,6 +31649,8 @@ export type ShopifyPromotionStatus =
31407
31649
  io.flow.internal.v0.enums.ShopifyPromotionStatus;
31408
31650
  export type ShopifyService = io.flow.internal.v0.enums.ShopifyService;
31409
31651
  export type ShopifyShopDeleted = io.flow.internal.v0.models.ShopifyShopDeleted;
31652
+ export type ShopifyShopStatistics =
31653
+ io.flow.internal.v0.models.ShopifyShopStatistics;
31410
31654
  export type ShopifyShopUpserted =
31411
31655
  io.flow.internal.v0.models.ShopifyShopUpserted;
31412
31656
  export type ShopifyWebhook = io.flow.internal.v0.models.ShopifyWebhook;
@@ -31447,6 +31691,12 @@ export type SpotRateMetadataRate =
31447
31691
  io.flow.internal.v0.models.SpotRateMetadataRate;
31448
31692
  export type SpotRateUpserted = io.flow.internal.v0.models.SpotRateUpserted;
31449
31693
  export type SpotRateVersion = io.flow.internal.v0.models.SpotRateVersion;
31694
+ export type StandaloneAttachment =
31695
+ io.flow.internal.v0.models.StandaloneAttachment;
31696
+ export type StandaloneAttachmentDeleted =
31697
+ io.flow.internal.v0.models.StandaloneAttachmentDeleted;
31698
+ export type StandaloneAttachmentUpserted =
31699
+ io.flow.internal.v0.models.StandaloneAttachmentUpserted;
31450
31700
  export type StatementStatus = io.flow.internal.v0.enums.StatementStatus;
31451
31701
  export type StatementTransferTransactionLocation =
31452
31702
  io.flow.internal.v0.enums.StatementTransferTransactionLocation;
@@ -31455,8 +31705,6 @@ export type Status = io.flow.internal.v0.enums.Status;
31455
31705
  export type StoreConnection = io.flow.internal.v0.models.StoreConnection;
31456
31706
  export type StoreConnectionForm =
31457
31707
  io.flow.internal.v0.models.StoreConnectionForm;
31458
- export type Stream = io.flow.internal.v0.models.Stream;
31459
- export type StreamReference = io.flow.internal.v0.models.StreamReference;
31460
31708
  export type StringFeatureDefaultValue =
31461
31709
  io.flow.internal.v0.models.StringFeatureDefaultValue;
31462
31710
  export type StringFeatureRule = io.flow.internal.v0.models.StringFeatureRule;