@flowio/types 11.24.4 → 11.24.6

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.
@@ -12698,16 +12698,20 @@ declare namespace io.flow.internal.v0.enums {
12698
12698
  | 'tax_remittance'
12699
12699
  | 'manual'
12700
12700
  | 'orders'
12701
+ | 'label'
12702
+ | 'order_service'
12701
12703
  | 'all';
12702
12704
  type BillingStatementBatchFileKey = 'archive' | 'summary';
12703
12705
  type BillingStatementReviewStatus = 'approved' | 'pending';
12704
- type BillingTransactionStatus = 'pending' | 'posted';
12706
+ type BillingTransactionStatus =
12707
+ | 'pending'
12708
+ | 'pending_fulfillment_proof'
12709
+ | 'posted';
12705
12710
  type BillingTransactionType =
12706
12711
  | 'manual'
12707
12712
  | 'subscription'
12708
12713
  | 'invoice'
12709
12714
  | 'transfer'
12710
- | 'transfer_fee'
12711
12715
  | 'adjustment'
12712
12716
  | 'capture'
12713
12717
  | 'refund'
@@ -12718,7 +12722,8 @@ declare namespace io.flow.internal.v0.enums {
12718
12722
  | 'credit_payment'
12719
12723
  | 'dispute'
12720
12724
  | 'channel'
12721
- | 'label';
12725
+ | 'label'
12726
+ | 'order';
12722
12727
  type BlazeCheckoutEvent =
12723
12728
  | 'begin_checkout'
12724
12729
  | 'select_promotion'
@@ -13112,8 +13117,6 @@ declare namespace io.flow.internal.v0.enums {
13112
13117
  | 'transfer_transaction_deleted'
13113
13118
  | 'transfer_transaction_upserted_v2'
13114
13119
  | 'transfer_transaction_deleted_v2'
13115
- | 'transfer_fee_transaction_upserted'
13116
- | 'transfer_fee_transaction_deleted'
13117
13120
  | 'processing_transaction_upserted'
13118
13121
  | 'processing_transaction_deleted'
13119
13122
  | 'bank_payment_upserted'
@@ -13273,6 +13276,8 @@ declare namespace io.flow.internal.v0.enums {
13273
13276
  | 'payment_processor_merchant_deleted'
13274
13277
  | 'virtual_card_provider_upserted'
13275
13278
  | 'virtual_card_provider_deleted'
13279
+ | 'authorization_bundle_upserted'
13280
+ | 'authorization_bundle_deleted'
13276
13281
  | 'paypal_payment_deleted'
13277
13282
  | 'paypal_payment_upserted'
13278
13283
  | 'paypal_execution_deleted'
@@ -13290,6 +13295,8 @@ declare namespace io.flow.internal.v0.enums {
13290
13295
  | 'ratecard_service_fee_deleted'
13291
13296
  | 'ratecard_lane_aggregate_upserted'
13292
13297
  | 'ratecard_lane_aggregate_deleted'
13298
+ | 'product_restriction_upserted'
13299
+ | 'product_restriction_deleted'
13293
13300
  | 'shopify_shop_upserted'
13294
13301
  | 'shopify_shop_deleted'
13295
13302
  | 'shopify_experience_short_id_upserted'
@@ -13375,6 +13382,7 @@ declare namespace io.flow.internal.v0.enums {
13375
13382
  | 'low_value_goods_tax'
13376
13383
  | 'high_value_goods_tax'
13377
13384
  | 'duties';
13385
+ type MainTransactionStatus = 'scheduled' | 'pending_fulfillment_proof';
13378
13386
  type ManualReviewRuleStatus = 'active' | 'archived';
13379
13387
  type ManualTransactionCategory =
13380
13388
  | 'cancelled_order_refund'
@@ -13436,6 +13444,29 @@ declare namespace io.flow.internal.v0.enums {
13436
13444
  | 'facebook_primary'
13437
13445
  | 'facebook_country_override'
13438
13446
  | 'supplemental';
13447
+ type MerchantOnboardingProcessKey = 'shopify_merchant_onboarding_v1';
13448
+ type MerchantOnboardingProcessState =
13449
+ | 'created'
13450
+ | 'active'
13451
+ | 'completed'
13452
+ | 'terminated';
13453
+ type MerchantOnboardingTaskKey =
13454
+ | 'channel_organization_created'
13455
+ | 'invite_organization_members'
13456
+ | 'synchronize_product_catalog'
13457
+ | 'classify_product_catalog'
13458
+ | 'synchronize_fulfillment_centers'
13459
+ | 'verify_gateway_setup'
13460
+ | 'application_form_submitted'
13461
+ | 'perform_fulfillment_configuration'
13462
+ | 'perform_kyc_review'
13463
+ | 'notify_kyc_review_failed'
13464
+ | 'notify_onboarding_completed';
13465
+ type MerchantOnboardingTaskState =
13466
+ | 'created'
13467
+ | 'in_progress'
13468
+ | 'completed'
13469
+ | 'terminated';
13439
13470
  type NatureOfSale =
13440
13471
  | 'consumer'
13441
13472
  | 'to_non_registered_business'
@@ -13511,6 +13542,11 @@ declare namespace io.flow.internal.v0.enums {
13511
13542
  | 'fiserv'
13512
13543
  | 'crypto';
13513
13544
  type ProcessorEntityStatus = 'active' | 'draft' | 'archived';
13545
+ type ProductRestrictionStatus =
13546
+ | 'pending'
13547
+ | 'in_review'
13548
+ | 'accepted'
13549
+ | 'restricted';
13514
13550
  type PromptAction = 'prompt_displayed' | 'consent_granted' | 'consent_denied';
13515
13551
  type PromptCheckoutDisplayPosition = 'email' | 'submission';
13516
13552
  type PromptOptions = 'notice_only' | 'require_consent' | 'consent_by_default';
@@ -13530,6 +13566,8 @@ declare namespace io.flow.internal.v0.enums {
13530
13566
  | 'paid_at_border'
13531
13567
  | 'paid_on_delivery';
13532
13568
  type ResponsibleParty = 'flow' | 'organization';
13569
+ type RestrictionAction = 'prohibited' | 'restricted';
13570
+ type RestrictionDecision = 'accept' | 'reject';
13533
13571
  type RiskCheck = 'three_d_secure';
13534
13572
  type RiskEvaluation =
13535
13573
  | 'Pending'
@@ -13602,6 +13640,7 @@ declare namespace io.flow.internal.v0.enums {
13602
13640
  | 'statement_generated'
13603
13641
  | 'statement_regenerated'
13604
13642
  | 'failed';
13643
+ type StatementTransferTransactionLocation = 'transactions_file' | 'summary';
13605
13644
  type StatisticType =
13606
13645
  | 'time-to-classify'
13607
13646
  | 'time-to-classify-aggregated'
@@ -13615,6 +13654,7 @@ declare namespace io.flow.internal.v0.enums {
13615
13654
  type TaxParty = 'consumer' | 'organization' | 'flow' | 'carrier';
13616
13655
  type TimeseriesType = 'daily' | 'weekly' | 'monthly' | 'yearly';
13617
13656
  type TrackingIntegrationType = 'api' | 'bulk' | 'aftership';
13657
+ type TransactionPostingMethod = 'time' | 'fulfillment_proof';
13618
13658
  type TransferMethod = 'ach';
13619
13659
  type UnclassifiedProductStatus =
13620
13660
  | 'ignored'
@@ -13774,10 +13814,12 @@ declare namespace io.flow.internal.v0.models {
13774
13814
  readonly b2b_tax_remittance_days?: number;
13775
13815
  readonly merchant_of_record_fee?: number;
13776
13816
  readonly duty_guarantee_fee?: number;
13777
- readonly transfer_fee?: io.flow.common.v0.models.Money;
13817
+ readonly transfer_fee?: number;
13778
13818
  readonly order_service_fee?: io.flow.internal.v0.models.TieredFee;
13779
13819
  readonly label_fee?: io.flow.internal.v0.models.TieredFee;
13780
13820
  readonly charge_label_cost_directly: boolean;
13821
+ readonly transaction_posting_method?: io.flow.internal.v0.enums.TransactionPostingMethod;
13822
+ readonly statement_transfer_transaction_location?: io.flow.internal.v0.enums.StatementTransferTransactionLocation;
13781
13823
  }
13782
13824
 
13783
13825
  interface AccountSettingsDeleted {
@@ -14280,10 +14322,11 @@ declare namespace io.flow.internal.v0.models {
14280
14322
  readonly organization_id: string;
14281
14323
  readonly authorization_reference: io.flow.payment.v0.models.AuthorizationReference;
14282
14324
  readonly payment_request_reference: io.flow.payment.gateway.v0.models.PaymentRequestReference;
14283
- readonly billing: io.flow.payment.request.bundle.v0.models.PaymentRequestBilling;
14325
+ readonly billing?: io.flow.payment.request.bundle.v0.models.PaymentRequestBilling;
14284
14326
  }
14285
14327
 
14286
14328
  interface AuthorizationBundleDeleted {
14329
+ readonly discriminator: 'authorization_bundle_deleted';
14287
14330
  readonly event_id: string;
14288
14331
  readonly timestamp: string;
14289
14332
  readonly organization: string;
@@ -14291,6 +14334,7 @@ declare namespace io.flow.internal.v0.models {
14291
14334
  }
14292
14335
 
14293
14336
  interface AuthorizationBundleUpserted {
14337
+ readonly discriminator: 'authorization_bundle_upserted';
14294
14338
  readonly event_id: string;
14295
14339
  readonly timestamp: string;
14296
14340
  readonly organization: string;
@@ -14469,6 +14513,11 @@ declare namespace io.flow.internal.v0.models {
14469
14513
  readonly destination?: io.flow.internal.v0.models.BillingOrderDestination;
14470
14514
  }
14471
14515
 
14516
+ interface BillingOrderTransactionOrderReference {
14517
+ readonly organization: io.flow.common.v0.models.OrganizationReference;
14518
+ readonly number: string;
14519
+ }
14520
+
14472
14521
  interface BillingOrganizationProcessingRates {
14473
14522
  readonly id: string;
14474
14523
  readonly query: string;
@@ -14577,7 +14626,6 @@ declare namespace io.flow.internal.v0.models {
14577
14626
  readonly starting_balance: io.flow.common.v0.models.Price;
14578
14627
  readonly subscription: io.flow.common.v0.models.Price;
14579
14628
  readonly transfer: io.flow.common.v0.models.Price;
14580
- readonly transfer_fee: io.flow.common.v0.models.Price;
14581
14629
  readonly invoice: io.flow.common.v0.models.Price;
14582
14630
  readonly manual: io.flow.common.v0.models.Price;
14583
14631
  readonly adjustment: io.flow.common.v0.models.Price;
@@ -14589,6 +14637,7 @@ declare namespace io.flow.internal.v0.models {
14589
14637
  readonly dispute: io.flow.common.v0.models.Price;
14590
14638
  readonly channel: io.flow.common.v0.models.Price;
14591
14639
  readonly label: io.flow.common.v0.models.Price;
14640
+ readonly order: io.flow.common.v0.models.Price;
14592
14641
  readonly ending_balance: io.flow.common.v0.models.Price;
14593
14642
  }
14594
14643
 
@@ -15156,7 +15205,8 @@ declare namespace io.flow.internal.v0.models {
15156
15205
  readonly id: string;
15157
15206
  readonly type: io.flow.internal.v0.enums.BillingTransactionType;
15158
15207
  readonly transaction: io.flow.internal.v0.models.TransactionReference;
15159
- readonly posted_at: string;
15208
+ readonly status: io.flow.internal.v0.enums.BillingTransactionStatus;
15209
+ readonly posted_at?: string;
15160
15210
  readonly value: io.flow.common.v0.models.Price;
15161
15211
  readonly description: string;
15162
15212
  readonly statement?: io.flow.internal.v0.models.BillingStatementReference;
@@ -17972,7 +18022,8 @@ declare namespace io.flow.internal.v0.models {
17972
18022
  readonly id: string;
17973
18023
  readonly type: io.flow.internal.v0.enums.BillingTransactionType;
17974
18024
  readonly authorization: io.flow.payment.v0.models.AuthorizationReference;
17975
- readonly posted_at: string;
18025
+ readonly status: io.flow.internal.v0.enums.BillingTransactionStatus;
18026
+ readonly posted_at?: string;
17976
18027
  readonly value: io.flow.common.v0.models.Price;
17977
18028
  readonly description: string;
17978
18029
  readonly statement?: io.flow.internal.v0.models.BillingStatementReference;
@@ -18628,7 +18679,7 @@ declare namespace io.flow.internal.v0.models {
18628
18679
  readonly mor?: io.flow.internal.v0.models.Fee;
18629
18680
  readonly fx?: io.flow.internal.v0.models.Fee;
18630
18681
  readonly duty_guarantee?: io.flow.internal.v0.models.Fee;
18631
- readonly order_service?: io.flow.internal.v0.models.Fee;
18682
+ readonly transfer?: io.flow.internal.v0.models.Fee;
18632
18683
  }
18633
18684
 
18634
18685
  interface FinancialMerchantCategory {
@@ -20078,7 +20129,8 @@ declare namespace io.flow.internal.v0.models {
20078
20129
  readonly discriminator: 'invoice_transaction';
20079
20130
  readonly id: string;
20080
20131
  readonly type: io.flow.internal.v0.enums.BillingTransactionType;
20081
- readonly posted_at: string;
20132
+ readonly status: io.flow.internal.v0.enums.BillingTransactionStatus;
20133
+ readonly posted_at?: string;
20082
20134
  readonly value: io.flow.common.v0.models.Price;
20083
20135
  readonly description: string;
20084
20136
  readonly statement?: io.flow.internal.v0.models.BillingStatementReference;
@@ -20433,7 +20485,6 @@ declare namespace io.flow.internal.v0.models {
20433
20485
 
20434
20486
  interface LabelCreationRequestForm {
20435
20487
  readonly shipping_label_form: io.flow.label.v0.unions.ShippingLabelForm;
20436
- readonly organization_id: string;
20437
20488
  readonly shipment_cost?: io.flow.common.v0.models.Money;
20438
20489
  readonly reference_id?: string;
20439
20490
  }
@@ -20478,7 +20529,9 @@ declare namespace io.flow.internal.v0.models {
20478
20529
  readonly id: string;
20479
20530
  readonly type: io.flow.internal.v0.enums.BillingTransactionType;
20480
20531
  readonly label: io.flow.internal.v0.models.BillingLabelSummary;
20481
- readonly posted_at: string;
20532
+ readonly order?: io.flow.internal.v0.models.BillingOrderTransactionOrderReference;
20533
+ readonly status: io.flow.internal.v0.enums.BillingTransactionStatus;
20534
+ readonly posted_at?: string;
20482
20535
  readonly value: io.flow.common.v0.models.Price;
20483
20536
  readonly description: string;
20484
20537
  readonly statement?: io.flow.internal.v0.models.BillingStatementReference;
@@ -20812,7 +20865,8 @@ declare namespace io.flow.internal.v0.models {
20812
20865
  readonly account: io.flow.internal.v0.models.AccountReference;
20813
20866
  readonly type: io.flow.internal.v0.enums.BillingTransactionType;
20814
20867
  readonly value: io.flow.common.v0.models.Price;
20815
- readonly posted_at: string;
20868
+ readonly status: io.flow.internal.v0.enums.BillingTransactionStatus;
20869
+ readonly posted_at?: string;
20816
20870
  readonly statement?: io.flow.internal.v0.models.BillingStatementReference;
20817
20871
  readonly created_at: string;
20818
20872
  readonly original_at?: string;
@@ -20866,7 +20920,8 @@ declare namespace io.flow.internal.v0.models {
20866
20920
  readonly discriminator: 'manual_transaction';
20867
20921
  readonly id: string;
20868
20922
  readonly type: io.flow.internal.v0.enums.BillingTransactionType;
20869
- readonly posted_at: string;
20923
+ readonly status: io.flow.internal.v0.enums.BillingTransactionStatus;
20924
+ readonly posted_at?: string;
20870
20925
  readonly value: io.flow.common.v0.models.Price;
20871
20926
  readonly description: string;
20872
20927
  readonly category?: io.flow.internal.v0.enums.ManualTransactionCategory;
@@ -21186,22 +21241,6 @@ declare namespace io.flow.internal.v0.models {
21186
21241
  readonly order: io.flow.internal.v0.models.Decision;
21187
21242
  }
21188
21243
 
21189
- interface Onboarding {
21190
- readonly placeholder?: string;
21191
- }
21192
-
21193
- interface OnboardingClassification {
21194
- readonly country_of_origin_populated: boolean;
21195
- }
21196
-
21197
- interface OnboardingForm {
21198
- readonly payment_processing: io.flow.internal.v0.models.ShopifyMarketsOnboardingPaymentProcessing;
21199
- readonly product_and_logistics: io.flow.internal.v0.models.ShopifyMarketsProductLogistics;
21200
- readonly classification: io.flow.internal.v0.models.OnboardingClassification;
21201
- readonly bank_account_details: io.flow.internal.v0.models.ShopifyMarketsBankAccountDetails;
21202
- readonly preparer_details?: io.flow.internal.v0.models.ShopifyMarketsPreparerDetails;
21203
- }
21204
-
21205
21244
  interface OneTimeTokenRedemptionForm {
21206
21245
  readonly token: string;
21207
21246
  }
@@ -21440,6 +21479,19 @@ declare namespace io.flow.internal.v0.models {
21440
21479
  readonly authorization?: io.flow.payment.v0.unions.AuthorizationForm;
21441
21480
  }
21442
21481
 
21482
+ interface OrderTransaction {
21483
+ readonly discriminator: 'order_transaction';
21484
+ readonly id: string;
21485
+ readonly type: io.flow.internal.v0.enums.BillingTransactionType;
21486
+ readonly order: io.flow.internal.v0.models.BillingOrderTransactionOrderReference;
21487
+ readonly status: io.flow.internal.v0.enums.BillingTransactionStatus;
21488
+ readonly posted_at?: string;
21489
+ readonly value: io.flow.common.v0.models.Price;
21490
+ readonly description: string;
21491
+ readonly statement?: io.flow.internal.v0.models.BillingStatementReference;
21492
+ readonly created_at: string;
21493
+ }
21494
+
21443
21495
  interface OrganizationAccount {
21444
21496
  readonly id: string;
21445
21497
  readonly organization: io.flow.common.v0.models.OrganizationReference;
@@ -21559,6 +21611,13 @@ declare namespace io.flow.internal.v0.models {
21559
21611
  readonly organization_payment_setting: io.flow.internal.v0.models.OrganizationPaymentSetting;
21560
21612
  }
21561
21613
 
21614
+ interface OrganizationRestrictionSummary {
21615
+ readonly organization: io.flow.common.v0.models.OrganizationSummary;
21616
+ readonly date: string;
21617
+ readonly pending: io.flow.internal.v0.models.RestrictionPending[];
21618
+ readonly total: number;
21619
+ }
21620
+
21562
21621
  interface OrganizationSettings {
21563
21622
  readonly default_currency_format_symbol: io.flow.common.v0.enums.CurrencySymbolFormat;
21564
21623
  readonly default_currency_label_formatters: io.flow.common.v0.enums.CurrencyLabelFormatter[];
@@ -22056,7 +22115,8 @@ declare namespace io.flow.internal.v0.models {
22056
22115
  readonly type: io.flow.internal.v0.enums.BillingTransactionType;
22057
22116
  readonly merchant_of_record: io.flow.common.v0.enums.MerchantOfRecord;
22058
22117
  readonly logistics_responsibility: io.flow.internal.v0.enums.ResponsibleParty[];
22059
- readonly posted_at: string;
22118
+ readonly status: io.flow.internal.v0.enums.BillingTransactionStatus;
22119
+ readonly posted_at?: string;
22060
22120
  readonly value: io.flow.common.v0.models.Price;
22061
22121
  readonly description: string;
22062
22122
  readonly statement?: io.flow.internal.v0.models.BillingStatementReference;
@@ -22184,6 +22244,41 @@ declare namespace io.flow.internal.v0.models {
22184
22244
  readonly column_settings: io.flow.internal.v0.models.HarmonizationColumnSetting[];
22185
22245
  }
22186
22246
 
22247
+ interface ProductRestriction {
22248
+ readonly id: string;
22249
+ readonly organization_id: string;
22250
+ readonly product_id: string;
22251
+ readonly restriction_decisions: io.flow.internal.v0.models.ProductRestrictionDecision[];
22252
+ }
22253
+
22254
+ interface ProductRestrictionDecision {
22255
+ readonly rule_id: string;
22256
+ readonly status: io.flow.internal.v0.enums.ProductRestrictionStatus;
22257
+ readonly matching_positive_keywords: string[];
22258
+ readonly matching_negative_keywords: string[];
22259
+ }
22260
+
22261
+ interface ProductRestrictionDecisionForm {
22262
+ readonly rule_id: string;
22263
+ readonly decision: io.flow.internal.v0.enums.RestrictionDecision;
22264
+ }
22265
+
22266
+ interface ProductRestrictionDeleted {
22267
+ readonly discriminator: 'product_restriction_deleted';
22268
+ readonly event_id: string;
22269
+ readonly timestamp: string;
22270
+ readonly organization: string;
22271
+ readonly product_restriction: io.flow.internal.v0.models.ProductRestriction;
22272
+ }
22273
+
22274
+ interface ProductRestrictionUpserted {
22275
+ readonly discriminator: 'product_restriction_upserted';
22276
+ readonly event_id: string;
22277
+ readonly timestamp: string;
22278
+ readonly organization: string;
22279
+ readonly product_restriction: io.flow.internal.v0.models.ProductRestriction;
22280
+ }
22281
+
22187
22282
  interface QuoteRequest {
22188
22283
  readonly id: string;
22189
22284
  readonly request_type: io.flow.internal.v0.enums.QuoteRequestType;
@@ -22557,6 +22652,62 @@ declare namespace io.flow.internal.v0.models {
22557
22652
  readonly select_mismatching_item_types: boolean;
22558
22653
  }
22559
22654
 
22655
+ interface RestrictionItem {
22656
+ readonly organization_id: string;
22657
+ readonly product: io.flow.internal.v0.models.RestrictionProduct;
22658
+ }
22659
+
22660
+ interface RestrictionKeywords {
22661
+ readonly positive_keywords: string[];
22662
+ readonly negative_keywords: string[];
22663
+ }
22664
+
22665
+ interface RestrictionPending {
22666
+ readonly rule: io.flow.internal.v0.models.RestrictionRuleSummary;
22667
+ readonly count: number;
22668
+ }
22669
+
22670
+ interface RestrictionProduct {
22671
+ readonly id: string;
22672
+ readonly name: string;
22673
+ readonly description: string;
22674
+ readonly images: string[];
22675
+ readonly categories: string[];
22676
+ readonly updated_at: string;
22677
+ readonly restrictions: io.flow.internal.v0.models.RestrictionReview[];
22678
+ }
22679
+
22680
+ interface RestrictionReview {
22681
+ readonly rule: io.flow.internal.v0.models.RestrictionRuleSummary;
22682
+ readonly keywords: io.flow.internal.v0.models.RestrictionKeywords;
22683
+ readonly date?: string;
22684
+ }
22685
+
22686
+ interface RestrictionRule {
22687
+ readonly id: string;
22688
+ readonly name: string;
22689
+ readonly description: string;
22690
+ readonly action: io.flow.internal.v0.enums.RestrictionAction;
22691
+ readonly regions: string[];
22692
+ readonly positive_keywords: string[];
22693
+ readonly negative_keywords: string[];
22694
+ }
22695
+
22696
+ interface RestrictionRuleForm {
22697
+ readonly name: string;
22698
+ readonly description: string;
22699
+ readonly action: io.flow.internal.v0.enums.RestrictionAction;
22700
+ readonly regions: string[];
22701
+ readonly positive_keywords: string[];
22702
+ readonly negative_keywords: string[];
22703
+ }
22704
+
22705
+ interface RestrictionRuleSummary {
22706
+ readonly id: string;
22707
+ readonly name: string;
22708
+ readonly description: string;
22709
+ }
22710
+
22560
22711
  interface ResyncByDestinations {
22561
22712
  readonly destinations: io.flow.reference.v0.models.Country[];
22562
22713
  }
@@ -22878,14 +23029,6 @@ declare namespace io.flow.internal.v0.models {
22878
23029
  readonly placeholder: string;
22879
23030
  }
22880
23031
 
22881
- interface ShopifyMarketsBankAccountDetails {
22882
- readonly name: string;
22883
- readonly address: io.flow.common.v0.models.Address;
22884
- readonly contact: io.flow.common.v0.models.Contact;
22885
- readonly account_number: string;
22886
- readonly aba_routing_transit_number: string;
22887
- }
22888
-
22889
23032
  interface ShopifyMarketsIncorporationCountry {
22890
23033
  readonly country: string;
22891
23034
  readonly state?: string;
@@ -22893,49 +23036,9 @@ declare namespace io.flow.internal.v0.models {
22893
23036
  readonly jurisdiction?: string;
22894
23037
  }
22895
23038
 
22896
- interface ShopifyMarketsOnboardingPaymentProcessing {
22897
- readonly legal_name: string;
22898
- readonly incorporation_country: io.flow.internal.v0.models.ShopifyMarketsIncorporationCountry;
22899
- readonly indirect_tax_number: number;
22900
- readonly subsidiary_company?: io.flow.internal.v0.models.ShopifyMarketsSubsidiaryCompany;
22901
- readonly beneficiary?: string;
22902
- readonly business_url: string;
22903
- readonly business_description?: string;
22904
- readonly business_address?: io.flow.common.v0.models.Address;
22905
- readonly refund_percentage: number;
22906
- readonly chargeback_percentage: number;
22907
- }
22908
-
22909
- interface ShopifyMarketsPreparerDetails {
22910
- readonly name: string;
22911
- readonly title: string;
22912
- readonly company: string;
22913
- }
22914
-
22915
- interface ShopifyMarketsProductLogistics {
22916
- readonly trade_sector: io.flow.internal.v0.enums.ShopifyMarketsTradeSector;
22917
- readonly other_trade_sector?: string;
22918
- readonly ship_internationally: boolean;
22919
- readonly hts_number_available?: io.flow.internal.v0.enums.ShopifyMarketsHtsNumberAvailable;
22920
- readonly shipped_prohibited_products_before: boolean;
22921
- readonly third_party_logistics_partner: io.flow.internal.v0.models.ThirdPartyLogisticsPartner;
22922
- readonly third_party_logistics_pick_up_time_window: io.flow.internal.v0.models.ThirdPartyLogisticsPickUpTimeWindow;
22923
- readonly pickup_location: io.flow.common.v0.models.BillingAddress;
22924
- readonly pickup_instructions?: string;
22925
- readonly operations_contact: io.flow.common.v0.models.Contact;
22926
- readonly average_order_weight: number;
22927
- readonly package_dimensions: io.flow.common.v0.models.Dimensions;
22928
- readonly average_order_value: number;
22929
- readonly maximum_order_value: number;
22930
- readonly monthly_average_volume: number;
22931
- readonly monthly_average_transactions: number;
22932
- readonly expected_international_markets: string[];
22933
- readonly any_dangerous_goods: io.flow.internal.v0.enums.AnyDangerousGoods;
22934
- readonly dangerous_goods?: io.flow.internal.v0.enums.ShopifyMarketsDangerousGoods[];
22935
- }
22936
-
22937
23039
  interface ShopifyMarketsShop {
22938
23040
  readonly id: string;
23041
+ readonly channel: io.flow.common.v0.models.ChannelReference;
22939
23042
  readonly domain: string;
22940
23043
  readonly myshopify_domain: string;
22941
23044
  readonly organization_id: string;
@@ -22959,6 +23062,7 @@ declare namespace io.flow.internal.v0.models {
22959
23062
 
22960
23063
  interface ShopifyMarketsShopSummary {
22961
23064
  readonly organization: io.flow.common.v0.models.OrganizationSummary;
23065
+ readonly channel: io.flow.common.v0.models.ChannelReference;
22962
23066
  }
22963
23067
 
22964
23068
  interface ShopifyMarketsSubsidiaryCompany {
@@ -23497,7 +23601,8 @@ declare namespace io.flow.internal.v0.models {
23497
23601
  readonly discriminator: 'subscription_transaction';
23498
23602
  readonly id: string;
23499
23603
  readonly type: io.flow.internal.v0.enums.BillingTransactionType;
23500
- readonly posted_at: string;
23604
+ readonly status: io.flow.internal.v0.enums.BillingTransactionStatus;
23605
+ readonly posted_at?: string;
23501
23606
  readonly value: io.flow.common.v0.models.Price;
23502
23607
  readonly description: string;
23503
23608
  readonly statement?: io.flow.internal.v0.models.BillingStatementReference;
@@ -23643,7 +23748,8 @@ declare namespace io.flow.internal.v0.models {
23643
23748
  readonly discriminator: 'tax_remittance_transaction';
23644
23749
  readonly id: string;
23645
23750
  readonly type: io.flow.internal.v0.enums.BillingTransactionType;
23646
- readonly posted_at: string;
23751
+ readonly status: io.flow.internal.v0.enums.BillingTransactionStatus;
23752
+ readonly posted_at?: string;
23647
23753
  readonly value: io.flow.common.v0.models.Price;
23648
23754
  readonly description: string;
23649
23755
  readonly statement?: io.flow.internal.v0.models.BillingStatementReference;
@@ -23855,36 +23961,12 @@ declare namespace io.flow.internal.v0.models {
23855
23961
  readonly id: string;
23856
23962
  }
23857
23963
 
23858
- interface TransferFeeTransaction {
23859
- readonly discriminator: 'transfer_fee_transaction';
23860
- readonly id: string;
23861
- readonly type: io.flow.internal.v0.enums.BillingTransactionType;
23862
- readonly posted_at: string;
23863
- readonly value: io.flow.common.v0.models.Price;
23864
- readonly description: string;
23865
- readonly statement?: io.flow.internal.v0.models.BillingStatementReference;
23866
- readonly created_at: string;
23867
- }
23868
-
23869
- interface TransferFeeTransactionDeleted {
23870
- readonly discriminator: 'transfer_fee_transaction_deleted';
23871
- readonly event_id: string;
23872
- readonly timestamp: string;
23873
- readonly id: string;
23874
- }
23875
-
23876
- interface TransferFeeTransactionUpserted {
23877
- readonly discriminator: 'transfer_fee_transaction_upserted';
23878
- readonly event_id: string;
23879
- readonly timestamp: string;
23880
- readonly transfer_fee_transaction: io.flow.internal.v0.models.TransferFeeTransaction;
23881
- }
23882
-
23883
23964
  interface TransferTransaction {
23884
23965
  readonly discriminator: 'transfer_transaction';
23885
23966
  readonly id: string;
23886
23967
  readonly type: io.flow.internal.v0.enums.BillingTransactionType;
23887
- readonly posted_at: string;
23968
+ readonly status: io.flow.internal.v0.enums.BillingTransactionStatus;
23969
+ readonly posted_at?: string;
23888
23970
  readonly value: io.flow.common.v0.models.Price;
23889
23971
  readonly description: string;
23890
23972
  readonly statement?: io.flow.internal.v0.models.BillingStatementReference;
@@ -24136,7 +24218,8 @@ declare namespace io.flow.internal.v0.models {
24136
24218
  readonly discriminator: 'virtual_card_transaction';
24137
24219
  readonly id: string;
24138
24220
  readonly type: io.flow.internal.v0.enums.BillingTransactionType;
24139
- readonly posted_at: string;
24221
+ readonly status: io.flow.internal.v0.enums.BillingTransactionStatus;
24222
+ readonly posted_at?: string;
24140
24223
  readonly value: io.flow.common.v0.models.Price;
24141
24224
  readonly description: string;
24142
24225
  readonly statement?: io.flow.internal.v0.models.BillingStatementReference;
@@ -24637,8 +24720,6 @@ declare namespace io.flow.internal.v0.unions {
24637
24720
  | io.flow.internal.v0.models.TransferTransactionDeleted
24638
24721
  | io.flow.internal.v0.models.TransferTransactionUpsertedV2
24639
24722
  | io.flow.internal.v0.models.TransferTransactionDeletedV2
24640
- | io.flow.internal.v0.models.TransferFeeTransactionUpserted
24641
- | io.flow.internal.v0.models.TransferFeeTransactionDeleted
24642
24723
  | io.flow.internal.v0.models.ProcessingTransactionUpserted
24643
24724
  | io.flow.internal.v0.models.ProcessingTransactionDeleted
24644
24725
  | io.flow.internal.v0.models.BankPaymentUpserted
@@ -24798,6 +24879,8 @@ declare namespace io.flow.internal.v0.unions {
24798
24879
  | io.flow.internal.v0.models.PaymentProcessorMerchantDeleted
24799
24880
  | io.flow.internal.v0.models.VirtualCardProviderUpserted
24800
24881
  | io.flow.internal.v0.models.VirtualCardProviderDeleted
24882
+ | io.flow.internal.v0.models.AuthorizationBundleUpserted
24883
+ | io.flow.internal.v0.models.AuthorizationBundleDeleted
24801
24884
  | io.flow.internal.v0.models.PaypalPaymentDeleted
24802
24885
  | io.flow.internal.v0.models.PaypalPaymentUpserted
24803
24886
  | io.flow.internal.v0.models.PaypalExecutionDeleted
@@ -24815,6 +24898,8 @@ declare namespace io.flow.internal.v0.unions {
24815
24898
  | io.flow.internal.v0.models.RatecardServiceFeeDeleted
24816
24899
  | io.flow.internal.v0.models.RatecardLaneAggregateUpserted
24817
24900
  | io.flow.internal.v0.models.RatecardLaneAggregateDeleted
24901
+ | io.flow.internal.v0.models.ProductRestrictionUpserted
24902
+ | io.flow.internal.v0.models.ProductRestrictionDeleted
24818
24903
  | io.flow.internal.v0.models.ShopifyShopUpserted
24819
24904
  | io.flow.internal.v0.models.ShopifyShopDeleted
24820
24905
  | io.flow.internal.v0.models.ShopifyExperienceShortIdUpserted
@@ -25068,12 +25153,12 @@ declare namespace io.flow.internal.v0.unions {
25068
25153
  | io.flow.internal.v0.models.ProcessingTransaction
25069
25154
  | io.flow.internal.v0.models.SubscriptionTransaction
25070
25155
  | io.flow.internal.v0.models.TaxRemittanceTransaction
25071
- | io.flow.internal.v0.models.TransferFeeTransaction
25072
25156
  | io.flow.internal.v0.models.TransferTransaction
25073
25157
  | io.flow.internal.v0.models.VirtualCardTransaction
25074
25158
  | io.flow.internal.v0.models.DisputeTransaction
25075
25159
  | io.flow.internal.v0.models.ChannelTransaction
25076
- | io.flow.internal.v0.models.LabelTransaction;
25160
+ | io.flow.internal.v0.models.LabelTransaction
25161
+ | io.flow.internal.v0.models.OrderTransaction;
25077
25162
  type TransactionSummary =
25078
25163
  | io.flow.internal.v0.models.PaymentSummaryV2
25079
25164
  | io.flow.internal.v0.models.FraudSummary;
@@ -25284,6 +25369,8 @@ export type BillingOrderDestination =
25284
25369
  io.flow.internal.v0.models.BillingOrderDestination;
25285
25370
  export type BillingOrderSummary =
25286
25371
  io.flow.internal.v0.models.BillingOrderSummary;
25372
+ export type BillingOrderTransactionOrderReference =
25373
+ io.flow.internal.v0.models.BillingOrderTransactionOrderReference;
25287
25374
  export type BillingOrganizationProcessingRates =
25288
25375
  io.flow.internal.v0.models.BillingOrganizationProcessingRates;
25289
25376
  export type BillingOrganizationProcessingRatesDeleted =
@@ -27346,6 +27433,8 @@ export type MainTransactionDeleted =
27346
27433
  io.flow.internal.v0.models.MainTransactionDeleted;
27347
27434
  export type MainTransactionDeletedV2 =
27348
27435
  io.flow.internal.v0.models.MainTransactionDeletedV2;
27436
+ export type MainTransactionStatus =
27437
+ io.flow.internal.v0.enums.MainTransactionStatus;
27349
27438
  export type MainTransactionUpserted =
27350
27439
  io.flow.internal.v0.models.MainTransactionUpserted;
27351
27440
  export type MainTransactionUpsertedV2 =
@@ -27469,6 +27558,14 @@ export type MerchantOfRecordEntitySettings =
27469
27558
  io.flow.internal.v0.models.MerchantOfRecordEntitySettings;
27470
27559
  export type MerchantOfRecordEntitySettingsForm =
27471
27560
  io.flow.internal.v0.models.MerchantOfRecordEntitySettingsForm;
27561
+ export type MerchantOnboardingProcessKey =
27562
+ io.flow.internal.v0.enums.MerchantOnboardingProcessKey;
27563
+ export type MerchantOnboardingProcessState =
27564
+ io.flow.internal.v0.enums.MerchantOnboardingProcessState;
27565
+ export type MerchantOnboardingTaskKey =
27566
+ io.flow.internal.v0.enums.MerchantOnboardingTaskKey;
27567
+ export type MerchantOnboardingTaskState =
27568
+ io.flow.internal.v0.enums.MerchantOnboardingTaskState;
27472
27569
  export type NatureOfSale = io.flow.internal.v0.enums.NatureOfSale;
27473
27570
  export type NextBillingStatement =
27474
27571
  io.flow.internal.v0.models.NextBillingStatement;
@@ -27479,10 +27576,6 @@ export type NoClassificationForm =
27479
27576
  export type NoLiabilityReasonCode =
27480
27577
  io.flow.internal.v0.enums.NoLiabilityReasonCode;
27481
27578
  export type Notification = io.flow.internal.v0.models.Notification;
27482
- export type Onboarding = io.flow.internal.v0.models.Onboarding;
27483
- export type OnboardingClassification =
27484
- io.flow.internal.v0.models.OnboardingClassification;
27485
- export type OnboardingForm = io.flow.internal.v0.models.OnboardingForm;
27486
27579
  export type OneTimeTokenRedemptionForm =
27487
27580
  io.flow.internal.v0.models.OneTimeTokenRedemptionForm;
27488
27581
  export type OnlineAuthorizationCompleted =
@@ -27539,6 +27632,7 @@ export type OrderServiceChangeCsvForm =
27539
27632
  export type OrderShipped = io.flow.internal.v0.models.OrderShipped;
27540
27633
  export type OrderSubmissionForm =
27541
27634
  io.flow.internal.v0.models.OrderSubmissionForm;
27635
+ export type OrderTransaction = io.flow.internal.v0.models.OrderTransaction;
27542
27636
  export type OrganizationAccount =
27543
27637
  io.flow.internal.v0.models.OrganizationAccount;
27544
27638
  export type OrganizationAccountDeleted =
@@ -27577,6 +27671,8 @@ export type OrganizationPaymentSettingVersion =
27577
27671
  io.flow.internal.v0.models.OrganizationPaymentSettingVersion;
27578
27672
  export type OrganizationPaymentStatus =
27579
27673
  io.flow.internal.v0.enums.OrganizationPaymentStatus;
27674
+ export type OrganizationRestrictionSummary =
27675
+ io.flow.internal.v0.models.OrganizationRestrictionSummary;
27580
27676
  export type OrganizationSettings =
27581
27677
  io.flow.internal.v0.models.OrganizationSettings;
27582
27678
  export type OrganizationSettingsForm =
@@ -27746,6 +27842,17 @@ export type ProductHarmonizationForm =
27746
27842
  export type ProductLabels = io.flow.internal.v0.models.ProductLabels;
27747
27843
  export type ProductListSettingsForm =
27748
27844
  io.flow.internal.v0.models.ProductListSettingsForm;
27845
+ export type ProductRestriction = io.flow.internal.v0.models.ProductRestriction;
27846
+ export type ProductRestrictionDecision =
27847
+ io.flow.internal.v0.models.ProductRestrictionDecision;
27848
+ export type ProductRestrictionDecisionForm =
27849
+ io.flow.internal.v0.models.ProductRestrictionDecisionForm;
27850
+ export type ProductRestrictionDeleted =
27851
+ io.flow.internal.v0.models.ProductRestrictionDeleted;
27852
+ export type ProductRestrictionStatus =
27853
+ io.flow.internal.v0.enums.ProductRestrictionStatus;
27854
+ export type ProductRestrictionUpserted =
27855
+ io.flow.internal.v0.models.ProductRestrictionUpserted;
27749
27856
  export type PromptAction = io.flow.internal.v0.enums.PromptAction;
27750
27857
  export type PromptCheckoutDisplayPosition =
27751
27858
  io.flow.internal.v0.enums.PromptCheckoutDisplayPosition;
@@ -27837,6 +27944,19 @@ export type ReportInterval = io.flow.internal.v0.enums.ReportInterval;
27837
27944
  export type ReportingScheme = io.flow.internal.v0.enums.ReportingScheme;
27838
27945
  export type RequeueRequestForm = io.flow.internal.v0.models.RequeueRequestForm;
27839
27946
  export type ResponsibleParty = io.flow.internal.v0.enums.ResponsibleParty;
27947
+ export type RestrictionAction = io.flow.internal.v0.enums.RestrictionAction;
27948
+ export type RestrictionDecision = io.flow.internal.v0.enums.RestrictionDecision;
27949
+ export type RestrictionItem = io.flow.internal.v0.models.RestrictionItem;
27950
+ export type RestrictionKeywords =
27951
+ io.flow.internal.v0.models.RestrictionKeywords;
27952
+ export type RestrictionPending = io.flow.internal.v0.models.RestrictionPending;
27953
+ export type RestrictionProduct = io.flow.internal.v0.models.RestrictionProduct;
27954
+ export type RestrictionReview = io.flow.internal.v0.models.RestrictionReview;
27955
+ export type RestrictionRule = io.flow.internal.v0.models.RestrictionRule;
27956
+ export type RestrictionRuleForm =
27957
+ io.flow.internal.v0.models.RestrictionRuleForm;
27958
+ export type RestrictionRuleSummary =
27959
+ io.flow.internal.v0.models.RestrictionRuleSummary;
27840
27960
  export type ResyncByDestinations =
27841
27961
  io.flow.internal.v0.models.ResyncByDestinations;
27842
27962
  export type ResyncByHs6Destinations =
@@ -27928,20 +28048,12 @@ export type ShopifyGiftCardReversalForm =
27928
28048
  io.flow.internal.v0.models.ShopifyGiftCardReversalForm;
27929
28049
  export type ShopifyGrantStatus = io.flow.internal.v0.enums.ShopifyGrantStatus;
27930
28050
  export type ShopifyGrantsCheck = io.flow.internal.v0.models.ShopifyGrantsCheck;
27931
- export type ShopifyMarketsBankAccountDetails =
27932
- io.flow.internal.v0.models.ShopifyMarketsBankAccountDetails;
27933
28051
  export type ShopifyMarketsDangerousGoods =
27934
28052
  io.flow.internal.v0.enums.ShopifyMarketsDangerousGoods;
27935
28053
  export type ShopifyMarketsHtsNumberAvailable =
27936
28054
  io.flow.internal.v0.enums.ShopifyMarketsHtsNumberAvailable;
27937
28055
  export type ShopifyMarketsIncorporationCountry =
27938
28056
  io.flow.internal.v0.models.ShopifyMarketsIncorporationCountry;
27939
- export type ShopifyMarketsOnboardingPaymentProcessing =
27940
- io.flow.internal.v0.models.ShopifyMarketsOnboardingPaymentProcessing;
27941
- export type ShopifyMarketsPreparerDetails =
27942
- io.flow.internal.v0.models.ShopifyMarketsPreparerDetails;
27943
- export type ShopifyMarketsProductLogistics =
27944
- io.flow.internal.v0.models.ShopifyMarketsProductLogistics;
27945
28057
  export type ShopifyMarketsShop = io.flow.internal.v0.models.ShopifyMarketsShop;
27946
28058
  export type ShopifyMarketsShopForm =
27947
28059
  io.flow.internal.v0.models.ShopifyMarketsShopForm;
@@ -28051,6 +28163,8 @@ export type SpotRateMetadataRate =
28051
28163
  export type SpotRateUpserted = io.flow.internal.v0.models.SpotRateUpserted;
28052
28164
  export type SpotRateVersion = io.flow.internal.v0.models.SpotRateVersion;
28053
28165
  export type StatementStatus = io.flow.internal.v0.enums.StatementStatus;
28166
+ export type StatementTransferTransactionLocation =
28167
+ io.flow.internal.v0.enums.StatementTransferTransactionLocation;
28054
28168
  export type StatisticType = io.flow.internal.v0.enums.StatisticType;
28055
28169
  export type Status = io.flow.internal.v0.enums.Status;
28056
28170
  export type StoreConnection = io.flow.internal.v0.models.StoreConnection;
@@ -28198,15 +28312,11 @@ export type TrackingResponseUpserted =
28198
28312
  io.flow.internal.v0.models.TrackingResponseUpserted;
28199
28313
  export type TrackingUpserted = io.flow.internal.v0.models.TrackingUpserted;
28200
28314
  export type Transaction = io.flow.internal.v0.unions.Transaction;
28315
+ export type TransactionPostingMethod =
28316
+ io.flow.internal.v0.enums.TransactionPostingMethod;
28201
28317
  export type TransactionReference =
28202
28318
  io.flow.internal.v0.models.TransactionReference;
28203
28319
  export type TransactionSummary = io.flow.internal.v0.unions.TransactionSummary;
28204
- export type TransferFeeTransaction =
28205
- io.flow.internal.v0.models.TransferFeeTransaction;
28206
- export type TransferFeeTransactionDeleted =
28207
- io.flow.internal.v0.models.TransferFeeTransactionDeleted;
28208
- export type TransferFeeTransactionUpserted =
28209
- io.flow.internal.v0.models.TransferFeeTransactionUpserted;
28210
28320
  export type TransferMethod = io.flow.internal.v0.enums.TransferMethod;
28211
28321
  export type TransferTransaction =
28212
28322
  io.flow.internal.v0.models.TransferTransaction;