@flowio/types 9.1.0 → 9.1.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 +30 -26
- package/dist/api.d.ts +831 -6
- package/package.json +2 -2
- package/src/api-internal.ts +32 -35
- package/src/api.ts +1029 -6
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flowio/types",
|
|
3
|
-
"version": "9.1.
|
|
3
|
+
"version": "9.1.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",
|
|
@@ -27,5 +27,5 @@
|
|
|
27
27
|
"prettier": "^1.18.2",
|
|
28
28
|
"typescript": "^3.6.3"
|
|
29
29
|
},
|
|
30
|
-
"gitHead": "
|
|
30
|
+
"gitHead": "a0a371fb88d9267d5b1589694c9f13f42b83d985"
|
|
31
31
|
}
|
package/src/api-internal.ts
CHANGED
|
@@ -12932,9 +12932,7 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
12932
12932
|
| 'harmonization_codes_import'
|
|
12933
12933
|
| 'customs_description_sugestion_created'
|
|
12934
12934
|
| 'item_classification_created'
|
|
12935
|
-
| '
|
|
12936
|
-
| 'item_harmonized'
|
|
12937
|
-
| 'harmonize_fully_request'
|
|
12935
|
+
| 'harmonize_fully_request_v2'
|
|
12938
12936
|
| 'import_completed'
|
|
12939
12937
|
| 'import_failed'
|
|
12940
12938
|
| 'issuer_upserted'
|
|
@@ -13142,6 +13140,7 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
13142
13140
|
type ResponsibleParty = 'flow' | 'organization';
|
|
13143
13141
|
type RiskCheck = 'three_d_secure';
|
|
13144
13142
|
type RiskEvaluation = 'pending' | 'high' | 'low' | 'restricted' | 'none';
|
|
13143
|
+
type Scope = 'organization' | 'global';
|
|
13145
13144
|
type SerialReservationError =
|
|
13146
13145
|
| 'duration_too_long'
|
|
13147
13146
|
| 'items_not_found'
|
|
@@ -15042,6 +15041,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
15042
15041
|
readonly key: string;
|
|
15043
15042
|
readonly name: string;
|
|
15044
15043
|
readonly status: io.flow.internal.v0.enums.Status;
|
|
15044
|
+
readonly scope: io.flow.internal.v0.enums.Scope;
|
|
15045
15045
|
readonly started_at?: string;
|
|
15046
15046
|
readonly ended_at?: string;
|
|
15047
15047
|
readonly variants: io.flow.internal.v0.models.FeatureVariant[];
|
|
@@ -15464,18 +15464,12 @@ declare namespace io.flow.internal.v0.models {
|
|
|
15464
15464
|
readonly codes: io.flow.internal.v0.models.HarmonizationStatisticsBreakout;
|
|
15465
15465
|
}
|
|
15466
15466
|
|
|
15467
|
-
interface
|
|
15468
|
-
readonly discriminator: '
|
|
15469
|
-
readonly event_id: string;
|
|
15470
|
-
readonly timestamp: string;
|
|
15471
|
-
readonly item_id: string;
|
|
15472
|
-
}
|
|
15473
|
-
|
|
15474
|
-
interface HarmonizeFullyWithRate {
|
|
15475
|
-
readonly discriminator: 'harmonize_fully_with_rate';
|
|
15467
|
+
interface HarmonizeFullyRequestV2 {
|
|
15468
|
+
readonly discriminator: 'harmonize_fully_request_v2';
|
|
15476
15469
|
readonly event_id: string;
|
|
15477
15470
|
readonly timestamp: string;
|
|
15478
|
-
readonly
|
|
15471
|
+
readonly organization: string;
|
|
15472
|
+
readonly item_number: string;
|
|
15479
15473
|
}
|
|
15480
15474
|
|
|
15481
15475
|
interface HarmonizedItemsHs6Export {
|
|
@@ -15754,22 +15748,6 @@ declare namespace io.flow.internal.v0.models {
|
|
|
15754
15748
|
readonly duty_composition_rate: number;
|
|
15755
15749
|
}
|
|
15756
15750
|
|
|
15757
|
-
interface ItemHarmonized {
|
|
15758
|
-
readonly discriminator: 'item_harmonized';
|
|
15759
|
-
readonly event_id: string;
|
|
15760
|
-
readonly timestamp: string;
|
|
15761
|
-
readonly organization: string;
|
|
15762
|
-
readonly item_number: string;
|
|
15763
|
-
readonly product_id: string;
|
|
15764
|
-
readonly customs_description: string;
|
|
15765
|
-
readonly countries_of_origin: string[];
|
|
15766
|
-
readonly hs_6: string;
|
|
15767
|
-
readonly tariffs: Record<
|
|
15768
|
-
string,
|
|
15769
|
-
io.flow.harmonization.internal.v0.models.TariffCodeDuty
|
|
15770
|
-
>;
|
|
15771
|
-
}
|
|
15772
|
-
|
|
15773
15751
|
interface ItemLink {
|
|
15774
15752
|
readonly incoming_field_name: io.flow.internal.v0.enums.IncomingFieldName;
|
|
15775
15753
|
readonly flow_field_name: io.flow.internal.v0.enums.FlowFieldName;
|
|
@@ -16422,6 +16400,19 @@ declare namespace io.flow.internal.v0.models {
|
|
|
16422
16400
|
readonly country: string;
|
|
16423
16401
|
}
|
|
16424
16402
|
|
|
16403
|
+
interface MarketingGatewayGoogleItem {
|
|
16404
|
+
readonly discriminator: 'marketing_gateway_google_item';
|
|
16405
|
+
readonly id: string;
|
|
16406
|
+
readonly title?: string;
|
|
16407
|
+
readonly image_link?: string;
|
|
16408
|
+
readonly brand?: string;
|
|
16409
|
+
readonly google_product_category?: string;
|
|
16410
|
+
readonly link?: string;
|
|
16411
|
+
readonly price?: string;
|
|
16412
|
+
readonly sale_price?: string;
|
|
16413
|
+
readonly shipping_price?: string;
|
|
16414
|
+
}
|
|
16415
|
+
|
|
16425
16416
|
interface MarketingGatewayGoogleMarket {
|
|
16426
16417
|
readonly discriminator: 'marketing_gateway_google_market';
|
|
16427
16418
|
readonly id: string;
|
|
@@ -16598,6 +16589,11 @@ declare namespace io.flow.internal.v0.models {
|
|
|
16598
16589
|
readonly additional_image_urls?: string[];
|
|
16599
16590
|
}
|
|
16600
16591
|
|
|
16592
|
+
interface MarketingGatewayLocalizedItem {
|
|
16593
|
+
readonly source: io.flow.internal.v0.unions.MarketingGatewayItem;
|
|
16594
|
+
readonly localized: io.flow.internal.v0.unions.MarketingGatewayItem;
|
|
16595
|
+
}
|
|
16596
|
+
|
|
16601
16597
|
interface MarketingGatewayProductResult {
|
|
16602
16598
|
readonly base_product: io.flow.internal.v0.unions.MarketingGatewayProduct;
|
|
16603
16599
|
readonly configured_product?: io.flow.internal.v0.unions.MarketingGatewayProduct;
|
|
@@ -18672,9 +18668,7 @@ declare namespace io.flow.internal.v0.unions {
|
|
|
18672
18668
|
| io.flow.internal.v0.models.HarmonizationCodesImport
|
|
18673
18669
|
| io.flow.internal.v0.models.CustomsDescriptionSugestionCreated
|
|
18674
18670
|
| io.flow.internal.v0.models.ItemClassificationCreated
|
|
18675
|
-
| io.flow.internal.v0.models.
|
|
18676
|
-
| io.flow.internal.v0.models.ItemHarmonized
|
|
18677
|
-
| io.flow.internal.v0.models.HarmonizeFullyRequest
|
|
18671
|
+
| io.flow.internal.v0.models.HarmonizeFullyRequestV2
|
|
18678
18672
|
| io.flow.internal.v0.models.ImportCompleted
|
|
18679
18673
|
| io.flow.internal.v0.models.ImportFailed
|
|
18680
18674
|
| io.flow.internal.v0.models.IssuerUpserted
|
|
@@ -18811,6 +18805,7 @@ declare namespace io.flow.internal.v0.unions {
|
|
|
18811
18805
|
| io.flow.internal.v0.models.MarketingGatewayGoogleSeveritySuggestion
|
|
18812
18806
|
| io.flow.internal.v0.models.MarketingGatewayGoogleSeverityError
|
|
18813
18807
|
| io.flow.internal.v0.models.MarketingGatewayGoogleSeverityCritical;
|
|
18808
|
+
type MarketingGatewayItem = io.flow.internal.v0.models.MarketingGatewayGoogleItem;
|
|
18814
18809
|
type MarketingGatewayPlatformMarket = io.flow.internal.v0.models.MarketingGatewayGoogleMarket;
|
|
18815
18810
|
type MarketingGatewayProduct = io.flow.internal.v0.models.MarketingGatewayGoogleProduct;
|
|
18816
18811
|
type MarketingGatewaySourceSummary =
|
|
@@ -19253,8 +19248,7 @@ export type HarmonizationPhraseSuggestionRequestImport = io.flow.internal.v0.mod
|
|
|
19253
19248
|
export type HarmonizationStatistics = io.flow.internal.v0.models.HarmonizationStatistics;
|
|
19254
19249
|
export type HarmonizationStatisticsBreakout = io.flow.internal.v0.models.HarmonizationStatisticsBreakout;
|
|
19255
19250
|
export type HarmonizationSummary = io.flow.internal.v0.models.HarmonizationSummary;
|
|
19256
|
-
export type
|
|
19257
|
-
export type HarmonizeFullyWithRate = io.flow.internal.v0.models.HarmonizeFullyWithRate;
|
|
19251
|
+
export type HarmonizeFullyRequestV2 = io.flow.internal.v0.models.HarmonizeFullyRequestV2;
|
|
19258
19252
|
export type HarmonizedItemsHs6Export = io.flow.internal.v0.models.HarmonizedItemsHs6Export;
|
|
19259
19253
|
export type Href = io.flow.internal.v0.models.Href;
|
|
19260
19254
|
export type HttpMethod = io.flow.internal.v0.enums.HttpMethod;
|
|
@@ -19301,7 +19295,6 @@ export type ItemFilterValuesForm = io.flow.internal.v0.models.ItemFilterValuesFo
|
|
|
19301
19295
|
export type ItemFormImportRequest = io.flow.internal.v0.models.ItemFormImportRequest;
|
|
19302
19296
|
export type ItemHarmonization = io.flow.internal.v0.models.ItemHarmonization;
|
|
19303
19297
|
export type ItemHarmonizationSummary = io.flow.internal.v0.models.ItemHarmonizationSummary;
|
|
19304
|
-
export type ItemHarmonized = io.flow.internal.v0.models.ItemHarmonized;
|
|
19305
19298
|
export type ItemLink = io.flow.internal.v0.models.ItemLink;
|
|
19306
19299
|
export type ItemQuantityAction = io.flow.internal.v0.enums.ItemQuantityAction;
|
|
19307
19300
|
export type ItemQueryResponse = io.flow.internal.v0.models.ItemQueryResponse;
|
|
@@ -19406,6 +19399,7 @@ export type MarketingGatewayGoogleFeedStatistics = io.flow.internal.v0.models.Ma
|
|
|
19406
19399
|
export type MarketingGatewayGoogleIssueScope = io.flow.internal.v0.unions.MarketingGatewayGoogleIssueScope;
|
|
19407
19400
|
export type MarketingGatewayGoogleIssueScopeAccount = io.flow.internal.v0.models.MarketingGatewayGoogleIssueScopeAccount;
|
|
19408
19401
|
export type MarketingGatewayGoogleIssueScopeCountry = io.flow.internal.v0.models.MarketingGatewayGoogleIssueScopeCountry;
|
|
19402
|
+
export type MarketingGatewayGoogleItem = io.flow.internal.v0.models.MarketingGatewayGoogleItem;
|
|
19409
19403
|
export type MarketingGatewayGoogleMarket = io.flow.internal.v0.models.MarketingGatewayGoogleMarket;
|
|
19410
19404
|
export type MarketingGatewayGooglePrice = io.flow.internal.v0.models.MarketingGatewayGooglePrice;
|
|
19411
19405
|
export type MarketingGatewayGoogleProduct = io.flow.internal.v0.models.MarketingGatewayGoogleProduct;
|
|
@@ -19432,6 +19426,8 @@ export type MarketingGatewayGoogleSeverityError = io.flow.internal.v0.models.Mar
|
|
|
19432
19426
|
export type MarketingGatewayGoogleSeveritySuggestion = io.flow.internal.v0.models.MarketingGatewayGoogleSeveritySuggestion;
|
|
19433
19427
|
export type MarketingGatewayGoogleSourceSummary = io.flow.internal.v0.models.MarketingGatewayGoogleSourceSummary;
|
|
19434
19428
|
export type MarketingGatewayImageLinks = io.flow.internal.v0.models.MarketingGatewayImageLinks;
|
|
19429
|
+
export type MarketingGatewayItem = io.flow.internal.v0.unions.MarketingGatewayItem;
|
|
19430
|
+
export type MarketingGatewayLocalizedItem = io.flow.internal.v0.models.MarketingGatewayLocalizedItem;
|
|
19435
19431
|
export type MarketingGatewayPlatform = io.flow.internal.v0.enums.MarketingGatewayPlatform;
|
|
19436
19432
|
export type MarketingGatewayPlatformMarket = io.flow.internal.v0.unions.MarketingGatewayPlatformMarket;
|
|
19437
19433
|
export type MarketingGatewayProduct = io.flow.internal.v0.unions.MarketingGatewayProduct;
|
|
@@ -19594,6 +19590,7 @@ export type ResyncFallbackRates = io.flow.internal.v0.models.ResyncFallbackRates
|
|
|
19594
19590
|
export type ReturnSummary = io.flow.internal.v0.models.ReturnSummary;
|
|
19595
19591
|
export type RiskCheck = io.flow.internal.v0.enums.RiskCheck;
|
|
19596
19592
|
export type RiskEvaluation = io.flow.internal.v0.enums.RiskEvaluation;
|
|
19593
|
+
export type Scope = io.flow.internal.v0.enums.Scope;
|
|
19597
19594
|
export type Screen = io.flow.internal.v0.models.Screen;
|
|
19598
19595
|
export type ScreenForm = io.flow.internal.v0.models.ScreenForm;
|
|
19599
19596
|
export type SearchCustomerSummary = io.flow.internal.v0.models.SearchCustomerSummary;
|