@flowio/types 11.24.108 → 11.24.110

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
@@ -1954,6 +1954,11 @@ declare namespace io.flow.shopify.external.v0.models {
1954
1954
  readonly weight?: io.flow.shopify.external.v0.models.GraphqlWeight;
1955
1955
  }
1956
1956
 
1957
+ interface GraphqlMetafield {
1958
+ readonly key: string;
1959
+ readonly value: string;
1960
+ }
1961
+
1957
1962
  interface GraphqlOption {
1958
1963
  readonly id: string;
1959
1964
  readonly values: string[];
@@ -1979,6 +1984,8 @@ declare namespace io.flow.shopify.external.v0.models {
1979
1984
  readonly createdAt: string;
1980
1985
  readonly updatedAt: string;
1981
1986
  readonly hasVariantsThatRequiresComponents?: boolean;
1987
+ readonly category?: io.flow.shopify.external.v0.models.GraphqlTaxonomyCategory;
1988
+ readonly metafields?: io.flow.shopify.external.v0.models.GraphqlMetafield[];
1982
1989
  }
1983
1990
 
1984
1991
  interface GraphqlProductImage {
@@ -2002,6 +2009,11 @@ declare namespace io.flow.shopify.external.v0.models {
2002
2009
  readonly inventoryItem: io.flow.shopify.external.v0.models.GraphqlInventoryItem;
2003
2010
  }
2004
2011
 
2012
+ interface GraphqlTaxonomyCategory {
2013
+ readonly name: string;
2014
+ readonly fullName: string;
2015
+ }
2016
+
2005
2017
  interface GraphqlVariantImage {
2006
2018
  readonly id: string;
2007
2019
  }
@@ -2119,6 +2131,7 @@ declare namespace io.flow.shopify.external.v0.models {
2119
2131
  readonly created_at: string;
2120
2132
  readonly updated_at: string;
2121
2133
  readonly has_variants_that_requires_components?: boolean;
2134
+ readonly category?: io.flow.product.v0.models.ProductTaxonomyCategory;
2122
2135
  }
2123
2136
 
2124
2137
  interface ProductDelete {
@@ -2878,74 +2891,6 @@ declare namespace io.flow.shopify.external.v0.models {
2878
2891
  }
2879
2892
  }
2880
2893
 
2881
- declare namespace io.flow.order.price.v0.enums {
2882
- type OrderPriceDetailComponentKey =
2883
- | 'adjustment'
2884
- | 'vat_deminimis'
2885
- | 'duty_deminimis'
2886
- | 'duties_item_price'
2887
- | 'duties_freight'
2888
- | 'duties_insurance'
2889
- | 'vat_item_price'
2890
- | 'vat_freight'
2891
- | 'vat_insurance'
2892
- | 'vat_duties_item_price'
2893
- | 'vat_duties_freight'
2894
- | 'vat_duties_insurance'
2895
- | 'item_price'
2896
- | 'item_discount'
2897
- | 'rounding'
2898
- | 'insurance'
2899
- | 'shipping'
2900
- | 'shipping_discount'
2901
- | 'order_discount'
2902
- | 'subtotal_percent_sales_margin'
2903
- | 'subtotal_vat_percent_sales_margin'
2904
- | 'subtotal_duty_percent_sales_margin'
2905
- | 'vat_subsidy'
2906
- | 'duty_subsidy'
2907
- | 'remote_area_surcharge'
2908
- | 'fuel_surcharge'
2909
- | 'emergency_situation_surcharge'
2910
- | 'peak_surcharge'
2911
- | 'duties_taxes_paid_surcharge'
2912
- | 'tip';
2913
- type OrderPriceDetailKey =
2914
- | 'adjustment'
2915
- | 'subtotal'
2916
- | 'vat'
2917
- | 'duty'
2918
- | 'shipping'
2919
- | 'insurance'
2920
- | 'discount'
2921
- | 'surcharges'
2922
- | 'tip';
2923
- }
2924
-
2925
- declare namespace io.flow.order.price.v0.models {
2926
- interface OrderPriceDetail {
2927
- readonly key: io.flow.order.price.v0.enums.OrderPriceDetailKey;
2928
- readonly currency: string;
2929
- readonly amount: number;
2930
- readonly label: string;
2931
- readonly base: io.flow.common.v0.models.Price;
2932
- readonly components: io.flow.order.price.v0.models.OrderPriceDetailComponent[];
2933
- readonly name?: string;
2934
- readonly rate?: number;
2935
- readonly accuracy?: io.flow.price.v0.enums.PriceAccuracy;
2936
- readonly rate_label?: string;
2937
- }
2938
-
2939
- interface OrderPriceDetailComponent {
2940
- readonly key: io.flow.order.price.v0.enums.OrderPriceDetailComponentKey;
2941
- readonly currency: string;
2942
- readonly amount: number;
2943
- readonly label: string;
2944
- readonly base: io.flow.common.v0.models.Price;
2945
- readonly name?: string;
2946
- }
2947
- }
2948
-
2949
2894
  declare namespace io.flow.common.v0.enums {
2950
2895
  type AttributeDataType =
2951
2896
  | 'boolean'
@@ -3459,6 +3404,141 @@ declare namespace io.flow.common.v0.unions {
3459
3404
  | io.flow.common.v0.models.RepeatMonthly;
3460
3405
  }
3461
3406
 
3407
+ declare namespace io.flow.token.v0.models {
3408
+ interface ChannelToken {
3409
+ readonly discriminator: 'channel_token';
3410
+ readonly id: string;
3411
+ readonly channel: io.flow.common.v0.models.ChannelReference;
3412
+ readonly user: io.flow.common.v0.models.UserReference;
3413
+ readonly partial: string;
3414
+ readonly cleartext?: string;
3415
+ readonly created_at: string;
3416
+ readonly description?: string;
3417
+ }
3418
+
3419
+ interface ChannelTokenForm {
3420
+ readonly channel_id: string;
3421
+ readonly description?: string;
3422
+ }
3423
+
3424
+ interface ChannelTokenReference {
3425
+ readonly discriminator: 'channel_token_reference';
3426
+ readonly id: string;
3427
+ readonly channel: io.flow.common.v0.models.ChannelReference;
3428
+ readonly user: io.flow.common.v0.models.UserReference;
3429
+ }
3430
+
3431
+ interface Cleartext {
3432
+ readonly value: string;
3433
+ }
3434
+
3435
+ interface OrganizationToken {
3436
+ readonly discriminator: 'organization_token';
3437
+ readonly id: string;
3438
+ readonly organization: io.flow.common.v0.models.OrganizationReference;
3439
+ readonly user: io.flow.common.v0.models.UserReference;
3440
+ readonly environment: io.flow.common.v0.enums.Environment;
3441
+ readonly partial: string;
3442
+ readonly created_at: string;
3443
+ readonly description?: string;
3444
+ }
3445
+
3446
+ interface OrganizationTokenForm {
3447
+ readonly environment: io.flow.common.v0.enums.Environment;
3448
+ readonly description?: string;
3449
+ }
3450
+
3451
+ interface OrganizationTokenFormV2 {
3452
+ readonly organization_id: string;
3453
+ readonly description?: string;
3454
+ }
3455
+
3456
+ interface OrganizationTokenReference {
3457
+ readonly discriminator: 'organization_token_reference';
3458
+ readonly id: string;
3459
+ readonly organization: io.flow.common.v0.models.OrganizationReference;
3460
+ readonly environment: io.flow.common.v0.enums.Environment;
3461
+ readonly user: io.flow.common.v0.models.UserReference;
3462
+ }
3463
+
3464
+ interface OrganizationTokenV2 {
3465
+ readonly discriminator: 'organization_token_v2';
3466
+ readonly id: string;
3467
+ readonly organization: io.flow.common.v0.models.OrganizationReference;
3468
+ readonly user: io.flow.common.v0.models.UserReference;
3469
+ readonly partial: string;
3470
+ readonly cleartext?: string;
3471
+ readonly created_at: string;
3472
+ readonly description?: string;
3473
+ }
3474
+
3475
+ interface OrganizationTokenV2Reference {
3476
+ readonly discriminator: 'organization_token_v2_reference';
3477
+ readonly id: string;
3478
+ readonly organization: io.flow.common.v0.models.OrganizationReference;
3479
+ }
3480
+
3481
+ interface PartnerToken {
3482
+ readonly discriminator: 'partner_token';
3483
+ readonly id: string;
3484
+ readonly partner: io.flow.token.v0.models.TokenPartnerReference;
3485
+ readonly user: io.flow.common.v0.models.UserReference;
3486
+ readonly environment: io.flow.common.v0.enums.Environment;
3487
+ readonly partial: string;
3488
+ readonly created_at: string;
3489
+ readonly description?: string;
3490
+ }
3491
+
3492
+ interface PartnerTokenForm {
3493
+ readonly environment: io.flow.common.v0.enums.Environment;
3494
+ readonly description?: string;
3495
+ }
3496
+
3497
+ interface PartnerTokenReference {
3498
+ readonly discriminator: 'partner_token_reference';
3499
+ readonly id: string;
3500
+ readonly partner: io.flow.token.v0.models.TokenPartnerReference;
3501
+ readonly environment: io.flow.common.v0.enums.Environment;
3502
+ readonly user: io.flow.common.v0.models.UserReference;
3503
+ }
3504
+
3505
+ interface TokenAuthenticationForm {
3506
+ readonly token: string;
3507
+ }
3508
+
3509
+ interface TokenPartnerReference {
3510
+ readonly id: string;
3511
+ }
3512
+
3513
+ interface TokenRbacAuthenticationForm {
3514
+ readonly token: string;
3515
+ readonly method: string;
3516
+ readonly path_pattern: string;
3517
+ readonly path: string;
3518
+ }
3519
+
3520
+ interface TokenValidation {
3521
+ readonly status: string;
3522
+ }
3523
+
3524
+ interface TokenValidationForm {
3525
+ readonly token: string;
3526
+ }
3527
+ }
3528
+
3529
+ declare namespace io.flow.token.v0.unions {
3530
+ type Token =
3531
+ | io.flow.token.v0.models.ChannelToken
3532
+ | io.flow.token.v0.models.OrganizationToken
3533
+ | io.flow.token.v0.models.OrganizationTokenV2
3534
+ | io.flow.token.v0.models.PartnerToken;
3535
+ type TokenReference =
3536
+ | io.flow.token.v0.models.ChannelTokenReference
3537
+ | io.flow.token.v0.models.OrganizationTokenReference
3538
+ | io.flow.token.v0.models.OrganizationTokenV2Reference
3539
+ | io.flow.token.v0.models.PartnerTokenReference;
3540
+ }
3541
+
3462
3542
  declare namespace io.flow.error.v0.enums {
3463
3543
  type GenericErrorCode = 'generic_error' | 'client_error' | 'server_error';
3464
3544
  }
@@ -3662,6 +3742,71 @@ declare namespace io.flow.price.v0.unions {
3662
3742
  | io.flow.price.v0.models.DeminimisPerItem;
3663
3743
  }
3664
3744
 
3745
+ declare namespace io.flow.channel.v0.enums {
3746
+ type ChannelCurrencyCapability =
3747
+ | 'payment_authorizations'
3748
+ | 'settlement_currency';
3749
+ }
3750
+
3751
+ declare namespace io.flow.channel.v0.models {
3752
+ interface Channel {
3753
+ readonly id: string;
3754
+ readonly name: string;
3755
+ readonly environment: io.flow.common.v0.enums.Environment;
3756
+ readonly organization_id_prefix?: string;
3757
+ }
3758
+
3759
+ interface ChannelAuthorization {
3760
+ readonly placeholder?: string;
3761
+ }
3762
+
3763
+ interface ChannelAuthorizationForm {
3764
+ readonly channel_id: string;
3765
+ }
3766
+
3767
+ interface ChannelCurrency {
3768
+ readonly id: string;
3769
+ readonly currency: string;
3770
+ readonly channel: io.flow.common.v0.models.ChannelReference;
3771
+ readonly capabilities: io.flow.channel.v0.enums.ChannelCurrencyCapability[];
3772
+ }
3773
+
3774
+ interface ChannelOrganization {
3775
+ readonly id: string;
3776
+ readonly organization: io.flow.common.v0.models.OrganizationReference;
3777
+ readonly key: string;
3778
+ readonly channel: io.flow.common.v0.models.ChannelReference;
3779
+ readonly name: string;
3780
+ readonly slug?: string;
3781
+ readonly defaults: io.flow.common.v0.models.OrganizationDefaults;
3782
+ readonly attributes?: Record<string, string>;
3783
+ }
3784
+
3785
+ interface ChannelOrganizationAuthorization {
3786
+ readonly placeholder?: string;
3787
+ }
3788
+
3789
+ interface ChannelOrganizationAuthorizationForm {
3790
+ readonly channel_id: string;
3791
+ readonly organization_id: string;
3792
+ }
3793
+
3794
+ interface ChannelOrganizationForm {
3795
+ readonly key: string;
3796
+ readonly name?: string;
3797
+ readonly slug?: string;
3798
+ readonly defaults: io.flow.common.v0.models.OrganizationDefaults;
3799
+ readonly attributes?: Record<string, string>;
3800
+ }
3801
+
3802
+ interface ChannelOrganizationPutForm {
3803
+ readonly name?: string;
3804
+ readonly slug?: string;
3805
+ readonly defaults: io.flow.common.v0.models.OrganizationDefaults;
3806
+ readonly attributes?: Record<string, string>;
3807
+ }
3808
+ }
3809
+
3665
3810
  declare namespace io.flow.reference.v0.enums {
3666
3811
  type PaymentMethodCapability = 'credit' | 'debit';
3667
3812
  type PaymentMethodType = 'card' | 'online' | 'offline';
@@ -3796,35 +3941,6 @@ declare namespace io.flow.reference.v0.models {
3796
3941
  }
3797
3942
  }
3798
3943
 
3799
- declare namespace io.flow.ben.test.internal.v0.models {
3800
- interface GenerateLoadMultipleOrgs {
3801
- readonly discriminator: 'generate_load_multiple_orgs';
3802
- readonly organization_ids: string[];
3803
- readonly num_events: number;
3804
- }
3805
-
3806
- interface GenerateLoadSingleOrg {
3807
- readonly discriminator: 'generate_load_single_org';
3808
- readonly organization_id: string;
3809
- readonly num_events: number;
3810
- }
3811
-
3812
- interface Test {
3813
- readonly id: string;
3814
- readonly name: string;
3815
- }
3816
-
3817
- interface TestForm {
3818
- readonly name: string;
3819
- }
3820
- }
3821
-
3822
- declare namespace io.flow.ben.test.internal.v0.unions {
3823
- type GenerateLoad =
3824
- | io.flow.ben.test.internal.v0.models.GenerateLoadSingleOrg
3825
- | io.flow.ben.test.internal.v0.models.GenerateLoadMultipleOrgs;
3826
- }
3827
-
3828
3944
  declare namespace io.flow.fulfillment.v0.enums {
3829
3945
  type CenterCapability =
3830
3946
  | 'international'
@@ -4613,6 +4729,63 @@ declare namespace io.flow.merchant.of.record.v0.enums {
4613
4729
  type FlowEntity = 'flow-usa' | 'flow-irl' | 'flow-can' | 'ge-usa';
4614
4730
  }
4615
4731
 
4732
+ declare namespace io.flow.tech.onboarding.playground.v0.enums {
4733
+ type AldoItemType = 'physical' | 'digital';
4734
+ type AnshItemType = 'physical' | 'digital';
4735
+ }
4736
+
4737
+ declare namespace io.flow.tech.onboarding.playground.v0.models {
4738
+ interface AldoItem {
4739
+ readonly id: string;
4740
+ readonly number: string;
4741
+ readonly amount: io.flow.common.v0.models.Price;
4742
+ readonly description?: string;
4743
+ readonly type: io.flow.tech.onboarding.playground.v0.enums.AldoItemType;
4744
+ readonly added_on: string;
4745
+ }
4746
+
4747
+ interface AldoItemForm {
4748
+ readonly number: string;
4749
+ readonly amount: io.flow.common.v0.models.Price;
4750
+ readonly description?: string;
4751
+ readonly type: io.flow.tech.onboarding.playground.v0.enums.AldoItemType;
4752
+ readonly added_on: string;
4753
+ }
4754
+
4755
+ interface AnshItem {
4756
+ readonly id: string;
4757
+ readonly number: string;
4758
+ readonly amount: io.flow.common.v0.models.Price;
4759
+ readonly description?: string;
4760
+ readonly type: io.flow.tech.onboarding.playground.v0.enums.AnshItemType;
4761
+ readonly added_on: string;
4762
+ }
4763
+
4764
+ interface AnshItemForm {
4765
+ readonly number: string;
4766
+ readonly amount: io.flow.common.v0.models.Price;
4767
+ readonly description?: string;
4768
+ readonly type: io.flow.tech.onboarding.playground.v0.enums.AnshItemType;
4769
+ readonly added_on: string;
4770
+ }
4771
+
4772
+ interface JeanDemoItem {
4773
+ readonly id: string;
4774
+ readonly name: string;
4775
+ }
4776
+
4777
+ interface ShawnRoundtableWorkshopRate {
4778
+ readonly origin_country: string;
4779
+ readonly destination_country: string;
4780
+ readonly weight: number;
4781
+ readonly amount: number;
4782
+ }
4783
+
4784
+ interface TechOnboardingDescription {
4785
+ readonly description: string;
4786
+ }
4787
+ }
4788
+
4616
4789
  declare namespace io.flow.currency.v0.models {
4617
4790
  interface Rate {
4618
4791
  readonly id: string;
@@ -4657,135 +4830,372 @@ declare namespace io.flow.organization.v0.models {
4657
4830
  readonly source: io.flow.organization.v0.enums.CountryPickerSource;
4658
4831
  }
4659
4832
 
4660
- interface CountryPickerForm {
4661
- readonly source: io.flow.organization.v0.enums.CountryPickerSource;
4833
+ interface CountryPickerForm {
4834
+ readonly source: io.flow.organization.v0.enums.CountryPickerSource;
4835
+ }
4836
+
4837
+ interface EcommercePlatform {
4838
+ readonly id: string;
4839
+ readonly type: io.flow.organization.v0.enums.EcommercePlatformType;
4840
+ readonly version?: string;
4841
+ }
4842
+
4843
+ interface EcommercePlatformForm {
4844
+ readonly type: io.flow.organization.v0.enums.EcommercePlatformType;
4845
+ readonly version?: string;
4846
+ }
4847
+
4848
+ interface Invitation {
4849
+ readonly id: string;
4850
+ readonly organization: io.flow.common.v0.unions.ExpandableOrganization;
4851
+ readonly email: string;
4852
+ readonly name: io.flow.common.v0.models.Name;
4853
+ readonly role?: io.flow.common.v0.enums.Role;
4854
+ readonly roles?: io.flow.permission.v0.enums.FlowRole[];
4855
+ readonly expiration: string;
4856
+ }
4857
+
4858
+ interface InvitationError {
4859
+ readonly code: io.flow.organization.v0.enums.InvitationErrorCode;
4860
+ readonly messages: string[];
4861
+ }
4862
+
4863
+ interface InvitationForm {
4864
+ readonly organization: string;
4865
+ readonly email: string;
4866
+ readonly name?: io.flow.common.v0.models.Name;
4867
+ readonly role?: io.flow.common.v0.enums.Role;
4868
+ readonly roles?: io.flow.permission.v0.enums.FlowRole[];
4869
+ }
4870
+
4871
+ interface InvitationVersion {
4872
+ readonly id: string;
4873
+ readonly timestamp: string;
4874
+ readonly type: io.flow.common.v0.enums.ChangeType;
4875
+ readonly invitation: io.flow.organization.v0.models.Invitation;
4876
+ }
4877
+
4878
+ interface Membership {
4879
+ readonly id: string;
4880
+ readonly organization: io.flow.common.v0.unions.ExpandableOrganization;
4881
+ readonly user: io.flow.common.v0.unions.ExpandableUser;
4882
+ readonly role?: io.flow.common.v0.enums.Role;
4883
+ readonly roles: io.flow.permission.v0.enums.FlowRole[];
4884
+ }
4885
+
4886
+ interface MembershipForm {
4887
+ readonly organization: string;
4888
+ readonly user: string;
4889
+ readonly role?: io.flow.common.v0.enums.Role;
4890
+ readonly roles?: io.flow.permission.v0.enums.FlowRole[];
4891
+ }
4892
+
4893
+ interface MembershipPutForm {
4894
+ readonly role?: io.flow.common.v0.enums.Role;
4895
+ readonly roles?: io.flow.permission.v0.enums.FlowRole[];
4896
+ }
4897
+
4898
+ interface MembershipVersion {
4899
+ readonly id: string;
4900
+ readonly timestamp: string;
4901
+ readonly type: io.flow.common.v0.enums.ChangeType;
4902
+ readonly membership: io.flow.organization.v0.models.Membership;
4903
+ }
4904
+
4905
+ interface OrganizationAuthorization {
4906
+ readonly role?: io.flow.common.v0.enums.Role;
4907
+ readonly environment: io.flow.common.v0.enums.Environment;
4908
+ }
4909
+
4910
+ interface OrganizationAuthorizationForm {
4911
+ readonly organization: string;
4912
+ readonly environment: io.flow.common.v0.enums.Environment;
4913
+ }
4914
+
4915
+ interface OrganizationConfigurationReference {
4916
+ readonly id: string;
4917
+ }
4918
+
4919
+ interface OrganizationDefaultConfigurations {
4920
+ readonly id: string;
4921
+ readonly checkout_configuration: io.flow.organization.v0.models.OrganizationConfigurationReference;
4922
+ }
4923
+
4924
+ interface OrganizationDefaultConfigurationsForm {
4925
+ readonly id: string;
4926
+ }
4927
+
4928
+ interface OrganizationForm {
4929
+ readonly id?: string;
4930
+ readonly name?: string;
4931
+ readonly environment: io.flow.common.v0.enums.Environment;
4932
+ readonly parent_id?: string;
4933
+ readonly defaults?: io.flow.common.v0.models.OrganizationDefaults;
4934
+ readonly status?: io.flow.common.v0.enums.OrganizationStatus;
4935
+ readonly type?: io.flow.common.v0.enums.OrganizationType;
4936
+ }
4937
+
4938
+ interface OrganizationPutForm {
4939
+ readonly name?: string;
4940
+ readonly environment?: io.flow.common.v0.enums.Environment;
4941
+ readonly parent_id?: string;
4942
+ readonly defaults?: io.flow.common.v0.models.OrganizationDefaults;
4943
+ readonly status?: io.flow.common.v0.enums.OrganizationStatus;
4944
+ }
4945
+
4946
+ interface OrganizationVersion {
4947
+ readonly id: string;
4948
+ readonly timestamp: string;
4949
+ readonly type: io.flow.common.v0.enums.ChangeType;
4950
+ readonly organization: io.flow.common.v0.models.Organization;
4951
+ }
4952
+
4953
+ interface RegionSetting {
4954
+ readonly id: string;
4955
+ readonly region: string;
4956
+ readonly status: io.flow.common.v0.enums.AvailabilityStatus;
4957
+ }
4958
+
4959
+ interface RegionSettingForm {
4960
+ readonly status: io.flow.common.v0.enums.AvailabilityStatus;
4961
+ }
4962
+ }
4963
+
4964
+ declare namespace io.flow.order.price.v0.enums {
4965
+ type OrderPriceDetailComponentKey =
4966
+ | 'adjustment'
4967
+ | 'vat_deminimis'
4968
+ | 'duty_deminimis'
4969
+ | 'duties_item_price'
4970
+ | 'duties_freight'
4971
+ | 'duties_insurance'
4972
+ | 'vat_item_price'
4973
+ | 'vat_freight'
4974
+ | 'vat_insurance'
4975
+ | 'vat_duties_item_price'
4976
+ | 'vat_duties_freight'
4977
+ | 'vat_duties_insurance'
4978
+ | 'item_price'
4979
+ | 'item_discount'
4980
+ | 'rounding'
4981
+ | 'insurance'
4982
+ | 'shipping'
4983
+ | 'shipping_discount'
4984
+ | 'order_discount'
4985
+ | 'subtotal_percent_sales_margin'
4986
+ | 'subtotal_vat_percent_sales_margin'
4987
+ | 'subtotal_duty_percent_sales_margin'
4988
+ | 'vat_subsidy'
4989
+ | 'duty_subsidy'
4990
+ | 'remote_area_surcharge'
4991
+ | 'fuel_surcharge'
4992
+ | 'emergency_situation_surcharge'
4993
+ | 'peak_surcharge'
4994
+ | 'duties_taxes_paid_surcharge'
4995
+ | 'tip';
4996
+ type OrderPriceDetailKey =
4997
+ | 'adjustment'
4998
+ | 'subtotal'
4999
+ | 'vat'
5000
+ | 'duty'
5001
+ | 'shipping'
5002
+ | 'insurance'
5003
+ | 'discount'
5004
+ | 'surcharges'
5005
+ | 'tip';
5006
+ }
5007
+
5008
+ declare namespace io.flow.order.price.v0.models {
5009
+ interface OrderPriceDetail {
5010
+ readonly key: io.flow.order.price.v0.enums.OrderPriceDetailKey;
5011
+ readonly currency: string;
5012
+ readonly amount: number;
5013
+ readonly label: string;
5014
+ readonly base: io.flow.common.v0.models.Price;
5015
+ readonly components: io.flow.order.price.v0.models.OrderPriceDetailComponent[];
5016
+ readonly name?: string;
5017
+ readonly rate?: number;
5018
+ readonly accuracy?: io.flow.price.v0.enums.PriceAccuracy;
5019
+ readonly rate_label?: string;
5020
+ }
5021
+
5022
+ interface OrderPriceDetailComponent {
5023
+ readonly key: io.flow.order.price.v0.enums.OrderPriceDetailComponentKey;
5024
+ readonly currency: string;
5025
+ readonly amount: number;
5026
+ readonly label: string;
5027
+ readonly base: io.flow.common.v0.models.Price;
5028
+ readonly name?: string;
4662
5029
  }
5030
+ }
4663
5031
 
4664
- interface EcommercePlatform {
4665
- readonly id: string;
4666
- readonly type: io.flow.organization.v0.enums.EcommercePlatformType;
4667
- readonly version?: string;
5032
+ declare namespace io.flow.channel.internal.v0.enums {
5033
+ type ChannelOrderAcceptanceErrorAction = 'auto_reject' | 'auto_accept';
5034
+ type ChannelOrderAcceptanceFailureReasonCode =
5035
+ | 'channel_order_mor_invalid'
5036
+ | 'channel_order_does_not_exist';
5037
+ type ChannelOrderAcceptanceNextActionFrom =
5038
+ | 'cx_team'
5039
+ | 'core_team'
5040
+ | 'core_team_investigate'
5041
+ | 'mex_team'
5042
+ | 'payments_team'
5043
+ | 'tc_team'
5044
+ | 'logistics_team';
5045
+ type ChannelOrderAcceptanceRejectionReason =
5046
+ | 'unsupported_origin_country'
5047
+ | 'unsupported_destination_country'
5048
+ | 'domestic_order'
5049
+ | 'order_contains_gift_card'
5050
+ | 'order_contains_restricted_goods'
5051
+ | 'missing_order_information'
5052
+ | 'missing_classification_information'
5053
+ | 'unsupported_payment_information'
5054
+ | 'unsupported_shop_currency'
5055
+ | 'unsupported_free_order'
5056
+ | 'extracting_distribution_info_failed'
5057
+ | 'shipping_estimation_failed'
5058
+ | 'payment_authorization_failed'
5059
+ | 'unsupported_subsidized_order'
5060
+ | 'unsupported_virtual_goods'
5061
+ | 'non_matching_currencies'
5062
+ | 'unsupported_order_edit'
5063
+ | 'order_missing';
5064
+ type ChannelOrderAcceptanceStatus =
5065
+ | 'accepted'
5066
+ | 'rejected'
5067
+ | 'review'
5068
+ | 'edit_review'
5069
+ | 'edit_accepted';
5070
+ }
5071
+
5072
+ declare namespace io.flow.channel.internal.v0.models {
5073
+ interface ChannelCurrencyForm {
5074
+ readonly currency: string;
5075
+ readonly channel_id: string;
5076
+ readonly capabilities: io.flow.channel.v0.enums.ChannelCurrencyCapability[];
4668
5077
  }
4669
5078
 
4670
- interface EcommercePlatformForm {
4671
- readonly type: io.flow.organization.v0.enums.EcommercePlatformType;
4672
- readonly version?: string;
5079
+ interface ChannelForm {
5080
+ readonly name: string;
5081
+ readonly environment: io.flow.common.v0.enums.Environment;
5082
+ readonly organization_id_prefix?: string;
4673
5083
  }
4674
5084
 
4675
- interface Invitation {
5085
+ interface ChannelMembership {
4676
5086
  readonly id: string;
4677
- readonly organization: io.flow.common.v0.unions.ExpandableOrganization;
4678
- readonly email: string;
4679
- readonly name: io.flow.common.v0.models.Name;
5087
+ readonly channel: io.flow.common.v0.models.ChannelReference;
5088
+ readonly user: io.flow.common.v0.unions.ExpandableUser;
4680
5089
  readonly role?: io.flow.common.v0.enums.Role;
4681
- readonly roles?: io.flow.permission.v0.enums.FlowRole[];
4682
- readonly expiration: string;
4683
5090
  }
4684
5091
 
4685
- interface InvitationError {
4686
- readonly code: io.flow.organization.v0.enums.InvitationErrorCode;
4687
- readonly messages: string[];
5092
+ interface ChannelMembershipForm {
5093
+ readonly channel_id: string;
5094
+ readonly user_id: string;
5095
+ readonly role?: io.flow.common.v0.enums.Role;
4688
5096
  }
4689
5097
 
4690
- interface InvitationForm {
4691
- readonly organization: string;
4692
- readonly email: string;
4693
- readonly name?: io.flow.common.v0.models.Name;
5098
+ interface ChannelMembershipPutForm {
4694
5099
  readonly role?: io.flow.common.v0.enums.Role;
4695
- readonly roles?: io.flow.permission.v0.enums.FlowRole[];
4696
5100
  }
4697
5101
 
4698
- interface InvitationVersion {
5102
+ interface ChannelOrderAcceptance {
4699
5103
  readonly id: string;
4700
- readonly timestamp: string;
4701
- readonly type: io.flow.common.v0.enums.ChangeType;
4702
- readonly invitation: io.flow.organization.v0.models.Invitation;
5104
+ readonly organization_id: string;
5105
+ readonly order_number: string;
5106
+ readonly channel_id: string;
5107
+ readonly external_order_reference: string;
5108
+ readonly payment_request_id?: string;
5109
+ readonly order_edit_payment_request_ids?: string[];
5110
+ readonly status: io.flow.channel.internal.v0.enums.ChannelOrderAcceptanceStatus;
5111
+ readonly reasons: io.flow.channel.internal.v0.models.ChannelOrderAcceptanceReason[];
5112
+ readonly next_action_from?: io.flow.channel.internal.v0.enums.ChannelOrderAcceptanceNextActionFrom;
5113
+ readonly order_created_at?: string;
5114
+ readonly order_updated_at?: string;
5115
+ readonly order_edit_summary?: io.flow.channel.internal.v0.models.OrderEditSummary;
4703
5116
  }
4704
5117
 
4705
- interface Membership {
4706
- readonly id: string;
4707
- readonly organization: io.flow.common.v0.unions.ExpandableOrganization;
4708
- readonly user: io.flow.common.v0.unions.ExpandableUser;
4709
- readonly role?: io.flow.common.v0.enums.Role;
4710
- readonly roles: io.flow.permission.v0.enums.FlowRole[];
5118
+ interface ChannelOrderAcceptanceDetails {
5119
+ readonly order_acceptance: io.flow.channel.internal.v0.models.ChannelOrderAcceptance;
5120
+ readonly external_order: any /*object*/;
4711
5121
  }
4712
5122
 
4713
- interface MembershipForm {
4714
- readonly organization: string;
4715
- readonly user: string;
4716
- readonly role?: io.flow.common.v0.enums.Role;
4717
- readonly roles?: io.flow.permission.v0.enums.FlowRole[];
5123
+ interface ChannelOrderAcceptanceFailure {
5124
+ readonly id: string;
5125
+ readonly organization_id: string;
5126
+ readonly channel_id: string;
5127
+ readonly payment_request_id: string;
5128
+ readonly code: io.flow.channel.internal.v0.enums.ChannelOrderAcceptanceFailureReasonCode;
5129
+ readonly reason: string;
4718
5130
  }
4719
5131
 
4720
- interface MembershipPutForm {
4721
- readonly role?: io.flow.common.v0.enums.Role;
4722
- readonly roles?: io.flow.permission.v0.enums.FlowRole[];
5132
+ interface ChannelOrderAcceptanceForm {
5133
+ readonly status: io.flow.channel.internal.v0.enums.ChannelOrderAcceptanceStatus;
4723
5134
  }
4724
5135
 
4725
- interface MembershipVersion {
4726
- readonly id: string;
4727
- readonly timestamp: string;
4728
- readonly type: io.flow.common.v0.enums.ChangeType;
4729
- readonly membership: io.flow.organization.v0.models.Membership;
5136
+ interface ChannelOrderAcceptanceReason {
5137
+ readonly description: string;
5138
+ readonly rejection_reason?: io.flow.channel.internal.v0.enums.ChannelOrderAcceptanceRejectionReason;
4730
5139
  }
4731
5140
 
4732
- interface OrganizationAuthorization {
4733
- readonly role?: io.flow.common.v0.enums.Role;
4734
- readonly environment: io.flow.common.v0.enums.Environment;
5141
+ interface FlowChannelOrganization {
5142
+ readonly placeholder?: string;
4735
5143
  }
4736
5144
 
4737
- interface OrganizationAuthorizationForm {
4738
- readonly organization: string;
4739
- readonly environment: io.flow.common.v0.enums.Environment;
5145
+ interface OrderEditSummary {
5146
+ readonly edited_at: string;
4740
5147
  }
5148
+ }
4741
5149
 
4742
- interface OrganizationConfigurationReference {
4743
- readonly id: string;
5150
+ declare namespace io.flow.product.v0.models {
5151
+ interface Product {
5152
+ readonly organization_id: string;
5153
+ readonly number: string;
5154
+ readonly taxonomy_category?: io.flow.product.v0.models.ProductTaxonomyCategory;
5155
+ readonly taxonomy_data?: io.flow.product.v0.models.ProductTaxonomyData[];
5156
+ readonly item_numbers: string[];
5157
+ readonly updated_at: string;
5158
+ readonly deleted_at?: string;
4744
5159
  }
4745
5160
 
4746
- interface OrganizationDefaultConfigurations {
4747
- readonly id: string;
4748
- readonly checkout_configuration: io.flow.organization.v0.models.OrganizationConfigurationReference;
5161
+ interface ProductTaxonomyCategory {
5162
+ readonly name: string;
5163
+ readonly full_name: string;
4749
5164
  }
4750
5165
 
4751
- interface OrganizationDefaultConfigurationsForm {
4752
- readonly id: string;
5166
+ interface ProductTaxonomyData {
5167
+ readonly key: string;
5168
+ readonly value: string[];
4753
5169
  }
5170
+ }
4754
5171
 
4755
- interface OrganizationForm {
4756
- readonly id?: string;
4757
- readonly name?: string;
4758
- readonly environment: io.flow.common.v0.enums.Environment;
4759
- readonly parent_id?: string;
4760
- readonly defaults?: io.flow.common.v0.models.OrganizationDefaults;
4761
- readonly status?: io.flow.common.v0.enums.OrganizationStatus;
4762
- readonly type?: io.flow.common.v0.enums.OrganizationType;
5172
+ declare namespace io.flow.ben.test.internal.v0.models {
5173
+ interface GenerateLoadMultipleOrgs {
5174
+ readonly discriminator: 'generate_load_multiple_orgs';
5175
+ readonly organization_ids: string[];
5176
+ readonly num_events: number;
4763
5177
  }
4764
5178
 
4765
- interface OrganizationPutForm {
4766
- readonly name?: string;
4767
- readonly environment?: io.flow.common.v0.enums.Environment;
4768
- readonly parent_id?: string;
4769
- readonly defaults?: io.flow.common.v0.models.OrganizationDefaults;
4770
- readonly status?: io.flow.common.v0.enums.OrganizationStatus;
5179
+ interface GenerateLoadSingleOrg {
5180
+ readonly discriminator: 'generate_load_single_org';
5181
+ readonly organization_id: string;
5182
+ readonly num_events: number;
4771
5183
  }
4772
5184
 
4773
- interface OrganizationVersion {
5185
+ interface Test {
4774
5186
  readonly id: string;
4775
- readonly timestamp: string;
4776
- readonly type: io.flow.common.v0.enums.ChangeType;
4777
- readonly organization: io.flow.common.v0.models.Organization;
5187
+ readonly name: string;
4778
5188
  }
4779
5189
 
4780
- interface RegionSetting {
4781
- readonly id: string;
4782
- readonly region: string;
4783
- readonly status: io.flow.common.v0.enums.AvailabilityStatus;
5190
+ interface TestForm {
5191
+ readonly name: string;
4784
5192
  }
5193
+ }
4785
5194
 
4786
- interface RegionSettingForm {
4787
- readonly status: io.flow.common.v0.enums.AvailabilityStatus;
4788
- }
5195
+ declare namespace io.flow.ben.test.internal.v0.unions {
5196
+ type GenerateLoad =
5197
+ | io.flow.ben.test.internal.v0.models.GenerateLoadSingleOrg
5198
+ | io.flow.ben.test.internal.v0.models.GenerateLoadMultipleOrgs;
4789
5199
  }
4790
5200
 
4791
5201
  declare namespace io.flow.catalog.v0.enums {
@@ -5593,6 +6003,7 @@ declare namespace io.flow.v0.enums {
5593
6003
  type ChannelCurrencyCapability =
5594
6004
  | 'payment_authorizations'
5595
6005
  | 'settlement_currency';
6006
+ type ChannelShopifyOrderStateReasonCode = 'placeholder_reason_code';
5596
6007
  type ConsumerInvoiceCustomerType =
5597
6008
  | 'business_eu_verified'
5598
6009
  | 'business_non_verified'
@@ -5673,6 +6084,8 @@ declare namespace io.flow.v0.enums {
5673
6084
  type EventType =
5674
6085
  | 'test_upserted'
5675
6086
  | 'generate_load'
6087
+ | 'aldo_item_upserted'
6088
+ | 'aldo_item_deleted'
5676
6089
  | 'transaction_upserted'
5677
6090
  | 'organization_transaction_upserted'
5678
6091
  | 'organization_transaction_deleted'
@@ -5699,10 +6112,6 @@ declare namespace io.flow.v0.enums {
5699
6112
  | 'catalog_deleted'
5700
6113
  | 'subcatalog_upserted'
5701
6114
  | 'subcatalog_deleted'
5702
- | 'catalog_item_upserted'
5703
- | 'catalog_item_deleted'
5704
- | 'catalog_item_upserted_v2'
5705
- | 'catalog_item_deleted_v2'
5706
6115
  | 'subcatalog_item_upserted'
5707
6116
  | 'subcatalog_item_deleted'
5708
6117
  | 'catalog_statistics_upserted'
@@ -5710,6 +6119,8 @@ declare namespace io.flow.v0.enums {
5710
6119
  | 'item_inserted'
5711
6120
  | 'item_updated'
5712
6121
  | 'item_deleted'
6122
+ | 'channel_shopify_order_state_upserted'
6123
+ | 'channel_shopify_order_state_deleted'
5713
6124
  | 'channel_upserted'
5714
6125
  | 'channel_deleted'
5715
6126
  | 'channel_currency_upserted'
@@ -5858,6 +6269,9 @@ declare namespace io.flow.v0.enums {
5858
6269
  | 'price_book_deleted'
5859
6270
  | 'price_book_item_upserted'
5860
6271
  | 'price_book_item_deleted'
6272
+ | 'product_inserted'
6273
+ | 'product_updated'
6274
+ | 'product_deleted'
5861
6275
  | 'organization_rates_published'
5862
6276
  | 'ratecard_lane_upserted'
5863
6277
  | 'ratecard_lane_deleted'
@@ -6390,6 +6804,7 @@ declare namespace io.flow.v0.enums {
6390
6804
  type Role = 'admin' | 'member';
6391
6805
  type RoundingMethod = 'up' | 'down' | 'nearest';
6392
6806
  type RoundingType = 'pattern' | 'multiple';
6807
+ type RuleEffectType = 'market' | 'dhl' | 'dhl_ecommerce' | 'ups';
6393
6808
  type ScheduleExceptionStatus = 'Open' | 'Closed';
6394
6809
  type ShipmentIntegrationType = 'direct' | 'information' | 'preadvice';
6395
6810
  type ShipmentRecipient = 'customer' | 'return' | 'crossdock';
@@ -6420,6 +6835,48 @@ declare namespace io.flow.v0.enums {
6420
6835
  type StoredMethodUsageStep = 'initial' | 'subsequent';
6421
6836
  type Strategy = 'range' | 'from' | 'to';
6422
6837
  type SubcatalogItemStatus = 'excluded' | 'included' | 'restricted';
6838
+ type SubstatusCode =
6839
+ | 'Delivered_001'
6840
+ | 'Delivered_002'
6841
+ | 'Delivered_003'
6842
+ | 'Delivered_004'
6843
+ | 'AvailableForPickup_001'
6844
+ | 'Exception_001'
6845
+ | 'Exception_002'
6846
+ | 'Exception_003'
6847
+ | 'Exception_004'
6848
+ | 'Exception_005'
6849
+ | 'Exception_006'
6850
+ | 'Exception_007'
6851
+ | 'Exception_008'
6852
+ | 'Exception_009'
6853
+ | 'Exception_010'
6854
+ | 'Exception_011'
6855
+ | 'Exception_012'
6856
+ | 'Exception_013'
6857
+ | 'AttemptFail_001'
6858
+ | 'AttemptFail_002'
6859
+ | 'AttemptFail_003'
6860
+ | 'InTransit_001'
6861
+ | 'InTransit_002'
6862
+ | 'InTransit_003'
6863
+ | 'InTransit_004'
6864
+ | 'InTransit_005'
6865
+ | 'InTransit_006'
6866
+ | 'InTransit_007'
6867
+ | 'InTransit_008'
6868
+ | 'InTransit_009'
6869
+ | 'InfoReceived_001'
6870
+ | 'OutForDelivery_001'
6871
+ | 'OutForDelivery_003'
6872
+ | 'OutForDelivery_004'
6873
+ | 'Pending_001'
6874
+ | 'Pending_002'
6875
+ | 'Pending_003'
6876
+ | 'Pending_004'
6877
+ | 'Pending_005'
6878
+ | 'Pending_006'
6879
+ | 'Expired_001';
6423
6880
  type SurchargeResponsibleParty = 'organization' | 'customer';
6424
6881
  type SyncRecordFailureReason =
6425
6882
  | 'inventory'
@@ -6485,7 +6942,10 @@ declare namespace io.flow.v0.enums {
6485
6942
  | 'virtual_card_capture'
6486
6943
  | 'virtual_card_refund'
6487
6944
  | 'failed_payout'
6488
- | 'tax_refund';
6945
+ | 'tax_refund'
6946
+ | 'order_fx'
6947
+ | 'ge_revenue_share'
6948
+ | 'tax_duty_delta';
6489
6949
  type TrueupSource = 'flow' | 'channel' | 'dhl-parcel' | 'dhl' | 'ups';
6490
6950
  type TrueupSurchargeType =
6491
6951
  | 'fuel'
@@ -6843,6 +7303,20 @@ declare namespace io.flow.v0.models {
6843
7303
  readonly fingerprint_token: string;
6844
7304
  }
6845
7305
 
7306
+ interface AldoItemDeleted {
7307
+ readonly discriminator: 'aldo_item_deleted';
7308
+ readonly event_id: string;
7309
+ readonly timestamp: string;
7310
+ readonly id: string;
7311
+ }
7312
+
7313
+ interface AldoItemUpserted {
7314
+ readonly discriminator: 'aldo_item_upserted';
7315
+ readonly event_id: string;
7316
+ readonly timestamp: string;
7317
+ readonly item: io.flow.tech.onboarding.playground.v0.models.AldoItem;
7318
+ }
7319
+
6846
7320
  interface Allocation {
6847
7321
  readonly order: io.flow.v0.models.AllocationOrderSummary;
6848
7322
  readonly details: io.flow.v0.unions.AllocationDetail[];
@@ -7749,6 +8223,11 @@ declare namespace io.flow.v0.models {
7749
8223
  readonly id: string;
7750
8224
  }
7751
8225
 
8226
+ interface CarrierRestrictions {
8227
+ readonly carrier: string;
8228
+ readonly regions: string[];
8229
+ }
8230
+
7752
8231
  interface CarrierService {
7753
8232
  readonly id: string;
7754
8233
  readonly carrier: io.flow.v0.models.Carrier;
@@ -7770,22 +8249,6 @@ declare namespace io.flow.v0.models {
7770
8249
  readonly organization: string;
7771
8250
  }
7772
8251
 
7773
- interface CatalogItemDeleted {
7774
- readonly discriminator: 'catalog_item_deleted';
7775
- readonly event_id: string;
7776
- readonly timestamp: string;
7777
- readonly organization: string;
7778
- readonly number: string;
7779
- }
7780
-
7781
- interface CatalogItemDeletedV2 {
7782
- readonly discriminator: 'catalog_item_deleted_v2';
7783
- readonly event_id: string;
7784
- readonly timestamp: string;
7785
- readonly organization: string;
7786
- readonly item: io.flow.v0.models.Item;
7787
- }
7788
-
7789
8252
  interface CatalogItemDocument {
7790
8253
  readonly discriminator: 'catalog_item_document';
7791
8254
  readonly number: string;
@@ -7818,31 +8281,6 @@ declare namespace io.flow.v0.models {
7818
8281
  readonly attributes: Record<string, string>;
7819
8282
  }
7820
8283
 
7821
- interface CatalogItemUpserted {
7822
- readonly discriminator: 'catalog_item_upserted';
7823
- readonly event_id: string;
7824
- readonly timestamp: string;
7825
- readonly organization: string;
7826
- readonly number: string;
7827
- readonly locale: string;
7828
- readonly name: string;
7829
- readonly currency: string;
7830
- readonly price: number;
7831
- readonly categories: string[];
7832
- readonly description?: string;
7833
- readonly attributes: Record<string, string>;
7834
- readonly dimensions: any /*object*/;
7835
- readonly images: any /*object*/[];
7836
- }
7837
-
7838
- interface CatalogItemUpsertedV2 {
7839
- readonly discriminator: 'catalog_item_upserted_v2';
7840
- readonly event_id: string;
7841
- readonly timestamp: string;
7842
- readonly organization: string;
7843
- readonly item: io.flow.v0.models.Item;
7844
- }
7845
-
7846
8284
  interface CatalogPriceBookItemDocument {
7847
8285
  readonly price_book_key: string;
7848
8286
  readonly price_book_item_key: string;
@@ -8138,6 +8576,39 @@ declare namespace io.flow.v0.models {
8138
8576
  readonly id: string;
8139
8577
  }
8140
8578
 
8579
+ interface ChannelShopifyOrderState {
8580
+ readonly id: string;
8581
+ readonly shopify_order_summary: io.flow.v0.models.ChannelShopifyOrderSummary;
8582
+ readonly status: io.flow.channel.internal.v0.enums.ChannelOrderAcceptanceStatus;
8583
+ readonly reasons?: io.flow.v0.models.ChannelShopifyOrderStateReason[];
8584
+ }
8585
+
8586
+ interface ChannelShopifyOrderStateDeleted {
8587
+ readonly discriminator: 'channel_shopify_order_state_deleted';
8588
+ readonly event_id: string;
8589
+ readonly timestamp: string;
8590
+ readonly organization: string;
8591
+ readonly id: string;
8592
+ }
8593
+
8594
+ interface ChannelShopifyOrderStateReason {
8595
+ readonly code: io.flow.v0.enums.ChannelShopifyOrderStateReasonCode;
8596
+ readonly message: string;
8597
+ }
8598
+
8599
+ interface ChannelShopifyOrderStateUpserted {
8600
+ readonly discriminator: 'channel_shopify_order_state_upserted';
8601
+ readonly event_id: string;
8602
+ readonly timestamp: string;
8603
+ readonly organization: string;
8604
+ readonly channel_shopify_order_state: io.flow.v0.models.ChannelShopifyOrderState;
8605
+ }
8606
+
8607
+ interface ChannelShopifyOrderSummary {
8608
+ readonly order_id: number;
8609
+ readonly shop_id: number;
8610
+ }
8611
+
8141
8612
  interface ChannelStatement {
8142
8613
  readonly id: string;
8143
8614
  readonly account: io.flow.v0.models.AccountReference;
@@ -9135,12 +9606,14 @@ declare namespace io.flow.v0.models {
9135
9606
  readonly q: string;
9136
9607
  readonly dimensions: io.flow.v0.models.EstimatedDimensions;
9137
9608
  readonly position: number;
9609
+ readonly block_bulk_update?: boolean;
9138
9610
  }
9139
9611
 
9140
9612
  interface DimensionEstimateForm {
9141
9613
  readonly q: string;
9142
9614
  readonly dimensions: io.flow.v0.models.EstimatedDimensions;
9143
9615
  readonly position?: number;
9616
+ readonly block_bulk_update?: boolean;
9144
9617
  }
9145
9618
 
9146
9619
  interface DimensionEstimateVersion {
@@ -13815,6 +14288,32 @@ declare namespace io.flow.v0.models {
13815
14288
  readonly source: io.flow.v0.enums.DeliveryWindowComponentSource;
13816
14289
  }
13817
14290
 
14291
+ interface Product {
14292
+ readonly organization_id: string;
14293
+ readonly number: string;
14294
+ readonly taxonomy_category?: io.flow.v0.models.ProductTaxonomyCategory;
14295
+ readonly taxonomy_data?: io.flow.v0.models.ProductTaxonomyData[];
14296
+ readonly item_numbers: string[];
14297
+ readonly updated_at: string;
14298
+ readonly deleted_at?: string;
14299
+ }
14300
+
14301
+ interface ProductDeleted {
14302
+ readonly discriminator: 'product_deleted';
14303
+ readonly event_id: string;
14304
+ readonly timestamp: string;
14305
+ readonly organization: string;
14306
+ readonly product: io.flow.v0.models.Product;
14307
+ }
14308
+
14309
+ interface ProductInserted {
14310
+ readonly discriminator: 'product_inserted';
14311
+ readonly event_id: string;
14312
+ readonly timestamp: string;
14313
+ readonly organization: string;
14314
+ readonly product: io.flow.v0.models.Product;
14315
+ }
14316
+
13818
14317
  interface ProductRestrictionResult {
13819
14318
  readonly id: string;
13820
14319
  readonly product_id: string;
@@ -13844,6 +14343,47 @@ declare namespace io.flow.v0.models {
13844
14343
  readonly product_restriction_result: io.flow.v0.models.ProductRestrictionResult;
13845
14344
  }
13846
14345
 
14346
+ interface ProductSellability {
14347
+ readonly organization_id: string;
14348
+ readonly product_id?: string;
14349
+ readonly product_correlation_id: string;
14350
+ readonly restricted_regions: io.flow.v0.models.SellablilityRegionResult[];
14351
+ readonly in_review_regions: io.flow.v0.models.SellablilityRegionResult[];
14352
+ }
14353
+
14354
+ interface ProductSellabilityForm {
14355
+ readonly organization_id: string;
14356
+ readonly product_id?: string;
14357
+ readonly product_correlation_id: string;
14358
+ readonly name: string;
14359
+ readonly price: io.flow.v0.models.ProductSellabilityPrice;
14360
+ readonly description: string;
14361
+ readonly taxonomy_category: io.flow.v0.models.ProductTaxonomyCategory;
14362
+ }
14363
+
14364
+ interface ProductSellabilityPrice {
14365
+ readonly currency: string;
14366
+ readonly amount: number;
14367
+ }
14368
+
14369
+ interface ProductTaxonomyCategory {
14370
+ readonly name: string;
14371
+ readonly full_name: string;
14372
+ }
14373
+
14374
+ interface ProductTaxonomyData {
14375
+ readonly key: string;
14376
+ readonly value: string[];
14377
+ }
14378
+
14379
+ interface ProductUpdated {
14380
+ readonly discriminator: 'product_updated';
14381
+ readonly event_id: string;
14382
+ readonly timestamp: string;
14383
+ readonly organization: string;
14384
+ readonly product: io.flow.v0.models.Product;
14385
+ }
14386
+
13847
14387
  interface PromotionTrigger {
13848
14388
  readonly type: io.flow.v0.enums.PromotionTriggerType;
13849
14389
  readonly min: io.flow.v0.models.Price;
@@ -14789,6 +15329,11 @@ declare namespace io.flow.v0.models {
14789
15329
  readonly issuer_options: io.flow.v0.models.IssuerReference[];
14790
15330
  }
14791
15331
 
15332
+ interface SellablilityRegionResult {
15333
+ readonly type: io.flow.v0.enums.RuleEffectType;
15334
+ readonly regions: string[];
15335
+ }
15336
+
14792
15337
  interface ServiceReference {
14793
15338
  readonly id: string;
14794
15339
  }
@@ -16722,6 +17267,8 @@ declare namespace io.flow.v0.unions {
16722
17267
  type Event =
16723
17268
  | io.flow.v0.models.TestUpserted
16724
17269
  | io.flow.v0.models.GenerateLoad
17270
+ | io.flow.v0.models.AldoItemUpserted
17271
+ | io.flow.v0.models.AldoItemDeleted
16725
17272
  | io.flow.v0.models.TransactionUpserted
16726
17273
  | io.flow.v0.models.OrganizationTransactionUpserted
16727
17274
  | io.flow.v0.models.OrganizationTransactionDeleted
@@ -16748,10 +17295,6 @@ declare namespace io.flow.v0.unions {
16748
17295
  | io.flow.v0.models.CatalogDeleted
16749
17296
  | io.flow.v0.models.SubcatalogUpserted
16750
17297
  | io.flow.v0.models.SubcatalogDeleted
16751
- | io.flow.v0.models.CatalogItemUpserted
16752
- | io.flow.v0.models.CatalogItemDeleted
16753
- | io.flow.v0.models.CatalogItemUpsertedV2
16754
- | io.flow.v0.models.CatalogItemDeletedV2
16755
17298
  | io.flow.v0.models.SubcatalogItemUpserted
16756
17299
  | io.flow.v0.models.SubcatalogItemDeleted
16757
17300
  | io.flow.v0.models.CatalogStatisticsUpserted
@@ -16759,6 +17302,8 @@ declare namespace io.flow.v0.unions {
16759
17302
  | io.flow.v0.models.ItemInserted
16760
17303
  | io.flow.v0.models.ItemUpdated
16761
17304
  | io.flow.v0.models.ItemDeleted
17305
+ | io.flow.v0.models.ChannelShopifyOrderStateUpserted
17306
+ | io.flow.v0.models.ChannelShopifyOrderStateDeleted
16762
17307
  | io.flow.v0.models.ChannelUpserted
16763
17308
  | io.flow.v0.models.ChannelDeleted
16764
17309
  | io.flow.v0.models.ChannelCurrencyUpserted
@@ -16907,6 +17452,9 @@ declare namespace io.flow.v0.unions {
16907
17452
  | io.flow.v0.models.PriceBookDeleted
16908
17453
  | io.flow.v0.models.PriceBookItemUpserted
16909
17454
  | io.flow.v0.models.PriceBookItemDeleted
17455
+ | io.flow.v0.models.ProductInserted
17456
+ | io.flow.v0.models.ProductUpdated
17457
+ | io.flow.v0.models.ProductDeleted
16910
17458
  | io.flow.v0.models.OrganizationRatesPublished
16911
17459
  | io.flow.v0.models.RatecardLaneUpserted
16912
17460
  | io.flow.v0.models.RatecardLaneDeleted
@@ -17313,6 +17861,8 @@ export type AdyenNativeActionDetails =
17313
17861
  export type AdyenNativeData = io.flow.v0.unions.AdyenNativeData;
17314
17862
  export type AdyenV3ChallengeToken = io.flow.v0.models.AdyenV3ChallengeToken;
17315
17863
  export type AdyenV3FingerprintToken = io.flow.v0.models.AdyenV3FingerprintToken;
17864
+ export type AldoItemDeleted = io.flow.v0.models.AldoItemDeleted;
17865
+ export type AldoItemUpserted = io.flow.v0.models.AldoItemUpserted;
17316
17866
  export type Allocation = io.flow.v0.models.Allocation;
17317
17867
  export type AllocationComponent = io.flow.v0.unions.AllocationComponent;
17318
17868
  export type AllocationDeletedV2 = io.flow.v0.models.AllocationDeletedV2;
@@ -17507,20 +18057,17 @@ export type CardVersion = io.flow.v0.models.CardVersion;
17507
18057
  export type Carrier = io.flow.v0.models.Carrier;
17508
18058
  export type CarrierChargeReason = io.flow.v0.enums.CarrierChargeReason;
17509
18059
  export type CarrierReference = io.flow.v0.models.CarrierReference;
18060
+ export type CarrierRestrictions = io.flow.v0.models.CarrierRestrictions;
17510
18061
  export type CarrierService = io.flow.v0.models.CarrierService;
17511
18062
  export type CartReference = io.flow.v0.models.CartReference;
17512
18063
  export type Catalog = io.flow.v0.models.Catalog;
17513
18064
  export type CatalogDeleted = io.flow.v0.models.CatalogDeleted;
17514
- export type CatalogItemDeleted = io.flow.v0.models.CatalogItemDeleted;
17515
- export type CatalogItemDeletedV2 = io.flow.v0.models.CatalogItemDeletedV2;
17516
18065
  export type CatalogItemDocument = io.flow.v0.models.CatalogItemDocument;
17517
18066
  export type CatalogItemDocumentImages =
17518
18067
  io.flow.v0.models.CatalogItemDocumentImages;
17519
18068
  export type CatalogItemExportType = io.flow.v0.models.CatalogItemExportType;
17520
18069
  export type CatalogItemReference = io.flow.v0.models.CatalogItemReference;
17521
18070
  export type CatalogItemSummary = io.flow.v0.models.CatalogItemSummary;
17522
- export type CatalogItemUpserted = io.flow.v0.models.CatalogItemUpserted;
17523
- export type CatalogItemUpsertedV2 = io.flow.v0.models.CatalogItemUpsertedV2;
17524
18071
  export type CatalogPriceBookItemDocument =
17525
18072
  io.flow.v0.models.CatalogPriceBookItemDocument;
17526
18073
  export type CatalogReference = io.flow.v0.models.CatalogReference;
@@ -17580,6 +18127,18 @@ export type ChannelPendingPayoutTransactionUpserted =
17580
18127
  io.flow.v0.models.ChannelPendingPayoutTransactionUpserted;
17581
18128
  export type ChannelRate = io.flow.v0.models.ChannelRate;
17582
18129
  export type ChannelReference = io.flow.v0.models.ChannelReference;
18130
+ export type ChannelShopifyOrderState =
18131
+ io.flow.v0.models.ChannelShopifyOrderState;
18132
+ export type ChannelShopifyOrderStateDeleted =
18133
+ io.flow.v0.models.ChannelShopifyOrderStateDeleted;
18134
+ export type ChannelShopifyOrderStateReason =
18135
+ io.flow.v0.models.ChannelShopifyOrderStateReason;
18136
+ export type ChannelShopifyOrderStateReasonCode =
18137
+ io.flow.v0.enums.ChannelShopifyOrderStateReasonCode;
18138
+ export type ChannelShopifyOrderStateUpserted =
18139
+ io.flow.v0.models.ChannelShopifyOrderStateUpserted;
18140
+ export type ChannelShopifyOrderSummary =
18141
+ io.flow.v0.models.ChannelShopifyOrderSummary;
17583
18142
  export type ChannelStatement = io.flow.v0.models.ChannelStatement;
17584
18143
  export type ChannelStatementDeleted = io.flow.v0.models.ChannelStatementDeleted;
17585
18144
  export type ChannelStatementUpserted =
@@ -18869,6 +19428,9 @@ export type PricingSettings = io.flow.v0.models.PricingSettings;
18869
19428
  export type PricingUpserted = io.flow.v0.models.PricingUpserted;
18870
19429
  export type PricingVersion = io.flow.v0.models.PricingVersion;
18871
19430
  export type ProcessingEstimate = io.flow.v0.models.ProcessingEstimate;
19431
+ export type Product = io.flow.v0.models.Product;
19432
+ export type ProductDeleted = io.flow.v0.models.ProductDeleted;
19433
+ export type ProductInserted = io.flow.v0.models.ProductInserted;
18872
19434
  export type ProductRestrictionResult =
18873
19435
  io.flow.v0.models.ProductRestrictionResult;
18874
19436
  export type ProductRestrictionResultDeleted =
@@ -18876,6 +19438,12 @@ export type ProductRestrictionResultDeleted =
18876
19438
  export type ProductRestrictionResultUpserted =
18877
19439
  io.flow.v0.models.ProductRestrictionResultUpserted;
18878
19440
  export type ProductRestrictionRule = io.flow.v0.enums.ProductRestrictionRule;
19441
+ export type ProductSellability = io.flow.v0.models.ProductSellability;
19442
+ export type ProductSellabilityForm = io.flow.v0.models.ProductSellabilityForm;
19443
+ export type ProductSellabilityPrice = io.flow.v0.models.ProductSellabilityPrice;
19444
+ export type ProductTaxonomyCategory = io.flow.v0.models.ProductTaxonomyCategory;
19445
+ export type ProductTaxonomyData = io.flow.v0.models.ProductTaxonomyData;
19446
+ export type ProductUpdated = io.flow.v0.models.ProductUpdated;
18879
19447
  export type Promotion = io.flow.v0.unions.Promotion;
18880
19448
  export type PromotionTrigger = io.flow.v0.models.PromotionTrigger;
18881
19449
  export type PromotionTriggerForm = io.flow.v0.models.PromotionTriggerForm;
@@ -19031,6 +19599,7 @@ export type Rounding = io.flow.v0.models.Rounding;
19031
19599
  export type RoundingMethod = io.flow.v0.enums.RoundingMethod;
19032
19600
  export type RoundingType = io.flow.v0.enums.RoundingType;
19033
19601
  export type RouteAudit = io.flow.v0.models.RouteAudit;
19602
+ export type RuleEffectType = io.flow.v0.enums.RuleEffectType;
19034
19603
  export type Schedule = io.flow.v0.models.Schedule;
19035
19604
  export type ScheduleExceptionStatus = io.flow.v0.enums.ScheduleExceptionStatus;
19036
19605
  export type ScheduledExport = io.flow.v0.models.ScheduledExport;
@@ -19042,6 +19611,8 @@ export type SecurityRatecardFee = io.flow.v0.models.SecurityRatecardFee;
19042
19611
  export type SecurityServiceFee = io.flow.v0.models.SecurityServiceFee;
19043
19612
  export type SelectIssuerOptionActionDetails =
19044
19613
  io.flow.v0.models.SelectIssuerOptionActionDetails;
19614
+ export type SellablilityRegionResult =
19615
+ io.flow.v0.models.SellablilityRegionResult;
19045
19616
  export type ServiceDescription = io.flow.v0.unions.ServiceDescription;
19046
19617
  export type ServiceFee = io.flow.v0.unions.ServiceFee;
19047
19618
  export type ServiceReference = io.flow.v0.models.ServiceReference;
@@ -19239,6 +19810,7 @@ export type SubcatalogSettingsForm = io.flow.v0.models.SubcatalogSettingsForm;
19239
19810
  export type SubcatalogStatistics = io.flow.v0.models.SubcatalogStatistics;
19240
19811
  export type SubcatalogUpserted = io.flow.v0.models.SubcatalogUpserted;
19241
19812
  export type SubcatalogVersion = io.flow.v0.models.SubcatalogVersion;
19813
+ export type SubstatusCode = io.flow.v0.enums.SubstatusCode;
19242
19814
  export type Suggestion = io.flow.v0.models.Suggestion;
19243
19815
  export type SummaryShippingLabelForm =
19244
19816
  io.flow.v0.models.SummaryShippingLabelForm;