@gofynd/fdk-client-javascript 1.0.2 → 1.0.3

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 (310) hide show
  1. package/documentation/application/CART.md +5934 -4502
  2. package/documentation/application/CATALOG.md +6338 -7245
  3. package/documentation/application/COMMON.md +95 -222
  4. package/documentation/application/COMMUNICATION.md +106 -186
  5. package/documentation/application/CONFIGURATION.md +903 -1597
  6. package/documentation/application/CONTENT.md +557 -1279
  7. package/documentation/application/FILESTORAGE.md +84 -220
  8. package/documentation/application/LEAD.md +314 -660
  9. package/documentation/application/LOGISTIC.md +229 -305
  10. package/documentation/application/ORDER.md +642 -1137
  11. package/documentation/application/PAYMENT.md +2285 -3031
  12. package/documentation/application/POSCART.md +6079 -4642
  13. package/documentation/application/REWARDS.md +94 -248
  14. package/documentation/application/SHARE.md +152 -250
  15. package/documentation/application/THEME.md +952 -1235
  16. package/documentation/application/USER.md +1228 -1765
  17. package/documentation/platform/ANALYTICS.md +207 -349
  18. package/documentation/platform/AUDITTRAIL.md +121 -204
  19. package/documentation/platform/BILLING.md +865 -1376
  20. package/documentation/platform/CART.md +2814 -3662
  21. package/documentation/platform/CATALOG.md +14453 -17192
  22. package/documentation/platform/COMMON.md +95 -222
  23. package/documentation/platform/COMMUNICATION.md +1632 -2380
  24. package/documentation/platform/COMPANYPROFILE.md +572 -957
  25. package/documentation/platform/CONFIGURATION.md +3050 -4073
  26. package/documentation/platform/CONTENT.md +3438 -4172
  27. package/documentation/platform/DISCOUNT.md +140 -236
  28. package/documentation/platform/FILESTORAGE.md +187 -323
  29. package/documentation/platform/INVENTORY.md +268 -911
  30. package/documentation/platform/LEAD.md +2195 -2541
  31. package/documentation/platform/ORDER.md +3400 -5361
  32. package/documentation/platform/PARTNER.md +9 -36
  33. package/documentation/platform/PAYMENT.md +903 -1213
  34. package/documentation/platform/REWARDS.md +183 -347
  35. package/documentation/platform/SHARE.md +120 -213
  36. package/documentation/platform/THEME.md +12956 -13239
  37. package/documentation/platform/USER.md +975 -1120
  38. package/documentation/platform/WEBHOOK.md +78 -184
  39. package/documentation/public/CONFIGURATION.md +95 -222
  40. package/documentation/public/INVENTORY.md +100 -282
  41. package/documentation/public/WEBHOOK.md +27 -133
  42. package/package.json +1 -1
  43. package/sdk/application/Cart/CartApplicationClient.d.ts +243 -243
  44. package/sdk/application/Cart/CartApplicationClient.js +567 -567
  45. package/sdk/application/Cart/CartApplicationModel.d.ts +64 -63
  46. package/sdk/application/Cart/CartApplicationModel.js +489 -886
  47. package/sdk/application/Cart/CartApplicationValidator.d.ts +17 -17
  48. package/sdk/application/Cart/CartApplicationValidator.js +98 -98
  49. package/sdk/application/Catalog/CatalogApplicationClient.d.ts +358 -358
  50. package/sdk/application/Catalog/CatalogApplicationClient.js +1036 -1036
  51. package/sdk/application/Catalog/CatalogApplicationModel.d.ts +90 -90
  52. package/sdk/application/Catalog/CatalogApplicationModel.js +677 -1243
  53. package/sdk/application/Catalog/CatalogApplicationValidator.d.ts +19 -19
  54. package/sdk/application/Catalog/CatalogApplicationValidator.js +110 -110
  55. package/sdk/application/Common/CommonApplicationClient.d.ts +13 -13
  56. package/sdk/application/Common/CommonApplicationClient.js +38 -38
  57. package/sdk/application/Common/CommonApplicationModel.d.ts +12 -12
  58. package/sdk/application/Common/CommonApplicationModel.js +83 -160
  59. package/sdk/application/Common/CommonApplicationValidator.d.ts +1 -1
  60. package/sdk/application/Common/CommonApplicationValidator.js +6 -6
  61. package/sdk/application/Communication/CommunicationApplicationClient.d.ts +11 -11
  62. package/sdk/application/Communication/CommunicationApplicationClient.js +26 -26
  63. package/sdk/application/Communication/CommunicationApplicationModel.d.ts +6 -6
  64. package/sdk/application/Communication/CommunicationApplicationModel.js +38 -83
  65. package/sdk/application/Communication/CommunicationApplicationValidator.d.ts +1 -1
  66. package/sdk/application/Communication/CommunicationApplicationValidator.js +4 -4
  67. package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +116 -116
  68. package/sdk/application/Configuration/ConfigurationApplicationClient.js +330 -330
  69. package/sdk/application/Configuration/ConfigurationApplicationModel.d.ts +85 -85
  70. package/sdk/application/Configuration/ConfigurationApplicationModel.js +480 -851
  71. package/sdk/application/Configuration/ConfigurationApplicationValidator.d.ts +8 -8
  72. package/sdk/application/Configuration/ConfigurationApplicationValidator.js +33 -33
  73. package/sdk/application/Content/ContentApplicationClient.d.ts +67 -67
  74. package/sdk/application/Content/ContentApplicationClient.js +191 -191
  75. package/sdk/application/Content/ContentApplicationModel.d.ts +76 -76
  76. package/sdk/application/Content/ContentApplicationModel.js +467 -884
  77. package/sdk/application/Content/ContentApplicationValidator.d.ts +5 -5
  78. package/sdk/application/Content/ContentApplicationValidator.js +24 -24
  79. package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +25 -25
  80. package/sdk/application/FileStorage/FileStorageApplicationClient.js +59 -59
  81. package/sdk/application/FileStorage/FileStorageApplicationModel.d.ts +13 -13
  82. package/sdk/application/FileStorage/FileStorageApplicationModel.js +86 -169
  83. package/sdk/application/FileStorage/FileStorageApplicationValidator.d.ts +1 -1
  84. package/sdk/application/FileStorage/FileStorageApplicationValidator.js +7 -7
  85. package/sdk/application/Lead/LeadApplicationClient.d.ts +24 -24
  86. package/sdk/application/Lead/LeadApplicationClient.js +100 -100
  87. package/sdk/application/Lead/LeadApplicationModel.d.ts +35 -35
  88. package/sdk/application/Lead/LeadApplicationModel.js +267 -474
  89. package/sdk/application/Lead/LeadApplicationValidator.d.ts +2 -2
  90. package/sdk/application/Lead/LeadApplicationValidator.js +11 -11
  91. package/sdk/application/Logistic/LogisticApplicationClient.d.ts +30 -19
  92. package/sdk/application/Logistic/LogisticApplicationClient.js +110 -43
  93. package/sdk/application/Logistic/LogisticApplicationModel.d.ts +17 -14
  94. package/sdk/application/Logistic/LogisticApplicationModel.js +133 -201
  95. package/sdk/application/Logistic/LogisticApplicationValidator.d.ts +3 -2
  96. package/sdk/application/Logistic/LogisticApplicationValidator.js +14 -8
  97. package/sdk/application/Order/OrderApplicationClient.d.ts +85 -85
  98. package/sdk/application/Order/OrderApplicationClient.js +232 -232
  99. package/sdk/application/Order/OrderApplicationModel.d.ts +50 -50
  100. package/sdk/application/Order/OrderApplicationModel.js +352 -656
  101. package/sdk/application/Order/OrderApplicationValidator.d.ts +7 -7
  102. package/sdk/application/Order/OrderApplicationValidator.js +28 -28
  103. package/sdk/application/Payment/PaymentApplicationClient.d.ts +318 -318
  104. package/sdk/application/Payment/PaymentApplicationClient.js +739 -739
  105. package/sdk/application/Payment/PaymentApplicationModel.d.ts +72 -72
  106. package/sdk/application/Payment/PaymentApplicationModel.js +570 -1038
  107. package/sdk/application/Payment/PaymentApplicationValidator.d.ts +28 -28
  108. package/sdk/application/Payment/PaymentApplicationValidator.js +107 -107
  109. package/sdk/application/PosCart/PosCartApplicationClient.d.ts +254 -254
  110. package/sdk/application/PosCart/PosCartApplicationClient.js +617 -617
  111. package/sdk/application/PosCart/PosCartApplicationModel.d.ts +64 -63
  112. package/sdk/application/PosCart/PosCartApplicationModel.js +475 -871
  113. package/sdk/application/PosCart/PosCartApplicationValidator.d.ts +18 -18
  114. package/sdk/application/PosCart/PosCartApplicationValidator.js +103 -103
  115. package/sdk/application/Rewards/RewardsApplicationClient.d.ts +27 -27
  116. package/sdk/application/Rewards/RewardsApplicationClient.js +112 -112
  117. package/sdk/application/Rewards/RewardsApplicationModel.d.ts +14 -14
  118. package/sdk/application/Rewards/RewardsApplicationModel.js +96 -191
  119. package/sdk/application/Rewards/RewardsApplicationValidator.d.ts +3 -3
  120. package/sdk/application/Rewards/RewardsApplicationValidator.js +12 -12
  121. package/sdk/application/Share/ShareApplicationClient.d.ts +37 -37
  122. package/sdk/application/Share/ShareApplicationClient.js +84 -84
  123. package/sdk/application/Share/ShareApplicationModel.d.ts +8 -8
  124. package/sdk/application/Share/ShareApplicationModel.js +63 -123
  125. package/sdk/application/Share/ShareApplicationValidator.d.ts +4 -4
  126. package/sdk/application/Share/ShareApplicationValidator.js +12 -12
  127. package/sdk/application/Theme/ThemeApplicationClient.d.ts +8 -8
  128. package/sdk/application/Theme/ThemeApplicationClient.js +31 -31
  129. package/sdk/application/Theme/ThemeApplicationModel.d.ts +34 -34
  130. package/sdk/application/Theme/ThemeApplicationModel.js +190 -336
  131. package/sdk/application/Theme/ThemeApplicationValidator.d.ts +1 -1
  132. package/sdk/application/Theme/ThemeApplicationValidator.js +4 -4
  133. package/sdk/application/User/UserApplicationClient.d.ts +280 -280
  134. package/sdk/application/User/UserApplicationClient.js +581 -581
  135. package/sdk/application/User/UserApplicationModel.d.ts +79 -72
  136. package/sdk/application/User/UserApplicationModel.js +440 -689
  137. package/sdk/application/User/UserApplicationValidator.d.ts +24 -24
  138. package/sdk/application/User/UserApplicationValidator.js +89 -89
  139. package/sdk/common/AxiosHelper.js +1 -1
  140. package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.d.ts +51 -51
  141. package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.js +179 -179
  142. package/sdk/platform/Analytics/AnalyticsPlatformApplicationValidator.d.ts +6 -6
  143. package/sdk/platform/Analytics/AnalyticsPlatformApplicationValidator.js +20 -20
  144. package/sdk/platform/Analytics/AnalyticsPlatformModel.d.ts +11 -11
  145. package/sdk/platform/Analytics/AnalyticsPlatformModel.js +95 -178
  146. package/sdk/platform/AuditTrail/AuditTrailPlatformClient.d.ts +10 -10
  147. package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +41 -41
  148. package/sdk/platform/AuditTrail/AuditTrailPlatformModel.d.ts +10 -10
  149. package/sdk/platform/AuditTrail/AuditTrailPlatformModel.js +50 -89
  150. package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.d.ts +1 -1
  151. package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.js +6 -6
  152. package/sdk/platform/Billing/BillingPlatformClient.d.ts +60 -60
  153. package/sdk/platform/Billing/BillingPlatformClient.js +181 -181
  154. package/sdk/platform/Billing/BillingPlatformModel.d.ts +40 -40
  155. package/sdk/platform/Billing/BillingPlatformModel.js +342 -668
  156. package/sdk/platform/Billing/BillingPlatformValidator.d.ts +8 -8
  157. package/sdk/platform/Billing/BillingPlatformValidator.js +25 -25
  158. package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +168 -168
  159. package/sdk/platform/Cart/CartPlatformApplicationClient.js +553 -553
  160. package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +11 -11
  161. package/sdk/platform/Cart/CartPlatformApplicationValidator.js +63 -63
  162. package/sdk/platform/Cart/CartPlatformModel.d.ts +84 -83
  163. package/sdk/platform/Cart/CartPlatformModel.js +671 -1205
  164. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +632 -632
  165. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +1525 -1525
  166. package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +40 -40
  167. package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +174 -174
  168. package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +682 -682
  169. package/sdk/platform/Catalog/CatalogPlatformClient.js +1557 -1557
  170. package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +291 -291
  171. package/sdk/platform/Catalog/CatalogPlatformModel.js +2127 -3904
  172. package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +66 -66
  173. package/sdk/platform/Catalog/CatalogPlatformValidator.js +229 -229
  174. package/sdk/platform/Common/CommonPlatformClient.d.ts +12 -12
  175. package/sdk/platform/Common/CommonPlatformClient.js +41 -41
  176. package/sdk/platform/Common/CommonPlatformModel.d.ts +12 -12
  177. package/sdk/platform/Common/CommonPlatformModel.js +83 -160
  178. package/sdk/platform/Common/CommonPlatformValidator.d.ts +1 -1
  179. package/sdk/platform/Common/CommonPlatformValidator.js +6 -6
  180. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +326 -326
  181. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +943 -943
  182. package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.d.ts +30 -30
  183. package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.js +87 -87
  184. package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +67 -67
  185. package/sdk/platform/Communication/CommunicationPlatformModel.js +522 -974
  186. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +55 -55
  187. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +212 -212
  188. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +27 -27
  189. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +279 -542
  190. package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.d.ts +7 -7
  191. package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.js +24 -24
  192. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +163 -153
  193. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +615 -552
  194. package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.d.ts +22 -21
  195. package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.js +69 -63
  196. package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +125 -125
  197. package/sdk/platform/Configuration/ConfigurationPlatformClient.js +342 -342
  198. package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +148 -146
  199. package/sdk/platform/Configuration/ConfigurationPlatformModel.js +854 -1508
  200. package/sdk/platform/Configuration/ConfigurationPlatformValidator.d.ts +9 -9
  201. package/sdk/platform/Configuration/ConfigurationPlatformValidator.js +38 -38
  202. package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +534 -534
  203. package/sdk/platform/Content/ContentPlatformApplicationClient.js +1324 -1324
  204. package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +50 -50
  205. package/sdk/platform/Content/ContentPlatformApplicationValidator.js +156 -156
  206. package/sdk/platform/Content/ContentPlatformModel.d.ts +78 -78
  207. package/sdk/platform/Content/ContentPlatformModel.js +484 -907
  208. package/sdk/platform/Discount/DiscountPlatformClient.d.ts +65 -65
  209. package/sdk/platform/Discount/DiscountPlatformClient.js +216 -216
  210. package/sdk/platform/Discount/DiscountPlatformModel.d.ts +7 -7
  211. package/sdk/platform/Discount/DiscountPlatformModel.js +60 -121
  212. package/sdk/platform/Discount/DiscountPlatformValidator.d.ts +6 -6
  213. package/sdk/platform/Discount/DiscountPlatformValidator.js +29 -29
  214. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +24 -24
  215. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +58 -58
  216. package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.d.ts +1 -1
  217. package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.js +8 -8
  218. package/sdk/platform/FileStorage/FileStoragePlatformClient.d.ts +52 -52
  219. package/sdk/platform/FileStorage/FileStoragePlatformClient.js +123 -123
  220. package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +13 -13
  221. package/sdk/platform/FileStorage/FileStoragePlatformModel.js +86 -169
  222. package/sdk/platform/FileStorage/FileStoragePlatformValidator.d.ts +3 -3
  223. package/sdk/platform/FileStorage/FileStoragePlatformValidator.js +11 -11
  224. package/sdk/platform/Inventory/InventoryPlatformClient.d.ts +63 -63
  225. package/sdk/platform/Inventory/InventoryPlatformClient.js +228 -228
  226. package/sdk/platform/Inventory/InventoryPlatformModel.d.ts +30 -30
  227. package/sdk/platform/Inventory/InventoryPlatformModel.js +497 -964
  228. package/sdk/platform/Inventory/InventoryPlatformValidator.d.ts +7 -7
  229. package/sdk/platform/Inventory/InventoryPlatformValidator.js +28 -28
  230. package/sdk/platform/Lead/LeadPlatformApplicationClient.d.ts +73 -73
  231. package/sdk/platform/Lead/LeadPlatformApplicationClient.js +200 -200
  232. package/sdk/platform/Lead/LeadPlatformApplicationValidator.d.ts +7 -7
  233. package/sdk/platform/Lead/LeadPlatformApplicationValidator.js +28 -28
  234. package/sdk/platform/Lead/LeadPlatformClient.d.ts +80 -80
  235. package/sdk/platform/Lead/LeadPlatformClient.js +212 -212
  236. package/sdk/platform/Lead/LeadPlatformModel.d.ts +35 -35
  237. package/sdk/platform/Lead/LeadPlatformModel.js +267 -474
  238. package/sdk/platform/Lead/LeadPlatformValidator.d.ts +6 -6
  239. package/sdk/platform/Lead/LeadPlatformValidator.js +24 -24
  240. package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +10 -10
  241. package/sdk/platform/Order/OrderPlatformApplicationClient.js +65 -65
  242. package/sdk/platform/Order/OrderPlatformApplicationValidator.d.ts +1 -1
  243. package/sdk/platform/Order/OrderPlatformApplicationValidator.js +6 -6
  244. package/sdk/platform/Order/OrderPlatformClient.d.ts +357 -357
  245. package/sdk/platform/Order/OrderPlatformClient.js +1035 -1035
  246. package/sdk/platform/Order/OrderPlatformModel.d.ts +198 -196
  247. package/sdk/platform/Order/OrderPlatformModel.js +1574 -2861
  248. package/sdk/platform/Order/OrderPlatformValidator.d.ts +32 -32
  249. package/sdk/platform/Order/OrderPlatformValidator.js +160 -160
  250. package/sdk/platform/Partner/PartnerPlatformModel.d.ts +1 -1
  251. package/sdk/platform/Partner/PartnerPlatformModel.js +10 -26
  252. package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +57 -57
  253. package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +167 -167
  254. package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +6 -6
  255. package/sdk/platform/Payment/PaymentPlatformApplicationValidator.js +23 -23
  256. package/sdk/platform/Payment/PaymentPlatformClient.d.ts +42 -42
  257. package/sdk/platform/Payment/PaymentPlatformClient.js +153 -153
  258. package/sdk/platform/Payment/PaymentPlatformModel.d.ts +27 -27
  259. package/sdk/platform/Payment/PaymentPlatformModel.js +222 -410
  260. package/sdk/platform/Payment/PaymentPlatformValidator.d.ts +4 -4
  261. package/sdk/platform/Payment/PaymentPlatformValidator.js +21 -21
  262. package/sdk/platform/PlatformApplicationClient.d.ts +1496 -10325
  263. package/sdk/platform/PlatformApplicationClient.js +1584 -13899
  264. package/sdk/platform/PlatformClient.d.ts +7965 -7885
  265. package/sdk/platform/PlatformClient.js +8672 -10105
  266. package/sdk/platform/Rewards/RewardsPlatformApplicationClient.d.ts +83 -83
  267. package/sdk/platform/Rewards/RewardsPlatformApplicationClient.js +275 -275
  268. package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.d.ts +8 -8
  269. package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.js +34 -34
  270. package/sdk/platform/Rewards/RewardsPlatformModel.d.ts +15 -15
  271. package/sdk/platform/Rewards/RewardsPlatformModel.js +92 -194
  272. package/sdk/platform/Share/SharePlatformApplicationClient.d.ts +10 -10
  273. package/sdk/platform/Share/SharePlatformApplicationClient.js +59 -59
  274. package/sdk/platform/Share/SharePlatformApplicationValidator.d.ts +1 -1
  275. package/sdk/platform/Share/SharePlatformApplicationValidator.js +6 -6
  276. package/sdk/platform/Share/SharePlatformModel.d.ts +8 -8
  277. package/sdk/platform/Share/SharePlatformModel.js +60 -118
  278. package/sdk/platform/Theme/ThemePlatformApplicationClient.d.ts +132 -132
  279. package/sdk/platform/Theme/ThemePlatformApplicationClient.js +310 -310
  280. package/sdk/platform/Theme/ThemePlatformApplicationValidator.d.ts +15 -15
  281. package/sdk/platform/Theme/ThemePlatformApplicationValidator.js +44 -44
  282. package/sdk/platform/Theme/ThemePlatformModel.d.ts +34 -34
  283. package/sdk/platform/Theme/ThemePlatformModel.js +190 -336
  284. package/sdk/platform/User/UserPlatformApplicationClient.d.ts +136 -69
  285. package/sdk/platform/User/UserPlatformApplicationClient.js +505 -166
  286. package/sdk/platform/User/UserPlatformApplicationValidator.d.ts +12 -7
  287. package/sdk/platform/User/UserPlatformApplicationValidator.js +61 -23
  288. package/sdk/platform/User/UserPlatformModel.d.ts +79 -72
  289. package/sdk/platform/User/UserPlatformModel.js +440 -689
  290. package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +31 -31
  291. package/sdk/platform/Webhook/WebhookPlatformClient.js +88 -88
  292. package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +7 -7
  293. package/sdk/platform/Webhook/WebhookPlatformModel.js +68 -136
  294. package/sdk/platform/Webhook/WebhookPlatformValidator.d.ts +3 -3
  295. package/sdk/platform/Webhook/WebhookPlatformValidator.js +14 -14
  296. package/sdk/public/Configuration/ConfigurationPublicClient.d.ts +13 -13
  297. package/sdk/public/Configuration/ConfigurationPublicClient.js +38 -38
  298. package/sdk/public/Configuration/ConfigurationPublicModel.d.ts +12 -12
  299. package/sdk/public/Configuration/ConfigurationPublicModel.js +85 -162
  300. package/sdk/public/Configuration/ConfigurationPublicValidator.d.ts +1 -1
  301. package/sdk/public/Configuration/ConfigurationPublicValidator.js +6 -6
  302. package/sdk/public/Inventory/InventoryPublicClient.d.ts +34 -34
  303. package/sdk/public/Inventory/InventoryPublicClient.js +113 -113
  304. package/sdk/public/Inventory/InventoryPublicModel.d.ts +10 -10
  305. package/sdk/public/Inventory/InventoryPublicModel.js +119 -245
  306. package/sdk/public/Inventory/InventoryPublicValidator.d.ts +3 -3
  307. package/sdk/public/Inventory/InventoryPublicValidator.js +15 -15
  308. package/sdk/public/Webhook/WebhookPublicModel.d.ts +7 -7
  309. package/sdk/public/Webhook/WebhookPublicModel.js +68 -136
  310. package/tests/application/catalog.spec.js +7 -0
@@ -8,13 +8,13 @@
8
8
  ## Lead Methods
9
9
  Handles communication between Staff and Users
10
10
 
11
- * [getTicket](#getticket)
12
11
  * [createHistory](#createhistory)
13
12
  * [createTicket](#createticket)
14
13
  * [getCustomForm](#getcustomform)
15
- * [submitCustomForm](#submitcustomform)
16
14
  * [getParticipantsInsideVideoRoom](#getparticipantsinsidevideoroom)
15
+ * [getTicket](#getticket)
17
16
  * [getTokenForVideoRoom](#gettokenforvideoroom)
17
+ * [submitCustomForm](#submitcustomform)
18
18
 
19
19
 
20
20
 
@@ -23,17 +23,19 @@ Handles communication between Staff and Users
23
23
 
24
24
 
25
25
 
26
- ### getTicket
27
- Get Ticket with the specific id
26
+ ### createHistory
27
+ Create history for specific Ticket
28
28
 
29
29
 
30
30
 
31
31
  ```javascript
32
32
  // Promise
33
- const promise = lead.getTicket({ id : value });
33
+ const promise = lead.createHistory({ id : value,
34
+ body : value });
34
35
 
35
36
  // Async/Await
36
- const data = await lead.getTicket({ id : value });
37
+ const data = await lead.createHistory({ id : value,
38
+ body : value });
37
39
  ```
38
40
 
39
41
 
@@ -42,11 +44,108 @@ const data = await lead.getTicket({ id : value });
42
44
 
43
45
  | Argument | Type | Required | Description |
44
46
  | --------- | ----- | -------- | ----------- |
45
- | id | string | yes | ID of ticket to be retrieved |
47
+ | id | string | yes | Ticket ID for which history is created |
48
+ | body | [TicketHistoryPayload](#TicketHistoryPayload) | yes | Request body |
49
+
50
+
51
+ Create history for specific Ticket, this history is seen on ticket detail page, this can be comment, log or rating.
52
+
53
+ *Returned Response:*
54
+
55
+
56
+
57
+
58
+ [TicketHistory](#TicketHistory)
59
+
60
+ Success
61
+
62
+
63
+
64
+
65
+ <details>
66
+ <summary><i>&nbsp; Examples:</i></summary>
67
+
68
+
69
+ <details>
70
+ <summary><i>&nbsp; Default</i></summary>
71
+
72
+ ```json
73
+ {
74
+ "value": {
75
+ "_id": "601a9d52c26687d086c499ef",
76
+ "ticket_id": "41",
77
+ "type": "comment",
78
+ "value": {
79
+ "text": "d",
80
+ "media": []
81
+ },
82
+ "created_on": {
83
+ "user_agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.96 Safari/537.36",
84
+ "platform": "web",
85
+ "meta": {
86
+ "browser": {
87
+ "name": "Chrome",
88
+ "version": "88.0.4324.96"
89
+ },
90
+ "os": {
91
+ "name": "macOS",
92
+ "version": "10.15.7",
93
+ "versionName": "Catalina"
94
+ },
95
+ "platform": {
96
+ "type": "desktop",
97
+ "vendor": "Apple"
98
+ },
99
+ "engine": {
100
+ "name": "Blink"
101
+ }
102
+ }
103
+ },
104
+ "created_by": "5d1363adf599d850df93175e",
105
+ "createdAt": "2021-02-03T12:55:46.808Z",
106
+ "updatedAt": "2021-02-03T12:55:46.808Z",
107
+ "__v": 0
108
+ }
109
+ }
110
+ ```
111
+ </details>
112
+
113
+ </details>
114
+
115
+
46
116
 
47
117
 
48
118
 
49
- Get Ticket with the specific id, this is used to view the ticket details
119
+
120
+
121
+
122
+
123
+ ---
124
+
125
+
126
+ ### createTicket
127
+ Create Ticket
128
+
129
+
130
+
131
+ ```javascript
132
+ // Promise
133
+ const promise = lead.createTicket({ body : value });
134
+
135
+ // Async/Await
136
+ const data = await lead.createTicket({ body : value });
137
+ ```
138
+
139
+
140
+
141
+
142
+
143
+ | Argument | Type | Required | Description |
144
+ | --------- | ----- | -------- | ----------- |
145
+ | body | [AddTicketPayload](#AddTicketPayload) | yes | Request body |
146
+
147
+
148
+ This is used to Create Ticket.
50
149
 
51
150
  *Returned Response:*
52
151
 
@@ -278,19 +377,17 @@ Success
278
377
  ---
279
378
 
280
379
 
281
- ### createHistory
282
- Create history for specific Ticket
380
+ ### getCustomForm
381
+ Get specific Custom Form using it's slug
283
382
 
284
383
 
285
384
 
286
385
  ```javascript
287
386
  // Promise
288
- const promise = lead.createHistory({ id : value,
289
- body : value });
387
+ const promise = lead.getCustomForm({ slug : value });
290
388
 
291
389
  // Async/Await
292
- const data = await lead.createHistory({ id : value,
293
- body : value });
390
+ const data = await lead.getCustomForm({ slug : value });
294
391
  ```
295
392
 
296
393
 
@@ -299,18 +396,18 @@ const data = await lead.createHistory({ id : value,
299
396
 
300
397
  | Argument | Type | Required | Description |
301
398
  | --------- | ----- | -------- | ----------- |
302
- | id | string | yes | Ticket ID for which history is created |
303
- | body | [TicketHistoryPayload](#TicketHistoryPayload) | yes | Request body |
399
+ | slug | string | yes | Slug of form whose response is getting submitted |
304
400
 
305
401
 
306
- Create history for specific Ticket, this history is seen on ticket detail page, this can be comment, log or rating.
402
+
403
+ Get specific Custom Form using it's slug, this is used to view the form.
307
404
 
308
405
  *Returned Response:*
309
406
 
310
407
 
311
408
 
312
409
 
313
- [TicketHistory](#TicketHistory)
410
+ [CustomForm](#CustomForm)
314
411
 
315
412
  Success
316
413
 
@@ -327,24 +424,34 @@ Success
327
424
  ```json
328
425
  {
329
426
  "value": {
330
- "_id": "601a9d52c26687d086c499ef",
331
- "ticket_id": "41",
332
- "type": "comment",
333
- "value": {
334
- "text": "d",
335
- "media": []
336
- },
427
+ "login_required": false,
428
+ "should_notify": false,
429
+ "inputs": [
430
+ {
431
+ "required": false,
432
+ "type": "text",
433
+ "display": "Name",
434
+ "placeholder": "Please enter your name",
435
+ "key": "name"
436
+ }
437
+ ],
438
+ "available_assignees": [],
439
+ "_id": "5fd258a9088f957f34c288fc",
440
+ "title": "trail form",
441
+ "description": "Trail form description",
442
+ "slug": "trail-form",
443
+ "application_id": "000000000000000000000003",
337
444
  "created_on": {
338
- "user_agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.96 Safari/537.36",
445
+ "user_agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36",
339
446
  "platform": "web",
340
447
  "meta": {
341
448
  "browser": {
342
449
  "name": "Chrome",
343
- "version": "88.0.4324.96"
450
+ "version": "87.0.4280.88"
344
451
  },
345
452
  "os": {
346
453
  "name": "macOS",
347
- "version": "10.15.7",
454
+ "version": "10.15.6",
348
455
  "versionName": "Catalina"
349
456
  },
350
457
  "platform": {
@@ -357,8 +464,8 @@ Success
357
464
  }
358
465
  },
359
466
  "created_by": "5d1363adf599d850df93175e",
360
- "createdAt": "2021-02-03T12:55:46.808Z",
361
- "updatedAt": "2021-02-03T12:55:46.808Z",
467
+ "createdAt": "2020-12-10T17:19:37.515Z",
468
+ "updatedAt": "2020-12-10T17:19:43.214Z",
362
469
  "__v": 0
363
470
  }
364
471
  }
@@ -378,17 +485,17 @@ Success
378
485
  ---
379
486
 
380
487
 
381
- ### createTicket
382
- Create Ticket
488
+ ### getParticipantsInsideVideoRoom
489
+ Get participants of a specific Video Room using it's unique name
383
490
 
384
491
 
385
492
 
386
493
  ```javascript
387
494
  // Promise
388
- const promise = lead.createTicket({ body : value });
495
+ const promise = lead.getParticipantsInsideVideoRoom({ uniqueName : value });
389
496
 
390
497
  // Async/Await
391
- const data = await lead.createTicket({ body : value });
498
+ const data = await lead.getParticipantsInsideVideoRoom({ uniqueName : value });
392
499
  ```
393
500
 
394
501
 
@@ -396,11 +503,78 @@ const data = await lead.createTicket({ body : value });
396
503
 
397
504
 
398
505
  | Argument | Type | Required | Description |
399
- | --------- | ----- | -------- | ----------- |
400
- | body | [AddTicketPayload](#AddTicketPayload) | yes | Request body |
506
+ | --------- | ----- | -------- | ----------- |
507
+ | uniqueName | string | yes | Unique name of Video Room |
401
508
 
402
509
 
403
- This is used to Create Ticket.
510
+
511
+ 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.
512
+
513
+ *Returned Response:*
514
+
515
+
516
+
517
+
518
+ [GetParticipantsInsideVideoRoomResponse](#GetParticipantsInsideVideoRoomResponse)
519
+
520
+ Success
521
+
522
+
523
+
524
+
525
+ <details>
526
+ <summary><i>&nbsp; Examples:</i></summary>
527
+
528
+
529
+ <details>
530
+ <summary><i>&nbsp; Default</i></summary>
531
+
532
+ ```json
533
+ {
534
+ "value": {
535
+ "participants": []
536
+ }
537
+ }
538
+ ```
539
+ </details>
540
+
541
+ </details>
542
+
543
+
544
+
545
+
546
+
547
+
548
+
549
+
550
+
551
+ ---
552
+
553
+
554
+ ### getTicket
555
+ Get Ticket with the specific id
556
+
557
+
558
+
559
+ ```javascript
560
+ // Promise
561
+ const promise = lead.getTicket({ id : value });
562
+
563
+ // Async/Await
564
+ const data = await lead.getTicket({ id : value });
565
+ ```
566
+
567
+
568
+
569
+
570
+
571
+ | Argument | Type | Required | Description |
572
+ | --------- | ----- | -------- | ----------- |
573
+ | id | string | yes | ID of ticket to be retrieved |
574
+
575
+
576
+
577
+ Get Ticket with the specific id, this is used to view the ticket details
404
578
 
405
579
  *Returned Response:*
406
580
 
@@ -632,17 +806,17 @@ Success
632
806
  ---
633
807
 
634
808
 
635
- ### getCustomForm
636
- Get specific Custom Form using it's slug
809
+ ### getTokenForVideoRoom
810
+ Get Token to join a specific Video Room using it's unqiue name
637
811
 
638
812
 
639
813
 
640
814
  ```javascript
641
815
  // Promise
642
- const promise = lead.getCustomForm({ slug : value });
816
+ const promise = lead.getTokenForVideoRoom({ uniqueName : value });
643
817
 
644
818
  // Async/Await
645
- const data = await lead.getCustomForm({ slug : value });
819
+ const data = await lead.getTokenForVideoRoom({ uniqueName : value });
646
820
  ```
647
821
 
648
822
 
@@ -651,18 +825,18 @@ const data = await lead.getCustomForm({ slug : value });
651
825
 
652
826
  | Argument | Type | Required | Description |
653
827
  | --------- | ----- | -------- | ----------- |
654
- | slug | string | yes | Slug of form whose response is getting submitted |
828
+ | uniqueName | string | yes | Unique name of Video Room |
655
829
 
656
830
 
657
831
 
658
- Get specific Custom Form using it's slug, this is used to view the form.
832
+ 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.
659
833
 
660
834
  *Returned Response:*
661
835
 
662
836
 
663
837
 
664
838
 
665
- [CustomForm](#CustomForm)
839
+ [GetTokenForVideoRoomResponse](#GetTokenForVideoRoomResponse)
666
840
 
667
841
  Success
668
842
 
@@ -679,49 +853,7 @@ Success
679
853
  ```json
680
854
  {
681
855
  "value": {
682
- "login_required": false,
683
- "should_notify": false,
684
- "inputs": [
685
- {
686
- "required": false,
687
- "type": "text",
688
- "display": "Name",
689
- "placeholder": "Please enter your name",
690
- "key": "name"
691
- }
692
- ],
693
- "available_assignees": [],
694
- "_id": "5fd258a9088f957f34c288fc",
695
- "title": "trail form",
696
- "description": "Trail form description",
697
- "slug": "trail-form",
698
- "application_id": "000000000000000000000003",
699
- "created_on": {
700
- "user_agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36",
701
- "platform": "web",
702
- "meta": {
703
- "browser": {
704
- "name": "Chrome",
705
- "version": "87.0.4280.88"
706
- },
707
- "os": {
708
- "name": "macOS",
709
- "version": "10.15.6",
710
- "versionName": "Catalina"
711
- },
712
- "platform": {
713
- "type": "desktop",
714
- "vendor": "Apple"
715
- },
716
- "engine": {
717
- "name": "Blink"
718
- }
719
- }
720
- },
721
- "created_by": "5d1363adf599d850df93175e",
722
- "createdAt": "2020-12-10T17:19:37.515Z",
723
- "updatedAt": "2020-12-10T17:19:43.214Z",
724
- "__v": 0
856
+ "access_token": "your_token_to_the_room"
725
857
  }
726
858
  }
727
859
  ```
@@ -996,817 +1128,339 @@ Success
996
1128
 
997
1129
 
998
1130
 
999
- ---
1000
-
1001
-
1002
- ### getParticipantsInsideVideoRoom
1003
- Get participants of a specific Video Room using it's unique name
1004
-
1005
-
1006
-
1007
- ```javascript
1008
- // Promise
1009
- const promise = lead.getParticipantsInsideVideoRoom({ uniqueName : value });
1010
-
1011
- // Async/Await
1012
- const data = await lead.getParticipantsInsideVideoRoom({ uniqueName : value });
1013
- ```
1014
-
1015
-
1016
-
1017
-
1018
-
1019
- | Argument | Type | Required | Description |
1020
- | --------- | ----- | -------- | ----------- |
1021
- | uniqueName | string | yes | Unique name of Video Room |
1022
-
1023
-
1024
-
1025
- 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.
1026
-
1027
- *Returned Response:*
1028
-
1029
-
1030
-
1031
-
1032
- [GetParticipantsInsideVideoRoomResponse](#GetParticipantsInsideVideoRoomResponse)
1033
-
1034
- Success
1035
-
1036
-
1037
-
1038
-
1039
- <details>
1040
- <summary><i>&nbsp; Examples:</i></summary>
1041
-
1042
-
1043
- <details>
1044
- <summary><i>&nbsp; Default</i></summary>
1045
-
1046
- ```json
1047
- {
1048
- "value": {
1049
- "participants": []
1050
- }
1051
- }
1052
- ```
1053
- </details>
1054
-
1055
- </details>
1056
-
1057
-
1058
-
1059
-
1060
-
1061
-
1062
-
1063
-
1064
-
1065
- ---
1066
-
1067
-
1068
- ### getTokenForVideoRoom
1069
- Get Token to join a specific Video Room using it's unqiue name
1070
-
1071
-
1072
-
1073
- ```javascript
1074
- // Promise
1075
- const promise = lead.getTokenForVideoRoom({ uniqueName : value });
1076
-
1077
- // Async/Await
1078
- const data = await lead.getTokenForVideoRoom({ uniqueName : value });
1079
- ```
1080
-
1081
-
1082
-
1083
-
1084
-
1085
- | Argument | Type | Required | Description |
1086
- | --------- | ----- | -------- | ----------- |
1087
- | uniqueName | string | yes | Unique name of Video Room |
1088
-
1089
-
1090
-
1091
- 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.
1092
-
1093
- *Returned Response:*
1094
-
1095
-
1096
-
1097
-
1098
- [GetTokenForVideoRoomResponse](#GetTokenForVideoRoomResponse)
1099
-
1100
- Success
1101
-
1102
-
1103
-
1104
-
1105
- <details>
1106
- <summary><i>&nbsp; Examples:</i></summary>
1107
-
1108
-
1109
- <details>
1110
- <summary><i>&nbsp; Default</i></summary>
1111
-
1112
- ```json
1113
- {
1114
- "value": {
1115
- "access_token": "your_token_to_the_room"
1116
- }
1117
- }
1118
- ```
1119
- </details>
1120
-
1121
- </details>
1122
-
1123
-
1124
-
1125
-
1126
-
1127
-
1128
-
1129
-
1130
-
1131
1131
  ---
1132
1132
 
1133
1133
 
1134
1134
 
1135
1135
  ### Schemas
1136
1136
 
1137
-
1138
-
1139
- #### [TicketList](#TicketList)
1137
+
1138
+ #### [AddTicketPayload](#AddTicketPayload)
1140
1139
 
1141
1140
  | Properties | Type | Nullable | Description |
1142
- | ---------- | ---- | -------- | ----------- |
1143
- | items | [[Ticket](#Ticket)] | no | List of tickets |
1144
- | filters | [Filter](#Filter) | no | All the filters available for tickets |
1145
- | page | [Page](#Page) | no | Describes the pagination state |
1141
+ | ---------- | ---- | -------- | ----------- || _custom_json | string | no | || category | string | yes | || content | [TicketContent](#TicketContent) | yes | || created_by | string | no | || priority | [PriorityEnum](#PriorityEnum) | no | || status | string | no | |
1146
1142
 
1147
1143
  ---
1148
1144
 
1149
-
1150
-
1151
-
1152
- #### [Page](#Page)
1145
+ #### [AgentChangePayload](#AgentChangePayload)
1153
1146
 
1154
1147
  | Properties | Type | Nullable | Description |
1155
- | ---------- | ---- | -------- | ----------- |
1156
- | item_total | number | no | |
1157
- | next_id | string | no | |
1158
- | has_previous | boolean | no | |
1159
- | has_next | boolean | no | |
1160
- | current | number | no | |
1161
- | type | string | yes | |
1162
- | size | number | no | |
1148
+ | ---------- | ---- | -------- | ----------- || agent_id | string | yes | |
1163
1149
 
1164
1150
  ---
1165
1151
 
1166
-
1167
-
1168
-
1169
- #### [TicketHistoryList](#TicketHistoryList)
1152
+ #### [CategoryData](#CategoryData)
1170
1153
 
1171
1154
  | Properties | Type | Nullable | Description |
1172
- | ---------- | ---- | -------- | ----------- |
1173
- | items | [[TicketHistory](#TicketHistory)] | no | List of ticket history |
1174
- | page | [Page](#Page) | no | Describes the pagination state |
1155
+ | ---------- | ---- | -------- | ----------- || list | [TicketCategory](#TicketCategory) | no | |
1175
1156
 
1176
1157
  ---
1177
1158
 
1178
-
1179
-
1180
-
1181
- #### [CustomFormList](#CustomFormList)
1159
+ #### [CloseVideoRoomResponse](#CloseVideoRoomResponse)
1182
1160
 
1183
1161
  | Properties | Type | Nullable | Description |
1184
- | ---------- | ---- | -------- | ----------- |
1185
- | items | [[CustomForm](#CustomForm)] | no | List of forms |
1186
- | page | [Page](#Page) | no | Describes the pagination state |
1162
+ | ---------- | ---- | -------- | ----------- || success | boolean | yes | |
1187
1163
 
1188
1164
  ---
1189
1165
 
1190
-
1191
-
1192
-
1193
- #### [CreateCustomFormPayload](#CreateCustomFormPayload)
1166
+ #### [CommunicationDetails](#CommunicationDetails)
1194
1167
 
1195
1168
  | Properties | Type | Nullable | Description |
1196
- | ---------- | ---- | -------- | ----------- |
1197
- | slug | string | yes | Slug for the form |
1198
- | title | string | yes | Title for the form |
1199
- | inputs | [string] | yes | List of all the form components |
1200
- | description | string | no | Description of the form |
1201
- | header_image | string | no | Header image that is to be shown for the form |
1202
- | priority | [PriorityEnum](#PriorityEnum) | yes | Describes the priority of the tickets created by the form |
1203
- | should_notify | boolean | no | Indicates if staff should be notified when a response is received |
1204
- | success_message | string | no | Success message that will be shown on submission |
1205
- | poll_for_assignment | [PollForAssignment](#PollForAssignment) | no | Describes how polling will be done for the tickets createds |
1169
+ | ---------- | ---- | -------- | ----------- || description | string | no | || enabled | boolean | no | || title | string | no | || type | string | no | || value | string | no | |
1206
1170
 
1207
1171
  ---
1208
1172
 
1209
-
1210
-
1211
-
1212
- #### [EditCustomFormPayload](#EditCustomFormPayload)
1173
+ #### [CreateCustomFormPayload](#CreateCustomFormPayload)
1213
1174
 
1214
1175
  | Properties | Type | Nullable | Description |
1215
- | ---------- | ---- | -------- | ----------- |
1216
- | title | string | yes | Title for the form |
1217
- | inputs | [string] | yes | List of all the form components |
1218
- | description | string | no | Description of the form |
1219
- | priority | [PriorityEnum](#PriorityEnum) | yes | Describes the priority of the tickets created by the form |
1220
- | header_image | string | no | Header image that is to be shown for the form |
1221
- | should_notify | boolean | no | Indicates if staff should be notified when a response is received |
1222
- | login_required | boolean | no | Denotes if login is required to make a form response submission |
1223
- | success_message | string | no | Success message that will be shown on submission |
1224
- | poll_for_assignment | [PollForAssignment](#PollForAssignment) | no | Describes how polling will be done for the tickets createds |
1176
+ | ---------- | ---- | -------- | ----------- || description | string | no | || header_image | string | no | || inputs | [string] | yes | || poll_for_assignment | [PollForAssignment](#PollForAssignment) | no | || priority | [PriorityEnum](#PriorityEnum) | yes | || should_notify | boolean | no | || slug | string | yes | || success_message | string | no | || title | string | yes | |
1225
1177
 
1226
1178
  ---
1227
1179
 
1228
-
1229
-
1230
-
1231
- #### [EditTicketPayload](#EditTicketPayload)
1180
+ #### [CreatedOn](#CreatedOn)
1232
1181
 
1233
1182
  | Properties | Type | Nullable | Description |
1234
- | ---------- | ---- | -------- | ----------- |
1235
- | content | [TicketContent](#TicketContent) | no | Ticket conetent details |
1236
- | category | string | no | Category assigned to the ticket |
1237
- | sub_category | string | no | Sub-category assigned to the ticket |
1238
- | source | string | no | Denotes if the ticket was created at company or application level |
1239
- | status | string | no | Denotes in what state is the ticket |
1240
- | priority | [PriorityEnum](#PriorityEnum) | no | Denotes the priority of ticket |
1241
- | assigned_to | [AgentChangePayload](#AgentChangePayload) | no | Details of support staff to whom ticket is assigned |
1242
- | tags | [string] | no | Tags relevant to ticket |
1183
+ | ---------- | ---- | -------- | ----------- || user_agent | string | yes | |
1243
1184
 
1244
1185
  ---
1245
1186
 
1246
-
1247
-
1248
-
1249
- #### [AgentChangePayload](#AgentChangePayload)
1187
+ #### [CreateVideoRoomPayload](#CreateVideoRoomPayload)
1250
1188
 
1251
1189
  | Properties | Type | Nullable | Description |
1252
- | ---------- | ---- | -------- | ----------- |
1253
- | agent_id | string | yes | Agent's unique ID |
1190
+ | ---------- | ---- | -------- | ----------- || notify | [[NotifyUser](#NotifyUser)] | no | || unique_name | string | yes | |
1254
1191
 
1255
1192
  ---
1256
1193
 
1257
-
1258
-
1259
-
1260
- #### [CreateVideoRoomResponse](#CreateVideoRoomResponse)
1194
+ #### [CreateVideoRoomResponse](#CreateVideoRoomResponse)
1261
1195
 
1262
1196
  | Properties | Type | Nullable | Description |
1263
- | ---------- | ---- | -------- | ----------- |
1264
- | unique_name | string | yes | Video Room's unique name |
1197
+ | ---------- | ---- | -------- | ----------- || unique_name | string | yes | |
1265
1198
 
1266
1199
  ---
1267
1200
 
1268
-
1269
-
1270
-
1271
- #### [CloseVideoRoomResponse](#CloseVideoRoomResponse)
1201
+ #### [CustomForm](#CustomForm)
1272
1202
 
1273
1203
  | Properties | Type | Nullable | Description |
1274
- | ---------- | ---- | -------- | ----------- |
1275
- | success | boolean | yes | Denotes if operation was successfully |
1204
+ | ---------- | ---- | -------- | ----------- || _id | string | yes | || application_id | string | yes | || created_on | [CreatedOn](#CreatedOn) | no | || description | string | no | || header_image | string | no | || inputs | [string] | yes | || login_required | boolean | yes | || poll_for_assignment | [PollForAssignment](#PollForAssignment) | no | || priority | [Priority](#Priority) | yes | || should_notify | boolean | yes | || slug | string | yes | || submit_button | [SubmitButton](#SubmitButton) | no | || success_message | string | no | || title | string | yes | |
1276
1205
 
1277
1206
  ---
1278
1207
 
1279
-
1280
-
1281
-
1282
- #### [CreateVideoRoomPayload](#CreateVideoRoomPayload)
1208
+ #### [CustomFormList](#CustomFormList)
1283
1209
 
1284
1210
  | Properties | Type | Nullable | Description |
1285
- | ---------- | ---- | -------- | ----------- |
1286
- | unique_name | string | yes | Ticket id |
1287
- | notify | [[NotifyUser](#NotifyUser)] | no | List of people to be notified |
1211
+ | ---------- | ---- | -------- | ----------- || items | [[CustomForm](#CustomForm)] | no | || page | [Page](#Page) | no | |
1288
1212
 
1289
1213
  ---
1290
1214
 
1291
-
1292
-
1293
-
1294
- #### [NotifyUser](#NotifyUser)
1215
+ #### [CustomFormSubmissionPayload](#CustomFormSubmissionPayload)
1295
1216
 
1296
1217
  | Properties | Type | Nullable | Description |
1297
- | ---------- | ---- | -------- | ----------- |
1298
- | country_code | string | yes | Country code |
1299
- | phone_number | string | yes | Phone number |
1218
+ | ---------- | ---- | -------- | ----------- || attachments | [[TicketAsset](#TicketAsset)] | no | || response | [string] | yes | |
1300
1219
 
1301
1220
  ---
1302
1221
 
1303
-
1304
-
1305
-
1306
- #### [Filter](#Filter)
1222
+ #### [Debug](#Debug)
1307
1223
 
1308
1224
  | Properties | Type | Nullable | Description |
1309
- | ---------- | ---- | -------- | ----------- |
1310
- | priorities | [[Priority](#Priority)] | yes | List of possible priorities for tickets |
1311
- | categories | [[TicketCategory](#TicketCategory)] | no | List of possible categories for tickets |
1312
- | statuses | [[Status](#Status)] | yes | List of possible statuses for tickets |
1313
- | assignees | [string] | yes | List of support staff availble for tickets assignment |
1225
+ | ---------- | ---- | -------- | ----------- || platform | string | no | || source | string | no | |
1314
1226
 
1315
1227
  ---
1316
1228
 
1317
-
1318
-
1319
-
1320
- #### [TicketHistoryPayload](#TicketHistoryPayload)
1229
+ #### [EditCustomFormPayload](#EditCustomFormPayload)
1321
1230
 
1322
1231
  | Properties | Type | Nullable | Description |
1323
- | ---------- | ---- | -------- | ----------- |
1324
- | value | string | yes | Details of history event |
1325
- | type | [HistoryTypeEnum](#HistoryTypeEnum) | yes | Type of history event |
1232
+ | ---------- | ---- | -------- | ----------- || description | string | no | || header_image | string | no | || inputs | [string] | yes | || login_required | boolean | no | || poll_for_assignment | [PollForAssignment](#PollForAssignment) | no | || priority | [PriorityEnum](#PriorityEnum) | yes | || should_notify | boolean | no | || success_message | string | no | || title | string | yes | |
1326
1233
 
1327
1234
  ---
1328
1235
 
1329
-
1330
-
1331
-
1332
- #### [CustomFormSubmissionPayload](#CustomFormSubmissionPayload)
1236
+ #### [EditTicketPayload](#EditTicketPayload)
1333
1237
 
1334
1238
  | Properties | Type | Nullable | Description |
1335
- | ---------- | ---- | -------- | ----------- |
1336
- | response | [string] | yes | Form response |
1337
- | attachments | [[TicketAsset](#TicketAsset)] | no | List of all attachments related to the form |
1239
+ | ---------- | ---- | -------- | ----------- || assigned_to | [AgentChangePayload](#AgentChangePayload) | no | || category | string | no | || content | [TicketContent](#TicketContent) | no | || priority | [PriorityEnum](#PriorityEnum) | no | || source | string | no | || status | string | no | || sub_category | string | no | || tags | [string] | no | |
1338
1240
 
1339
1241
  ---
1340
1242
 
1341
-
1342
-
1343
-
1344
- #### [GetTokenForVideoRoomResponse](#GetTokenForVideoRoomResponse)
1243
+ #### [Email](#Email)
1345
1244
 
1346
1245
  | Properties | Type | Nullable | Description |
1347
- | ---------- | ---- | -------- | ----------- |
1348
- | access_token | string | yes | Access token to be used for video room |
1246
+ | ---------- | ---- | -------- | ----------- || active | boolean | no | || email | string | no | || primary | boolean | no | || verified | boolean | no | |
1349
1247
 
1350
1248
  ---
1351
1249
 
1352
-
1353
-
1354
-
1355
- #### [GetParticipantsInsideVideoRoomResponse](#GetParticipantsInsideVideoRoomResponse)
1250
+ #### [FeedbackForm](#FeedbackForm)
1356
1251
 
1357
1252
  | Properties | Type | Nullable | Description |
1358
- | ---------- | ---- | -------- | ----------- |
1359
- | participants | [[Participant](#Participant)] | yes | List of participants of the video room |
1253
+ | ---------- | ---- | -------- | ----------- || inputs | string | no | || timestamps | string | no | || title | string | no | |
1360
1254
 
1361
1255
  ---
1362
1256
 
1363
-
1364
-
1365
-
1366
- #### [Participant](#Participant)
1257
+ #### [FeedbackResponseItem](#FeedbackResponseItem)
1367
1258
 
1368
1259
  | Properties | Type | Nullable | Description |
1369
- | ---------- | ---- | -------- | ----------- |
1370
- | user | [UserSchema](#UserSchema) | no | Details of participant |
1371
- | identity | string | no | Unique identifier of participant |
1372
- | status | string | no | Status of participant |
1260
+ | ---------- | ---- | -------- | ----------- || display | string | yes | || key | string | yes | || value | string | yes | |
1373
1261
 
1374
1262
  ---
1375
1263
 
1376
-
1377
-
1378
-
1379
- #### [UserSchema](#UserSchema)
1264
+ #### [Filter](#Filter)
1380
1265
 
1381
1266
  | Properties | Type | Nullable | Description |
1382
- | ---------- | ---- | -------- | ----------- |
1383
- | first_name | string | no | First name |
1384
- | last_name | string | no | Last name |
1385
- | phone_numbers | [[PhoneNumber](#PhoneNumber)] | no | List of phone numbers |
1386
- | emails | [[Email](#Email)] | no | List of email addresses |
1387
- | gender | string | no | Gender of user |
1388
- | active | boolean | no | Is account active |
1389
- | profile_pic_url | string | no | URL for profile pic |
1390
- | username | string | no | username of user |
1391
- | account_type | string | no | Type of account |
1392
- | uid | string | no | Unique identifier of user |
1393
- | debug | [Debug](#Debug) | no | Used for debugging |
1394
- | has_old_password_hash | boolean | no | Denotes if user has old password hash |
1395
- | _id | string | no | Unique identifier of user |
1396
- | created_at | string | no | Time of user creation |
1397
- | updated_at | string | no | Last time of user details update |
1267
+ | ---------- | ---- | -------- | ----------- || assignees | [string] | yes | || categories | [[TicketCategory](#TicketCategory)] | no | || priorities | [[Priority](#Priority)] | yes | || statuses | [[Status](#Status)] | yes | |
1398
1268
 
1399
1269
  ---
1400
1270
 
1401
-
1402
-
1403
-
1404
- #### [PhoneNumber](#PhoneNumber)
1271
+ #### [GetParticipantsInsideVideoRoomResponse](#GetParticipantsInsideVideoRoomResponse)
1405
1272
 
1406
1273
  | Properties | Type | Nullable | Description |
1407
- | ---------- | ---- | -------- | ----------- |
1408
- | active | boolean | no | Denotes if the phone number is active |
1409
- | primary | boolean | no | Denotes it's the primary phone number for the account |
1410
- | verified | boolean | no | Denotes it's a verified phone number |
1411
- | phone | string | no | Phone number |
1412
- | country_code | number | no | Country code |
1274
+ | ---------- | ---- | -------- | ----------- || participants | [[Participant](#Participant)] | yes | |
1413
1275
 
1414
1276
  ---
1415
1277
 
1416
-
1417
-
1418
-
1419
- #### [Email](#Email)
1278
+ #### [GetTokenForVideoRoomResponse](#GetTokenForVideoRoomResponse)
1420
1279
 
1421
1280
  | Properties | Type | Nullable | Description |
1422
- | ---------- | ---- | -------- | ----------- |
1423
- | primary | boolean | no | Denotes it's the primary email for the account |
1424
- | verified | boolean | no | Denotes it's a verified email |
1425
- | email | string | no | Email Address |
1426
- | active | boolean | no | Denotes if the email is active |
1281
+ | ---------- | ---- | -------- | ----------- || access_token | string | yes | |
1427
1282
 
1428
1283
  ---
1429
1284
 
1430
-
1431
-
1432
-
1433
- #### [Debug](#Debug)
1285
+ #### [IntegrationConfig](#IntegrationConfig)
1434
1286
 
1435
1287
  | Properties | Type | Nullable | Description |
1436
- | ---------- | ---- | -------- | ----------- |
1437
- | source | string | no | Source of user |
1438
- | platform | string | no | Platform of user |
1288
+ | ---------- | ---- | -------- | ----------- || _id | string | no | || allow_ticket_creation | boolean | yes | || base_url | string | no | || category_data | [CategoryData](#CategoryData) | no | || category_sync_apikey | string | no | || config_completed | boolean | no | || create_ticket_apikey | string | no | || integration_type | string | yes | || show_listing | boolean | yes | || update_ticket_apikey | string | no | || webhook_apikey | string | no | |
1439
1289
 
1440
1290
  ---
1441
1291
 
1442
-
1443
-
1444
-
1445
- #### [SubmitCustomFormResponse](#SubmitCustomFormResponse)
1292
+ #### [NotifyUser](#NotifyUser)
1446
1293
 
1447
1294
  | Properties | Type | Nullable | Description |
1448
- | ---------- | ---- | -------- | ----------- |
1449
- | message | string | yes | Success message for form submission |
1450
- | ticket | [Ticket](#Ticket) | no | Ticket created on form submission |
1295
+ | ---------- | ---- | -------- | ----------- || country_code | string | yes | || phone_number | string | yes | |
1451
1296
 
1452
1297
  ---
1453
1298
 
1454
-
1455
-
1456
-
1457
- #### [TicketContext](#TicketContext)
1299
+ #### [Page](#Page)
1458
1300
 
1459
1301
  | Properties | Type | Nullable | Description |
1460
- | ---------- | ---- | -------- | ----------- |
1461
- | application_id | string | no | Application ID related to the ticket |
1462
- | company_id | string | yes | Company ID related to the ticket |
1302
+ | ---------- | ---- | -------- | ----------- || current | number | no | || has_next | boolean | no | || has_previous | boolean | no | || item_total | number | no | || next_id | string | no | || size | number | no | || type | string | yes | |
1463
1303
 
1464
1304
  ---
1465
1305
 
1466
-
1467
-
1468
-
1469
- #### [CreatedOn](#CreatedOn)
1306
+ #### [Participant](#Participant)
1470
1307
 
1471
1308
  | Properties | Type | Nullable | Description |
1472
- | ---------- | ---- | -------- | ----------- |
1473
- | user_agent | string | yes | Useragent details |
1309
+ | ---------- | ---- | -------- | ----------- || identity | string | no | || status | string | no | || user | [UserSchema](#UserSchema) | no | |
1474
1310
 
1475
1311
  ---
1476
1312
 
1477
-
1478
-
1479
-
1480
- #### [TicketAsset](#TicketAsset)
1313
+ #### [PhoneNumber](#PhoneNumber)
1481
1314
 
1482
1315
  | Properties | Type | Nullable | Description |
1483
- | ---------- | ---- | -------- | ----------- |
1484
- | display | string | no | Display text for asset |
1485
- | value | string | yes | To be used for details |
1486
- | type | [TicketAssetTypeEnum](#TicketAssetTypeEnum) | yes | Type of asset |
1316
+ | ---------- | ---- | -------- | ----------- || active | boolean | no | || country_code | number | no | || phone | string | no | || primary | boolean | no | || verified | boolean | no | |
1487
1317
 
1488
1318
  ---
1489
1319
 
1490
-
1491
-
1492
-
1493
- #### [TicketContent](#TicketContent)
1320
+ #### [PollForAssignment](#PollForAssignment)
1494
1321
 
1495
1322
  | Properties | Type | Nullable | Description |
1496
- | ---------- | ---- | -------- | ----------- |
1497
- | title | string | yes | Title for ticket |
1498
- | description | string | no | Long description of issue |
1499
- | attachments | [[TicketAsset](#TicketAsset)] | no | List of all attachments related to the ticket |
1323
+ | ---------- | ---- | -------- | ----------- || duration | number | yes | || failure_message | string | yes | || message | string | yes | || success_message | string | yes | |
1500
1324
 
1501
1325
  ---
1502
1326
 
1503
-
1504
-
1505
-
1506
- #### [AddTicketPayload](#AddTicketPayload)
1327
+ #### [Priority](#Priority)
1507
1328
 
1508
1329
  | Properties | Type | Nullable | Description |
1509
- | ---------- | ---- | -------- | ----------- |
1510
- | created_by | string | no | Creator of the ticket |
1511
- | status | string | no | Status of the ticket |
1512
- | priority | [PriorityEnum](#PriorityEnum) | no | Priority of the ticket |
1513
- | category | string | yes | Category of the ticket |
1514
- | content | [TicketContent](#TicketContent) | yes | Content for the ticket |
1515
- | _custom_json | string | no | optional custom data that needs to be sent |
1330
+ | ---------- | ---- | -------- | ----------- || color | string | yes | || display | string | yes | || key | [PriorityEnum](#PriorityEnum) | yes | |
1516
1331
 
1517
1332
  ---
1518
1333
 
1519
-
1520
-
1521
-
1522
- #### [Priority](#Priority)
1334
+ #### [Status](#Status)
1523
1335
 
1524
1336
  | Properties | Type | Nullable | Description |
1525
- | ---------- | ---- | -------- | ----------- |
1526
- | key | [PriorityEnum](#PriorityEnum) | yes | Key for priority |
1527
- | display | string | yes | Display text for priority |
1528
- | color | string | yes | Color for priority |
1337
+ | ---------- | ---- | -------- | ----------- || color | string | yes | || display | string | yes | || key | string | yes | |
1529
1338
 
1530
1339
  ---
1531
1340
 
1532
-
1533
-
1534
-
1535
- #### [Status](#Status)
1341
+ #### [SubmitButton](#SubmitButton)
1536
1342
 
1537
1343
  | Properties | Type | Nullable | Description |
1538
- | ---------- | ---- | -------- | ----------- |
1539
- | key | string | yes | Key for status |
1540
- | display | string | yes | Display text for status |
1541
- | color | string | yes | Color for status |
1344
+ | ---------- | ---- | -------- | ----------- || background_color | string | yes | || title | string | yes | || title_color | string | yes | |
1542
1345
 
1543
1346
  ---
1544
1347
 
1545
-
1546
-
1547
-
1548
- #### [TicketFeedbackForm](#TicketFeedbackForm)
1348
+ #### [SubmitCustomFormResponse](#SubmitCustomFormResponse)
1549
1349
 
1550
1350
  | Properties | Type | Nullable | Description |
1551
- | ---------- | ---- | -------- | ----------- |
1552
- | title | string | yes | Feedback form title that will be shown to the user |
1553
- | display | [string] | no | List of all the form fields |
1351
+ | ---------- | ---- | -------- | ----------- || message | string | yes | || ticket | [Ticket](#Ticket) | no | |
1554
1352
 
1555
1353
  ---
1556
1354
 
1557
-
1558
-
1559
-
1560
- #### [TicketFeedbackList](#TicketFeedbackList)
1355
+ #### [SupportGeneralConfig](#SupportGeneralConfig)
1561
1356
 
1562
1357
  | Properties | Type | Nullable | Description |
1563
- | ---------- | ---- | -------- | ----------- |
1564
- | items | [[TicketFeedback](#TicketFeedback)] | no | List of all ticket feedback for the ticket |
1358
+ | ---------- | ---- | -------- | ----------- || _id | string | no | || integration | string | no | || show_communication_info | boolean | no | || show_support_dris | boolean | no | || support_communication | [CommunicationDetails](#CommunicationDetails) | no | || support_email | [CommunicationDetails](#CommunicationDetails) | no | || support_faq | [CommunicationDetails](#CommunicationDetails) | no | || support_phone | [CommunicationDetails](#CommunicationDetails) | no | |
1565
1359
 
1566
1360
  ---
1567
1361
 
1568
-
1569
-
1570
-
1571
- #### [TicketFeedbackPayload](#TicketFeedbackPayload)
1362
+ #### [Ticket](#Ticket)
1572
1363
 
1573
1364
  | Properties | Type | Nullable | Description |
1574
- | ---------- | ---- | -------- | ----------- |
1575
- | form_response | string | no | Key-value pairs of all the form fields and their response |
1365
+ | ---------- | ---- | -------- | ----------- || _custom_json | string | no | || _id | string | yes | || assigned_to | string | no | || category | [TicketCategory](#TicketCategory) | yes | || content | [TicketContent](#TicketContent) | no | || context | [TicketContext](#TicketContext) | no | || created_at | string | no | || created_by | string | no | || created_on | [CreatedOn](#CreatedOn) | no | || integration | string | no | || is_feedback_pending | boolean | no | || priority | [Priority](#Priority) | yes | || response_id | string | no | || source | [TicketSourceEnum](#TicketSourceEnum) | yes | || status | [Status](#Status) | yes | || sub_category | string | no | || tags | [string] | no | || updated_at | string | no | |
1576
1366
 
1577
1367
  ---
1578
1368
 
1579
-
1580
-
1581
-
1582
- #### [SubmitButton](#SubmitButton)
1369
+ #### [TicketAsset](#TicketAsset)
1583
1370
 
1584
1371
  | Properties | Type | Nullable | Description |
1585
- | ---------- | ---- | -------- | ----------- |
1586
- | title | string | yes | Title for submit button |
1587
- | title_color | string | yes | Title color submit button |
1588
- | background_color | string | yes | Color for submit button |
1372
+ | ---------- | ---- | -------- | ----------- || display | string | no | || type | [TicketAssetTypeEnum](#TicketAssetTypeEnum) | yes | || value | string | yes | |
1589
1373
 
1590
1374
  ---
1591
1375
 
1592
-
1593
-
1594
-
1595
- #### [PollForAssignment](#PollForAssignment)
1376
+ #### [TicketCategory](#TicketCategory)
1596
1377
 
1597
1378
  | Properties | Type | Nullable | Description |
1598
- | ---------- | ---- | -------- | ----------- |
1599
- | duration | number | yes | Duration for polling of staff |
1600
- | message | string | yes | Message for polling |
1601
- | success_message | string | yes | Message for successful polling |
1602
- | failure_message | string | yes | Message if polling failed |
1379
+ | ---------- | ---- | -------- | ----------- || display | string | yes | || feedback_form | [FeedbackForm](#FeedbackForm) | no | || group_id | number | no | || key | string | yes | || sub_categories | [TicketCategory](#TicketCategory) | no | |
1603
1380
 
1604
1381
  ---
1605
1382
 
1606
-
1607
-
1608
-
1609
- #### [CustomForm](#CustomForm)
1383
+ #### [TicketContent](#TicketContent)
1610
1384
 
1611
1385
  | Properties | Type | Nullable | Description |
1612
- | ---------- | ---- | -------- | ----------- |
1613
- | application_id | string | yes | Application ID for form |
1614
- | slug | string | yes | Slug for the form, which is to be used for accessing the form |
1615
- | header_image | string | no | Form header image that will be shown to the user |
1616
- | title | string | yes | Form title that will be shown to the user |
1617
- | description | string | no | Form description that will be shown to the user |
1618
- | priority | [Priority](#Priority) | yes | Sets priority of tickets created by form response |
1619
- | login_required | boolean | yes | Denotes if login is required to make a form response submission |
1620
- | should_notify | boolean | yes | Denotes if new response submission for the form should be notified to the assignees |
1621
- | success_message | string | no | Message that is to be shown on succesfull form response submission |
1622
- | submit_button | [SubmitButton](#SubmitButton) | no | Details for submit button |
1623
- | inputs | [string] | yes | List of all the form fields |
1624
- | created_on | [CreatedOn](#CreatedOn) | no | Gives details of when the form was created |
1625
- | poll_for_assignment | [PollForAssignment](#PollForAssignment) | no | Details of how polling should be done for support |
1626
- | _id | string | yes | Unique identifier for the form |
1386
+ | ---------- | ---- | -------- | ----------- || attachments | [[TicketAsset](#TicketAsset)] | no | || description | string | no | || title | string | yes | |
1627
1387
 
1628
1388
  ---
1629
1389
 
1630
-
1631
-
1632
-
1633
- #### [CommunicationDetails](#CommunicationDetails)
1390
+ #### [TicketContext](#TicketContext)
1634
1391
 
1635
1392
  | Properties | Type | Nullable | Description |
1636
- | ---------- | ---- | -------- | ----------- |
1637
- | type | string | no | Enum type for the communication method |
1638
- | title | string | no | Title for the communication method |
1639
- | value | string | no | Value for the communication method |
1640
- | description | string | no | Short description for the communication method |
1641
- | enabled | boolean | no | Denotes if this communication method has to be shown |
1393
+ | ---------- | ---- | -------- | ----------- || application_id | string | no | || company_id | string | yes | |
1642
1394
 
1643
1395
  ---
1644
1396
 
1645
-
1646
-
1647
-
1648
- #### [SupportGeneralConfig](#SupportGeneralConfig)
1397
+ #### [TicketFeedback](#TicketFeedback)
1649
1398
 
1650
1399
  | Properties | Type | Nullable | Description |
1651
- | ---------- | ---- | -------- | ----------- |
1652
- | _id | string | no | Unique id |
1653
- | support_email | [CommunicationDetails](#CommunicationDetails) | no | Support e-mail details |
1654
- | support_phone | [CommunicationDetails](#CommunicationDetails) | no | Support Phone number details |
1655
- | support_faq | [CommunicationDetails](#CommunicationDetails) | no | Support FAQ details |
1656
- | show_communication_info | boolean | no | Denotes if support communication info should be shown |
1657
- | support_communication | [CommunicationDetails](#CommunicationDetails) | no | Support communication array list details |
1658
- | show_support_dris | boolean | no | Denotes if support DRIS info should be shown |
1659
- | integration | string | no | Contains integrations basic information |
1400
+ | ---------- | ---- | -------- | ----------- || _id | string | yes | || category | string | no | || company_id | string | yes | || created_at | string | no | || response | [[FeedbackResponseItem](#FeedbackResponseItem)] | yes | || ticket_id | string | yes | || updated_at | string | no | || user | string | no | |
1660
1401
 
1661
1402
  ---
1662
1403
 
1663
-
1664
-
1665
-
1666
- #### [FeedbackForm](#FeedbackForm)
1404
+ #### [TicketFeedbackForm](#TicketFeedbackForm)
1667
1405
 
1668
1406
  | Properties | Type | Nullable | Description |
1669
- | ---------- | ---- | -------- | ----------- |
1670
- | inputs | string | no | Input details for the feed back form |
1671
- | title | string | no | Title for the feed back form |
1672
- | timestamps | string | no | Gives details of category releted data |
1407
+ | ---------- | ---- | -------- | ----------- || display | [string] | no | || title | string | yes | |
1673
1408
 
1674
1409
  ---
1675
1410
 
1676
-
1677
-
1678
-
1679
- #### [TicketSubCategory](#TicketSubCategory)
1411
+ #### [TicketFeedbackList](#TicketFeedbackList)
1680
1412
 
1681
1413
  | Properties | Type | Nullable | Description |
1682
- | ---------- | ---- | -------- | ----------- |
1683
- | key | string | yes | Key for sub-category |
1684
- | display | string | yes | Display text for sub-category |
1685
- | sub_categories | [TicketSubCategory](#TicketSubCategory) | no | |
1414
+ | ---------- | ---- | -------- | ----------- || items | [[TicketFeedback](#TicketFeedback)] | no | |
1686
1415
 
1687
1416
  ---
1688
1417
 
1689
-
1690
-
1691
-
1692
- #### [TicketCategory](#TicketCategory)
1418
+ #### [TicketFeedbackPayload](#TicketFeedbackPayload)
1693
1419
 
1694
1420
  | Properties | Type | Nullable | Description |
1695
- | ---------- | ---- | -------- | ----------- |
1696
- | display | string | yes | Category display value identifier |
1697
- | key | string | yes | Category key value identifier |
1698
- | sub_categories | [TicketCategory](#TicketCategory) | no | Support category array list details |
1699
- | group_id | number | no | Group id of category releted data |
1700
- | feedback_form | [FeedbackForm](#FeedbackForm) | no | Support category array list details |
1421
+ | ---------- | ---- | -------- | ----------- || form_response | string | no | |
1701
1422
 
1702
1423
  ---
1703
1424
 
1704
-
1705
-
1706
-
1707
- #### [CategoryData](#CategoryData)
1425
+ #### [TicketHistory](#TicketHistory)
1708
1426
 
1709
1427
  | Properties | Type | Nullable | Description |
1710
- | ---------- | ---- | -------- | ----------- |
1711
- | list | [TicketCategory](#TicketCategory) | no | |
1428
+ | ---------- | ---- | -------- | ----------- || _id | string | yes | || created_at | string | no | || created_by | string | no | || created_on | [CreatedOn](#CreatedOn) | no | || ticket_id | string | yes | || type | string | yes | || updated_at | string | no | || value | string | yes | |
1712
1429
 
1713
1430
  ---
1714
1431
 
1715
-
1716
-
1717
-
1718
- #### [IntegrationConfig](#IntegrationConfig)
1432
+ #### [TicketHistoryList](#TicketHistoryList)
1719
1433
 
1720
1434
  | Properties | Type | Nullable | Description |
1721
- | ---------- | ---- | -------- | ----------- |
1722
- | _id | string | no | Unique id |
1723
- | integration_type | string | yes | Enum string values for integration |
1724
- | base_url | string | no | Integration base url for validate and create ticket |
1725
- | create_ticket_apikey | string | no | Integration apikey to validate and create ticket |
1726
- | update_ticket_apikey | string | no | Integration apikey to update ticket |
1727
- | category_sync_apikey | string | no | Integration apikey to sync category of selected type |
1728
- | category_data | [CategoryData](#CategoryData) | no | Support category array list details |
1729
- | webhook_apikey | string | no | Integration webhook apikey to got callbacks from integration type dashboard like freshdesk, etc |
1730
- | config_completed | boolean | no | Denotes the current intergration is completed or partially done |
1731
- | allow_ticket_creation | boolean | yes | Denotes ticket creation enable or disable on platform |
1732
- | show_listing | boolean | yes | Denotes ticket listing enable or disable on platform |
1435
+ | ---------- | ---- | -------- | ----------- || items | [[TicketHistory](#TicketHistory)] | no | || page | [Page](#Page) | no | |
1733
1436
 
1734
1437
  ---
1735
1438
 
1736
-
1737
-
1738
-
1739
- #### [FeedbackResponseItem](#FeedbackResponseItem)
1439
+ #### [TicketHistoryPayload](#TicketHistoryPayload)
1740
1440
 
1741
1441
  | Properties | Type | Nullable | Description |
1742
- | ---------- | ---- | -------- | ----------- |
1743
- | display | string | yes | Question/Title of the form field |
1744
- | key | string | yes | Key of the form field |
1745
- | value | string | yes | User response value for the form field |
1442
+ | ---------- | ---- | -------- | ----------- || type | [HistoryTypeEnum](#HistoryTypeEnum) | yes | || value | string | yes | |
1746
1443
 
1747
1444
  ---
1748
1445
 
1749
-
1750
-
1751
-
1752
- #### [TicketFeedback](#TicketFeedback)
1446
+ #### [TicketList](#TicketList)
1753
1447
 
1754
1448
  | Properties | Type | Nullable | Description |
1755
- | ---------- | ---- | -------- | ----------- |
1756
- | _id | string | yes | Unique identifier for the feedback |
1757
- | ticket_id | string | yes | Readable ticket number |
1758
- | company_id | string | yes | Company id for which ticket was raised |
1759
- | response | [[FeedbackResponseItem](#FeedbackResponseItem)] | yes | |
1760
- | category | string | no | Category of the ticket |
1761
- | user | string | no | User who submitted the feedback |
1762
- | updated_at | string | no | Time when the feedback was last updated |
1763
- | created_at | string | no | Time when the feedback was created |
1449
+ | ---------- | ---- | -------- | ----------- || filters | [Filter](#Filter) | no | || items | [[Ticket](#Ticket)] | no | || page | [Page](#Page) | no | |
1764
1450
 
1765
1451
  ---
1766
1452
 
1767
-
1768
-
1769
-
1770
- #### [TicketHistory](#TicketHistory)
1453
+ #### [TicketSubCategory](#TicketSubCategory)
1771
1454
 
1772
1455
  | Properties | Type | Nullable | Description |
1773
- | ---------- | ---- | -------- | ----------- |
1774
- | type | string | yes | Type of the history event |
1775
- | value | string | yes | Data of the history event |
1776
- | ticket_id | string | yes | Readable ticket number |
1777
- | created_on | [CreatedOn](#CreatedOn) | no | Time of creation of the history event |
1778
- | created_by | string | no | User who created the history event |
1779
- | _id | string | yes | Unique identifier of the history event |
1780
- | updated_at | string | no | Time of last update of the history event |
1781
- | created_at | string | no | Time of creation of the history event |
1456
+ | ---------- | ---- | -------- | ----------- || display | string | yes | || key | string | yes | || sub_categories | [TicketSubCategory](#TicketSubCategory) | no | |
1782
1457
 
1783
1458
  ---
1784
1459
 
1785
-
1786
-
1787
-
1788
- #### [Ticket](#Ticket)
1460
+ #### [UserSchema](#UserSchema)
1789
1461
 
1790
1462
  | Properties | Type | Nullable | Description |
1791
- | ---------- | ---- | -------- | ----------- |
1792
- | context | [TicketContext](#TicketContext) | no | Details of company and application realated to the ticket |
1793
- | created_on | [CreatedOn](#CreatedOn) | no | Details of company and application realated to the ticket |
1794
- | response_id | string | no | Details of company and application realated to the ticket |
1795
- | content | [TicketContent](#TicketContent) | no | Ticket conetent details |
1796
- | category | [TicketCategory](#TicketCategory) | yes | Category assigned to the ticket |
1797
- | sub_category | string | no | Sub-category assigned to the ticket |
1798
- | source | [TicketSourceEnum](#TicketSourceEnum) | yes | Denotes if the ticket was created at company or application level |
1799
- | status | [Status](#Status) | yes | Denotes in what state is the ticket |
1800
- | priority | [Priority](#Priority) | yes | Denotes the priority of ticket |
1801
- | created_by | string | no | User details of ticket creator |
1802
- | assigned_to | string | no | Details of support staff to whom ticket is assigned |
1803
- | tags | [string] | no | Tags relevant to ticket |
1804
- | _custom_json | string | no | custom json relevant to the ticket |
1805
- | is_feedback_pending | boolean | no | Denotes if feedback submission is pending for the ticket |
1806
- | integration | string | no | Integration type and its details of the ticket |
1807
- | _id | string | yes | Unique identifier for the ticket |
1808
- | updated_at | string | no | Time when the ticket was last updated |
1809
- | created_at | string | no | Time when the ticket was created |
1463
+ | ---------- | ---- | -------- | ----------- || _id | string | no | || account_type | string | no | || active | boolean | no | || created_at | string | no | || debug | [Debug](#Debug) | no | || emails | [[Email](#Email)] | no | || first_name | string | no | || gender | string | no | || has_old_password_hash | boolean | no | || last_name | string | no | || phone_numbers | [[PhoneNumber](#PhoneNumber)] | no | || profile_pic_url | string | no | || uid | string | no | || updated_at | string | no | || username | string | no | |
1810
1464
 
1811
1465
  ---
1812
1466