@gofynd/fdk-client-javascript 1.4.2-beta.7 → 1.4.4

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 (254) hide show
  1. package/README.md +1 -10
  2. package/application.d.ts +3 -3
  3. package/common.d.ts +3 -3
  4. package/index.d.ts +15 -15
  5. package/package.json +5 -3
  6. package/partner.d.ts +3 -3
  7. package/platform.d.ts +3 -3
  8. package/public.d.ts +2 -2
  9. package/sdk/application/ApplicationAPIClient.d.ts +1 -1
  10. package/sdk/application/ApplicationAPIClient.js +0 -1
  11. package/sdk/application/ApplicationClient.d.ts +17 -17
  12. package/sdk/application/ApplicationConfig.d.ts +3 -3
  13. package/sdk/application/Cart/CartApplicationClient.d.ts +58 -58
  14. package/sdk/application/Cart/CartApplicationClient.js +56 -56
  15. package/sdk/application/Cart/CartApplicationValidator.d.ts +1 -1
  16. package/sdk/application/Catalog/CatalogApplicationClient.d.ts +72 -72
  17. package/sdk/application/Catalog/CatalogApplicationClient.js +69 -69
  18. package/sdk/application/Common/CommonApplicationClient.d.ts +6 -6
  19. package/sdk/application/Common/CommonApplicationClient.js +4 -4
  20. package/sdk/application/Communication/CommunicationApplicationClient.d.ts +8 -8
  21. package/sdk/application/Communication/CommunicationApplicationClient.js +6 -6
  22. package/sdk/application/Communication/CommunicationApplicationValidator.d.ts +1 -1
  23. package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +34 -34
  24. package/sdk/application/Configuration/ConfigurationApplicationClient.js +32 -32
  25. package/sdk/application/Configuration/ConfigurationApplicationValidator.d.ts +1 -1
  26. package/sdk/application/Content/ContentApplicationClient.d.ts +48 -48
  27. package/sdk/application/Content/ContentApplicationClient.js +45 -45
  28. package/sdk/application/Content/ContentApplicationModel.d.ts +18 -18
  29. package/sdk/application/Content/ContentApplicationModel.js +26 -26
  30. package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +7 -7
  31. package/sdk/application/FileStorage/FileStorageApplicationClient.js +15 -9
  32. package/sdk/application/FileStorage/FileStorageApplicationValidator.d.ts +1 -1
  33. package/sdk/application/Lead/LeadApplicationClient.d.ts +12 -12
  34. package/sdk/application/Lead/LeadApplicationClient.js +10 -10
  35. package/sdk/application/Lead/LeadApplicationModel.d.ts +64 -77
  36. package/sdk/application/Lead/LeadApplicationModel.js +42 -52
  37. package/sdk/application/Lead/LeadApplicationValidator.d.ts +1 -1
  38. package/sdk/application/Logistic/LogisticApplicationClient.d.ts +24 -24
  39. package/sdk/application/Logistic/LogisticApplicationClient.js +22 -22
  40. package/sdk/application/Logistic/LogisticApplicationValidator.d.ts +1 -1
  41. package/sdk/application/Order/OrderApplicationClient.d.ts +19 -30
  42. package/sdk/application/Order/OrderApplicationClient.js +17 -97
  43. package/sdk/application/Order/OrderApplicationValidator.d.ts +2 -16
  44. package/sdk/application/Order/OrderApplicationValidator.js +0 -13
  45. package/sdk/application/Payment/PaymentApplicationClient.d.ts +91 -91
  46. package/sdk/application/Payment/PaymentApplicationClient.js +94 -94
  47. package/sdk/application/Payment/PaymentApplicationModel.d.ts +5 -2
  48. package/sdk/application/Payment/PaymentApplicationModel.js +4 -2
  49. package/sdk/application/Payment/PaymentApplicationValidator.d.ts +6 -6
  50. package/sdk/application/Payment/PaymentApplicationValidator.js +3 -3
  51. package/sdk/application/PosCart/PosCartApplicationClient.d.ts +29 -29
  52. package/sdk/application/PosCart/PosCartApplicationClient.js +27 -27
  53. package/sdk/application/PosCart/PosCartApplicationValidator.d.ts +1 -1
  54. package/sdk/application/Rewards/RewardsApplicationClient.d.ts +9 -9
  55. package/sdk/application/Rewards/RewardsApplicationClient.js +7 -7
  56. package/sdk/application/Rewards/RewardsApplicationValidator.d.ts +1 -1
  57. package/sdk/application/Share/ShareApplicationClient.d.ts +9 -9
  58. package/sdk/application/Share/ShareApplicationClient.js +7 -7
  59. package/sdk/application/Share/ShareApplicationModel.d.ts +2 -0
  60. package/sdk/application/Share/ShareApplicationModel.js +2 -0
  61. package/sdk/application/Share/ShareApplicationValidator.d.ts +1 -1
  62. package/sdk/application/Theme/ThemeApplicationClient.d.ts +10 -10
  63. package/sdk/application/Theme/ThemeApplicationClient.js +8 -8
  64. package/sdk/application/Theme/ThemeApplicationModel.d.ts +25 -32
  65. package/sdk/application/Theme/ThemeApplicationModel.js +30 -40
  66. package/sdk/application/User/UserApplicationClient.d.ts +76 -76
  67. package/sdk/application/User/UserApplicationClient.js +74 -74
  68. package/sdk/application/User/UserApplicationModel.d.ts +44 -13
  69. package/sdk/application/User/UserApplicationModel.js +17 -13
  70. package/sdk/application/User/UserApplicationValidator.d.ts +1 -1
  71. package/sdk/application/index.d.ts +18 -18
  72. package/sdk/common/AxiosHelper.d.ts +1 -1
  73. package/sdk/common/AxiosHelper.js +38 -17
  74. package/sdk/common/Clickstream.js +22 -16
  75. package/sdk/common/curlHelper.js +1 -3
  76. package/sdk/common/utils.d.ts +15 -0
  77. package/sdk/common/utils.js +30 -0
  78. package/sdk/partner/FileStorage/FileStoragePartnerClient.d.ts +3 -3
  79. package/sdk/partner/FileStorage/FileStoragePartnerClient.js +2 -2
  80. package/sdk/partner/Lead/LeadPartnerClient.d.ts +3 -3
  81. package/sdk/partner/Lead/LeadPartnerClient.js +1 -1
  82. package/sdk/partner/Logistics/LogisticsPartnerClient.d.ts +5 -5
  83. package/sdk/partner/Logistics/LogisticsPartnerClient.js +4 -4
  84. package/sdk/partner/OAuthClient.d.ts +4 -4
  85. package/sdk/partner/PartnerAPIClient.d.ts +1 -1
  86. package/sdk/partner/PartnerAPIClient.js +0 -1
  87. package/sdk/partner/PartnerClient.d.ts +6 -6
  88. package/sdk/partner/PartnerConfig.d.ts +4 -4
  89. package/sdk/partner/Theme/ThemePartnerClient.d.ts +20 -20
  90. package/sdk/partner/Theme/ThemePartnerClient.js +19 -19
  91. package/sdk/partner/Theme/ThemePartnerModel.d.ts +25 -32
  92. package/sdk/partner/Theme/ThemePartnerModel.js +30 -40
  93. package/sdk/partner/Webhook/WebhookPartnerClient.d.ts +3 -3
  94. package/sdk/partner/Webhook/WebhookPartnerClient.js +2 -2
  95. package/sdk/partner/index.d.ts +7 -7
  96. package/sdk/platform/AuditTrail/AuditTrailPlatformClient.d.ts +8 -8
  97. package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +6 -6
  98. package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.d.ts +1 -1
  99. package/sdk/platform/Billing/BillingPlatformClient.d.ts +25 -25
  100. package/sdk/platform/Billing/BillingPlatformClient.js +23 -23
  101. package/sdk/platform/Billing/BillingPlatformValidator.d.ts +1 -1
  102. package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +115 -115
  103. package/sdk/platform/Cart/CartPlatformApplicationClient.js +113 -113
  104. package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +1 -1
  105. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +147 -146
  106. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +146 -145
  107. package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +1 -1
  108. package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +156 -156
  109. package/sdk/platform/Catalog/CatalogPlatformClient.js +153 -153
  110. package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +65 -28
  111. package/sdk/platform/Catalog/CatalogPlatformModel.js +68 -36
  112. package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +1 -1
  113. package/sdk/platform/Common/CommonPlatformClient.d.ts +5 -5
  114. package/sdk/platform/Common/CommonPlatformClient.js +3 -3
  115. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +133 -133
  116. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +131 -131
  117. package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.d.ts +1 -1
  118. package/sdk/platform/Communication/CommunicationPlatformClient.d.ts +4 -4
  119. package/sdk/platform/Communication/CommunicationPlatformClient.js +2 -2
  120. package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +12 -0
  121. package/sdk/platform/Communication/CommunicationPlatformModel.js +12 -0
  122. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +28 -28
  123. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +25 -25
  124. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +2 -0
  125. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +2 -0
  126. package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.d.ts +1 -1
  127. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +52 -52
  128. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +50 -50
  129. package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.d.ts +1 -1
  130. package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +31 -31
  131. package/sdk/platform/Configuration/ConfigurationPlatformClient.js +29 -29
  132. package/sdk/platform/Configuration/ConfigurationPlatformValidator.d.ts +1 -1
  133. package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +128 -128
  134. package/sdk/platform/Content/ContentPlatformApplicationClient.js +131 -131
  135. package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +5 -5
  136. package/sdk/platform/Content/ContentPlatformApplicationValidator.js +4 -4
  137. package/sdk/platform/Content/ContentPlatformClient.d.ts +33 -33
  138. package/sdk/platform/Content/ContentPlatformClient.js +37 -37
  139. package/sdk/platform/Content/ContentPlatformModel.d.ts +18 -18
  140. package/sdk/platform/Content/ContentPlatformModel.js +26 -26
  141. package/sdk/platform/Content/ContentPlatformValidator.d.ts +5 -5
  142. package/sdk/platform/Content/ContentPlatformValidator.js +4 -4
  143. package/sdk/platform/Discount/DiscountPlatformClient.d.ts +24 -24
  144. package/sdk/platform/Discount/DiscountPlatformClient.js +22 -22
  145. package/sdk/platform/Discount/DiscountPlatformValidator.d.ts +1 -1
  146. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +24 -23
  147. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +32 -25
  148. package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.d.ts +1 -1
  149. package/sdk/platform/FileStorage/FileStoragePlatformClient.d.ts +15 -15
  150. package/sdk/platform/FileStorage/FileStoragePlatformClient.js +28 -19
  151. package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +12 -1
  152. package/sdk/platform/FileStorage/FileStoragePlatformModel.js +16 -2
  153. package/sdk/platform/FileStorage/FileStoragePlatformValidator.d.ts +1 -1
  154. package/sdk/platform/Finance/FinancePlatformClient.d.ts +30 -30
  155. package/sdk/platform/Finance/FinancePlatformClient.js +28 -28
  156. package/sdk/platform/Finance/FinancePlatformValidator.d.ts +1 -1
  157. package/sdk/platform/Lead/LeadPlatformApplicationClient.d.ts +19 -19
  158. package/sdk/platform/Lead/LeadPlatformApplicationClient.js +17 -17
  159. package/sdk/platform/Lead/LeadPlatformApplicationValidator.d.ts +1 -1
  160. package/sdk/platform/Lead/LeadPlatformClient.d.ts +20 -20
  161. package/sdk/platform/Lead/LeadPlatformClient.js +18 -18
  162. package/sdk/platform/Lead/LeadPlatformModel.d.ts +62 -77
  163. package/sdk/platform/Lead/LeadPlatformModel.js +40 -52
  164. package/sdk/platform/Lead/LeadPlatformValidator.d.ts +1 -1
  165. package/sdk/platform/OAuthClient.d.ts +3 -3
  166. package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +12 -12
  167. package/sdk/platform/Order/OrderPlatformApplicationClient.js +10 -10
  168. package/sdk/platform/Order/OrderPlatformClient.d.ts +111 -122
  169. package/sdk/platform/Order/OrderPlatformClient.js +109 -204
  170. package/sdk/platform/Order/OrderPlatformModel.d.ts +18 -2
  171. package/sdk/platform/Order/OrderPlatformModel.js +12 -2
  172. package/sdk/platform/Order/OrderPlatformValidator.d.ts +2 -34
  173. package/sdk/platform/Order/OrderPlatformValidator.js +0 -20
  174. package/sdk/platform/Partner/PartnerPlatformApplicationClient.d.ts +6 -6
  175. package/sdk/platform/Partner/PartnerPlatformApplicationClient.js +4 -4
  176. package/sdk/platform/Partner/PartnerPlatformApplicationValidator.d.ts +1 -1
  177. package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +97 -97
  178. package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +95 -95
  179. package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +1 -1
  180. package/sdk/platform/Payment/PaymentPlatformClient.d.ts +13 -13
  181. package/sdk/platform/Payment/PaymentPlatformClient.js +11 -11
  182. package/sdk/platform/Payment/PaymentPlatformModel.d.ts +7 -0
  183. package/sdk/platform/Payment/PaymentPlatformModel.js +3 -0
  184. package/sdk/platform/Payment/PaymentPlatformValidator.d.ts +1 -1
  185. package/sdk/platform/PlatformAPIClient.d.ts +1 -1
  186. package/sdk/platform/PlatformAPIClient.js +0 -1
  187. package/sdk/platform/PlatformApplicationClient.d.ts +16 -16
  188. package/sdk/platform/PlatformClient.d.ts +19 -21
  189. package/sdk/platform/PlatformClient.js +0 -4
  190. package/sdk/platform/PlatformConfig.d.ts +4 -4
  191. package/sdk/platform/Rewards/RewardsPlatformApplicationClient.d.ts +14 -14
  192. package/sdk/platform/Rewards/RewardsPlatformApplicationClient.js +12 -12
  193. package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.d.ts +1 -1
  194. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +42 -42
  195. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +40 -40
  196. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.d.ts +1 -1
  197. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +55 -54
  198. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +53 -52
  199. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +2 -2
  200. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +4 -2
  201. package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.d.ts +1 -1
  202. package/sdk/platform/Share/SharePlatformApplicationClient.d.ts +7 -7
  203. package/sdk/platform/Share/SharePlatformApplicationClient.js +5 -5
  204. package/sdk/platform/Share/SharePlatformApplicationValidator.d.ts +1 -1
  205. package/sdk/platform/Share/SharePlatformModel.d.ts +4 -0
  206. package/sdk/platform/Share/SharePlatformModel.js +4 -0
  207. package/sdk/platform/Theme/ThemePlatformApplicationClient.d.ts +42 -112
  208. package/sdk/platform/Theme/ThemePlatformApplicationClient.js +40 -597
  209. package/sdk/platform/Theme/ThemePlatformApplicationValidator.d.ts +2 -101
  210. package/sdk/platform/Theme/ThemePlatformApplicationValidator.js +0 -92
  211. package/sdk/platform/Theme/ThemePlatformClient.d.ts +8 -8
  212. package/sdk/platform/Theme/ThemePlatformClient.js +6 -6
  213. package/sdk/platform/Theme/ThemePlatformModel.d.ts +25 -32
  214. package/sdk/platform/Theme/ThemePlatformModel.js +30 -40
  215. package/sdk/platform/Theme/ThemePlatformValidator.d.ts +1 -1
  216. package/sdk/platform/User/UserPlatformApplicationClient.d.ts +37 -37
  217. package/sdk/platform/User/UserPlatformApplicationClient.js +35 -35
  218. package/sdk/platform/User/UserPlatformApplicationValidator.d.ts +1 -1
  219. package/sdk/platform/User/UserPlatformModel.d.ts +48 -13
  220. package/sdk/platform/User/UserPlatformModel.js +21 -13
  221. package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +20 -19
  222. package/sdk/platform/Webhook/WebhookPlatformClient.js +18 -17
  223. package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +2 -2
  224. package/sdk/platform/Webhook/WebhookPlatformModel.js +1 -1
  225. package/sdk/platform/Webhook/WebhookPlatformValidator.d.ts +1 -1
  226. package/sdk/platform/index.d.ts +24 -25
  227. package/sdk/platform/index.js +0 -2
  228. package/sdk/public/Billing/BillingPublicClient.d.ts +3 -3
  229. package/sdk/public/Billing/BillingPublicClient.js +4 -4
  230. package/sdk/public/Billing/BillingPublicValidator.d.ts +2 -2
  231. package/sdk/public/Billing/BillingPublicValidator.js +2 -2
  232. package/sdk/public/Configuration/ConfigurationPublicClient.d.ts +3 -3
  233. package/sdk/public/Configuration/ConfigurationPublicClient.js +1 -1
  234. package/sdk/public/Content/ContentPublicClient.d.ts +2 -2
  235. package/sdk/public/Content/ContentPublicValidator.d.ts +2 -2
  236. package/sdk/public/Content/ContentPublicValidator.js +3 -3
  237. package/sdk/public/Inventory/InventoryPublicClient.d.ts +2 -2
  238. package/sdk/public/Inventory/InventoryPublicModel.d.ts +8 -8
  239. package/sdk/public/Inventory/InventoryPublicModel.js +8 -8
  240. package/sdk/public/Inventory/InventoryPublicValidator.d.ts +1 -1
  241. package/sdk/public/Partner/PartnerPublicClient.d.ts +3 -3
  242. package/sdk/public/Partner/PartnerPublicClient.js +1 -1
  243. package/sdk/public/PublicAPIClient.d.ts +1 -1
  244. package/sdk/public/PublicClient.d.ts +7 -7
  245. package/sdk/public/Webhook/WebhookPublicClient.d.ts +4 -4
  246. package/sdk/public/Webhook/WebhookPublicClient.js +2 -2
  247. package/sdk/public/Webhook/WebhookPublicValidator.d.ts +1 -1
  248. package/sdk/public/index.d.ts +8 -8
  249. package/sdk/platform/Inventory/InventoryPlatformClient.d.ts +0 -152
  250. package/sdk/platform/Inventory/InventoryPlatformClient.js +0 -1017
  251. package/sdk/platform/Inventory/InventoryPlatformModel.d.ts +0 -1355
  252. package/sdk/platform/Inventory/InventoryPlatformModel.js +0 -1544
  253. package/sdk/platform/Inventory/InventoryPlatformValidator.d.ts +0 -171
  254. package/sdk/platform/Inventory/InventoryPlatformValidator.js +0 -159
@@ -242,6 +242,7 @@ const Joi = require("joi");
242
242
  * @property {string} username
243
243
  * @property {Object} [meta]
244
244
  * @property {string} [external_id]
245
+ * @property {string} [rr_id]
245
246
  */
246
247
 
247
248
  /**
@@ -445,6 +446,7 @@ const Joi = require("joi");
445
446
  * @property {string} [last_name]
446
447
  * @property {string} [gender]
447
448
  * @property {string} [external_id]
449
+ * @property {string} [rr_id]
448
450
  * @property {Object} [meta]
449
451
  * @property {UserPhoneNumbers[]} [phone_numbers]
450
452
  * @property {UserEmails[]} [emails]
@@ -486,6 +488,7 @@ const Joi = require("joi");
486
488
  * @property {string} [created_at]
487
489
  * @property {string} [updated_at]
488
490
  * @property {string} [external_id]
491
+ * @property {string} [rr_id]
489
492
  */
490
493
 
491
494
  /**
@@ -507,25 +510,26 @@ const Joi = require("joi");
507
510
  * @property {string} [created_at]
508
511
  * @property {string} [updated_at]
509
512
  * @property {string} [external_id]
513
+ * @property {string} [rr_id]
510
514
  * @property {boolean} [archive]
511
515
  * @property {string} [status]
512
516
  */
513
517
 
514
518
  /**
515
519
  * @typedef PhoneNumber
516
- * @property {boolean} [active]
517
- * @property {boolean} [primary]
518
- * @property {boolean} [verified]
519
- * @property {string} [phone]
520
- * @property {number} [country_code]
520
+ * @property {string} [phone] - Phone number
521
+ * @property {number} [country_code] - Country code
522
+ * @property {boolean} [active] - Is the phone number active
523
+ * @property {boolean} [primary] - Is it a primary phone number
524
+ * @property {boolean} [verified] - Is the phone number verified
521
525
  */
522
526
 
523
527
  /**
524
528
  * @typedef Email
525
- * @property {boolean} [primary]
526
- * @property {boolean} [verified]
527
- * @property {string} [email]
528
- * @property {boolean} [active]
529
+ * @property {string} [email] - Email address
530
+ * @property {boolean} [active] - Is the email active
531
+ * @property {boolean} [primary] - Is it a primary email
532
+ * @property {boolean} [verified] - Is the email verified
529
533
  */
530
534
 
531
535
  class UserPlatformModel {
@@ -827,6 +831,7 @@ class UserPlatformModel {
827
831
  username: Joi.string().allow("").required(),
828
832
  meta: Joi.any(),
829
833
  external_id: Joi.string().allow(""),
834
+ rr_id: Joi.string().allow(""),
830
835
  });
831
836
  }
832
837
 
@@ -1078,6 +1083,7 @@ class UserPlatformModel {
1078
1083
  last_name: Joi.string().allow(""),
1079
1084
  gender: Joi.string().allow(""),
1080
1085
  external_id: Joi.string().allow(""),
1086
+ rr_id: Joi.string().allow(""),
1081
1087
  meta: Joi.any(),
1082
1088
  phone_numbers: Joi.array().items(UserPlatformModel.UserPhoneNumbers()),
1083
1089
  emails: Joi.array().items(UserPlatformModel.UserEmails()),
@@ -1125,6 +1131,7 @@ class UserPlatformModel {
1125
1131
  created_at: Joi.string().allow(""),
1126
1132
  updated_at: Joi.string().allow(""),
1127
1133
  external_id: Joi.string().allow(""),
1134
+ rr_id: Joi.string().allow(""),
1128
1135
  });
1129
1136
  }
1130
1137
 
@@ -1148,6 +1155,7 @@ class UserPlatformModel {
1148
1155
  created_at: Joi.string().allow(""),
1149
1156
  updated_at: Joi.string().allow(""),
1150
1157
  external_id: Joi.string().allow(""),
1158
+ rr_id: Joi.string().allow(""),
1151
1159
  archive: Joi.boolean(),
1152
1160
  status: Joi.string().allow(""),
1153
1161
  });
@@ -1156,21 +1164,21 @@ class UserPlatformModel {
1156
1164
  /** @returns {PhoneNumber} */
1157
1165
  static PhoneNumber() {
1158
1166
  return Joi.object({
1167
+ phone: Joi.string().allow(""),
1168
+ country_code: Joi.number(),
1159
1169
  active: Joi.boolean(),
1160
1170
  primary: Joi.boolean(),
1161
1171
  verified: Joi.boolean(),
1162
- phone: Joi.string().allow(""),
1163
- country_code: Joi.number(),
1164
1172
  });
1165
1173
  }
1166
1174
 
1167
1175
  /** @returns {Email} */
1168
1176
  static Email() {
1169
1177
  return Joi.object({
1170
- primary: Joi.boolean(),
1171
- verified: Joi.boolean(),
1172
1178
  email: Joi.string().allow(""),
1173
1179
  active: Joi.boolean(),
1180
+ primary: Joi.boolean(),
1181
+ verified: Joi.boolean(),
1174
1182
  });
1175
1183
  }
1176
1184
  }
@@ -8,8 +8,9 @@ declare class Webhook {
8
8
  * @param {import("../PlatformAPIClient").Options} - Options
9
9
  * @returns {Promise<WebhookPlatformModel.CancelResponse>} - Success response
10
10
  * @name cancelJobByName
11
- * @summary: Cancel job by name.
12
- * @description: Cancel a specific job by its name. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/webhook/cancelJobByName/).
11
+ * @summary: Cancel job by name
12
+ * @description: It will cancel export job triggerd by user in order to fetch
13
+ * historical delivery summery - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/webhook/cancelJobByName/).
13
14
  */
14
15
  cancelJobByName({ filename, requestHeaders }?: WebhookPlatformValidator.CancelJobByNameParam, { responseHeaders }?: object): Promise<WebhookPlatformModel.CancelResponse>;
15
16
  /**
@@ -18,7 +19,7 @@ declare class Webhook {
18
19
  * @param {import("../PlatformAPIClient").Options} - Options
19
20
  * @returns {Promise<WebhookPlatformModel.DownloadReportResponse>} - Success response
20
21
  * @name downloadDeliveryReport
21
- * @summary: Download delivery report.
22
+ * @summary: Download delivery report
22
23
  * @description: Download detailed delivery reports for events. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/webhook/downloadDeliveryReport/).
23
24
  */
24
25
  downloadDeliveryReport({ body, requestHeaders }?: WebhookPlatformValidator.DownloadDeliveryReportParam, { responseHeaders }?: object): Promise<WebhookPlatformModel.DownloadReportResponse>;
@@ -28,7 +29,7 @@ declare class Webhook {
28
29
  * @param {import("../PlatformAPIClient").Options} - Options
29
30
  * @returns {Promise<WebhookPlatformModel.EventConfigResponse>} - Success response
30
31
  * @name fetchAllEventConfigurations
31
- * @summary: Fetch all event configurations.
32
+ * @summary: List event configurations
32
33
  * @description: Retrieve all configurations for event handling. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/webhook/fetchAllEventConfigurations/).
33
34
  */
34
35
  fetchAllEventConfigurations({ requestHeaders }?: any, { responseHeaders }?: object): Promise<WebhookPlatformModel.EventConfigResponse>;
@@ -38,7 +39,7 @@ declare class Webhook {
38
39
  * @param {import("../PlatformAPIClient").Options} - Options
39
40
  * @returns {Promise<WebhookPlatformModel.EventProcessReports>} - Success response
40
41
  * @name getDeliveryReports
41
- * @summary: Get delivery reports.
42
+ * @summary: Get delivery reports
42
43
  * @description: Retrieve reports on the delivery status of events. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/webhook/getDeliveryReports/).
43
44
  */
44
45
  getDeliveryReports({ body, requestHeaders }?: WebhookPlatformValidator.GetDeliveryReportsParam, { responseHeaders }?: object): Promise<WebhookPlatformModel.EventProcessReports>;
@@ -48,7 +49,7 @@ declare class Webhook {
48
49
  * @param {import("../PlatformAPIClient").Options} - Options
49
50
  * @returns {Promise<WebhookPlatformModel.RetryCountResponse>} - Success response
50
51
  * @name getEventCounts
51
- * @summary: Get event counts.
52
+ * @summary: Get event counts
52
53
  * @description: Retrieve the counts of events based on their status. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/webhook/getEventCounts/).
53
54
  */
54
55
  getEventCounts({ body, requestHeaders }?: WebhookPlatformValidator.GetEventCountsParam, { responseHeaders }?: object): Promise<WebhookPlatformModel.RetryCountResponse>;
@@ -58,7 +59,7 @@ declare class Webhook {
58
59
  * @param {import("../PlatformAPIClient").Options} - Options
59
60
  * @returns {Promise<WebhookPlatformModel.HistoryResponse>} - Success response
60
61
  * @name getHistoricalReports
61
- * @summary: Get historical reports.
62
+ * @summary: Get historical reports
62
63
  * @description: Retrieve historical reports of webhook events. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/webhook/getHistoricalReports/).
63
64
  */
64
65
  getHistoricalReports({ body, requestHeaders }?: WebhookPlatformValidator.GetHistoricalReportsParam, { responseHeaders }?: object): Promise<WebhookPlatformModel.HistoryResponse>;
@@ -68,7 +69,7 @@ declare class Webhook {
68
69
  * @param {import("../PlatformAPIClient").Options} - Options
69
70
  * @returns {Promise<WebhookPlatformModel.RetryStatusResponse>} - Success response
70
71
  * @name getManualRetryStatus
71
- * @summary: Get manual retry status.
72
+ * @summary: Get manual retry status
72
73
  * @description: Check the status of a manual retry operation. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/webhook/getManualRetryStatus/).
73
74
  */
74
75
  getManualRetryStatus({ requestHeaders }?: any, { responseHeaders }?: object): Promise<WebhookPlatformModel.RetryStatusResponse>;
@@ -78,7 +79,7 @@ declare class Webhook {
78
79
  * @param {import("../PlatformAPIClient").Options} - Options
79
80
  * @returns {Promise<WebhookPlatformModel.ReportFilterResponse[]>} - Success response
80
81
  * @name getReportFilters
81
- * @summary: Get report filters.
82
+ * @summary: Get report filters
82
83
  * @description: Retrieve filters used for generating reports. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/webhook/getReportFilters/).
83
84
  */
84
85
  getReportFilters({ body, requestHeaders }?: WebhookPlatformValidator.GetReportFiltersParam, { responseHeaders }?: object): Promise<WebhookPlatformModel.ReportFilterResponse[]>;
@@ -88,7 +89,7 @@ declare class Webhook {
88
89
  * @param {import("../PlatformAPIClient").Options} - Options
89
90
  * @returns {Promise<WebhookPlatformModel.SubscriberResponse>} - Success response
90
91
  * @name getSubscriberById
91
- * @summary: Get subscriber by ID.
92
+ * @summary: Get a subscriber
92
93
  * @description: Retrieve a subscriber's details by their unique identifier. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/webhook/getSubscriberById/).
93
94
  */
94
95
  getSubscriberById({ subscriberId, requestHeaders }?: WebhookPlatformValidator.GetSubscriberByIdParam, { responseHeaders }?: object): Promise<WebhookPlatformModel.SubscriberResponse>;
@@ -98,7 +99,7 @@ declare class Webhook {
98
99
  * @param {import("../PlatformAPIClient").Options} - Options
99
100
  * @returns {Promise<WebhookPlatformModel.SubscriberConfigList>} - Success response
100
101
  * @name getSubscribersByCompany
101
- * @summary: Get subscribers by company.
102
+ * @summary: List subscribers by company
102
103
  * @description: Retrieve subscribers associated with a company. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/webhook/getSubscribersByCompany/).
103
104
  */
104
105
  getSubscribersByCompany({ pageNo, pageSize, extensionId, requestHeaders }?: WebhookPlatformValidator.GetSubscribersByCompanyParam, { responseHeaders }?: object): Promise<WebhookPlatformModel.SubscriberConfigList>;
@@ -108,7 +109,7 @@ declare class Webhook {
108
109
  * @param {import("../PlatformAPIClient").Options} - Options
109
110
  * @returns {Promise<WebhookPlatformModel.SubscriberConfigList>} - Success response
110
111
  * @name getSubscribersByExtensionId
111
- * @summary: Get subscribers by extension ID.
112
+ * @summary: List subscribers by extension ID
112
113
  * @description: Retrieve subscribers associated with a specific extension. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/webhook/getSubscribersByExtensionId/).
113
114
  */
114
115
  getSubscribersByExtensionId({ extensionId, pageNo, pageSize, requestHeaders }?: WebhookPlatformValidator.GetSubscribersByExtensionIdParam, { responseHeaders }?: object): Promise<WebhookPlatformModel.SubscriberConfigList>;
@@ -118,7 +119,7 @@ declare class Webhook {
118
119
  * @param {import("../PlatformAPIClient").Options} - Options
119
120
  * @returns {Promise<string>} - Success response
120
121
  * @name manualRetryCancel
121
- * @summary: Manual retry cancellation.
122
+ * @summary: Manual retry cancellation
122
123
  * @description: Cancel a manual retry operation for a failed event. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/webhook/manualRetryCancel/).
123
124
  */
124
125
  manualRetryCancel({ requestHeaders }?: any, { responseHeaders }?: object): Promise<string>;
@@ -128,7 +129,7 @@ declare class Webhook {
128
129
  * @param {import("../PlatformAPIClient").Options} - Options
129
130
  * @returns {Promise<WebhookPlatformModel.RetrySuccessResponse>} - Success response
130
131
  * @name manualRetryOfFailedEvent
131
- * @summary: Manual retry of failed event.
132
+ * @summary: Manual retry of failed event
132
133
  * @description: Trigger a manual retry for an event that failed to deliver. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/webhook/manualRetryOfFailedEvent/).
133
134
  */
134
135
  manualRetryOfFailedEvent({ body, requestHeaders }?: WebhookPlatformValidator.ManualRetryOfFailedEventParam, { responseHeaders }?: object): Promise<WebhookPlatformModel.RetrySuccessResponse>;
@@ -138,7 +139,7 @@ declare class Webhook {
138
139
  * @param {import("../PlatformAPIClient").Options} - Options
139
140
  * @returns {Promise<WebhookPlatformModel.PingWebhookResponse>} - Success response
140
141
  * @name pingWebhook
141
- * @summary: Ping webhook.
142
+ * @summary: Ping webhook
142
143
  * @description: Send a test ping to a webhook for verification. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/webhook/pingWebhook/).
143
144
  */
144
145
  pingWebhook({ body, requestHeaders }?: WebhookPlatformValidator.PingWebhookParam, { responseHeaders }?: object): Promise<WebhookPlatformModel.PingWebhookResponse>;
@@ -149,7 +150,7 @@ declare class Webhook {
149
150
  * @returns {Promise<WebhookPlatformModel.SubscriberConfigResponse>} -
150
151
  * Success response
151
152
  * @name registerSubscriberToEvent
152
- * @summary: Register subscriber to event.
153
+ * @summary: Register subscriber to event
153
154
  * @description: Add a subscriber to receive events of a specific type. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/webhook/registerSubscriberToEvent/).
154
155
  */
155
156
  registerSubscriberToEvent({ body, requestHeaders }?: WebhookPlatformValidator.RegisterSubscriberToEventParam, { responseHeaders }?: object): Promise<WebhookPlatformModel.SubscriberConfigResponse>;
@@ -160,10 +161,10 @@ declare class Webhook {
160
161
  * @returns {Promise<WebhookPlatformModel.SubscriberConfigResponse>} -
161
162
  * Success response
162
163
  * @name updateSubscriberConfig
163
- * @summary: Update subscriber config.
164
+ * @summary: Update a subscriber config
164
165
  * @description: Modify and update subscriber configuration settings. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/webhook/updateSubscriberConfig/).
165
166
  */
166
167
  updateSubscriberConfig({ body, requestHeaders }?: WebhookPlatformValidator.UpdateSubscriberConfigParam, { responseHeaders }?: object): Promise<WebhookPlatformModel.SubscriberConfigResponse>;
167
168
  }
168
- import WebhookPlatformValidator = require("./WebhookPlatformValidator");
169
- import WebhookPlatformModel = require("./WebhookPlatformModel");
169
+ import WebhookPlatformValidator = require("sdk/output/javascript/code/sdk/platform/Webhook/WebhookPlatformValidator");
170
+ import WebhookPlatformModel = require("sdk/output/javascript/code/sdk/platform/Webhook/WebhookPlatformModel");
@@ -20,8 +20,9 @@ class Webhook {
20
20
  * @param {import("../PlatformAPIClient").Options} - Options
21
21
  * @returns {Promise<WebhookPlatformModel.CancelResponse>} - Success response
22
22
  * @name cancelJobByName
23
- * @summary: Cancel job by name.
24
- * @description: Cancel a specific job by its name. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/webhook/cancelJobByName/).
23
+ * @summary: Cancel job by name
24
+ * @description: It will cancel export job triggerd by user in order to fetch
25
+ * historical delivery summery - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/webhook/cancelJobByName/).
25
26
  */
26
27
  async cancelJobByName(
27
28
  { filename, requestHeaders } = { requestHeaders: {} },
@@ -99,7 +100,7 @@ class Webhook {
99
100
  * @param {import("../PlatformAPIClient").Options} - Options
100
101
  * @returns {Promise<WebhookPlatformModel.DownloadReportResponse>} - Success response
101
102
  * @name downloadDeliveryReport
102
- * @summary: Download delivery report.
103
+ * @summary: Download delivery report
103
104
  * @description: Download detailed delivery reports for events. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/webhook/downloadDeliveryReport/).
104
105
  */
105
106
  async downloadDeliveryReport(
@@ -180,7 +181,7 @@ class Webhook {
180
181
  * @param {import("../PlatformAPIClient").Options} - Options
181
182
  * @returns {Promise<WebhookPlatformModel.EventConfigResponse>} - Success response
182
183
  * @name fetchAllEventConfigurations
183
- * @summary: Fetch all event configurations.
184
+ * @summary: List event configurations
184
185
  * @description: Retrieve all configurations for event handling. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/webhook/fetchAllEventConfigurations/).
185
186
  */
186
187
  async fetchAllEventConfigurations(
@@ -257,7 +258,7 @@ class Webhook {
257
258
  * @param {import("../PlatformAPIClient").Options} - Options
258
259
  * @returns {Promise<WebhookPlatformModel.EventProcessReports>} - Success response
259
260
  * @name getDeliveryReports
260
- * @summary: Get delivery reports.
261
+ * @summary: Get delivery reports
261
262
  * @description: Retrieve reports on the delivery status of events. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/webhook/getDeliveryReports/).
262
263
  */
263
264
  async getDeliveryReports(
@@ -336,7 +337,7 @@ class Webhook {
336
337
  * @param {import("../PlatformAPIClient").Options} - Options
337
338
  * @returns {Promise<WebhookPlatformModel.RetryCountResponse>} - Success response
338
339
  * @name getEventCounts
339
- * @summary: Get event counts.
340
+ * @summary: Get event counts
340
341
  * @description: Retrieve the counts of events based on their status. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/webhook/getEventCounts/).
341
342
  */
342
343
  async getEventCounts(
@@ -415,7 +416,7 @@ class Webhook {
415
416
  * @param {import("../PlatformAPIClient").Options} - Options
416
417
  * @returns {Promise<WebhookPlatformModel.HistoryResponse>} - Success response
417
418
  * @name getHistoricalReports
418
- * @summary: Get historical reports.
419
+ * @summary: Get historical reports
419
420
  * @description: Retrieve historical reports of webhook events. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/webhook/getHistoricalReports/).
420
421
  */
421
422
  async getHistoricalReports(
@@ -494,7 +495,7 @@ class Webhook {
494
495
  * @param {import("../PlatformAPIClient").Options} - Options
495
496
  * @returns {Promise<WebhookPlatformModel.RetryStatusResponse>} - Success response
496
497
  * @name getManualRetryStatus
497
- * @summary: Get manual retry status.
498
+ * @summary: Get manual retry status
498
499
  * @description: Check the status of a manual retry operation. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/webhook/getManualRetryStatus/).
499
500
  */
500
501
  async getManualRetryStatus(
@@ -569,7 +570,7 @@ class Webhook {
569
570
  * @param {import("../PlatformAPIClient").Options} - Options
570
571
  * @returns {Promise<WebhookPlatformModel.ReportFilterResponse[]>} - Success response
571
572
  * @name getReportFilters
572
- * @summary: Get report filters.
573
+ * @summary: Get report filters
573
574
  * @description: Retrieve filters used for generating reports. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/webhook/getReportFilters/).
574
575
  */
575
576
  async getReportFilters(
@@ -645,7 +646,7 @@ class Webhook {
645
646
  * @param {import("../PlatformAPIClient").Options} - Options
646
647
  * @returns {Promise<WebhookPlatformModel.SubscriberResponse>} - Success response
647
648
  * @name getSubscriberById
648
- * @summary: Get subscriber by ID.
649
+ * @summary: Get a subscriber
649
650
  * @description: Retrieve a subscriber's details by their unique identifier. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/webhook/getSubscriberById/).
650
651
  */
651
652
  async getSubscriberById(
@@ -724,7 +725,7 @@ class Webhook {
724
725
  * @param {import("../PlatformAPIClient").Options} - Options
725
726
  * @returns {Promise<WebhookPlatformModel.SubscriberConfigList>} - Success response
726
727
  * @name getSubscribersByCompany
727
- * @summary: Get subscribers by company.
728
+ * @summary: List subscribers by company
728
729
  * @description: Retrieve subscribers associated with a company. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/webhook/getSubscribersByCompany/).
729
730
  */
730
731
  async getSubscribersByCompany(
@@ -812,7 +813,7 @@ class Webhook {
812
813
  * @param {import("../PlatformAPIClient").Options} - Options
813
814
  * @returns {Promise<WebhookPlatformModel.SubscriberConfigList>} - Success response
814
815
  * @name getSubscribersByExtensionId
815
- * @summary: Get subscribers by extension ID.
816
+ * @summary: List subscribers by extension ID
816
817
  * @description: Retrieve subscribers associated with a specific extension. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/webhook/getSubscribersByExtensionId/).
817
818
  */
818
819
  async getSubscribersByExtensionId(
@@ -899,7 +900,7 @@ class Webhook {
899
900
  * @param {import("../PlatformAPIClient").Options} - Options
900
901
  * @returns {Promise<string>} - Success response
901
902
  * @name manualRetryCancel
902
- * @summary: Manual retry cancellation.
903
+ * @summary: Manual retry cancellation
903
904
  * @description: Cancel a manual retry operation for a failed event. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/webhook/manualRetryCancel/).
904
905
  */
905
906
  async manualRetryCancel(
@@ -971,7 +972,7 @@ class Webhook {
971
972
  * @param {import("../PlatformAPIClient").Options} - Options
972
973
  * @returns {Promise<WebhookPlatformModel.RetrySuccessResponse>} - Success response
973
974
  * @name manualRetryOfFailedEvent
974
- * @summary: Manual retry of failed event.
975
+ * @summary: Manual retry of failed event
975
976
  * @description: Trigger a manual retry for an event that failed to deliver. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/webhook/manualRetryOfFailedEvent/).
976
977
  */
977
978
  async manualRetryOfFailedEvent(
@@ -1052,7 +1053,7 @@ class Webhook {
1052
1053
  * @param {import("../PlatformAPIClient").Options} - Options
1053
1054
  * @returns {Promise<WebhookPlatformModel.PingWebhookResponse>} - Success response
1054
1055
  * @name pingWebhook
1055
- * @summary: Ping webhook.
1056
+ * @summary: Ping webhook
1056
1057
  * @description: Send a test ping to a webhook for verification. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/webhook/pingWebhook/).
1057
1058
  */
1058
1059
  async pingWebhook(
@@ -1130,7 +1131,7 @@ class Webhook {
1130
1131
  * @returns {Promise<WebhookPlatformModel.SubscriberConfigResponse>} -
1131
1132
  * Success response
1132
1133
  * @name registerSubscriberToEvent
1133
- * @summary: Register subscriber to event.
1134
+ * @summary: Register subscriber to event
1134
1135
  * @description: Add a subscriber to receive events of a specific type. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/webhook/registerSubscriberToEvent/).
1135
1136
  */
1136
1137
  async registerSubscriberToEvent(
@@ -1212,7 +1213,7 @@ class Webhook {
1212
1213
  * @returns {Promise<WebhookPlatformModel.SubscriberConfigResponse>} -
1213
1214
  * Success response
1214
1215
  * @name updateSubscriberConfig
1215
- * @summary: Update subscriber config.
1216
+ * @summary: Update a subscriber config
1216
1217
  * @description: Modify and update subscriber configuration settings. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/webhook/updateSubscriberConfig/).
1217
1218
  */
1218
1219
  async updateSubscriberConfig(
@@ -260,7 +260,7 @@ export = WebhookPlatformModel;
260
260
  * @property {SubscriberResponse[]} [items]
261
261
  * @property {Page} [page]
262
262
  */
263
- /** @typedef {"" | "" | ""} SubscriberStatus */
263
+ /** @typedef {"active" | "inactive" | "blocked"} SubscriberStatus */
264
264
  declare class WebhookPlatformModel {
265
265
  }
266
266
  declare namespace WebhookPlatformModel {
@@ -686,4 +686,4 @@ type SubscriberConfigList = {
686
686
  * @returns {SubscriberStatus}
687
687
  */
688
688
  declare function SubscriberStatus(): SubscriberStatus;
689
- type SubscriberStatus = "" | "" | "";
689
+ type SubscriberStatus = "active" | "inactive" | "blocked";
@@ -297,7 +297,7 @@ const Joi = require("joi");
297
297
  * @property {Page} [page]
298
298
  */
299
299
 
300
- /** @typedef {"" | "" | ""} SubscriberStatus */
300
+ /** @typedef {"active" | "inactive" | "blocked"} SubscriberStatus */
301
301
 
302
302
  class WebhookPlatformModel {
303
303
  /** @returns {Error} */
@@ -162,4 +162,4 @@ type UpdateSubscriberConfigParam = {
162
162
  type FetchAllEventConfigurationsParam = any;
163
163
  type GetManualRetryStatusParam = any;
164
164
  type ManualRetryCancelParam = any;
165
- import WebhookPlatformModel = require("./WebhookPlatformModel");
165
+ import WebhookPlatformModel = require("sdk/output/javascript/code/sdk/platform/Webhook/WebhookPlatformModel");
@@ -1,27 +1,26 @@
1
- export const PlatformConfig: typeof import("./PlatformConfig");
2
- export const PlatformClient: typeof import("./PlatformClient");
1
+ export const PlatformConfig: typeof import("sdk/output/javascript/code/sdk/platform/PlatformConfig");
2
+ export const PlatformClient: typeof import("sdk/output/javascript/code/sdk/platform/PlatformClient");
3
3
  export namespace PlatformModel {
4
- const AuditTrailPlatformModel: typeof import("./AuditTrail/AuditTrailPlatformModel");
5
- const BillingPlatformModel: typeof import("./Billing/BillingPlatformModel");
6
- const CartPlatformModel: typeof import("./Cart/CartPlatformModel");
7
- const CatalogPlatformModel: typeof import("./Catalog/CatalogPlatformModel");
8
- const CommonPlatformModel: typeof import("./Common/CommonPlatformModel");
9
- const CommunicationPlatformModel: typeof import("./Communication/CommunicationPlatformModel");
10
- const CompanyProfilePlatformModel: typeof import("./CompanyProfile/CompanyProfilePlatformModel");
11
- const ConfigurationPlatformModel: typeof import("./Configuration/ConfigurationPlatformModel");
12
- const ContentPlatformModel: typeof import("./Content/ContentPlatformModel");
13
- const DiscountPlatformModel: typeof import("./Discount/DiscountPlatformModel");
14
- const FileStoragePlatformModel: typeof import("./FileStorage/FileStoragePlatformModel");
15
- const FinancePlatformModel: typeof import("./Finance/FinancePlatformModel");
16
- const InventoryPlatformModel: typeof import("./Inventory/InventoryPlatformModel");
17
- const LeadPlatformModel: typeof import("./Lead/LeadPlatformModel");
18
- const ServiceabilityPlatformModel: typeof import("./Serviceability/ServiceabilityPlatformModel");
19
- const OrderPlatformModel: typeof import("./Order/OrderPlatformModel");
20
- const PartnerPlatformModel: typeof import("./Partner/PartnerPlatformModel");
21
- const PaymentPlatformModel: typeof import("./Payment/PaymentPlatformModel");
22
- const RewardsPlatformModel: typeof import("./Rewards/RewardsPlatformModel");
23
- const SharePlatformModel: typeof import("./Share/SharePlatformModel");
24
- const ThemePlatformModel: typeof import("./Theme/ThemePlatformModel");
25
- const UserPlatformModel: typeof import("./User/UserPlatformModel");
26
- const WebhookPlatformModel: typeof import("./Webhook/WebhookPlatformModel");
4
+ const AuditTrailPlatformModel: typeof import("sdk/output/javascript/code/sdk/platform/AuditTrail/AuditTrailPlatformModel");
5
+ const BillingPlatformModel: typeof import("sdk/output/javascript/code/sdk/platform/Billing/BillingPlatformModel");
6
+ const CartPlatformModel: typeof import("sdk/output/javascript/code/sdk/platform/Cart/CartPlatformModel");
7
+ const CatalogPlatformModel: typeof import("sdk/output/javascript/code/sdk/platform/Catalog/CatalogPlatformModel");
8
+ const CommonPlatformModel: typeof import("sdk/output/javascript/code/sdk/platform/Common/CommonPlatformModel");
9
+ const CommunicationPlatformModel: typeof import("sdk/output/javascript/code/sdk/platform/Communication/CommunicationPlatformModel");
10
+ const CompanyProfilePlatformModel: typeof import("sdk/output/javascript/code/sdk/platform/CompanyProfile/CompanyProfilePlatformModel");
11
+ const ConfigurationPlatformModel: typeof import("sdk/output/javascript/code/sdk/platform/Configuration/ConfigurationPlatformModel");
12
+ const ContentPlatformModel: typeof import("sdk/output/javascript/code/sdk/platform/Content/ContentPlatformModel");
13
+ const DiscountPlatformModel: typeof import("sdk/output/javascript/code/sdk/platform/Discount/DiscountPlatformModel");
14
+ const FileStoragePlatformModel: typeof import("sdk/output/javascript/code/sdk/platform/FileStorage/FileStoragePlatformModel");
15
+ const FinancePlatformModel: typeof import("sdk/output/javascript/code/sdk/platform/Finance/FinancePlatformModel");
16
+ const LeadPlatformModel: typeof import("sdk/output/javascript/code/sdk/platform/Lead/LeadPlatformModel");
17
+ const ServiceabilityPlatformModel: typeof import("sdk/output/javascript/code/sdk/platform/Serviceability/ServiceabilityPlatformModel");
18
+ const OrderPlatformModel: typeof import("sdk/output/javascript/code/sdk/platform/Order/OrderPlatformModel");
19
+ const PartnerPlatformModel: typeof import("sdk/output/javascript/code/sdk/platform/Partner/PartnerPlatformModel");
20
+ const PaymentPlatformModel: typeof import("sdk/output/javascript/code/sdk/platform/Payment/PaymentPlatformModel");
21
+ const RewardsPlatformModel: typeof import("sdk/output/javascript/code/sdk/platform/Rewards/RewardsPlatformModel");
22
+ const SharePlatformModel: typeof import("sdk/output/javascript/code/sdk/platform/Share/SharePlatformModel");
23
+ const ThemePlatformModel: typeof import("sdk/output/javascript/code/sdk/platform/Theme/ThemePlatformModel");
24
+ const UserPlatformModel: typeof import("sdk/output/javascript/code/sdk/platform/User/UserPlatformModel");
25
+ const WebhookPlatformModel: typeof import("sdk/output/javascript/code/sdk/platform/Webhook/WebhookPlatformModel");
27
26
  }
@@ -26,8 +26,6 @@ module.exports = {
26
26
 
27
27
  FinancePlatformModel: require("./Finance/FinancePlatformModel"),
28
28
 
29
- InventoryPlatformModel: require("./Inventory/InventoryPlatformModel"),
30
-
31
29
  LeadPlatformModel: require("./Lead/LeadPlatformModel"),
32
30
 
33
31
  ServiceabilityPlatformModel: require("./Serviceability/ServiceabilityPlatformModel"),
@@ -17,7 +17,7 @@ declare class Billing {
17
17
  * @description: Get Standard/Public Plans.
18
18
  * - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/public/billing/getStandardPlans/).
19
19
  */
20
- getStandardPlans({ platformType, requestHeaders }?: BillingPublicValidator.GetStandardPlansParam, { responseHeaders }?: object): Promise<BillingPublicModel.DetailList>;
20
+ getStandardPlans({ platform, requestHeaders }?: BillingPublicValidator.GetStandardPlansParam, { responseHeaders }?: object): Promise<BillingPublicModel.DetailList>;
21
21
  }
22
- import BillingPublicValidator = require("./BillingPublicValidator");
23
- import BillingPublicModel = require("./BillingPublicModel");
22
+ import BillingPublicValidator = require("sdk/output/javascript/code/sdk/public/Billing/BillingPublicValidator");
23
+ import BillingPublicModel = require("sdk/output/javascript/code/sdk/public/Billing/BillingPublicModel");
@@ -43,11 +43,11 @@ class Billing {
43
43
  * - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/public/billing/getStandardPlans/).
44
44
  */
45
45
  async getStandardPlans(
46
- { platformType, requestHeaders } = { requestHeaders: {} },
46
+ { platform, requestHeaders } = { requestHeaders: {} },
47
47
  { responseHeaders } = { responseHeaders: false }
48
48
  ) {
49
49
  const { error } = BillingPublicValidator.getStandardPlans().validate(
50
- { platformType },
50
+ { platform },
51
51
  { abortEarly: false, allowUnknown: true }
52
52
  );
53
53
  if (error) {
@@ -58,7 +58,7 @@ class Billing {
58
58
  const {
59
59
  error: warrning,
60
60
  } = BillingPublicValidator.getStandardPlans().validate(
61
- { platformType },
61
+ { platform },
62
62
  { abortEarly: false, allowUnknown: false }
63
63
  );
64
64
  if (warrning) {
@@ -69,7 +69,7 @@ class Billing {
69
69
  }
70
70
 
71
71
  const query_params = {};
72
- query_params["platform_type"] = platformType;
72
+ query_params["platform"] = platform;
73
73
 
74
74
  const xHeaders = {};
75
75
 
@@ -1,7 +1,7 @@
1
1
  export = BillingPublicValidator;
2
2
  /**
3
3
  * @typedef GetStandardPlansParam
4
- * @property {string} platformType - The type of platform for which plans are requested.
4
+ * @property {string} platform - The type of platform for which plans are requested.
5
5
  */
6
6
  declare class BillingPublicValidator {
7
7
  /** @returns {GetStandardPlansParam} */
@@ -14,5 +14,5 @@ type GetStandardPlansParam = {
14
14
  /**
15
15
  * - The type of platform for which plans are requested.
16
16
  */
17
- platformType: string;
17
+ platform: string;
18
18
  };
@@ -4,14 +4,14 @@ const BillingPublicModel = require("./BillingPublicModel");
4
4
 
5
5
  /**
6
6
  * @typedef GetStandardPlansParam
7
- * @property {string} platformType - The type of platform for which plans are requested.
7
+ * @property {string} platform - The type of platform for which plans are requested.
8
8
  */
9
9
 
10
10
  class BillingPublicValidator {
11
11
  /** @returns {GetStandardPlansParam} */
12
12
  static getStandardPlans() {
13
13
  return Joi.object({
14
- platformType: Joi.string().allow("").required(),
14
+ platform: Joi.string().allow("").required(),
15
15
  }).required();
16
16
  }
17
17
  }
@@ -24,10 +24,10 @@ declare class Configuration {
24
24
  * @param {import("../PublicAPIClient").Options} - Options
25
25
  * @returns {Promise<ConfigurationPublicModel.ApplicationResponse>} - Success response
26
26
  * @name searchApplication
27
- * @summary: Search application.
27
+ * @summary: Search application
28
28
  * @description: Provide application name or domain url. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/public/configuration/searchApplication/).
29
29
  */
30
30
  searchApplication({ authorization, query, requestHeaders }?: ConfigurationPublicValidator.SearchApplicationParam, { responseHeaders }?: object): Promise<ConfigurationPublicModel.ApplicationResponse>;
31
31
  }
32
- import ConfigurationPublicValidator = require("./ConfigurationPublicValidator");
33
- import ConfigurationPublicModel = require("./ConfigurationPublicModel");
32
+ import ConfigurationPublicValidator = require("sdk/output/javascript/code/sdk/public/Configuration/ConfigurationPublicValidator");
33
+ import ConfigurationPublicModel = require("sdk/output/javascript/code/sdk/public/Configuration/ConfigurationPublicModel");
@@ -120,7 +120,7 @@ class Configuration {
120
120
  * @param {import("../PublicAPIClient").Options} - Options
121
121
  * @returns {Promise<ConfigurationPublicModel.ApplicationResponse>} - Success response
122
122
  * @name searchApplication
123
- * @summary: Search application.
123
+ * @summary: Search application
124
124
  * @description: Provide application name or domain url. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/public/configuration/searchApplication/).
125
125
  */
126
126
  async searchApplication(
@@ -18,5 +18,5 @@ declare class Content {
18
18
  */
19
19
  getCredentialsByEntity({ entity, requestHeaders }?: ContentPublicValidator.GetCredentialsByEntityParam, { responseHeaders }?: object): Promise<ContentPublicModel.CredentialsSchema>;
20
20
  }
21
- import ContentPublicValidator = require("./ContentPublicValidator");
22
- import ContentPublicModel = require("./ContentPublicModel");
21
+ import ContentPublicValidator = require("sdk/output/javascript/code/sdk/public/Content/ContentPublicValidator");
22
+ import ContentPublicModel = require("sdk/output/javascript/code/sdk/public/Content/ContentPublicModel");