@flowio/types 11.19.20 → 11.19.22

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.
@@ -5296,6 +5296,12 @@ declare namespace io.flow.label.v0.models {
5296
5296
  readonly shipment_recipient?: io.flow.label.v0.enums.ShipmentRecipient;
5297
5297
  }
5298
5298
 
5299
+ interface FlowShippingLabelRatecardSummary {
5300
+ readonly discriminator: 'flow';
5301
+ readonly id: string;
5302
+ readonly cost: io.flow.common.v0.models.Money;
5303
+ }
5304
+
5299
5305
  interface LabelOrderSummary {
5300
5306
  readonly id: string;
5301
5307
  readonly number: string;
@@ -5314,12 +5320,19 @@ declare namespace io.flow.label.v0.models {
5314
5320
  readonly service?: string;
5315
5321
  }
5316
5322
 
5323
+ interface OrganizationShippingLabelRatecardSummary {
5324
+ readonly discriminator: 'organization';
5325
+ readonly id: string;
5326
+ readonly cost?: io.flow.common.v0.models.Money;
5327
+ }
5328
+
5317
5329
  interface ShippingLabel {
5318
5330
  readonly id: string;
5331
+ readonly ratecard?: io.flow.label.v0.unions.ShippingLabelRatecardSummary;
5319
5332
  readonly attributes: Record<string, string>;
5320
5333
  readonly carrier_tracking_number: string;
5321
5334
  readonly carrier_tracking_number_url: string;
5322
- readonly cost: io.flow.common.v0.models.Price;
5335
+ readonly cost?: io.flow.common.v0.models.Price;
5323
5336
  readonly destination: io.flow.fulfillment.v0.models.ShippingAddress;
5324
5337
  readonly flow_tracking_number: string;
5325
5338
  readonly flow_tracking_number_url: string;
@@ -5420,6 +5433,9 @@ declare namespace io.flow.label.v0.unions {
5420
5433
  type ShippingLabelForm =
5421
5434
  | io.flow.label.v0.models.DetailedShippingLabelForm
5422
5435
  | io.flow.label.v0.models.SummaryShippingLabelForm;
5436
+ type ShippingLabelRatecardSummary =
5437
+ | io.flow.label.v0.models.FlowShippingLabelRatecardSummary
5438
+ | io.flow.label.v0.models.OrganizationShippingLabelRatecardSummary;
5423
5439
  type ShippingNotificationForm =
5424
5440
  | io.flow.label.v0.models.DetailedShippingNotificationForm
5425
5441
  | io.flow.label.v0.models.SinglePackageShippingNotificationForm
@@ -9622,12 +9638,16 @@ declare namespace io.flow.crypto.v0.models {
9622
9638
  readonly publishable_key: string;
9623
9639
  }
9624
9640
 
9625
- interface ErrorResponse {
9641
+ interface Error {
9626
9642
  readonly type?: io.flow.crypto.v0.enums.ErrorType;
9627
9643
  readonly code?: string;
9628
9644
  readonly param?: string;
9629
9645
  }
9630
9646
 
9647
+ interface ErrorResponse {
9648
+ readonly error?: io.flow.crypto.v0.models.Error;
9649
+ }
9650
+
9631
9651
  interface Payment {
9632
9652
  readonly id: string;
9633
9653
  readonly amount: number;
@@ -10219,7 +10239,8 @@ declare namespace io.flow.permission.v0.enums {
10219
10239
  | 'organization_marketing'
10220
10240
  | 'organization_finance'
10221
10241
  | 'flow_operations'
10222
- | 'channel_admin';
10242
+ | 'channel_admin'
10243
+ | 'channel_organization_admin';
10223
10244
  type PermittedHttpMethod = 'GET' | 'POST' | 'PUT' | 'DELETE' | 'PATCH';
10224
10245
  }
10225
10246
 
@@ -12032,7 +12053,6 @@ declare namespace io.flow.internal.v0.enums {
12032
12053
  | 'all';
12033
12054
  type BillingStatementBatchFileKey =
12034
12055
  | 'archive'
12035
- | 'fx_transactions'
12036
12056
  | 'summary'
12037
12057
  | 'label_transactions';
12038
12058
  type BillingStatementReviewStatus = 'approved' | 'pending';
@@ -12153,15 +12173,10 @@ declare namespace io.flow.internal.v0.enums {
12153
12173
  | 'country'
12154
12174
  | 'edits'
12155
12175
  | 'shipping_country';
12156
- type CheckoutInfoAddressConfigurationFormDataKeyField =
12157
- | 'country'
12158
- | 'shipping_country';
12176
+ type CheckoutInfoAddressConfigurationFormDataKeyField = 'shipping_country';
12159
12177
  type CheckoutInfoAddressPredictionsKeyField = 'input';
12160
12178
  type CheckoutInfoContentKeyField = 'locale';
12161
12179
  type CheckoutInfoDeliveriesFormDataKeyField =
12162
- | 'value'
12163
- | 'currency'
12164
- | 'country'
12165
12180
  | 'lines'
12166
12181
  | 'shipping_country'
12167
12182
  | 'shipping_province'
@@ -12173,16 +12188,8 @@ declare namespace io.flow.internal.v0.enums {
12173
12188
  | 'shipping_province'
12174
12189
  | 'shipping_postal'
12175
12190
  | 'delivery_option_id';
12176
- type CheckoutInfoPaymentDetailsKeyField =
12177
- | 'value'
12178
- | 'currency'
12179
- | 'balance'
12180
- | 'payment_method_id';
12181
- type CheckoutInfoPaymentsFormDataKeyField =
12182
- | 'value'
12183
- | 'currency'
12184
- | 'balance'
12185
- | 'shipping_country';
12191
+ type CheckoutInfoPaymentDetailsKeyField = 'balance' | 'payment_method_id';
12192
+ type CheckoutInfoPaymentsFormDataKeyField = 'balance' | 'shipping_country';
12186
12193
  type CheckoutInfoTranslationsKeyField = 'language';
12187
12194
  type CheckoutInitiatePaymentErrorCode =
12188
12195
  | 'payment_failed'
@@ -12477,6 +12484,8 @@ declare namespace io.flow.internal.v0.enums {
12477
12484
  | 'billing_organization_settings_deleted'
12478
12485
  | 'platform_fee_change_upserted'
12479
12486
  | 'platform_fee_change_deleted'
12487
+ | 'fx_revenue_recognition_upserted'
12488
+ | 'fx_revenue_recognition_deleted'
12480
12489
  | 'fraud_review_upserted'
12481
12490
  | 'fraud_review_deleted'
12482
12491
  | 'fraud_pending_review_upserted'
@@ -12758,7 +12767,12 @@ declare namespace io.flow.internal.v0.enums {
12758
12767
  | 'delivery_option_id';
12759
12768
  type PriceSelector = 'minimum' | 'maximum';
12760
12769
  type PricingIndicatorStatus = 'complete' | 'in_progress';
12761
- type ProcessingTransactionType = 'adjustment' | 'capture' | 'refund';
12770
+ type ProcessingTransactionType =
12771
+ | 'adjustment'
12772
+ | 'capture'
12773
+ | 'refund'
12774
+ | 'fully_subsidized_order'
12775
+ | 'credit_payment';
12762
12776
  type Processor =
12763
12777
  | 'adyen'
12764
12778
  | 'afterpay'
@@ -13003,6 +13017,7 @@ declare namespace io.flow.internal.v0.models {
13003
13017
  readonly name: string;
13004
13018
  readonly ui_reference: string;
13005
13019
  readonly authentication: io.flow.internal.v0.models.AdyenAuthentication;
13020
+ readonly country: string;
13006
13021
  readonly status: io.flow.internal.v0.enums.ProcessorEntityStatus;
13007
13022
  readonly created_at: string;
13008
13023
  readonly updated_at: string;
@@ -13013,6 +13028,7 @@ declare namespace io.flow.internal.v0.models {
13013
13028
  readonly owner: io.flow.internal.v0.enums.Owner;
13014
13029
  readonly name: string;
13015
13030
  readonly ui_reference: string;
13031
+ readonly country: string;
13016
13032
  readonly status: io.flow.internal.v0.enums.ProcessorEntityStatus;
13017
13033
  }
13018
13034
 
@@ -13022,6 +13038,7 @@ declare namespace io.flow.internal.v0.models {
13022
13038
  readonly name: string;
13023
13039
  readonly ui_reference: string;
13024
13040
  readonly authentication: io.flow.internal.v0.models.AdyenAuthenticationForm;
13041
+ readonly country: string;
13025
13042
  readonly status?: io.flow.internal.v0.enums.ProcessorEntityStatus;
13026
13043
  }
13027
13044
 
@@ -13142,6 +13159,7 @@ declare namespace io.flow.internal.v0.models {
13142
13159
  readonly organization_id: string;
13143
13160
  readonly external_id: string;
13144
13161
  readonly processor_account_reference: io.flow.internal.v0.models.ProcessorAccountReference;
13162
+ readonly country: string;
13145
13163
  readonly status: io.flow.internal.v0.enums.ProcessorEntityStatus;
13146
13164
  readonly created_at: string;
13147
13165
  readonly updated_at: string;
@@ -13171,6 +13189,7 @@ declare namespace io.flow.internal.v0.models {
13171
13189
  interface AdyenMerchantModificationForm {
13172
13190
  readonly discriminator: 'adyen_merchant_modification_form';
13173
13191
  readonly external_id: string;
13192
+ readonly country: string;
13174
13193
  readonly status: io.flow.internal.v0.enums.ProcessorEntityStatus;
13175
13194
  }
13176
13195
 
@@ -13178,6 +13197,7 @@ declare namespace io.flow.internal.v0.models {
13178
13197
  readonly discriminator: 'adyen_merchant_put_form';
13179
13198
  readonly organization_id: string;
13180
13199
  readonly external_id: string;
13200
+ readonly country: string;
13181
13201
  readonly status?: io.flow.internal.v0.enums.ProcessorEntityStatus;
13182
13202
  }
13183
13203
 
@@ -13680,6 +13700,7 @@ declare namespace io.flow.internal.v0.models {
13680
13700
  readonly key: string;
13681
13701
  readonly owner: io.flow.internal.v0.enums.Owner;
13682
13702
  readonly authentication: io.flow.internal.v0.models.BitpayAuthentication;
13703
+ readonly country: string;
13683
13704
  readonly status: io.flow.internal.v0.enums.ProcessorEntityStatus;
13684
13705
  readonly created_at: string;
13685
13706
  readonly updated_at: string;
@@ -13688,6 +13709,7 @@ declare namespace io.flow.internal.v0.models {
13688
13709
  interface BitpayAccountModificationForm {
13689
13710
  readonly discriminator: 'bitpay_account_modification_form';
13690
13711
  readonly owner: io.flow.internal.v0.enums.Owner;
13712
+ readonly country: string;
13691
13713
  readonly status: io.flow.internal.v0.enums.ProcessorEntityStatus;
13692
13714
  }
13693
13715
 
@@ -13695,6 +13717,7 @@ declare namespace io.flow.internal.v0.models {
13695
13717
  readonly discriminator: 'bitpay_account_put_form';
13696
13718
  readonly owner?: io.flow.internal.v0.enums.Owner;
13697
13719
  readonly authentication: io.flow.internal.v0.models.BitpayAuthenticationForm;
13720
+ readonly country: string;
13698
13721
  readonly status?: io.flow.internal.v0.enums.ProcessorEntityStatus;
13699
13722
  }
13700
13723
 
@@ -16320,6 +16343,7 @@ declare namespace io.flow.internal.v0.models {
16320
16343
  readonly key: string;
16321
16344
  readonly owner: io.flow.internal.v0.enums.Owner;
16322
16345
  readonly authentication: io.flow.internal.v0.models.CryptoAuthentication;
16346
+ readonly country: string;
16323
16347
  readonly status: io.flow.internal.v0.enums.ProcessorEntityStatus;
16324
16348
  readonly created_at: string;
16325
16349
  readonly updated_at: string;
@@ -16328,6 +16352,7 @@ declare namespace io.flow.internal.v0.models {
16328
16352
  interface CryptoAccountModificationForm {
16329
16353
  readonly discriminator: 'crypto_account_modification_form';
16330
16354
  readonly owner: io.flow.internal.v0.enums.Owner;
16355
+ readonly country: string;
16331
16356
  readonly status: io.flow.internal.v0.enums.ProcessorEntityStatus;
16332
16357
  }
16333
16358
 
@@ -16335,6 +16360,7 @@ declare namespace io.flow.internal.v0.models {
16335
16360
  readonly discriminator: 'crypto_account_put_form';
16336
16361
  readonly owner?: io.flow.internal.v0.enums.Owner;
16337
16362
  readonly authentication: io.flow.internal.v0.models.CryptoAuthenticationForm;
16363
+ readonly country: string;
16338
16364
  readonly status?: io.flow.internal.v0.enums.ProcessorEntityStatus;
16339
16365
  }
16340
16366
 
@@ -17268,9 +17294,7 @@ declare namespace io.flow.internal.v0.models {
17268
17294
  interface Fees {
17269
17295
  readonly processing: io.flow.internal.v0.models.Fee;
17270
17296
  readonly rate_lock: io.flow.internal.v0.models.Fee;
17271
- readonly fx_conversion?: io.flow.internal.v0.models.Fee;
17272
17297
  readonly mor: io.flow.internal.v0.models.Fee;
17273
- readonly fx: io.flow.internal.v0.models.Fee;
17274
17298
  }
17275
17299
 
17276
17300
  interface FiservAccount {
@@ -17281,6 +17305,7 @@ declare namespace io.flow.internal.v0.models {
17281
17305
  readonly owner: io.flow.internal.v0.enums.Owner;
17282
17306
  readonly region: string;
17283
17307
  readonly authentication: io.flow.internal.v0.models.FiservAuthentication;
17308
+ readonly country: string;
17284
17309
  readonly status: io.flow.internal.v0.enums.ProcessorEntityStatus;
17285
17310
  readonly created_at: string;
17286
17311
  readonly updated_at: string;
@@ -17290,6 +17315,7 @@ declare namespace io.flow.internal.v0.models {
17290
17315
  readonly discriminator: 'fiserv_account_modification_form';
17291
17316
  readonly owner: io.flow.internal.v0.enums.Owner;
17292
17317
  readonly region: string;
17318
+ readonly country: string;
17293
17319
  readonly status: io.flow.internal.v0.enums.ProcessorEntityStatus;
17294
17320
  }
17295
17321
 
@@ -17298,6 +17324,7 @@ declare namespace io.flow.internal.v0.models {
17298
17324
  readonly owner?: io.flow.internal.v0.enums.Owner;
17299
17325
  readonly region: string;
17300
17326
  readonly authentication: io.flow.internal.v0.models.FiservAuthenticationForm;
17327
+ readonly country: string;
17301
17328
  readonly status?: io.flow.internal.v0.enums.ProcessorEntityStatus;
17302
17329
  }
17303
17330
 
@@ -17579,6 +17606,68 @@ declare namespace io.flow.internal.v0.models {
17579
17606
  readonly items: io.flow.order.management.v0.models.FulfillmentItem[];
17580
17607
  }
17581
17608
 
17609
+ interface FxFee {
17610
+ readonly base: io.flow.common.v0.models.Money;
17611
+ readonly local: io.flow.common.v0.models.Money;
17612
+ }
17613
+
17614
+ interface FxRevenueRecognition {
17615
+ readonly id: string;
17616
+ readonly organization: io.flow.internal.v0.models.FxRevenueRecognitionOrganization;
17617
+ readonly account: io.flow.internal.v0.models.FxRevenueRecognitionAccount;
17618
+ readonly fx: io.flow.internal.v0.models.FxFee;
17619
+ readonly spot_rate: io.flow.internal.v0.models.FxRevenueRecognitionRate;
17620
+ readonly created_at: string;
17621
+ readonly order: io.flow.internal.v0.models.FxRevenueRecognitionOrder;
17622
+ readonly merchant_of_record: io.flow.common.v0.enums.MerchantOfRecord;
17623
+ readonly source: io.flow.internal.v0.models.FxRevenueRecognitionSource;
17624
+ readonly reporting_date?: string;
17625
+ }
17626
+
17627
+ interface FxRevenueRecognitionAccount {
17628
+ readonly value: io.flow.common.v0.models.Money;
17629
+ readonly spot_rate: io.flow.internal.v0.models.FxRevenueRecognitionAccountRate;
17630
+ }
17631
+
17632
+ interface FxRevenueRecognitionAccountRate {
17633
+ readonly value: number;
17634
+ }
17635
+
17636
+ interface FxRevenueRecognitionDeleted {
17637
+ readonly discriminator: 'fx_revenue_recognition_deleted';
17638
+ readonly event_id: string;
17639
+ readonly timestamp: string;
17640
+ readonly id: string;
17641
+ }
17642
+
17643
+ interface FxRevenueRecognitionOrder {
17644
+ readonly number: string;
17645
+ readonly submitted_at: string;
17646
+ }
17647
+
17648
+ interface FxRevenueRecognitionOrganization {
17649
+ readonly id: string;
17650
+ }
17651
+
17652
+ interface FxRevenueRecognitionRate {
17653
+ readonly value: number;
17654
+ readonly margin: number;
17655
+ readonly timestamp: string;
17656
+ }
17657
+
17658
+ interface FxRevenueRecognitionSource {
17659
+ readonly id: string;
17660
+ readonly local: io.flow.common.v0.models.Money;
17661
+ readonly transaction_created_at: string;
17662
+ }
17663
+
17664
+ interface FxRevenueRecognitionUpserted {
17665
+ readonly discriminator: 'fx_revenue_recognition_upserted';
17666
+ readonly event_id: string;
17667
+ readonly timestamp: string;
17668
+ readonly fx_revenue_recognition: io.flow.internal.v0.models.FxRevenueRecognition;
17669
+ }
17670
+
17582
17671
  interface GiftCard {
17583
17672
  readonly id: string;
17584
17673
  readonly number: string;
@@ -17649,6 +17738,12 @@ declare namespace io.flow.internal.v0.models {
17649
17738
  readonly filename?: string;
17650
17739
  }
17651
17740
 
17741
+ interface HarmonizationColumnSetting {
17742
+ readonly column: string;
17743
+ readonly position: number;
17744
+ readonly displayed: boolean;
17745
+ }
17746
+
17652
17747
  interface HarmonizationItemClassification {
17653
17748
  readonly id: string;
17654
17749
  readonly organization_id: string;
@@ -17696,6 +17791,11 @@ declare namespace io.flow.internal.v0.models {
17696
17791
  readonly filename?: string;
17697
17792
  }
17698
17793
 
17794
+ interface HarmonizationUnclassifiedStatistics {
17795
+ readonly organization: io.flow.common.v0.models.OrganizationSummary;
17796
+ readonly statistics: io.flow.internal.v0.models.UnclassifiedProductStatistic[];
17797
+ }
17798
+
17699
17799
  interface HarmonizeFullyRequestV2 {
17700
17800
  readonly discriminator: 'harmonize_fully_request_v2';
17701
17801
  readonly event_id: string;
@@ -20412,6 +20512,7 @@ declare namespace io.flow.internal.v0.models {
20412
20512
  readonly organization_id: string;
20413
20513
  readonly key: string;
20414
20514
  readonly processor: io.flow.internal.v0.enums.Processor;
20515
+ readonly country: string;
20415
20516
  readonly owner: io.flow.internal.v0.enums.Owner;
20416
20517
  readonly status: io.flow.internal.v0.enums.ProcessorEntityStatus;
20417
20518
  }
@@ -20425,6 +20526,7 @@ declare namespace io.flow.internal.v0.models {
20425
20526
  readonly organization_id: string;
20426
20527
  readonly key: string;
20427
20528
  readonly processor: io.flow.internal.v0.enums.Processor;
20529
+ readonly country: string;
20428
20530
  readonly status: io.flow.internal.v0.enums.ProcessorEntityStatus;
20429
20531
  }
20430
20532
 
@@ -20484,6 +20586,10 @@ declare namespace io.flow.internal.v0.models {
20484
20586
  readonly construction?: io.flow.internal.v0.models.AttributeLabel;
20485
20587
  }
20486
20588
 
20589
+ interface ProductListSettingsForm {
20590
+ readonly column_settings: io.flow.internal.v0.models.HarmonizationColumnSetting[];
20591
+ }
20592
+
20487
20593
  interface QuoteRequest {
20488
20594
  readonly id: string;
20489
20595
  readonly request_type: io.flow.internal.v0.enums.QuoteRequestType;
@@ -22031,6 +22137,11 @@ declare namespace io.flow.internal.v0.models {
22031
22137
  readonly description: string;
22032
22138
  }
22033
22139
 
22140
+ interface UnclassifiedProductStatistic {
22141
+ readonly status: io.flow.internal.v0.enums.UnclassifiedProductStatus;
22142
+ readonly number_of_items: number;
22143
+ }
22144
+
22034
22145
  interface UnclassifiedProductsPurgeRequest {
22035
22146
  readonly num_deleted_products: Record<string, number>;
22036
22147
  }
@@ -22107,6 +22218,10 @@ declare namespace io.flow.internal.v0.models {
22107
22218
  readonly token: string;
22108
22219
  }
22109
22220
 
22221
+ interface UserProductListSettings {
22222
+ readonly column_settings: io.flow.internal.v0.models.HarmonizationColumnSetting[];
22223
+ }
22224
+
22110
22225
  interface UserStatusForm {
22111
22226
  readonly status: io.flow.common.v0.enums.UserStatus;
22112
22227
  }
@@ -22659,6 +22774,8 @@ declare namespace io.flow.internal.v0.unions {
22659
22774
  | io.flow.internal.v0.models.BillingOrganizationSettingsDeleted
22660
22775
  | io.flow.internal.v0.models.PlatformFeeChangeUpserted
22661
22776
  | io.flow.internal.v0.models.PlatformFeeChangeDeleted
22777
+ | io.flow.internal.v0.models.FxRevenueRecognitionUpserted
22778
+ | io.flow.internal.v0.models.FxRevenueRecognitionDeleted
22662
22779
  | io.flow.internal.v0.models.FraudReviewUpserted
22663
22780
  | io.flow.internal.v0.models.FraudReviewDeleted
22664
22781
  | io.flow.internal.v0.models.FraudPendingReviewUpserted
@@ -23943,6 +24060,16 @@ export type FulfillmentActionForm = io.flow.internal.v0.models.FulfillmentAction
23943
24060
  export type FulfillmentCancel = io.flow.internal.v0.models.FulfillmentCancel;
23944
24061
  export type FulfillmentInternalExperienceReference = io.flow.internal.v0.models.FulfillmentInternalExperienceReference;
23945
24062
  export type FulfillmentShipmentTracking = io.flow.internal.v0.models.FulfillmentShipmentTracking;
24063
+ export type FxFee = io.flow.internal.v0.models.FxFee;
24064
+ export type FxRevenueRecognition = io.flow.internal.v0.models.FxRevenueRecognition;
24065
+ export type FxRevenueRecognitionAccount = io.flow.internal.v0.models.FxRevenueRecognitionAccount;
24066
+ export type FxRevenueRecognitionAccountRate = io.flow.internal.v0.models.FxRevenueRecognitionAccountRate;
24067
+ export type FxRevenueRecognitionDeleted = io.flow.internal.v0.models.FxRevenueRecognitionDeleted;
24068
+ export type FxRevenueRecognitionOrder = io.flow.internal.v0.models.FxRevenueRecognitionOrder;
24069
+ export type FxRevenueRecognitionOrganization = io.flow.internal.v0.models.FxRevenueRecognitionOrganization;
24070
+ export type FxRevenueRecognitionRate = io.flow.internal.v0.models.FxRevenueRecognitionRate;
24071
+ export type FxRevenueRecognitionSource = io.flow.internal.v0.models.FxRevenueRecognitionSource;
24072
+ export type FxRevenueRecognitionUpserted = io.flow.internal.v0.models.FxRevenueRecognitionUpserted;
23946
24073
  export type GiftCard = io.flow.internal.v0.models.GiftCard;
23947
24074
  export type GiftCardAuthorizationError = io.flow.internal.v0.models.GiftCardAuthorizationError;
23948
24075
  export type GiftCardForm = io.flow.internal.v0.models.GiftCardForm;
@@ -23956,12 +24083,14 @@ export type GoogleShoppingAccountParameters = io.flow.internal.v0.models.GoogleS
23956
24083
  export type GoogleShoppingSetting = io.flow.internal.v0.models.GoogleShoppingSetting;
23957
24084
  export type GoogleTagManager = io.flow.internal.v0.models.GoogleTagManager;
23958
24085
  export type HarmonizationCodesImport = io.flow.internal.v0.models.HarmonizationCodesImport;
24086
+ export type HarmonizationColumnSetting = io.flow.internal.v0.models.HarmonizationColumnSetting;
23959
24087
  export type HarmonizationItemClassification = io.flow.internal.v0.models.HarmonizationItemClassification;
23960
24088
  export type HarmonizationItemClassificationDeleted = io.flow.internal.v0.models.HarmonizationItemClassificationDeleted;
23961
24089
  export type HarmonizationItemClassificationUpserted = io.flow.internal.v0.models.HarmonizationItemClassificationUpserted;
23962
24090
  export type HarmonizationItemSummary = io.flow.internal.v0.models.HarmonizationItemSummary;
23963
24091
  export type HarmonizationMlModelSummary = io.flow.internal.v0.models.HarmonizationMlModelSummary;
23964
24092
  export type HarmonizationPhraseSuggestionRequestImport = io.flow.internal.v0.models.HarmonizationPhraseSuggestionRequestImport;
24093
+ export type HarmonizationUnclassifiedStatistics = io.flow.internal.v0.models.HarmonizationUnclassifiedStatistics;
23965
24094
  export type HarmonizeFullyRequestV2 = io.flow.internal.v0.models.HarmonizeFullyRequestV2;
23966
24095
  export type HarmonizedItemsHs6Export = io.flow.internal.v0.models.HarmonizedItemsHs6Export;
23967
24096
  export type HeapAddressPredictionClick = io.flow.internal.v0.models.HeapAddressPredictionClick;
@@ -24360,6 +24489,7 @@ export type ProductClassificationResult = io.flow.internal.v0.models.ProductClas
24360
24489
  export type ProductHarmonization = io.flow.internal.v0.models.ProductHarmonization;
24361
24490
  export type ProductHarmonizationForm = io.flow.internal.v0.models.ProductHarmonizationForm;
24362
24491
  export type ProductLabels = io.flow.internal.v0.models.ProductLabels;
24492
+ export type ProductListSettingsForm = io.flow.internal.v0.models.ProductListSettingsForm;
24363
24493
  export type PromptAction = io.flow.internal.v0.enums.PromptAction;
24364
24494
  export type PromptCheckoutDisplayPosition = io.flow.internal.v0.enums.PromptCheckoutDisplayPosition;
24365
24495
  export type PromptOptions = io.flow.internal.v0.enums.PromptOptions;
@@ -24622,6 +24752,7 @@ export type TransferTransaction = io.flow.internal.v0.models.TransferTransaction
24622
24752
  export type TransferTransactionDeleted = io.flow.internal.v0.models.TransferTransactionDeleted;
24623
24753
  export type TransferTransactionUpserted = io.flow.internal.v0.models.TransferTransactionUpserted;
24624
24754
  export type Tribe = io.flow.internal.v0.models.Tribe;
24755
+ export type UnclassifiedProductStatistic = io.flow.internal.v0.models.UnclassifiedProductStatistic;
24625
24756
  export type UnclassifiedProductStatus = io.flow.internal.v0.enums.UnclassifiedProductStatus;
24626
24757
  export type UnclassifiedProductsPurgeRequest = io.flow.internal.v0.models.UnclassifiedProductsPurgeRequest;
24627
24758
  export type UnclassifiedProductsSummary = io.flow.internal.v0.models.UnclassifiedProductsSummary;
@@ -24634,6 +24765,7 @@ export type UpsRegistration = io.flow.internal.v0.models.UpsRegistration;
24634
24765
  export type UpsRegistrationForm = io.flow.internal.v0.models.UpsRegistrationForm;
24635
24766
  export type UserDeletedV2 = io.flow.internal.v0.models.UserDeletedV2;
24636
24767
  export type UserOneTimeToken = io.flow.internal.v0.models.UserOneTimeToken;
24768
+ export type UserProductListSettings = io.flow.internal.v0.models.UserProductListSettings;
24637
24769
  export type UserStatusForm = io.flow.internal.v0.models.UserStatusForm;
24638
24770
  export type UserStatusRule = io.flow.internal.v0.models.UserStatusRule;
24639
24771
  export type UserStatusRuleForm = io.flow.internal.v0.models.UserStatusRuleForm;
package/src/api.ts CHANGED
@@ -2296,6 +2296,8 @@ declare namespace io.flow.v0.enums {
2296
2296
  | 'subcatalog_item_deleted'
2297
2297
  | 'channel_upserted'
2298
2298
  | 'channel_deleted'
2299
+ | 'channel_currency_upserted'
2300
+ | 'channel_currency_deleted'
2299
2301
  | 'channel_organization_upserted'
2300
2302
  | 'channel_organization_deleted'
2301
2303
  | 'b2b_invoice_upserted'
@@ -2471,7 +2473,8 @@ declare namespace io.flow.v0.enums {
2471
2473
  | 'organization_marketing'
2472
2474
  | 'organization_finance'
2473
2475
  | 'flow_operations'
2474
- | 'channel_admin';
2476
+ | 'channel_admin'
2477
+ | 'channel_organization_admin';
2475
2478
  type FraudEmailRuleDecision = 'approved' | 'declined';
2476
2479
  type FraudLiability = 'flow' | 'organization';
2477
2480
  type FraudStatus = 'pending' | 'approved' | 'declined' | 'review';
@@ -2879,6 +2882,7 @@ declare namespace io.flow.v0.models {
2879
2882
  interface AbandonedOrderPromotionDiscountDetails {
2880
2883
  readonly discriminator: 'abandoned_order_promotion_discount_details';
2881
2884
  readonly discount_form: io.flow.v0.models.DiscountForm;
2885
+ readonly attributes: Record<string, string>;
2882
2886
  }
2883
2887
 
2884
2888
  interface AbandonedOrderPromotionForm {
@@ -4109,6 +4113,14 @@ declare namespace io.flow.v0.models {
4109
4113
  readonly organization_id_prefix?: string;
4110
4114
  }
4111
4115
 
4116
+ interface ChannelAuthorization {
4117
+ readonly placeholder?: string;
4118
+ }
4119
+
4120
+ interface ChannelAuthorizationForm {
4121
+ readonly channel_id: string;
4122
+ }
4123
+
4112
4124
  interface ChannelCurrency {
4113
4125
  readonly id: string;
4114
4126
  readonly currency: string;
@@ -4116,16 +4128,29 @@ declare namespace io.flow.v0.models {
4116
4128
  readonly capabilities: io.flow.v0.enums.ChannelCurrencyCapability[];
4117
4129
  }
4118
4130
 
4131
+ interface ChannelCurrencyDeleted {
4132
+ readonly discriminator: 'channel_currency_deleted';
4133
+ readonly event_id: string;
4134
+ readonly timestamp: string;
4135
+ readonly id: string;
4136
+ }
4137
+
4119
4138
  interface ChannelCurrencyForm {
4120
- readonly currency: string;
4121
4139
  readonly capabilities: io.flow.v0.enums.ChannelCurrencyCapability[];
4122
4140
  }
4123
4141
 
4142
+ interface ChannelCurrencyUpserted {
4143
+ readonly discriminator: 'channel_currency_upserted';
4144
+ readonly event_id: string;
4145
+ readonly timestamp: string;
4146
+ readonly channel_currency: io.flow.v0.models.ChannelCurrency;
4147
+ }
4148
+
4124
4149
  interface ChannelDeleted {
4125
4150
  readonly discriminator: 'channel_deleted';
4126
4151
  readonly event_id: string;
4127
4152
  readonly timestamp: string;
4128
- readonly channel: io.flow.v0.models.Channel;
4153
+ readonly id: string;
4129
4154
  }
4130
4155
 
4131
4156
  interface ChannelForm {
@@ -4145,11 +4170,20 @@ declare namespace io.flow.v0.models {
4145
4170
  readonly attributes?: Record<string, string>;
4146
4171
  }
4147
4172
 
4173
+ interface ChannelOrganizationAuthorization {
4174
+ readonly placeholder?: string;
4175
+ }
4176
+
4177
+ interface ChannelOrganizationAuthorizationForm {
4178
+ readonly channel_id: string;
4179
+ readonly organization_id: string;
4180
+ }
4181
+
4148
4182
  interface ChannelOrganizationDeleted {
4149
4183
  readonly discriminator: 'channel_organization_deleted';
4150
4184
  readonly event_id: string;
4151
4185
  readonly timestamp: string;
4152
- readonly channel_organization: io.flow.v0.models.ChannelOrganization;
4186
+ readonly id: string;
4153
4187
  }
4154
4188
 
4155
4189
  interface ChannelOrganizationForm {
@@ -5247,8 +5281,7 @@ declare namespace io.flow.v0.models {
5247
5281
 
5248
5282
  interface EmailAbandonedOrderPromotion {
5249
5283
  readonly discount_form: io.flow.v0.models.DiscountForm;
5250
- readonly short_label?: string;
5251
- readonly long_label?: string;
5284
+ readonly attributes: Record<string, string>;
5252
5285
  }
5253
5286
 
5254
5287
  interface EmailAbandonedOrderUrls {
@@ -5266,7 +5299,7 @@ declare namespace io.flow.v0.models {
5266
5299
  readonly discriminator: 'abandoned_order';
5267
5300
  readonly order: io.flow.v0.models.OrderSummary;
5268
5301
  readonly urls: io.flow.v0.models.EmailAbandonedOrderUrls;
5269
- readonly promotions?: io.flow.v0.models.EmailAbandonedOrderPromotion[];
5302
+ readonly promotion?: io.flow.v0.models.EmailAbandonedOrderPromotion;
5270
5303
  }
5271
5304
 
5272
5305
  interface EmailNotificationDataRefund {
@@ -11469,6 +11502,8 @@ declare namespace io.flow.v0.unions {
11469
11502
  | io.flow.v0.models.SubcatalogItemDeleted
11470
11503
  | io.flow.v0.models.ChannelUpserted
11471
11504
  | io.flow.v0.models.ChannelDeleted
11505
+ | io.flow.v0.models.ChannelCurrencyUpserted
11506
+ | io.flow.v0.models.ChannelCurrencyDeleted
11472
11507
  | io.flow.v0.models.ChannelOrganizationUpserted
11473
11508
  | io.flow.v0.models.ChannelOrganizationDeleted
11474
11509
  | io.flow.v0.models.B2BInvoiceUpserted
@@ -12049,12 +12084,18 @@ export type CenterUpserted = io.flow.v0.models.CenterUpserted;
12049
12084
  export type CenterVersion = io.flow.v0.models.CenterVersion;
12050
12085
  export type ChangeType = io.flow.v0.enums.ChangeType;
12051
12086
  export type Channel = io.flow.v0.models.Channel;
12087
+ export type ChannelAuthorization = io.flow.v0.models.ChannelAuthorization;
12088
+ export type ChannelAuthorizationForm = io.flow.v0.models.ChannelAuthorizationForm;
12052
12089
  export type ChannelCurrency = io.flow.v0.models.ChannelCurrency;
12053
12090
  export type ChannelCurrencyCapability = io.flow.v0.enums.ChannelCurrencyCapability;
12091
+ export type ChannelCurrencyDeleted = io.flow.v0.models.ChannelCurrencyDeleted;
12054
12092
  export type ChannelCurrencyForm = io.flow.v0.models.ChannelCurrencyForm;
12093
+ export type ChannelCurrencyUpserted = io.flow.v0.models.ChannelCurrencyUpserted;
12055
12094
  export type ChannelDeleted = io.flow.v0.models.ChannelDeleted;
12056
12095
  export type ChannelForm = io.flow.v0.models.ChannelForm;
12057
12096
  export type ChannelOrganization = io.flow.v0.models.ChannelOrganization;
12097
+ export type ChannelOrganizationAuthorization = io.flow.v0.models.ChannelOrganizationAuthorization;
12098
+ export type ChannelOrganizationAuthorizationForm = io.flow.v0.models.ChannelOrganizationAuthorizationForm;
12058
12099
  export type ChannelOrganizationDeleted = io.flow.v0.models.ChannelOrganizationDeleted;
12059
12100
  export type ChannelOrganizationForm = io.flow.v0.models.ChannelOrganizationForm;
12060
12101
  export type ChannelOrganizationUpserted = io.flow.v0.models.ChannelOrganizationUpserted;