@flowio/api-internal-prop-types 1.2.10 → 1.2.11

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 (173) hide show
  1. package/.eslintcache +1 -1
  2. package/lib/index.d.ts +36 -17
  3. package/lib/io/flow/{internal/v0/models/fraudEmailRule.js → ftp/v0/models/ftpAccount.js} +8 -4
  4. package/lib/io/flow/ftp/v0/models/ftpOrganizationSettings.js +7 -1
  5. package/lib/io/flow/ftp/v0/models/ftpOrganizationSettingsForm.js +2 -1
  6. package/lib/io/flow/{internal/v0/models/ftpOrganizationSettingsForm.js → ftp/v0/models/ftpServer.js} +1 -1
  7. package/lib/io/flow/{internal/v0/models/ftpOrganizationSettings.js → ftp/v0/models/ftpUser.js} +2 -1
  8. package/lib/io/flow/internal/v0/enums/billingAllocationKey.js +1 -1
  9. package/lib/io/flow/internal/v0/enums/catalogImportType.js +1 -1
  10. package/lib/io/flow/internal/v0/enums/eventType.js +1 -1
  11. package/lib/io/flow/internal/v0/enums/{fraudEmailRuleDecision.js → marketingGatewayPlatformMarketLocalizationError.js} +1 -1
  12. package/lib/io/flow/internal/v0/enums/marketingGatewaySyncStatus.js +1 -1
  13. package/lib/io/flow/internal/v0/enums/processor.js +1 -1
  14. package/lib/io/flow/internal/v0/models/adyenAuthorizationDeleted.js +21 -0
  15. package/lib/io/flow/internal/v0/models/adyenAuthorizationUpserted.js +21 -0
  16. package/lib/io/flow/internal/v0/models/{catalogItemFormOverlaysImport.js → adyenCancelDeleted.js} +5 -4
  17. package/lib/io/flow/internal/v0/models/adyenCancelUpserted.js +21 -0
  18. package/lib/io/flow/internal/v0/models/adyenCaptureDeleted.js +21 -0
  19. package/lib/io/flow/internal/v0/models/adyenCaptureUpserted.js +21 -0
  20. package/lib/io/flow/internal/v0/models/adyenInternalAuthorization.js +33 -0
  21. package/lib/io/flow/internal/v0/models/adyenInternalCancel.js +21 -0
  22. package/lib/io/flow/internal/v0/models/adyenInternalCapture.js +20 -0
  23. package/lib/io/flow/internal/v0/models/{ftpFolder.js → adyenInternalRefund.js} +5 -3
  24. package/lib/io/flow/internal/v0/models/adyenRefundDeleted.js +21 -0
  25. package/lib/io/flow/internal/v0/models/adyenRefundUpserted.js +21 -0
  26. package/lib/io/flow/internal/v0/models/billingOrganizationSettings.js +13 -1
  27. package/lib/io/flow/internal/v0/models/{catalogItemsImport.js → catalogImportRequest.js} +5 -0
  28. package/lib/io/flow/internal/v0/models/checkoutSubmitOrderBundle.js +6 -1
  29. package/lib/io/flow/internal/v0/models/ftpFileToProcessUploaded.js +2 -1
  30. package/lib/io/flow/internal/v0/models/marketingGatewayAccount.js +1 -7
  31. package/lib/io/flow/internal/v0/models/marketingGatewayAccountConnection.js +7 -1
  32. package/lib/io/flow/internal/v0/models/marketingGatewayAccountMarkets.js +29 -0
  33. package/lib/io/flow/internal/v0/models/marketingGatewayExistingMarket.js +4 -3
  34. package/lib/io/flow/internal/v0/models/{fraudEmailRuleForm.js → marketingGatewayGoogleCustomLabels.js} +5 -5
  35. package/lib/io/flow/internal/v0/models/marketingGatewayGoogleCustomProductShippingLocation.js +25 -0
  36. package/lib/io/flow/internal/v0/models/marketingGatewayGoogleProduct.js +76 -0
  37. package/lib/io/flow/internal/v0/models/marketingGatewayGoogleProductAttributes.js +30 -0
  38. package/lib/io/flow/internal/v0/models/marketingGatewayGoogleProductDestination.js +16 -0
  39. package/lib/io/flow/internal/v0/models/marketingGatewayGoogleProductInstallment.js +20 -0
  40. package/lib/io/flow/internal/v0/models/marketingGatewayGoogleProductPricingDetails.js +33 -0
  41. package/lib/io/flow/internal/v0/models/marketingGatewayGoogleProductShippingDetails.js +29 -0
  42. package/lib/io/flow/internal/v0/models/marketingGatewayGoogleProductShippingUnit.js +16 -0
  43. package/lib/io/flow/internal/v0/models/{ftpFolderForm.js → marketingGatewayGoogleProductSizeDetails.js} +3 -3
  44. package/lib/io/flow/internal/v0/models/marketingGatewayGoogleProductTax.js +20 -0
  45. package/lib/io/flow/internal/v0/models/marketingGatewayGoogleProductUnitPricingMeasure.js +16 -0
  46. package/lib/io/flow/internal/v0/models/{ftpFileForm.js → marketingGatewayImageLinks.js} +2 -3
  47. package/lib/io/flow/internal/v0/models/marketingGatewayPlatformMarketLocalization.js +39 -0
  48. package/lib/io/flow/internal/v0/models/orderPlaced.js +28 -0
  49. package/lib/io/flow/internal/v0/models/readyToFulfill.js +1 -1
  50. package/lib/io/flow/internal/v0/models/svbVirtualCardClearing.js +29 -0
  51. package/lib/io/flow/internal/v0/models/svbVirtualCardClearingDeleted.js +21 -0
  52. package/lib/io/flow/internal/v0/models/svbVirtualCardClearingUpserted.js +21 -0
  53. package/lib/io/flow/internal/v0/unions/event.js +51 -7
  54. package/lib/io/flow/internal/v0/unions/marketingGatewayProduct.js +17 -0
  55. package/lib/io/flow/{internal → order/management/event}/v0/models/fulfillmentItemAllocationDetails.js +1 -1
  56. package/lib/io/flow/order/management/event/v0/models/orderPlaced.js +28 -0
  57. package/lib/io/flow/order/management/event/v0/models/readyToFulfill.js +33 -0
  58. package/lib/io/flow/order/management/event/v0/unions/orderManagementEvent.js +21 -0
  59. package/lib/io/flow/payment/v0/models/card.js +5 -0
  60. package/lib/io/flow/payment/v0/models/cardAuthorization.js +0 -5
  61. package/lib/io/flow/payment/v0/models/cardReference.js +1 -1
  62. package/lib/io/flow/payment/v0/models/cardSummary.js +38 -0
  63. package/lib/io/flow/payment/v0/models/issuerSummary.js +17 -0
  64. package/lib/io/flow/payment/v0/models/virtualCardCapture.js +3 -3
  65. package/lib/io/flow/payment/v0/models/virtualCardRefund.js +3 -3
  66. package/lib/io/flow/payment/v0/unions/expandableCard.js +5 -1
  67. package/lib/io/flow/price/v0/models/priceBookForm.js +4 -5
  68. package/lib/io/flow/price/v0/models/priceBookItemForm.js +2 -6
  69. package/lib/io/flow/price/v0/models/priceBookItemQueryForm.js +23 -0
  70. package/lib/io/flow/price/v0/models/priceBookItemSchedule.js +1 -1
  71. package/lib/io/flow/shopify/v0/models/shopifyCartAddMultipleForm.js +2 -1
  72. package/lib/mocks.js +36 -17
  73. package/lib/validators.js +176 -81
  74. package/package.json +2 -3
  75. package/src/index.d.ts +36 -17
  76. package/src/io/flow/ftp/v0/models/ftpAccount.js +8 -0
  77. package/src/io/flow/ftp/v0/models/ftpOrganizationSettings.js +3 -0
  78. package/src/io/flow/ftp/v0/models/ftpOrganizationSettingsForm.js +1 -0
  79. package/src/io/flow/{internal/v0/models/ftpOrganizationSettingsForm.js → ftp/v0/models/ftpServer.js} +1 -1
  80. package/src/io/flow/{internal/v0/models/ftpOrganizationSettings.js → ftp/v0/models/ftpUser.js} +2 -1
  81. package/src/io/flow/internal/v0/enums/billingAllocationKey.js +2 -0
  82. package/src/io/flow/internal/v0/enums/catalogImportType.js +6 -1
  83. package/src/io/flow/internal/v0/enums/eventType.js +13 -2
  84. package/src/io/flow/internal/v0/enums/marketingGatewayPlatformMarketLocalizationError.js +8 -0
  85. package/src/io/flow/internal/v0/enums/marketingGatewaySyncStatus.js +1 -0
  86. package/src/io/flow/internal/v0/enums/processor.js +1 -0
  87. package/src/io/flow/internal/v0/models/adyenAuthorizationDeleted.js +8 -0
  88. package/src/io/flow/internal/v0/models/adyenAuthorizationUpserted.js +8 -0
  89. package/src/io/flow/internal/v0/models/adyenCancelDeleted.js +8 -0
  90. package/src/io/flow/internal/v0/models/adyenCancelUpserted.js +8 -0
  91. package/src/io/flow/internal/v0/models/adyenCaptureDeleted.js +8 -0
  92. package/src/io/flow/internal/v0/models/adyenCaptureUpserted.js +8 -0
  93. package/src/io/flow/internal/v0/models/adyenInternalAuthorization.js +23 -0
  94. package/src/io/flow/internal/v0/models/adyenInternalCancel.js +11 -0
  95. package/src/io/flow/internal/v0/models/adyenInternalCapture.js +10 -0
  96. package/src/io/flow/internal/v0/models/adyenInternalRefund.js +10 -0
  97. package/src/io/flow/internal/v0/models/adyenRefundDeleted.js +8 -0
  98. package/src/io/flow/internal/v0/models/adyenRefundUpserted.js +8 -0
  99. package/src/io/flow/internal/v0/models/billingOrganizationSettings.js +6 -0
  100. package/src/io/flow/internal/v0/models/{catalogItemFormOverlaysImport.js → catalogImportRequest.js} +2 -0
  101. package/src/io/flow/internal/v0/models/checkoutSubmitOrderBundle.js +2 -0
  102. package/src/io/flow/internal/v0/models/ftpFileToProcessUploaded.js +1 -0
  103. package/src/io/flow/internal/v0/models/marketingGatewayAccount.js +0 -4
  104. package/src/io/flow/internal/v0/models/marketingGatewayAccountConnection.js +3 -0
  105. package/src/io/flow/internal/v0/models/marketingGatewayAccountMarkets.js +12 -0
  106. package/src/io/flow/internal/v0/models/marketingGatewayExistingMarket.js +3 -3
  107. package/src/io/flow/internal/v0/models/marketingGatewayGoogleCustomLabels.js +9 -0
  108. package/src/io/flow/internal/v0/models/marketingGatewayGoogleCustomProductShippingLocation.js +12 -0
  109. package/src/io/flow/internal/v0/models/marketingGatewayGoogleProduct.js +36 -0
  110. package/src/io/flow/internal/v0/models/marketingGatewayGoogleProductAttributes.js +20 -0
  111. package/src/io/flow/internal/v0/models/marketingGatewayGoogleProductDestination.js +6 -0
  112. package/src/io/flow/internal/v0/models/marketingGatewayGoogleProductInstallment.js +7 -0
  113. package/src/io/flow/internal/v0/models/marketingGatewayGoogleProductPricingDetails.js +14 -0
  114. package/src/io/flow/internal/v0/models/marketingGatewayGoogleProductShippingDetails.js +15 -0
  115. package/src/io/flow/internal/v0/models/marketingGatewayGoogleProductShippingUnit.js +6 -0
  116. package/src/io/flow/internal/v0/models/marketingGatewayGoogleProductSizeDetails.js +7 -0
  117. package/src/io/flow/internal/v0/models/marketingGatewayGoogleProductTax.js +10 -0
  118. package/src/io/flow/internal/v0/models/marketingGatewayGoogleProductUnitPricingMeasure.js +6 -0
  119. package/src/io/flow/internal/v0/models/marketingGatewayImageLinks.js +6 -0
  120. package/src/io/flow/internal/v0/models/marketingGatewayPlatformMarketLocalization.js +15 -0
  121. package/src/io/flow/internal/v0/models/orderPlaced.js +12 -0
  122. package/src/io/flow/internal/v0/models/readyToFulfill.js +1 -1
  123. package/src/io/flow/internal/v0/models/svbVirtualCardClearing.js +19 -0
  124. package/src/io/flow/internal/v0/models/svbVirtualCardClearingDeleted.js +8 -0
  125. package/src/io/flow/internal/v0/models/svbVirtualCardClearingUpserted.js +8 -0
  126. package/src/io/flow/internal/v0/unions/event.js +26 -4
  127. package/src/io/flow/internal/v0/unions/marketingGatewayProduct.js +4 -0
  128. package/src/io/flow/{internal → order/management/event}/v0/models/fulfillmentItemAllocationDetails.js +1 -1
  129. package/src/io/flow/order/management/event/v0/models/orderPlaced.js +12 -0
  130. package/src/io/flow/order/management/event/v0/models/readyToFulfill.js +16 -0
  131. package/src/io/flow/order/management/event/v0/unions/orderManagementEvent.js +5 -0
  132. package/src/io/flow/payment/v0/models/card.js +2 -0
  133. package/src/io/flow/payment/v0/models/cardAuthorization.js +0 -2
  134. package/src/io/flow/payment/v0/models/cardReference.js +1 -1
  135. package/src/io/flow/payment/v0/models/cardSummary.js +16 -0
  136. package/src/io/flow/{internal/v0/models/ftpFileForm.js → payment/v0/models/issuerSummary.js} +2 -2
  137. package/src/io/flow/payment/v0/models/virtualCardCapture.js +2 -2
  138. package/src/io/flow/payment/v0/models/virtualCardRefund.js +2 -2
  139. package/src/io/flow/payment/v0/unions/expandableCard.js +2 -1
  140. package/src/io/flow/price/v0/models/priceBookForm.js +3 -4
  141. package/src/io/flow/price/v0/models/priceBookItemForm.js +2 -3
  142. package/src/io/flow/price/v0/models/priceBookItemQueryForm.js +10 -0
  143. package/src/io/flow/price/v0/models/priceBookItemSchedule.js +1 -1
  144. package/src/io/flow/shopify/v0/models/shopifyCartAddMultipleForm.js +1 -0
  145. package/src/mocks.js +36 -17
  146. package/src/validators.js +72 -34
  147. package/LICENSE +0 -21
  148. package/lib/io/flow/internal/v0/enums/ftpFileSource.js +0 -13
  149. package/lib/io/flow/internal/v0/models/ftpFile.js +0 -24
  150. package/lib/io/flow/internal/v0/models/marketingGatewayPlatformMarketLocalizations.js +0 -24
  151. package/lib/io/flow/internal/v0/models/marketingGatewayProduct.js +0 -35
  152. package/src/io/flow/internal/v0/enums/fraudEmailRuleDecision.js +0 -3
  153. package/src/io/flow/internal/v0/enums/ftpFileSource.js +0 -3
  154. package/src/io/flow/internal/v0/models/catalogItemsImport.js +0 -10
  155. package/src/io/flow/internal/v0/models/fraudEmailRule.js +0 -7
  156. package/src/io/flow/internal/v0/models/fraudEmailRuleForm.js +0 -6
  157. package/src/io/flow/internal/v0/models/ftpFile.js +0 -11
  158. package/src/io/flow/internal/v0/models/ftpFolder.js +0 -8
  159. package/src/io/flow/internal/v0/models/ftpFolderForm.js +0 -7
  160. package/src/io/flow/internal/v0/models/marketingGatewayPlatformMarketLocalizations.js +0 -8
  161. package/src/io/flow/internal/v0/models/marketingGatewayProduct.js +0 -16
  162. /package/lib/io/flow/fraud/{internal/v0 → v0}/enums/fraudEmailRuleDecision.js +0 -0
  163. /package/lib/io/flow/fraud/{internal/v0 → v0}/models/fraudEmailRule.js +0 -0
  164. /package/lib/io/flow/fraud/{internal/v0 → v0}/models/fraudEmailRuleForm.js +0 -0
  165. /package/lib/io/flow/internal/v0/models/{marketingGatewayProductPrice.js → marketingGatewayGooglePrice.js} +0 -0
  166. /package/lib/io/flow/internal/v0/models/{marketingGatewayProductWarning.js → marketingGatewayGoogleProductWarning.js} +0 -0
  167. /package/lib/io/flow/payment/v0/models/{issuer.js → issuerV1.js} +0 -0
  168. /package/src/io/flow/fraud/{internal/v0 → v0}/enums/fraudEmailRuleDecision.js +0 -0
  169. /package/src/io/flow/fraud/{internal/v0 → v0}/models/fraudEmailRule.js +0 -0
  170. /package/src/io/flow/fraud/{internal/v0 → v0}/models/fraudEmailRuleForm.js +0 -0
  171. /package/src/io/flow/internal/v0/models/{marketingGatewayProductPrice.js → marketingGatewayGooglePrice.js} +0 -0
  172. /package/src/io/flow/internal/v0/models/{marketingGatewayProductWarning.js → marketingGatewayGoogleProductWarning.js} +0 -0
  173. /package/src/io/flow/payment/v0/models/{issuer.js → issuerV1.js} +0 -0
@@ -1,9 +1,16 @@
1
1
  import PropTypes from 'prop-types';
2
+ import adyenAuthorizationDeleted from '../models/adyenAuthorizationDeleted';
3
+ import adyenAuthorizationUpserted from '../models/adyenAuthorizationUpserted';
4
+ import adyenCancelDeleted from '../models/adyenCancelDeleted';
5
+ import adyenCancelUpserted from '../models/adyenCancelUpserted';
6
+ import adyenCaptureDeleted from '../models/adyenCaptureDeleted';
7
+ import adyenCaptureUpserted from '../models/adyenCaptureUpserted';
8
+ import adyenRefundDeleted from '../models/adyenRefundDeleted';
9
+ import adyenRefundUpserted from '../models/adyenRefundUpserted';
2
10
  import accountTransactionsExportRequest from '../models/accountTransactionsExportRequest';
3
11
  import accountOrdersExportRequest from '../models/accountOrdersExportRequest';
4
12
  import carrierAccountUpserted from '../models/carrierAccountUpserted';
5
- import catalogItemsImport from '../models/catalogItemsImport';
6
- import catalogItemFormOverlaysImport from '../models/catalogItemFormOverlaysImport';
13
+ import catalogImportRequest from '../models/catalogImportRequest';
7
14
  import catalogItemRegionAvailabilitiesPublished from '../models/catalogItemRegionAvailabilitiesPublished';
8
15
  import localizedContentUpserted from '../models/localizedContentUpserted';
9
16
  import localizationUpserted from '../models/localizationUpserted';
@@ -47,6 +54,7 @@ import harmonizedItemsHs6Export from '../models/harmonizedItemsHs6Export';
47
54
  import unharmonizedItemsExport from '../models/unharmonizedItemsExport';
48
55
  import harmonizationPhraseSuggestionRequestImport from '../models/harmonizationPhraseSuggestionRequestImport';
49
56
  import harmonizationCodesImport from '../models/harmonizationCodesImport';
57
+ import customsDescriptionSugestionCreated from '../models/customsDescriptionSugestionCreated';
50
58
  import harmonizeFullyWithRate from '../models/harmonizeFullyWithRate';
51
59
  import itemHarmonized from '../models/itemHarmonized';
52
60
  import harmonizeFullyRequest from '../models/harmonizeFullyRequest';
@@ -75,6 +83,7 @@ import optinPromptUpserted from '../models/optinPromptUpserted';
75
83
  import optinPromptDeleted from '../models/optinPromptDeleted';
76
84
  import orderFulfillmentDeleted from '../models/orderFulfillmentDeleted';
77
85
  import orderFulfillmentUpserted from '../models/orderFulfillmentUpserted';
86
+ import orderPlaced from '../models/orderPlaced';
78
87
  import readyToFulfill from '../models/readyToFulfill';
79
88
  import fulfillmentCancel from '../models/fulfillmentCancel';
80
89
  import orderShipped from '../models/orderShipped';
@@ -88,17 +97,26 @@ import shopifyShopUpserted from '../models/shopifyShopUpserted';
88
97
  import shopifyShopDeleted from '../models/shopifyShopDeleted';
89
98
  import shopifyExperienceShortIdUpserted from '../models/shopifyExperienceShortIdUpserted';
90
99
  import shopifyExperienceShortIdDeleted from '../models/shopifyExperienceShortIdDeleted';
100
+ import svbVirtualCardClearingUpserted from '../models/svbVirtualCardClearingUpserted';
101
+ import svbVirtualCardClearingDeleted from '../models/svbVirtualCardClearingDeleted';
91
102
  import trackingRequestUpserted from '../models/trackingRequestUpserted';
92
103
  import trackingResponseUpserted from '../models/trackingResponseUpserted';
93
104
  import userUpserted from '../models/userUpserted';
94
105
  import userDeleted from '../models/userDeleted';
95
106
 
96
107
  export default PropTypes.oneOfType([
108
+ adyenAuthorizationDeleted,
109
+ adyenAuthorizationUpserted,
110
+ adyenCancelDeleted,
111
+ adyenCancelUpserted,
112
+ adyenCaptureDeleted,
113
+ adyenCaptureUpserted,
114
+ adyenRefundDeleted,
115
+ adyenRefundUpserted,
97
116
  accountTransactionsExportRequest,
98
117
  accountOrdersExportRequest,
99
118
  carrierAccountUpserted,
100
- catalogItemsImport,
101
- catalogItemFormOverlaysImport,
119
+ catalogImportRequest,
102
120
  catalogItemRegionAvailabilitiesPublished,
103
121
  localizedContentUpserted,
104
122
  localizationUpserted,
@@ -142,6 +160,7 @@ export default PropTypes.oneOfType([
142
160
  unharmonizedItemsExport,
143
161
  harmonizationPhraseSuggestionRequestImport,
144
162
  harmonizationCodesImport,
163
+ customsDescriptionSugestionCreated,
145
164
  harmonizeFullyWithRate,
146
165
  itemHarmonized,
147
166
  harmonizeFullyRequest,
@@ -170,6 +189,7 @@ export default PropTypes.oneOfType([
170
189
  optinPromptDeleted,
171
190
  orderFulfillmentDeleted,
172
191
  orderFulfillmentUpserted,
192
+ orderPlaced,
173
193
  readyToFulfill,
174
194
  fulfillmentCancel,
175
195
  orderShipped,
@@ -183,6 +203,8 @@ export default PropTypes.oneOfType([
183
203
  shopifyShopDeleted,
184
204
  shopifyExperienceShortIdUpserted,
185
205
  shopifyExperienceShortIdDeleted,
206
+ svbVirtualCardClearingUpserted,
207
+ svbVirtualCardClearingDeleted,
186
208
  trackingRequestUpserted,
187
209
  trackingResponseUpserted,
188
210
  userUpserted,
@@ -0,0 +1,4 @@
1
+ import PropTypes from 'prop-types';
2
+ import marketingGatewayGoogleProduct from '../models/marketingGatewayGoogleProduct';
3
+
4
+ export default PropTypes.oneOfType([marketingGatewayGoogleProduct]);
@@ -1,5 +1,5 @@
1
1
  import PropTypes from 'prop-types';
2
- import priceWithBase from '../../../common/v0/models/priceWithBase';
2
+ import priceWithBase from '../../../../../common/v0/models/priceWithBase';
3
3
 
4
4
  export default PropTypes.shape({
5
5
  item_number: PropTypes.string.isRequired,
@@ -0,0 +1,12 @@
1
+ import PropTypes from 'prop-types';
2
+ import order from '../../../../../experience/v0/models/order';
3
+ import allocationV2 from '../../../../../experience/v0/models/allocationV2';
4
+
5
+ export default PropTypes.shape({
6
+ event_id: PropTypes.string.isRequired,
7
+ timestamp: PropTypes.string.isRequired,
8
+ organization: PropTypes.string.isRequired,
9
+ order_number: PropTypes.string.isRequired,
10
+ order: order.isRequired,
11
+ allocation: allocationV2.isRequired,
12
+ });
@@ -0,0 +1,16 @@
1
+ import PropTypes from 'prop-types';
2
+ import order from '../../../../../experience/v0/models/order';
3
+ import fulfillment from '../../../v0/models/fulfillment';
4
+ import fulfillmentItemAllocationDetails from './fulfillmentItemAllocationDetails';
5
+
6
+ export default PropTypes.shape({
7
+ event_id: PropTypes.string.isRequired,
8
+ timestamp: PropTypes.string.isRequired,
9
+ organization: PropTypes.string.isRequired,
10
+ order_number: PropTypes.string.isRequired,
11
+ order: order.isRequired,
12
+ fulfillments: PropTypes.arrayOf(fulfillment),
13
+ fulfillment_item_allocation_details: PropTypes.arrayOf(
14
+ fulfillmentItemAllocationDetails
15
+ ),
16
+ });
@@ -0,0 +1,5 @@
1
+ import PropTypes from 'prop-types';
2
+ import orderPlaced from '../models/orderPlaced';
3
+ import readyToFulfill from '../models/readyToFulfill';
4
+
5
+ export default PropTypes.oneOfType([orderPlaced, readyToFulfill]);
@@ -1,6 +1,7 @@
1
1
  import PropTypes from 'prop-types';
2
2
  import cardType from '../enums/cardType';
3
3
  import expiration from './expiration';
4
+ import issuerSummary from './issuerSummary';
4
5
  import billingAddress from '../../../common/v0/models/billingAddress';
5
6
 
6
7
  export default PropTypes.shape({
@@ -9,6 +10,7 @@ export default PropTypes.shape({
9
10
  type: cardType.isRequired,
10
11
  expiration: expiration.isRequired,
11
12
  iin: PropTypes.string.isRequired,
13
+ issuer: issuerSummary,
12
14
  last4: PropTypes.string.isRequired,
13
15
  name: PropTypes.string.isRequired,
14
16
  address: billingAddress,
@@ -2,7 +2,6 @@ import PropTypes from 'prop-types';
2
2
  import merchantOfRecord from '../../../common/v0/enums/merchantOfRecord';
3
3
  import paymentMethod from '../../../reference/v0/models/paymentMethod';
4
4
  import expandableCard from '../unions/expandableCard';
5
- import issuer from './issuer';
6
5
  import money from '../../../common/v0/models/money';
7
6
  import customer from '../../../common/v0/models/customer';
8
7
  import address from '../../../common/v0/models/address';
@@ -16,7 +15,6 @@ export default PropTypes.shape({
16
15
  merchant_of_record: merchantOfRecord,
17
16
  method: paymentMethod,
18
17
  card: expandableCard.isRequired,
19
- issuer: issuer.isRequired,
20
18
  amount: PropTypes.number.isRequired,
21
19
  currency: PropTypes.string.isRequired,
22
20
  requested: money,
@@ -2,5 +2,5 @@ import PropTypes from 'prop-types';
2
2
 
3
3
  export default PropTypes.shape({
4
4
  id: PropTypes.string.isRequired,
5
- token: PropTypes.string,
5
+ token: PropTypes.string.isRequired,
6
6
  });
@@ -0,0 +1,16 @@
1
+ import PropTypes from 'prop-types';
2
+ import cardType from '../enums/cardType';
3
+ import expiration from './expiration';
4
+ import issuerSummary from './issuerSummary';
5
+ import billingAddress from '../../../common/v0/models/billingAddress';
6
+
7
+ export default PropTypes.shape({
8
+ id: PropTypes.string.isRequired,
9
+ type: cardType.isRequired,
10
+ expiration: expiration.isRequired,
11
+ iin: PropTypes.string.isRequired,
12
+ issuer: issuerSummary,
13
+ last4: PropTypes.string.isRequired,
14
+ name: PropTypes.string.isRequired,
15
+ address: billingAddress,
16
+ });
@@ -1,7 +1,7 @@
1
1
  import PropTypes from 'prop-types';
2
2
 
3
3
  export default PropTypes.shape({
4
- url: PropTypes.string.isRequired,
5
- directory: PropTypes.string.isRequired,
4
+ iin: PropTypes.string.isRequired,
6
5
  name: PropTypes.string,
6
+ country: PropTypes.string,
7
7
  });
@@ -1,11 +1,11 @@
1
1
  import PropTypes from 'prop-types';
2
- import issuer from './issuer';
2
+ import issuerV1 from './issuerV1';
3
3
  import virtualCardReference from './virtualCardReference';
4
4
  import authorizationReference from './authorizationReference';
5
5
 
6
6
  export default PropTypes.shape({
7
7
  id: PropTypes.string.isRequired,
8
- issuer: issuer.isRequired,
8
+ issuer: issuerV1.isRequired,
9
9
  virtual_card: virtualCardReference.isRequired,
10
10
  authorization: authorizationReference.isRequired,
11
11
  amount: PropTypes.number.isRequired,
@@ -1,11 +1,11 @@
1
1
  import PropTypes from 'prop-types';
2
- import issuer from './issuer';
2
+ import issuerV1 from './issuerV1';
3
3
  import virtualCardReference from './virtualCardReference';
4
4
  import authorizationReference from './authorizationReference';
5
5
 
6
6
  export default PropTypes.shape({
7
7
  id: PropTypes.string.isRequired,
8
- issuer: issuer.isRequired,
8
+ issuer: issuerV1.isRequired,
9
9
  virtual_card: virtualCardReference.isRequired,
10
10
  authorization: authorizationReference.isRequired,
11
11
  amount: PropTypes.number.isRequired,
@@ -1,5 +1,6 @@
1
1
  import PropTypes from 'prop-types';
2
2
  import card from '../models/card';
3
3
  import cardReference from '../models/cardReference';
4
+ import cardSummary from '../models/cardSummary';
4
5
 
5
- export default PropTypes.oneOfType([card, cardReference]);
6
+ export default PropTypes.oneOfType([card, cardReference, cardSummary]);
@@ -1,11 +1,10 @@
1
1
  import PropTypes from 'prop-types';
2
- import includedLevies from '../../../common/v0/models/includedLevies';
2
+ import includedLevyKey from '../../../common/v0/enums/includedLevyKey';
3
3
  import priceBookStatus from '../../../common/v0/enums/priceBookStatus';
4
4
 
5
5
  export default PropTypes.shape({
6
6
  currency: PropTypes.string.isRequired,
7
7
  name: PropTypes.string.isRequired,
8
- key: PropTypes.string,
9
- includes: includedLevies.isRequired,
10
- status: priceBookStatus.isRequired,
8
+ includes: includedLevyKey.isRequired,
9
+ status: priceBookStatus,
11
10
  });
@@ -1,11 +1,10 @@
1
1
  import PropTypes from 'prop-types';
2
- import money from '../../../common/v0/models/money';
3
2
  import priceBookItemSchedule from './priceBookItemSchedule';
4
3
 
5
4
  export default PropTypes.shape({
6
5
  price_book_key: PropTypes.string.isRequired,
7
- price: money.isRequired,
8
6
  item_number: PropTypes.string.isRequired,
9
- schedule: priceBookItemSchedule.isRequired,
7
+ amount: PropTypes.number.isRequired,
8
+ schedule: priceBookItemSchedule,
10
9
  item_attributes: PropTypes.objectOf(PropTypes.string),
11
10
  });
@@ -0,0 +1,10 @@
1
+ import PropTypes from 'prop-types';
2
+ import priceBookItemSchedule from './priceBookItemSchedule';
3
+
4
+ export default PropTypes.shape({
5
+ price_book_key: PropTypes.string.isRequired,
6
+ item_query: PropTypes.string.isRequired,
7
+ amount: PropTypes.number.isRequired,
8
+ schedule: priceBookItemSchedule,
9
+ item_attributes: PropTypes.objectOf(PropTypes.string),
10
+ });
@@ -1,6 +1,6 @@
1
1
  import PropTypes from 'prop-types';
2
2
 
3
3
  export default PropTypes.shape({
4
- starts_at: PropTypes.string,
4
+ starts_at: PropTypes.string.isRequired,
5
5
  ends_at: PropTypes.string,
6
6
  });
@@ -3,4 +3,5 @@ import shopifyCartAddSingleForm from './shopifyCartAddSingleForm';
3
3
 
4
4
  export default PropTypes.shape({
5
5
  items: PropTypes.arrayOf(shopifyCartAddSingleForm).isRequired,
6
+ attributes: PropTypes.objectOf(PropTypes.string),
6
7
  });
package/src/mocks.js CHANGED
@@ -34,8 +34,6 @@ export default {
34
34
  featureType: noopThunk,
35
35
  flowApp: noopThunk,
36
36
  format: noopThunk,
37
- fraudEmailRuleDecision: noopThunk,
38
- ftpFileSource: noopThunk,
39
37
  ftpIntent: noopThunk,
40
38
  ftpProtocol: noopThunk,
41
39
  httpMethod: noopThunk,
@@ -46,6 +44,7 @@ export default {
46
44
  labelBillingStrategy: noopThunk,
47
45
  labelInvoiceDetailKey: noopThunk,
48
46
  marketingGatewayPlatform: noopThunk,
47
+ marketingGatewayPlatformMarketLocalizationError: noopThunk,
49
48
  marketingGatewaySyncStatus: noopThunk,
50
49
  orderAction: noopThunk,
51
50
  orderAttributeIntent: noopThunk,
@@ -86,7 +85,19 @@ export default {
86
85
  accountStatistics: noopThunk,
87
86
  accountTransactionsExportRequest: noopThunk,
88
87
  actionQuantity: noopThunk,
88
+ adyenAuthorizationDeleted: noopThunk,
89
+ adyenAuthorizationUpserted: noopThunk,
90
+ adyenCancelDeleted: noopThunk,
91
+ adyenCancelUpserted: noopThunk,
92
+ adyenCaptureDeleted: noopThunk,
93
+ adyenCaptureUpserted: noopThunk,
94
+ adyenInternalAuthorization: noopThunk,
95
+ adyenInternalCancel: noopThunk,
96
+ adyenInternalCapture: noopThunk,
97
+ adyenInternalRefund: noopThunk,
98
+ adyenRefundDeleted: noopThunk,
89
99
  adyenRefundForm: noopThunk,
100
+ adyenRefundUpserted: noopThunk,
90
101
  allocationItemReference: noopThunk,
91
102
  apmContent: noopThunk,
92
103
  applePaymentToken: noopThunk,
@@ -132,13 +143,12 @@ export default {
132
143
  carrierAccount: noopThunk,
133
144
  carrierAccountUpserted: noopThunk,
134
145
  carrierInvoice: noopThunk,
146
+ catalogImportRequest: noopThunk,
135
147
  catalogItemDeleteIndexTask: noopThunk,
136
- catalogItemFormOverlaysImport: noopThunk,
137
148
  catalogItemIndexTask: noopThunk,
138
149
  catalogItemRegionAvailabilities: noopThunk,
139
150
  catalogItemRegionAvailabilitiesData: noopThunk,
140
151
  catalogItemRegionAvailabilitiesPublished: noopThunk,
141
- catalogItemsImport: noopThunk,
142
152
  centerQueryBuilder: noopThunk,
143
153
  changeSettingsIndexTask: noopThunk,
144
154
  checkbox: noopThunk,
@@ -244,8 +254,6 @@ export default {
244
254
  flowLabelSettingForm: noopThunk,
245
255
  fractionInstallmentStep: noopThunk,
246
256
  fractionInstallmentStepForm: noopThunk,
247
- fraudEmailRule: noopThunk,
248
- fraudEmailRuleForm: noopThunk,
249
257
  fraudPendingReview: noopThunk,
250
258
  fraudPendingReviewDeleted: noopThunk,
251
259
  fraudPendingReviewUpserted: noopThunk,
@@ -258,15 +266,9 @@ export default {
258
266
  fraudReviewUpserted: noopThunk,
259
267
  fraudReviewVersion: noopThunk,
260
268
  fraudSummary: noopThunk,
261
- ftpFile: noopThunk,
262
269
  ftpFileDeleted: noopThunk,
263
- ftpFileForm: noopThunk,
264
270
  ftpFileToProcessUploaded: noopThunk,
265
271
  ftpFileUpserted: noopThunk,
266
- ftpFolder: noopThunk,
267
- ftpFolderForm: noopThunk,
268
- ftpOrganizationSettings: noopThunk,
269
- ftpOrganizationSettingsForm: noopThunk,
270
272
  ftpSetting: noopThunk,
271
273
  ftpSettingForm: noopThunk,
272
274
  ftpSettingVersion: noopThunk,
@@ -275,7 +277,6 @@ export default {
275
277
  fuelSurchargeServiceFee: noopThunk,
276
278
  fulfillmentActionForm: noopThunk,
277
279
  fulfillmentCancel: noopThunk,
278
- fulfillmentItemAllocationDetails: noopThunk,
279
280
  fulfillmentShipmentTracking: noopThunk,
280
281
  giftCard: noopThunk,
281
282
  giftCardAuthorizationError: noopThunk,
@@ -394,16 +395,29 @@ export default {
394
395
  marketingGatewayAccount: noopThunk,
395
396
  marketingGatewayAccountConnection: noopThunk,
396
397
  marketingGatewayAccountConnectionForm: noopThunk,
398
+ marketingGatewayAccountMarkets: noopThunk,
397
399
  marketingGatewayConfiguredMarket: noopThunk,
398
400
  marketingGatewayConfiguredMarketForm: noopThunk,
399
401
  marketingGatewayExistingMarket: noopThunk,
402
+ marketingGatewayGoogleCustomLabels: noopThunk,
403
+ marketingGatewayGoogleCustomProductShippingLocation: noopThunk,
400
404
  marketingGatewayGoogleMarket: noopThunk,
405
+ marketingGatewayGooglePrice: noopThunk,
406
+ marketingGatewayGoogleProduct: noopThunk,
407
+ marketingGatewayGoogleProductAttributes: noopThunk,
408
+ marketingGatewayGoogleProductDestination: noopThunk,
409
+ marketingGatewayGoogleProductInstallment: noopThunk,
410
+ marketingGatewayGoogleProductPricingDetails: noopThunk,
411
+ marketingGatewayGoogleProductShippingDetails: noopThunk,
412
+ marketingGatewayGoogleProductShippingUnit: noopThunk,
413
+ marketingGatewayGoogleProductSizeDetails: noopThunk,
414
+ marketingGatewayGoogleProductTax: noopThunk,
415
+ marketingGatewayGoogleProductUnitPricingMeasure: noopThunk,
416
+ marketingGatewayGoogleProductWarning: noopThunk,
417
+ marketingGatewayImageLinks: noopThunk,
401
418
  marketingGatewayLocalizationFlowCountry: noopThunk,
402
419
  marketingGatewayLocalizationFlowExperience: noopThunk,
403
- marketingGatewayPlatformMarketLocalizations: noopThunk,
404
- marketingGatewayProduct: noopThunk,
405
- marketingGatewayProductPrice: noopThunk,
406
- marketingGatewayProductWarning: noopThunk,
420
+ marketingGatewayPlatformMarketLocalization: noopThunk,
407
421
  nextBillingStatement: noopThunk,
408
422
  nextInstallment: noopThunk,
409
423
  nextInstallmentDeleted: noopThunk,
@@ -428,6 +442,7 @@ export default {
428
442
  orderFulfillmentDeleted: noopThunk,
429
443
  orderFulfillmentUpserted: noopThunk,
430
444
  orderPaymentAuthorization: noopThunk,
445
+ orderPlaced: noopThunk,
431
446
  orderRatesDataV3: noopThunk,
432
447
  orderRatesPublishedV3: noopThunk,
433
448
  orderRevenueRegionChart: noopThunk,
@@ -574,6 +589,9 @@ export default {
574
589
  submittedOrderUpserted: noopThunk,
575
590
  subscription: noopThunk,
576
591
  subscriptionTransaction: noopThunk,
592
+ svbVirtualCardClearing: noopThunk,
593
+ svbVirtualCardClearingDeleted: noopThunk,
594
+ svbVirtualCardClearingUpserted: noopThunk,
577
595
  tariffCodeDuty: noopThunk,
578
596
  taskCount: noopThunk,
579
597
  taskImport: noopThunk,
@@ -626,6 +644,7 @@ export default {
626
644
  localizableContent: noopThunk,
627
645
  marketingGatewayLocalization: noopThunk,
628
646
  marketingGatewayPlatformMarket: noopThunk,
647
+ marketingGatewayProduct: noopThunk,
629
648
  orderActionForm: noopThunk,
630
649
  paymentRedirect: noopThunk,
631
650
  paymentSummaryDetails: noopThunk,