@flowio/api-internal-prop-types 1.2.0 → 1.2.1
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/index.d.ts +10 -0
- package/lib/io/flow/adyen/v0/models/authorizeRequest.js +2 -1
- package/lib/io/flow/billing/v0/enums/billingTransactionType.js +1 -1
- package/lib/io/flow/billing/v0/models/billingInvoiceSummary.js +16 -0
- package/lib/io/flow/billing/v0/models/billingOrderSummary.js +17 -0
- package/lib/io/flow/fraud/internal/v0/enums/fraudEmailRuleDecision.js +13 -0
- package/lib/io/flow/fraud/internal/v0/models/fraudEmailRule.js +20 -0
- package/lib/io/flow/fraud/internal/v0/models/fraudEmailRuleForm.js +19 -0
- package/lib/io/flow/internal/v0/enums/billingTransactionType.js +1 -1
- package/lib/io/flow/internal/v0/enums/fraudEmailRuleDecision.js +13 -0
- package/lib/io/flow/internal/v0/enums/paymentTerm.js +1 -1
- package/lib/io/flow/internal/v0/enums/transferTransactionSource.js +13 -0
- package/lib/io/flow/internal/v0/models/authorizationParameters.js +16 -0
- package/lib/io/flow/internal/v0/models/authorizationParametersForm.js +23 -0
- package/lib/io/flow/internal/v0/models/bankPayment.js +1 -0
- package/lib/io/flow/internal/v0/models/billingInvoiceSummary.js +16 -0
- package/lib/io/flow/internal/v0/models/fraudEmailRule.js +20 -0
- package/lib/io/flow/internal/v0/models/fraudEmailRuleForm.js +19 -0
- package/lib/io/flow/internal/v0/models/pendingBankPayment.js +1 -1
- package/lib/io/flow/internal/v0/models/pendingBankPaymentTaxRemittanceDetail.js +19 -0
- package/lib/io/flow/internal/v0/models/{pendingBankPaymentDetail.js → pendingBankPaymentTransferDetail.js} +6 -6
- package/lib/io/flow/internal/v0/models/taxRemittanceTransaction.js +43 -0
- package/lib/io/flow/internal/v0/models/transferTransaction.js +5 -0
- package/lib/io/flow/internal/v0/unions/pendingBankPaymentDetail.js +21 -0
- package/lib/io/flow/internal/v0/unions/transaction.js +5 -1
- package/lib/io/flow/invoice/v0/enums/paymentTerm.js +1 -1
- package/lib/io/flow/payment/v0/models/authorizationPayload.js +19 -0
- package/lib/io/flow/payment/v0/models/googlePayAuthorizationPayload.js +15 -0
- package/lib/io/flow/payment/v0/models/inlineAuthorizationDetails.js +2 -1
- package/lib/io/flow/payment/v0/models/inlineAuthorizationForm.js +6 -1
- package/lib/io/flow/payment/v0/unions/authorizationPayloadParameters.js +17 -0
- package/lib/mocks.js +11 -1
- package/lib/validators.js +53 -3
- package/package.json +1 -1
- package/src/index.d.ts +10 -0
- package/src/io/flow/adyen/v0/models/authorizeRequest.js +1 -0
- package/src/io/flow/billing/v0/enums/billingTransactionType.js +1 -0
- package/src/io/flow/billing/v0/models/billingInvoiceSummary.js +6 -0
- package/src/io/flow/billing/v0/models/billingOrderSummary.js +7 -0
- package/src/io/flow/fraud/internal/v0/enums/fraudEmailRuleDecision.js +3 -0
- package/src/io/flow/fraud/internal/v0/models/fraudEmailRule.js +7 -0
- package/src/io/flow/fraud/internal/v0/models/fraudEmailRuleForm.js +6 -0
- package/src/io/flow/internal/v0/enums/billingTransactionType.js +1 -0
- package/src/io/flow/internal/v0/enums/fraudEmailRuleDecision.js +3 -0
- package/src/io/flow/internal/v0/enums/paymentTerm.js +1 -1
- package/src/io/flow/internal/v0/enums/transferTransactionSource.js +3 -0
- package/src/io/flow/internal/v0/models/authorizationParameters.js +6 -0
- package/src/io/flow/internal/v0/models/authorizationParametersForm.js +10 -0
- package/src/io/flow/internal/v0/models/bankPayment.js +1 -0
- package/src/io/flow/internal/v0/models/billingInvoiceSummary.js +6 -0
- package/src/io/flow/internal/v0/models/fraudEmailRule.js +7 -0
- package/src/io/flow/internal/v0/models/fraudEmailRuleForm.js +6 -0
- package/src/io/flow/internal/v0/models/pendingBankPayment.js +1 -1
- package/src/io/flow/internal/v0/models/pendingBankPaymentTaxRemittanceDetail.js +6 -0
- package/src/io/flow/internal/v0/models/{pendingBankPaymentDetail.js → pendingBankPaymentTransferDetail.js} +2 -2
- package/src/io/flow/internal/v0/models/taxRemittanceTransaction.js +18 -0
- package/src/io/flow/internal/v0/models/transferTransaction.js +2 -0
- package/src/io/flow/internal/v0/unions/pendingBankPaymentDetail.js +8 -0
- package/src/io/flow/internal/v0/unions/transaction.js +2 -0
- package/src/io/flow/invoice/v0/enums/paymentTerm.js +1 -1
- package/src/io/flow/payment/v0/models/authorizationPayload.js +6 -0
- package/src/io/flow/payment/v0/models/googlePayAuthorizationPayload.js +5 -0
- package/src/io/flow/payment/v0/models/inlineAuthorizationDetails.js +2 -1
- package/src/io/flow/payment/v0/models/inlineAuthorizationForm.js +2 -0
- package/src/io/flow/payment/v0/unions/authorizationPayloadParameters.js +4 -0
- package/src/mocks.js +11 -1
- package/src/validators.js +22 -2
- package/.eslintcache +0 -1
package/lib/validators.js
CHANGED
|
@@ -108,6 +108,10 @@ var _format = require('./io/flow/internal/v0/enums/format');
|
|
|
108
108
|
|
|
109
109
|
var _format2 = _interopRequireDefault(_format);
|
|
110
110
|
|
|
111
|
+
var _fraudEmailRuleDecision = require('./io/flow/internal/v0/enums/fraudEmailRuleDecision');
|
|
112
|
+
|
|
113
|
+
var _fraudEmailRuleDecision2 = _interopRequireDefault(_fraudEmailRuleDecision);
|
|
114
|
+
|
|
111
115
|
var _ftpFileSource = require('./io/flow/internal/v0/enums/ftpFileSource');
|
|
112
116
|
|
|
113
117
|
var _ftpFileSource2 = _interopRequireDefault(_ftpFileSource);
|
|
@@ -256,6 +260,10 @@ var _transferMethod = require('./io/flow/internal/v0/enums/transferMethod');
|
|
|
256
260
|
|
|
257
261
|
var _transferMethod2 = _interopRequireDefault(_transferMethod);
|
|
258
262
|
|
|
263
|
+
var _transferTransactionSource = require('./io/flow/internal/v0/enums/transferTransactionSource');
|
|
264
|
+
|
|
265
|
+
var _transferTransactionSource2 = _interopRequireDefault(_transferTransactionSource);
|
|
266
|
+
|
|
259
267
|
var _account = require('./io/flow/internal/v0/models/account');
|
|
260
268
|
|
|
261
269
|
var _account2 = _interopRequireDefault(_account);
|
|
@@ -316,6 +324,14 @@ var _authorizationMetadata = require('./io/flow/internal/v0/models/authorization
|
|
|
316
324
|
|
|
317
325
|
var _authorizationMetadata2 = _interopRequireDefault(_authorizationMetadata);
|
|
318
326
|
|
|
327
|
+
var _authorizationParameters = require('./io/flow/internal/v0/models/authorizationParameters');
|
|
328
|
+
|
|
329
|
+
var _authorizationParameters2 = _interopRequireDefault(_authorizationParameters);
|
|
330
|
+
|
|
331
|
+
var _authorizationParametersForm = require('./io/flow/internal/v0/models/authorizationParametersForm');
|
|
332
|
+
|
|
333
|
+
var _authorizationParametersForm2 = _interopRequireDefault(_authorizationParametersForm);
|
|
334
|
+
|
|
319
335
|
var _authorizedChargeStatus = require('./io/flow/internal/v0/models/authorizedChargeStatus');
|
|
320
336
|
|
|
321
337
|
var _authorizedChargeStatus2 = _interopRequireDefault(_authorizedChargeStatus);
|
|
@@ -360,6 +376,10 @@ var _billingAuthorizationReference = require('./io/flow/internal/v0/models/billi
|
|
|
360
376
|
|
|
361
377
|
var _billingAuthorizationReference2 = _interopRequireDefault(_billingAuthorizationReference);
|
|
362
378
|
|
|
379
|
+
var _billingInvoiceSummary = require('./io/flow/internal/v0/models/billingInvoiceSummary');
|
|
380
|
+
|
|
381
|
+
var _billingInvoiceSummary2 = _interopRequireDefault(_billingInvoiceSummary);
|
|
382
|
+
|
|
363
383
|
var _billingOrderSummary = require('./io/flow/internal/v0/models/billingOrderSummary');
|
|
364
384
|
|
|
365
385
|
var _billingOrderSummary2 = _interopRequireDefault(_billingOrderSummary);
|
|
@@ -860,6 +880,14 @@ var _fractionInstallmentStepForm = require('./io/flow/internal/v0/models/fractio
|
|
|
860
880
|
|
|
861
881
|
var _fractionInstallmentStepForm2 = _interopRequireDefault(_fractionInstallmentStepForm);
|
|
862
882
|
|
|
883
|
+
var _fraudEmailRule = require('./io/flow/internal/v0/models/fraudEmailRule');
|
|
884
|
+
|
|
885
|
+
var _fraudEmailRule2 = _interopRequireDefault(_fraudEmailRule);
|
|
886
|
+
|
|
887
|
+
var _fraudEmailRuleForm = require('./io/flow/internal/v0/models/fraudEmailRuleForm');
|
|
888
|
+
|
|
889
|
+
var _fraudEmailRuleForm2 = _interopRequireDefault(_fraudEmailRuleForm);
|
|
890
|
+
|
|
863
891
|
var _fraudPendingReview = require('./io/flow/internal/v0/models/fraudPendingReview');
|
|
864
892
|
|
|
865
893
|
var _fraudPendingReview2 = _interopRequireDefault(_fraudPendingReview);
|
|
@@ -1664,9 +1692,13 @@ var _pendingBankPayment = require('./io/flow/internal/v0/models/pendingBankPayme
|
|
|
1664
1692
|
|
|
1665
1693
|
var _pendingBankPayment2 = _interopRequireDefault(_pendingBankPayment);
|
|
1666
1694
|
|
|
1667
|
-
var
|
|
1695
|
+
var _pendingBankPaymentTaxRemittanceDetail = require('./io/flow/internal/v0/models/pendingBankPaymentTaxRemittanceDetail');
|
|
1668
1696
|
|
|
1669
|
-
var
|
|
1697
|
+
var _pendingBankPaymentTaxRemittanceDetail2 = _interopRequireDefault(_pendingBankPaymentTaxRemittanceDetail);
|
|
1698
|
+
|
|
1699
|
+
var _pendingBankPaymentTransferDetail = require('./io/flow/internal/v0/models/pendingBankPaymentTransferDetail');
|
|
1700
|
+
|
|
1701
|
+
var _pendingBankPaymentTransferDetail2 = _interopRequireDefault(_pendingBankPaymentTransferDetail);
|
|
1670
1702
|
|
|
1671
1703
|
var _percentageInstallmentStep = require('./io/flow/internal/v0/models/percentageInstallmentStep');
|
|
1672
1704
|
|
|
@@ -2144,6 +2176,10 @@ var _taskSummarizeCode = require('./io/flow/internal/v0/models/taskSummarizeCode
|
|
|
2144
2176
|
|
|
2145
2177
|
var _taskSummarizeCode2 = _interopRequireDefault(_taskSummarizeCode);
|
|
2146
2178
|
|
|
2179
|
+
var _taxRemittanceTransaction = require('./io/flow/internal/v0/models/taxRemittanceTransaction');
|
|
2180
|
+
|
|
2181
|
+
var _taxRemittanceTransaction2 = _interopRequireDefault(_taxRemittanceTransaction);
|
|
2182
|
+
|
|
2147
2183
|
var _timeCondition = require('./io/flow/internal/v0/models/timeCondition');
|
|
2148
2184
|
|
|
2149
2185
|
var _timeCondition2 = _interopRequireDefault(_timeCondition);
|
|
@@ -2308,6 +2344,10 @@ var _paymentSummaryDetails = require('./io/flow/internal/v0/unions/paymentSummar
|
|
|
2308
2344
|
|
|
2309
2345
|
var _paymentSummaryDetails2 = _interopRequireDefault(_paymentSummaryDetails);
|
|
2310
2346
|
|
|
2347
|
+
var _pendingBankPaymentDetail = require('./io/flow/internal/v0/unions/pendingBankPaymentDetail');
|
|
2348
|
+
|
|
2349
|
+
var _pendingBankPaymentDetail2 = _interopRequireDefault(_pendingBankPaymentDetail);
|
|
2350
|
+
|
|
2311
2351
|
var _ratecardEstimate = require('./io/flow/internal/v0/unions/ratecardEstimate');
|
|
2312
2352
|
|
|
2313
2353
|
var _ratecardEstimate2 = _interopRequireDefault(_ratecardEstimate);
|
|
@@ -2397,6 +2437,7 @@ exports.default = {
|
|
|
2397
2437
|
featureType: _featureType2.default,
|
|
2398
2438
|
flowApp: _flowApp2.default,
|
|
2399
2439
|
format: _format2.default,
|
|
2440
|
+
fraudEmailRuleDecision: _fraudEmailRuleDecision2.default,
|
|
2400
2441
|
ftpFileSource: _ftpFileSource2.default,
|
|
2401
2442
|
ftpIntent: _ftpIntent2.default,
|
|
2402
2443
|
ftpProtocol: _ftpProtocol2.default,
|
|
@@ -2434,6 +2475,7 @@ exports.default = {
|
|
|
2434
2475
|
timeseriesType: _timeseriesType2.default,
|
|
2435
2476
|
trackingIntegrationType: _trackingIntegrationType2.default,
|
|
2436
2477
|
transferMethod: _transferMethod2.default,
|
|
2478
|
+
transferTransactionSource: _transferTransactionSource2.default,
|
|
2437
2479
|
account: _account2.default,
|
|
2438
2480
|
accountContact: _accountContact2.default,
|
|
2439
2481
|
accountContactForm: _accountContactForm2.default,
|
|
@@ -2449,6 +2491,8 @@ exports.default = {
|
|
|
2449
2491
|
authenticationForm: _authenticationForm2.default,
|
|
2450
2492
|
authorization: _authorization2.default,
|
|
2451
2493
|
authorizationMetadata: _authorizationMetadata2.default,
|
|
2494
|
+
authorizationParameters: _authorizationParameters2.default,
|
|
2495
|
+
authorizationParametersForm: _authorizationParametersForm2.default,
|
|
2452
2496
|
authorizedChargeStatus: _authorizedChargeStatus2.default,
|
|
2453
2497
|
authorizedLineItemCharge: _authorizedLineItemCharge2.default,
|
|
2454
2498
|
authorizedShippingCharge: _authorizedShippingCharge2.default,
|
|
@@ -2460,6 +2504,7 @@ exports.default = {
|
|
|
2460
2504
|
bankPaymentForm: _bankPaymentForm2.default,
|
|
2461
2505
|
billingAllocationBreakout: _billingAllocationBreakout2.default,
|
|
2462
2506
|
billingAuthorizationReference: _billingAuthorizationReference2.default,
|
|
2507
|
+
billingInvoiceSummary: _billingInvoiceSummary2.default,
|
|
2463
2508
|
billingOrderSummary: _billingOrderSummary2.default,
|
|
2464
2509
|
billingOrganizationProcessingRates: _billingOrganizationProcessingRates2.default,
|
|
2465
2510
|
billingOrganizationSettings: _billingOrganizationSettings2.default,
|
|
@@ -2585,6 +2630,8 @@ exports.default = {
|
|
|
2585
2630
|
flowLabelSettingForm: _flowLabelSettingForm2.default,
|
|
2586
2631
|
fractionInstallmentStep: _fractionInstallmentStep2.default,
|
|
2587
2632
|
fractionInstallmentStepForm: _fractionInstallmentStepForm2.default,
|
|
2633
|
+
fraudEmailRule: _fraudEmailRule2.default,
|
|
2634
|
+
fraudEmailRuleForm: _fraudEmailRuleForm2.default,
|
|
2588
2635
|
fraudPendingReview: _fraudPendingReview2.default,
|
|
2589
2636
|
fraudPendingReviewDeleted: _fraudPendingReviewDeleted2.default,
|
|
2590
2637
|
fraudPendingReviewUpserted: _fraudPendingReviewUpserted2.default,
|
|
@@ -2786,7 +2833,8 @@ exports.default = {
|
|
|
2786
2833
|
paypalAuthenticationData: _paypalAuthenticationData2.default,
|
|
2787
2834
|
paypalAuthenticationDataReference: _paypalAuthenticationDataReference2.default,
|
|
2788
2835
|
pendingBankPayment: _pendingBankPayment2.default,
|
|
2789
|
-
|
|
2836
|
+
pendingBankPaymentTaxRemittanceDetail: _pendingBankPaymentTaxRemittanceDetail2.default,
|
|
2837
|
+
pendingBankPaymentTransferDetail: _pendingBankPaymentTransferDetail2.default,
|
|
2790
2838
|
percentageInstallmentStep: _percentageInstallmentStep2.default,
|
|
2791
2839
|
percentageInstallmentStepForm: _percentageInstallmentStepForm2.default,
|
|
2792
2840
|
phraseClassified: _phraseClassified2.default,
|
|
@@ -2906,6 +2954,7 @@ exports.default = {
|
|
|
2906
2954
|
taskItemUpserted: _taskItemUpserted2.default,
|
|
2907
2955
|
taskProcessQueuedEvent: _taskProcessQueuedEvent2.default,
|
|
2908
2956
|
taskSummarizeCode: _taskSummarizeCode2.default,
|
|
2957
|
+
taxRemittanceTransaction: _taxRemittanceTransaction2.default,
|
|
2909
2958
|
timeCondition: _timeCondition2.default,
|
|
2910
2959
|
timeWithTimezone: _timeWithTimezone2.default,
|
|
2911
2960
|
trackingEvent: _trackingEvent2.default,
|
|
@@ -2947,6 +2996,7 @@ exports.default = {
|
|
|
2947
2996
|
orderActionForm: _orderActionForm2.default,
|
|
2948
2997
|
paymentRedirect: _paymentRedirect2.default,
|
|
2949
2998
|
paymentSummaryDetails: _paymentSummaryDetails2.default,
|
|
2999
|
+
pendingBankPaymentDetail: _pendingBankPaymentDetail2.default,
|
|
2950
3000
|
ratecardEstimate: _ratecardEstimate2.default,
|
|
2951
3001
|
ratecardEstimateForm: _ratecardEstimateForm2.default,
|
|
2952
3002
|
ratecardFee: _ratecardFee2.default,
|
package/package.json
CHANGED
package/src/index.d.ts
CHANGED
|
@@ -23,6 +23,8 @@ declare const defaultExport: {
|
|
|
23
23
|
authenticationForm: Requireable<any> & Validator<any>;
|
|
24
24
|
authorization: Requireable<any> & Validator<any>;
|
|
25
25
|
authorizationMetadata: Requireable<any> & Validator<any>;
|
|
26
|
+
authorizationParameters: Requireable<any> & Validator<any>;
|
|
27
|
+
authorizationParametersForm: Requireable<any> & Validator<any>;
|
|
26
28
|
authorizedChargeStatus: Requireable<any> & Validator<any>;
|
|
27
29
|
authorizedLineItemCharge: Requireable<any> & Validator<any>;
|
|
28
30
|
authorizedOrderCharge: Requireable<any> & Validator<any>;
|
|
@@ -36,6 +38,7 @@ declare const defaultExport: {
|
|
|
36
38
|
billingAllocationBreakout: Requireable<any> & Validator<any>;
|
|
37
39
|
billingAllocationKey: Requireable<any> & Validator<any>;
|
|
38
40
|
billingAuthorizationReference: Requireable<any> & Validator<any>;
|
|
41
|
+
billingInvoiceSummary: Requireable<any> & Validator<any>;
|
|
39
42
|
billingOrderSummary: Requireable<any> & Validator<any>;
|
|
40
43
|
billingOrganizationProcessingRates: Requireable<any> & Validator<any>;
|
|
41
44
|
billingOrganizationSettings: Requireable<any> & Validator<any>;
|
|
@@ -194,6 +197,9 @@ declare const defaultExport: {
|
|
|
194
197
|
format: Requireable<any> & Validator<any>;
|
|
195
198
|
fractionInstallmentStep: Requireable<any> & Validator<any>;
|
|
196
199
|
fractionInstallmentStepForm: Requireable<any> & Validator<any>;
|
|
200
|
+
fraudEmailRule: Requireable<any> & Validator<any>;
|
|
201
|
+
fraudEmailRuleDecision: Requireable<any> & Validator<any>;
|
|
202
|
+
fraudEmailRuleForm: Requireable<any> & Validator<any>;
|
|
197
203
|
fraudPendingReview: Requireable<any> & Validator<any>;
|
|
198
204
|
fraudPendingReviewDeleted: Requireable<any> & Validator<any>;
|
|
199
205
|
fraudPendingReviewUpserted: Requireable<any> & Validator<any>;
|
|
@@ -421,6 +427,8 @@ declare const defaultExport: {
|
|
|
421
427
|
paypalAuthenticationDataReference: Requireable<any> & Validator<any>;
|
|
422
428
|
pendingBankPayment: Requireable<any> & Validator<any>;
|
|
423
429
|
pendingBankPaymentDetail: Requireable<any> & Validator<any>;
|
|
430
|
+
pendingBankPaymentTaxRemittanceDetail: Requireable<any> & Validator<any>;
|
|
431
|
+
pendingBankPaymentTransferDetail: Requireable<any> & Validator<any>;
|
|
424
432
|
percentageInstallmentStep: Requireable<any> & Validator<any>;
|
|
425
433
|
percentageInstallmentStepForm: Requireable<any> & Validator<any>;
|
|
426
434
|
phraseClassified: Requireable<any> & Validator<any>;
|
|
@@ -570,6 +578,7 @@ declare const defaultExport: {
|
|
|
570
578
|
taskItemUpserted: Requireable<any> & Validator<any>;
|
|
571
579
|
taskProcessQueuedEvent: Requireable<any> & Validator<any>;
|
|
572
580
|
taskSummarizeCode: Requireable<any> & Validator<any>;
|
|
581
|
+
taxRemittanceTransaction: Requireable<any> & Validator<any>;
|
|
573
582
|
timeCondition: Requireable<any> & Validator<any>;
|
|
574
583
|
timeWithTimezone: Requireable<any> & Validator<any>;
|
|
575
584
|
timeseriesType: Requireable<any> & Validator<any>;
|
|
@@ -585,6 +594,7 @@ declare const defaultExport: {
|
|
|
585
594
|
transactionSummary: Requireable<any> & Validator<any>;
|
|
586
595
|
transferMethod: Requireable<any> & Validator<any>;
|
|
587
596
|
transferTransaction: Requireable<any> & Validator<any>;
|
|
597
|
+
transferTransactionSource: Requireable<any> & Validator<any>;
|
|
588
598
|
tribe: Requireable<any> & Validator<any>;
|
|
589
599
|
unharmonizedItemsExport: Requireable<any> & Validator<any>;
|
|
590
600
|
unphrasedProductsExport: Requireable<any> & Validator<any>;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import PropTypes from 'prop-types';
|
|
2
|
+
import billingAddress from '../../../common/v0/models/billingAddress';
|
|
3
|
+
|
|
4
|
+
export default PropTypes.shape({
|
|
5
|
+
order_number: PropTypes.string.isRequired,
|
|
6
|
+
amount: PropTypes.number.isRequired,
|
|
7
|
+
currency: PropTypes.string.isRequired,
|
|
8
|
+
billing_address: billingAddress,
|
|
9
|
+
ip: PropTypes.string,
|
|
10
|
+
});
|
|
@@ -4,6 +4,7 @@ import price from '../../../common/v0/models/price';
|
|
|
4
4
|
|
|
5
5
|
export default PropTypes.shape({
|
|
6
6
|
id: PropTypes.string.isRequired,
|
|
7
|
+
key: PropTypes.string.isRequired,
|
|
7
8
|
account: accountReference.isRequired,
|
|
8
9
|
reference: PropTypes.string,
|
|
9
10
|
sent_on: PropTypes.string.isRequired,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import PropTypes from 'prop-types';
|
|
2
2
|
import accountReference from '../../../billing/v0/models/accountReference';
|
|
3
3
|
import price from '../../../common/v0/models/price';
|
|
4
|
-
import pendingBankPaymentDetail from '
|
|
4
|
+
import pendingBankPaymentDetail from '../unions/pendingBankPaymentDetail';
|
|
5
5
|
|
|
6
6
|
export default PropTypes.shape({
|
|
7
7
|
organization: PropTypes.string.isRequired,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import PropTypes from 'prop-types';
|
|
2
|
-
import billingStatementReference from '../../../billing/v0/models/billingStatementReference';
|
|
3
2
|
import transactionReference from './transactionReference';
|
|
3
|
+
import billingStatementReference from '../../../billing/v0/models/billingStatementReference';
|
|
4
4
|
|
|
5
5
|
export default PropTypes.shape({
|
|
6
|
+
transaction: transactionReference.isRequired,
|
|
6
7
|
statement: billingStatementReference.isRequired,
|
|
7
|
-
transfer_transaction: transactionReference.isRequired,
|
|
8
8
|
});
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import PropTypes from 'prop-types';
|
|
2
|
+
import billingTransactionType from '../../../billing/v0/enums/billingTransactionType';
|
|
3
|
+
import price from '../../../common/v0/models/price';
|
|
4
|
+
import billingStatementReference from '../../../billing/v0/models/billingStatementReference';
|
|
5
|
+
import billingOrderSummary from './billingOrderSummary';
|
|
6
|
+
import billingInvoiceSummary from './billingInvoiceSummary';
|
|
7
|
+
|
|
8
|
+
export default PropTypes.shape({
|
|
9
|
+
id: PropTypes.string.isRequired,
|
|
10
|
+
type: billingTransactionType.isRequired,
|
|
11
|
+
posted_at: PropTypes.string.isRequired,
|
|
12
|
+
value: price.isRequired,
|
|
13
|
+
description: PropTypes.string.isRequired,
|
|
14
|
+
statement: billingStatementReference,
|
|
15
|
+
created_at: PropTypes.string.isRequired,
|
|
16
|
+
order: billingOrderSummary.isRequired,
|
|
17
|
+
invoice: billingInvoiceSummary.isRequired,
|
|
18
|
+
});
|
|
@@ -2,6 +2,7 @@ import PropTypes from 'prop-types';
|
|
|
2
2
|
import billingTransactionType from '../../../billing/v0/enums/billingTransactionType';
|
|
3
3
|
import price from '../../../common/v0/models/price';
|
|
4
4
|
import billingStatementReference from '../../../billing/v0/models/billingStatementReference';
|
|
5
|
+
import transferTransactionSource from '../enums/transferTransactionSource';
|
|
5
6
|
import transferMethod from '../enums/transferMethod';
|
|
6
7
|
|
|
7
8
|
export default PropTypes.shape({
|
|
@@ -12,5 +13,6 @@ export default PropTypes.shape({
|
|
|
12
13
|
description: PropTypes.string.isRequired,
|
|
13
14
|
statement: billingStatementReference,
|
|
14
15
|
created_at: PropTypes.string.isRequired,
|
|
16
|
+
source: transferTransactionSource.isRequired,
|
|
15
17
|
method: transferMethod.isRequired,
|
|
16
18
|
});
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import PropTypes from 'prop-types';
|
|
2
|
+
import pendingBankPaymentTransferDetail from '../models/pendingBankPaymentTransferDetail';
|
|
3
|
+
import pendingBankPaymentTaxRemittanceDetail from '../models/pendingBankPaymentTaxRemittanceDetail';
|
|
4
|
+
|
|
5
|
+
export default PropTypes.oneOfType([
|
|
6
|
+
pendingBankPaymentTransferDetail,
|
|
7
|
+
pendingBankPaymentTaxRemittanceDetail,
|
|
8
|
+
]);
|
|
@@ -2,6 +2,7 @@ import PropTypes from 'prop-types';
|
|
|
2
2
|
import processingTransaction from '../models/processingTransaction';
|
|
3
3
|
import subscriptionTransaction from '../models/subscriptionTransaction';
|
|
4
4
|
import invoiceTransaction from '../models/invoiceTransaction';
|
|
5
|
+
import taxRemittanceTransaction from '../models/taxRemittanceTransaction';
|
|
5
6
|
import transferTransaction from '../models/transferTransaction';
|
|
6
7
|
import virtualCardTransaction from '../models/virtualCardTransaction';
|
|
7
8
|
|
|
@@ -9,6 +10,7 @@ export default PropTypes.oneOfType([
|
|
|
9
10
|
processingTransaction,
|
|
10
11
|
subscriptionTransaction,
|
|
11
12
|
invoiceTransaction,
|
|
13
|
+
taxRemittanceTransaction,
|
|
12
14
|
transferTransaction,
|
|
13
15
|
virtualCardTransaction,
|
|
14
16
|
]);
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import PropTypes from 'prop-types';
|
|
2
2
|
import issuerReference from './issuerReference';
|
|
3
3
|
import billingAddress from '../../../common/v0/models/billingAddress';
|
|
4
|
+
import authorizationPayload from './authorizationPayload';
|
|
4
5
|
|
|
5
6
|
export default PropTypes.shape({
|
|
6
7
|
method: PropTypes.string.isRequired,
|
|
@@ -12,4 +13,5 @@ export default PropTypes.shape({
|
|
|
12
13
|
key: PropTypes.string,
|
|
13
14
|
attributes: PropTypes.objectOf(PropTypes.string),
|
|
14
15
|
ip: PropTypes.string,
|
|
16
|
+
payload: authorizationPayload,
|
|
15
17
|
});
|
package/src/mocks.js
CHANGED
|
@@ -33,6 +33,7 @@ export default {
|
|
|
33
33
|
featureType: noopThunk,
|
|
34
34
|
flowApp: noopThunk,
|
|
35
35
|
format: noopThunk,
|
|
36
|
+
fraudEmailRuleDecision: noopThunk,
|
|
36
37
|
ftpFileSource: noopThunk,
|
|
37
38
|
ftpIntent: noopThunk,
|
|
38
39
|
ftpProtocol: noopThunk,
|
|
@@ -70,6 +71,7 @@ export default {
|
|
|
70
71
|
timeseriesType: noopThunk,
|
|
71
72
|
trackingIntegrationType: noopThunk,
|
|
72
73
|
transferMethod: noopThunk,
|
|
74
|
+
transferTransactionSource: noopThunk,
|
|
73
75
|
account: noopThunk,
|
|
74
76
|
accountContact: noopThunk,
|
|
75
77
|
accountContactForm: noopThunk,
|
|
@@ -85,6 +87,8 @@ export default {
|
|
|
85
87
|
authenticationForm: noopThunk,
|
|
86
88
|
authorization: noopThunk,
|
|
87
89
|
authorizationMetadata: noopThunk,
|
|
90
|
+
authorizationParameters: noopThunk,
|
|
91
|
+
authorizationParametersForm: noopThunk,
|
|
88
92
|
authorizedChargeStatus: noopThunk,
|
|
89
93
|
authorizedLineItemCharge: noopThunk,
|
|
90
94
|
authorizedShippingCharge: noopThunk,
|
|
@@ -96,6 +100,7 @@ export default {
|
|
|
96
100
|
bankPaymentForm: noopThunk,
|
|
97
101
|
billingAllocationBreakout: noopThunk,
|
|
98
102
|
billingAuthorizationReference: noopThunk,
|
|
103
|
+
billingInvoiceSummary: noopThunk,
|
|
99
104
|
billingOrderSummary: noopThunk,
|
|
100
105
|
billingOrganizationProcessingRates: noopThunk,
|
|
101
106
|
billingOrganizationSettings: noopThunk,
|
|
@@ -221,6 +226,8 @@ export default {
|
|
|
221
226
|
flowLabelSettingForm: noopThunk,
|
|
222
227
|
fractionInstallmentStep: noopThunk,
|
|
223
228
|
fractionInstallmentStepForm: noopThunk,
|
|
229
|
+
fraudEmailRule: noopThunk,
|
|
230
|
+
fraudEmailRuleForm: noopThunk,
|
|
224
231
|
fraudPendingReview: noopThunk,
|
|
225
232
|
fraudPendingReviewDeleted: noopThunk,
|
|
226
233
|
fraudPendingReviewUpserted: noopThunk,
|
|
@@ -422,7 +429,8 @@ export default {
|
|
|
422
429
|
paypalAuthenticationData: noopThunk,
|
|
423
430
|
paypalAuthenticationDataReference: noopThunk,
|
|
424
431
|
pendingBankPayment: noopThunk,
|
|
425
|
-
|
|
432
|
+
pendingBankPaymentTaxRemittanceDetail: noopThunk,
|
|
433
|
+
pendingBankPaymentTransferDetail: noopThunk,
|
|
426
434
|
percentageInstallmentStep: noopThunk,
|
|
427
435
|
percentageInstallmentStepForm: noopThunk,
|
|
428
436
|
phraseClassified: noopThunk,
|
|
@@ -542,6 +550,7 @@ export default {
|
|
|
542
550
|
taskItemUpserted: noopThunk,
|
|
543
551
|
taskProcessQueuedEvent: noopThunk,
|
|
544
552
|
taskSummarizeCode: noopThunk,
|
|
553
|
+
taxRemittanceTransaction: noopThunk,
|
|
545
554
|
timeCondition: noopThunk,
|
|
546
555
|
timeWithTimezone: noopThunk,
|
|
547
556
|
trackingEvent: noopThunk,
|
|
@@ -583,6 +592,7 @@ export default {
|
|
|
583
592
|
orderActionForm: noopThunk,
|
|
584
593
|
paymentRedirect: noopThunk,
|
|
585
594
|
paymentSummaryDetails: noopThunk,
|
|
595
|
+
pendingBankPaymentDetail: noopThunk,
|
|
586
596
|
ratecardEstimate: noopThunk,
|
|
587
597
|
ratecardEstimateForm: noopThunk,
|
|
588
598
|
ratecardFee: noopThunk,
|