@flowio/types 11.24.116 → 11.24.118

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flowio/types",
3
- "version": "11.24.116",
3
+ "version": "11.24.118",
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": "6fade17e2dbfb3e45d3ec2e8c19f9aadd6993746"
28
+ "gitHead": "811085cd356c5e70a8ab69509323e6909a48a92b"
29
29
  }
@@ -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 SessionCountryStatus = 'enabled' | 'disabled';
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 {
@@ -26602,12 +26608,6 @@ declare namespace io.flow.internal.v0.models {
26602
26608
  readonly updated_at: string;
26603
26609
  }
26604
26610
 
26605
- interface RestrictionKeywordMetadata {
26606
- readonly keyword: string;
26607
- readonly type: io.flow.internal.v0.enums.KeywordType;
26608
- readonly count: number;
26609
- }
26610
-
26611
26611
  interface RestrictionKeywords {
26612
26612
  readonly positive_keywords: string[];
26613
26613
  readonly negative_keywords: string[];
@@ -26634,8 +26634,7 @@ declare namespace io.flow.internal.v0.models {
26634
26634
  readonly earliest_pending_date: string;
26635
26635
  readonly priority_score: number;
26636
26636
  readonly date: string;
26637
- readonly statuses: io.flow.internal.v0.models.RestrictionStatusMetadata[];
26638
- readonly count: number;
26637
+ readonly counts: io.flow.internal.v0.models.RestrictionSummaryCounts;
26639
26638
  }
26640
26639
 
26641
26640
  interface RestrictionOrganizationStatus {
@@ -26673,11 +26672,6 @@ declare namespace io.flow.internal.v0.models {
26673
26672
  readonly source: io.flow.internal.v0.enums.OrganizationSource;
26674
26673
  }
26675
26674
 
26676
- interface RestrictionPending {
26677
- readonly rule: io.flow.internal.v0.models.RestrictionRuleSummary;
26678
- readonly count: number;
26679
- }
26680
-
26681
26675
  interface RestrictionProduct {
26682
26676
  readonly id: string;
26683
26677
  readonly organization_id: string;
@@ -26730,6 +26724,7 @@ declare namespace io.flow.internal.v0.models {
26730
26724
  readonly value_threshold_usd?: number;
26731
26725
  readonly auto_review_criteria?: io.flow.internal.v0.models.AutoReviewCriteria[];
26732
26726
  readonly source: io.flow.internal.v0.enums.RestrictionOrganizationSource;
26727
+ readonly sellability_positive_keywords?: string[];
26733
26728
  }
26734
26729
 
26735
26730
  interface RestrictionRuleDecisionForm {
@@ -26784,12 +26779,15 @@ declare namespace io.flow.internal.v0.models {
26784
26779
  readonly value_threshold_usd?: number;
26785
26780
  readonly auto_review_criteria?: io.flow.internal.v0.models.AutoReviewCriteria[];
26786
26781
  readonly source?: io.flow.internal.v0.enums.RestrictionOrganizationSource;
26782
+ readonly sellability_positive_keywords?: string[];
26787
26783
  }
26788
26784
 
26789
- interface RestrictionRuleMetadata {
26790
- readonly rule: io.flow.internal.v0.models.RestrictionRuleSummary;
26791
- readonly statuses: io.flow.internal.v0.models.RestrictionStatusMetadata[];
26792
- readonly count: number;
26785
+ interface RestrictionRuleLaneExemption {
26786
+ readonly id: string;
26787
+ readonly rule_id: string;
26788
+ readonly description: string;
26789
+ readonly origin_countries: string[];
26790
+ readonly destination_countries: string[];
26793
26791
  }
26794
26792
 
26795
26793
  interface RestrictionRuleOverride {
@@ -26812,9 +26810,9 @@ declare namespace io.flow.internal.v0.models {
26812
26810
  readonly restriction_rule: io.flow.internal.v0.models.RestrictionRule;
26813
26811
  }
26814
26812
 
26815
- interface RestrictionStatusMetadata {
26816
- readonly status: io.flow.internal.v0.enums.RestrictionStatus;
26817
- readonly count: number;
26813
+ interface RestrictionSummaryCounts {
26814
+ readonly pending_restriction_count: number;
26815
+ readonly pending_verification_count: number;
26818
26816
  }
26819
26817
 
26820
26818
  interface RestrictionsDailyops {
@@ -26981,6 +26979,23 @@ declare namespace io.flow.internal.v0.models {
26981
26979
  readonly revenue_record: io.flow.internal.v0.models.RevenueRecord;
26982
26980
  }
26983
26981
 
26982
+ interface RohanItem {
26983
+ readonly id: string;
26984
+ readonly number: string;
26985
+ readonly amount: io.flow.common.v0.models.Price;
26986
+ readonly description?: string;
26987
+ readonly type: io.flow.internal.v0.enums.RohanItemType;
26988
+ readonly added_on: string;
26989
+ }
26990
+
26991
+ interface RohanItemForm {
26992
+ readonly number: string;
26993
+ readonly amount: io.flow.common.v0.models.Price;
26994
+ readonly description?: string;
26995
+ readonly type: io.flow.internal.v0.enums.RohanItemType;
26996
+ readonly added_on: string;
26997
+ }
26998
+
26984
26999
  interface RoutingAccount {
26985
27000
  readonly discriminator: 'routing_account';
26986
27001
  readonly processor: io.flow.internal.v0.enums.Processor;
@@ -27102,19 +27117,6 @@ declare namespace io.flow.internal.v0.models {
27102
27117
  readonly label: io.flow.internal.v0.models.LabelSummary;
27103
27118
  }
27104
27119
 
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
27120
  interface SessionOrderData {
27119
27121
  readonly id: string;
27120
27122
  readonly session: io.flow.common.v0.models.SessionReference;
@@ -27123,15 +27125,6 @@ declare namespace io.flow.internal.v0.models {
27123
27125
  readonly destination: io.flow.experience.v0.models.OrderAddress;
27124
27126
  }
27125
27127
 
27126
- interface SessionRollout {
27127
- readonly id: string;
27128
- readonly percent: number;
27129
- }
27130
-
27131
- interface SessionRolloutForm {
27132
- readonly percent: number;
27133
- }
27134
-
27135
27128
  interface SetupBlockPutForm {
27136
27129
  readonly reasons: io.flow.organization.onboarding.state.v0.enums.OnboardingBlockedReason[];
27137
27130
  }
@@ -29682,7 +29675,6 @@ declare namespace io.flow.internal.v0.unions {
29682
29675
  | io.flow.internal.v0.models.OrganizationCurrencySettingDeleted
29683
29676
  | io.flow.internal.v0.models.ChannelCurrencySettingUpserted
29684
29677
  | io.flow.internal.v0.models.ChannelCurrencySettingDeleted
29685
- | io.flow.internal.v0.models.CustomerPurgeUpserted
29686
29678
  | io.flow.internal.v0.models.CustomsDescriptionImport
29687
29679
  | io.flow.internal.v0.models.CustomsDescriptionTariffsImport
29688
29680
  | io.flow.internal.v0.models.DisputeUpserted
@@ -30892,9 +30884,6 @@ export type CryptoAuthenticationForm =
30892
30884
  export type CsvTransaction = io.flow.internal.v0.models.CsvTransaction;
30893
30885
  export type CurrencyInternalRate =
30894
30886
  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
30887
  export type CustomsDescriptionImport =
30899
30888
  io.flow.internal.v0.models.CustomsDescriptionImport;
30900
30889
  export type CustomsDescriptionStatistics =
@@ -32502,8 +32491,6 @@ export type RestrictionItemReviewDecisionForm =
32502
32491
  io.flow.internal.v0.models.RestrictionItemReviewDecisionForm;
32503
32492
  export type RestrictionItemReviewSummary =
32504
32493
  io.flow.internal.v0.models.RestrictionItemReviewSummary;
32505
- export type RestrictionKeywordMetadata =
32506
- io.flow.internal.v0.models.RestrictionKeywordMetadata;
32507
32494
  export type RestrictionKeywords =
32508
32495
  io.flow.internal.v0.models.RestrictionKeywords;
32509
32496
  export type RestrictionOrganization =
@@ -32522,7 +32509,6 @@ export type RestrictionOrganizationStatusUpserted =
32522
32509
  io.flow.internal.v0.models.RestrictionOrganizationStatusUpserted;
32523
32510
  export type RestrictionOrganizationSummary =
32524
32511
  io.flow.internal.v0.models.RestrictionOrganizationSummary;
32525
- export type RestrictionPending = io.flow.internal.v0.models.RestrictionPending;
32526
32512
  export type RestrictionProduct = io.flow.internal.v0.models.RestrictionProduct;
32527
32513
  export type RestrictionProductDecisionForm =
32528
32514
  io.flow.internal.v0.models.RestrictionProductDecisionForm;
@@ -32547,8 +32533,8 @@ export type RestrictionRuleExceptionAction =
32547
32533
  io.flow.internal.v0.enums.RestrictionRuleExceptionAction;
32548
32534
  export type RestrictionRuleForm =
32549
32535
  io.flow.internal.v0.models.RestrictionRuleForm;
32550
- export type RestrictionRuleMetadata =
32551
- io.flow.internal.v0.models.RestrictionRuleMetadata;
32536
+ export type RestrictionRuleLaneExemption =
32537
+ io.flow.internal.v0.models.RestrictionRuleLaneExemption;
32552
32538
  export type RestrictionRuleOverride =
32553
32539
  io.flow.internal.v0.models.RestrictionRuleOverride;
32554
32540
  export type RestrictionRuleSummary =
@@ -32558,8 +32544,8 @@ export type RestrictionRuleUpserted =
32558
32544
  export type RestrictionStateReviewStatus =
32559
32545
  io.flow.internal.v0.enums.RestrictionStateReviewStatus;
32560
32546
  export type RestrictionStatus = io.flow.internal.v0.enums.RestrictionStatus;
32561
- export type RestrictionStatusMetadata =
32562
- io.flow.internal.v0.models.RestrictionStatusMetadata;
32547
+ export type RestrictionSummaryCounts =
32548
+ io.flow.internal.v0.models.RestrictionSummaryCounts;
32563
32549
  export type RestrictionsDailyops =
32564
32550
  io.flow.internal.v0.models.RestrictionsDailyops;
32565
32551
  export type RestrictionsDailyopsDeleted =
@@ -32596,6 +32582,9 @@ export type RevenueRecordUpserted =
32596
32582
  io.flow.internal.v0.models.RevenueRecordUpserted;
32597
32583
  export type RiskCheck = io.flow.internal.v0.enums.RiskCheck;
32598
32584
  export type RiskEvaluation = io.flow.internal.v0.enums.RiskEvaluation;
32585
+ export type RohanItem = io.flow.internal.v0.models.RohanItem;
32586
+ export type RohanItemForm = io.flow.internal.v0.models.RohanItemForm;
32587
+ export type RohanItemType = io.flow.internal.v0.enums.RohanItemType;
32599
32588
  export type RoutingAccount = io.flow.internal.v0.models.RoutingAccount;
32600
32589
  export type RoutingEntity = io.flow.internal.v0.unions.RoutingEntity;
32601
32590
  export type RoutingMerchant = io.flow.internal.v0.models.RoutingMerchant;
@@ -32623,14 +32612,7 @@ export type SearchProviderExport =
32623
32612
  io.flow.internal.v0.models.SearchProviderExport;
32624
32613
  export type SearchTrackingSummary =
32625
32614
  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
32615
  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
32616
  export type SetupBlockPutForm = io.flow.internal.v0.models.SetupBlockPutForm;
32635
32617
  export type SfExpress = io.flow.internal.v0.models.SfExpress;
32636
32618
  export type ShipmentCostSummary =