@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
@@ -21,7 +21,7 @@ class Lead {
21
21
  * @param {import("../PlatformAPIClient").Options} - Options
22
22
  * @returns {Promise<LeadPlatformModel.CloseVideoRoomResponse>} - Success response
23
23
  * @name closeVideoRoom
24
- * @summary: Close video room.
24
+ * @summary: Close video room
25
25
  * @description: Terminate and close an active video room. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/lead/closeVideoRoom/).
26
26
  */
27
27
  async closeVideoRoom(
@@ -100,7 +100,7 @@ class Lead {
100
100
  * @param {import("../PlatformAPIClient").Options} - Options
101
101
  * @returns {Promise<LeadPlatformModel.CustomForm>} - Success response
102
102
  * @name createCustomForm
103
- * @summary: Create custom form.
103
+ * @summary: Create custom form
104
104
  * @description: Create a new custom form for application users to fill - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/lead/createCustomForm/).
105
105
  */
106
106
  async createCustomForm(
@@ -179,7 +179,7 @@ class Lead {
179
179
  * @param {import("../PlatformAPIClient").Options} - Options
180
180
  * @returns {Promise<LeadPlatformModel.TicketHistory>} - Success response
181
181
  * @name createNewHistory
182
- * @summary: Create history for specific application level ticket
182
+ * @summary: Create ticket history interaction
183
183
  * @description: Create history for specific application level ticket, this history is seen on ticket detail page, this can be comment, log or rating. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/lead/createNewHistory/).
184
184
  */
185
185
  async createNewHistory(
@@ -339,8 +339,8 @@ class Lead {
339
339
  * @param {import("../PlatformAPIClient").Options} - Options
340
340
  * @returns {Promise<LeadPlatformModel.CustomForm>} - Success response
341
341
  * @name editCustomForm
342
- * @summary: Edit custom form.
343
- * @description: Modify the content and assosciated settings of a custom form. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/lead/editCustomForm/).
342
+ * @summary: Update custom form
343
+ * @description: Modify the content and associated settings of a custom form. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/lead/editCustomForm/).
344
344
  */
345
345
  async editCustomForm(
346
346
  { slug, body, requestHeaders } = { requestHeaders: {} },
@@ -420,7 +420,7 @@ class Lead {
420
420
  * @param {import("../PlatformAPIClient").Options} - Options
421
421
  * @returns {Promise<LeadPlatformModel.Ticket>} - Success response
422
422
  * @name editNewTicket
423
- * @summary: Edits ticket details of a application level ticket
423
+ * @summary: Update Ticket Details
424
424
  * @description: Edits ticket details of a application level ticket such as status, priority, category, tags, attachments, assigne & ticket content changes - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/lead/editNewTicket/).
425
425
  */
426
426
  async editNewTicket(
@@ -499,8 +499,8 @@ class Lead {
499
499
  * @param {import("../PlatformAPIClient").Options} - Options
500
500
  * @returns {Promise<LeadPlatformModel.CustomForm>} - Success response
501
501
  * @name getCustomForm
502
- * @summary: Get custom form.
503
- * @description: Retrieve information about a custom form which includes corresponding field details and any validation regex required against that field or not - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/lead/getCustomForm/).
502
+ * @summary: Get custom form
503
+ * @description: Get information about a custom form which includes corresponding field details and any validation regex required against that field or not - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/lead/getCustomForm/).
504
504
  */
505
505
  async getCustomForm(
506
506
  { slug, requestHeaders } = { requestHeaders: {} },
@@ -576,8 +576,8 @@ class Lead {
576
576
  * @param {import("../PlatformAPIClient").Options} - Options
577
577
  * @returns {Promise<LeadPlatformModel.CustomFormList>} - Success response
578
578
  * @name getCustomForms
579
- * @summary: Get custom forms.
580
- * @description: Retrieve a list of available custom forms. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/lead/getCustomForms/).
579
+ * @summary: Get custom forms
580
+ * @description: List all available custom forms - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/lead/getCustomForms/).
581
581
  */
582
582
  async getCustomForms(
583
583
  { requestHeaders } = { requestHeaders: {} },
@@ -651,8 +651,8 @@ class Lead {
651
651
  * @param {import("../PlatformAPIClient").Options} - Options
652
652
  * @returns {Promise<LeadPlatformModel.Ticket>} - Success response
653
653
  * @name getNewTicket
654
- * @summary: Retreives ticket details of a application level ticket
655
- * @description: Retreives ticket details of a application level ticket with ticket ID - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/lead/getNewTicket/).
654
+ * @summary: Get Ticket Details
655
+ * @description: Get ticket details of a application level ticket with ticket ID - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/lead/getNewTicket/).
656
656
  */
657
657
  async getNewTicket(
658
658
  { id, requestHeaders } = { requestHeaders: {} },
@@ -728,7 +728,7 @@ class Lead {
728
728
  * @param {import("../PlatformAPIClient").Options} - Options
729
729
  * @returns {Promise<LeadPlatformModel.TicketHistoryList>} - Success response
730
730
  * @name getNewTicketHistory
731
- * @summary: Gets history list for specific application level ticket
731
+ * @summary: Get ticket history interaction
732
732
  * @description: Gets history list for specific application level ticket, this history is seen on ticket detail page, this can be comment, log or rating. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/lead/getNewTicketHistory/).
733
733
  */
734
734
  async getNewTicketHistory(
@@ -807,7 +807,7 @@ class Lead {
807
807
  * @param {import("../PlatformAPIClient").Options} - Options
808
808
  * @returns {Promise<LeadPlatformModel.TicketList>} - Success response
809
809
  * @name getNewTickets
810
- * @summary: Gets the list of Application level Tickets and/or ticket filters depending on query params
810
+ * @summary: List sales channel tickets
811
811
  * @description: Gets the list of Application level Tickets and/or ticket filters - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/lead/getNewTickets/).
812
812
  */
813
813
  async getNewTickets(
@@ -905,7 +905,7 @@ class Lead {
905
905
  * @returns {Promise<LeadPlatformModel.GetTokenForVideoRoomResponse>} -
906
906
  * Success response
907
907
  * @name getNewTokenForVideoRoom
908
- * @summary: Get Token to join a specific Video Room using it's unqiue name
908
+ * @summary: Get video Room Token
909
909
  * @description: Get Token to join a specific Video Room using it's unqiue name, this Token is your ticket to Room and also creates your identity there. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/lead/getNewTokenForVideoRoom/).
910
910
  */
911
911
  async getNewTokenForVideoRoom(
@@ -988,7 +988,7 @@ class Lead {
988
988
  * - Success response
989
989
  *
990
990
  * @name getNewVideoParticipants
991
- * @summary: Get participants of a specific Video Room using it's unique name
991
+ * @summary: List video Room Participants
992
992
  * @description: Get participants of a specific Video Room using it's unique name, this can be used to check if people are already there in the room and also to show their names. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/lead/getNewVideoParticipants/).
993
993
  */
994
994
  async getNewVideoParticipants(
@@ -1067,7 +1067,7 @@ class Lead {
1067
1067
  * @param {import("../PlatformAPIClient").Options} - Options
1068
1068
  * @returns {Promise<LeadPlatformModel.CreateVideoRoomResponse>} - Success response
1069
1069
  * @name openVideoRoom
1070
- * @summary: Open video room.
1070
+ * @summary: Open video room
1071
1071
  * @description: Initiate and open a video room. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/lead/openVideoRoom/).
1072
1072
  */
1073
1073
  async openVideoRoom(
@@ -191,4 +191,4 @@ type OpenVideoRoomParam = {
191
191
  body: LeadPlatformModel.CreateVideoRoomPayload;
192
192
  };
193
193
  type GetCustomFormsParam = any;
194
- import LeadPlatformModel = require("./LeadPlatformModel");
194
+ import LeadPlatformModel = require("sdk/output/javascript/code/sdk/platform/Lead/LeadPlatformModel");
@@ -8,7 +8,7 @@ declare class Lead {
8
8
  * @param {import("../PlatformAPIClient").Options} - Options
9
9
  * @returns {Promise<LeadPlatformModel.TicketHistory>} - Success response
10
10
  * @name createPlatformTicketHistory
11
- * @summary: Create platform ticket history.
11
+ * @summary: Create ticket history
12
12
  * @description: Create futher interactions on a company level ticket such as changing it's status, priority or replying to a ticket via a thread. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/lead/createPlatformTicketHistory/).
13
13
  */
14
14
  createPlatformTicketHistory({ id, body, requestHeaders }?: LeadPlatformValidator.CreatePlatformTicketHistoryParam, { responseHeaders }?: object): Promise<LeadPlatformModel.TicketHistory>;
@@ -18,7 +18,7 @@ declare class Lead {
18
18
  * @param {import("../PlatformAPIClient").Options} - Options
19
19
  * @returns {Promise<LeadPlatformModel.Ticket>} - Success response
20
20
  * @name createTicket
21
- * @summary: Create ticket.
21
+ * @summary: Create ticket
22
22
  * @description: Create a new ticket at application level - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/lead/createTicket/).
23
23
  */
24
24
  createTicket({ body, requestHeaders }?: LeadPlatformValidator.CreateTicketParam, { responseHeaders }?: object): Promise<LeadPlatformModel.Ticket>;
@@ -28,7 +28,7 @@ declare class Lead {
28
28
  * @param {import("../PlatformAPIClient").Options} - Options
29
29
  * @returns {Promise<LeadPlatformModel.Ticket>} - Success response
30
30
  * @name editPlatformTicket
31
- * @summary: Edit platform ticket.
31
+ * @summary: Update a ticket
32
32
  * @description: Modify the content and settings of a specific company level ticket. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/lead/editPlatformTicket/).
33
33
  */
34
34
  editPlatformTicket({ id, body, requestHeaders }?: LeadPlatformValidator.EditPlatformTicketParam, { responseHeaders }?: object): Promise<LeadPlatformModel.Ticket>;
@@ -38,8 +38,8 @@ declare class Lead {
38
38
  * @param {import("../PlatformAPIClient").Options} - Options
39
39
  * @returns {Promise<LeadPlatformModel.TicketFeedbackList>} - Success response
40
40
  * @name getFeedbacks
41
- * @summary: Get feedbacks.
42
- * @description: Retrieve feedback information related to a ticket. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/lead/getFeedbacks/).
41
+ * @summary: List feedbacks
42
+ * @description: Get feedback information related to a ticket. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/lead/getFeedbacks/).
43
43
  */
44
44
  getFeedbacks({ id, requestHeaders }?: LeadPlatformValidator.GetFeedbacksParam, { responseHeaders }?: object): Promise<LeadPlatformModel.TicketFeedbackList>;
45
45
  /**
@@ -48,8 +48,8 @@ declare class Lead {
48
48
  * @param {import("../PlatformAPIClient").Options} - Options
49
49
  * @returns {Promise<LeadPlatformModel.CloseVideoRoomResponse>} - Success response
50
50
  * @name getGeneralConfig
51
- * @summary: Get general configuration.
52
- * @description: Retrieve general configuration settings related to support system for company tickets - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/lead/getGeneralConfig/).
51
+ * @summary: Get general configuration
52
+ * @description: Get general configuration settings related to support system for company tickets - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/lead/getGeneralConfig/).
53
53
  */
54
54
  getGeneralConfig({ requestHeaders }?: any, { responseHeaders }?: object): Promise<LeadPlatformModel.CloseVideoRoomResponse>;
55
55
  /**
@@ -58,8 +58,8 @@ declare class Lead {
58
58
  * @param {import("../PlatformAPIClient").Options} - Options
59
59
  * @returns {Promise<LeadPlatformModel.Ticket>} - Success response
60
60
  * @name getPlatformTicket
61
- * @summary: Get platform ticket.
62
- * @description: Retrieve detailed information about a specific ticket which is raised at company level - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/lead/getPlatformTicket/).
61
+ * @summary: Get a ticket
62
+ * @description: Get detailed information about a specific ticket which is raised at company level - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/lead/getPlatformTicket/).
63
63
  */
64
64
  getPlatformTicket({ id, requestHeaders }?: LeadPlatformValidator.GetPlatformTicketParam, { responseHeaders }?: object): Promise<LeadPlatformModel.Ticket>;
65
65
  /**
@@ -68,8 +68,8 @@ declare class Lead {
68
68
  * @param {import("../PlatformAPIClient").Options} - Options
69
69
  * @returns {Promise<LeadPlatformModel.TicketHistoryList>} - Success response
70
70
  * @name getPlatformTicketHistory
71
- * @summary: Get platform ticket history.
72
- * @description: Retrieve a list of history records for a company level ticket. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/lead/getPlatformTicketHistory/).
71
+ * @summary: Get ticket history
72
+ * @description: List history records for a company level ticket. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/lead/getPlatformTicketHistory/).
73
73
  */
74
74
  getPlatformTicketHistory({ id, requestHeaders }?: LeadPlatformValidator.GetPlatformTicketHistoryParam, { responseHeaders }?: object): Promise<LeadPlatformModel.TicketHistoryList>;
75
75
  /**
@@ -78,8 +78,8 @@ declare class Lead {
78
78
  * @param {import("../PlatformAPIClient").Options} - Options
79
79
  * @returns {Promise<LeadPlatformModel.TicketList>} - Success response
80
80
  * @name getPlatformTickets
81
- * @summary: Get platform tickets.
82
- * @description: Retrieve a list of tickets created within the platform at company level - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/lead/getPlatformTickets/).
81
+ * @summary: List tickets
82
+ * @description: List all tickets created within the platform at company level - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/lead/getPlatformTickets/).
83
83
  */
84
84
  getPlatformTickets({ items, filters, q, status, priority, category, pageNo, pageSize, requestHeaders, }?: LeadPlatformValidator.GetPlatformTicketsParam, { responseHeaders }?: object): Promise<LeadPlatformModel.TicketList>;
85
85
  /**
@@ -90,8 +90,8 @@ declare class Lead {
90
90
  * - Success response
91
91
  *
92
92
  * @name getPlatformVideoParticipants
93
- * @summary: Get platform video participants.
94
- * @description: Retrieve a list of participants in a platform video room. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/lead/getPlatformVideoParticipants/).
93
+ * @summary: List video Room Participants
94
+ * @description: Get a list of participants in a platform video room - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/lead/getPlatformVideoParticipants/).
95
95
  */
96
96
  getPlatformVideoParticipants({ uniqueName, requestHeaders }?: LeadPlatformValidator.GetPlatformVideoParticipantsParam, { responseHeaders }?: object): Promise<LeadPlatformModel.GetParticipantsInsideVideoRoomResponse>;
97
97
  /**
@@ -101,8 +101,8 @@ declare class Lead {
101
101
  * @returns {Promise<LeadPlatformModel.GetTokenForVideoRoomResponse>} -
102
102
  * Success response
103
103
  * @name getTokenForPlatformVideoRoom
104
- * @summary: Get token for platform video room.
105
- * @description: Retrieve an access token for a platform video room. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/lead/getTokenForPlatformVideoRoom/).
104
+ * @summary: Get video Room Token
105
+ * @description: Get an access token for a platform video room. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/lead/getTokenForPlatformVideoRoom/).
106
106
  */
107
107
  getTokenForPlatformVideoRoom({ uniqueName, requestHeaders }?: LeadPlatformValidator.GetTokenForPlatformVideoRoomParam, { responseHeaders }?: object): Promise<LeadPlatformModel.GetTokenForVideoRoomResponse>;
108
108
  /**
@@ -111,10 +111,10 @@ declare class Lead {
111
111
  * @param {import("../PlatformAPIClient").Options} - Options
112
112
  * @returns {Promise<LeadPlatformModel.TicketFeedback>} - Success response
113
113
  * @name submitFeedback
114
- * @summary: Submit feedback.
114
+ * @summary: Submit feedback
115
115
  * @description: Provide feedback on a ticket and it's resolution. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/lead/submitFeedback/).
116
116
  */
117
117
  submitFeedback({ id, body, requestHeaders }?: LeadPlatformValidator.SubmitFeedbackParam, { responseHeaders }?: object): Promise<LeadPlatformModel.TicketFeedback>;
118
118
  }
119
- import LeadPlatformValidator = require("./LeadPlatformValidator");
120
- import LeadPlatformModel = require("./LeadPlatformModel");
119
+ import LeadPlatformValidator = require("sdk/output/javascript/code/sdk/platform/Lead/LeadPlatformValidator");
120
+ import LeadPlatformModel = require("sdk/output/javascript/code/sdk/platform/Lead/LeadPlatformModel");
@@ -20,7 +20,7 @@ class Lead {
20
20
  * @param {import("../PlatformAPIClient").Options} - Options
21
21
  * @returns {Promise<LeadPlatformModel.TicketHistory>} - Success response
22
22
  * @name createPlatformTicketHistory
23
- * @summary: Create platform ticket history.
23
+ * @summary: Create ticket history
24
24
  * @description: Create futher interactions on a company level ticket such as changing it's status, priority or replying to a ticket via a thread. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/lead/createPlatformTicketHistory/).
25
25
  */
26
26
  async createPlatformTicketHistory(
@@ -103,7 +103,7 @@ class Lead {
103
103
  * @param {import("../PlatformAPIClient").Options} - Options
104
104
  * @returns {Promise<LeadPlatformModel.Ticket>} - Success response
105
105
  * @name createTicket
106
- * @summary: Create ticket.
106
+ * @summary: Create ticket
107
107
  * @description: Create a new ticket at application level - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/lead/createTicket/).
108
108
  */
109
109
  async createTicket(
@@ -180,7 +180,7 @@ class Lead {
180
180
  * @param {import("../PlatformAPIClient").Options} - Options
181
181
  * @returns {Promise<LeadPlatformModel.Ticket>} - Success response
182
182
  * @name editPlatformTicket
183
- * @summary: Edit platform ticket.
183
+ * @summary: Update a ticket
184
184
  * @description: Modify the content and settings of a specific company level ticket. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/lead/editPlatformTicket/).
185
185
  */
186
186
  async editPlatformTicket(
@@ -261,8 +261,8 @@ class Lead {
261
261
  * @param {import("../PlatformAPIClient").Options} - Options
262
262
  * @returns {Promise<LeadPlatformModel.TicketFeedbackList>} - Success response
263
263
  * @name getFeedbacks
264
- * @summary: Get feedbacks.
265
- * @description: Retrieve feedback information related to a ticket. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/lead/getFeedbacks/).
264
+ * @summary: List feedbacks
265
+ * @description: Get feedback information related to a ticket. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/lead/getFeedbacks/).
266
266
  */
267
267
  async getFeedbacks(
268
268
  { id, requestHeaders } = { requestHeaders: {} },
@@ -338,8 +338,8 @@ class Lead {
338
338
  * @param {import("../PlatformAPIClient").Options} - Options
339
339
  * @returns {Promise<LeadPlatformModel.CloseVideoRoomResponse>} - Success response
340
340
  * @name getGeneralConfig
341
- * @summary: Get general configuration.
342
- * @description: Retrieve general configuration settings related to support system for company tickets - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/lead/getGeneralConfig/).
341
+ * @summary: Get general configuration
342
+ * @description: Get general configuration settings related to support system for company tickets - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/lead/getGeneralConfig/).
343
343
  */
344
344
  async getGeneralConfig(
345
345
  { requestHeaders } = { requestHeaders: {} },
@@ -413,8 +413,8 @@ class Lead {
413
413
  * @param {import("../PlatformAPIClient").Options} - Options
414
414
  * @returns {Promise<LeadPlatformModel.Ticket>} - Success response
415
415
  * @name getPlatformTicket
416
- * @summary: Get platform ticket.
417
- * @description: Retrieve detailed information about a specific ticket which is raised at company level - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/lead/getPlatformTicket/).
416
+ * @summary: Get a ticket
417
+ * @description: Get detailed information about a specific ticket which is raised at company level - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/lead/getPlatformTicket/).
418
418
  */
419
419
  async getPlatformTicket(
420
420
  { id, requestHeaders } = { requestHeaders: {} },
@@ -492,8 +492,8 @@ class Lead {
492
492
  * @param {import("../PlatformAPIClient").Options} - Options
493
493
  * @returns {Promise<LeadPlatformModel.TicketHistoryList>} - Success response
494
494
  * @name getPlatformTicketHistory
495
- * @summary: Get platform ticket history.
496
- * @description: Retrieve a list of history records for a company level ticket. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/lead/getPlatformTicketHistory/).
495
+ * @summary: Get ticket history
496
+ * @description: List history records for a company level ticket. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/lead/getPlatformTicketHistory/).
497
497
  */
498
498
  async getPlatformTicketHistory(
499
499
  { id, requestHeaders } = { requestHeaders: {} },
@@ -571,8 +571,8 @@ class Lead {
571
571
  * @param {import("../PlatformAPIClient").Options} - Options
572
572
  * @returns {Promise<LeadPlatformModel.TicketList>} - Success response
573
573
  * @name getPlatformTickets
574
- * @summary: Get platform tickets.
575
- * @description: Retrieve a list of tickets created within the platform at company level - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/lead/getPlatformTickets/).
574
+ * @summary: List tickets
575
+ * @description: List all tickets created within the platform at company level - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/lead/getPlatformTickets/).
576
576
  */
577
577
  async getPlatformTickets(
578
578
  {
@@ -684,8 +684,8 @@ class Lead {
684
684
  * - Success response
685
685
  *
686
686
  * @name getPlatformVideoParticipants
687
- * @summary: Get platform video participants.
688
- * @description: Retrieve a list of participants in a platform video room. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/lead/getPlatformVideoParticipants/).
687
+ * @summary: List video Room Participants
688
+ * @description: Get a list of participants in a platform video room - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/lead/getPlatformVideoParticipants/).
689
689
  */
690
690
  async getPlatformVideoParticipants(
691
691
  { uniqueName, requestHeaders } = { requestHeaders: {} },
@@ -766,8 +766,8 @@ class Lead {
766
766
  * @returns {Promise<LeadPlatformModel.GetTokenForVideoRoomResponse>} -
767
767
  * Success response
768
768
  * @name getTokenForPlatformVideoRoom
769
- * @summary: Get token for platform video room.
770
- * @description: Retrieve an access token for a platform video room. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/lead/getTokenForPlatformVideoRoom/).
769
+ * @summary: Get video Room Token
770
+ * @description: Get an access token for a platform video room. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/lead/getTokenForPlatformVideoRoom/).
771
771
  */
772
772
  async getTokenForPlatformVideoRoom(
773
773
  { uniqueName, requestHeaders } = { requestHeaders: {} },
@@ -847,7 +847,7 @@ class Lead {
847
847
  * @param {import("../PlatformAPIClient").Options} - Options
848
848
  * @returns {Promise<LeadPlatformModel.TicketFeedback>} - Success response
849
849
  * @name submitFeedback
850
- * @summary: Submit feedback.
850
+ * @summary: Submit feedback
851
851
  * @description: Provide feedback on a ticket and it's resolution. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/lead/submitFeedback/).
852
852
  */
853
853
  async submitFeedback(
@@ -131,26 +131,7 @@ export = LeadPlatformModel;
131
131
  * @property {string} [created_at]
132
132
  * @property {string} [updated_at]
133
133
  * @property {string} [external_id]
134
- */
135
- /**
136
- * @typedef PhoneNumber
137
- * @property {boolean} [active] - Denotes if the phone number is active
138
- * @property {boolean} [primary] - Denotes it's the primary phone number for the account
139
- * @property {boolean} [verified] - Denotes it's a verified phone number
140
- * @property {string} [phone] - Phone number
141
- * @property {number} [country_code] - Country code
142
- */
143
- /**
144
- * @typedef Email
145
- * @property {boolean} [primary] - Denotes it's the primary email for the account
146
- * @property {boolean} [verified] - Denotes it's a verified email
147
- * @property {string} [email] - Email Address
148
- * @property {boolean} [active] - Denotes if the email is active
149
- */
150
- /**
151
- * @typedef Debug
152
- * @property {string} [source] - Source of user
153
- * @property {string} [platform] - Platform of user
134
+ * @property {string} [rr_id]
154
135
  */
155
136
  /**
156
137
  * @typedef TicketContext
@@ -305,6 +286,21 @@ export = LeadPlatformModel;
305
286
  * @typedef ErrorMessage
306
287
  * @property {string} [message]
307
288
  */
289
+ /**
290
+ * @typedef PhoneNumber
291
+ * @property {string} [phone] - Phone number
292
+ * @property {number} [country_code] - Country code
293
+ * @property {boolean} [active] - Is the phone number active
294
+ * @property {boolean} [primary] - Is it a primary phone number
295
+ * @property {boolean} [verified] - Is the phone number verified
296
+ */
297
+ /**
298
+ * @typedef Email
299
+ * @property {string} [email] - Email address
300
+ * @property {boolean} [active] - Is the email active
301
+ * @property {boolean} [primary] - Is it a primary email
302
+ * @property {boolean} [verified] - Is the email verified
303
+ */
308
304
  /** @typedef {"low" | "medium" | "high" | "urgent"} PriorityEnum */
309
305
  /** @typedef {"rating" | "log" | "comment" | "thread"} HistoryTypeEnum */
310
306
  /**
@@ -322,7 +318,7 @@ export = LeadPlatformModel;
322
318
  declare class LeadPlatformModel {
323
319
  }
324
320
  declare namespace LeadPlatformModel {
325
- export { TicketList, Page, TicketHistoryList, CustomFormList, CreateCustomFormPayload, EditCustomFormPayload, EditTicketPayload, AgentChangePayload, CreateVideoRoomResponse, CloseVideoRoomResponse, CreateVideoRoomPayload, NotifyUser, Filter, TicketHistoryPayload, GetTokenForVideoRoomResponse, GetParticipantsInsideVideoRoomResponse, Participant, UserSchema, PhoneNumber, Email, Debug, TicketContext, CreatedOn, TicketAsset, TicketContent, AddTicketPayload, Priority, Status, TicketFeedbackList, TicketFeedbackPayload, SubmitButton, PollForAssignment, CustomForm, FeedbackForm, TicketCategory, FeedbackResponseItem, TicketFeedback, TicketHistory, Ticket, ErrorMessage, PriorityEnum, HistoryTypeEnum, TicketAssetTypeEnum, TicketSourceEnum };
321
+ export { TicketList, Page, TicketHistoryList, CustomFormList, CreateCustomFormPayload, EditCustomFormPayload, EditTicketPayload, AgentChangePayload, CreateVideoRoomResponse, CloseVideoRoomResponse, CreateVideoRoomPayload, NotifyUser, Filter, TicketHistoryPayload, GetTokenForVideoRoomResponse, GetParticipantsInsideVideoRoomResponse, Participant, UserSchema, TicketContext, CreatedOn, TicketAsset, TicketContent, AddTicketPayload, Priority, Status, TicketFeedbackList, TicketFeedbackPayload, SubmitButton, PollForAssignment, CustomForm, FeedbackForm, TicketCategory, FeedbackResponseItem, TicketFeedback, TicketHistory, Ticket, ErrorMessage, PhoneNumber, Email, PriorityEnum, HistoryTypeEnum, TicketAssetTypeEnum, TicketSourceEnum };
326
322
  }
327
323
  /** @returns {TicketList} */
328
324
  declare function TicketList(): TicketList;
@@ -588,62 +584,7 @@ type UserSchema = {
588
584
  created_at?: string;
589
585
  updated_at?: string;
590
586
  external_id?: string;
591
- };
592
- /** @returns {PhoneNumber} */
593
- declare function PhoneNumber(): PhoneNumber;
594
- type PhoneNumber = {
595
- /**
596
- * - Denotes if the phone number is active
597
- */
598
- active?: boolean;
599
- /**
600
- * - Denotes it's the primary phone number for the account
601
- */
602
- primary?: boolean;
603
- /**
604
- * - Denotes it's a verified phone number
605
- */
606
- verified?: boolean;
607
- /**
608
- * - Phone number
609
- */
610
- phone?: string;
611
- /**
612
- * - Country code
613
- */
614
- country_code?: number;
615
- };
616
- /** @returns {Email} */
617
- declare function Email(): Email;
618
- type Email = {
619
- /**
620
- * - Denotes it's the primary email for the account
621
- */
622
- primary?: boolean;
623
- /**
624
- * - Denotes it's a verified email
625
- */
626
- verified?: boolean;
627
- /**
628
- * - Email Address
629
- */
630
- email?: string;
631
- /**
632
- * - Denotes if the email is active
633
- */
634
- active?: boolean;
635
- };
636
- /** @returns {Debug} */
637
- declare function Debug(): Debug;
638
- type Debug = {
639
- /**
640
- * - Source of user
641
- */
642
- source?: string;
643
- /**
644
- * - Platform of user
645
- */
646
- platform?: string;
587
+ rr_id?: string;
647
588
  };
648
589
  /** @returns {TicketContext} */
649
590
  declare function TicketContext(): TicketContext;
@@ -1027,6 +968,50 @@ declare function ErrorMessage(): ErrorMessage;
1027
968
  type ErrorMessage = {
1028
969
  message?: string;
1029
970
  };
971
+ /** @returns {PhoneNumber} */
972
+ declare function PhoneNumber(): PhoneNumber;
973
+ type PhoneNumber = {
974
+ /**
975
+ * - Phone number
976
+ */
977
+ phone?: string;
978
+ /**
979
+ * - Country code
980
+ */
981
+ country_code?: number;
982
+ /**
983
+ * - Is the phone number active
984
+ */
985
+ active?: boolean;
986
+ /**
987
+ * - Is it a primary phone number
988
+ */
989
+ primary?: boolean;
990
+ /**
991
+ * - Is the phone number verified
992
+ */
993
+ verified?: boolean;
994
+ };
995
+ /** @returns {Email} */
996
+ declare function Email(): Email;
997
+ type Email = {
998
+ /**
999
+ * - Email address
1000
+ */
1001
+ email?: string;
1002
+ /**
1003
+ * - Is the email active
1004
+ */
1005
+ active?: boolean;
1006
+ /**
1007
+ * - Is it a primary email
1008
+ */
1009
+ primary?: boolean;
1010
+ /**
1011
+ * - Is the email verified
1012
+ */
1013
+ verified?: boolean;
1014
+ };
1030
1015
  /**
1031
1016
  * Enum: PriorityEnum Used By: Lead
1032
1017
  *
@@ -149,29 +149,7 @@ const Joi = require("joi");
149
149
  * @property {string} [created_at]
150
150
  * @property {string} [updated_at]
151
151
  * @property {string} [external_id]
152
- */
153
-
154
- /**
155
- * @typedef PhoneNumber
156
- * @property {boolean} [active] - Denotes if the phone number is active
157
- * @property {boolean} [primary] - Denotes it's the primary phone number for the account
158
- * @property {boolean} [verified] - Denotes it's a verified phone number
159
- * @property {string} [phone] - Phone number
160
- * @property {number} [country_code] - Country code
161
- */
162
-
163
- /**
164
- * @typedef Email
165
- * @property {boolean} [primary] - Denotes it's the primary email for the account
166
- * @property {boolean} [verified] - Denotes it's a verified email
167
- * @property {string} [email] - Email Address
168
- * @property {boolean} [active] - Denotes if the email is active
169
- */
170
-
171
- /**
172
- * @typedef Debug
173
- * @property {string} [source] - Source of user
174
- * @property {string} [platform] - Platform of user
152
+ * @property {string} [rr_id]
175
153
  */
176
154
 
177
155
  /**
@@ -346,6 +324,23 @@ const Joi = require("joi");
346
324
  * @property {string} [message]
347
325
  */
348
326
 
327
+ /**
328
+ * @typedef PhoneNumber
329
+ * @property {string} [phone] - Phone number
330
+ * @property {number} [country_code] - Country code
331
+ * @property {boolean} [active] - Is the phone number active
332
+ * @property {boolean} [primary] - Is it a primary phone number
333
+ * @property {boolean} [verified] - Is the phone number verified
334
+ */
335
+
336
+ /**
337
+ * @typedef Email
338
+ * @property {string} [email] - Email address
339
+ * @property {boolean} [active] - Is the email active
340
+ * @property {boolean} [primary] - Is it a primary email
341
+ * @property {boolean} [verified] - Is the email verified
342
+ */
343
+
349
344
  /** @typedef {"low" | "medium" | "high" | "urgent"} PriorityEnum */
350
345
 
351
346
  /** @typedef {"rating" | "log" | "comment" | "thread"} HistoryTypeEnum */
@@ -547,35 +542,7 @@ class LeadPlatformModel {
547
542
  created_at: Joi.string().allow(""),
548
543
  updated_at: Joi.string().allow(""),
549
544
  external_id: Joi.string().allow(""),
550
- });
551
- }
552
-
553
- /** @returns {PhoneNumber} */
554
- static PhoneNumber() {
555
- return Joi.object({
556
- active: Joi.boolean(),
557
- primary: Joi.boolean(),
558
- verified: Joi.boolean(),
559
- phone: Joi.string().allow(""),
560
- country_code: Joi.number(),
561
- });
562
- }
563
-
564
- /** @returns {Email} */
565
- static Email() {
566
- return Joi.object({
567
- primary: Joi.boolean(),
568
- verified: Joi.boolean(),
569
- email: Joi.string().allow(""),
570
- active: Joi.boolean(),
571
- });
572
- }
573
-
574
- /** @returns {Debug} */
575
- static Debug() {
576
- return Joi.object({
577
- source: Joi.string().allow(""),
578
- platform: Joi.string().allow(""),
545
+ rr_id: Joi.string().allow(""),
579
546
  });
580
547
  }
581
548
 
@@ -785,6 +752,27 @@ class LeadPlatformModel {
785
752
  });
786
753
  }
787
754
 
755
+ /** @returns {PhoneNumber} */
756
+ static PhoneNumber() {
757
+ return Joi.object({
758
+ phone: Joi.string().allow(""),
759
+ country_code: Joi.number(),
760
+ active: Joi.boolean(),
761
+ primary: Joi.boolean(),
762
+ verified: Joi.boolean(),
763
+ });
764
+ }
765
+
766
+ /** @returns {Email} */
767
+ static Email() {
768
+ return Joi.object({
769
+ email: Joi.string().allow(""),
770
+ active: Joi.boolean(),
771
+ primary: Joi.boolean(),
772
+ verified: Joi.boolean(),
773
+ });
774
+ }
775
+
788
776
  /**
789
777
  * Enum: PriorityEnum Used By: Lead
790
778
  *
@@ -172,4 +172,4 @@ type SubmitFeedbackParam = {
172
172
  body: LeadPlatformModel.TicketFeedbackPayload;
173
173
  };
174
174
  type GetGeneralConfigParam = any;
175
- import LeadPlatformModel = require("./LeadPlatformModel");
175
+ import LeadPlatformModel = require("sdk/output/javascript/code/sdk/platform/Lead/LeadPlatformModel");