@flowio/api-internal-prop-types 1.2.27 → 1.2.29

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 (74) hide show
  1. package/.apibuilder/.tracked_files +20 -3
  2. package/.eslintcache +1 -0
  3. package/LICENSE +21 -0
  4. package/lib/index.d.ts +10 -0
  5. package/lib/io/flow/billing/v0/enums/billingStatementAttachmentKey.js +1 -1
  6. package/lib/io/flow/{harmonization/v0/models/avalaraTaxSetting.js → common/v0/models/priceSourceCatalog.js} +5 -3
  7. package/lib/io/flow/common/v0/models/priceSourcePriceBook.js +29 -0
  8. package/lib/io/flow/common/v0/models/priceSourcePriceBookReference.js +16 -0
  9. package/lib/io/flow/{harmonization/v0/unions/taxSetting.js → common/v0/models/priceSourceProvided.js} +5 -3
  10. package/lib/io/flow/common/v0/unions/priceSource.js +25 -0
  11. package/lib/io/flow/experience/internal/v0/models/itemQueryResponse.js +20 -0
  12. package/lib/io/flow/experience/v0/models/localizedLineItem.js +6 -1
  13. package/lib/io/flow/internal/v0/enums/billingStatementAttachmentKey.js +1 -1
  14. package/lib/io/flow/internal/v0/enums/calculationStyle.js +13 -0
  15. package/lib/io/flow/internal/v0/enums/checkoutPromptBehavior.js +1 -1
  16. package/lib/io/flow/internal/v0/enums/checkoutShippingMethodPromptBehavior.js +1 -1
  17. package/lib/io/flow/internal/v0/enums/eventType.js +1 -1
  18. package/lib/io/flow/internal/v0/models/adyenClassicPaymentRedirectForm.js +16 -0
  19. package/lib/io/flow/internal/v0/models/checkoutSubmitOrderBundle.js +1 -1
  20. package/lib/io/flow/internal/v0/models/itemQueryResponse.js +20 -0
  21. package/lib/io/flow/internal/v0/models/landedCostExport.js +23 -0
  22. package/lib/io/flow/internal/v0/models/landedCostItem.js +17 -0
  23. package/lib/io/flow/internal/v0/models/taxCalculation.js +25 -0
  24. package/lib/io/flow/internal/v0/models/taxCalculationForm.js +33 -0
  25. package/lib/io/flow/internal/v0/models/taxCalculationLineItem.js +20 -0
  26. package/lib/io/flow/internal/v0/models/taxCalculationLineItemForm.js +25 -0
  27. package/lib/io/flow/internal/v0/unions/event.js +5 -1
  28. package/lib/io/flow/internal/v0/unions/paymentRedirectForm.js +17 -0
  29. package/lib/io/flow/payment/v0/models/authorizationResult.js +1 -1
  30. package/lib/io/flow/payment/v0/models/authorizationResultActionPost.js +21 -0
  31. package/lib/io/flow/payment/v0/models/authorizationResultActionWait.js +19 -0
  32. package/lib/io/flow/payment/v0/unions/authorizationResultAction.js +25 -0
  33. package/lib/io/flow/shopify/v0/models/shopifyLine.js +6 -1
  34. package/lib/io/flow/shopify/v0/models/shopifyOrderDeliveryMetafield.js +6 -1
  35. package/lib/mocks.js +10 -0
  36. package/lib/validators.js +50 -0
  37. package/package.json +3 -2
  38. package/src/index.d.ts +10 -0
  39. package/src/io/flow/billing/v0/enums/billingStatementAttachmentKey.js +2 -0
  40. package/src/io/flow/common/v0/models/priceSourceCatalog.js +6 -0
  41. package/src/io/flow/common/v0/models/priceSourcePriceBook.js +10 -0
  42. package/src/io/flow/common/v0/models/priceSourcePriceBookReference.js +6 -0
  43. package/src/io/flow/common/v0/models/priceSourceProvided.js +6 -0
  44. package/src/io/flow/common/v0/unions/priceSource.js +10 -0
  45. package/src/io/flow/experience/internal/v0/models/itemQueryResponse.js +7 -0
  46. package/src/io/flow/experience/v0/models/localizedLineItem.js +2 -0
  47. package/src/io/flow/internal/v0/enums/billingStatementAttachmentKey.js +2 -0
  48. package/src/io/flow/internal/v0/enums/calculationStyle.js +3 -0
  49. package/src/io/flow/internal/v0/enums/checkoutPromptBehavior.js +1 -1
  50. package/src/io/flow/internal/v0/enums/checkoutShippingMethodPromptBehavior.js +1 -1
  51. package/src/io/flow/internal/v0/enums/eventType.js +1 -0
  52. package/src/io/flow/internal/v0/models/adyenClassicPaymentRedirectForm.js +6 -0
  53. package/src/io/flow/internal/v0/models/checkoutSubmitOrderBundle.js +1 -1
  54. package/src/io/flow/internal/v0/models/itemQueryResponse.js +7 -0
  55. package/src/io/flow/internal/v0/models/landedCostExport.js +10 -0
  56. package/src/io/flow/internal/v0/models/landedCostItem.js +7 -0
  57. package/src/io/flow/internal/v0/models/taxCalculation.js +12 -0
  58. package/src/io/flow/internal/v0/models/taxCalculationForm.js +14 -0
  59. package/src/io/flow/internal/v0/models/taxCalculationLineItem.js +10 -0
  60. package/src/io/flow/internal/v0/models/taxCalculationLineItemForm.js +12 -0
  61. package/src/io/flow/internal/v0/unions/event.js +2 -0
  62. package/src/io/flow/internal/v0/unions/paymentRedirectForm.js +4 -0
  63. package/src/io/flow/payment/v0/models/authorizationResult.js +1 -1
  64. package/src/io/flow/payment/v0/models/authorizationResultActionPost.js +8 -0
  65. package/src/io/flow/payment/v0/models/authorizationResultActionWait.js +6 -0
  66. package/src/io/flow/payment/v0/unions/authorizationResultAction.js +10 -0
  67. package/src/io/flow/shopify/v0/models/shopifyLine.js +2 -0
  68. package/src/io/flow/shopify/v0/models/shopifyOrderDeliveryMetafield.js +2 -0
  69. package/src/mocks.js +10 -0
  70. package/src/validators.js +20 -0
  71. package/src/io/flow/harmonization/v0/models/avalaraTaxSetting.js +0 -7
  72. package/src/io/flow/harmonization/v0/unions/taxSetting.js +0 -4
  73. /package/lib/io/flow/payment/v0/models/{authorizationResultAction.js → authorizationResultActionGet.js} +0 -0
  74. /package/src/io/flow/payment/v0/models/{authorizationResultAction.js → authorizationResultActionGet.js} +0 -0
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';
@@ -364,6 +366,7 @@ import itemFilterValueResponse from './io/flow/internal/v0/models/itemFilterValu
364
366
  import itemFilterValuesForm from './io/flow/internal/v0/models/itemFilterValuesForm';
365
367
  import itemHarmonization from './io/flow/internal/v0/models/itemHarmonization';
366
368
  import itemHarmonized from './io/flow/internal/v0/models/itemHarmonized';
369
+ import itemQueryResponse from './io/flow/internal/v0/models/itemQueryResponse';
367
370
  import itemRestriction from './io/flow/internal/v0/models/itemRestriction';
368
371
  import itemRestrictionPostForm from './io/flow/internal/v0/models/itemRestrictionPostForm';
369
372
  import itemRestrictionPutForm from './io/flow/internal/v0/models/itemRestrictionPutForm';
@@ -387,6 +390,8 @@ import labelInvoiceTotal from './io/flow/internal/v0/models/labelInvoiceTotal';
387
390
  import labelInvoiceUpserted from './io/flow/internal/v0/models/labelInvoiceUpserted';
388
391
  import labelSummary from './io/flow/internal/v0/models/labelSummary';
389
392
  import labeledContent from './io/flow/internal/v0/models/labeledContent';
393
+ import landedCostExport from './io/flow/internal/v0/models/landedCostExport';
394
+ import landedCostItem from './io/flow/internal/v0/models/landedCostItem';
390
395
  import landmark from './io/flow/internal/v0/models/landmark';
391
396
  import lineActionForm from './io/flow/internal/v0/models/lineActionForm';
392
397
  import lineActionQuantities from './io/flow/internal/v0/models/lineActionQuantities';
@@ -628,6 +633,10 @@ import taskImport from './io/flow/internal/v0/models/taskImport';
628
633
  import taskItemUpserted from './io/flow/internal/v0/models/taskItemUpserted';
629
634
  import taskProcessQueuedEvent from './io/flow/internal/v0/models/taskProcessQueuedEvent';
630
635
  import taskSummarizeCode from './io/flow/internal/v0/models/taskSummarizeCode';
636
+ import taxCalculation from './io/flow/internal/v0/models/taxCalculation';
637
+ import taxCalculationForm from './io/flow/internal/v0/models/taxCalculationForm';
638
+ import taxCalculationLineItem from './io/flow/internal/v0/models/taxCalculationLineItem';
639
+ import taxCalculationLineItemForm from './io/flow/internal/v0/models/taxCalculationLineItemForm';
631
640
  import taxRemittanceTransaction from './io/flow/internal/v0/models/taxRemittanceTransaction';
632
641
  import timeCondition from './io/flow/internal/v0/models/timeCondition';
633
642
  import timeWithTimezone from './io/flow/internal/v0/models/timeWithTimezone';
@@ -678,6 +687,7 @@ import orderActionForm from './io/flow/internal/v0/unions/orderActionForm';
678
687
  import paymentAccount from './io/flow/internal/v0/unions/paymentAccount';
679
688
  import paymentAccountForm from './io/flow/internal/v0/unions/paymentAccountForm';
680
689
  import paymentRedirect from './io/flow/internal/v0/unions/paymentRedirect';
690
+ import paymentRedirectForm from './io/flow/internal/v0/unions/paymentRedirectForm';
681
691
  import paymentSummaryDetails from './io/flow/internal/v0/unions/paymentSummaryDetails';
682
692
  import repeatSchedule from './io/flow/internal/v0/unions/repeatSchedule';
683
693
  import shopifyCheckoutBundle from './io/flow/internal/v0/unions/shopifyCheckoutBundle';
@@ -696,6 +706,7 @@ export default {
696
706
  billingStatementAttachmentKey,
697
707
  billingTransactionStatus,
698
708
  billingTransactionType,
709
+ calculationStyle,
699
710
  carrierLabelGenerationMethod,
700
711
  catalogImportType,
701
712
  checkoutPromptBehavior,
@@ -788,6 +799,7 @@ export default {
788
799
  adyenCancelUpserted,
789
800
  adyenCaptureDeleted,
790
801
  adyenCaptureUpserted,
802
+ adyenClassicPaymentRedirectForm,
791
803
  adyenInternalAuthorization,
792
804
  adyenInternalCancel,
793
805
  adyenInternalCapture,
@@ -1058,6 +1070,7 @@ export default {
1058
1070
  itemFilterValuesForm,
1059
1071
  itemHarmonization,
1060
1072
  itemHarmonized,
1073
+ itemQueryResponse,
1061
1074
  itemRestriction,
1062
1075
  itemRestrictionPostForm,
1063
1076
  itemRestrictionPutForm,
@@ -1081,6 +1094,8 @@ export default {
1081
1094
  labelInvoiceUpserted,
1082
1095
  labelSummary,
1083
1096
  labeledContent,
1097
+ landedCostExport,
1098
+ landedCostItem,
1084
1099
  landmark,
1085
1100
  lineActionForm,
1086
1101
  lineActionQuantities,
@@ -1322,6 +1337,10 @@ export default {
1322
1337
  taskItemUpserted,
1323
1338
  taskProcessQueuedEvent,
1324
1339
  taskSummarizeCode,
1340
+ taxCalculation,
1341
+ taxCalculationForm,
1342
+ taxCalculationLineItem,
1343
+ taxCalculationLineItemForm,
1325
1344
  taxRemittanceTransaction,
1326
1345
  timeCondition,
1327
1346
  timeWithTimezone,
@@ -1372,6 +1391,7 @@ export default {
1372
1391
  paymentAccount,
1373
1392
  paymentAccountForm,
1374
1393
  paymentRedirect,
1394
+ paymentRedirectForm,
1375
1395
  paymentSummaryDetails,
1376
1396
  repeatSchedule,
1377
1397
  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]);