@flowio/api-internal-prop-types 1.2.4 → 1.2.8
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 +7 -1
- package/lib/io/flow/experience/v0/enums/orderPriceDetailComponentKey.js +1 -1
- package/lib/io/flow/experience/v0/enums/orderPriceDetailKey.js +1 -1
- package/lib/io/flow/experience/v0/models/experienceSettings.js +6 -1
- package/lib/io/flow/experience/v0/models/pricingSettings.js +21 -0
- package/lib/io/flow/fulfillment/v0/enums/surchargeResponsibleParty.js +13 -0
- package/lib/io/flow/fulfillment/v0/models/deliveryOption.js +2 -1
- package/lib/io/flow/fulfillment/v0/models/surchargeResponsiblePartyDisplay.js +20 -0
- package/lib/io/flow/fulfillment/v0/models/surchargeSetting.js +24 -0
- package/lib/io/flow/fulfillment/v0/models/surchargeSettingDisplay.js +26 -0
- package/lib/io/flow/fulfillment/v0/models/tier.js +6 -1
- package/lib/io/flow/fulfillment/v0/models/tierForm.js +6 -1
- package/lib/io/flow/internal/v0/enums/eventType.js +1 -1
- package/lib/io/flow/internal/v0/models/customsDescriptionSugestion.js +16 -0
- package/lib/io/flow/internal/v0/models/customsDescriptionSugestionCreated.js +24 -0
- package/lib/io/flow/internal/v0/models/issuer.js +23 -0
- package/lib/io/flow/internal/v0/models/issuerDeleted.js +21 -0
- package/lib/io/flow/internal/v0/models/issuerUpserted.js +21 -0
- package/lib/io/flow/internal/v0/models/marketingGatewayPlatformMarketLocalizations.js +24 -0
- package/lib/io/flow/internal/v0/unions/event.js +9 -1
- package/lib/io/flow/issuer/v0/models/issuer.js +23 -0
- package/lib/io/flow/payment/v0/models/cardAuthorization.js +5 -0
- package/lib/io/flow/payment/v0/models/cardReference.js +1 -1
- package/lib/io/flow/payment/v0/models/issuer.js +2 -1
- package/lib/io/flow/permission/v0/enums/authenticationTechnique.js +13 -0
- package/lib/io/flow/permission/v0/enums/flowAddonRole.js +13 -0
- package/lib/io/flow/permission/v0/enums/flowBehavior.js +13 -0
- package/lib/io/flow/permission/v0/enums/flowUserRole.js +13 -0
- package/lib/io/flow/permission/v0/enums/permittedHttpMethod.js +13 -0
- package/lib/io/flow/permission/v0/models/behaviorAudit.js +29 -0
- package/lib/io/flow/permission/v0/models/permissionAudit.js +24 -0
- package/lib/io/flow/permission/v0/models/permissionCheck.js +39 -0
- package/lib/io/flow/permission/v0/models/permissionError.js +30 -0
- package/lib/io/flow/permission/v0/models/permittedRoute.js +20 -0
- package/lib/io/flow/permission/v0/models/routeAudit.js +30 -0
- package/lib/io/flow/permission/v0/models/simplePermissionCheck.js +19 -0
- package/lib/io/flow/permission/v0/unions/flowRole.js +21 -0
- package/lib/io/flow/shopify/external/v0/models/shopifyLineItemForm.js +0 -1
- package/lib/io/flow/shopify/v0/enums/shopifyLocalizationMethod.js +13 -0
- package/lib/io/flow/shopify/v0/models/shopifyLocalizationSetting.js +25 -0
- package/lib/io/flow/shopify/v0/models/shopifyLocalizationSettingForm.js +24 -0
- package/lib/mocks.js +6 -0
- package/lib/validators.js +30 -0
- package/package.json +2 -3
- package/src/index.d.ts +7 -1
- package/src/io/flow/experience/v0/enums/orderPriceDetailComponentKey.js +2 -0
- package/src/io/flow/experience/v0/enums/orderPriceDetailKey.js +1 -0
- package/src/io/flow/experience/v0/models/experienceSettings.js +2 -0
- package/src/io/flow/experience/v0/models/pricingSettings.js +8 -0
- package/src/io/flow/fulfillment/v0/enums/surchargeResponsibleParty.js +3 -0
- package/src/io/flow/fulfillment/v0/models/deliveryOption.js +1 -0
- package/src/io/flow/fulfillment/v0/models/surchargeResponsiblePartyDisplay.js +7 -0
- package/src/io/flow/fulfillment/v0/models/surchargeSetting.js +8 -0
- package/src/io/flow/fulfillment/v0/models/surchargeSettingDisplay.js +10 -0
- package/src/io/flow/fulfillment/v0/models/tier.js +2 -0
- package/src/io/flow/fulfillment/v0/models/tierForm.js +2 -0
- package/src/io/flow/internal/v0/enums/eventType.js +2 -0
- package/src/io/flow/internal/v0/models/customsDescriptionSugestion.js +6 -0
- package/src/io/flow/internal/v0/models/customsDescriptionSugestionCreated.js +11 -0
- package/src/io/flow/internal/v0/models/issuer.js +13 -0
- package/src/io/flow/internal/v0/models/issuerDeleted.js +8 -0
- package/src/io/flow/internal/v0/models/issuerUpserted.js +8 -0
- package/src/io/flow/internal/v0/models/marketingGatewayPlatformMarketLocalizations.js +8 -0
- package/src/io/flow/internal/v0/unions/event.js +4 -0
- package/src/io/flow/issuer/v0/models/issuer.js +13 -0
- package/src/io/flow/payment/v0/models/cardAuthorization.js +2 -0
- package/src/io/flow/payment/v0/models/cardReference.js +1 -1
- package/src/io/flow/payment/v0/models/issuer.js +1 -0
- package/src/io/flow/permission/v0/enums/authenticationTechnique.js +9 -0
- package/src/io/flow/permission/v0/enums/flowAddonRole.js +3 -0
- package/src/io/flow/permission/v0/enums/flowBehavior.js +3 -0
- package/src/io/flow/permission/v0/enums/flowUserRole.js +11 -0
- package/src/io/flow/permission/v0/enums/permittedHttpMethod.js +3 -0
- package/src/io/flow/permission/v0/models/behaviorAudit.js +11 -0
- package/src/io/flow/permission/v0/models/permissionAudit.js +8 -0
- package/src/io/flow/permission/v0/models/permissionCheck.js +14 -0
- package/src/io/flow/permission/v0/models/permissionError.js +11 -0
- package/src/io/flow/permission/v0/models/permittedRoute.js +7 -0
- package/src/io/flow/permission/v0/models/routeAudit.js +12 -0
- package/src/io/flow/permission/v0/models/simplePermissionCheck.js +6 -0
- package/src/io/flow/permission/v0/unions/flowRole.js +5 -0
- package/src/io/flow/shopify/external/v0/models/shopifyLineItemForm.js +0 -1
- package/src/io/flow/shopify/v0/enums/shopifyLocalizationMethod.js +3 -0
- package/src/io/flow/shopify/v0/models/shopifyLocalizationSetting.js +9 -0
- package/src/io/flow/shopify/v0/models/shopifyLocalizationSettingForm.js +8 -0
- package/src/mocks.js +6 -0
- package/src/validators.js +12 -0
- package/flowio-api-internal-prop-types-1.2.4.tgz +0 -0
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import PropTypes from 'prop-types';
|
|
2
|
+
import flowBehavior from '../enums/flowBehavior';
|
|
3
|
+
import authenticationTechnique from '../enums/authenticationTechnique';
|
|
4
|
+
import flowRole from '../unions/flowRole';
|
|
5
|
+
|
|
6
|
+
export default PropTypes.shape({
|
|
7
|
+
behavior: flowBehavior.isRequired,
|
|
8
|
+
authentication_techniques: PropTypes.arrayOf(authenticationTechnique)
|
|
9
|
+
.isRequired,
|
|
10
|
+
roles: PropTypes.arrayOf(flowRole).isRequired,
|
|
11
|
+
});
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import PropTypes from 'prop-types';
|
|
2
|
+
import routeAudit from './routeAudit';
|
|
3
|
+
import behaviorAudit from './behaviorAudit';
|
|
4
|
+
|
|
5
|
+
export default PropTypes.shape({
|
|
6
|
+
routes: PropTypes.arrayOf(routeAudit).isRequired,
|
|
7
|
+
behaviors: PropTypes.arrayOf(behaviorAudit).isRequired,
|
|
8
|
+
});
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import PropTypes from 'prop-types';
|
|
2
|
+
import authenticationTechnique from '../enums/authenticationTechnique';
|
|
3
|
+
import expandableUser from '../../../common/v0/unions/expandableUser';
|
|
4
|
+
import flowRole from '../unions/flowRole';
|
|
5
|
+
import flowBehavior from '../enums/flowBehavior';
|
|
6
|
+
import permittedRoute from './permittedRoute';
|
|
7
|
+
|
|
8
|
+
export default PropTypes.shape({
|
|
9
|
+
authentication_technique: authenticationTechnique.isRequired,
|
|
10
|
+
user: expandableUser,
|
|
11
|
+
roles: PropTypes.arrayOf(flowRole).isRequired,
|
|
12
|
+
behaviors: PropTypes.arrayOf(flowBehavior).isRequired,
|
|
13
|
+
routes: PropTypes.arrayOf(permittedRoute).isRequired,
|
|
14
|
+
});
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import PropTypes from 'prop-types';
|
|
2
|
+
import genericErrorCode from '../../../error/v0/enums/genericErrorCode';
|
|
3
|
+
import flowRole from '../unions/flowRole';
|
|
4
|
+
import user from '../../../common/v0/models/user';
|
|
5
|
+
|
|
6
|
+
export default PropTypes.shape({
|
|
7
|
+
code: genericErrorCode.isRequired,
|
|
8
|
+
messages: PropTypes.arrayOf(PropTypes.string).isRequired,
|
|
9
|
+
granting_roles: PropTypes.arrayOf(flowRole),
|
|
10
|
+
admin_users: PropTypes.arrayOf(user),
|
|
11
|
+
});
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import PropTypes from 'prop-types';
|
|
2
|
+
import permittedHttpMethod from '../enums/permittedHttpMethod';
|
|
3
|
+
import authenticationTechnique from '../enums/authenticationTechnique';
|
|
4
|
+
import flowRole from '../unions/flowRole';
|
|
5
|
+
|
|
6
|
+
export default PropTypes.shape({
|
|
7
|
+
method: permittedHttpMethod.isRequired,
|
|
8
|
+
path: PropTypes.string.isRequired,
|
|
9
|
+
authentication_techniques: PropTypes.arrayOf(authenticationTechnique)
|
|
10
|
+
.isRequired,
|
|
11
|
+
roles: PropTypes.arrayOf(flowRole).isRequired,
|
|
12
|
+
});
|
|
@@ -4,7 +4,6 @@ import shopifyAttribute from './shopifyAttribute';
|
|
|
4
4
|
import shopifyTaxLine from './shopifyTaxLine';
|
|
5
5
|
|
|
6
6
|
export default PropTypes.shape({
|
|
7
|
-
id: PropTypes.number,
|
|
8
7
|
fulfillable_quantity: PropTypes.number,
|
|
9
8
|
fulfillment_service: PropTypes.string.isRequired,
|
|
10
9
|
fulfillment_status: fulfillmentStatusType,
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import PropTypes from 'prop-types';
|
|
2
|
+
import shopifyLocalizationMethod from '../enums/shopifyLocalizationMethod';
|
|
3
|
+
import datetimeRange from '../../../common/v0/models/datetimeRange';
|
|
4
|
+
|
|
5
|
+
export default PropTypes.shape({
|
|
6
|
+
id: PropTypes.string.isRequired,
|
|
7
|
+
method: shopifyLocalizationMethod.isRequired,
|
|
8
|
+
datetime_range: datetimeRange.isRequired,
|
|
9
|
+
});
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import PropTypes from 'prop-types';
|
|
2
|
+
import shopifyLocalizationMethod from '../enums/shopifyLocalizationMethod';
|
|
3
|
+
import datetimeRange from '../../../common/v0/models/datetimeRange';
|
|
4
|
+
|
|
5
|
+
export default PropTypes.shape({
|
|
6
|
+
method: shopifyLocalizationMethod.isRequired,
|
|
7
|
+
datetime_range: datetimeRange.isRequired,
|
|
8
|
+
});
|
package/src/mocks.js
CHANGED
|
@@ -163,6 +163,8 @@ export default {
|
|
|
163
163
|
contentSchemaSummary: noopThunk,
|
|
164
164
|
crossdockRatecardFee: noopThunk,
|
|
165
165
|
customsDescriptionImport: noopThunk,
|
|
166
|
+
customsDescriptionSugestion: noopThunk,
|
|
167
|
+
customsDescriptionSugestionCreated: noopThunk,
|
|
166
168
|
customsDescriptionTariffCodeDuty: noopThunk,
|
|
167
169
|
customsDescriptionTariffCodeDutyForm: noopThunk,
|
|
168
170
|
customsDescriptionTariffsImport: noopThunk,
|
|
@@ -326,6 +328,9 @@ export default {
|
|
|
326
328
|
invoice: noopThunk,
|
|
327
329
|
invoiceLine: noopThunk,
|
|
328
330
|
invoiceTransaction: noopThunk,
|
|
331
|
+
issuer: noopThunk,
|
|
332
|
+
issuerDeleted: noopThunk,
|
|
333
|
+
issuerUpserted: noopThunk,
|
|
329
334
|
itemDimensionEstimateDeleted: noopThunk,
|
|
330
335
|
itemDimensionEstimateUpserted: noopThunk,
|
|
331
336
|
itemFilterResponse: noopThunk,
|
|
@@ -395,6 +400,7 @@ export default {
|
|
|
395
400
|
marketingGatewayGoogleMarket: noopThunk,
|
|
396
401
|
marketingGatewayLocalizationFlowCountry: noopThunk,
|
|
397
402
|
marketingGatewayLocalizationFlowExperience: noopThunk,
|
|
403
|
+
marketingGatewayPlatformMarketLocalizations: noopThunk,
|
|
398
404
|
marketingGatewayProduct: noopThunk,
|
|
399
405
|
marketingGatewayProductPrice: noopThunk,
|
|
400
406
|
marketingGatewayProductWarning: noopThunk,
|
package/src/validators.js
CHANGED
|
@@ -154,6 +154,8 @@ import contentSchemaForm from './io/flow/internal/v0/models/contentSchemaForm';
|
|
|
154
154
|
import contentSchemaSummary from './io/flow/internal/v0/models/contentSchemaSummary';
|
|
155
155
|
import crossdockRatecardFee from './io/flow/internal/v0/models/crossdockRatecardFee';
|
|
156
156
|
import customsDescriptionImport from './io/flow/internal/v0/models/customsDescriptionImport';
|
|
157
|
+
import customsDescriptionSugestion from './io/flow/internal/v0/models/customsDescriptionSugestion';
|
|
158
|
+
import customsDescriptionSugestionCreated from './io/flow/internal/v0/models/customsDescriptionSugestionCreated';
|
|
157
159
|
import customsDescriptionTariffCodeDuty from './io/flow/internal/v0/models/customsDescriptionTariffCodeDuty';
|
|
158
160
|
import customsDescriptionTariffCodeDutyForm from './io/flow/internal/v0/models/customsDescriptionTariffCodeDutyForm';
|
|
159
161
|
import customsDescriptionTariffsImport from './io/flow/internal/v0/models/customsDescriptionTariffsImport';
|
|
@@ -317,6 +319,9 @@ import internalStripeAuthorizationDetails from './io/flow/internal/v0/models/int
|
|
|
317
319
|
import invoice from './io/flow/internal/v0/models/invoice';
|
|
318
320
|
import invoiceLine from './io/flow/internal/v0/models/invoiceLine';
|
|
319
321
|
import invoiceTransaction from './io/flow/internal/v0/models/invoiceTransaction';
|
|
322
|
+
import issuer from './io/flow/internal/v0/models/issuer';
|
|
323
|
+
import issuerDeleted from './io/flow/internal/v0/models/issuerDeleted';
|
|
324
|
+
import issuerUpserted from './io/flow/internal/v0/models/issuerUpserted';
|
|
320
325
|
import itemDimensionEstimateDeleted from './io/flow/internal/v0/models/itemDimensionEstimateDeleted';
|
|
321
326
|
import itemDimensionEstimateUpserted from './io/flow/internal/v0/models/itemDimensionEstimateUpserted';
|
|
322
327
|
import itemFilterResponse from './io/flow/internal/v0/models/itemFilterResponse';
|
|
@@ -386,6 +391,7 @@ import marketingGatewayExistingMarket from './io/flow/internal/v0/models/marketi
|
|
|
386
391
|
import marketingGatewayGoogleMarket from './io/flow/internal/v0/models/marketingGatewayGoogleMarket';
|
|
387
392
|
import marketingGatewayLocalizationFlowCountry from './io/flow/internal/v0/models/marketingGatewayLocalizationFlowCountry';
|
|
388
393
|
import marketingGatewayLocalizationFlowExperience from './io/flow/internal/v0/models/marketingGatewayLocalizationFlowExperience';
|
|
394
|
+
import marketingGatewayPlatformMarketLocalizations from './io/flow/internal/v0/models/marketingGatewayPlatformMarketLocalizations';
|
|
389
395
|
import marketingGatewayProduct from './io/flow/internal/v0/models/marketingGatewayProduct';
|
|
390
396
|
import marketingGatewayProductPrice from './io/flow/internal/v0/models/marketingGatewayProductPrice';
|
|
391
397
|
import marketingGatewayProductWarning from './io/flow/internal/v0/models/marketingGatewayProductWarning';
|
|
@@ -788,6 +794,8 @@ export default {
|
|
|
788
794
|
contentSchemaSummary,
|
|
789
795
|
crossdockRatecardFee,
|
|
790
796
|
customsDescriptionImport,
|
|
797
|
+
customsDescriptionSugestion,
|
|
798
|
+
customsDescriptionSugestionCreated,
|
|
791
799
|
customsDescriptionTariffCodeDuty,
|
|
792
800
|
customsDescriptionTariffCodeDutyForm,
|
|
793
801
|
customsDescriptionTariffsImport,
|
|
@@ -951,6 +959,9 @@ export default {
|
|
|
951
959
|
invoice,
|
|
952
960
|
invoiceLine,
|
|
953
961
|
invoiceTransaction,
|
|
962
|
+
issuer,
|
|
963
|
+
issuerDeleted,
|
|
964
|
+
issuerUpserted,
|
|
954
965
|
itemDimensionEstimateDeleted,
|
|
955
966
|
itemDimensionEstimateUpserted,
|
|
956
967
|
itemFilterResponse,
|
|
@@ -1020,6 +1031,7 @@ export default {
|
|
|
1020
1031
|
marketingGatewayGoogleMarket,
|
|
1021
1032
|
marketingGatewayLocalizationFlowCountry,
|
|
1022
1033
|
marketingGatewayLocalizationFlowExperience,
|
|
1034
|
+
marketingGatewayPlatformMarketLocalizations,
|
|
1023
1035
|
marketingGatewayProduct,
|
|
1024
1036
|
marketingGatewayProductPrice,
|
|
1025
1037
|
marketingGatewayProductWarning,
|
|
Binary file
|