@flowio/api-internal-prop-types 1.2.14 → 1.2.16

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 (94) hide show
  1. package/.apibuilder/.tracked_files +19 -5
  2. package/lib/index.d.ts +12 -4
  3. package/lib/io/flow/experience/v0/enums/orderErrorCode.js +1 -1
  4. package/lib/io/flow/internal/v0/enums/eventType.js +1 -1
  5. package/lib/io/flow/internal/v0/models/billingOrganizationSettings.js +2 -1
  6. package/lib/io/flow/internal/v0/models/checkoutFinalizeOrderForm.js +24 -0
  7. package/lib/io/flow/internal/v0/models/localizationSummary.js +16 -0
  8. package/lib/io/flow/internal/v0/models/marketingGatewayAccount.js +1 -7
  9. package/lib/io/flow/internal/v0/models/marketingGatewayAccountMarketLocalization.js +3 -3
  10. package/lib/io/flow/internal/v0/models/marketingGatewayConfiguredMarket.js +6 -3
  11. package/lib/io/flow/internal/v0/models/marketingGatewayConfiguredMarketForm.js +3 -5
  12. package/lib/io/flow/internal/v0/models/marketingGatewayExistingMarket.js +5 -1
  13. package/lib/io/flow/internal/v0/models/marketingGatewayGooglePrice.js +2 -1
  14. package/lib/io/flow/internal/v0/models/marketingGatewayGoogleProduct.js +6 -1
  15. package/lib/io/flow/internal/v0/models/marketingGatewayGoogleProductResult.js +16 -0
  16. package/lib/io/flow/internal/v0/models/paypalAuthorizationPayload.js +16 -0
  17. package/lib/io/flow/internal/v0/models/productResult.js +25 -0
  18. package/lib/io/flow/internal/v0/models/ratecardLane.js +1 -6
  19. package/lib/io/flow/internal/v0/models/ratecardLaneDeleted.js +18 -0
  20. package/lib/io/flow/internal/v0/models/ratecardLaneForm.js +1 -6
  21. package/lib/io/flow/internal/v0/models/ratecardLaneUpserted.js +22 -0
  22. package/lib/io/flow/internal/v0/models/{marketingGatewayLocalizationFlowCountry.js → stripeAccount.js} +1 -1
  23. package/lib/io/flow/internal/v0/models/stripeAccountForm.js +28 -0
  24. package/lib/io/flow/internal/v0/unions/authorizationPayload.js +5 -1
  25. package/lib/io/flow/internal/v0/unions/event.js +9 -1
  26. package/lib/io/flow/internal/v0/unions/paymentAccount.js +17 -0
  27. package/lib/io/flow/internal/v0/unions/paymentAccountForm.js +17 -0
  28. package/lib/io/flow/payment/v0/unions/authorizationForm.js +1 -5
  29. package/lib/io/flow/shopify/external/v0/enums/restockType.js +13 -0
  30. package/lib/io/flow/shopify/external/v0/models/shopifyFulfillment.js +1 -0
  31. package/lib/io/flow/shopify/external/v0/models/shopifyLocation.js +29 -0
  32. package/lib/io/flow/{internal/v0/models/marketingGatewayLocalizationFlowExperience.js → shopify/external/v0/models/shopifyLocationsResponseWrapper.js} +3 -3
  33. package/lib/io/flow/shopify/external/v0/models/shopifyRefundForm.js +8 -8
  34. package/lib/io/flow/shopify/external/v0/models/shopifyRefundLineItem.js +6 -0
  35. package/lib/io/flow/shopify/external/v0/models/shopifyRefundLineItemForm.js +7 -1
  36. package/lib/io/flow/shopify/v0/models/shopifySyncStatus.js +0 -1
  37. package/lib/io/flow/stripe/v0/models/account.js +52 -0
  38. package/lib/io/flow/stripe/v0/models/accountRequest.js +32 -0
  39. package/lib/io/flow/stripe/v0/models/keys.js +16 -0
  40. package/lib/io/flow/stripe/v0/models/legalEntity.js +19 -0
  41. package/lib/io/flow/stripe/v0/models/tosAcceptance.js +17 -0
  42. package/lib/mocks.js +11 -3
  43. package/lib/validators.js +55 -15
  44. package/package.json +2 -2
  45. package/src/index.d.ts +12 -4
  46. package/src/io/flow/experience/v0/enums/orderErrorCode.js +3 -0
  47. package/src/io/flow/internal/v0/enums/eventType.js +2 -0
  48. package/src/io/flow/internal/v0/models/billingOrganizationSettings.js +1 -0
  49. package/src/io/flow/internal/v0/models/checkoutFinalizeOrderForm.js +8 -0
  50. package/src/io/flow/internal/v0/models/localizationSummary.js +6 -0
  51. package/src/io/flow/internal/v0/models/marketingGatewayAccount.js +0 -3
  52. package/src/io/flow/internal/v0/models/marketingGatewayAccountMarketLocalization.js +2 -2
  53. package/src/io/flow/internal/v0/models/marketingGatewayConfiguredMarket.js +6 -2
  54. package/src/io/flow/internal/v0/models/marketingGatewayConfiguredMarketForm.js +3 -2
  55. package/src/io/flow/internal/v0/models/marketingGatewayExistingMarket.js +3 -1
  56. package/src/io/flow/internal/v0/models/marketingGatewayGooglePrice.js +1 -0
  57. package/src/io/flow/internal/v0/models/marketingGatewayGoogleProduct.js +2 -0
  58. package/src/io/flow/internal/v0/models/marketingGatewayGoogleProductResult.js +6 -0
  59. package/src/io/flow/internal/v0/models/paypalAuthorizationPayload.js +6 -0
  60. package/src/io/flow/internal/v0/models/productResult.js +9 -0
  61. package/src/io/flow/internal/v0/models/ratecardLane.js +0 -2
  62. package/src/io/flow/internal/v0/models/ratecardLaneDeleted.js +8 -0
  63. package/src/io/flow/internal/v0/models/ratecardLaneForm.js +0 -2
  64. package/src/io/flow/internal/v0/models/ratecardLaneUpserted.js +9 -0
  65. package/src/io/flow/internal/v0/models/{marketingGatewayLocalizationFlowCountry.js → stripeAccount.js} +1 -1
  66. package/src/io/flow/internal/v0/models/stripeAccountForm.js +12 -0
  67. package/src/io/flow/internal/v0/unions/authorizationPayload.js +5 -1
  68. package/src/io/flow/internal/v0/unions/event.js +4 -0
  69. package/src/io/flow/internal/v0/unions/paymentAccount.js +4 -0
  70. package/src/io/flow/internal/v0/unions/paymentAccountForm.js +4 -0
  71. package/src/io/flow/payment/v0/unions/authorizationForm.js +0 -2
  72. package/src/io/flow/shopify/external/v0/enums/restockType.js +3 -0
  73. package/src/io/flow/shopify/external/v0/models/shopifyFulfillment.js +1 -0
  74. package/src/io/flow/shopify/external/v0/models/shopifyLocation.js +19 -0
  75. package/src/io/flow/shopify/external/v0/models/shopifyLocationsResponseWrapper.js +6 -0
  76. package/src/io/flow/shopify/external/v0/models/shopifyRefundForm.js +4 -4
  77. package/src/io/flow/shopify/external/v0/models/shopifyRefundLineItem.js +3 -0
  78. package/src/io/flow/shopify/external/v0/models/shopifyRefundLineItemForm.js +3 -0
  79. package/src/io/flow/shopify/v0/models/shopifySyncStatus.js +0 -1
  80. package/src/io/flow/stripe/v0/models/account.js +30 -0
  81. package/src/io/flow/stripe/v0/models/accountRequest.js +13 -0
  82. package/src/io/flow/stripe/v0/models/keys.js +6 -0
  83. package/src/io/flow/stripe/v0/models/legalEntity.js +6 -0
  84. package/src/io/flow/stripe/v0/models/tosAcceptance.js +7 -0
  85. package/src/mocks.js +11 -3
  86. package/src/validators.js +22 -6
  87. package/.eslintcache +0 -1
  88. package/lib/io/flow/internal/v0/unions/marketingGatewayLocalization.js +0 -21
  89. package/lib/io/flow/payment/v0/models/cardAuthorizationForm.js +0 -31
  90. package/lib/io/flow/payment/v0/unions/cardAuthorizationData.js +0 -21
  91. package/src/io/flow/internal/v0/models/marketingGatewayLocalizationFlowExperience.js +0 -6
  92. package/src/io/flow/internal/v0/unions/marketingGatewayLocalization.js +0 -8
  93. package/src/io/flow/payment/v0/models/cardAuthorizationForm.js +0 -15
  94. package/src/io/flow/payment/v0/unions/cardAuthorizationData.js +0 -5
package/lib/validators.js CHANGED
@@ -612,6 +612,10 @@ var _checkoutContent = require('./io/flow/internal/v0/models/checkoutContent');
612
612
 
613
613
  var _checkoutContent2 = _interopRequireDefault(_checkoutContent);
614
614
 
615
+ var _checkoutFinalizeOrderForm = require('./io/flow/internal/v0/models/checkoutFinalizeOrderForm');
616
+
617
+ var _checkoutFinalizeOrderForm2 = _interopRequireDefault(_checkoutFinalizeOrderForm);
618
+
615
619
  var _checkoutMarketingContent = require('./io/flow/internal/v0/models/checkoutMarketingContent');
616
620
 
617
621
  var _checkoutMarketingContent2 = _interopRequireDefault(_checkoutMarketingContent);
@@ -1520,6 +1524,10 @@ var _localizationRef = require('./io/flow/internal/v0/models/localizationRef');
1520
1524
 
1521
1525
  var _localizationRef2 = _interopRequireDefault(_localizationRef);
1522
1526
 
1527
+ var _localizationSummary = require('./io/flow/internal/v0/models/localizationSummary');
1528
+
1529
+ var _localizationSummary2 = _interopRequireDefault(_localizationSummary);
1530
+
1523
1531
  var _localizationUpserted = require('./io/flow/internal/v0/models/localizationUpserted');
1524
1532
 
1525
1533
  var _localizationUpserted2 = _interopRequireDefault(_localizationUpserted);
@@ -1680,6 +1688,10 @@ var _marketingGatewayGoogleProductPricingDetails = require('./io/flow/internal/v
1680
1688
 
1681
1689
  var _marketingGatewayGoogleProductPricingDetails2 = _interopRequireDefault(_marketingGatewayGoogleProductPricingDetails);
1682
1690
 
1691
+ var _marketingGatewayGoogleProductResult = require('./io/flow/internal/v0/models/marketingGatewayGoogleProductResult');
1692
+
1693
+ var _marketingGatewayGoogleProductResult2 = _interopRequireDefault(_marketingGatewayGoogleProductResult);
1694
+
1683
1695
  var _marketingGatewayGoogleProductShippingDetails = require('./io/flow/internal/v0/models/marketingGatewayGoogleProductShippingDetails');
1684
1696
 
1685
1697
  var _marketingGatewayGoogleProductShippingDetails2 = _interopRequireDefault(_marketingGatewayGoogleProductShippingDetails);
@@ -1712,14 +1724,6 @@ var _marketingGatewayImageLinks = require('./io/flow/internal/v0/models/marketin
1712
1724
 
1713
1725
  var _marketingGatewayImageLinks2 = _interopRequireDefault(_marketingGatewayImageLinks);
1714
1726
 
1715
- var _marketingGatewayLocalizationFlowCountry = require('./io/flow/internal/v0/models/marketingGatewayLocalizationFlowCountry');
1716
-
1717
- var _marketingGatewayLocalizationFlowCountry2 = _interopRequireDefault(_marketingGatewayLocalizationFlowCountry);
1718
-
1719
- var _marketingGatewayLocalizationFlowExperience = require('./io/flow/internal/v0/models/marketingGatewayLocalizationFlowExperience');
1720
-
1721
- var _marketingGatewayLocalizationFlowExperience2 = _interopRequireDefault(_marketingGatewayLocalizationFlowExperience);
1722
-
1723
1727
  var _marketingGatewayProductsResult = require('./io/flow/internal/v0/models/marketingGatewayProductsResult');
1724
1728
 
1725
1729
  var _marketingGatewayProductsResult2 = _interopRequireDefault(_marketingGatewayProductsResult);
@@ -1948,6 +1952,10 @@ var _paypalAuthenticationDataReference = require('./io/flow/internal/v0/models/p
1948
1952
 
1949
1953
  var _paypalAuthenticationDataReference2 = _interopRequireDefault(_paypalAuthenticationDataReference);
1950
1954
 
1955
+ var _paypalAuthorizationPayload = require('./io/flow/internal/v0/models/paypalAuthorizationPayload');
1956
+
1957
+ var _paypalAuthorizationPayload2 = _interopRequireDefault(_paypalAuthorizationPayload);
1958
+
1951
1959
  var _paypalExecutionDeleted = require('./io/flow/internal/v0/models/paypalExecutionDeleted');
1952
1960
 
1953
1961
  var _paypalExecutionDeleted2 = _interopRequireDefault(_paypalExecutionDeleted);
@@ -2036,6 +2044,10 @@ var _productReference = require('./io/flow/internal/v0/models/productReference')
2036
2044
 
2037
2045
  var _productReference2 = _interopRequireDefault(_productReference);
2038
2046
 
2047
+ var _productResult = require('./io/flow/internal/v0/models/productResult');
2048
+
2049
+ var _productResult2 = _interopRequireDefault(_productResult);
2050
+
2039
2051
  var _rate = require('./io/flow/internal/v0/models/rate');
2040
2052
 
2041
2053
  var _rate2 = _interopRequireDefault(_rate);
@@ -2100,10 +2112,18 @@ var _ratecardLane = require('./io/flow/internal/v0/models/ratecardLane');
2100
2112
 
2101
2113
  var _ratecardLane2 = _interopRequireDefault(_ratecardLane);
2102
2114
 
2115
+ var _ratecardLaneDeleted = require('./io/flow/internal/v0/models/ratecardLaneDeleted');
2116
+
2117
+ var _ratecardLaneDeleted2 = _interopRequireDefault(_ratecardLaneDeleted);
2118
+
2103
2119
  var _ratecardLaneForm = require('./io/flow/internal/v0/models/ratecardLaneForm');
2104
2120
 
2105
2121
  var _ratecardLaneForm2 = _interopRequireDefault(_ratecardLaneForm);
2106
2122
 
2123
+ var _ratecardLaneUpserted = require('./io/flow/internal/v0/models/ratecardLaneUpserted');
2124
+
2125
+ var _ratecardLaneUpserted2 = _interopRequireDefault(_ratecardLaneUpserted);
2126
+
2107
2127
  var _ratecardLaneVersion = require('./io/flow/internal/v0/models/ratecardLaneVersion');
2108
2128
 
2109
2129
  var _ratecardLaneVersion2 = _interopRequireDefault(_ratecardLaneVersion);
@@ -2428,6 +2448,14 @@ var _stringFeatureValue = require('./io/flow/internal/v0/models/stringFeatureVal
2428
2448
 
2429
2449
  var _stringFeatureValue2 = _interopRequireDefault(_stringFeatureValue);
2430
2450
 
2451
+ var _stripeAccount = require('./io/flow/internal/v0/models/stripeAccount');
2452
+
2453
+ var _stripeAccount2 = _interopRequireDefault(_stripeAccount);
2454
+
2455
+ var _stripeAccountForm = require('./io/flow/internal/v0/models/stripeAccountForm');
2456
+
2457
+ var _stripeAccountForm2 = _interopRequireDefault(_stripeAccountForm);
2458
+
2431
2459
  var _stripeAuthenticationDataReference = require('./io/flow/internal/v0/models/stripeAuthenticationDataReference');
2432
2460
 
2433
2461
  var _stripeAuthenticationDataReference2 = _interopRequireDefault(_stripeAuthenticationDataReference);
@@ -2716,10 +2744,6 @@ var _localizableContent = require('./io/flow/internal/v0/unions/localizableConte
2716
2744
 
2717
2745
  var _localizableContent2 = _interopRequireDefault(_localizableContent);
2718
2746
 
2719
- var _marketingGatewayLocalization = require('./io/flow/internal/v0/unions/marketingGatewayLocalization');
2720
-
2721
- var _marketingGatewayLocalization2 = _interopRequireDefault(_marketingGatewayLocalization);
2722
-
2723
2747
  var _marketingGatewayPlatformMarket = require('./io/flow/internal/v0/unions/marketingGatewayPlatformMarket');
2724
2748
 
2725
2749
  var _marketingGatewayPlatformMarket2 = _interopRequireDefault(_marketingGatewayPlatformMarket);
@@ -2732,6 +2756,14 @@ var _orderActionForm = require('./io/flow/internal/v0/unions/orderActionForm');
2732
2756
 
2733
2757
  var _orderActionForm2 = _interopRequireDefault(_orderActionForm);
2734
2758
 
2759
+ var _paymentAccount = require('./io/flow/internal/v0/unions/paymentAccount');
2760
+
2761
+ var _paymentAccount2 = _interopRequireDefault(_paymentAccount);
2762
+
2763
+ var _paymentAccountForm = require('./io/flow/internal/v0/unions/paymentAccountForm');
2764
+
2765
+ var _paymentAccountForm2 = _interopRequireDefault(_paymentAccountForm);
2766
+
2735
2767
  var _paymentRedirect = require('./io/flow/internal/v0/unions/paymentRedirect');
2736
2768
 
2737
2769
  var _paymentRedirect2 = _interopRequireDefault(_paymentRedirect);
@@ -2959,6 +2991,7 @@ exports.default = {
2959
2991
  checkout: _checkout2.default,
2960
2992
  checkoutBundle: _checkoutBundle2.default,
2961
2993
  checkoutContent: _checkoutContent2.default,
2994
+ checkoutFinalizeOrderForm: _checkoutFinalizeOrderForm2.default,
2962
2995
  checkoutMarketingContent: _checkoutMarketingContent2.default,
2963
2996
  checkoutMetadata: _checkoutMetadata2.default,
2964
2997
  checkoutPaymentContent: _checkoutPaymentContent2.default,
@@ -3186,6 +3219,7 @@ exports.default = {
3186
3219
  localization: _localization2.default,
3187
3220
  localizationForm: _localizationForm2.default,
3188
3221
  localizationRef: _localizationRef2.default,
3222
+ localizationSummary: _localizationSummary2.default,
3189
3223
  localizationUpserted: _localizationUpserted2.default,
3190
3224
  localizedContent: _localizedContent2.default,
3191
3225
  localizedContentElement: _localizedContentElement2.default,
@@ -3226,6 +3260,7 @@ exports.default = {
3226
3260
  marketingGatewayGoogleProductInstallment: _marketingGatewayGoogleProductInstallment2.default,
3227
3261
  marketingGatewayGoogleProductItemLevelIssue: _marketingGatewayGoogleProductItemLevelIssue2.default,
3228
3262
  marketingGatewayGoogleProductPricingDetails: _marketingGatewayGoogleProductPricingDetails2.default,
3263
+ marketingGatewayGoogleProductResult: _marketingGatewayGoogleProductResult2.default,
3229
3264
  marketingGatewayGoogleProductShippingDetails: _marketingGatewayGoogleProductShippingDetails2.default,
3230
3265
  marketingGatewayGoogleProductShippingUnit: _marketingGatewayGoogleProductShippingUnit2.default,
3231
3266
  marketingGatewayGoogleProductSizeDetails: _marketingGatewayGoogleProductSizeDetails2.default,
@@ -3234,8 +3269,6 @@ exports.default = {
3234
3269
  marketingGatewayGoogleProductUnitPricingMeasure: _marketingGatewayGoogleProductUnitPricingMeasure2.default,
3235
3270
  marketingGatewayGoogleProductWarning: _marketingGatewayGoogleProductWarning2.default,
3236
3271
  marketingGatewayImageLinks: _marketingGatewayImageLinks2.default,
3237
- marketingGatewayLocalizationFlowCountry: _marketingGatewayLocalizationFlowCountry2.default,
3238
- marketingGatewayLocalizationFlowExperience: _marketingGatewayLocalizationFlowExperience2.default,
3239
3272
  marketingGatewayProductsResult: _marketingGatewayProductsResult2.default,
3240
3273
  marketingGatewayProductsStatusCount: _marketingGatewayProductsStatusCount2.default,
3241
3274
  nextBillingStatement: _nextBillingStatement2.default,
@@ -3293,6 +3326,7 @@ exports.default = {
3293
3326
  paymentSummaryV2: _paymentSummaryV2.default,
3294
3327
  paypalAuthenticationData: _paypalAuthenticationData2.default,
3295
3328
  paypalAuthenticationDataReference: _paypalAuthenticationDataReference2.default,
3329
+ paypalAuthorizationPayload: _paypalAuthorizationPayload2.default,
3296
3330
  paypalExecutionDeleted: _paypalExecutionDeleted2.default,
3297
3331
  paypalExecutionUpserted: _paypalExecutionUpserted2.default,
3298
3332
  paypalInternalExecution: _paypalInternalExecution2.default,
@@ -3315,6 +3349,7 @@ exports.default = {
3315
3349
  productPhrase: _productPhrase2.default,
3316
3350
  productPhraseForm: _productPhraseForm2.default,
3317
3351
  productReference: _productReference2.default,
3352
+ productResult: _productResult2.default,
3318
3353
  rate: _rate2.default,
3319
3354
  rateData: _rateData2.default,
3320
3355
  rateDataV3: _rateDataV2.default,
@@ -3331,7 +3366,9 @@ exports.default = {
3331
3366
  ratecardEstimateV2: _ratecardEstimateV4.default,
3332
3367
  ratecardForm: _ratecardForm2.default,
3333
3368
  ratecardLane: _ratecardLane2.default,
3369
+ ratecardLaneDeleted: _ratecardLaneDeleted2.default,
3334
3370
  ratecardLaneForm: _ratecardLaneForm2.default,
3371
+ ratecardLaneUpserted: _ratecardLaneUpserted2.default,
3335
3372
  ratecardLaneVersion: _ratecardLaneVersion2.default,
3336
3373
  ratecardPublished: _ratecardPublished2.default,
3337
3374
  ratecardRate: _ratecardRate2.default,
@@ -3413,6 +3450,8 @@ exports.default = {
3413
3450
  stringFeatureRule: _stringFeatureRule2.default,
3414
3451
  stringFeatureRuleForm: _stringFeatureRuleForm2.default,
3415
3452
  stringFeatureValue: _stringFeatureValue2.default,
3453
+ stripeAccount: _stripeAccount2.default,
3454
+ stripeAccountForm: _stripeAccountForm2.default,
3416
3455
  stripeAuthenticationDataReference: _stripeAuthenticationDataReference2.default,
3417
3456
  stripeAuthorizationDeleted: _stripeAuthorizationDeleted2.default,
3418
3457
  stripeAuthorizationUpserted: _stripeAuthorizationUpserted2.default,
@@ -3485,10 +3524,11 @@ exports.default = {
3485
3524
  internalAuthorizationDetails: _internalAuthorizationDetails2.default,
3486
3525
  internalRefundForm: _internalRefundForm2.default,
3487
3526
  localizableContent: _localizableContent2.default,
3488
- marketingGatewayLocalization: _marketingGatewayLocalization2.default,
3489
3527
  marketingGatewayPlatformMarket: _marketingGatewayPlatformMarket2.default,
3490
3528
  marketingGatewayProduct: _marketingGatewayProduct2.default,
3491
3529
  orderActionForm: _orderActionForm2.default,
3530
+ paymentAccount: _paymentAccount2.default,
3531
+ paymentAccountForm: _paymentAccountForm2.default,
3492
3532
  paymentRedirect: _paymentRedirect2.default,
3493
3533
  paymentSummaryDetails: _paymentSummaryDetails2.default,
3494
3534
  pendingBankPaymentDetail: _pendingBankPaymentDetail2.default,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flowio/api-internal-prop-types",
3
- "version": "1.2.14",
3
+ "version": "1.2.16",
4
4
  "description": "PropType validators that work with internal Flow API",
5
5
  "main": "lib/index.js",
6
6
  "scripts": {
@@ -40,5 +40,5 @@
40
40
  "prop-types": "^15.6.0",
41
41
  "rimraf": "^2.6.2"
42
42
  },
43
- "gitHead": "86513de56cfb9e82b547bc0100af5bfefd873df3"
43
+ "gitHead": "62c3f3ff06e7e8a18ffe19c036522960a41ffbdb"
44
44
  }
package/src/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- // Type definitions for flow api-internal 0.5.40
1
+ // Type definitions for flow api-internal 0.5.84
2
2
  // Definitions by: API Builder <https://www.apibuilder.io/>
3
3
 
4
4
  export type Validator<T> = (object: T, key: string, componentName: string, ...rest: any[]) => Error | null;
@@ -96,6 +96,7 @@ declare const defaultExport: {
96
96
  checkout: Requireable<any> & Validator<any>;
97
97
  checkoutBundle: Requireable<any> & Validator<any>;
98
98
  checkoutContent: Requireable<any> & Validator<any>;
99
+ checkoutFinalizeOrderForm: Requireable<any> & Validator<any>;
99
100
  checkoutMarketingContent: Requireable<any> & Validator<any>;
100
101
  checkoutMetadata: Requireable<any> & Validator<any>;
101
102
  checkoutPaymentContent: Requireable<any> & Validator<any>;
@@ -372,6 +373,7 @@ declare const defaultExport: {
372
373
  localization: Requireable<any> & Validator<any>;
373
374
  localizationForm: Requireable<any> & Validator<any>;
374
375
  localizationRef: Requireable<any> & Validator<any>;
376
+ localizationSummary: Requireable<any> & Validator<any>;
375
377
  localizationUpserted: Requireable<any> & Validator<any>;
376
378
  localizedContent: Requireable<any> & Validator<any>;
377
379
  localizedContentElement: Requireable<any> & Validator<any>;
@@ -415,6 +417,7 @@ declare const defaultExport: {
415
417
  marketingGatewayGoogleProductItemLevelIssue: Requireable<any> & Validator<any>;
416
418
  marketingGatewayGoogleProductItemLevelIssueSeverity: Requireable<any> & Validator<any>;
417
419
  marketingGatewayGoogleProductPricingDetails: Requireable<any> & Validator<any>;
420
+ marketingGatewayGoogleProductResult: Requireable<any> & Validator<any>;
418
421
  marketingGatewayGoogleProductShippingDetails: Requireable<any> & Validator<any>;
419
422
  marketingGatewayGoogleProductShippingUnit: Requireable<any> & Validator<any>;
420
423
  marketingGatewayGoogleProductSizeDetails: Requireable<any> & Validator<any>;
@@ -423,9 +426,6 @@ declare const defaultExport: {
423
426
  marketingGatewayGoogleProductUnitPricingMeasure: Requireable<any> & Validator<any>;
424
427
  marketingGatewayGoogleProductWarning: Requireable<any> & Validator<any>;
425
428
  marketingGatewayImageLinks: Requireable<any> & Validator<any>;
426
- marketingGatewayLocalization: Requireable<any> & Validator<any>;
427
- marketingGatewayLocalizationFlowCountry: Requireable<any> & Validator<any>;
428
- marketingGatewayLocalizationFlowExperience: Requireable<any> & Validator<any>;
429
429
  marketingGatewayPlatform: Requireable<any> & Validator<any>;
430
430
  marketingGatewayPlatformMarket: Requireable<any> & Validator<any>;
431
431
  marketingGatewayProduct: Requireable<any> & Validator<any>;
@@ -490,6 +490,8 @@ declare const defaultExport: {
490
490
  passphrase: Requireable<any> & Validator<any>;
491
491
  passphraseForm: Requireable<any> & Validator<any>;
492
492
  passphraseSummary: Requireable<any> & Validator<any>;
493
+ paymentAccount: Requireable<any> & Validator<any>;
494
+ paymentAccountForm: Requireable<any> & Validator<any>;
493
495
  paymentRedirect: Requireable<any> & Validator<any>;
494
496
  paymentSummaryDetails: Requireable<any> & Validator<any>;
495
497
  paymentSummaryType: Requireable<any> & Validator<any>;
@@ -497,6 +499,7 @@ declare const defaultExport: {
497
499
  paymentTerm: Requireable<any> & Validator<any>;
498
500
  paypalAuthenticationData: Requireable<any> & Validator<any>;
499
501
  paypalAuthenticationDataReference: Requireable<any> & Validator<any>;
502
+ paypalAuthorizationPayload: Requireable<any> & Validator<any>;
500
503
  paypalExecutionDeleted: Requireable<any> & Validator<any>;
501
504
  paypalExecutionUpserted: Requireable<any> & Validator<any>;
502
505
  paypalInternalExecution: Requireable<any> & Validator<any>;
@@ -523,6 +526,7 @@ declare const defaultExport: {
523
526
  productPhrase: Requireable<any> & Validator<any>;
524
527
  productPhraseForm: Requireable<any> & Validator<any>;
525
528
  productReference: Requireable<any> & Validator<any>;
529
+ productResult: Requireable<any> & Validator<any>;
526
530
  promptAction: Requireable<any> & Validator<any>;
527
531
  promptOptions: Requireable<any> & Validator<any>;
528
532
  promptTarget: Requireable<any> & Validator<any>;
@@ -546,7 +550,9 @@ declare const defaultExport: {
546
550
  ratecardFee: Requireable<any> & Validator<any>;
547
551
  ratecardForm: Requireable<any> & Validator<any>;
548
552
  ratecardLane: Requireable<any> & Validator<any>;
553
+ ratecardLaneDeleted: Requireable<any> & Validator<any>;
549
554
  ratecardLaneForm: Requireable<any> & Validator<any>;
555
+ ratecardLaneUpserted: Requireable<any> & Validator<any>;
550
556
  ratecardLaneVersion: Requireable<any> & Validator<any>;
551
557
  ratecardPublished: Requireable<any> & Validator<any>;
552
558
  ratecardRate: Requireable<any> & Validator<any>;
@@ -647,6 +653,8 @@ declare const defaultExport: {
647
653
  stringFeatureRule: Requireable<any> & Validator<any>;
648
654
  stringFeatureRuleForm: Requireable<any> & Validator<any>;
649
655
  stringFeatureValue: Requireable<any> & Validator<any>;
656
+ stripeAccount: Requireable<any> & Validator<any>;
657
+ stripeAccountForm: Requireable<any> & Validator<any>;
650
658
  stripeAuthenticationDataReference: Requireable<any> & Validator<any>;
651
659
  stripeAuthorizationDeleted: Requireable<any> & Validator<any>;
652
660
  stripeAuthorizationUpserted: Requireable<any> & Validator<any>;
@@ -12,4 +12,7 @@ export default PropTypes.oneOf([
12
12
  'invalid_country',
13
13
  'invalid_region',
14
14
  'invalid_language',
15
+ 'item_out_of_stock',
16
+ 'gift_card_not_accepted',
17
+ 'total_changed',
15
18
  ]);
@@ -103,6 +103,8 @@ export default PropTypes.oneOf([
103
103
  'lane_deleted',
104
104
  'ratecard_rate_upserted',
105
105
  'ratecard_rate_deleted',
106
+ 'ratecard_lane_upserted',
107
+ 'ratecard_lane_deleted',
106
108
  'shopify_shop_upserted',
107
109
  'shopify_shop_deleted',
108
110
  'shopify_experience_short_id_upserted',
@@ -10,4 +10,5 @@ export default PropTypes.shape({
10
10
  send_statements_to_flow_ftp_server: PropTypes.bool.isRequired,
11
11
  invoicing_terms: paymentTerm,
12
12
  transfer_method: transferMethod,
13
+ enable_b2b_tax_remittance_transactions: PropTypes.bool.isRequired,
13
14
  });
@@ -0,0 +1,8 @@
1
+ import PropTypes from 'prop-types';
2
+ import expectedOrderSummary from './expectedOrderSummary';
3
+ import orderPutForm from '../../../experience/v0/models/orderPutForm';
4
+
5
+ export default PropTypes.shape({
6
+ expected_order_summary: expectedOrderSummary.isRequired,
7
+ order_put_form: orderPutForm.isRequired,
8
+ });
@@ -0,0 +1,6 @@
1
+ import PropTypes from 'prop-types';
2
+
3
+ export default PropTypes.shape({
4
+ experience_name: PropTypes.string.isRequired,
5
+ experience_key: PropTypes.string.isRequired,
6
+ });
@@ -1,11 +1,8 @@
1
1
  import PropTypes from 'prop-types';
2
2
  import marketingGatewayPlatform from '../enums/marketingGatewayPlatform';
3
- import marketingGatewaySyncStatus from '../enums/marketingGatewaySyncStatus';
4
3
 
5
4
  export default PropTypes.shape({
6
5
  id: PropTypes.string.isRequired,
7
6
  platform: marketingGatewayPlatform.isRequired,
8
7
  name: PropTypes.string.isRequired,
9
- sync_status: marketingGatewaySyncStatus.isRequired,
10
- synced_at: PropTypes.string,
11
8
  });
@@ -1,13 +1,13 @@
1
1
  import PropTypes from 'prop-types';
2
2
  import marketingGatewayPlatformMarket from '../unions/marketingGatewayPlatformMarket';
3
- import marketingGatewayLocalization from '../unions/marketingGatewayLocalization';
3
+ import experienceSummary from '../../../common/v0/models/experienceSummary';
4
4
  import marketingGatewayExistingMarket from './marketingGatewayExistingMarket';
5
5
  import marketingGatewayConfiguredMarket from './marketingGatewayConfiguredMarket';
6
6
  import marketingGatewayAccountMarketLocalizationError from '../enums/marketingGatewayAccountMarketLocalizationError';
7
7
 
8
8
  export default PropTypes.shape({
9
9
  market: marketingGatewayPlatformMarket.isRequired,
10
- localization: PropTypes.arrayOf(marketingGatewayLocalization).isRequired,
10
+ compatible_experiences: PropTypes.arrayOf(experienceSummary).isRequired,
11
11
  existing_markets: PropTypes.arrayOf(marketingGatewayExistingMarket)
12
12
  .isRequired,
13
13
  configured_markets: marketingGatewayConfiguredMarket,
@@ -1,13 +1,17 @@
1
1
  import PropTypes from 'prop-types';
2
2
  import marketingGatewayPlatformMarket from '../unions/marketingGatewayPlatformMarket';
3
- import marketingGatewayLocalization from '../unions/marketingGatewayLocalization';
3
+ import marketingGatewayProductsStatusCount from './marketingGatewayProductsStatusCount';
4
4
  import marketingGatewaySyncStatus from '../enums/marketingGatewaySyncStatus';
5
5
 
6
6
  export default PropTypes.shape({
7
7
  id: PropTypes.string.isRequired,
8
8
  market: marketingGatewayPlatformMarket.isRequired,
9
- localization: marketingGatewayLocalization.isRequired,
9
+ experience_id: PropTypes.string,
10
+ experience_name: PropTypes.string,
11
+ experience_key: PropTypes.string,
10
12
  existing_market_id: PropTypes.string.isRequired,
13
+ products_status_counts: PropTypes.arrayOf(marketingGatewayProductsStatusCount)
14
+ .isRequired,
11
15
  sync_status: marketingGatewaySyncStatus.isRequired,
12
16
  synced_at: PropTypes.string,
13
17
  });
@@ -1,9 +1,10 @@
1
1
  import PropTypes from 'prop-types';
2
2
  import marketingGatewayPlatformMarket from '../unions/marketingGatewayPlatformMarket';
3
- import marketingGatewayLocalization from '../unions/marketingGatewayLocalization';
4
3
 
5
4
  export default PropTypes.shape({
6
5
  market: marketingGatewayPlatformMarket.isRequired,
7
- localization: marketingGatewayLocalization.isRequired,
6
+ experience_id: PropTypes.string.isRequired,
7
+ experience_name: PropTypes.string.isRequired,
8
+ experience_key: PropTypes.string.isRequired,
8
9
  existing_market_id: PropTypes.string.isRequired,
9
10
  });
@@ -1,11 +1,13 @@
1
1
  import PropTypes from 'prop-types';
2
2
  import marketingGatewayPlatformMarket from '../unions/marketingGatewayPlatformMarket';
3
+ import marketingGatewayProductsStatusCount from './marketingGatewayProductsStatusCount';
3
4
  import marketingGatewaySyncStatus from '../enums/marketingGatewaySyncStatus';
4
5
 
5
6
  export default PropTypes.shape({
6
7
  id: PropTypes.string.isRequired,
7
8
  market: marketingGatewayPlatformMarket.isRequired,
8
- product_count: PropTypes.number.isRequired,
9
+ products_status_counts: PropTypes.arrayOf(marketingGatewayProductsStatusCount)
10
+ .isRequired,
9
11
  sync_status: marketingGatewaySyncStatus.isRequired,
10
12
  synced_at: PropTypes.string,
11
13
  });
@@ -3,4 +3,5 @@ import PropTypes from 'prop-types';
3
3
  export default PropTypes.shape({
4
4
  value: PropTypes.string.isRequired,
5
5
  currency: PropTypes.string.isRequired,
6
+ label: PropTypes.string.isRequired,
6
7
  });
@@ -10,6 +10,7 @@ import marketingGatewayGoogleProductTax from './marketingGatewayGoogleProductTax
10
10
  import marketingGatewayGoogleCustomLabels from './marketingGatewayGoogleCustomLabels';
11
11
  import marketingGatewayGoogleProductStatusDetails from './marketingGatewayGoogleProductStatusDetails';
12
12
  import marketingGatewayProductStatus from '../enums/marketingGatewayProductStatus';
13
+ import catalogItemSummary from '../../../common/v0/models/catalogItemSummary';
13
14
 
14
15
  export default PropTypes.shape({
15
16
  id: PropTypes.string.isRequired,
@@ -35,4 +36,5 @@ export default PropTypes.shape({
35
36
  custom_labels: marketingGatewayGoogleCustomLabels.isRequired,
36
37
  status_details: marketingGatewayGoogleProductStatusDetails,
37
38
  status: marketingGatewayProductStatus.isRequired,
39
+ item_catalog_summary: catalogItemSummary,
38
40
  });
@@ -0,0 +1,6 @@
1
+ import PropTypes from 'prop-types';
2
+
3
+ export default PropTypes.shape({
4
+ code: PropTypes.string.isRequired,
5
+ servability: PropTypes.string.isRequired,
6
+ });
@@ -0,0 +1,6 @@
1
+ import PropTypes from 'prop-types';
2
+
3
+ export default PropTypes.shape({
4
+ payment_id: PropTypes.string.isRequired,
5
+ payer_id: PropTypes.string.isRequired,
6
+ });
@@ -0,0 +1,9 @@
1
+ import PropTypes from 'prop-types';
2
+ import marketingGatewayProduct from '../unions/marketingGatewayProduct';
3
+ import localizationSummary from './localizationSummary';
4
+
5
+ export default PropTypes.shape({
6
+ base_product: marketingGatewayProduct.isRequired,
7
+ configured_product: marketingGatewayProduct,
8
+ localisation_summary: localizationSummary,
9
+ });
@@ -8,7 +8,6 @@ import ratecardServiceSummary from './ratecardServiceSummary';
8
8
  import ratecardRate from './ratecardRate';
9
9
  import rounding from '../../../common/v0/models/rounding';
10
10
  import unitOfMeasurement from '../../../common/v0/enums/unitOfMeasurement';
11
- import address from '../../../common/v0/models/address';
12
11
 
13
12
  export default PropTypes.shape({
14
13
  id: PropTypes.string.isRequired,
@@ -25,5 +24,4 @@ export default PropTypes.shape({
25
24
  rounding: rounding.isRequired,
26
25
  weight_unit: unitOfMeasurement.isRequired,
27
26
  distance_unit: unitOfMeasurement.isRequired,
28
- consolidation_address: address,
29
27
  });
@@ -0,0 +1,8 @@
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
+ id: PropTypes.string.isRequired,
8
+ });
@@ -6,7 +6,6 @@ import ratecardFee from '../unions/ratecardFee';
6
6
  import rounding from '../../../common/v0/models/rounding';
7
7
  import ratecardRateForm from './ratecardRateForm';
8
8
  import unitOfMeasurement from '../../../common/v0/enums/unitOfMeasurement';
9
- import address from '../../../common/v0/models/address';
10
9
 
11
10
  export default PropTypes.shape({
12
11
  ratecard_id: PropTypes.string.isRequired,
@@ -21,5 +20,4 @@ export default PropTypes.shape({
21
20
  rates: PropTypes.arrayOf(ratecardRateForm).isRequired,
22
21
  weight_unit: unitOfMeasurement.isRequired,
23
22
  distance_unit: unitOfMeasurement.isRequired,
24
- consolidation_address: address,
25
23
  });
@@ -0,0 +1,9 @@
1
+ import PropTypes from 'prop-types';
2
+ import ratecardLane from '../../../ratecard/internal/v0/models/ratecardLane';
3
+
4
+ export default PropTypes.shape({
5
+ event_id: PropTypes.string.isRequired,
6
+ timestamp: PropTypes.string.isRequired,
7
+ organization: PropTypes.string.isRequired,
8
+ ratecard_lane: ratecardLane.isRequired,
9
+ });
@@ -1,5 +1,5 @@
1
1
  import PropTypes from 'prop-types';
2
2
 
3
3
  export default PropTypes.shape({
4
- country: PropTypes.string.isRequired,
4
+ account_id: PropTypes.string.isRequired,
5
5
  });
@@ -0,0 +1,12 @@
1
+ import PropTypes from 'prop-types';
2
+ import accountType from '../../../stripe/v0/enums/accountType';
3
+ import merchantOfRecord from '../../../common/v0/enums/merchantOfRecord';
4
+
5
+ export default PropTypes.shape({
6
+ account_name: PropTypes.string.isRequired,
7
+ account_type: accountType.isRequired,
8
+ country: PropTypes.string.isRequired,
9
+ merchant_of_record: merchantOfRecord.isRequired,
10
+ organization_id: PropTypes.string.isRequired,
11
+ payout_statement_descriptor: PropTypes.string.isRequired,
12
+ });
@@ -1,4 +1,8 @@
1
1
  import PropTypes from 'prop-types';
2
2
  import applePaymentToken from '../models/applePaymentToken';
3
+ import paypalAuthorizationPayload from '../models/paypalAuthorizationPayload';
3
4
 
4
- export default PropTypes.oneOfType([applePaymentToken]);
5
+ export default PropTypes.oneOfType([
6
+ applePaymentToken,
7
+ paypalAuthorizationPayload,
8
+ ]);
@@ -101,6 +101,8 @@ import laneUpserted from '../models/laneUpserted';
101
101
  import laneDeleted from '../models/laneDeleted';
102
102
  import ratecardRateUpserted from '../models/ratecardRateUpserted';
103
103
  import ratecardRateDeleted from '../models/ratecardRateDeleted';
104
+ import ratecardLaneUpserted from '../models/ratecardLaneUpserted';
105
+ import ratecardLaneDeleted from '../models/ratecardLaneDeleted';
104
106
  import shopifyShopUpserted from '../models/shopifyShopUpserted';
105
107
  import shopifyShopDeleted from '../models/shopifyShopDeleted';
106
108
  import shopifyExperienceShortIdUpserted from '../models/shopifyExperienceShortIdUpserted';
@@ -223,6 +225,8 @@ export default PropTypes.oneOfType([
223
225
  laneDeleted,
224
226
  ratecardRateUpserted,
225
227
  ratecardRateDeleted,
228
+ ratecardLaneUpserted,
229
+ ratecardLaneDeleted,
226
230
  shopifyShopUpserted,
227
231
  shopifyShopDeleted,
228
232
  shopifyExperienceShortIdUpserted,
@@ -0,0 +1,4 @@
1
+ import PropTypes from 'prop-types';
2
+ import stripeAccount from '../models/stripeAccount';
3
+
4
+ export default PropTypes.oneOfType([stripeAccount]);
@@ -0,0 +1,4 @@
1
+ import PropTypes from 'prop-types';
2
+ import stripeAccountForm from '../models/stripeAccountForm';
3
+
4
+ export default PropTypes.oneOfType([stripeAccountForm]);
@@ -5,7 +5,6 @@ import merchantOfRecordAuthorizationForm from '../models/merchantOfRecordAuthori
5
5
  import paypalAuthorizationForm from '../models/paypalAuthorizationForm';
6
6
  import redirectAuthorizationForm from '../models/redirectAuthorizationForm';
7
7
  import inlineAuthorizationForm from '../models/inlineAuthorizationForm';
8
- import cardAuthorizationForm from '../models/cardAuthorizationForm';
9
8
  import achAuthorizationForm from '../models/achAuthorizationForm';
10
9
 
11
10
  export default PropTypes.oneOfType([
@@ -15,6 +14,5 @@ export default PropTypes.oneOfType([
15
14
  paypalAuthorizationForm,
16
15
  redirectAuthorizationForm,
17
16
  inlineAuthorizationForm,
18
- cardAuthorizationForm,
19
17
  achAuthorizationForm,
20
18
  ]);
@@ -0,0 +1,3 @@
1
+ import PropTypes from 'prop-types';
2
+
3
+ export default PropTypes.oneOf(['no_restock', 'cancel', 'return']);
@@ -2,6 +2,7 @@ import PropTypes from 'prop-types';
2
2
  import shopifyLineItem from './shopifyLineItem';
3
3
 
4
4
  export default PropTypes.shape({
5
+ location_id: PropTypes.number.isRequired,
5
6
  created_at: PropTypes.string,
6
7
  id: PropTypes.number,
7
8
  line_items: PropTypes.arrayOf(shopifyLineItem).isRequired,
@@ -0,0 +1,19 @@
1
+ import PropTypes from 'prop-types';
2
+
3
+ export default PropTypes.shape({
4
+ active: PropTypes.bool.isRequired,
5
+ address1: PropTypes.string,
6
+ address2: PropTypes.string,
7
+ city: PropTypes.string,
8
+ country: PropTypes.string,
9
+ country_code: PropTypes.string,
10
+ created_at: PropTypes.string.isRequired,
11
+ id: PropTypes.number.isRequired,
12
+ legacy: PropTypes.bool.isRequired,
13
+ name: PropTypes.string.isRequired,
14
+ phone: PropTypes.number,
15
+ province: PropTypes.string,
16
+ province_code: PropTypes.string,
17
+ updated_at: PropTypes.string,
18
+ zip: PropTypes.string,
19
+ });