@flowio/api-internal-prop-types 9.24.127 → 9.24.128
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 +28 -4
- package/lib/api-internal.js +1 -1
- package/package.json +2 -2
- package/src/api-internal.d.ts +28 -4
- package/src/api-internal.js +28 -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.128",
|
|
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": "942e116995931225d013428a9da8237ec64c06be"
|
|
34
34
|
}
|
package/src/api-internal.d.ts
CHANGED
|
@@ -8162,7 +8162,7 @@ declare namespace io.flow.channel.internal.v0.enums {
|
|
|
8162
8162
|
type ChannelOrderAcceptanceNextActionFrom = 'cx_team' | 'core_team' | 'core_team_investigate' | 'mex_team' | 'payments_team' | 'tc_team' | 'logistics_team';
|
|
8163
8163
|
type ChannelOrderAcceptanceRejectionReason = 'unsupported_origin_country' | 'unsupported_destination_country' | 'domestic_order' | 'order_contains_gift_card' | 'order_contains_restricted_goods' | 'missing_order_information' | 'missing_classification_information' | 'unsupported_payment_information' | 'unsupported_shop_currency' | 'unsupported_free_order' | 'extracting_distribution_info_failed' | 'shipping_estimation_failed' | 'payment_authorization_failed' | 'unsupported_subsidized_order' | 'unsupported_virtual_goods' | 'non_matching_currencies' | 'unsupported_order_edit' | 'order_missing';
|
|
8164
8164
|
type ChannelOrderAcceptanceStatus = 'accepted' | 'rejected' | 'review' | 'edit_review' | 'edit_accepted';
|
|
8165
|
-
type ChannelService = 'payment' | 'duty_tax_calculator' | 'sellability';
|
|
8165
|
+
type ChannelService = 'payment' | 'duty_tax_calculator' | 'sellability' | 'all';
|
|
8166
8166
|
type OrderPaymentSourceType = 'globale' | 'third_party';
|
|
8167
8167
|
}
|
|
8168
8168
|
|
|
@@ -13498,7 +13498,7 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
13498
13498
|
type ChannelOrderAcceptanceRejectionReason = 'unsupported_origin_country' | 'unsupported_destination_country' | 'domestic_order' | 'order_contains_gift_card' | 'order_contains_restricted_goods' | 'missing_order_information' | 'missing_classification_information' | 'unsupported_payment_information' | 'unsupported_shop_currency' | 'unsupported_free_order' | 'extracting_distribution_info_failed' | 'shipping_estimation_failed' | 'payment_authorization_failed' | 'unsupported_subsidized_order' | 'unsupported_virtual_goods' | 'non_matching_currencies' | 'unsupported_order_edit' | 'order_missing';
|
|
13499
13499
|
type ChannelOrderAcceptanceStatus = 'accepted' | 'rejected' | 'review' | 'edit_review' | 'edit_accepted';
|
|
13500
13500
|
type ChannelOrderFulfillmentStatusCode = 'unfulfilled' | 'fulfilled' | 'partial' | 'cancelled';
|
|
13501
|
-
type ChannelService = 'payment' | 'duty_tax_calculator' | 'sellability';
|
|
13501
|
+
type ChannelService = 'payment' | 'duty_tax_calculator' | 'sellability' | 'all';
|
|
13502
13502
|
type ChannelTransactionTriggerType = 'capture' | 'order';
|
|
13503
13503
|
type ChannelTransactionType = 'adjustment' | 'reversal' | 'processing' | 'order';
|
|
13504
13504
|
type ChapterCheckStatus = 'apparel_like' | 'similar' | 'does_not_match';
|
|
@@ -13622,7 +13622,7 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
13622
13622
|
type OrganizationRestrictionReviewType = 'all_pending' | 'pending_verification';
|
|
13623
13623
|
type OrganizationRestrictionRiskLevel = '5' | '15';
|
|
13624
13624
|
type OrganizationRestrictionScreeningStatus = 'in_review' | 'fully_reviewed' | 'rejected' | 'unscreened';
|
|
13625
|
-
type OrganizationSource = 'shopify' | 'enterprise';
|
|
13625
|
+
type OrganizationSource = 'shopify' | 'smb' | 'enterprise';
|
|
13626
13626
|
type OutputStyle = 'flow' | 'shopify_p1';
|
|
13627
13627
|
type Owner = 'flow' | 'organization';
|
|
13628
13628
|
type PaymentShortUrlDiscriminator = 'adyen_3ds2';
|
|
@@ -13657,7 +13657,7 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
13657
13657
|
type RestrictionAttributeResult = 'pending_classification' | 'pending_verification' | 'accepted' | 'restricted';
|
|
13658
13658
|
type RestrictionDecision = 'accept' | 'escalate' | 'reject' | 'review';
|
|
13659
13659
|
type RestrictionOrganizationChannel = 'shopify' | 'enterprise' | 'shopify-sandbox' | 'enterprise-sandbox';
|
|
13660
|
-
type RestrictionOrganizationSource = 'shopify' | 'enterprise';
|
|
13660
|
+
type RestrictionOrganizationSource = 'shopify' | 'smb' | 'enterprise';
|
|
13661
13661
|
type RestrictionRuleActivationStatus = 'draft' | 'active' | 'inactive';
|
|
13662
13662
|
type RestrictionRuleCommunityExemption = 'domestic_exemption' | 'intra_eu_exemption';
|
|
13663
13663
|
type RestrictionRuleExceptionAction = 'allow' | 'deny';
|
|
@@ -19698,6 +19698,11 @@ declare namespace io.flow.internal.v0.models {
|
|
|
19698
19698
|
readonly 'processing': number;
|
|
19699
19699
|
readonly 'rate_lock': number;
|
|
19700
19700
|
readonly 'transfer': number;
|
|
19701
|
+
readonly 'product_fee'?: number;
|
|
19702
|
+
readonly 'estimated_tax'?: number;
|
|
19703
|
+
readonly 'estimated_duty'?: number;
|
|
19704
|
+
readonly 'estimated_duties_and_taxes'?: number;
|
|
19705
|
+
readonly 'td_fx_diff'?: number;
|
|
19701
19706
|
readonly 'total': number;
|
|
19702
19707
|
}
|
|
19703
19708
|
|
|
@@ -21489,6 +21494,11 @@ declare namespace io.flow.internal.v0.models {
|
|
|
21489
21494
|
readonly 'item': string;
|
|
21490
21495
|
}
|
|
21491
21496
|
|
|
21497
|
+
interface PriceInclusivity {
|
|
21498
|
+
readonly 'tax'?: boolean;
|
|
21499
|
+
readonly 'duty'?: boolean;
|
|
21500
|
+
}
|
|
21501
|
+
|
|
21492
21502
|
interface PrioritizedCenterReference {
|
|
21493
21503
|
readonly 'center_key': string;
|
|
21494
21504
|
readonly 'position': number;
|
|
@@ -22375,6 +22385,8 @@ declare namespace io.flow.internal.v0.models {
|
|
|
22375
22385
|
readonly 'destination_country'?: number;
|
|
22376
22386
|
readonly 'usd': number;
|
|
22377
22387
|
readonly 'eur': number;
|
|
22388
|
+
readonly 'guaranteed'?: number;
|
|
22389
|
+
readonly 'spot'?: number;
|
|
22378
22390
|
}
|
|
22379
22391
|
|
|
22380
22392
|
interface ReportingCountry {
|
|
@@ -22420,6 +22432,11 @@ declare namespace io.flow.internal.v0.models {
|
|
|
22420
22432
|
readonly 'mor': io.flow.internal.v0.models.ReportingMonetaryValue;
|
|
22421
22433
|
readonly 'fx': io.flow.internal.v0.models.ReportingMonetaryValue;
|
|
22422
22434
|
readonly 'sp': io.flow.internal.v0.models.ReportingMonetaryValue;
|
|
22435
|
+
readonly 'product_fee'?: io.flow.internal.v0.models.ReportingMonetaryValue;
|
|
22436
|
+
readonly 'estimated_tax'?: io.flow.internal.v0.models.ReportingMonetaryValue;
|
|
22437
|
+
readonly 'estimated_duty'?: io.flow.internal.v0.models.ReportingMonetaryValue;
|
|
22438
|
+
readonly 'estimated_duties_and_taxes'?: io.flow.internal.v0.models.ReportingMonetaryValue;
|
|
22439
|
+
readonly 'td_fx_diff'?: io.flow.internal.v0.models.ReportingMonetaryValue;
|
|
22423
22440
|
}
|
|
22424
22441
|
|
|
22425
22442
|
interface ReportingFulfillment {
|
|
@@ -22485,6 +22502,11 @@ declare namespace io.flow.internal.v0.models {
|
|
|
22485
22502
|
readonly 'processing': io.flow.internal.v0.models.ReportingMonetaryValue;
|
|
22486
22503
|
readonly 'rate_lock': io.flow.internal.v0.models.ReportingMonetaryValue;
|
|
22487
22504
|
readonly 'transfer': io.flow.internal.v0.models.ReportingMonetaryValue;
|
|
22505
|
+
readonly 'product_fee'?: io.flow.internal.v0.models.ReportingMonetaryValue;
|
|
22506
|
+
readonly 'estimated_tax'?: io.flow.internal.v0.models.ReportingMonetaryValue;
|
|
22507
|
+
readonly 'estimated_duty'?: io.flow.internal.v0.models.ReportingMonetaryValue;
|
|
22508
|
+
readonly 'estimated_duties_and_taxes'?: io.flow.internal.v0.models.ReportingMonetaryValue;
|
|
22509
|
+
readonly 'td_fx_diff'?: io.flow.internal.v0.models.ReportingMonetaryValue;
|
|
22488
22510
|
readonly 'total'?: io.flow.internal.v0.models.ReportingMonetaryValue;
|
|
22489
22511
|
}
|
|
22490
22512
|
|
|
@@ -23174,6 +23196,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
23174
23196
|
readonly 'fees': io.flow.internal.v0.models.ReportingFees;
|
|
23175
23197
|
readonly 'conversion_rate': io.flow.internal.v0.models.ReportingConversionRates;
|
|
23176
23198
|
readonly 'payment_is': io.flow.internal.v0.models.PaymentIs;
|
|
23199
|
+
readonly 'price_inclusivity'?: io.flow.internal.v0.models.PriceInclusivity;
|
|
23177
23200
|
readonly 'destination_country': string;
|
|
23178
23201
|
readonly 'fulfilled_at'?: string;
|
|
23179
23202
|
}
|
|
@@ -26831,6 +26854,7 @@ export const platformFeePercentageTier: PropTypes.Requireable<io.flow.internal.v
|
|
|
26831
26854
|
export const prateekItem: PropTypes.Requireable<io.flow.internal.v0.models.PrateekItem>;
|
|
26832
26855
|
export const prateekItemForm: PropTypes.Requireable<io.flow.internal.v0.models.PrateekItemForm>;
|
|
26833
26856
|
export const prediction: PropTypes.Requireable<io.flow.internal.v0.models.Prediction>;
|
|
26857
|
+
export const priceInclusivity: PropTypes.Requireable<io.flow.internal.v0.models.PriceInclusivity>;
|
|
26834
26858
|
export const prioritizedCenterReference: PropTypes.Requireable<io.flow.internal.v0.models.PrioritizedCenterReference>;
|
|
26835
26859
|
export const processingTransaction: PropTypes.Requireable<io.flow.internal.v0.models.ProcessingTransaction>;
|
|
26836
26860
|
export const processingTransactionDeleted: PropTypes.Requireable<io.flow.internal.v0.models.ProcessingTransactionDeleted>;
|
package/src/api-internal.js
CHANGED
|
@@ -1469,7 +1469,7 @@ T['io.flow.channel.internal.v0.models.channel_organization_metadata'] = PropType
|
|
|
1469
1469
|
token: PropTypes.string.isRequired,
|
|
1470
1470
|
});
|
|
1471
1471
|
|
|
1472
|
-
T['io.flow.channel.internal.v0.enums.channel_service'] = PropTypes.oneOf(['payment', 'duty_tax_calculator', 'sellability']);
|
|
1472
|
+
T['io.flow.channel.internal.v0.enums.channel_service'] = PropTypes.oneOf(['payment', 'duty_tax_calculator', 'sellability', 'all']);
|
|
1473
1473
|
|
|
1474
1474
|
T['io.flow.channel.internal.v0.models.channel_organization_token_body'] = PropTypes.exact({
|
|
1475
1475
|
cleartext: PropTypes.string.isRequired,
|
|
@@ -10995,6 +10995,11 @@ T['io.flow.internal.v0.models.report_bank_account_cleartext'] = PropTypes.exact(
|
|
|
10995
10995
|
|
|
10996
10996
|
T['io.flow.internal.v0.enums.sarvesh_item_type'] = PropTypes.oneOf(['physical', 'digital']);
|
|
10997
10997
|
|
|
10998
|
+
T['io.flow.internal.v0.models.price_inclusivity'] = PropTypes.exact({
|
|
10999
|
+
tax: PropTypes.bool,
|
|
11000
|
+
duty: PropTypes.bool,
|
|
11001
|
+
});
|
|
11002
|
+
|
|
10998
11003
|
T['io.flow.internal.v0.models.payment_is'] = PropTypes.exact({
|
|
10999
11004
|
lvg: PropTypes.bool.isRequired,
|
|
11000
11005
|
manual: PropTypes.bool.isRequired,
|
|
@@ -11019,6 +11024,8 @@ T['io.flow.internal.v0.models.reporting_conversion_rates'] = PropTypes.exact({
|
|
|
11019
11024
|
destination_country: PropTypes.number,
|
|
11020
11025
|
usd: PropTypes.number.isRequired,
|
|
11021
11026
|
eur: PropTypes.number.isRequired,
|
|
11027
|
+
guaranteed: PropTypes.number,
|
|
11028
|
+
spot: PropTypes.number,
|
|
11022
11029
|
});
|
|
11023
11030
|
|
|
11024
11031
|
T['io.flow.internal.v0.models.reporting_currencies'] = PropTypes.exact({
|
|
@@ -11147,7 +11154,7 @@ T['io.flow.internal.v0.models.restriction_rule_organization_exemption'] = PropTy
|
|
|
11147
11154
|
is_rule_active: PropTypes.bool,
|
|
11148
11155
|
});
|
|
11149
11156
|
|
|
11150
|
-
T['io.flow.internal.v0.enums.restriction_organization_source'] = PropTypes.oneOf(['shopify', 'enterprise']);
|
|
11157
|
+
T['io.flow.internal.v0.enums.restriction_organization_source'] = PropTypes.oneOf(['shopify', 'smb', 'enterprise']);
|
|
11151
11158
|
T['io.flow.internal.v0.enums.restriction_action'] = PropTypes.oneOf(['prohibited', 'restricted']);
|
|
11152
11159
|
|
|
11153
11160
|
T['io.flow.product.v0.models.product_taxonomy_value'] = PropTypes.exact({
|
|
@@ -11245,7 +11252,7 @@ T['io.flow.internal.v0.models.shopify_product_create_upserted'] = PropTypes.exac
|
|
|
11245
11252
|
shopify_product_create: T['io.flow.internal.v0.models.shopify_product_create_webhook_event'].isRequired,
|
|
11246
11253
|
});
|
|
11247
11254
|
|
|
11248
|
-
T['io.flow.internal.v0.enums.organization_source'] = PropTypes.oneOf(['shopify', 'enterprise']);
|
|
11255
|
+
T['io.flow.internal.v0.enums.organization_source'] = PropTypes.oneOf(['shopify', 'smb', 'enterprise']);
|
|
11249
11256
|
|
|
11250
11257
|
T['io.flow.internal.v0.models.restriction_summary_counts'] = PropTypes.exact({
|
|
11251
11258
|
pending_restriction_count: PropTypes.number.isRequired,
|
|
@@ -14694,6 +14701,11 @@ T['io.flow.internal.v0.models.reporting_merchant_fees'] = PropTypes.exact({
|
|
|
14694
14701
|
processing: T['io.flow.internal.v0.models.reporting_monetary_value'].isRequired,
|
|
14695
14702
|
rate_lock: T['io.flow.internal.v0.models.reporting_monetary_value'].isRequired,
|
|
14696
14703
|
transfer: T['io.flow.internal.v0.models.reporting_monetary_value'].isRequired,
|
|
14704
|
+
product_fee: T['io.flow.internal.v0.models.reporting_monetary_value'],
|
|
14705
|
+
estimated_tax: T['io.flow.internal.v0.models.reporting_monetary_value'],
|
|
14706
|
+
estimated_duty: T['io.flow.internal.v0.models.reporting_monetary_value'],
|
|
14707
|
+
estimated_duties_and_taxes: T['io.flow.internal.v0.models.reporting_monetary_value'],
|
|
14708
|
+
td_fx_diff: T['io.flow.internal.v0.models.reporting_monetary_value'],
|
|
14697
14709
|
total: T['io.flow.internal.v0.models.reporting_monetary_value'],
|
|
14698
14710
|
});
|
|
14699
14711
|
|
|
@@ -14724,6 +14736,11 @@ T['io.flow.internal.v0.models.reporting_fees'] = PropTypes.exact({
|
|
|
14724
14736
|
mor: T['io.flow.internal.v0.models.reporting_monetary_value'].isRequired,
|
|
14725
14737
|
fx: T['io.flow.internal.v0.models.reporting_monetary_value'].isRequired,
|
|
14726
14738
|
sp: T['io.flow.internal.v0.models.reporting_monetary_value'].isRequired,
|
|
14739
|
+
product_fee: T['io.flow.internal.v0.models.reporting_monetary_value'],
|
|
14740
|
+
estimated_tax: T['io.flow.internal.v0.models.reporting_monetary_value'],
|
|
14741
|
+
estimated_duty: T['io.flow.internal.v0.models.reporting_monetary_value'],
|
|
14742
|
+
estimated_duties_and_taxes: T['io.flow.internal.v0.models.reporting_monetary_value'],
|
|
14743
|
+
td_fx_diff: T['io.flow.internal.v0.models.reporting_monetary_value'],
|
|
14727
14744
|
});
|
|
14728
14745
|
|
|
14729
14746
|
T['io.flow.internal.v0.models.reporting_shopper_fees'] = PropTypes.exact({
|
|
@@ -14780,6 +14797,11 @@ T['io.flow.internal.v0.models.merchant_fees'] = PropTypes.exact({
|
|
|
14780
14797
|
processing: PropTypes.number.isRequired,
|
|
14781
14798
|
rate_lock: PropTypes.number.isRequired,
|
|
14782
14799
|
transfer: PropTypes.number.isRequired,
|
|
14800
|
+
product_fee: PropTypes.number,
|
|
14801
|
+
estimated_tax: PropTypes.number,
|
|
14802
|
+
estimated_duty: PropTypes.number,
|
|
14803
|
+
estimated_duties_and_taxes: PropTypes.number,
|
|
14804
|
+
td_fx_diff: PropTypes.number,
|
|
14783
14805
|
total: PropTypes.number.isRequired,
|
|
14784
14806
|
});
|
|
14785
14807
|
|
|
@@ -16342,6 +16364,7 @@ T['io.flow.internal.v0.models.sales_payment_record'] = PropTypes.exact({
|
|
|
16342
16364
|
fees: T['io.flow.internal.v0.models.reporting_fees'].isRequired,
|
|
16343
16365
|
conversion_rate: T['io.flow.internal.v0.models.reporting_conversion_rates'].isRequired,
|
|
16344
16366
|
payment_is: T['io.flow.internal.v0.models.payment_is'].isRequired,
|
|
16367
|
+
price_inclusivity: T['io.flow.internal.v0.models.price_inclusivity'],
|
|
16345
16368
|
destination_country: PropTypes.string.isRequired,
|
|
16346
16369
|
fulfilled_at: PropTypes.string,
|
|
16347
16370
|
});
|
|
@@ -17472,7 +17495,7 @@ T['io.flow.internal.v0.models.channel_organization_metadata'] = PropTypes.exact(
|
|
|
17472
17495
|
token: PropTypes.string.isRequired,
|
|
17473
17496
|
});
|
|
17474
17497
|
|
|
17475
|
-
T['io.flow.internal.v0.enums.channel_service'] = PropTypes.oneOf(['payment', 'duty_tax_calculator', 'sellability']);
|
|
17498
|
+
T['io.flow.internal.v0.enums.channel_service'] = PropTypes.oneOf(['payment', 'duty_tax_calculator', 'sellability', 'all']);
|
|
17476
17499
|
|
|
17477
17500
|
T['io.flow.internal.v0.models.channel_organization_token_body'] = PropTypes.exact({
|
|
17478
17501
|
cleartext: PropTypes.string.isRequired,
|
|
@@ -31218,6 +31241,7 @@ export const prateekItemForm = T['io.flow.internal.v0.models.prateek_item_form']
|
|
|
31218
31241
|
export const prateekItemType = T['io.flow.internal.v0.enums.prateek_item_type'];
|
|
31219
31242
|
export const prediction = T['io.flow.internal.v0.models.prediction'];
|
|
31220
31243
|
export const preferredBillingSchedule = T['io.flow.internal.v0.enums.preferred_billing_schedule'];
|
|
31244
|
+
export const priceInclusivity = T['io.flow.internal.v0.models.price_inclusivity'];
|
|
31221
31245
|
export const priceSelector = T['io.flow.internal.v0.enums.price_selector'];
|
|
31222
31246
|
export const prioritizedCenterReference = T['io.flow.internal.v0.models.prioritized_center_reference'];
|
|
31223
31247
|
export const processingTransaction = T['io.flow.internal.v0.models.processing_transaction'];
|