@flowio/api-internal-prop-types 1.2.26 → 1.2.28

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.
Files changed (121) hide show
  1. package/.apibuilder/.tracked_files +33 -3
  2. package/.eslintcache +1 -1
  3. package/lib/index.d.ts +14 -0
  4. package/lib/io/flow/adyen/v0/models/authorizeRequest.js +6 -1
  5. package/lib/io/flow/adyen/v0/models/authorizeRequest3D.js +18 -0
  6. package/lib/io/flow/adyen/v0/models/authorizeResponse.js +4 -1
  7. package/lib/io/flow/{harmonization/v0/models/avalaraTaxSetting.js → adyen/v0/models/browserInfo.js} +2 -3
  8. package/lib/io/flow/billing/v0/enums/billingStatementAttachmentKey.js +1 -1
  9. package/lib/io/flow/checkout/configuration/v0/enums/checkoutPromptBehavior.js +1 -1
  10. package/lib/io/flow/checkout/configuration/v0/enums/checkoutShippingMethodPromptBehavior.js +1 -1
  11. package/lib/io/flow/common/v0/enums/discountTarget.js +13 -0
  12. package/lib/io/flow/common/v0/models/customerForm.js +32 -0
  13. package/lib/io/flow/common/v0/models/discountForm.js +25 -0
  14. package/lib/io/flow/{harmonization/v0/unions/taxSetting.js → common/v0/models/discountOfferFixed.js} +5 -3
  15. package/lib/io/flow/common/v0/models/discountOfferPercent.js +15 -0
  16. package/lib/io/flow/common/v0/models/discountsForm.js +19 -0
  17. package/lib/io/flow/common/v0/models/lineItemForm.js +6 -1
  18. package/lib/io/flow/common/v0/models/priceSourceCatalog.js +19 -0
  19. package/lib/io/flow/common/v0/models/priceSourcePriceBook.js +29 -0
  20. package/lib/io/flow/common/v0/models/priceSourcePriceBookReference.js +16 -0
  21. package/lib/io/flow/common/v0/models/priceSourceProvided.js +19 -0
  22. package/lib/io/flow/common/v0/unions/discountOffer.js +21 -0
  23. package/lib/io/flow/common/v0/unions/priceSource.js +25 -0
  24. package/lib/io/flow/experience/v0/models/localizedLineItem.js +7 -1
  25. package/lib/io/flow/experience/v0/models/localizedLineItemDiscount.js +2 -1
  26. package/lib/io/flow/experience/v0/models/orderForm.js +8 -3
  27. package/lib/io/flow/experience/v0/models/orderPutForm.js +8 -3
  28. package/lib/io/flow/internal/v0/enums/billingStatementAttachmentKey.js +1 -1
  29. package/lib/io/flow/internal/v0/enums/calculationStyle.js +13 -0
  30. package/lib/io/flow/internal/v0/enums/checkoutPromptBehavior.js +1 -1
  31. package/lib/io/flow/internal/v0/enums/checkoutShippingMethodPromptBehavior.js +1 -1
  32. package/lib/io/flow/internal/v0/enums/eventType.js +1 -1
  33. package/lib/io/flow/internal/v0/models/adyenClassicPaymentRedirectForm.js +16 -0
  34. package/lib/io/flow/internal/v0/models/allItemsExport.js +18 -0
  35. package/lib/io/flow/internal/v0/models/billingOrderDestination.js +18 -0
  36. package/lib/io/flow/internal/v0/models/billingOrderSummary.js +6 -1
  37. package/lib/io/flow/internal/v0/models/checkoutConfigurationDeleted.js +22 -0
  38. package/lib/io/flow/internal/v0/models/checkoutConfigurationUpserted.js +22 -0
  39. package/lib/io/flow/internal/v0/models/checkoutSubmitOrderBundle.js +1 -1
  40. package/lib/io/flow/internal/v0/models/dutiedItemsExport.js +21 -0
  41. package/lib/io/flow/internal/v0/models/landedCostExport.js +23 -0
  42. package/lib/io/flow/internal/v0/models/landedCostItem.js +17 -0
  43. package/lib/io/flow/internal/v0/models/taxCalculation.js +25 -0
  44. package/lib/io/flow/internal/v0/models/taxCalculationForm.js +33 -0
  45. package/lib/io/flow/internal/v0/models/taxCalculationLineItem.js +20 -0
  46. package/lib/io/flow/internal/v0/models/taxCalculationLineItemForm.js +25 -0
  47. package/lib/io/flow/internal/v0/unions/event.js +21 -1
  48. package/lib/io/flow/internal/v0/unions/paymentRedirectForm.js +17 -0
  49. package/lib/io/flow/payment/v0/models/authorizationResult.js +1 -1
  50. package/lib/io/flow/payment/v0/models/authorizationResultActionPost.js +21 -0
  51. package/lib/io/flow/payment/v0/models/authorizationResultActionWait.js +19 -0
  52. package/lib/io/flow/payment/v0/unions/authorizationResultAction.js +25 -0
  53. package/lib/io/flow/shopify/external/v0/models/priceRule.js +11 -0
  54. package/lib/io/flow/shopify/external/v0/models/priceRulePrerequisiteToEntitlementQuantityRatio.js +16 -0
  55. package/lib/io/flow/shopify/v0/models/shopifyLine.js +6 -1
  56. package/lib/io/flow/shopify/v0/models/shopifyOrderDeliveryMetafield.js +6 -1
  57. package/lib/io/flow/stripe/v0/models/sourceKlarna.js +2 -2
  58. package/lib/mocks.js +14 -0
  59. package/lib/validators.js +70 -0
  60. package/package.json +2 -2
  61. package/src/index.d.ts +14 -0
  62. package/src/io/flow/adyen/v0/models/authorizeRequest.js +2 -0
  63. package/src/io/flow/adyen/v0/models/authorizeRequest3D.js +8 -0
  64. package/src/io/flow/adyen/v0/models/authorizeResponse.js +3 -0
  65. package/src/io/flow/adyen/v0/models/browserInfo.js +6 -0
  66. package/src/io/flow/billing/v0/enums/billingStatementAttachmentKey.js +2 -0
  67. package/src/io/flow/checkout/configuration/v0/enums/checkoutPromptBehavior.js +1 -1
  68. package/src/io/flow/checkout/configuration/v0/enums/checkoutShippingMethodPromptBehavior.js +1 -1
  69. package/src/io/flow/common/v0/enums/discountTarget.js +3 -0
  70. package/src/io/flow/common/v0/models/customerForm.js +13 -0
  71. package/src/io/flow/common/v0/models/discountForm.js +9 -0
  72. package/src/io/flow/common/v0/models/discountOfferFixed.js +6 -0
  73. package/src/io/flow/common/v0/models/discountOfferPercent.js +5 -0
  74. package/src/io/flow/common/v0/models/discountsForm.js +6 -0
  75. package/src/io/flow/common/v0/models/lineItemForm.js +2 -0
  76. package/src/io/flow/common/v0/models/priceSourceCatalog.js +6 -0
  77. package/src/io/flow/common/v0/models/priceSourcePriceBook.js +10 -0
  78. package/src/io/flow/common/v0/models/priceSourcePriceBookReference.js +6 -0
  79. package/src/io/flow/common/v0/models/priceSourceProvided.js +6 -0
  80. package/src/io/flow/common/v0/unions/discountOffer.js +5 -0
  81. package/src/io/flow/common/v0/unions/priceSource.js +10 -0
  82. package/src/io/flow/experience/v0/models/localizedLineItem.js +3 -0
  83. package/src/io/flow/experience/v0/models/localizedLineItemDiscount.js +1 -0
  84. package/src/io/flow/experience/v0/models/orderForm.js +4 -2
  85. package/src/io/flow/experience/v0/models/orderPutForm.js +4 -2
  86. package/src/io/flow/internal/v0/enums/billingStatementAttachmentKey.js +2 -0
  87. package/src/io/flow/internal/v0/enums/calculationStyle.js +3 -0
  88. package/src/io/flow/internal/v0/enums/checkoutPromptBehavior.js +1 -1
  89. package/src/io/flow/internal/v0/enums/checkoutShippingMethodPromptBehavior.js +1 -1
  90. package/src/io/flow/internal/v0/enums/eventType.js +5 -0
  91. package/src/io/flow/internal/v0/models/adyenClassicPaymentRedirectForm.js +6 -0
  92. package/src/io/flow/internal/v0/models/allItemsExport.js +8 -0
  93. package/src/io/flow/internal/v0/models/billingOrderDestination.js +8 -0
  94. package/src/io/flow/internal/v0/models/billingOrderSummary.js +2 -0
  95. package/src/io/flow/internal/v0/models/checkoutConfigurationDeleted.js +9 -0
  96. package/src/io/flow/internal/v0/models/checkoutConfigurationUpserted.js +9 -0
  97. package/src/io/flow/internal/v0/models/checkoutSubmitOrderBundle.js +1 -1
  98. package/src/io/flow/internal/v0/models/dutiedItemsExport.js +11 -0
  99. package/src/io/flow/internal/v0/models/landedCostExport.js +10 -0
  100. package/src/io/flow/internal/v0/models/landedCostItem.js +7 -0
  101. package/src/io/flow/internal/v0/models/taxCalculation.js +12 -0
  102. package/src/io/flow/internal/v0/models/taxCalculationForm.js +14 -0
  103. package/src/io/flow/internal/v0/models/taxCalculationLineItem.js +10 -0
  104. package/src/io/flow/internal/v0/models/taxCalculationLineItemForm.js +12 -0
  105. package/src/io/flow/internal/v0/unions/event.js +10 -0
  106. package/src/io/flow/internal/v0/unions/paymentRedirectForm.js +4 -0
  107. package/src/io/flow/payment/v0/models/authorizationResult.js +1 -1
  108. package/src/io/flow/payment/v0/models/authorizationResultActionPost.js +8 -0
  109. package/src/io/flow/payment/v0/models/authorizationResultActionWait.js +6 -0
  110. package/src/io/flow/payment/v0/unions/authorizationResultAction.js +10 -0
  111. package/src/io/flow/shopify/external/v0/models/priceRule.js +8 -0
  112. package/src/io/flow/shopify/external/v0/models/priceRulePrerequisiteToEntitlementQuantityRatio.js +6 -0
  113. package/src/io/flow/shopify/v0/models/shopifyLine.js +2 -0
  114. package/src/io/flow/shopify/v0/models/shopifyOrderDeliveryMetafield.js +2 -0
  115. package/src/io/flow/stripe/v0/models/sourceKlarna.js +2 -2
  116. package/src/mocks.js +14 -0
  117. package/src/validators.js +28 -0
  118. package/src/io/flow/harmonization/v0/models/avalaraTaxSetting.js +0 -7
  119. package/src/io/flow/harmonization/v0/unions/taxSetting.js +0 -4
  120. /package/lib/io/flow/payment/v0/models/{authorizationResultAction.js → authorizationResultActionGet.js} +0 -0
  121. /package/src/io/flow/payment/v0/models/{authorizationResultAction.js → authorizationResultActionGet.js} +0 -0
@@ -0,0 +1,9 @@
1
+ import PropTypes from 'prop-types';
2
+ import checkoutConfiguration from '../../../checkout/configuration/v0/models/checkoutConfiguration';
3
+
4
+ export default PropTypes.shape({
5
+ event_id: PropTypes.string.isRequired,
6
+ timestamp: PropTypes.string.isRequired,
7
+ organization: PropTypes.string.isRequired,
8
+ checkout_configuration: checkoutConfiguration.isRequired,
9
+ });
@@ -1,6 +1,6 @@
1
1
  import PropTypes from 'prop-types';
2
2
  import order from '../../../experience/v0/models/order';
3
- import authorizationResultAction from '../../../payment/v0/models/authorizationResultAction';
3
+ import authorizationResultAction from '../../../payment/v0/unions/authorizationResultAction';
4
4
  import orderError from '../../../experience/v0/models/orderError';
5
5
 
6
6
  export default PropTypes.shape({
@@ -0,0 +1,11 @@
1
+ import PropTypes from 'prop-types';
2
+
3
+ export default PropTypes.shape({
4
+ event_id: PropTypes.string.isRequired,
5
+ timestamp: PropTypes.string.isRequired,
6
+ organization: PropTypes.string.isRequired,
7
+ export_id: PropTypes.string.isRequired,
8
+ origin: PropTypes.string,
9
+ destination: PropTypes.string.isRequired,
10
+ item_numbers: PropTypes.arrayOf(PropTypes.string),
11
+ });
@@ -0,0 +1,10 @@
1
+ import PropTypes from 'prop-types';
2
+ import landedCostItem from './landedCostItem';
3
+
4
+ export default PropTypes.shape({
5
+ event_id: PropTypes.string.isRequired,
6
+ timestamp: PropTypes.string.isRequired,
7
+ organization: PropTypes.string.isRequired,
8
+ export_id: PropTypes.string.isRequired,
9
+ items: PropTypes.arrayOf(landedCostItem).isRequired,
10
+ });
@@ -0,0 +1,7 @@
1
+ import PropTypes from 'prop-types';
2
+
3
+ export default PropTypes.shape({
4
+ number: PropTypes.string.isRequired,
5
+ origin: PropTypes.string.isRequired,
6
+ destination: PropTypes.string.isRequired,
7
+ });
@@ -0,0 +1,12 @@
1
+ import PropTypes from 'prop-types';
2
+ import taxCalculationLineItem from './taxCalculationLineItem';
3
+
4
+ export default PropTypes.shape({
5
+ order_number: PropTypes.string.isRequired,
6
+ target_currency_code: PropTypes.string.isRequired,
7
+ total: PropTypes.number.isRequired,
8
+ tax: PropTypes.number.isRequired,
9
+ lines: PropTypes.arrayOf(taxCalculationLineItem).isRequired,
10
+ shipping_total: PropTypes.number.isRequired,
11
+ shipping_tax: PropTypes.number.isRequired,
12
+ });
@@ -0,0 +1,14 @@
1
+ import PropTypes from 'prop-types';
2
+ import address from '../../../common/v0/models/address';
3
+ import taxCalculationLineItemForm from './taxCalculationLineItemForm';
4
+ import calculationStyle from '../enums/calculationStyle';
5
+
6
+ export default PropTypes.shape({
7
+ order_number: PropTypes.string.isRequired,
8
+ target_currency_code: PropTypes.string.isRequired,
9
+ destination: address.isRequired,
10
+ order_date: PropTypes.string.isRequired,
11
+ lines: PropTypes.arrayOf(taxCalculationLineItemForm).isRequired,
12
+ shipping_amount: PropTypes.number.isRequired,
13
+ calculation_style: calculationStyle,
14
+ });
@@ -0,0 +1,10 @@
1
+ import PropTypes from 'prop-types';
2
+
3
+ export default PropTypes.shape({
4
+ line_number: PropTypes.string.isRequired,
5
+ item_number: PropTypes.string.isRequired,
6
+ quantity: PropTypes.number.isRequired,
7
+ total: PropTypes.number.isRequired,
8
+ tax: PropTypes.number.isRequired,
9
+ sku: PropTypes.string,
10
+ });
@@ -0,0 +1,12 @@
1
+ import PropTypes from 'prop-types';
2
+ import address from '../../../common/v0/models/address';
3
+
4
+ export default PropTypes.shape({
5
+ line_number: PropTypes.string.isRequired,
6
+ item_number: PropTypes.string.isRequired,
7
+ ship_from: address.isRequired,
8
+ quantity: PropTypes.number.isRequired,
9
+ amount: PropTypes.number.isRequired,
10
+ tax_code: PropTypes.string,
11
+ sku: PropTypes.string,
12
+ });
@@ -12,6 +12,8 @@ import accountOrdersExportRequest from '../models/accountOrdersExportRequest';
12
12
  import carrierAccountUpserted from '../models/carrierAccountUpserted';
13
13
  import catalogImportRequest from '../models/catalogImportRequest';
14
14
  import catalogItemRegionAvailabilitiesPublished from '../models/catalogItemRegionAvailabilitiesPublished';
15
+ import checkoutConfigurationUpserted from '../models/checkoutConfigurationUpserted';
16
+ import checkoutConfigurationDeleted from '../models/checkoutConfigurationDeleted';
15
17
  import localizedContentUpserted from '../models/localizedContentUpserted';
16
18
  import localizationUpserted from '../models/localizationUpserted';
17
19
  import rateDeleted from '../models/rateDeleted';
@@ -54,8 +56,11 @@ import ftpFileToProcessUploaded from '../models/ftpFileToProcessUploaded';
54
56
  import blacklistedItemCreated from '../models/blacklistedItemCreated';
55
57
  import blacklistedItemUpdated from '../models/blacklistedItemUpdated';
56
58
  import blacklistedItemDeleted from '../models/blacklistedItemDeleted';
59
+ import allItemsExport from '../models/allItemsExport';
57
60
  import harmonizedItemsHs6Export from '../models/harmonizedItemsHs6Export';
58
61
  import unharmonizedItemsExport from '../models/unharmonizedItemsExport';
62
+ import dutiedItemsExport from '../models/dutiedItemsExport';
63
+ import landedCostExport from '../models/landedCostExport';
59
64
  import harmonizationPhraseSuggestionRequestImport from '../models/harmonizationPhraseSuggestionRequestImport';
60
65
  import harmonizationCodesImport from '../models/harmonizationCodesImport';
61
66
  import customsDescriptionSugestionCreated from '../models/customsDescriptionSugestionCreated';
@@ -132,6 +137,8 @@ export default PropTypes.oneOfType([
132
137
  carrierAccountUpserted,
133
138
  catalogImportRequest,
134
139
  catalogItemRegionAvailabilitiesPublished,
140
+ checkoutConfigurationUpserted,
141
+ checkoutConfigurationDeleted,
135
142
  localizedContentUpserted,
136
143
  localizationUpserted,
137
144
  rateDeleted,
@@ -174,8 +181,11 @@ export default PropTypes.oneOfType([
174
181
  blacklistedItemCreated,
175
182
  blacklistedItemUpdated,
176
183
  blacklistedItemDeleted,
184
+ allItemsExport,
177
185
  harmonizedItemsHs6Export,
178
186
  unharmonizedItemsExport,
187
+ dutiedItemsExport,
188
+ landedCostExport,
179
189
  harmonizationPhraseSuggestionRequestImport,
180
190
  harmonizationCodesImport,
181
191
  customsDescriptionSugestionCreated,
@@ -0,0 +1,4 @@
1
+ import PropTypes from 'prop-types';
2
+ import adyenClassicPaymentRedirectForm from '../models/adyenClassicPaymentRedirectForm';
3
+
4
+ export default PropTypes.oneOfType([adyenClassicPaymentRedirectForm]);
@@ -1,6 +1,6 @@
1
1
  import PropTypes from 'prop-types';
2
2
  import authorizationStatus from '../enums/authorizationStatus';
3
- import authorizationResultAction from './authorizationResultAction';
3
+ import authorizationResultAction from '../unions/authorizationResultAction';
4
4
  import authorizationDeclineCode from '../enums/authorizationDeclineCode';
5
5
  import avs from './avs';
6
6
  import cvv from './cvv';
@@ -0,0 +1,8 @@
1
+ import PropTypes from 'prop-types';
2
+ import authorizationResultActionType from '../enums/authorizationResultActionType';
3
+
4
+ export default PropTypes.shape({
5
+ type: authorizationResultActionType.isRequired,
6
+ url: PropTypes.string.isRequired,
7
+ parameters: PropTypes.object.isRequired,
8
+ });
@@ -0,0 +1,6 @@
1
+ import PropTypes from 'prop-types';
2
+ import authorizationResultActionType from '../enums/authorizationResultActionType';
3
+
4
+ export default PropTypes.shape({
5
+ type: authorizationResultActionType.isRequired,
6
+ });
@@ -0,0 +1,10 @@
1
+ import PropTypes from 'prop-types';
2
+ import authorizationResultActionGet from '../models/authorizationResultActionGet';
3
+ import authorizationResultActionPost from '../models/authorizationResultActionPost';
4
+ import authorizationResultActionWait from '../models/authorizationResultActionWait';
5
+
6
+ export default PropTypes.oneOfType([
7
+ authorizationResultActionGet,
8
+ authorizationResultActionPost,
9
+ authorizationResultActionWait,
10
+ ]);
@@ -6,6 +6,7 @@ import priceRuleLessThanRange from './priceRuleLessThanRange';
6
6
  import priceRuleAllocationMethod from '../enums/priceRuleAllocationMethod';
7
7
  import priceRuleTargetSelection from '../enums/priceRuleTargetSelection';
8
8
  import priceRuleCustomerSelection from '../enums/priceRuleCustomerSelection';
9
+ import priceRulePrerequisiteToEntitlementQuantityRatio from './priceRulePrerequisiteToEntitlementQuantityRatio';
9
10
 
10
11
  export default PropTypes.shape({
11
12
  id: PropTypes.number.isRequired,
@@ -26,6 +27,13 @@ export default PropTypes.shape({
26
27
  target_selection: priceRuleTargetSelection.isRequired,
27
28
  customer_selection: priceRuleCustomerSelection.isRequired,
28
29
  prerequisite_saved_search_ids: PropTypes.arrayOf(PropTypes.number).isRequired,
30
+ prerequisite_customer_ids: PropTypes.arrayOf(PropTypes.number),
31
+ prerequisite_quantity_range: priceRuleGreaterThanRange,
32
+ prerequisite_product_ids: PropTypes.arrayOf(PropTypes.number),
33
+ prerequisite_variant_ids: PropTypes.arrayOf(PropTypes.number),
34
+ prerequisite_collection_ids: PropTypes.arrayOf(PropTypes.number),
35
+ prerequisite_to_entitlement_quantity_ratio: priceRulePrerequisiteToEntitlementQuantityRatio,
36
+ allocation_limit: PropTypes.number,
29
37
  title: PropTypes.string,
30
38
  created_at: PropTypes.string,
31
39
  updated_at: PropTypes.string,
@@ -0,0 +1,6 @@
1
+ import PropTypes from 'prop-types';
2
+
3
+ export default PropTypes.shape({
4
+ prerequisite_quantity: PropTypes.number,
5
+ entitled_quantity: PropTypes.number,
6
+ });
@@ -1,9 +1,11 @@
1
1
  import PropTypes from 'prop-types';
2
2
  import shopifyPrice from './shopifyPrice';
3
+ import priceSource from '../../../common/v0/unions/priceSource';
3
4
 
4
5
  export default PropTypes.shape({
5
6
  variant_id: PropTypes.number.isRequired,
6
7
  quantity: PropTypes.number.isRequired,
7
8
  price: shopifyPrice.isRequired,
8
9
  total: shopifyPrice.isRequired,
10
+ price_source: priceSource,
9
11
  });
@@ -2,9 +2,11 @@ import PropTypes from 'prop-types';
2
2
  import shopifyOrderDeliveryMetafieldItem from './shopifyOrderDeliveryMetafieldItem';
3
3
  import serviceSummary from '../../../fulfillment/v0/models/serviceSummary';
4
4
  import deliveryWindow from '../../../fulfillment/v0/models/deliveryWindow';
5
+ import moneyWithOptionalBase from '../../../common/v0/models/moneyWithOptionalBase';
5
6
 
6
7
  export default PropTypes.shape({
7
8
  items: PropTypes.arrayOf(shopifyOrderDeliveryMetafieldItem).isRequired,
8
9
  service: serviceSummary.isRequired,
9
10
  window: deliveryWindow.isRequired,
11
+ cost: moneyWithOptionalBase,
10
12
  });
@@ -1,7 +1,7 @@
1
1
  import PropTypes from 'prop-types';
2
2
 
3
3
  export default PropTypes.shape({
4
- first_name: PropTypes.string.isRequired,
5
- last_name: PropTypes.string.isRequired,
4
+ first_name: PropTypes.string,
5
+ last_name: PropTypes.string,
6
6
  client_token: PropTypes.string.isRequired,
7
7
  });
package/src/mocks.js CHANGED
@@ -11,6 +11,7 @@ export default {
11
11
  billingStatementAttachmentKey: noopThunk,
12
12
  billingTransactionStatus: noopThunk,
13
13
  billingTransactionType: noopThunk,
14
+ calculationStyle: noopThunk,
14
15
  carrierLabelGenerationMethod: noopThunk,
15
16
  catalogImportType: noopThunk,
16
17
  checkoutPromptBehavior: noopThunk,
@@ -103,6 +104,7 @@ export default {
103
104
  adyenCancelUpserted: noopThunk,
104
105
  adyenCaptureDeleted: noopThunk,
105
106
  adyenCaptureUpserted: noopThunk,
107
+ adyenClassicPaymentRedirectForm: noopThunk,
106
108
  adyenInternalAuthorization: noopThunk,
107
109
  adyenInternalCancel: noopThunk,
108
110
  adyenInternalCapture: noopThunk,
@@ -114,6 +116,7 @@ export default {
114
116
  alertFailureSummary: noopThunk,
115
117
  alertFailureSummaryDetail: noopThunk,
116
118
  alertRequeueSummary: noopThunk,
119
+ allItemsExport: noopThunk,
117
120
  allocationItemReference: noopThunk,
118
121
  apmContent: noopThunk,
119
122
  applePaymentToken: noopThunk,
@@ -135,6 +138,7 @@ export default {
135
138
  billingAllocationBreakout: noopThunk,
136
139
  billingAuthorizationReference: noopThunk,
137
140
  billingInvoiceSummary: noopThunk,
141
+ billingOrderDestination: noopThunk,
138
142
  billingOrderSummary: noopThunk,
139
143
  billingOrganizationProcessingRates: noopThunk,
140
144
  billingOrganizationSettings: noopThunk,
@@ -178,7 +182,9 @@ export default {
178
182
  checkoutBehaviorShippingMethod: noopThunk,
179
183
  checkoutBundle: noopThunk,
180
184
  checkoutConfiguration: noopThunk,
185
+ checkoutConfigurationDeleted: noopThunk,
181
186
  checkoutConfigurationReference: noopThunk,
187
+ checkoutConfigurationUpserted: noopThunk,
182
188
  checkoutContent: noopThunk,
183
189
  checkoutFinalizeOrderForm: noopThunk,
184
190
  checkoutMarketingContent: noopThunk,
@@ -227,6 +233,7 @@ export default {
227
233
  discountRequestOfferFixedAmountForm: noopThunk,
228
234
  discountRequestOrderEntitlementForm: noopThunk,
229
235
  discountRequestOrderForm: noopThunk,
236
+ dutiedItemsExport: noopThunk,
230
237
  duties: noopThunk,
231
238
  dutyCompoundExpression: noopThunk,
232
239
  dutyRate: noopThunk,
@@ -391,6 +398,8 @@ export default {
391
398
  labelInvoiceUpserted: noopThunk,
392
399
  labelSummary: noopThunk,
393
400
  labeledContent: noopThunk,
401
+ landedCostExport: noopThunk,
402
+ landedCostItem: noopThunk,
394
403
  landmark: noopThunk,
395
404
  lineActionForm: noopThunk,
396
405
  lineActionQuantities: noopThunk,
@@ -632,6 +641,10 @@ export default {
632
641
  taskItemUpserted: noopThunk,
633
642
  taskProcessQueuedEvent: noopThunk,
634
643
  taskSummarizeCode: noopThunk,
644
+ taxCalculation: noopThunk,
645
+ taxCalculationForm: noopThunk,
646
+ taxCalculationLineItem: noopThunk,
647
+ taxCalculationLineItemForm: noopThunk,
635
648
  taxRemittanceTransaction: noopThunk,
636
649
  timeCondition: noopThunk,
637
650
  timeWithTimezone: noopThunk,
@@ -682,6 +695,7 @@ export default {
682
695
  paymentAccount: noopThunk,
683
696
  paymentAccountForm: noopThunk,
684
697
  paymentRedirect: noopThunk,
698
+ paymentRedirectForm: noopThunk,
685
699
  paymentSummaryDetails: noopThunk,
686
700
  repeatSchedule: noopThunk,
687
701
  shopifyCheckoutBundle: noopThunk,
package/src/validators.js CHANGED
@@ -2,6 +2,7 @@ import billingAllocationKey from './io/flow/internal/v0/enums/billingAllocationK
2
2
  import billingStatementAttachmentKey from './io/flow/internal/v0/enums/billingStatementAttachmentKey';
3
3
  import billingTransactionStatus from './io/flow/internal/v0/enums/billingTransactionStatus';
4
4
  import billingTransactionType from './io/flow/internal/v0/enums/billingTransactionType';
5
+ import calculationStyle from './io/flow/internal/v0/enums/calculationStyle';
5
6
  import carrierLabelGenerationMethod from './io/flow/internal/v0/enums/carrierLabelGenerationMethod';
6
7
  import catalogImportType from './io/flow/internal/v0/enums/catalogImportType';
7
8
  import checkoutPromptBehavior from './io/flow/internal/v0/enums/checkoutPromptBehavior';
@@ -94,6 +95,7 @@ import adyenCancelDeleted from './io/flow/internal/v0/models/adyenCancelDeleted'
94
95
  import adyenCancelUpserted from './io/flow/internal/v0/models/adyenCancelUpserted';
95
96
  import adyenCaptureDeleted from './io/flow/internal/v0/models/adyenCaptureDeleted';
96
97
  import adyenCaptureUpserted from './io/flow/internal/v0/models/adyenCaptureUpserted';
98
+ import adyenClassicPaymentRedirectForm from './io/flow/internal/v0/models/adyenClassicPaymentRedirectForm';
97
99
  import adyenInternalAuthorization from './io/flow/internal/v0/models/adyenInternalAuthorization';
98
100
  import adyenInternalCancel from './io/flow/internal/v0/models/adyenInternalCancel';
99
101
  import adyenInternalCapture from './io/flow/internal/v0/models/adyenInternalCapture';
@@ -105,6 +107,7 @@ import alertErrorSummary from './io/flow/internal/v0/models/alertErrorSummary';
105
107
  import alertFailureSummary from './io/flow/internal/v0/models/alertFailureSummary';
106
108
  import alertFailureSummaryDetail from './io/flow/internal/v0/models/alertFailureSummaryDetail';
107
109
  import alertRequeueSummary from './io/flow/internal/v0/models/alertRequeueSummary';
110
+ import allItemsExport from './io/flow/internal/v0/models/allItemsExport';
108
111
  import allocationItemReference from './io/flow/internal/v0/models/allocationItemReference';
109
112
  import apmContent from './io/flow/internal/v0/models/apmContent';
110
113
  import applePaymentToken from './io/flow/internal/v0/models/applePaymentToken';
@@ -126,6 +129,7 @@ import bankPaymentForm from './io/flow/internal/v0/models/bankPaymentForm';
126
129
  import billingAllocationBreakout from './io/flow/internal/v0/models/billingAllocationBreakout';
127
130
  import billingAuthorizationReference from './io/flow/internal/v0/models/billingAuthorizationReference';
128
131
  import billingInvoiceSummary from './io/flow/internal/v0/models/billingInvoiceSummary';
132
+ import billingOrderDestination from './io/flow/internal/v0/models/billingOrderDestination';
129
133
  import billingOrderSummary from './io/flow/internal/v0/models/billingOrderSummary';
130
134
  import billingOrganizationProcessingRates from './io/flow/internal/v0/models/billingOrganizationProcessingRates';
131
135
  import billingOrganizationSettings from './io/flow/internal/v0/models/billingOrganizationSettings';
@@ -169,7 +173,9 @@ import checkoutBehaviorShippingAddress from './io/flow/internal/v0/models/checko
169
173
  import checkoutBehaviorShippingMethod from './io/flow/internal/v0/models/checkoutBehaviorShippingMethod';
170
174
  import checkoutBundle from './io/flow/internal/v0/models/checkoutBundle';
171
175
  import checkoutConfiguration from './io/flow/internal/v0/models/checkoutConfiguration';
176
+ import checkoutConfigurationDeleted from './io/flow/internal/v0/models/checkoutConfigurationDeleted';
172
177
  import checkoutConfigurationReference from './io/flow/internal/v0/models/checkoutConfigurationReference';
178
+ import checkoutConfigurationUpserted from './io/flow/internal/v0/models/checkoutConfigurationUpserted';
173
179
  import checkoutContent from './io/flow/internal/v0/models/checkoutContent';
174
180
  import checkoutFinalizeOrderForm from './io/flow/internal/v0/models/checkoutFinalizeOrderForm';
175
181
  import checkoutMarketingContent from './io/flow/internal/v0/models/checkoutMarketingContent';
@@ -218,6 +224,7 @@ import discountRequestForm from './io/flow/internal/v0/models/discountRequestFor
218
224
  import discountRequestOfferFixedAmountForm from './io/flow/internal/v0/models/discountRequestOfferFixedAmountForm';
219
225
  import discountRequestOrderEntitlementForm from './io/flow/internal/v0/models/discountRequestOrderEntitlementForm';
220
226
  import discountRequestOrderForm from './io/flow/internal/v0/models/discountRequestOrderForm';
227
+ import dutiedItemsExport from './io/flow/internal/v0/models/dutiedItemsExport';
221
228
  import duties from './io/flow/internal/v0/models/duties';
222
229
  import dutyCompoundExpression from './io/flow/internal/v0/models/dutyCompoundExpression';
223
230
  import dutyRate from './io/flow/internal/v0/models/dutyRate';
@@ -382,6 +389,8 @@ import labelInvoiceTotal from './io/flow/internal/v0/models/labelInvoiceTotal';
382
389
  import labelInvoiceUpserted from './io/flow/internal/v0/models/labelInvoiceUpserted';
383
390
  import labelSummary from './io/flow/internal/v0/models/labelSummary';
384
391
  import labeledContent from './io/flow/internal/v0/models/labeledContent';
392
+ import landedCostExport from './io/flow/internal/v0/models/landedCostExport';
393
+ import landedCostItem from './io/flow/internal/v0/models/landedCostItem';
385
394
  import landmark from './io/flow/internal/v0/models/landmark';
386
395
  import lineActionForm from './io/flow/internal/v0/models/lineActionForm';
387
396
  import lineActionQuantities from './io/flow/internal/v0/models/lineActionQuantities';
@@ -623,6 +632,10 @@ import taskImport from './io/flow/internal/v0/models/taskImport';
623
632
  import taskItemUpserted from './io/flow/internal/v0/models/taskItemUpserted';
624
633
  import taskProcessQueuedEvent from './io/flow/internal/v0/models/taskProcessQueuedEvent';
625
634
  import taskSummarizeCode from './io/flow/internal/v0/models/taskSummarizeCode';
635
+ import taxCalculation from './io/flow/internal/v0/models/taxCalculation';
636
+ import taxCalculationForm from './io/flow/internal/v0/models/taxCalculationForm';
637
+ import taxCalculationLineItem from './io/flow/internal/v0/models/taxCalculationLineItem';
638
+ import taxCalculationLineItemForm from './io/flow/internal/v0/models/taxCalculationLineItemForm';
626
639
  import taxRemittanceTransaction from './io/flow/internal/v0/models/taxRemittanceTransaction';
627
640
  import timeCondition from './io/flow/internal/v0/models/timeCondition';
628
641
  import timeWithTimezone from './io/flow/internal/v0/models/timeWithTimezone';
@@ -673,6 +686,7 @@ import orderActionForm from './io/flow/internal/v0/unions/orderActionForm';
673
686
  import paymentAccount from './io/flow/internal/v0/unions/paymentAccount';
674
687
  import paymentAccountForm from './io/flow/internal/v0/unions/paymentAccountForm';
675
688
  import paymentRedirect from './io/flow/internal/v0/unions/paymentRedirect';
689
+ import paymentRedirectForm from './io/flow/internal/v0/unions/paymentRedirectForm';
676
690
  import paymentSummaryDetails from './io/flow/internal/v0/unions/paymentSummaryDetails';
677
691
  import repeatSchedule from './io/flow/internal/v0/unions/repeatSchedule';
678
692
  import shopifyCheckoutBundle from './io/flow/internal/v0/unions/shopifyCheckoutBundle';
@@ -691,6 +705,7 @@ export default {
691
705
  billingStatementAttachmentKey,
692
706
  billingTransactionStatus,
693
707
  billingTransactionType,
708
+ calculationStyle,
694
709
  carrierLabelGenerationMethod,
695
710
  catalogImportType,
696
711
  checkoutPromptBehavior,
@@ -783,6 +798,7 @@ export default {
783
798
  adyenCancelUpserted,
784
799
  adyenCaptureDeleted,
785
800
  adyenCaptureUpserted,
801
+ adyenClassicPaymentRedirectForm,
786
802
  adyenInternalAuthorization,
787
803
  adyenInternalCancel,
788
804
  adyenInternalCapture,
@@ -794,6 +810,7 @@ export default {
794
810
  alertFailureSummary,
795
811
  alertFailureSummaryDetail,
796
812
  alertRequeueSummary,
813
+ allItemsExport,
797
814
  allocationItemReference,
798
815
  apmContent,
799
816
  applePaymentToken,
@@ -815,6 +832,7 @@ export default {
815
832
  billingAllocationBreakout,
816
833
  billingAuthorizationReference,
817
834
  billingInvoiceSummary,
835
+ billingOrderDestination,
818
836
  billingOrderSummary,
819
837
  billingOrganizationProcessingRates,
820
838
  billingOrganizationSettings,
@@ -858,7 +876,9 @@ export default {
858
876
  checkoutBehaviorShippingMethod,
859
877
  checkoutBundle,
860
878
  checkoutConfiguration,
879
+ checkoutConfigurationDeleted,
861
880
  checkoutConfigurationReference,
881
+ checkoutConfigurationUpserted,
862
882
  checkoutContent,
863
883
  checkoutFinalizeOrderForm,
864
884
  checkoutMarketingContent,
@@ -907,6 +927,7 @@ export default {
907
927
  discountRequestOfferFixedAmountForm,
908
928
  discountRequestOrderEntitlementForm,
909
929
  discountRequestOrderForm,
930
+ dutiedItemsExport,
910
931
  duties,
911
932
  dutyCompoundExpression,
912
933
  dutyRate,
@@ -1071,6 +1092,8 @@ export default {
1071
1092
  labelInvoiceUpserted,
1072
1093
  labelSummary,
1073
1094
  labeledContent,
1095
+ landedCostExport,
1096
+ landedCostItem,
1074
1097
  landmark,
1075
1098
  lineActionForm,
1076
1099
  lineActionQuantities,
@@ -1312,6 +1335,10 @@ export default {
1312
1335
  taskItemUpserted,
1313
1336
  taskProcessQueuedEvent,
1314
1337
  taskSummarizeCode,
1338
+ taxCalculation,
1339
+ taxCalculationForm,
1340
+ taxCalculationLineItem,
1341
+ taxCalculationLineItemForm,
1315
1342
  taxRemittanceTransaction,
1316
1343
  timeCondition,
1317
1344
  timeWithTimezone,
@@ -1362,6 +1389,7 @@ export default {
1362
1389
  paymentAccount,
1363
1390
  paymentAccountForm,
1364
1391
  paymentRedirect,
1392
+ paymentRedirectForm,
1365
1393
  paymentSummaryDetails,
1366
1394
  repeatSchedule,
1367
1395
  shopifyCheckoutBundle,
@@ -1,7 +0,0 @@
1
- import PropTypes from 'prop-types';
2
-
3
- export default PropTypes.shape({
4
- company_code: PropTypes.string.isRequired,
5
- base_currency: PropTypes.string.isRequired,
6
- api_key: PropTypes.string,
7
- });
@@ -1,4 +0,0 @@
1
- import PropTypes from 'prop-types';
2
- import avalaraTaxSetting from '../models/avalaraTaxSetting';
3
-
4
- export default PropTypes.oneOfType([avalaraTaxSetting]);