@flowio/types 11.24.23 → 11.24.24
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 +10 -3
- package/dist/api.d.ts +10 -2
- package/package.json +2 -2
- package/src/api-internal.ts +13 -3
- package/src/api.ts +11 -2
package/dist/api-internal.d.ts
CHANGED
|
@@ -2995,7 +2995,7 @@ declare namespace io.flow.label.v0.models {
|
|
|
2995
2995
|
readonly cost: io.flow.common.v0.models.Money;
|
|
2996
2996
|
}
|
|
2997
2997
|
interface ShippingLabelLaneSummary {
|
|
2998
|
-
readonly id
|
|
2998
|
+
readonly id?: string;
|
|
2999
2999
|
readonly ratecard: io.flow.label.v0.models.ShippingLabelRatecardSummary;
|
|
3000
3000
|
}
|
|
3001
3001
|
interface ShippingLabelPackage {
|
|
@@ -3004,7 +3004,7 @@ declare namespace io.flow.label.v0.models {
|
|
|
3004
3004
|
readonly reference_number?: string;
|
|
3005
3005
|
}
|
|
3006
3006
|
interface ShippingLabelRatecardSummary {
|
|
3007
|
-
readonly id
|
|
3007
|
+
readonly id?: string;
|
|
3008
3008
|
readonly ratecard_owner: io.flow.fulfillment.v0.enums.RatecardOwner;
|
|
3009
3009
|
}
|
|
3010
3010
|
interface ShippingLabelSummary {
|
|
@@ -7884,6 +7884,10 @@ declare namespace io.flow.merchant.onboarding.v0.enums {
|
|
|
7884
7884
|
type RegionType = 'state' | 'province' | 'jurisdiction';
|
|
7885
7885
|
}
|
|
7886
7886
|
declare namespace io.flow.merchant.onboarding.v0.models {
|
|
7887
|
+
interface IndirectTax {
|
|
7888
|
+
readonly number?: string;
|
|
7889
|
+
readonly id?: string;
|
|
7890
|
+
}
|
|
7887
7891
|
interface MerchantInfo {
|
|
7888
7892
|
readonly legal_name?: string;
|
|
7889
7893
|
readonly country: string;
|
|
@@ -7938,6 +7942,7 @@ declare namespace io.flow.merchant.onboarding.v0.models {
|
|
|
7938
7942
|
readonly status: io.flow.merchant.onboarding.v0.enums.OnboardingApplicationStatus;
|
|
7939
7943
|
readonly company?: io.flow.merchant.onboarding.v0.models.MerchantInfo;
|
|
7940
7944
|
readonly indirect_tax_number?: string;
|
|
7945
|
+
readonly indirect_tax?: io.flow.merchant.onboarding.v0.models.IndirectTax;
|
|
7941
7946
|
readonly parent_company?: io.flow.merchant.onboarding.v0.models.MerchantInfo;
|
|
7942
7947
|
readonly beneficiary?: string;
|
|
7943
7948
|
readonly ultimate_beneficiary_owner?: io.flow.merchant.onboarding.v0.models.UltimateBeneficiaryOwner;
|
|
@@ -7960,11 +7965,13 @@ declare namespace io.flow.merchant.onboarding.v0.models {
|
|
|
7960
7965
|
readonly rate_card: string;
|
|
7961
7966
|
readonly created_at: string;
|
|
7962
7967
|
readonly activated_at?: string;
|
|
7968
|
+
readonly status_updated_at?: string;
|
|
7963
7969
|
}
|
|
7964
7970
|
interface ShopifyMerchantApplicationForm {
|
|
7965
7971
|
readonly discriminator: 'shopify_merchant_application_form';
|
|
7966
7972
|
readonly company?: io.flow.merchant.onboarding.v0.models.MerchantInfo;
|
|
7967
7973
|
readonly indirect_tax_number?: string;
|
|
7974
|
+
readonly indirect_tax?: io.flow.merchant.onboarding.v0.models.IndirectTax;
|
|
7968
7975
|
readonly parent_company?: io.flow.merchant.onboarding.v0.models.MerchantInfo;
|
|
7969
7976
|
readonly beneficiary?: string;
|
|
7970
7977
|
readonly ultimate_beneficiary_owner?: io.flow.merchant.onboarding.v0.models.UltimateBeneficiaryOwner;
|
|
@@ -10021,7 +10028,7 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
10021
10028
|
type NoLiabilityReasonCode = 'zero_basis' | 'zero_rate_on_goods' | 'zero_rate_on_sale' | 'goods_above_value_threshold' | 'goods_below_value_threshold' | 'order_below_de_minimis_threshold' | 'amount_below_de_minimis_threshold' | 'delivered_unpaid' | 'duty_free_domestic' | 'duty_free_intra_community' | 'duty_free_by_trade_agreement';
|
|
10022
10029
|
type OnboardingAuditMessageLevel = 'info' | 'warning' | 'error';
|
|
10023
10030
|
type OnboardingAuditResult = 'pass' | 'warning' | 'fail';
|
|
10024
|
-
type OnboardingAuditThemeKey = 'billing' | 'catalog' | 'checkout' | 'fraud' | 'logistics' | 'payments' | 'shopify_markets' | 'integration_partner';
|
|
10031
|
+
type OnboardingAuditThemeKey = 'billing' | 'catalog' | 'checkout' | 'fraud' | 'logistics' | 'payments' | 'shopify_markets' | 'integration_partner' | 'dtce' | 'miscellaneous';
|
|
10025
10032
|
type OrderAction = 'consumer_submit' | 'fraud_review_accept' | 'fraud_review_decline' | 'payment_fully_authorize' | 'payment_fully_capture';
|
|
10026
10033
|
type OrderAttributeIntent = 'discount_code';
|
|
10027
10034
|
type OrderChargeTrigger = 'first_shipment' | 'last_shipment' | 'shipment_exhausted';
|
package/dist/api.d.ts
CHANGED
|
@@ -4902,6 +4902,10 @@ declare namespace io.flow.v0.models {
|
|
|
4902
4902
|
readonly key: io.flow.v0.enums.IncludedLevyKey;
|
|
4903
4903
|
readonly label: string;
|
|
4904
4904
|
}
|
|
4905
|
+
interface IndirectTax {
|
|
4906
|
+
readonly number?: string;
|
|
4907
|
+
readonly id?: string;
|
|
4908
|
+
}
|
|
4905
4909
|
interface InlineAuthorizationDetails {
|
|
4906
4910
|
readonly discriminator: 'inline_authorization_details';
|
|
4907
4911
|
readonly id: string;
|
|
@@ -8589,7 +8593,7 @@ declare namespace io.flow.v0.models {
|
|
|
8589
8593
|
readonly cost: io.flow.v0.models.Money;
|
|
8590
8594
|
}
|
|
8591
8595
|
interface ShippingLabelLaneSummary {
|
|
8592
|
-
readonly id
|
|
8596
|
+
readonly id?: string;
|
|
8593
8597
|
readonly ratecard: io.flow.v0.models.ShippingLabelRatecardSummary;
|
|
8594
8598
|
}
|
|
8595
8599
|
interface ShippingLabelPackage {
|
|
@@ -8598,7 +8602,7 @@ declare namespace io.flow.v0.models {
|
|
|
8598
8602
|
readonly reference_number?: string;
|
|
8599
8603
|
}
|
|
8600
8604
|
interface ShippingLabelRatecardSummary {
|
|
8601
|
-
readonly id
|
|
8605
|
+
readonly id?: string;
|
|
8602
8606
|
readonly ratecard_owner: io.flow.v0.enums.RatecardOwner;
|
|
8603
8607
|
}
|
|
8604
8608
|
interface ShippingLabelSummary {
|
|
@@ -8852,6 +8856,7 @@ declare namespace io.flow.v0.models {
|
|
|
8852
8856
|
readonly status: io.flow.v0.enums.OnboardingApplicationStatus;
|
|
8853
8857
|
readonly company?: io.flow.v0.models.MerchantInfo;
|
|
8854
8858
|
readonly indirect_tax_number?: string;
|
|
8859
|
+
readonly indirect_tax?: io.flow.v0.models.IndirectTax;
|
|
8855
8860
|
readonly parent_company?: io.flow.v0.models.MerchantInfo;
|
|
8856
8861
|
readonly beneficiary?: string;
|
|
8857
8862
|
readonly ultimate_beneficiary_owner?: io.flow.v0.models.UltimateBeneficiaryOwner;
|
|
@@ -8874,11 +8879,13 @@ declare namespace io.flow.v0.models {
|
|
|
8874
8879
|
readonly rate_card: string;
|
|
8875
8880
|
readonly created_at: string;
|
|
8876
8881
|
readonly activated_at?: string;
|
|
8882
|
+
readonly status_updated_at?: string;
|
|
8877
8883
|
}
|
|
8878
8884
|
interface ShopifyMerchantApplicationForm {
|
|
8879
8885
|
readonly discriminator: 'shopify_merchant_application_form';
|
|
8880
8886
|
readonly company?: io.flow.v0.models.MerchantInfo;
|
|
8881
8887
|
readonly indirect_tax_number?: string;
|
|
8888
|
+
readonly indirect_tax?: io.flow.v0.models.IndirectTax;
|
|
8882
8889
|
readonly parent_company?: io.flow.v0.models.MerchantInfo;
|
|
8883
8890
|
readonly beneficiary?: string;
|
|
8884
8891
|
readonly ultimate_beneficiary_owner?: io.flow.v0.models.UltimateBeneficiaryOwner;
|
|
@@ -10564,6 +10571,7 @@ export declare type InboundCartonFee = io.flow.v0.models.InboundCartonFee;
|
|
|
10564
10571
|
export declare type IncludedLevies = io.flow.v0.models.IncludedLevies;
|
|
10565
10572
|
export declare type IncludedLevyKey = io.flow.v0.enums.IncludedLevyKey;
|
|
10566
10573
|
export declare type Incoterm = io.flow.v0.enums.Incoterm;
|
|
10574
|
+
export declare type IndirectTax = io.flow.v0.models.IndirectTax;
|
|
10567
10575
|
export declare type InlineActionConfiguration = io.flow.v0.unions.InlineActionConfiguration;
|
|
10568
10576
|
export declare type InlineAuthorizationDetails = io.flow.v0.models.InlineAuthorizationDetails;
|
|
10569
10577
|
export declare type InlineAuthorizationForm = io.flow.v0.models.InlineAuthorizationForm;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flowio/types",
|
|
3
|
-
"version": "11.24.
|
|
3
|
+
"version": "11.24.24",
|
|
4
4
|
"description": "TypeScript type definitions for custom types found in Flow API",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -25,5 +25,5 @@
|
|
|
25
25
|
"maintainers": [
|
|
26
26
|
"Christian Muñoz <christian.munoz@flow.io>"
|
|
27
27
|
],
|
|
28
|
-
"gitHead": "
|
|
28
|
+
"gitHead": "3b1786ed7a3f6ea82a5b7d21dcb9ef26797762d9"
|
|
29
29
|
}
|
package/src/api-internal.ts
CHANGED
|
@@ -3889,7 +3889,7 @@ declare namespace io.flow.label.v0.models {
|
|
|
3889
3889
|
}
|
|
3890
3890
|
|
|
3891
3891
|
interface ShippingLabelLaneSummary {
|
|
3892
|
-
readonly id
|
|
3892
|
+
readonly id?: string;
|
|
3893
3893
|
readonly ratecard: io.flow.label.v0.models.ShippingLabelRatecardSummary;
|
|
3894
3894
|
}
|
|
3895
3895
|
|
|
@@ -3900,7 +3900,7 @@ declare namespace io.flow.label.v0.models {
|
|
|
3900
3900
|
}
|
|
3901
3901
|
|
|
3902
3902
|
interface ShippingLabelRatecardSummary {
|
|
3903
|
-
readonly id
|
|
3903
|
+
readonly id?: string;
|
|
3904
3904
|
readonly ratecard_owner: io.flow.fulfillment.v0.enums.RatecardOwner;
|
|
3905
3905
|
}
|
|
3906
3906
|
|
|
@@ -10387,6 +10387,11 @@ declare namespace io.flow.merchant.onboarding.v0.enums {
|
|
|
10387
10387
|
}
|
|
10388
10388
|
|
|
10389
10389
|
declare namespace io.flow.merchant.onboarding.v0.models {
|
|
10390
|
+
interface IndirectTax {
|
|
10391
|
+
readonly number?: string;
|
|
10392
|
+
readonly id?: string;
|
|
10393
|
+
}
|
|
10394
|
+
|
|
10390
10395
|
interface MerchantInfo {
|
|
10391
10396
|
readonly legal_name?: string;
|
|
10392
10397
|
readonly country: string;
|
|
@@ -10450,6 +10455,7 @@ declare namespace io.flow.merchant.onboarding.v0.models {
|
|
|
10450
10455
|
readonly status: io.flow.merchant.onboarding.v0.enums.OnboardingApplicationStatus;
|
|
10451
10456
|
readonly company?: io.flow.merchant.onboarding.v0.models.MerchantInfo;
|
|
10452
10457
|
readonly indirect_tax_number?: string;
|
|
10458
|
+
readonly indirect_tax?: io.flow.merchant.onboarding.v0.models.IndirectTax;
|
|
10453
10459
|
readonly parent_company?: io.flow.merchant.onboarding.v0.models.MerchantInfo;
|
|
10454
10460
|
readonly beneficiary?: string;
|
|
10455
10461
|
readonly ultimate_beneficiary_owner?: io.flow.merchant.onboarding.v0.models.UltimateBeneficiaryOwner;
|
|
@@ -10472,12 +10478,14 @@ declare namespace io.flow.merchant.onboarding.v0.models {
|
|
|
10472
10478
|
readonly rate_card: string;
|
|
10473
10479
|
readonly created_at: string;
|
|
10474
10480
|
readonly activated_at?: string;
|
|
10481
|
+
readonly status_updated_at?: string;
|
|
10475
10482
|
}
|
|
10476
10483
|
|
|
10477
10484
|
interface ShopifyMerchantApplicationForm {
|
|
10478
10485
|
readonly discriminator: 'shopify_merchant_application_form';
|
|
10479
10486
|
readonly company?: io.flow.merchant.onboarding.v0.models.MerchantInfo;
|
|
10480
10487
|
readonly indirect_tax_number?: string;
|
|
10488
|
+
readonly indirect_tax?: io.flow.merchant.onboarding.v0.models.IndirectTax;
|
|
10481
10489
|
readonly parent_company?: io.flow.merchant.onboarding.v0.models.MerchantInfo;
|
|
10482
10490
|
readonly beneficiary?: string;
|
|
10483
10491
|
readonly ultimate_beneficiary_owner?: io.flow.merchant.onboarding.v0.models.UltimateBeneficiaryOwner;
|
|
@@ -13679,7 +13687,9 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
13679
13687
|
| 'logistics'
|
|
13680
13688
|
| 'payments'
|
|
13681
13689
|
| 'shopify_markets'
|
|
13682
|
-
| 'integration_partner'
|
|
13690
|
+
| 'integration_partner'
|
|
13691
|
+
| 'dtce'
|
|
13692
|
+
| 'miscellaneous';
|
|
13683
13693
|
type OrderAction =
|
|
13684
13694
|
| 'consumer_submit'
|
|
13685
13695
|
| 'fraud_review_accept'
|
package/src/api.ts
CHANGED
|
@@ -6583,6 +6583,11 @@ declare namespace io.flow.v0.models {
|
|
|
6583
6583
|
readonly label: string;
|
|
6584
6584
|
}
|
|
6585
6585
|
|
|
6586
|
+
interface IndirectTax {
|
|
6587
|
+
readonly number?: string;
|
|
6588
|
+
readonly id?: string;
|
|
6589
|
+
}
|
|
6590
|
+
|
|
6586
6591
|
interface InlineAuthorizationDetails {
|
|
6587
6592
|
readonly discriminator: 'inline_authorization_details';
|
|
6588
6593
|
readonly id: string;
|
|
@@ -10880,7 +10885,7 @@ declare namespace io.flow.v0.models {
|
|
|
10880
10885
|
}
|
|
10881
10886
|
|
|
10882
10887
|
interface ShippingLabelLaneSummary {
|
|
10883
|
-
readonly id
|
|
10888
|
+
readonly id?: string;
|
|
10884
10889
|
readonly ratecard: io.flow.v0.models.ShippingLabelRatecardSummary;
|
|
10885
10890
|
}
|
|
10886
10891
|
|
|
@@ -10891,7 +10896,7 @@ declare namespace io.flow.v0.models {
|
|
|
10891
10896
|
}
|
|
10892
10897
|
|
|
10893
10898
|
interface ShippingLabelRatecardSummary {
|
|
10894
|
-
readonly id
|
|
10899
|
+
readonly id?: string;
|
|
10895
10900
|
readonly ratecard_owner: io.flow.v0.enums.RatecardOwner;
|
|
10896
10901
|
}
|
|
10897
10902
|
|
|
@@ -11183,6 +11188,7 @@ declare namespace io.flow.v0.models {
|
|
|
11183
11188
|
readonly status: io.flow.v0.enums.OnboardingApplicationStatus;
|
|
11184
11189
|
readonly company?: io.flow.v0.models.MerchantInfo;
|
|
11185
11190
|
readonly indirect_tax_number?: string;
|
|
11191
|
+
readonly indirect_tax?: io.flow.v0.models.IndirectTax;
|
|
11186
11192
|
readonly parent_company?: io.flow.v0.models.MerchantInfo;
|
|
11187
11193
|
readonly beneficiary?: string;
|
|
11188
11194
|
readonly ultimate_beneficiary_owner?: io.flow.v0.models.UltimateBeneficiaryOwner;
|
|
@@ -11205,12 +11211,14 @@ declare namespace io.flow.v0.models {
|
|
|
11205
11211
|
readonly rate_card: string;
|
|
11206
11212
|
readonly created_at: string;
|
|
11207
11213
|
readonly activated_at?: string;
|
|
11214
|
+
readonly status_updated_at?: string;
|
|
11208
11215
|
}
|
|
11209
11216
|
|
|
11210
11217
|
interface ShopifyMerchantApplicationForm {
|
|
11211
11218
|
readonly discriminator: 'shopify_merchant_application_form';
|
|
11212
11219
|
readonly company?: io.flow.v0.models.MerchantInfo;
|
|
11213
11220
|
readonly indirect_tax_number?: string;
|
|
11221
|
+
readonly indirect_tax?: io.flow.v0.models.IndirectTax;
|
|
11214
11222
|
readonly parent_company?: io.flow.v0.models.MerchantInfo;
|
|
11215
11223
|
readonly beneficiary?: string;
|
|
11216
11224
|
readonly ultimate_beneficiary_owner?: io.flow.v0.models.UltimateBeneficiaryOwner;
|
|
@@ -13654,6 +13662,7 @@ export type InboundCartonFee = io.flow.v0.models.InboundCartonFee;
|
|
|
13654
13662
|
export type IncludedLevies = io.flow.v0.models.IncludedLevies;
|
|
13655
13663
|
export type IncludedLevyKey = io.flow.v0.enums.IncludedLevyKey;
|
|
13656
13664
|
export type Incoterm = io.flow.v0.enums.Incoterm;
|
|
13665
|
+
export type IndirectTax = io.flow.v0.models.IndirectTax;
|
|
13657
13666
|
export type InlineActionConfiguration =
|
|
13658
13667
|
io.flow.v0.unions.InlineActionConfiguration;
|
|
13659
13668
|
export type InlineAuthorizationDetails =
|