@flowio/types 11.24.6 → 11.24.7

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.
@@ -9850,6 +9850,7 @@ declare namespace io.flow.internal.v0.enums {
9850
9850
  type FeatureScope = 'global' | 'organization';
9851
9851
  type FeatureStatus = 'draft' | 'active' | 'archived';
9852
9852
  type FeatureType = 'boolean' | 'decimal' | 'string';
9853
+ type FeesSource = 'settings' | 'authorization_bundle';
9853
9854
  type FinancialReportingResponsibleParty = 'flow' | 'organization';
9854
9855
  type FlowApp = 'console';
9855
9856
  type Format = 'text' | 'phone' | 'email';
@@ -10095,6 +10096,7 @@ declare namespace io.flow.internal.v0.models {
10095
10096
  readonly charge_label_cost_directly: boolean;
10096
10097
  readonly transaction_posting_method?: io.flow.internal.v0.enums.TransactionPostingMethod;
10097
10098
  readonly statement_transfer_transaction_location?: io.flow.internal.v0.enums.StatementTransferTransactionLocation;
10099
+ readonly fees_source?: io.flow.internal.v0.enums.FeesSource;
10098
10100
  }
10099
10101
  interface AccountSettingsDeleted {
10100
10102
  readonly discriminator: 'account_settings_deleted';
@@ -16748,7 +16750,7 @@ declare namespace io.flow.internal.v0.models {
16748
16750
  }
16749
16751
  interface OrganizationRestrictionSummary {
16750
16752
  readonly organization: io.flow.common.v0.models.OrganizationSummary;
16751
- readonly date: string;
16753
+ readonly earliest_date: string;
16752
16754
  readonly pending: io.flow.internal.v0.models.RestrictionPending[];
16753
16755
  readonly total: number;
16754
16756
  }
@@ -17617,15 +17619,6 @@ declare namespace io.flow.internal.v0.models {
17617
17619
  readonly status: io.flow.internal.v0.enums.ReboundConfigurationStatus;
17618
17620
  readonly orders_since_submitted_at?: string;
17619
17621
  }
17620
- interface RedactedSecret {
17621
- readonly id: string;
17622
- readonly key: string;
17623
- readonly created_at: string;
17624
- }
17625
- interface RedactedSecretConfig {
17626
- readonly secrets: io.flow.internal.v0.models.RedactedSecret[];
17627
- readonly preferred_secret_id: string;
17628
- }
17629
17622
  interface Redirect {
17630
17623
  readonly id: string;
17631
17624
  readonly post_payment_redirect_urls: io.flow.payment.v0.models.PostPaymentRedirectUrls;
@@ -17656,8 +17649,14 @@ declare namespace io.flow.internal.v0.models {
17656
17649
  readonly select_mismatching_item_types: boolean;
17657
17650
  }
17658
17651
  interface RestrictionItem {
17652
+ readonly id: string;
17659
17653
  readonly organization_id: string;
17660
- readonly product: io.flow.internal.v0.models.RestrictionProduct;
17654
+ readonly name: string;
17655
+ readonly thumbnail: io.flow.catalog.v0.models.Image;
17656
+ readonly keywords: io.flow.internal.v0.models.RestrictionKeywords;
17657
+ readonly rule: io.flow.internal.v0.models.RestrictionRuleSummary;
17658
+ readonly status: io.flow.internal.v0.enums.ProductRestrictionStatus;
17659
+ readonly updated_at: string;
17661
17660
  }
17662
17661
  interface RestrictionKeywords {
17663
17662
  readonly positive_keywords: string[];
@@ -17669,15 +17668,18 @@ declare namespace io.flow.internal.v0.models {
17669
17668
  }
17670
17669
  interface RestrictionProduct {
17671
17670
  readonly id: string;
17671
+ readonly organization_id: string;
17672
17672
  readonly name: string;
17673
17673
  readonly description: string;
17674
- readonly images: string[];
17674
+ readonly images: io.flow.catalog.v0.models.Image[];
17675
+ readonly thumbnails: io.flow.catalog.v0.models.Image[];
17675
17676
  readonly categories: string[];
17676
17677
  readonly updated_at: string;
17677
17678
  readonly restrictions: io.flow.internal.v0.models.RestrictionReview[];
17678
17679
  }
17679
17680
  interface RestrictionReview {
17680
17681
  readonly rule: io.flow.internal.v0.models.RestrictionRuleSummary;
17682
+ readonly status: io.flow.internal.v0.enums.ProductRestrictionStatus;
17681
17683
  readonly keywords: io.flow.internal.v0.models.RestrictionKeywords;
17682
17684
  readonly date?: string;
17683
17685
  }
@@ -17825,15 +17827,6 @@ declare namespace io.flow.internal.v0.models {
17825
17827
  readonly status: io.flow.tracking.v0.enums.TrackingStatus;
17826
17828
  readonly label: io.flow.internal.v0.models.LabelSummary;
17827
17829
  }
17828
- interface Secret {
17829
- readonly id: string;
17830
- readonly key: string;
17831
- readonly created_at: string;
17832
- }
17833
- interface SecretConfig {
17834
- readonly secrets: io.flow.internal.v0.models.Secret[];
17835
- readonly preferred_secret_id: string;
17836
- }
17837
17830
  interface SessionCountries {
17838
17831
  readonly countries: io.flow.internal.v0.models.SessionCountry[];
17839
17832
  }
@@ -20186,6 +20179,7 @@ export declare type FeedDeleted = io.flow.internal.v0.models.FeedDeleted;
20186
20179
  export declare type FeedUpserted = io.flow.internal.v0.models.FeedUpserted;
20187
20180
  export declare type FeedsExport = io.flow.internal.v0.models.FeedsExport;
20188
20181
  export declare type Fees = io.flow.internal.v0.models.Fees;
20182
+ export declare type FeesSource = io.flow.internal.v0.enums.FeesSource;
20189
20183
  export declare type FinancialMerchantCategory = io.flow.internal.v0.models.FinancialMerchantCategory;
20190
20184
  export declare type FinancialReportingResponsibleParty = io.flow.internal.v0.enums.FinancialReportingResponsibleParty;
20191
20185
  export declare type FinancialReportingStatement = io.flow.internal.v0.models.FinancialReportingStatement;
@@ -20762,8 +20756,6 @@ export declare type ReadyToFulfill = io.flow.internal.v0.models.ReadyToFulfill;
20762
20756
  export declare type ReboundConfiguration = io.flow.internal.v0.models.ReboundConfiguration;
20763
20757
  export declare type ReboundConfigurationForm = io.flow.internal.v0.models.ReboundConfigurationForm;
20764
20758
  export declare type ReboundConfigurationStatus = io.flow.internal.v0.enums.ReboundConfigurationStatus;
20765
- export declare type RedactedSecret = io.flow.internal.v0.models.RedactedSecret;
20766
- export declare type RedactedSecretConfig = io.flow.internal.v0.models.RedactedSecretConfig;
20767
20759
  export declare type Redirect = io.flow.internal.v0.models.Redirect;
20768
20760
  export declare type RedirectActionCompleted = io.flow.internal.v0.models.RedirectActionCompleted;
20769
20761
  export declare type RedirectReason = io.flow.internal.v0.enums.RedirectReason;
@@ -20809,8 +20801,6 @@ export declare type SearchItemSummary = io.flow.internal.v0.models.SearchItemSum
20809
20801
  export declare type SearchOrderSummary = io.flow.internal.v0.models.SearchOrderSummary;
20810
20802
  export declare type SearchProviderExport = io.flow.internal.v0.models.SearchProviderExport;
20811
20803
  export declare type SearchTrackingSummary = io.flow.internal.v0.models.SearchTrackingSummary;
20812
- export declare type Secret = io.flow.internal.v0.models.Secret;
20813
- export declare type SecretConfig = io.flow.internal.v0.models.SecretConfig;
20814
20804
  export declare type SerialReservationError = io.flow.internal.v0.enums.SerialReservationError;
20815
20805
  export declare type ServiceName = io.flow.internal.v0.enums.ServiceName;
20816
20806
  export declare type SessionCountries = io.flow.internal.v0.models.SessionCountries;
package/dist/api.d.ts CHANGED
@@ -2247,7 +2247,7 @@ declare namespace io.flow.v0.enums {
2247
2247
  type ExperienceStatus = 'draft' | 'active' | 'archiving' | 'archived';
2248
2248
  type ExportStatus = 'created' | 'processing' | 'completed' | 'failed';
2249
2249
  type ExporterOfRecord = 'flow' | 'organization';
2250
- type FeeDeductionType = 'mor' | 'fx';
2250
+ type FeeDeductionType = 'mor' | 'fx' | 'processing' | 'rate_lock' | 'duty_guarantee' | 'revenue_share';
2251
2251
  type FlowBehavior = 'view_consumer_data';
2252
2252
  type FlowEntity = 'flow-usa' | 'flow-irl' | 'flow-can';
2253
2253
  type FlowRole = 'organization_admin' | 'organization_merchant' | 'organization_customer_service' | 'organization_fulfillment' | 'organization_marketing' | 'organization_finance' | 'flow_operations' | 'channel_admin' | 'channel_organization_admin';
@@ -2377,7 +2377,7 @@ declare namespace io.flow.v0.enums {
2377
2377
  type ValueAddedService = 'Hazardous Material';
2378
2378
  type Visibility = 'public' | 'private';
2379
2379
  type WebhookStatus = 'pending' | 'success' | 'failure';
2380
- type WithholdingDeductionType = 'tax' | 'duty';
2380
+ type WithholdingDeductionType = 'tax' | 'duty' | 'freight' | 'insurance';
2381
2381
  type ZeroAmountIndicator = 'zero' | 'free';
2382
2382
  type ZeroLevyReasonCode = 'zero_basis' | 'zero_rate_on_goods' | 'value_rounds_to_zero' | 'order_below_de_minimis_threshold' | 'amount_below_de_minimis_threshold' | 'delivered_unpaid' | 'duty_free_domestic' | 'duty_free_intra_community' | 'duty_free_reimport' | 'duty_free_by_trade_agreement';
2383
2383
  }
@@ -4909,7 +4909,7 @@ declare namespace io.flow.v0.models {
4909
4909
  interface FeeDeduction {
4910
4910
  readonly type: io.flow.v0.enums.FeeDeductionType;
4911
4911
  readonly amount: number;
4912
- readonly description: string;
4912
+ readonly description?: string;
4913
4913
  }
4914
4914
  interface FeeWeight {
4915
4915
  readonly weight: number;
@@ -10200,7 +10200,7 @@ declare namespace io.flow.v0.models {
10200
10200
  interface WithholdingDeduction {
10201
10201
  readonly type: io.flow.v0.enums.WithholdingDeductionType;
10202
10202
  readonly amount: number;
10203
- readonly description: string;
10203
+ readonly description?: string;
10204
10204
  }
10205
10205
  interface Zone {
10206
10206
  readonly postals?: string[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flowio/types",
3
- "version": "11.24.6",
3
+ "version": "11.24.7",
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": "4f156ee5817d5a2daa24e4d367948361b66d2ac8"
28
+ "gitHead": "08dbb863b30de4a9e729a484030de6d634c196cf"
29
29
  }
@@ -13331,6 +13331,7 @@ declare namespace io.flow.internal.v0.enums {
13331
13331
  type FeatureScope = 'global' | 'organization';
13332
13332
  type FeatureStatus = 'draft' | 'active' | 'archived';
13333
13333
  type FeatureType = 'boolean' | 'decimal' | 'string';
13334
+ type FeesSource = 'settings' | 'authorization_bundle';
13334
13335
  type FinancialReportingResponsibleParty = 'flow' | 'organization';
13335
13336
  type FlowApp = 'console';
13336
13337
  type Format = 'text' | 'phone' | 'email';
@@ -13820,6 +13821,7 @@ declare namespace io.flow.internal.v0.models {
13820
13821
  readonly charge_label_cost_directly: boolean;
13821
13822
  readonly transaction_posting_method?: io.flow.internal.v0.enums.TransactionPostingMethod;
13822
13823
  readonly statement_transfer_transaction_location?: io.flow.internal.v0.enums.StatementTransferTransactionLocation;
13824
+ readonly fees_source?: io.flow.internal.v0.enums.FeesSource;
13823
13825
  }
13824
13826
 
13825
13827
  interface AccountSettingsDeleted {
@@ -21613,7 +21615,7 @@ declare namespace io.flow.internal.v0.models {
21613
21615
 
21614
21616
  interface OrganizationRestrictionSummary {
21615
21617
  readonly organization: io.flow.common.v0.models.OrganizationSummary;
21616
- readonly date: string;
21618
+ readonly earliest_date: string;
21617
21619
  readonly pending: io.flow.internal.v0.models.RestrictionPending[];
21618
21620
  readonly total: number;
21619
21621
  }
@@ -22607,17 +22609,6 @@ declare namespace io.flow.internal.v0.models {
22607
22609
  readonly orders_since_submitted_at?: string;
22608
22610
  }
22609
22611
 
22610
- interface RedactedSecret {
22611
- readonly id: string;
22612
- readonly key: string;
22613
- readonly created_at: string;
22614
- }
22615
-
22616
- interface RedactedSecretConfig {
22617
- readonly secrets: io.flow.internal.v0.models.RedactedSecret[];
22618
- readonly preferred_secret_id: string;
22619
- }
22620
-
22621
22612
  interface Redirect {
22622
22613
  readonly id: string;
22623
22614
  readonly post_payment_redirect_urls: io.flow.payment.v0.models.PostPaymentRedirectUrls;
@@ -22653,8 +22644,14 @@ declare namespace io.flow.internal.v0.models {
22653
22644
  }
22654
22645
 
22655
22646
  interface RestrictionItem {
22647
+ readonly id: string;
22656
22648
  readonly organization_id: string;
22657
- readonly product: io.flow.internal.v0.models.RestrictionProduct;
22649
+ readonly name: string;
22650
+ readonly thumbnail: io.flow.catalog.v0.models.Image;
22651
+ readonly keywords: io.flow.internal.v0.models.RestrictionKeywords;
22652
+ readonly rule: io.flow.internal.v0.models.RestrictionRuleSummary;
22653
+ readonly status: io.flow.internal.v0.enums.ProductRestrictionStatus;
22654
+ readonly updated_at: string;
22658
22655
  }
22659
22656
 
22660
22657
  interface RestrictionKeywords {
@@ -22669,9 +22666,11 @@ declare namespace io.flow.internal.v0.models {
22669
22666
 
22670
22667
  interface RestrictionProduct {
22671
22668
  readonly id: string;
22669
+ readonly organization_id: string;
22672
22670
  readonly name: string;
22673
22671
  readonly description: string;
22674
- readonly images: string[];
22672
+ readonly images: io.flow.catalog.v0.models.Image[];
22673
+ readonly thumbnails: io.flow.catalog.v0.models.Image[];
22675
22674
  readonly categories: string[];
22676
22675
  readonly updated_at: string;
22677
22676
  readonly restrictions: io.flow.internal.v0.models.RestrictionReview[];
@@ -22679,6 +22678,7 @@ declare namespace io.flow.internal.v0.models {
22679
22678
 
22680
22679
  interface RestrictionReview {
22681
22680
  readonly rule: io.flow.internal.v0.models.RestrictionRuleSummary;
22681
+ readonly status: io.flow.internal.v0.enums.ProductRestrictionStatus;
22682
22682
  readonly keywords: io.flow.internal.v0.models.RestrictionKeywords;
22683
22683
  readonly date?: string;
22684
22684
  }
@@ -22852,17 +22852,6 @@ declare namespace io.flow.internal.v0.models {
22852
22852
  readonly label: io.flow.internal.v0.models.LabelSummary;
22853
22853
  }
22854
22854
 
22855
- interface Secret {
22856
- readonly id: string;
22857
- readonly key: string;
22858
- readonly created_at: string;
22859
- }
22860
-
22861
- interface SecretConfig {
22862
- readonly secrets: io.flow.internal.v0.models.Secret[];
22863
- readonly preferred_secret_id: string;
22864
- }
22865
-
22866
22855
  interface SessionCountries {
22867
22856
  readonly countries: io.flow.internal.v0.models.SessionCountry[];
22868
22857
  }
@@ -26971,6 +26960,7 @@ export type FeedDeleted = io.flow.internal.v0.models.FeedDeleted;
26971
26960
  export type FeedUpserted = io.flow.internal.v0.models.FeedUpserted;
26972
26961
  export type FeedsExport = io.flow.internal.v0.models.FeedsExport;
26973
26962
  export type Fees = io.flow.internal.v0.models.Fees;
26963
+ export type FeesSource = io.flow.internal.v0.enums.FeesSource;
26974
26964
  export type FinancialMerchantCategory =
26975
26965
  io.flow.internal.v0.models.FinancialMerchantCategory;
26976
26966
  export type FinancialReportingResponsibleParty =
@@ -27929,9 +27919,6 @@ export type ReboundConfigurationForm =
27929
27919
  io.flow.internal.v0.models.ReboundConfigurationForm;
27930
27920
  export type ReboundConfigurationStatus =
27931
27921
  io.flow.internal.v0.enums.ReboundConfigurationStatus;
27932
- export type RedactedSecret = io.flow.internal.v0.models.RedactedSecret;
27933
- export type RedactedSecretConfig =
27934
- io.flow.internal.v0.models.RedactedSecretConfig;
27935
27922
  export type Redirect = io.flow.internal.v0.models.Redirect;
27936
27923
  export type RedirectActionCompleted =
27937
27924
  io.flow.internal.v0.models.RedirectActionCompleted;
@@ -27996,8 +27983,6 @@ export type SearchProviderExport =
27996
27983
  io.flow.internal.v0.models.SearchProviderExport;
27997
27984
  export type SearchTrackingSummary =
27998
27985
  io.flow.internal.v0.models.SearchTrackingSummary;
27999
- export type Secret = io.flow.internal.v0.models.Secret;
28000
- export type SecretConfig = io.flow.internal.v0.models.SecretConfig;
28001
27986
  export type SerialReservationError =
28002
27987
  io.flow.internal.v0.enums.SerialReservationError;
28003
27988
  export type ServiceName = io.flow.internal.v0.enums.ServiceName;
package/src/api.ts CHANGED
@@ -3179,7 +3179,13 @@ declare namespace io.flow.v0.enums {
3179
3179
  type ExperienceStatus = 'draft' | 'active' | 'archiving' | 'archived';
3180
3180
  type ExportStatus = 'created' | 'processing' | 'completed' | 'failed';
3181
3181
  type ExporterOfRecord = 'flow' | 'organization';
3182
- type FeeDeductionType = 'mor' | 'fx';
3182
+ type FeeDeductionType =
3183
+ | 'mor'
3184
+ | 'fx'
3185
+ | 'processing'
3186
+ | 'rate_lock'
3187
+ | 'duty_guarantee'
3188
+ | 'revenue_share';
3183
3189
  type FlowBehavior = 'view_consumer_data';
3184
3190
  type FlowEntity = 'flow-usa' | 'flow-irl' | 'flow-can';
3185
3191
  type FlowRole =
@@ -3688,7 +3694,7 @@ declare namespace io.flow.v0.enums {
3688
3694
  type ValueAddedService = 'Hazardous Material';
3689
3695
  type Visibility = 'public' | 'private';
3690
3696
  type WebhookStatus = 'pending' | 'success' | 'failure';
3691
- type WithholdingDeductionType = 'tax' | 'duty';
3697
+ type WithholdingDeductionType = 'tax' | 'duty' | 'freight' | 'insurance';
3692
3698
  type ZeroAmountIndicator = 'zero' | 'free';
3693
3699
  type ZeroLevyReasonCode =
3694
3700
  | 'zero_basis'
@@ -6638,7 +6644,7 @@ declare namespace io.flow.v0.models {
6638
6644
  interface FeeDeduction {
6639
6645
  readonly type: io.flow.v0.enums.FeeDeductionType;
6640
6646
  readonly amount: number;
6641
- readonly description: string;
6647
+ readonly description?: string;
6642
6648
  }
6643
6649
 
6644
6650
  interface FeeWeight {
@@ -12795,7 +12801,7 @@ declare namespace io.flow.v0.models {
12795
12801
  interface WithholdingDeduction {
12796
12802
  readonly type: io.flow.v0.enums.WithholdingDeductionType;
12797
12803
  readonly amount: number;
12798
- readonly description: string;
12804
+ readonly description?: string;
12799
12805
  }
12800
12806
 
12801
12807
  interface Zone {