@flowio/api-internal-prop-types 9.24.7 → 9.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/lib/api-internal.d.ts +29 -21
- package/lib/api-internal.js +1 -1
- package/package.json +2 -2
- package/src/api-internal.d.ts +29 -21
- package/src/api-internal.js +24 -16
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flowio/api-internal-prop-types",
|
|
3
|
-
"version": "9.24.
|
|
3
|
+
"version": "9.24.8",
|
|
4
4
|
"description": "PropType validators that work with internal Flow API",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"flow",
|
|
@@ -30,5 +30,5 @@
|
|
|
30
30
|
"peerDependencies": {
|
|
31
31
|
"prop-types": "^15.7.0"
|
|
32
32
|
},
|
|
33
|
-
"gitHead": "
|
|
33
|
+
"gitHead": "4d9a6eed8c7fdc587e0035ed1e48d14ee5f22e88"
|
|
34
34
|
}
|
package/src/api-internal.d.ts
CHANGED
|
@@ -11373,7 +11373,6 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
11373
11373
|
type ProcessingTransactionType = 'adjustment' | 'capture' | 'refund' | 'fully_subsidized_order' | 'credit_payment';
|
|
11374
11374
|
type Processor = 'adyen' | 'afterpay' | 'bitpay' | 'stripe' | 'paypal' | 'flow_sandbox' | 'fiserv' | 'crypto';
|
|
11375
11375
|
type ProcessorEntityStatus = 'active' | 'draft' | 'archived';
|
|
11376
|
-
type ProductRestrictionStatus = 'pending' | 'in_review' | 'accepted' | 'restricted';
|
|
11377
11376
|
type PromptAction = 'prompt_displayed' | 'consent_granted' | 'consent_denied';
|
|
11378
11377
|
type PromptCheckoutDisplayPosition = 'email' | 'submission';
|
|
11379
11378
|
type PromptOptions = 'notice_only' | 'require_consent' | 'consent_by_default';
|
|
@@ -11387,6 +11386,7 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
11387
11386
|
type ResponsibleParty = 'flow' | 'organization';
|
|
11388
11387
|
type RestrictionAction = 'prohibited' | 'restricted';
|
|
11389
11388
|
type RestrictionDecision = 'accept' | 'reject';
|
|
11389
|
+
type RestrictionStatus = 'pending' | 'in_review' | 'accepted' | 'restricted';
|
|
11390
11390
|
type RiskCheck = 'three_d_secure';
|
|
11391
11391
|
type RiskEvaluation = 'Pending' | 'High-Risk' | 'Low-Risk' | 'Restricted-Party' | 'none';
|
|
11392
11392
|
type Scope = 'organization' | 'global';
|
|
@@ -11574,9 +11574,11 @@ declare namespace io.flow.internal.v0.models {
|
|
|
11574
11574
|
readonly 'order_service_fee'?: io.flow.internal.v0.models.TieredFee;
|
|
11575
11575
|
readonly 'label_fee'?: io.flow.internal.v0.models.TieredFee;
|
|
11576
11576
|
readonly 'charge_label_cost_directly': boolean;
|
|
11577
|
-
readonly 'transaction_posting_method'
|
|
11578
|
-
readonly 'statement_transfer_transaction_location'
|
|
11579
|
-
readonly 'fees_source'
|
|
11577
|
+
readonly 'transaction_posting_method': io.flow.internal.v0.enums.TransactionPostingMethod;
|
|
11578
|
+
readonly 'statement_transfer_transaction_location': io.flow.internal.v0.enums.StatementTransferTransactionLocation;
|
|
11579
|
+
readonly 'fees_source': io.flow.internal.v0.enums.FeesSource;
|
|
11580
|
+
readonly 'require_payment_request': boolean;
|
|
11581
|
+
readonly 'round_individual_transactions': boolean;
|
|
11580
11582
|
}
|
|
11581
11583
|
|
|
11582
11584
|
interface AccountSettingsDeleted {
|
|
@@ -19986,7 +19988,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
19986
19988
|
|
|
19987
19989
|
interface ProductRestrictionDecision {
|
|
19988
19990
|
readonly 'rule_id': string;
|
|
19989
|
-
readonly 'status': io.flow.internal.v0.enums.
|
|
19991
|
+
readonly 'status': io.flow.internal.v0.enums.RestrictionStatus;
|
|
19990
19992
|
readonly 'matching_positive_keywords': string[];
|
|
19991
19993
|
readonly 'matching_negative_keywords': string[];
|
|
19992
19994
|
}
|
|
@@ -20377,14 +20379,26 @@ declare namespace io.flow.internal.v0.models {
|
|
|
20377
20379
|
interface RestrictionItem {
|
|
20378
20380
|
readonly 'id': string;
|
|
20379
20381
|
readonly 'organization_id': string;
|
|
20382
|
+
readonly 'product_id': string;
|
|
20380
20383
|
readonly 'name': string;
|
|
20381
|
-
readonly '
|
|
20382
|
-
readonly '
|
|
20383
|
-
readonly '
|
|
20384
|
-
readonly 'status': io.flow.internal.v0.enums.ProductRestrictionStatus;
|
|
20384
|
+
readonly 'images': io.flow.catalog.v0.models.Image[];
|
|
20385
|
+
readonly 'thumbnails': io.flow.catalog.v0.models.Image[];
|
|
20386
|
+
readonly 'review': io.flow.internal.v0.models.RestrictionItemReview;
|
|
20385
20387
|
readonly 'updated_at': string;
|
|
20386
20388
|
}
|
|
20387
20389
|
|
|
20390
|
+
interface RestrictionItemReview {
|
|
20391
|
+
readonly 'rule': io.flow.internal.v0.models.RestrictionRuleSummary;
|
|
20392
|
+
readonly 'status': io.flow.internal.v0.enums.RestrictionStatus;
|
|
20393
|
+
readonly 'keywords': io.flow.internal.v0.models.RestrictionKeywords;
|
|
20394
|
+
readonly 'date'?: string;
|
|
20395
|
+
}
|
|
20396
|
+
|
|
20397
|
+
interface RestrictionItemReviewDecisionForm {
|
|
20398
|
+
readonly 'restriction_item_id': string;
|
|
20399
|
+
readonly 'decision': io.flow.internal.v0.enums.RestrictionDecision;
|
|
20400
|
+
}
|
|
20401
|
+
|
|
20388
20402
|
interface RestrictionKeywords {
|
|
20389
20403
|
readonly 'positive_keywords': string[];
|
|
20390
20404
|
readonly 'negative_keywords': string[];
|
|
@@ -20396,22 +20410,15 @@ declare namespace io.flow.internal.v0.models {
|
|
|
20396
20410
|
}
|
|
20397
20411
|
|
|
20398
20412
|
interface RestrictionProduct {
|
|
20399
|
-
readonly 'id': string;
|
|
20400
20413
|
readonly 'organization_id': string;
|
|
20414
|
+
readonly 'product_id': string;
|
|
20401
20415
|
readonly 'name': string;
|
|
20402
20416
|
readonly 'description': string;
|
|
20417
|
+
readonly 'categories': string[];
|
|
20403
20418
|
readonly 'images': io.flow.catalog.v0.models.Image[];
|
|
20404
20419
|
readonly 'thumbnails': io.flow.catalog.v0.models.Image[];
|
|
20405
|
-
readonly 'categories': string[];
|
|
20406
20420
|
readonly 'updated_at': string;
|
|
20407
|
-
readonly 'restrictions': io.flow.internal.v0.models.
|
|
20408
|
-
}
|
|
20409
|
-
|
|
20410
|
-
interface RestrictionReview {
|
|
20411
|
-
readonly 'rule': io.flow.internal.v0.models.RestrictionRuleSummary;
|
|
20412
|
-
readonly 'status': io.flow.internal.v0.enums.ProductRestrictionStatus;
|
|
20413
|
-
readonly 'keywords': io.flow.internal.v0.models.RestrictionKeywords;
|
|
20414
|
-
readonly 'date'?: string;
|
|
20421
|
+
readonly 'restrictions': io.flow.internal.v0.models.RestrictionItemReview[];
|
|
20415
20422
|
}
|
|
20416
20423
|
|
|
20417
20424
|
interface RestrictionRule {
|
|
@@ -22316,7 +22323,6 @@ export const pricingIndicatorStatus: PropTypes.Requireable<io.flow.internal.v0.e
|
|
|
22316
22323
|
export const processingTransactionType: PropTypes.Requireable<io.flow.internal.v0.enums.ProcessingTransactionType>;
|
|
22317
22324
|
export const processor: PropTypes.Requireable<io.flow.internal.v0.enums.Processor>;
|
|
22318
22325
|
export const processorEntityStatus: PropTypes.Requireable<io.flow.internal.v0.enums.ProcessorEntityStatus>;
|
|
22319
|
-
export const productRestrictionStatus: PropTypes.Requireable<io.flow.internal.v0.enums.ProductRestrictionStatus>;
|
|
22320
22326
|
export const promptAction: PropTypes.Requireable<io.flow.internal.v0.enums.PromptAction>;
|
|
22321
22327
|
export const promptCheckoutDisplayPosition: PropTypes.Requireable<io.flow.internal.v0.enums.PromptCheckoutDisplayPosition>;
|
|
22322
22328
|
export const promptOptions: PropTypes.Requireable<io.flow.internal.v0.enums.PromptOptions>;
|
|
@@ -22330,6 +22336,7 @@ export const reportingScheme: PropTypes.Requireable<io.flow.internal.v0.enums.Re
|
|
|
22330
22336
|
export const responsibleParty: PropTypes.Requireable<io.flow.internal.v0.enums.ResponsibleParty>;
|
|
22331
22337
|
export const restrictionAction: PropTypes.Requireable<io.flow.internal.v0.enums.RestrictionAction>;
|
|
22332
22338
|
export const restrictionDecision: PropTypes.Requireable<io.flow.internal.v0.enums.RestrictionDecision>;
|
|
22339
|
+
export const restrictionStatus: PropTypes.Requireable<io.flow.internal.v0.enums.RestrictionStatus>;
|
|
22333
22340
|
export const riskCheck: PropTypes.Requireable<io.flow.internal.v0.enums.RiskCheck>;
|
|
22334
22341
|
export const riskEvaluation: PropTypes.Requireable<io.flow.internal.v0.enums.RiskEvaluation>;
|
|
22335
22342
|
export const scope: PropTypes.Requireable<io.flow.internal.v0.enums.Scope>;
|
|
@@ -23626,10 +23633,11 @@ export const registeredExporterTariffEligibilityData: PropTypes.Requireable<io.f
|
|
|
23626
23633
|
export const registeredExporterTariffEligibilityForm: PropTypes.Requireable<io.flow.internal.v0.models.RegisteredExporterTariffEligibilityForm>;
|
|
23627
23634
|
export const requeueRequestForm: PropTypes.Requireable<io.flow.internal.v0.models.RequeueRequestForm>;
|
|
23628
23635
|
export const restrictionItem: PropTypes.Requireable<io.flow.internal.v0.models.RestrictionItem>;
|
|
23636
|
+
export const restrictionItemReview: PropTypes.Requireable<io.flow.internal.v0.models.RestrictionItemReview>;
|
|
23637
|
+
export const restrictionItemReviewDecisionForm: PropTypes.Requireable<io.flow.internal.v0.models.RestrictionItemReviewDecisionForm>;
|
|
23629
23638
|
export const restrictionKeywords: PropTypes.Requireable<io.flow.internal.v0.models.RestrictionKeywords>;
|
|
23630
23639
|
export const restrictionPending: PropTypes.Requireable<io.flow.internal.v0.models.RestrictionPending>;
|
|
23631
23640
|
export const restrictionProduct: PropTypes.Requireable<io.flow.internal.v0.models.RestrictionProduct>;
|
|
23632
|
-
export const restrictionReview: PropTypes.Requireable<io.flow.internal.v0.models.RestrictionReview>;
|
|
23633
23641
|
export const restrictionRule: PropTypes.Requireable<io.flow.internal.v0.models.RestrictionRule>;
|
|
23634
23642
|
export const restrictionRuleForm: PropTypes.Requireable<io.flow.internal.v0.models.RestrictionRuleForm>;
|
|
23635
23643
|
export const restrictionRuleSummary: PropTypes.Requireable<io.flow.internal.v0.models.RestrictionRuleSummary>;
|
package/src/api-internal.js
CHANGED
|
@@ -8693,16 +8693,21 @@ T['io.flow.internal.v0.enums.duty_selection_rule'] = PropTypes.oneOf([
|
|
|
8693
8693
|
|
|
8694
8694
|
T['io.flow.internal.v0.enums.restriction_decision'] = PropTypes.oneOf(['accept', 'reject']);
|
|
8695
8695
|
|
|
8696
|
+
T['io.flow.internal.v0.models.restriction_item_review_decision_form'] = PropTypes.exact({
|
|
8697
|
+
restriction_item_id: PropTypes.string.isRequired,
|
|
8698
|
+
decision: T['io.flow.internal.v0.enums.restriction_decision'].isRequired,
|
|
8699
|
+
});
|
|
8700
|
+
|
|
8696
8701
|
T['io.flow.internal.v0.models.product_restriction_decision_form'] = PropTypes.exact({
|
|
8697
8702
|
rule_id: PropTypes.string.isRequired,
|
|
8698
8703
|
decision: T['io.flow.internal.v0.enums.restriction_decision'].isRequired,
|
|
8699
8704
|
});
|
|
8700
8705
|
|
|
8701
|
-
T['io.flow.internal.v0.enums.
|
|
8706
|
+
T['io.flow.internal.v0.enums.restriction_status'] = PropTypes.oneOf(['pending', 'in_review', 'accepted', 'restricted']);
|
|
8702
8707
|
|
|
8703
8708
|
T['io.flow.internal.v0.models.product_restriction_decision'] = PropTypes.exact({
|
|
8704
8709
|
rule_id: PropTypes.string.isRequired,
|
|
8705
|
-
status: T['io.flow.internal.v0.enums.
|
|
8710
|
+
status: T['io.flow.internal.v0.enums.restriction_status'].isRequired,
|
|
8706
8711
|
matching_positive_keywords: PropTypes.arrayOf(PropTypes.string).isRequired,
|
|
8707
8712
|
matching_negative_keywords: PropTypes.arrayOf(PropTypes.string).isRequired,
|
|
8708
8713
|
});
|
|
@@ -9036,9 +9041,9 @@ T['io.flow.internal.v0.models.restriction_rule_summary'] = PropTypes.exact({
|
|
|
9036
9041
|
description: PropTypes.string.isRequired,
|
|
9037
9042
|
});
|
|
9038
9043
|
|
|
9039
|
-
T['io.flow.internal.v0.models.
|
|
9044
|
+
T['io.flow.internal.v0.models.restriction_item_review'] = PropTypes.exact({
|
|
9040
9045
|
rule: T['io.flow.internal.v0.models.restriction_rule_summary'].isRequired,
|
|
9041
|
-
status: T['io.flow.internal.v0.enums.
|
|
9046
|
+
status: T['io.flow.internal.v0.enums.restriction_status'].isRequired,
|
|
9042
9047
|
keywords: T['io.flow.internal.v0.models.restriction_keywords'].isRequired,
|
|
9043
9048
|
date: PropTypes.string,
|
|
9044
9049
|
});
|
|
@@ -14657,25 +14662,25 @@ T['io.flow.catalog.v0.models.image'] = PropTypes.exact({
|
|
|
14657
14662
|
});
|
|
14658
14663
|
|
|
14659
14664
|
T['io.flow.internal.v0.models.restriction_product'] = PropTypes.exact({
|
|
14660
|
-
id: PropTypes.string.isRequired,
|
|
14661
14665
|
organization_id: PropTypes.string.isRequired,
|
|
14666
|
+
product_id: PropTypes.string.isRequired,
|
|
14662
14667
|
name: PropTypes.string.isRequired,
|
|
14663
14668
|
description: PropTypes.string.isRequired,
|
|
14669
|
+
categories: PropTypes.arrayOf(PropTypes.string).isRequired,
|
|
14664
14670
|
images: PropTypes.arrayOf(T['io.flow.catalog.v0.models.image']).isRequired,
|
|
14665
14671
|
thumbnails: PropTypes.arrayOf(T['io.flow.catalog.v0.models.image']).isRequired,
|
|
14666
|
-
categories: PropTypes.arrayOf(PropTypes.string).isRequired,
|
|
14667
14672
|
updated_at: PropTypes.string.isRequired,
|
|
14668
|
-
restrictions: PropTypes.arrayOf(T['io.flow.internal.v0.models.
|
|
14673
|
+
restrictions: PropTypes.arrayOf(T['io.flow.internal.v0.models.restriction_item_review']).isRequired,
|
|
14669
14674
|
});
|
|
14670
14675
|
|
|
14671
14676
|
T['io.flow.internal.v0.models.restriction_item'] = PropTypes.exact({
|
|
14672
14677
|
id: PropTypes.string.isRequired,
|
|
14673
14678
|
organization_id: PropTypes.string.isRequired,
|
|
14679
|
+
product_id: PropTypes.string.isRequired,
|
|
14674
14680
|
name: PropTypes.string.isRequired,
|
|
14675
|
-
|
|
14676
|
-
|
|
14677
|
-
|
|
14678
|
-
status: T['io.flow.internal.v0.enums.product_restriction_status'].isRequired,
|
|
14681
|
+
images: PropTypes.arrayOf(T['io.flow.catalog.v0.models.image']).isRequired,
|
|
14682
|
+
thumbnails: PropTypes.arrayOf(T['io.flow.catalog.v0.models.image']).isRequired,
|
|
14683
|
+
review: T['io.flow.internal.v0.models.restriction_item_review'].isRequired,
|
|
14679
14684
|
updated_at: PropTypes.string.isRequired,
|
|
14680
14685
|
});
|
|
14681
14686
|
|
|
@@ -20781,9 +20786,11 @@ T['io.flow.internal.v0.models.account_settings'] = PropTypes.exact({
|
|
|
20781
20786
|
order_service_fee: T['io.flow.internal.v0.models.tiered_fee'],
|
|
20782
20787
|
label_fee: T['io.flow.internal.v0.models.tiered_fee'],
|
|
20783
20788
|
charge_label_cost_directly: PropTypes.bool.isRequired,
|
|
20784
|
-
transaction_posting_method: T['io.flow.internal.v0.enums.transaction_posting_method'],
|
|
20785
|
-
statement_transfer_transaction_location: T['io.flow.internal.v0.enums.statement_transfer_transaction_location'],
|
|
20786
|
-
fees_source: T['io.flow.internal.v0.enums.fees_source'],
|
|
20789
|
+
transaction_posting_method: T['io.flow.internal.v0.enums.transaction_posting_method'].isRequired,
|
|
20790
|
+
statement_transfer_transaction_location: T['io.flow.internal.v0.enums.statement_transfer_transaction_location'].isRequired,
|
|
20791
|
+
fees_source: T['io.flow.internal.v0.enums.fees_source'].isRequired,
|
|
20792
|
+
require_payment_request: PropTypes.bool.isRequired,
|
|
20793
|
+
round_individual_transactions: PropTypes.bool.isRequired,
|
|
20787
20794
|
});
|
|
20788
20795
|
|
|
20789
20796
|
T['io.flow.internal.v0.models.account_settings_upserted'] = PropTypes.exact({
|
|
@@ -27034,7 +27041,6 @@ export const productRestriction = T['io.flow.internal.v0.models.product_restrict
|
|
|
27034
27041
|
export const productRestrictionDecision = T['io.flow.internal.v0.models.product_restriction_decision'];
|
|
27035
27042
|
export const productRestrictionDecisionForm = T['io.flow.internal.v0.models.product_restriction_decision_form'];
|
|
27036
27043
|
export const productRestrictionDeleted = T['io.flow.internal.v0.models.product_restriction_deleted'];
|
|
27037
|
-
export const productRestrictionStatus = T['io.flow.internal.v0.enums.product_restriction_status'];
|
|
27038
27044
|
export const productRestrictionUpserted = T['io.flow.internal.v0.models.product_restriction_upserted'];
|
|
27039
27045
|
export const promptAction = T['io.flow.internal.v0.enums.prompt_action'];
|
|
27040
27046
|
export const promptCheckoutDisplayPosition = T['io.flow.internal.v0.enums.prompt_checkout_display_position'];
|
|
@@ -27096,13 +27102,15 @@ export const responsibleParty = T['io.flow.internal.v0.enums.responsible_party']
|
|
|
27096
27102
|
export const restrictionAction = T['io.flow.internal.v0.enums.restriction_action'];
|
|
27097
27103
|
export const restrictionDecision = T['io.flow.internal.v0.enums.restriction_decision'];
|
|
27098
27104
|
export const restrictionItem = T['io.flow.internal.v0.models.restriction_item'];
|
|
27105
|
+
export const restrictionItemReview = T['io.flow.internal.v0.models.restriction_item_review'];
|
|
27106
|
+
export const restrictionItemReviewDecisionForm = T['io.flow.internal.v0.models.restriction_item_review_decision_form'];
|
|
27099
27107
|
export const restrictionKeywords = T['io.flow.internal.v0.models.restriction_keywords'];
|
|
27100
27108
|
export const restrictionPending = T['io.flow.internal.v0.models.restriction_pending'];
|
|
27101
27109
|
export const restrictionProduct = T['io.flow.internal.v0.models.restriction_product'];
|
|
27102
|
-
export const restrictionReview = T['io.flow.internal.v0.models.restriction_review'];
|
|
27103
27110
|
export const restrictionRule = T['io.flow.internal.v0.models.restriction_rule'];
|
|
27104
27111
|
export const restrictionRuleForm = T['io.flow.internal.v0.models.restriction_rule_form'];
|
|
27105
27112
|
export const restrictionRuleSummary = T['io.flow.internal.v0.models.restriction_rule_summary'];
|
|
27113
|
+
export const restrictionStatus = T['io.flow.internal.v0.enums.restriction_status'];
|
|
27106
27114
|
export const resyncByDestinations = T['io.flow.internal.v0.models.resync_by_destinations'];
|
|
27107
27115
|
export const resyncByHs6Destinations = T['io.flow.internal.v0.models.resync_by_hs6_destinations'];
|
|
27108
27116
|
export const resyncByHs6Origin = T['io.flow.internal.v0.models.resync_by_hs6_origin'];
|