@flowio/api-internal-prop-types 9.24.16 → 9.24.18
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 +26 -3
- package/lib/api-internal.js +1 -1
- package/package.json +2 -2
- package/src/api-internal.d.ts +26 -3
- package/src/api-internal.js +27 -4
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.18",
|
|
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": "08b7f0cd4a60c45b2e6ab3c2e2ed16fee30e1d4a"
|
|
34
34
|
}
|
package/src/api-internal.d.ts
CHANGED
|
@@ -4888,7 +4888,7 @@ declare namespace io.flow.shopify.external.v0.models {
|
|
|
4888
4888
|
readonly 'key': string;
|
|
4889
4889
|
readonly 'namespace': string;
|
|
4890
4890
|
readonly 'value': string;
|
|
4891
|
-
readonly '
|
|
4891
|
+
readonly 'type': io.flow.shopify.external.v0.enums.ValueType;
|
|
4892
4892
|
readonly 'description'?: string;
|
|
4893
4893
|
readonly 'owner_id': number;
|
|
4894
4894
|
readonly 'owner_resource': string;
|
|
@@ -4898,7 +4898,7 @@ declare namespace io.flow.shopify.external.v0.models {
|
|
|
4898
4898
|
readonly 'key': string;
|
|
4899
4899
|
readonly 'namespace': string;
|
|
4900
4900
|
readonly 'value': string;
|
|
4901
|
-
readonly '
|
|
4901
|
+
readonly 'type': io.flow.shopify.external.v0.enums.ValueType;
|
|
4902
4902
|
readonly 'description'?: string;
|
|
4903
4903
|
}
|
|
4904
4904
|
|
|
@@ -5863,7 +5863,7 @@ declare namespace io.flow.shopify.markets.v0.models {
|
|
|
5863
5863
|
readonly 'country_harmonized_system_codes'?: io.flow.shopify.markets.v0.models.ShopifyCountryHarmonizedSystemCode[];
|
|
5864
5864
|
readonly 'harmonized_system_code'?: string;
|
|
5865
5865
|
readonly 'province_code_of_origin'?: string;
|
|
5866
|
-
readonly 'sku'
|
|
5866
|
+
readonly 'sku'?: string;
|
|
5867
5867
|
readonly 'tracked'?: boolean;
|
|
5868
5868
|
readonly 'requires_shipping': boolean;
|
|
5869
5869
|
readonly 'created_at': string;
|
|
@@ -16563,6 +16563,21 @@ declare namespace io.flow.internal.v0.models {
|
|
|
16563
16563
|
readonly 'id': string;
|
|
16564
16564
|
}
|
|
16565
16565
|
|
|
16566
|
+
interface FraudPendingReviewDetail {
|
|
16567
|
+
readonly 'organization': io.flow.common.v0.models.OrganizationSummary;
|
|
16568
|
+
readonly 'fraud_review_id': string;
|
|
16569
|
+
readonly 'order': io.flow.experience.v0.models.OrderReference;
|
|
16570
|
+
readonly 'recommended_status': io.flow.fraud.v0.enums.FraudStatus;
|
|
16571
|
+
readonly 'liability': io.flow.fraud.v0.enums.FraudLiability;
|
|
16572
|
+
readonly 'submitted_at': string;
|
|
16573
|
+
readonly 'customer': io.flow.common.v0.models.OrderCustomer;
|
|
16574
|
+
readonly 'destination': io.flow.experience.v0.models.OrderAddress;
|
|
16575
|
+
readonly 'amount': number;
|
|
16576
|
+
readonly 'currency': string;
|
|
16577
|
+
readonly 'details_url': string;
|
|
16578
|
+
readonly 'provider': io.flow.internal.v0.enums.FraudProvider;
|
|
16579
|
+
}
|
|
16580
|
+
|
|
16566
16581
|
interface FraudPendingReviewUpserted {
|
|
16567
16582
|
readonly 'discriminator': 'fraud_pending_review_upserted';
|
|
16568
16583
|
readonly 'event_id': string;
|
|
@@ -20395,6 +20410,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
20395
20410
|
readonly 'categories': string[];
|
|
20396
20411
|
readonly 'images': io.flow.catalog.v0.models.Image[];
|
|
20397
20412
|
readonly 'thumbnails': io.flow.catalog.v0.models.Image[];
|
|
20413
|
+
readonly 'url'?: string;
|
|
20398
20414
|
readonly 'review': io.flow.internal.v0.models.RestrictionItemReview;
|
|
20399
20415
|
readonly 'created_at': string;
|
|
20400
20416
|
readonly 'updated_at': string;
|
|
@@ -20443,6 +20459,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
20443
20459
|
readonly 'categories': string[];
|
|
20444
20460
|
readonly 'images': io.flow.catalog.v0.models.Image[];
|
|
20445
20461
|
readonly 'thumbnails': io.flow.catalog.v0.models.Image[];
|
|
20462
|
+
readonly 'url'?: string;
|
|
20446
20463
|
readonly 'reviews': io.flow.internal.v0.models.RestrictionItemReview[];
|
|
20447
20464
|
readonly 'created_at': string;
|
|
20448
20465
|
readonly 'updated_at': string;
|
|
@@ -20843,6 +20860,10 @@ declare namespace io.flow.internal.v0.models {
|
|
|
20843
20860
|
readonly 'incorporation_country'?: io.flow.internal.v0.models.ShopifyMarketsIncorporationCountry;
|
|
20844
20861
|
}
|
|
20845
20862
|
|
|
20863
|
+
interface ShopifyMarketsSync {
|
|
20864
|
+
readonly 'placeholder'?: any/*json*/;
|
|
20865
|
+
}
|
|
20866
|
+
|
|
20846
20867
|
interface ShopifyMarketsWebhookRegistration {
|
|
20847
20868
|
readonly 'response': io.flow.shopify.markets.v0.models.ShopifyWebhookResponse;
|
|
20848
20869
|
}
|
|
@@ -23222,6 +23243,7 @@ export const flowLabelSetting: PropTypes.Requireable<io.flow.internal.v0.models.
|
|
|
23222
23243
|
export const flowLabelSettingForm: PropTypes.Requireable<io.flow.internal.v0.models.FlowLabelSettingForm>;
|
|
23223
23244
|
export const fraudPendingReview: PropTypes.Requireable<io.flow.internal.v0.models.FraudPendingReview>;
|
|
23224
23245
|
export const fraudPendingReviewDeleted: PropTypes.Requireable<io.flow.internal.v0.models.FraudPendingReviewDeleted>;
|
|
23246
|
+
export const fraudPendingReviewDetail: PropTypes.Requireable<io.flow.internal.v0.models.FraudPendingReviewDetail>;
|
|
23225
23247
|
export const fraudPendingReviewUpserted: PropTypes.Requireable<io.flow.internal.v0.models.FraudPendingReviewUpserted>;
|
|
23226
23248
|
export const fraudProviderConfigurationFormRiskified: PropTypes.Requireable<io.flow.internal.v0.models.FraudProviderConfigurationFormRiskified>;
|
|
23227
23249
|
export const fraudProviderConfigurationRiskified: PropTypes.Requireable<io.flow.internal.v0.models.FraudProviderConfigurationRiskified>;
|
|
@@ -23762,6 +23784,7 @@ export const shopifyMarketsShop: PropTypes.Requireable<io.flow.internal.v0.model
|
|
|
23762
23784
|
export const shopifyMarketsShopForm: PropTypes.Requireable<io.flow.internal.v0.models.ShopifyMarketsShopForm>;
|
|
23763
23785
|
export const shopifyMarketsShopSummary: PropTypes.Requireable<io.flow.internal.v0.models.ShopifyMarketsShopSummary>;
|
|
23764
23786
|
export const shopifyMarketsSubsidiaryCompany: PropTypes.Requireable<io.flow.internal.v0.models.ShopifyMarketsSubsidiaryCompany>;
|
|
23787
|
+
export const shopifyMarketsSync: PropTypes.Requireable<io.flow.internal.v0.models.ShopifyMarketsSync>;
|
|
23765
23788
|
export const shopifyMarketsWebhookRegistration: PropTypes.Requireable<io.flow.internal.v0.models.ShopifyMarketsWebhookRegistration>;
|
|
23766
23789
|
export const shopifyMetadata: PropTypes.Requireable<io.flow.internal.v0.models.ShopifyMetadata>;
|
|
23767
23790
|
export const shopifyOrderAuthorization: PropTypes.Requireable<io.flow.internal.v0.models.ShopifyOrderAuthorization>;
|
package/src/api-internal.js
CHANGED
|
@@ -1811,7 +1811,7 @@ T['io.flow.shopify.markets.v0.models.shopify_inventory_item'] = PropTypes.exact(
|
|
|
1811
1811
|
|
|
1812
1812
|
harmonized_system_code: PropTypes.string,
|
|
1813
1813
|
province_code_of_origin: PropTypes.string,
|
|
1814
|
-
sku: PropTypes.string
|
|
1814
|
+
sku: PropTypes.string,
|
|
1815
1815
|
tracked: PropTypes.bool,
|
|
1816
1816
|
requires_shipping: PropTypes.bool.isRequired,
|
|
1817
1817
|
created_at: PropTypes.string.isRequired,
|
|
@@ -2630,7 +2630,7 @@ T['io.flow.shopify.external.v0.models.metafield_form'] = PropTypes.exact({
|
|
|
2630
2630
|
key: PropTypes.string.isRequired,
|
|
2631
2631
|
namespace: PropTypes.string.isRequired,
|
|
2632
2632
|
value: PropTypes.string.isRequired,
|
|
2633
|
-
|
|
2633
|
+
type: T['io.flow.shopify.external.v0.enums.value_type'].isRequired,
|
|
2634
2634
|
description: PropTypes.string,
|
|
2635
2635
|
});
|
|
2636
2636
|
|
|
@@ -2705,7 +2705,7 @@ T['io.flow.shopify.external.v0.models.metafield'] = PropTypes.exact({
|
|
|
2705
2705
|
key: PropTypes.string.isRequired,
|
|
2706
2706
|
namespace: PropTypes.string.isRequired,
|
|
2707
2707
|
value: PropTypes.string.isRequired,
|
|
2708
|
-
|
|
2708
|
+
type: T['io.flow.shopify.external.v0.enums.value_type'].isRequired,
|
|
2709
2709
|
description: PropTypes.string,
|
|
2710
2710
|
owner_id: PropTypes.number.isRequired,
|
|
2711
2711
|
owner_resource: PropTypes.string.isRequired,
|
|
@@ -10875,7 +10875,6 @@ T['io.flow.internal.v0.models.ftp_file_to_process_uploaded'] = PropTypes.exact({
|
|
|
10875
10875
|
emails: PropTypes.arrayOf(PropTypes.string).isRequired,
|
|
10876
10876
|
});
|
|
10877
10877
|
|
|
10878
|
-
T['io.flow.internal.v0.enums.fraud_provider'] = PropTypes.oneOf(['flow', 'forter', 'paypal', 'riskified', 'rps', 'other', 'none']);
|
|
10879
10878
|
T['io.flow.internal.v0.enums.risk_evaluation'] = PropTypes.oneOf(['Pending', 'High-Risk', 'Low-Risk', 'Restricted-Party', 'none']);
|
|
10880
10879
|
T['io.flow.internal.v0.enums.fraud_review_responsible_party'] = PropTypes.oneOf(['flow', 'organization']);
|
|
10881
10880
|
T['io.flow.internal.v0.enums.fraud_provider_status'] = PropTypes.oneOf(['active', 'archived']);
|
|
@@ -10899,6 +10898,7 @@ T['io.flow.internal.v0.unions.fraud_provider_configuration_form'] = PropTypes.on
|
|
|
10899
10898
|
T['io.flow.internal.v0.models.fraud_provider_configuration_form_riskified'],
|
|
10900
10899
|
]);
|
|
10901
10900
|
|
|
10901
|
+
T['io.flow.internal.v0.enums.fraud_provider'] = PropTypes.oneOf(['flow', 'forter', 'paypal', 'riskified', 'rps', 'other', 'none']);
|
|
10902
10902
|
T['io.flow.fraud.v0.enums.fraud_liability'] = PropTypes.oneOf(['flow', 'organization']);
|
|
10903
10903
|
T['io.flow.fraud.v0.enums.fraud_status'] = PropTypes.oneOf(['pending', 'approved', 'declined', 'review']);
|
|
10904
10904
|
|
|
@@ -19278,6 +19278,21 @@ T['io.flow.internal.v0.models.session_order_data'] = PropTypes.exact({
|
|
|
19278
19278
|
destination: T['io.flow.experience.v0.models.order_address'].isRequired,
|
|
19279
19279
|
});
|
|
19280
19280
|
|
|
19281
|
+
T['io.flow.internal.v0.models.fraud_pending_review_detail'] = PropTypes.exact({
|
|
19282
|
+
organization: T['io.flow.common.v0.models.organization_summary'].isRequired,
|
|
19283
|
+
fraud_review_id: PropTypes.string.isRequired,
|
|
19284
|
+
order: T['io.flow.experience.v0.models.order_reference'].isRequired,
|
|
19285
|
+
recommended_status: T['io.flow.fraud.v0.enums.fraud_status'].isRequired,
|
|
19286
|
+
liability: T['io.flow.fraud.v0.enums.fraud_liability'].isRequired,
|
|
19287
|
+
submitted_at: PropTypes.string.isRequired,
|
|
19288
|
+
customer: T['io.flow.common.v0.models.order_customer'].isRequired,
|
|
19289
|
+
destination: T['io.flow.experience.v0.models.order_address'].isRequired,
|
|
19290
|
+
amount: PropTypes.number.isRequired,
|
|
19291
|
+
currency: PropTypes.string.isRequired,
|
|
19292
|
+
details_url: PropTypes.string.isRequired,
|
|
19293
|
+
provider: T['io.flow.internal.v0.enums.fraud_provider'].isRequired,
|
|
19294
|
+
});
|
|
19295
|
+
|
|
19281
19296
|
T['io.flow.internal.v0.models.authorization_parameters_form'] = PropTypes.exact({
|
|
19282
19297
|
order_number: PropTypes.string.isRequired,
|
|
19283
19298
|
amount: PropTypes.number.isRequired,
|
|
@@ -21462,6 +21477,7 @@ T['io.flow.internal.v0.models.restriction_product'] = PropTypes.exact({
|
|
|
21462
21477
|
categories: PropTypes.arrayOf(PropTypes.string).isRequired,
|
|
21463
21478
|
images: PropTypes.arrayOf(T['io.flow.catalog.v0.models.image']).isRequired,
|
|
21464
21479
|
thumbnails: PropTypes.arrayOf(T['io.flow.catalog.v0.models.image']).isRequired,
|
|
21480
|
+
url: PropTypes.string,
|
|
21465
21481
|
reviews: PropTypes.arrayOf(T['io.flow.internal.v0.models.restriction_item_review']).isRequired,
|
|
21466
21482
|
created_at: PropTypes.string.isRequired,
|
|
21467
21483
|
updated_at: PropTypes.string.isRequired,
|
|
@@ -21478,6 +21494,7 @@ T['io.flow.internal.v0.models.restriction_item'] = PropTypes.exact({
|
|
|
21478
21494
|
categories: PropTypes.arrayOf(PropTypes.string).isRequired,
|
|
21479
21495
|
images: PropTypes.arrayOf(T['io.flow.catalog.v0.models.image']).isRequired,
|
|
21480
21496
|
thumbnails: PropTypes.arrayOf(T['io.flow.catalog.v0.models.image']).isRequired,
|
|
21497
|
+
url: PropTypes.string,
|
|
21481
21498
|
review: T['io.flow.internal.v0.models.restriction_item_review'].isRequired,
|
|
21482
21499
|
created_at: PropTypes.string.isRequired,
|
|
21483
21500
|
updated_at: PropTypes.string.isRequired,
|
|
@@ -24580,6 +24597,10 @@ T['io.flow.internal.v0.models.shopify_markets_shop_form'] = PropTypes.exact({
|
|
|
24580
24597
|
access_token: PropTypes.string,
|
|
24581
24598
|
});
|
|
24582
24599
|
|
|
24600
|
+
T['io.flow.internal.v0.models.shopify_markets_sync'] = PropTypes.exact({
|
|
24601
|
+
placeholder: PropTypes.string,
|
|
24602
|
+
});
|
|
24603
|
+
|
|
24583
24604
|
T['io.flow.internal.v0.models.shopify_order_cancel_form'] = PropTypes.exact({
|
|
24584
24605
|
note: PropTypes.string,
|
|
24585
24606
|
});
|
|
@@ -26603,6 +26624,7 @@ export const flowLabelSettingForm = T['io.flow.internal.v0.models.flow_label_set
|
|
|
26603
26624
|
export const format = T['io.flow.internal.v0.enums.format'];
|
|
26604
26625
|
export const fraudPendingReview = T['io.flow.internal.v0.models.fraud_pending_review'];
|
|
26605
26626
|
export const fraudPendingReviewDeleted = T['io.flow.internal.v0.models.fraud_pending_review_deleted'];
|
|
26627
|
+
export const fraudPendingReviewDetail = T['io.flow.internal.v0.models.fraud_pending_review_detail'];
|
|
26606
26628
|
export const fraudPendingReviewUpserted = T['io.flow.internal.v0.models.fraud_pending_review_upserted'];
|
|
26607
26629
|
export const fraudProvider = T['io.flow.internal.v0.enums.fraud_provider'];
|
|
26608
26630
|
export const fraudProviderConfiguration = T['io.flow.internal.v0.unions.fraud_provider_configuration'];
|
|
@@ -27257,6 +27279,7 @@ export const shopifyMarketsShop = T['io.flow.internal.v0.models.shopify_markets_
|
|
|
27257
27279
|
export const shopifyMarketsShopForm = T['io.flow.internal.v0.models.shopify_markets_shop_form'];
|
|
27258
27280
|
export const shopifyMarketsShopSummary = T['io.flow.internal.v0.models.shopify_markets_shop_summary'];
|
|
27259
27281
|
export const shopifyMarketsSubsidiaryCompany = T['io.flow.internal.v0.models.shopify_markets_subsidiary_company'];
|
|
27282
|
+
export const shopifyMarketsSync = T['io.flow.internal.v0.models.shopify_markets_sync'];
|
|
27260
27283
|
export const shopifyMarketsTradeSector = T['io.flow.internal.v0.enums.shopify_markets_trade_sector'];
|
|
27261
27284
|
export const shopifyMarketsWebhookRegistration = T['io.flow.internal.v0.models.shopify_markets_webhook_registration'];
|
|
27262
27285
|
export const shopifyMetadata = T['io.flow.internal.v0.models.shopify_metadata'];
|