@flowio/api-internal-prop-types 9.24.22 → 9.24.23
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 +11 -3
- package/lib/api-internal.js +1 -1
- package/package.json +2 -2
- package/src/api-internal.d.ts +11 -3
- package/src/api-internal.js +12 -2
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.23",
|
|
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": "3b1786ed7a3f6ea82a5b7d21dcb9ef26797762d9"
|
|
34
34
|
}
|
package/src/api-internal.d.ts
CHANGED
|
@@ -3432,7 +3432,7 @@ declare namespace io.flow.label.v0.models {
|
|
|
3432
3432
|
}
|
|
3433
3433
|
|
|
3434
3434
|
interface ShippingLabelLaneSummary {
|
|
3435
|
-
readonly 'id'
|
|
3435
|
+
readonly 'id'?: string;
|
|
3436
3436
|
readonly 'ratecard': io.flow.label.v0.models.ShippingLabelRatecardSummary;
|
|
3437
3437
|
}
|
|
3438
3438
|
|
|
@@ -3443,7 +3443,7 @@ declare namespace io.flow.label.v0.models {
|
|
|
3443
3443
|
}
|
|
3444
3444
|
|
|
3445
3445
|
interface ShippingLabelRatecardSummary {
|
|
3446
|
-
readonly 'id'
|
|
3446
|
+
readonly 'id'?: string;
|
|
3447
3447
|
readonly 'ratecard_owner': io.flow.fulfillment.v0.enums.RatecardOwner;
|
|
3448
3448
|
}
|
|
3449
3449
|
|
|
@@ -9036,6 +9036,11 @@ declare namespace io.flow.merchant.onboarding.v0.enums {
|
|
|
9036
9036
|
}
|
|
9037
9037
|
|
|
9038
9038
|
declare namespace io.flow.merchant.onboarding.v0.models {
|
|
9039
|
+
interface IndirectTax {
|
|
9040
|
+
readonly 'number'?: string;
|
|
9041
|
+
readonly 'id'?: string;
|
|
9042
|
+
}
|
|
9043
|
+
|
|
9039
9044
|
interface MerchantInfo {
|
|
9040
9045
|
readonly 'legal_name'?: string;
|
|
9041
9046
|
readonly 'country': string;
|
|
@@ -9099,6 +9104,7 @@ declare namespace io.flow.merchant.onboarding.v0.models {
|
|
|
9099
9104
|
readonly 'status': io.flow.merchant.onboarding.v0.enums.OnboardingApplicationStatus;
|
|
9100
9105
|
readonly 'company'?: io.flow.merchant.onboarding.v0.models.MerchantInfo;
|
|
9101
9106
|
readonly 'indirect_tax_number'?: string;
|
|
9107
|
+
readonly 'indirect_tax'?: io.flow.merchant.onboarding.v0.models.IndirectTax;
|
|
9102
9108
|
readonly 'parent_company'?: io.flow.merchant.onboarding.v0.models.MerchantInfo;
|
|
9103
9109
|
readonly 'beneficiary'?: string;
|
|
9104
9110
|
readonly 'ultimate_beneficiary_owner'?: io.flow.merchant.onboarding.v0.models.UltimateBeneficiaryOwner;
|
|
@@ -9121,12 +9127,14 @@ declare namespace io.flow.merchant.onboarding.v0.models {
|
|
|
9121
9127
|
readonly 'rate_card': string;
|
|
9122
9128
|
readonly 'created_at': string;
|
|
9123
9129
|
readonly 'activated_at'?: string;
|
|
9130
|
+
readonly 'status_updated_at'?: string;
|
|
9124
9131
|
}
|
|
9125
9132
|
|
|
9126
9133
|
interface ShopifyMerchantApplicationForm {
|
|
9127
9134
|
readonly 'discriminator': 'shopify_merchant_application_form';
|
|
9128
9135
|
readonly 'company'?: io.flow.merchant.onboarding.v0.models.MerchantInfo;
|
|
9129
9136
|
readonly 'indirect_tax_number'?: string;
|
|
9137
|
+
readonly 'indirect_tax'?: io.flow.merchant.onboarding.v0.models.IndirectTax;
|
|
9130
9138
|
readonly 'parent_company'?: io.flow.merchant.onboarding.v0.models.MerchantInfo;
|
|
9131
9139
|
readonly 'beneficiary'?: string;
|
|
9132
9140
|
readonly 'ultimate_beneficiary_owner'?: io.flow.merchant.onboarding.v0.models.UltimateBeneficiaryOwner;
|
|
@@ -11496,7 +11504,7 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
11496
11504
|
type NoLiabilityReasonCode = 'zero_basis' | 'zero_rate_on_goods' | 'zero_rate_on_sale' | 'goods_above_value_threshold' | 'goods_below_value_threshold' | 'order_below_de_minimis_threshold' | 'amount_below_de_minimis_threshold' | 'delivered_unpaid' | 'duty_free_domestic' | 'duty_free_intra_community' | 'duty_free_by_trade_agreement';
|
|
11497
11505
|
type OnboardingAuditMessageLevel = 'info' | 'warning' | 'error';
|
|
11498
11506
|
type OnboardingAuditResult = 'pass' | 'warning' | 'fail';
|
|
11499
|
-
type OnboardingAuditThemeKey = 'billing' | 'catalog' | 'checkout' | 'fraud' | 'logistics' | 'payments' | 'shopify_markets' | 'integration_partner';
|
|
11507
|
+
type OnboardingAuditThemeKey = 'billing' | 'catalog' | 'checkout' | 'fraud' | 'logistics' | 'payments' | 'shopify_markets' | 'integration_partner' | 'dtce' | 'miscellaneous';
|
|
11500
11508
|
type OrderAction = 'consumer_submit' | 'fraud_review_accept' | 'fraud_review_decline' | 'payment_fully_authorize' | 'payment_fully_capture';
|
|
11501
11509
|
type OrderAttributeIntent = 'discount_code';
|
|
11502
11510
|
type OrderChargeTrigger = 'first_shipment' | 'last_shipment' | 'shipment_exhausted';
|
package/src/api-internal.js
CHANGED
|
@@ -706,6 +706,11 @@ T['io.flow.merchant.onboarding.v0.models.ultimate_beneficiary_owner'] = PropType
|
|
|
706
706
|
dob: PropTypes.string.isRequired,
|
|
707
707
|
});
|
|
708
708
|
|
|
709
|
+
T['io.flow.merchant.onboarding.v0.models.indirect_tax'] = PropTypes.exact({
|
|
710
|
+
number: PropTypes.string,
|
|
711
|
+
id: PropTypes.string,
|
|
712
|
+
});
|
|
713
|
+
|
|
709
714
|
T['io.flow.merchant.onboarding.v0.enums.onboarding_application_status'] = PropTypes.oneOf(['to_do', 'in_progress', 'on_hold', 'rejected', 'accepted']);
|
|
710
715
|
|
|
711
716
|
T['io.flow.merchant.onboarding.v0.models.shopify_merchant_application_put_form'] = PropTypes.exact({
|
|
@@ -9298,6 +9303,8 @@ T['io.flow.internal.v0.enums.onboarding_audit_theme_key'] = PropTypes.oneOf([
|
|
|
9298
9303
|
'payments',
|
|
9299
9304
|
'shopify_markets',
|
|
9300
9305
|
'integration_partner',
|
|
9306
|
+
'dtce',
|
|
9307
|
+
'miscellaneous',
|
|
9301
9308
|
]);
|
|
9302
9309
|
|
|
9303
9310
|
T['io.flow.internal.v0.enums.onboarding_audit_result'] = PropTypes.oneOf(['pass', 'warning', 'fail']);
|
|
@@ -11978,6 +11985,7 @@ T['io.flow.merchant.onboarding.v0.models.shopify_merchant_application_form'] = P
|
|
|
11978
11985
|
discriminator: PropTypes.oneOf(['shopify_merchant_application_form']).isRequired,
|
|
11979
11986
|
company: T['io.flow.merchant.onboarding.v0.models.merchant_info'],
|
|
11980
11987
|
indirect_tax_number: PropTypes.string,
|
|
11988
|
+
indirect_tax: T['io.flow.merchant.onboarding.v0.models.indirect_tax'],
|
|
11981
11989
|
parent_company: T['io.flow.merchant.onboarding.v0.models.merchant_info'],
|
|
11982
11990
|
beneficiary: PropTypes.string,
|
|
11983
11991
|
ultimate_beneficiary_owner: T['io.flow.merchant.onboarding.v0.models.ultimate_beneficiary_owner'],
|
|
@@ -12014,6 +12022,7 @@ T['io.flow.merchant.onboarding.v0.models.shopify_merchant_application'] = PropTy
|
|
|
12014
12022
|
status: T['io.flow.merchant.onboarding.v0.enums.onboarding_application_status'].isRequired,
|
|
12015
12023
|
company: T['io.flow.merchant.onboarding.v0.models.merchant_info'],
|
|
12016
12024
|
indirect_tax_number: PropTypes.string,
|
|
12025
|
+
indirect_tax: T['io.flow.merchant.onboarding.v0.models.indirect_tax'],
|
|
12017
12026
|
parent_company: T['io.flow.merchant.onboarding.v0.models.merchant_info'],
|
|
12018
12027
|
beneficiary: PropTypes.string,
|
|
12019
12028
|
ultimate_beneficiary_owner: T['io.flow.merchant.onboarding.v0.models.ultimate_beneficiary_owner'],
|
|
@@ -12036,6 +12045,7 @@ T['io.flow.merchant.onboarding.v0.models.shopify_merchant_application'] = PropTy
|
|
|
12036
12045
|
rate_card: PropTypes.string.isRequired,
|
|
12037
12046
|
created_at: PropTypes.string.isRequired,
|
|
12038
12047
|
activated_at: PropTypes.string,
|
|
12048
|
+
status_updated_at: PropTypes.string,
|
|
12039
12049
|
});
|
|
12040
12050
|
|
|
12041
12051
|
T['io.flow.merchant.onboarding.v0.unions.merchant_application'] = PropTypes.oneOfType([T['io.flow.merchant.onboarding.v0.models.shopify_merchant_application']]);
|
|
@@ -18609,12 +18619,12 @@ T['io.flow.ratecard.v0.models.lane_summary'] = PropTypes.exact({
|
|
|
18609
18619
|
});
|
|
18610
18620
|
|
|
18611
18621
|
T['io.flow.label.v0.models.shipping_label_ratecard_summary'] = PropTypes.exact({
|
|
18612
|
-
id: PropTypes.string
|
|
18622
|
+
id: PropTypes.string,
|
|
18613
18623
|
ratecard_owner: T['io.flow.fulfillment.v0.enums.ratecard_owner'].isRequired,
|
|
18614
18624
|
});
|
|
18615
18625
|
|
|
18616
18626
|
T['io.flow.label.v0.models.shipping_label_lane_summary'] = PropTypes.exact({
|
|
18617
|
-
id: PropTypes.string
|
|
18627
|
+
id: PropTypes.string,
|
|
18618
18628
|
ratecard: T['io.flow.label.v0.models.shipping_label_ratecard_summary'].isRequired,
|
|
18619
18629
|
});
|
|
18620
18630
|
|