@flowio/types 11.24.7 → 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.
- package/dist/api-internal.d.ts +27 -20
- package/package.json +2 -2
- package/src/api-internal.ts +31 -26
package/dist/api-internal.d.ts
CHANGED
|
@@ -9911,7 +9911,6 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
9911
9911
|
type ProcessingTransactionType = 'adjustment' | 'capture' | 'refund' | 'fully_subsidized_order' | 'credit_payment';
|
|
9912
9912
|
type Processor = 'adyen' | 'afterpay' | 'bitpay' | 'stripe' | 'paypal' | 'flow_sandbox' | 'fiserv' | 'crypto';
|
|
9913
9913
|
type ProcessorEntityStatus = 'active' | 'draft' | 'archived';
|
|
9914
|
-
type ProductRestrictionStatus = 'pending' | 'in_review' | 'accepted' | 'restricted';
|
|
9915
9914
|
type PromptAction = 'prompt_displayed' | 'consent_granted' | 'consent_denied';
|
|
9916
9915
|
type PromptCheckoutDisplayPosition = 'email' | 'submission';
|
|
9917
9916
|
type PromptOptions = 'notice_only' | 'require_consent' | 'consent_by_default';
|
|
@@ -9925,6 +9924,7 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
9925
9924
|
type ResponsibleParty = 'flow' | 'organization';
|
|
9926
9925
|
type RestrictionAction = 'prohibited' | 'restricted';
|
|
9927
9926
|
type RestrictionDecision = 'accept' | 'reject';
|
|
9927
|
+
type RestrictionStatus = 'pending' | 'in_review' | 'accepted' | 'restricted';
|
|
9928
9928
|
type RiskCheck = 'three_d_secure';
|
|
9929
9929
|
type RiskEvaluation = 'Pending' | 'High-Risk' | 'Low-Risk' | 'Restricted-Party' | 'none';
|
|
9930
9930
|
type Scope = 'organization' | 'global';
|
|
@@ -10094,9 +10094,11 @@ declare namespace io.flow.internal.v0.models {
|
|
|
10094
10094
|
readonly order_service_fee?: io.flow.internal.v0.models.TieredFee;
|
|
10095
10095
|
readonly label_fee?: io.flow.internal.v0.models.TieredFee;
|
|
10096
10096
|
readonly charge_label_cost_directly: boolean;
|
|
10097
|
-
readonly transaction_posting_method
|
|
10098
|
-
readonly statement_transfer_transaction_location
|
|
10099
|
-
readonly fees_source
|
|
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;
|
|
10100
10102
|
}
|
|
10101
10103
|
interface AccountSettingsDeleted {
|
|
10102
10104
|
readonly discriminator: 'account_settings_deleted';
|
|
@@ -17310,7 +17312,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
17310
17312
|
}
|
|
17311
17313
|
interface ProductRestrictionDecision {
|
|
17312
17314
|
readonly rule_id: string;
|
|
17313
|
-
readonly status: io.flow.internal.v0.enums.
|
|
17315
|
+
readonly status: io.flow.internal.v0.enums.RestrictionStatus;
|
|
17314
17316
|
readonly matching_positive_keywords: string[];
|
|
17315
17317
|
readonly matching_negative_keywords: string[];
|
|
17316
17318
|
}
|
|
@@ -17651,13 +17653,23 @@ declare namespace io.flow.internal.v0.models {
|
|
|
17651
17653
|
interface RestrictionItem {
|
|
17652
17654
|
readonly id: string;
|
|
17653
17655
|
readonly organization_id: string;
|
|
17656
|
+
readonly product_id: string;
|
|
17654
17657
|
readonly name: string;
|
|
17655
|
-
readonly
|
|
17656
|
-
readonly
|
|
17657
|
-
readonly
|
|
17658
|
-
readonly status: io.flow.internal.v0.enums.ProductRestrictionStatus;
|
|
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;
|
|
17659
17661
|
readonly updated_at: string;
|
|
17660
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;
|
|
17672
|
+
}
|
|
17661
17673
|
interface RestrictionKeywords {
|
|
17662
17674
|
readonly positive_keywords: string[];
|
|
17663
17675
|
readonly negative_keywords: string[];
|
|
@@ -17667,21 +17679,15 @@ declare namespace io.flow.internal.v0.models {
|
|
|
17667
17679
|
readonly count: number;
|
|
17668
17680
|
}
|
|
17669
17681
|
interface RestrictionProduct {
|
|
17670
|
-
readonly id: string;
|
|
17671
17682
|
readonly organization_id: string;
|
|
17683
|
+
readonly product_id: string;
|
|
17672
17684
|
readonly name: string;
|
|
17673
17685
|
readonly description: string;
|
|
17686
|
+
readonly categories: string[];
|
|
17674
17687
|
readonly images: io.flow.catalog.v0.models.Image[];
|
|
17675
17688
|
readonly thumbnails: io.flow.catalog.v0.models.Image[];
|
|
17676
|
-
readonly categories: string[];
|
|
17677
17689
|
readonly updated_at: string;
|
|
17678
|
-
readonly restrictions: io.flow.internal.v0.models.
|
|
17679
|
-
}
|
|
17680
|
-
interface RestrictionReview {
|
|
17681
|
-
readonly rule: io.flow.internal.v0.models.RestrictionRuleSummary;
|
|
17682
|
-
readonly status: io.flow.internal.v0.enums.ProductRestrictionStatus;
|
|
17683
|
-
readonly keywords: io.flow.internal.v0.models.RestrictionKeywords;
|
|
17684
|
-
readonly date?: string;
|
|
17690
|
+
readonly restrictions: io.flow.internal.v0.models.RestrictionItemReview[];
|
|
17685
17691
|
}
|
|
17686
17692
|
interface RestrictionRule {
|
|
17687
17693
|
readonly id: string;
|
|
@@ -20706,7 +20712,6 @@ export declare type ProductRestriction = io.flow.internal.v0.models.ProductRestr
|
|
|
20706
20712
|
export declare type ProductRestrictionDecision = io.flow.internal.v0.models.ProductRestrictionDecision;
|
|
20707
20713
|
export declare type ProductRestrictionDecisionForm = io.flow.internal.v0.models.ProductRestrictionDecisionForm;
|
|
20708
20714
|
export declare type ProductRestrictionDeleted = io.flow.internal.v0.models.ProductRestrictionDeleted;
|
|
20709
|
-
export declare type ProductRestrictionStatus = io.flow.internal.v0.enums.ProductRestrictionStatus;
|
|
20710
20715
|
export declare type ProductRestrictionUpserted = io.flow.internal.v0.models.ProductRestrictionUpserted;
|
|
20711
20716
|
export declare type PromptAction = io.flow.internal.v0.enums.PromptAction;
|
|
20712
20717
|
export declare type PromptCheckoutDisplayPosition = io.flow.internal.v0.enums.PromptCheckoutDisplayPosition;
|
|
@@ -20768,13 +20773,15 @@ export declare type ResponsibleParty = io.flow.internal.v0.enums.ResponsiblePart
|
|
|
20768
20773
|
export declare type RestrictionAction = io.flow.internal.v0.enums.RestrictionAction;
|
|
20769
20774
|
export declare type RestrictionDecision = io.flow.internal.v0.enums.RestrictionDecision;
|
|
20770
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;
|
|
20771
20778
|
export declare type RestrictionKeywords = io.flow.internal.v0.models.RestrictionKeywords;
|
|
20772
20779
|
export declare type RestrictionPending = io.flow.internal.v0.models.RestrictionPending;
|
|
20773
20780
|
export declare type RestrictionProduct = io.flow.internal.v0.models.RestrictionProduct;
|
|
20774
|
-
export declare type RestrictionReview = io.flow.internal.v0.models.RestrictionReview;
|
|
20775
20781
|
export declare type RestrictionRule = io.flow.internal.v0.models.RestrictionRule;
|
|
20776
20782
|
export declare type RestrictionRuleForm = io.flow.internal.v0.models.RestrictionRuleForm;
|
|
20777
20783
|
export declare type RestrictionRuleSummary = io.flow.internal.v0.models.RestrictionRuleSummary;
|
|
20784
|
+
export declare type RestrictionStatus = io.flow.internal.v0.enums.RestrictionStatus;
|
|
20778
20785
|
export declare type ResyncByDestinations = io.flow.internal.v0.models.ResyncByDestinations;
|
|
20779
20786
|
export declare type ResyncByHs6Destinations = io.flow.internal.v0.models.ResyncByHs6Destinations;
|
|
20780
20787
|
export declare type ResyncByHs6Origin = io.flow.internal.v0.models.ResyncByHs6Origin;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flowio/types",
|
|
3
|
-
"version": "11.24.
|
|
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": "
|
|
28
|
+
"gitHead": "4d9a6eed8c7fdc587e0035ed1e48d14ee5f22e88"
|
|
29
29
|
}
|
package/src/api-internal.ts
CHANGED
|
@@ -13543,11 +13543,6 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
13543
13543
|
| 'fiserv'
|
|
13544
13544
|
| 'crypto';
|
|
13545
13545
|
type ProcessorEntityStatus = 'active' | 'draft' | 'archived';
|
|
13546
|
-
type ProductRestrictionStatus =
|
|
13547
|
-
| 'pending'
|
|
13548
|
-
| 'in_review'
|
|
13549
|
-
| 'accepted'
|
|
13550
|
-
| 'restricted';
|
|
13551
13546
|
type PromptAction = 'prompt_displayed' | 'consent_granted' | 'consent_denied';
|
|
13552
13547
|
type PromptCheckoutDisplayPosition = 'email' | 'submission';
|
|
13553
13548
|
type PromptOptions = 'notice_only' | 'require_consent' | 'consent_by_default';
|
|
@@ -13569,6 +13564,7 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
13569
13564
|
type ResponsibleParty = 'flow' | 'organization';
|
|
13570
13565
|
type RestrictionAction = 'prohibited' | 'restricted';
|
|
13571
13566
|
type RestrictionDecision = 'accept' | 'reject';
|
|
13567
|
+
type RestrictionStatus = 'pending' | 'in_review' | 'accepted' | 'restricted';
|
|
13572
13568
|
type RiskCheck = 'three_d_secure';
|
|
13573
13569
|
type RiskEvaluation =
|
|
13574
13570
|
| 'Pending'
|
|
@@ -13819,9 +13815,11 @@ declare namespace io.flow.internal.v0.models {
|
|
|
13819
13815
|
readonly order_service_fee?: io.flow.internal.v0.models.TieredFee;
|
|
13820
13816
|
readonly label_fee?: io.flow.internal.v0.models.TieredFee;
|
|
13821
13817
|
readonly charge_label_cost_directly: boolean;
|
|
13822
|
-
readonly transaction_posting_method
|
|
13823
|
-
readonly statement_transfer_transaction_location
|
|
13824
|
-
readonly fees_source
|
|
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;
|
|
13825
13823
|
}
|
|
13826
13824
|
|
|
13827
13825
|
interface AccountSettingsDeleted {
|
|
@@ -22255,7 +22253,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
22255
22253
|
|
|
22256
22254
|
interface ProductRestrictionDecision {
|
|
22257
22255
|
readonly rule_id: string;
|
|
22258
|
-
readonly status: io.flow.internal.v0.enums.
|
|
22256
|
+
readonly status: io.flow.internal.v0.enums.RestrictionStatus;
|
|
22259
22257
|
readonly matching_positive_keywords: string[];
|
|
22260
22258
|
readonly matching_negative_keywords: string[];
|
|
22261
22259
|
}
|
|
@@ -22646,14 +22644,26 @@ declare namespace io.flow.internal.v0.models {
|
|
|
22646
22644
|
interface RestrictionItem {
|
|
22647
22645
|
readonly id: string;
|
|
22648
22646
|
readonly organization_id: string;
|
|
22647
|
+
readonly product_id: string;
|
|
22649
22648
|
readonly name: string;
|
|
22650
|
-
readonly
|
|
22651
|
-
readonly
|
|
22652
|
-
readonly
|
|
22653
|
-
readonly status: io.flow.internal.v0.enums.ProductRestrictionStatus;
|
|
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;
|
|
22654
22652
|
readonly updated_at: string;
|
|
22655
22653
|
}
|
|
22656
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;
|
|
22665
|
+
}
|
|
22666
|
+
|
|
22657
22667
|
interface RestrictionKeywords {
|
|
22658
22668
|
readonly positive_keywords: string[];
|
|
22659
22669
|
readonly negative_keywords: string[];
|
|
@@ -22665,22 +22675,15 @@ declare namespace io.flow.internal.v0.models {
|
|
|
22665
22675
|
}
|
|
22666
22676
|
|
|
22667
22677
|
interface RestrictionProduct {
|
|
22668
|
-
readonly id: string;
|
|
22669
22678
|
readonly organization_id: string;
|
|
22679
|
+
readonly product_id: string;
|
|
22670
22680
|
readonly name: string;
|
|
22671
22681
|
readonly description: string;
|
|
22682
|
+
readonly categories: string[];
|
|
22672
22683
|
readonly images: io.flow.catalog.v0.models.Image[];
|
|
22673
22684
|
readonly thumbnails: io.flow.catalog.v0.models.Image[];
|
|
22674
|
-
readonly categories: string[];
|
|
22675
22685
|
readonly updated_at: string;
|
|
22676
|
-
readonly restrictions: io.flow.internal.v0.models.
|
|
22677
|
-
}
|
|
22678
|
-
|
|
22679
|
-
interface RestrictionReview {
|
|
22680
|
-
readonly rule: io.flow.internal.v0.models.RestrictionRuleSummary;
|
|
22681
|
-
readonly status: io.flow.internal.v0.enums.ProductRestrictionStatus;
|
|
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 {
|
|
@@ -27839,8 +27842,6 @@ export type ProductRestrictionDecisionForm =
|
|
|
27839
27842
|
io.flow.internal.v0.models.ProductRestrictionDecisionForm;
|
|
27840
27843
|
export type ProductRestrictionDeleted =
|
|
27841
27844
|
io.flow.internal.v0.models.ProductRestrictionDeleted;
|
|
27842
|
-
export type ProductRestrictionStatus =
|
|
27843
|
-
io.flow.internal.v0.enums.ProductRestrictionStatus;
|
|
27844
27845
|
export type ProductRestrictionUpserted =
|
|
27845
27846
|
io.flow.internal.v0.models.ProductRestrictionUpserted;
|
|
27846
27847
|
export type PromptAction = io.flow.internal.v0.enums.PromptAction;
|
|
@@ -27934,16 +27935,20 @@ export type ResponsibleParty = io.flow.internal.v0.enums.ResponsibleParty;
|
|
|
27934
27935
|
export type RestrictionAction = io.flow.internal.v0.enums.RestrictionAction;
|
|
27935
27936
|
export type RestrictionDecision = io.flow.internal.v0.enums.RestrictionDecision;
|
|
27936
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;
|
|
27937
27942
|
export type RestrictionKeywords =
|
|
27938
27943
|
io.flow.internal.v0.models.RestrictionKeywords;
|
|
27939
27944
|
export type RestrictionPending = io.flow.internal.v0.models.RestrictionPending;
|
|
27940
27945
|
export type RestrictionProduct = io.flow.internal.v0.models.RestrictionProduct;
|
|
27941
|
-
export type RestrictionReview = io.flow.internal.v0.models.RestrictionReview;
|
|
27942
27946
|
export type RestrictionRule = io.flow.internal.v0.models.RestrictionRule;
|
|
27943
27947
|
export type RestrictionRuleForm =
|
|
27944
27948
|
io.flow.internal.v0.models.RestrictionRuleForm;
|
|
27945
27949
|
export type RestrictionRuleSummary =
|
|
27946
27950
|
io.flow.internal.v0.models.RestrictionRuleSummary;
|
|
27951
|
+
export type RestrictionStatus = io.flow.internal.v0.enums.RestrictionStatus;
|
|
27947
27952
|
export type ResyncByDestinations =
|
|
27948
27953
|
io.flow.internal.v0.models.ResyncByDestinations;
|
|
27949
27954
|
export type ResyncByHs6Destinations =
|