@flowio/types 9.1.0 → 9.1.2
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 +31 -29
- package/dist/api.d.ts +831 -6
- package/package.json +2 -2
- package/src/api-internal.ts +33 -38
- 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.2",
|
|
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": "dcac36c3412c16e8732d9c1c53d041c30fefedcc"
|
|
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'
|
|
@@ -13126,7 +13124,6 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
13126
13124
|
| 'flow_sandbox'
|
|
13127
13125
|
| 'fiserv'
|
|
13128
13126
|
| 'crypto';
|
|
13129
|
-
type ProductClassificationAction = 'ACCEPT' | 'MANUAL';
|
|
13130
13127
|
type PromptAction = 'prompt_displayed' | 'consent_granted' | 'consent_denied';
|
|
13131
13128
|
type PromptCheckoutDisplayPosition = 'email' | 'submission';
|
|
13132
13129
|
type PromptOptions = 'notice_only' | 'require_consent' | 'consent_by_default';
|
|
@@ -13142,6 +13139,7 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
13142
13139
|
type ResponsibleParty = 'flow' | 'organization';
|
|
13143
13140
|
type RiskCheck = 'three_d_secure';
|
|
13144
13141
|
type RiskEvaluation = 'pending' | 'high' | 'low' | 'restricted' | 'none';
|
|
13142
|
+
type Scope = 'organization' | 'global';
|
|
13145
13143
|
type SerialReservationError =
|
|
13146
13144
|
| 'duration_too_long'
|
|
13147
13145
|
| 'items_not_found'
|
|
@@ -15042,6 +15040,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
15042
15040
|
readonly key: string;
|
|
15043
15041
|
readonly name: string;
|
|
15044
15042
|
readonly status: io.flow.internal.v0.enums.Status;
|
|
15043
|
+
readonly scope: io.flow.internal.v0.enums.Scope;
|
|
15045
15044
|
readonly started_at?: string;
|
|
15046
15045
|
readonly ended_at?: string;
|
|
15047
15046
|
readonly variants: io.flow.internal.v0.models.FeatureVariant[];
|
|
@@ -15464,18 +15463,12 @@ declare namespace io.flow.internal.v0.models {
|
|
|
15464
15463
|
readonly codes: io.flow.internal.v0.models.HarmonizationStatisticsBreakout;
|
|
15465
15464
|
}
|
|
15466
15465
|
|
|
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';
|
|
15466
|
+
interface HarmonizeFullyRequestV2 {
|
|
15467
|
+
readonly discriminator: 'harmonize_fully_request_v2';
|
|
15476
15468
|
readonly event_id: string;
|
|
15477
15469
|
readonly timestamp: string;
|
|
15478
|
-
readonly
|
|
15470
|
+
readonly organization: string;
|
|
15471
|
+
readonly item_number: string;
|
|
15479
15472
|
}
|
|
15480
15473
|
|
|
15481
15474
|
interface HarmonizedItemsHs6Export {
|
|
@@ -15754,22 +15747,6 @@ declare namespace io.flow.internal.v0.models {
|
|
|
15754
15747
|
readonly duty_composition_rate: number;
|
|
15755
15748
|
}
|
|
15756
15749
|
|
|
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
15750
|
interface ItemLink {
|
|
15774
15751
|
readonly incoming_field_name: io.flow.internal.v0.enums.IncomingFieldName;
|
|
15775
15752
|
readonly flow_field_name: io.flow.internal.v0.enums.FlowFieldName;
|
|
@@ -16422,6 +16399,19 @@ declare namespace io.flow.internal.v0.models {
|
|
|
16422
16399
|
readonly country: string;
|
|
16423
16400
|
}
|
|
16424
16401
|
|
|
16402
|
+
interface MarketingGatewayGoogleItem {
|
|
16403
|
+
readonly discriminator: 'marketing_gateway_google_item';
|
|
16404
|
+
readonly id: string;
|
|
16405
|
+
readonly title?: string;
|
|
16406
|
+
readonly image_link?: string;
|
|
16407
|
+
readonly brand?: string;
|
|
16408
|
+
readonly google_product_category?: string;
|
|
16409
|
+
readonly link?: string;
|
|
16410
|
+
readonly price?: string;
|
|
16411
|
+
readonly sale_price?: string;
|
|
16412
|
+
readonly shipping_price?: string;
|
|
16413
|
+
}
|
|
16414
|
+
|
|
16425
16415
|
interface MarketingGatewayGoogleMarket {
|
|
16426
16416
|
readonly discriminator: 'marketing_gateway_google_market';
|
|
16427
16417
|
readonly id: string;
|
|
@@ -16598,6 +16588,11 @@ declare namespace io.flow.internal.v0.models {
|
|
|
16598
16588
|
readonly additional_image_urls?: string[];
|
|
16599
16589
|
}
|
|
16600
16590
|
|
|
16591
|
+
interface MarketingGatewayLocalizedItem {
|
|
16592
|
+
readonly source: io.flow.internal.v0.unions.MarketingGatewayItem;
|
|
16593
|
+
readonly localized: io.flow.internal.v0.unions.MarketingGatewayItem;
|
|
16594
|
+
}
|
|
16595
|
+
|
|
16601
16596
|
interface MarketingGatewayProductResult {
|
|
16602
16597
|
readonly base_product: io.flow.internal.v0.unions.MarketingGatewayProduct;
|
|
16603
16598
|
readonly configured_product?: io.flow.internal.v0.unions.MarketingGatewayProduct;
|
|
@@ -17305,9 +17300,9 @@ declare namespace io.flow.internal.v0.models {
|
|
|
17305
17300
|
}
|
|
17306
17301
|
|
|
17307
17302
|
interface ProductClassificationForm {
|
|
17303
|
+
readonly initial_customs_description?: string;
|
|
17308
17304
|
readonly product_harmonization: io.flow.internal.v0.models.ProductHarmonization;
|
|
17309
17305
|
readonly model_version: string;
|
|
17310
|
-
readonly action: io.flow.internal.v0.enums.ProductClassificationAction;
|
|
17311
17306
|
}
|
|
17312
17307
|
|
|
17313
17308
|
interface ProductClassificationJudgementForm {
|
|
@@ -18672,9 +18667,7 @@ declare namespace io.flow.internal.v0.unions {
|
|
|
18672
18667
|
| io.flow.internal.v0.models.HarmonizationCodesImport
|
|
18673
18668
|
| io.flow.internal.v0.models.CustomsDescriptionSugestionCreated
|
|
18674
18669
|
| 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
|
|
18670
|
+
| io.flow.internal.v0.models.HarmonizeFullyRequestV2
|
|
18678
18671
|
| io.flow.internal.v0.models.ImportCompleted
|
|
18679
18672
|
| io.flow.internal.v0.models.ImportFailed
|
|
18680
18673
|
| io.flow.internal.v0.models.IssuerUpserted
|
|
@@ -18811,6 +18804,7 @@ declare namespace io.flow.internal.v0.unions {
|
|
|
18811
18804
|
| io.flow.internal.v0.models.MarketingGatewayGoogleSeveritySuggestion
|
|
18812
18805
|
| io.flow.internal.v0.models.MarketingGatewayGoogleSeverityError
|
|
18813
18806
|
| io.flow.internal.v0.models.MarketingGatewayGoogleSeverityCritical;
|
|
18807
|
+
type MarketingGatewayItem = io.flow.internal.v0.models.MarketingGatewayGoogleItem;
|
|
18814
18808
|
type MarketingGatewayPlatformMarket = io.flow.internal.v0.models.MarketingGatewayGoogleMarket;
|
|
18815
18809
|
type MarketingGatewayProduct = io.flow.internal.v0.models.MarketingGatewayGoogleProduct;
|
|
18816
18810
|
type MarketingGatewaySourceSummary =
|
|
@@ -19253,8 +19247,7 @@ export type HarmonizationPhraseSuggestionRequestImport = io.flow.internal.v0.mod
|
|
|
19253
19247
|
export type HarmonizationStatistics = io.flow.internal.v0.models.HarmonizationStatistics;
|
|
19254
19248
|
export type HarmonizationStatisticsBreakout = io.flow.internal.v0.models.HarmonizationStatisticsBreakout;
|
|
19255
19249
|
export type HarmonizationSummary = io.flow.internal.v0.models.HarmonizationSummary;
|
|
19256
|
-
export type
|
|
19257
|
-
export type HarmonizeFullyWithRate = io.flow.internal.v0.models.HarmonizeFullyWithRate;
|
|
19250
|
+
export type HarmonizeFullyRequestV2 = io.flow.internal.v0.models.HarmonizeFullyRequestV2;
|
|
19258
19251
|
export type HarmonizedItemsHs6Export = io.flow.internal.v0.models.HarmonizedItemsHs6Export;
|
|
19259
19252
|
export type Href = io.flow.internal.v0.models.Href;
|
|
19260
19253
|
export type HttpMethod = io.flow.internal.v0.enums.HttpMethod;
|
|
@@ -19301,7 +19294,6 @@ export type ItemFilterValuesForm = io.flow.internal.v0.models.ItemFilterValuesFo
|
|
|
19301
19294
|
export type ItemFormImportRequest = io.flow.internal.v0.models.ItemFormImportRequest;
|
|
19302
19295
|
export type ItemHarmonization = io.flow.internal.v0.models.ItemHarmonization;
|
|
19303
19296
|
export type ItemHarmonizationSummary = io.flow.internal.v0.models.ItemHarmonizationSummary;
|
|
19304
|
-
export type ItemHarmonized = io.flow.internal.v0.models.ItemHarmonized;
|
|
19305
19297
|
export type ItemLink = io.flow.internal.v0.models.ItemLink;
|
|
19306
19298
|
export type ItemQuantityAction = io.flow.internal.v0.enums.ItemQuantityAction;
|
|
19307
19299
|
export type ItemQueryResponse = io.flow.internal.v0.models.ItemQueryResponse;
|
|
@@ -19406,6 +19398,7 @@ export type MarketingGatewayGoogleFeedStatistics = io.flow.internal.v0.models.Ma
|
|
|
19406
19398
|
export type MarketingGatewayGoogleIssueScope = io.flow.internal.v0.unions.MarketingGatewayGoogleIssueScope;
|
|
19407
19399
|
export type MarketingGatewayGoogleIssueScopeAccount = io.flow.internal.v0.models.MarketingGatewayGoogleIssueScopeAccount;
|
|
19408
19400
|
export type MarketingGatewayGoogleIssueScopeCountry = io.flow.internal.v0.models.MarketingGatewayGoogleIssueScopeCountry;
|
|
19401
|
+
export type MarketingGatewayGoogleItem = io.flow.internal.v0.models.MarketingGatewayGoogleItem;
|
|
19409
19402
|
export type MarketingGatewayGoogleMarket = io.flow.internal.v0.models.MarketingGatewayGoogleMarket;
|
|
19410
19403
|
export type MarketingGatewayGooglePrice = io.flow.internal.v0.models.MarketingGatewayGooglePrice;
|
|
19411
19404
|
export type MarketingGatewayGoogleProduct = io.flow.internal.v0.models.MarketingGatewayGoogleProduct;
|
|
@@ -19432,6 +19425,8 @@ export type MarketingGatewayGoogleSeverityError = io.flow.internal.v0.models.Mar
|
|
|
19432
19425
|
export type MarketingGatewayGoogleSeveritySuggestion = io.flow.internal.v0.models.MarketingGatewayGoogleSeveritySuggestion;
|
|
19433
19426
|
export type MarketingGatewayGoogleSourceSummary = io.flow.internal.v0.models.MarketingGatewayGoogleSourceSummary;
|
|
19434
19427
|
export type MarketingGatewayImageLinks = io.flow.internal.v0.models.MarketingGatewayImageLinks;
|
|
19428
|
+
export type MarketingGatewayItem = io.flow.internal.v0.unions.MarketingGatewayItem;
|
|
19429
|
+
export type MarketingGatewayLocalizedItem = io.flow.internal.v0.models.MarketingGatewayLocalizedItem;
|
|
19435
19430
|
export type MarketingGatewayPlatform = io.flow.internal.v0.enums.MarketingGatewayPlatform;
|
|
19436
19431
|
export type MarketingGatewayPlatformMarket = io.flow.internal.v0.unions.MarketingGatewayPlatformMarket;
|
|
19437
19432
|
export type MarketingGatewayProduct = io.flow.internal.v0.unions.MarketingGatewayProduct;
|
|
@@ -19548,7 +19543,6 @@ export type ProcessingTransactionType = io.flow.internal.v0.enums.ProcessingTran
|
|
|
19548
19543
|
export type ProcessingTransactionUpserted = io.flow.internal.v0.models.ProcessingTransactionUpserted;
|
|
19549
19544
|
export type Processor = io.flow.internal.v0.enums.Processor;
|
|
19550
19545
|
export type ProductClassification = io.flow.internal.v0.models.ProductClassification;
|
|
19551
|
-
export type ProductClassificationAction = io.flow.internal.v0.enums.ProductClassificationAction;
|
|
19552
19546
|
export type ProductClassificationForm = io.flow.internal.v0.models.ProductClassificationForm;
|
|
19553
19547
|
export type ProductClassificationJudgementForm = io.flow.internal.v0.models.ProductClassificationJudgementForm;
|
|
19554
19548
|
export type ProductClassificationResult = io.flow.internal.v0.models.ProductClassificationResult;
|
|
@@ -19594,6 +19588,7 @@ export type ResyncFallbackRates = io.flow.internal.v0.models.ResyncFallbackRates
|
|
|
19594
19588
|
export type ReturnSummary = io.flow.internal.v0.models.ReturnSummary;
|
|
19595
19589
|
export type RiskCheck = io.flow.internal.v0.enums.RiskCheck;
|
|
19596
19590
|
export type RiskEvaluation = io.flow.internal.v0.enums.RiskEvaluation;
|
|
19591
|
+
export type Scope = io.flow.internal.v0.enums.Scope;
|
|
19597
19592
|
export type Screen = io.flow.internal.v0.models.Screen;
|
|
19598
19593
|
export type ScreenForm = io.flow.internal.v0.models.ScreenForm;
|
|
19599
19594
|
export type SearchCustomerSummary = io.flow.internal.v0.models.SearchCustomerSummary;
|