@blezgo/api-sdk 0.1.1 → 0.1.2

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 (549) hide show
  1. package/dist/account/client.d.ts +1 -1
  2. package/dist/account/client.d.ts.map +1 -1
  3. package/dist/account/generated.d.ts +180 -180
  4. package/dist/account/generated.d.ts.map +1 -1
  5. package/dist/account/index.d.ts +1 -1
  6. package/dist/account/index.d.ts.map +1 -1
  7. package/dist/account/index.js +1 -1
  8. package/dist/account/index.js.map +1 -1
  9. package/dist/activity/client.d.ts +1 -1
  10. package/dist/activity/client.d.ts.map +1 -1
  11. package/dist/activity/generated.d.ts +56 -56
  12. package/dist/activity/generated.d.ts.map +1 -1
  13. package/dist/activity/index.d.ts +1 -1
  14. package/dist/activity/index.d.ts.map +1 -1
  15. package/dist/activity/index.js +1 -1
  16. package/dist/activity/index.js.map +1 -1
  17. package/dist/addon/client.d.ts +1 -1
  18. package/dist/addon/client.d.ts.map +1 -1
  19. package/dist/addon/generated.d.ts +99 -99
  20. package/dist/addon/generated.d.ts.map +1 -1
  21. package/dist/addon/index.d.ts +1 -1
  22. package/dist/addon/index.d.ts.map +1 -1
  23. package/dist/addon/index.js +1 -1
  24. package/dist/addon/index.js.map +1 -1
  25. package/dist/admin/client.d.ts +1 -1
  26. package/dist/admin/client.d.ts.map +1 -1
  27. package/dist/admin/generated.d.ts +87 -87
  28. package/dist/admin/generated.d.ts.map +1 -1
  29. package/dist/admin/index.d.ts +1 -1
  30. package/dist/admin/index.d.ts.map +1 -1
  31. package/dist/admin/index.js +1 -1
  32. package/dist/admin/index.js.map +1 -1
  33. package/dist/affiliate/client.d.ts +1 -1
  34. package/dist/affiliate/client.d.ts.map +1 -1
  35. package/dist/affiliate/generated.d.ts +87 -87
  36. package/dist/affiliate/generated.d.ts.map +1 -1
  37. package/dist/affiliate/index.d.ts +1 -1
  38. package/dist/affiliate/index.d.ts.map +1 -1
  39. package/dist/affiliate/index.js +1 -1
  40. package/dist/affiliate/index.js.map +1 -1
  41. package/dist/analytics/client.d.ts +1 -1
  42. package/dist/analytics/client.d.ts.map +1 -1
  43. package/dist/analytics/generated.d.ts +15 -15
  44. package/dist/analytics/generated.d.ts.map +1 -1
  45. package/dist/analytics/index.d.ts +1 -1
  46. package/dist/analytics/index.d.ts.map +1 -1
  47. package/dist/analytics/index.js +1 -1
  48. package/dist/analytics/index.js.map +1 -1
  49. package/dist/announcements/client.d.ts +1 -1
  50. package/dist/announcements/client.d.ts.map +1 -1
  51. package/dist/announcements/generated.d.ts +68 -68
  52. package/dist/announcements/generated.d.ts.map +1 -1
  53. package/dist/announcements/index.d.ts +1 -1
  54. package/dist/announcements/index.d.ts.map +1 -1
  55. package/dist/announcements/index.js +1 -1
  56. package/dist/announcements/index.js.map +1 -1
  57. package/dist/apikeys/client.d.ts +1 -1
  58. package/dist/apikeys/client.d.ts.map +1 -1
  59. package/dist/apikeys/generated.d.ts +52 -52
  60. package/dist/apikeys/generated.d.ts.map +1 -1
  61. package/dist/apikeys/index.d.ts +1 -1
  62. package/dist/apikeys/index.d.ts.map +1 -1
  63. package/dist/apikeys/index.js +1 -1
  64. package/dist/apikeys/index.js.map +1 -1
  65. package/dist/assistance/client.d.ts +1 -1
  66. package/dist/assistance/client.d.ts.map +1 -1
  67. package/dist/assistance/generated.d.ts +15 -15
  68. package/dist/assistance/generated.d.ts.map +1 -1
  69. package/dist/assistance/index.d.ts +1 -1
  70. package/dist/assistance/index.d.ts.map +1 -1
  71. package/dist/assistance/index.js +1 -1
  72. package/dist/assistance/index.js.map +1 -1
  73. package/dist/authentication/client.d.ts +1 -1
  74. package/dist/authentication/client.d.ts.map +1 -1
  75. package/dist/authentication/generated.d.ts +96 -96
  76. package/dist/authentication/generated.d.ts.map +1 -1
  77. package/dist/authentication/index.d.ts +1 -1
  78. package/dist/authentication/index.d.ts.map +1 -1
  79. package/dist/authentication/index.js +1 -1
  80. package/dist/authentication/index.js.map +1 -1
  81. package/dist/blog/client.d.ts +1 -1
  82. package/dist/blog/client.d.ts.map +1 -1
  83. package/dist/blog/generated.d.ts +175 -175
  84. package/dist/blog/generated.d.ts.map +1 -1
  85. package/dist/blog/index.d.ts +1 -1
  86. package/dist/blog/index.d.ts.map +1 -1
  87. package/dist/blog/index.js +1 -1
  88. package/dist/blog/index.js.map +1 -1
  89. package/dist/bundle/client.d.ts +1 -1
  90. package/dist/bundle/client.d.ts.map +1 -1
  91. package/dist/bundle/generated.d.ts +109 -109
  92. package/dist/bundle/generated.d.ts.map +1 -1
  93. package/dist/bundle/index.d.ts +1 -1
  94. package/dist/bundle/index.d.ts.map +1 -1
  95. package/dist/bundle/index.js +1 -1
  96. package/dist/bundle/index.js.map +1 -1
  97. package/dist/cache/client.d.ts +1 -1
  98. package/dist/cache/client.d.ts.map +1 -1
  99. package/dist/cache/generated.d.ts +33 -33
  100. package/dist/cache/generated.d.ts.map +1 -1
  101. package/dist/cache/index.d.ts +1 -1
  102. package/dist/cache/index.d.ts.map +1 -1
  103. package/dist/cache/index.js +1 -1
  104. package/dist/cache/index.js.map +1 -1
  105. package/dist/calendar/client.d.ts +1 -1
  106. package/dist/calendar/client.d.ts.map +1 -1
  107. package/dist/calendar/generated.d.ts +60 -60
  108. package/dist/calendar/generated.d.ts.map +1 -1
  109. package/dist/calendar/index.d.ts +1 -1
  110. package/dist/calendar/index.d.ts.map +1 -1
  111. package/dist/calendar/index.js +1 -1
  112. package/dist/calendar/index.js.map +1 -1
  113. package/dist/campaigns/client.d.ts +1 -1
  114. package/dist/campaigns/client.d.ts.map +1 -1
  115. package/dist/campaigns/generated.d.ts +136 -136
  116. package/dist/campaigns/generated.d.ts.map +1 -1
  117. package/dist/campaigns/index.d.ts +1 -1
  118. package/dist/campaigns/index.d.ts.map +1 -1
  119. package/dist/campaigns/index.js +1 -1
  120. package/dist/campaigns/index.js.map +1 -1
  121. package/dist/cart/client.d.ts +1 -1
  122. package/dist/cart/client.d.ts.map +1 -1
  123. package/dist/cart/generated.d.ts +15 -15
  124. package/dist/cart/generated.d.ts.map +1 -1
  125. package/dist/cart/index.d.ts +1 -1
  126. package/dist/cart/index.d.ts.map +1 -1
  127. package/dist/cart/index.js +1 -1
  128. package/dist/cart/index.js.map +1 -1
  129. package/dist/changelog/client.d.ts +1 -1
  130. package/dist/changelog/client.d.ts.map +1 -1
  131. package/dist/changelog/generated.d.ts +93 -93
  132. package/dist/changelog/generated.d.ts.map +1 -1
  133. package/dist/changelog/index.d.ts +1 -1
  134. package/dist/changelog/index.d.ts.map +1 -1
  135. package/dist/changelog/index.js +1 -1
  136. package/dist/changelog/index.js.map +1 -1
  137. package/dist/channel/client.d.ts +1 -1
  138. package/dist/channel/client.d.ts.map +1 -1
  139. package/dist/channel/generated.d.ts +228 -228
  140. package/dist/channel/generated.d.ts.map +1 -1
  141. package/dist/channel/index.d.ts +1 -1
  142. package/dist/channel/index.d.ts.map +1 -1
  143. package/dist/channel/index.js +1 -1
  144. package/dist/channel/index.js.map +1 -1
  145. package/dist/company/client.d.ts +1 -1
  146. package/dist/company/client.d.ts.map +1 -1
  147. package/dist/company/generated.d.ts +75 -75
  148. package/dist/company/generated.d.ts.map +1 -1
  149. package/dist/company/index.d.ts +1 -1
  150. package/dist/company/index.d.ts.map +1 -1
  151. package/dist/company/index.js +1 -1
  152. package/dist/company/index.js.map +1 -1
  153. package/dist/conference/client.d.ts +1 -1
  154. package/dist/conference/client.d.ts.map +1 -1
  155. package/dist/conference/generated.d.ts +14 -14
  156. package/dist/conference/generated.d.ts.map +1 -1
  157. package/dist/conference/index.d.ts +1 -1
  158. package/dist/conference/index.d.ts.map +1 -1
  159. package/dist/conference/index.js +1 -1
  160. package/dist/conference/index.js.map +1 -1
  161. package/dist/config/client.d.ts +1 -1
  162. package/dist/config/client.d.ts.map +1 -1
  163. package/dist/config/generated.d.ts +15 -15
  164. package/dist/config/generated.d.ts.map +1 -1
  165. package/dist/config/index.d.ts +1 -1
  166. package/dist/config/index.d.ts.map +1 -1
  167. package/dist/config/index.js +1 -1
  168. package/dist/config/index.js.map +1 -1
  169. package/dist/content/client.d.ts +1 -1
  170. package/dist/content/client.d.ts.map +1 -1
  171. package/dist/content/generated.d.ts +485 -485
  172. package/dist/content/generated.d.ts.map +1 -1
  173. package/dist/content/index.d.ts +1 -1
  174. package/dist/content/index.d.ts.map +1 -1
  175. package/dist/content/index.js +1 -1
  176. package/dist/content/index.js.map +1 -1
  177. package/dist/cookies/client.d.ts +1 -1
  178. package/dist/cookies/client.d.ts.map +1 -1
  179. package/dist/cookies/generated.d.ts +74 -74
  180. package/dist/cookies/generated.d.ts.map +1 -1
  181. package/dist/cookies/index.d.ts +1 -1
  182. package/dist/cookies/index.d.ts.map +1 -1
  183. package/dist/cookies/index.js +1 -1
  184. package/dist/cookies/index.js.map +1 -1
  185. package/dist/courses/client.d.ts +1 -1
  186. package/dist/courses/client.d.ts.map +1 -1
  187. package/dist/courses/generated.d.ts +393 -393
  188. package/dist/courses/generated.d.ts.map +1 -1
  189. package/dist/courses/index.d.ts +1 -1
  190. package/dist/courses/index.d.ts.map +1 -1
  191. package/dist/courses/index.js +1 -1
  192. package/dist/courses/index.js.map +1 -1
  193. package/dist/custom/client.d.ts +1 -1
  194. package/dist/custom/client.d.ts.map +1 -1
  195. package/dist/custom/generated.d.ts +87 -87
  196. package/dist/custom/generated.d.ts.map +1 -1
  197. package/dist/custom/index.d.ts +1 -1
  198. package/dist/custom/index.d.ts.map +1 -1
  199. package/dist/custom/index.js +1 -1
  200. package/dist/custom/index.js.map +1 -1
  201. package/dist/dashboard/client.d.ts +1 -1
  202. package/dist/dashboard/client.d.ts.map +1 -1
  203. package/dist/dashboard/generated.d.ts +169 -169
  204. package/dist/dashboard/generated.d.ts.map +1 -1
  205. package/dist/dashboard/index.d.ts +1 -1
  206. package/dist/dashboard/index.d.ts.map +1 -1
  207. package/dist/dashboard/index.js +1 -1
  208. package/dist/dashboard/index.js.map +1 -1
  209. package/dist/elasticsearch/client.d.ts +1 -1
  210. package/dist/elasticsearch/client.d.ts.map +1 -1
  211. package/dist/elasticsearch/generated.d.ts +15 -15
  212. package/dist/elasticsearch/generated.d.ts.map +1 -1
  213. package/dist/elasticsearch/index.d.ts +1 -1
  214. package/dist/elasticsearch/index.d.ts.map +1 -1
  215. package/dist/elasticsearch/index.js +1 -1
  216. package/dist/elasticsearch/index.js.map +1 -1
  217. package/dist/enrollments/client.d.ts +1 -1
  218. package/dist/enrollments/client.d.ts.map +1 -1
  219. package/dist/enrollments/generated.d.ts +15 -15
  220. package/dist/enrollments/generated.d.ts.map +1 -1
  221. package/dist/enrollments/index.d.ts +1 -1
  222. package/dist/enrollments/index.d.ts.map +1 -1
  223. package/dist/enrollments/index.js +1 -1
  224. package/dist/enrollments/index.js.map +1 -1
  225. package/dist/errors/client.d.ts +1 -1
  226. package/dist/errors/client.d.ts.map +1 -1
  227. package/dist/errors/generated.d.ts +15 -15
  228. package/dist/errors/generated.d.ts.map +1 -1
  229. package/dist/errors/index.d.ts +1 -1
  230. package/dist/errors/index.d.ts.map +1 -1
  231. package/dist/errors/index.js +1 -1
  232. package/dist/errors/index.js.map +1 -1
  233. package/dist/eventconfig/client.d.ts +1 -1
  234. package/dist/eventconfig/client.d.ts.map +1 -1
  235. package/dist/eventconfig/generated.d.ts +77 -77
  236. package/dist/eventconfig/generated.d.ts.map +1 -1
  237. package/dist/eventconfig/index.d.ts +1 -1
  238. package/dist/eventconfig/index.d.ts.map +1 -1
  239. package/dist/eventconfig/index.js +1 -1
  240. package/dist/eventconfig/index.js.map +1 -1
  241. package/dist/funnels/client.d.ts +1 -1
  242. package/dist/funnels/client.d.ts.map +1 -1
  243. package/dist/funnels/generated.d.ts +97 -97
  244. package/dist/funnels/generated.d.ts.map +1 -1
  245. package/dist/funnels/index.d.ts +1 -1
  246. package/dist/funnels/index.d.ts.map +1 -1
  247. package/dist/funnels/index.js +1 -1
  248. package/dist/funnels/index.js.map +1 -1
  249. package/dist/gamification/client.d.ts +1 -1
  250. package/dist/gamification/client.d.ts.map +1 -1
  251. package/dist/gamification/generated.d.ts +151 -151
  252. package/dist/gamification/generated.d.ts.map +1 -1
  253. package/dist/gamification/index.d.ts +1 -1
  254. package/dist/gamification/index.d.ts.map +1 -1
  255. package/dist/gamification/index.js +1 -1
  256. package/dist/gamification/index.js.map +1 -1
  257. package/dist/impersonation/client.d.ts +1 -1
  258. package/dist/impersonation/client.d.ts.map +1 -1
  259. package/dist/impersonation/generated.d.ts +52 -52
  260. package/dist/impersonation/generated.d.ts.map +1 -1
  261. package/dist/impersonation/index.d.ts +1 -1
  262. package/dist/impersonation/index.d.ts.map +1 -1
  263. package/dist/impersonation/index.js +1 -1
  264. package/dist/impersonation/index.js.map +1 -1
  265. package/dist/inbox/client.d.ts +1 -1
  266. package/dist/inbox/client.d.ts.map +1 -1
  267. package/dist/inbox/generated.d.ts +148 -148
  268. package/dist/inbox/generated.d.ts.map +1 -1
  269. package/dist/inbox/index.d.ts +1 -1
  270. package/dist/inbox/index.d.ts.map +1 -1
  271. package/dist/inbox/index.js +1 -1
  272. package/dist/inbox/index.js.map +1 -1
  273. package/dist/index.d.ts +68 -68
  274. package/dist/index.d.ts.map +1 -1
  275. package/dist/index.js +68 -68
  276. package/dist/index.js.map +1 -1
  277. package/dist/internal/client.d.ts +1 -1
  278. package/dist/internal/client.d.ts.map +1 -1
  279. package/dist/internal/generated.d.ts +15 -15
  280. package/dist/internal/generated.d.ts.map +1 -1
  281. package/dist/internal/index.d.ts +1 -1
  282. package/dist/internal/index.d.ts.map +1 -1
  283. package/dist/internal/index.js +1 -1
  284. package/dist/internal/index.js.map +1 -1
  285. package/dist/internationalization/client.d.ts +1 -1
  286. package/dist/internationalization/client.d.ts.map +1 -1
  287. package/dist/internationalization/generated.d.ts +15 -15
  288. package/dist/internationalization/generated.d.ts.map +1 -1
  289. package/dist/internationalization/index.d.ts +1 -1
  290. package/dist/internationalization/index.d.ts.map +1 -1
  291. package/dist/internationalization/index.js +1 -1
  292. package/dist/internationalization/index.js.map +1 -1
  293. package/dist/invitations/client.d.ts +1 -1
  294. package/dist/invitations/client.d.ts.map +1 -1
  295. package/dist/invitations/generated.d.ts +136 -136
  296. package/dist/invitations/generated.d.ts.map +1 -1
  297. package/dist/invitations/index.d.ts +1 -1
  298. package/dist/invitations/index.d.ts.map +1 -1
  299. package/dist/invitations/index.js +1 -1
  300. package/dist/invitations/index.js.map +1 -1
  301. package/dist/meetings/client.d.ts +1 -1
  302. package/dist/meetings/client.d.ts.map +1 -1
  303. package/dist/meetings/generated.d.ts +315 -315
  304. package/dist/meetings/generated.d.ts.map +1 -1
  305. package/dist/meetings/index.d.ts +1 -1
  306. package/dist/meetings/index.d.ts.map +1 -1
  307. package/dist/meetings/index.js +1 -1
  308. package/dist/meetings/index.js.map +1 -1
  309. package/dist/metas/client.d.ts +1 -1
  310. package/dist/metas/client.d.ts.map +1 -1
  311. package/dist/metas/generated.d.ts +198 -198
  312. package/dist/metas/generated.d.ts.map +1 -1
  313. package/dist/metas/index.d.ts +1 -1
  314. package/dist/metas/index.d.ts.map +1 -1
  315. package/dist/metas/index.js +1 -1
  316. package/dist/metas/index.js.map +1 -1
  317. package/dist/notification/client.d.ts +1 -1
  318. package/dist/notification/client.d.ts.map +1 -1
  319. package/dist/notification/generated.d.ts +375 -375
  320. package/dist/notification/generated.d.ts.map +1 -1
  321. package/dist/notification/index.d.ts +1 -1
  322. package/dist/notification/index.d.ts.map +1 -1
  323. package/dist/notification/index.js +1 -1
  324. package/dist/notification/index.js.map +1 -1
  325. package/dist/notifications/client.d.ts +1 -1
  326. package/dist/notifications/client.d.ts.map +1 -1
  327. package/dist/notifications/generated.d.ts +15 -15
  328. package/dist/notifications/generated.d.ts.map +1 -1
  329. package/dist/notifications/index.d.ts +1 -1
  330. package/dist/notifications/index.d.ts.map +1 -1
  331. package/dist/notifications/index.js +1 -1
  332. package/dist/notifications/index.js.map +1 -1
  333. package/dist/onboarding/client.d.ts +1 -1
  334. package/dist/onboarding/client.d.ts.map +1 -1
  335. package/dist/onboarding/generated.d.ts +112 -112
  336. package/dist/onboarding/generated.d.ts.map +1 -1
  337. package/dist/onboarding/index.d.ts +1 -1
  338. package/dist/onboarding/index.d.ts.map +1 -1
  339. package/dist/onboarding/index.js +1 -1
  340. package/dist/onboarding/index.js.map +1 -1
  341. package/dist/packages/client.d.ts +1 -1
  342. package/dist/packages/client.d.ts.map +1 -1
  343. package/dist/packages/generated.d.ts +74 -74
  344. package/dist/packages/generated.d.ts.map +1 -1
  345. package/dist/packages/index.d.ts +1 -1
  346. package/dist/packages/index.d.ts.map +1 -1
  347. package/dist/packages/index.js +1 -1
  348. package/dist/packages/index.js.map +1 -1
  349. package/dist/payments/client.d.ts +1 -1
  350. package/dist/payments/client.d.ts.map +1 -1
  351. package/dist/payments/generated.d.ts +559 -559
  352. package/dist/payments/generated.d.ts.map +1 -1
  353. package/dist/payments/index.d.ts +1 -1
  354. package/dist/payments/index.d.ts.map +1 -1
  355. package/dist/payments/index.js +1 -1
  356. package/dist/payments/index.js.map +1 -1
  357. package/dist/payouts/client.d.ts +1 -1
  358. package/dist/payouts/client.d.ts.map +1 -1
  359. package/dist/payouts/generated.d.ts +15 -15
  360. package/dist/payouts/generated.d.ts.map +1 -1
  361. package/dist/payouts/index.d.ts +1 -1
  362. package/dist/payouts/index.d.ts.map +1 -1
  363. package/dist/payouts/index.js +1 -1
  364. package/dist/payouts/index.js.map +1 -1
  365. package/dist/plans/client.d.ts +1 -1
  366. package/dist/plans/client.d.ts.map +1 -1
  367. package/dist/plans/generated.d.ts +391 -391
  368. package/dist/plans/generated.d.ts.map +1 -1
  369. package/dist/plans/index.d.ts +1 -1
  370. package/dist/plans/index.d.ts.map +1 -1
  371. package/dist/plans/index.js +1 -1
  372. package/dist/plans/index.js.map +1 -1
  373. package/dist/pricing/client.d.ts +1 -1
  374. package/dist/pricing/client.d.ts.map +1 -1
  375. package/dist/pricing/generated.d.ts +70 -70
  376. package/dist/pricing/generated.d.ts.map +1 -1
  377. package/dist/pricing/index.d.ts +1 -1
  378. package/dist/pricing/index.d.ts.map +1 -1
  379. package/dist/pricing/index.js +1 -1
  380. package/dist/pricing/index.js.map +1 -1
  381. package/dist/products/client.d.ts +1 -1
  382. package/dist/products/client.d.ts.map +1 -1
  383. package/dist/products/generated.d.ts +511 -511
  384. package/dist/products/generated.d.ts.map +1 -1
  385. package/dist/products/index.d.ts +1 -1
  386. package/dist/products/index.d.ts.map +1 -1
  387. package/dist/products/index.js +1 -1
  388. package/dist/products/index.js.map +1 -1
  389. package/dist/profile/client.d.ts +1 -1
  390. package/dist/profile/client.d.ts.map +1 -1
  391. package/dist/profile/generated.d.ts +265 -265
  392. package/dist/profile/generated.d.ts.map +1 -1
  393. package/dist/profile/index.d.ts +1 -1
  394. package/dist/profile/index.d.ts.map +1 -1
  395. package/dist/profile/index.js +1 -1
  396. package/dist/profile/index.js.map +1 -1
  397. package/dist/reasons/client.d.ts +1 -1
  398. package/dist/reasons/client.d.ts.map +1 -1
  399. package/dist/reasons/generated.d.ts +89 -89
  400. package/dist/reasons/generated.d.ts.map +1 -1
  401. package/dist/reasons/index.d.ts +1 -1
  402. package/dist/reasons/index.d.ts.map +1 -1
  403. package/dist/reasons/index.js +1 -1
  404. package/dist/reasons/index.js.map +1 -1
  405. package/dist/registration/client.d.ts +1 -1
  406. package/dist/registration/client.d.ts.map +1 -1
  407. package/dist/registration/generated.d.ts +157 -157
  408. package/dist/registration/generated.d.ts.map +1 -1
  409. package/dist/registration/index.d.ts +1 -1
  410. package/dist/registration/index.d.ts.map +1 -1
  411. package/dist/registration/index.js +1 -1
  412. package/dist/registration/index.js.map +1 -1
  413. package/dist/reviews/client.d.ts +1 -1
  414. package/dist/reviews/client.d.ts.map +1 -1
  415. package/dist/reviews/generated.d.ts +39 -39
  416. package/dist/reviews/generated.d.ts.map +1 -1
  417. package/dist/reviews/index.d.ts +1 -1
  418. package/dist/reviews/index.d.ts.map +1 -1
  419. package/dist/reviews/index.js +1 -1
  420. package/dist/reviews/index.js.map +1 -1
  421. package/dist/role/client.d.ts +1 -1
  422. package/dist/role/client.d.ts.map +1 -1
  423. package/dist/role/generated.d.ts +167 -167
  424. package/dist/role/generated.d.ts.map +1 -1
  425. package/dist/role/index.d.ts +1 -1
  426. package/dist/role/index.d.ts.map +1 -1
  427. package/dist/role/index.js +1 -1
  428. package/dist/role/index.js.map +1 -1
  429. package/dist/scheduling/client.d.ts +1 -1
  430. package/dist/scheduling/client.d.ts.map +1 -1
  431. package/dist/scheduling/generated.d.ts +110 -110
  432. package/dist/scheduling/generated.d.ts.map +1 -1
  433. package/dist/scheduling/index.d.ts +1 -1
  434. package/dist/scheduling/index.d.ts.map +1 -1
  435. package/dist/scheduling/index.js +1 -1
  436. package/dist/scheduling/index.js.map +1 -1
  437. package/dist/services/client.d.ts +1 -1
  438. package/dist/services/client.d.ts.map +1 -1
  439. package/dist/services/generated.d.ts +1016 -1016
  440. package/dist/services/generated.d.ts.map +1 -1
  441. package/dist/services/index.d.ts +1 -1
  442. package/dist/services/index.d.ts.map +1 -1
  443. package/dist/services/index.js +1 -1
  444. package/dist/services/index.js.map +1 -1
  445. package/dist/sessions/client.d.ts +1 -1
  446. package/dist/sessions/client.d.ts.map +1 -1
  447. package/dist/sessions/generated.d.ts +383 -383
  448. package/dist/sessions/generated.d.ts.map +1 -1
  449. package/dist/sessions/index.d.ts +1 -1
  450. package/dist/sessions/index.d.ts.map +1 -1
  451. package/dist/sessions/index.js +1 -1
  452. package/dist/sessions/index.js.map +1 -1
  453. package/dist/spaces/client.d.ts +1 -1
  454. package/dist/spaces/client.d.ts.map +1 -1
  455. package/dist/spaces/generated.d.ts +496 -496
  456. package/dist/spaces/generated.d.ts.map +1 -1
  457. package/dist/spaces/index.d.ts +1 -1
  458. package/dist/spaces/index.d.ts.map +1 -1
  459. package/dist/spaces/index.js +1 -1
  460. package/dist/spaces/index.js.map +1 -1
  461. package/dist/storefront/client.d.ts +1 -1
  462. package/dist/storefront/client.d.ts.map +1 -1
  463. package/dist/storefront/generated.d.ts +15 -15
  464. package/dist/storefront/generated.d.ts.map +1 -1
  465. package/dist/storefront/index.d.ts +1 -1
  466. package/dist/storefront/index.d.ts.map +1 -1
  467. package/dist/storefront/index.js +1 -1
  468. package/dist/storefront/index.js.map +1 -1
  469. package/dist/support/client.d.ts +1 -1
  470. package/dist/support/client.d.ts.map +1 -1
  471. package/dist/support/generated.d.ts +1413 -1413
  472. package/dist/support/generated.d.ts.map +1 -1
  473. package/dist/support/index.d.ts +1 -1
  474. package/dist/support/index.d.ts.map +1 -1
  475. package/dist/support/index.js +1 -1
  476. package/dist/support/index.js.map +1 -1
  477. package/dist/sync/client.d.ts +1 -1
  478. package/dist/sync/client.d.ts.map +1 -1
  479. package/dist/sync/generated.d.ts +133 -133
  480. package/dist/sync/generated.d.ts.map +1 -1
  481. package/dist/sync/index.d.ts +1 -1
  482. package/dist/sync/index.d.ts.map +1 -1
  483. package/dist/sync/index.js +1 -1
  484. package/dist/sync/index.js.map +1 -1
  485. package/dist/tenant/client.d.ts +1 -1
  486. package/dist/tenant/client.d.ts.map +1 -1
  487. package/dist/tenant/generated.d.ts +584 -584
  488. package/dist/tenant/generated.d.ts.map +1 -1
  489. package/dist/tenant/index.d.ts +1 -1
  490. package/dist/tenant/index.d.ts.map +1 -1
  491. package/dist/tenant/index.js +1 -1
  492. package/dist/tenant/index.js.map +1 -1
  493. package/dist/testimonials/client.d.ts +1 -1
  494. package/dist/testimonials/client.d.ts.map +1 -1
  495. package/dist/testimonials/generated.d.ts +72 -72
  496. package/dist/testimonials/generated.d.ts.map +1 -1
  497. package/dist/testimonials/index.d.ts +1 -1
  498. package/dist/testimonials/index.d.ts.map +1 -1
  499. package/dist/testimonials/index.js +1 -1
  500. package/dist/testimonials/index.js.map +1 -1
  501. package/dist/tests/client.d.ts +1 -1
  502. package/dist/tests/client.d.ts.map +1 -1
  503. package/dist/tests/generated.d.ts +464 -464
  504. package/dist/tests/generated.d.ts.map +1 -1
  505. package/dist/tests/index.d.ts +1 -1
  506. package/dist/tests/index.d.ts.map +1 -1
  507. package/dist/tests/index.js +1 -1
  508. package/dist/tests/index.js.map +1 -1
  509. package/dist/tokens/client.d.ts +1 -1
  510. package/dist/tokens/client.d.ts.map +1 -1
  511. package/dist/tokens/generated.d.ts +60 -60
  512. package/dist/tokens/generated.d.ts.map +1 -1
  513. package/dist/tokens/index.d.ts +1 -1
  514. package/dist/tokens/index.d.ts.map +1 -1
  515. package/dist/tokens/index.js +1 -1
  516. package/dist/tokens/index.js.map +1 -1
  517. package/dist/uploads/client.d.ts +1 -1
  518. package/dist/uploads/client.d.ts.map +1 -1
  519. package/dist/uploads/generated.d.ts +63 -63
  520. package/dist/uploads/generated.d.ts.map +1 -1
  521. package/dist/uploads/index.d.ts +1 -1
  522. package/dist/uploads/index.d.ts.map +1 -1
  523. package/dist/uploads/index.js +1 -1
  524. package/dist/uploads/index.js.map +1 -1
  525. package/dist/upsell/client.d.ts +1 -1
  526. package/dist/upsell/client.d.ts.map +1 -1
  527. package/dist/upsell/generated.d.ts +95 -95
  528. package/dist/upsell/generated.d.ts.map +1 -1
  529. package/dist/upsell/index.d.ts +1 -1
  530. package/dist/upsell/index.d.ts.map +1 -1
  531. package/dist/upsell/index.js +1 -1
  532. package/dist/upsell/index.js.map +1 -1
  533. package/dist/user/client.d.ts +1 -1
  534. package/dist/user/client.d.ts.map +1 -1
  535. package/dist/user/generated.d.ts +92 -92
  536. package/dist/user/generated.d.ts.map +1 -1
  537. package/dist/user/index.d.ts +1 -1
  538. package/dist/user/index.d.ts.map +1 -1
  539. package/dist/user/index.js +1 -1
  540. package/dist/user/index.js.map +1 -1
  541. package/dist/webinars/client.d.ts +1 -1
  542. package/dist/webinars/client.d.ts.map +1 -1
  543. package/dist/webinars/generated.d.ts +320 -320
  544. package/dist/webinars/generated.d.ts.map +1 -1
  545. package/dist/webinars/index.d.ts +1 -1
  546. package/dist/webinars/index.d.ts.map +1 -1
  547. package/dist/webinars/index.js +1 -1
  548. package/dist/webinars/index.js.map +1 -1
  549. package/package.json +347 -70
@@ -2181,208 +2181,294 @@ export type webhooks = Record<string, never>;
2181
2181
  export interface components {
2182
2182
  schemas: {
2183
2183
  /**
2184
- * GroupByDimension
2185
- * @description Grouping dimensions for SLA compliance
2186
- * @enum {string}
2184
+ * ApplyCannedResponseRequest
2185
+ * @description Request model for applying a canned response
2186
+ * @example {
2187
+ * "context": {
2188
+ * "agent": {
2189
+ * "email": "jane@example.com",
2190
+ * "name": "Jane Smith"
2191
+ * },
2192
+ * "ticket": {
2193
+ * "customer_name": "John Doe",
2194
+ * "ticket_number": "TKT-12345"
2195
+ * }
2196
+ * }
2197
+ * }
2187
2198
  */
2188
- GroupByDimension: "daily" | "weekly" | "monthly" | "team" | "agent";
2199
+ ApplyCannedResponseRequest: {
2200
+ /**
2201
+ * Context
2202
+ * @description Context data for placeholder replacement (e.g., ticket data, agent data)
2203
+ */
2204
+ context: {
2205
+ [key: string]: unknown;
2206
+ };
2207
+ };
2189
2208
  /**
2190
- * RemoveTeamMemberRequest
2191
- * @description Request model for removing a team member
2209
+ * RateSatisfactionRequest
2210
+ * @description Request model for customer satisfaction rating
2192
2211
  */
2193
- RemoveTeamMemberRequest: {
2212
+ RateSatisfactionRequest: {
2194
2213
  /**
2195
- * Removal Reason
2196
- * @description Reason for removal
2214
+ * Rating
2215
+ * @description Satisfaction rating 1-5
2197
2216
  */
2198
- removal_reason?: string | null;
2217
+ rating: number;
2218
+ /**
2219
+ * Comment
2220
+ * @description Additional feedback
2221
+ */
2222
+ comment?: string | null;
2199
2223
  };
2200
2224
  /**
2201
- * UpdateCannedResponseRequest
2202
- * @description Request model for updating a canned response
2225
+ * PeriodType
2226
+ * @description Period type for metrics snapshots
2227
+ * @enum {string}
2203
2228
  */
2204
- UpdateCannedResponseRequest: {
2205
- /** Response Name */
2206
- response_name?: string | null;
2207
- /** Response Slug */
2208
- response_slug?: string | null;
2209
- /** Subject */
2210
- subject?: string | null;
2211
- /** Content */
2212
- content?: string | null;
2213
- /** Content Type */
2214
- content_type?: string | null;
2215
- /** Category */
2216
- category?: string | null;
2217
- /** Tags */
2218
- tags?: string[] | null;
2219
- /** Is Public */
2220
- is_public?: boolean | null;
2221
- /** Team Ids */
2222
- team_ids?: number[] | null;
2223
- /** User Ids */
2224
- user_ids?: number[] | null;
2225
- /** Shortcut */
2226
- shortcut?: string | null;
2227
- /** Status */
2228
- status?: string | null;
2229
- };
2229
+ PeriodType: "daily" | "weekly" | "monthly";
2230
2230
  /**
2231
- * UpdateEmailConfigRequest
2232
- * @description Request model for updating email configuration
2233
- * @example {
2234
- * "from_email": "noreply@company.com",
2235
- * "from_name": "Company Support",
2236
- * "inbound_email": "support@company.com",
2237
- * "inbound_enabled": true,
2238
- * "smtp_enabled": true,
2239
- * "smtp_host": "smtp.gmail.com",
2240
- * "smtp_port": 587,
2241
- * "smtp_use_tls": true
2242
- * }
2231
+ * CreateTeamRequest
2232
+ * @description Request model for creating a team
2243
2233
  */
2244
- UpdateEmailConfigRequest: {
2234
+ CreateTeamRequest: {
2245
2235
  /**
2246
- * Inbound Enabled
2247
- * @description Enable email-to-ticket
2236
+ * Team Name
2237
+ * @description Team name
2248
2238
  */
2249
- inbound_enabled?: boolean | null;
2239
+ team_name: string;
2250
2240
  /**
2251
- * Inbound Email
2252
- * @description Support email address
2241
+ * Description
2242
+ * @description Team description
2253
2243
  */
2254
- inbound_email?: string | null;
2244
+ description?: string | null;
2255
2245
  /**
2256
- * Auto Create Tickets
2257
- * @description Auto-create tickets from unknown senders
2246
+ * Team Type
2247
+ * @description Team type: general, technical, billing, sales, custom
2248
+ * @default general
2258
2249
  */
2259
- auto_create_tickets?: boolean | null;
2250
+ team_type: string;
2260
2251
  /**
2261
- * Require Verified Emails
2262
- * @description Require email verification
2252
+ * Team Lead User Id
2253
+ * @description User ID of team leader
2263
2254
  */
2264
- require_verified_emails?: boolean | null;
2255
+ team_lead_user_id?: number | null;
2256
+ /** Team Lead Name */
2257
+ team_lead_name?: string | null;
2258
+ /** Team Lead Email */
2259
+ team_lead_email?: string | null;
2265
2260
  /**
2266
- * Strip Signatures
2267
- * @description Remove signatures from body
2261
+ * Auto Assign Enabled
2262
+ * @description Enable auto-assignment
2263
+ * @default false
2268
2264
  */
2269
- strip_signatures?: boolean | null;
2265
+ auto_assign_enabled: boolean;
2270
2266
  /**
2271
- * Strip Quotes
2272
- * @description Remove quoted text from replies
2267
+ * Assignment Strategy
2268
+ * @description round_robin, least_active, skill_based, random
2269
+ * @default round_robin
2273
2270
  */
2274
- strip_quotes?: boolean | null;
2271
+ assignment_strategy: string;
2272
+ /** Max Tickets Per Agent */
2273
+ max_tickets_per_agent?: number | null;
2275
2274
  /**
2276
- * Outbound Enabled
2277
- * @description Enable email notifications
2275
+ * Business Hours
2276
+ * @description Business hours schedule
2278
2277
  */
2279
- outbound_enabled?: boolean | null;
2278
+ business_hours?: {
2279
+ [key: string]: unknown;
2280
+ } | null;
2280
2281
  /**
2281
- * From Email
2282
- * @description Default from email
2282
+ * Timezone
2283
+ * @description Team timezone
2284
+ * @default UTC
2283
2285
  */
2284
- from_email?: string | null;
2286
+ timezone: string;
2285
2287
  /**
2286
- * From Name
2287
- * @description Default from name
2288
+ * Routing Rules
2289
+ * @description Routing rules for auto-assignment
2288
2290
  */
2289
- from_name?: string | null;
2291
+ routing_rules?: {
2292
+ [key: string]: unknown;
2293
+ } | null;
2294
+ /** Sla First Response Minutes */
2295
+ sla_first_response_minutes?: number | null;
2296
+ /** Sla Resolution Minutes */
2297
+ sla_resolution_minutes?: number | null;
2290
2298
  /**
2291
- * Reply To
2292
- * @description Default reply-to email
2299
+ * Escalation Enabled
2300
+ * @default false
2293
2301
  */
2294
- reply_to?: string | null;
2302
+ escalation_enabled: boolean;
2303
+ /** Escalation After Minutes */
2304
+ escalation_after_minutes?: number | null;
2295
2305
  /**
2296
- * Smtp Enabled
2297
- * @description Use SMTP provider
2306
+ * Escalation Team Id
2307
+ * @description Team ID to escalate to
2298
2308
  */
2299
- smtp_enabled?: boolean | null;
2309
+ escalation_team_id?: string | null;
2300
2310
  /**
2301
- * Smtp Host
2302
- * @description SMTP host
2311
+ * Is Default
2312
+ * @description Set as default team for unassigned tickets
2313
+ * @default false
2303
2314
  */
2304
- smtp_host?: string | null;
2315
+ is_default: boolean;
2316
+ /** Settings */
2317
+ settings?: {
2318
+ [key: string]: unknown;
2319
+ } | null;
2320
+ /** Custom Fields */
2321
+ custom_fields?: {
2322
+ [key: string]: unknown;
2323
+ } | null;
2324
+ };
2325
+ /**
2326
+ * CreateTagRequest
2327
+ * @description Request model for creating a new support tag
2328
+ * @example {
2329
+ * "color": "#FF5733",
2330
+ * "description": "Technical bug or issue",
2331
+ * "tag_name": "Bug",
2332
+ * "tag_slug": "bug"
2333
+ * }
2334
+ */
2335
+ app__models__support__category_models__CreateTagRequest: {
2305
2336
  /**
2306
- * Smtp Port
2307
- * @description SMTP port
2337
+ * Tag Name
2338
+ * @description Tag name
2308
2339
  */
2309
- smtp_port?: number | null;
2340
+ tag_name: string;
2310
2341
  /**
2311
- * Smtp Username
2312
- * @description SMTP username
2342
+ * Tag Slug
2343
+ * @description URL-friendly slug (lowercase, hyphens only)
2313
2344
  */
2314
- smtp_username?: string | null;
2345
+ tag_slug: string;
2315
2346
  /**
2316
- * Smtp Password
2317
- * @description SMTP password (will be encrypted)
2347
+ * Description
2348
+ * @description Tag description
2318
2349
  */
2319
- smtp_password?: string | null;
2350
+ description?: string | null;
2320
2351
  /**
2321
- * Smtp Use Tls
2322
- * @description Use TLS/SSL
2352
+ * Color
2353
+ * @description Color hex code (e.g., '#FF5733')
2323
2354
  */
2324
- smtp_use_tls?: boolean | null;
2355
+ color?: string | null;
2356
+ };
2357
+ /**
2358
+ * CreateCannedResponseRequest
2359
+ * @description Request model for creating a new canned response
2360
+ * @example {
2361
+ * "category": "greeting",
2362
+ * "content": "Hello {{ticket.customer_name}},\\n\\nThank you for contacting support. We received your request and will get back to you shortly.\\n\\nBest regards,\\n{{agent.name}}",
2363
+ * "content_type": "plain",
2364
+ * "is_public": true,
2365
+ * "response_name": "Greeting",
2366
+ * "response_slug": "greeting",
2367
+ * "shortcut": "/greeting",
2368
+ * "status": "active",
2369
+ * "subject": "Thank you for contacting us",
2370
+ * "tags": [
2371
+ * "initial",
2372
+ * "acknowledgment"
2373
+ * ]
2374
+ * }
2375
+ */
2376
+ CreateCannedResponseRequest: {
2325
2377
  /**
2326
- * Ses Enabled
2327
- * @description Use AWS SES
2378
+ * Response Name
2379
+ * @description Response name/title
2328
2380
  */
2329
- ses_enabled?: boolean | null;
2381
+ response_name: string;
2330
2382
  /**
2331
- * Ses Region
2332
- * @description AWS region
2383
+ * Response Slug
2384
+ * @description URL-friendly slug
2333
2385
  */
2334
- ses_region?: string | null;
2386
+ response_slug: string;
2335
2387
  /**
2336
- * Ses Access Key
2337
- * @description AWS access key (will be encrypted)
2388
+ * Subject
2389
+ * @description Email subject (if applicable)
2338
2390
  */
2339
- ses_access_key?: string | null;
2391
+ subject?: string | null;
2340
2392
  /**
2341
- * Ses Secret Key
2342
- * @description AWS secret key (will be encrypted)
2393
+ * Content
2394
+ * @description Response content (supports placeholders like {{ticket.customer_name}})
2343
2395
  */
2344
- ses_secret_key?: string | null;
2396
+ content: string;
2345
2397
  /**
2346
- * Enable Threading
2347
- * @description Enable email threading
2398
+ * Content Type
2399
+ * @description Content type (plain, html, markdown)
2400
+ * @default plain
2348
2401
  */
2349
- enable_threading?: boolean | null;
2402
+ content_type: string;
2350
2403
  /**
2351
- * Include Ticket Id In Subject
2352
- * @description Add [#TKT-123] to subject
2404
+ * Category
2405
+ * @description Response category (greeting, closing, solution, etc.)
2353
2406
  */
2354
- include_ticket_id_in_subject?: boolean | null;
2407
+ category?: string | null;
2355
2408
  /**
2356
- * Spam Threshold
2357
- * @description Spam score threshold
2409
+ * Tags
2410
+ * @description Tags for quick filtering
2358
2411
  */
2359
- spam_threshold?: number | null;
2412
+ tags?: string[] | null;
2360
2413
  /**
2361
- * Block Spam
2362
- * @description Block emails marked as spam
2414
+ * Is Public
2415
+ * @description Available to all agents
2416
+ * @default true
2363
2417
  */
2364
- block_spam?: boolean | null;
2418
+ is_public: boolean;
2365
2419
  /**
2366
- * Notify Customer On Create
2367
- * @description Notify customer when ticket created
2420
+ * Team Ids
2421
+ * @description Specific teams (if not public)
2368
2422
  */
2369
- notify_customer_on_create?: boolean | null;
2423
+ team_ids?: number[] | null;
2370
2424
  /**
2371
- * Notify Customer On Update
2372
- * @description Notify customer on updates
2425
+ * User Ids
2426
+ * @description Specific users (if not public)
2373
2427
  */
2374
- notify_customer_on_update?: boolean | null;
2428
+ user_ids?: number[] | null;
2375
2429
  /**
2376
- * Notify Agent On Assignment
2377
- * @description Notify agent on assignment
2430
+ * Shortcut
2431
+ * @description Keyboard shortcut (e.g., /greeting)
2378
2432
  */
2379
- notify_agent_on_assignment?: boolean | null;
2433
+ shortcut?: string | null;
2434
+ /**
2435
+ * Status
2436
+ * @description Response status (active, inactive, archived)
2437
+ * @default active
2438
+ */
2439
+ status: string;
2380
2440
  };
2381
- InvalidParam: {
2382
- /** @example items[0].quantity */
2383
- field?: string;
2384
- /** @example Input should be greater than or equal to 1 */
2385
- error?: string;
2441
+ /**
2442
+ * UpdateEmailTemplateRequest
2443
+ * @description Request model for updating email template
2444
+ * @example {
2445
+ * "status": "active",
2446
+ * "subject_template": "New Support Ticket #{{ticket_number}}",
2447
+ * "template_name": "Updated Ticket Created Template"
2448
+ * }
2449
+ */
2450
+ UpdateEmailTemplateRequest: {
2451
+ /** Template Name */
2452
+ template_name?: string | null;
2453
+ /** Description */
2454
+ description?: string | null;
2455
+ /** Subject Template */
2456
+ subject_template?: string | null;
2457
+ /** Body Html */
2458
+ body_html?: string | null;
2459
+ /** Body Text */
2460
+ body_text?: string | null;
2461
+ /** Available Variables */
2462
+ available_variables?: string[] | null;
2463
+ /** From Email */
2464
+ from_email?: string | null;
2465
+ /** From Name */
2466
+ from_name?: string | null;
2467
+ /** Reply To */
2468
+ reply_to?: string | null;
2469
+ /** Is Default */
2470
+ is_default?: boolean | null;
2471
+ status?: components["schemas"]["TemplateStatus"] | null;
2386
2472
  };
2387
2473
  /**
2388
2474
  * CreateSavedFilterRequest
@@ -2442,100 +2528,116 @@ export interface components {
2442
2528
  is_default: boolean;
2443
2529
  };
2444
2530
  /**
2445
- * AssignTicketRequest
2446
- * @description Request model for assigning a ticket
2531
+ * BulkUpdateStatusRequest
2532
+ * @description Request model for bulk updating ticket status
2447
2533
  */
2448
- AssignTicketRequest: {
2534
+ BulkUpdateStatusRequest: {
2449
2535
  /**
2450
- * Assigned To User Id
2451
- * @description User ID to assign to
2536
+ * Ticket Ids
2537
+ * @description List of ticket IDs
2452
2538
  */
2453
- assigned_to_user_id?: number | null;
2539
+ ticket_ids: number[];
2454
2540
  /**
2455
- * Assigned Team Id
2456
- * @description Team ID to assign to
2541
+ * New Status
2542
+ * @description New status
2457
2543
  */
2458
- assigned_team_id?: number | null;
2544
+ new_status: string;
2459
2545
  };
2460
2546
  /**
2461
- * SubmitRatingRequest
2462
- * @description Request model for submitting a satisfaction rating
2547
+ * ReverseMergeRequest
2548
+ * @description Request model for reversing a ticket merge
2463
2549
  */
2464
- SubmitRatingRequest: {
2550
+ ReverseMergeRequest: {
2465
2551
  /**
2466
- * Survey Token
2467
- * @description Survey token
2552
+ * Reversal Reason
2553
+ * @description Reason for reversal
2468
2554
  */
2469
- survey_token: string;
2555
+ reversal_reason: string;
2556
+ };
2557
+ /**
2558
+ * UpdateTicketRequest
2559
+ * @description Request model for updating a ticket (customer-facing)
2560
+ */
2561
+ UpdateTicketRequest: {
2470
2562
  /**
2471
- * Rating
2472
- * @description Rating (1-5 stars)
2563
+ * Subject
2564
+ * @description Ticket subject
2473
2565
  */
2474
- rating: number;
2566
+ subject?: string | null;
2475
2567
  /**
2476
- * Feedback Text
2477
- * @description Optional feedback text
2568
+ * Description
2569
+ * @description Ticket description
2478
2570
  */
2479
- feedback_text?: string | null;
2571
+ description?: string | null;
2480
2572
  /**
2481
- * Feedback Category
2482
- * @description Feedback category
2573
+ * Priority
2574
+ * @description Priority level
2483
2575
  */
2484
- feedback_category?: string | null;
2576
+ priority?: string | null;
2577
+ /**
2578
+ * Category
2579
+ * @description Ticket category
2580
+ */
2581
+ category?: string | null;
2582
+ /**
2583
+ * Tags
2584
+ * @description Tags
2585
+ */
2586
+ tags?: string[] | null;
2587
+ };
2588
+ ErrorResponse: {
2589
+ /** @example about:blank */
2590
+ type?: string;
2591
+ /** @example GENERIC_ERROR */
2592
+ code?: string;
2593
+ /** @example Client Error */
2594
+ title?: string;
2595
+ /** @example 400 */
2596
+ status?: number;
2597
+ /** @example An error occurred */
2598
+ detail?: string;
2599
+ /** @example /v1/cart/items */
2600
+ instance?: string;
2601
+ extensions?: components["schemas"]["Extensions"];
2485
2602
  };
2486
2603
  /**
2487
- * SearchTicketsRequest
2488
- * @description Request model for searching tickets
2604
+ * GetAgentPerformanceRequest
2605
+ * @description Request model for getting agent performance metrics
2489
2606
  * @example {
2490
- * "filters": {
2491
- * "category_id": [
2492
- * 1,
2493
- * 2
2494
- * ],
2495
- * "created_from": "2025-01-01",
2496
- * "created_to": "2025-12-31",
2497
- * "is_overdue": true,
2498
- * "priority": [
2499
- * "high",
2500
- * "urgent"
2501
- * ],
2502
- * "status": [
2503
- * "open",
2504
- * "pending"
2505
- * ]
2506
- * },
2507
- * "limit": 20,
2607
+ * "agent_id": 123,
2608
+ * "date_from": "2025-11-01",
2609
+ * "date_to": "2025-12-01",
2610
+ * "limit": 50,
2508
2611
  * "page": 1,
2509
- * "query": "payment issue",
2510
- * "sort_by": "created_at",
2511
- * "sort_order": "desc"
2612
+ * "period_type": "daily"
2512
2613
  * }
2513
2614
  */
2514
- SearchTicketsRequest: {
2615
+ GetAgentPerformanceRequest: {
2515
2616
  /**
2516
- * Query
2517
- * @description Search query for full-text search
2617
+ * Agent Id
2618
+ * @description Specific agent ID
2518
2619
  */
2519
- query?: string | null;
2620
+ agent_id?: number | null;
2520
2621
  /**
2521
- * Filters
2522
- * @description Advanced filters (status, priority, category, dates, etc.)
2622
+ * Team Id
2623
+ * @description Filter by team ID
2523
2624
  */
2524
- filters?: {
2525
- [key: string]: unknown;
2526
- } | null;
2625
+ team_id?: number | null;
2527
2626
  /**
2528
- * Sort By
2529
- * @description Sort field (created_at, updated_at, priority, status)
2530
- * @default created_at
2627
+ * @description Period type: daily, weekly, monthly
2628
+ * @default daily
2531
2629
  */
2532
- sort_by: string;
2630
+ period_type: components["schemas"]["PeriodType"];
2533
2631
  /**
2534
- * Sort Order
2535
- * @description Sort order (asc/desc)
2536
- * @default desc
2632
+ * Date From
2633
+ * @description Start date
2537
2634
  */
2538
- sort_order: string;
2635
+ date_from?: string | null;
2636
+ /**
2637
+ * Date To
2638
+ * @description End date
2639
+ */
2640
+ date_to?: string | null;
2539
2641
  /**
2540
2642
  * Page
2541
2643
  * @description Page number
@@ -2544,23 +2646,70 @@ export interface components {
2544
2646
  page: number;
2545
2647
  /**
2546
2648
  * Limit
2547
- * @description Results per page
2548
- * @default 20
2649
+ * @description Items per page
2650
+ * @default 50
2549
2651
  */
2550
2652
  limit: number;
2551
2653
  };
2552
2654
  /**
2553
- * CreateHolidayRequest
2554
- * @description Request model for creating a holiday
2555
- * @example {
2556
- * "affects_sla": true,
2557
- * "holiday_date": "2025-12-25",
2655
+ * TemplateType
2656
+ * @description Email template types
2657
+ * @enum {string}
2658
+ */
2659
+ TemplateType: "ticket_created" | "ticket_updated" | "ticket_assigned" | "ticket_resolved" | "ticket_closed" | "comment_added" | "agent_assigned" | "sla_warning" | "customer_satisfaction";
2660
+ /**
2661
+ * SearchCommentsRequest
2662
+ * @description Request model for searching comments
2663
+ * @example {
2664
+ * "include_internal": false,
2665
+ * "limit": 20,
2666
+ * "page": 1,
2667
+ * "query": "refund",
2668
+ * "ticket_id": "tkt_xxx123"
2669
+ * }
2670
+ */
2671
+ SearchCommentsRequest: {
2672
+ /**
2673
+ * Query
2674
+ * @description Search query
2675
+ */
2676
+ query: string;
2677
+ /**
2678
+ * Ticket Id
2679
+ * @description Filter by specific ticket ID
2680
+ */
2681
+ ticket_id?: string | null;
2682
+ /**
2683
+ * Include Internal
2684
+ * @description Include internal notes in search results
2685
+ * @default false
2686
+ */
2687
+ include_internal: boolean;
2688
+ /**
2689
+ * Page
2690
+ * @description Page number
2691
+ * @default 1
2692
+ */
2693
+ page: number;
2694
+ /**
2695
+ * Limit
2696
+ * @description Results per page
2697
+ * @default 20
2698
+ */
2699
+ limit: number;
2700
+ };
2701
+ /**
2702
+ * CreateHolidayRequest
2703
+ * @description Request model for creating a holiday
2704
+ * @example {
2705
+ * "affects_sla": true,
2706
+ * "holiday_date": "2025-12-25",
2558
2707
  * "holiday_name": "Christmas Day",
2559
2708
  * "is_full_day": true,
2560
2709
  * "is_recurring": true
2561
2710
  * }
2562
2711
  */
2563
- CreateHolidayRequest: {
2712
+ app__models__support__sla_models__CreateHolidayRequest: {
2564
2713
  /** Holiday Name */
2565
2714
  holiday_name: string;
2566
2715
  /**
@@ -2600,6 +2749,143 @@ export interface components {
2600
2749
  /** Notes */
2601
2750
  notes?: string | null;
2602
2751
  };
2752
+ /**
2753
+ * MergeTicketsRequest
2754
+ * @description Request model for merging tickets
2755
+ */
2756
+ MergeTicketsRequest: {
2757
+ /**
2758
+ * Parent Ticket Id
2759
+ * @description Parent ticket ID (kept active)
2760
+ */
2761
+ parent_ticket_id: number;
2762
+ /**
2763
+ * Child Ticket Id
2764
+ * @description Child ticket ID (merged)
2765
+ */
2766
+ child_ticket_id: number;
2767
+ /**
2768
+ * Merge Reason
2769
+ * @description Reason for merge
2770
+ */
2771
+ merge_reason: string;
2772
+ /**
2773
+ * Merge Type
2774
+ * @description Merge type
2775
+ */
2776
+ merge_type: string;
2777
+ /**
2778
+ * Copy Comments
2779
+ * @description Copy comments to parent
2780
+ * @default true
2781
+ */
2782
+ copy_comments: boolean;
2783
+ /**
2784
+ * Copy Attachments
2785
+ * @description Copy attachments to parent
2786
+ * @default true
2787
+ */
2788
+ copy_attachments: boolean;
2789
+ /**
2790
+ * Notify Customers
2791
+ * @description Notify customers
2792
+ * @default true
2793
+ */
2794
+ notify_customers: boolean;
2795
+ };
2796
+ /**
2797
+ * GroupByDimension
2798
+ * @description Grouping dimensions for SLA compliance
2799
+ * @enum {string}
2800
+ */
2801
+ GroupByDimension: "daily" | "weekly" | "monthly" | "team" | "agent";
2802
+ /**
2803
+ * UpdateMacroRequest
2804
+ * @description Request model for updating a macro
2805
+ */
2806
+ UpdateMacroRequest: {
2807
+ /** Macro Name */
2808
+ macro_name?: string | null;
2809
+ /** Macro Slug */
2810
+ macro_slug?: string | null;
2811
+ /** Description */
2812
+ description?: string | null;
2813
+ /** Actions */
2814
+ actions?: {
2815
+ [key: string]: unknown;
2816
+ }[] | null;
2817
+ /** Include Response */
2818
+ include_response?: boolean | null;
2819
+ /** Canned Response Id */
2820
+ canned_response_id?: number | null;
2821
+ /** Is Public */
2822
+ is_public?: boolean | null;
2823
+ /** Team Ids */
2824
+ team_ids?: number[] | null;
2825
+ /** User Ids */
2826
+ user_ids?: number[] | null;
2827
+ /** Display Order */
2828
+ display_order?: number | null;
2829
+ /** Button Color */
2830
+ button_color?: string | null;
2831
+ /** Icon */
2832
+ icon?: string | null;
2833
+ /** Status */
2834
+ status?: string | null;
2835
+ };
2836
+ /**
2837
+ * UpdateSavedFilterRequest
2838
+ * @description Request model for updating a saved filter
2839
+ */
2840
+ UpdateSavedFilterRequest: {
2841
+ /** Filter Name */
2842
+ filter_name?: string | null;
2843
+ /** Filter Slug */
2844
+ filter_slug?: string | null;
2845
+ /** Description */
2846
+ description?: string | null;
2847
+ /** Filter Config */
2848
+ filter_config?: {
2849
+ [key: string]: unknown;
2850
+ } | null;
2851
+ /** Is Public */
2852
+ is_public?: boolean | null;
2853
+ /** Is Default */
2854
+ is_default?: boolean | null;
2855
+ /** Status */
2856
+ status?: string | null;
2857
+ };
2858
+ /**
2859
+ * AssignTicketRequest
2860
+ * @description Request model for assigning a ticket
2861
+ */
2862
+ AssignTicketRequest: {
2863
+ /**
2864
+ * Assigned To User Id
2865
+ * @description User ID to assign to
2866
+ */
2867
+ assigned_to_user_id?: number | null;
2868
+ /**
2869
+ * Assigned Team Id
2870
+ * @description Team ID to assign to
2871
+ */
2872
+ assigned_team_id?: number | null;
2873
+ };
2874
+ /**
2875
+ * ExportFormat
2876
+ * @description Export file formats
2877
+ * @enum {string}
2878
+ */
2879
+ ExportFormat: "csv" | "excel" | "json" | "pdf";
2880
+ Extensions: {
2881
+ /** @example GENERIC_ERROR */
2882
+ message_code?: string;
2883
+ /** @example [] */
2884
+ invalid_params?: components["schemas"]["InvalidParam"][];
2885
+ extra_data?: Record<string, never> | null;
2886
+ /** @example Detailed debug information */
2887
+ debug?: string | null;
2888
+ };
2603
2889
  /**
2604
2890
  * CreateEmailTemplateRequest
2605
2891
  * @description Request model for creating email template
@@ -2685,220 +2971,158 @@ export interface components {
2685
2971
  language: string;
2686
2972
  };
2687
2973
  /**
2688
- * ExportFormat
2689
- * @description Export file formats
2690
- * @enum {string}
2691
- */
2692
- ExportFormat: "csv" | "excel" | "json" | "pdf";
2693
- /**
2694
- * MergeTicketsRequest
2695
- * @description Request model for merging tickets
2974
+ * AddTeamMemberRequest
2975
+ * @description Request model for adding a team member
2696
2976
  */
2697
- MergeTicketsRequest: {
2977
+ AddTeamMemberRequest: {
2698
2978
  /**
2699
- * Parent Ticket Id
2700
- * @description Parent ticket ID (kept active)
2979
+ * User Id
2980
+ * @description User ID to add to team
2701
2981
  */
2702
- parent_ticket_id: number;
2982
+ user_id: number;
2983
+ /** User Name */
2984
+ user_name: string;
2985
+ /** User Email */
2986
+ user_email: string;
2703
2987
  /**
2704
- * Child Ticket Id
2705
- * @description Child ticket ID (merged)
2988
+ * Role
2989
+ * @description agent, senior_agent, team_lead, trainee
2990
+ * @default agent
2706
2991
  */
2707
- child_ticket_id: number;
2992
+ role: string;
2708
2993
  /**
2709
- * Merge Reason
2710
- * @description Reason for merge
2994
+ * Is Team Lead
2995
+ * @default false
2711
2996
  */
2712
- merge_reason: string;
2997
+ is_team_lead: boolean;
2998
+ /** Max Concurrent Tickets */
2999
+ max_concurrent_tickets?: number | null;
2713
3000
  /**
2714
- * Merge Type
2715
- * @description Merge type
3001
+ * Skills
3002
+ * @description Agent skills and expertise
2716
3003
  */
2717
- merge_type: string;
3004
+ skills?: string[] | null;
2718
3005
  /**
2719
- * Copy Comments
2720
- * @description Copy comments to parent
2721
- * @default true
3006
+ * Skill Level
3007
+ * @description beginner, intermediate, expert, master
3008
+ * @default intermediate
2722
3009
  */
2723
- copy_comments: boolean;
3010
+ skill_level: string;
2724
3011
  /**
2725
- * Copy Attachments
2726
- * @description Copy attachments to parent
2727
- * @default true
3012
+ * Categories
3013
+ * @description Categories agent handles
2728
3014
  */
2729
- copy_attachments: boolean;
3015
+ categories?: string[] | null;
2730
3016
  /**
2731
- * Notify Customers
2732
- * @description Notify customers
3017
+ * Priority Levels
3018
+ * @description Priority levels: low, medium, high, critical
3019
+ */
3020
+ priority_levels?: string[] | null;
3021
+ /**
3022
+ * Auto Assign Enabled
2733
3023
  * @default true
2734
3024
  */
2735
- notify_customers: boolean;
3025
+ auto_assign_enabled: boolean;
3026
+ /**
3027
+ * Assignment Weight
3028
+ * @description Weight for load balancing (100 = normal)
3029
+ * @default 100
3030
+ */
3031
+ assignment_weight: number;
3032
+ /** Working Hours */
3033
+ working_hours?: {
3034
+ [key: string]: unknown;
3035
+ } | null;
3036
+ /**
3037
+ * Timezone
3038
+ * @default UTC
3039
+ */
3040
+ timezone: string;
2736
3041
  };
2737
3042
  /**
2738
- * CreateTeamRequest
2739
- * @description Request model for creating a team
3043
+ * UpdateCategoryRequest
3044
+ * @description Request model for updating a support category
3045
+ * @example {
3046
+ * "category_name": "Billing & Payment Issues",
3047
+ * "description": "Updated description for billing category",
3048
+ * "is_public": true,
3049
+ * "sla_first_response_minutes": 30,
3050
+ * "status": "active"
3051
+ * }
2740
3052
  */
2741
- CreateTeamRequest: {
3053
+ app__models__support__category_models__UpdateCategoryRequest: {
2742
3054
  /**
2743
- * Team Name
2744
- * @description Team name
3055
+ * Category Name
3056
+ * @description Category name
2745
3057
  */
2746
- team_name: string;
3058
+ category_name?: string | null;
2747
3059
  /**
2748
3060
  * Description
2749
- * @description Team description
3061
+ * @description Category description
2750
3062
  */
2751
3063
  description?: string | null;
2752
3064
  /**
2753
- * Team Type
2754
- * @description Team type: general, technical, billing, sales, custom
2755
- * @default general
2756
- */
2757
- team_type: string;
2758
- /**
2759
- * Team Lead User Id
2760
- * @description User ID of team leader
2761
- */
2762
- team_lead_user_id?: number | null;
2763
- /** Team Lead Name */
2764
- team_lead_name?: string | null;
2765
- /** Team Lead Email */
2766
- team_lead_email?: string | null;
2767
- /**
2768
- * Auto Assign Enabled
2769
- * @description Enable auto-assignment
2770
- * @default false
3065
+ * Category Slug
3066
+ * @description URL-friendly slug
2771
3067
  */
2772
- auto_assign_enabled: boolean;
3068
+ category_slug?: string | null;
2773
3069
  /**
2774
- * Assignment Strategy
2775
- * @description round_robin, least_active, skill_based, random
2776
- * @default round_robin
3070
+ * Parent Category Id
3071
+ * @description Parent category ID
2777
3072
  */
2778
- assignment_strategy: string;
2779
- /** Max Tickets Per Agent */
2780
- max_tickets_per_agent?: number | null;
3073
+ parent_category_id?: number | null;
2781
3074
  /**
2782
- * Business Hours
2783
- * @description Business hours schedule
3075
+ * Default Team Id
3076
+ * @description Default team ID for auto-routing
2784
3077
  */
2785
- business_hours?: {
2786
- [key: string]: unknown;
2787
- } | null;
3078
+ default_team_id?: number | null;
2788
3079
  /**
2789
- * Timezone
2790
- * @description Team timezone
2791
- * @default UTC
3080
+ * Default Priority
3081
+ * @description Default priority slug
2792
3082
  */
2793
- timezone: string;
3083
+ default_priority?: string | null;
2794
3084
  /**
2795
- * Routing Rules
2796
- * @description Routing rules for auto-assignment
3085
+ * Sla First Response Minutes
3086
+ * @description SLA for first response in minutes
2797
3087
  */
2798
- routing_rules?: {
2799
- [key: string]: unknown;
2800
- } | null;
2801
- /** Sla First Response Minutes */
2802
3088
  sla_first_response_minutes?: number | null;
2803
- /** Sla Resolution Minutes */
2804
- sla_resolution_minutes?: number | null;
2805
- /**
2806
- * Escalation Enabled
2807
- * @default false
2808
- */
2809
- escalation_enabled: boolean;
2810
- /** Escalation After Minutes */
2811
- escalation_after_minutes?: number | null;
2812
3089
  /**
2813
- * Escalation Team Id
2814
- * @description Team ID to escalate to
3090
+ * Sla Resolution Minutes
3091
+ * @description SLA for resolution in minutes
2815
3092
  */
2816
- escalation_team_id?: string | null;
3093
+ sla_resolution_minutes?: number | null;
2817
3094
  /**
2818
- * Is Default
2819
- * @description Set as default team for unassigned tickets
2820
- * @default false
3095
+ * Is Public
3096
+ * @description Whether category is visible to customers
2821
3097
  */
2822
- is_default: boolean;
2823
- /** Settings */
2824
- settings?: {
2825
- [key: string]: unknown;
2826
- } | null;
2827
- /** Custom Fields */
2828
- custom_fields?: {
2829
- [key: string]: unknown;
2830
- } | null;
2831
- };
2832
- /**
2833
- * GenerateSurveyRequest
2834
- * @description Request model for generating a satisfaction survey
2835
- */
2836
- GenerateSurveyRequest: {
3098
+ is_public?: boolean | null;
2837
3099
  /**
2838
- * Survey Type
2839
- * @description Survey type
2840
- * @default post_resolution
3100
+ * Display Order
3101
+ * @description Display order for sorting
2841
3102
  */
2842
- survey_type: string;
2843
- };
2844
- /**
2845
- * GetDashboardMetricsRequest
2846
- * @description Request model for getting dashboard metrics
2847
- * @example {
2848
- * "date_from": "2025-11-01",
2849
- * "date_to": "2025-12-01",
2850
- * "period_type": "daily"
2851
- * }
2852
- */
2853
- GetDashboardMetricsRequest: {
3103
+ display_order?: number | null;
2854
3104
  /**
2855
- * @description Period type: daily, weekly, monthly
2856
- * @default daily
3105
+ * Icon
3106
+ * @description Icon identifier
2857
3107
  */
2858
- period_type: components["schemas"]["PeriodType"];
3108
+ icon?: string | null;
2859
3109
  /**
2860
- * Date From
2861
- * @description Start date (defaults to 30 days ago)
3110
+ * Color
3111
+ * @description Color hex code
2862
3112
  */
2863
- date_from?: string | null;
3113
+ color?: string | null;
2864
3114
  /**
2865
- * Date To
2866
- * @description End date (defaults to today)
3115
+ * Status
3116
+ * @description Category status: active, inactive, archived
2867
3117
  */
2868
- date_to?: string | null;
2869
- };
2870
- /**
2871
- * ExecuteMacroRequest
2872
- * @description Request model for executing a macro
2873
- * @example {
2874
- * "ticket_data": {
2875
- * "category_id": 5,
2876
- * "id": 123,
2877
- * "priority_id": 2,
2878
- * "status": "open",
2879
- * "ticket_number": "TKT-12345"
2880
- * }
2881
- * }
2882
- */
2883
- ExecuteMacroRequest: {
3118
+ status?: string | null;
2884
3119
  /**
2885
- * Ticket Data
2886
- * @description Ticket context data
3120
+ * Settings
3121
+ * @description Additional JSON settings
2887
3122
  */
2888
- ticket_data: {
3123
+ settings?: {
2889
3124
  [key: string]: unknown;
2890
- };
2891
- };
2892
- /**
2893
- * ReverseMergeRequest
2894
- * @description Request model for reversing a ticket merge
2895
- */
2896
- ReverseMergeRequest: {
2897
- /**
2898
- * Reversal Reason
2899
- * @description Reason for reversal
2900
- */
2901
- reversal_reason: string;
3125
+ } | null;
2902
3126
  };
2903
3127
  /**
2904
3128
  * UpdateAutomationRuleRequest
@@ -2939,499 +3163,556 @@ export interface components {
2939
3163
  status?: string | null;
2940
3164
  };
2941
3165
  /**
2942
- * UpdateTicketStatusRequest
2943
- * @description Request model for updating ticket status
3166
+ * CreateCommentRequest
3167
+ * @description Request model for adding a comment
2944
3168
  */
2945
- UpdateTicketStatusRequest: {
3169
+ app__models__support__ticket_models__CreateCommentRequest: {
2946
3170
  /**
2947
- * Status
2948
- * @description New status: new, open, pending, waiting_for_customer, on_hold, resolved, closed
3171
+ * Comment Body
3172
+ * @description Comment text
2949
3173
  */
2950
- status: string;
3174
+ comment_body: string;
2951
3175
  /**
2952
- * Reason
2953
- * @description Reason for status change
3176
+ * Is Internal
3177
+ * @description Internal note (agents only)
3178
+ * @default false
2954
3179
  */
2955
- reason?: string | null;
2956
- };
2957
- /**
2958
- * @example {
2959
- * "status": "success",
2960
- * "message": "Operation successful",
2961
- * "message_code": "api_suc_20001",
2962
- * "data": {},
2963
- * "metadata": {
2964
- * "timestamp": "2026-03-26T10:00:00.000Z",
2965
- * "requestId": "07e22004-cb60-4dfc-bc9c-b6f99664dca1",
2966
- * "traceId": "a9f1204c-bb82-41de-b234-7c3a9e120000",
2967
- * "version": "v1",
2968
- * "executionTime": 42,
2969
- * "language": "en-US"
2970
- * }
2971
- * }
2972
- */
2973
- StandardResponse: {
2974
- /** @example success */
2975
- status?: string;
2976
- data?: Record<string, never> | null;
2977
- /** @example Operation successful */
2978
- message?: string | null;
2979
- /** @example api_suc_20001 */
2980
- message_code?: string | null;
2981
- metadata?: Record<string, never> | null;
2982
- error?: components["schemas"]["ErrorResponse"];
3180
+ is_internal: boolean | null;
2983
3181
  };
2984
3182
  /**
2985
- * AddTeamMemberRequest
2986
- * @description Request model for adding a team member
3183
+ * GenerateSurveyRequest
3184
+ * @description Request model for generating a satisfaction survey
2987
3185
  */
2988
- AddTeamMemberRequest: {
3186
+ GenerateSurveyRequest: {
2989
3187
  /**
2990
- * User Id
2991
- * @description User ID to add to team
3188
+ * Survey Type
3189
+ * @description Survey type
3190
+ * @default post_resolution
2992
3191
  */
2993
- user_id: number;
2994
- /** User Name */
2995
- user_name: string;
2996
- /** User Email */
2997
- user_email: string;
3192
+ survey_type: string;
3193
+ };
3194
+ InvalidParam: {
3195
+ /** @example items[0].quantity */
3196
+ field?: string;
3197
+ /** @example Input should be greater than or equal to 1 */
3198
+ error?: string;
3199
+ };
3200
+ /**
3201
+ * CreateMacroRequest
3202
+ * @description Request model for creating a new macro
3203
+ * @example {
3204
+ * "actions": [
3205
+ * {
3206
+ * "action": "set_status",
3207
+ * "value": "solved"
3208
+ * },
3209
+ * {
3210
+ * "action": "add_internal_note",
3211
+ * "note": "Ticket closed as solved"
3212
+ * }
3213
+ * ],
3214
+ * "button_color": "#4CAF50",
3215
+ * "description": "Mark ticket as solved and close it",
3216
+ * "display_order": 1,
3217
+ * "icon": "check-circle",
3218
+ * "include_response": false,
3219
+ * "is_public": true,
3220
+ * "macro_name": "Close as Solved",
3221
+ * "macro_slug": "close-solved",
3222
+ * "status": "active"
3223
+ * }
3224
+ */
3225
+ CreateMacroRequest: {
2998
3226
  /**
2999
- * Role
3000
- * @description agent, senior_agent, team_lead, trainee
3001
- * @default agent
3227
+ * Macro Name
3228
+ * @description Macro name
3002
3229
  */
3003
- role: string;
3230
+ macro_name: string;
3004
3231
  /**
3005
- * Is Team Lead
3006
- * @default false
3232
+ * Macro Slug
3233
+ * @description URL-friendly slug
3007
3234
  */
3008
- is_team_lead: boolean;
3009
- /** Max Concurrent Tickets */
3010
- max_concurrent_tickets?: number | null;
3235
+ macro_slug: string;
3011
3236
  /**
3012
- * Skills
3013
- * @description Agent skills and expertise
3237
+ * Description
3238
+ * @description Macro description
3014
3239
  */
3015
- skills?: string[] | null;
3240
+ description?: string | null;
3016
3241
  /**
3017
- * Skill Level
3018
- * @description beginner, intermediate, expert, master
3019
- * @default intermediate
3242
+ * Actions
3243
+ * @description Actions to perform
3020
3244
  */
3021
- skill_level: string;
3245
+ actions: {
3246
+ [key: string]: unknown;
3247
+ }[];
3022
3248
  /**
3023
- * Categories
3024
- * @description Categories agent handles
3249
+ * Include Response
3250
+ * @description Include a canned response
3251
+ * @default false
3025
3252
  */
3026
- categories?: string[] | null;
3253
+ include_response: boolean;
3027
3254
  /**
3028
- * Priority Levels
3029
- * @description Priority levels: low, medium, high, critical
3255
+ * Canned Response Id
3256
+ * @description Canned response to include
3030
3257
  */
3031
- priority_levels?: string[] | null;
3258
+ canned_response_id?: number | null;
3032
3259
  /**
3033
- * Auto Assign Enabled
3260
+ * Is Public
3261
+ * @description Available to all agents
3034
3262
  * @default true
3035
3263
  */
3036
- auto_assign_enabled: boolean;
3264
+ is_public: boolean;
3037
3265
  /**
3038
- * Assignment Weight
3039
- * @description Weight for load balancing (100 = normal)
3040
- * @default 100
3266
+ * Team Ids
3267
+ * @description Specific teams (if not public)
3041
3268
  */
3042
- assignment_weight: number;
3043
- /** Working Hours */
3044
- working_hours?: {
3045
- [key: string]: unknown;
3046
- } | null;
3269
+ team_ids?: number[] | null;
3047
3270
  /**
3048
- * Timezone
3049
- * @default UTC
3271
+ * User Ids
3272
+ * @description Specific users (if not public)
3050
3273
  */
3051
- timezone: string;
3052
- };
3053
- /**
3054
- * RateSatisfactionRequest
3055
- * @description Request model for customer satisfaction rating
3056
- */
3057
- RateSatisfactionRequest: {
3274
+ user_ids?: number[] | null;
3058
3275
  /**
3059
- * Rating
3060
- * @description Satisfaction rating 1-5
3276
+ * Display Order
3277
+ * @description Display order
3278
+ * @default 0
3061
3279
  */
3062
- rating: number;
3280
+ display_order: number;
3063
3281
  /**
3064
- * Comment
3065
- * @description Additional feedback
3282
+ * Button Color
3283
+ * @description Button color (hex)
3066
3284
  */
3067
- comment?: string | null;
3068
- };
3069
- /**
3070
- * UpdateAgentTicketRequest
3071
- * @description Request model for updating a ticket (agent-facing)
3072
- */
3073
- UpdateAgentTicketRequest: {
3074
- /** Subject */
3075
- subject?: string | null;
3076
- /** Description */
3077
- description?: string | null;
3285
+ button_color?: string | null;
3078
3286
  /**
3079
- * Priority
3080
- * @description low, medium, high, urgent, critical
3287
+ * Icon
3288
+ * @description Icon identifier
3081
3289
  */
3082
- priority?: string | null;
3083
- /** Category */
3084
- category?: string | null;
3085
- /** Sub Category */
3086
- sub_category?: string | null;
3290
+ icon?: string | null;
3087
3291
  /**
3088
3292
  * Status
3089
- * @description new, open, pending, waiting_for_customer, on_hold, resolved, closed
3293
+ * @description Macro status (active, inactive)
3294
+ * @default active
3090
3295
  */
3091
- status?: string | null;
3092
- /** Tags */
3093
- tags?: string[] | null;
3094
- /** Custom Fields */
3095
- custom_fields?: {
3096
- [key: string]: unknown;
3097
- } | null;
3296
+ status: string;
3098
3297
  };
3099
3298
  /**
3100
- * GetSLAComplianceRequest
3101
- * @description Request model for SLA compliance report
3102
- * @example {
3103
- * "date_from": "2025-11-01",
3104
- * "date_to": "2025-12-01",
3105
- * "group_by": "agent"
3106
- * }
3299
+ * MarkFollowupRequest
3300
+ * @description Request model for marking follow-up as completed
3107
3301
  */
3108
- GetSLAComplianceRequest: {
3109
- /**
3110
- * Date From
3111
- * Format: date
3112
- * @description Start date (required)
3113
- */
3114
- date_from: string;
3115
- /**
3116
- * Date To
3117
- * Format: date
3118
- * @description End date (required)
3119
- */
3120
- date_to: string;
3302
+ MarkFollowupRequest: {
3121
3303
  /**
3122
- * @description Grouping dimension
3123
- * @default daily
3304
+ * Followup Notes
3305
+ * @description Follow-up notes
3124
3306
  */
3125
- group_by: components["schemas"]["GroupByDimension"];
3307
+ followup_notes: string;
3126
3308
  };
3127
3309
  /**
3128
- * CreateBusinessHoursRequest
3129
- * @description Request model for creating business hours schedule
3310
+ * CreateAutomationRuleRequest
3311
+ * @description Request model for creating a new automation rule
3130
3312
  * @example {
3131
- * "is_default": true,
3132
- * "observes_holidays": true,
3133
- * "schedule_name": "Standard Business Hours",
3134
- * "schedule_slug": "standard-hours",
3135
- * "timezone": "America/New_York",
3136
- * "working_hours": {
3137
- * "friday": {
3138
- * "enabled": true,
3139
- * "end": "17:00",
3140
- * "start": "09:00"
3141
- * },
3142
- * "monday": {
3143
- * "enabled": true,
3144
- * "end": "17:00",
3145
- * "start": "09:00"
3146
- * },
3147
- * "saturday": {
3148
- * "enabled": false
3149
- * },
3150
- * "sunday": {
3151
- * "enabled": false
3152
- * },
3153
- * "thursday": {
3154
- * "enabled": true,
3155
- * "end": "17:00",
3156
- * "start": "09:00"
3157
- * },
3158
- * "tuesday": {
3159
- * "enabled": true,
3160
- * "end": "17:00",
3161
- * "start": "09:00"
3313
+ * "actions": [
3314
+ * {
3315
+ * "action": "assign_to_team",
3316
+ * "team_id": 456
3162
3317
  * },
3163
- * "wednesday": {
3164
- * "enabled": true,
3165
- * "end": "17:00",
3166
- * "start": "09:00"
3318
+ * {
3319
+ * "action": "set_priority",
3320
+ * "priority_id": 2
3167
3321
  * }
3168
- * }
3322
+ * ],
3323
+ * "applies_to_all_categories": false,
3324
+ * "applies_to_all_priorities": true,
3325
+ * "category_ids": [
3326
+ * 123
3327
+ * ],
3328
+ * "conditions": {
3329
+ * "all": [
3330
+ * {
3331
+ * "field": "category_id",
3332
+ * "operator": "equals",
3333
+ * "value": 123
3334
+ * }
3335
+ * ]
3336
+ * },
3337
+ * "description": "Automatically assign new tickets to the support team",
3338
+ * "execution_order": 1,
3339
+ * "is_active": true,
3340
+ * "rule_name": "Auto-assign New Tickets",
3341
+ * "rule_slug": "auto-assign-new",
3342
+ * "status": "active",
3343
+ * "stop_processing": false,
3344
+ * "trigger_event": "ticket_created"
3169
3345
  * }
3170
3346
  */
3171
- CreateBusinessHoursRequest: {
3172
- /** Schedule Name */
3173
- schedule_name: string;
3174
- /** Schedule Slug */
3175
- schedule_slug: string;
3176
- /** Description */
3177
- description?: string | null;
3178
- /**
3179
- * Timezone
3180
- * @description Timezone (e.g., 'America/New_York')
3181
- * @default UTC
3182
- */
3183
- timezone: string;
3184
- /**
3185
- * Working Hours
3186
- * @description Working hours per day of week
3187
- */
3188
- working_hours: {
3189
- [key: string]: unknown;
3190
- };
3191
- /**
3192
- * Observes Holidays
3193
- * @description Whether to observe holiday calendar
3194
- * @default true
3195
- */
3196
- observes_holidays: boolean;
3347
+ CreateAutomationRuleRequest: {
3197
3348
  /**
3198
- * Is Default
3199
- * @description Default business hours for organization
3200
- * @default false
3349
+ * Rule Name
3350
+ * @description Rule name
3201
3351
  */
3202
- is_default: boolean;
3203
- };
3204
- /**
3205
- * CreateCategoryRequest
3206
- * @description Request model for creating a new support category
3207
- * @example {
3208
- * "category_name": "Billing & Payments",
3209
- * "category_slug": "billing-payments",
3210
- * "color": "#4CAF50",
3211
- * "default_priority": "medium",
3212
- * "default_team_id": 123,
3213
- * "description": "Issues related to billing, invoices, and payments",
3214
- * "display_order": 1,
3215
- * "icon": "icon-billing",
3216
- * "is_public": true,
3217
- * "settings": {
3218
- * "require_account_verification": true
3219
- * },
3220
- * "sla_first_response_minutes": 60,
3221
- * "sla_resolution_minutes": 480
3222
- * }
3223
- */
3224
- app__models__support__category_models__CreateCategoryRequest: {
3352
+ rule_name: string;
3225
3353
  /**
3226
- * Category Name
3227
- * @description Category name
3354
+ * Rule Slug
3355
+ * @description URL-friendly slug (lowercase, hyphens only)
3228
3356
  */
3229
- category_name: string;
3357
+ rule_slug: string;
3230
3358
  /**
3231
3359
  * Description
3232
- * @description Category description
3360
+ * @description Rule description
3233
3361
  */
3234
3362
  description?: string | null;
3235
3363
  /**
3236
- * Category Slug
3237
- * @description URL-friendly slug (lowercase, hyphens only)
3238
- */
3239
- category_slug: string;
3240
- /**
3241
- * Parent Category Id
3242
- * @description Parent category ID for hierarchical categories
3364
+ * Trigger Event
3365
+ * @description Event that triggers the rule (ticket_created, status_changed, etc.)
3243
3366
  */
3244
- parent_category_id?: number | null;
3367
+ trigger_event: string;
3245
3368
  /**
3246
- * Default Team Id
3247
- * @description Default team ID for auto-routing tickets
3369
+ * Execution Order
3370
+ * @description Order of execution (lower runs first)
3371
+ * @default 0
3248
3372
  */
3249
- default_team_id?: number | null;
3373
+ execution_order: number;
3250
3374
  /**
3251
- * Default Priority
3252
- * @description Default priority slug for tickets in this category
3375
+ * Stop Processing
3376
+ * @description Stop processing other rules if this matches
3377
+ * @default false
3253
3378
  */
3254
- default_priority?: string | null;
3379
+ stop_processing: boolean;
3255
3380
  /**
3256
- * Sla First Response Minutes
3257
- * @description SLA for first response in minutes
3381
+ * Conditions
3382
+ * @description Matching conditions (AND/OR logic)
3258
3383
  */
3259
- sla_first_response_minutes?: number | null;
3384
+ conditions?: {
3385
+ [key: string]: unknown;
3386
+ } | null;
3260
3387
  /**
3261
- * Sla Resolution Minutes
3262
- * @description SLA for resolution in minutes
3388
+ * Actions
3389
+ * @description Actions to perform when conditions match
3263
3390
  */
3264
- sla_resolution_minutes?: number | null;
3391
+ actions: {
3392
+ [key: string]: unknown;
3393
+ }[];
3265
3394
  /**
3266
- * Is Public
3267
- * @description Whether category is visible to customers
3395
+ * Applies To All Categories
3396
+ * @description Apply to all categories
3268
3397
  * @default true
3269
3398
  */
3270
- is_public: boolean;
3399
+ applies_to_all_categories: boolean;
3271
3400
  /**
3272
- * Display Order
3273
- * @description Display order for sorting categories
3274
- * @default 0
3401
+ * Category Ids
3402
+ * @description Specific category IDs (if not all)
3275
3403
  */
3276
- display_order: number;
3404
+ category_ids?: number[] | null;
3277
3405
  /**
3278
- * Icon
3279
- * @description Icon identifier (e.g., 'icon-support', 'fa-question')
3406
+ * Applies To All Priorities
3407
+ * @description Apply to all priorities
3408
+ * @default true
3280
3409
  */
3281
- icon?: string | null;
3410
+ applies_to_all_priorities: boolean;
3282
3411
  /**
3283
- * Color
3284
- * @description Color hex code (e.g., '#FF5733')
3412
+ * Priority Ids
3413
+ * @description Specific priority IDs (if not all)
3285
3414
  */
3286
- color?: string | null;
3415
+ priority_ids?: number[] | null;
3287
3416
  /**
3288
- * Settings
3289
- * @description Additional JSON settings
3417
+ * Is Active
3418
+ * @description Rule is active
3419
+ * @default true
3290
3420
  */
3291
- settings?: {
3292
- [key: string]: unknown;
3293
- } | null;
3294
- };
3295
- /**
3296
- * ApplyCannedResponseRequest
3297
- * @description Request model for applying a canned response
3298
- * @example {
3299
- * "context": {
3300
- * "agent": {
3301
- * "email": "jane@example.com",
3302
- * "name": "Jane Smith"
3303
- * },
3304
- * "ticket": {
3305
- * "customer_name": "John Doe",
3306
- * "ticket_number": "TKT-12345"
3307
- * }
3308
- * }
3309
- * }
3310
- */
3311
- ApplyCannedResponseRequest: {
3421
+ is_active: boolean;
3312
3422
  /**
3313
- * Context
3314
- * @description Context data for placeholder replacement (e.g., ticket data, agent data)
3423
+ * Status
3424
+ * @description Rule status (active, inactive, paused)
3425
+ * @default active
3315
3426
  */
3316
- context: {
3317
- [key: string]: unknown;
3318
- };
3427
+ status: string;
3319
3428
  };
3320
3429
  /**
3321
- * CreateMacroRequest
3322
- * @description Request model for creating a new macro
3430
+ * UpdateEmailConfigRequest
3431
+ * @description Request model for updating email configuration
3323
3432
  * @example {
3324
- * "actions": [
3325
- * {
3326
- * "action": "set_status",
3327
- * "value": "solved"
3328
- * },
3329
- * {
3330
- * "action": "add_internal_note",
3331
- * "note": "Ticket closed as solved"
3332
- * }
3333
- * ],
3334
- * "button_color": "#4CAF50",
3335
- * "description": "Mark ticket as solved and close it",
3336
- * "display_order": 1,
3337
- * "icon": "check-circle",
3338
- * "include_response": false,
3339
- * "is_public": true,
3340
- * "macro_name": "Close as Solved",
3341
- * "macro_slug": "close-solved",
3342
- * "status": "active"
3433
+ * "from_email": "noreply@company.com",
3434
+ * "from_name": "Company Support",
3435
+ * "inbound_email": "support@company.com",
3436
+ * "inbound_enabled": true,
3437
+ * "smtp_enabled": true,
3438
+ * "smtp_host": "smtp.gmail.com",
3439
+ * "smtp_port": 587,
3440
+ * "smtp_use_tls": true
3343
3441
  * }
3344
3442
  */
3345
- CreateMacroRequest: {
3443
+ UpdateEmailConfigRequest: {
3346
3444
  /**
3347
- * Macro Name
3348
- * @description Macro name
3445
+ * Inbound Enabled
3446
+ * @description Enable email-to-ticket
3349
3447
  */
3350
- macro_name: string;
3448
+ inbound_enabled?: boolean | null;
3351
3449
  /**
3352
- * Macro Slug
3353
- * @description URL-friendly slug
3450
+ * Inbound Email
3451
+ * @description Support email address
3354
3452
  */
3355
- macro_slug: string;
3453
+ inbound_email?: string | null;
3356
3454
  /**
3357
- * Description
3358
- * @description Macro description
3455
+ * Auto Create Tickets
3456
+ * @description Auto-create tickets from unknown senders
3359
3457
  */
3360
- description?: string | null;
3458
+ auto_create_tickets?: boolean | null;
3361
3459
  /**
3362
- * Actions
3363
- * @description Actions to perform
3460
+ * Require Verified Emails
3461
+ * @description Require email verification
3364
3462
  */
3365
- actions: {
3366
- [key: string]: unknown;
3367
- }[];
3463
+ require_verified_emails?: boolean | null;
3368
3464
  /**
3369
- * Include Response
3370
- * @description Include a canned response
3371
- * @default false
3465
+ * Strip Signatures
3466
+ * @description Remove signatures from body
3372
3467
  */
3373
- include_response: boolean;
3468
+ strip_signatures?: boolean | null;
3374
3469
  /**
3375
- * Canned Response Id
3376
- * @description Canned response to include
3470
+ * Strip Quotes
3471
+ * @description Remove quoted text from replies
3377
3472
  */
3378
- canned_response_id?: number | null;
3473
+ strip_quotes?: boolean | null;
3379
3474
  /**
3380
- * Is Public
3381
- * @description Available to all agents
3382
- * @default true
3475
+ * Outbound Enabled
3476
+ * @description Enable email notifications
3383
3477
  */
3384
- is_public: boolean;
3478
+ outbound_enabled?: boolean | null;
3385
3479
  /**
3386
- * Team Ids
3387
- * @description Specific teams (if not public)
3480
+ * From Email
3481
+ * @description Default from email
3388
3482
  */
3389
- team_ids?: number[] | null;
3483
+ from_email?: string | null;
3390
3484
  /**
3391
- * User Ids
3392
- * @description Specific users (if not public)
3485
+ * From Name
3486
+ * @description Default from name
3393
3487
  */
3394
- user_ids?: number[] | null;
3488
+ from_name?: string | null;
3395
3489
  /**
3396
- * Display Order
3397
- * @description Display order
3398
- * @default 0
3490
+ * Reply To
3491
+ * @description Default reply-to email
3399
3492
  */
3400
- display_order: number;
3493
+ reply_to?: string | null;
3401
3494
  /**
3402
- * Button Color
3403
- * @description Button color (hex)
3495
+ * Smtp Enabled
3496
+ * @description Use SMTP provider
3404
3497
  */
3405
- button_color?: string | null;
3498
+ smtp_enabled?: boolean | null;
3406
3499
  /**
3407
- * Icon
3408
- * @description Icon identifier
3500
+ * Smtp Host
3501
+ * @description SMTP host
3409
3502
  */
3410
- icon?: string | null;
3503
+ smtp_host?: string | null;
3411
3504
  /**
3412
- * Status
3413
- * @description Macro status (active, inactive)
3414
- * @default active
3505
+ * Smtp Port
3506
+ * @description SMTP port
3415
3507
  */
3416
- status: string;
3508
+ smtp_port?: number | null;
3509
+ /**
3510
+ * Smtp Username
3511
+ * @description SMTP username
3512
+ */
3513
+ smtp_username?: string | null;
3514
+ /**
3515
+ * Smtp Password
3516
+ * @description SMTP password (will be encrypted)
3517
+ */
3518
+ smtp_password?: string | null;
3519
+ /**
3520
+ * Smtp Use Tls
3521
+ * @description Use TLS/SSL
3522
+ */
3523
+ smtp_use_tls?: boolean | null;
3524
+ /**
3525
+ * Ses Enabled
3526
+ * @description Use AWS SES
3527
+ */
3528
+ ses_enabled?: boolean | null;
3529
+ /**
3530
+ * Ses Region
3531
+ * @description AWS region
3532
+ */
3533
+ ses_region?: string | null;
3534
+ /**
3535
+ * Ses Access Key
3536
+ * @description AWS access key (will be encrypted)
3537
+ */
3538
+ ses_access_key?: string | null;
3539
+ /**
3540
+ * Ses Secret Key
3541
+ * @description AWS secret key (will be encrypted)
3542
+ */
3543
+ ses_secret_key?: string | null;
3544
+ /**
3545
+ * Enable Threading
3546
+ * @description Enable email threading
3547
+ */
3548
+ enable_threading?: boolean | null;
3549
+ /**
3550
+ * Include Ticket Id In Subject
3551
+ * @description Add [#TKT-123] to subject
3552
+ */
3553
+ include_ticket_id_in_subject?: boolean | null;
3554
+ /**
3555
+ * Spam Threshold
3556
+ * @description Spam score threshold
3557
+ */
3558
+ spam_threshold?: number | null;
3559
+ /**
3560
+ * Block Spam
3561
+ * @description Block emails marked as spam
3562
+ */
3563
+ block_spam?: boolean | null;
3564
+ /**
3565
+ * Notify Customer On Create
3566
+ * @description Notify customer when ticket created
3567
+ */
3568
+ notify_customer_on_create?: boolean | null;
3569
+ /**
3570
+ * Notify Customer On Update
3571
+ * @description Notify customer on updates
3572
+ */
3573
+ notify_customer_on_update?: boolean | null;
3574
+ /**
3575
+ * Notify Agent On Assignment
3576
+ * @description Notify agent on assignment
3577
+ */
3578
+ notify_agent_on_assignment?: boolean | null;
3417
3579
  };
3418
3580
  /**
3419
- * UpdateCategoryRequest
3420
- * @description Request model for updating a support category
3581
+ * ExecuteMacroRequest
3582
+ * @description Request model for executing a macro
3421
3583
  * @example {
3422
- * "category_name": "Billing & Payment Issues",
3423
- * "description": "Updated description for billing category",
3584
+ * "ticket_data": {
3585
+ * "category_id": 5,
3586
+ * "id": 123,
3587
+ * "priority_id": 2,
3588
+ * "status": "open",
3589
+ * "ticket_number": "TKT-12345"
3590
+ * }
3591
+ * }
3592
+ */
3593
+ ExecuteMacroRequest: {
3594
+ /**
3595
+ * Ticket Data
3596
+ * @description Ticket context data
3597
+ */
3598
+ ticket_data: {
3599
+ [key: string]: unknown;
3600
+ };
3601
+ };
3602
+ /**
3603
+ * SubmitRatingRequest
3604
+ * @description Request model for submitting a satisfaction rating
3605
+ */
3606
+ SubmitRatingRequest: {
3607
+ /**
3608
+ * Survey Token
3609
+ * @description Survey token
3610
+ */
3611
+ survey_token: string;
3612
+ /**
3613
+ * Rating
3614
+ * @description Rating (1-5 stars)
3615
+ */
3616
+ rating: number;
3617
+ /**
3618
+ * Feedback Text
3619
+ * @description Optional feedback text
3620
+ */
3621
+ feedback_text?: string | null;
3622
+ /**
3623
+ * Feedback Category
3624
+ * @description Feedback category
3625
+ */
3626
+ feedback_category?: string | null;
3627
+ };
3628
+ /**
3629
+ * BulkCloseRequest
3630
+ * @description Request model for bulk closing tickets
3631
+ */
3632
+ BulkCloseRequest: {
3633
+ /**
3634
+ * Ticket Ids
3635
+ * @description List of ticket IDs
3636
+ */
3637
+ ticket_ids: number[];
3638
+ };
3639
+ /**
3640
+ * AddWatcherRequest
3641
+ * @description Request model for adding a watcher to a ticket
3642
+ */
3643
+ AddWatcherRequest: {
3644
+ /**
3645
+ * User Id
3646
+ * @description User ID to add as watcher
3647
+ */
3648
+ user_id: number;
3649
+ /**
3650
+ * User Name
3651
+ * @description User name
3652
+ */
3653
+ user_name: string;
3654
+ /**
3655
+ * User Email
3656
+ * @description User email
3657
+ */
3658
+ user_email: string;
3659
+ /**
3660
+ * Watch Type
3661
+ * @description Watch type
3662
+ * @default manual
3663
+ */
3664
+ watch_type: string;
3665
+ /**
3666
+ * Notify On Comment
3667
+ * @description Notify on comments
3668
+ * @default true
3669
+ */
3670
+ notify_on_comment: boolean;
3671
+ /**
3672
+ * Notify On Status Change
3673
+ * @description Notify on status change
3674
+ * @default true
3675
+ */
3676
+ notify_on_status_change: boolean;
3677
+ /**
3678
+ * Notify On Assignment
3679
+ * @description Notify on assignment
3680
+ * @default true
3681
+ */
3682
+ notify_on_assignment: boolean;
3683
+ /**
3684
+ * Notify On Resolution
3685
+ * @description Notify on resolution
3686
+ * @default true
3687
+ */
3688
+ notify_on_resolution: boolean;
3689
+ };
3690
+ /**
3691
+ * CreateCategoryRequest
3692
+ * @description Request model for creating a new support category
3693
+ * @example {
3694
+ * "category_name": "Billing & Payments",
3695
+ * "category_slug": "billing-payments",
3696
+ * "color": "#4CAF50",
3697
+ * "default_priority": "medium",
3698
+ * "default_team_id": 123,
3699
+ * "description": "Issues related to billing, invoices, and payments",
3700
+ * "display_order": 1,
3701
+ * "icon": "icon-billing",
3424
3702
  * "is_public": true,
3425
- * "sla_first_response_minutes": 30,
3426
- * "status": "active"
3703
+ * "settings": {
3704
+ * "require_account_verification": true
3705
+ * },
3706
+ * "sla_first_response_minutes": 60,
3707
+ * "sla_resolution_minutes": 480
3427
3708
  * }
3428
3709
  */
3429
- UpdateCategoryRequest: {
3710
+ CreateCategoryRequest: {
3430
3711
  /**
3431
3712
  * Category Name
3432
3713
  * @description Category name
3433
3714
  */
3434
- category_name?: string | null;
3715
+ category_name: string;
3435
3716
  /**
3436
3717
  * Description
3437
3718
  * @description Category description
@@ -3439,22 +3720,22 @@ export interface components {
3439
3720
  description?: string | null;
3440
3721
  /**
3441
3722
  * Category Slug
3442
- * @description URL-friendly slug
3723
+ * @description URL-friendly slug (lowercase, hyphens only)
3443
3724
  */
3444
- category_slug?: string | null;
3725
+ category_slug: string;
3445
3726
  /**
3446
3727
  * Parent Category Id
3447
- * @description Parent category ID
3728
+ * @description Parent category ID for hierarchical categories
3448
3729
  */
3449
3730
  parent_category_id?: number | null;
3450
3731
  /**
3451
3732
  * Default Team Id
3452
- * @description Default team ID for auto-routing
3733
+ * @description Default team ID for auto-routing tickets
3453
3734
  */
3454
3735
  default_team_id?: number | null;
3455
3736
  /**
3456
3737
  * Default Priority
3457
- * @description Default priority slug
3738
+ * @description Default priority slug for tickets in this category
3458
3739
  */
3459
3740
  default_priority?: string | null;
3460
3741
  /**
@@ -3470,28 +3751,25 @@ export interface components {
3470
3751
  /**
3471
3752
  * Is Public
3472
3753
  * @description Whether category is visible to customers
3754
+ * @default true
3473
3755
  */
3474
- is_public?: boolean | null;
3756
+ is_public: boolean;
3475
3757
  /**
3476
3758
  * Display Order
3477
- * @description Display order for sorting
3759
+ * @description Display order for sorting categories
3760
+ * @default 0
3478
3761
  */
3479
- display_order?: number | null;
3762
+ display_order: number;
3480
3763
  /**
3481
3764
  * Icon
3482
- * @description Icon identifier
3765
+ * @description Icon identifier (e.g., 'icon-support', 'fa-question')
3483
3766
  */
3484
3767
  icon?: string | null;
3485
3768
  /**
3486
3769
  * Color
3487
- * @description Color hex code
3770
+ * @description Color hex code (e.g., '#FF5733')
3488
3771
  */
3489
3772
  color?: string | null;
3490
- /**
3491
- * Status
3492
- * @description Category status: active, inactive, archived
3493
- */
3494
- status?: string | null;
3495
3773
  /**
3496
3774
  * Settings
3497
3775
  * @description Additional JSON settings
@@ -3501,26 +3779,184 @@ export interface components {
3501
3779
  } | null;
3502
3780
  };
3503
3781
  /**
3504
- * UpdateSavedFilterRequest
3505
- * @description Request model for updating a saved filter
3782
+ * UpdateTicketStatusRequest
3783
+ * @description Request model for updating ticket status
3506
3784
  */
3507
- UpdateSavedFilterRequest: {
3508
- /** Filter Name */
3509
- filter_name?: string | null;
3510
- /** Filter Slug */
3511
- filter_slug?: string | null;
3785
+ UpdateTicketStatusRequest: {
3786
+ /**
3787
+ * Status
3788
+ * @description New status: new, open, pending, waiting_for_customer, on_hold, resolved, closed
3789
+ */
3790
+ status: string;
3791
+ /**
3792
+ * Reason
3793
+ * @description Reason for status change
3794
+ */
3795
+ reason?: string | null;
3796
+ };
3797
+ /**
3798
+ * SearchTicketsRequest
3799
+ * @description Request model for searching tickets
3800
+ * @example {
3801
+ * "filters": {
3802
+ * "category_id": [
3803
+ * 1,
3804
+ * 2
3805
+ * ],
3806
+ * "created_from": "2025-01-01",
3807
+ * "created_to": "2025-12-31",
3808
+ * "is_overdue": true,
3809
+ * "priority": [
3810
+ * "high",
3811
+ * "urgent"
3812
+ * ],
3813
+ * "status": [
3814
+ * "open",
3815
+ * "pending"
3816
+ * ]
3817
+ * },
3818
+ * "limit": 20,
3819
+ * "page": 1,
3820
+ * "query": "payment issue",
3821
+ * "sort_by": "created_at",
3822
+ * "sort_order": "desc"
3823
+ * }
3824
+ */
3825
+ SearchTicketsRequest: {
3826
+ /**
3827
+ * Query
3828
+ * @description Search query for full-text search
3829
+ */
3830
+ query?: string | null;
3831
+ /**
3832
+ * Filters
3833
+ * @description Advanced filters (status, priority, category, dates, etc.)
3834
+ */
3835
+ filters?: {
3836
+ [key: string]: unknown;
3837
+ } | null;
3838
+ /**
3839
+ * Sort By
3840
+ * @description Sort field (created_at, updated_at, priority, status)
3841
+ * @default created_at
3842
+ */
3843
+ sort_by: string;
3844
+ /**
3845
+ * Sort Order
3846
+ * @description Sort order (asc/desc)
3847
+ * @default desc
3848
+ */
3849
+ sort_order: string;
3850
+ /**
3851
+ * Page
3852
+ * @description Page number
3853
+ * @default 1
3854
+ */
3855
+ page: number;
3856
+ /**
3857
+ * Limit
3858
+ * @description Results per page
3859
+ * @default 20
3860
+ */
3861
+ limit: number;
3862
+ };
3863
+ /**
3864
+ * GetSLAComplianceRequest
3865
+ * @description Request model for SLA compliance report
3866
+ * @example {
3867
+ * "date_from": "2025-11-01",
3868
+ * "date_to": "2025-12-01",
3869
+ * "group_by": "agent"
3870
+ * }
3871
+ */
3872
+ GetSLAComplianceRequest: {
3873
+ /**
3874
+ * Date From
3875
+ * Format: date
3876
+ * @description Start date (required)
3877
+ */
3878
+ date_from: string;
3879
+ /**
3880
+ * Date To
3881
+ * Format: date
3882
+ * @description End date (required)
3883
+ */
3884
+ date_to: string;
3885
+ /**
3886
+ * @description Grouping dimension
3887
+ * @default daily
3888
+ */
3889
+ group_by: components["schemas"]["GroupByDimension"];
3890
+ };
3891
+ /**
3892
+ * RemoveTeamMemberRequest
3893
+ * @description Request model for removing a team member
3894
+ */
3895
+ RemoveTeamMemberRequest: {
3896
+ /**
3897
+ * Removal Reason
3898
+ * @description Reason for removal
3899
+ */
3900
+ removal_reason?: string | null;
3901
+ };
3902
+ /**
3903
+ * UpdateTeamRequest
3904
+ * @description Request model for updating a team
3905
+ */
3906
+ UpdateTeamRequest: {
3907
+ /** Team Name */
3908
+ team_name?: string | null;
3512
3909
  /** Description */
3513
3910
  description?: string | null;
3514
- /** Filter Config */
3515
- filter_config?: {
3911
+ /** Team Type */
3912
+ team_type?: string | null;
3913
+ /** Team Lead User Id */
3914
+ team_lead_user_id?: number | null;
3915
+ /** Team Lead Name */
3916
+ team_lead_name?: string | null;
3917
+ /** Team Lead Email */
3918
+ team_lead_email?: string | null;
3919
+ /** Auto Assign Enabled */
3920
+ auto_assign_enabled?: boolean | null;
3921
+ /** Assignment Strategy */
3922
+ assignment_strategy?: string | null;
3923
+ /** Max Tickets Per Agent */
3924
+ max_tickets_per_agent?: number | null;
3925
+ /** Business Hours */
3926
+ business_hours?: {
3516
3927
  [key: string]: unknown;
3517
3928
  } | null;
3518
- /** Is Public */
3519
- is_public?: boolean | null;
3929
+ /** Timezone */
3930
+ timezone?: string | null;
3931
+ /** Routing Rules */
3932
+ routing_rules?: {
3933
+ [key: string]: unknown;
3934
+ } | null;
3935
+ /** Sla First Response Minutes */
3936
+ sla_first_response_minutes?: number | null;
3937
+ /** Sla Resolution Minutes */
3938
+ sla_resolution_minutes?: number | null;
3939
+ /** Escalation Enabled */
3940
+ escalation_enabled?: boolean | null;
3941
+ /** Escalation After Minutes */
3942
+ escalation_after_minutes?: number | null;
3943
+ /** Escalation Team Id */
3944
+ escalation_team_id?: string | null;
3520
3945
  /** Is Default */
3521
3946
  is_default?: boolean | null;
3522
- /** Status */
3947
+ /**
3948
+ * Status
3949
+ * @description active, inactive, archived
3950
+ */
3523
3951
  status?: string | null;
3952
+ /** Settings */
3953
+ settings?: {
3954
+ [key: string]: unknown;
3955
+ } | null;
3956
+ /** Custom Fields */
3957
+ custom_fields?: {
3958
+ [key: string]: unknown;
3959
+ } | null;
3524
3960
  };
3525
3961
  /**
3526
3962
  * CreatePriorityRequest
@@ -3574,193 +4010,47 @@ export interface components {
3574
4010
  color?: string | null;
3575
4011
  };
3576
4012
  /**
3577
- * TemplateType
3578
- * @description Email template types
3579
- * @enum {string}
3580
- */
3581
- TemplateType: "ticket_created" | "ticket_updated" | "ticket_assigned" | "ticket_resolved" | "ticket_closed" | "comment_added" | "agent_assigned" | "sla_warning" | "customer_satisfaction";
3582
- /**
3583
- * BulkUpdateStatusRequest
3584
- * @description Request model for bulk updating ticket status
4013
+ * CreateReportExportRequest
4014
+ * @description Request model for creating a report export
4015
+ * @example {
4016
+ * "export_format": "excel",
4017
+ * "report_name": "Monthly Ticket Report - November 2025",
4018
+ * "report_params": {
4019
+ * "date_from": "2025-11-01",
4020
+ * "date_to": "2025-11-30",
4021
+ * "include_breakdowns": true,
4022
+ * "period_type": "daily"
4023
+ * },
4024
+ * "report_type": "ticket_metrics"
4025
+ * }
3585
4026
  */
3586
- BulkUpdateStatusRequest: {
4027
+ CreateReportExportRequest: {
4028
+ /** @description Type of report to export */
4029
+ report_type: components["schemas"]["ReportType"];
3587
4030
  /**
3588
- * Ticket Ids
3589
- * @description List of ticket IDs
4031
+ * Report Name
4032
+ * @description User-friendly report name
3590
4033
  */
3591
- ticket_ids: number[];
4034
+ report_name: string;
3592
4035
  /**
3593
- * New Status
3594
- * @description New status
4036
+ * Report Params
4037
+ * @description Report parameters (filters, date ranges, etc.)
3595
4038
  */
3596
- new_status: string;
4039
+ report_params: {
4040
+ [key: string]: unknown;
4041
+ };
4042
+ /** @description Export file format */
4043
+ export_format: components["schemas"]["ExportFormat"];
3597
4044
  };
3598
- /**
3599
- * PeriodType
3600
- * @description Period type for metrics snapshots
3601
- * @enum {string}
3602
- */
3603
- PeriodType: "daily" | "weekly" | "monthly";
3604
4045
  /**
3605
4046
  * ReportType
3606
4047
  * @description Report types for exports
3607
4048
  * @enum {string}
3608
4049
  */
3609
4050
  ReportType: "ticket_metrics" | "agent_performance" | "sla_compliance" | "custom";
3610
- ErrorResponse: {
3611
- /** @example about:blank */
3612
- type?: string;
3613
- /** @example GENERIC_ERROR */
3614
- code?: string;
3615
- /** @example Client Error */
3616
- title?: string;
3617
- /** @example 400 */
3618
- status?: number;
3619
- /** @example An error occurred */
3620
- detail?: string;
3621
- /** @example /v1/cart/items */
3622
- instance?: string;
3623
- extensions?: components["schemas"]["Extensions"];
3624
- };
3625
- Extensions: {
3626
- /** @example GENERIC_ERROR */
3627
- message_code?: string;
3628
- /** @example [] */
3629
- invalid_params?: components["schemas"]["InvalidParam"][];
3630
- extra_data?: Record<string, never> | null;
3631
- /** @example Detailed debug information */
3632
- debug?: string | null;
3633
- };
3634
4051
  /**
3635
- * GetAgentPerformanceRequest
3636
- * @description Request model for getting agent performance metrics
3637
- * @example {
3638
- * "agent_id": 123,
3639
- * "date_from": "2025-11-01",
3640
- * "date_to": "2025-12-01",
3641
- * "limit": 50,
3642
- * "page": 1,
3643
- * "period_type": "daily"
3644
- * }
3645
- */
3646
- GetAgentPerformanceRequest: {
3647
- /**
3648
- * Agent Id
3649
- * @description Specific agent ID
3650
- */
3651
- agent_id?: number | null;
3652
- /**
3653
- * Team Id
3654
- * @description Filter by team ID
3655
- */
3656
- team_id?: number | null;
3657
- /**
3658
- * @description Period type: daily, weekly, monthly
3659
- * @default daily
3660
- */
3661
- period_type: components["schemas"]["PeriodType"];
3662
- /**
3663
- * Date From
3664
- * @description Start date
3665
- */
3666
- date_from?: string | null;
3667
- /**
3668
- * Date To
3669
- * @description End date
3670
- */
3671
- date_to?: string | null;
3672
- /**
3673
- * Page
3674
- * @description Page number
3675
- * @default 1
3676
- */
3677
- page: number;
3678
- /**
3679
- * Limit
3680
- * @description Items per page
3681
- * @default 50
3682
- */
3683
- limit: number;
3684
- };
3685
- /**
3686
- * MarkFollowupRequest
3687
- * @description Request model for marking follow-up as completed
3688
- */
3689
- MarkFollowupRequest: {
3690
- /**
3691
- * Followup Notes
3692
- * @description Follow-up notes
3693
- */
3694
- followup_notes: string;
3695
- };
3696
- /**
3697
- * UpdateTicketRequest
3698
- * @description Request model for updating a ticket (customer-facing)
3699
- */
3700
- UpdateTicketRequest: {
3701
- /**
3702
- * Subject
3703
- * @description Ticket subject
3704
- */
3705
- subject?: string | null;
3706
- /**
3707
- * Description
3708
- * @description Ticket description
3709
- */
3710
- description?: string | null;
3711
- /**
3712
- * Priority
3713
- * @description Priority level
3714
- */
3715
- priority?: string | null;
3716
- /**
3717
- * Category
3718
- * @description Ticket category
3719
- */
3720
- category?: string | null;
3721
- /**
3722
- * Tags
3723
- * @description Tags
3724
- */
3725
- tags?: string[] | null;
3726
- };
3727
- /**
3728
- * UpdateMacroRequest
3729
- * @description Request model for updating a macro
3730
- */
3731
- UpdateMacroRequest: {
3732
- /** Macro Name */
3733
- macro_name?: string | null;
3734
- /** Macro Slug */
3735
- macro_slug?: string | null;
3736
- /** Description */
3737
- description?: string | null;
3738
- /** Actions */
3739
- actions?: {
3740
- [key: string]: unknown;
3741
- }[] | null;
3742
- /** Include Response */
3743
- include_response?: boolean | null;
3744
- /** Canned Response Id */
3745
- canned_response_id?: number | null;
3746
- /** Is Public */
3747
- is_public?: boolean | null;
3748
- /** Team Ids */
3749
- team_ids?: number[] | null;
3750
- /** User Ids */
3751
- user_ids?: number[] | null;
3752
- /** Display Order */
3753
- display_order?: number | null;
3754
- /** Button Color */
3755
- button_color?: string | null;
3756
- /** Icon */
3757
- icon?: string | null;
3758
- /** Status */
3759
- status?: string | null;
3760
- };
3761
- /**
3762
- * CreateSLAPolicyRequest
3763
- * @description Request model for creating a new SLA policy
4052
+ * CreateSLAPolicyRequest
4053
+ * @description Request model for creating a new SLA policy
3764
4054
  * @example {
3765
4055
  * "description": "Standard SLA for all tickets",
3766
4056
  * "escalation_enabled": true,
@@ -3837,73 +4127,11 @@ export interface components {
3837
4127
  } | null;
3838
4128
  };
3839
4129
  /**
3840
- * AddWatcherRequest
3841
- * @description Request model for adding a watcher to a ticket
3842
- */
3843
- AddWatcherRequest: {
3844
- /**
3845
- * User Id
3846
- * @description User ID to add as watcher
3847
- */
3848
- user_id: number;
3849
- /**
3850
- * User Name
3851
- * @description User name
3852
- */
3853
- user_name: string;
3854
- /**
3855
- * User Email
3856
- * @description User email
3857
- */
3858
- user_email: string;
3859
- /**
3860
- * Watch Type
3861
- * @description Watch type
3862
- * @default manual
3863
- */
3864
- watch_type: string;
3865
- /**
3866
- * Notify On Comment
3867
- * @description Notify on comments
3868
- * @default true
3869
- */
3870
- notify_on_comment: boolean;
3871
- /**
3872
- * Notify On Status Change
3873
- * @description Notify on status change
3874
- * @default true
3875
- */
3876
- notify_on_status_change: boolean;
3877
- /**
3878
- * Notify On Assignment
3879
- * @description Notify on assignment
3880
- * @default true
3881
- */
3882
- notify_on_assignment: boolean;
3883
- /**
3884
- * Notify On Resolution
3885
- * @description Notify on resolution
3886
- * @default true
3887
- */
3888
- notify_on_resolution: boolean;
3889
- };
3890
- /**
3891
- * CreateCommentRequest
3892
- * @description Request model for adding a comment
4130
+ * TemplateStatus
4131
+ * @description Template status values
4132
+ * @enum {string}
3893
4133
  */
3894
- app__models__support__ticket_models__CreateCommentRequest: {
3895
- /**
3896
- * Comment Body
3897
- * @description Comment text
3898
- */
3899
- comment_body: string;
3900
- /**
3901
- * Is Internal
3902
- * @description Internal note (agents only)
3903
- * @default false
3904
- */
3905
- is_internal: boolean | null;
3906
- };
4134
+ TemplateStatus: "active" | "draft" | "archived";
3907
4135
  /**
3908
4136
  * CreateTicketRequest
3909
4137
  * @description Request model for creating a new support ticket
@@ -3964,448 +4192,220 @@ export interface components {
3964
4192
  } | null;
3965
4193
  };
3966
4194
  /**
3967
- * UpdateTeamRequest
3968
- * @description Request model for updating a team
4195
+ * @example {
4196
+ * "status": "success",
4197
+ * "message": "Operation successful",
4198
+ * "message_code": "api_suc_20001",
4199
+ * "data": {},
4200
+ * "metadata": {
4201
+ * "timestamp": "2026-03-26T10:00:00.000Z",
4202
+ * "requestId": "07e22004-cb60-4dfc-bc9c-b6f99664dca1",
4203
+ * "traceId": "a9f1204c-bb82-41de-b234-7c3a9e120000",
4204
+ * "version": "v1",
4205
+ * "executionTime": 42,
4206
+ * "language": "en-US"
4207
+ * }
4208
+ * }
3969
4209
  */
3970
- UpdateTeamRequest: {
3971
- /** Team Name */
3972
- team_name?: string | null;
4210
+ StandardResponse: {
4211
+ /** @example success */
4212
+ status?: string;
4213
+ data?: Record<string, never> | null;
4214
+ /** @example Operation successful */
4215
+ message?: string | null;
4216
+ /** @example api_suc_20001 */
4217
+ message_code?: string | null;
4218
+ metadata?: Record<string, never> | null;
4219
+ error?: components["schemas"]["ErrorResponse"];
4220
+ };
4221
+ /**
4222
+ * BulkAssignRequest
4223
+ * @description Request model for bulk assigning tickets
4224
+ */
4225
+ BulkAssignRequest: {
4226
+ /**
4227
+ * Ticket Ids
4228
+ * @description List of ticket IDs
4229
+ */
4230
+ ticket_ids: number[];
4231
+ /**
4232
+ * Assigned To User Id
4233
+ * @description User to assign to
4234
+ */
4235
+ assigned_to_user_id: number;
4236
+ /**
4237
+ * Assigned To Name
4238
+ * @description User name
4239
+ */
4240
+ assigned_to_name: string;
4241
+ /**
4242
+ * Assigned Team Id
4243
+ * @description Team ID (optional)
4244
+ */
4245
+ assigned_team_id?: number | null;
4246
+ };
4247
+ /**
4248
+ * UpdateAgentTicketRequest
4249
+ * @description Request model for updating a ticket (agent-facing)
4250
+ */
4251
+ UpdateAgentTicketRequest: {
4252
+ /** Subject */
4253
+ subject?: string | null;
3973
4254
  /** Description */
3974
4255
  description?: string | null;
3975
- /** Team Type */
3976
- team_type?: string | null;
3977
- /** Team Lead User Id */
3978
- team_lead_user_id?: number | null;
3979
- /** Team Lead Name */
3980
- team_lead_name?: string | null;
3981
- /** Team Lead Email */
3982
- team_lead_email?: string | null;
3983
- /** Auto Assign Enabled */
3984
- auto_assign_enabled?: boolean | null;
3985
- /** Assignment Strategy */
3986
- assignment_strategy?: string | null;
3987
- /** Max Tickets Per Agent */
3988
- max_tickets_per_agent?: number | null;
3989
- /** Business Hours */
3990
- business_hours?: {
3991
- [key: string]: unknown;
3992
- } | null;
3993
- /** Timezone */
3994
- timezone?: string | null;
3995
- /** Routing Rules */
3996
- routing_rules?: {
3997
- [key: string]: unknown;
3998
- } | null;
3999
- /** Sla First Response Minutes */
4000
- sla_first_response_minutes?: number | null;
4001
- /** Sla Resolution Minutes */
4002
- sla_resolution_minutes?: number | null;
4003
- /** Escalation Enabled */
4004
- escalation_enabled?: boolean | null;
4005
- /** Escalation After Minutes */
4006
- escalation_after_minutes?: number | null;
4007
- /** Escalation Team Id */
4008
- escalation_team_id?: string | null;
4009
- /** Is Default */
4010
- is_default?: boolean | null;
4256
+ /**
4257
+ * Priority
4258
+ * @description low, medium, high, urgent, critical
4259
+ */
4260
+ priority?: string | null;
4261
+ /** Category */
4262
+ category?: string | null;
4263
+ /** Sub Category */
4264
+ sub_category?: string | null;
4011
4265
  /**
4012
4266
  * Status
4013
- * @description active, inactive, archived
4267
+ * @description new, open, pending, waiting_for_customer, on_hold, resolved, closed
4014
4268
  */
4015
4269
  status?: string | null;
4016
- /** Settings */
4017
- settings?: {
4018
- [key: string]: unknown;
4019
- } | null;
4270
+ /** Tags */
4271
+ tags?: string[] | null;
4020
4272
  /** Custom Fields */
4021
4273
  custom_fields?: {
4022
4274
  [key: string]: unknown;
4023
4275
  } | null;
4024
4276
  };
4025
4277
  /**
4026
- * TemplateStatus
4027
- * @description Template status values
4028
- * @enum {string}
4029
- */
4030
- TemplateStatus: "active" | "draft" | "archived";
4031
- /**
4032
- * CreateReportExportRequest
4033
- * @description Request model for creating a report export
4034
- * @example {
4035
- * "export_format": "excel",
4036
- * "report_name": "Monthly Ticket Report - November 2025",
4037
- * "report_params": {
4038
- * "date_from": "2025-11-01",
4039
- * "date_to": "2025-11-30",
4040
- * "include_breakdowns": true,
4041
- * "period_type": "daily"
4042
- * },
4043
- * "report_type": "ticket_metrics"
4044
- * }
4045
- */
4046
- CreateReportExportRequest: {
4047
- /** @description Type of report to export */
4048
- report_type: components["schemas"]["ReportType"];
4049
- /**
4050
- * Report Name
4051
- * @description User-friendly report name
4052
- */
4053
- report_name: string;
4054
- /**
4055
- * Report Params
4056
- * @description Report parameters (filters, date ranges, etc.)
4057
- */
4058
- report_params: {
4059
- [key: string]: unknown;
4060
- };
4061
- /** @description Export file format */
4062
- export_format: components["schemas"]["ExportFormat"];
4063
- };
4064
- /**
4065
- * CreateTagRequest
4066
- * @description Request model for creating a new support tag
4067
- * @example {
4068
- * "color": "#FF5733",
4069
- * "description": "Technical bug or issue",
4070
- * "tag_name": "Bug",
4071
- * "tag_slug": "bug"
4072
- * }
4073
- */
4074
- CreateTagRequest: {
4075
- /**
4076
- * Tag Name
4077
- * @description Tag name
4078
- */
4079
- tag_name: string;
4080
- /**
4081
- * Tag Slug
4082
- * @description URL-friendly slug (lowercase, hyphens only)
4083
- */
4084
- tag_slug: string;
4085
- /**
4086
- * Description
4087
- * @description Tag description
4088
- */
4089
- description?: string | null;
4090
- /**
4091
- * Color
4092
- * @description Color hex code (e.g., '#FF5733')
4093
- */
4094
- color?: string | null;
4095
- };
4096
- /**
4097
- * BulkAssignRequest
4098
- * @description Request model for bulk assigning tickets
4099
- */
4100
- BulkAssignRequest: {
4101
- /**
4102
- * Ticket Ids
4103
- * @description List of ticket IDs
4104
- */
4105
- ticket_ids: number[];
4106
- /**
4107
- * Assigned To User Id
4108
- * @description User to assign to
4109
- */
4110
- assigned_to_user_id: number;
4111
- /**
4112
- * Assigned To Name
4113
- * @description User name
4114
- */
4115
- assigned_to_name: string;
4116
- /**
4117
- * Assigned Team Id
4118
- * @description Team ID (optional)
4119
- */
4120
- assigned_team_id?: number | null;
4121
- };
4122
- /**
4123
- * SearchCommentsRequest
4124
- * @description Request model for searching comments
4125
- * @example {
4126
- * "include_internal": false,
4127
- * "limit": 20,
4128
- * "page": 1,
4129
- * "query": "refund",
4130
- * "ticket_id": "tkt_xxx123"
4131
- * }
4132
- */
4133
- SearchCommentsRequest: {
4134
- /**
4135
- * Query
4136
- * @description Search query
4137
- */
4138
- query: string;
4139
- /**
4140
- * Ticket Id
4141
- * @description Filter by specific ticket ID
4142
- */
4143
- ticket_id?: string | null;
4144
- /**
4145
- * Include Internal
4146
- * @description Include internal notes in search results
4147
- * @default false
4148
- */
4149
- include_internal: boolean;
4150
- /**
4151
- * Page
4152
- * @description Page number
4153
- * @default 1
4154
- */
4155
- page: number;
4156
- /**
4157
- * Limit
4158
- * @description Results per page
4159
- * @default 20
4160
- */
4161
- limit: number;
4162
- };
4163
- /**
4164
- * CreateCannedResponseRequest
4165
- * @description Request model for creating a new canned response
4166
- * @example {
4167
- * "category": "greeting",
4168
- * "content": "Hello {{ticket.customer_name}},\\n\\nThank you for contacting support. We received your request and will get back to you shortly.\\n\\nBest regards,\\n{{agent.name}}",
4169
- * "content_type": "plain",
4170
- * "is_public": true,
4171
- * "response_name": "Greeting",
4172
- * "response_slug": "greeting",
4173
- * "shortcut": "/greeting",
4174
- * "status": "active",
4175
- * "subject": "Thank you for contacting us",
4176
- * "tags": [
4177
- * "initial",
4178
- * "acknowledgment"
4179
- * ]
4180
- * }
4278
+ * UpdateCannedResponseRequest
4279
+ * @description Request model for updating a canned response
4181
4280
  */
4182
- CreateCannedResponseRequest: {
4183
- /**
4184
- * Response Name
4185
- * @description Response name/title
4186
- */
4187
- response_name: string;
4188
- /**
4189
- * Response Slug
4190
- * @description URL-friendly slug
4191
- */
4192
- response_slug: string;
4193
- /**
4194
- * Subject
4195
- * @description Email subject (if applicable)
4196
- */
4281
+ UpdateCannedResponseRequest: {
4282
+ /** Response Name */
4283
+ response_name?: string | null;
4284
+ /** Response Slug */
4285
+ response_slug?: string | null;
4286
+ /** Subject */
4197
4287
  subject?: string | null;
4198
- /**
4199
- * Content
4200
- * @description Response content (supports placeholders like {{ticket.customer_name}})
4201
- */
4202
- content: string;
4203
- /**
4204
- * Content Type
4205
- * @description Content type (plain, html, markdown)
4206
- * @default plain
4207
- */
4208
- content_type: string;
4209
- /**
4210
- * Category
4211
- * @description Response category (greeting, closing, solution, etc.)
4212
- */
4288
+ /** Content */
4289
+ content?: string | null;
4290
+ /** Content Type */
4291
+ content_type?: string | null;
4292
+ /** Category */
4213
4293
  category?: string | null;
4214
- /**
4215
- * Tags
4216
- * @description Tags for quick filtering
4217
- */
4294
+ /** Tags */
4218
4295
  tags?: string[] | null;
4219
- /**
4220
- * Is Public
4221
- * @description Available to all agents
4222
- * @default true
4223
- */
4224
- is_public: boolean;
4225
- /**
4226
- * Team Ids
4227
- * @description Specific teams (if not public)
4228
- */
4296
+ /** Is Public */
4297
+ is_public?: boolean | null;
4298
+ /** Team Ids */
4229
4299
  team_ids?: number[] | null;
4230
- /**
4231
- * User Ids
4232
- * @description Specific users (if not public)
4233
- */
4300
+ /** User Ids */
4234
4301
  user_ids?: number[] | null;
4235
- /**
4236
- * Shortcut
4237
- * @description Keyboard shortcut (e.g., /greeting)
4238
- */
4302
+ /** Shortcut */
4239
4303
  shortcut?: string | null;
4240
- /**
4241
- * Status
4242
- * @description Response status (active, inactive, archived)
4243
- * @default active
4244
- */
4245
- status: string;
4246
- };
4247
- /**
4248
- * BulkCloseRequest
4249
- * @description Request model for bulk closing tickets
4250
- */
4251
- BulkCloseRequest: {
4252
- /**
4253
- * Ticket Ids
4254
- * @description List of ticket IDs
4255
- */
4256
- ticket_ids: number[];
4304
+ /** Status */
4305
+ status?: string | null;
4257
4306
  };
4258
4307
  /**
4259
- * UpdateEmailTemplateRequest
4260
- * @description Request model for updating email template
4308
+ * GetDashboardMetricsRequest
4309
+ * @description Request model for getting dashboard metrics
4261
4310
  * @example {
4262
- * "status": "active",
4263
- * "subject_template": "New Support Ticket #{{ticket_number}}",
4264
- * "template_name": "Updated Ticket Created Template"
4311
+ * "date_from": "2025-11-01",
4312
+ * "date_to": "2025-12-01",
4313
+ * "period_type": "daily"
4265
4314
  * }
4266
4315
  */
4267
- UpdateEmailTemplateRequest: {
4268
- /** Template Name */
4269
- template_name?: string | null;
4270
- /** Description */
4271
- description?: string | null;
4272
- /** Subject Template */
4273
- subject_template?: string | null;
4274
- /** Body Html */
4275
- body_html?: string | null;
4276
- /** Body Text */
4277
- body_text?: string | null;
4278
- /** Available Variables */
4279
- available_variables?: string[] | null;
4280
- /** From Email */
4281
- from_email?: string | null;
4282
- /** From Name */
4283
- from_name?: string | null;
4284
- /** Reply To */
4285
- reply_to?: string | null;
4286
- /** Is Default */
4287
- is_default?: boolean | null;
4288
- status?: components["schemas"]["TemplateStatus"] | null;
4316
+ GetDashboardMetricsRequest: {
4317
+ /**
4318
+ * @description Period type: daily, weekly, monthly
4319
+ * @default daily
4320
+ */
4321
+ period_type: components["schemas"]["PeriodType"];
4322
+ /**
4323
+ * Date From
4324
+ * @description Start date (defaults to 30 days ago)
4325
+ */
4326
+ date_from?: string | null;
4327
+ /**
4328
+ * Date To
4329
+ * @description End date (defaults to today)
4330
+ */
4331
+ date_to?: string | null;
4289
4332
  };
4290
4333
  /**
4291
- * CreateAutomationRuleRequest
4292
- * @description Request model for creating a new automation rule
4334
+ * CreateBusinessHoursRequest
4335
+ * @description Request model for creating business hours schedule
4293
4336
  * @example {
4294
- * "actions": [
4295
- * {
4296
- * "action": "assign_to_team",
4297
- * "team_id": 456
4337
+ * "is_default": true,
4338
+ * "observes_holidays": true,
4339
+ * "schedule_name": "Standard Business Hours",
4340
+ * "schedule_slug": "standard-hours",
4341
+ * "timezone": "America/New_York",
4342
+ * "working_hours": {
4343
+ * "friday": {
4344
+ * "enabled": true,
4345
+ * "end": "17:00",
4346
+ * "start": "09:00"
4298
4347
  * },
4299
- * {
4300
- * "action": "set_priority",
4301
- * "priority_id": 2
4348
+ * "monday": {
4349
+ * "enabled": true,
4350
+ * "end": "17:00",
4351
+ * "start": "09:00"
4352
+ * },
4353
+ * "saturday": {
4354
+ * "enabled": false
4355
+ * },
4356
+ * "sunday": {
4357
+ * "enabled": false
4358
+ * },
4359
+ * "thursday": {
4360
+ * "enabled": true,
4361
+ * "end": "17:00",
4362
+ * "start": "09:00"
4363
+ * },
4364
+ * "tuesday": {
4365
+ * "enabled": true,
4366
+ * "end": "17:00",
4367
+ * "start": "09:00"
4368
+ * },
4369
+ * "wednesday": {
4370
+ * "enabled": true,
4371
+ * "end": "17:00",
4372
+ * "start": "09:00"
4302
4373
  * }
4303
- * ],
4304
- * "applies_to_all_categories": false,
4305
- * "applies_to_all_priorities": true,
4306
- * "category_ids": [
4307
- * 123
4308
- * ],
4309
- * "conditions": {
4310
- * "all": [
4311
- * {
4312
- * "field": "category_id",
4313
- * "operator": "equals",
4314
- * "value": 123
4315
- * }
4316
- * ]
4317
- * },
4318
- * "description": "Automatically assign new tickets to the support team",
4319
- * "execution_order": 1,
4320
- * "is_active": true,
4321
- * "rule_name": "Auto-assign New Tickets",
4322
- * "rule_slug": "auto-assign-new",
4323
- * "status": "active",
4324
- * "stop_processing": false,
4325
- * "trigger_event": "ticket_created"
4374
+ * }
4326
4375
  * }
4327
4376
  */
4328
- CreateAutomationRuleRequest: {
4329
- /**
4330
- * Rule Name
4331
- * @description Rule name
4332
- */
4333
- rule_name: string;
4334
- /**
4335
- * Rule Slug
4336
- * @description URL-friendly slug (lowercase, hyphens only)
4337
- */
4338
- rule_slug: string;
4339
- /**
4340
- * Description
4341
- * @description Rule description
4342
- */
4377
+ CreateBusinessHoursRequest: {
4378
+ /** Schedule Name */
4379
+ schedule_name: string;
4380
+ /** Schedule Slug */
4381
+ schedule_slug: string;
4382
+ /** Description */
4343
4383
  description?: string | null;
4344
4384
  /**
4345
- * Trigger Event
4346
- * @description Event that triggers the rule (ticket_created, status_changed, etc.)
4347
- */
4348
- trigger_event: string;
4349
- /**
4350
- * Execution Order
4351
- * @description Order of execution (lower runs first)
4352
- * @default 0
4353
- */
4354
- execution_order: number;
4355
- /**
4356
- * Stop Processing
4357
- * @description Stop processing other rules if this matches
4358
- * @default false
4359
- */
4360
- stop_processing: boolean;
4361
- /**
4362
- * Conditions
4363
- * @description Matching conditions (AND/OR logic)
4385
+ * Timezone
4386
+ * @description Timezone (e.g., 'America/New_York')
4387
+ * @default UTC
4364
4388
  */
4365
- conditions?: {
4366
- [key: string]: unknown;
4367
- } | null;
4389
+ timezone: string;
4368
4390
  /**
4369
- * Actions
4370
- * @description Actions to perform when conditions match
4391
+ * Working Hours
4392
+ * @description Working hours per day of week
4371
4393
  */
4372
- actions: {
4394
+ working_hours: {
4373
4395
  [key: string]: unknown;
4374
- }[];
4375
- /**
4376
- * Applies To All Categories
4377
- * @description Apply to all categories
4378
- * @default true
4379
- */
4380
- applies_to_all_categories: boolean;
4381
- /**
4382
- * Category Ids
4383
- * @description Specific category IDs (if not all)
4384
- */
4385
- category_ids?: number[] | null;
4386
- /**
4387
- * Applies To All Priorities
4388
- * @description Apply to all priorities
4389
- * @default true
4390
- */
4391
- applies_to_all_priorities: boolean;
4392
- /**
4393
- * Priority Ids
4394
- * @description Specific priority IDs (if not all)
4395
- */
4396
- priority_ids?: number[] | null;
4396
+ };
4397
4397
  /**
4398
- * Is Active
4399
- * @description Rule is active
4398
+ * Observes Holidays
4399
+ * @description Whether to observe holiday calendar
4400
4400
  * @default true
4401
4401
  */
4402
- is_active: boolean;
4402
+ observes_holidays: boolean;
4403
4403
  /**
4404
- * Status
4405
- * @description Rule status (active, inactive, paused)
4406
- * @default active
4404
+ * Is Default
4405
+ * @description Default business hours for organization
4406
+ * @default false
4407
4407
  */
4408
- status: string;
4408
+ is_default: boolean;
4409
4409
  };
4410
4410
  };
4411
4411
  responses: never;
@@ -10166,7 +10166,7 @@ export interface operations {
10166
10166
  };
10167
10167
  requestBody: {
10168
10168
  content: {
10169
- "application/json": components["schemas"]["app__models__support__category_models__CreateCategoryRequest"];
10169
+ "application/json": components["schemas"]["CreateCategoryRequest"];
10170
10170
  };
10171
10171
  };
10172
10172
  responses: {
@@ -10776,7 +10776,7 @@ export interface operations {
10776
10776
  };
10777
10777
  requestBody: {
10778
10778
  content: {
10779
- "application/json": components["schemas"]["UpdateCategoryRequest"];
10779
+ "application/json": components["schemas"]["app__models__support__category_models__UpdateCategoryRequest"];
10780
10780
  };
10781
10781
  };
10782
10782
  responses: {
@@ -11185,7 +11185,7 @@ export interface operations {
11185
11185
  };
11186
11186
  requestBody: {
11187
11187
  content: {
11188
- "application/json": components["schemas"]["CreateTagRequest"];
11188
+ "application/json": components["schemas"]["app__models__support__category_models__CreateTagRequest"];
11189
11189
  };
11190
11190
  };
11191
11191
  responses: {
@@ -12606,7 +12606,7 @@ export interface operations {
12606
12606
  };
12607
12607
  requestBody: {
12608
12608
  content: {
12609
- "application/json": components["schemas"]["CreateHolidayRequest"];
12609
+ "application/json": components["schemas"]["app__models__support__sla_models__CreateHolidayRequest"];
12610
12610
  };
12611
12611
  };
12612
12612
  responses: {