@flowio/api-internal-prop-types 1.2.12 → 1.2.13
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 +2 -0
- package/lib/io/flow/internal/v0/models/marketingGatewayProductsResult.js +25 -0
- package/lib/io/flow/internal/v0/models/marketingGatewayProductsStatusCount.js +20 -0
- package/lib/mocks.js +2 -0
- package/lib/validators.js +10 -0
- package/package.json +1 -1
- package/src/index.d.ts +2 -0
- package/src/io/flow/internal/v0/models/marketingGatewayProductsResult.js +10 -0
- package/src/io/flow/internal/v0/models/marketingGatewayProductsStatusCount.js +7 -0
- package/src/mocks.js +2 -0
- package/src/validators.js +4 -0
package/lib/index.d.ts
CHANGED
|
@@ -425,6 +425,8 @@ declare const defaultExport: {
|
|
|
425
425
|
marketingGatewayPlatformMarket: Requireable<any> & Validator<any>;
|
|
426
426
|
marketingGatewayProduct: Requireable<any> & Validator<any>;
|
|
427
427
|
marketingGatewayProductStatus: Requireable<any> & Validator<any>;
|
|
428
|
+
marketingGatewayProductsResult: Requireable<any> & Validator<any>;
|
|
429
|
+
marketingGatewayProductsStatusCount: Requireable<any> & Validator<any>;
|
|
428
430
|
marketingGatewaySyncStatus: Requireable<any> & Validator<any>;
|
|
429
431
|
nextBillingStatement: Requireable<any> & Validator<any>;
|
|
430
432
|
nextInstallment: Requireable<any> & Validator<any>;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
|
|
7
|
+
var _propTypes = require('prop-types');
|
|
8
|
+
|
|
9
|
+
var _propTypes2 = _interopRequireDefault(_propTypes);
|
|
10
|
+
|
|
11
|
+
var _marketingGatewayProduct = require('../unions/marketingGatewayProduct');
|
|
12
|
+
|
|
13
|
+
var _marketingGatewayProduct2 = _interopRequireDefault(_marketingGatewayProduct);
|
|
14
|
+
|
|
15
|
+
var _marketingGatewayProductsStatusCount = require('./marketingGatewayProductsStatusCount');
|
|
16
|
+
|
|
17
|
+
var _marketingGatewayProductsStatusCount2 = _interopRequireDefault(_marketingGatewayProductsStatusCount);
|
|
18
|
+
|
|
19
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
20
|
+
|
|
21
|
+
exports.default = _propTypes2.default.shape({
|
|
22
|
+
products: _propTypes2.default.arrayOf(_marketingGatewayProduct2.default).isRequired,
|
|
23
|
+
products_status_counts: _propTypes2.default.arrayOf(_marketingGatewayProductsStatusCount2.default).isRequired,
|
|
24
|
+
total_count: _propTypes2.default.number.isRequired
|
|
25
|
+
});
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
|
|
7
|
+
var _propTypes = require('prop-types');
|
|
8
|
+
|
|
9
|
+
var _propTypes2 = _interopRequireDefault(_propTypes);
|
|
10
|
+
|
|
11
|
+
var _marketingGatewayProductStatus = require('../enums/marketingGatewayProductStatus');
|
|
12
|
+
|
|
13
|
+
var _marketingGatewayProductStatus2 = _interopRequireDefault(_marketingGatewayProductStatus);
|
|
14
|
+
|
|
15
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
16
|
+
|
|
17
|
+
exports.default = _propTypes2.default.shape({
|
|
18
|
+
status: _marketingGatewayProductStatus2.default.isRequired,
|
|
19
|
+
count: _propTypes2.default.number.isRequired
|
|
20
|
+
});
|
package/lib/mocks.js
CHANGED
|
@@ -436,6 +436,8 @@ exports.default = {
|
|
|
436
436
|
marketingGatewayImageLinks: noopThunk,
|
|
437
437
|
marketingGatewayLocalizationFlowCountry: noopThunk,
|
|
438
438
|
marketingGatewayLocalizationFlowExperience: noopThunk,
|
|
439
|
+
marketingGatewayProductsResult: noopThunk,
|
|
440
|
+
marketingGatewayProductsStatusCount: noopThunk,
|
|
439
441
|
nextBillingStatement: noopThunk,
|
|
440
442
|
nextInstallment: noopThunk,
|
|
441
443
|
nextInstallmentDeleted: noopThunk,
|
package/lib/validators.js
CHANGED
|
@@ -1700,6 +1700,14 @@ var _marketingGatewayLocalizationFlowExperience = require('./io/flow/internal/v0
|
|
|
1700
1700
|
|
|
1701
1701
|
var _marketingGatewayLocalizationFlowExperience2 = _interopRequireDefault(_marketingGatewayLocalizationFlowExperience);
|
|
1702
1702
|
|
|
1703
|
+
var _marketingGatewayProductsResult = require('./io/flow/internal/v0/models/marketingGatewayProductsResult');
|
|
1704
|
+
|
|
1705
|
+
var _marketingGatewayProductsResult2 = _interopRequireDefault(_marketingGatewayProductsResult);
|
|
1706
|
+
|
|
1707
|
+
var _marketingGatewayProductsStatusCount = require('./io/flow/internal/v0/models/marketingGatewayProductsStatusCount');
|
|
1708
|
+
|
|
1709
|
+
var _marketingGatewayProductsStatusCount2 = _interopRequireDefault(_marketingGatewayProductsStatusCount);
|
|
1710
|
+
|
|
1703
1711
|
var _nextBillingStatement = require('./io/flow/internal/v0/models/nextBillingStatement');
|
|
1704
1712
|
|
|
1705
1713
|
var _nextBillingStatement2 = _interopRequireDefault(_nextBillingStatement);
|
|
@@ -3119,6 +3127,8 @@ exports.default = {
|
|
|
3119
3127
|
marketingGatewayImageLinks: _marketingGatewayImageLinks2.default,
|
|
3120
3128
|
marketingGatewayLocalizationFlowCountry: _marketingGatewayLocalizationFlowCountry2.default,
|
|
3121
3129
|
marketingGatewayLocalizationFlowExperience: _marketingGatewayLocalizationFlowExperience2.default,
|
|
3130
|
+
marketingGatewayProductsResult: _marketingGatewayProductsResult2.default,
|
|
3131
|
+
marketingGatewayProductsStatusCount: _marketingGatewayProductsStatusCount2.default,
|
|
3122
3132
|
nextBillingStatement: _nextBillingStatement2.default,
|
|
3123
3133
|
nextInstallment: _nextInstallment2.default,
|
|
3124
3134
|
nextInstallmentDeleted: _nextInstallmentDeleted2.default,
|
package/package.json
CHANGED
package/src/index.d.ts
CHANGED
|
@@ -425,6 +425,8 @@ declare const defaultExport: {
|
|
|
425
425
|
marketingGatewayPlatformMarket: Requireable<any> & Validator<any>;
|
|
426
426
|
marketingGatewayProduct: Requireable<any> & Validator<any>;
|
|
427
427
|
marketingGatewayProductStatus: Requireable<any> & Validator<any>;
|
|
428
|
+
marketingGatewayProductsResult: Requireable<any> & Validator<any>;
|
|
429
|
+
marketingGatewayProductsStatusCount: Requireable<any> & Validator<any>;
|
|
428
430
|
marketingGatewaySyncStatus: Requireable<any> & Validator<any>;
|
|
429
431
|
nextBillingStatement: Requireable<any> & Validator<any>;
|
|
430
432
|
nextInstallment: Requireable<any> & Validator<any>;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import PropTypes from 'prop-types';
|
|
2
|
+
import marketingGatewayProduct from '../unions/marketingGatewayProduct';
|
|
3
|
+
import marketingGatewayProductsStatusCount from './marketingGatewayProductsStatusCount';
|
|
4
|
+
|
|
5
|
+
export default PropTypes.shape({
|
|
6
|
+
products: PropTypes.arrayOf(marketingGatewayProduct).isRequired,
|
|
7
|
+
products_status_counts: PropTypes.arrayOf(marketingGatewayProductsStatusCount)
|
|
8
|
+
.isRequired,
|
|
9
|
+
total_count: PropTypes.number.isRequired,
|
|
10
|
+
});
|
package/src/mocks.js
CHANGED
|
@@ -431,6 +431,8 @@ export default {
|
|
|
431
431
|
marketingGatewayImageLinks: noopThunk,
|
|
432
432
|
marketingGatewayLocalizationFlowCountry: noopThunk,
|
|
433
433
|
marketingGatewayLocalizationFlowExperience: noopThunk,
|
|
434
|
+
marketingGatewayProductsResult: noopThunk,
|
|
435
|
+
marketingGatewayProductsStatusCount: noopThunk,
|
|
434
436
|
nextBillingStatement: noopThunk,
|
|
435
437
|
nextInstallment: noopThunk,
|
|
436
438
|
nextInstallmentDeleted: noopThunk,
|
package/src/validators.js
CHANGED
|
@@ -422,6 +422,8 @@ import marketingGatewayGoogleProductWarning from './io/flow/internal/v0/models/m
|
|
|
422
422
|
import marketingGatewayImageLinks from './io/flow/internal/v0/models/marketingGatewayImageLinks';
|
|
423
423
|
import marketingGatewayLocalizationFlowCountry from './io/flow/internal/v0/models/marketingGatewayLocalizationFlowCountry';
|
|
424
424
|
import marketingGatewayLocalizationFlowExperience from './io/flow/internal/v0/models/marketingGatewayLocalizationFlowExperience';
|
|
425
|
+
import marketingGatewayProductsResult from './io/flow/internal/v0/models/marketingGatewayProductsResult';
|
|
426
|
+
import marketingGatewayProductsStatusCount from './io/flow/internal/v0/models/marketingGatewayProductsStatusCount';
|
|
425
427
|
import nextBillingStatement from './io/flow/internal/v0/models/nextBillingStatement';
|
|
426
428
|
import nextInstallment from './io/flow/internal/v0/models/nextInstallment';
|
|
427
429
|
import nextInstallmentDeleted from './io/flow/internal/v0/models/nextInstallmentDeleted';
|
|
@@ -1096,6 +1098,8 @@ export default {
|
|
|
1096
1098
|
marketingGatewayImageLinks,
|
|
1097
1099
|
marketingGatewayLocalizationFlowCountry,
|
|
1098
1100
|
marketingGatewayLocalizationFlowExperience,
|
|
1101
|
+
marketingGatewayProductsResult,
|
|
1102
|
+
marketingGatewayProductsStatusCount,
|
|
1099
1103
|
nextBillingStatement,
|
|
1100
1104
|
nextInstallment,
|
|
1101
1105
|
nextInstallmentDeleted,
|