@flowio/api-internal-prop-types 1.2.14 → 1.2.15
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 +3 -3
- package/lib/index.d.ts +3 -3
- package/lib/io/flow/experience/v0/enums/orderErrorCode.js +1 -1
- package/lib/io/flow/internal/v0/models/billingOrganizationSettings.js +2 -1
- package/lib/io/flow/internal/v0/models/{marketingGatewayLocalizationFlowExperience.js → localizationSummary.js} +2 -5
- package/lib/io/flow/internal/v0/models/marketingGatewayAccountMarketLocalization.js +3 -3
- package/lib/io/flow/internal/v0/models/marketingGatewayConfiguredMarket.js +6 -3
- package/lib/io/flow/internal/v0/models/marketingGatewayConfiguredMarketForm.js +3 -5
- package/lib/io/flow/internal/v0/models/marketingGatewayExistingMarket.js +5 -1
- package/lib/io/flow/internal/v0/models/{marketingGatewayLocalizationFlowCountry.js → marketingGatewayGoogleProductResult.js} +2 -1
- package/lib/io/flow/internal/v0/models/productResult.js +25 -0
- package/lib/mocks.js +3 -3
- package/lib/validators.js +15 -15
- package/package.json +2 -3
- package/src/index.d.ts +3 -3
- package/src/io/flow/experience/v0/enums/orderErrorCode.js +2 -0
- package/src/io/flow/internal/v0/models/billingOrganizationSettings.js +1 -0
- package/src/io/flow/internal/v0/models/localizationSummary.js +6 -0
- package/src/io/flow/internal/v0/models/marketingGatewayAccountMarketLocalization.js +2 -2
- package/src/io/flow/internal/v0/models/marketingGatewayConfiguredMarket.js +6 -2
- package/src/io/flow/internal/v0/models/marketingGatewayConfiguredMarketForm.js +3 -2
- package/src/io/flow/internal/v0/models/marketingGatewayExistingMarket.js +3 -1
- package/src/io/flow/internal/v0/models/marketingGatewayGoogleProductResult.js +6 -0
- package/src/io/flow/internal/v0/models/productResult.js +9 -0
- package/src/mocks.js +3 -3
- package/src/validators.js +6 -6
- package/.eslintcache +0 -1
- package/LICENSE +0 -21
- package/lib/io/flow/internal/v0/unions/marketingGatewayLocalization.js +0 -21
- package/src/io/flow/internal/v0/models/marketingGatewayLocalizationFlowCountry.js +0 -5
- package/src/io/flow/internal/v0/models/marketingGatewayLocalizationFlowExperience.js +0 -6
- package/src/io/flow/internal/v0/unions/marketingGatewayLocalization.js +0 -8
|
@@ -383,6 +383,7 @@ flow:
|
|
|
383
383
|
- src/io/flow/internal/v0/models/localization.js
|
|
384
384
|
- src/io/flow/internal/v0/models/localizationForm.js
|
|
385
385
|
- src/io/flow/internal/v0/models/localizationRef.js
|
|
386
|
+
- src/io/flow/internal/v0/models/localizationSummary.js
|
|
386
387
|
- src/io/flow/internal/v0/models/localizationUpserted.js
|
|
387
388
|
- src/io/flow/internal/v0/models/localizedContent.js
|
|
388
389
|
- src/io/flow/internal/v0/models/localizedContentElement.js
|
|
@@ -423,6 +424,7 @@ flow:
|
|
|
423
424
|
- src/io/flow/internal/v0/models/marketingGatewayGoogleProductInstallment.js
|
|
424
425
|
- src/io/flow/internal/v0/models/marketingGatewayGoogleProductItemLevelIssue.js
|
|
425
426
|
- src/io/flow/internal/v0/models/marketingGatewayGoogleProductPricingDetails.js
|
|
427
|
+
- src/io/flow/internal/v0/models/marketingGatewayGoogleProductResult.js
|
|
426
428
|
- src/io/flow/internal/v0/models/marketingGatewayGoogleProductShippingDetails.js
|
|
427
429
|
- src/io/flow/internal/v0/models/marketingGatewayGoogleProductShippingUnit.js
|
|
428
430
|
- src/io/flow/internal/v0/models/marketingGatewayGoogleProductSizeDetails.js
|
|
@@ -431,8 +433,6 @@ flow:
|
|
|
431
433
|
- src/io/flow/internal/v0/models/marketingGatewayGoogleProductUnitPricingMeasure.js
|
|
432
434
|
- src/io/flow/internal/v0/models/marketingGatewayGoogleProductWarning.js
|
|
433
435
|
- src/io/flow/internal/v0/models/marketingGatewayImageLinks.js
|
|
434
|
-
- src/io/flow/internal/v0/models/marketingGatewayLocalizationFlowCountry.js
|
|
435
|
-
- src/io/flow/internal/v0/models/marketingGatewayLocalizationFlowExperience.js
|
|
436
436
|
- src/io/flow/internal/v0/models/marketingGatewayProductsResult.js
|
|
437
437
|
- src/io/flow/internal/v0/models/marketingGatewayProductsStatusCount.js
|
|
438
438
|
- src/io/flow/internal/v0/models/nextBillingStatement.js
|
|
@@ -512,6 +512,7 @@ flow:
|
|
|
512
512
|
- src/io/flow/internal/v0/models/productPhrase.js
|
|
513
513
|
- src/io/flow/internal/v0/models/productPhraseForm.js
|
|
514
514
|
- src/io/flow/internal/v0/models/productReference.js
|
|
515
|
+
- src/io/flow/internal/v0/models/productResult.js
|
|
515
516
|
- src/io/flow/internal/v0/models/rate.js
|
|
516
517
|
- src/io/flow/internal/v0/models/rateData.js
|
|
517
518
|
- src/io/flow/internal/v0/models/rateDataV3.js
|
|
@@ -682,7 +683,6 @@ flow:
|
|
|
682
683
|
- src/io/flow/internal/v0/unions/internalAuthorizationDetails.js
|
|
683
684
|
- src/io/flow/internal/v0/unions/internalRefundForm.js
|
|
684
685
|
- src/io/flow/internal/v0/unions/localizableContent.js
|
|
685
|
-
- src/io/flow/internal/v0/unions/marketingGatewayLocalization.js
|
|
686
686
|
- src/io/flow/internal/v0/unions/marketingGatewayPlatformMarket.js
|
|
687
687
|
- src/io/flow/internal/v0/unions/marketingGatewayProduct.js
|
|
688
688
|
- src/io/flow/internal/v0/unions/orderActionForm.js
|
package/lib/index.d.ts
CHANGED
|
@@ -372,6 +372,7 @@ declare const defaultExport: {
|
|
|
372
372
|
localization: Requireable<any> & Validator<any>;
|
|
373
373
|
localizationForm: Requireable<any> & Validator<any>;
|
|
374
374
|
localizationRef: Requireable<any> & Validator<any>;
|
|
375
|
+
localizationSummary: Requireable<any> & Validator<any>;
|
|
375
376
|
localizationUpserted: Requireable<any> & Validator<any>;
|
|
376
377
|
localizedContent: Requireable<any> & Validator<any>;
|
|
377
378
|
localizedContentElement: Requireable<any> & Validator<any>;
|
|
@@ -415,6 +416,7 @@ declare const defaultExport: {
|
|
|
415
416
|
marketingGatewayGoogleProductItemLevelIssue: Requireable<any> & Validator<any>;
|
|
416
417
|
marketingGatewayGoogleProductItemLevelIssueSeverity: Requireable<any> & Validator<any>;
|
|
417
418
|
marketingGatewayGoogleProductPricingDetails: Requireable<any> & Validator<any>;
|
|
419
|
+
marketingGatewayGoogleProductResult: Requireable<any> & Validator<any>;
|
|
418
420
|
marketingGatewayGoogleProductShippingDetails: Requireable<any> & Validator<any>;
|
|
419
421
|
marketingGatewayGoogleProductShippingUnit: Requireable<any> & Validator<any>;
|
|
420
422
|
marketingGatewayGoogleProductSizeDetails: Requireable<any> & Validator<any>;
|
|
@@ -423,9 +425,6 @@ declare const defaultExport: {
|
|
|
423
425
|
marketingGatewayGoogleProductUnitPricingMeasure: Requireable<any> & Validator<any>;
|
|
424
426
|
marketingGatewayGoogleProductWarning: Requireable<any> & Validator<any>;
|
|
425
427
|
marketingGatewayImageLinks: Requireable<any> & Validator<any>;
|
|
426
|
-
marketingGatewayLocalization: Requireable<any> & Validator<any>;
|
|
427
|
-
marketingGatewayLocalizationFlowCountry: Requireable<any> & Validator<any>;
|
|
428
|
-
marketingGatewayLocalizationFlowExperience: Requireable<any> & Validator<any>;
|
|
429
428
|
marketingGatewayPlatform: Requireable<any> & Validator<any>;
|
|
430
429
|
marketingGatewayPlatformMarket: Requireable<any> & Validator<any>;
|
|
431
430
|
marketingGatewayProduct: Requireable<any> & Validator<any>;
|
|
@@ -523,6 +522,7 @@ declare const defaultExport: {
|
|
|
523
522
|
productPhrase: Requireable<any> & Validator<any>;
|
|
524
523
|
productPhraseForm: Requireable<any> & Validator<any>;
|
|
525
524
|
productReference: Requireable<any> & Validator<any>;
|
|
525
|
+
productResult: Requireable<any> & Validator<any>;
|
|
526
526
|
promptAction: Requireable<any> & Validator<any>;
|
|
527
527
|
promptOptions: Requireable<any> & Validator<any>;
|
|
528
528
|
promptTarget: Requireable<any> & Validator<any>;
|
|
@@ -10,4 +10,4 @@ var _propTypes2 = _interopRequireDefault(_propTypes);
|
|
|
10
10
|
|
|
11
11
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
12
12
|
|
|
13
|
-
exports.default = _propTypes2.default.oneOf(['generic_error', 'order_item_not_available', 'order_identifier_error', 'authorization_invalid', 'domestic_shipping_unavailable', 'shipping_unavailable', 'value_threshold_exceeded', 'invalid_currency', 'invalid_country', 'invalid_region', 'invalid_language']);
|
|
13
|
+
exports.default = _propTypes2.default.oneOf(['generic_error', 'order_item_not_available', 'order_identifier_error', 'authorization_invalid', 'domestic_shipping_unavailable', 'shipping_unavailable', 'value_threshold_exceeded', 'invalid_currency', 'invalid_country', 'invalid_region', 'invalid_language', 'order_item_out_of_stock', 'gift_card_error']);
|
|
@@ -28,5 +28,6 @@ exports.default = _propTypes2.default.shape({
|
|
|
28
28
|
include_transaction_created_at: _propTypes2.default.bool.isRequired,
|
|
29
29
|
send_statements_to_flow_ftp_server: _propTypes2.default.bool.isRequired,
|
|
30
30
|
invoicing_terms: _paymentTerm2.default,
|
|
31
|
-
transfer_method: _transferMethod2.default
|
|
31
|
+
transfer_method: _transferMethod2.default,
|
|
32
|
+
enable_b2b_tax_remittance_transactions: _propTypes2.default.bool.isRequired
|
|
32
33
|
});
|
|
@@ -8,12 +8,9 @@ var _propTypes = require('prop-types');
|
|
|
8
8
|
|
|
9
9
|
var _propTypes2 = _interopRequireDefault(_propTypes);
|
|
10
10
|
|
|
11
|
-
var _experienceSummary = require('../../../common/v0/models/experienceSummary');
|
|
12
|
-
|
|
13
|
-
var _experienceSummary2 = _interopRequireDefault(_experienceSummary);
|
|
14
|
-
|
|
15
11
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
16
12
|
|
|
17
13
|
exports.default = _propTypes2.default.shape({
|
|
18
|
-
|
|
14
|
+
experience_name: _propTypes2.default.string.isRequired,
|
|
15
|
+
experience_key: _propTypes2.default.string.isRequired
|
|
19
16
|
});
|
|
@@ -12,9 +12,9 @@ var _marketingGatewayPlatformMarket = require('../unions/marketingGatewayPlatfor
|
|
|
12
12
|
|
|
13
13
|
var _marketingGatewayPlatformMarket2 = _interopRequireDefault(_marketingGatewayPlatformMarket);
|
|
14
14
|
|
|
15
|
-
var
|
|
15
|
+
var _experienceSummary = require('../../../common/v0/models/experienceSummary');
|
|
16
16
|
|
|
17
|
-
var
|
|
17
|
+
var _experienceSummary2 = _interopRequireDefault(_experienceSummary);
|
|
18
18
|
|
|
19
19
|
var _marketingGatewayExistingMarket = require('./marketingGatewayExistingMarket');
|
|
20
20
|
|
|
@@ -32,7 +32,7 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
|
|
|
32
32
|
|
|
33
33
|
exports.default = _propTypes2.default.shape({
|
|
34
34
|
market: _marketingGatewayPlatformMarket2.default.isRequired,
|
|
35
|
-
|
|
35
|
+
compatible_experiences: _propTypes2.default.arrayOf(_experienceSummary2.default).isRequired,
|
|
36
36
|
existing_markets: _propTypes2.default.arrayOf(_marketingGatewayExistingMarket2.default).isRequired,
|
|
37
37
|
configured_markets: _marketingGatewayConfiguredMarket2.default,
|
|
38
38
|
error: _marketingGatewayAccountMarketLocalizationError2.default
|
|
@@ -12,9 +12,9 @@ var _marketingGatewayPlatformMarket = require('../unions/marketingGatewayPlatfor
|
|
|
12
12
|
|
|
13
13
|
var _marketingGatewayPlatformMarket2 = _interopRequireDefault(_marketingGatewayPlatformMarket);
|
|
14
14
|
|
|
15
|
-
var
|
|
15
|
+
var _marketingGatewayProductsStatusCount = require('./marketingGatewayProductsStatusCount');
|
|
16
16
|
|
|
17
|
-
var
|
|
17
|
+
var _marketingGatewayProductsStatusCount2 = _interopRequireDefault(_marketingGatewayProductsStatusCount);
|
|
18
18
|
|
|
19
19
|
var _marketingGatewaySyncStatus = require('../enums/marketingGatewaySyncStatus');
|
|
20
20
|
|
|
@@ -25,8 +25,11 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
|
|
|
25
25
|
exports.default = _propTypes2.default.shape({
|
|
26
26
|
id: _propTypes2.default.string.isRequired,
|
|
27
27
|
market: _marketingGatewayPlatformMarket2.default.isRequired,
|
|
28
|
-
|
|
28
|
+
experience_id: _propTypes2.default.string,
|
|
29
|
+
experience_name: _propTypes2.default.string,
|
|
30
|
+
experience_key: _propTypes2.default.string,
|
|
29
31
|
existing_market_id: _propTypes2.default.string.isRequired,
|
|
32
|
+
products_status_counts: _propTypes2.default.arrayOf(_marketingGatewayProductsStatusCount2.default).isRequired,
|
|
30
33
|
sync_status: _marketingGatewaySyncStatus2.default.isRequired,
|
|
31
34
|
synced_at: _propTypes2.default.string
|
|
32
35
|
});
|
|
@@ -12,14 +12,12 @@ var _marketingGatewayPlatformMarket = require('../unions/marketingGatewayPlatfor
|
|
|
12
12
|
|
|
13
13
|
var _marketingGatewayPlatformMarket2 = _interopRequireDefault(_marketingGatewayPlatformMarket);
|
|
14
14
|
|
|
15
|
-
var _marketingGatewayLocalization = require('../unions/marketingGatewayLocalization');
|
|
16
|
-
|
|
17
|
-
var _marketingGatewayLocalization2 = _interopRequireDefault(_marketingGatewayLocalization);
|
|
18
|
-
|
|
19
15
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
20
16
|
|
|
21
17
|
exports.default = _propTypes2.default.shape({
|
|
22
18
|
market: _marketingGatewayPlatformMarket2.default.isRequired,
|
|
23
|
-
|
|
19
|
+
experience_id: _propTypes2.default.string.isRequired,
|
|
20
|
+
experience_name: _propTypes2.default.string.isRequired,
|
|
21
|
+
experience_key: _propTypes2.default.string.isRequired,
|
|
24
22
|
existing_market_id: _propTypes2.default.string.isRequired
|
|
25
23
|
});
|
|
@@ -12,6 +12,10 @@ var _marketingGatewayPlatformMarket = require('../unions/marketingGatewayPlatfor
|
|
|
12
12
|
|
|
13
13
|
var _marketingGatewayPlatformMarket2 = _interopRequireDefault(_marketingGatewayPlatformMarket);
|
|
14
14
|
|
|
15
|
+
var _marketingGatewayProductsStatusCount = require('./marketingGatewayProductsStatusCount');
|
|
16
|
+
|
|
17
|
+
var _marketingGatewayProductsStatusCount2 = _interopRequireDefault(_marketingGatewayProductsStatusCount);
|
|
18
|
+
|
|
15
19
|
var _marketingGatewaySyncStatus = require('../enums/marketingGatewaySyncStatus');
|
|
16
20
|
|
|
17
21
|
var _marketingGatewaySyncStatus2 = _interopRequireDefault(_marketingGatewaySyncStatus);
|
|
@@ -21,7 +25,7 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
|
|
|
21
25
|
exports.default = _propTypes2.default.shape({
|
|
22
26
|
id: _propTypes2.default.string.isRequired,
|
|
23
27
|
market: _marketingGatewayPlatformMarket2.default.isRequired,
|
|
24
|
-
|
|
28
|
+
products_status_counts: _propTypes2.default.arrayOf(_marketingGatewayProductsStatusCount2.default).isRequired,
|
|
25
29
|
sync_status: _marketingGatewaySyncStatus2.default.isRequired,
|
|
26
30
|
synced_at: _propTypes2.default.string
|
|
27
31
|
});
|
|
@@ -11,5 +11,6 @@ var _propTypes2 = _interopRequireDefault(_propTypes);
|
|
|
11
11
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
12
12
|
|
|
13
13
|
exports.default = _propTypes2.default.shape({
|
|
14
|
-
|
|
14
|
+
code: _propTypes2.default.string.isRequired,
|
|
15
|
+
servability: _propTypes2.default.string.isRequired
|
|
15
16
|
});
|
|
@@ -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 _localizationSummary = require('./localizationSummary');
|
|
16
|
+
|
|
17
|
+
var _localizationSummary2 = _interopRequireDefault(_localizationSummary);
|
|
18
|
+
|
|
19
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
20
|
+
|
|
21
|
+
exports.default = _propTypes2.default.shape({
|
|
22
|
+
base_product: _marketingGatewayProduct2.default.isRequired,
|
|
23
|
+
configured_product: _marketingGatewayProduct2.default,
|
|
24
|
+
localisation_summary: _localizationSummary2.default
|
|
25
|
+
});
|
package/lib/mocks.js
CHANGED
|
@@ -391,6 +391,7 @@ exports.default = {
|
|
|
391
391
|
localization: noopThunk,
|
|
392
392
|
localizationForm: noopThunk,
|
|
393
393
|
localizationRef: noopThunk,
|
|
394
|
+
localizationSummary: noopThunk,
|
|
394
395
|
localizationUpserted: noopThunk,
|
|
395
396
|
localizedContent: noopThunk,
|
|
396
397
|
localizedContentElement: noopThunk,
|
|
@@ -431,6 +432,7 @@ exports.default = {
|
|
|
431
432
|
marketingGatewayGoogleProductInstallment: noopThunk,
|
|
432
433
|
marketingGatewayGoogleProductItemLevelIssue: noopThunk,
|
|
433
434
|
marketingGatewayGoogleProductPricingDetails: noopThunk,
|
|
435
|
+
marketingGatewayGoogleProductResult: noopThunk,
|
|
434
436
|
marketingGatewayGoogleProductShippingDetails: noopThunk,
|
|
435
437
|
marketingGatewayGoogleProductShippingUnit: noopThunk,
|
|
436
438
|
marketingGatewayGoogleProductSizeDetails: noopThunk,
|
|
@@ -439,8 +441,6 @@ exports.default = {
|
|
|
439
441
|
marketingGatewayGoogleProductUnitPricingMeasure: noopThunk,
|
|
440
442
|
marketingGatewayGoogleProductWarning: noopThunk,
|
|
441
443
|
marketingGatewayImageLinks: noopThunk,
|
|
442
|
-
marketingGatewayLocalizationFlowCountry: noopThunk,
|
|
443
|
-
marketingGatewayLocalizationFlowExperience: noopThunk,
|
|
444
444
|
marketingGatewayProductsResult: noopThunk,
|
|
445
445
|
marketingGatewayProductsStatusCount: noopThunk,
|
|
446
446
|
nextBillingStatement: noopThunk,
|
|
@@ -520,6 +520,7 @@ exports.default = {
|
|
|
520
520
|
productPhrase: noopThunk,
|
|
521
521
|
productPhraseForm: noopThunk,
|
|
522
522
|
productReference: noopThunk,
|
|
523
|
+
productResult: noopThunk,
|
|
523
524
|
rate: noopThunk,
|
|
524
525
|
rateData: noopThunk,
|
|
525
526
|
rateDataV3: noopThunk,
|
|
@@ -690,7 +691,6 @@ exports.default = {
|
|
|
690
691
|
internalAuthorizationDetails: noopThunk,
|
|
691
692
|
internalRefundForm: noopThunk,
|
|
692
693
|
localizableContent: noopThunk,
|
|
693
|
-
marketingGatewayLocalization: noopThunk,
|
|
694
694
|
marketingGatewayPlatformMarket: noopThunk,
|
|
695
695
|
marketingGatewayProduct: noopThunk,
|
|
696
696
|
orderActionForm: noopThunk,
|
package/lib/validators.js
CHANGED
|
@@ -1520,6 +1520,10 @@ var _localizationRef = require('./io/flow/internal/v0/models/localizationRef');
|
|
|
1520
1520
|
|
|
1521
1521
|
var _localizationRef2 = _interopRequireDefault(_localizationRef);
|
|
1522
1522
|
|
|
1523
|
+
var _localizationSummary = require('./io/flow/internal/v0/models/localizationSummary');
|
|
1524
|
+
|
|
1525
|
+
var _localizationSummary2 = _interopRequireDefault(_localizationSummary);
|
|
1526
|
+
|
|
1523
1527
|
var _localizationUpserted = require('./io/flow/internal/v0/models/localizationUpserted');
|
|
1524
1528
|
|
|
1525
1529
|
var _localizationUpserted2 = _interopRequireDefault(_localizationUpserted);
|
|
@@ -1680,6 +1684,10 @@ var _marketingGatewayGoogleProductPricingDetails = require('./io/flow/internal/v
|
|
|
1680
1684
|
|
|
1681
1685
|
var _marketingGatewayGoogleProductPricingDetails2 = _interopRequireDefault(_marketingGatewayGoogleProductPricingDetails);
|
|
1682
1686
|
|
|
1687
|
+
var _marketingGatewayGoogleProductResult = require('./io/flow/internal/v0/models/marketingGatewayGoogleProductResult');
|
|
1688
|
+
|
|
1689
|
+
var _marketingGatewayGoogleProductResult2 = _interopRequireDefault(_marketingGatewayGoogleProductResult);
|
|
1690
|
+
|
|
1683
1691
|
var _marketingGatewayGoogleProductShippingDetails = require('./io/flow/internal/v0/models/marketingGatewayGoogleProductShippingDetails');
|
|
1684
1692
|
|
|
1685
1693
|
var _marketingGatewayGoogleProductShippingDetails2 = _interopRequireDefault(_marketingGatewayGoogleProductShippingDetails);
|
|
@@ -1712,14 +1720,6 @@ var _marketingGatewayImageLinks = require('./io/flow/internal/v0/models/marketin
|
|
|
1712
1720
|
|
|
1713
1721
|
var _marketingGatewayImageLinks2 = _interopRequireDefault(_marketingGatewayImageLinks);
|
|
1714
1722
|
|
|
1715
|
-
var _marketingGatewayLocalizationFlowCountry = require('./io/flow/internal/v0/models/marketingGatewayLocalizationFlowCountry');
|
|
1716
|
-
|
|
1717
|
-
var _marketingGatewayLocalizationFlowCountry2 = _interopRequireDefault(_marketingGatewayLocalizationFlowCountry);
|
|
1718
|
-
|
|
1719
|
-
var _marketingGatewayLocalizationFlowExperience = require('./io/flow/internal/v0/models/marketingGatewayLocalizationFlowExperience');
|
|
1720
|
-
|
|
1721
|
-
var _marketingGatewayLocalizationFlowExperience2 = _interopRequireDefault(_marketingGatewayLocalizationFlowExperience);
|
|
1722
|
-
|
|
1723
1723
|
var _marketingGatewayProductsResult = require('./io/flow/internal/v0/models/marketingGatewayProductsResult');
|
|
1724
1724
|
|
|
1725
1725
|
var _marketingGatewayProductsResult2 = _interopRequireDefault(_marketingGatewayProductsResult);
|
|
@@ -2036,6 +2036,10 @@ var _productReference = require('./io/flow/internal/v0/models/productReference')
|
|
|
2036
2036
|
|
|
2037
2037
|
var _productReference2 = _interopRequireDefault(_productReference);
|
|
2038
2038
|
|
|
2039
|
+
var _productResult = require('./io/flow/internal/v0/models/productResult');
|
|
2040
|
+
|
|
2041
|
+
var _productResult2 = _interopRequireDefault(_productResult);
|
|
2042
|
+
|
|
2039
2043
|
var _rate = require('./io/flow/internal/v0/models/rate');
|
|
2040
2044
|
|
|
2041
2045
|
var _rate2 = _interopRequireDefault(_rate);
|
|
@@ -2716,10 +2720,6 @@ var _localizableContent = require('./io/flow/internal/v0/unions/localizableConte
|
|
|
2716
2720
|
|
|
2717
2721
|
var _localizableContent2 = _interopRequireDefault(_localizableContent);
|
|
2718
2722
|
|
|
2719
|
-
var _marketingGatewayLocalization = require('./io/flow/internal/v0/unions/marketingGatewayLocalization');
|
|
2720
|
-
|
|
2721
|
-
var _marketingGatewayLocalization2 = _interopRequireDefault(_marketingGatewayLocalization);
|
|
2722
|
-
|
|
2723
2723
|
var _marketingGatewayPlatformMarket = require('./io/flow/internal/v0/unions/marketingGatewayPlatformMarket');
|
|
2724
2724
|
|
|
2725
2725
|
var _marketingGatewayPlatformMarket2 = _interopRequireDefault(_marketingGatewayPlatformMarket);
|
|
@@ -3186,6 +3186,7 @@ exports.default = {
|
|
|
3186
3186
|
localization: _localization2.default,
|
|
3187
3187
|
localizationForm: _localizationForm2.default,
|
|
3188
3188
|
localizationRef: _localizationRef2.default,
|
|
3189
|
+
localizationSummary: _localizationSummary2.default,
|
|
3189
3190
|
localizationUpserted: _localizationUpserted2.default,
|
|
3190
3191
|
localizedContent: _localizedContent2.default,
|
|
3191
3192
|
localizedContentElement: _localizedContentElement2.default,
|
|
@@ -3226,6 +3227,7 @@ exports.default = {
|
|
|
3226
3227
|
marketingGatewayGoogleProductInstallment: _marketingGatewayGoogleProductInstallment2.default,
|
|
3227
3228
|
marketingGatewayGoogleProductItemLevelIssue: _marketingGatewayGoogleProductItemLevelIssue2.default,
|
|
3228
3229
|
marketingGatewayGoogleProductPricingDetails: _marketingGatewayGoogleProductPricingDetails2.default,
|
|
3230
|
+
marketingGatewayGoogleProductResult: _marketingGatewayGoogleProductResult2.default,
|
|
3229
3231
|
marketingGatewayGoogleProductShippingDetails: _marketingGatewayGoogleProductShippingDetails2.default,
|
|
3230
3232
|
marketingGatewayGoogleProductShippingUnit: _marketingGatewayGoogleProductShippingUnit2.default,
|
|
3231
3233
|
marketingGatewayGoogleProductSizeDetails: _marketingGatewayGoogleProductSizeDetails2.default,
|
|
@@ -3234,8 +3236,6 @@ exports.default = {
|
|
|
3234
3236
|
marketingGatewayGoogleProductUnitPricingMeasure: _marketingGatewayGoogleProductUnitPricingMeasure2.default,
|
|
3235
3237
|
marketingGatewayGoogleProductWarning: _marketingGatewayGoogleProductWarning2.default,
|
|
3236
3238
|
marketingGatewayImageLinks: _marketingGatewayImageLinks2.default,
|
|
3237
|
-
marketingGatewayLocalizationFlowCountry: _marketingGatewayLocalizationFlowCountry2.default,
|
|
3238
|
-
marketingGatewayLocalizationFlowExperience: _marketingGatewayLocalizationFlowExperience2.default,
|
|
3239
3239
|
marketingGatewayProductsResult: _marketingGatewayProductsResult2.default,
|
|
3240
3240
|
marketingGatewayProductsStatusCount: _marketingGatewayProductsStatusCount2.default,
|
|
3241
3241
|
nextBillingStatement: _nextBillingStatement2.default,
|
|
@@ -3315,6 +3315,7 @@ exports.default = {
|
|
|
3315
3315
|
productPhrase: _productPhrase2.default,
|
|
3316
3316
|
productPhraseForm: _productPhraseForm2.default,
|
|
3317
3317
|
productReference: _productReference2.default,
|
|
3318
|
+
productResult: _productResult2.default,
|
|
3318
3319
|
rate: _rate2.default,
|
|
3319
3320
|
rateData: _rateData2.default,
|
|
3320
3321
|
rateDataV3: _rateDataV2.default,
|
|
@@ -3485,7 +3486,6 @@ exports.default = {
|
|
|
3485
3486
|
internalAuthorizationDetails: _internalAuthorizationDetails2.default,
|
|
3486
3487
|
internalRefundForm: _internalRefundForm2.default,
|
|
3487
3488
|
localizableContent: _localizableContent2.default,
|
|
3488
|
-
marketingGatewayLocalization: _marketingGatewayLocalization2.default,
|
|
3489
3489
|
marketingGatewayPlatformMarket: _marketingGatewayPlatformMarket2.default,
|
|
3490
3490
|
marketingGatewayProduct: _marketingGatewayProduct2.default,
|
|
3491
3491
|
orderActionForm: _orderActionForm2.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.15",
|
|
4
4
|
"description": "PropType validators that work with internal Flow API",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -39,6 +39,5 @@
|
|
|
39
39
|
"eslint-plugin-react": "^7.10.0",
|
|
40
40
|
"prop-types": "^15.6.0",
|
|
41
41
|
"rimraf": "^2.6.2"
|
|
42
|
-
}
|
|
43
|
-
"gitHead": "86513de56cfb9e82b547bc0100af5bfefd873df3"
|
|
42
|
+
}
|
|
44
43
|
}
|
package/src/index.d.ts
CHANGED
|
@@ -372,6 +372,7 @@ declare const defaultExport: {
|
|
|
372
372
|
localization: Requireable<any> & Validator<any>;
|
|
373
373
|
localizationForm: Requireable<any> & Validator<any>;
|
|
374
374
|
localizationRef: Requireable<any> & Validator<any>;
|
|
375
|
+
localizationSummary: Requireable<any> & Validator<any>;
|
|
375
376
|
localizationUpserted: Requireable<any> & Validator<any>;
|
|
376
377
|
localizedContent: Requireable<any> & Validator<any>;
|
|
377
378
|
localizedContentElement: Requireable<any> & Validator<any>;
|
|
@@ -415,6 +416,7 @@ declare const defaultExport: {
|
|
|
415
416
|
marketingGatewayGoogleProductItemLevelIssue: Requireable<any> & Validator<any>;
|
|
416
417
|
marketingGatewayGoogleProductItemLevelIssueSeverity: Requireable<any> & Validator<any>;
|
|
417
418
|
marketingGatewayGoogleProductPricingDetails: Requireable<any> & Validator<any>;
|
|
419
|
+
marketingGatewayGoogleProductResult: Requireable<any> & Validator<any>;
|
|
418
420
|
marketingGatewayGoogleProductShippingDetails: Requireable<any> & Validator<any>;
|
|
419
421
|
marketingGatewayGoogleProductShippingUnit: Requireable<any> & Validator<any>;
|
|
420
422
|
marketingGatewayGoogleProductSizeDetails: Requireable<any> & Validator<any>;
|
|
@@ -423,9 +425,6 @@ declare const defaultExport: {
|
|
|
423
425
|
marketingGatewayGoogleProductUnitPricingMeasure: Requireable<any> & Validator<any>;
|
|
424
426
|
marketingGatewayGoogleProductWarning: Requireable<any> & Validator<any>;
|
|
425
427
|
marketingGatewayImageLinks: Requireable<any> & Validator<any>;
|
|
426
|
-
marketingGatewayLocalization: Requireable<any> & Validator<any>;
|
|
427
|
-
marketingGatewayLocalizationFlowCountry: Requireable<any> & Validator<any>;
|
|
428
|
-
marketingGatewayLocalizationFlowExperience: Requireable<any> & Validator<any>;
|
|
429
428
|
marketingGatewayPlatform: Requireable<any> & Validator<any>;
|
|
430
429
|
marketingGatewayPlatformMarket: Requireable<any> & Validator<any>;
|
|
431
430
|
marketingGatewayProduct: Requireable<any> & Validator<any>;
|
|
@@ -523,6 +522,7 @@ declare const defaultExport: {
|
|
|
523
522
|
productPhrase: Requireable<any> & Validator<any>;
|
|
524
523
|
productPhraseForm: Requireable<any> & Validator<any>;
|
|
525
524
|
productReference: Requireable<any> & Validator<any>;
|
|
525
|
+
productResult: Requireable<any> & Validator<any>;
|
|
526
526
|
promptAction: Requireable<any> & Validator<any>;
|
|
527
527
|
promptOptions: Requireable<any> & Validator<any>;
|
|
528
528
|
promptTarget: Requireable<any> & Validator<any>;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import PropTypes from 'prop-types';
|
|
2
2
|
import marketingGatewayPlatformMarket from '../unions/marketingGatewayPlatformMarket';
|
|
3
|
-
import
|
|
3
|
+
import experienceSummary from '../../../common/v0/models/experienceSummary';
|
|
4
4
|
import marketingGatewayExistingMarket from './marketingGatewayExistingMarket';
|
|
5
5
|
import marketingGatewayConfiguredMarket from './marketingGatewayConfiguredMarket';
|
|
6
6
|
import marketingGatewayAccountMarketLocalizationError from '../enums/marketingGatewayAccountMarketLocalizationError';
|
|
7
7
|
|
|
8
8
|
export default PropTypes.shape({
|
|
9
9
|
market: marketingGatewayPlatformMarket.isRequired,
|
|
10
|
-
|
|
10
|
+
compatible_experiences: PropTypes.arrayOf(experienceSummary).isRequired,
|
|
11
11
|
existing_markets: PropTypes.arrayOf(marketingGatewayExistingMarket)
|
|
12
12
|
.isRequired,
|
|
13
13
|
configured_markets: marketingGatewayConfiguredMarket,
|
|
@@ -1,13 +1,17 @@
|
|
|
1
1
|
import PropTypes from 'prop-types';
|
|
2
2
|
import marketingGatewayPlatformMarket from '../unions/marketingGatewayPlatformMarket';
|
|
3
|
-
import
|
|
3
|
+
import marketingGatewayProductsStatusCount from './marketingGatewayProductsStatusCount';
|
|
4
4
|
import marketingGatewaySyncStatus from '../enums/marketingGatewaySyncStatus';
|
|
5
5
|
|
|
6
6
|
export default PropTypes.shape({
|
|
7
7
|
id: PropTypes.string.isRequired,
|
|
8
8
|
market: marketingGatewayPlatformMarket.isRequired,
|
|
9
|
-
|
|
9
|
+
experience_id: PropTypes.string,
|
|
10
|
+
experience_name: PropTypes.string,
|
|
11
|
+
experience_key: PropTypes.string,
|
|
10
12
|
existing_market_id: PropTypes.string.isRequired,
|
|
13
|
+
products_status_counts: PropTypes.arrayOf(marketingGatewayProductsStatusCount)
|
|
14
|
+
.isRequired,
|
|
11
15
|
sync_status: marketingGatewaySyncStatus.isRequired,
|
|
12
16
|
synced_at: PropTypes.string,
|
|
13
17
|
});
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import PropTypes from 'prop-types';
|
|
2
2
|
import marketingGatewayPlatformMarket from '../unions/marketingGatewayPlatformMarket';
|
|
3
|
-
import marketingGatewayLocalization from '../unions/marketingGatewayLocalization';
|
|
4
3
|
|
|
5
4
|
export default PropTypes.shape({
|
|
6
5
|
market: marketingGatewayPlatformMarket.isRequired,
|
|
7
|
-
|
|
6
|
+
experience_id: PropTypes.string.isRequired,
|
|
7
|
+
experience_name: PropTypes.string.isRequired,
|
|
8
|
+
experience_key: PropTypes.string.isRequired,
|
|
8
9
|
existing_market_id: PropTypes.string.isRequired,
|
|
9
10
|
});
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
import PropTypes from 'prop-types';
|
|
2
2
|
import marketingGatewayPlatformMarket from '../unions/marketingGatewayPlatformMarket';
|
|
3
|
+
import marketingGatewayProductsStatusCount from './marketingGatewayProductsStatusCount';
|
|
3
4
|
import marketingGatewaySyncStatus from '../enums/marketingGatewaySyncStatus';
|
|
4
5
|
|
|
5
6
|
export default PropTypes.shape({
|
|
6
7
|
id: PropTypes.string.isRequired,
|
|
7
8
|
market: marketingGatewayPlatformMarket.isRequired,
|
|
8
|
-
|
|
9
|
+
products_status_counts: PropTypes.arrayOf(marketingGatewayProductsStatusCount)
|
|
10
|
+
.isRequired,
|
|
9
11
|
sync_status: marketingGatewaySyncStatus.isRequired,
|
|
10
12
|
synced_at: PropTypes.string,
|
|
11
13
|
});
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import PropTypes from 'prop-types';
|
|
2
|
+
import marketingGatewayProduct from '../unions/marketingGatewayProduct';
|
|
3
|
+
import localizationSummary from './localizationSummary';
|
|
4
|
+
|
|
5
|
+
export default PropTypes.shape({
|
|
6
|
+
base_product: marketingGatewayProduct.isRequired,
|
|
7
|
+
configured_product: marketingGatewayProduct,
|
|
8
|
+
localisation_summary: localizationSummary,
|
|
9
|
+
});
|
package/src/mocks.js
CHANGED
|
@@ -386,6 +386,7 @@ export default {
|
|
|
386
386
|
localization: noopThunk,
|
|
387
387
|
localizationForm: noopThunk,
|
|
388
388
|
localizationRef: noopThunk,
|
|
389
|
+
localizationSummary: noopThunk,
|
|
389
390
|
localizationUpserted: noopThunk,
|
|
390
391
|
localizedContent: noopThunk,
|
|
391
392
|
localizedContentElement: noopThunk,
|
|
@@ -426,6 +427,7 @@ export default {
|
|
|
426
427
|
marketingGatewayGoogleProductInstallment: noopThunk,
|
|
427
428
|
marketingGatewayGoogleProductItemLevelIssue: noopThunk,
|
|
428
429
|
marketingGatewayGoogleProductPricingDetails: noopThunk,
|
|
430
|
+
marketingGatewayGoogleProductResult: noopThunk,
|
|
429
431
|
marketingGatewayGoogleProductShippingDetails: noopThunk,
|
|
430
432
|
marketingGatewayGoogleProductShippingUnit: noopThunk,
|
|
431
433
|
marketingGatewayGoogleProductSizeDetails: noopThunk,
|
|
@@ -434,8 +436,6 @@ export default {
|
|
|
434
436
|
marketingGatewayGoogleProductUnitPricingMeasure: noopThunk,
|
|
435
437
|
marketingGatewayGoogleProductWarning: noopThunk,
|
|
436
438
|
marketingGatewayImageLinks: noopThunk,
|
|
437
|
-
marketingGatewayLocalizationFlowCountry: noopThunk,
|
|
438
|
-
marketingGatewayLocalizationFlowExperience: noopThunk,
|
|
439
439
|
marketingGatewayProductsResult: noopThunk,
|
|
440
440
|
marketingGatewayProductsStatusCount: noopThunk,
|
|
441
441
|
nextBillingStatement: noopThunk,
|
|
@@ -515,6 +515,7 @@ export default {
|
|
|
515
515
|
productPhrase: noopThunk,
|
|
516
516
|
productPhraseForm: noopThunk,
|
|
517
517
|
productReference: noopThunk,
|
|
518
|
+
productResult: noopThunk,
|
|
518
519
|
rate: noopThunk,
|
|
519
520
|
rateData: noopThunk,
|
|
520
521
|
rateDataV3: noopThunk,
|
|
@@ -685,7 +686,6 @@ export default {
|
|
|
685
686
|
internalAuthorizationDetails: noopThunk,
|
|
686
687
|
internalRefundForm: noopThunk,
|
|
687
688
|
localizableContent: noopThunk,
|
|
688
|
-
marketingGatewayLocalization: noopThunk,
|
|
689
689
|
marketingGatewayPlatformMarket: noopThunk,
|
|
690
690
|
marketingGatewayProduct: noopThunk,
|
|
691
691
|
orderActionForm: noopThunk,
|