@flowio/types 11.24.116 → 11.24.117
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 +48 -46
- package/dist/api.d.ts +5199 -3208
- package/package.json +2 -2
- package/src/api-internal.ts +61 -56
- package/src/api.ts +6294 -3781
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flowio/types",
|
|
3
|
-
"version": "11.24.
|
|
3
|
+
"version": "11.24.117",
|
|
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": "190ae7774967db79faaab1c6f4ea63dd48a75358"
|
|
29
29
|
}
|
package/src/api-internal.ts
CHANGED
|
@@ -9305,6 +9305,7 @@ declare namespace io.flow.channel.internal.v0.models {
|
|
|
9305
9305
|
readonly order_created_at?: string;
|
|
9306
9306
|
readonly order_updated_at?: string;
|
|
9307
9307
|
readonly order_edit_summary?: io.flow.channel.internal.v0.models.OrderEditSummary;
|
|
9308
|
+
readonly payment_source?: io.flow.experience.v0.enums.OrderPaymentSourceType;
|
|
9308
9309
|
}
|
|
9309
9310
|
|
|
9310
9311
|
interface ChannelOrderAcceptanceDetails {
|
|
@@ -13965,6 +13966,14 @@ declare namespace io.flow.billing.v0.enums {
|
|
|
13965
13966
|
| 'unfulfilled_amount_greater_than_negative_balance'
|
|
13966
13967
|
| 'account_payment_hold';
|
|
13967
13968
|
type StatementAttachmentType = 'csv';
|
|
13969
|
+
type TaxDutyTransactionReasonCode =
|
|
13970
|
+
| 'order_edit'
|
|
13971
|
+
| 'order_acceptance'
|
|
13972
|
+
| 'mixed_fulfilment_non_lvg'
|
|
13973
|
+
| 'lvg_refund'
|
|
13974
|
+
| 'order_cancellation_above_de_min'
|
|
13975
|
+
| 'wyol_shipment_above_de_min'
|
|
13976
|
+
| 'full_refund_without_shipment';
|
|
13968
13977
|
type TransactionSource =
|
|
13969
13978
|
| 'capture'
|
|
13970
13979
|
| 'refund'
|
|
@@ -14348,9 +14357,15 @@ declare namespace io.flow.billing.v0.models {
|
|
|
14348
14357
|
|
|
14349
14358
|
interface TransactionMetadataShippingLabelCarrier {
|
|
14350
14359
|
readonly id: string;
|
|
14360
|
+
readonly service_id?: string;
|
|
14351
14361
|
readonly tracking_number: string;
|
|
14352
14362
|
}
|
|
14353
14363
|
|
|
14364
|
+
interface TransactionMetadataTaxDuty {
|
|
14365
|
+
readonly discriminator: 'transaction_tax_duty';
|
|
14366
|
+
readonly reason_code: io.flow.billing.v0.enums.TaxDutyTransactionReasonCode;
|
|
14367
|
+
}
|
|
14368
|
+
|
|
14354
14369
|
interface TransactionMetadataTrueup {
|
|
14355
14370
|
readonly discriminator: 'trueup';
|
|
14356
14371
|
readonly original: io.flow.billing.v0.models.TransactionMetadataOriginalTransaction;
|
|
@@ -14464,7 +14479,8 @@ declare namespace io.flow.billing.v0.unions {
|
|
|
14464
14479
|
| io.flow.billing.v0.models.TransactionMetadataCarrierCharge
|
|
14465
14480
|
| io.flow.billing.v0.models.TransactionMetadataManual
|
|
14466
14481
|
| io.flow.billing.v0.models.TransactionMetadataFailedPayout
|
|
14467
|
-
| io.flow.billing.v0.models.TransactionMetadataPaymentTransaction
|
|
14482
|
+
| io.flow.billing.v0.models.TransactionMetadataPaymentTransaction
|
|
14483
|
+
| io.flow.billing.v0.models.TransactionMetadataTaxDuty;
|
|
14468
14484
|
}
|
|
14469
14485
|
|
|
14470
14486
|
declare namespace io.flow.harmonization.v0.enums {
|
|
@@ -15862,7 +15878,8 @@ declare namespace io.flow.sellability.v0.enums {
|
|
|
15862
15878
|
type SellabilityErrorCode =
|
|
15863
15879
|
| 'insufficient_details'
|
|
15864
15880
|
| 'ineligible_category'
|
|
15865
|
-
| 'wait_for_high_fidelity'
|
|
15881
|
+
| 'wait_for_high_fidelity'
|
|
15882
|
+
| 'external_service_unavailable';
|
|
15866
15883
|
type SellabilityRequestStatus = 'commit';
|
|
15867
15884
|
}
|
|
15868
15885
|
|
|
@@ -15883,6 +15900,7 @@ declare namespace io.flow.sellability.v0.models {
|
|
|
15883
15900
|
readonly description: string;
|
|
15884
15901
|
readonly taxonomy_category: io.flow.product.v0.models.ProductTaxonomyCategory;
|
|
15885
15902
|
readonly status?: io.flow.sellability.v0.enums.SellabilityRequestStatus;
|
|
15903
|
+
readonly dry_run?: boolean;
|
|
15886
15904
|
}
|
|
15887
15905
|
|
|
15888
15906
|
interface ProductSellabilityPrice {
|
|
@@ -16737,7 +16755,6 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
16737
16755
|
| 'organization_currency_setting_deleted'
|
|
16738
16756
|
| 'channel_currency_setting_upserted'
|
|
16739
16757
|
| 'channel_currency_setting_deleted'
|
|
16740
|
-
| 'customer_purge_upserted'
|
|
16741
16758
|
| 'customs_description_import'
|
|
16742
16759
|
| 'customs_description_tariffs_import'
|
|
16743
16760
|
| 'dispute_upserted'
|
|
@@ -17345,7 +17362,7 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
17345
17362
|
| 'Low-Risk'
|
|
17346
17363
|
| 'Restricted-Party'
|
|
17347
17364
|
| 'none';
|
|
17348
|
-
type
|
|
17365
|
+
type RohanItemType = 'physical' | 'digital';
|
|
17349
17366
|
type ShopifyCheckInventoryErrorCode = 'inventory_out_of_stock';
|
|
17350
17367
|
type ShopifyGrantStatus = 'pass' | 'fail';
|
|
17351
17368
|
type ShopifyIncotermConfiguration = 'DDP' | 'DAP' | 'DDU' | 'UNSUPPORTED';
|
|
@@ -19341,6 +19358,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
19341
19358
|
readonly order_created_at?: string;
|
|
19342
19359
|
readonly order_updated_at?: string;
|
|
19343
19360
|
readonly order_edit_summary?: io.flow.internal.v0.models.OrderEditSummary;
|
|
19361
|
+
readonly payment_source?: io.flow.experience.v0.enums.OrderPaymentSourceType;
|
|
19344
19362
|
}
|
|
19345
19363
|
|
|
19346
19364
|
interface ChannelOrderAcceptanceDeleted {
|
|
@@ -20196,19 +20214,6 @@ declare namespace io.flow.internal.v0.models {
|
|
|
20196
20214
|
readonly updated_by_user_id: string;
|
|
20197
20215
|
}
|
|
20198
20216
|
|
|
20199
|
-
interface CustomerPurgeUpserted {
|
|
20200
|
-
readonly discriminator: 'customer_purge_upserted';
|
|
20201
|
-
readonly event_id: string;
|
|
20202
|
-
readonly timestamp: string;
|
|
20203
|
-
readonly organization: string;
|
|
20204
|
-
readonly customer: io.flow.customer.v0.models.Customer;
|
|
20205
|
-
}
|
|
20206
|
-
|
|
20207
|
-
interface CustomerSecret {
|
|
20208
|
-
readonly id: string;
|
|
20209
|
-
readonly secret: string;
|
|
20210
|
-
}
|
|
20211
|
-
|
|
20212
20217
|
interface CustomsDescriptionImport {
|
|
20213
20218
|
readonly discriminator: 'customs_description_import';
|
|
20214
20219
|
readonly event_id: string;
|
|
@@ -26446,6 +26451,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
26446
26451
|
readonly id: string;
|
|
26447
26452
|
readonly number: string;
|
|
26448
26453
|
readonly submitted_at: string;
|
|
26454
|
+
readonly payment_source?: string;
|
|
26449
26455
|
}
|
|
26450
26456
|
|
|
26451
26457
|
interface ReportingOrganizationSummary {
|
|
@@ -26635,6 +26641,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
26635
26641
|
readonly priority_score: number;
|
|
26636
26642
|
readonly date: string;
|
|
26637
26643
|
readonly statuses: io.flow.internal.v0.models.RestrictionStatusMetadata[];
|
|
26644
|
+
readonly counts: io.flow.internal.v0.models.RestrictionSummaryCounts;
|
|
26638
26645
|
readonly count: number;
|
|
26639
26646
|
}
|
|
26640
26647
|
|
|
@@ -26730,6 +26737,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
26730
26737
|
readonly value_threshold_usd?: number;
|
|
26731
26738
|
readonly auto_review_criteria?: io.flow.internal.v0.models.AutoReviewCriteria[];
|
|
26732
26739
|
readonly source: io.flow.internal.v0.enums.RestrictionOrganizationSource;
|
|
26740
|
+
readonly sellability_positive_keywords?: string[];
|
|
26733
26741
|
}
|
|
26734
26742
|
|
|
26735
26743
|
interface RestrictionRuleDecisionForm {
|
|
@@ -26784,12 +26792,15 @@ declare namespace io.flow.internal.v0.models {
|
|
|
26784
26792
|
readonly value_threshold_usd?: number;
|
|
26785
26793
|
readonly auto_review_criteria?: io.flow.internal.v0.models.AutoReviewCriteria[];
|
|
26786
26794
|
readonly source?: io.flow.internal.v0.enums.RestrictionOrganizationSource;
|
|
26795
|
+
readonly sellability_positive_keywords?: string[];
|
|
26787
26796
|
}
|
|
26788
26797
|
|
|
26789
|
-
interface
|
|
26790
|
-
readonly
|
|
26791
|
-
readonly
|
|
26792
|
-
readonly
|
|
26798
|
+
interface RestrictionRuleLaneExemption {
|
|
26799
|
+
readonly id: string;
|
|
26800
|
+
readonly rule_id: string;
|
|
26801
|
+
readonly description: string;
|
|
26802
|
+
readonly origin_countries: string[];
|
|
26803
|
+
readonly destination_countries: string[];
|
|
26793
26804
|
}
|
|
26794
26805
|
|
|
26795
26806
|
interface RestrictionRuleOverride {
|
|
@@ -26817,6 +26828,11 @@ declare namespace io.flow.internal.v0.models {
|
|
|
26817
26828
|
readonly count: number;
|
|
26818
26829
|
}
|
|
26819
26830
|
|
|
26831
|
+
interface RestrictionSummaryCounts {
|
|
26832
|
+
readonly pending_restriction_count: number;
|
|
26833
|
+
readonly pending_verification_count: number;
|
|
26834
|
+
}
|
|
26835
|
+
|
|
26820
26836
|
interface RestrictionsDailyops {
|
|
26821
26837
|
readonly id: string;
|
|
26822
26838
|
readonly report_date: string;
|
|
@@ -26981,6 +26997,23 @@ declare namespace io.flow.internal.v0.models {
|
|
|
26981
26997
|
readonly revenue_record: io.flow.internal.v0.models.RevenueRecord;
|
|
26982
26998
|
}
|
|
26983
26999
|
|
|
27000
|
+
interface RohanItem {
|
|
27001
|
+
readonly id: string;
|
|
27002
|
+
readonly number: string;
|
|
27003
|
+
readonly amount: io.flow.common.v0.models.Price;
|
|
27004
|
+
readonly description?: string;
|
|
27005
|
+
readonly type: io.flow.internal.v0.enums.RohanItemType;
|
|
27006
|
+
readonly added_on: string;
|
|
27007
|
+
}
|
|
27008
|
+
|
|
27009
|
+
interface RohanItemForm {
|
|
27010
|
+
readonly number: string;
|
|
27011
|
+
readonly amount: io.flow.common.v0.models.Price;
|
|
27012
|
+
readonly description?: string;
|
|
27013
|
+
readonly type: io.flow.internal.v0.enums.RohanItemType;
|
|
27014
|
+
readonly added_on: string;
|
|
27015
|
+
}
|
|
27016
|
+
|
|
26984
27017
|
interface RoutingAccount {
|
|
26985
27018
|
readonly discriminator: 'routing_account';
|
|
26986
27019
|
readonly processor: io.flow.internal.v0.enums.Processor;
|
|
@@ -27102,19 +27135,6 @@ declare namespace io.flow.internal.v0.models {
|
|
|
27102
27135
|
readonly label: io.flow.internal.v0.models.LabelSummary;
|
|
27103
27136
|
}
|
|
27104
27137
|
|
|
27105
|
-
interface SessionCountries {
|
|
27106
|
-
readonly countries: io.flow.internal.v0.models.SessionCountry[];
|
|
27107
|
-
}
|
|
27108
|
-
|
|
27109
|
-
interface SessionCountry {
|
|
27110
|
-
readonly country: string;
|
|
27111
|
-
readonly status: io.flow.internal.v0.enums.SessionCountryStatus;
|
|
27112
|
-
}
|
|
27113
|
-
|
|
27114
|
-
interface SessionCountryForm {
|
|
27115
|
-
readonly status: io.flow.internal.v0.enums.SessionCountryStatus;
|
|
27116
|
-
}
|
|
27117
|
-
|
|
27118
27138
|
interface SessionOrderData {
|
|
27119
27139
|
readonly id: string;
|
|
27120
27140
|
readonly session: io.flow.common.v0.models.SessionReference;
|
|
@@ -27123,15 +27143,6 @@ declare namespace io.flow.internal.v0.models {
|
|
|
27123
27143
|
readonly destination: io.flow.experience.v0.models.OrderAddress;
|
|
27124
27144
|
}
|
|
27125
27145
|
|
|
27126
|
-
interface SessionRollout {
|
|
27127
|
-
readonly id: string;
|
|
27128
|
-
readonly percent: number;
|
|
27129
|
-
}
|
|
27130
|
-
|
|
27131
|
-
interface SessionRolloutForm {
|
|
27132
|
-
readonly percent: number;
|
|
27133
|
-
}
|
|
27134
|
-
|
|
27135
27146
|
interface SetupBlockPutForm {
|
|
27136
27147
|
readonly reasons: io.flow.organization.onboarding.state.v0.enums.OnboardingBlockedReason[];
|
|
27137
27148
|
}
|
|
@@ -29682,7 +29693,6 @@ declare namespace io.flow.internal.v0.unions {
|
|
|
29682
29693
|
| io.flow.internal.v0.models.OrganizationCurrencySettingDeleted
|
|
29683
29694
|
| io.flow.internal.v0.models.ChannelCurrencySettingUpserted
|
|
29684
29695
|
| io.flow.internal.v0.models.ChannelCurrencySettingDeleted
|
|
29685
|
-
| io.flow.internal.v0.models.CustomerPurgeUpserted
|
|
29686
29696
|
| io.flow.internal.v0.models.CustomsDescriptionImport
|
|
29687
29697
|
| io.flow.internal.v0.models.CustomsDescriptionTariffsImport
|
|
29688
29698
|
| io.flow.internal.v0.models.DisputeUpserted
|
|
@@ -30892,9 +30902,6 @@ export type CryptoAuthenticationForm =
|
|
|
30892
30902
|
export type CsvTransaction = io.flow.internal.v0.models.CsvTransaction;
|
|
30893
30903
|
export type CurrencyInternalRate =
|
|
30894
30904
|
io.flow.internal.v0.models.CurrencyInternalRate;
|
|
30895
|
-
export type CustomerPurgeUpserted =
|
|
30896
|
-
io.flow.internal.v0.models.CustomerPurgeUpserted;
|
|
30897
|
-
export type CustomerSecret = io.flow.internal.v0.models.CustomerSecret;
|
|
30898
30905
|
export type CustomsDescriptionImport =
|
|
30899
30906
|
io.flow.internal.v0.models.CustomsDescriptionImport;
|
|
30900
30907
|
export type CustomsDescriptionStatistics =
|
|
@@ -32547,8 +32554,8 @@ export type RestrictionRuleExceptionAction =
|
|
|
32547
32554
|
io.flow.internal.v0.enums.RestrictionRuleExceptionAction;
|
|
32548
32555
|
export type RestrictionRuleForm =
|
|
32549
32556
|
io.flow.internal.v0.models.RestrictionRuleForm;
|
|
32550
|
-
export type
|
|
32551
|
-
io.flow.internal.v0.models.
|
|
32557
|
+
export type RestrictionRuleLaneExemption =
|
|
32558
|
+
io.flow.internal.v0.models.RestrictionRuleLaneExemption;
|
|
32552
32559
|
export type RestrictionRuleOverride =
|
|
32553
32560
|
io.flow.internal.v0.models.RestrictionRuleOverride;
|
|
32554
32561
|
export type RestrictionRuleSummary =
|
|
@@ -32560,6 +32567,8 @@ export type RestrictionStateReviewStatus =
|
|
|
32560
32567
|
export type RestrictionStatus = io.flow.internal.v0.enums.RestrictionStatus;
|
|
32561
32568
|
export type RestrictionStatusMetadata =
|
|
32562
32569
|
io.flow.internal.v0.models.RestrictionStatusMetadata;
|
|
32570
|
+
export type RestrictionSummaryCounts =
|
|
32571
|
+
io.flow.internal.v0.models.RestrictionSummaryCounts;
|
|
32563
32572
|
export type RestrictionsDailyops =
|
|
32564
32573
|
io.flow.internal.v0.models.RestrictionsDailyops;
|
|
32565
32574
|
export type RestrictionsDailyopsDeleted =
|
|
@@ -32596,6 +32605,9 @@ export type RevenueRecordUpserted =
|
|
|
32596
32605
|
io.flow.internal.v0.models.RevenueRecordUpserted;
|
|
32597
32606
|
export type RiskCheck = io.flow.internal.v0.enums.RiskCheck;
|
|
32598
32607
|
export type RiskEvaluation = io.flow.internal.v0.enums.RiskEvaluation;
|
|
32608
|
+
export type RohanItem = io.flow.internal.v0.models.RohanItem;
|
|
32609
|
+
export type RohanItemForm = io.flow.internal.v0.models.RohanItemForm;
|
|
32610
|
+
export type RohanItemType = io.flow.internal.v0.enums.RohanItemType;
|
|
32599
32611
|
export type RoutingAccount = io.flow.internal.v0.models.RoutingAccount;
|
|
32600
32612
|
export type RoutingEntity = io.flow.internal.v0.unions.RoutingEntity;
|
|
32601
32613
|
export type RoutingMerchant = io.flow.internal.v0.models.RoutingMerchant;
|
|
@@ -32623,14 +32635,7 @@ export type SearchProviderExport =
|
|
|
32623
32635
|
io.flow.internal.v0.models.SearchProviderExport;
|
|
32624
32636
|
export type SearchTrackingSummary =
|
|
32625
32637
|
io.flow.internal.v0.models.SearchTrackingSummary;
|
|
32626
|
-
export type SessionCountries = io.flow.internal.v0.models.SessionCountries;
|
|
32627
|
-
export type SessionCountry = io.flow.internal.v0.models.SessionCountry;
|
|
32628
|
-
export type SessionCountryForm = io.flow.internal.v0.models.SessionCountryForm;
|
|
32629
|
-
export type SessionCountryStatus =
|
|
32630
|
-
io.flow.internal.v0.enums.SessionCountryStatus;
|
|
32631
32638
|
export type SessionOrderData = io.flow.internal.v0.models.SessionOrderData;
|
|
32632
|
-
export type SessionRollout = io.flow.internal.v0.models.SessionRollout;
|
|
32633
|
-
export type SessionRolloutForm = io.flow.internal.v0.models.SessionRolloutForm;
|
|
32634
32639
|
export type SetupBlockPutForm = io.flow.internal.v0.models.SetupBlockPutForm;
|
|
32635
32640
|
export type SfExpress = io.flow.internal.v0.models.SfExpress;
|
|
32636
32641
|
export type ShipmentCostSummary =
|