@flowio/types 9.0.2 → 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 +36 -27
- package/dist/api.d.ts +831 -6
- package/package.json +2 -2
- package/src/api-internal.ts +39 -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.
|
|
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[];
|
|
@@ -15416,6 +15416,11 @@ declare namespace io.flow.internal.v0.models {
|
|
|
15416
15416
|
readonly created_by_email: string;
|
|
15417
15417
|
}
|
|
15418
15418
|
|
|
15419
|
+
interface GoogleTagManager {
|
|
15420
|
+
readonly discriminator: 'google_tag_manager';
|
|
15421
|
+
readonly tracker_id: string;
|
|
15422
|
+
}
|
|
15423
|
+
|
|
15419
15424
|
interface HarmonizationCodesImport {
|
|
15420
15425
|
readonly discriminator: 'harmonization_codes_import';
|
|
15421
15426
|
readonly event_id: string;
|
|
@@ -15459,18 +15464,12 @@ declare namespace io.flow.internal.v0.models {
|
|
|
15459
15464
|
readonly codes: io.flow.internal.v0.models.HarmonizationStatisticsBreakout;
|
|
15460
15465
|
}
|
|
15461
15466
|
|
|
15462
|
-
interface
|
|
15463
|
-
readonly discriminator: '
|
|
15464
|
-
readonly event_id: string;
|
|
15465
|
-
readonly timestamp: string;
|
|
15466
|
-
readonly item_id: string;
|
|
15467
|
-
}
|
|
15468
|
-
|
|
15469
|
-
interface HarmonizeFullyWithRate {
|
|
15470
|
-
readonly discriminator: 'harmonize_fully_with_rate';
|
|
15467
|
+
interface HarmonizeFullyRequestV2 {
|
|
15468
|
+
readonly discriminator: 'harmonize_fully_request_v2';
|
|
15471
15469
|
readonly event_id: string;
|
|
15472
15470
|
readonly timestamp: string;
|
|
15473
|
-
readonly
|
|
15471
|
+
readonly organization: string;
|
|
15472
|
+
readonly item_number: string;
|
|
15474
15473
|
}
|
|
15475
15474
|
|
|
15476
15475
|
interface HarmonizedItemsHs6Export {
|
|
@@ -15749,22 +15748,6 @@ declare namespace io.flow.internal.v0.models {
|
|
|
15749
15748
|
readonly duty_composition_rate: number;
|
|
15750
15749
|
}
|
|
15751
15750
|
|
|
15752
|
-
interface ItemHarmonized {
|
|
15753
|
-
readonly discriminator: 'item_harmonized';
|
|
15754
|
-
readonly event_id: string;
|
|
15755
|
-
readonly timestamp: string;
|
|
15756
|
-
readonly organization: string;
|
|
15757
|
-
readonly item_number: string;
|
|
15758
|
-
readonly product_id: string;
|
|
15759
|
-
readonly customs_description: string;
|
|
15760
|
-
readonly countries_of_origin: string[];
|
|
15761
|
-
readonly hs_6: string;
|
|
15762
|
-
readonly tariffs: Record<
|
|
15763
|
-
string,
|
|
15764
|
-
io.flow.harmonization.internal.v0.models.TariffCodeDuty
|
|
15765
|
-
>;
|
|
15766
|
-
}
|
|
15767
|
-
|
|
15768
15751
|
interface ItemLink {
|
|
15769
15752
|
readonly incoming_field_name: io.flow.internal.v0.enums.IncomingFieldName;
|
|
15770
15753
|
readonly flow_field_name: io.flow.internal.v0.enums.FlowFieldName;
|
|
@@ -16417,6 +16400,19 @@ declare namespace io.flow.internal.v0.models {
|
|
|
16417
16400
|
readonly country: string;
|
|
16418
16401
|
}
|
|
16419
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
|
+
|
|
16420
16416
|
interface MarketingGatewayGoogleMarket {
|
|
16421
16417
|
readonly discriminator: 'marketing_gateway_google_market';
|
|
16422
16418
|
readonly id: string;
|
|
@@ -16593,6 +16589,11 @@ declare namespace io.flow.internal.v0.models {
|
|
|
16593
16589
|
readonly additional_image_urls?: string[];
|
|
16594
16590
|
}
|
|
16595
16591
|
|
|
16592
|
+
interface MarketingGatewayLocalizedItem {
|
|
16593
|
+
readonly source: io.flow.internal.v0.unions.MarketingGatewayItem;
|
|
16594
|
+
readonly localized: io.flow.internal.v0.unions.MarketingGatewayItem;
|
|
16595
|
+
}
|
|
16596
|
+
|
|
16596
16597
|
interface MarketingGatewayProductResult {
|
|
16597
16598
|
readonly base_product: io.flow.internal.v0.unions.MarketingGatewayProduct;
|
|
16598
16599
|
readonly configured_product?: io.flow.internal.v0.unions.MarketingGatewayProduct;
|
|
@@ -18667,9 +18668,7 @@ declare namespace io.flow.internal.v0.unions {
|
|
|
18667
18668
|
| io.flow.internal.v0.models.HarmonizationCodesImport
|
|
18668
18669
|
| io.flow.internal.v0.models.CustomsDescriptionSugestionCreated
|
|
18669
18670
|
| io.flow.internal.v0.models.ItemClassificationCreated
|
|
18670
|
-
| io.flow.internal.v0.models.
|
|
18671
|
-
| io.flow.internal.v0.models.ItemHarmonized
|
|
18672
|
-
| io.flow.internal.v0.models.HarmonizeFullyRequest
|
|
18671
|
+
| io.flow.internal.v0.models.HarmonizeFullyRequestV2
|
|
18673
18672
|
| io.flow.internal.v0.models.ImportCompleted
|
|
18674
18673
|
| io.flow.internal.v0.models.ImportFailed
|
|
18675
18674
|
| io.flow.internal.v0.models.IssuerUpserted
|
|
@@ -18806,6 +18805,7 @@ declare namespace io.flow.internal.v0.unions {
|
|
|
18806
18805
|
| io.flow.internal.v0.models.MarketingGatewayGoogleSeveritySuggestion
|
|
18807
18806
|
| io.flow.internal.v0.models.MarketingGatewayGoogleSeverityError
|
|
18808
18807
|
| io.flow.internal.v0.models.MarketingGatewayGoogleSeverityCritical;
|
|
18808
|
+
type MarketingGatewayItem = io.flow.internal.v0.models.MarketingGatewayGoogleItem;
|
|
18809
18809
|
type MarketingGatewayPlatformMarket = io.flow.internal.v0.models.MarketingGatewayGoogleMarket;
|
|
18810
18810
|
type MarketingGatewayProduct = io.flow.internal.v0.models.MarketingGatewayGoogleProduct;
|
|
18811
18811
|
type MarketingGatewaySourceSummary =
|
|
@@ -18843,6 +18843,7 @@ declare namespace io.flow.internal.v0.unions {
|
|
|
18843
18843
|
type Tracker =
|
|
18844
18844
|
| io.flow.internal.v0.models.GoogleAnalytics
|
|
18845
18845
|
| io.flow.internal.v0.models.GoogleGlobalSiteTag
|
|
18846
|
+
| io.flow.internal.v0.models.GoogleTagManager
|
|
18846
18847
|
| io.flow.internal.v0.models.FacebookPixel
|
|
18847
18848
|
| io.flow.internal.v0.models.SnapchatPixel;
|
|
18848
18849
|
type Transaction =
|
|
@@ -19240,14 +19241,14 @@ export type GoogleAnalyticsPlugin = io.flow.internal.v0.enums.GoogleAnalyticsPlu
|
|
|
19240
19241
|
export type GoogleGlobalSiteTag = io.flow.internal.v0.models.GoogleGlobalSiteTag;
|
|
19241
19242
|
export type GoogleShoppingAccountParameters = io.flow.internal.v0.models.GoogleShoppingAccountParameters;
|
|
19242
19243
|
export type GoogleShoppingSetting = io.flow.internal.v0.models.GoogleShoppingSetting;
|
|
19244
|
+
export type GoogleTagManager = io.flow.internal.v0.models.GoogleTagManager;
|
|
19243
19245
|
export type HarmonizationCodesImport = io.flow.internal.v0.models.HarmonizationCodesImport;
|
|
19244
19246
|
export type HarmonizationCountries = io.flow.internal.v0.models.HarmonizationCountries;
|
|
19245
19247
|
export type HarmonizationPhraseSuggestionRequestImport = io.flow.internal.v0.models.HarmonizationPhraseSuggestionRequestImport;
|
|
19246
19248
|
export type HarmonizationStatistics = io.flow.internal.v0.models.HarmonizationStatistics;
|
|
19247
19249
|
export type HarmonizationStatisticsBreakout = io.flow.internal.v0.models.HarmonizationStatisticsBreakout;
|
|
19248
19250
|
export type HarmonizationSummary = io.flow.internal.v0.models.HarmonizationSummary;
|
|
19249
|
-
export type
|
|
19250
|
-
export type HarmonizeFullyWithRate = io.flow.internal.v0.models.HarmonizeFullyWithRate;
|
|
19251
|
+
export type HarmonizeFullyRequestV2 = io.flow.internal.v0.models.HarmonizeFullyRequestV2;
|
|
19251
19252
|
export type HarmonizedItemsHs6Export = io.flow.internal.v0.models.HarmonizedItemsHs6Export;
|
|
19252
19253
|
export type Href = io.flow.internal.v0.models.Href;
|
|
19253
19254
|
export type HttpMethod = io.flow.internal.v0.enums.HttpMethod;
|
|
@@ -19294,7 +19295,6 @@ export type ItemFilterValuesForm = io.flow.internal.v0.models.ItemFilterValuesFo
|
|
|
19294
19295
|
export type ItemFormImportRequest = io.flow.internal.v0.models.ItemFormImportRequest;
|
|
19295
19296
|
export type ItemHarmonization = io.flow.internal.v0.models.ItemHarmonization;
|
|
19296
19297
|
export type ItemHarmonizationSummary = io.flow.internal.v0.models.ItemHarmonizationSummary;
|
|
19297
|
-
export type ItemHarmonized = io.flow.internal.v0.models.ItemHarmonized;
|
|
19298
19298
|
export type ItemLink = io.flow.internal.v0.models.ItemLink;
|
|
19299
19299
|
export type ItemQuantityAction = io.flow.internal.v0.enums.ItemQuantityAction;
|
|
19300
19300
|
export type ItemQueryResponse = io.flow.internal.v0.models.ItemQueryResponse;
|
|
@@ -19399,6 +19399,7 @@ export type MarketingGatewayGoogleFeedStatistics = io.flow.internal.v0.models.Ma
|
|
|
19399
19399
|
export type MarketingGatewayGoogleIssueScope = io.flow.internal.v0.unions.MarketingGatewayGoogleIssueScope;
|
|
19400
19400
|
export type MarketingGatewayGoogleIssueScopeAccount = io.flow.internal.v0.models.MarketingGatewayGoogleIssueScopeAccount;
|
|
19401
19401
|
export type MarketingGatewayGoogleIssueScopeCountry = io.flow.internal.v0.models.MarketingGatewayGoogleIssueScopeCountry;
|
|
19402
|
+
export type MarketingGatewayGoogleItem = io.flow.internal.v0.models.MarketingGatewayGoogleItem;
|
|
19402
19403
|
export type MarketingGatewayGoogleMarket = io.flow.internal.v0.models.MarketingGatewayGoogleMarket;
|
|
19403
19404
|
export type MarketingGatewayGooglePrice = io.flow.internal.v0.models.MarketingGatewayGooglePrice;
|
|
19404
19405
|
export type MarketingGatewayGoogleProduct = io.flow.internal.v0.models.MarketingGatewayGoogleProduct;
|
|
@@ -19425,6 +19426,8 @@ export type MarketingGatewayGoogleSeverityError = io.flow.internal.v0.models.Mar
|
|
|
19425
19426
|
export type MarketingGatewayGoogleSeveritySuggestion = io.flow.internal.v0.models.MarketingGatewayGoogleSeveritySuggestion;
|
|
19426
19427
|
export type MarketingGatewayGoogleSourceSummary = io.flow.internal.v0.models.MarketingGatewayGoogleSourceSummary;
|
|
19427
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;
|
|
19428
19431
|
export type MarketingGatewayPlatform = io.flow.internal.v0.enums.MarketingGatewayPlatform;
|
|
19429
19432
|
export type MarketingGatewayPlatformMarket = io.flow.internal.v0.unions.MarketingGatewayPlatformMarket;
|
|
19430
19433
|
export type MarketingGatewayProduct = io.flow.internal.v0.unions.MarketingGatewayProduct;
|
|
@@ -19587,6 +19590,7 @@ export type ResyncFallbackRates = io.flow.internal.v0.models.ResyncFallbackRates
|
|
|
19587
19590
|
export type ReturnSummary = io.flow.internal.v0.models.ReturnSummary;
|
|
19588
19591
|
export type RiskCheck = io.flow.internal.v0.enums.RiskCheck;
|
|
19589
19592
|
export type RiskEvaluation = io.flow.internal.v0.enums.RiskEvaluation;
|
|
19593
|
+
export type Scope = io.flow.internal.v0.enums.Scope;
|
|
19590
19594
|
export type Screen = io.flow.internal.v0.models.Screen;
|
|
19591
19595
|
export type ScreenForm = io.flow.internal.v0.models.ScreenForm;
|
|
19592
19596
|
export type SearchCustomerSummary = io.flow.internal.v0.models.SearchCustomerSummary;
|