@flowio/types 11.24.6 → 11.24.8

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';
@@ -9910,7 +9911,6 @@ declare namespace io.flow.internal.v0.enums {
9910
9911
  type ProcessingTransactionType = 'adjustment' | 'capture' | 'refund' | 'fully_subsidized_order' | 'credit_payment';
9911
9912
  type Processor = 'adyen' | 'afterpay' | 'bitpay' | 'stripe' | 'paypal' | 'flow_sandbox' | 'fiserv' | 'crypto';
9912
9913
  type ProcessorEntityStatus = 'active' | 'draft' | 'archived';
9913
- type ProductRestrictionStatus = 'pending' | 'in_review' | 'accepted' | 'restricted';
9914
9914
  type PromptAction = 'prompt_displayed' | 'consent_granted' | 'consent_denied';
9915
9915
  type PromptCheckoutDisplayPosition = 'email' | 'submission';
9916
9916
  type PromptOptions = 'notice_only' | 'require_consent' | 'consent_by_default';
@@ -9924,6 +9924,7 @@ declare namespace io.flow.internal.v0.enums {
9924
9924
  type ResponsibleParty = 'flow' | 'organization';
9925
9925
  type RestrictionAction = 'prohibited' | 'restricted';
9926
9926
  type RestrictionDecision = 'accept' | 'reject';
9927
+ type RestrictionStatus = 'pending' | 'in_review' | 'accepted' | 'restricted';
9927
9928
  type RiskCheck = 'three_d_secure';
9928
9929
  type RiskEvaluation = 'Pending' | 'High-Risk' | 'Low-Risk' | 'Restricted-Party' | 'none';
9929
9930
  type Scope = 'organization' | 'global';
@@ -10093,8 +10094,11 @@ declare namespace io.flow.internal.v0.models {
10093
10094
  readonly order_service_fee?: io.flow.internal.v0.models.TieredFee;
10094
10095
  readonly label_fee?: io.flow.internal.v0.models.TieredFee;
10095
10096
  readonly charge_label_cost_directly: boolean;
10096
- readonly transaction_posting_method?: io.flow.internal.v0.enums.TransactionPostingMethod;
10097
- readonly statement_transfer_transaction_location?: io.flow.internal.v0.enums.StatementTransferTransactionLocation;
10097
+ readonly transaction_posting_method: io.flow.internal.v0.enums.TransactionPostingMethod;
10098
+ readonly statement_transfer_transaction_location: io.flow.internal.v0.enums.StatementTransferTransactionLocation;
10099
+ readonly fees_source: io.flow.internal.v0.enums.FeesSource;
10100
+ readonly require_payment_request: boolean;
10101
+ readonly round_individual_transactions: boolean;
10098
10102
  }
10099
10103
  interface AccountSettingsDeleted {
10100
10104
  readonly discriminator: 'account_settings_deleted';
@@ -16748,7 +16752,7 @@ declare namespace io.flow.internal.v0.models {
16748
16752
  }
16749
16753
  interface OrganizationRestrictionSummary {
16750
16754
  readonly organization: io.flow.common.v0.models.OrganizationSummary;
16751
- readonly date: string;
16755
+ readonly earliest_date: string;
16752
16756
  readonly pending: io.flow.internal.v0.models.RestrictionPending[];
16753
16757
  readonly total: number;
16754
16758
  }
@@ -17308,7 +17312,7 @@ declare namespace io.flow.internal.v0.models {
17308
17312
  }
17309
17313
  interface ProductRestrictionDecision {
17310
17314
  readonly rule_id: string;
17311
- readonly status: io.flow.internal.v0.enums.ProductRestrictionStatus;
17315
+ readonly status: io.flow.internal.v0.enums.RestrictionStatus;
17312
17316
  readonly matching_positive_keywords: string[];
17313
17317
  readonly matching_negative_keywords: string[];
17314
17318
  }
@@ -17617,15 +17621,6 @@ declare namespace io.flow.internal.v0.models {
17617
17621
  readonly status: io.flow.internal.v0.enums.ReboundConfigurationStatus;
17618
17622
  readonly orders_since_submitted_at?: string;
17619
17623
  }
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
17624
  interface Redirect {
17630
17625
  readonly id: string;
17631
17626
  readonly post_payment_redirect_urls: io.flow.payment.v0.models.PostPaymentRedirectUrls;
@@ -17656,8 +17651,24 @@ declare namespace io.flow.internal.v0.models {
17656
17651
  readonly select_mismatching_item_types: boolean;
17657
17652
  }
17658
17653
  interface RestrictionItem {
17654
+ readonly id: string;
17659
17655
  readonly organization_id: string;
17660
- readonly product: io.flow.internal.v0.models.RestrictionProduct;
17656
+ readonly product_id: string;
17657
+ readonly name: string;
17658
+ readonly images: io.flow.catalog.v0.models.Image[];
17659
+ readonly thumbnails: io.flow.catalog.v0.models.Image[];
17660
+ readonly review: io.flow.internal.v0.models.RestrictionItemReview;
17661
+ readonly updated_at: string;
17662
+ }
17663
+ interface RestrictionItemReview {
17664
+ readonly rule: io.flow.internal.v0.models.RestrictionRuleSummary;
17665
+ readonly status: io.flow.internal.v0.enums.RestrictionStatus;
17666
+ readonly keywords: io.flow.internal.v0.models.RestrictionKeywords;
17667
+ readonly date?: string;
17668
+ }
17669
+ interface RestrictionItemReviewDecisionForm {
17670
+ readonly restriction_item_id: string;
17671
+ readonly decision: io.flow.internal.v0.enums.RestrictionDecision;
17661
17672
  }
17662
17673
  interface RestrictionKeywords {
17663
17674
  readonly positive_keywords: string[];
@@ -17668,18 +17679,15 @@ declare namespace io.flow.internal.v0.models {
17668
17679
  readonly count: number;
17669
17680
  }
17670
17681
  interface RestrictionProduct {
17671
- readonly id: string;
17682
+ readonly organization_id: string;
17683
+ readonly product_id: string;
17672
17684
  readonly name: string;
17673
17685
  readonly description: string;
17674
- readonly images: string[];
17675
17686
  readonly categories: string[];
17687
+ readonly images: io.flow.catalog.v0.models.Image[];
17688
+ readonly thumbnails: io.flow.catalog.v0.models.Image[];
17676
17689
  readonly updated_at: string;
17677
- readonly restrictions: io.flow.internal.v0.models.RestrictionReview[];
17678
- }
17679
- interface RestrictionReview {
17680
- readonly rule: io.flow.internal.v0.models.RestrictionRuleSummary;
17681
- readonly keywords: io.flow.internal.v0.models.RestrictionKeywords;
17682
- readonly date?: string;
17690
+ readonly restrictions: io.flow.internal.v0.models.RestrictionItemReview[];
17683
17691
  }
17684
17692
  interface RestrictionRule {
17685
17693
  readonly id: string;
@@ -17825,15 +17833,6 @@ declare namespace io.flow.internal.v0.models {
17825
17833
  readonly status: io.flow.tracking.v0.enums.TrackingStatus;
17826
17834
  readonly label: io.flow.internal.v0.models.LabelSummary;
17827
17835
  }
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
17836
  interface SessionCountries {
17838
17837
  readonly countries: io.flow.internal.v0.models.SessionCountry[];
17839
17838
  }
@@ -20186,6 +20185,7 @@ export declare type FeedDeleted = io.flow.internal.v0.models.FeedDeleted;
20186
20185
  export declare type FeedUpserted = io.flow.internal.v0.models.FeedUpserted;
20187
20186
  export declare type FeedsExport = io.flow.internal.v0.models.FeedsExport;
20188
20187
  export declare type Fees = io.flow.internal.v0.models.Fees;
20188
+ export declare type FeesSource = io.flow.internal.v0.enums.FeesSource;
20189
20189
  export declare type FinancialMerchantCategory = io.flow.internal.v0.models.FinancialMerchantCategory;
20190
20190
  export declare type FinancialReportingResponsibleParty = io.flow.internal.v0.enums.FinancialReportingResponsibleParty;
20191
20191
  export declare type FinancialReportingStatement = io.flow.internal.v0.models.FinancialReportingStatement;
@@ -20712,7 +20712,6 @@ export declare type ProductRestriction = io.flow.internal.v0.models.ProductRestr
20712
20712
  export declare type ProductRestrictionDecision = io.flow.internal.v0.models.ProductRestrictionDecision;
20713
20713
  export declare type ProductRestrictionDecisionForm = io.flow.internal.v0.models.ProductRestrictionDecisionForm;
20714
20714
  export declare type ProductRestrictionDeleted = io.flow.internal.v0.models.ProductRestrictionDeleted;
20715
- export declare type ProductRestrictionStatus = io.flow.internal.v0.enums.ProductRestrictionStatus;
20716
20715
  export declare type ProductRestrictionUpserted = io.flow.internal.v0.models.ProductRestrictionUpserted;
20717
20716
  export declare type PromptAction = io.flow.internal.v0.enums.PromptAction;
20718
20717
  export declare type PromptCheckoutDisplayPosition = io.flow.internal.v0.enums.PromptCheckoutDisplayPosition;
@@ -20762,8 +20761,6 @@ export declare type ReadyToFulfill = io.flow.internal.v0.models.ReadyToFulfill;
20762
20761
  export declare type ReboundConfiguration = io.flow.internal.v0.models.ReboundConfiguration;
20763
20762
  export declare type ReboundConfigurationForm = io.flow.internal.v0.models.ReboundConfigurationForm;
20764
20763
  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
20764
  export declare type Redirect = io.flow.internal.v0.models.Redirect;
20768
20765
  export declare type RedirectActionCompleted = io.flow.internal.v0.models.RedirectActionCompleted;
20769
20766
  export declare type RedirectReason = io.flow.internal.v0.enums.RedirectReason;
@@ -20776,13 +20773,15 @@ export declare type ResponsibleParty = io.flow.internal.v0.enums.ResponsiblePart
20776
20773
  export declare type RestrictionAction = io.flow.internal.v0.enums.RestrictionAction;
20777
20774
  export declare type RestrictionDecision = io.flow.internal.v0.enums.RestrictionDecision;
20778
20775
  export declare type RestrictionItem = io.flow.internal.v0.models.RestrictionItem;
20776
+ export declare type RestrictionItemReview = io.flow.internal.v0.models.RestrictionItemReview;
20777
+ export declare type RestrictionItemReviewDecisionForm = io.flow.internal.v0.models.RestrictionItemReviewDecisionForm;
20779
20778
  export declare type RestrictionKeywords = io.flow.internal.v0.models.RestrictionKeywords;
20780
20779
  export declare type RestrictionPending = io.flow.internal.v0.models.RestrictionPending;
20781
20780
  export declare type RestrictionProduct = io.flow.internal.v0.models.RestrictionProduct;
20782
- export declare type RestrictionReview = io.flow.internal.v0.models.RestrictionReview;
20783
20781
  export declare type RestrictionRule = io.flow.internal.v0.models.RestrictionRule;
20784
20782
  export declare type RestrictionRuleForm = io.flow.internal.v0.models.RestrictionRuleForm;
20785
20783
  export declare type RestrictionRuleSummary = io.flow.internal.v0.models.RestrictionRuleSummary;
20784
+ export declare type RestrictionStatus = io.flow.internal.v0.enums.RestrictionStatus;
20786
20785
  export declare type ResyncByDestinations = io.flow.internal.v0.models.ResyncByDestinations;
20787
20786
  export declare type ResyncByHs6Destinations = io.flow.internal.v0.models.ResyncByHs6Destinations;
20788
20787
  export declare type ResyncByHs6Origin = io.flow.internal.v0.models.ResyncByHs6Origin;
@@ -20809,8 +20808,6 @@ export declare type SearchItemSummary = io.flow.internal.v0.models.SearchItemSum
20809
20808
  export declare type SearchOrderSummary = io.flow.internal.v0.models.SearchOrderSummary;
20810
20809
  export declare type SearchProviderExport = io.flow.internal.v0.models.SearchProviderExport;
20811
20810
  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
20811
  export declare type SerialReservationError = io.flow.internal.v0.enums.SerialReservationError;
20815
20812
  export declare type ServiceName = io.flow.internal.v0.enums.ServiceName;
20816
20813
  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.8",
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": "4d9a6eed8c7fdc587e0035ed1e48d14ee5f22e88"
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';
@@ -13542,11 +13543,6 @@ declare namespace io.flow.internal.v0.enums {
13542
13543
  | 'fiserv'
13543
13544
  | 'crypto';
13544
13545
  type ProcessorEntityStatus = 'active' | 'draft' | 'archived';
13545
- type ProductRestrictionStatus =
13546
- | 'pending'
13547
- | 'in_review'
13548
- | 'accepted'
13549
- | 'restricted';
13550
13546
  type PromptAction = 'prompt_displayed' | 'consent_granted' | 'consent_denied';
13551
13547
  type PromptCheckoutDisplayPosition = 'email' | 'submission';
13552
13548
  type PromptOptions = 'notice_only' | 'require_consent' | 'consent_by_default';
@@ -13568,6 +13564,7 @@ declare namespace io.flow.internal.v0.enums {
13568
13564
  type ResponsibleParty = 'flow' | 'organization';
13569
13565
  type RestrictionAction = 'prohibited' | 'restricted';
13570
13566
  type RestrictionDecision = 'accept' | 'reject';
13567
+ type RestrictionStatus = 'pending' | 'in_review' | 'accepted' | 'restricted';
13571
13568
  type RiskCheck = 'three_d_secure';
13572
13569
  type RiskEvaluation =
13573
13570
  | 'Pending'
@@ -13818,8 +13815,11 @@ declare namespace io.flow.internal.v0.models {
13818
13815
  readonly order_service_fee?: io.flow.internal.v0.models.TieredFee;
13819
13816
  readonly label_fee?: io.flow.internal.v0.models.TieredFee;
13820
13817
  readonly charge_label_cost_directly: boolean;
13821
- readonly transaction_posting_method?: io.flow.internal.v0.enums.TransactionPostingMethod;
13822
- readonly statement_transfer_transaction_location?: io.flow.internal.v0.enums.StatementTransferTransactionLocation;
13818
+ readonly transaction_posting_method: io.flow.internal.v0.enums.TransactionPostingMethod;
13819
+ readonly statement_transfer_transaction_location: io.flow.internal.v0.enums.StatementTransferTransactionLocation;
13820
+ readonly fees_source: io.flow.internal.v0.enums.FeesSource;
13821
+ readonly require_payment_request: boolean;
13822
+ readonly round_individual_transactions: boolean;
13823
13823
  }
13824
13824
 
13825
13825
  interface AccountSettingsDeleted {
@@ -21613,7 +21613,7 @@ declare namespace io.flow.internal.v0.models {
21613
21613
 
21614
21614
  interface OrganizationRestrictionSummary {
21615
21615
  readonly organization: io.flow.common.v0.models.OrganizationSummary;
21616
- readonly date: string;
21616
+ readonly earliest_date: string;
21617
21617
  readonly pending: io.flow.internal.v0.models.RestrictionPending[];
21618
21618
  readonly total: number;
21619
21619
  }
@@ -22253,7 +22253,7 @@ declare namespace io.flow.internal.v0.models {
22253
22253
 
22254
22254
  interface ProductRestrictionDecision {
22255
22255
  readonly rule_id: string;
22256
- readonly status: io.flow.internal.v0.enums.ProductRestrictionStatus;
22256
+ readonly status: io.flow.internal.v0.enums.RestrictionStatus;
22257
22257
  readonly matching_positive_keywords: string[];
22258
22258
  readonly matching_negative_keywords: string[];
22259
22259
  }
@@ -22607,17 +22607,6 @@ declare namespace io.flow.internal.v0.models {
22607
22607
  readonly orders_since_submitted_at?: string;
22608
22608
  }
22609
22609
 
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
22610
  interface Redirect {
22622
22611
  readonly id: string;
22623
22612
  readonly post_payment_redirect_urls: io.flow.payment.v0.models.PostPaymentRedirectUrls;
@@ -22653,8 +22642,26 @@ declare namespace io.flow.internal.v0.models {
22653
22642
  }
22654
22643
 
22655
22644
  interface RestrictionItem {
22645
+ readonly id: string;
22656
22646
  readonly organization_id: string;
22657
- readonly product: io.flow.internal.v0.models.RestrictionProduct;
22647
+ readonly product_id: string;
22648
+ readonly name: string;
22649
+ readonly images: io.flow.catalog.v0.models.Image[];
22650
+ readonly thumbnails: io.flow.catalog.v0.models.Image[];
22651
+ readonly review: io.flow.internal.v0.models.RestrictionItemReview;
22652
+ readonly updated_at: string;
22653
+ }
22654
+
22655
+ interface RestrictionItemReview {
22656
+ readonly rule: io.flow.internal.v0.models.RestrictionRuleSummary;
22657
+ readonly status: io.flow.internal.v0.enums.RestrictionStatus;
22658
+ readonly keywords: io.flow.internal.v0.models.RestrictionKeywords;
22659
+ readonly date?: string;
22660
+ }
22661
+
22662
+ interface RestrictionItemReviewDecisionForm {
22663
+ readonly restriction_item_id: string;
22664
+ readonly decision: io.flow.internal.v0.enums.RestrictionDecision;
22658
22665
  }
22659
22666
 
22660
22667
  interface RestrictionKeywords {
@@ -22668,19 +22675,15 @@ declare namespace io.flow.internal.v0.models {
22668
22675
  }
22669
22676
 
22670
22677
  interface RestrictionProduct {
22671
- readonly id: string;
22678
+ readonly organization_id: string;
22679
+ readonly product_id: string;
22672
22680
  readonly name: string;
22673
22681
  readonly description: string;
22674
- readonly images: string[];
22675
22682
  readonly categories: string[];
22683
+ readonly images: io.flow.catalog.v0.models.Image[];
22684
+ readonly thumbnails: io.flow.catalog.v0.models.Image[];
22676
22685
  readonly updated_at: string;
22677
- readonly restrictions: io.flow.internal.v0.models.RestrictionReview[];
22678
- }
22679
-
22680
- interface RestrictionReview {
22681
- readonly rule: io.flow.internal.v0.models.RestrictionRuleSummary;
22682
- readonly keywords: io.flow.internal.v0.models.RestrictionKeywords;
22683
- readonly date?: string;
22686
+ readonly restrictions: io.flow.internal.v0.models.RestrictionItemReview[];
22684
22687
  }
22685
22688
 
22686
22689
  interface RestrictionRule {
@@ -22852,17 +22855,6 @@ declare namespace io.flow.internal.v0.models {
22852
22855
  readonly label: io.flow.internal.v0.models.LabelSummary;
22853
22856
  }
22854
22857
 
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
22858
  interface SessionCountries {
22867
22859
  readonly countries: io.flow.internal.v0.models.SessionCountry[];
22868
22860
  }
@@ -26971,6 +26963,7 @@ export type FeedDeleted = io.flow.internal.v0.models.FeedDeleted;
26971
26963
  export type FeedUpserted = io.flow.internal.v0.models.FeedUpserted;
26972
26964
  export type FeedsExport = io.flow.internal.v0.models.FeedsExport;
26973
26965
  export type Fees = io.flow.internal.v0.models.Fees;
26966
+ export type FeesSource = io.flow.internal.v0.enums.FeesSource;
26974
26967
  export type FinancialMerchantCategory =
26975
26968
  io.flow.internal.v0.models.FinancialMerchantCategory;
26976
26969
  export type FinancialReportingResponsibleParty =
@@ -27849,8 +27842,6 @@ export type ProductRestrictionDecisionForm =
27849
27842
  io.flow.internal.v0.models.ProductRestrictionDecisionForm;
27850
27843
  export type ProductRestrictionDeleted =
27851
27844
  io.flow.internal.v0.models.ProductRestrictionDeleted;
27852
- export type ProductRestrictionStatus =
27853
- io.flow.internal.v0.enums.ProductRestrictionStatus;
27854
27845
  export type ProductRestrictionUpserted =
27855
27846
  io.flow.internal.v0.models.ProductRestrictionUpserted;
27856
27847
  export type PromptAction = io.flow.internal.v0.enums.PromptAction;
@@ -27929,9 +27920,6 @@ export type ReboundConfigurationForm =
27929
27920
  io.flow.internal.v0.models.ReboundConfigurationForm;
27930
27921
  export type ReboundConfigurationStatus =
27931
27922
  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
27923
  export type Redirect = io.flow.internal.v0.models.Redirect;
27936
27924
  export type RedirectActionCompleted =
27937
27925
  io.flow.internal.v0.models.RedirectActionCompleted;
@@ -27947,16 +27935,20 @@ export type ResponsibleParty = io.flow.internal.v0.enums.ResponsibleParty;
27947
27935
  export type RestrictionAction = io.flow.internal.v0.enums.RestrictionAction;
27948
27936
  export type RestrictionDecision = io.flow.internal.v0.enums.RestrictionDecision;
27949
27937
  export type RestrictionItem = io.flow.internal.v0.models.RestrictionItem;
27938
+ export type RestrictionItemReview =
27939
+ io.flow.internal.v0.models.RestrictionItemReview;
27940
+ export type RestrictionItemReviewDecisionForm =
27941
+ io.flow.internal.v0.models.RestrictionItemReviewDecisionForm;
27950
27942
  export type RestrictionKeywords =
27951
27943
  io.flow.internal.v0.models.RestrictionKeywords;
27952
27944
  export type RestrictionPending = io.flow.internal.v0.models.RestrictionPending;
27953
27945
  export type RestrictionProduct = io.flow.internal.v0.models.RestrictionProduct;
27954
- export type RestrictionReview = io.flow.internal.v0.models.RestrictionReview;
27955
27946
  export type RestrictionRule = io.flow.internal.v0.models.RestrictionRule;
27956
27947
  export type RestrictionRuleForm =
27957
27948
  io.flow.internal.v0.models.RestrictionRuleForm;
27958
27949
  export type RestrictionRuleSummary =
27959
27950
  io.flow.internal.v0.models.RestrictionRuleSummary;
27951
+ export type RestrictionStatus = io.flow.internal.v0.enums.RestrictionStatus;
27960
27952
  export type ResyncByDestinations =
27961
27953
  io.flow.internal.v0.models.ResyncByDestinations;
27962
27954
  export type ResyncByHs6Destinations =
@@ -27996,8 +27988,6 @@ export type SearchProviderExport =
27996
27988
  io.flow.internal.v0.models.SearchProviderExport;
27997
27989
  export type SearchTrackingSummary =
27998
27990
  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
27991
  export type SerialReservationError =
28002
27992
  io.flow.internal.v0.enums.SerialReservationError;
28003
27993
  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 {