@flowio/types 11.19.35 → 11.20.1
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/dist/api-internal.d.ts +405 -62
- package/dist/api.d.ts +210 -11
- package/package.json +2 -2
- package/src/api-internal.ts +571 -104
- package/src/api.ts +283 -6
package/src/api.ts
CHANGED
|
@@ -2000,6 +2000,16 @@ declare namespace io.flow.channel.internal.v0.enums {
|
|
|
2000
2000
|
type ChannelCurrencyCapability =
|
|
2001
2001
|
| 'payment_authorizations'
|
|
2002
2002
|
| 'settlement_currency';
|
|
2003
|
+
type ChannelOrderAcceptanceRejectionReason =
|
|
2004
|
+
| 'unsupported_origin_country'
|
|
2005
|
+
| 'unsupported_destination_country'
|
|
2006
|
+
| 'domestic_order'
|
|
2007
|
+
| 'order_contains_gift_card';
|
|
2008
|
+
type ChannelOrderAcceptanceStatus =
|
|
2009
|
+
| 'accepted'
|
|
2010
|
+
| 'rejected'
|
|
2011
|
+
| 'held_for_review'
|
|
2012
|
+
| 'reviewed';
|
|
2003
2013
|
}
|
|
2004
2014
|
|
|
2005
2015
|
declare namespace io.flow.channel.internal.v0.models {
|
|
@@ -2028,6 +2038,36 @@ declare namespace io.flow.channel.internal.v0.models {
|
|
|
2028
2038
|
readonly environment: io.flow.common.v0.enums.Environment;
|
|
2029
2039
|
readonly organization_id_prefix?: string;
|
|
2030
2040
|
}
|
|
2041
|
+
|
|
2042
|
+
interface ChannelMembership {
|
|
2043
|
+
readonly id: string;
|
|
2044
|
+
readonly channel: io.flow.common.v0.models.ChannelReference;
|
|
2045
|
+
readonly user: io.flow.common.v0.unions.ExpandableUser;
|
|
2046
|
+
readonly role?: io.flow.common.v0.enums.Role;
|
|
2047
|
+
}
|
|
2048
|
+
|
|
2049
|
+
interface ChannelMembershipForm {
|
|
2050
|
+
readonly channel_id: string;
|
|
2051
|
+
readonly user_id: string;
|
|
2052
|
+
readonly role?: io.flow.common.v0.enums.Role;
|
|
2053
|
+
}
|
|
2054
|
+
|
|
2055
|
+
interface ChannelMembershipPutForm {
|
|
2056
|
+
readonly role?: io.flow.common.v0.enums.Role;
|
|
2057
|
+
}
|
|
2058
|
+
|
|
2059
|
+
interface ChannelOrderAcceptance {
|
|
2060
|
+
readonly id: string;
|
|
2061
|
+
readonly organization_id: string;
|
|
2062
|
+
readonly order_number: string;
|
|
2063
|
+
readonly channel_id: string;
|
|
2064
|
+
readonly status: io.flow.channel.internal.v0.enums.ChannelOrderAcceptanceStatus;
|
|
2065
|
+
readonly reasons: io.flow.channel.internal.v0.enums.ChannelOrderAcceptanceRejectionReason[];
|
|
2066
|
+
}
|
|
2067
|
+
|
|
2068
|
+
interface ChannelOrderAcceptanceForm {
|
|
2069
|
+
readonly status: io.flow.channel.internal.v0.enums.ChannelOrderAcceptanceStatus;
|
|
2070
|
+
}
|
|
2031
2071
|
}
|
|
2032
2072
|
|
|
2033
2073
|
declare namespace io.flow.common.v0.enums {
|
|
@@ -2083,7 +2123,11 @@ declare namespace io.flow.common.v0.enums {
|
|
|
2083
2123
|
type MeasurementSystem = 'imperial' | 'metric';
|
|
2084
2124
|
type MerchantOfRecord = 'flow' | 'organization';
|
|
2085
2125
|
type OrderMerchantOfRecord = 'flow' | 'organization' | 'mixed';
|
|
2086
|
-
type OrganizationStatus =
|
|
2126
|
+
type OrganizationStatus =
|
|
2127
|
+
| 'active'
|
|
2128
|
+
| 'inactive'
|
|
2129
|
+
| 'deactivated'
|
|
2130
|
+
| 'provisioned';
|
|
2087
2131
|
type PriceBookStatus = 'draft' | 'published' | 'archived';
|
|
2088
2132
|
type Role = 'admin' | 'member';
|
|
2089
2133
|
type RoundingMethod = 'up' | 'down' | 'nearest';
|
|
@@ -2522,10 +2566,16 @@ declare namespace io.flow.token.v0.models {
|
|
|
2522
2566
|
readonly channel: io.flow.common.v0.models.ChannelReference;
|
|
2523
2567
|
readonly user: io.flow.common.v0.models.UserReference;
|
|
2524
2568
|
readonly partial: string;
|
|
2569
|
+
readonly cleartext?: string;
|
|
2525
2570
|
readonly created_at: string;
|
|
2526
2571
|
readonly description?: string;
|
|
2527
2572
|
}
|
|
2528
2573
|
|
|
2574
|
+
interface ChannelTokenForm {
|
|
2575
|
+
readonly channel_id: string;
|
|
2576
|
+
readonly description?: string;
|
|
2577
|
+
}
|
|
2578
|
+
|
|
2529
2579
|
interface ChannelTokenReference {
|
|
2530
2580
|
readonly discriminator: 'channel_token_reference';
|
|
2531
2581
|
readonly id: string;
|
|
@@ -2553,6 +2603,11 @@ declare namespace io.flow.token.v0.models {
|
|
|
2553
2603
|
readonly description?: string;
|
|
2554
2604
|
}
|
|
2555
2605
|
|
|
2606
|
+
interface OrganizationTokenFormV2 {
|
|
2607
|
+
readonly organization_id: string;
|
|
2608
|
+
readonly description?: string;
|
|
2609
|
+
}
|
|
2610
|
+
|
|
2556
2611
|
interface OrganizationTokenReference {
|
|
2557
2612
|
readonly discriminator: 'organization_token_reference';
|
|
2558
2613
|
readonly id: string;
|
|
@@ -2561,6 +2616,23 @@ declare namespace io.flow.token.v0.models {
|
|
|
2561
2616
|
readonly user: io.flow.common.v0.models.UserReference;
|
|
2562
2617
|
}
|
|
2563
2618
|
|
|
2619
|
+
interface OrganizationTokenV2 {
|
|
2620
|
+
readonly discriminator: 'organization_token_v2';
|
|
2621
|
+
readonly id: string;
|
|
2622
|
+
readonly organization: io.flow.common.v0.models.OrganizationReference;
|
|
2623
|
+
readonly user: io.flow.common.v0.models.UserReference;
|
|
2624
|
+
readonly partial: string;
|
|
2625
|
+
readonly cleartext?: string;
|
|
2626
|
+
readonly created_at: string;
|
|
2627
|
+
readonly description?: string;
|
|
2628
|
+
}
|
|
2629
|
+
|
|
2630
|
+
interface OrganizationTokenV2Reference {
|
|
2631
|
+
readonly discriminator: 'organization_token_v2_reference';
|
|
2632
|
+
readonly id: string;
|
|
2633
|
+
readonly organization: io.flow.common.v0.models.OrganizationReference;
|
|
2634
|
+
}
|
|
2635
|
+
|
|
2564
2636
|
interface PartnerToken {
|
|
2565
2637
|
readonly discriminator: 'partner_token';
|
|
2566
2638
|
readonly id: string;
|
|
@@ -2606,10 +2678,12 @@ declare namespace io.flow.token.v0.unions {
|
|
|
2606
2678
|
type Token =
|
|
2607
2679
|
| io.flow.token.v0.models.ChannelToken
|
|
2608
2680
|
| io.flow.token.v0.models.OrganizationToken
|
|
2681
|
+
| io.flow.token.v0.models.OrganizationTokenV2
|
|
2609
2682
|
| io.flow.token.v0.models.PartnerToken;
|
|
2610
2683
|
type TokenReference =
|
|
2611
2684
|
| io.flow.token.v0.models.ChannelTokenReference
|
|
2612
2685
|
| io.flow.token.v0.models.OrganizationTokenReference
|
|
2686
|
+
| io.flow.token.v0.models.OrganizationTokenV2Reference
|
|
2613
2687
|
| io.flow.token.v0.models.PartnerTokenReference;
|
|
2614
2688
|
}
|
|
2615
2689
|
|
|
@@ -2689,6 +2763,13 @@ declare namespace io.flow.permission.v0.models {
|
|
|
2689
2763
|
}
|
|
2690
2764
|
}
|
|
2691
2765
|
|
|
2766
|
+
declare namespace io.flow.token.internal.v0.models {
|
|
2767
|
+
interface ChannelTokenForm {
|
|
2768
|
+
readonly channel_id: string;
|
|
2769
|
+
readonly description?: string;
|
|
2770
|
+
}
|
|
2771
|
+
}
|
|
2772
|
+
|
|
2692
2773
|
declare namespace io.flow.apple.pay.v0.enums {
|
|
2693
2774
|
type ApplePayContactField =
|
|
2694
2775
|
| 'email'
|
|
@@ -2848,6 +2929,7 @@ declare namespace io.flow.v0.enums {
|
|
|
2848
2929
|
type AuthorizationOption = 'store_card';
|
|
2849
2930
|
type AuthorizationResultActionType = 'native' | 'redirect' | 'wait';
|
|
2850
2931
|
type AuthorizationStatus =
|
|
2932
|
+
| 'initiated'
|
|
2851
2933
|
| 'pending'
|
|
2852
2934
|
| 'expired'
|
|
2853
2935
|
| 'authorized'
|
|
@@ -3220,6 +3302,7 @@ declare namespace io.flow.v0.enums {
|
|
|
3220
3302
|
type LanePreselectPreference = 'lowest_cost' | 'default_tier';
|
|
3221
3303
|
type LaneStrategy = 'oldest' | 'fastest' | 'lowest_cost' | 'highest_priority';
|
|
3222
3304
|
type LevyComponent = 'goods' | 'duty' | 'insurance' | 'freight' | 'vat';
|
|
3305
|
+
type LevyInclusion = 'tax' | 'duty';
|
|
3223
3306
|
type LevyStrategy = 'minimum' | 'average' | 'maximum';
|
|
3224
3307
|
type LocationErrorCode =
|
|
3225
3308
|
| 'address_required'
|
|
@@ -3344,7 +3427,11 @@ declare namespace io.flow.v0.enums {
|
|
|
3344
3427
|
type OrderStorage = 'do_not_persist' | 'persist';
|
|
3345
3428
|
type OrderType = 'standard' | 'replacement';
|
|
3346
3429
|
type OrganizationPaymentMethodTag = 'deny';
|
|
3347
|
-
type OrganizationStatus =
|
|
3430
|
+
type OrganizationStatus =
|
|
3431
|
+
| 'active'
|
|
3432
|
+
| 'inactive'
|
|
3433
|
+
| 'deactivated'
|
|
3434
|
+
| 'provisioned';
|
|
3348
3435
|
type PaymentActionType =
|
|
3349
3436
|
| 'redirect'
|
|
3350
3437
|
| 'use_sdk_klarna_v1'
|
|
@@ -3517,6 +3604,7 @@ declare namespace io.flow.v0.enums {
|
|
|
3517
3604
|
| 'order';
|
|
3518
3605
|
type ShopifyLocalizationMethod = 'api' | 'ssr';
|
|
3519
3606
|
type ShopifySyncCheck = 'localized_variants' | 'flow_variant_metafields';
|
|
3607
|
+
type ShortIdSourceKey = 'channel' | 'organization';
|
|
3520
3608
|
type SortDirection = 'ascending' | 'descending';
|
|
3521
3609
|
type Strategy = 'range' | 'from' | 'to';
|
|
3522
3610
|
type SubcatalogItemStatus = 'excluded' | 'included' | 'restricted';
|
|
@@ -3529,6 +3617,27 @@ declare namespace io.flow.v0.enums {
|
|
|
3529
3617
|
type SyncStreamType = 'submitted_order' | 'placed_order';
|
|
3530
3618
|
type SyncUnitOfTime = 'day' | 'hour' | 'minute' | 'second';
|
|
3531
3619
|
type TaxApplicability = 'none' | 'all';
|
|
3620
|
+
type TaxDutyCalculatorValidationErrorCode =
|
|
3621
|
+
| 'generic_error'
|
|
3622
|
+
| 'destination_country_not_defined'
|
|
3623
|
+
| 'destination_address_iso3166_unrecognized'
|
|
3624
|
+
| 'line_item_shipfrom_shipto_country_invalid'
|
|
3625
|
+
| 'line_item_ship_from_invalid'
|
|
3626
|
+
| 'line_item_currency_iso4217_unrecognized'
|
|
3627
|
+
| 'line_quantity_invalid'
|
|
3628
|
+
| 'line_item_quantity_invalid'
|
|
3629
|
+
| 'line_item_unit_price_precision_invalid'
|
|
3630
|
+
| 'line_item_unit_price_negative'
|
|
3631
|
+
| 'line_item_discount_amount_precision_invalid'
|
|
3632
|
+
| 'line_item_discount_amount_positive'
|
|
3633
|
+
| 'line_item_country_of_origin_iso3166_unrecognized'
|
|
3634
|
+
| 'line_item_hs_code_invalid'
|
|
3635
|
+
| 'line_item_duty_provider_invalid'
|
|
3636
|
+
| 'shipping_unit_price_precision_invalid'
|
|
3637
|
+
| 'shipping_unit_price_negative'
|
|
3638
|
+
| 'shipping_discount_amount_precision_invalid'
|
|
3639
|
+
| 'shipping_discount_amount_invalid'
|
|
3640
|
+
| 'merchant_of_record_invalid';
|
|
3532
3641
|
type TaxReportType = 'consumer' | 'b2b';
|
|
3533
3642
|
type TaxVerificationResult = 'valid' | 'invalid' | 'unable_to_validate';
|
|
3534
3643
|
type TaxabilityType = 'tax_rule';
|
|
@@ -3579,6 +3688,17 @@ declare namespace io.flow.v0.enums {
|
|
|
3579
3688
|
type Visibility = 'public' | 'private';
|
|
3580
3689
|
type WebhookStatus = 'pending' | 'success' | 'failure';
|
|
3581
3690
|
type ZeroAmountIndicator = 'zero' | 'free';
|
|
3691
|
+
type ZeroLevyReasonCode =
|
|
3692
|
+
| 'zero_basis'
|
|
3693
|
+
| 'zero_rate_on_goods'
|
|
3694
|
+
| 'value_rounds_to_zero'
|
|
3695
|
+
| 'order_below_de_minimis_threshold'
|
|
3696
|
+
| 'amount_below_de_minimis_threshold'
|
|
3697
|
+
| 'delivered_unpaid'
|
|
3698
|
+
| 'duty_free_domestic'
|
|
3699
|
+
| 'duty_free_intra_community'
|
|
3700
|
+
| 'duty_free_reimport'
|
|
3701
|
+
| 'duty_free_by_trade_agreement';
|
|
3582
3702
|
}
|
|
3583
3703
|
|
|
3584
3704
|
declare namespace io.flow.v0.models {
|
|
@@ -4881,14 +5001,14 @@ declare namespace io.flow.v0.models {
|
|
|
4881
5001
|
|
|
4882
5002
|
interface ChannelOrganizationForm {
|
|
4883
5003
|
readonly key: string;
|
|
4884
|
-
readonly name
|
|
5004
|
+
readonly name?: string;
|
|
4885
5005
|
readonly slug?: string;
|
|
4886
5006
|
readonly defaults: io.flow.v0.models.OrganizationDefaults;
|
|
4887
5007
|
readonly attributes?: Record<string, string>;
|
|
4888
5008
|
}
|
|
4889
5009
|
|
|
4890
5010
|
interface ChannelOrganizationPutForm {
|
|
4891
|
-
readonly name
|
|
5011
|
+
readonly name?: string;
|
|
4892
5012
|
readonly slug?: string;
|
|
4893
5013
|
readonly defaults: io.flow.v0.models.OrganizationDefaults;
|
|
4894
5014
|
readonly attributes?: Record<string, string>;
|
|
@@ -4915,10 +5035,16 @@ declare namespace io.flow.v0.models {
|
|
|
4915
5035
|
readonly channel: io.flow.v0.models.ChannelReference;
|
|
4916
5036
|
readonly user: io.flow.v0.models.UserReference;
|
|
4917
5037
|
readonly partial: string;
|
|
5038
|
+
readonly cleartext?: string;
|
|
4918
5039
|
readonly created_at: string;
|
|
4919
5040
|
readonly description?: string;
|
|
4920
5041
|
}
|
|
4921
5042
|
|
|
5043
|
+
interface ChannelTokenForm {
|
|
5044
|
+
readonly channel_id: string;
|
|
5045
|
+
readonly description?: string;
|
|
5046
|
+
}
|
|
5047
|
+
|
|
4922
5048
|
interface ChannelTokenReference {
|
|
4923
5049
|
readonly discriminator: 'channel_token_reference';
|
|
4924
5050
|
readonly id: string;
|
|
@@ -7606,6 +7732,7 @@ declare namespace io.flow.v0.models {
|
|
|
7606
7732
|
readonly price: io.flow.v0.models.LocalizedItemPrice;
|
|
7607
7733
|
readonly vat?: io.flow.v0.models.LocalizedItemVat;
|
|
7608
7734
|
readonly duty?: io.flow.v0.models.LocalizedItemDuty;
|
|
7735
|
+
readonly shipping?: io.flow.v0.models.Price;
|
|
7609
7736
|
readonly attributes: Record<string, io.flow.v0.models.PriceWithBase>;
|
|
7610
7737
|
readonly price_attributes?: Record<
|
|
7611
7738
|
string,
|
|
@@ -8149,6 +8276,7 @@ declare namespace io.flow.v0.models {
|
|
|
8149
8276
|
readonly discounts?: io.flow.v0.models.PaymentDiscount[];
|
|
8150
8277
|
readonly tax?: io.flow.v0.models.PaymentTax;
|
|
8151
8278
|
readonly duty?: io.flow.v0.models.PaymentDuty;
|
|
8279
|
+
readonly reference?: string;
|
|
8152
8280
|
}
|
|
8153
8281
|
|
|
8154
8282
|
interface OrderError {
|
|
@@ -8957,6 +9085,11 @@ declare namespace io.flow.v0.models {
|
|
|
8957
9085
|
readonly description?: string;
|
|
8958
9086
|
}
|
|
8959
9087
|
|
|
9088
|
+
interface OrganizationTokenFormV2 {
|
|
9089
|
+
readonly organization_id: string;
|
|
9090
|
+
readonly description?: string;
|
|
9091
|
+
}
|
|
9092
|
+
|
|
8960
9093
|
interface OrganizationTokenReference {
|
|
8961
9094
|
readonly discriminator: 'organization_token_reference';
|
|
8962
9095
|
readonly id: string;
|
|
@@ -8965,6 +9098,23 @@ declare namespace io.flow.v0.models {
|
|
|
8965
9098
|
readonly user: io.flow.v0.models.UserReference;
|
|
8966
9099
|
}
|
|
8967
9100
|
|
|
9101
|
+
interface OrganizationTokenV2 {
|
|
9102
|
+
readonly discriminator: 'organization_token_v2';
|
|
9103
|
+
readonly id: string;
|
|
9104
|
+
readonly organization: io.flow.v0.models.OrganizationReference;
|
|
9105
|
+
readonly user: io.flow.v0.models.UserReference;
|
|
9106
|
+
readonly partial: string;
|
|
9107
|
+
readonly cleartext?: string;
|
|
9108
|
+
readonly created_at: string;
|
|
9109
|
+
readonly description?: string;
|
|
9110
|
+
}
|
|
9111
|
+
|
|
9112
|
+
interface OrganizationTokenV2Reference {
|
|
9113
|
+
readonly discriminator: 'organization_token_v2_reference';
|
|
9114
|
+
readonly id: string;
|
|
9115
|
+
readonly organization: io.flow.v0.models.OrganizationReference;
|
|
9116
|
+
}
|
|
9117
|
+
|
|
8968
9118
|
interface OrganizationUpserted {
|
|
8969
9119
|
readonly discriminator: 'organization_upserted';
|
|
8970
9120
|
readonly event_id: string;
|
|
@@ -9139,7 +9289,7 @@ declare namespace io.flow.v0.models {
|
|
|
9139
9289
|
}
|
|
9140
9290
|
|
|
9141
9291
|
interface PaymentContactBilling {
|
|
9142
|
-
readonly first_name
|
|
9292
|
+
readonly first_name?: string;
|
|
9143
9293
|
readonly last_name: string;
|
|
9144
9294
|
readonly company?: string;
|
|
9145
9295
|
readonly email?: string;
|
|
@@ -9147,7 +9297,7 @@ declare namespace io.flow.v0.models {
|
|
|
9147
9297
|
}
|
|
9148
9298
|
|
|
9149
9299
|
interface PaymentContactShipping {
|
|
9150
|
-
readonly first_name
|
|
9300
|
+
readonly first_name?: string;
|
|
9151
9301
|
readonly last_name: string;
|
|
9152
9302
|
readonly email: string;
|
|
9153
9303
|
readonly phone: string;
|
|
@@ -11470,6 +11620,17 @@ declare namespace io.flow.v0.models {
|
|
|
11470
11620
|
readonly status: io.flow.v0.enums.ItemAvailabilityStatus;
|
|
11471
11621
|
}
|
|
11472
11622
|
|
|
11623
|
+
interface ShortId {
|
|
11624
|
+
readonly id: string;
|
|
11625
|
+
readonly source: io.flow.v0.models.ShortIdSource;
|
|
11626
|
+
readonly identifier: string;
|
|
11627
|
+
}
|
|
11628
|
+
|
|
11629
|
+
interface ShortIdSource {
|
|
11630
|
+
readonly key: io.flow.v0.enums.ShortIdSourceKey;
|
|
11631
|
+
readonly id: string;
|
|
11632
|
+
}
|
|
11633
|
+
|
|
11473
11634
|
interface SimplePermissionCheck {
|
|
11474
11635
|
readonly behaviors: io.flow.v0.enums.FlowBehavior[];
|
|
11475
11636
|
}
|
|
@@ -11514,6 +11675,14 @@ declare namespace io.flow.v0.models {
|
|
|
11514
11675
|
readonly sort?: string;
|
|
11515
11676
|
}
|
|
11516
11677
|
|
|
11678
|
+
interface StreetAddress {
|
|
11679
|
+
readonly streets?: string[];
|
|
11680
|
+
readonly city?: string;
|
|
11681
|
+
readonly province?: string;
|
|
11682
|
+
readonly postal?: string;
|
|
11683
|
+
readonly country?: string;
|
|
11684
|
+
}
|
|
11685
|
+
|
|
11517
11686
|
interface StripeAuthenticationData {
|
|
11518
11687
|
readonly discriminator: 'stripe_authentication_data';
|
|
11519
11688
|
readonly secret_key_reference: string;
|
|
@@ -11739,6 +11908,89 @@ declare namespace io.flow.v0.models {
|
|
|
11739
11908
|
readonly deminimis?: io.flow.v0.unions.Deminimis;
|
|
11740
11909
|
}
|
|
11741
11910
|
|
|
11911
|
+
interface TaxDutyCalculatorValidationError {
|
|
11912
|
+
readonly code: io.flow.v0.enums.TaxDutyCalculatorValidationErrorCode;
|
|
11913
|
+
readonly messages: string[];
|
|
11914
|
+
readonly codes: io.flow.v0.enums.TaxDutyCalculatorValidationErrorCode[];
|
|
11915
|
+
}
|
|
11916
|
+
|
|
11917
|
+
interface TaxDutyQuote {
|
|
11918
|
+
readonly id: string;
|
|
11919
|
+
readonly primary_identifier: string;
|
|
11920
|
+
readonly attributes?: Record<string, string>;
|
|
11921
|
+
readonly merchant_of_record: io.flow.v0.enums.MerchantOfRecord;
|
|
11922
|
+
readonly delivered_duty: io.flow.v0.enums.DeliveredDuty;
|
|
11923
|
+
readonly destination: io.flow.v0.models.StreetAddress;
|
|
11924
|
+
readonly quote_date: string;
|
|
11925
|
+
readonly currency: string;
|
|
11926
|
+
readonly lines: io.flow.v0.models.TaxDutyQuoteLineItem[];
|
|
11927
|
+
readonly shipping: io.flow.v0.models.TaxDutyQuoteSimpleShipping[];
|
|
11928
|
+
readonly total_values: io.flow.v0.models.TaxDutyQuoteValues;
|
|
11929
|
+
}
|
|
11930
|
+
|
|
11931
|
+
interface TaxDutyQuoteFeeValue {
|
|
11932
|
+
readonly amount: number;
|
|
11933
|
+
readonly description: string;
|
|
11934
|
+
}
|
|
11935
|
+
|
|
11936
|
+
interface TaxDutyQuoteForm {
|
|
11937
|
+
readonly primary_identifier: string;
|
|
11938
|
+
readonly attributes?: Record<string, string>;
|
|
11939
|
+
readonly delivered_duty: io.flow.v0.enums.DeliveredDuty;
|
|
11940
|
+
readonly destination: io.flow.v0.models.StreetAddress;
|
|
11941
|
+
readonly currency: string;
|
|
11942
|
+
readonly lines: io.flow.v0.models.TaxDutyQuoteLineItemForm[];
|
|
11943
|
+
readonly shipping: io.flow.v0.models.TaxDutyQuoteSimpleShippingForm[];
|
|
11944
|
+
}
|
|
11945
|
+
|
|
11946
|
+
interface TaxDutyQuoteLineItem {
|
|
11947
|
+
readonly primary_identifier: string;
|
|
11948
|
+
readonly attributes?: Record<string, string>;
|
|
11949
|
+
readonly ship_from: io.flow.v0.models.StreetAddress;
|
|
11950
|
+
readonly quantity: number;
|
|
11951
|
+
readonly unit_values: io.flow.v0.models.TaxDutyQuoteValues;
|
|
11952
|
+
readonly country_of_origin: string;
|
|
11953
|
+
readonly hs_code: string;
|
|
11954
|
+
}
|
|
11955
|
+
|
|
11956
|
+
interface TaxDutyQuoteLineItemForm {
|
|
11957
|
+
readonly primary_identifier: string;
|
|
11958
|
+
readonly attributes?: Record<string, string>;
|
|
11959
|
+
readonly ship_from: io.flow.v0.models.StreetAddress;
|
|
11960
|
+
readonly quantity: number;
|
|
11961
|
+
readonly unit_price: number;
|
|
11962
|
+
readonly country_of_origin: string;
|
|
11963
|
+
readonly hs_code: string;
|
|
11964
|
+
readonly includes: io.flow.v0.enums.LevyInclusion[];
|
|
11965
|
+
}
|
|
11966
|
+
|
|
11967
|
+
interface TaxDutyQuoteSimpleLevyValue {
|
|
11968
|
+
readonly discriminator: 'tax_duty_quote_simple_levy_value';
|
|
11969
|
+
readonly amount: number;
|
|
11970
|
+
readonly rate: number;
|
|
11971
|
+
readonly description: string;
|
|
11972
|
+
readonly zero_levy_reason?: io.flow.v0.enums.ZeroLevyReasonCode[];
|
|
11973
|
+
}
|
|
11974
|
+
|
|
11975
|
+
interface TaxDutyQuoteSimpleShipping {
|
|
11976
|
+
readonly values: io.flow.v0.models.TaxDutyQuoteValues;
|
|
11977
|
+
readonly ship_from: io.flow.v0.models.StreetAddress;
|
|
11978
|
+
}
|
|
11979
|
+
|
|
11980
|
+
interface TaxDutyQuoteSimpleShippingForm {
|
|
11981
|
+
readonly price: number;
|
|
11982
|
+
readonly includes: io.flow.v0.enums.LevyInclusion[];
|
|
11983
|
+
readonly ship_from?: io.flow.v0.models.StreetAddress;
|
|
11984
|
+
}
|
|
11985
|
+
|
|
11986
|
+
interface TaxDutyQuoteValues {
|
|
11987
|
+
readonly price: number;
|
|
11988
|
+
readonly duty: io.flow.v0.models.TaxDutyQuoteSimpleLevyValue;
|
|
11989
|
+
readonly tax: io.flow.v0.models.TaxDutyQuoteSimpleLevyValue;
|
|
11990
|
+
readonly fees: io.flow.v0.models.TaxDutyQuoteFeeValue;
|
|
11991
|
+
readonly total: number;
|
|
11992
|
+
}
|
|
11993
|
+
|
|
11742
11994
|
interface TaxRegistration {
|
|
11743
11995
|
readonly id: string;
|
|
11744
11996
|
readonly key: string;
|
|
@@ -12758,6 +13010,7 @@ declare namespace io.flow.v0.unions {
|
|
|
12758
13010
|
| io.flow.v0.models.ShopifyCartAddSingleForm
|
|
12759
13011
|
| io.flow.v0.models.ShopifyCartAddMultipleForm;
|
|
12760
13012
|
type ShopifyEventBucket = io.flow.v0.models.ShopifyItemEventBucket;
|
|
13013
|
+
type TaxDutyQuoteLevyValue = io.flow.v0.models.TaxDutyQuoteSimpleLevyValue;
|
|
12761
13014
|
type TaxSetting =
|
|
12762
13015
|
| io.flow.v0.models.AvalaraTaxSetting
|
|
12763
13016
|
| io.flow.v0.models.AvalaraTaxCsvSetting;
|
|
@@ -12776,10 +13029,12 @@ declare namespace io.flow.v0.unions {
|
|
|
12776
13029
|
type Token =
|
|
12777
13030
|
| io.flow.v0.models.ChannelToken
|
|
12778
13031
|
| io.flow.v0.models.OrganizationToken
|
|
13032
|
+
| io.flow.v0.models.OrganizationTokenV2
|
|
12779
13033
|
| io.flow.v0.models.PartnerToken;
|
|
12780
13034
|
type TokenReference =
|
|
12781
13035
|
| io.flow.v0.models.ChannelTokenReference
|
|
12782
13036
|
| io.flow.v0.models.OrganizationTokenReference
|
|
13037
|
+
| io.flow.v0.models.OrganizationTokenV2Reference
|
|
12783
13038
|
| io.flow.v0.models.PartnerTokenReference;
|
|
12784
13039
|
}
|
|
12785
13040
|
|
|
@@ -12998,6 +13253,7 @@ export type ChannelOrganizationUpserted = io.flow.v0.models.ChannelOrganizationU
|
|
|
12998
13253
|
export type ChannelRate = io.flow.v0.models.ChannelRate;
|
|
12999
13254
|
export type ChannelReference = io.flow.v0.models.ChannelReference;
|
|
13000
13255
|
export type ChannelToken = io.flow.v0.models.ChannelToken;
|
|
13256
|
+
export type ChannelTokenForm = io.flow.v0.models.ChannelTokenForm;
|
|
13001
13257
|
export type ChannelTokenReference = io.flow.v0.models.ChannelTokenReference;
|
|
13002
13258
|
export type ChannelUpserted = io.flow.v0.models.ChannelUpserted;
|
|
13003
13259
|
export type CheckoutAttribute = io.flow.v0.models.CheckoutAttribute;
|
|
@@ -13465,6 +13721,7 @@ export type LaneStrategy = io.flow.v0.enums.LaneStrategy;
|
|
|
13465
13721
|
export type LaneSummary = io.flow.v0.models.LaneSummary;
|
|
13466
13722
|
export type Language = io.flow.v0.models.Language;
|
|
13467
13723
|
export type LevyComponent = io.flow.v0.enums.LevyComponent;
|
|
13724
|
+
export type LevyInclusion = io.flow.v0.enums.LevyInclusion;
|
|
13468
13725
|
export type LevyStrategy = io.flow.v0.enums.LevyStrategy;
|
|
13469
13726
|
export type Line = io.flow.v0.models.Line;
|
|
13470
13727
|
export type LineItem = io.flow.v0.models.LineItem;
|
|
@@ -13692,7 +13949,10 @@ export type OrganizationStatus = io.flow.v0.enums.OrganizationStatus;
|
|
|
13692
13949
|
export type OrganizationSummary = io.flow.v0.models.OrganizationSummary;
|
|
13693
13950
|
export type OrganizationToken = io.flow.v0.models.OrganizationToken;
|
|
13694
13951
|
export type OrganizationTokenForm = io.flow.v0.models.OrganizationTokenForm;
|
|
13952
|
+
export type OrganizationTokenFormV2 = io.flow.v0.models.OrganizationTokenFormV2;
|
|
13695
13953
|
export type OrganizationTokenReference = io.flow.v0.models.OrganizationTokenReference;
|
|
13954
|
+
export type OrganizationTokenV2 = io.flow.v0.models.OrganizationTokenV2;
|
|
13955
|
+
export type OrganizationTokenV2Reference = io.flow.v0.models.OrganizationTokenV2Reference;
|
|
13696
13956
|
export type OrganizationUpserted = io.flow.v0.models.OrganizationUpserted;
|
|
13697
13957
|
export type OrganizationUpsertedV2 = io.flow.v0.models.OrganizationUpsertedV2;
|
|
13698
13958
|
export type OrganizationVersion = io.flow.v0.models.OrganizationVersion;
|
|
@@ -14113,6 +14373,9 @@ export type ShopifySyncCheck = io.flow.v0.enums.ShopifySyncCheck;
|
|
|
14113
14373
|
export type ShopifySyncStatus = io.flow.v0.models.ShopifySyncStatus;
|
|
14114
14374
|
export type ShopifyVariantFlowMetafield = io.flow.v0.models.ShopifyVariantFlowMetafield;
|
|
14115
14375
|
export type ShopifyVariantInventoryMetafield = io.flow.v0.models.ShopifyVariantInventoryMetafield;
|
|
14376
|
+
export type ShortId = io.flow.v0.models.ShortId;
|
|
14377
|
+
export type ShortIdSource = io.flow.v0.models.ShortIdSource;
|
|
14378
|
+
export type ShortIdSourceKey = io.flow.v0.enums.ShortIdSourceKey;
|
|
14116
14379
|
export type SimplePermissionCheck = io.flow.v0.models.SimplePermissionCheck;
|
|
14117
14380
|
export type SinglePackageShippingNotificationForm = io.flow.v0.models.SinglePackageShippingNotificationForm;
|
|
14118
14381
|
export type SnapshotDeleted = io.flow.v0.models.SnapshotDeleted;
|
|
@@ -14121,6 +14384,7 @@ export type SolidusProductExportType = io.flow.v0.models.SolidusProductExportTyp
|
|
|
14121
14384
|
export type SolidusVariantExportType = io.flow.v0.models.SolidusVariantExportType;
|
|
14122
14385
|
export type SortDirection = io.flow.v0.enums.SortDirection;
|
|
14123
14386
|
export type Strategy = io.flow.v0.enums.Strategy;
|
|
14387
|
+
export type StreetAddress = io.flow.v0.models.StreetAddress;
|
|
14124
14388
|
export type StripeAuthenticationData = io.flow.v0.models.StripeAuthenticationData;
|
|
14125
14389
|
export type StripeAuthenticationDataForm = io.flow.v0.models.StripeAuthenticationDataForm;
|
|
14126
14390
|
export type StripeAuthorizationResultActionDetails = io.flow.v0.models.StripeAuthorizationResultActionDetails;
|
|
@@ -14161,6 +14425,18 @@ export type SyncStreamType = io.flow.v0.enums.SyncStreamType;
|
|
|
14161
14425
|
export type SyncUnitOfTime = io.flow.v0.enums.SyncUnitOfTime;
|
|
14162
14426
|
export type Tax = io.flow.v0.models.Tax;
|
|
14163
14427
|
export type TaxApplicability = io.flow.v0.enums.TaxApplicability;
|
|
14428
|
+
export type TaxDutyCalculatorValidationError = io.flow.v0.models.TaxDutyCalculatorValidationError;
|
|
14429
|
+
export type TaxDutyCalculatorValidationErrorCode = io.flow.v0.enums.TaxDutyCalculatorValidationErrorCode;
|
|
14430
|
+
export type TaxDutyQuote = io.flow.v0.models.TaxDutyQuote;
|
|
14431
|
+
export type TaxDutyQuoteFeeValue = io.flow.v0.models.TaxDutyQuoteFeeValue;
|
|
14432
|
+
export type TaxDutyQuoteForm = io.flow.v0.models.TaxDutyQuoteForm;
|
|
14433
|
+
export type TaxDutyQuoteLevyValue = io.flow.v0.unions.TaxDutyQuoteLevyValue;
|
|
14434
|
+
export type TaxDutyQuoteLineItem = io.flow.v0.models.TaxDutyQuoteLineItem;
|
|
14435
|
+
export type TaxDutyQuoteLineItemForm = io.flow.v0.models.TaxDutyQuoteLineItemForm;
|
|
14436
|
+
export type TaxDutyQuoteSimpleLevyValue = io.flow.v0.models.TaxDutyQuoteSimpleLevyValue;
|
|
14437
|
+
export type TaxDutyQuoteSimpleShipping = io.flow.v0.models.TaxDutyQuoteSimpleShipping;
|
|
14438
|
+
export type TaxDutyQuoteSimpleShippingForm = io.flow.v0.models.TaxDutyQuoteSimpleShippingForm;
|
|
14439
|
+
export type TaxDutyQuoteValues = io.flow.v0.models.TaxDutyQuoteValues;
|
|
14164
14440
|
export type TaxRegistration = io.flow.v0.models.TaxRegistration;
|
|
14165
14441
|
export type TaxRegistrationForm = io.flow.v0.models.TaxRegistrationForm;
|
|
14166
14442
|
export type TaxReport = io.flow.v0.models.TaxReport;
|
|
@@ -14264,4 +14540,5 @@ export type WebhookResponse = io.flow.v0.models.WebhookResponse;
|
|
|
14264
14540
|
export type WebhookSettings = io.flow.v0.models.WebhookSettings;
|
|
14265
14541
|
export type WebhookStatus = io.flow.v0.enums.WebhookStatus;
|
|
14266
14542
|
export type ZeroAmountIndicator = io.flow.v0.enums.ZeroAmountIndicator;
|
|
14543
|
+
export type ZeroLevyReasonCode = io.flow.v0.enums.ZeroLevyReasonCode;
|
|
14267
14544
|
export type Zone = io.flow.v0.models.Zone;
|