@flowio/api-internal-prop-types 1.2.22 → 1.2.24
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 +42 -29
- package/lib/index.d.ts +4 -3
- package/lib/io/flow/catalog/v0/enums/attributeIntent.js +1 -1
- package/lib/io/flow/catalog/v0/models/itemFormOverlay.js +5 -0
- package/lib/io/flow/catalog/v0/models/itemFormOverlayForm.js +2 -0
- package/lib/io/flow/fulfillment/v0/models/experienceCenter.js +25 -0
- package/lib/io/flow/fulfillment/v0/models/shippingConfigurationItemAvailability.js +35 -0
- package/lib/io/flow/fulfillment/v0/models/shippingConfigurationSummary.js +22 -0
- package/lib/io/flow/fulfillment/v0/models/tierSummary.js +2 -1
- package/lib/io/flow/harmonization/internal/v0/enums/itemClassificationAction.js +13 -0
- package/lib/io/flow/harmonization/internal/v0/models/productClassificationForm.js +7 -2
- package/lib/io/flow/harmonization/internal/v0/models/productClassificationResult.js +1 -1
- package/lib/io/flow/internal/v0/enums/itemClassificationAction.js +13 -0
- package/lib/io/flow/internal/v0/enums/marketingGatewaySyncStatus.js +1 -1
- package/lib/io/flow/internal/v0/models/billingOrganizationSettings.js +1 -1
- package/lib/io/flow/internal/v0/models/marketingGatewayAccount.js +8 -1
- package/lib/io/flow/internal/v0/models/marketingGatewayAccountConnection.js +2 -7
- package/lib/io/flow/internal/v0/models/marketingGatewayAccountMarketLocalization.js +3 -3
- package/lib/io/flow/internal/v0/models/marketingGatewayConfiguredMarket.js +5 -3
- package/lib/io/flow/internal/v0/models/marketingGatewayConfiguredMarketForm.js +5 -3
- package/lib/io/flow/internal/v0/models/marketingGatewayExperience.js +18 -0
- package/lib/io/flow/internal/v0/models/marketingGatewayProductResult.js +25 -0
- package/lib/io/flow/internal/v0/models/productClassificationForm.js +7 -2
- package/lib/io/flow/internal/v0/models/productClassificationResult.js +1 -1
- package/lib/io/flow/shopify/external/v0/enums/topic.js +1 -1
- package/lib/io/flow/shopify/external/v0/models/productVariant.js +1 -0
- package/lib/io/flow/shopify/external/v0/models/shopifyInventoryItem.js +20 -0
- package/lib/io/flow/shopify/external/v0/models/shopifyInventoryItemDelete.js +15 -0
- package/lib/io/flow/shopify/external/v0/models/shopifyInventoryLevel.js +18 -0
- package/lib/io/flow/shopify/external/v0/models/shopifyInventoryLevelDisconnect.js +16 -0
- package/lib/io/flow/shopify/external/v0/models/shopifyLocation.js +1 -1
- package/lib/io/flow/shopify/external/v0/models/shopifyLocationDelete.js +15 -0
- package/lib/io/flow/shopify/v0/models/flowCenterReference.js +15 -0
- package/lib/io/flow/shopify/v0/models/shopifyLocalizedVariant.js +6 -1
- package/lib/io/flow/shopify/v0/models/shopifyLocationFlowCenterMapping.js +25 -0
- package/lib/io/flow/shopify/v0/models/shopifyLocationFlowCenterMappingForm.js +16 -0
- package/lib/io/flow/shopify/v0/models/shopifyLocationReference.js +15 -0
- package/lib/io/flow/shopify/v0/models/shopifyVariantFlowMetafield.js +3 -3
- package/lib/io/flow/shopify/v0/models/shopifyVariantInventoryMetafield.js +3 -3
- package/lib/mocks.js +3 -2
- package/lib/validators.js +15 -10
- package/package.json +2 -3
- package/src/index.d.ts +4 -3
- package/src/io/flow/catalog/v0/enums/attributeIntent.js +1 -0
- package/src/io/flow/catalog/v0/models/itemFormOverlay.js +2 -0
- package/src/io/flow/catalog/v0/models/itemFormOverlayForm.js +2 -0
- package/src/io/flow/fulfillment/v0/models/experienceCenter.js +9 -0
- package/src/io/flow/fulfillment/v0/models/shippingConfigurationItemAvailability.js +13 -0
- package/src/io/flow/fulfillment/v0/models/shippingConfigurationSummary.js +9 -0
- package/src/io/flow/fulfillment/v0/models/tierSummary.js +1 -0
- package/src/io/flow/harmonization/internal/v0/enums/itemClassificationAction.js +3 -0
- package/src/io/flow/harmonization/internal/v0/models/productClassificationForm.js +3 -1
- package/src/io/flow/harmonization/internal/v0/models/productClassificationResult.js +1 -1
- package/src/io/flow/internal/v0/enums/itemClassificationAction.js +3 -0
- package/src/io/flow/internal/v0/enums/marketingGatewaySyncStatus.js +1 -8
- package/src/io/flow/internal/v0/models/billingOrganizationSettings.js +1 -1
- package/src/io/flow/internal/v0/models/marketingGatewayAccount.js +4 -0
- package/src/io/flow/internal/v0/models/marketingGatewayAccountConnection.js +1 -3
- package/src/io/flow/internal/v0/models/marketingGatewayAccountMarketLocalization.js +3 -2
- package/src/io/flow/internal/v0/models/marketingGatewayConfiguredMarket.js +2 -3
- package/src/io/flow/internal/v0/models/marketingGatewayConfiguredMarketForm.js +2 -3
- package/src/io/flow/internal/v0/models/marketingGatewayExperience.js +8 -0
- package/src/io/flow/internal/v0/models/marketingGatewayProductResult.js +9 -0
- package/src/io/flow/internal/v0/models/productClassificationForm.js +3 -1
- package/src/io/flow/internal/v0/models/productClassificationResult.js +1 -1
- package/src/io/flow/shopify/external/v0/enums/topic.js +9 -0
- package/src/io/flow/shopify/external/v0/models/productVariant.js +1 -0
- package/src/io/flow/shopify/external/v0/models/shopifyInventoryItem.js +10 -0
- package/src/io/flow/shopify/external/v0/models/shopifyInventoryItemDelete.js +5 -0
- package/src/io/flow/shopify/external/v0/models/shopifyInventoryLevel.js +8 -0
- package/src/io/flow/shopify/external/v0/models/shopifyInventoryLevelDisconnect.js +6 -0
- package/src/io/flow/shopify/external/v0/models/shopifyLocation.js +1 -1
- package/src/io/flow/shopify/external/v0/models/shopifyLocationDelete.js +5 -0
- package/src/io/flow/shopify/v0/models/flowCenterReference.js +5 -0
- package/src/io/flow/shopify/v0/models/shopifyLocalizedVariant.js +2 -0
- package/src/io/flow/shopify/v0/models/shopifyLocationFlowCenterMapping.js +9 -0
- package/src/io/flow/shopify/v0/models/shopifyLocationFlowCenterMappingForm.js +6 -0
- package/src/io/flow/shopify/v0/models/shopifyLocationReference.js +5 -0
- package/src/io/flow/shopify/v0/models/shopifyVariantFlowMetafield.js +2 -2
- package/src/io/flow/shopify/v0/models/shopifyVariantInventoryMetafield.js +2 -2
- package/src/mocks.js +3 -2
- package/src/validators.js +6 -4
- package/LICENSE +0 -21
- package/lib/io/flow/inventory/v0/models/experienceInventoryItem.js +0 -30
- package/src/io/flow/inventory/v0/models/experienceInventoryItem.js +0 -11
- /package/lib/io/flow/{inventory/v0/enums/experienceInventoryItemStatus.js → fulfillment/v0/enums/itemAvailabilityStatus.js} +0 -0
- /package/src/io/flow/{inventory/v0/enums/experienceInventoryItemStatus.js → fulfillment/v0/enums/itemAvailabilityStatus.js} +0 -0
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import PropTypes from 'prop-types';
|
|
2
|
+
import marketingGatewayProduct from '../unions/marketingGatewayProduct';
|
|
3
|
+
import marketingGatewayExperience from './marketingGatewayExperience';
|
|
4
|
+
|
|
5
|
+
export default PropTypes.shape({
|
|
6
|
+
base_product: marketingGatewayProduct.isRequired,
|
|
7
|
+
configured_product: marketingGatewayProduct,
|
|
8
|
+
configurer_experience: marketingGatewayExperience,
|
|
9
|
+
});
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import PropTypes from 'prop-types';
|
|
2
|
+
import itemClassificationAction from '../enums/itemClassificationAction';
|
|
2
3
|
|
|
3
4
|
export default PropTypes.shape({
|
|
4
5
|
organization_id: PropTypes.string.isRequired,
|
|
5
6
|
product_id: PropTypes.string.isRequired,
|
|
6
|
-
classification_model_id: PropTypes.string
|
|
7
|
+
classification_model_id: PropTypes.string,
|
|
7
8
|
classification: PropTypes.string.isRequired,
|
|
9
|
+
action: itemClassificationAction.isRequired,
|
|
8
10
|
});
|
|
@@ -24,6 +24,15 @@ export default PropTypes.oneOf([
|
|
|
24
24
|
'fulfillment_events/delete',
|
|
25
25
|
'fulfillments/create',
|
|
26
26
|
'fulfillments/update',
|
|
27
|
+
'inventory_items/create',
|
|
28
|
+
'inventory_items/update',
|
|
29
|
+
'inventory_items/delete',
|
|
30
|
+
'inventory_levels/connect',
|
|
31
|
+
'inventory_levels/update',
|
|
32
|
+
'inventory_levels/disconnect',
|
|
33
|
+
'locations/create',
|
|
34
|
+
'locations/update',
|
|
35
|
+
'locations/delete',
|
|
27
36
|
'order_transactions/create',
|
|
28
37
|
'orders/cancelled',
|
|
29
38
|
'orders/create',
|
|
@@ -22,6 +22,7 @@ export default PropTypes.shape({
|
|
|
22
22
|
inventory_policy: inventoryPolicy.isRequired,
|
|
23
23
|
weight: PropTypes.number,
|
|
24
24
|
weight_unit: weightUnit,
|
|
25
|
+
inventory_item_id: PropTypes.number,
|
|
25
26
|
inventory_quantity: PropTypes.number,
|
|
26
27
|
metafield: PropTypes.arrayOf(metafieldForm),
|
|
27
28
|
option1: PropTypes.string,
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import PropTypes from 'prop-types';
|
|
2
|
+
|
|
3
|
+
export default PropTypes.shape({
|
|
4
|
+
id: PropTypes.number.isRequired,
|
|
5
|
+
sku: PropTypes.string.isRequired,
|
|
6
|
+
tracked: PropTypes.bool.isRequired,
|
|
7
|
+
cost: PropTypes.string,
|
|
8
|
+
created_at: PropTypes.string.isRequired,
|
|
9
|
+
updated_at: PropTypes.string,
|
|
10
|
+
});
|
|
@@ -11,7 +11,7 @@ export default PropTypes.shape({
|
|
|
11
11
|
id: PropTypes.number.isRequired,
|
|
12
12
|
legacy: PropTypes.bool.isRequired,
|
|
13
13
|
name: PropTypes.string.isRequired,
|
|
14
|
-
phone: PropTypes.
|
|
14
|
+
phone: PropTypes.string,
|
|
15
15
|
province: PropTypes.string,
|
|
16
16
|
province_code: PropTypes.string,
|
|
17
17
|
updated_at: PropTypes.string,
|
|
@@ -2,6 +2,7 @@ import PropTypes from 'prop-types';
|
|
|
2
2
|
import experienceReference from '../../../experience/v0/models/experienceReference';
|
|
3
3
|
import shopifyLocalizedVariantPrices from './shopifyLocalizedVariantPrices';
|
|
4
4
|
import subcatalogItemStatus from '../../../catalog/v0/enums/subcatalogItemStatus';
|
|
5
|
+
import itemAvailabilityStatus from '../../../fulfillment/v0/enums/itemAvailabilityStatus';
|
|
5
6
|
|
|
6
7
|
export default PropTypes.shape({
|
|
7
8
|
id: PropTypes.number.isRequired,
|
|
@@ -9,4 +10,5 @@ export default PropTypes.shape({
|
|
|
9
10
|
experience: experienceReference.isRequired,
|
|
10
11
|
prices: shopifyLocalizedVariantPrices.isRequired,
|
|
11
12
|
status: subcatalogItemStatus.isRequired,
|
|
13
|
+
inventory_status: itemAvailabilityStatus,
|
|
12
14
|
});
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import PropTypes from 'prop-types';
|
|
2
|
+
import shopifyLocationReference from './shopifyLocationReference';
|
|
3
|
+
import flowCenterReference from './flowCenterReference';
|
|
4
|
+
|
|
5
|
+
export default PropTypes.shape({
|
|
6
|
+
id: PropTypes.string.isRequired,
|
|
7
|
+
shopify_location: shopifyLocationReference.isRequired,
|
|
8
|
+
flow_center: flowCenterReference.isRequired,
|
|
9
|
+
});
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import PropTypes from 'prop-types';
|
|
2
2
|
import subcatalogItemStatus from '../../../catalog/v0/enums/subcatalogItemStatus';
|
|
3
|
-
import
|
|
3
|
+
import itemAvailabilityStatus from '../../../fulfillment/v0/enums/itemAvailabilityStatus';
|
|
4
4
|
|
|
5
5
|
export default PropTypes.shape({
|
|
6
6
|
prices_item: PropTypes.string.isRequired,
|
|
@@ -11,5 +11,5 @@ export default PropTypes.shape({
|
|
|
11
11
|
prices_duty: PropTypes.string,
|
|
12
12
|
prices_compare_at: PropTypes.string,
|
|
13
13
|
prices_status: subcatalogItemStatus.isRequired,
|
|
14
|
-
inventory_status:
|
|
14
|
+
inventory_status: itemAvailabilityStatus,
|
|
15
15
|
});
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import PropTypes from 'prop-types';
|
|
2
2
|
import experienceReference from '../../../experience/v0/models/experienceReference';
|
|
3
|
-
import
|
|
3
|
+
import itemAvailabilityStatus from '../../../fulfillment/v0/enums/itemAvailabilityStatus';
|
|
4
4
|
|
|
5
5
|
export default PropTypes.shape({
|
|
6
6
|
experience: experienceReference.isRequired,
|
|
7
|
-
status:
|
|
7
|
+
status: itemAvailabilityStatus.isRequired,
|
|
8
8
|
});
|
package/src/mocks.js
CHANGED
|
@@ -40,6 +40,7 @@ export default {
|
|
|
40
40
|
installmentPaymentType: noopThunk,
|
|
41
41
|
installmentProgramStatus: noopThunk,
|
|
42
42
|
installmentStatus: noopThunk,
|
|
43
|
+
itemClassificationAction: noopThunk,
|
|
43
44
|
itemClassificationStatus: noopThunk,
|
|
44
45
|
itemQuantityAction: noopThunk,
|
|
45
46
|
labelBillingStrategy: noopThunk,
|
|
@@ -391,7 +392,6 @@ export default {
|
|
|
391
392
|
localization: noopThunk,
|
|
392
393
|
localizationForm: noopThunk,
|
|
393
394
|
localizationRef: noopThunk,
|
|
394
|
-
localizationSummary: noopThunk,
|
|
395
395
|
localizationUpserted: noopThunk,
|
|
396
396
|
localizedContent: noopThunk,
|
|
397
397
|
localizedContentElement: noopThunk,
|
|
@@ -420,6 +420,7 @@ export default {
|
|
|
420
420
|
marketingGatewayConfiguredMarket: noopThunk,
|
|
421
421
|
marketingGatewayConfiguredMarketForm: noopThunk,
|
|
422
422
|
marketingGatewayExistingMarket: noopThunk,
|
|
423
|
+
marketingGatewayExperience: noopThunk,
|
|
423
424
|
marketingGatewayGoogleCustomLabels: noopThunk,
|
|
424
425
|
marketingGatewayGoogleCustomProductShippingLocation: noopThunk,
|
|
425
426
|
marketingGatewayGoogleMarket: noopThunk,
|
|
@@ -441,6 +442,7 @@ export default {
|
|
|
441
442
|
marketingGatewayGoogleProductUnitPricingMeasure: noopThunk,
|
|
442
443
|
marketingGatewayGoogleProductWarning: noopThunk,
|
|
443
444
|
marketingGatewayImageLinks: noopThunk,
|
|
445
|
+
marketingGatewayProductResult: noopThunk,
|
|
444
446
|
marketingGatewayProductsResult: noopThunk,
|
|
445
447
|
marketingGatewayProductsStatusCount: noopThunk,
|
|
446
448
|
nextBillingStatement: noopThunk,
|
|
@@ -523,7 +525,6 @@ export default {
|
|
|
523
525
|
productPhrase: noopThunk,
|
|
524
526
|
productPhraseForm: noopThunk,
|
|
525
527
|
productReference: noopThunk,
|
|
526
|
-
productResult: noopThunk,
|
|
527
528
|
rate: noopThunk,
|
|
528
529
|
rateData: noopThunk,
|
|
529
530
|
rateDataV3: noopThunk,
|
package/src/validators.js
CHANGED
|
@@ -31,6 +31,7 @@ import httpMethod from './io/flow/internal/v0/enums/httpMethod';
|
|
|
31
31
|
import installmentPaymentType from './io/flow/internal/v0/enums/installmentPaymentType';
|
|
32
32
|
import installmentProgramStatus from './io/flow/internal/v0/enums/installmentProgramStatus';
|
|
33
33
|
import installmentStatus from './io/flow/internal/v0/enums/installmentStatus';
|
|
34
|
+
import itemClassificationAction from './io/flow/internal/v0/enums/itemClassificationAction';
|
|
34
35
|
import itemClassificationStatus from './io/flow/internal/v0/enums/itemClassificationStatus';
|
|
35
36
|
import itemQuantityAction from './io/flow/internal/v0/enums/itemQuantityAction';
|
|
36
37
|
import labelBillingStrategy from './io/flow/internal/v0/enums/labelBillingStrategy';
|
|
@@ -382,7 +383,6 @@ import localizableContentReference from './io/flow/internal/v0/models/localizabl
|
|
|
382
383
|
import localization from './io/flow/internal/v0/models/localization';
|
|
383
384
|
import localizationForm from './io/flow/internal/v0/models/localizationForm';
|
|
384
385
|
import localizationRef from './io/flow/internal/v0/models/localizationRef';
|
|
385
|
-
import localizationSummary from './io/flow/internal/v0/models/localizationSummary';
|
|
386
386
|
import localizationUpserted from './io/flow/internal/v0/models/localizationUpserted';
|
|
387
387
|
import localizedContent from './io/flow/internal/v0/models/localizedContent';
|
|
388
388
|
import localizedContentElement from './io/flow/internal/v0/models/localizedContentElement';
|
|
@@ -411,6 +411,7 @@ import marketingGatewayAccountMarkets from './io/flow/internal/v0/models/marketi
|
|
|
411
411
|
import marketingGatewayConfiguredMarket from './io/flow/internal/v0/models/marketingGatewayConfiguredMarket';
|
|
412
412
|
import marketingGatewayConfiguredMarketForm from './io/flow/internal/v0/models/marketingGatewayConfiguredMarketForm';
|
|
413
413
|
import marketingGatewayExistingMarket from './io/flow/internal/v0/models/marketingGatewayExistingMarket';
|
|
414
|
+
import marketingGatewayExperience from './io/flow/internal/v0/models/marketingGatewayExperience';
|
|
414
415
|
import marketingGatewayGoogleCustomLabels from './io/flow/internal/v0/models/marketingGatewayGoogleCustomLabels';
|
|
415
416
|
import marketingGatewayGoogleCustomProductShippingLocation from './io/flow/internal/v0/models/marketingGatewayGoogleCustomProductShippingLocation';
|
|
416
417
|
import marketingGatewayGoogleMarket from './io/flow/internal/v0/models/marketingGatewayGoogleMarket';
|
|
@@ -432,6 +433,7 @@ import marketingGatewayGoogleProductTax from './io/flow/internal/v0/models/marke
|
|
|
432
433
|
import marketingGatewayGoogleProductUnitPricingMeasure from './io/flow/internal/v0/models/marketingGatewayGoogleProductUnitPricingMeasure';
|
|
433
434
|
import marketingGatewayGoogleProductWarning from './io/flow/internal/v0/models/marketingGatewayGoogleProductWarning';
|
|
434
435
|
import marketingGatewayImageLinks from './io/flow/internal/v0/models/marketingGatewayImageLinks';
|
|
436
|
+
import marketingGatewayProductResult from './io/flow/internal/v0/models/marketingGatewayProductResult';
|
|
435
437
|
import marketingGatewayProductsResult from './io/flow/internal/v0/models/marketingGatewayProductsResult';
|
|
436
438
|
import marketingGatewayProductsStatusCount from './io/flow/internal/v0/models/marketingGatewayProductsStatusCount';
|
|
437
439
|
import nextBillingStatement from './io/flow/internal/v0/models/nextBillingStatement';
|
|
@@ -514,7 +516,6 @@ import productDetailHintForm from './io/flow/internal/v0/models/productDetailHin
|
|
|
514
516
|
import productPhrase from './io/flow/internal/v0/models/productPhrase';
|
|
515
517
|
import productPhraseForm from './io/flow/internal/v0/models/productPhraseForm';
|
|
516
518
|
import productReference from './io/flow/internal/v0/models/productReference';
|
|
517
|
-
import productResult from './io/flow/internal/v0/models/productResult';
|
|
518
519
|
import rate from './io/flow/internal/v0/models/rate';
|
|
519
520
|
import rateData from './io/flow/internal/v0/models/rateData';
|
|
520
521
|
import rateDataV3 from './io/flow/internal/v0/models/rateDataV3';
|
|
@@ -747,6 +748,7 @@ export default {
|
|
|
747
748
|
installmentPaymentType,
|
|
748
749
|
installmentProgramStatus,
|
|
749
750
|
installmentStatus,
|
|
751
|
+
itemClassificationAction,
|
|
750
752
|
itemClassificationStatus,
|
|
751
753
|
itemQuantityAction,
|
|
752
754
|
labelBillingStrategy,
|
|
@@ -1098,7 +1100,6 @@ export default {
|
|
|
1098
1100
|
localization,
|
|
1099
1101
|
localizationForm,
|
|
1100
1102
|
localizationRef,
|
|
1101
|
-
localizationSummary,
|
|
1102
1103
|
localizationUpserted,
|
|
1103
1104
|
localizedContent,
|
|
1104
1105
|
localizedContentElement,
|
|
@@ -1127,6 +1128,7 @@ export default {
|
|
|
1127
1128
|
marketingGatewayConfiguredMarket,
|
|
1128
1129
|
marketingGatewayConfiguredMarketForm,
|
|
1129
1130
|
marketingGatewayExistingMarket,
|
|
1131
|
+
marketingGatewayExperience,
|
|
1130
1132
|
marketingGatewayGoogleCustomLabels,
|
|
1131
1133
|
marketingGatewayGoogleCustomProductShippingLocation,
|
|
1132
1134
|
marketingGatewayGoogleMarket,
|
|
@@ -1148,6 +1150,7 @@ export default {
|
|
|
1148
1150
|
marketingGatewayGoogleProductUnitPricingMeasure,
|
|
1149
1151
|
marketingGatewayGoogleProductWarning,
|
|
1150
1152
|
marketingGatewayImageLinks,
|
|
1153
|
+
marketingGatewayProductResult,
|
|
1151
1154
|
marketingGatewayProductsResult,
|
|
1152
1155
|
marketingGatewayProductsStatusCount,
|
|
1153
1156
|
nextBillingStatement,
|
|
@@ -1230,7 +1233,6 @@ export default {
|
|
|
1230
1233
|
productPhrase,
|
|
1231
1234
|
productPhraseForm,
|
|
1232
1235
|
productReference,
|
|
1233
|
-
productResult,
|
|
1234
1236
|
rate,
|
|
1235
1237
|
rateData,
|
|
1236
1238
|
rateDataV3,
|
package/LICENSE
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2017 Flow Commerce
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|
|
@@ -1,30 +0,0 @@
|
|
|
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 _inventoryExperienceReference = require('./inventoryExperienceReference');
|
|
12
|
-
|
|
13
|
-
var _inventoryExperienceReference2 = _interopRequireDefault(_inventoryExperienceReference);
|
|
14
|
-
|
|
15
|
-
var _itemReference = require('../../../common/v0/models/itemReference');
|
|
16
|
-
|
|
17
|
-
var _itemReference2 = _interopRequireDefault(_itemReference);
|
|
18
|
-
|
|
19
|
-
var _experienceInventoryItemStatus = require('../enums/experienceInventoryItemStatus');
|
|
20
|
-
|
|
21
|
-
var _experienceInventoryItemStatus2 = _interopRequireDefault(_experienceInventoryItemStatus);
|
|
22
|
-
|
|
23
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
24
|
-
|
|
25
|
-
exports.default = _propTypes2.default.shape({
|
|
26
|
-
id: _propTypes2.default.string.isRequired,
|
|
27
|
-
experience: _inventoryExperienceReference2.default.isRequired,
|
|
28
|
-
item: _itemReference2.default.isRequired,
|
|
29
|
-
status: _experienceInventoryItemStatus2.default.isRequired
|
|
30
|
-
});
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import PropTypes from 'prop-types';
|
|
2
|
-
import inventoryExperienceReference from './inventoryExperienceReference';
|
|
3
|
-
import itemReference from '../../../common/v0/models/itemReference';
|
|
4
|
-
import experienceInventoryItemStatus from '../enums/experienceInventoryItemStatus';
|
|
5
|
-
|
|
6
|
-
export default PropTypes.shape({
|
|
7
|
-
id: PropTypes.string.isRequired,
|
|
8
|
-
experience: inventoryExperienceReference.isRequired,
|
|
9
|
-
item: itemReference.isRequired,
|
|
10
|
-
status: experienceInventoryItemStatus.isRequired,
|
|
11
|
-
});
|
|
File without changes
|