@flowio/types 11.19.34 → 11.20.0

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.
@@ -257,72 +257,6 @@ declare namespace io.flow.RESERVED_WORD_return.v0.unions {
257
257
  | io.flow.RESERVED_WORD_return.v0.models.ReturnSourceExternalVendor;
258
258
  }
259
259
 
260
- declare namespace io.flow.order.price.v0.enums {
261
- type OrderPriceDetailComponentKey =
262
- | 'adjustment'
263
- | 'vat_deminimis'
264
- | 'duty_deminimis'
265
- | 'duties_item_price'
266
- | 'duties_freight'
267
- | 'duties_insurance'
268
- | 'vat_item_price'
269
- | 'vat_freight'
270
- | 'vat_insurance'
271
- | 'vat_duties_item_price'
272
- | 'vat_duties_freight'
273
- | 'vat_duties_insurance'
274
- | 'item_price'
275
- | 'item_discount'
276
- | 'rounding'
277
- | 'insurance'
278
- | 'shipping'
279
- | 'shipping_discount'
280
- | 'order_discount'
281
- | 'subtotal_percent_sales_margin'
282
- | 'subtotal_vat_percent_sales_margin'
283
- | 'subtotal_duty_percent_sales_margin'
284
- | 'vat_subsidy'
285
- | 'duty_subsidy'
286
- | 'remote_area_surcharge'
287
- | 'fuel_surcharge'
288
- | 'emergency_situation_surcharge'
289
- | 'peak_surcharge'
290
- | 'duties_taxes_paid_surcharge';
291
- type OrderPriceDetailKey =
292
- | 'adjustment'
293
- | 'subtotal'
294
- | 'vat'
295
- | 'duty'
296
- | 'shipping'
297
- | 'insurance'
298
- | 'discount'
299
- | 'surcharges';
300
- }
301
-
302
- declare namespace io.flow.order.price.v0.models {
303
- interface OrderPriceDetail {
304
- readonly key: io.flow.order.price.v0.enums.OrderPriceDetailKey;
305
- readonly currency: string;
306
- readonly amount: number;
307
- readonly label: string;
308
- readonly base: io.flow.common.v0.models.Price;
309
- readonly components: io.flow.order.price.v0.models.OrderPriceDetailComponent[];
310
- readonly name?: string;
311
- readonly rate?: number;
312
- readonly accuracy?: io.flow.price.v0.enums.PriceAccuracy;
313
- readonly rate_label?: string;
314
- }
315
-
316
- interface OrderPriceDetailComponent {
317
- readonly key: io.flow.order.price.v0.enums.OrderPriceDetailComponentKey;
318
- readonly currency: string;
319
- readonly amount: number;
320
- readonly label: string;
321
- readonly base: io.flow.common.v0.models.Price;
322
- readonly name?: string;
323
- }
324
- }
325
-
326
260
  declare namespace io.flow.common.v0.enums {
327
261
  type AttributeDataType =
328
262
  | 'boolean'
@@ -376,7 +310,11 @@ declare namespace io.flow.common.v0.enums {
376
310
  type MeasurementSystem = 'imperial' | 'metric';
377
311
  type MerchantOfRecord = 'flow' | 'organization';
378
312
  type OrderMerchantOfRecord = 'flow' | 'organization' | 'mixed';
379
- type OrganizationStatus = 'active' | 'inactive' | 'deactivated';
313
+ type OrganizationStatus =
314
+ | 'active'
315
+ | 'inactive'
316
+ | 'deactivated'
317
+ | 'provisioned';
380
318
  type PriceBookStatus = 'draft' | 'published' | 'archived';
381
319
  type Role = 'admin' | 'member';
382
320
  type RoundingMethod = 'up' | 'down' | 'nearest';
@@ -2126,6 +2064,51 @@ declare namespace io.flow.price.v0.unions {
2126
2064
  | io.flow.price.v0.models.DeminimisPerItem;
2127
2065
  }
2128
2066
 
2067
+ declare namespace io.flow.channel.v0.models {
2068
+ interface ChannelAuthorization {
2069
+ readonly placeholder?: string;
2070
+ }
2071
+
2072
+ interface ChannelAuthorizationForm {
2073
+ readonly channel_id: string;
2074
+ }
2075
+
2076
+ interface ChannelOrganization {
2077
+ readonly id: string;
2078
+ readonly organization: io.flow.common.v0.models.OrganizationReference;
2079
+ readonly key: string;
2080
+ readonly channel: io.flow.common.v0.models.ChannelReference;
2081
+ readonly name: string;
2082
+ readonly slug?: string;
2083
+ readonly defaults: io.flow.common.v0.models.OrganizationDefaults;
2084
+ readonly attributes?: Record<string, string>;
2085
+ }
2086
+
2087
+ interface ChannelOrganizationAuthorization {
2088
+ readonly placeholder?: string;
2089
+ }
2090
+
2091
+ interface ChannelOrganizationAuthorizationForm {
2092
+ readonly channel_id: string;
2093
+ readonly organization_id: string;
2094
+ }
2095
+
2096
+ interface ChannelOrganizationForm {
2097
+ readonly key: string;
2098
+ readonly name?: string;
2099
+ readonly slug?: string;
2100
+ readonly defaults: io.flow.common.v0.models.OrganizationDefaults;
2101
+ readonly attributes?: Record<string, string>;
2102
+ }
2103
+
2104
+ interface ChannelOrganizationPutForm {
2105
+ readonly name?: string;
2106
+ readonly slug?: string;
2107
+ readonly defaults: io.flow.common.v0.models.OrganizationDefaults;
2108
+ readonly attributes?: Record<string, string>;
2109
+ }
2110
+ }
2111
+
2129
2112
  declare namespace io.flow.reference.v0.enums {
2130
2113
  type PaymentMethodCapability = 'credit' | 'debit';
2131
2114
  type PaymentMethodType = 'card' | 'online' | 'offline';
@@ -2373,6 +2356,13 @@ declare namespace io.flow.tracking.v0.models {
2373
2356
  }
2374
2357
  }
2375
2358
 
2359
+ declare namespace io.flow.token.internal.v0.models {
2360
+ interface ChannelTokenForm {
2361
+ readonly channel_id: string;
2362
+ readonly description?: string;
2363
+ }
2364
+ }
2365
+
2376
2366
  declare namespace io.flow.RESERVED_WORD_export.v0.enums {
2377
2367
  type ExportStatus = 'created' | 'processing' | 'completed' | 'failed';
2378
2368
  type ItemIdentifier = 'item_number' | 'sku';
@@ -2971,6 +2961,7 @@ declare namespace io.flow.payment.v0.enums {
2971
2961
  type AuthorizationOption = 'store_card';
2972
2962
  type AuthorizationResultActionType = 'native' | 'redirect' | 'wait';
2973
2963
  type AuthorizationStatus =
2964
+ | 'initiated'
2974
2965
  | 'pending'
2975
2966
  | 'expired'
2976
2967
  | 'authorized'
@@ -4052,13 +4043,6 @@ declare namespace io.flow.stripe.v0.enums {
4052
4043
  | 'source.canceled'
4053
4044
  | 'source.chargeable'
4054
4045
  | 'source.failed';
4055
- type KlarnaPaymentMethodCategoryType =
4056
- | 'direct_bank_transfer'
4057
- | 'direct_debit'
4058
- | 'pay_later'
4059
- | 'pay_now'
4060
- | 'pay_over_time';
4061
- type KlarnaProduct = 'payment';
4062
4046
  type NetworkStatus =
4063
4047
  | 'approved_by_network'
4064
4048
  | 'declined_by_network'
@@ -4362,7 +4346,7 @@ declare namespace io.flow.stripe.v0.models {
4362
4346
  }
4363
4347
 
4364
4348
  interface OrderItem {
4365
- readonly object?: string;
4349
+ readonly object: string;
4366
4350
  readonly amount: number;
4367
4351
  readonly currency: string;
4368
4352
  readonly description?: string;
@@ -4604,7 +4588,7 @@ declare namespace io.flow.stripe.v0.models {
4604
4588
 
4605
4589
  interface Shipping {
4606
4590
  readonly address: io.flow.stripe.v0.models.Address;
4607
- readonly name?: string;
4591
+ readonly name: string;
4608
4592
  readonly phone?: string;
4609
4593
  }
4610
4594
 
@@ -4627,7 +4611,6 @@ declare namespace io.flow.stripe.v0.models {
4627
4611
  readonly status: io.flow.stripe.v0.enums.SourceStatus;
4628
4612
  readonly type: io.flow.stripe.v0.enums.SourceType;
4629
4613
  readonly usage: io.flow.stripe.v0.enums.SourceUsageType;
4630
- readonly source_order?: io.flow.stripe.v0.models.SourceOrder;
4631
4614
  }
4632
4615
 
4633
4616
  interface SourceCard {
@@ -4658,50 +4641,12 @@ declare namespace io.flow.stripe.v0.models {
4658
4641
  readonly first_name?: string;
4659
4642
  readonly last_name?: string;
4660
4643
  readonly client_token: string;
4661
- readonly payment_method_categories?: string;
4662
- readonly purchase_country?: string;
4663
- readonly shipping_first_name?: string;
4664
- readonly shipping_last_name?: string;
4665
- readonly locale?: string;
4666
- readonly pay_later_name?: string;
4667
- readonly pay_later_asset_urls_standard?: string;
4668
- readonly pay_later_asset_urls_descriptive?: string;
4669
- readonly pay_now_name?: string;
4670
- readonly pay_now_asset_urls_standard?: string;
4671
- readonly pay_now_asset_urls_descriptive?: string;
4672
- readonly pay_over_time_name?: string;
4673
- readonly pay_over_time_asset_urls_standard?: string;
4674
- readonly pay_over_time_asset_urls_descriptive?: string;
4675
- readonly direct_bank_transfer_name?: string;
4676
- readonly direct_bank_transfer_asset_urls_standard?: string;
4677
- readonly direct_bank_transfer_asset_urls_descriptive?: string;
4678
- readonly direct_debit_name?: string;
4679
- readonly direct_debit_asset_urls_standard?: string;
4680
- readonly direct_debit_asset_urls_descriptive?: string;
4681
4644
  }
4682
4645
 
4683
4646
  interface SourceKlarnaRequest {
4684
4647
  readonly first_name: string;
4685
4648
  readonly last_name: string;
4686
- readonly purchase_country?: string;
4687
- readonly product?: io.flow.stripe.v0.enums.KlarnaProduct;
4688
4649
  readonly attachment?: string;
4689
- readonly shipping_first_name?: string;
4690
- readonly shipping_last_name?: string;
4691
- readonly locale?: string;
4692
- }
4693
-
4694
- interface SourceOrder {
4695
- readonly amount?: number;
4696
- readonly currency?: string;
4697
- readonly email?: string;
4698
- readonly items?: io.flow.stripe.v0.models.OrderItem[];
4699
- readonly shipping?: io.flow.stripe.v0.models.Shipping;
4700
- }
4701
-
4702
- interface SourceOrderRequest {
4703
- readonly items?: io.flow.stripe.v0.models.OrderItemRequest[];
4704
- readonly shipping?: io.flow.stripe.v0.models.Shipping;
4705
4650
  }
4706
4651
 
4707
4652
  interface SourceRequest {
@@ -4719,7 +4664,6 @@ declare namespace io.flow.stripe.v0.models {
4719
4664
  readonly three_d_secure?: io.flow.stripe.v0.models.ThreeDSecure;
4720
4665
  readonly token?: string;
4721
4666
  readonly usage: io.flow.stripe.v0.enums.SourceUsageType;
4722
- readonly source_order?: io.flow.stripe.v0.models.SourceOrderRequest;
4723
4667
  }
4724
4668
 
4725
4669
  interface Stripe3Ds2Fingerprint {
@@ -4932,12 +4876,6 @@ declare namespace io.flow.label.v0.models {
4932
4876
  readonly shipment_recipient?: io.flow.label.v0.enums.ShipmentRecipient;
4933
4877
  }
4934
4878
 
4935
- interface FlowShippingLabelRatecardSummary {
4936
- readonly discriminator: 'flow';
4937
- readonly id: string;
4938
- readonly cost: io.flow.common.v0.models.Money;
4939
- }
4940
-
4941
4879
  interface LabelOrderSummary {
4942
4880
  readonly id: string;
4943
4881
  readonly number: string;
@@ -4956,15 +4894,9 @@ declare namespace io.flow.label.v0.models {
4956
4894
  readonly service?: string;
4957
4895
  }
4958
4896
 
4959
- interface OrganizationShippingLabelRatecardSummary {
4960
- readonly discriminator: 'organization';
4961
- readonly id: string;
4962
- readonly cost?: io.flow.common.v0.models.Money;
4963
- }
4964
-
4965
4897
  interface ShippingLabel {
4966
4898
  readonly id: string;
4967
- readonly ratecard?: io.flow.label.v0.unions.ShippingLabelRatecardSummary;
4899
+ readonly hop?: io.flow.label.v0.models.ShippingLabelHopSummary;
4968
4900
  readonly attributes: Record<string, string>;
4969
4901
  readonly carrier_tracking_number: string;
4970
4902
  readonly carrier_tracking_number_url: string;
@@ -4995,12 +4927,27 @@ declare namespace io.flow.label.v0.models {
4995
4927
  readonly required: boolean;
4996
4928
  }
4997
4929
 
4930
+ interface ShippingLabelHopSummary {
4931
+ readonly lane: io.flow.label.v0.models.ShippingLabelLaneSummary;
4932
+ readonly cost: io.flow.common.v0.models.Money;
4933
+ }
4934
+
4935
+ interface ShippingLabelLaneSummary {
4936
+ readonly id: string;
4937
+ readonly ratecard: io.flow.label.v0.models.ShippingLabelRatecardSummary;
4938
+ }
4939
+
4998
4940
  interface ShippingLabelPackage {
4999
4941
  readonly dimensions: io.flow.common.v0.models.Dimension;
5000
4942
  readonly items: io.flow.common.v0.models.LineItemForm[];
5001
4943
  readonly reference_number?: string;
5002
4944
  }
5003
4945
 
4946
+ interface ShippingLabelRatecardSummary {
4947
+ readonly id: string;
4948
+ readonly ratecard_owner: io.flow.fulfillment.v0.enums.RatecardOwner;
4949
+ }
4950
+
5004
4951
  interface ShippingLabelSummary {
5005
4952
  readonly id: string;
5006
4953
  readonly flow_tracking_number: string;
@@ -5069,9 +5016,6 @@ declare namespace io.flow.label.v0.unions {
5069
5016
  type ShippingLabelForm =
5070
5017
  | io.flow.label.v0.models.DetailedShippingLabelForm
5071
5018
  | io.flow.label.v0.models.SummaryShippingLabelForm;
5072
- type ShippingLabelRatecardSummary =
5073
- | io.flow.label.v0.models.FlowShippingLabelRatecardSummary
5074
- | io.flow.label.v0.models.OrganizationShippingLabelRatecardSummary;
5075
5019
  type ShippingNotificationForm =
5076
5020
  | io.flow.label.v0.models.DetailedShippingNotificationForm
5077
5021
  | io.flow.label.v0.models.SinglePackageShippingNotificationForm
@@ -6073,7 +6017,7 @@ declare namespace io.flow.brickftp.v0.models {
6073
6017
  readonly id: number;
6074
6018
  readonly path: string;
6075
6019
  readonly behavior: io.flow.brickftp.v0.enums.BehaviorType;
6076
- readonly value: any /*object*/;
6020
+ readonly value: string[];
6077
6021
  }
6078
6022
 
6079
6023
  interface BehaviorForm {
@@ -6312,11 +6256,6 @@ declare namespace io.flow.adyen.v0.models {
6312
6256
  readonly currency: string;
6313
6257
  }
6314
6258
 
6315
- interface Applepay {
6316
- readonly type: 'applepay';
6317
- readonly applePayToken: string;
6318
- }
6319
-
6320
6259
  interface Authentication {
6321
6260
  readonly 'threeds2.fingerprintToken'?: string;
6322
6261
  readonly 'threeds2.challengeToken'?: string;
@@ -6500,14 +6439,6 @@ declare namespace io.flow.adyen.v0.models {
6500
6439
  readonly paymentData?: string;
6501
6440
  }
6502
6441
 
6503
- interface PaymentDetailsV663Ds2Challenge {
6504
- readonly 'threeds2.challengeResult': string;
6505
- }
6506
-
6507
- interface PaymentDetailsV663Ds2Fingerprint {
6508
- readonly 'threeds2.fingerprint': string;
6509
- }
6510
-
6511
6442
  interface PaymentRequest {
6512
6443
  readonly reference: string;
6513
6444
  readonly merchantAccount: string;
@@ -6529,7 +6460,7 @@ declare namespace io.flow.adyen.v0.models {
6529
6460
  readonly browserInfo?: io.flow.adyen.v0.unions.BrowserInfo;
6530
6461
  readonly origin?: string;
6531
6462
  readonly channel?: io.flow.adyen.v0.enums.Channel;
6532
- readonly returnUrl?: string;
6463
+ readonly returnURL?: string;
6533
6464
  }
6534
6465
 
6535
6466
  interface PaymentResponse {
@@ -6585,15 +6516,6 @@ declare namespace io.flow.adyen.v0.models {
6585
6516
  readonly cvc?: string;
6586
6517
  }
6587
6518
 
6588
- interface SdkV3OnCompleteData {
6589
- readonly details: any /*object*/;
6590
- readonly payment_data?: string;
6591
- }
6592
-
6593
- interface SdkV3OnCompleteResult {
6594
- readonly data: io.flow.adyen.v0.models.SdkV3OnCompleteData;
6595
- }
6596
-
6597
6519
  interface ThreeDSecureData {
6598
6520
  readonly authenticationResponse?: string;
6599
6521
  readonly cavv?: string;
@@ -6625,9 +6547,7 @@ declare namespace io.flow.adyen.v0.unions {
6625
6547
  type BrowserInfo =
6626
6548
  | io.flow.adyen.v0.models.BrowserInfo3Ds1
6627
6549
  | io.flow.adyen.v0.models.BrowserInfo3Ds2;
6628
- type PaymentMethodData =
6629
- | io.flow.adyen.v0.models.Scheme
6630
- | io.flow.adyen.v0.models.Applepay;
6550
+ type PaymentMethodData = io.flow.adyen.v0.models.Scheme;
6631
6551
  }
6632
6552
 
6633
6553
  declare namespace io.flow.order.management.v0.enums {
@@ -7687,6 +7607,13 @@ declare namespace io.flow.shopify.external.v0.models {
7687
7607
 
7688
7608
  declare namespace io.flow.shopify.markets.v0.enums {
7689
7609
  type CancelReason = 'customer' | 'fraud' | 'inventory' | 'declined' | 'other';
7610
+ type FulfillmentOrderDeliveryMethodType =
7611
+ | 'local'
7612
+ | 'none'
7613
+ | 'pick_up'
7614
+ | 'retail'
7615
+ | 'shipping';
7616
+ type IncotermDuties = 'DAP' | 'DDP';
7690
7617
  type ShopifyDiscrepancyReason = 'restock' | 'damage' | 'customer' | 'other';
7691
7618
  type ShopifyOrderCancelReason =
7692
7619
  | 'customer'
@@ -7717,6 +7644,23 @@ declare namespace io.flow.shopify.markets.v0.enums {
7717
7644
  | 'partially_refunded'
7718
7645
  | 'refunded'
7719
7646
  | 'voided';
7647
+ type ShopifyOrderFulfillmentOrderRequestStatus =
7648
+ | 'unsubmitted'
7649
+ | 'submitted'
7650
+ | 'accepted'
7651
+ | 'rejected'
7652
+ | 'cancellation_requested'
7653
+ | 'cancellation_accepted'
7654
+ | 'cancellation_rejected'
7655
+ | 'closed';
7656
+ type ShopifyOrderFulfillmentOrderStatus =
7657
+ | 'open'
7658
+ | 'in_progress'
7659
+ | 'scheduled'
7660
+ | 'cancelled'
7661
+ | 'on_hold'
7662
+ | 'incomplete'
7663
+ | 'closed';
7720
7664
  type ShopifyOrderFulfillmentShipmentStatus =
7721
7665
  | 'label_printed'
7722
7666
  | 'label_purchased'
@@ -7774,6 +7718,11 @@ declare namespace io.flow.shopify.markets.v0.enums {
7774
7718
  type ShopifyOrderValueType = 'string' | 'integer';
7775
7719
  type ShopifyWebhookFormat = 'json' | 'xml';
7776
7720
  type ShopifyWebhookTopic =
7721
+ | 'customers/redact'
7722
+ | 'customers/data_request'
7723
+ | 'locations/create'
7724
+ | 'locations/update'
7725
+ | 'locations/delete'
7777
7726
  | 'orders/cancelled'
7778
7727
  | 'orders/create'
7779
7728
  | 'orders/fulfilled'
@@ -7788,12 +7737,28 @@ declare namespace io.flow.shopify.markets.v0.enums {
7788
7737
  | 'refunds/create'
7789
7738
  | 'fulfillment_events/create'
7790
7739
  | 'fulfillment_events/delete'
7740
+ | 'shop/redact'
7791
7741
  | 'themes/create'
7792
7742
  | 'themes/publish'
7793
7743
  | 'themes/update';
7794
7744
  }
7795
7745
 
7796
7746
  declare namespace io.flow.shopify.markets.v0.models {
7747
+ interface FulfillmentOrderInternationalDuties {
7748
+ readonly incoterm: io.flow.shopify.markets.v0.enums.IncotermDuties;
7749
+ }
7750
+
7751
+ interface FulfillmentOrderLineItem {
7752
+ readonly id: number;
7753
+ readonly shop_id: number;
7754
+ readonly fulfillment_order_id: number;
7755
+ readonly line_item_id: number;
7756
+ readonly inventory_item_id: number;
7757
+ readonly quantity: number;
7758
+ readonly fulfillable_quantity: number;
7759
+ readonly variant_id: number;
7760
+ }
7761
+
7797
7762
  interface ResponseShopifyTransactions {
7798
7763
  readonly transactions: io.flow.shopify.markets.v0.models.ShopifyOrderTransaction[];
7799
7764
  }
@@ -7808,14 +7773,22 @@ declare namespace io.flow.shopify.markets.v0.models {
7808
7773
  }
7809
7774
 
7810
7775
  interface ShopifyFulfillmentOrder {
7811
- readonly assigned_location_id: number;
7812
- readonly line_items: io.flow.shopify.markets.v0.models.ShopifyFulfillmentOrderLineItem[];
7776
+ readonly id?: number;
7777
+ readonly assigned_location_id?: number;
7778
+ readonly international_duties?: io.flow.shopify.markets.v0.models.FulfillmentOrderInternationalDuties;
7779
+ readonly line_items?: io.flow.shopify.markets.v0.models.FulfillmentOrderLineItem[];
7780
+ readonly order_id?: number;
7813
7781
  }
7814
7782
 
7815
7783
  interface ShopifyFulfillmentOrderLineItem {
7816
7784
  readonly line_item_id: number;
7817
7785
  }
7818
7786
 
7787
+ interface ShopifyFulfillmentOrderOld {
7788
+ readonly assigned_location_id: number;
7789
+ readonly line_items: io.flow.shopify.markets.v0.models.ShopifyFulfillmentOrderLineItem[];
7790
+ }
7791
+
7819
7792
  interface ShopifyFulfillmentOrdersWrapper {
7820
7793
  readonly fulfillment_orders: io.flow.shopify.markets.v0.models.ShopifyFulfillmentOrder[];
7821
7794
  }
@@ -7871,6 +7844,10 @@ declare namespace io.flow.shopify.markets.v0.models {
7871
7844
  readonly localized_province_name?: string;
7872
7845
  }
7873
7846
 
7847
+ interface ShopifyLocationDelete {
7848
+ readonly id: number;
7849
+ }
7850
+
7874
7851
  interface ShopifyLocationsResponseWrapper {
7875
7852
  readonly locations: io.flow.shopify.markets.v0.models.ShopifyLocation[];
7876
7853
  }
@@ -7902,7 +7879,7 @@ declare namespace io.flow.shopify.markets.v0.models {
7902
7879
  readonly total_tax_set: io.flow.shopify.markets.v0.models.ShopifyOrderMoneySet;
7903
7880
  readonly current_total_tax_set: io.flow.shopify.markets.v0.models.ShopifyOrderMoneySet;
7904
7881
  readonly total_line_items_price_set: io.flow.shopify.markets.v0.models.ShopifyOrderMoneySet;
7905
- readonly customer: io.flow.shopify.markets.v0.models.ShopifyOrderCustomer;
7882
+ readonly customer?: io.flow.shopify.markets.v0.models.ShopifyOrderCustomer;
7906
7883
  readonly customer_locale?: string;
7907
7884
  readonly discount_applications: io.flow.shopify.markets.v0.models.ShopifyOrderDiscountApplication[];
7908
7885
  readonly discount_codes: io.flow.shopify.markets.v0.models.ShopifyOrderDiscountCode[];
@@ -8029,8 +8006,8 @@ declare namespace io.flow.shopify.markets.v0.models {
8029
8006
 
8030
8007
  interface ShopifyOrderDuty {
8031
8008
  readonly id: number;
8032
- readonly harmonized_system_code: string;
8033
- readonly country_code_of_origin: string;
8009
+ readonly harmonized_system_code?: string;
8010
+ readonly country_code_of_origin?: string;
8034
8011
  readonly price_set: io.flow.shopify.markets.v0.models.ShopifyOrderMoneySet;
8035
8012
  readonly tax_lines: io.flow.shopify.markets.v0.models.ShopifyOrderTaxLine[];
8036
8013
  }
@@ -8266,6 +8243,31 @@ declare namespace io.flow.shopify.markets.v0.models {
8266
8243
  readonly gateway: string;
8267
8244
  }
8268
8245
 
8246
+ interface ShopifyWebhookCustomersDataRequest {
8247
+ readonly shop_id: number;
8248
+ readonly shop_domain: string;
8249
+ readonly orders_requested: number[];
8250
+ readonly customer: io.flow.shopify.markets.v0.models.ShopifyWebhookCustomersRedactCustomer;
8251
+ readonly data_request: io.flow.shopify.markets.v0.models.ShopifyWebhookCustomersDataRequestId;
8252
+ }
8253
+
8254
+ interface ShopifyWebhookCustomersDataRequestId {
8255
+ readonly id: number;
8256
+ }
8257
+
8258
+ interface ShopifyWebhookCustomersRedact {
8259
+ readonly shop_id: number;
8260
+ readonly shop_domain: string;
8261
+ readonly customer: io.flow.shopify.markets.v0.models.ShopifyWebhookCustomersRedactCustomer;
8262
+ readonly orders_to_redact?: number[];
8263
+ }
8264
+
8265
+ interface ShopifyWebhookCustomersRedactCustomer {
8266
+ readonly id: number;
8267
+ readonly email?: string;
8268
+ readonly phone?: string;
8269
+ }
8270
+
8269
8271
  interface ShopifyWebhookRequest {
8270
8272
  readonly topic: io.flow.shopify.markets.v0.enums.ShopifyWebhookTopic;
8271
8273
  readonly address: string;
@@ -8293,6 +8295,11 @@ declare namespace io.flow.shopify.markets.v0.models {
8293
8295
  readonly webhook: io.flow.shopify.markets.v0.models.ShopifyWebhookResponse;
8294
8296
  }
8295
8297
 
8298
+ interface ShopifyWebhookShopRedact {
8299
+ readonly shop_id: number;
8300
+ readonly shop_domain: string;
8301
+ }
8302
+
8296
8303
  interface ShopifyWebhooksResponseWrapper {
8297
8304
  readonly webhooks: io.flow.shopify.markets.v0.models.ShopifyWebhookResponse[];
8298
8305
  }
@@ -8681,6 +8688,7 @@ declare namespace io.flow.payment.gateway.v0.models {
8681
8688
  readonly discounts?: io.flow.payment.gateway.v0.models.PaymentDiscount[];
8682
8689
  readonly tax?: io.flow.payment.gateway.v0.models.PaymentTax;
8683
8690
  readonly duty?: io.flow.payment.gateway.v0.models.PaymentDuty;
8691
+ readonly reference?: string;
8684
8692
  }
8685
8693
 
8686
8694
  interface OrderInformationDetails {
@@ -9106,6 +9114,146 @@ declare namespace io.flow.payment.gateway.v0.unions {
9106
9114
  | io.flow.payment.gateway.v0.models.AdyenV3ChallengeToken;
9107
9115
  }
9108
9116
 
9117
+ declare namespace io.flow.order.price.v0.enums {
9118
+ type OrderPriceDetailComponentKey =
9119
+ | 'adjustment'
9120
+ | 'vat_deminimis'
9121
+ | 'duty_deminimis'
9122
+ | 'duties_item_price'
9123
+ | 'duties_freight'
9124
+ | 'duties_insurance'
9125
+ | 'vat_item_price'
9126
+ | 'vat_freight'
9127
+ | 'vat_insurance'
9128
+ | 'vat_duties_item_price'
9129
+ | 'vat_duties_freight'
9130
+ | 'vat_duties_insurance'
9131
+ | 'item_price'
9132
+ | 'item_discount'
9133
+ | 'rounding'
9134
+ | 'insurance'
9135
+ | 'shipping'
9136
+ | 'shipping_discount'
9137
+ | 'order_discount'
9138
+ | 'subtotal_percent_sales_margin'
9139
+ | 'subtotal_vat_percent_sales_margin'
9140
+ | 'subtotal_duty_percent_sales_margin'
9141
+ | 'vat_subsidy'
9142
+ | 'duty_subsidy'
9143
+ | 'remote_area_surcharge'
9144
+ | 'fuel_surcharge'
9145
+ | 'emergency_situation_surcharge'
9146
+ | 'peak_surcharge'
9147
+ | 'duties_taxes_paid_surcharge';
9148
+ type OrderPriceDetailKey =
9149
+ | 'adjustment'
9150
+ | 'subtotal'
9151
+ | 'vat'
9152
+ | 'duty'
9153
+ | 'shipping'
9154
+ | 'insurance'
9155
+ | 'discount'
9156
+ | 'surcharges';
9157
+ }
9158
+
9159
+ declare namespace io.flow.order.price.v0.models {
9160
+ interface OrderPriceDetail {
9161
+ readonly key: io.flow.order.price.v0.enums.OrderPriceDetailKey;
9162
+ readonly currency: string;
9163
+ readonly amount: number;
9164
+ readonly label: string;
9165
+ readonly base: io.flow.common.v0.models.Price;
9166
+ readonly components: io.flow.order.price.v0.models.OrderPriceDetailComponent[];
9167
+ readonly name?: string;
9168
+ readonly rate?: number;
9169
+ readonly accuracy?: io.flow.price.v0.enums.PriceAccuracy;
9170
+ readonly rate_label?: string;
9171
+ }
9172
+
9173
+ interface OrderPriceDetailComponent {
9174
+ readonly key: io.flow.order.price.v0.enums.OrderPriceDetailComponentKey;
9175
+ readonly currency: string;
9176
+ readonly amount: number;
9177
+ readonly label: string;
9178
+ readonly base: io.flow.common.v0.models.Price;
9179
+ readonly name?: string;
9180
+ }
9181
+ }
9182
+
9183
+ declare namespace io.flow.channel.internal.v0.enums {
9184
+ type ChannelCurrencyCapability =
9185
+ | 'payment_authorizations'
9186
+ | 'settlement_currency';
9187
+ type ChannelOrderAcceptanceRejectionReason =
9188
+ | 'unsupported_origin_country'
9189
+ | 'unsupported_destination_country'
9190
+ | 'domestic_order'
9191
+ | 'order_contains_gift_card';
9192
+ type ChannelOrderAcceptanceStatus =
9193
+ | 'accepted'
9194
+ | 'rejected'
9195
+ | 'held_for_review'
9196
+ | 'reviewed';
9197
+ }
9198
+
9199
+ declare namespace io.flow.channel.internal.v0.models {
9200
+ interface Channel {
9201
+ readonly id: string;
9202
+ readonly name: string;
9203
+ readonly environment: io.flow.common.v0.enums.Environment;
9204
+ readonly organization_id_prefix?: string;
9205
+ }
9206
+
9207
+ interface ChannelCurrency {
9208
+ readonly id: string;
9209
+ readonly currency: string;
9210
+ readonly channel: io.flow.common.v0.models.ChannelReference;
9211
+ readonly capabilities: io.flow.channel.internal.v0.enums.ChannelCurrencyCapability[];
9212
+ }
9213
+
9214
+ interface ChannelCurrencyForm {
9215
+ readonly currency: string;
9216
+ readonly channel_id: string;
9217
+ readonly capabilities: io.flow.channel.internal.v0.enums.ChannelCurrencyCapability[];
9218
+ }
9219
+
9220
+ interface ChannelForm {
9221
+ readonly name: string;
9222
+ readonly environment: io.flow.common.v0.enums.Environment;
9223
+ readonly organization_id_prefix?: string;
9224
+ }
9225
+
9226
+ interface ChannelMembership {
9227
+ readonly id: string;
9228
+ readonly channel: io.flow.common.v0.models.ChannelReference;
9229
+ readonly user: io.flow.common.v0.unions.ExpandableUser;
9230
+ readonly role?: io.flow.common.v0.enums.Role;
9231
+ }
9232
+
9233
+ interface ChannelMembershipForm {
9234
+ readonly channel_id: string;
9235
+ readonly user_id: string;
9236
+ readonly role?: io.flow.common.v0.enums.Role;
9237
+ }
9238
+
9239
+ interface ChannelMembershipPutForm {
9240
+ readonly role?: io.flow.common.v0.enums.Role;
9241
+ }
9242
+
9243
+ interface ChannelOrderAcceptance {
9244
+ readonly id: string;
9245
+ readonly organization_id: string;
9246
+ readonly order_number: string;
9247
+ readonly channel_id: string;
9248
+ readonly status: io.flow.channel.internal.v0.enums.ChannelOrderAcceptanceStatus;
9249
+ readonly reasons: io.flow.channel.internal.v0.enums.ChannelOrderAcceptanceRejectionReason[];
9250
+ }
9251
+
9252
+ interface ChannelOrderAcceptanceForm {
9253
+ readonly status: io.flow.channel.internal.v0.enums.ChannelOrderAcceptanceStatus;
9254
+ }
9255
+ }
9256
+
9109
9257
  declare namespace io.flow.order.management.event.v0.models {
9110
9258
  interface FulfillmentItemAllocationDetails {
9111
9259
  readonly item_number: string;
@@ -9323,6 +9471,28 @@ declare namespace io.flow.ratecard.v0.models {
9323
9471
  readonly total: number;
9324
9472
  }
9325
9473
 
9474
+ interface HopEstimateV2 {
9475
+ readonly origin_address: io.flow.fulfillment.v0.models.ShippingAddress;
9476
+ readonly destination_address: io.flow.fulfillment.v0.models.ShippingAddress;
9477
+ readonly service: io.flow.ratecard.v0.models.RatecardServiceSummary;
9478
+ readonly shipment_window: io.flow.ratecard.v0.models.ShipmentWindow;
9479
+ readonly currency: string;
9480
+ readonly amount: number;
9481
+ readonly fees: io.flow.ratecard.v0.unions.RatecardFee[];
9482
+ readonly total: number;
9483
+ readonly lane: io.flow.ratecard.v0.models.LaneSummary;
9484
+ }
9485
+
9486
+ interface HopV2 {
9487
+ readonly hop_number: number;
9488
+ readonly hop_estimate: io.flow.ratecard.v0.models.HopEstimateV2;
9489
+ }
9490
+
9491
+ interface LaneSummary {
9492
+ readonly id: string;
9493
+ readonly ratecard: io.flow.ratecard.v0.models.RatecardSummary;
9494
+ }
9495
+
9326
9496
  interface OversizedShipmentRatecardFee {
9327
9497
  readonly discriminator: 'oversized_shipment_ratecard_fee';
9328
9498
  readonly weight_threshold: number;
@@ -9426,6 +9596,15 @@ declare namespace io.flow.ratecard.v0.models {
9426
9596
  readonly ratecard: io.flow.ratecard.v0.models.RatecardSummary;
9427
9597
  }
9428
9598
 
9599
+ interface RatecardEstimateV4 {
9600
+ readonly discriminator: 'ratecard_estimate_v4';
9601
+ readonly hops: io.flow.ratecard.v0.models.HopV2[];
9602
+ readonly delivered_duty: io.flow.common.v0.enums.DeliveredDuty;
9603
+ readonly dimensional_weight?: io.flow.common.v0.models.Measurement;
9604
+ readonly gravitational_weight?: io.flow.common.v0.models.Measurement;
9605
+ readonly line_items?: io.flow.common.v0.models.LineItemForm[];
9606
+ }
9607
+
9429
9608
  interface RatecardForm {
9430
9609
  readonly direction: io.flow.label.v0.enums.Direction;
9431
9610
  readonly effective_at: string;
@@ -9564,7 +9743,8 @@ declare namespace io.flow.ratecard.v0.unions {
9564
9743
  type RatecardEstimate =
9565
9744
  | io.flow.ratecard.v0.models.RatecardEstimateV1
9566
9745
  | io.flow.ratecard.v0.models.RatecardEstimateV2
9567
- | io.flow.ratecard.v0.models.RatecardEstimateV3;
9746
+ | io.flow.ratecard.v0.models.RatecardEstimateV3
9747
+ | io.flow.ratecard.v0.models.RatecardEstimateV4;
9568
9748
  type RatecardFee =
9569
9749
  | io.flow.ratecard.v0.models.DdpRatecardFee
9570
9750
  | io.flow.ratecard.v0.models.FuelSurchargeRatecardFee
@@ -9591,10 +9771,16 @@ declare namespace io.flow.token.v0.models {
9591
9771
  readonly channel: io.flow.common.v0.models.ChannelReference;
9592
9772
  readonly user: io.flow.common.v0.models.UserReference;
9593
9773
  readonly partial: string;
9774
+ readonly cleartext?: string;
9594
9775
  readonly created_at: string;
9595
9776
  readonly description?: string;
9596
9777
  }
9597
9778
 
9779
+ interface ChannelTokenForm {
9780
+ readonly channel_id: string;
9781
+ readonly description?: string;
9782
+ }
9783
+
9598
9784
  interface ChannelTokenReference {
9599
9785
  readonly discriminator: 'channel_token_reference';
9600
9786
  readonly id: string;
@@ -9622,6 +9808,11 @@ declare namespace io.flow.token.v0.models {
9622
9808
  readonly description?: string;
9623
9809
  }
9624
9810
 
9811
+ interface OrganizationTokenFormV2 {
9812
+ readonly organization_id: string;
9813
+ readonly description?: string;
9814
+ }
9815
+
9625
9816
  interface OrganizationTokenReference {
9626
9817
  readonly discriminator: 'organization_token_reference';
9627
9818
  readonly id: string;
@@ -9630,6 +9821,23 @@ declare namespace io.flow.token.v0.models {
9630
9821
  readonly user: io.flow.common.v0.models.UserReference;
9631
9822
  }
9632
9823
 
9824
+ interface OrganizationTokenV2 {
9825
+ readonly discriminator: 'organization_token_v2';
9826
+ readonly id: string;
9827
+ readonly organization: io.flow.common.v0.models.OrganizationReference;
9828
+ readonly user: io.flow.common.v0.models.UserReference;
9829
+ readonly partial: string;
9830
+ readonly cleartext?: string;
9831
+ readonly created_at: string;
9832
+ readonly description?: string;
9833
+ }
9834
+
9835
+ interface OrganizationTokenV2Reference {
9836
+ readonly discriminator: 'organization_token_v2_reference';
9837
+ readonly id: string;
9838
+ readonly organization: io.flow.common.v0.models.OrganizationReference;
9839
+ }
9840
+
9633
9841
  interface PartnerToken {
9634
9842
  readonly discriminator: 'partner_token';
9635
9843
  readonly id: string;
@@ -9675,10 +9883,12 @@ declare namespace io.flow.token.v0.unions {
9675
9883
  type Token =
9676
9884
  | io.flow.token.v0.models.ChannelToken
9677
9885
  | io.flow.token.v0.models.OrganizationToken
9886
+ | io.flow.token.v0.models.OrganizationTokenV2
9678
9887
  | io.flow.token.v0.models.PartnerToken;
9679
9888
  type TokenReference =
9680
9889
  | io.flow.token.v0.models.ChannelTokenReference
9681
9890
  | io.flow.token.v0.models.OrganizationTokenReference
9891
+ | io.flow.token.v0.models.OrganizationTokenV2Reference
9682
9892
  | io.flow.token.v0.models.PartnerTokenReference;
9683
9893
  }
9684
9894
 
@@ -9769,14 +9979,10 @@ declare namespace io.flow.crypto.v0.models {
9769
9979
  readonly publishable_key: string;
9770
9980
  }
9771
9981
 
9772
- interface Error {
9773
- readonly type?: io.flow.crypto.v0.enums.ErrorType;
9774
- readonly code?: string;
9775
- readonly param?: string;
9776
- }
9777
-
9778
9982
  interface ErrorResponse {
9779
- readonly error?: io.flow.crypto.v0.models.Error;
9983
+ readonly type: io.flow.crypto.v0.enums.ErrorType;
9984
+ readonly code: string;
9985
+ readonly param: string;
9780
9986
  }
9781
9987
 
9782
9988
  interface Payment {
@@ -9796,6 +10002,7 @@ declare namespace io.flow.crypto.v0.models {
9796
10002
  readonly recipient: string;
9797
10003
  readonly refunded: boolean;
9798
10004
  readonly status: io.flow.crypto.v0.enums.PaymentStatus;
10005
+ readonly time_window: number;
9799
10006
  }
9800
10007
 
9801
10008
  interface PaymentRequest {
@@ -10529,6 +10736,7 @@ declare namespace io.flow.item.v0.models {
10529
10736
  readonly price: io.flow.catalog.v0.models.LocalizedItemPrice;
10530
10737
  readonly vat?: io.flow.catalog.v0.models.LocalizedItemVat;
10531
10738
  readonly duty?: io.flow.catalog.v0.models.LocalizedItemDuty;
10739
+ readonly shipping?: io.flow.common.v0.models.Price;
10532
10740
  readonly attributes: Record<string, io.flow.common.v0.models.PriceWithBase>;
10533
10741
  readonly price_attributes?: Record<
10534
10742
  string,
@@ -12223,6 +12431,16 @@ declare namespace io.flow.internal.v0.enums {
12223
12431
  type ChannelCurrencyCapability =
12224
12432
  | 'payment_authorizations'
12225
12433
  | 'settlement_currency';
12434
+ type ChannelOrderAcceptanceRejectionReason =
12435
+ | 'unsupported_origin_country'
12436
+ | 'unsupported_destination_country'
12437
+ | 'domestic_order'
12438
+ | 'order_contains_gift_card';
12439
+ type ChannelOrderAcceptanceStatus =
12440
+ | 'accepted'
12441
+ | 'rejected'
12442
+ | 'held_for_review'
12443
+ | 'reviewed';
12226
12444
  type ChargebackPaymentStatus = 'captured' | 'refunded';
12227
12445
  type ChargebackProcessStatus = 'inquiry' | 'open' | 'closed';
12228
12446
  type CheckoutAddAuthorizationErrorCode =
@@ -12254,8 +12472,8 @@ declare namespace io.flow.internal.v0.enums {
12254
12472
  | 'authorization_invalid_currency'
12255
12473
  | 'authorization_amount_exceeds_balance'
12256
12474
  | 'address_street1_required';
12257
- type CheckoutAddressSource = 'inputs' | 'address_book';
12258
- type CheckoutAddressType = 'shipping' | 'invoicing';
12475
+ type CheckoutAddressSource = 'inputs' | 'address_book' | 'same_as_shipping';
12476
+ type CheckoutAddressType = 'shipping' | 'billing' | 'invoicing';
12259
12477
  type CheckoutAssetType = 'stylesheet' | 'javascript';
12260
12478
  type CheckoutConnectByOrderQuoteErrorCode = 'order_quote_not_found';
12261
12479
  type CheckoutConnectBySessionErrorCode =
@@ -12517,6 +12735,7 @@ declare namespace io.flow.internal.v0.enums {
12517
12735
  type DeliveredDutyOptionMessageType = 'warning' | 'notification';
12518
12736
  type DeminimisAdjustmentType = 'none' | 'duty' | 'vat' | 'vat_and_duty';
12519
12737
  type DiscountRequestOrderEntitlementKey = 'subtotal';
12738
+ type DisputeBillable = 'flow' | 'organization';
12520
12739
  type DisputeCategory = 'friendly_fraud' | 'true_fraud' | 'processing_error';
12521
12740
  type DisputeEvidence = 'proof_of_delivery' | 'proof_of_fulfillment' | 'other';
12522
12741
  type DisputeImportStatus = 'new' | 'processing' | 'completed' | 'failed';
@@ -12560,7 +12779,8 @@ declare namespace io.flow.internal.v0.enums {
12560
12779
  | 'billable_label_upserted'
12561
12780
  | 'billable_label_deleted'
12562
12781
  | 'account_upserted'
12563
- | 'account_deleted'
12782
+ | 'account_upserted_v2'
12783
+ | 'account_deleted_v2'
12564
12784
  | 'account_contact_upserted'
12565
12785
  | 'account_contact_deleted'
12566
12786
  | 'billing_statement_upserted'
@@ -12569,16 +12789,24 @@ declare namespace io.flow.internal.v0.enums {
12569
12789
  | 'tax_remittance_transaction_deleted'
12570
12790
  | 'channel_transaction_upserted'
12571
12791
  | 'channel_transaction_deleted'
12792
+ | 'organization_account_upserted'
12793
+ | 'organization_account_deleted'
12572
12794
  | 'account_transactions_export_request'
12573
12795
  | 'account_orders_export_request'
12574
12796
  | 'main_transaction_upserted'
12575
12797
  | 'main_transaction_deleted'
12798
+ | 'main_transaction_upserted_v2'
12799
+ | 'main_transaction_deleted_v2'
12576
12800
  | 'transfer_transaction_upserted'
12577
12801
  | 'transfer_transaction_deleted'
12802
+ | 'transfer_transaction_upserted_v2'
12803
+ | 'transfer_transaction_deleted_v2'
12578
12804
  | 'processing_transaction_upserted'
12579
12805
  | 'processing_transaction_deleted'
12580
12806
  | 'bank_payment_upserted'
12581
12807
  | 'bank_payment_deleted'
12808
+ | 'bank_payment_upserted_v2'
12809
+ | 'bank_payment_deleted_v2'
12582
12810
  | 'carrier_account_upserted'
12583
12811
  | 'catalog_import_request'
12584
12812
  | 'exclusion_rule_upserted'
@@ -12589,6 +12817,7 @@ declare namespace io.flow.internal.v0.enums {
12589
12817
  | 'return_policy_deleted'
12590
12818
  | 'return_policy_item_result_upserted'
12591
12819
  | 'return_policy_item_result_deleted'
12820
+ | 'channel_order_acceptance_upserted'
12592
12821
  | 'checkout_configuration_upserted'
12593
12822
  | 'checkout_configuration_deleted'
12594
12823
  | 'localized_content_upserted'
@@ -12771,6 +13000,7 @@ declare namespace io.flow.internal.v0.enums {
12771
13000
  type FeatureScope = 'global' | 'organization';
12772
13001
  type FeatureStatus = 'draft' | 'active' | 'archived';
12773
13002
  type FeatureType = 'boolean' | 'decimal' | 'string';
13003
+ type FinancialReportingResponsibleParty = 'flow' | 'organization';
12774
13004
  type FlowApp = 'console';
12775
13005
  type Format = 'text' | 'phone' | 'email';
12776
13006
  type FraudProvider =
@@ -12908,6 +13138,7 @@ declare namespace io.flow.internal.v0.enums {
12908
13138
  | 'last_shipment'
12909
13139
  | 'shipment_exhausted';
12910
13140
  type OrderLifecycleEvent = 'order_placed' | 'ready_to_fulfill';
13141
+ type OrganizationCapability = 'organization' | 'flow' | 'dynamic';
12911
13142
  type Owner = 'flow' | 'organization';
12912
13143
  type PaymentSummaryStatus =
12913
13144
  | 'authorized'
@@ -12994,6 +13225,12 @@ declare namespace io.flow.internal.v0.enums {
12994
13225
  | 'end_and_revert'
12995
13226
  | 'do_nothing';
12996
13227
  type SimpleRoundingStrategy = 'no_rounding' | 'currency_precision';
13228
+ type StatementStatus =
13229
+ | 'created'
13230
+ | 'no_transactions'
13231
+ | 'transactions_assigned'
13232
+ | 'statement_generated'
13233
+ | 'statement_regenerated';
12997
13234
  type StatisticType =
12998
13235
  | 'time-to-classify'
12999
13236
  | 'time-to-classify-aggregated'
@@ -13066,11 +13303,10 @@ declare namespace io.flow.internal.v0.models {
13066
13303
  readonly account_contact: io.flow.internal.v0.models.AccountContact;
13067
13304
  }
13068
13305
 
13069
- interface AccountDeleted {
13070
- readonly discriminator: 'account_deleted';
13306
+ interface AccountDeletedV2 {
13307
+ readonly discriminator: 'account_deleted_v2';
13071
13308
  readonly event_id: string;
13072
13309
  readonly timestamp: string;
13073
- readonly organization: string;
13074
13310
  readonly id: string;
13075
13311
  }
13076
13312
 
@@ -13158,6 +13394,13 @@ declare namespace io.flow.internal.v0.models {
13158
13394
  readonly account: io.flow.internal.v0.models.Account;
13159
13395
  }
13160
13396
 
13397
+ interface AccountUpsertedV2 {
13398
+ readonly discriminator: 'account_upserted_v2';
13399
+ readonly event_id: string;
13400
+ readonly timestamp: string;
13401
+ readonly account: io.flow.internal.v0.models.Account;
13402
+ }
13403
+
13161
13404
  interface ActionQuantity {
13162
13405
  readonly action: io.flow.internal.v0.enums.ItemQuantityAction;
13163
13406
  readonly quantity: number;
@@ -13187,6 +13430,7 @@ declare namespace io.flow.internal.v0.models {
13187
13430
  readonly authentication: io.flow.internal.v0.models.AdyenAuthentication;
13188
13431
  readonly country: string;
13189
13432
  readonly status: io.flow.internal.v0.enums.ProcessorEntityStatus;
13433
+ readonly organization_capability: io.flow.internal.v0.enums.OrganizationCapability;
13190
13434
  readonly created_at: string;
13191
13435
  readonly updated_at: string;
13192
13436
  }
@@ -13329,6 +13573,7 @@ declare namespace io.flow.internal.v0.models {
13329
13573
  readonly processor_account_reference: io.flow.internal.v0.models.ProcessorAccountReference;
13330
13574
  readonly country: string;
13331
13575
  readonly status: io.flow.internal.v0.enums.ProcessorEntityStatus;
13576
+ readonly organization_capability: io.flow.internal.v0.enums.OrganizationCapability;
13332
13577
  readonly created_at: string;
13333
13578
  readonly updated_at: string;
13334
13579
  }
@@ -13407,6 +13652,7 @@ declare namespace io.flow.internal.v0.models {
13407
13652
  readonly country: string;
13408
13653
  readonly authentication: io.flow.internal.v0.models.AfterpayAuthentication;
13409
13654
  readonly status: io.flow.internal.v0.enums.ProcessorEntityStatus;
13655
+ readonly organization_capability: io.flow.internal.v0.enums.OrganizationCapability;
13410
13656
  readonly created_at: string;
13411
13657
  readonly updated_at: string;
13412
13658
  }
@@ -13652,6 +13898,13 @@ declare namespace io.flow.internal.v0.models {
13652
13898
  readonly bank_payment: io.flow.internal.v0.models.BankPayment;
13653
13899
  }
13654
13900
 
13901
+ interface BankPaymentDeletedV2 {
13902
+ readonly discriminator: 'bank_payment_deleted_v2';
13903
+ readonly event_id: string;
13904
+ readonly timestamp: string;
13905
+ readonly id: string;
13906
+ }
13907
+
13655
13908
  interface BankPaymentForm {
13656
13909
  readonly account_id: string;
13657
13910
  readonly reference?: string;
@@ -13670,6 +13923,13 @@ declare namespace io.flow.internal.v0.models {
13670
13923
  readonly bank_payment: io.flow.internal.v0.models.BankPayment;
13671
13924
  }
13672
13925
 
13926
+ interface BankPaymentUpsertedV2 {
13927
+ readonly discriminator: 'bank_payment_upserted_v2';
13928
+ readonly event_id: string;
13929
+ readonly timestamp: string;
13930
+ readonly bank_payment: io.flow.internal.v0.models.BankPayment;
13931
+ }
13932
+
13673
13933
  interface BillableLabel {
13674
13934
  readonly id: string;
13675
13935
  readonly tracking_label: io.flow.internal.v0.models.TrackingLabelReference;
@@ -13872,6 +14132,7 @@ declare namespace io.flow.internal.v0.models {
13872
14132
  readonly authentication: io.flow.internal.v0.models.BitpayAuthentication;
13873
14133
  readonly country: string;
13874
14134
  readonly status: io.flow.internal.v0.enums.ProcessorEntityStatus;
14135
+ readonly organization_capability: io.flow.internal.v0.enums.OrganizationCapability;
13875
14136
  readonly created_at: string;
13876
14137
  readonly updated_at: string;
13877
14138
  }
@@ -14280,6 +14541,50 @@ declare namespace io.flow.internal.v0.models {
14280
14541
  readonly organization_id_prefix?: string;
14281
14542
  }
14282
14543
 
14544
+ interface ChannelMembership {
14545
+ readonly id: string;
14546
+ readonly channel: io.flow.common.v0.models.ChannelReference;
14547
+ readonly user: io.flow.common.v0.unions.ExpandableUser;
14548
+ readonly role?: io.flow.common.v0.enums.Role;
14549
+ }
14550
+
14551
+ interface ChannelMembershipForm {
14552
+ readonly channel_id: string;
14553
+ readonly user_id: string;
14554
+ readonly role?: io.flow.common.v0.enums.Role;
14555
+ }
14556
+
14557
+ interface ChannelMembershipPutForm {
14558
+ readonly role?: io.flow.common.v0.enums.Role;
14559
+ }
14560
+
14561
+ interface ChannelOrderAcceptance {
14562
+ readonly id: string;
14563
+ readonly organization_id: string;
14564
+ readonly order_number: string;
14565
+ readonly channel_id: string;
14566
+ readonly status: io.flow.internal.v0.enums.ChannelOrderAcceptanceStatus;
14567
+ readonly reasons: io.flow.internal.v0.enums.ChannelOrderAcceptanceRejectionReason[];
14568
+ }
14569
+
14570
+ interface ChannelOrderAcceptanceForm {
14571
+ readonly status: io.flow.internal.v0.enums.ChannelOrderAcceptanceStatus;
14572
+ }
14573
+
14574
+ interface ChannelOrderAcceptanceUpserted {
14575
+ readonly discriminator: 'channel_order_acceptance_upserted';
14576
+ readonly event_id: string;
14577
+ readonly timestamp: string;
14578
+ readonly organization: string;
14579
+ readonly channel_id: string;
14580
+ readonly channel_order_acceptance: io.flow.internal.v0.models.ChannelOrderAcceptance;
14581
+ }
14582
+
14583
+ interface ChannelOrganizationShopifyForm {
14584
+ readonly form: io.flow.channel.v0.models.ChannelOrganizationForm;
14585
+ readonly metadata: io.flow.internal.v0.models.ShopifyMetadata;
14586
+ }
14587
+
14283
14588
  interface ChannelServiceFee {
14284
14589
  readonly tiers: io.flow.internal.v0.models.ChannelServiceFeeTier[];
14285
14590
  }
@@ -15416,6 +15721,7 @@ declare namespace io.flow.internal.v0.models {
15416
15721
  interface CheckoutOrderAddressBookInputs {
15417
15722
  readonly address_book: io.flow.internal.v0.models.CheckoutAddressBook;
15418
15723
  readonly shipping?: io.flow.internal.v0.models.CheckoutAddressBookContactReference;
15724
+ readonly billing?: io.flow.internal.v0.models.CheckoutAddressBookContactReference;
15419
15725
  readonly invoicing?: io.flow.internal.v0.models.CheckoutAddressBookContactReference;
15420
15726
  readonly edits?: io.flow.internal.v0.unions.CheckoutAddressBookEdit[];
15421
15727
  readonly save_shipping_address?: boolean;
@@ -15423,16 +15729,19 @@ declare namespace io.flow.internal.v0.models {
15423
15729
 
15424
15730
  interface CheckoutOrderAddressInputs {
15425
15731
  readonly shipping?: io.flow.internal.v0.models.CheckoutAddress;
15732
+ readonly billing?: io.flow.internal.v0.models.CheckoutAddress;
15426
15733
  readonly invoicing?: io.flow.internal.v0.models.CheckoutAddress;
15427
15734
  }
15428
15735
 
15429
15736
  interface CheckoutOrderAddressSourceInputs {
15430
15737
  readonly shipping?: io.flow.internal.v0.enums.CheckoutAddressSource;
15738
+ readonly billing?: io.flow.internal.v0.enums.CheckoutAddressSource;
15431
15739
  readonly invoicing?: io.flow.internal.v0.enums.CheckoutAddressSource;
15432
15740
  }
15433
15741
 
15434
15742
  interface CheckoutOrderAddresses {
15435
15743
  readonly shipping?: io.flow.internal.v0.models.CheckoutAddress;
15744
+ readonly billing?: io.flow.internal.v0.models.CheckoutAddress;
15436
15745
  readonly invoicing?: io.flow.internal.v0.models.CheckoutAddress;
15437
15746
  }
15438
15747
 
@@ -16680,6 +16989,7 @@ declare namespace io.flow.internal.v0.models {
16680
16989
  readonly authentication: io.flow.internal.v0.models.CryptoAuthentication;
16681
16990
  readonly country: string;
16682
16991
  readonly status: io.flow.internal.v0.enums.ProcessorEntityStatus;
16992
+ readonly organization_capability: io.flow.internal.v0.enums.OrganizationCapability;
16683
16993
  readonly created_at: string;
16684
16994
  readonly updated_at: string;
16685
16995
  }
@@ -16994,6 +17304,7 @@ declare namespace io.flow.internal.v0.models {
16994
17304
  readonly reason: string;
16995
17305
  readonly status: io.flow.internal.v0.enums.DisputeStatus;
16996
17306
  readonly liability: io.flow.internal.v0.enums.DisputeLiability;
17307
+ readonly billable: io.flow.internal.v0.enums.DisputeBillable;
16997
17308
  readonly details: io.flow.internal.v0.unions.DisputeDetails;
16998
17309
  readonly issued_at: string;
16999
17310
  readonly expires_at?: string;
@@ -17064,6 +17375,7 @@ declare namespace io.flow.internal.v0.models {
17064
17375
  readonly discriminator: 'dispute_transaction';
17065
17376
  readonly id: string;
17066
17377
  readonly type: io.flow.internal.v0.enums.BillingTransactionType;
17378
+ readonly authorization: io.flow.payment.v0.models.AuthorizationReference;
17067
17379
  readonly posted_at: string;
17068
17380
  readonly value: io.flow.common.v0.models.Price;
17069
17381
  readonly description: string;
@@ -17485,16 +17797,6 @@ declare namespace io.flow.internal.v0.models {
17485
17797
  readonly experiment: io.flow.internal.v0.unions.Experiment;
17486
17798
  }
17487
17799
 
17488
- interface ExplicitStatementDate {
17489
- readonly id: string;
17490
- readonly account: io.flow.internal.v0.models.AccountReference;
17491
- readonly date: string;
17492
- }
17493
-
17494
- interface ExplicitStatementDateForm {
17495
- readonly date: string;
17496
- }
17497
-
17498
17800
  interface ExportCompleted {
17499
17801
  readonly discriminator: 'export_completed';
17500
17802
  readonly event_id: string;
@@ -17730,6 +18032,25 @@ declare namespace io.flow.internal.v0.models {
17730
18032
  readonly mor: io.flow.internal.v0.models.Fee;
17731
18033
  }
17732
18034
 
18035
+ interface FinancialReportingStatement {
18036
+ readonly id: string;
18037
+ readonly statement_number: string;
18038
+ readonly status: io.flow.internal.v0.enums.StatementStatus;
18039
+ readonly transactions_start_date: string;
18040
+ readonly transactions_end_date: string;
18041
+ readonly organization_id?: string;
18042
+ readonly flow_entity_country_code?: string;
18043
+ readonly captures_url?: string;
18044
+ readonly refunds_url?: string;
18045
+ }
18046
+
18047
+ interface FinancialReportingStatementForm {
18048
+ readonly transactions_start_date: string;
18049
+ readonly transactions_end_date: string;
18050
+ readonly organization_id?: string;
18051
+ readonly flow_entity_country_code?: string;
18052
+ }
18053
+
17733
18054
  interface FiservAccount {
17734
18055
  readonly discriminator: 'fiserv_account';
17735
18056
  readonly id: string;
@@ -17740,6 +18061,7 @@ declare namespace io.flow.internal.v0.models {
17740
18061
  readonly authentication: io.flow.internal.v0.models.FiservAuthentication;
17741
18062
  readonly country: string;
17742
18063
  readonly status: io.flow.internal.v0.enums.ProcessorEntityStatus;
18064
+ readonly organization_capability: io.flow.internal.v0.enums.OrganizationCapability;
17743
18065
  readonly created_at: string;
17744
18066
  readonly updated_at: string;
17745
18067
  }
@@ -17787,6 +18109,7 @@ declare namespace io.flow.internal.v0.models {
17787
18109
  readonly funding_currency: string;
17788
18110
  readonly country: string;
17789
18111
  readonly status: io.flow.internal.v0.enums.ProcessorEntityStatus;
18112
+ readonly organization_capability: io.flow.internal.v0.enums.OrganizationCapability;
17790
18113
  readonly created_at: string;
17791
18114
  readonly updated_at: string;
17792
18115
  }
@@ -19813,6 +20136,13 @@ declare namespace io.flow.internal.v0.models {
19813
20136
  readonly main_transaction: io.flow.internal.v0.models.MainTransaction;
19814
20137
  }
19815
20138
 
20139
+ interface MainTransactionDeletedV2 {
20140
+ readonly discriminator: 'main_transaction_deleted_v2';
20141
+ readonly event_id: string;
20142
+ readonly timestamp: string;
20143
+ readonly id: string;
20144
+ }
20145
+
19816
20146
  interface MainTransactionUpserted {
19817
20147
  readonly discriminator: 'main_transaction_upserted';
19818
20148
  readonly event_id: string;
@@ -19821,6 +20151,13 @@ declare namespace io.flow.internal.v0.models {
19821
20151
  readonly main_transaction: io.flow.internal.v0.models.MainTransaction;
19822
20152
  }
19823
20153
 
20154
+ interface MainTransactionUpsertedV2 {
20155
+ readonly discriminator: 'main_transaction_upserted_v2';
20156
+ readonly event_id: string;
20157
+ readonly timestamp: string;
20158
+ readonly main_transaction: io.flow.internal.v0.models.MainTransaction;
20159
+ }
20160
+
19824
20161
  interface ManualReviewRule {
19825
20162
  readonly responsible_party: io.flow.internal.v0.enums.FraudReviewResponsibleParty;
19826
20163
  readonly status: io.flow.internal.v0.enums.ManualReviewRuleStatus;
@@ -20396,6 +20733,26 @@ declare namespace io.flow.internal.v0.models {
20396
20733
  readonly authorization?: io.flow.payment.v0.unions.AuthorizationForm;
20397
20734
  }
20398
20735
 
20736
+ interface OrganizationAccount {
20737
+ readonly id: string;
20738
+ readonly organization: io.flow.common.v0.models.OrganizationReference;
20739
+ readonly account: io.flow.internal.v0.models.SimpleAccountReference;
20740
+ }
20741
+
20742
+ interface OrganizationAccountDeleted {
20743
+ readonly discriminator: 'organization_account_deleted';
20744
+ readonly event_id: string;
20745
+ readonly timestamp: string;
20746
+ readonly id: string;
20747
+ }
20748
+
20749
+ interface OrganizationAccountUpserted {
20750
+ readonly discriminator: 'organization_account_upserted';
20751
+ readonly event_id: string;
20752
+ readonly timestamp: string;
20753
+ readonly organization_account: io.flow.internal.v0.models.OrganizationAccount;
20754
+ }
20755
+
20399
20756
  interface OrganizationBooleanValue {
20400
20757
  readonly id: string;
20401
20758
  readonly organization: io.flow.common.v0.models.OrganizationReference;
@@ -20453,6 +20810,10 @@ declare namespace io.flow.internal.v0.models {
20453
20810
  readonly organization_currency_setting: io.flow.internal.v0.models.OrganizationCurrencySetting;
20454
20811
  }
20455
20812
 
20813
+ interface OrganizationInvitationAcceptForm {
20814
+ readonly email: string;
20815
+ }
20816
+
20456
20817
  interface OrganizationMembershipCopy {
20457
20818
  readonly from: string;
20458
20819
  readonly to: string;
@@ -20638,6 +20999,7 @@ declare namespace io.flow.internal.v0.models {
20638
20999
  readonly country: string;
20639
21000
  readonly authentication: io.flow.internal.v0.models.PaypalAuthentication;
20640
21001
  readonly status: io.flow.internal.v0.enums.ProcessorEntityStatus;
21002
+ readonly organization_capability: io.flow.internal.v0.enums.OrganizationCapability;
20641
21003
  readonly created_at: string;
20642
21004
  readonly updated_at: string;
20643
21005
  }
@@ -20768,6 +21130,7 @@ declare namespace io.flow.internal.v0.models {
20768
21130
  readonly processor_account_reference: io.flow.internal.v0.models.ProcessorAccountReference;
20769
21131
  readonly country: string;
20770
21132
  readonly status: io.flow.internal.v0.enums.ProcessorEntityStatus;
21133
+ readonly organization_capability: io.flow.internal.v0.enums.OrganizationCapability;
20771
21134
  readonly created_at: string;
20772
21135
  readonly updated_at: string;
20773
21136
  }
@@ -21008,6 +21371,7 @@ declare namespace io.flow.internal.v0.models {
21008
21371
  readonly country: string;
21009
21372
  readonly owner: io.flow.internal.v0.enums.Owner;
21010
21373
  readonly status: io.flow.internal.v0.enums.ProcessorEntityStatus;
21374
+ readonly organization_capability: io.flow.internal.v0.enums.OrganizationCapability;
21011
21375
  }
21012
21376
 
21013
21377
  interface ProcessorEntityStatusForm {
@@ -21021,6 +21385,7 @@ declare namespace io.flow.internal.v0.models {
21021
21385
  readonly processor: io.flow.internal.v0.enums.Processor;
21022
21386
  readonly country: string;
21023
21387
  readonly status: io.flow.internal.v0.enums.ProcessorEntityStatus;
21388
+ readonly organization_capability: io.flow.internal.v0.enums.OrganizationCapability;
21024
21389
  }
21025
21390
 
21026
21391
  interface ProductClassification {
@@ -21755,18 +22120,26 @@ declare namespace io.flow.internal.v0.models {
21755
22120
  readonly organization_id: string;
21756
22121
  readonly shop: string;
21757
22122
  readonly created_at: string;
21758
- readonly api_key_masked: string;
21759
- readonly api_password_masked: string;
21760
22123
  readonly shared_secret_masked: string;
22124
+ readonly api_key_masked?: string;
22125
+ readonly api_password_masked?: string;
22126
+ readonly access_token_masked?: string;
21761
22127
  }
21762
22128
 
21763
22129
  interface ShopifyMarketsShopForm {
21764
22130
  readonly shop: string;
21765
22131
  readonly domain: string;
21766
22132
  readonly myshopify_domain: string;
21767
- readonly api_key: string;
21768
- readonly api_password: string;
21769
22133
  readonly shared_secret: string;
22134
+ readonly api_key?: string;
22135
+ readonly api_password?: string;
22136
+ readonly access_token?: string;
22137
+ }
22138
+
22139
+ interface ShopifyMetadata {
22140
+ readonly domain: string;
22141
+ readonly myshopify_domain: string;
22142
+ readonly token: string;
21770
22143
  }
21771
22144
 
21772
22145
  interface ShopifyOrderAuthorization {
@@ -21964,6 +22337,10 @@ declare namespace io.flow.internal.v0.models {
21964
22337
  readonly topic: io.flow.shopify.external.v0.enums.Topic;
21965
22338
  }
21966
22339
 
22340
+ interface SimpleAccountReference {
22341
+ readonly id: string;
22342
+ }
22343
+
21967
22344
  interface SimplifiedItemLabel {
21968
22345
  readonly discriminator: 'item';
21969
22346
  readonly item_type: string;
@@ -22063,6 +22440,7 @@ declare namespace io.flow.internal.v0.models {
22063
22440
  readonly country: string;
22064
22441
  readonly authentication: io.flow.internal.v0.models.StripeAuthentication;
22065
22442
  readonly status: io.flow.internal.v0.enums.ProcessorEntityStatus;
22443
+ readonly organization_capability: io.flow.internal.v0.enums.OrganizationCapability;
22066
22444
  readonly created_at: string;
22067
22445
  readonly updated_at: string;
22068
22446
  }
@@ -22179,6 +22557,7 @@ declare namespace io.flow.internal.v0.models {
22179
22557
  readonly account_type: io.flow.stripe.v0.enums.AccountType;
22180
22558
  readonly country: string;
22181
22559
  readonly status: io.flow.internal.v0.enums.ProcessorEntityStatus;
22560
+ readonly organization_capability: io.flow.internal.v0.enums.OrganizationCapability;
22182
22561
  readonly created_at: string;
22183
22562
  readonly updated_at: string;
22184
22563
  }
@@ -22621,6 +23000,13 @@ declare namespace io.flow.internal.v0.models {
22621
23000
  readonly transfer_transaction: io.flow.internal.v0.models.TransferTransaction;
22622
23001
  }
22623
23002
 
23003
+ interface TransferTransactionDeletedV2 {
23004
+ readonly discriminator: 'transfer_transaction_deleted_v2';
23005
+ readonly event_id: string;
23006
+ readonly timestamp: string;
23007
+ readonly id: string;
23008
+ }
23009
+
22624
23010
  interface TransferTransactionUpserted {
22625
23011
  readonly discriminator: 'transfer_transaction_upserted';
22626
23012
  readonly event_id: string;
@@ -22629,6 +23015,13 @@ declare namespace io.flow.internal.v0.models {
22629
23015
  readonly transfer_transaction: io.flow.internal.v0.models.TransferTransaction;
22630
23016
  }
22631
23017
 
23018
+ interface TransferTransactionUpsertedV2 {
23019
+ readonly discriminator: 'transfer_transaction_upserted_v2';
23020
+ readonly event_id: string;
23021
+ readonly timestamp: string;
23022
+ readonly transfer_transaction: io.flow.internal.v0.models.TransferTransaction;
23023
+ }
23024
+
22632
23025
  interface Tribe {
22633
23026
  readonly id: string;
22634
23027
  readonly description: string;
@@ -23245,7 +23638,8 @@ declare namespace io.flow.internal.v0.unions {
23245
23638
  | io.flow.internal.v0.models.BillableLabelUpserted
23246
23639
  | io.flow.internal.v0.models.BillableLabelDeleted
23247
23640
  | io.flow.internal.v0.models.AccountUpserted
23248
- | io.flow.internal.v0.models.AccountDeleted
23641
+ | io.flow.internal.v0.models.AccountUpsertedV2
23642
+ | io.flow.internal.v0.models.AccountDeletedV2
23249
23643
  | io.flow.internal.v0.models.AccountContactUpserted
23250
23644
  | io.flow.internal.v0.models.AccountContactDeleted
23251
23645
  | io.flow.internal.v0.models.BillingStatementUpserted
@@ -23254,16 +23648,24 @@ declare namespace io.flow.internal.v0.unions {
23254
23648
  | io.flow.internal.v0.models.TaxRemittanceTransactionDeleted
23255
23649
  | io.flow.internal.v0.models.ChannelTransactionUpserted
23256
23650
  | io.flow.internal.v0.models.ChannelTransactionDeleted
23651
+ | io.flow.internal.v0.models.OrganizationAccountUpserted
23652
+ | io.flow.internal.v0.models.OrganizationAccountDeleted
23257
23653
  | io.flow.internal.v0.models.AccountTransactionsExportRequest
23258
23654
  | io.flow.internal.v0.models.AccountOrdersExportRequest
23259
23655
  | io.flow.internal.v0.models.MainTransactionUpserted
23260
23656
  | io.flow.internal.v0.models.MainTransactionDeleted
23657
+ | io.flow.internal.v0.models.MainTransactionUpsertedV2
23658
+ | io.flow.internal.v0.models.MainTransactionDeletedV2
23261
23659
  | io.flow.internal.v0.models.TransferTransactionUpserted
23262
23660
  | io.flow.internal.v0.models.TransferTransactionDeleted
23661
+ | io.flow.internal.v0.models.TransferTransactionUpsertedV2
23662
+ | io.flow.internal.v0.models.TransferTransactionDeletedV2
23263
23663
  | io.flow.internal.v0.models.ProcessingTransactionUpserted
23264
23664
  | io.flow.internal.v0.models.ProcessingTransactionDeleted
23265
23665
  | io.flow.internal.v0.models.BankPaymentUpserted
23266
23666
  | io.flow.internal.v0.models.BankPaymentDeleted
23667
+ | io.flow.internal.v0.models.BankPaymentUpsertedV2
23668
+ | io.flow.internal.v0.models.BankPaymentDeletedV2
23267
23669
  | io.flow.internal.v0.models.CarrierAccountUpserted
23268
23670
  | io.flow.internal.v0.models.CatalogImportRequest
23269
23671
  | io.flow.internal.v0.models.ExclusionRuleUpserted
@@ -23274,6 +23676,7 @@ declare namespace io.flow.internal.v0.unions {
23274
23676
  | io.flow.internal.v0.models.ReturnPolicyDeleted
23275
23677
  | io.flow.internal.v0.models.ReturnPolicyItemResultUpserted
23276
23678
  | io.flow.internal.v0.models.ReturnPolicyItemResultDeleted
23679
+ | io.flow.internal.v0.models.ChannelOrderAcceptanceUpserted
23277
23680
  | io.flow.internal.v0.models.CheckoutConfigurationUpserted
23278
23681
  | io.flow.internal.v0.models.CheckoutConfigurationDeleted
23279
23682
  | io.flow.internal.v0.models.LocalizedContentUpserted
@@ -23683,7 +24086,7 @@ export type AccountContact = io.flow.internal.v0.models.AccountContact;
23683
24086
  export type AccountContactDeleted = io.flow.internal.v0.models.AccountContactDeleted;
23684
24087
  export type AccountContactForm = io.flow.internal.v0.models.AccountContactForm;
23685
24088
  export type AccountContactUpserted = io.flow.internal.v0.models.AccountContactUpserted;
23686
- export type AccountDeleted = io.flow.internal.v0.models.AccountDeleted;
24089
+ export type AccountDeletedV2 = io.flow.internal.v0.models.AccountDeletedV2;
23687
24090
  export type AccountDepositRule = io.flow.internal.v0.models.AccountDepositRule;
23688
24091
  export type AccountDepositRuleForm = io.flow.internal.v0.models.AccountDepositRuleForm;
23689
24092
  export type AccountForm = io.flow.internal.v0.models.AccountForm;
@@ -23692,6 +24095,7 @@ export type AccountReference = io.flow.internal.v0.models.AccountReference;
23692
24095
  export type AccountStatistics = io.flow.internal.v0.models.AccountStatistics;
23693
24096
  export type AccountTransactionsExportRequest = io.flow.internal.v0.models.AccountTransactionsExportRequest;
23694
24097
  export type AccountUpserted = io.flow.internal.v0.models.AccountUpserted;
24098
+ export type AccountUpsertedV2 = io.flow.internal.v0.models.AccountUpsertedV2;
23695
24099
  export type ActionQuantity = io.flow.internal.v0.models.ActionQuantity;
23696
24100
  export type AddressConfigurationProvinceSetting = io.flow.internal.v0.models.AddressConfigurationProvinceSetting;
23697
24101
  export type AddressConfigurationSetting = io.flow.internal.v0.models.AddressConfigurationSetting;
@@ -23763,8 +24167,10 @@ export type Backfill = io.flow.internal.v0.models.Backfill;
23763
24167
  export type BackfillForm = io.flow.internal.v0.models.BackfillForm;
23764
24168
  export type BankPayment = io.flow.internal.v0.models.BankPayment;
23765
24169
  export type BankPaymentDeleted = io.flow.internal.v0.models.BankPaymentDeleted;
24170
+ export type BankPaymentDeletedV2 = io.flow.internal.v0.models.BankPaymentDeletedV2;
23766
24171
  export type BankPaymentForm = io.flow.internal.v0.models.BankPaymentForm;
23767
24172
  export type BankPaymentUpserted = io.flow.internal.v0.models.BankPaymentUpserted;
24173
+ export type BankPaymentUpsertedV2 = io.flow.internal.v0.models.BankPaymentUpsertedV2;
23768
24174
  export type BillableLabel = io.flow.internal.v0.models.BillableLabel;
23769
24175
  export type BillableLabelDeleted = io.flow.internal.v0.models.BillableLabelDeleted;
23770
24176
  export type BillableLabelUpserted = io.flow.internal.v0.models.BillableLabelUpserted;
@@ -23872,6 +24278,15 @@ export type ChannelCurrencySettingDeleted = io.flow.internal.v0.models.ChannelCu
23872
24278
  export type ChannelCurrencySettingForm = io.flow.internal.v0.models.ChannelCurrencySettingForm;
23873
24279
  export type ChannelCurrencySettingUpserted = io.flow.internal.v0.models.ChannelCurrencySettingUpserted;
23874
24280
  export type ChannelForm = io.flow.internal.v0.models.ChannelForm;
24281
+ export type ChannelMembership = io.flow.internal.v0.models.ChannelMembership;
24282
+ export type ChannelMembershipForm = io.flow.internal.v0.models.ChannelMembershipForm;
24283
+ export type ChannelMembershipPutForm = io.flow.internal.v0.models.ChannelMembershipPutForm;
24284
+ export type ChannelOrderAcceptance = io.flow.internal.v0.models.ChannelOrderAcceptance;
24285
+ export type ChannelOrderAcceptanceForm = io.flow.internal.v0.models.ChannelOrderAcceptanceForm;
24286
+ export type ChannelOrderAcceptanceRejectionReason = io.flow.internal.v0.enums.ChannelOrderAcceptanceRejectionReason;
24287
+ export type ChannelOrderAcceptanceStatus = io.flow.internal.v0.enums.ChannelOrderAcceptanceStatus;
24288
+ export type ChannelOrderAcceptanceUpserted = io.flow.internal.v0.models.ChannelOrderAcceptanceUpserted;
24289
+ export type ChannelOrganizationShopifyForm = io.flow.internal.v0.models.ChannelOrganizationShopifyForm;
23875
24290
  export type ChannelServiceFee = io.flow.internal.v0.models.ChannelServiceFee;
23876
24291
  export type ChannelServiceFeeTier = io.flow.internal.v0.models.ChannelServiceFeeTier;
23877
24292
  export type ChannelTokenForm = io.flow.internal.v0.models.ChannelTokenForm;
@@ -24499,6 +24914,7 @@ export type DiscountRequestOrderEntitlementKey = io.flow.internal.v0.enums.Disco
24499
24914
  export type DiscountRequestOrderForm = io.flow.internal.v0.models.DiscountRequestOrderForm;
24500
24915
  export type Dispute = io.flow.internal.v0.models.Dispute;
24501
24916
  export type DisputeAuthorizationReference = io.flow.internal.v0.models.DisputeAuthorizationReference;
24917
+ export type DisputeBillable = io.flow.internal.v0.enums.DisputeBillable;
24502
24918
  export type DisputeCategory = io.flow.internal.v0.enums.DisputeCategory;
24503
24919
  export type DisputeDeleted = io.flow.internal.v0.models.DisputeDeleted;
24504
24920
  export type DisputeDetails = io.flow.internal.v0.unions.DisputeDetails;
@@ -24588,8 +25004,6 @@ export type ExperimentResultsWithTimestamp = io.flow.internal.v0.models.Experime
24588
25004
  export type ExperimentSessionQueryForm = io.flow.internal.v0.models.ExperimentSessionQueryForm;
24589
25005
  export type ExperimentUpserted = io.flow.internal.v0.models.ExperimentUpserted;
24590
25006
  export type ExperimentVersion = io.flow.internal.v0.models.ExperimentVersion;
24591
- export type ExplicitStatementDate = io.flow.internal.v0.models.ExplicitStatementDate;
24592
- export type ExplicitStatementDateForm = io.flow.internal.v0.models.ExplicitStatementDateForm;
24593
25007
  export type ExportCompleted = io.flow.internal.v0.models.ExportCompleted;
24594
25008
  export type ExportContentType = io.flow.internal.v0.enums.ExportContentType;
24595
25009
  export type ExportFailed = io.flow.internal.v0.models.ExportFailed;
@@ -24633,6 +25047,9 @@ export type FeedDeleted = io.flow.internal.v0.models.FeedDeleted;
24633
25047
  export type FeedUpserted = io.flow.internal.v0.models.FeedUpserted;
24634
25048
  export type FeedsExport = io.flow.internal.v0.models.FeedsExport;
24635
25049
  export type Fees = io.flow.internal.v0.models.Fees;
25050
+ export type FinancialReportingResponsibleParty = io.flow.internal.v0.enums.FinancialReportingResponsibleParty;
25051
+ export type FinancialReportingStatement = io.flow.internal.v0.models.FinancialReportingStatement;
25052
+ export type FinancialReportingStatementForm = io.flow.internal.v0.models.FinancialReportingStatementForm;
24636
25053
  export type FiservAccount = io.flow.internal.v0.models.FiservAccount;
24637
25054
  export type FiservAccountModificationForm = io.flow.internal.v0.models.FiservAccountModificationForm;
24638
25055
  export type FiservAccountPutForm = io.flow.internal.v0.models.FiservAccountPutForm;
@@ -24903,7 +25320,9 @@ export type LoyaltyProgramRewards = io.flow.internal.v0.models.LoyaltyProgramRew
24903
25320
  export type MagentoInstallForm = io.flow.internal.v0.models.MagentoInstallForm;
24904
25321
  export type MainTransaction = io.flow.internal.v0.models.MainTransaction;
24905
25322
  export type MainTransactionDeleted = io.flow.internal.v0.models.MainTransactionDeleted;
25323
+ export type MainTransactionDeletedV2 = io.flow.internal.v0.models.MainTransactionDeletedV2;
24906
25324
  export type MainTransactionUpserted = io.flow.internal.v0.models.MainTransactionUpserted;
25325
+ export type MainTransactionUpsertedV2 = io.flow.internal.v0.models.MainTransactionUpsertedV2;
24907
25326
  export type ManualReviewRule = io.flow.internal.v0.models.ManualReviewRule;
24908
25327
  export type ManualReviewRuleForm = io.flow.internal.v0.models.ManualReviewRuleForm;
24909
25328
  export type ManualReviewRuleStatus = io.flow.internal.v0.enums.ManualReviewRuleStatus;
@@ -25009,14 +25428,19 @@ export type OrderRevenueTimelineDataPoint = io.flow.internal.v0.models.OrderReve
25009
25428
  export type OrderServiceChangeCsvForm = io.flow.internal.v0.models.OrderServiceChangeCsvForm;
25010
25429
  export type OrderShipped = io.flow.internal.v0.models.OrderShipped;
25011
25430
  export type OrderSubmissionForm = io.flow.internal.v0.models.OrderSubmissionForm;
25431
+ export type OrganizationAccount = io.flow.internal.v0.models.OrganizationAccount;
25432
+ export type OrganizationAccountDeleted = io.flow.internal.v0.models.OrganizationAccountDeleted;
25433
+ export type OrganizationAccountUpserted = io.flow.internal.v0.models.OrganizationAccountUpserted;
25012
25434
  export type OrganizationBooleanValue = io.flow.internal.v0.models.OrganizationBooleanValue;
25013
25435
  export type OrganizationBooleanValueDeleted = io.flow.internal.v0.models.OrganizationBooleanValueDeleted;
25014
25436
  export type OrganizationBooleanValueUpserted = io.flow.internal.v0.models.OrganizationBooleanValueUpserted;
25437
+ export type OrganizationCapability = io.flow.internal.v0.enums.OrganizationCapability;
25015
25438
  export type OrganizationCurrencySetting = io.flow.internal.v0.models.OrganizationCurrencySetting;
25016
25439
  export type OrganizationCurrencySettingDeleted = io.flow.internal.v0.models.OrganizationCurrencySettingDeleted;
25017
25440
  export type OrganizationCurrencySettingForm = io.flow.internal.v0.models.OrganizationCurrencySettingForm;
25018
25441
  export type OrganizationCurrencySettingUpserted = io.flow.internal.v0.models.OrganizationCurrencySettingUpserted;
25019
25442
  export type OrganizationCurrencySettingVersion = io.flow.internal.v0.models.OrganizationCurrencySettingVersion;
25443
+ export type OrganizationInvitationAcceptForm = io.flow.internal.v0.models.OrganizationInvitationAcceptForm;
25020
25444
  export type OrganizationMembershipCopy = io.flow.internal.v0.models.OrganizationMembershipCopy;
25021
25445
  export type OrganizationMembershipCopyForm = io.flow.internal.v0.models.OrganizationMembershipCopyForm;
25022
25446
  export type OrganizationSettings = io.flow.internal.v0.models.OrganizationSettings;
@@ -25236,6 +25660,7 @@ export type ShopifyGrantStatus = io.flow.internal.v0.enums.ShopifyGrantStatus;
25236
25660
  export type ShopifyGrantsCheck = io.flow.internal.v0.models.ShopifyGrantsCheck;
25237
25661
  export type ShopifyMarketsShop = io.flow.internal.v0.models.ShopifyMarketsShop;
25238
25662
  export type ShopifyMarketsShopForm = io.flow.internal.v0.models.ShopifyMarketsShopForm;
25663
+ export type ShopifyMetadata = io.flow.internal.v0.models.ShopifyMetadata;
25239
25664
  export type ShopifyOrderAuthorization = io.flow.internal.v0.models.ShopifyOrderAuthorization;
25240
25665
  export type ShopifyOrderCancelForm = io.flow.internal.v0.models.ShopifyOrderCancelForm;
25241
25666
  export type ShopifyOrderCancelResponse = io.flow.internal.v0.models.ShopifyOrderCancelResponse;
@@ -25276,6 +25701,7 @@ export type ShopifyWebhook = io.flow.internal.v0.models.ShopifyWebhook;
25276
25701
  export type ShopifyWebhookEvent = io.flow.internal.v0.models.ShopifyWebhookEvent;
25277
25702
  export type ShopifyWebhookForm = io.flow.internal.v0.models.ShopifyWebhookForm;
25278
25703
  export type SignificanceAction = io.flow.internal.v0.enums.SignificanceAction;
25704
+ export type SimpleAccountReference = io.flow.internal.v0.models.SimpleAccountReference;
25279
25705
  export type SimpleRoundingStrategy = io.flow.internal.v0.enums.SimpleRoundingStrategy;
25280
25706
  export type SimplifiedClassificationTaxonomy = io.flow.internal.v0.unions.SimplifiedClassificationTaxonomy;
25281
25707
  export type SimplifiedItemLabel = io.flow.internal.v0.models.SimplifiedItemLabel;
@@ -25286,6 +25712,7 @@ export type SpotRate = io.flow.internal.v0.models.SpotRate;
25286
25712
  export type SpotRateDeleted = io.flow.internal.v0.models.SpotRateDeleted;
25287
25713
  export type SpotRateUpserted = io.flow.internal.v0.models.SpotRateUpserted;
25288
25714
  export type SpotRateVersion = io.flow.internal.v0.models.SpotRateVersion;
25715
+ export type StatementStatus = io.flow.internal.v0.enums.StatementStatus;
25289
25716
  export type StatisticType = io.flow.internal.v0.enums.StatisticType;
25290
25717
  export type Status = io.flow.internal.v0.enums.Status;
25291
25718
  export type StoreConnection = io.flow.internal.v0.models.StoreConnection;
@@ -25379,7 +25806,9 @@ export type TransactionSummary = io.flow.internal.v0.unions.TransactionSummary;
25379
25806
  export type TransferMethod = io.flow.internal.v0.enums.TransferMethod;
25380
25807
  export type TransferTransaction = io.flow.internal.v0.models.TransferTransaction;
25381
25808
  export type TransferTransactionDeleted = io.flow.internal.v0.models.TransferTransactionDeleted;
25809
+ export type TransferTransactionDeletedV2 = io.flow.internal.v0.models.TransferTransactionDeletedV2;
25382
25810
  export type TransferTransactionUpserted = io.flow.internal.v0.models.TransferTransactionUpserted;
25811
+ export type TransferTransactionUpsertedV2 = io.flow.internal.v0.models.TransferTransactionUpsertedV2;
25383
25812
  export type Tribe = io.flow.internal.v0.models.Tribe;
25384
25813
  export type UnclassifiedProductStatistic = io.flow.internal.v0.models.UnclassifiedProductStatistic;
25385
25814
  export type UnclassifiedProductStatus = io.flow.internal.v0.enums.UnclassifiedProductStatus;