@gofynd/fdk-client-javascript 1.3.11-beta.7 → 1.3.11-beta.8

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 (229) hide show
  1. package/README.md +1 -1
  2. package/package.json +1 -1
  3. package/sdk/application/Cart/CartApplicationClient.d.ts +1 -1
  4. package/sdk/application/Cart/CartApplicationClient.js +5 -3
  5. package/sdk/application/Cart/CartApplicationModel.d.ts +107 -1
  6. package/sdk/application/Cart/CartApplicationModel.js +74 -0
  7. package/sdk/application/Cart/CartApplicationValidator.d.ts +4 -0
  8. package/sdk/application/Cart/CartApplicationValidator.js +4 -0
  9. package/sdk/application/Catalog/CatalogApplicationClient.d.ts +3 -6
  10. package/sdk/application/Catalog/CatalogApplicationClient.js +7 -20
  11. package/sdk/application/Catalog/CatalogApplicationModel.d.ts +2 -2
  12. package/sdk/application/Catalog/CatalogApplicationModel.js +2 -2
  13. package/sdk/application/Catalog/CatalogApplicationValidator.d.ts +0 -14
  14. package/sdk/application/Catalog/CatalogApplicationValidator.js +0 -6
  15. package/sdk/application/Configuration/ConfigurationApplicationModel.d.ts +183 -49
  16. package/sdk/application/Configuration/ConfigurationApplicationModel.js +173 -31
  17. package/sdk/application/Content/ContentApplicationClient.d.ts +36 -0
  18. package/sdk/application/Content/ContentApplicationClient.js +246 -0
  19. package/sdk/application/Content/ContentApplicationModel.d.ts +208 -1
  20. package/sdk/application/Content/ContentApplicationModel.js +252 -0
  21. package/sdk/application/Content/ContentApplicationValidator.d.ts +40 -1
  22. package/sdk/application/Content/ContentApplicationValidator.js +41 -0
  23. package/sdk/application/Logistic/LogisticApplicationClient.d.ts +67 -0
  24. package/sdk/application/Logistic/LogisticApplicationClient.js +547 -0
  25. package/sdk/application/Logistic/LogisticApplicationModel.d.ts +456 -1
  26. package/sdk/application/Logistic/LogisticApplicationModel.js +488 -0
  27. package/sdk/application/Logistic/LogisticApplicationValidator.d.ts +211 -1
  28. package/sdk/application/Logistic/LogisticApplicationValidator.js +131 -0
  29. package/sdk/application/Order/OrderApplicationClient.d.ts +3 -3
  30. package/sdk/application/Order/OrderApplicationClient.js +32 -8
  31. package/sdk/application/Order/OrderApplicationModel.d.ts +6 -0
  32. package/sdk/application/Order/OrderApplicationModel.js +6 -0
  33. package/sdk/application/Order/OrderApplicationValidator.d.ts +20 -0
  34. package/sdk/application/Order/OrderApplicationValidator.js +8 -0
  35. package/sdk/application/Payment/PaymentApplicationClient.d.ts +46 -2
  36. package/sdk/application/Payment/PaymentApplicationClient.js +341 -10
  37. package/sdk/application/Payment/PaymentApplicationModel.d.ts +493 -186
  38. package/sdk/application/Payment/PaymentApplicationModel.js +341 -70
  39. package/sdk/application/Payment/PaymentApplicationValidator.d.ts +59 -14
  40. package/sdk/application/Payment/PaymentApplicationValidator.js +64 -10
  41. package/sdk/application/PosCart/PosCartApplicationModel.d.ts +34 -1
  42. package/sdk/application/PosCart/PosCartApplicationModel.js +24 -0
  43. package/sdk/application/Theme/ThemeApplicationClient.d.ts +1 -1
  44. package/sdk/application/Theme/ThemeApplicationClient.js +7 -3
  45. package/sdk/application/Theme/ThemeApplicationModel.d.ts +222 -36
  46. package/sdk/application/Theme/ThemeApplicationModel.js +322 -26
  47. package/sdk/application/Theme/ThemeApplicationValidator.d.ts +10 -0
  48. package/sdk/application/Theme/ThemeApplicationValidator.js +4 -0
  49. package/sdk/application/User/UserApplicationClient.d.ts +33 -0
  50. package/sdk/application/User/UserApplicationClient.js +239 -0
  51. package/sdk/application/User/UserApplicationModel.d.ts +28 -13
  52. package/sdk/application/User/UserApplicationModel.js +36 -12
  53. package/sdk/application/User/UserApplicationValidator.d.ts +34 -1
  54. package/sdk/application/User/UserApplicationValidator.js +36 -0
  55. package/sdk/partner/Lead/LeadPartnerClient.d.ts +125 -0
  56. package/sdk/partner/Lead/LeadPartnerClient.js +785 -0
  57. package/sdk/partner/Lead/LeadPartnerModel.d.ts +1127 -0
  58. package/sdk/partner/Lead/LeadPartnerModel.js +896 -0
  59. package/sdk/partner/Lead/LeadPartnerValidator.d.ts +12 -0
  60. package/sdk/partner/Lead/LeadPartnerValidator.js +67 -0
  61. package/sdk/partner/Logistics/LogisticsPartnerClient.d.ts +155 -0
  62. package/sdk/partner/Logistics/LogisticsPartnerClient.js +1195 -0
  63. package/sdk/partner/Logistics/LogisticsPartnerModel.d.ts +372 -0
  64. package/sdk/partner/Logistics/LogisticsPartnerModel.js +442 -0
  65. package/sdk/partner/Logistics/LogisticsPartnerValidator.d.ts +16 -0
  66. package/sdk/partner/Logistics/LogisticsPartnerValidator.js +123 -0
  67. package/sdk/partner/PartnerClient.d.ts +6 -0
  68. package/sdk/partner/PartnerClient.js +9 -0
  69. package/sdk/partner/Theme/ThemePartnerClient.d.ts +10 -0
  70. package/sdk/partner/Theme/ThemePartnerClient.js +80 -0
  71. package/sdk/partner/Theme/ThemePartnerModel.d.ts +100 -43
  72. package/sdk/partner/Theme/ThemePartnerModel.js +74 -30
  73. package/sdk/partner/Theme/ThemePartnerValidator.d.ts +1 -0
  74. package/sdk/partner/Theme/ThemePartnerValidator.js +9 -0
  75. package/sdk/partner/Webhook/WebhookPartnerClient.d.ts +99 -0
  76. package/sdk/partner/Webhook/WebhookPartnerClient.js +753 -0
  77. package/sdk/partner/Webhook/WebhookPartnerModel.d.ts +566 -0
  78. package/sdk/partner/Webhook/WebhookPartnerModel.js +583 -0
  79. package/sdk/partner/Webhook/WebhookPartnerValidator.d.ts +12 -0
  80. package/sdk/partner/Webhook/WebhookPartnerValidator.js +74 -0
  81. package/sdk/partner/index.d.ts +3 -0
  82. package/sdk/partner/index.js +6 -0
  83. package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +2 -2
  84. package/sdk/platform/Billing/BillingPlatformClient.d.ts +11 -1
  85. package/sdk/platform/Billing/BillingPlatformClient.js +110 -3
  86. package/sdk/platform/Billing/BillingPlatformModel.d.ts +67 -1
  87. package/sdk/platform/Billing/BillingPlatformModel.js +78 -0
  88. package/sdk/platform/Billing/BillingPlatformValidator.d.ts +43 -4
  89. package/sdk/platform/Billing/BillingPlatformValidator.js +29 -2
  90. package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +1 -1
  91. package/sdk/platform/Cart/CartPlatformApplicationClient.js +7 -1
  92. package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +4 -0
  93. package/sdk/platform/Cart/CartPlatformApplicationValidator.js +4 -0
  94. package/sdk/platform/Cart/CartPlatformModel.d.ts +100 -5
  95. package/sdk/platform/Cart/CartPlatformModel.js +71 -4
  96. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +15 -11
  97. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +52 -21
  98. package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +27 -0
  99. package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +11 -0
  100. package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +26 -4
  101. package/sdk/platform/Catalog/CatalogPlatformClient.js +173 -7
  102. package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +304 -1
  103. package/sdk/platform/Catalog/CatalogPlatformModel.js +335 -0
  104. package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +31 -3
  105. package/sdk/platform/Catalog/CatalogPlatformValidator.js +27 -2
  106. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +138 -36
  107. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +739 -57
  108. package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.d.ts +128 -3
  109. package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.js +111 -1
  110. package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +150 -1
  111. package/sdk/platform/Communication/CommunicationPlatformModel.js +172 -0
  112. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +8 -2
  113. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +32 -4
  114. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +38 -9
  115. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +42 -8
  116. package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.d.ts +14 -0
  117. package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.js +6 -0
  118. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +8 -8
  119. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +4 -4
  120. package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +371 -132
  121. package/sdk/platform/Configuration/ConfigurationPlatformModel.js +288 -77
  122. package/sdk/platform/Configuration/ConfigurationPlatformValidator.d.ts +2 -2
  123. package/sdk/platform/Configuration/ConfigurationPlatformValidator.js +2 -2
  124. package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +391 -0
  125. package/sdk/platform/Content/ContentPlatformApplicationClient.js +3630 -1059
  126. package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +342 -1
  127. package/sdk/platform/Content/ContentPlatformApplicationValidator.js +401 -0
  128. package/sdk/platform/Content/ContentPlatformClient.d.ts +277 -0
  129. package/sdk/platform/Content/ContentPlatformClient.js +2000 -0
  130. package/sdk/platform/Content/ContentPlatformModel.d.ts +1094 -1
  131. package/sdk/platform/Content/ContentPlatformModel.js +1356 -46
  132. package/sdk/platform/Content/ContentPlatformValidator.d.ts +238 -0
  133. package/sdk/platform/Content/ContentPlatformValidator.js +310 -0
  134. package/sdk/platform/Discount/DiscountPlatformClient.d.ts +2 -2
  135. package/sdk/platform/Discount/DiscountPlatformClient.js +2 -2
  136. package/sdk/platform/Discount/DiscountPlatformModel.d.ts +96 -13
  137. package/sdk/platform/Discount/DiscountPlatformModel.js +104 -12
  138. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +16 -6
  139. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +117 -8
  140. package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.d.ts +55 -4
  141. package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.js +39 -2
  142. package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +16 -5
  143. package/sdk/platform/FileStorage/FileStoragePlatformModel.js +18 -4
  144. package/sdk/platform/Finance/FinancePlatformClient.d.ts +33 -0
  145. package/sdk/platform/Finance/FinancePlatformClient.js +240 -0
  146. package/sdk/platform/Finance/FinancePlatformModel.d.ts +151 -5
  147. package/sdk/platform/Finance/FinancePlatformModel.js +190 -4
  148. package/sdk/platform/Finance/FinancePlatformValidator.d.ts +38 -1
  149. package/sdk/platform/Finance/FinancePlatformValidator.js +38 -0
  150. package/sdk/platform/Lead/LeadPlatformApplicationClient.d.ts +38 -28
  151. package/sdk/platform/Lead/LeadPlatformApplicationClient.js +137 -56
  152. package/sdk/platform/Lead/LeadPlatformApplicationValidator.d.ts +41 -29
  153. package/sdk/platform/Lead/LeadPlatformApplicationValidator.js +33 -21
  154. package/sdk/platform/Lead/LeadPlatformModel.d.ts +12 -3
  155. package/sdk/platform/Lead/LeadPlatformModel.js +16 -2
  156. package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +23 -1
  157. package/sdk/platform/Order/OrderPlatformApplicationClient.js +178 -1
  158. package/sdk/platform/Order/OrderPlatformApplicationValidator.d.ts +39 -1
  159. package/sdk/platform/Order/OrderPlatformApplicationValidator.js +32 -0
  160. package/sdk/platform/Order/OrderPlatformClient.d.ts +202 -31
  161. package/sdk/platform/Order/OrderPlatformClient.js +2010 -586
  162. package/sdk/platform/Order/OrderPlatformModel.d.ts +1032 -470
  163. package/sdk/platform/Order/OrderPlatformModel.js +1187 -534
  164. package/sdk/platform/Order/OrderPlatformValidator.d.ts +318 -35
  165. package/sdk/platform/Order/OrderPlatformValidator.js +292 -29
  166. package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +119 -13
  167. package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +749 -39
  168. package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +143 -7
  169. package/sdk/platform/Payment/PaymentPlatformApplicationValidator.js +133 -6
  170. package/sdk/platform/Payment/PaymentPlatformClient.d.ts +1 -1
  171. package/sdk/platform/Payment/PaymentPlatformClient.js +1 -1
  172. package/sdk/platform/Payment/PaymentPlatformModel.d.ts +996 -134
  173. package/sdk/platform/Payment/PaymentPlatformModel.js +721 -58
  174. package/sdk/platform/PlatformApplicationClient.d.ts +2 -2
  175. package/sdk/platform/PlatformApplicationClient.js +4 -4
  176. package/sdk/platform/PlatformClient.d.ts +4 -2
  177. package/sdk/platform/PlatformClient.js +8 -4
  178. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +142 -66
  179. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +645 -147
  180. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.d.ts +131 -63
  181. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.js +126 -47
  182. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +217 -105
  183. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +1136 -347
  184. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +912 -313
  185. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +1071 -355
  186. package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.d.ts +382 -133
  187. package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.js +266 -102
  188. package/sdk/platform/Theme/ThemePlatformClient.d.ts +11 -1
  189. package/sdk/platform/Theme/ThemePlatformClient.js +87 -3
  190. package/sdk/platform/Theme/ThemePlatformModel.d.ts +333 -47
  191. package/sdk/platform/Theme/ThemePlatformModel.js +395 -35
  192. package/sdk/platform/Theme/ThemePlatformValidator.d.ts +28 -4
  193. package/sdk/platform/Theme/ThemePlatformValidator.js +21 -2
  194. package/sdk/platform/User/UserPlatformApplicationClient.d.ts +116 -1
  195. package/sdk/platform/User/UserPlatformApplicationClient.js +931 -85
  196. package/sdk/platform/User/UserPlatformApplicationValidator.d.ts +224 -7
  197. package/sdk/platform/User/UserPlatformApplicationValidator.js +173 -5
  198. package/sdk/platform/User/UserPlatformModel.d.ts +344 -7
  199. package/sdk/platform/User/UserPlatformModel.js +256 -5
  200. package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +47 -39
  201. package/sdk/platform/Webhook/WebhookPlatformClient.js +63 -61
  202. package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +264 -156
  203. package/sdk/platform/Webhook/WebhookPlatformModel.js +276 -153
  204. package/sdk/platform/Webhook/WebhookPlatformValidator.d.ts +7 -10
  205. package/sdk/platform/Webhook/WebhookPlatformValidator.js +6 -6
  206. package/sdk/platform/index.d.ts +1 -1
  207. package/sdk/platform/index.js +2 -2
  208. package/sdk/public/Billing/BillingPublicClient.d.ts +23 -0
  209. package/sdk/public/Billing/BillingPublicClient.js +116 -0
  210. package/sdk/public/Billing/BillingPublicModel.d.ts +92 -0
  211. package/sdk/public/Billing/BillingPublicModel.js +96 -0
  212. package/sdk/public/Billing/BillingPublicValidator.d.ts +18 -0
  213. package/sdk/public/Billing/BillingPublicValidator.js +19 -0
  214. package/sdk/public/Content/ContentPublicClient.d.ts +22 -0
  215. package/sdk/public/Content/ContentPublicClient.js +114 -0
  216. package/sdk/public/Content/ContentPublicModel.d.ts +53 -0
  217. package/sdk/public/Content/ContentPublicModel.js +60 -0
  218. package/sdk/public/Content/ContentPublicValidator.d.ts +18 -0
  219. package/sdk/public/Content/ContentPublicValidator.js +19 -0
  220. package/sdk/public/PublicClient.d.ts +4 -0
  221. package/sdk/public/PublicClient.js +8 -0
  222. package/sdk/public/Webhook/WebhookPublicClient.d.ts +33 -0
  223. package/sdk/public/Webhook/WebhookPublicClient.js +242 -0
  224. package/sdk/public/Webhook/WebhookPublicModel.d.ts +147 -1
  225. package/sdk/public/Webhook/WebhookPublicModel.js +177 -1
  226. package/sdk/public/Webhook/WebhookPublicValidator.d.ts +23 -1
  227. package/sdk/public/Webhook/WebhookPublicValidator.js +31 -0
  228. package/sdk/public/index.d.ts +2 -0
  229. package/sdk/public/index.js +4 -0
@@ -33,10 +33,48 @@ const Joi = require("joi");
33
33
  */
34
34
 
35
35
  /**
36
- * @typedef CreateUserGroupSchema
36
+ * @typedef Conditions
37
+ * @property {string} [key]
38
+ * @property {string} [type]
39
+ * @property {string} [user_attribute_definition_id]
40
+ * @property {string} [value]
41
+ */
42
+
43
+ /**
44
+ * @typedef ConditionsSchema
45
+ * @property {string} [type]
46
+ * @property {string} [user_attribute_definition_id]
47
+ * @property {string} [value]
48
+ */
49
+
50
+ /**
51
+ * @typedef CreateUserAttributeDefinition
52
+ * @property {boolean} [customer_editable]
53
+ * @property {string} [default_value]
54
+ * @property {string} [description]
55
+ * @property {boolean} [encrypted]
56
+ * @property {boolean} [multi_value]
57
+ * @property {string} [name]
58
+ * @property {number} [pin_order]
59
+ * @property {boolean} [pinned]
60
+ * @property {string} [slug]
61
+ * @property {string} [type]
62
+ * @property {Object[]} [validations]
63
+ */
64
+
65
+ /**
66
+ * @typedef CreateUserAttributeRequest
67
+ * @property {Object} [attribute]
68
+ * @property {boolean} [customer_overriden]
69
+ */
70
+
71
+ /**
72
+ * @typedef CreateUserGroup
73
+ * @property {ConditionsSchema[]} [conditions]
37
74
  * @property {string} description
38
- * @property {string} file_url
75
+ * @property {string} [file_url]
39
76
  * @property {string} name
77
+ * @property {string} [type]
40
78
  */
41
79
 
42
80
  /**
@@ -278,6 +316,11 @@ const Joi = require("joi");
278
316
  * @property {Google} [google]
279
317
  */
280
318
 
319
+ /**
320
+ * @typedef SuccessMessageResponse
321
+ * @property {string} [success]
322
+ */
323
+
281
324
  /**
282
325
  * @typedef UnDeleteUserRequestSchema
283
326
  * @property {string} [reason]
@@ -292,9 +335,11 @@ const Joi = require("joi");
292
335
 
293
336
  /**
294
337
  * @typedef UpdateUserGroupSchema
338
+ * @property {ConditionsSchema[]} [conditions]
295
339
  * @property {string} [description]
296
340
  * @property {string} [file_url]
297
341
  * @property {string} [name]
342
+ * @property {string} [type]
298
343
  */
299
344
 
300
345
  /**
@@ -308,6 +353,66 @@ const Joi = require("joi");
308
353
  * @property {UserPhoneNumbers[]} [phone_numbers]
309
354
  */
310
355
 
356
+ /**
357
+ * @typedef UserAttributeDefinition
358
+ * @property {number} [__v] - The version number of the attribute.
359
+ * @property {string} [_id] - The unique identifier for the attribute definition.
360
+ * @property {string} [application_id] - The application ID.
361
+ * @property {string} [created_at] - The creation date of the attribute.
362
+ * @property {boolean} [customer_editable] - Whether the attribute is customer-editable.
363
+ * @property {string} [description] - The description of the attribute.
364
+ * @property {boolean} [encrypted] - Whether the attribute is encrypted.
365
+ * @property {boolean} [is_locked] - Whether the attribute is locked.
366
+ * @property {string} [modified_at] - The modification date of the attribute.
367
+ * @property {boolean} [multi_value] - Whether the attribute supports multiple values.
368
+ * @property {string} [name] - The attribute name.
369
+ * @property {number} [pin_order] - The order in which the attribute is pinned.
370
+ * @property {boolean} [pinned] - Whether the attribute is pinned.
371
+ * @property {string} [slug] - The attribute key.
372
+ * @property {string} [type] - The attribute type.
373
+ * @property {Object[]} [validations]
374
+ */
375
+
376
+ /**
377
+ * @typedef UserAttributeDefinitionResponse
378
+ * @property {string} [_id] - The unique identifier for the attribute definition.
379
+ * @property {string} [application_id] - The application ID.
380
+ * @property {string} [created_at] - The creation date of the attribute definition.
381
+ * @property {string} [created_by] - The user who created the attribute.
382
+ * @property {boolean} [customer_editable] - Whether the attribute is customer-editable.
383
+ * @property {string} [description] - The description of the attribute.
384
+ * @property {boolean} [encrypted] - Whether the attribute is encrypted.
385
+ * @property {boolean} [is_locked] - Whether the attribute is locked.
386
+ * @property {string} [modified_at] - The last modification date of the
387
+ * attribute definition.
388
+ * @property {boolean} [multi_value] - Whether the attribute supports multiple values.
389
+ * @property {string} [name] - The attribute name.
390
+ * @property {number} [pin_order] - The order in which the attribute is pinned.
391
+ * @property {boolean} [pinned] - Whether the attribute is pinned.
392
+ * @property {string} [slug] - The attribute key.
393
+ * @property {string} [type] - The attribute type.
394
+ * @property {string} [updated_by] - The user who last updated the attribute.
395
+ * @property {UserAttributeDefinitionValidation[]} [validations]
396
+ */
397
+
398
+ /**
399
+ * @typedef UserAttributeDefinitionValidation
400
+ * @property {string} [type] - The type of validation.
401
+ * @property {Object} [value] - The validation value.
402
+ */
403
+
404
+ /**
405
+ * @typedef UserAttributeResponse
406
+ * @property {string} [_id] - The unique identifier for the attribute definition.
407
+ * @property {string} [application_id] - The application ID.
408
+ * @property {Object} [attribute]
409
+ * @property {boolean} [customer_overriden] - Whether the attribute is customer-editable.
410
+ * @property {string} [name] - The name of user attribute definition.
411
+ * @property {string} [type] - The attribute type.
412
+ * @property {string} [updated_by]
413
+ * @property {string} [user_id] - The unique identifier for the user.
414
+ */
415
+
311
416
  /**
312
417
  * @typedef UserEmails
313
418
  * @property {boolean} [active]
@@ -327,12 +432,16 @@ const Joi = require("joi");
327
432
  * @property {number} [__v]
328
433
  * @property {string} [_id]
329
434
  * @property {string} [application_id]
435
+ * @property {Conditions[]} [conditions]
330
436
  * @property {string} [created_at]
331
437
  * @property {string} [description]
438
+ * @property {UserResponseErrorSchema} [error]
332
439
  * @property {string} [file_url]
440
+ * @property {boolean} [is_active]
333
441
  * @property {string} [modified_at]
334
442
  * @property {string} [name]
335
443
  * @property {string} [status]
444
+ * @property {string} [type]
336
445
  * @property {number} [uid]
337
446
  */
338
447
 
@@ -353,6 +462,12 @@ const Joi = require("joi");
353
462
  * @property {boolean} [verified]
354
463
  */
355
464
 
465
+ /**
466
+ * @typedef UserResponseErrorSchema
467
+ * @property {number} [count]
468
+ * @property {string} [file_url]
469
+ */
470
+
356
471
  /**
357
472
  * @typedef UserSchema
358
473
  * @property {string} [_id]
@@ -424,12 +539,58 @@ class UserPlatformModel {
424
539
  });
425
540
  }
426
541
 
427
- /** @returns {CreateUserGroupSchema} */
428
- static CreateUserGroupSchema() {
542
+ /** @returns {Conditions} */
543
+ static Conditions() {
544
+ return Joi.object({
545
+ key: Joi.string().allow(""),
546
+ type: Joi.string().allow(""),
547
+ user_attribute_definition_id: Joi.string().allow(""),
548
+ value: Joi.string().allow(""),
549
+ });
550
+ }
551
+
552
+ /** @returns {ConditionsSchema} */
553
+ static ConditionsSchema() {
554
+ return Joi.object({
555
+ type: Joi.string().allow(""),
556
+ user_attribute_definition_id: Joi.string().allow(""),
557
+ value: Joi.string().allow(""),
558
+ });
559
+ }
560
+
561
+ /** @returns {CreateUserAttributeDefinition} */
562
+ static CreateUserAttributeDefinition() {
563
+ return Joi.object({
564
+ customer_editable: Joi.boolean(),
565
+ default_value: Joi.string().allow(""),
566
+ description: Joi.string().allow(""),
567
+ encrypted: Joi.boolean(),
568
+ multi_value: Joi.boolean(),
569
+ name: Joi.string().allow(""),
570
+ pin_order: Joi.number(),
571
+ pinned: Joi.boolean(),
572
+ slug: Joi.string().allow(""),
573
+ type: Joi.string().allow(""),
574
+ validations: Joi.array().items(Joi.any()),
575
+ });
576
+ }
577
+
578
+ /** @returns {CreateUserAttributeRequest} */
579
+ static CreateUserAttributeRequest() {
429
580
  return Joi.object({
581
+ attribute: Joi.any(),
582
+ customer_overriden: Joi.boolean(),
583
+ });
584
+ }
585
+
586
+ /** @returns {CreateUserGroup} */
587
+ static CreateUserGroup() {
588
+ return Joi.object({
589
+ conditions: Joi.array().items(UserPlatformModel.ConditionsSchema()),
430
590
  description: Joi.string().allow("").required(),
431
- file_url: Joi.string().allow("").required(),
591
+ file_url: Joi.string().allow(""),
432
592
  name: Joi.string().allow("").required(),
593
+ type: Joi.string().allow(""),
433
594
  });
434
595
  }
435
596
 
@@ -730,6 +891,13 @@ class UserPlatformModel {
730
891
  });
731
892
  }
732
893
 
894
+ /** @returns {SuccessMessageResponse} */
895
+ static SuccessMessageResponse() {
896
+ return Joi.object({
897
+ success: Joi.string().allow(""),
898
+ });
899
+ }
900
+
733
901
  /** @returns {UnDeleteUserRequestSchema} */
734
902
  static UnDeleteUserRequestSchema() {
735
903
  return Joi.object({
@@ -749,9 +917,11 @@ class UserPlatformModel {
749
917
  /** @returns {UpdateUserGroupSchema} */
750
918
  static UpdateUserGroupSchema() {
751
919
  return Joi.object({
920
+ conditions: Joi.array().items(UserPlatformModel.ConditionsSchema()),
752
921
  description: Joi.string().allow(""),
753
922
  file_url: Joi.string().allow(""),
754
923
  name: Joi.string().allow(""),
924
+ type: Joi.string().allow(""),
755
925
  });
756
926
  }
757
927
 
@@ -768,6 +938,75 @@ class UserPlatformModel {
768
938
  });
769
939
  }
770
940
 
941
+ /** @returns {UserAttributeDefinition} */
942
+ static UserAttributeDefinition() {
943
+ return Joi.object({
944
+ __v: Joi.number(),
945
+ _id: Joi.string().allow(""),
946
+ application_id: Joi.string().allow(""),
947
+ created_at: Joi.string().allow(""),
948
+ customer_editable: Joi.boolean(),
949
+ description: Joi.string().allow(""),
950
+ encrypted: Joi.boolean(),
951
+ is_locked: Joi.boolean(),
952
+ modified_at: Joi.string().allow(""),
953
+ multi_value: Joi.boolean(),
954
+ name: Joi.string().allow(""),
955
+ pin_order: Joi.number(),
956
+ pinned: Joi.boolean(),
957
+ slug: Joi.string().allow(""),
958
+ type: Joi.string().allow(""),
959
+ validations: Joi.array().items(Joi.any()),
960
+ });
961
+ }
962
+
963
+ /** @returns {UserAttributeDefinitionResponse} */
964
+ static UserAttributeDefinitionResponse() {
965
+ return Joi.object({
966
+ _id: Joi.string().allow(""),
967
+ application_id: Joi.string().allow(""),
968
+ created_at: Joi.string().allow(""),
969
+ created_by: Joi.string().allow(""),
970
+ customer_editable: Joi.boolean(),
971
+ description: Joi.string().allow(""),
972
+ encrypted: Joi.boolean(),
973
+ is_locked: Joi.boolean(),
974
+ modified_at: Joi.string().allow(""),
975
+ multi_value: Joi.boolean(),
976
+ name: Joi.string().allow(""),
977
+ pin_order: Joi.number(),
978
+ pinned: Joi.boolean(),
979
+ slug: Joi.string().allow(""),
980
+ type: Joi.string().allow(""),
981
+ updated_by: Joi.string().allow(""),
982
+ validations: Joi.array().items(
983
+ UserPlatformModel.UserAttributeDefinitionValidation()
984
+ ),
985
+ });
986
+ }
987
+
988
+ /** @returns {UserAttributeDefinitionValidation} */
989
+ static UserAttributeDefinitionValidation() {
990
+ return Joi.object({
991
+ type: Joi.string().allow(""),
992
+ value: Joi.any(),
993
+ });
994
+ }
995
+
996
+ /** @returns {UserAttributeResponse} */
997
+ static UserAttributeResponse() {
998
+ return Joi.object({
999
+ _id: Joi.string().allow(""),
1000
+ application_id: Joi.string().allow(""),
1001
+ attribute: Joi.any(),
1002
+ customer_overriden: Joi.boolean(),
1003
+ name: Joi.string().allow(""),
1004
+ type: Joi.string().allow(""),
1005
+ updated_by: Joi.string().allow(""),
1006
+ user_id: Joi.string().allow(""),
1007
+ });
1008
+ }
1009
+
771
1010
  /** @returns {UserEmails} */
772
1011
  static UserEmails() {
773
1012
  return Joi.object({
@@ -792,12 +1031,16 @@ class UserPlatformModel {
792
1031
  __v: Joi.number(),
793
1032
  _id: Joi.string().allow(""),
794
1033
  application_id: Joi.string().allow(""),
1034
+ conditions: Joi.array().items(UserPlatformModel.Conditions()),
795
1035
  created_at: Joi.string().allow(""),
796
1036
  description: Joi.string().allow(""),
1037
+ error: UserPlatformModel.UserResponseErrorSchema(),
797
1038
  file_url: Joi.string().allow(""),
1039
+ is_active: Joi.boolean(),
798
1040
  modified_at: Joi.string().allow(""),
799
1041
  name: Joi.string().allow(""),
800
1042
  status: Joi.string().allow(""),
1043
+ type: Joi.string().allow(""),
801
1044
  uid: Joi.number(),
802
1045
  });
803
1046
  }
@@ -823,6 +1066,14 @@ class UserPlatformModel {
823
1066
  });
824
1067
  }
825
1068
 
1069
+ /** @returns {UserResponseErrorSchema} */
1070
+ static UserResponseErrorSchema() {
1071
+ return Joi.object({
1072
+ count: Joi.number(),
1073
+ file_url: Joi.string().allow(""),
1074
+ });
1075
+ }
1076
+
826
1077
  /** @returns {UserSchema} */
827
1078
  static UserSchema() {
828
1079
  return Joi.object({
@@ -8,61 +8,64 @@ 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 a report export
12
- * @description: Cancel the export of a specific report for a company. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/webhook/cancelJobByName/).
11
+ * @summary: Cancel a report export.
12
+ * @description: Cancel the export of a specific report for a company.
13
+ * - 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
  /**
16
17
  * @param {WebhookPlatformValidator.DownloadDeliveryReportParam} arg - Arg object
17
18
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
18
19
  * @param {import("../PlatformAPIClient").Options} - Options
19
- * @returns {Promise<Object>} - Success response
20
+ * @returns {Promise<WebhookPlatformModel.DownloadReportResponse>} - Success response
20
21
  * @name downloadDeliveryReport
21
- * @summary: Download processed events report for a company
22
- * @description: Download reports for a specific company based on the provided filters. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/webhook/downloadDeliveryReport/).
22
+ * @summary: Download processed events report for a company.
23
+ * @description: Download reports for a specific company based on the provided filters.
24
+ * - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/webhook/downloadDeliveryReport/).
23
25
  */
24
- downloadDeliveryReport({ body, requestHeaders }?: WebhookPlatformValidator.DownloadDeliveryReportParam, { responseHeaders }?: object): Promise<any>;
26
+ downloadDeliveryReport({ body, requestHeaders }?: WebhookPlatformValidator.DownloadDeliveryReportParam, { responseHeaders }?: object): Promise<WebhookPlatformModel.DownloadReportResponse>;
25
27
  /**
26
28
  * @param {WebhookPlatformValidator.FetchAllEventConfigurationsParam} arg - Arg object
27
29
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
28
30
  * @param {import("../PlatformAPIClient").Options} - Options
29
- * @returns {Promise<WebhookPlatformModel.EventConfigResponse>} - Success response
31
+ * @returns {Promise<Object>} - Success response
30
32
  * @name fetchAllEventConfigurations
31
- * @summary:
32
- * @description: Get All Webhook Events - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/webhook/fetchAllEventConfigurations/).
33
+ * @summary: Get All Webhook Events.
34
+ * @description: To fetch all webhook events.
35
+ * - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/webhook/fetchAllEventConfigurations/).
33
36
  */
34
- fetchAllEventConfigurations({ requestHeaders }?: any, { responseHeaders }?: object): Promise<WebhookPlatformModel.EventConfigResponse>;
37
+ fetchAllEventConfigurations({ requestHeaders }?: any, { responseHeaders }?: object): Promise<any>;
35
38
  /**
36
39
  * @param {WebhookPlatformValidator.GetDeliveryReportsParam} arg - Arg object
37
40
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
38
41
  * @param {import("../PlatformAPIClient").Options} - Options
39
42
  * @returns {Promise<WebhookPlatformModel.EventProcessReports>} - Success response
40
43
  * @name getDeliveryReports
41
- * @summary: Get processed events report for a company
42
- * @description: Retrieve a list of processed events for a specific company based on the provided filters. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/webhook/getDeliveryReports/).
44
+ * @summary: Get processed events report for a company.
45
+ * @description: Retrieve a list of processed events for a specific company based on the provided filters.
46
+ * - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/webhook/getDeliveryReports/).
43
47
  */
44
48
  getDeliveryReports({ body, requestHeaders }?: WebhookPlatformValidator.GetDeliveryReportsParam, { responseHeaders }?: object): Promise<WebhookPlatformModel.EventProcessReports>;
45
49
  /**
46
50
  * @param {WebhookPlatformValidator.GetEventCountsParam} arg - Arg object
47
51
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
48
52
  * @param {import("../PlatformAPIClient").Options} - Options
49
- * @returns {Promise<WebhookPlatformModel.FailedEventsCountSuccessResponse>}
50
- * - Success response
51
- *
53
+ * @returns {Promise<WebhookPlatformModel.RetryCountResponse>} - Success response
52
54
  * @name getEventCounts
53
55
  * @summary: Get the count of failed events for a company within a specified date range.
54
56
  * @description: Retrieves the count of failed events for a specific company within the specified date range. The user can filter the count based on specific event types if provided.
55
57
  * - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/webhook/getEventCounts/).
56
58
  */
57
- getEventCounts({ body, requestHeaders }?: WebhookPlatformValidator.GetEventCountsParam, { responseHeaders }?: object): Promise<WebhookPlatformModel.FailedEventsCountSuccessResponse>;
59
+ getEventCounts({ body, requestHeaders }?: WebhookPlatformValidator.GetEventCountsParam, { responseHeaders }?: object): Promise<WebhookPlatformModel.RetryCountResponse>;
58
60
  /**
59
61
  * @param {WebhookPlatformValidator.GetHistoricalReportsParam} arg - Arg object
60
62
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
61
63
  * @param {import("../PlatformAPIClient").Options} - Options
62
64
  * @returns {Promise<WebhookPlatformModel.HistoryResponse>} - Success response
63
65
  * @name getHistoricalReports
64
- * @summary: Get report download history
65
- * @description: Retrieve history reports for a specific company based on the provided filters. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/webhook/getHistoricalReports/).
66
+ * @summary: Get report download history.
67
+ * @description: Retrieve history reports for a specific company based on the provided filters.
68
+ * - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/webhook/getHistoricalReports/).
66
69
  */
67
70
  getHistoricalReports({ body, requestHeaders }?: WebhookPlatformValidator.GetHistoricalReportsParam, { responseHeaders }?: object): Promise<WebhookPlatformModel.HistoryResponse>;
68
71
  /**
@@ -80,12 +83,13 @@ declare class Webhook {
80
83
  * @param {WebhookPlatformValidator.GetReportFiltersParam} arg - Arg object
81
84
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
82
85
  * @param {import("../PlatformAPIClient").Options} - Options
83
- * @returns {Promise<WebhookPlatformModel.ReportFilterResponse>} - Success response
86
+ * @returns {Promise<WebhookPlatformModel.ReportFilterResponse[]>} - Success response
84
87
  * @name getReportFilters
85
- * @summary: Get filters for a company
86
- * @description: Retrieve filters for a specific company based on the provided subscriber IDs. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/webhook/getReportFilters/).
88
+ * @summary: Get filters for a company.
89
+ * @description: Retrieve filters for a specific company based on the provided subscriber IDs.
90
+ * - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/webhook/getReportFilters/).
87
91
  */
88
- getReportFilters({ body, requestHeaders }?: WebhookPlatformValidator.GetReportFiltersParam, { responseHeaders }?: object): Promise<WebhookPlatformModel.ReportFilterResponse>;
92
+ getReportFilters({ body, requestHeaders }?: WebhookPlatformValidator.GetReportFiltersParam, { responseHeaders }?: object): Promise<WebhookPlatformModel.ReportFilterResponse[]>;
89
93
  /**
90
94
  * @param {WebhookPlatformValidator.GetSubscriberByIdParam} arg - Arg object
91
95
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
@@ -100,12 +104,13 @@ declare class Webhook {
100
104
  * @param {WebhookPlatformValidator.GetSubscribersByCompanyParam} arg - Arg object
101
105
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
102
106
  * @param {import("../PlatformAPIClient").Options} - Options
103
- * @returns {Promise<WebhookPlatformModel.SubscriberResponse>} - Success response
107
+ * @returns {Promise<WebhookPlatformModel.SubscriberConfigList>} - Success response
104
108
  * @name getSubscribersByCompany
105
- * @summary: Get Subscribers By Company ID
106
- * @description: Get Subscribers By CompanyId - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/webhook/getSubscribersByCompany/).
109
+ * @summary: Get Subscribers By CompanyId.
110
+ * @description: Get Subscribers By Company ID.
111
+ * - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/webhook/getSubscribersByCompany/).
107
112
  */
108
- getSubscribersByCompany({ pageNo, pageSize, extensionId, requestHeaders }?: WebhookPlatformValidator.GetSubscribersByCompanyParam, { responseHeaders }?: object): Promise<WebhookPlatformModel.SubscriberResponse>;
113
+ getSubscribersByCompany({ pageNo, pageSize, extensionId, requestHeaders }?: WebhookPlatformValidator.GetSubscribersByCompanyParam, { responseHeaders }?: object): Promise<WebhookPlatformModel.SubscriberConfigList>;
109
114
  /**
110
115
  * @param {WebhookPlatformValidator.GetSubscribersByExtensionIdParam} arg - Arg object
111
116
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
@@ -120,55 +125,58 @@ declare class Webhook {
120
125
  * @param {WebhookPlatformValidator.ManualRetryCancelParam} arg - Arg object
121
126
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
122
127
  * @param {import("../PlatformAPIClient").Options} - Options
123
- * @returns {Promise<WebhookPlatformModel.EventSuccessResponse>} - Success response
128
+ * @returns {Promise<string>} - Success response
124
129
  * @name manualRetryCancel
125
130
  * @summary: Cancel the active manual retry for a company's failed events.
126
131
  * @description: Cancels the active manual retry for a specific company's failed events. If a manual retry is currently in progress, it will be cancelled.
127
132
  * - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/webhook/manualRetryCancel/).
128
133
  */
129
- manualRetryCancel({ requestHeaders }?: any, { responseHeaders }?: object): Promise<WebhookPlatformModel.EventSuccessResponse>;
134
+ manualRetryCancel({ requestHeaders }?: any, { responseHeaders }?: object): Promise<string>;
130
135
  /**
131
136
  * @param {WebhookPlatformValidator.ManualRetryOfFailedEventParam} arg - Arg object
132
137
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
133
138
  * @param {import("../PlatformAPIClient").Options} - Options
134
- * @returns {Promise<WebhookPlatformModel.EventProcessedSuccessResponse>} -
135
- * Success response
139
+ * @returns {Promise<WebhookPlatformModel.RetrySuccessResponse>} - Success response
136
140
  * @name manualRetryOfFailedEvent
137
141
  * @summary: Initiate a manual retry for event processing.
138
142
  * @description: Initiates a manual retry for event processing for a specific company. This endpoint allows the user to specify the date range (start_date and end_date) within which the events should be retried.
139
143
  * - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/webhook/manualRetryOfFailedEvent/).
140
144
  */
141
- manualRetryOfFailedEvent({ body, requestHeaders }?: WebhookPlatformValidator.ManualRetryOfFailedEventParam, { responseHeaders }?: object): Promise<WebhookPlatformModel.EventProcessedSuccessResponse>;
145
+ manualRetryOfFailedEvent({ body, requestHeaders }?: WebhookPlatformValidator.ManualRetryOfFailedEventParam, { responseHeaders }?: object): Promise<WebhookPlatformModel.RetrySuccessResponse>;
142
146
  /**
143
147
  * @param {WebhookPlatformValidator.PingWebhookParam} arg - Arg object
144
148
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
145
149
  * @param {import("../PlatformAPIClient").Options} - Options
146
150
  * @returns {Promise<WebhookPlatformModel.PingWebhookResponse>} - Success response
147
151
  * @name pingWebhook
148
- * @summary: Ping and validate webhook url
149
- * @description: Ping and validate webhook url - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/webhook/pingWebhook/).
152
+ * @summary: Ping and validate webhook url.
153
+ * @description: Ping and validate webhook url.
154
+ * - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/webhook/pingWebhook/).
150
155
  */
151
156
  pingWebhook({ body, requestHeaders }?: WebhookPlatformValidator.PingWebhookParam, { responseHeaders }?: object): Promise<WebhookPlatformModel.PingWebhookResponse>;
152
157
  /**
153
158
  * @param {WebhookPlatformValidator.RegisterSubscriberToEventParam} arg - Arg object
154
159
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
155
160
  * @param {import("../PlatformAPIClient").Options} - Options
156
- * @returns {Promise<WebhookPlatformModel.SubscriberConfig>} - Success response
161
+ * @returns {Promise<WebhookPlatformModel.SubscriberConfigResponse>} -
162
+ * Success response
157
163
  * @name registerSubscriberToEvent
158
- * @summary: Register Subscriber
159
- * @description: Register Subscriber - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/webhook/registerSubscriberToEvent/).
164
+ * @summary: Register Subscriber.
165
+ * @description: Register Subscriber.
166
+ * - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/webhook/registerSubscriberToEvent/).
160
167
  */
161
- registerSubscriberToEvent({ body, requestHeaders }?: WebhookPlatformValidator.RegisterSubscriberToEventParam, { responseHeaders }?: object): Promise<WebhookPlatformModel.SubscriberConfig>;
168
+ registerSubscriberToEvent({ body, requestHeaders }?: WebhookPlatformValidator.RegisterSubscriberToEventParam, { responseHeaders }?: object): Promise<WebhookPlatformModel.SubscriberConfigResponse>;
162
169
  /**
163
170
  * @param {WebhookPlatformValidator.UpdateSubscriberConfigParam} arg - Arg object
164
171
  * @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
165
172
  * @param {import("../PlatformAPIClient").Options} - Options
166
- * @returns {Promise<WebhookPlatformModel.SubscriberConfig>} - Success response
173
+ * @returns {Promise<WebhookPlatformModel.SubscriberConfigResponse>} -
174
+ * Success response
167
175
  * @name updateSubscriberConfig
168
176
  * @summary: Update Subscriber
169
177
  * @description: Update Subscriber - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/webhook/updateSubscriberConfig/).
170
178
  */
171
- updateSubscriberConfig({ body, requestHeaders }?: WebhookPlatformValidator.UpdateSubscriberConfigParam, { responseHeaders }?: object): Promise<WebhookPlatformModel.SubscriberConfig>;
179
+ updateSubscriberConfig({ body, requestHeaders }?: WebhookPlatformValidator.UpdateSubscriberConfigParam, { responseHeaders }?: object): Promise<WebhookPlatformModel.SubscriberConfigResponse>;
172
180
  }
173
181
  import WebhookPlatformValidator = require("./WebhookPlatformValidator");
174
182
  import WebhookPlatformModel = require("./WebhookPlatformModel");