@flowio/types 11.24.107 → 11.24.109

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.
package/src/api.ts CHANGED
@@ -1184,6 +1184,13 @@ declare namespace io.flow.stripe.v0.models {
1184
1184
  readonly transfer_group?: string;
1185
1185
  }
1186
1186
 
1187
+ interface PaymentIntents {
1188
+ readonly object: string;
1189
+ readonly data: io.flow.stripe.v0.models.PaymentIntent[];
1190
+ readonly has_more: boolean;
1191
+ readonly url?: string;
1192
+ }
1193
+
1187
1194
  interface PaymentMethod {
1188
1195
  readonly id: string;
1189
1196
  readonly object: string;
@@ -3452,6 +3459,141 @@ declare namespace io.flow.common.v0.unions {
3452
3459
  | io.flow.common.v0.models.RepeatMonthly;
3453
3460
  }
3454
3461
 
3462
+ declare namespace io.flow.token.v0.models {
3463
+ interface ChannelToken {
3464
+ readonly discriminator: 'channel_token';
3465
+ readonly id: string;
3466
+ readonly channel: io.flow.common.v0.models.ChannelReference;
3467
+ readonly user: io.flow.common.v0.models.UserReference;
3468
+ readonly partial: string;
3469
+ readonly cleartext?: string;
3470
+ readonly created_at: string;
3471
+ readonly description?: string;
3472
+ }
3473
+
3474
+ interface ChannelTokenForm {
3475
+ readonly channel_id: string;
3476
+ readonly description?: string;
3477
+ }
3478
+
3479
+ interface ChannelTokenReference {
3480
+ readonly discriminator: 'channel_token_reference';
3481
+ readonly id: string;
3482
+ readonly channel: io.flow.common.v0.models.ChannelReference;
3483
+ readonly user: io.flow.common.v0.models.UserReference;
3484
+ }
3485
+
3486
+ interface Cleartext {
3487
+ readonly value: string;
3488
+ }
3489
+
3490
+ interface OrganizationToken {
3491
+ readonly discriminator: 'organization_token';
3492
+ readonly id: string;
3493
+ readonly organization: io.flow.common.v0.models.OrganizationReference;
3494
+ readonly user: io.flow.common.v0.models.UserReference;
3495
+ readonly environment: io.flow.common.v0.enums.Environment;
3496
+ readonly partial: string;
3497
+ readonly created_at: string;
3498
+ readonly description?: string;
3499
+ }
3500
+
3501
+ interface OrganizationTokenForm {
3502
+ readonly environment: io.flow.common.v0.enums.Environment;
3503
+ readonly description?: string;
3504
+ }
3505
+
3506
+ interface OrganizationTokenFormV2 {
3507
+ readonly organization_id: string;
3508
+ readonly description?: string;
3509
+ }
3510
+
3511
+ interface OrganizationTokenReference {
3512
+ readonly discriminator: 'organization_token_reference';
3513
+ readonly id: string;
3514
+ readonly organization: io.flow.common.v0.models.OrganizationReference;
3515
+ readonly environment: io.flow.common.v0.enums.Environment;
3516
+ readonly user: io.flow.common.v0.models.UserReference;
3517
+ }
3518
+
3519
+ interface OrganizationTokenV2 {
3520
+ readonly discriminator: 'organization_token_v2';
3521
+ readonly id: string;
3522
+ readonly organization: io.flow.common.v0.models.OrganizationReference;
3523
+ readonly user: io.flow.common.v0.models.UserReference;
3524
+ readonly partial: string;
3525
+ readonly cleartext?: string;
3526
+ readonly created_at: string;
3527
+ readonly description?: string;
3528
+ }
3529
+
3530
+ interface OrganizationTokenV2Reference {
3531
+ readonly discriminator: 'organization_token_v2_reference';
3532
+ readonly id: string;
3533
+ readonly organization: io.flow.common.v0.models.OrganizationReference;
3534
+ }
3535
+
3536
+ interface PartnerToken {
3537
+ readonly discriminator: 'partner_token';
3538
+ readonly id: string;
3539
+ readonly partner: io.flow.token.v0.models.TokenPartnerReference;
3540
+ readonly user: io.flow.common.v0.models.UserReference;
3541
+ readonly environment: io.flow.common.v0.enums.Environment;
3542
+ readonly partial: string;
3543
+ readonly created_at: string;
3544
+ readonly description?: string;
3545
+ }
3546
+
3547
+ interface PartnerTokenForm {
3548
+ readonly environment: io.flow.common.v0.enums.Environment;
3549
+ readonly description?: string;
3550
+ }
3551
+
3552
+ interface PartnerTokenReference {
3553
+ readonly discriminator: 'partner_token_reference';
3554
+ readonly id: string;
3555
+ readonly partner: io.flow.token.v0.models.TokenPartnerReference;
3556
+ readonly environment: io.flow.common.v0.enums.Environment;
3557
+ readonly user: io.flow.common.v0.models.UserReference;
3558
+ }
3559
+
3560
+ interface TokenAuthenticationForm {
3561
+ readonly token: string;
3562
+ }
3563
+
3564
+ interface TokenPartnerReference {
3565
+ readonly id: string;
3566
+ }
3567
+
3568
+ interface TokenRbacAuthenticationForm {
3569
+ readonly token: string;
3570
+ readonly method: string;
3571
+ readonly path_pattern: string;
3572
+ readonly path: string;
3573
+ }
3574
+
3575
+ interface TokenValidation {
3576
+ readonly status: string;
3577
+ }
3578
+
3579
+ interface TokenValidationForm {
3580
+ readonly token: string;
3581
+ }
3582
+ }
3583
+
3584
+ declare namespace io.flow.token.v0.unions {
3585
+ type Token =
3586
+ | io.flow.token.v0.models.ChannelToken
3587
+ | io.flow.token.v0.models.OrganizationToken
3588
+ | io.flow.token.v0.models.OrganizationTokenV2
3589
+ | io.flow.token.v0.models.PartnerToken;
3590
+ type TokenReference =
3591
+ | io.flow.token.v0.models.ChannelTokenReference
3592
+ | io.flow.token.v0.models.OrganizationTokenReference
3593
+ | io.flow.token.v0.models.OrganizationTokenV2Reference
3594
+ | io.flow.token.v0.models.PartnerTokenReference;
3595
+ }
3596
+
3455
3597
  declare namespace io.flow.error.v0.enums {
3456
3598
  type GenericErrorCode = 'generic_error' | 'client_error' | 'server_error';
3457
3599
  }
@@ -4606,6 +4748,38 @@ declare namespace io.flow.merchant.of.record.v0.enums {
4606
4748
  type FlowEntity = 'flow-usa' | 'flow-irl' | 'flow-can' | 'ge-usa';
4607
4749
  }
4608
4750
 
4751
+ declare namespace io.flow.tech.onboarding.playground.v0.enums {
4752
+ type AldoItemType = 'physical' | 'digital';
4753
+ }
4754
+
4755
+ declare namespace io.flow.tech.onboarding.playground.v0.models {
4756
+ interface AldoItem {
4757
+ readonly id: string;
4758
+ readonly number: string;
4759
+ readonly amount: io.flow.common.v0.models.Price;
4760
+ readonly description?: string;
4761
+ readonly type: io.flow.tech.onboarding.playground.v0.enums.AldoItemType;
4762
+ readonly added_on: string;
4763
+ }
4764
+
4765
+ interface AldoItemForm {
4766
+ readonly number: string;
4767
+ readonly amount: io.flow.common.v0.models.Price;
4768
+ readonly description?: string;
4769
+ readonly type: io.flow.tech.onboarding.playground.v0.enums.AldoItemType;
4770
+ readonly added_on: string;
4771
+ }
4772
+
4773
+ interface JeanDemoItem {
4774
+ readonly id: string;
4775
+ readonly name: string;
4776
+ }
4777
+
4778
+ interface TechOnboardingDescription {
4779
+ readonly description: string;
4780
+ }
4781
+ }
4782
+
4609
4783
  declare namespace io.flow.currency.v0.models {
4610
4784
  interface Rate {
4611
4785
  readonly id: string;
@@ -5666,6 +5840,8 @@ declare namespace io.flow.v0.enums {
5666
5840
  type EventType =
5667
5841
  | 'test_upserted'
5668
5842
  | 'generate_load'
5843
+ | 'aldo_item_upserted'
5844
+ | 'aldo_item_deleted'
5669
5845
  | 'transaction_upserted'
5670
5846
  | 'organization_transaction_upserted'
5671
5847
  | 'organization_transaction_deleted'
@@ -5726,8 +5902,6 @@ declare namespace io.flow.v0.enums {
5726
5902
  | 'customer_deleted'
5727
5903
  | 'customer_address_book_contact_upserted'
5728
5904
  | 'customer_address_book_contact_deleted'
5729
- | 'email_notification_upserted'
5730
- | 'email_notification_deleted'
5731
5905
  | 'available_promotions_upserted'
5732
5906
  | 'available_promotions_deleted'
5733
5907
  | 'available_promotions_upserted_v2'
@@ -5966,7 +6140,6 @@ declare namespace io.flow.v0.enums {
5966
6140
  type LanePreselectPreference = 'lowest_cost' | 'default_tier';
5967
6141
  type LaneStrategy = 'oldest' | 'fastest' | 'lowest_cost' | 'highest_priority';
5968
6142
  type LevyComponent = 'goods' | 'duty' | 'insurance' | 'freight' | 'vat';
5969
- type LevyInclusion = 'tax' | 'duty';
5970
6143
  type LevyStrategy = 'minimum' | 'average' | 'maximum';
5971
6144
  type LocationErrorCode =
5972
6145
  | 'address_required'
@@ -6390,6 +6563,19 @@ declare namespace io.flow.v0.enums {
6390
6563
  type ShipmentIntegrationType = 'direct' | 'information' | 'preadvice';
6391
6564
  type ShipmentRecipient = 'customer' | 'return' | 'crossdock';
6392
6565
  type ShippingConfigurationType = 'default' | 'variant';
6566
+ type ShippingLabelErrorCode =
6567
+ | 'generic_error'
6568
+ | 'cancelled_order'
6569
+ | 'carrier_outage'
6570
+ | 'catalog_issue'
6571
+ | 'invalid_destination'
6572
+ | 'invalid_origin'
6573
+ | 'invalid_shipping_parameters'
6574
+ | 'merchant_error'
6575
+ | 'order_not_found'
6576
+ | 'order_processing'
6577
+ | 'restricted_item'
6578
+ | 'unsupported_lane';
6393
6579
  type ShopifyGrant =
6394
6580
  | 'customer'
6395
6581
  | 'discount'
@@ -6412,28 +6598,6 @@ declare namespace io.flow.v0.enums {
6412
6598
  type SyncStreamType = 'submitted_order' | 'placed_order';
6413
6599
  type SyncUnitOfTime = 'day' | 'hour' | 'minute' | 'second';
6414
6600
  type TaxApplicability = 'none' | 'all';
6415
- type TaxDutyCalculatorValidationErrorCode =
6416
- | 'generic_error'
6417
- | 'destination_country_not_defined'
6418
- | 'destination_address_iso3166_unrecognized'
6419
- | 'line_item_shipfrom_shipto_country_invalid'
6420
- | 'line_item_ship_from_invalid'
6421
- | 'line_item_currency_iso4217_unrecognized'
6422
- | 'line_quantity_invalid'
6423
- | 'line_item_quantity_invalid'
6424
- | 'line_item_unit_price_precision_invalid'
6425
- | 'line_item_unit_price_negative'
6426
- | 'line_item_discount_amount_precision_invalid'
6427
- | 'line_item_discount_amount_positive'
6428
- | 'line_item_country_of_origin_iso3166_unrecognized'
6429
- | 'line_item_hs_code_invalid'
6430
- | 'line_item_duty_provider_invalid'
6431
- | 'shipping_unit_price_precision_invalid'
6432
- | 'shipping_unit_price_negative'
6433
- | 'shipping_discount_amount_precision_invalid'
6434
- | 'shipping_discount_amount_invalid'
6435
- | 'merchant_of_record_invalid'
6436
- | 'wrong_unit_specified';
6437
6601
  type TaxReportType = 'consumer' | 'b2b';
6438
6602
  type TaxVerificationResult = 'valid' | 'invalid' | 'unable_to_validate';
6439
6603
  type TaxabilityType = 'tax_rule';
@@ -6534,17 +6698,6 @@ declare namespace io.flow.v0.enums {
6534
6698
  type WebhookStatus = 'pending' | 'success' | 'failure' | 'ignored';
6535
6699
  type WithholdingDeductionType = 'tax' | 'duty' | 'freight' | 'insurance';
6536
6700
  type ZeroAmountIndicator = 'zero' | 'free';
6537
- type ZeroLevyReasonCode =
6538
- | 'zero_basis'
6539
- | 'zero_rate_on_goods'
6540
- | 'value_rounds_to_zero'
6541
- | 'order_below_de_minimis_threshold'
6542
- | 'amount_below_de_minimis_threshold'
6543
- | 'delivered_unpaid'
6544
- | 'duty_free_domestic'
6545
- | 'duty_free_intra_community'
6546
- | 'duty_free_reimport'
6547
- | 'duty_free_by_trade_agreement';
6548
6701
  }
6549
6702
 
6550
6703
  declare namespace io.flow.v0.models {
@@ -6859,6 +7012,20 @@ declare namespace io.flow.v0.models {
6859
7012
  readonly fingerprint_token: string;
6860
7013
  }
6861
7014
 
7015
+ interface AldoItemDeleted {
7016
+ readonly discriminator: 'aldo_item_deleted';
7017
+ readonly event_id: string;
7018
+ readonly timestamp: string;
7019
+ readonly id: string;
7020
+ }
7021
+
7022
+ interface AldoItemUpserted {
7023
+ readonly discriminator: 'aldo_item_upserted';
7024
+ readonly event_id: string;
7025
+ readonly timestamp: string;
7026
+ readonly item: io.flow.tech.onboarding.playground.v0.models.AldoItem;
7027
+ }
7028
+
6862
7029
  interface Allocation {
6863
7030
  readonly order: io.flow.v0.models.AllocationOrderSummary;
6864
7031
  readonly details: io.flow.v0.unions.AllocationDetail[];
@@ -8527,19 +8694,6 @@ declare namespace io.flow.v0.models {
8527
8694
  readonly phone?: string;
8528
8695
  }
8529
8696
 
8530
- interface Context {
8531
- readonly id: string;
8532
- readonly experiments: io.flow.v0.models.SessionContextExperiment[];
8533
- }
8534
-
8535
- interface ContextForm {
8536
- readonly experiments: io.flow.v0.models.SessionContextExperiment[];
8537
- }
8538
-
8539
- interface ContextReference {
8540
- readonly id: string;
8541
- }
8542
-
8543
8697
  interface Country {
8544
8698
  readonly name: string;
8545
8699
  readonly iso_3166_2: string;
@@ -9416,28 +9570,12 @@ declare namespace io.flow.v0.models {
9416
9570
  readonly payment: io.flow.v0.models.EmailPaymentSummary;
9417
9571
  }
9418
9572
 
9419
- interface EmailNotificationDeleted {
9420
- readonly discriminator: 'email_notification_deleted';
9421
- readonly event_id: string;
9422
- readonly timestamp: string;
9423
- readonly organization: string;
9424
- readonly notification: io.flow.v0.models.EmailNotification;
9425
- }
9426
-
9427
9573
  interface EmailNotificationForm {
9428
9574
  readonly to: io.flow.v0.models.EmailRecipient;
9429
9575
  readonly created_at: string;
9430
9576
  readonly data: io.flow.v0.unions.EmailNotificationData;
9431
9577
  }
9432
9578
 
9433
- interface EmailNotificationUpserted {
9434
- readonly discriminator: 'email_notification_upserted';
9435
- readonly event_id: string;
9436
- readonly timestamp: string;
9437
- readonly organization: string;
9438
- readonly notification: io.flow.v0.models.EmailNotification;
9439
- }
9440
-
9441
9579
  interface EmailPaymentSummary {
9442
9580
  readonly refund: io.flow.v0.models.Refund;
9443
9581
  }
@@ -9811,10 +9949,6 @@ declare namespace io.flow.v0.models {
9811
9949
  readonly experience: io.flow.v0.models.Experience;
9812
9950
  }
9813
9951
 
9814
- interface ExperimentVariant {
9815
- readonly key: string;
9816
- }
9817
-
9818
9952
  interface Expiration {
9819
9953
  readonly month: number;
9820
9954
  readonly year: number;
@@ -11218,7 +11352,6 @@ declare namespace io.flow.v0.models {
11218
11352
  readonly language: io.flow.v0.models.Language;
11219
11353
  readonly locale: io.flow.v0.models.Locale;
11220
11354
  readonly experience: io.flow.v0.models.ExperienceGeo;
11221
- readonly experiment?: io.flow.v0.models.SessionExperiment;
11222
11355
  }
11223
11356
 
11224
11357
  interface Locale {
@@ -12555,8 +12688,6 @@ declare namespace io.flow.v0.models {
12555
12688
  readonly geo?: io.flow.v0.models.SessionGeo;
12556
12689
  readonly experience?: io.flow.v0.models.ExperienceGeo;
12557
12690
  readonly format?: io.flow.v0.models.SessionFormat;
12558
- readonly experiment?: io.flow.v0.models.SessionExperiment;
12559
- readonly context?: io.flow.v0.models.ContextReference;
12560
12691
  }
12561
12692
 
12562
12693
  interface OrganizationSessionAuthorization {
@@ -13867,6 +13998,17 @@ declare namespace io.flow.v0.models {
13867
13998
  readonly source: io.flow.v0.enums.DeliveryWindowComponentSource;
13868
13999
  }
13869
14000
 
14001
+ interface Product {
14002
+ readonly id: string;
14003
+ readonly organization_id: string;
14004
+ readonly number: string;
14005
+ readonly taxonomy_category?: io.flow.v0.models.ProductTaxonomyCategory;
14006
+ readonly taxonomy_data?: io.flow.v0.models.ProductTaxonomyData[];
14007
+ readonly item_numbers: string[];
14008
+ readonly updated_at: string;
14009
+ readonly deleted_at?: string;
14010
+ }
14011
+
13870
14012
  interface ProductRestrictionResult {
13871
14013
  readonly id: string;
13872
14014
  readonly product_id: string;
@@ -13896,6 +14038,16 @@ declare namespace io.flow.v0.models {
13896
14038
  readonly product_restriction_result: io.flow.v0.models.ProductRestrictionResult;
13897
14039
  }
13898
14040
 
14041
+ interface ProductTaxonomyCategory {
14042
+ readonly name: string;
14043
+ readonly fullname: string;
14044
+ }
14045
+
14046
+ interface ProductTaxonomyData {
14047
+ readonly key: string;
14048
+ readonly value: string[];
14049
+ }
14050
+
13899
14051
  interface PromotionTrigger {
13900
14052
  readonly type: io.flow.v0.enums.PromotionTriggerType;
13901
14053
  readonly min: io.flow.v0.models.Price;
@@ -14862,35 +15014,11 @@ declare namespace io.flow.v0.models {
14862
15014
  readonly session: string;
14863
15015
  }
14864
15016
 
14865
- interface SessionContextExperiment {
14866
- readonly key: string;
14867
- readonly variant?: io.flow.v0.models.ExperimentVariant;
14868
- }
14869
-
14870
15017
  interface SessionCurrencyFormat {
14871
15018
  readonly symbol: io.flow.v0.enums.CurrencySymbolFormat;
14872
15019
  readonly label_formatters: io.flow.v0.enums.CurrencyLabelFormatter[];
14873
15020
  }
14874
15021
 
14875
- interface SessionExperiment {
14876
- readonly key: string;
14877
- readonly variant?: io.flow.v0.models.SessionExperimentVariant;
14878
- }
14879
-
14880
- interface SessionExperimentForm {
14881
- readonly key: string;
14882
- readonly variant?: io.flow.v0.models.SessionExperimentVariantForm;
14883
- }
14884
-
14885
- interface SessionExperimentVariant {
14886
- readonly key: string;
14887
- readonly name: string;
14888
- }
14889
-
14890
- interface SessionExperimentVariantForm {
14891
- readonly key: string;
14892
- }
14893
-
14894
15022
  interface SessionExpirationConfig {
14895
15023
  readonly unit: io.flow.v0.enums.UnitOfTime;
14896
15024
  readonly value: number;
@@ -15134,6 +15262,11 @@ declare namespace io.flow.v0.models {
15134
15262
  readonly required: boolean;
15135
15263
  }
15136
15264
 
15265
+ interface ShippingLabelError {
15266
+ readonly code: io.flow.v0.enums.ShippingLabelErrorCode;
15267
+ readonly messages: string[];
15268
+ }
15269
+
15137
15270
  interface ShippingLabelHopCostItemizedEstimate {
15138
15271
  readonly units: io.flow.v0.models.LabelUnits;
15139
15272
  readonly base: io.flow.v0.models.LabelBase;
@@ -15661,14 +15794,6 @@ declare namespace io.flow.v0.models {
15661
15794
  readonly statement: io.flow.v0.models.Statement;
15662
15795
  }
15663
15796
 
15664
- interface StreetAddress {
15665
- readonly streets?: string[];
15666
- readonly city?: string;
15667
- readonly province?: string;
15668
- readonly postal?: string;
15669
- readonly country?: string;
15670
- }
15671
-
15672
15797
  interface StripeAuthenticationData {
15673
15798
  readonly discriminator: 'stripe_authentication_data';
15674
15799
  readonly secret_key_reference: string;
@@ -15896,92 +16021,6 @@ declare namespace io.flow.v0.models {
15896
16021
  readonly deminimis?: io.flow.v0.unions.Deminimis;
15897
16022
  }
15898
16023
 
15899
- interface TaxDutyCalculatorValidationError {
15900
- readonly code: io.flow.v0.enums.TaxDutyCalculatorValidationErrorCode;
15901
- readonly messages: string[];
15902
- }
15903
-
15904
- interface TaxDutyQuote {
15905
- readonly id: string;
15906
- readonly primary_identifier: string;
15907
- readonly attributes?: Record<string, string>;
15908
- readonly merchant_of_record: io.flow.v0.enums.MerchantOfRecord;
15909
- readonly delivered_duty: io.flow.v0.enums.DeliveredDuty;
15910
- readonly destination: io.flow.v0.models.StreetAddress;
15911
- readonly quote_date: string;
15912
- readonly currency: string;
15913
- readonly lines: io.flow.v0.models.TaxDutyQuoteLineItem[];
15914
- readonly shipping: io.flow.v0.models.TaxDutyQuoteSimpleShipping[];
15915
- readonly total_values: io.flow.v0.models.TaxDutyQuoteValues;
15916
- }
15917
-
15918
- interface TaxDutyQuoteFeeValue {
15919
- readonly amount: number;
15920
- readonly description: string;
15921
- readonly amount_refundable_on_return: number;
15922
- }
15923
-
15924
- interface TaxDutyQuoteForm {
15925
- readonly primary_identifier: string;
15926
- readonly attributes?: Record<string, string>;
15927
- readonly delivered_duty: io.flow.v0.enums.DeliveredDuty;
15928
- readonly destination: io.flow.v0.models.StreetAddress;
15929
- readonly currency: string;
15930
- readonly lines: io.flow.v0.models.TaxDutyQuoteLineItemForm[];
15931
- readonly shipping: io.flow.v0.models.TaxDutyQuoteSimpleShippingForm[];
15932
- readonly includes?: io.flow.v0.enums.LevyInclusion[];
15933
- }
15934
-
15935
- interface TaxDutyQuoteLineItem {
15936
- readonly primary_identifier: string;
15937
- readonly attributes?: Record<string, string>;
15938
- readonly ship_from: io.flow.v0.models.StreetAddress;
15939
- readonly quantity: number;
15940
- readonly unit_values: io.flow.v0.models.TaxDutyQuoteValues;
15941
- readonly country_of_origin: string;
15942
- readonly hs_code: string;
15943
- }
15944
-
15945
- interface TaxDutyQuoteLineItemForm {
15946
- readonly primary_identifier: string;
15947
- readonly attributes?: Record<string, string>;
15948
- readonly ship_from: io.flow.v0.models.StreetAddress;
15949
- readonly quantity: number;
15950
- readonly unit_price: number;
15951
- readonly unit_weight?: io.flow.v0.models.Measurement;
15952
- readonly country_of_origin?: string;
15953
- readonly hs_code?: string;
15954
- readonly includes: io.flow.v0.enums.LevyInclusion[];
15955
- }
15956
-
15957
- interface TaxDutyQuoteSimpleLevyValue {
15958
- readonly discriminator: 'tax_duty_quote_simple_levy_value';
15959
- readonly amount: number;
15960
- readonly rate: number;
15961
- readonly description: string;
15962
- readonly zero_levy_reason?: io.flow.v0.enums.ZeroLevyReasonCode[];
15963
- readonly amount_refundable_on_return: number;
15964
- }
15965
-
15966
- interface TaxDutyQuoteSimpleShipping {
15967
- readonly values: io.flow.v0.models.TaxDutyQuoteValues;
15968
- readonly ship_from: io.flow.v0.models.StreetAddress;
15969
- }
15970
-
15971
- interface TaxDutyQuoteSimpleShippingForm {
15972
- readonly price: number;
15973
- readonly includes: io.flow.v0.enums.LevyInclusion[];
15974
- readonly ship_from?: io.flow.v0.models.StreetAddress;
15975
- }
15976
-
15977
- interface TaxDutyQuoteValues {
15978
- readonly price: number;
15979
- readonly duty: io.flow.v0.models.TaxDutyQuoteSimpleLevyValue;
15980
- readonly tax: io.flow.v0.models.TaxDutyQuoteSimpleLevyValue;
15981
- readonly fees: io.flow.v0.models.TaxDutyQuoteFeeValue;
15982
- readonly total: number;
15983
- }
15984
-
15985
16024
  interface TaxRegistration {
15986
16025
  readonly id: string;
15987
16026
  readonly key: string;
@@ -16219,6 +16258,7 @@ declare namespace io.flow.v0.models {
16219
16258
  readonly timestamp: string;
16220
16259
  readonly description?: string;
16221
16260
  readonly aggregator_status_code?: string;
16261
+ readonly created_at?: string;
16222
16262
  }
16223
16263
 
16224
16264
  interface TrackingEventForm {
@@ -16886,6 +16926,8 @@ declare namespace io.flow.v0.unions {
16886
16926
  type Event =
16887
16927
  | io.flow.v0.models.TestUpserted
16888
16928
  | io.flow.v0.models.GenerateLoad
16929
+ | io.flow.v0.models.AldoItemUpserted
16930
+ | io.flow.v0.models.AldoItemDeleted
16889
16931
  | io.flow.v0.models.TransactionUpserted
16890
16932
  | io.flow.v0.models.OrganizationTransactionUpserted
16891
16933
  | io.flow.v0.models.OrganizationTransactionDeleted
@@ -16946,8 +16988,6 @@ declare namespace io.flow.v0.unions {
16946
16988
  | io.flow.v0.models.CustomerDeleted
16947
16989
  | io.flow.v0.models.CustomerAddressBookContactUpserted
16948
16990
  | io.flow.v0.models.CustomerAddressBookContactDeleted
16949
- | io.flow.v0.models.EmailNotificationUpserted
16950
- | io.flow.v0.models.EmailNotificationDeleted
16951
16991
  | io.flow.v0.models.AvailablePromotionsUpserted
16952
16992
  | io.flow.v0.models.AvailablePromotionsDeleted
16953
16993
  | io.flow.v0.models.AvailablePromotionsUpsertedV2
@@ -17367,7 +17407,6 @@ declare namespace io.flow.v0.unions {
17367
17407
  | io.flow.v0.models.ShopifyCartAddSingleForm
17368
17408
  | io.flow.v0.models.ShopifyCartAddMultipleForm;
17369
17409
  type ShopifyEventBucket = io.flow.v0.models.ShopifyItemEventBucket;
17370
- type TaxDutyQuoteLevyValue = io.flow.v0.models.TaxDutyQuoteSimpleLevyValue;
17371
17410
  type TaxSetting =
17372
17411
  | io.flow.v0.models.AvalaraTaxSetting
17373
17412
  | io.flow.v0.models.AvalaraTaxCsvSetting;
@@ -17480,6 +17519,8 @@ export type AdyenNativeActionDetails =
17480
17519
  export type AdyenNativeData = io.flow.v0.unions.AdyenNativeData;
17481
17520
  export type AdyenV3ChallengeToken = io.flow.v0.models.AdyenV3ChallengeToken;
17482
17521
  export type AdyenV3FingerprintToken = io.flow.v0.models.AdyenV3FingerprintToken;
17522
+ export type AldoItemDeleted = io.flow.v0.models.AldoItemDeleted;
17523
+ export type AldoItemUpserted = io.flow.v0.models.AldoItemUpserted;
17483
17524
  export type Allocation = io.flow.v0.models.Allocation;
17484
17525
  export type AllocationComponent = io.flow.v0.unions.AllocationComponent;
17485
17526
  export type AllocationDeletedV2 = io.flow.v0.models.AllocationDeletedV2;
@@ -17822,9 +17863,6 @@ export type ConsumerInvoiceReference =
17822
17863
  export type ConsumerInvoiceStatus = io.flow.v0.enums.ConsumerInvoiceStatus;
17823
17864
  export type ConsumerInvoiceUpserted = io.flow.v0.models.ConsumerInvoiceUpserted;
17824
17865
  export type Contact = io.flow.v0.models.Contact;
17825
- export type Context = io.flow.v0.models.Context;
17826
- export type ContextForm = io.flow.v0.models.ContextForm;
17827
- export type ContextReference = io.flow.v0.models.ContextReference;
17828
17866
  export type CostEstimateSource = io.flow.v0.enums.CostEstimateSource;
17829
17867
  export type Country = io.flow.v0.models.Country;
17830
17868
  export type CountryAvailability = io.flow.v0.models.CountryAvailability;
@@ -18013,11 +18051,7 @@ export type EmailNotificationAbandonedOrder =
18013
18051
  export type EmailNotificationData = io.flow.v0.unions.EmailNotificationData;
18014
18052
  export type EmailNotificationDataRefund =
18015
18053
  io.flow.v0.models.EmailNotificationDataRefund;
18016
- export type EmailNotificationDeleted =
18017
- io.flow.v0.models.EmailNotificationDeleted;
18018
18054
  export type EmailNotificationForm = io.flow.v0.models.EmailNotificationForm;
18019
- export type EmailNotificationUpserted =
18020
- io.flow.v0.models.EmailNotificationUpserted;
18021
18055
  export type EmailPaymentSummary = io.flow.v0.models.EmailPaymentSummary;
18022
18056
  export type EmailRecipient = io.flow.v0.models.EmailRecipient;
18023
18057
  export type EmailVerification = io.flow.v0.models.EmailVerification;
@@ -18125,7 +18159,6 @@ export type ExperienceSummary = io.flow.v0.models.ExperienceSummary;
18125
18159
  export type ExperienceUpserted = io.flow.v0.models.ExperienceUpserted;
18126
18160
  export type ExperienceUpsertedV2 = io.flow.v0.models.ExperienceUpsertedV2;
18127
18161
  export type ExperienceVersion = io.flow.v0.models.ExperienceVersion;
18128
- export type ExperimentVariant = io.flow.v0.models.ExperimentVariant;
18129
18162
  export type Expiration = io.flow.v0.models.Expiration;
18130
18163
  export type Export = io.flow.v0.models.Export;
18131
18164
  export type ExportDelivery = io.flow.v0.unions.ExportDelivery;
@@ -18398,7 +18431,6 @@ export type LaneSummary = io.flow.v0.models.LaneSummary;
18398
18431
  export type Language = io.flow.v0.models.Language;
18399
18432
  export type LargePackageServiceFee = io.flow.v0.models.LargePackageServiceFee;
18400
18433
  export type LevyComponent = io.flow.v0.enums.LevyComponent;
18401
- export type LevyInclusion = io.flow.v0.enums.LevyInclusion;
18402
18434
  export type LevyStrategy = io.flow.v0.enums.LevyStrategy;
18403
18435
  export type Line = io.flow.v0.models.Line;
18404
18436
  export type LineItem = io.flow.v0.models.LineItem;
@@ -19045,6 +19077,7 @@ export type PricingSettings = io.flow.v0.models.PricingSettings;
19045
19077
  export type PricingUpserted = io.flow.v0.models.PricingUpserted;
19046
19078
  export type PricingVersion = io.flow.v0.models.PricingVersion;
19047
19079
  export type ProcessingEstimate = io.flow.v0.models.ProcessingEstimate;
19080
+ export type Product = io.flow.v0.models.Product;
19048
19081
  export type ProductRestrictionResult =
19049
19082
  io.flow.v0.models.ProductRestrictionResult;
19050
19083
  export type ProductRestrictionResultDeleted =
@@ -19052,6 +19085,8 @@ export type ProductRestrictionResultDeleted =
19052
19085
  export type ProductRestrictionResultUpserted =
19053
19086
  io.flow.v0.models.ProductRestrictionResultUpserted;
19054
19087
  export type ProductRestrictionRule = io.flow.v0.enums.ProductRestrictionRule;
19088
+ export type ProductTaxonomyCategory = io.flow.v0.models.ProductTaxonomyCategory;
19089
+ export type ProductTaxonomyData = io.flow.v0.models.ProductTaxonomyData;
19055
19090
  export type Promotion = io.flow.v0.unions.Promotion;
19056
19091
  export type PromotionTrigger = io.flow.v0.models.PromotionTrigger;
19057
19092
  export type PromotionTriggerForm = io.flow.v0.models.PromotionTriggerForm;
@@ -19227,15 +19262,7 @@ export type Session = io.flow.v0.unions.Session;
19227
19262
  export type SessionAuthorization = io.flow.v0.unions.SessionAuthorization;
19228
19263
  export type SessionAuthorizationForm =
19229
19264
  io.flow.v0.models.SessionAuthorizationForm;
19230
- export type SessionContextExperiment =
19231
- io.flow.v0.models.SessionContextExperiment;
19232
19265
  export type SessionCurrencyFormat = io.flow.v0.models.SessionCurrencyFormat;
19233
- export type SessionExperiment = io.flow.v0.models.SessionExperiment;
19234
- export type SessionExperimentForm = io.flow.v0.models.SessionExperimentForm;
19235
- export type SessionExperimentVariant =
19236
- io.flow.v0.models.SessionExperimentVariant;
19237
- export type SessionExperimentVariantForm =
19238
- io.flow.v0.models.SessionExperimentVariantForm;
19239
19266
  export type SessionExpirationConfig = io.flow.v0.models.SessionExpirationConfig;
19240
19267
  export type SessionForm = io.flow.v0.models.SessionForm;
19241
19268
  export type SessionFormat = io.flow.v0.models.SessionFormat;
@@ -19288,6 +19315,8 @@ export type ShippingConfigurationVersion =
19288
19315
  io.flow.v0.models.ShippingConfigurationVersion;
19289
19316
  export type ShippingLabel = io.flow.v0.models.ShippingLabel;
19290
19317
  export type ShippingLabelDocument = io.flow.v0.models.ShippingLabelDocument;
19318
+ export type ShippingLabelError = io.flow.v0.models.ShippingLabelError;
19319
+ export type ShippingLabelErrorCode = io.flow.v0.enums.ShippingLabelErrorCode;
19291
19320
  export type ShippingLabelForm = io.flow.v0.unions.ShippingLabelForm;
19292
19321
  export type ShippingLabelHopCostItemizedEstimate =
19293
19322
  io.flow.v0.models.ShippingLabelHopCostItemizedEstimate;
@@ -19401,7 +19430,6 @@ export type StatementDeleted = io.flow.v0.models.StatementDeleted;
19401
19430
  export type StatementUpserted = io.flow.v0.models.StatementUpserted;
19402
19431
  export type StoredMethodUsageStep = io.flow.v0.enums.StoredMethodUsageStep;
19403
19432
  export type Strategy = io.flow.v0.enums.Strategy;
19404
- export type StreetAddress = io.flow.v0.models.StreetAddress;
19405
19433
  export type StripeAuthenticationData =
19406
19434
  io.flow.v0.models.StripeAuthenticationData;
19407
19435
  export type StripeAuthenticationDataForm =
@@ -19449,24 +19477,6 @@ export type SyncStreamType = io.flow.v0.enums.SyncStreamType;
19449
19477
  export type SyncUnitOfTime = io.flow.v0.enums.SyncUnitOfTime;
19450
19478
  export type Tax = io.flow.v0.models.Tax;
19451
19479
  export type TaxApplicability = io.flow.v0.enums.TaxApplicability;
19452
- export type TaxDutyCalculatorValidationError =
19453
- io.flow.v0.models.TaxDutyCalculatorValidationError;
19454
- export type TaxDutyCalculatorValidationErrorCode =
19455
- io.flow.v0.enums.TaxDutyCalculatorValidationErrorCode;
19456
- export type TaxDutyQuote = io.flow.v0.models.TaxDutyQuote;
19457
- export type TaxDutyQuoteFeeValue = io.flow.v0.models.TaxDutyQuoteFeeValue;
19458
- export type TaxDutyQuoteForm = io.flow.v0.models.TaxDutyQuoteForm;
19459
- export type TaxDutyQuoteLevyValue = io.flow.v0.unions.TaxDutyQuoteLevyValue;
19460
- export type TaxDutyQuoteLineItem = io.flow.v0.models.TaxDutyQuoteLineItem;
19461
- export type TaxDutyQuoteLineItemForm =
19462
- io.flow.v0.models.TaxDutyQuoteLineItemForm;
19463
- export type TaxDutyQuoteSimpleLevyValue =
19464
- io.flow.v0.models.TaxDutyQuoteSimpleLevyValue;
19465
- export type TaxDutyQuoteSimpleShipping =
19466
- io.flow.v0.models.TaxDutyQuoteSimpleShipping;
19467
- export type TaxDutyQuoteSimpleShippingForm =
19468
- io.flow.v0.models.TaxDutyQuoteSimpleShippingForm;
19469
- export type TaxDutyQuoteValues = io.flow.v0.models.TaxDutyQuoteValues;
19470
19480
  export type TaxRegistration = io.flow.v0.models.TaxRegistration;
19471
19481
  export type TaxRegistrationForm = io.flow.v0.models.TaxRegistrationForm;
19472
19482
  export type TaxReport = io.flow.v0.models.TaxReport;
@@ -19650,5 +19660,4 @@ export type WithholdingDeduction = io.flow.v0.models.WithholdingDeduction;
19650
19660
  export type WithholdingDeductionType =
19651
19661
  io.flow.v0.enums.WithholdingDeductionType;
19652
19662
  export type ZeroAmountIndicator = io.flow.v0.enums.ZeroAmountIndicator;
19653
- export type ZeroLevyReasonCode = io.flow.v0.enums.ZeroLevyReasonCode;
19654
19663
  export type Zone = io.flow.v0.models.Zone;