@flowio/types 11.21.0 → 11.21.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 +12 -0
- package/dist/api.d.ts +3 -1
- package/package.json +2 -2
- package/src/api-internal.ts +13 -0
- package/src/api.ts +4 -1
package/dist/api-internal.d.ts
CHANGED
|
@@ -2818,6 +2818,7 @@ declare namespace io.flow.payment.v0.models {
|
|
|
2818
2818
|
readonly payment_state?: string;
|
|
2819
2819
|
readonly payer_email?: string;
|
|
2820
2820
|
readonly payer_status?: string;
|
|
2821
|
+
readonly approval_url?: string;
|
|
2821
2822
|
}
|
|
2822
2823
|
interface PaypalAuthorizationForm {
|
|
2823
2824
|
readonly discriminator: 'paypal_authorization_form';
|
|
@@ -12849,6 +12850,16 @@ declare namespace io.flow.internal.v0.models {
|
|
|
12849
12850
|
readonly classification: string;
|
|
12850
12851
|
readonly classification_model_id: string;
|
|
12851
12852
|
}
|
|
12853
|
+
interface ClassifiedProductDetail {
|
|
12854
|
+
readonly product_id: string;
|
|
12855
|
+
readonly description?: string;
|
|
12856
|
+
readonly items: io.flow.common.v0.models.CatalogItemSummary[];
|
|
12857
|
+
readonly images: io.flow.catalog.v0.models.Image[];
|
|
12858
|
+
readonly categories: string[];
|
|
12859
|
+
readonly product_harmonization: io.flow.internal.v0.models.ClassificationProductHarmonization;
|
|
12860
|
+
readonly status: io.flow.internal.v0.enums.ItemClassificationStatus;
|
|
12861
|
+
readonly classified_by: string;
|
|
12862
|
+
}
|
|
12852
12863
|
interface Compliance {
|
|
12853
12864
|
readonly id: string;
|
|
12854
12865
|
readonly destination: string;
|
|
@@ -19297,6 +19308,7 @@ export declare type ClassificationStatistics = io.flow.internal.v0.models.Classi
|
|
|
19297
19308
|
export declare type ClassificationTaxonomy = io.flow.internal.v0.unions.ClassificationTaxonomy;
|
|
19298
19309
|
export declare type ClassificationWrapper = io.flow.internal.v0.models.ClassificationWrapper;
|
|
19299
19310
|
export declare type ClassifiedProduct = io.flow.internal.v0.models.ClassifiedProduct;
|
|
19311
|
+
export declare type ClassifiedProductDetail = io.flow.internal.v0.models.ClassifiedProductDetail;
|
|
19300
19312
|
export declare type Compliance = io.flow.internal.v0.models.Compliance;
|
|
19301
19313
|
export declare type ComplianceData = io.flow.internal.v0.unions.ComplianceData;
|
|
19302
19314
|
export declare type ComplianceForm = io.flow.internal.v0.unions.ComplianceForm;
|
package/dist/api.d.ts
CHANGED
|
@@ -2378,7 +2378,7 @@ declare namespace io.flow.v0.enums {
|
|
|
2378
2378
|
type SyncStreamType = 'submitted_order' | 'placed_order';
|
|
2379
2379
|
type SyncUnitOfTime = 'day' | 'hour' | 'minute' | 'second';
|
|
2380
2380
|
type TaxApplicability = 'none' | 'all';
|
|
2381
|
-
type TaxDutyCalculatorValidationErrorCode = 'generic_error' | 'destination_country_not_defined' | 'destination_address_iso3166_unrecognized' | 'line_item_shipfrom_shipto_country_invalid' | 'line_item_ship_from_invalid' | 'line_item_currency_iso4217_unrecognized' | 'line_quantity_invalid' | 'line_item_quantity_invalid' | 'line_item_unit_price_precision_invalid' | 'line_item_unit_price_negative' | 'line_item_discount_amount_precision_invalid' | 'line_item_discount_amount_positive' | 'line_item_country_of_origin_iso3166_unrecognized' | 'line_item_hs_code_invalid' | 'line_item_duty_provider_invalid' | 'shipping_unit_price_precision_invalid' | 'shipping_unit_price_negative' | 'shipping_discount_amount_precision_invalid' | 'shipping_discount_amount_invalid' | 'merchant_of_record_invalid';
|
|
2381
|
+
type TaxDutyCalculatorValidationErrorCode = 'generic_error' | 'destination_country_not_defined' | 'destination_address_iso3166_unrecognized' | 'line_item_shipfrom_shipto_country_invalid' | 'line_item_ship_from_invalid' | 'line_item_currency_iso4217_unrecognized' | 'line_quantity_invalid' | 'line_item_quantity_invalid' | 'line_item_unit_price_precision_invalid' | 'line_item_unit_price_negative' | 'line_item_discount_amount_precision_invalid' | 'line_item_discount_amount_positive' | 'line_item_country_of_origin_iso3166_unrecognized' | 'line_item_hs_code_invalid' | 'line_item_duty_provider_invalid' | 'shipping_unit_price_precision_invalid' | 'shipping_unit_price_negative' | 'shipping_discount_amount_precision_invalid' | 'shipping_discount_amount_invalid' | 'merchant_of_record_invalid' | 'wrong_unit_specified';
|
|
2382
2382
|
type TaxReportType = 'consumer' | 'b2b';
|
|
2383
2383
|
type TaxVerificationResult = 'valid' | 'invalid' | 'unable_to_validate';
|
|
2384
2384
|
type TaxabilityType = 'tax_rule';
|
|
@@ -7569,6 +7569,7 @@ declare namespace io.flow.v0.models {
|
|
|
7569
7569
|
readonly payment_state?: string;
|
|
7570
7570
|
readonly payer_email?: string;
|
|
7571
7571
|
readonly payer_status?: string;
|
|
7572
|
+
readonly approval_url?: string;
|
|
7572
7573
|
}
|
|
7573
7574
|
interface PaypalAuthorizationForm {
|
|
7574
7575
|
readonly discriminator: 'paypal_authorization_form';
|
|
@@ -9514,6 +9515,7 @@ declare namespace io.flow.v0.models {
|
|
|
9514
9515
|
readonly ship_from: io.flow.v0.models.StreetAddress;
|
|
9515
9516
|
readonly quantity: number;
|
|
9516
9517
|
readonly unit_price: number;
|
|
9518
|
+
readonly unit_weight?: io.flow.v0.models.Measurement;
|
|
9517
9519
|
readonly country_of_origin: string;
|
|
9518
9520
|
readonly hs_code: string;
|
|
9519
9521
|
readonly includes: io.flow.v0.enums.LevyInclusion[];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flowio/types",
|
|
3
|
-
"version": "11.21.
|
|
3
|
+
"version": "11.21.1",
|
|
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": "260e93a00c56eaf0b2fd0e8d7ed4b0073c435eab"
|
|
29
29
|
}
|
package/src/api-internal.ts
CHANGED
|
@@ -3572,6 +3572,7 @@ declare namespace io.flow.payment.v0.models {
|
|
|
3572
3572
|
readonly payment_state?: string;
|
|
3573
3573
|
readonly payer_email?: string;
|
|
3574
3574
|
readonly payer_status?: string;
|
|
3575
|
+
readonly approval_url?: string;
|
|
3575
3576
|
}
|
|
3576
3577
|
|
|
3577
3578
|
interface PaypalAuthorizationForm {
|
|
@@ -17024,6 +17025,17 @@ declare namespace io.flow.internal.v0.models {
|
|
|
17024
17025
|
readonly classification_model_id: string;
|
|
17025
17026
|
}
|
|
17026
17027
|
|
|
17028
|
+
interface ClassifiedProductDetail {
|
|
17029
|
+
readonly product_id: string;
|
|
17030
|
+
readonly description?: string;
|
|
17031
|
+
readonly items: io.flow.common.v0.models.CatalogItemSummary[];
|
|
17032
|
+
readonly images: io.flow.catalog.v0.models.Image[];
|
|
17033
|
+
readonly categories: string[];
|
|
17034
|
+
readonly product_harmonization: io.flow.internal.v0.models.ClassificationProductHarmonization;
|
|
17035
|
+
readonly status: io.flow.internal.v0.enums.ItemClassificationStatus;
|
|
17036
|
+
readonly classified_by: string;
|
|
17037
|
+
}
|
|
17038
|
+
|
|
17027
17039
|
interface Compliance {
|
|
17028
17040
|
readonly id: string;
|
|
17029
17041
|
readonly destination: string;
|
|
@@ -25012,6 +25024,7 @@ export type ClassificationStatistics = io.flow.internal.v0.models.Classification
|
|
|
25012
25024
|
export type ClassificationTaxonomy = io.flow.internal.v0.unions.ClassificationTaxonomy;
|
|
25013
25025
|
export type ClassificationWrapper = io.flow.internal.v0.models.ClassificationWrapper;
|
|
25014
25026
|
export type ClassifiedProduct = io.flow.internal.v0.models.ClassifiedProduct;
|
|
25027
|
+
export type ClassifiedProductDetail = io.flow.internal.v0.models.ClassifiedProductDetail;
|
|
25015
25028
|
export type Compliance = io.flow.internal.v0.models.Compliance;
|
|
25016
25029
|
export type ComplianceData = io.flow.internal.v0.unions.ComplianceData;
|
|
25017
25030
|
export type ComplianceForm = io.flow.internal.v0.unions.ComplianceForm;
|
package/src/api.ts
CHANGED
|
@@ -3639,7 +3639,8 @@ declare namespace io.flow.v0.enums {
|
|
|
3639
3639
|
| 'shipping_unit_price_negative'
|
|
3640
3640
|
| 'shipping_discount_amount_precision_invalid'
|
|
3641
3641
|
| 'shipping_discount_amount_invalid'
|
|
3642
|
-
| 'merchant_of_record_invalid'
|
|
3642
|
+
| 'merchant_of_record_invalid'
|
|
3643
|
+
| 'wrong_unit_specified';
|
|
3643
3644
|
type TaxReportType = 'consumer' | 'b2b';
|
|
3644
3645
|
type TaxVerificationResult = 'valid' | 'invalid' | 'unable_to_validate';
|
|
3645
3646
|
type TaxabilityType = 'tax_rule';
|
|
@@ -9715,6 +9716,7 @@ declare namespace io.flow.v0.models {
|
|
|
9715
9716
|
readonly payment_state?: string;
|
|
9716
9717
|
readonly payer_email?: string;
|
|
9717
9718
|
readonly payer_status?: string;
|
|
9719
|
+
readonly approval_url?: string;
|
|
9718
9720
|
}
|
|
9719
9721
|
|
|
9720
9722
|
interface PaypalAuthorizationForm {
|
|
@@ -11975,6 +11977,7 @@ declare namespace io.flow.v0.models {
|
|
|
11975
11977
|
readonly ship_from: io.flow.v0.models.StreetAddress;
|
|
11976
11978
|
readonly quantity: number;
|
|
11977
11979
|
readonly unit_price: number;
|
|
11980
|
+
readonly unit_weight?: io.flow.v0.models.Measurement;
|
|
11978
11981
|
readonly country_of_origin: string;
|
|
11979
11982
|
readonly hs_code: string;
|
|
11980
11983
|
readonly includes: io.flow.v0.enums.LevyInclusion[];
|