@flowio/api-internal-prop-types 1.2.27 → 1.2.29
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/.apibuilder/.tracked_files +20 -3
- package/.eslintcache +1 -0
- package/LICENSE +21 -0
- package/lib/index.d.ts +10 -0
- package/lib/io/flow/billing/v0/enums/billingStatementAttachmentKey.js +1 -1
- package/lib/io/flow/{harmonization/v0/models/avalaraTaxSetting.js → common/v0/models/priceSourceCatalog.js} +5 -3
- package/lib/io/flow/common/v0/models/priceSourcePriceBook.js +29 -0
- package/lib/io/flow/common/v0/models/priceSourcePriceBookReference.js +16 -0
- package/lib/io/flow/{harmonization/v0/unions/taxSetting.js → common/v0/models/priceSourceProvided.js} +5 -3
- package/lib/io/flow/common/v0/unions/priceSource.js +25 -0
- package/lib/io/flow/experience/internal/v0/models/itemQueryResponse.js +20 -0
- package/lib/io/flow/experience/v0/models/localizedLineItem.js +6 -1
- package/lib/io/flow/internal/v0/enums/billingStatementAttachmentKey.js +1 -1
- package/lib/io/flow/internal/v0/enums/calculationStyle.js +13 -0
- package/lib/io/flow/internal/v0/enums/checkoutPromptBehavior.js +1 -1
- package/lib/io/flow/internal/v0/enums/checkoutShippingMethodPromptBehavior.js +1 -1
- package/lib/io/flow/internal/v0/enums/eventType.js +1 -1
- package/lib/io/flow/internal/v0/models/adyenClassicPaymentRedirectForm.js +16 -0
- package/lib/io/flow/internal/v0/models/checkoutSubmitOrderBundle.js +1 -1
- package/lib/io/flow/internal/v0/models/itemQueryResponse.js +20 -0
- package/lib/io/flow/internal/v0/models/landedCostExport.js +23 -0
- package/lib/io/flow/internal/v0/models/landedCostItem.js +17 -0
- package/lib/io/flow/internal/v0/models/taxCalculation.js +25 -0
- package/lib/io/flow/internal/v0/models/taxCalculationForm.js +33 -0
- package/lib/io/flow/internal/v0/models/taxCalculationLineItem.js +20 -0
- package/lib/io/flow/internal/v0/models/taxCalculationLineItemForm.js +25 -0
- package/lib/io/flow/internal/v0/unions/event.js +5 -1
- package/lib/io/flow/internal/v0/unions/paymentRedirectForm.js +17 -0
- package/lib/io/flow/payment/v0/models/authorizationResult.js +1 -1
- package/lib/io/flow/payment/v0/models/authorizationResultActionPost.js +21 -0
- package/lib/io/flow/payment/v0/models/authorizationResultActionWait.js +19 -0
- package/lib/io/flow/payment/v0/unions/authorizationResultAction.js +25 -0
- package/lib/io/flow/shopify/v0/models/shopifyLine.js +6 -1
- package/lib/io/flow/shopify/v0/models/shopifyOrderDeliveryMetafield.js +6 -1
- package/lib/mocks.js +10 -0
- package/lib/validators.js +50 -0
- package/package.json +3 -2
- package/src/index.d.ts +10 -0
- package/src/io/flow/billing/v0/enums/billingStatementAttachmentKey.js +2 -0
- package/src/io/flow/common/v0/models/priceSourceCatalog.js +6 -0
- package/src/io/flow/common/v0/models/priceSourcePriceBook.js +10 -0
- package/src/io/flow/common/v0/models/priceSourcePriceBookReference.js +6 -0
- package/src/io/flow/common/v0/models/priceSourceProvided.js +6 -0
- package/src/io/flow/common/v0/unions/priceSource.js +10 -0
- package/src/io/flow/experience/internal/v0/models/itemQueryResponse.js +7 -0
- package/src/io/flow/experience/v0/models/localizedLineItem.js +2 -0
- package/src/io/flow/internal/v0/enums/billingStatementAttachmentKey.js +2 -0
- package/src/io/flow/internal/v0/enums/calculationStyle.js +3 -0
- package/src/io/flow/internal/v0/enums/checkoutPromptBehavior.js +1 -1
- package/src/io/flow/internal/v0/enums/checkoutShippingMethodPromptBehavior.js +1 -1
- package/src/io/flow/internal/v0/enums/eventType.js +1 -0
- package/src/io/flow/internal/v0/models/adyenClassicPaymentRedirectForm.js +6 -0
- package/src/io/flow/internal/v0/models/checkoutSubmitOrderBundle.js +1 -1
- package/src/io/flow/internal/v0/models/itemQueryResponse.js +7 -0
- package/src/io/flow/internal/v0/models/landedCostExport.js +10 -0
- package/src/io/flow/internal/v0/models/landedCostItem.js +7 -0
- package/src/io/flow/internal/v0/models/taxCalculation.js +12 -0
- package/src/io/flow/internal/v0/models/taxCalculationForm.js +14 -0
- package/src/io/flow/internal/v0/models/taxCalculationLineItem.js +10 -0
- package/src/io/flow/internal/v0/models/taxCalculationLineItemForm.js +12 -0
- package/src/io/flow/internal/v0/unions/event.js +2 -0
- package/src/io/flow/internal/v0/unions/paymentRedirectForm.js +4 -0
- package/src/io/flow/payment/v0/models/authorizationResult.js +1 -1
- package/src/io/flow/payment/v0/models/authorizationResultActionPost.js +8 -0
- package/src/io/flow/payment/v0/models/authorizationResultActionWait.js +6 -0
- package/src/io/flow/payment/v0/unions/authorizationResultAction.js +10 -0
- package/src/io/flow/shopify/v0/models/shopifyLine.js +2 -0
- package/src/io/flow/shopify/v0/models/shopifyOrderDeliveryMetafield.js +2 -0
- package/src/mocks.js +10 -0
- package/src/validators.js +20 -0
- package/src/io/flow/harmonization/v0/models/avalaraTaxSetting.js +0 -7
- package/src/io/flow/harmonization/v0/unions/taxSetting.js +0 -4
- /package/lib/io/flow/payment/v0/models/{authorizationResultAction.js → authorizationResultActionGet.js} +0 -0
- /package/src/io/flow/payment/v0/models/{authorizationResultAction.js → authorizationResultActionGet.js} +0 -0
|
@@ -20,10 +20,15 @@ var _deliveryWindow = require('../../../fulfillment/v0/models/deliveryWindow');
|
|
|
20
20
|
|
|
21
21
|
var _deliveryWindow2 = _interopRequireDefault(_deliveryWindow);
|
|
22
22
|
|
|
23
|
+
var _moneyWithOptionalBase = require('../../../common/v0/models/moneyWithOptionalBase');
|
|
24
|
+
|
|
25
|
+
var _moneyWithOptionalBase2 = _interopRequireDefault(_moneyWithOptionalBase);
|
|
26
|
+
|
|
23
27
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
24
28
|
|
|
25
29
|
exports.default = _propTypes2.default.shape({
|
|
26
30
|
items: _propTypes2.default.arrayOf(_shopifyOrderDeliveryMetafieldItem2.default).isRequired,
|
|
27
31
|
service: _serviceSummary2.default.isRequired,
|
|
28
|
-
window: _deliveryWindow2.default.isRequired
|
|
32
|
+
window: _deliveryWindow2.default.isRequired,
|
|
33
|
+
cost: _moneyWithOptionalBase2.default
|
|
29
34
|
});
|
package/lib/mocks.js
CHANGED
|
@@ -16,6 +16,7 @@ exports.default = {
|
|
|
16
16
|
billingStatementAttachmentKey: noopThunk,
|
|
17
17
|
billingTransactionStatus: noopThunk,
|
|
18
18
|
billingTransactionType: noopThunk,
|
|
19
|
+
calculationStyle: noopThunk,
|
|
19
20
|
carrierLabelGenerationMethod: noopThunk,
|
|
20
21
|
catalogImportType: noopThunk,
|
|
21
22
|
checkoutPromptBehavior: noopThunk,
|
|
@@ -108,6 +109,7 @@ exports.default = {
|
|
|
108
109
|
adyenCancelUpserted: noopThunk,
|
|
109
110
|
adyenCaptureDeleted: noopThunk,
|
|
110
111
|
adyenCaptureUpserted: noopThunk,
|
|
112
|
+
adyenClassicPaymentRedirectForm: noopThunk,
|
|
111
113
|
adyenInternalAuthorization: noopThunk,
|
|
112
114
|
adyenInternalCancel: noopThunk,
|
|
113
115
|
adyenInternalCapture: noopThunk,
|
|
@@ -378,6 +380,7 @@ exports.default = {
|
|
|
378
380
|
itemFilterValuesForm: noopThunk,
|
|
379
381
|
itemHarmonization: noopThunk,
|
|
380
382
|
itemHarmonized: noopThunk,
|
|
383
|
+
itemQueryResponse: noopThunk,
|
|
381
384
|
itemRestriction: noopThunk,
|
|
382
385
|
itemRestrictionPostForm: noopThunk,
|
|
383
386
|
itemRestrictionPutForm: noopThunk,
|
|
@@ -401,6 +404,8 @@ exports.default = {
|
|
|
401
404
|
labelInvoiceUpserted: noopThunk,
|
|
402
405
|
labelSummary: noopThunk,
|
|
403
406
|
labeledContent: noopThunk,
|
|
407
|
+
landedCostExport: noopThunk,
|
|
408
|
+
landedCostItem: noopThunk,
|
|
404
409
|
landmark: noopThunk,
|
|
405
410
|
lineActionForm: noopThunk,
|
|
406
411
|
lineActionQuantities: noopThunk,
|
|
@@ -642,6 +647,10 @@ exports.default = {
|
|
|
642
647
|
taskItemUpserted: noopThunk,
|
|
643
648
|
taskProcessQueuedEvent: noopThunk,
|
|
644
649
|
taskSummarizeCode: noopThunk,
|
|
650
|
+
taxCalculation: noopThunk,
|
|
651
|
+
taxCalculationForm: noopThunk,
|
|
652
|
+
taxCalculationLineItem: noopThunk,
|
|
653
|
+
taxCalculationLineItemForm: noopThunk,
|
|
645
654
|
taxRemittanceTransaction: noopThunk,
|
|
646
655
|
timeCondition: noopThunk,
|
|
647
656
|
timeWithTimezone: noopThunk,
|
|
@@ -692,6 +701,7 @@ exports.default = {
|
|
|
692
701
|
paymentAccount: noopThunk,
|
|
693
702
|
paymentAccountForm: noopThunk,
|
|
694
703
|
paymentRedirect: noopThunk,
|
|
704
|
+
paymentRedirectForm: noopThunk,
|
|
695
705
|
paymentSummaryDetails: noopThunk,
|
|
696
706
|
repeatSchedule: noopThunk,
|
|
697
707
|
shopifyCheckoutBundle: noopThunk,
|
package/lib/validators.js
CHANGED
|
@@ -20,6 +20,10 @@ var _billingTransactionType = require('./io/flow/internal/v0/enums/billingTransa
|
|
|
20
20
|
|
|
21
21
|
var _billingTransactionType2 = _interopRequireDefault(_billingTransactionType);
|
|
22
22
|
|
|
23
|
+
var _calculationStyle = require('./io/flow/internal/v0/enums/calculationStyle');
|
|
24
|
+
|
|
25
|
+
var _calculationStyle2 = _interopRequireDefault(_calculationStyle);
|
|
26
|
+
|
|
23
27
|
var _carrierLabelGenerationMethod = require('./io/flow/internal/v0/enums/carrierLabelGenerationMethod');
|
|
24
28
|
|
|
25
29
|
var _carrierLabelGenerationMethod2 = _interopRequireDefault(_carrierLabelGenerationMethod);
|
|
@@ -388,6 +392,10 @@ var _adyenCaptureUpserted = require('./io/flow/internal/v0/models/adyenCaptureUp
|
|
|
388
392
|
|
|
389
393
|
var _adyenCaptureUpserted2 = _interopRequireDefault(_adyenCaptureUpserted);
|
|
390
394
|
|
|
395
|
+
var _adyenClassicPaymentRedirectForm = require('./io/flow/internal/v0/models/adyenClassicPaymentRedirectForm');
|
|
396
|
+
|
|
397
|
+
var _adyenClassicPaymentRedirectForm2 = _interopRequireDefault(_adyenClassicPaymentRedirectForm);
|
|
398
|
+
|
|
391
399
|
var _adyenInternalAuthorization = require('./io/flow/internal/v0/models/adyenInternalAuthorization');
|
|
392
400
|
|
|
393
401
|
var _adyenInternalAuthorization2 = _interopRequireDefault(_adyenInternalAuthorization);
|
|
@@ -1468,6 +1476,10 @@ var _itemHarmonized = require('./io/flow/internal/v0/models/itemHarmonized');
|
|
|
1468
1476
|
|
|
1469
1477
|
var _itemHarmonized2 = _interopRequireDefault(_itemHarmonized);
|
|
1470
1478
|
|
|
1479
|
+
var _itemQueryResponse = require('./io/flow/internal/v0/models/itemQueryResponse');
|
|
1480
|
+
|
|
1481
|
+
var _itemQueryResponse2 = _interopRequireDefault(_itemQueryResponse);
|
|
1482
|
+
|
|
1471
1483
|
var _itemRestriction = require('./io/flow/internal/v0/models/itemRestriction');
|
|
1472
1484
|
|
|
1473
1485
|
var _itemRestriction2 = _interopRequireDefault(_itemRestriction);
|
|
@@ -1560,6 +1572,14 @@ var _labeledContent = require('./io/flow/internal/v0/models/labeledContent');
|
|
|
1560
1572
|
|
|
1561
1573
|
var _labeledContent2 = _interopRequireDefault(_labeledContent);
|
|
1562
1574
|
|
|
1575
|
+
var _landedCostExport = require('./io/flow/internal/v0/models/landedCostExport');
|
|
1576
|
+
|
|
1577
|
+
var _landedCostExport2 = _interopRequireDefault(_landedCostExport);
|
|
1578
|
+
|
|
1579
|
+
var _landedCostItem = require('./io/flow/internal/v0/models/landedCostItem');
|
|
1580
|
+
|
|
1581
|
+
var _landedCostItem2 = _interopRequireDefault(_landedCostItem);
|
|
1582
|
+
|
|
1563
1583
|
var _landmark = require('./io/flow/internal/v0/models/landmark');
|
|
1564
1584
|
|
|
1565
1585
|
var _landmark2 = _interopRequireDefault(_landmark);
|
|
@@ -2524,6 +2544,22 @@ var _taskSummarizeCode = require('./io/flow/internal/v0/models/taskSummarizeCode
|
|
|
2524
2544
|
|
|
2525
2545
|
var _taskSummarizeCode2 = _interopRequireDefault(_taskSummarizeCode);
|
|
2526
2546
|
|
|
2547
|
+
var _taxCalculation = require('./io/flow/internal/v0/models/taxCalculation');
|
|
2548
|
+
|
|
2549
|
+
var _taxCalculation2 = _interopRequireDefault(_taxCalculation);
|
|
2550
|
+
|
|
2551
|
+
var _taxCalculationForm = require('./io/flow/internal/v0/models/taxCalculationForm');
|
|
2552
|
+
|
|
2553
|
+
var _taxCalculationForm2 = _interopRequireDefault(_taxCalculationForm);
|
|
2554
|
+
|
|
2555
|
+
var _taxCalculationLineItem = require('./io/flow/internal/v0/models/taxCalculationLineItem');
|
|
2556
|
+
|
|
2557
|
+
var _taxCalculationLineItem2 = _interopRequireDefault(_taxCalculationLineItem);
|
|
2558
|
+
|
|
2559
|
+
var _taxCalculationLineItemForm = require('./io/flow/internal/v0/models/taxCalculationLineItemForm');
|
|
2560
|
+
|
|
2561
|
+
var _taxCalculationLineItemForm2 = _interopRequireDefault(_taxCalculationLineItemForm);
|
|
2562
|
+
|
|
2527
2563
|
var _taxRemittanceTransaction = require('./io/flow/internal/v0/models/taxRemittanceTransaction');
|
|
2528
2564
|
|
|
2529
2565
|
var _taxRemittanceTransaction2 = _interopRequireDefault(_taxRemittanceTransaction);
|
|
@@ -2724,6 +2760,10 @@ var _paymentRedirect = require('./io/flow/internal/v0/unions/paymentRedirect');
|
|
|
2724
2760
|
|
|
2725
2761
|
var _paymentRedirect2 = _interopRequireDefault(_paymentRedirect);
|
|
2726
2762
|
|
|
2763
|
+
var _paymentRedirectForm = require('./io/flow/internal/v0/unions/paymentRedirectForm');
|
|
2764
|
+
|
|
2765
|
+
var _paymentRedirectForm2 = _interopRequireDefault(_paymentRedirectForm);
|
|
2766
|
+
|
|
2727
2767
|
var _paymentSummaryDetails = require('./io/flow/internal/v0/unions/paymentSummaryDetails');
|
|
2728
2768
|
|
|
2729
2769
|
var _paymentSummaryDetails2 = _interopRequireDefault(_paymentSummaryDetails);
|
|
@@ -2779,6 +2819,7 @@ exports.default = {
|
|
|
2779
2819
|
billingStatementAttachmentKey: _billingStatementAttachmentKey2.default,
|
|
2780
2820
|
billingTransactionStatus: _billingTransactionStatus2.default,
|
|
2781
2821
|
billingTransactionType: _billingTransactionType2.default,
|
|
2822
|
+
calculationStyle: _calculationStyle2.default,
|
|
2782
2823
|
carrierLabelGenerationMethod: _carrierLabelGenerationMethod2.default,
|
|
2783
2824
|
catalogImportType: _catalogImportType2.default,
|
|
2784
2825
|
checkoutPromptBehavior: _checkoutPromptBehavior2.default,
|
|
@@ -2871,6 +2912,7 @@ exports.default = {
|
|
|
2871
2912
|
adyenCancelUpserted: _adyenCancelUpserted2.default,
|
|
2872
2913
|
adyenCaptureDeleted: _adyenCaptureDeleted2.default,
|
|
2873
2914
|
adyenCaptureUpserted: _adyenCaptureUpserted2.default,
|
|
2915
|
+
adyenClassicPaymentRedirectForm: _adyenClassicPaymentRedirectForm2.default,
|
|
2874
2916
|
adyenInternalAuthorization: _adyenInternalAuthorization2.default,
|
|
2875
2917
|
adyenInternalCancel: _adyenInternalCancel2.default,
|
|
2876
2918
|
adyenInternalCapture: _adyenInternalCapture2.default,
|
|
@@ -3141,6 +3183,7 @@ exports.default = {
|
|
|
3141
3183
|
itemFilterValuesForm: _itemFilterValuesForm2.default,
|
|
3142
3184
|
itemHarmonization: _itemHarmonization2.default,
|
|
3143
3185
|
itemHarmonized: _itemHarmonized2.default,
|
|
3186
|
+
itemQueryResponse: _itemQueryResponse2.default,
|
|
3144
3187
|
itemRestriction: _itemRestriction2.default,
|
|
3145
3188
|
itemRestrictionPostForm: _itemRestrictionPostForm2.default,
|
|
3146
3189
|
itemRestrictionPutForm: _itemRestrictionPutForm2.default,
|
|
@@ -3164,6 +3207,8 @@ exports.default = {
|
|
|
3164
3207
|
labelInvoiceUpserted: _labelInvoiceUpserted2.default,
|
|
3165
3208
|
labelSummary: _labelSummary2.default,
|
|
3166
3209
|
labeledContent: _labeledContent2.default,
|
|
3210
|
+
landedCostExport: _landedCostExport2.default,
|
|
3211
|
+
landedCostItem: _landedCostItem2.default,
|
|
3167
3212
|
landmark: _landmark2.default,
|
|
3168
3213
|
lineActionForm: _lineActionForm2.default,
|
|
3169
3214
|
lineActionQuantities: _lineActionQuantities2.default,
|
|
@@ -3405,6 +3450,10 @@ exports.default = {
|
|
|
3405
3450
|
taskItemUpserted: _taskItemUpserted2.default,
|
|
3406
3451
|
taskProcessQueuedEvent: _taskProcessQueuedEvent2.default,
|
|
3407
3452
|
taskSummarizeCode: _taskSummarizeCode2.default,
|
|
3453
|
+
taxCalculation: _taxCalculation2.default,
|
|
3454
|
+
taxCalculationForm: _taxCalculationForm2.default,
|
|
3455
|
+
taxCalculationLineItem: _taxCalculationLineItem2.default,
|
|
3456
|
+
taxCalculationLineItemForm: _taxCalculationLineItemForm2.default,
|
|
3408
3457
|
taxRemittanceTransaction: _taxRemittanceTransaction2.default,
|
|
3409
3458
|
timeCondition: _timeCondition2.default,
|
|
3410
3459
|
timeWithTimezone: _timeWithTimezone2.default,
|
|
@@ -3455,6 +3504,7 @@ exports.default = {
|
|
|
3455
3504
|
paymentAccount: _paymentAccount2.default,
|
|
3456
3505
|
paymentAccountForm: _paymentAccountForm2.default,
|
|
3457
3506
|
paymentRedirect: _paymentRedirect2.default,
|
|
3507
|
+
paymentRedirectForm: _paymentRedirectForm2.default,
|
|
3458
3508
|
paymentSummaryDetails: _paymentSummaryDetails2.default,
|
|
3459
3509
|
repeatSchedule: _repeatSchedule2.default,
|
|
3460
3510
|
shopifyCheckoutBundle: _shopifyCheckoutBundle2.default,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flowio/api-internal-prop-types",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.29",
|
|
4
4
|
"description": "PropType validators that work with internal Flow API",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -40,5 +40,6 @@
|
|
|
40
40
|
"eslint-plugin-react": "^7.10.0",
|
|
41
41
|
"prop-types": "^15.7.2",
|
|
42
42
|
"rimraf": "^2.6.2"
|
|
43
|
-
}
|
|
43
|
+
},
|
|
44
|
+
"gitHead": "86350826cbc4e220a2d04192a36489dcafa30c95"
|
|
44
45
|
}
|
package/src/index.d.ts
CHANGED
|
@@ -25,6 +25,7 @@ declare const defaultExport: {
|
|
|
25
25
|
adyenCancelUpserted: Requireable<any> & Validator<any>;
|
|
26
26
|
adyenCaptureDeleted: Requireable<any> & Validator<any>;
|
|
27
27
|
adyenCaptureUpserted: Requireable<any> & Validator<any>;
|
|
28
|
+
adyenClassicPaymentRedirectForm: Requireable<any> & Validator<any>;
|
|
28
29
|
adyenInternalAuthorization: Requireable<any> & Validator<any>;
|
|
29
30
|
adyenInternalCancel: Requireable<any> & Validator<any>;
|
|
30
31
|
adyenInternalCapture: Requireable<any> & Validator<any>;
|
|
@@ -87,6 +88,7 @@ declare const defaultExport: {
|
|
|
87
88
|
booleanFeatureValue: Requireable<any> & Validator<any>;
|
|
88
89
|
brickWebhookEvent: Requireable<any> & Validator<any>;
|
|
89
90
|
brickWebhookEventResponse: Requireable<any> & Validator<any>;
|
|
91
|
+
calculationStyle: Requireable<any> & Validator<any>;
|
|
90
92
|
carrierAccount: Requireable<any> & Validator<any>;
|
|
91
93
|
carrierAccountUpserted: Requireable<any> & Validator<any>;
|
|
92
94
|
carrierCredentials: Requireable<any> & Validator<any>;
|
|
@@ -355,6 +357,7 @@ declare const defaultExport: {
|
|
|
355
357
|
itemHarmonization: Requireable<any> & Validator<any>;
|
|
356
358
|
itemHarmonized: Requireable<any> & Validator<any>;
|
|
357
359
|
itemQuantityAction: Requireable<any> & Validator<any>;
|
|
360
|
+
itemQueryResponse: Requireable<any> & Validator<any>;
|
|
358
361
|
itemRestriction: Requireable<any> & Validator<any>;
|
|
359
362
|
itemRestrictionPostForm: Requireable<any> & Validator<any>;
|
|
360
363
|
itemRestrictionPutForm: Requireable<any> & Validator<any>;
|
|
@@ -380,6 +383,8 @@ declare const defaultExport: {
|
|
|
380
383
|
labelInvoiceUpserted: Requireable<any> & Validator<any>;
|
|
381
384
|
labelSummary: Requireable<any> & Validator<any>;
|
|
382
385
|
labeledContent: Requireable<any> & Validator<any>;
|
|
386
|
+
landedCostExport: Requireable<any> & Validator<any>;
|
|
387
|
+
landedCostItem: Requireable<any> & Validator<any>;
|
|
383
388
|
landmark: Requireable<any> & Validator<any>;
|
|
384
389
|
lineActionForm: Requireable<any> & Validator<any>;
|
|
385
390
|
lineActionQuantities: Requireable<any> & Validator<any>;
|
|
@@ -511,6 +516,7 @@ declare const defaultExport: {
|
|
|
511
516
|
paymentAccount: Requireable<any> & Validator<any>;
|
|
512
517
|
paymentAccountForm: Requireable<any> & Validator<any>;
|
|
513
518
|
paymentRedirect: Requireable<any> & Validator<any>;
|
|
519
|
+
paymentRedirectForm: Requireable<any> & Validator<any>;
|
|
514
520
|
paymentSummaryDetails: Requireable<any> & Validator<any>;
|
|
515
521
|
paymentSummaryStatus: Requireable<any> & Validator<any>;
|
|
516
522
|
paymentSummaryType: Requireable<any> & Validator<any>;
|
|
@@ -671,6 +677,10 @@ declare const defaultExport: {
|
|
|
671
677
|
taskItemUpserted: Requireable<any> & Validator<any>;
|
|
672
678
|
taskProcessQueuedEvent: Requireable<any> & Validator<any>;
|
|
673
679
|
taskSummarizeCode: Requireable<any> & Validator<any>;
|
|
680
|
+
taxCalculation: Requireable<any> & Validator<any>;
|
|
681
|
+
taxCalculationForm: Requireable<any> & Validator<any>;
|
|
682
|
+
taxCalculationLineItem: Requireable<any> & Validator<any>;
|
|
683
|
+
taxCalculationLineItemForm: Requireable<any> & Validator<any>;
|
|
674
684
|
taxRemittanceTransaction: Requireable<any> & Validator<any>;
|
|
675
685
|
timeCondition: Requireable<any> & Validator<any>;
|
|
676
686
|
timeWithTimezone: Requireable<any> & Validator<any>;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import PropTypes from 'prop-types';
|
|
2
|
+
import money from './money';
|
|
3
|
+
import includedLevies from './includedLevies';
|
|
4
|
+
import priceSourcePriceBookReference from './priceSourcePriceBookReference';
|
|
5
|
+
|
|
6
|
+
export default PropTypes.shape({
|
|
7
|
+
price: money.isRequired,
|
|
8
|
+
includes: includedLevies.isRequired,
|
|
9
|
+
price_book_reference: priceSourcePriceBookReference.isRequired,
|
|
10
|
+
});
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import PropTypes from 'prop-types';
|
|
2
|
+
import priceSourcePriceBook from '../models/priceSourcePriceBook';
|
|
3
|
+
import priceSourceCatalog from '../models/priceSourceCatalog';
|
|
4
|
+
import priceSourceProvided from '../models/priceSourceProvided';
|
|
5
|
+
|
|
6
|
+
export default PropTypes.oneOfType([
|
|
7
|
+
priceSourcePriceBook,
|
|
8
|
+
priceSourceCatalog,
|
|
9
|
+
priceSourceProvided,
|
|
10
|
+
]);
|
|
@@ -3,6 +3,7 @@ import money from '../../../common/v0/models/money';
|
|
|
3
3
|
import localizedLineItemDiscount from './localizedLineItemDiscount';
|
|
4
4
|
import local from '../../../catalog/v0/models/local';
|
|
5
5
|
import datetimeRange from '../../../common/v0/models/datetimeRange';
|
|
6
|
+
import priceSource from '../../../common/v0/unions/priceSource';
|
|
6
7
|
|
|
7
8
|
export default PropTypes.shape({
|
|
8
9
|
number: PropTypes.string.isRequired,
|
|
@@ -15,4 +16,5 @@ export default PropTypes.shape({
|
|
|
15
16
|
attributes: PropTypes.objectOf(PropTypes.string),
|
|
16
17
|
local: local.isRequired,
|
|
17
18
|
shipment_estimate: datetimeRange,
|
|
19
|
+
price_source: priceSource,
|
|
18
20
|
});
|
|
@@ -62,6 +62,7 @@ export default PropTypes.oneOf([
|
|
|
62
62
|
'harmonized_items_hs6_export',
|
|
63
63
|
'unharmonized_items_export',
|
|
64
64
|
'dutied_items_export',
|
|
65
|
+
'landed_cost_export',
|
|
65
66
|
'harmonization_phrase_suggestion_request_import',
|
|
66
67
|
'harmonization_codes_import',
|
|
67
68
|
'customs_description_sugestion_created',
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import PropTypes from 'prop-types';
|
|
2
2
|
import order from '../../../experience/v0/models/order';
|
|
3
|
-
import authorizationResultAction from '../../../payment/v0/
|
|
3
|
+
import authorizationResultAction from '../../../payment/v0/unions/authorizationResultAction';
|
|
4
4
|
import orderError from '../../../experience/v0/models/orderError';
|
|
5
5
|
|
|
6
6
|
export default PropTypes.shape({
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import PropTypes from 'prop-types';
|
|
2
|
+
import landedCostItem from './landedCostItem';
|
|
3
|
+
|
|
4
|
+
export default PropTypes.shape({
|
|
5
|
+
event_id: PropTypes.string.isRequired,
|
|
6
|
+
timestamp: PropTypes.string.isRequired,
|
|
7
|
+
organization: PropTypes.string.isRequired,
|
|
8
|
+
export_id: PropTypes.string.isRequired,
|
|
9
|
+
items: PropTypes.arrayOf(landedCostItem).isRequired,
|
|
10
|
+
});
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import PropTypes from 'prop-types';
|
|
2
|
+
import taxCalculationLineItem from './taxCalculationLineItem';
|
|
3
|
+
|
|
4
|
+
export default PropTypes.shape({
|
|
5
|
+
order_number: PropTypes.string.isRequired,
|
|
6
|
+
target_currency_code: PropTypes.string.isRequired,
|
|
7
|
+
total: PropTypes.number.isRequired,
|
|
8
|
+
tax: PropTypes.number.isRequired,
|
|
9
|
+
lines: PropTypes.arrayOf(taxCalculationLineItem).isRequired,
|
|
10
|
+
shipping_total: PropTypes.number.isRequired,
|
|
11
|
+
shipping_tax: PropTypes.number.isRequired,
|
|
12
|
+
});
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import PropTypes from 'prop-types';
|
|
2
|
+
import address from '../../../common/v0/models/address';
|
|
3
|
+
import taxCalculationLineItemForm from './taxCalculationLineItemForm';
|
|
4
|
+
import calculationStyle from '../enums/calculationStyle';
|
|
5
|
+
|
|
6
|
+
export default PropTypes.shape({
|
|
7
|
+
order_number: PropTypes.string.isRequired,
|
|
8
|
+
target_currency_code: PropTypes.string.isRequired,
|
|
9
|
+
destination: address.isRequired,
|
|
10
|
+
order_date: PropTypes.string.isRequired,
|
|
11
|
+
lines: PropTypes.arrayOf(taxCalculationLineItemForm).isRequired,
|
|
12
|
+
shipping_amount: PropTypes.number.isRequired,
|
|
13
|
+
calculation_style: calculationStyle,
|
|
14
|
+
});
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import PropTypes from 'prop-types';
|
|
2
|
+
|
|
3
|
+
export default PropTypes.shape({
|
|
4
|
+
line_number: PropTypes.string.isRequired,
|
|
5
|
+
item_number: PropTypes.string.isRequired,
|
|
6
|
+
quantity: PropTypes.number.isRequired,
|
|
7
|
+
total: PropTypes.number.isRequired,
|
|
8
|
+
tax: PropTypes.number.isRequired,
|
|
9
|
+
sku: PropTypes.string,
|
|
10
|
+
});
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import PropTypes from 'prop-types';
|
|
2
|
+
import address from '../../../common/v0/models/address';
|
|
3
|
+
|
|
4
|
+
export default PropTypes.shape({
|
|
5
|
+
line_number: PropTypes.string.isRequired,
|
|
6
|
+
item_number: PropTypes.string.isRequired,
|
|
7
|
+
ship_from: address.isRequired,
|
|
8
|
+
quantity: PropTypes.number.isRequired,
|
|
9
|
+
amount: PropTypes.number.isRequired,
|
|
10
|
+
tax_code: PropTypes.string,
|
|
11
|
+
sku: PropTypes.string,
|
|
12
|
+
});
|
|
@@ -60,6 +60,7 @@ import allItemsExport from '../models/allItemsExport';
|
|
|
60
60
|
import harmonizedItemsHs6Export from '../models/harmonizedItemsHs6Export';
|
|
61
61
|
import unharmonizedItemsExport from '../models/unharmonizedItemsExport';
|
|
62
62
|
import dutiedItemsExport from '../models/dutiedItemsExport';
|
|
63
|
+
import landedCostExport from '../models/landedCostExport';
|
|
63
64
|
import harmonizationPhraseSuggestionRequestImport from '../models/harmonizationPhraseSuggestionRequestImport';
|
|
64
65
|
import harmonizationCodesImport from '../models/harmonizationCodesImport';
|
|
65
66
|
import customsDescriptionSugestionCreated from '../models/customsDescriptionSugestionCreated';
|
|
@@ -184,6 +185,7 @@ export default PropTypes.oneOfType([
|
|
|
184
185
|
harmonizedItemsHs6Export,
|
|
185
186
|
unharmonizedItemsExport,
|
|
186
187
|
dutiedItemsExport,
|
|
188
|
+
landedCostExport,
|
|
187
189
|
harmonizationPhraseSuggestionRequestImport,
|
|
188
190
|
harmonizationCodesImport,
|
|
189
191
|
customsDescriptionSugestionCreated,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import PropTypes from 'prop-types';
|
|
2
2
|
import authorizationStatus from '../enums/authorizationStatus';
|
|
3
|
-
import authorizationResultAction from '
|
|
3
|
+
import authorizationResultAction from '../unions/authorizationResultAction';
|
|
4
4
|
import authorizationDeclineCode from '../enums/authorizationDeclineCode';
|
|
5
5
|
import avs from './avs';
|
|
6
6
|
import cvv from './cvv';
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import PropTypes from 'prop-types';
|
|
2
|
+
import authorizationResultActionType from '../enums/authorizationResultActionType';
|
|
3
|
+
|
|
4
|
+
export default PropTypes.shape({
|
|
5
|
+
type: authorizationResultActionType.isRequired,
|
|
6
|
+
url: PropTypes.string.isRequired,
|
|
7
|
+
parameters: PropTypes.object.isRequired,
|
|
8
|
+
});
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import PropTypes from 'prop-types';
|
|
2
|
+
import authorizationResultActionGet from '../models/authorizationResultActionGet';
|
|
3
|
+
import authorizationResultActionPost from '../models/authorizationResultActionPost';
|
|
4
|
+
import authorizationResultActionWait from '../models/authorizationResultActionWait';
|
|
5
|
+
|
|
6
|
+
export default PropTypes.oneOfType([
|
|
7
|
+
authorizationResultActionGet,
|
|
8
|
+
authorizationResultActionPost,
|
|
9
|
+
authorizationResultActionWait,
|
|
10
|
+
]);
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import PropTypes from 'prop-types';
|
|
2
2
|
import shopifyPrice from './shopifyPrice';
|
|
3
|
+
import priceSource from '../../../common/v0/unions/priceSource';
|
|
3
4
|
|
|
4
5
|
export default PropTypes.shape({
|
|
5
6
|
variant_id: PropTypes.number.isRequired,
|
|
6
7
|
quantity: PropTypes.number.isRequired,
|
|
7
8
|
price: shopifyPrice.isRequired,
|
|
8
9
|
total: shopifyPrice.isRequired,
|
|
10
|
+
price_source: priceSource,
|
|
9
11
|
});
|
|
@@ -2,9 +2,11 @@ import PropTypes from 'prop-types';
|
|
|
2
2
|
import shopifyOrderDeliveryMetafieldItem from './shopifyOrderDeliveryMetafieldItem';
|
|
3
3
|
import serviceSummary from '../../../fulfillment/v0/models/serviceSummary';
|
|
4
4
|
import deliveryWindow from '../../../fulfillment/v0/models/deliveryWindow';
|
|
5
|
+
import moneyWithOptionalBase from '../../../common/v0/models/moneyWithOptionalBase';
|
|
5
6
|
|
|
6
7
|
export default PropTypes.shape({
|
|
7
8
|
items: PropTypes.arrayOf(shopifyOrderDeliveryMetafieldItem).isRequired,
|
|
8
9
|
service: serviceSummary.isRequired,
|
|
9
10
|
window: deliveryWindow.isRequired,
|
|
11
|
+
cost: moneyWithOptionalBase,
|
|
10
12
|
});
|
package/src/mocks.js
CHANGED
|
@@ -11,6 +11,7 @@ export default {
|
|
|
11
11
|
billingStatementAttachmentKey: noopThunk,
|
|
12
12
|
billingTransactionStatus: noopThunk,
|
|
13
13
|
billingTransactionType: noopThunk,
|
|
14
|
+
calculationStyle: noopThunk,
|
|
14
15
|
carrierLabelGenerationMethod: noopThunk,
|
|
15
16
|
catalogImportType: noopThunk,
|
|
16
17
|
checkoutPromptBehavior: noopThunk,
|
|
@@ -103,6 +104,7 @@ export default {
|
|
|
103
104
|
adyenCancelUpserted: noopThunk,
|
|
104
105
|
adyenCaptureDeleted: noopThunk,
|
|
105
106
|
adyenCaptureUpserted: noopThunk,
|
|
107
|
+
adyenClassicPaymentRedirectForm: noopThunk,
|
|
106
108
|
adyenInternalAuthorization: noopThunk,
|
|
107
109
|
adyenInternalCancel: noopThunk,
|
|
108
110
|
adyenInternalCapture: noopThunk,
|
|
@@ -373,6 +375,7 @@ export default {
|
|
|
373
375
|
itemFilterValuesForm: noopThunk,
|
|
374
376
|
itemHarmonization: noopThunk,
|
|
375
377
|
itemHarmonized: noopThunk,
|
|
378
|
+
itemQueryResponse: noopThunk,
|
|
376
379
|
itemRestriction: noopThunk,
|
|
377
380
|
itemRestrictionPostForm: noopThunk,
|
|
378
381
|
itemRestrictionPutForm: noopThunk,
|
|
@@ -396,6 +399,8 @@ export default {
|
|
|
396
399
|
labelInvoiceUpserted: noopThunk,
|
|
397
400
|
labelSummary: noopThunk,
|
|
398
401
|
labeledContent: noopThunk,
|
|
402
|
+
landedCostExport: noopThunk,
|
|
403
|
+
landedCostItem: noopThunk,
|
|
399
404
|
landmark: noopThunk,
|
|
400
405
|
lineActionForm: noopThunk,
|
|
401
406
|
lineActionQuantities: noopThunk,
|
|
@@ -637,6 +642,10 @@ export default {
|
|
|
637
642
|
taskItemUpserted: noopThunk,
|
|
638
643
|
taskProcessQueuedEvent: noopThunk,
|
|
639
644
|
taskSummarizeCode: noopThunk,
|
|
645
|
+
taxCalculation: noopThunk,
|
|
646
|
+
taxCalculationForm: noopThunk,
|
|
647
|
+
taxCalculationLineItem: noopThunk,
|
|
648
|
+
taxCalculationLineItemForm: noopThunk,
|
|
640
649
|
taxRemittanceTransaction: noopThunk,
|
|
641
650
|
timeCondition: noopThunk,
|
|
642
651
|
timeWithTimezone: noopThunk,
|
|
@@ -687,6 +696,7 @@ export default {
|
|
|
687
696
|
paymentAccount: noopThunk,
|
|
688
697
|
paymentAccountForm: noopThunk,
|
|
689
698
|
paymentRedirect: noopThunk,
|
|
699
|
+
paymentRedirectForm: noopThunk,
|
|
690
700
|
paymentSummaryDetails: noopThunk,
|
|
691
701
|
repeatSchedule: noopThunk,
|
|
692
702
|
shopifyCheckoutBundle: noopThunk,
|