@gofynd/fdk-client-javascript 1.2.0 → 1.3.1-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (262) hide show
  1. package/README.md +44 -7
  2. package/package.json +1 -2
  3. package/sdk/application/ApplicationAPIClient.d.ts +3 -3
  4. package/sdk/application/ApplicationAPIClient.js +6 -4
  5. package/sdk/application/ApplicationClient.d.ts +2 -3
  6. package/sdk/application/ApplicationClient.js +1 -45
  7. package/sdk/application/ApplicationConfig.d.ts +46 -6
  8. package/sdk/application/ApplicationConfig.js +15 -16
  9. package/sdk/application/Cart/CartApplicationClient.d.ts +61 -33
  10. package/sdk/application/Cart/CartApplicationClient.js +225 -134
  11. package/sdk/application/Cart/CartApplicationModel.d.ts +6 -4
  12. package/sdk/application/Cart/CartApplicationModel.js +6 -4
  13. package/sdk/application/Catalog/CatalogApplicationClient.d.ts +61 -30
  14. package/sdk/application/Catalog/CatalogApplicationClient.js +234 -146
  15. package/sdk/application/Catalog/CatalogApplicationModel.d.ts +115 -13
  16. package/sdk/application/Catalog/CatalogApplicationModel.js +77 -12
  17. package/sdk/application/Common/CommonApplicationClient.d.ts +5 -3
  18. package/sdk/application/Common/CommonApplicationClient.js +13 -11
  19. package/sdk/application/Common/CommonApplicationModel.d.ts +3 -83
  20. package/sdk/application/Common/CommonApplicationModel.js +2 -58
  21. package/sdk/application/Communication/CommunicationApplicationClient.d.ts +9 -3
  22. package/sdk/application/Communication/CommunicationApplicationClient.js +25 -13
  23. package/sdk/application/Communication/CommunicationApplicationModel.d.ts +1 -34
  24. package/sdk/application/Communication/CommunicationApplicationModel.js +0 -36
  25. package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +46 -16
  26. package/sdk/application/Configuration/ConfigurationApplicationClient.js +144 -68
  27. package/sdk/application/Configuration/ConfigurationApplicationModel.d.ts +1 -219
  28. package/sdk/application/Configuration/ConfigurationApplicationModel.js +0 -226
  29. package/sdk/application/Content/ContentApplicationClient.d.ts +49 -21
  30. package/sdk/application/Content/ContentApplicationClient.js +159 -80
  31. package/sdk/application/Content/ContentApplicationModel.d.ts +5 -622
  32. package/sdk/application/Content/ContentApplicationModel.js +11 -763
  33. package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +6 -3
  34. package/sdk/application/FileStorage/FileStorageApplicationClient.js +20 -14
  35. package/sdk/application/FileStorage/FileStorageApplicationModel.d.ts +1 -152
  36. package/sdk/application/FileStorage/FileStorageApplicationModel.js +0 -180
  37. package/sdk/application/Lead/LeadApplicationClient.d.ts +14 -7
  38. package/sdk/application/Lead/LeadApplicationClient.js +50 -31
  39. package/sdk/application/Lead/LeadApplicationModel.d.ts +22 -741
  40. package/sdk/application/Lead/LeadApplicationModel.js +21 -481
  41. package/sdk/application/Logistic/LogisticApplicationClient.d.ts +11 -5
  42. package/sdk/application/Logistic/LogisticApplicationClient.js +41 -20
  43. package/sdk/application/Order/OrderApplicationClient.d.ts +24 -12
  44. package/sdk/application/Order/OrderApplicationClient.js +88 -56
  45. package/sdk/application/Payment/PaymentApplicationClient.d.ts +91 -42
  46. package/sdk/application/Payment/PaymentApplicationClient.js +293 -194
  47. package/sdk/application/Payment/PaymentApplicationModel.d.ts +36 -36
  48. package/sdk/application/Payment/PaymentApplicationModel.js +36 -36
  49. package/sdk/application/PosCart/PosCartApplicationClient.d.ts +59 -32
  50. package/sdk/application/PosCart/PosCartApplicationClient.js +214 -130
  51. package/sdk/application/PosCart/PosCartApplicationModel.d.ts +2 -2
  52. package/sdk/application/PosCart/PosCartApplicationModel.js +2 -2
  53. package/sdk/application/Rewards/RewardsApplicationClient.d.ts +16 -7
  54. package/sdk/application/Rewards/RewardsApplicationClient.js +56 -29
  55. package/sdk/application/Share/ShareApplicationClient.d.ts +15 -7
  56. package/sdk/application/Share/ShareApplicationClient.js +51 -31
  57. package/sdk/application/Share/ShareApplicationModel.d.ts +1 -33
  58. package/sdk/application/Share/ShareApplicationModel.js +0 -38
  59. package/sdk/application/Theme/ThemeApplicationClient.d.ts +9 -4
  60. package/sdk/application/Theme/ThemeApplicationClient.js +35 -18
  61. package/sdk/application/Theme/ThemeApplicationModel.d.ts +982 -312
  62. package/sdk/application/Theme/ThemeApplicationModel.js +621 -284
  63. package/sdk/application/User/UserApplicationClient.d.ts +74 -35
  64. package/sdk/application/User/UserApplicationClient.js +252 -161
  65. package/sdk/application/User/UserApplicationModel.d.ts +3 -401
  66. package/sdk/application/User/UserApplicationModel.js +2 -490
  67. package/sdk/common/AxiosHelper.js +1 -2
  68. package/sdk/common/FDKError.d.ts +3 -0
  69. package/sdk/common/FDKError.js +8 -0
  70. package/sdk/common/utils.d.ts +3 -0
  71. package/sdk/common/utils.js +29 -0
  72. package/sdk/partner/PartnerAPIClient.d.ts +5 -4
  73. package/sdk/partner/PartnerAPIClient.js +7 -4
  74. package/sdk/partner/PartnerClient.d.ts +2 -0
  75. package/sdk/partner/PartnerClient.js +3 -0
  76. package/sdk/partner/Theme/ThemePartnerClient.d.ts +299 -0
  77. package/sdk/partner/Theme/ThemePartnerClient.js +768 -0
  78. package/sdk/partner/Theme/ThemePartnerModel.d.ts +1706 -0
  79. package/sdk/partner/Theme/ThemePartnerModel.js +1409 -0
  80. package/sdk/partner/Theme/ThemePartnerValidator.d.ts +22 -0
  81. package/sdk/partner/Theme/ThemePartnerValidator.js +157 -0
  82. package/sdk/partner/index.d.ts +3 -1
  83. package/sdk/partner/index.js +3 -1
  84. package/sdk/platform/AuditTrail/AuditTrailPlatformClient.d.ts +8 -4
  85. package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +38 -16
  86. package/sdk/platform/AuditTrail/AuditTrailPlatformModel.d.ts +1 -13
  87. package/sdk/platform/AuditTrail/AuditTrailPlatformModel.js +0 -12
  88. package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.d.ts +10 -0
  89. package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.js +4 -0
  90. package/sdk/platform/Billing/BillingPlatformClient.d.ts +59 -14
  91. package/sdk/platform/Billing/BillingPlatformClient.js +315 -64
  92. package/sdk/platform/Billing/BillingPlatformModel.d.ts +56 -196
  93. package/sdk/platform/Billing/BillingPlatformModel.js +63 -217
  94. package/sdk/platform/Billing/BillingPlatformValidator.d.ts +23 -1
  95. package/sdk/platform/Billing/BillingPlatformValidator.js +31 -0
  96. package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +124 -63
  97. package/sdk/platform/Cart/CartPlatformApplicationClient.js +431 -265
  98. package/sdk/platform/Cart/CartPlatformModel.d.ts +253 -53
  99. package/sdk/platform/Cart/CartPlatformModel.js +104 -54
  100. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +120 -53
  101. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +398 -247
  102. package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +155 -78
  103. package/sdk/platform/Catalog/CatalogPlatformClient.js +561 -355
  104. package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +10 -12
  105. package/sdk/platform/Catalog/CatalogPlatformModel.js +10 -12
  106. package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +30 -0
  107. package/sdk/platform/Catalog/CatalogPlatformValidator.js +13 -0
  108. package/sdk/platform/Common/CommonPlatformClient.d.ts +5 -3
  109. package/sdk/platform/Common/CommonPlatformClient.js +13 -11
  110. package/sdk/platform/Common/CommonPlatformModel.d.ts +39 -64
  111. package/sdk/platform/Common/CommonPlatformModel.js +23 -57
  112. package/sdk/platform/Common/CommonPlatformValidator.d.ts +5 -10
  113. package/sdk/platform/Common/CommonPlatformValidator.js +3 -4
  114. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +370 -120
  115. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +2328 -888
  116. package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.d.ts +143 -24
  117. package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.js +179 -15
  118. package/sdk/platform/Communication/CommunicationPlatformClient.d.ts +2 -1
  119. package/sdk/platform/Communication/CommunicationPlatformClient.js +6 -5
  120. package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +386 -308
  121. package/sdk/platform/Communication/CommunicationPlatformModel.js +415 -355
  122. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +38 -13
  123. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +171 -57
  124. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +53 -1
  125. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +54 -0
  126. package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.d.ts +5 -1
  127. package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.js +7 -0
  128. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +96 -29
  129. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +311 -126
  130. package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.d.ts +5 -1
  131. package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.js +7 -0
  132. package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +36 -18
  133. package/sdk/platform/Configuration/ConfigurationPlatformClient.js +121 -86
  134. package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +13 -180
  135. package/sdk/platform/Configuration/ConfigurationPlatformModel.js +5 -113
  136. package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +162 -70
  137. package/sdk/platform/Content/ContentPlatformApplicationClient.js +528 -309
  138. package/sdk/platform/Content/ContentPlatformModel.d.ts +9 -198
  139. package/sdk/platform/Content/ContentPlatformModel.js +8 -231
  140. package/sdk/platform/Discount/DiscountPlatformClient.d.ts +48 -11
  141. package/sdk/platform/Discount/DiscountPlatformClient.js +142 -48
  142. package/sdk/platform/Discount/DiscountPlatformModel.d.ts +40 -1
  143. package/sdk/platform/Discount/DiscountPlatformModel.js +27 -0
  144. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +84 -18
  145. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +486 -53
  146. package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.d.ts +71 -7
  147. package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.js +81 -5
  148. package/sdk/platform/FileStorage/FileStoragePlatformClient.d.ts +13 -18
  149. package/sdk/platform/FileStorage/FileStoragePlatformClient.js +58 -65
  150. package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +198 -71
  151. package/sdk/platform/FileStorage/FileStoragePlatformModel.js +212 -64
  152. package/sdk/platform/FileStorage/FileStoragePlatformValidator.d.ts +18 -10
  153. package/sdk/platform/FileStorage/FileStoragePlatformValidator.js +11 -6
  154. package/sdk/platform/Finance/FinancePlatformClient.d.ts +177 -40
  155. package/sdk/platform/Finance/FinancePlatformClient.js +1028 -132
  156. package/sdk/platform/Finance/FinancePlatformModel.d.ts +670 -22
  157. package/sdk/platform/Finance/FinancePlatformModel.js +809 -23
  158. package/sdk/platform/Finance/FinancePlatformValidator.d.ts +111 -1
  159. package/sdk/platform/Finance/FinancePlatformValidator.js +134 -0
  160. package/sdk/platform/Inventory/InventoryPlatformClient.d.ts +24 -12
  161. package/sdk/platform/Inventory/InventoryPlatformClient.js +94 -52
  162. package/sdk/platform/Lead/LeadPlatformApplicationClient.d.ts +27 -13
  163. package/sdk/platform/Lead/LeadPlatformApplicationClient.js +101 -55
  164. package/sdk/platform/Lead/LeadPlatformClient.d.ts +50 -39
  165. package/sdk/platform/Lead/LeadPlatformClient.js +171 -112
  166. package/sdk/platform/Lead/LeadPlatformModel.d.ts +32 -390
  167. package/sdk/platform/Lead/LeadPlatformModel.js +31 -214
  168. package/sdk/platform/Lead/LeadPlatformValidator.d.ts +33 -33
  169. package/sdk/platform/Lead/LeadPlatformValidator.js +23 -23
  170. package/sdk/platform/OAuthClient.js +6 -2
  171. package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +4 -2
  172. package/sdk/platform/Order/OrderPlatformApplicationClient.js +12 -10
  173. package/sdk/platform/Order/OrderPlatformClient.d.ts +165 -71
  174. package/sdk/platform/Order/OrderPlatformClient.js +738 -205
  175. package/sdk/platform/Order/OrderPlatformModel.d.ts +261 -3
  176. package/sdk/platform/Order/OrderPlatformModel.js +225 -2
  177. package/sdk/platform/Order/OrderPlatformValidator.d.ts +104 -3
  178. package/sdk/platform/Order/OrderPlatformValidator.js +85 -2
  179. package/sdk/platform/Partner/PartnerPlatformApplicationClient.d.ts +4 -22
  180. package/sdk/platform/Partner/PartnerPlatformApplicationClient.js +12 -159
  181. package/sdk/platform/Partner/PartnerPlatformApplicationValidator.d.ts +1 -30
  182. package/sdk/platform/Partner/PartnerPlatformApplicationValidator.js +0 -26
  183. package/sdk/platform/Partner/PartnerPlatformModel.d.ts +1 -690
  184. package/sdk/platform/Partner/PartnerPlatformModel.js +0 -809
  185. package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +167 -32
  186. package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +793 -145
  187. package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +91 -1
  188. package/sdk/platform/Payment/PaymentPlatformApplicationValidator.js +91 -0
  189. package/sdk/platform/Payment/PaymentPlatformClient.d.ts +20 -10
  190. package/sdk/platform/Payment/PaymentPlatformClient.js +68 -47
  191. package/sdk/platform/Payment/PaymentPlatformModel.d.ts +549 -7
  192. package/sdk/platform/Payment/PaymentPlatformModel.js +305 -6
  193. package/sdk/platform/PlatformAPIClient.d.ts +3 -3
  194. package/sdk/platform/PlatformAPIClient.js +2 -2
  195. package/sdk/platform/PlatformClient.d.ts +2 -2
  196. package/sdk/platform/PlatformClient.js +4 -4
  197. package/sdk/platform/Rewards/RewardsPlatformApplicationClient.d.ts +28 -12
  198. package/sdk/platform/Rewards/RewardsPlatformApplicationClient.js +90 -53
  199. package/sdk/platform/Rewards/RewardsPlatformModel.d.ts +1 -12
  200. package/sdk/platform/Rewards/RewardsPlatformModel.js +0 -14
  201. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +62 -26
  202. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +210 -93
  203. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.d.ts +20 -11
  204. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.js +23 -11
  205. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +36 -18
  206. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +142 -78
  207. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +12 -3
  208. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +14 -2
  209. package/sdk/platform/Share/SharePlatformApplicationClient.d.ts +10 -26
  210. package/sdk/platform/Share/SharePlatformApplicationClient.js +36 -67
  211. package/sdk/platform/Share/SharePlatformModel.d.ts +4 -4
  212. package/sdk/platform/Share/SharePlatformModel.js +4 -4
  213. package/sdk/platform/Theme/ThemePlatformApplicationClient.d.ts +127 -57
  214. package/sdk/platform/Theme/ThemePlatformApplicationClient.js +564 -189
  215. package/sdk/platform/Theme/ThemePlatformApplicationValidator.d.ts +63 -26
  216. package/sdk/platform/Theme/ThemePlatformApplicationValidator.js +62 -22
  217. package/sdk/platform/Theme/ThemePlatformClient.d.ts +37 -0
  218. package/sdk/platform/Theme/ThemePlatformClient.js +235 -0
  219. package/sdk/platform/Theme/ThemePlatformModel.d.ts +1167 -261
  220. package/sdk/platform/Theme/ThemePlatformModel.js +801 -244
  221. package/sdk/platform/Theme/ThemePlatformValidator.d.ts +32 -0
  222. package/sdk/platform/Theme/ThemePlatformValidator.js +38 -0
  223. package/sdk/platform/User/UserPlatformApplicationClient.d.ts +35 -17
  224. package/sdk/platform/User/UserPlatformApplicationClient.js +132 -73
  225. package/sdk/platform/User/UserPlatformApplicationValidator.d.ts +7 -0
  226. package/sdk/platform/User/UserPlatformApplicationValidator.js +3 -0
  227. package/sdk/platform/User/UserPlatformModel.d.ts +1 -738
  228. package/sdk/platform/User/UserPlatformModel.js +3 -899
  229. package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +120 -7
  230. package/sdk/platform/Webhook/WebhookPlatformClient.js +799 -41
  231. package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +476 -86
  232. package/sdk/platform/Webhook/WebhookPlatformModel.js +388 -89
  233. package/sdk/platform/Webhook/WebhookPlatformValidator.d.ts +90 -7
  234. package/sdk/platform/Webhook/WebhookPlatformValidator.js +113 -3
  235. package/sdk/public/Configuration/ConfigurationPublicClient.d.ts +5 -3
  236. package/sdk/public/Configuration/ConfigurationPublicClient.js +13 -11
  237. package/sdk/public/Configuration/ConfigurationPublicModel.d.ts +3 -106
  238. package/sdk/public/Configuration/ConfigurationPublicModel.js +2 -59
  239. package/sdk/public/Inventory/InventoryPublicClient.d.ts +12 -6
  240. package/sdk/public/Inventory/InventoryPublicClient.js +42 -27
  241. package/sdk/public/Partner/PartnerPublicClient.d.ts +22 -0
  242. package/sdk/public/Partner/PartnerPublicClient.js +110 -0
  243. package/sdk/public/Partner/PartnerPublicModel.d.ts +240 -0
  244. package/sdk/public/Partner/PartnerPublicModel.js +280 -0
  245. package/sdk/public/Partner/PartnerPublicValidator.d.ts +18 -0
  246. package/sdk/public/Partner/PartnerPublicValidator.js +19 -0
  247. package/sdk/public/PublicAPIClient.d.ts +14 -1
  248. package/sdk/public/PublicAPIClient.js +7 -1
  249. package/sdk/public/PublicClient.d.ts +2 -0
  250. package/sdk/public/PublicClient.js +4 -0
  251. package/sdk/public/Webhook/WebhookPublicClient.d.ts +5 -2
  252. package/sdk/public/Webhook/WebhookPublicClient.js +15 -9
  253. package/sdk/public/Webhook/WebhookPublicModel.d.ts +1 -191
  254. package/sdk/public/Webhook/WebhookPublicModel.js +0 -229
  255. package/sdk/public/index.d.ts +1 -0
  256. package/sdk/public/index.js +2 -0
  257. package/sdk/application/ApplicationModels.d.ts +0 -48
  258. package/sdk/application/ApplicationModels.js +0 -38
  259. package/sdk/platform/Partner/PartnerPlatformClient.d.ts +0 -106
  260. package/sdk/platform/Partner/PartnerPlatformClient.js +0 -878
  261. package/sdk/platform/Partner/PartnerPlatformValidator.d.ts +0 -208
  262. package/sdk/platform/Partner/PartnerPlatformValidator.js +0 -169
@@ -4,9 +4,9 @@ const Joi = require("joi");
4
4
  * @typedef AddTicketPayload
5
5
  * @property {Object} [_custom_json] - Optional custom data that needs to be sent
6
6
  * @property {string} category - Category of the ticket
7
- * @property {TicketContent} content - Content for the ticket
7
+ * @property {TicketContent} content
8
8
  * @property {Object} [created_by] - Creator of the ticket
9
- * @property {PriorityEnum} [priority] - Priority of the ticket
9
+ * @property {PriorityEnum} [priority]
10
10
  * @property {string} [status] - Status of the ticket
11
11
  */
12
12
 
@@ -15,34 +15,18 @@ const Joi = require("joi");
15
15
  * @property {string} agent_id - Agent's unique ID
16
16
  */
17
17
 
18
- /**
19
- * @typedef CategoryData
20
- * @property {TicketCategory} [list]
21
- */
22
-
23
18
  /**
24
19
  * @typedef CloseVideoRoomResponse
25
20
  * @property {boolean} success - Denotes if operation was successfully
26
21
  */
27
22
 
28
- /**
29
- * @typedef CommunicationDetails
30
- * @property {string} [description] - Short description for the communication method
31
- * @property {boolean} [enabled] - Denotes if this communication method has to be shown
32
- * @property {string} [title] - Title for the communication method
33
- * @property {string} [type] - Enum type for the communication method
34
- * @property {string} [value] - Value for the communication method
35
- */
36
-
37
23
  /**
38
24
  * @typedef CreateCustomFormPayload
39
25
  * @property {string} [description] - Description of the form
40
26
  * @property {string} [header_image] - Header image that is to be shown for the form
41
27
  * @property {Object[]} inputs - List of all the form components
42
- * @property {PollForAssignment} [poll_for_assignment] - Describes how polling
43
- * will be done for the tickets createds
44
- * @property {PriorityEnum} priority - Describes the priority of the tickets
45
- * created by the form
28
+ * @property {PollForAssignment} [poll_for_assignment]
29
+ * @property {PriorityEnum} priority
46
30
  * @property {boolean} [should_notify] - Indicates if staff should be notified
47
31
  * when a response is received
48
32
  * @property {string} slug - Slug for the form
@@ -70,19 +54,18 @@ const Joi = require("joi");
70
54
  * @typedef CustomForm
71
55
  * @property {string} _id - Unique identifier for the form
72
56
  * @property {string} application_id - Application ID for form
73
- * @property {CreatedOn} [created_on] - Gives details of when the form was created
57
+ * @property {CreatedOn} [created_on]
74
58
  * @property {string} [description] - Form description that will be shown to the user
75
59
  * @property {string} [header_image] - Form header image that will be shown to the user
76
60
  * @property {Object[]} inputs - List of all the form fields
77
61
  * @property {boolean} login_required - Denotes if login is required to make a
78
62
  * form response submission
79
- * @property {PollForAssignment} [poll_for_assignment] - Details of how polling
80
- * should be done for support
81
- * @property {Priority} priority - Sets priority of tickets created by form response
63
+ * @property {PollForAssignment} [poll_for_assignment]
64
+ * @property {Priority} priority
82
65
  * @property {boolean} should_notify - Denotes if new response submission for
83
66
  * the form should be notified to the assignees
84
67
  * @property {string} slug - Slug for the form, which is to be used for accessing the form
85
- * @property {SubmitButton} [submit_button] - Details for submit button
68
+ * @property {SubmitButton} [submit_button]
86
69
  * @property {string} [success_message] - Message that is to be shown on
87
70
  * succesfull form response submission
88
71
  * @property {string} title - Form title that will be shown to the user
@@ -91,13 +74,7 @@ const Joi = require("joi");
91
74
  /**
92
75
  * @typedef CustomFormList
93
76
  * @property {CustomForm[]} [items] - List of forms
94
- * @property {Page} [page] - Describes the pagination state
95
- */
96
-
97
- /**
98
- * @typedef CustomFormSubmissionPayload
99
- * @property {TicketAsset[]} [attachments] - List of all attachments related to the form
100
- * @property {Object[]} response - Form response
77
+ * @property {Page} [page]
101
78
  */
102
79
 
103
80
  /**
@@ -113,10 +90,8 @@ const Joi = require("joi");
113
90
  * @property {Object[]} inputs - List of all the form components
114
91
  * @property {boolean} [login_required] - Denotes if login is required to make a
115
92
  * form response submission
116
- * @property {PollForAssignment} [poll_for_assignment] - Describes how polling
117
- * will be done for the tickets createds
118
- * @property {PriorityEnum} priority - Describes the priority of the tickets
119
- * created by the form
93
+ * @property {PollForAssignment} [poll_for_assignment]
94
+ * @property {PriorityEnum} priority
120
95
  * @property {boolean} [should_notify] - Indicates if staff should be notified
121
96
  * when a response is received
122
97
  * @property {string} [success_message] - Success message that will be shown on submission
@@ -125,11 +100,10 @@ const Joi = require("joi");
125
100
 
126
101
  /**
127
102
  * @typedef EditTicketPayload
128
- * @property {AgentChangePayload} [assigned_to] - Details of support staff to
129
- * whom ticket is assigned
103
+ * @property {AgentChangePayload} [assigned_to]
130
104
  * @property {string} [category] - Category assigned to the ticket
131
- * @property {TicketContent} [content] - Ticket conetent details
132
- * @property {PriorityEnum} [priority] - Denotes the priority of ticket
105
+ * @property {TicketContent} [content]
106
+ * @property {PriorityEnum} [priority]
133
107
  * @property {string} [source] - Denotes if the ticket was created at company or
134
108
  * application level
135
109
  * @property {string} [status] - Denotes in what state is the ticket
@@ -177,26 +151,6 @@ const Joi = require("joi");
177
151
  * @property {string} access_token - Access token to be used for video room
178
152
  */
179
153
 
180
- /**
181
- * @typedef IntegrationConfig
182
- * @property {string} [_id] - Unique id
183
- * @property {boolean} allow_ticket_creation - Denotes ticket creation enable or
184
- * disable on platform
185
- * @property {string} [base_url] - Integration base url for validate and create ticket
186
- * @property {CategoryData} [category_data] - Support category array list details
187
- * @property {string} [category_sync_apikey] - Integration apikey to sync
188
- * category of selected type
189
- * @property {boolean} [config_completed] - Denotes the current intergration is
190
- * completed or partially done
191
- * @property {string} [create_ticket_apikey] - Integration apikey to validate
192
- * and create ticket
193
- * @property {string} integration_type - Enum string values for integration
194
- * @property {boolean} show_listing - Denotes ticket listing enable or disable on platform
195
- * @property {string} [update_ticket_apikey] - Integration apikey to update ticket
196
- * @property {string} [webhook_apikey] - Integration webhook apikey to got
197
- * callbacks from integration type dashboard like freshdesk, etc
198
- */
199
-
200
154
  /**
201
155
  * @typedef NotifyUser
202
156
  * @property {string} country_code - Country code
@@ -218,7 +172,7 @@ const Joi = require("joi");
218
172
  * @typedef Participant
219
173
  * @property {string} [identity] - Unique identifier of participant
220
174
  * @property {string} [status] - Status of participant
221
- * @property {UserSchema} [user] - Details of participant
175
+ * @property {UserSchema} [user]
222
176
  */
223
177
 
224
178
  /**
@@ -242,7 +196,7 @@ const Joi = require("joi");
242
196
  * @typedef Priority
243
197
  * @property {string} color - Color for priority
244
198
  * @property {string} display - Display text for priority
245
- * @property {PriorityEnum} key - Key for priority
199
+ * @property {PriorityEnum} key
246
200
  */
247
201
 
248
202
  /**
@@ -259,49 +213,25 @@ const Joi = require("joi");
259
213
  * @property {string} title_color - Title color submit button
260
214
  */
261
215
 
262
- /**
263
- * @typedef SubmitCustomFormResponse
264
- * @property {string} message - Success message for form submission
265
- * @property {Ticket} [ticket] - Ticket created on form submission
266
- */
267
-
268
- /**
269
- * @typedef SupportGeneralConfig
270
- * @property {string} [_id] - Unique id
271
- * @property {Object} [integration] - Contains integrations basic information
272
- * @property {boolean} [show_communication_info] - Denotes if support
273
- * communication info should be shown
274
- * @property {boolean} [show_support_dris] - Denotes if support DRIS info should be shown
275
- * @property {CommunicationDetails} [support_communication] - Support
276
- * communication array list details
277
- * @property {CommunicationDetails} [support_email] - Support e-mail details
278
- * @property {CommunicationDetails} [support_faq] - Support FAQ details
279
- * @property {CommunicationDetails} [support_phone] - Support Phone number details
280
- * @property {string} [type] - The enity/platform for which the config is stored
281
- */
282
-
283
216
  /**
284
217
  * @typedef Ticket
285
218
  * @property {Object} [_custom_json] - Custom json relevant to the ticket
286
219
  * @property {string} _id - Unique identifier for the ticket
287
220
  * @property {Object} [assigned_to] - Details of support staff to whom ticket is assigned
288
- * @property {TicketCategory} category - Category assigned to the ticket
289
- * @property {TicketContent} [content] - Ticket conetent details
290
- * @property {TicketContext} [context] - Details of company and application
291
- * realated to the ticket
221
+ * @property {TicketCategory} category
222
+ * @property {TicketContent} [content]
223
+ * @property {TicketContext} [context]
292
224
  * @property {string} [created_at] - Time when the ticket was created
293
225
  * @property {Object} [created_by] - User details of ticket creator
294
- * @property {CreatedOn} [created_on] - Details of company and application
295
- * realated to the ticket
226
+ * @property {CreatedOn} [created_on]
296
227
  * @property {Object} [integration] - Integration type and its details of the ticket
297
228
  * @property {boolean} [is_feedback_pending] - Denotes if feedback submission is
298
229
  * pending for the ticket
299
- * @property {Priority} priority - Denotes the priority of ticket
230
+ * @property {Priority} priority
300
231
  * @property {string} [response_id] - Details of company and application
301
232
  * realated to the ticket
302
- * @property {TicketSourceEnum} source - Denotes if the ticket was created at
303
- * company or application level
304
- * @property {Status} status - Denotes in what state is the ticket
233
+ * @property {TicketSourceEnum} source
234
+ * @property {Status} status
305
235
  * @property {string} [sub_category] - Sub-category assigned to the ticket
306
236
  * @property {string[]} [tags] - Tags relevant to ticket
307
237
  * @property {string} [updated_at] - Time when the ticket was last updated
@@ -310,17 +240,17 @@ const Joi = require("joi");
310
240
  /**
311
241
  * @typedef TicketAsset
312
242
  * @property {string} [display] - Display text for asset
313
- * @property {TicketAssetTypeEnum} type - Type of asset
243
+ * @property {TicketAssetTypeEnum} type
314
244
  * @property {string} value - To be used for details
315
245
  */
316
246
 
317
247
  /**
318
248
  * @typedef TicketCategory
319
249
  * @property {string} display - Category display value identifier
320
- * @property {FeedbackForm} [feedback_form] - Support category array list details
250
+ * @property {FeedbackForm} [feedback_form]
321
251
  * @property {number} [group_id] - Group id of category releted data
322
252
  * @property {string} key - Category key value identifier
323
- * @property {TicketCategory} [sub_categories] - Support category array list details
253
+ * @property {TicketCategory} [sub_categories]
324
254
  */
325
255
 
326
256
  /**
@@ -348,12 +278,6 @@ const Joi = require("joi");
348
278
  * @property {Object} [user] - User who submitted the feedback
349
279
  */
350
280
 
351
- /**
352
- * @typedef TicketFeedbackForm
353
- * @property {Object[]} [display] - List of all the form fields
354
- * @property {string} title - Feedback form title that will be shown to the user
355
- */
356
-
357
281
  /**
358
282
  * @typedef TicketFeedbackList
359
283
  * @property {TicketFeedback[]} [items] - List of all ticket feedback for the ticket
@@ -370,7 +294,7 @@ const Joi = require("joi");
370
294
  * @property {string} _id - Unique identifier of the history event
371
295
  * @property {string} [created_at] - Time of creation of the history event
372
296
  * @property {Object} [created_by] - User who created the history event
373
- * @property {CreatedOn} [created_on] - Time of creation of the history event
297
+ * @property {CreatedOn} [created_on]
374
298
  * @property {string} ticket_id - Readable ticket number
375
299
  * @property {string} type - Type of the history event
376
300
  * @property {string} [updated_at] - Time of last update of the history event
@@ -380,27 +304,20 @@ const Joi = require("joi");
380
304
  /**
381
305
  * @typedef TicketHistoryList
382
306
  * @property {TicketHistory[]} [items] - List of ticket history
383
- * @property {Page} [page] - Describes the pagination state
307
+ * @property {Page} [page]
384
308
  */
385
309
 
386
310
  /**
387
311
  * @typedef TicketHistoryPayload
388
- * @property {HistoryTypeEnum} type - Type of history event
312
+ * @property {HistoryTypeEnum} type
389
313
  * @property {Object} value - Details of history event
390
314
  */
391
315
 
392
316
  /**
393
317
  * @typedef TicketList
394
- * @property {Filter} [filters] - All the filters available for tickets
318
+ * @property {Filter} [filters]
395
319
  * @property {Ticket[]} [items] - List of tickets
396
- * @property {Page} [page] - Describes the pagination state
397
- */
398
-
399
- /**
400
- * @typedef TicketSubCategory
401
- * @property {string} display - Display text for sub-category
402
- * @property {string} key - Key for sub-category
403
- * @property {TicketSubCategory} [sub_categories]
320
+ * @property {Page} [page]
404
321
  */
405
322
 
406
323
  /**
@@ -439,8 +356,6 @@ const Joi = require("joi");
439
356
  * | "order"} TicketAssetTypeEnum
440
357
  */
441
358
 
442
- /** @typedef {"default" | "freshdesk" | "kapture"} TicketIntegrationDetails */
443
-
444
359
  /** @typedef {"platform_panel" | "sales_channel"} TicketSourceEnum */
445
360
 
446
361
  class LeadPlatformModel {
@@ -463,13 +378,6 @@ class LeadPlatformModel {
463
378
  });
464
379
  }
465
380
 
466
- /** @returns {CategoryData} */
467
- static CategoryData() {
468
- return Joi.object({
469
- list: LeadPlatformModel.TicketCategory(),
470
- });
471
- }
472
-
473
381
  /** @returns {CloseVideoRoomResponse} */
474
382
  static CloseVideoRoomResponse() {
475
383
  return Joi.object({
@@ -477,17 +385,6 @@ class LeadPlatformModel {
477
385
  });
478
386
  }
479
387
 
480
- /** @returns {CommunicationDetails} */
481
- static CommunicationDetails() {
482
- return Joi.object({
483
- description: Joi.string().allow(""),
484
- enabled: Joi.boolean(),
485
- title: Joi.string().allow(""),
486
- type: Joi.string().allow(""),
487
- value: Joi.string().allow(""),
488
- });
489
- }
490
-
491
388
  /** @returns {CreateCustomFormPayload} */
492
389
  static CreateCustomFormPayload() {
493
390
  return Joi.object({
@@ -553,14 +450,6 @@ class LeadPlatformModel {
553
450
  });
554
451
  }
555
452
 
556
- /** @returns {CustomFormSubmissionPayload} */
557
- static CustomFormSubmissionPayload() {
558
- return Joi.object({
559
- attachments: Joi.array().items(LeadPlatformModel.TicketAsset()),
560
- response: Joi.array().items(Joi.any()).required(),
561
- });
562
- }
563
-
564
453
  /** @returns {Debug} */
565
454
  static Debug() {
566
455
  return Joi.object({
@@ -652,23 +541,6 @@ class LeadPlatformModel {
652
541
  });
653
542
  }
654
543
 
655
- /** @returns {IntegrationConfig} */
656
- static IntegrationConfig() {
657
- return Joi.object({
658
- _id: Joi.string().allow(""),
659
- allow_ticket_creation: Joi.boolean().required(),
660
- base_url: Joi.string().allow(""),
661
- category_data: LeadPlatformModel.CategoryData(),
662
- category_sync_apikey: Joi.string().allow(""),
663
- config_completed: Joi.boolean(),
664
- create_ticket_apikey: Joi.string().allow(""),
665
- integration_type: Joi.string().allow("").required(),
666
- show_listing: Joi.boolean().required(),
667
- update_ticket_apikey: Joi.string().allow(""),
668
- webhook_apikey: Joi.string().allow(""),
669
- });
670
- }
671
-
672
544
  /** @returns {NotifyUser} */
673
545
  static NotifyUser() {
674
546
  return Joi.object({
@@ -747,29 +619,6 @@ class LeadPlatformModel {
747
619
  });
748
620
  }
749
621
 
750
- /** @returns {SubmitCustomFormResponse} */
751
- static SubmitCustomFormResponse() {
752
- return Joi.object({
753
- message: Joi.string().allow("").required(),
754
- ticket: LeadPlatformModel.Ticket(),
755
- });
756
- }
757
-
758
- /** @returns {SupportGeneralConfig} */
759
- static SupportGeneralConfig() {
760
- return Joi.object({
761
- _id: Joi.string().allow(""),
762
- integration: Joi.any(),
763
- show_communication_info: Joi.boolean(),
764
- show_support_dris: Joi.boolean(),
765
- support_communication: LeadPlatformModel.CommunicationDetails(),
766
- support_email: LeadPlatformModel.CommunicationDetails(),
767
- support_faq: LeadPlatformModel.CommunicationDetails(),
768
- support_phone: LeadPlatformModel.CommunicationDetails(),
769
- type: Joi.string().allow(""),
770
- });
771
- }
772
-
773
622
  /** @returns {Ticket} */
774
623
  static Ticket() {
775
624
  return Joi.object({
@@ -847,14 +696,6 @@ class LeadPlatformModel {
847
696
  });
848
697
  }
849
698
 
850
- /** @returns {TicketFeedbackForm} */
851
- static TicketFeedbackForm() {
852
- return Joi.object({
853
- display: Joi.array().items(Joi.any()),
854
- title: Joi.string().allow("").required(),
855
- });
856
- }
857
-
858
699
  /** @returns {TicketFeedbackList} */
859
700
  static TicketFeedbackList() {
860
701
  return Joi.object({
@@ -908,15 +749,6 @@ class LeadPlatformModel {
908
749
  });
909
750
  }
910
751
 
911
- /** @returns {TicketSubCategory} */
912
- static TicketSubCategory() {
913
- return Joi.object({
914
- display: Joi.string().allow("").required(),
915
- key: Joi.string().allow("").required(),
916
- sub_categories: Joi.link("#TicketSubCategory"),
917
- }).id("TicketSubCategory");
918
- }
919
-
920
752
  /** @returns {UserSchema} */
921
753
  static UserSchema() {
922
754
  return Joi.object({
@@ -998,21 +830,6 @@ class LeadPlatformModel {
998
830
  );
999
831
  }
1000
832
 
1001
- /**
1002
- * Enum: TicketIntegrationDetails Used By: Lead
1003
- *
1004
- * @returns {TicketIntegrationDetails}
1005
- */
1006
- static TicketIntegrationDetails() {
1007
- return Joi.string().valid(
1008
- "default",
1009
-
1010
- "freshdesk",
1011
-
1012
- "kapture"
1013
- );
1014
- }
1015
-
1016
833
  /**
1017
834
  * Enum: TicketSourceEnum Used By: Lead
1018
835
  *
@@ -1,6 +1,6 @@
1
1
  export = LeadPlatformValidator;
2
2
  /**
3
- * @typedef CreateHistoryParam
3
+ * @typedef CreatePlatformTicketHistoryParam
4
4
  * @property {string} id - Ticket ID for which history is created
5
5
  * @property {LeadPlatformModel.TicketHistoryPayload} body
6
6
  */
@@ -9,7 +9,7 @@ export = LeadPlatformValidator;
9
9
  * @property {LeadPlatformModel.AddTicketPayload} body
10
10
  */
11
11
  /**
12
- * @typedef EditTicketParam
12
+ * @typedef EditPlatformTicketParam
13
13
  * @property {string} id - Ticket ID of ticket to be edited
14
14
  * @property {LeadPlatformModel.EditTicketPayload} body
15
15
  */
@@ -19,15 +19,15 @@ export = LeadPlatformValidator;
19
19
  */
20
20
  /** @typedef GetGeneralConfigParam */
21
21
  /**
22
- * @typedef GetTicketParam
22
+ * @typedef GetPlatformTicketParam
23
23
  * @property {string} id - Tiket ID of the ticket to be fetched
24
24
  */
25
25
  /**
26
- * @typedef GetTicketHistoryParam
26
+ * @typedef GetPlatformTicketHistoryParam
27
27
  * @property {string} id - Ticket ID for which history is to be fetched
28
28
  */
29
29
  /**
30
- * @typedef GetTicketsParam
30
+ * @typedef GetPlatformTicketsParam
31
31
  * @property {boolean} [items] - Decides that the reponse will contain the list of tickets
32
32
  * @property {boolean} [filters] - Decides that the reponse will contain the
33
33
  * ticket filters
@@ -41,12 +41,12 @@ export = LeadPlatformValidator;
41
41
  * Default is 12.
42
42
  */
43
43
  /**
44
- * @typedef GetTokenForVideoRoomParam
45
- * @property {string} uniqueName - Unique name of video room
44
+ * @typedef GetPlatformVideoParticipantsParam
45
+ * @property {string} uniqueName - Unique name of Video Room
46
46
  */
47
47
  /**
48
- * @typedef GetVideoParticipantsParam
49
- * @property {string} uniqueName - Unique name of Video Room
48
+ * @typedef GetTokenForPlatformVideoRoomParam
49
+ * @property {string} uniqueName - Unique name of video room
50
50
  */
51
51
  /**
52
52
  * @typedef SubmitFeedbackParam
@@ -54,33 +54,33 @@ export = LeadPlatformValidator;
54
54
  * @property {LeadPlatformModel.TicketFeedbackPayload} body
55
55
  */
56
56
  declare class LeadPlatformValidator {
57
- /** @returns {CreateHistoryParam} */
58
- static createHistory(): CreateHistoryParam;
57
+ /** @returns {CreatePlatformTicketHistoryParam} */
58
+ static createPlatformTicketHistory(): CreatePlatformTicketHistoryParam;
59
59
  /** @returns {CreateTicketParam} */
60
60
  static createTicket(): CreateTicketParam;
61
- /** @returns {EditTicketParam} */
62
- static editTicket(): EditTicketParam;
61
+ /** @returns {EditPlatformTicketParam} */
62
+ static editPlatformTicket(): EditPlatformTicketParam;
63
63
  /** @returns {GetFeedbacksParam} */
64
64
  static getFeedbacks(): GetFeedbacksParam;
65
65
  /** @returns {GetGeneralConfigParam} */
66
66
  static getGeneralConfig(): any;
67
- /** @returns {GetTicketParam} */
68
- static getTicket(): GetTicketParam;
69
- /** @returns {GetTicketHistoryParam} */
70
- static getTicketHistory(): GetTicketHistoryParam;
71
- /** @returns {GetTicketsParam} */
72
- static getTickets(): GetTicketsParam;
73
- /** @returns {GetTokenForVideoRoomParam} */
74
- static getTokenForVideoRoom(): GetTokenForVideoRoomParam;
75
- /** @returns {GetVideoParticipantsParam} */
76
- static getVideoParticipants(): GetVideoParticipantsParam;
67
+ /** @returns {GetPlatformTicketParam} */
68
+ static getPlatformTicket(): GetPlatformTicketParam;
69
+ /** @returns {GetPlatformTicketHistoryParam} */
70
+ static getPlatformTicketHistory(): GetPlatformTicketHistoryParam;
71
+ /** @returns {GetPlatformTicketsParam} */
72
+ static getPlatformTickets(): GetPlatformTicketsParam;
73
+ /** @returns {GetPlatformVideoParticipantsParam} */
74
+ static getPlatformVideoParticipants(): GetPlatformVideoParticipantsParam;
75
+ /** @returns {GetTokenForPlatformVideoRoomParam} */
76
+ static getTokenForPlatformVideoRoom(): GetTokenForPlatformVideoRoomParam;
77
77
  /** @returns {SubmitFeedbackParam} */
78
78
  static submitFeedback(): SubmitFeedbackParam;
79
79
  }
80
80
  declare namespace LeadPlatformValidator {
81
- export { CreateHistoryParam, CreateTicketParam, EditTicketParam, GetFeedbacksParam, GetGeneralConfigParam, GetTicketParam, GetTicketHistoryParam, GetTicketsParam, GetTokenForVideoRoomParam, GetVideoParticipantsParam, SubmitFeedbackParam };
81
+ export { CreatePlatformTicketHistoryParam, CreateTicketParam, EditPlatformTicketParam, GetFeedbacksParam, GetGeneralConfigParam, GetPlatformTicketParam, GetPlatformTicketHistoryParam, GetPlatformTicketsParam, GetPlatformVideoParticipantsParam, GetTokenForPlatformVideoRoomParam, SubmitFeedbackParam };
82
82
  }
83
- type CreateHistoryParam = {
83
+ type CreatePlatformTicketHistoryParam = {
84
84
  /**
85
85
  * - Ticket ID for which history is created
86
86
  */
@@ -90,7 +90,7 @@ type CreateHistoryParam = {
90
90
  type CreateTicketParam = {
91
91
  body: LeadPlatformModel.AddTicketPayload;
92
92
  };
93
- type EditTicketParam = {
93
+ type EditPlatformTicketParam = {
94
94
  /**
95
95
  * - Ticket ID of ticket to be edited
96
96
  */
@@ -103,19 +103,19 @@ type GetFeedbacksParam = {
103
103
  */
104
104
  id: string;
105
105
  };
106
- type GetTicketParam = {
106
+ type GetPlatformTicketParam = {
107
107
  /**
108
108
  * - Tiket ID of the ticket to be fetched
109
109
  */
110
110
  id: string;
111
111
  };
112
- type GetTicketHistoryParam = {
112
+ type GetPlatformTicketHistoryParam = {
113
113
  /**
114
114
  * - Ticket ID for which history is to be fetched
115
115
  */
116
116
  id: string;
117
117
  };
118
- type GetTicketsParam = {
118
+ type GetPlatformTicketsParam = {
119
119
  /**
120
120
  * - Decides that the reponse will contain the list of tickets
121
121
  */
@@ -152,15 +152,15 @@ type GetTicketsParam = {
152
152
  */
153
153
  pageSize?: number;
154
154
  };
155
- type GetTokenForVideoRoomParam = {
155
+ type GetPlatformVideoParticipantsParam = {
156
156
  /**
157
- * - Unique name of video room
157
+ * - Unique name of Video Room
158
158
  */
159
159
  uniqueName: string;
160
160
  };
161
- type GetVideoParticipantsParam = {
161
+ type GetTokenForPlatformVideoRoomParam = {
162
162
  /**
163
- * - Unique name of Video Room
163
+ * - Unique name of video room
164
164
  */
165
165
  uniqueName: string;
166
166
  };