@gofynd/fdk-client-javascript 1.2.0 → 1.3.0

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 (262) hide show
  1. package/README.md +44 -7
  2. package/package.json +1 -2
  3. package/sdk/application/ApplicationAPIClient.d.ts +3 -3
  4. package/sdk/application/ApplicationAPIClient.js +6 -4
  5. package/sdk/application/ApplicationClient.d.ts +2 -3
  6. package/sdk/application/ApplicationClient.js +1 -45
  7. package/sdk/application/ApplicationConfig.d.ts +46 -6
  8. package/sdk/application/ApplicationConfig.js +15 -16
  9. package/sdk/application/Cart/CartApplicationClient.d.ts +61 -33
  10. package/sdk/application/Cart/CartApplicationClient.js +225 -134
  11. package/sdk/application/Cart/CartApplicationModel.d.ts +4 -4
  12. package/sdk/application/Cart/CartApplicationModel.js +4 -4
  13. package/sdk/application/Catalog/CatalogApplicationClient.d.ts +61 -30
  14. package/sdk/application/Catalog/CatalogApplicationClient.js +234 -146
  15. package/sdk/application/Catalog/CatalogApplicationModel.d.ts +115 -13
  16. package/sdk/application/Catalog/CatalogApplicationModel.js +77 -12
  17. package/sdk/application/Common/CommonApplicationClient.d.ts +5 -3
  18. package/sdk/application/Common/CommonApplicationClient.js +13 -11
  19. package/sdk/application/Common/CommonApplicationModel.d.ts +3 -83
  20. package/sdk/application/Common/CommonApplicationModel.js +2 -58
  21. package/sdk/application/Communication/CommunicationApplicationClient.d.ts +9 -3
  22. package/sdk/application/Communication/CommunicationApplicationClient.js +25 -13
  23. package/sdk/application/Communication/CommunicationApplicationModel.d.ts +1 -34
  24. package/sdk/application/Communication/CommunicationApplicationModel.js +0 -36
  25. package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +46 -16
  26. package/sdk/application/Configuration/ConfigurationApplicationClient.js +144 -68
  27. package/sdk/application/Configuration/ConfigurationApplicationModel.d.ts +1 -219
  28. package/sdk/application/Configuration/ConfigurationApplicationModel.js +0 -226
  29. package/sdk/application/Content/ContentApplicationClient.d.ts +49 -21
  30. package/sdk/application/Content/ContentApplicationClient.js +159 -80
  31. package/sdk/application/Content/ContentApplicationModel.d.ts +5 -622
  32. package/sdk/application/Content/ContentApplicationModel.js +11 -763
  33. package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +6 -3
  34. package/sdk/application/FileStorage/FileStorageApplicationClient.js +20 -14
  35. package/sdk/application/FileStorage/FileStorageApplicationModel.d.ts +1 -152
  36. package/sdk/application/FileStorage/FileStorageApplicationModel.js +0 -180
  37. package/sdk/application/Lead/LeadApplicationClient.d.ts +14 -7
  38. package/sdk/application/Lead/LeadApplicationClient.js +50 -31
  39. package/sdk/application/Lead/LeadApplicationModel.d.ts +22 -741
  40. package/sdk/application/Lead/LeadApplicationModel.js +21 -481
  41. package/sdk/application/Logistic/LogisticApplicationClient.d.ts +11 -5
  42. package/sdk/application/Logistic/LogisticApplicationClient.js +41 -20
  43. package/sdk/application/Order/OrderApplicationClient.d.ts +24 -12
  44. package/sdk/application/Order/OrderApplicationClient.js +88 -56
  45. package/sdk/application/Payment/PaymentApplicationClient.d.ts +91 -42
  46. package/sdk/application/Payment/PaymentApplicationClient.js +293 -194
  47. package/sdk/application/Payment/PaymentApplicationModel.d.ts +36 -36
  48. package/sdk/application/Payment/PaymentApplicationModel.js +36 -36
  49. package/sdk/application/PosCart/PosCartApplicationClient.d.ts +59 -32
  50. package/sdk/application/PosCart/PosCartApplicationClient.js +214 -130
  51. package/sdk/application/PosCart/PosCartApplicationModel.d.ts +2 -2
  52. package/sdk/application/PosCart/PosCartApplicationModel.js +2 -2
  53. package/sdk/application/Rewards/RewardsApplicationClient.d.ts +16 -7
  54. package/sdk/application/Rewards/RewardsApplicationClient.js +56 -29
  55. package/sdk/application/Share/ShareApplicationClient.d.ts +15 -7
  56. package/sdk/application/Share/ShareApplicationClient.js +51 -31
  57. package/sdk/application/Share/ShareApplicationModel.d.ts +1 -33
  58. package/sdk/application/Share/ShareApplicationModel.js +0 -38
  59. package/sdk/application/Theme/ThemeApplicationClient.d.ts +9 -4
  60. package/sdk/application/Theme/ThemeApplicationClient.js +35 -18
  61. package/sdk/application/Theme/ThemeApplicationModel.d.ts +982 -312
  62. package/sdk/application/Theme/ThemeApplicationModel.js +621 -284
  63. package/sdk/application/User/UserApplicationClient.d.ts +74 -35
  64. package/sdk/application/User/UserApplicationClient.js +252 -161
  65. package/sdk/application/User/UserApplicationModel.d.ts +3 -401
  66. package/sdk/application/User/UserApplicationModel.js +2 -490
  67. package/sdk/common/AxiosHelper.js +1 -2
  68. package/sdk/common/FDKError.d.ts +3 -0
  69. package/sdk/common/FDKError.js +8 -0
  70. package/sdk/common/utils.d.ts +3 -0
  71. package/sdk/common/utils.js +29 -0
  72. package/sdk/partner/PartnerAPIClient.d.ts +5 -4
  73. package/sdk/partner/PartnerAPIClient.js +7 -4
  74. package/sdk/partner/PartnerClient.d.ts +2 -0
  75. package/sdk/partner/PartnerClient.js +3 -0
  76. package/sdk/partner/Theme/ThemePartnerClient.d.ts +299 -0
  77. package/sdk/partner/Theme/ThemePartnerClient.js +768 -0
  78. package/sdk/partner/Theme/ThemePartnerModel.d.ts +1706 -0
  79. package/sdk/partner/Theme/ThemePartnerModel.js +1409 -0
  80. package/sdk/partner/Theme/ThemePartnerValidator.d.ts +22 -0
  81. package/sdk/partner/Theme/ThemePartnerValidator.js +157 -0
  82. package/sdk/partner/index.d.ts +3 -1
  83. package/sdk/partner/index.js +3 -1
  84. package/sdk/platform/AuditTrail/AuditTrailPlatformClient.d.ts +8 -4
  85. package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +38 -16
  86. package/sdk/platform/AuditTrail/AuditTrailPlatformModel.d.ts +1 -13
  87. package/sdk/platform/AuditTrail/AuditTrailPlatformModel.js +0 -12
  88. package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.d.ts +10 -0
  89. package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.js +4 -0
  90. package/sdk/platform/Billing/BillingPlatformClient.d.ts +59 -14
  91. package/sdk/platform/Billing/BillingPlatformClient.js +315 -64
  92. package/sdk/platform/Billing/BillingPlatformModel.d.ts +56 -196
  93. package/sdk/platform/Billing/BillingPlatformModel.js +63 -217
  94. package/sdk/platform/Billing/BillingPlatformValidator.d.ts +23 -1
  95. package/sdk/platform/Billing/BillingPlatformValidator.js +31 -0
  96. package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +124 -63
  97. package/sdk/platform/Cart/CartPlatformApplicationClient.js +431 -265
  98. package/sdk/platform/Cart/CartPlatformModel.d.ts +253 -53
  99. package/sdk/platform/Cart/CartPlatformModel.js +104 -54
  100. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +120 -53
  101. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +398 -247
  102. package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +155 -78
  103. package/sdk/platform/Catalog/CatalogPlatformClient.js +561 -355
  104. package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +10 -12
  105. package/sdk/platform/Catalog/CatalogPlatformModel.js +10 -12
  106. package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +30 -0
  107. package/sdk/platform/Catalog/CatalogPlatformValidator.js +13 -0
  108. package/sdk/platform/Common/CommonPlatformClient.d.ts +5 -3
  109. package/sdk/platform/Common/CommonPlatformClient.js +13 -11
  110. package/sdk/platform/Common/CommonPlatformModel.d.ts +39 -64
  111. package/sdk/platform/Common/CommonPlatformModel.js +23 -57
  112. package/sdk/platform/Common/CommonPlatformValidator.d.ts +5 -10
  113. package/sdk/platform/Common/CommonPlatformValidator.js +3 -4
  114. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +370 -120
  115. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +2328 -888
  116. package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.d.ts +143 -24
  117. package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.js +179 -15
  118. package/sdk/platform/Communication/CommunicationPlatformClient.d.ts +2 -1
  119. package/sdk/platform/Communication/CommunicationPlatformClient.js +6 -5
  120. package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +386 -308
  121. package/sdk/platform/Communication/CommunicationPlatformModel.js +415 -355
  122. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +38 -13
  123. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +171 -57
  124. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +53 -1
  125. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +54 -0
  126. package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.d.ts +5 -1
  127. package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.js +7 -0
  128. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +96 -29
  129. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +311 -126
  130. package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.d.ts +5 -1
  131. package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.js +7 -0
  132. package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +36 -18
  133. package/sdk/platform/Configuration/ConfigurationPlatformClient.js +121 -86
  134. package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +13 -180
  135. package/sdk/platform/Configuration/ConfigurationPlatformModel.js +5 -113
  136. package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +162 -70
  137. package/sdk/platform/Content/ContentPlatformApplicationClient.js +528 -309
  138. package/sdk/platform/Content/ContentPlatformModel.d.ts +9 -198
  139. package/sdk/platform/Content/ContentPlatformModel.js +8 -231
  140. package/sdk/platform/Discount/DiscountPlatformClient.d.ts +48 -11
  141. package/sdk/platform/Discount/DiscountPlatformClient.js +142 -48
  142. package/sdk/platform/Discount/DiscountPlatformModel.d.ts +40 -1
  143. package/sdk/platform/Discount/DiscountPlatformModel.js +27 -0
  144. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +84 -18
  145. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +486 -53
  146. package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.d.ts +71 -7
  147. package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.js +81 -5
  148. package/sdk/platform/FileStorage/FileStoragePlatformClient.d.ts +13 -18
  149. package/sdk/platform/FileStorage/FileStoragePlatformClient.js +58 -65
  150. package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +198 -71
  151. package/sdk/platform/FileStorage/FileStoragePlatformModel.js +212 -64
  152. package/sdk/platform/FileStorage/FileStoragePlatformValidator.d.ts +18 -10
  153. package/sdk/platform/FileStorage/FileStoragePlatformValidator.js +11 -6
  154. package/sdk/platform/Finance/FinancePlatformClient.d.ts +177 -40
  155. package/sdk/platform/Finance/FinancePlatformClient.js +1028 -132
  156. package/sdk/platform/Finance/FinancePlatformModel.d.ts +670 -22
  157. package/sdk/platform/Finance/FinancePlatformModel.js +809 -23
  158. package/sdk/platform/Finance/FinancePlatformValidator.d.ts +111 -1
  159. package/sdk/platform/Finance/FinancePlatformValidator.js +134 -0
  160. package/sdk/platform/Inventory/InventoryPlatformClient.d.ts +24 -12
  161. package/sdk/platform/Inventory/InventoryPlatformClient.js +94 -52
  162. package/sdk/platform/Lead/LeadPlatformApplicationClient.d.ts +27 -13
  163. package/sdk/platform/Lead/LeadPlatformApplicationClient.js +101 -55
  164. package/sdk/platform/Lead/LeadPlatformClient.d.ts +50 -39
  165. package/sdk/platform/Lead/LeadPlatformClient.js +171 -112
  166. package/sdk/platform/Lead/LeadPlatformModel.d.ts +32 -390
  167. package/sdk/platform/Lead/LeadPlatformModel.js +31 -214
  168. package/sdk/platform/Lead/LeadPlatformValidator.d.ts +33 -33
  169. package/sdk/platform/Lead/LeadPlatformValidator.js +23 -23
  170. package/sdk/platform/OAuthClient.js +6 -2
  171. package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +4 -2
  172. package/sdk/platform/Order/OrderPlatformApplicationClient.js +12 -10
  173. package/sdk/platform/Order/OrderPlatformClient.d.ts +165 -71
  174. package/sdk/platform/Order/OrderPlatformClient.js +738 -205
  175. package/sdk/platform/Order/OrderPlatformModel.d.ts +261 -3
  176. package/sdk/platform/Order/OrderPlatformModel.js +225 -2
  177. package/sdk/platform/Order/OrderPlatformValidator.d.ts +104 -3
  178. package/sdk/platform/Order/OrderPlatformValidator.js +85 -2
  179. package/sdk/platform/Partner/PartnerPlatformApplicationClient.d.ts +4 -22
  180. package/sdk/platform/Partner/PartnerPlatformApplicationClient.js +12 -159
  181. package/sdk/platform/Partner/PartnerPlatformApplicationValidator.d.ts +1 -30
  182. package/sdk/platform/Partner/PartnerPlatformApplicationValidator.js +0 -26
  183. package/sdk/platform/Partner/PartnerPlatformModel.d.ts +1 -690
  184. package/sdk/platform/Partner/PartnerPlatformModel.js +0 -809
  185. package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +167 -32
  186. package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +793 -145
  187. package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +91 -1
  188. package/sdk/platform/Payment/PaymentPlatformApplicationValidator.js +91 -0
  189. package/sdk/platform/Payment/PaymentPlatformClient.d.ts +20 -10
  190. package/sdk/platform/Payment/PaymentPlatformClient.js +68 -47
  191. package/sdk/platform/Payment/PaymentPlatformModel.d.ts +549 -7
  192. package/sdk/platform/Payment/PaymentPlatformModel.js +305 -6
  193. package/sdk/platform/PlatformAPIClient.d.ts +3 -3
  194. package/sdk/platform/PlatformAPIClient.js +2 -2
  195. package/sdk/platform/PlatformClient.d.ts +2 -2
  196. package/sdk/platform/PlatformClient.js +4 -4
  197. package/sdk/platform/Rewards/RewardsPlatformApplicationClient.d.ts +28 -12
  198. package/sdk/platform/Rewards/RewardsPlatformApplicationClient.js +90 -53
  199. package/sdk/platform/Rewards/RewardsPlatformModel.d.ts +1 -12
  200. package/sdk/platform/Rewards/RewardsPlatformModel.js +0 -14
  201. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +62 -26
  202. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +210 -93
  203. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.d.ts +20 -11
  204. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.js +23 -11
  205. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +36 -18
  206. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +142 -78
  207. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +12 -3
  208. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +14 -2
  209. package/sdk/platform/Share/SharePlatformApplicationClient.d.ts +10 -26
  210. package/sdk/platform/Share/SharePlatformApplicationClient.js +36 -67
  211. package/sdk/platform/Share/SharePlatformModel.d.ts +4 -4
  212. package/sdk/platform/Share/SharePlatformModel.js +4 -4
  213. package/sdk/platform/Theme/ThemePlatformApplicationClient.d.ts +127 -57
  214. package/sdk/platform/Theme/ThemePlatformApplicationClient.js +564 -189
  215. package/sdk/platform/Theme/ThemePlatformApplicationValidator.d.ts +63 -26
  216. package/sdk/platform/Theme/ThemePlatformApplicationValidator.js +62 -22
  217. package/sdk/platform/Theme/ThemePlatformClient.d.ts +37 -0
  218. package/sdk/platform/Theme/ThemePlatformClient.js +235 -0
  219. package/sdk/platform/Theme/ThemePlatformModel.d.ts +1167 -261
  220. package/sdk/platform/Theme/ThemePlatformModel.js +801 -244
  221. package/sdk/platform/Theme/ThemePlatformValidator.d.ts +32 -0
  222. package/sdk/platform/Theme/ThemePlatformValidator.js +38 -0
  223. package/sdk/platform/User/UserPlatformApplicationClient.d.ts +35 -17
  224. package/sdk/platform/User/UserPlatformApplicationClient.js +132 -73
  225. package/sdk/platform/User/UserPlatformApplicationValidator.d.ts +7 -0
  226. package/sdk/platform/User/UserPlatformApplicationValidator.js +3 -0
  227. package/sdk/platform/User/UserPlatformModel.d.ts +1 -738
  228. package/sdk/platform/User/UserPlatformModel.js +3 -899
  229. package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +120 -7
  230. package/sdk/platform/Webhook/WebhookPlatformClient.js +799 -41
  231. package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +476 -86
  232. package/sdk/platform/Webhook/WebhookPlatformModel.js +388 -89
  233. package/sdk/platform/Webhook/WebhookPlatformValidator.d.ts +96 -9
  234. package/sdk/platform/Webhook/WebhookPlatformValidator.js +117 -5
  235. package/sdk/public/Configuration/ConfigurationPublicClient.d.ts +5 -3
  236. package/sdk/public/Configuration/ConfigurationPublicClient.js +13 -11
  237. package/sdk/public/Configuration/ConfigurationPublicModel.d.ts +3 -106
  238. package/sdk/public/Configuration/ConfigurationPublicModel.js +2 -59
  239. package/sdk/public/Inventory/InventoryPublicClient.d.ts +12 -6
  240. package/sdk/public/Inventory/InventoryPublicClient.js +42 -27
  241. package/sdk/public/Partner/PartnerPublicClient.d.ts +22 -0
  242. package/sdk/public/Partner/PartnerPublicClient.js +110 -0
  243. package/sdk/public/Partner/PartnerPublicModel.d.ts +240 -0
  244. package/sdk/public/Partner/PartnerPublicModel.js +280 -0
  245. package/sdk/public/Partner/PartnerPublicValidator.d.ts +18 -0
  246. package/sdk/public/Partner/PartnerPublicValidator.js +19 -0
  247. package/sdk/public/PublicAPIClient.d.ts +14 -1
  248. package/sdk/public/PublicAPIClient.js +7 -1
  249. package/sdk/public/PublicClient.d.ts +2 -0
  250. package/sdk/public/PublicClient.js +4 -0
  251. package/sdk/public/Webhook/WebhookPublicClient.d.ts +5 -2
  252. package/sdk/public/Webhook/WebhookPublicClient.js +15 -9
  253. package/sdk/public/Webhook/WebhookPublicModel.d.ts +1 -191
  254. package/sdk/public/Webhook/WebhookPublicModel.js +0 -229
  255. package/sdk/public/index.d.ts +1 -0
  256. package/sdk/public/index.js +2 -0
  257. package/sdk/application/ApplicationModels.d.ts +0 -48
  258. package/sdk/application/ApplicationModels.js +0 -38
  259. package/sdk/platform/Partner/PartnerPlatformClient.d.ts +0 -106
  260. package/sdk/platform/Partner/PartnerPlatformClient.js +0 -878
  261. package/sdk/platform/Partner/PartnerPlatformValidator.d.ts +0 -208
  262. package/sdk/platform/Partner/PartnerPlatformValidator.js +0 -169
@@ -443,17 +443,6 @@ export = ConfigurationPlatformModel;
443
443
  * @property {AppInventoryCompanies} [items]
444
444
  * @property {Page} [page]
445
445
  */
446
- /**
447
- * @typedef CompanyAboutAddress
448
- * @property {string} [address_type] - Indicates different office types like
449
- * office, registered, and home.
450
- * @property {string} [address1] - Primary address line of the company
451
- * @property {string} [address2] - Secondary address line of the company
452
- * @property {string} [city] - City name, e.g. Mumbai
453
- * @property {string} [country] - Country name, e.g. India
454
- * @property {number} [pincode] - 6-digit PIN code of the city, e.g. 400001
455
- * @property {string} [state] - State name, e.g. Maharashtra
456
- */
457
446
  /**
458
447
  * @typedef CompanyBrandInfo
459
448
  * @property {string} [brand_banner_portrait_url] - Hosted URL of the brand's
@@ -533,21 +522,6 @@ export = ConfigurationPlatformModel;
533
522
  * @property {string} [updated_at] - ISO 8601 timestamp of sales channel support
534
523
  * currency updation
535
524
  */
536
- /**
537
- * @typedef CurrencyConfig
538
- * @property {string} [_id] - The unique identifier (24-digit Mongo Object ID)
539
- * of all the currency configuration
540
- * @property {string} [code] - 3-character currency code, e.g. INR, USD, EUR.
541
- * @property {string} [created_at] - ISO 8601 timestamp of a given currency creation
542
- * @property {number} [decimal_digits] - Acceptable decimal limits for a given
543
- * currency, e.g. 1.05$ means upto 2 decimal digits can be accepted as a valid
544
- * value of a currency.
545
- * @property {boolean} [is_active] - Currency is enabled or not for the current
546
- * sales channel
547
- * @property {string} [name] - Name of the currency, e.g Indian Rupee
548
- * @property {string} [symbol] - Unique symbol for identifying the currency, e.g. ₹
549
- * @property {string} [updated_at] - ISO 8601 timestamp of a given currency updation
550
- */
551
525
  /**
552
526
  * @typedef CurrencyFeature
553
527
  * @property {string} [default_currency] - 3-letter code of the default currency
@@ -571,7 +545,7 @@ export = ConfigurationPlatformModel;
571
545
  */
572
546
  /**
573
547
  * @typedef DeliveryCharges
574
- * @property {Charges} [charges]
548
+ * @property {Charges[]} [charges] - Holds values for delivery charges.
575
549
  * @property {boolean} [enabled] - Allow delivery charges
576
550
  */
577
551
  /**
@@ -900,7 +874,8 @@ export = ConfigurationPlatformModel;
900
874
  * @typedef InventoryStore
901
875
  * @property {string} [criteria] - All stores or specific (explicit) stores to
902
876
  * be shown on the website
903
- * @property {AppStoreRules} [rules]
877
+ * @property {AppStoreRules[]} [rules] - Rules to show which brands or companies
878
+ * products should be listed on sales channel.
904
879
  * @property {Object[]} [stores] - List of stores
905
880
  */
906
881
  /**
@@ -1408,10 +1383,6 @@ export = ConfigurationPlatformModel;
1408
1383
  * @property {string} [link] - Web URL of brand's Twitter account
1409
1384
  * @property {string} [title] - Name of the social media platform, e.g. Twitter
1410
1385
  */
1411
- /**
1412
- * @typedef UnhandledError
1413
- * @property {string} [message]
1414
- */
1415
1386
  /**
1416
1387
  * @typedef UpdateDomain
1417
1388
  * @property {string} [_id] - The unique identifier (24-digit Mongo Object ID)
@@ -1434,25 +1405,6 @@ export = ConfigurationPlatformModel;
1434
1405
  * @typedef UpdateIntegrationLevelRequest
1435
1406
  * @property {IntegrationLevel[]} [items]
1436
1407
  */
1437
- /**
1438
- * @typedef UserEmail
1439
- * @property {boolean} [active] - Current email is active or not active
1440
- * @property {string} [email] - Email address of the user
1441
- * @property {boolean} [primary] - Indicates current email is primay email or
1442
- * not primary email of user
1443
- * @property {boolean} [verified] - Indicates current email is verified email or
1444
- * not verified email
1445
- */
1446
- /**
1447
- * @typedef UserPhoneNumber
1448
- * @property {boolean} [active] - Current phone number is active or not active
1449
- * @property {number} [country_code] - Country code, e.g. +91
1450
- * @property {string} [phone] - Phone number of the user
1451
- * @property {boolean} [primary] - Indicates current phone number is primay or
1452
- * not primary of user
1453
- * @property {boolean} [verified] - Indicates current phone number is verified
1454
- * or not verified
1455
- */
1456
1408
  /**
1457
1409
  * @typedef ValidationFailedResponse
1458
1410
  * @property {string} [message] - Response message for failed validation
@@ -1479,7 +1431,7 @@ export = ConfigurationPlatformModel;
1479
1431
  declare class ConfigurationPlatformModel {
1480
1432
  }
1481
1433
  declare namespace ConfigurationPlatformModel {
1482
- export { Android, App, AppCartConfig, AppCurrencyResponse, AppDomain, AppFeature, AppFeatureRequest, AppFeatureResponse, AppInventory, AppInventoryCompanies, AppInventoryConfig, AppInventoryPartialUpdate, AppInventoryStores, Application, ApplicationAuth, ApplicationCors, ApplicationDetail, ApplicationInformation, ApplicationInventory, ApplicationMeta, ApplicationRedirections, ApplicationsResponse, ApplicationWebsite, AppLogisticsConfig, AppOrderConfig, AppPaymentConfig, AppStoreRules, AppSupportedCurrency, ArticleAssignmentConfig, ArticleAssignmentRule, ArticleAssignmentRules, AuthenticationConfig, BlogLink, BrandCompanyInfo, BrandsByCompanyResponse, BrandStoreInfo, BuildVersion, BuildVersionHistory, BusinessHighlights, CallbackUrl, CartFeature, Charges, CommonFeature, CommsConfig, CommunicationConfig, CommunicationOptinDialogFeature, CompaniesResponse, CompanyAboutAddress, CompanyBrandInfo, CompanyByBrandsRequest, CompanyByBrandsResponse, CompanyValidator, CompareProductsFeature, CreateApplicationRequest, CreateAppResponse, Credentials, Credit, CurrenciesResponse, Currency, CurrencyConfig, CurrencyFeature, Debit, DefaultCurrency, DeliveryCharges, DeploymentMeta, DeploymentStoreSelectionFeature, Domain, DomainAdd, DomainAddRequest, DomainsResponse, DomainStatus, DomainStatusRequest, DomainStatusResponse, DomainSuggestion, DomainSuggestionsRequest, DomainSuggestionsResponse, FacebookLink, FeedbackFeature, FilterOrderingStoreRequest, Firebase, Freshchat, FreshchatCredentials, FyndRewards, FyndRewardsCredentials, GetIntegrationsOptInsResponse, GoogleMap, GoogleMapCredentials, GooglePlusLink, Gtm, GtmCredentials, HomePageFeature, InformationAddress, InformationPhone, InformationSupport, InstagramLink, Integration, IntegrationConfigResponse, IntegrationLevel, IntegrationMeta, IntegrationOptIn, InvalidPayloadRequest, InventoryArticleAssignment, InventoryBrand, InventoryBrandRule, InventoryCategory, InventoryDiscount, InventoryPaymentConfig, InventoryPrice, InventoryStore, InventoryStoreRule, InventoryValidator, Ios, JsonSchema, LandingImage, LandingPageFeature, LastPatch, LaunchPage, LinkedInLink, Links, ListingPriceFeature, LoyaltyPointsConfig, Methods, MobileAppConfigRequest, MobileAppConfiguration, Moengage, MoengageCredentials, NotFound, OptedApplicationResponse, OptedCompany, OptedInventory, OptedStore, OptedStoreAddress, OptedStoreIntegration, OptOutInventory, OptType, OrderFeature, OrderingStore, OrderingStoreConfig, OrderingStores, OrderingStoresResponse, OrderValidator, OtherEntity, OtherEntityData, OtherSellerApplication, OtherSellerApplications, OtherSellerCompany, Page, PanCardConfig, PaymentModeConfig, PaymentSelectionLock, PcrFeature, PinterestLink, ProductDetailFeature, QrFeature, RegistrationPageFeature, RevenueEngineFeature, RewardPointsConfig, Safetynet, SafetynetCredentials, SecureUrl, Segment, SegmentCredentials, SocialLinks, SplashImage, StoreByBrandsRequest, StoreByBrandsResponse, StoreCriteriaRule, StoreLatLong, StorePriority, StorePriorityRule, StoresResponse, StoreValidator, SuccessMessageResponse, TokenResponse, Tokens, TwitterLink, UnhandledError, UpdateDomain, UpdateDomainTypeRequest, UpdateIntegrationLevelRequest, UserEmail, UserPhoneNumber, ValidationFailedResponse, Validators, VimeoLink, YoutubeLink };
1434
+ export { Android, App, AppCartConfig, AppCurrencyResponse, AppDomain, AppFeature, AppFeatureRequest, AppFeatureResponse, AppInventory, AppInventoryCompanies, AppInventoryConfig, AppInventoryPartialUpdate, AppInventoryStores, Application, ApplicationAuth, ApplicationCors, ApplicationDetail, ApplicationInformation, ApplicationInventory, ApplicationMeta, ApplicationRedirections, ApplicationsResponse, ApplicationWebsite, AppLogisticsConfig, AppOrderConfig, AppPaymentConfig, AppStoreRules, AppSupportedCurrency, ArticleAssignmentConfig, ArticleAssignmentRule, ArticleAssignmentRules, AuthenticationConfig, BlogLink, BrandCompanyInfo, BrandsByCompanyResponse, BrandStoreInfo, BuildVersion, BuildVersionHistory, BusinessHighlights, CallbackUrl, CartFeature, Charges, CommonFeature, CommsConfig, CommunicationConfig, CommunicationOptinDialogFeature, CompaniesResponse, CompanyBrandInfo, CompanyByBrandsRequest, CompanyByBrandsResponse, CompanyValidator, CompareProductsFeature, CreateApplicationRequest, CreateAppResponse, Credentials, Credit, CurrenciesResponse, Currency, CurrencyFeature, Debit, DefaultCurrency, DeliveryCharges, DeploymentMeta, DeploymentStoreSelectionFeature, Domain, DomainAdd, DomainAddRequest, DomainsResponse, DomainStatus, DomainStatusRequest, DomainStatusResponse, DomainSuggestion, DomainSuggestionsRequest, DomainSuggestionsResponse, FacebookLink, FeedbackFeature, FilterOrderingStoreRequest, Firebase, Freshchat, FreshchatCredentials, FyndRewards, FyndRewardsCredentials, GetIntegrationsOptInsResponse, GoogleMap, GoogleMapCredentials, GooglePlusLink, Gtm, GtmCredentials, HomePageFeature, InformationAddress, InformationPhone, InformationSupport, InstagramLink, Integration, IntegrationConfigResponse, IntegrationLevel, IntegrationMeta, IntegrationOptIn, InvalidPayloadRequest, InventoryArticleAssignment, InventoryBrand, InventoryBrandRule, InventoryCategory, InventoryDiscount, InventoryPaymentConfig, InventoryPrice, InventoryStore, InventoryStoreRule, InventoryValidator, Ios, JsonSchema, LandingImage, LandingPageFeature, LastPatch, LaunchPage, LinkedInLink, Links, ListingPriceFeature, LoyaltyPointsConfig, Methods, MobileAppConfigRequest, MobileAppConfiguration, Moengage, MoengageCredentials, NotFound, OptedApplicationResponse, OptedCompany, OptedInventory, OptedStore, OptedStoreAddress, OptedStoreIntegration, OptOutInventory, OptType, OrderFeature, OrderingStore, OrderingStoreConfig, OrderingStores, OrderingStoresResponse, OrderValidator, OtherEntity, OtherEntityData, OtherSellerApplication, OtherSellerApplications, OtherSellerCompany, Page, PanCardConfig, PaymentModeConfig, PaymentSelectionLock, PcrFeature, PinterestLink, ProductDetailFeature, QrFeature, RegistrationPageFeature, RevenueEngineFeature, RewardPointsConfig, Safetynet, SafetynetCredentials, SecureUrl, Segment, SegmentCredentials, SocialLinks, SplashImage, StoreByBrandsRequest, StoreByBrandsResponse, StoreCriteriaRule, StoreLatLong, StorePriority, StorePriorityRule, StoresResponse, StoreValidator, SuccessMessageResponse, TokenResponse, Tokens, TwitterLink, UpdateDomain, UpdateDomainTypeRequest, UpdateIntegrationLevelRequest, ValidationFailedResponse, Validators, VimeoLink, YoutubeLink };
1483
1435
  }
1484
1436
  /** @returns {Android} */
1485
1437
  declare function Android(): Android;
@@ -2356,39 +2308,6 @@ type CompaniesResponse = {
2356
2308
  items?: AppInventoryCompanies;
2357
2309
  page?: Page;
2358
2310
  };
2359
- /** @returns {CompanyAboutAddress} */
2360
- declare function CompanyAboutAddress(): CompanyAboutAddress;
2361
- type CompanyAboutAddress = {
2362
- /**
2363
- * - Indicates different office types like
2364
- * office, registered, and home.
2365
- */
2366
- address_type?: string;
2367
- /**
2368
- * - Primary address line of the company
2369
- */
2370
- address1?: string;
2371
- /**
2372
- * - Secondary address line of the company
2373
- */
2374
- address2?: string;
2375
- /**
2376
- * - City name, e.g. Mumbai
2377
- */
2378
- city?: string;
2379
- /**
2380
- * - Country name, e.g. India
2381
- */
2382
- country?: string;
2383
- /**
2384
- * - 6-digit PIN code of the city, e.g. 400001
2385
- */
2386
- pincode?: number;
2387
- /**
2388
- * - State name, e.g. Maharashtra
2389
- */
2390
- state?: string;
2391
- };
2392
2311
  /** @returns {CompanyBrandInfo} */
2393
2312
  declare function CompanyBrandInfo(): CompanyBrandInfo;
2394
2313
  type CompanyBrandInfo = {
@@ -2545,46 +2464,6 @@ type Currency = {
2545
2464
  */
2546
2465
  updated_at?: string;
2547
2466
  };
2548
- /** @returns {CurrencyConfig} */
2549
- declare function CurrencyConfig(): CurrencyConfig;
2550
- type CurrencyConfig = {
2551
- /**
2552
- * - The unique identifier (24-digit Mongo Object ID)
2553
- * of all the currency configuration
2554
- */
2555
- _id?: string;
2556
- /**
2557
- * - 3-character currency code, e.g. INR, USD, EUR.
2558
- */
2559
- code?: string;
2560
- /**
2561
- * - ISO 8601 timestamp of a given currency creation
2562
- */
2563
- created_at?: string;
2564
- /**
2565
- * - Acceptable decimal limits for a given
2566
- * currency, e.g. 1.05$ means upto 2 decimal digits can be accepted as a valid
2567
- * value of a currency.
2568
- */
2569
- decimal_digits?: number;
2570
- /**
2571
- * - Currency is enabled or not for the current
2572
- * sales channel
2573
- */
2574
- is_active?: boolean;
2575
- /**
2576
- * - Name of the currency, e.g Indian Rupee
2577
- */
2578
- name?: string;
2579
- /**
2580
- * - Unique symbol for identifying the currency, e.g. ₹
2581
- */
2582
- symbol?: string;
2583
- /**
2584
- * - ISO 8601 timestamp of a given currency updation
2585
- */
2586
- updated_at?: string;
2587
- };
2588
2467
  /** @returns {CurrencyFeature} */
2589
2468
  declare function CurrencyFeature(): CurrencyFeature;
2590
2469
  type CurrencyFeature = {
@@ -2636,7 +2515,10 @@ type DefaultCurrency = {
2636
2515
  /** @returns {DeliveryCharges} */
2637
2516
  declare function DeliveryCharges(): DeliveryCharges;
2638
2517
  type DeliveryCharges = {
2639
- charges?: Charges;
2518
+ /**
2519
+ * - Holds values for delivery charges.
2520
+ */
2521
+ charges?: Charges[];
2640
2522
  /**
2641
2523
  * - Allow delivery charges
2642
2524
  */
@@ -3340,7 +3222,11 @@ type InventoryStore = {
3340
3222
  * be shown on the website
3341
3223
  */
3342
3224
  criteria?: string;
3343
- rules?: AppStoreRules;
3225
+ /**
3226
+ * - Rules to show which brands or companies
3227
+ * products should be listed on sales channel.
3228
+ */
3229
+ rules?: AppStoreRules[];
3344
3230
  /**
3345
3231
  * - List of stores
3346
3232
  */
@@ -4359,11 +4245,6 @@ type TwitterLink = {
4359
4245
  */
4360
4246
  title?: string;
4361
4247
  };
4362
- /** @returns {UnhandledError} */
4363
- declare function UnhandledError(): UnhandledError;
4364
- type UnhandledError = {
4365
- message?: string;
4366
- };
4367
4248
  /** @returns {UpdateDomain} */
4368
4249
  declare function UpdateDomain(): UpdateDomain;
4369
4250
  type UpdateDomain = {
@@ -4407,54 +4288,6 @@ declare function UpdateIntegrationLevelRequest(): UpdateIntegrationLevelRequest;
4407
4288
  type UpdateIntegrationLevelRequest = {
4408
4289
  items?: IntegrationLevel[];
4409
4290
  };
4410
- /** @returns {UserEmail} */
4411
- declare function UserEmail(): UserEmail;
4412
- type UserEmail = {
4413
- /**
4414
- * - Current email is active or not active
4415
- */
4416
- active?: boolean;
4417
- /**
4418
- * - Email address of the user
4419
- */
4420
- email?: string;
4421
- /**
4422
- * - Indicates current email is primay email or
4423
- * not primary email of user
4424
- */
4425
- primary?: boolean;
4426
- /**
4427
- * - Indicates current email is verified email or
4428
- * not verified email
4429
- */
4430
- verified?: boolean;
4431
- };
4432
- /** @returns {UserPhoneNumber} */
4433
- declare function UserPhoneNumber(): UserPhoneNumber;
4434
- type UserPhoneNumber = {
4435
- /**
4436
- * - Current phone number is active or not active
4437
- */
4438
- active?: boolean;
4439
- /**
4440
- * - Country code, e.g. +91
4441
- */
4442
- country_code?: number;
4443
- /**
4444
- * - Phone number of the user
4445
- */
4446
- phone?: string;
4447
- /**
4448
- * - Indicates current phone number is primay or
4449
- * not primary of user
4450
- */
4451
- primary?: boolean;
4452
- /**
4453
- * - Indicates current phone number is verified
4454
- * or not verified
4455
- */
4456
- verified?: boolean;
4457
- };
4458
4291
  /** @returns {ValidationFailedResponse} */
4459
4292
  declare function ValidationFailedResponse(): ValidationFailedResponse;
4460
4293
  type ValidationFailedResponse = {
@@ -491,18 +491,6 @@ const Joi = require("joi");
491
491
  * @property {Page} [page]
492
492
  */
493
493
 
494
- /**
495
- * @typedef CompanyAboutAddress
496
- * @property {string} [address_type] - Indicates different office types like
497
- * office, registered, and home.
498
- * @property {string} [address1] - Primary address line of the company
499
- * @property {string} [address2] - Secondary address line of the company
500
- * @property {string} [city] - City name, e.g. Mumbai
501
- * @property {string} [country] - Country name, e.g. India
502
- * @property {number} [pincode] - 6-digit PIN code of the city, e.g. 400001
503
- * @property {string} [state] - State name, e.g. Maharashtra
504
- */
505
-
506
494
  /**
507
495
  * @typedef CompanyBrandInfo
508
496
  * @property {string} [brand_banner_portrait_url] - Hosted URL of the brand's
@@ -593,22 +581,6 @@ const Joi = require("joi");
593
581
  * currency updation
594
582
  */
595
583
 
596
- /**
597
- * @typedef CurrencyConfig
598
- * @property {string} [_id] - The unique identifier (24-digit Mongo Object ID)
599
- * of all the currency configuration
600
- * @property {string} [code] - 3-character currency code, e.g. INR, USD, EUR.
601
- * @property {string} [created_at] - ISO 8601 timestamp of a given currency creation
602
- * @property {number} [decimal_digits] - Acceptable decimal limits for a given
603
- * currency, e.g. 1.05$ means upto 2 decimal digits can be accepted as a valid
604
- * value of a currency.
605
- * @property {boolean} [is_active] - Currency is enabled or not for the current
606
- * sales channel
607
- * @property {string} [name] - Name of the currency, e.g Indian Rupee
608
- * @property {string} [symbol] - Unique symbol for identifying the currency, e.g. ₹
609
- * @property {string} [updated_at] - ISO 8601 timestamp of a given currency updation
610
- */
611
-
612
584
  /**
613
585
  * @typedef CurrencyFeature
614
586
  * @property {string} [default_currency] - 3-letter code of the default currency
@@ -635,7 +607,7 @@ const Joi = require("joi");
635
607
 
636
608
  /**
637
609
  * @typedef DeliveryCharges
638
- * @property {Charges} [charges]
610
+ * @property {Charges[]} [charges] - Holds values for delivery charges.
639
611
  * @property {boolean} [enabled] - Allow delivery charges
640
612
  */
641
613
 
@@ -1009,7 +981,8 @@ const Joi = require("joi");
1009
981
  * @typedef InventoryStore
1010
982
  * @property {string} [criteria] - All stores or specific (explicit) stores to
1011
983
  * be shown on the website
1012
- * @property {AppStoreRules} [rules]
984
+ * @property {AppStoreRules[]} [rules] - Rules to show which brands or companies
985
+ * products should be listed on sales channel.
1013
986
  * @property {Object[]} [stores] - List of stores
1014
987
  */
1015
988
 
@@ -1585,11 +1558,6 @@ const Joi = require("joi");
1585
1558
  * @property {string} [title] - Name of the social media platform, e.g. Twitter
1586
1559
  */
1587
1560
 
1588
- /**
1589
- * @typedef UnhandledError
1590
- * @property {string} [message]
1591
- */
1592
-
1593
1561
  /**
1594
1562
  * @typedef UpdateDomain
1595
1563
  * @property {string} [_id] - The unique identifier (24-digit Mongo Object ID)
@@ -1615,27 +1583,6 @@ const Joi = require("joi");
1615
1583
  * @property {IntegrationLevel[]} [items]
1616
1584
  */
1617
1585
 
1618
- /**
1619
- * @typedef UserEmail
1620
- * @property {boolean} [active] - Current email is active or not active
1621
- * @property {string} [email] - Email address of the user
1622
- * @property {boolean} [primary] - Indicates current email is primay email or
1623
- * not primary email of user
1624
- * @property {boolean} [verified] - Indicates current email is verified email or
1625
- * not verified email
1626
- */
1627
-
1628
- /**
1629
- * @typedef UserPhoneNumber
1630
- * @property {boolean} [active] - Current phone number is active or not active
1631
- * @property {number} [country_code] - Country code, e.g. +91
1632
- * @property {string} [phone] - Phone number of the user
1633
- * @property {boolean} [primary] - Indicates current phone number is primay or
1634
- * not primary of user
1635
- * @property {boolean} [verified] - Indicates current phone number is verified
1636
- * or not verified
1637
- */
1638
-
1639
1586
  /**
1640
1587
  * @typedef ValidationFailedResponse
1641
1588
  * @property {string} [message] - Response message for failed validation
@@ -2176,19 +2123,6 @@ class ConfigurationPlatformModel {
2176
2123
  });
2177
2124
  }
2178
2125
 
2179
- /** @returns {CompanyAboutAddress} */
2180
- static CompanyAboutAddress() {
2181
- return Joi.object({
2182
- address_type: Joi.string().allow(""),
2183
- address1: Joi.string().allow(""),
2184
- address2: Joi.string().allow(""),
2185
- city: Joi.string().allow(""),
2186
- country: Joi.string().allow(""),
2187
- pincode: Joi.number(),
2188
- state: Joi.string().allow(""),
2189
- });
2190
- }
2191
-
2192
2126
  /** @returns {CompanyBrandInfo} */
2193
2127
  static CompanyBrandInfo() {
2194
2128
  return Joi.object({
@@ -2288,20 +2222,6 @@ class ConfigurationPlatformModel {
2288
2222
  });
2289
2223
  }
2290
2224
 
2291
- /** @returns {CurrencyConfig} */
2292
- static CurrencyConfig() {
2293
- return Joi.object({
2294
- _id: Joi.string().allow(""),
2295
- code: Joi.string().allow(""),
2296
- created_at: Joi.string().allow(""),
2297
- decimal_digits: Joi.number(),
2298
- is_active: Joi.boolean(),
2299
- name: Joi.string().allow(""),
2300
- symbol: Joi.string().allow(""),
2301
- updated_at: Joi.string().allow(""),
2302
- });
2303
- }
2304
-
2305
2225
  /** @returns {CurrencyFeature} */
2306
2226
  static CurrencyFeature() {
2307
2227
  return Joi.object({
@@ -2331,7 +2251,7 @@ class ConfigurationPlatformModel {
2331
2251
  /** @returns {DeliveryCharges} */
2332
2252
  static DeliveryCharges() {
2333
2253
  return Joi.object({
2334
- charges: ConfigurationPlatformModel.Charges(),
2254
+ charges: Joi.array().items(ConfigurationPlatformModel.Charges()),
2335
2255
  enabled: Joi.boolean(),
2336
2256
  });
2337
2257
  }
@@ -2746,7 +2666,7 @@ class ConfigurationPlatformModel {
2746
2666
  static InventoryStore() {
2747
2667
  return Joi.object({
2748
2668
  criteria: Joi.string().allow(""),
2749
- rules: ConfigurationPlatformModel.AppStoreRules(),
2669
+ rules: Joi.array().items(ConfigurationPlatformModel.AppStoreRules()),
2750
2670
  stores: Joi.array().items(Joi.any()),
2751
2671
  });
2752
2672
  }
@@ -3391,13 +3311,6 @@ class ConfigurationPlatformModel {
3391
3311
  });
3392
3312
  }
3393
3313
 
3394
- /** @returns {UnhandledError} */
3395
- static UnhandledError() {
3396
- return Joi.object({
3397
- message: Joi.string().allow(""),
3398
- });
3399
- }
3400
-
3401
3314
  /** @returns {UpdateDomain} */
3402
3315
  static UpdateDomain() {
3403
3316
  return Joi.object({
@@ -3424,27 +3337,6 @@ class ConfigurationPlatformModel {
3424
3337
  });
3425
3338
  }
3426
3339
 
3427
- /** @returns {UserEmail} */
3428
- static UserEmail() {
3429
- return Joi.object({
3430
- active: Joi.boolean(),
3431
- email: Joi.string().allow(""),
3432
- primary: Joi.boolean(),
3433
- verified: Joi.boolean(),
3434
- });
3435
- }
3436
-
3437
- /** @returns {UserPhoneNumber} */
3438
- static UserPhoneNumber() {
3439
- return Joi.object({
3440
- active: Joi.boolean(),
3441
- country_code: Joi.number(),
3442
- phone: Joi.string().allow(""),
3443
- primary: Joi.boolean(),
3444
- verified: Joi.boolean(),
3445
- });
3446
- }
3447
-
3448
3340
  /** @returns {ValidationFailedResponse} */
3449
3341
  static ValidationFailedResponse() {
3450
3342
  return Joi.object({