@flowio/api-internal-prop-types 9.24.119 → 9.24.120
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 +23 -8
- package/lib/api-internal.js +1 -1
- package/package.json +2 -2
- package/src/api-internal.d.ts +23 -8
- package/src/api-internal.js +24 -8
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.120",
|
|
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": "7d28f997ef6b47ba201019e1b3cfbf16b47cece1"
|
|
34
34
|
}
|
package/src/api-internal.d.ts
CHANGED
|
@@ -13940,6 +13940,7 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
13940
13940
|
type GoogleAnalyticsPlugin = 'ec';
|
|
13941
13941
|
type GraphqlServiceTypes = 'order_update_mutation' | 'shipping_address_validation' | 'bulk_publication_status' | 'country_catalog_sync' | 'inventory_item' | 'product_bundle' | 'shopify_location' | 'shopify_order' | 'sync_product_catalog' | 'shopify_webhook';
|
|
13942
13942
|
type HarmonizationDecisionSource = 'human' | 'system' | 'legacy_model' | 'enterprise_model' | 'merchant';
|
|
13943
|
+
type HoseinItemType = 'physical' | 'digital';
|
|
13943
13944
|
type HttpMethod = 'get' | 'post';
|
|
13944
13945
|
type InternalPaymentEntityType = 'authorization' | 'capture' | 'refund' | 'dispute';
|
|
13945
13946
|
type ItemClassificationAction = 'ACCEPT' | 'MANUAL' | 'REJECT';
|
|
@@ -13999,6 +14000,7 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
13999
14000
|
type PaymentSummaryStatus = 'authorized' | 'canceled' | 'declined' | 'expired' | 'failed' | 'pending' | 'processed' | 'reversed' | 'review' | 'succeeded';
|
|
14000
14001
|
type PaymentSummaryType = 'authorization' | 'capture' | 'refund' | 'reversal' | 'credit';
|
|
14001
14002
|
type PaymentTerm = 'net7' | 'net15' | 'net30';
|
|
14003
|
+
type PendingRecordType = 'verification' | 'classification' | 'restriction';
|
|
14002
14004
|
type PrateekItemType = 'physical' | 'digital';
|
|
14003
14005
|
type PreferredBillingSchedule = 'monthly' | 'bi-monthly';
|
|
14004
14006
|
type PriceSelector = 'minimum' | 'maximum';
|
|
@@ -18892,6 +18894,23 @@ declare namespace io.flow.internal.v0.models {
|
|
|
18892
18894
|
readonly 'export_id': string;
|
|
18893
18895
|
}
|
|
18894
18896
|
|
|
18897
|
+
interface HoseinItem {
|
|
18898
|
+
readonly 'id': string;
|
|
18899
|
+
readonly 'number': string;
|
|
18900
|
+
readonly 'amount': io.flow.common.v0.models.Price;
|
|
18901
|
+
readonly 'description'?: string;
|
|
18902
|
+
readonly 'type': io.flow.internal.v0.enums.HoseinItemType;
|
|
18903
|
+
readonly 'added_on': string;
|
|
18904
|
+
}
|
|
18905
|
+
|
|
18906
|
+
interface HoseinItemForm {
|
|
18907
|
+
readonly 'number': string;
|
|
18908
|
+
readonly 'amount': io.flow.common.v0.models.Price;
|
|
18909
|
+
readonly 'description'?: string;
|
|
18910
|
+
readonly 'type': io.flow.internal.v0.enums.HoseinItemType;
|
|
18911
|
+
readonly 'added_on': string;
|
|
18912
|
+
}
|
|
18913
|
+
|
|
18895
18914
|
interface Href {
|
|
18896
18915
|
readonly 'discriminator': 'href';
|
|
18897
18916
|
readonly 'label': io.flow.internal.v0.models.ContentLabel;
|
|
@@ -21096,11 +21115,6 @@ declare namespace io.flow.internal.v0.models {
|
|
|
21096
21115
|
readonly 'product_count': number;
|
|
21097
21116
|
readonly 'restricted_product_count': number;
|
|
21098
21117
|
readonly 'last_order_submitted_at'?: string;
|
|
21099
|
-
readonly 'matching_positive_keywords': string[];
|
|
21100
|
-
readonly 'product_categories': string[];
|
|
21101
|
-
readonly 'matching_negative_keywords': string[];
|
|
21102
|
-
readonly 'decisions_user_ids': string[];
|
|
21103
|
-
readonly 'restriction_rule_ids': string[];
|
|
21104
21118
|
}
|
|
21105
21119
|
|
|
21106
21120
|
interface OrganizationMetadataDeleted {
|
|
@@ -23130,7 +23144,6 @@ declare namespace io.flow.internal.v0.models {
|
|
|
23130
23144
|
}
|
|
23131
23145
|
|
|
23132
23146
|
interface RestrictionFilter {
|
|
23133
|
-
readonly 'categories': string[];
|
|
23134
23147
|
readonly 'users': io.flow.common.v0.models.User[];
|
|
23135
23148
|
readonly 'rules': io.flow.internal.v0.models.RestrictionRuleSummary[];
|
|
23136
23149
|
readonly 'positive_keywords': string[];
|
|
@@ -23176,7 +23189,6 @@ declare namespace io.flow.internal.v0.models {
|
|
|
23176
23189
|
readonly 'statuses'?: io.flow.internal.v0.enums.RestrictionStatus[];
|
|
23177
23190
|
readonly 'rule_ids'?: string[];
|
|
23178
23191
|
readonly 'user_ids'?: string[];
|
|
23179
|
-
readonly 'categories'?: string[];
|
|
23180
23192
|
readonly 'category'?: string;
|
|
23181
23193
|
readonly 'product_name_query'?: string;
|
|
23182
23194
|
readonly 'hs6'?: string;
|
|
@@ -23303,7 +23315,6 @@ declare namespace io.flow.internal.v0.models {
|
|
|
23303
23315
|
readonly 'positive_keywords'?: string[];
|
|
23304
23316
|
readonly 'negative_keywords'?: string[];
|
|
23305
23317
|
readonly 'user_ids'?: string[];
|
|
23306
|
-
readonly 'categories'?: string[];
|
|
23307
23318
|
readonly 'category'?: string;
|
|
23308
23319
|
readonly 'product_name_query'?: string;
|
|
23309
23320
|
readonly 'hs6'?: string;
|
|
@@ -26354,6 +26365,7 @@ export const geIngestionFileStatus: PropTypes.Requireable<io.flow.internal.v0.en
|
|
|
26354
26365
|
export const googleAnalyticsPlugin: PropTypes.Requireable<io.flow.internal.v0.enums.GoogleAnalyticsPlugin>;
|
|
26355
26366
|
export const graphqlServiceTypes: PropTypes.Requireable<io.flow.internal.v0.enums.GraphqlServiceTypes>;
|
|
26356
26367
|
export const harmonizationDecisionSource: PropTypes.Requireable<io.flow.internal.v0.enums.HarmonizationDecisionSource>;
|
|
26368
|
+
export const hoseinItemType: PropTypes.Requireable<io.flow.internal.v0.enums.HoseinItemType>;
|
|
26357
26369
|
export const httpMethod: PropTypes.Requireable<io.flow.internal.v0.enums.HttpMethod>;
|
|
26358
26370
|
export const internalPaymentEntityType: PropTypes.Requireable<io.flow.internal.v0.enums.InternalPaymentEntityType>;
|
|
26359
26371
|
export const itemClassificationAction: PropTypes.Requireable<io.flow.internal.v0.enums.ItemClassificationAction>;
|
|
@@ -26413,6 +26425,7 @@ export const paymentShortUrlDiscriminator: PropTypes.Requireable<io.flow.interna
|
|
|
26413
26425
|
export const paymentSummaryStatus: PropTypes.Requireable<io.flow.internal.v0.enums.PaymentSummaryStatus>;
|
|
26414
26426
|
export const paymentSummaryType: PropTypes.Requireable<io.flow.internal.v0.enums.PaymentSummaryType>;
|
|
26415
26427
|
export const paymentTerm: PropTypes.Requireable<io.flow.internal.v0.enums.PaymentTerm>;
|
|
26428
|
+
export const pendingRecordType: PropTypes.Requireable<io.flow.internal.v0.enums.PendingRecordType>;
|
|
26416
26429
|
export const prateekItemType: PropTypes.Requireable<io.flow.internal.v0.enums.PrateekItemType>;
|
|
26417
26430
|
export const preferredBillingSchedule: PropTypes.Requireable<io.flow.internal.v0.enums.PreferredBillingSchedule>;
|
|
26418
26431
|
export const priceSelector: PropTypes.Requireable<io.flow.internal.v0.enums.PriceSelector>;
|
|
@@ -27107,6 +27120,8 @@ export const harmonizationThresholdForm: PropTypes.Requireable<io.flow.internal.
|
|
|
27107
27120
|
export const harmonizationUnclassifiedStatistics: PropTypes.Requireable<io.flow.internal.v0.models.HarmonizationUnclassifiedStatistics>;
|
|
27108
27121
|
export const harmonizeFullyRequestV2: PropTypes.Requireable<io.flow.internal.v0.models.HarmonizeFullyRequestV2>;
|
|
27109
27122
|
export const harmonizedItemsHs6Export: PropTypes.Requireable<io.flow.internal.v0.models.HarmonizedItemsHs6Export>;
|
|
27123
|
+
export const hoseinItem: PropTypes.Requireable<io.flow.internal.v0.models.HoseinItem>;
|
|
27124
|
+
export const hoseinItemForm: PropTypes.Requireable<io.flow.internal.v0.models.HoseinItemForm>;
|
|
27110
27125
|
export const href: PropTypes.Requireable<io.flow.internal.v0.models.Href>;
|
|
27111
27126
|
export const hs6: PropTypes.Requireable<io.flow.internal.v0.models.Hs6>;
|
|
27112
27127
|
export const hs6Metadata: PropTypes.Requireable<io.flow.internal.v0.models.Hs6Metadata>;
|
package/src/api-internal.js
CHANGED
|
@@ -12351,11 +12351,6 @@ T['io.flow.internal.v0.models.organization_metadata'] = PropTypes.exact({
|
|
|
12351
12351
|
product_count: PropTypes.number.isRequired,
|
|
12352
12352
|
restricted_product_count: PropTypes.number.isRequired,
|
|
12353
12353
|
last_order_submitted_at: PropTypes.string,
|
|
12354
|
-
matching_positive_keywords: PropTypes.arrayOf(PropTypes.string).isRequired,
|
|
12355
|
-
product_categories: PropTypes.arrayOf(PropTypes.string).isRequired,
|
|
12356
|
-
matching_negative_keywords: PropTypes.arrayOf(PropTypes.string).isRequired,
|
|
12357
|
-
decisions_user_ids: PropTypes.arrayOf(PropTypes.string).isRequired,
|
|
12358
|
-
restriction_rule_ids: PropTypes.arrayOf(PropTypes.string).isRequired,
|
|
12359
12354
|
});
|
|
12360
12355
|
|
|
12361
12356
|
T['io.flow.internal.v0.models.organization_metadata_upserted'] = PropTypes.exact({
|
|
@@ -14563,6 +14558,8 @@ T['io.flow.internal.v0.models.internal_afterpay_authorization_details'] = PropTy
|
|
|
14563
14558
|
afterpay_authentication_data: T['io.flow.internal.v0.models.afterpay_authentication_data_reference'].isRequired,
|
|
14564
14559
|
});
|
|
14565
14560
|
|
|
14561
|
+
T['io.flow.internal.v0.enums.hosein_item_type'] = PropTypes.oneOf(['physical', 'digital']);
|
|
14562
|
+
|
|
14566
14563
|
T['io.flow.internal.v0.models.harmonization_ml_model_summary'] = PropTypes.exact({
|
|
14567
14564
|
id: PropTypes.string,
|
|
14568
14565
|
customs_description: PropTypes.string,
|
|
@@ -20049,7 +20046,6 @@ T['io.flow.internal.v0.models.restriction_item_request_form'] = PropTypes.exact(
|
|
|
20049
20046
|
statuses: PropTypes.arrayOf(T['io.flow.internal.v0.enums.restriction_status']),
|
|
20050
20047
|
rule_ids: PropTypes.arrayOf(PropTypes.string),
|
|
20051
20048
|
user_ids: PropTypes.arrayOf(PropTypes.string),
|
|
20052
|
-
categories: PropTypes.arrayOf(PropTypes.string),
|
|
20053
20049
|
category: PropTypes.string,
|
|
20054
20050
|
product_name_query: PropTypes.string,
|
|
20055
20051
|
hs6: PropTypes.string,
|
|
@@ -20218,7 +20214,6 @@ T['io.flow.internal.v0.models.restriction_item_review'] = PropTypes.exact({
|
|
|
20218
20214
|
});
|
|
20219
20215
|
|
|
20220
20216
|
T['io.flow.internal.v0.models.restriction_filter'] = PropTypes.exact({
|
|
20221
|
-
categories: PropTypes.arrayOf(PropTypes.string).isRequired,
|
|
20222
20217
|
users: PropTypes.arrayOf(T['io.flow.common.v0.models.user']).isRequired,
|
|
20223
20218
|
rules: PropTypes.arrayOf(T['io.flow.internal.v0.models.restriction_rule_summary']).isRequired,
|
|
20224
20219
|
positive_keywords: PropTypes.arrayOf(PropTypes.string).isRequired,
|
|
@@ -25102,6 +25097,23 @@ T['io.flow.internal.v0.models.invoice_line'] = PropTypes.exact({
|
|
|
25102
25097
|
value: T['io.flow.common.v0.models.price'].isRequired,
|
|
25103
25098
|
});
|
|
25104
25099
|
|
|
25100
|
+
T['io.flow.internal.v0.models.hosein_item_form'] = PropTypes.exact({
|
|
25101
|
+
number: PropTypes.string.isRequired,
|
|
25102
|
+
amount: T['io.flow.common.v0.models.price'].isRequired,
|
|
25103
|
+
description: PropTypes.string,
|
|
25104
|
+
type: T['io.flow.internal.v0.enums.hosein_item_type'].isRequired,
|
|
25105
|
+
added_on: PropTypes.string.isRequired,
|
|
25106
|
+
});
|
|
25107
|
+
|
|
25108
|
+
T['io.flow.internal.v0.models.hosein_item'] = PropTypes.exact({
|
|
25109
|
+
id: PropTypes.string.isRequired,
|
|
25110
|
+
number: PropTypes.string.isRequired,
|
|
25111
|
+
amount: T['io.flow.common.v0.models.price'].isRequired,
|
|
25112
|
+
description: PropTypes.string,
|
|
25113
|
+
type: T['io.flow.internal.v0.enums.hosein_item_type'].isRequired,
|
|
25114
|
+
added_on: PropTypes.string.isRequired,
|
|
25115
|
+
});
|
|
25116
|
+
|
|
25105
25117
|
T['io.flow.internal.v0.models.gift_card'] = PropTypes.exact({
|
|
25106
25118
|
id: PropTypes.string.isRequired,
|
|
25107
25119
|
number: PropTypes.string.isRequired,
|
|
@@ -28269,6 +28281,7 @@ T['io.flow.internal.v0.enums.order_lifecycle_event'] = PropTypes.oneOf(['order_p
|
|
|
28269
28281
|
T['io.flow.internal.v0.enums.order_transaction_type'] = PropTypes.oneOf(['adjustment', 'reversal', 'order_service']);
|
|
28270
28282
|
T['io.flow.internal.v0.enums.organization_metric_type'] = PropTypes.oneOf(['organization_restriction_status']);
|
|
28271
28283
|
T['io.flow.internal.v0.enums.output_style'] = PropTypes.oneOf(['flow', 'shopify_p1']);
|
|
28284
|
+
T['io.flow.internal.v0.enums.pending_record_type'] = PropTypes.oneOf(['verification', 'classification', 'restriction']);
|
|
28272
28285
|
T['io.flow.internal.v0.enums.preferred_billing_schedule'] = PropTypes.oneOf(['monthly', 'bi-monthly']);
|
|
28273
28286
|
T['io.flow.internal.v0.enums.price_selector'] = PropTypes.oneOf(['minimum', 'maximum']);
|
|
28274
28287
|
|
|
@@ -29100,7 +29113,6 @@ T['io.flow.internal.v0.models.restriction_product_request_form'] = PropTypes.exa
|
|
|
29100
29113
|
positive_keywords: PropTypes.arrayOf(PropTypes.string),
|
|
29101
29114
|
negative_keywords: PropTypes.arrayOf(PropTypes.string),
|
|
29102
29115
|
user_ids: PropTypes.arrayOf(PropTypes.string),
|
|
29103
|
-
categories: PropTypes.arrayOf(PropTypes.string),
|
|
29104
29116
|
category: PropTypes.string,
|
|
29105
29117
|
product_name_query: PropTypes.string,
|
|
29106
29118
|
hs6: PropTypes.string,
|
|
@@ -31402,6 +31414,9 @@ export const harmonizationThresholdForm = T['io.flow.internal.v0.models.harmoniz
|
|
|
31402
31414
|
export const harmonizationUnclassifiedStatistics = T['io.flow.internal.v0.models.harmonization_unclassified_statistics'];
|
|
31403
31415
|
export const harmonizeFullyRequestV2 = T['io.flow.internal.v0.models.harmonize_fully_request_v2'];
|
|
31404
31416
|
export const harmonizedItemsHs6Export = T['io.flow.internal.v0.models.harmonized_items_hs6_export'];
|
|
31417
|
+
export const hoseinItem = T['io.flow.internal.v0.models.hosein_item'];
|
|
31418
|
+
export const hoseinItemForm = T['io.flow.internal.v0.models.hosein_item_form'];
|
|
31419
|
+
export const hoseinItemType = T['io.flow.internal.v0.enums.hosein_item_type'];
|
|
31405
31420
|
export const href = T['io.flow.internal.v0.models.href'];
|
|
31406
31421
|
export const hs6 = T['io.flow.internal.v0.models.hs6'];
|
|
31407
31422
|
export const hs6Metadata = T['io.flow.internal.v0.models.hs6_metadata'];
|
|
@@ -31854,6 +31869,7 @@ export const paypalRefundUpserted = T['io.flow.internal.v0.models.paypal_refund_
|
|
|
31854
31869
|
export const pendingBankPayment = T['io.flow.internal.v0.models.pending_bank_payment'];
|
|
31855
31870
|
export const pendingBankPaymentDetail = T['io.flow.internal.v0.models.pending_bank_payment_detail'];
|
|
31856
31871
|
export const pendingOrder = T['io.flow.internal.v0.models.pending_order'];
|
|
31872
|
+
export const pendingRecordType = T['io.flow.internal.v0.enums.pending_record_type'];
|
|
31857
31873
|
export const phraseClassified = T['io.flow.internal.v0.models.phrase_classified'];
|
|
31858
31874
|
export const phrasePropagated = T['io.flow.internal.v0.models.phrase_propagated'];
|
|
31859
31875
|
export const platformFee = T['io.flow.internal.v0.unions.platform_fee'];
|