@novu/api 3.18.2 → 3.19.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (467) hide show
  1. package/FUNCTIONS.md +1 -0
  2. package/README.md +8 -0
  3. package/examples/trigger.example.ts +1 -0
  4. package/funcs/agentsDelete.d.ts +1 -1
  5. package/funcs/agentsDelete.js +1 -1
  6. package/funcs/channelConnectionsList.js +1 -0
  7. package/funcs/channelConnectionsList.js.map +1 -1
  8. package/funcs/topicsUpdate.d.ts +1 -1
  9. package/funcs/topicsUpdate.js +1 -1
  10. package/jsr.json +1 -1
  11. package/lib/config.d.ts +4 -4
  12. package/lib/config.js +4 -4
  13. package/lib/encodings.d.ts +10 -9
  14. package/lib/encodings.d.ts.map +1 -1
  15. package/lib/encodings.js +29 -13
  16. package/lib/encodings.js.map +1 -1
  17. package/models/components/activitynotificationjobresponsedto.d.ts +1 -0
  18. package/models/components/activitynotificationjobresponsedto.d.ts.map +1 -1
  19. package/models/components/activitynotificationjobresponsedto.js +1 -0
  20. package/models/components/activitynotificationjobresponsedto.js.map +1 -1
  21. package/models/components/agentbehaviordto.d.ts +3 -3
  22. package/models/components/agentbehaviordto.js +1 -1
  23. package/models/components/agentreplypayloaddto.d.ts +6 -5
  24. package/models/components/agentreplypayloaddto.d.ts.map +1 -1
  25. package/models/components/agentreplypayloaddto.js +3 -0
  26. package/models/components/agentreplypayloaddto.js.map +1 -1
  27. package/models/components/agentresponsedto.d.ts +1 -1
  28. package/models/components/agentresponsedto.d.ts.map +1 -1
  29. package/models/components/agentresponsedto.js +1 -1
  30. package/models/components/agentresponsedto.js.map +1 -1
  31. package/models/components/channeltypeenum.d.ts +1 -0
  32. package/models/components/channeltypeenum.d.ts.map +1 -1
  33. package/models/components/channeltypeenum.js +1 -0
  34. package/models/components/channeltypeenum.js.map +1 -1
  35. package/models/components/chatcontroldto.d.ts +21 -0
  36. package/models/components/chatcontroldto.d.ts.map +1 -1
  37. package/models/components/chatcontroldto.js +14 -1
  38. package/models/components/chatcontroldto.js.map +1 -1
  39. package/models/components/chatorpushproviderenum.d.ts +1 -0
  40. package/models/components/chatorpushproviderenum.d.ts.map +1 -1
  41. package/models/components/chatorpushproviderenum.js +1 -0
  42. package/models/components/chatorpushproviderenum.js.map +1 -1
  43. package/models/components/chatrenderoutput.d.ts +8 -2
  44. package/models/components/chatrenderoutput.d.ts.map +1 -1
  45. package/models/components/chatrenderoutput.js +2 -1
  46. package/models/components/chatrenderoutput.js.map +1 -1
  47. package/models/components/chatstepresponsedto.d.ts +26 -0
  48. package/models/components/chatstepresponsedto.d.ts.map +1 -1
  49. package/models/components/chatstepresponsedto.js +12 -1
  50. package/models/components/chatstepresponsedto.js.map +1 -1
  51. package/models/components/chatstepupsertdto.d.ts +13 -0
  52. package/models/components/chatstepupsertdto.d.ts.map +1 -1
  53. package/models/components/chatstepupsertdto.js +1 -0
  54. package/models/components/chatstepupsertdto.js.map +1 -1
  55. package/models/components/configurationsdto.d.ts +4 -0
  56. package/models/components/configurationsdto.d.ts.map +1 -1
  57. package/models/components/configurationsdto.js +1 -0
  58. package/models/components/configurationsdto.js.map +1 -1
  59. package/models/components/contentissueenum.d.ts +3 -0
  60. package/models/components/contentissueenum.d.ts.map +1 -1
  61. package/models/components/contentissueenum.js +3 -0
  62. package/models/components/contentissueenum.js.map +1 -1
  63. package/models/components/createcontextrequestdto.d.ts +5 -0
  64. package/models/components/createcontextrequestdto.d.ts.map +1 -1
  65. package/models/components/createcontextrequestdto.js +1 -0
  66. package/models/components/createcontextrequestdto.js.map +1 -1
  67. package/models/components/creategrafanaoncallintegrationendpointdto.d.ts +80 -0
  68. package/models/components/creategrafanaoncallintegrationendpointdto.d.ts.map +1 -0
  69. package/models/components/creategrafanaoncallintegrationendpointdto.js +78 -0
  70. package/models/components/creategrafanaoncallintegrationendpointdto.js.map +1 -0
  71. package/models/components/createintegrationrequestdto.d.ts +1 -0
  72. package/models/components/createintegrationrequestdto.d.ts.map +1 -1
  73. package/models/components/createintegrationrequestdto.js +1 -0
  74. package/models/components/createintegrationrequestdto.js.map +1 -1
  75. package/models/components/createlineuserendpointdto.d.ts +5 -0
  76. package/models/components/createlineuserendpointdto.d.ts.map +1 -1
  77. package/models/components/createlineuserendpointdto.js +1 -0
  78. package/models/components/createlineuserendpointdto.js.map +1 -1
  79. package/models/components/createmsteamschannelendpointdto.d.ts +5 -0
  80. package/models/components/createmsteamschannelendpointdto.d.ts.map +1 -1
  81. package/models/components/createmsteamschannelendpointdto.js +1 -0
  82. package/models/components/createmsteamschannelendpointdto.js.map +1 -1
  83. package/models/components/createmsteamsuserendpointdto.d.ts +5 -0
  84. package/models/components/createmsteamsuserendpointdto.d.ts.map +1 -1
  85. package/models/components/createmsteamsuserendpointdto.js +1 -0
  86. package/models/components/createmsteamsuserendpointdto.js.map +1 -1
  87. package/models/components/createopsgenieintegrationendpointdto.d.ts +80 -0
  88. package/models/components/createopsgenieintegrationendpointdto.d.ts.map +1 -0
  89. package/models/components/createopsgenieintegrationendpointdto.js +78 -0
  90. package/models/components/createopsgenieintegrationendpointdto.js.map +1 -0
  91. package/models/components/createpagerdutyserviceendpointdto.d.ts +80 -0
  92. package/models/components/createpagerdutyserviceendpointdto.d.ts.map +1 -0
  93. package/models/components/createpagerdutyserviceendpointdto.js +78 -0
  94. package/models/components/createpagerdutyserviceendpointdto.js.map +1 -0
  95. package/models/components/createphoneendpointdto.d.ts +5 -0
  96. package/models/components/createphoneendpointdto.d.ts.map +1 -1
  97. package/models/components/createphoneendpointdto.js +1 -0
  98. package/models/components/createphoneendpointdto.js.map +1 -1
  99. package/models/components/createslackchannelendpointdto.d.ts +5 -0
  100. package/models/components/createslackchannelendpointdto.d.ts.map +1 -1
  101. package/models/components/createslackchannelendpointdto.js +1 -0
  102. package/models/components/createslackchannelendpointdto.js.map +1 -1
  103. package/models/components/createslackuserendpointdto.d.ts +5 -0
  104. package/models/components/createslackuserendpointdto.d.ts.map +1 -1
  105. package/models/components/createslackuserendpointdto.js +1 -0
  106. package/models/components/createslackuserendpointdto.js.map +1 -1
  107. package/models/components/createtelegramchatendpointdto.d.ts +5 -0
  108. package/models/components/createtelegramchatendpointdto.d.ts.map +1 -1
  109. package/models/components/createtelegramchatendpointdto.js +1 -0
  110. package/models/components/createtelegramchatendpointdto.js.map +1 -1
  111. package/models/components/createtoolwebhookendpointdto.d.ts +80 -0
  112. package/models/components/createtoolwebhookendpointdto.d.ts.map +1 -0
  113. package/models/components/createtoolwebhookendpointdto.js +78 -0
  114. package/models/components/createtoolwebhookendpointdto.js.map +1 -0
  115. package/models/components/createupdatetopicrequestdto.d.ts +9 -0
  116. package/models/components/createupdatetopicrequestdto.d.ts.map +1 -1
  117. package/models/components/createupdatetopicrequestdto.js +1 -0
  118. package/models/components/createupdatetopicrequestdto.js.map +1 -1
  119. package/models/components/createwebexpersonendpointdto.d.ts +5 -0
  120. package/models/components/createwebexpersonendpointdto.d.ts.map +1 -1
  121. package/models/components/createwebexpersonendpointdto.js +1 -0
  122. package/models/components/createwebexpersonendpointdto.js.map +1 -1
  123. package/models/components/createwebexroomendpointdto.d.ts +5 -0
  124. package/models/components/createwebexroomendpointdto.d.ts.map +1 -1
  125. package/models/components/createwebexroomendpointdto.js +1 -0
  126. package/models/components/createwebexroomendpointdto.js.map +1 -1
  127. package/models/components/createwebhookendpointdto.d.ts +5 -0
  128. package/models/components/createwebhookendpointdto.d.ts.map +1 -1
  129. package/models/components/createwebhookendpointdto.js +1 -0
  130. package/models/components/createwebhookendpointdto.js.map +1 -1
  131. package/models/components/createworkflowdto.d.ts +45 -4
  132. package/models/components/createworkflowdto.d.ts.map +1 -1
  133. package/models/components/createworkflowdto.js +22 -1
  134. package/models/components/createworkflowdto.js.map +1 -1
  135. package/models/components/credentialsdto.d.ts +24 -0
  136. package/models/components/credentialsdto.d.ts.map +1 -1
  137. package/models/components/credentialsdto.js +17 -1
  138. package/models/components/credentialsdto.js.map +1 -1
  139. package/models/components/customstepresponsedto.d.ts +8 -0
  140. package/models/components/customstepresponsedto.d.ts.map +1 -1
  141. package/models/components/customstepresponsedto.js +1 -0
  142. package/models/components/customstepresponsedto.js.map +1 -1
  143. package/models/components/delaystepresponsedto.d.ts +8 -0
  144. package/models/components/delaystepresponsedto.d.ts.map +1 -1
  145. package/models/components/delaystepresponsedto.js +1 -0
  146. package/models/components/delaystepresponsedto.js.map +1 -1
  147. package/models/components/dependencyreasonenum.d.ts +2 -0
  148. package/models/components/dependencyreasonenum.d.ts.map +1 -1
  149. package/models/components/dependencyreasonenum.js +2 -0
  150. package/models/components/dependencyreasonenum.js.map +1 -1
  151. package/models/components/digeststepresponsedto.d.ts +8 -0
  152. package/models/components/digeststepresponsedto.d.ts.map +1 -1
  153. package/models/components/digeststepresponsedto.js +1 -0
  154. package/models/components/digeststepresponsedto.js.map +1 -1
  155. package/models/components/emailcontroldto.d.ts +21 -0
  156. package/models/components/emailcontroldto.d.ts.map +1 -1
  157. package/models/components/emailcontroldto.js +9 -0
  158. package/models/components/emailcontroldto.js.map +1 -1
  159. package/models/components/emailfromcontroldto.d.ts +25 -0
  160. package/models/components/emailfromcontroldto.d.ts.map +1 -0
  161. package/models/components/emailfromcontroldto.js +60 -0
  162. package/models/components/emailfromcontroldto.js.map +1 -0
  163. package/models/components/emailstepresponsedto.d.ts +25 -0
  164. package/models/components/emailstepresponsedto.d.ts.map +1 -1
  165. package/models/components/emailstepresponsedto.js +6 -0
  166. package/models/components/emailstepresponsedto.js.map +1 -1
  167. package/models/components/generateconnectoauthurlrequestdto.d.ts +5 -0
  168. package/models/components/generateconnectoauthurlrequestdto.d.ts.map +1 -1
  169. package/models/components/generateconnectoauthurlrequestdto.js +1 -0
  170. package/models/components/generateconnectoauthurlrequestdto.js.map +1 -1
  171. package/models/components/generatelinkuseroauthurlrequestdto.d.ts +5 -0
  172. package/models/components/generatelinkuseroauthurlrequestdto.d.ts.map +1 -1
  173. package/models/components/generatelinkuseroauthurlrequestdto.js +1 -0
  174. package/models/components/generatelinkuseroauthurlrequestdto.js.map +1 -1
  175. package/models/components/generatepreviewresponsedto.d.ts +21 -5
  176. package/models/components/generatepreviewresponsedto.d.ts.map +1 -1
  177. package/models/components/generatepreviewresponsedto.js +22 -4
  178. package/models/components/generatepreviewresponsedto.js.map +1 -1
  179. package/models/components/getchannelconnectionresponsedto.d.ts +7 -0
  180. package/models/components/getchannelconnectionresponsedto.d.ts.map +1 -1
  181. package/models/components/getchannelconnectionresponsedto.js +7 -0
  182. package/models/components/getchannelconnectionresponsedto.js.map +1 -1
  183. package/models/components/getchannelendpointresponsedto.d.ts +17 -2
  184. package/models/components/getchannelendpointresponsedto.d.ts.map +1 -1
  185. package/models/components/getchannelendpointresponsedto.js +23 -0
  186. package/models/components/getchannelendpointresponsedto.js.map +1 -1
  187. package/models/components/getcontextresponsedto.d.ts +4 -0
  188. package/models/components/getcontextresponsedto.d.ts.map +1 -1
  189. package/models/components/getcontextresponsedto.js +1 -0
  190. package/models/components/getcontextresponsedto.js.map +1 -1
  191. package/models/components/grafanaoncallintegrationendpointdto.d.ts +25 -0
  192. package/models/components/grafanaoncallintegrationendpointdto.d.ts.map +1 -0
  193. package/models/components/grafanaoncallintegrationendpointdto.js +60 -0
  194. package/models/components/grafanaoncallintegrationendpointdto.js.map +1 -0
  195. package/models/components/httprequeststepresponsedto.d.ts +8 -0
  196. package/models/components/httprequeststepresponsedto.d.ts.map +1 -1
  197. package/models/components/httprequeststepresponsedto.js +1 -0
  198. package/models/components/httprequeststepresponsedto.js.map +1 -1
  199. package/models/components/humansignaldto.d.ts +78 -0
  200. package/models/components/humansignaldto.d.ts.map +1 -0
  201. package/models/components/humansignaldto.js +78 -0
  202. package/models/components/humansignaldto.js.map +1 -0
  203. package/models/components/inappstepresponsedto.d.ts +8 -0
  204. package/models/components/inappstepresponsedto.d.ts.map +1 -1
  205. package/models/components/inappstepresponsedto.js +1 -0
  206. package/models/components/inappstepresponsedto.js.map +1 -1
  207. package/models/components/index.d.ts +15 -0
  208. package/models/components/index.d.ts.map +1 -1
  209. package/models/components/index.js +15 -0
  210. package/models/components/index.js.map +1 -1
  211. package/models/components/integrationresponsedto.d.ts +5 -4
  212. package/models/components/integrationresponsedto.d.ts.map +1 -1
  213. package/models/components/integrationresponsedto.js +5 -4
  214. package/models/components/integrationresponsedto.js.map +1 -1
  215. package/models/components/linkchannelendpointrequestdto.d.ts +39 -0
  216. package/models/components/linkchannelendpointrequestdto.d.ts.map +1 -1
  217. package/models/components/linkchannelendpointrequestdto.js +24 -1
  218. package/models/components/linkchannelendpointrequestdto.js.map +1 -1
  219. package/models/components/opsgenieintegrationendpointdto.d.ts +41 -0
  220. package/models/components/opsgenieintegrationendpointdto.d.ts.map +1 -0
  221. package/models/components/opsgenieintegrationendpointdto.js +71 -0
  222. package/models/components/opsgenieintegrationendpointdto.js.map +1 -0
  223. package/models/components/pagerdutyserviceendpointdto.d.ts +41 -0
  224. package/models/components/pagerdutyserviceendpointdto.d.ts.map +1 -0
  225. package/models/components/pagerdutyserviceendpointdto.js +72 -0
  226. package/models/components/pagerdutyserviceendpointdto.js.map +1 -0
  227. package/models/components/patchpreferencechannelsdto.d.ts +5 -0
  228. package/models/components/patchpreferencechannelsdto.d.ts.map +1 -1
  229. package/models/components/patchpreferencechannelsdto.js +1 -0
  230. package/models/components/patchpreferencechannelsdto.js.map +1 -1
  231. package/models/components/providersidenum.d.ts +6 -0
  232. package/models/components/providersidenum.d.ts.map +1 -1
  233. package/models/components/providersidenum.js +6 -0
  234. package/models/components/providersidenum.js.map +1 -1
  235. package/models/components/pushstepresponsedto.d.ts +8 -0
  236. package/models/components/pushstepresponsedto.d.ts.map +1 -1
  237. package/models/components/pushstepresponsedto.js +1 -0
  238. package/models/components/pushstepresponsedto.js.map +1 -1
  239. package/models/components/smsstepresponsedto.d.ts +8 -0
  240. package/models/components/smsstepresponsedto.d.ts.map +1 -1
  241. package/models/components/smsstepresponsedto.js +1 -0
  242. package/models/components/smsstepresponsedto.js.map +1 -1
  243. package/models/components/stepcontentissuedto.d.ts +5 -0
  244. package/models/components/stepcontentissuedto.d.ts.map +1 -1
  245. package/models/components/stepcontentissuedto.js +2 -0
  246. package/models/components/stepcontentissuedto.js.map +1 -1
  247. package/models/components/stepintegrationissue.d.ts +5 -0
  248. package/models/components/stepintegrationissue.d.ts.map +1 -1
  249. package/models/components/stepintegrationissue.js +2 -0
  250. package/models/components/stepintegrationissue.js.map +1 -1
  251. package/models/components/stepissueseverityenum.d.ts +16 -0
  252. package/models/components/stepissueseverityenum.d.ts.map +1 -0
  253. package/models/components/stepissueseverityenum.js +50 -0
  254. package/models/components/stepissueseverityenum.js.map +1 -0
  255. package/models/components/stepresponsedto.d.ts +8 -0
  256. package/models/components/stepresponsedto.d.ts.map +1 -1
  257. package/models/components/stepresponsedto.js +1 -0
  258. package/models/components/stepresponsedto.js.map +1 -1
  259. package/models/components/subscriberchanneldto.d.ts +1 -0
  260. package/models/components/subscriberchanneldto.d.ts.map +1 -1
  261. package/models/components/subscriberchanneldto.js +1 -0
  262. package/models/components/subscriberchanneldto.js.map +1 -1
  263. package/models/components/subscriberpreferencechannels.d.ts +4 -0
  264. package/models/components/subscriberpreferencechannels.d.ts.map +1 -1
  265. package/models/components/subscriberpreferencechannels.js +1 -0
  266. package/models/components/subscriberpreferencechannels.js.map +1 -1
  267. package/models/components/throttlestepresponsedto.d.ts +8 -0
  268. package/models/components/throttlestepresponsedto.d.ts.map +1 -1
  269. package/models/components/throttlestepresponsedto.js +1 -0
  270. package/models/components/throttlestepresponsedto.js.map +1 -1
  271. package/models/components/toolapprovalrequestpayloaddto.d.ts +15 -0
  272. package/models/components/toolapprovalrequestpayloaddto.d.ts.map +1 -1
  273. package/models/components/toolapprovalrequestpayloaddto.js +3 -0
  274. package/models/components/toolapprovalrequestpayloaddto.js.map +1 -1
  275. package/models/components/toolcontroldto.d.ts +29 -0
  276. package/models/components/toolcontroldto.d.ts.map +1 -0
  277. package/models/components/toolcontroldto.js +60 -0
  278. package/models/components/toolcontroldto.js.map +1 -0
  279. package/models/components/toolcontrolsmetadataresponsedto.d.ts +25 -0
  280. package/models/components/toolcontrolsmetadataresponsedto.d.ts.map +1 -0
  281. package/models/components/toolcontrolsmetadataresponsedto.js +54 -0
  282. package/models/components/toolcontrolsmetadataresponsedto.js.map +1 -0
  283. package/models/components/toolstepresponsedto.d.ts +95 -0
  284. package/models/components/toolstepresponsedto.d.ts.map +1 -0
  285. package/models/components/toolstepresponsedto.js +81 -0
  286. package/models/components/toolstepresponsedto.js.map +1 -0
  287. package/models/components/toolstepupsertdto.d.ts +66 -0
  288. package/models/components/toolstepupsertdto.d.ts.map +1 -0
  289. package/models/components/toolstepupsertdto.js +67 -0
  290. package/models/components/toolstepupsertdto.js.map +1 -0
  291. package/models/components/toolwebhookendpointdto.d.ts +59 -0
  292. package/models/components/toolwebhookendpointdto.d.ts.map +1 -0
  293. package/models/components/toolwebhookendpointdto.js +87 -0
  294. package/models/components/toolwebhookendpointdto.js.map +1 -0
  295. package/models/components/topicdto.d.ts +6 -0
  296. package/models/components/topicdto.d.ts.map +1 -1
  297. package/models/components/topicdto.js +1 -0
  298. package/models/components/topicdto.js.map +1 -1
  299. package/models/components/topicresponsedto.d.ts +6 -0
  300. package/models/components/topicresponsedto.d.ts.map +1 -1
  301. package/models/components/topicresponsedto.js +1 -0
  302. package/models/components/topicresponsedto.js.map +1 -1
  303. package/models/components/topicsubscriptionresponsedto.d.ts +5 -0
  304. package/models/components/topicsubscriptionresponsedto.d.ts.map +1 -1
  305. package/models/components/topicsubscriptionresponsedto.js +2 -0
  306. package/models/components/topicsubscriptionresponsedto.js.map +1 -1
  307. package/models/components/triggereventrequestdto.d.ts +5 -0
  308. package/models/components/triggereventrequestdto.d.ts.map +1 -1
  309. package/models/components/triggereventrequestdto.js +1 -0
  310. package/models/components/triggereventrequestdto.js.map +1 -1
  311. package/models/components/triggereventtoallrequestdto.d.ts +5 -0
  312. package/models/components/triggereventtoallrequestdto.d.ts.map +1 -1
  313. package/models/components/triggereventtoallrequestdto.js +1 -0
  314. package/models/components/triggereventtoallrequestdto.js.map +1 -1
  315. package/models/components/uicomponentenum.d.ts +2 -0
  316. package/models/components/uicomponentenum.d.ts.map +1 -1
  317. package/models/components/uicomponentenum.js +2 -0
  318. package/models/components/uicomponentenum.js.map +1 -1
  319. package/models/components/uischemagroupenum.d.ts +1 -0
  320. package/models/components/uischemagroupenum.d.ts.map +1 -1
  321. package/models/components/uischemagroupenum.js +1 -0
  322. package/models/components/uischemagroupenum.js.map +1 -1
  323. package/models/components/updatechannelendpointrequestdto.d.ts +5 -4
  324. package/models/components/updatechannelendpointrequestdto.d.ts.map +1 -1
  325. package/models/components/updatechannelendpointrequestdto.js +3 -0
  326. package/models/components/updatechannelendpointrequestdto.js.map +1 -1
  327. package/models/components/updatecontextrequestdto.d.ts +5 -0
  328. package/models/components/updatecontextrequestdto.d.ts.map +1 -1
  329. package/models/components/updatecontextrequestdto.js +1 -0
  330. package/models/components/updatecontextrequestdto.js.map +1 -1
  331. package/models/components/updatetopicrequestdto.d.ts +11 -2
  332. package/models/components/updatetopicrequestdto.d.ts.map +1 -1
  333. package/models/components/updatetopicrequestdto.js +2 -1
  334. package/models/components/updatetopicrequestdto.js.map +1 -1
  335. package/models/components/updateworkflowdto.d.ts +47 -6
  336. package/models/components/updateworkflowdto.d.ts.map +1 -1
  337. package/models/components/updateworkflowdto.js +25 -2
  338. package/models/components/updateworkflowdto.js.map +1 -1
  339. package/models/components/workflowresponsedto.d.ts +31 -2
  340. package/models/components/workflowresponsedto.d.ts.map +1 -1
  341. package/models/components/workflowresponsedto.js +24 -1
  342. package/models/components/workflowresponsedto.js.map +1 -1
  343. package/models/components/workspacedto.d.ts +2 -0
  344. package/models/components/workspacedto.d.ts.map +1 -1
  345. package/models/components/workspacedto.js +2 -0
  346. package/models/components/workspacedto.js.map +1 -1
  347. package/models/errors/topicresponsedto.d.ts +12 -0
  348. package/models/errors/topicresponsedto.d.ts.map +1 -1
  349. package/models/errors/topicresponsedto.js +3 -0
  350. package/models/errors/topicresponsedto.js.map +1 -1
  351. package/models/operations/channelconnectionscontrollerlistchannelconnections.d.ts +19 -0
  352. package/models/operations/channelconnectionscontrollerlistchannelconnections.d.ts.map +1 -1
  353. package/models/operations/channelconnectionscontrollerlistchannelconnections.js +12 -1
  354. package/models/operations/channelconnectionscontrollerlistchannelconnections.js.map +1 -1
  355. package/models/operations/channelendpointscontrollercreatechannelendpoint.d.ts +4 -4
  356. package/models/operations/channelendpointscontrollercreatechannelendpoint.d.ts.map +1 -1
  357. package/models/operations/channelendpointscontrollercreatechannelendpoint.js +8 -0
  358. package/models/operations/channelendpointscontrollercreatechannelendpoint.js.map +1 -1
  359. package/models/operations/channelendpointscontrollerlistchannelendpoints.d.ts +1 -0
  360. package/models/operations/channelendpointscontrollerlistchannelendpoints.d.ts.map +1 -1
  361. package/models/operations/channelendpointscontrollerlistchannelendpoints.js +1 -0
  362. package/models/operations/channelendpointscontrollerlistchannelendpoints.js.map +1 -1
  363. package/models/operations/messagescontrollerdeletemessagesbytransactionid.d.ts +1 -0
  364. package/models/operations/messagescontrollerdeletemessagesbytransactionid.d.ts.map +1 -1
  365. package/models/operations/messagescontrollerdeletemessagesbytransactionid.js +1 -0
  366. package/models/operations/messagescontrollerdeletemessagesbytransactionid.js.map +1 -1
  367. package/package.json +1 -1
  368. package/sdk/agents.d.ts +1 -1
  369. package/sdk/agents.js +1 -1
  370. package/sdk/topics.d.ts +1 -1
  371. package/sdk/topics.js +1 -1
  372. package/src/funcs/agentsDelete.ts +1 -1
  373. package/src/funcs/channelConnectionsList.ts +1 -0
  374. package/src/funcs/topicsUpdate.ts +1 -1
  375. package/src/lib/config.ts +4 -4
  376. package/src/lib/encodings.ts +58 -23
  377. package/src/models/components/activitynotificationjobresponsedto.ts +1 -0
  378. package/src/models/components/agentbehaviordto.ts +3 -3
  379. package/src/models/components/agentreplypayloaddto.ts +12 -1
  380. package/src/models/components/agentresponsedto.ts +2 -2
  381. package/src/models/components/channeltypeenum.ts +1 -0
  382. package/src/models/components/chatcontroldto.ts +31 -0
  383. package/src/models/components/chatorpushproviderenum.ts +1 -0
  384. package/src/models/components/chatrenderoutput.ts +8 -3
  385. package/src/models/components/chatstepresponsedto.ts +30 -0
  386. package/src/models/components/chatstepupsertdto.ts +6 -0
  387. package/src/models/components/configurationsdto.ts +5 -0
  388. package/src/models/components/contentissueenum.ts +3 -0
  389. package/src/models/components/createcontextrequestdto.ts +6 -0
  390. package/src/models/components/creategrafanaoncallintegrationendpointdto.ts +167 -0
  391. package/src/models/components/createintegrationrequestdto.ts +1 -0
  392. package/src/models/components/createlineuserendpointdto.ts +6 -0
  393. package/src/models/components/createmsteamschannelendpointdto.ts +6 -0
  394. package/src/models/components/createmsteamsuserendpointdto.ts +6 -0
  395. package/src/models/components/createopsgenieintegrationendpointdto.ts +159 -0
  396. package/src/models/components/createpagerdutyserviceendpointdto.ts +158 -0
  397. package/src/models/components/createphoneendpointdto.ts +6 -0
  398. package/src/models/components/createslackchannelendpointdto.ts +6 -0
  399. package/src/models/components/createslackuserendpointdto.ts +6 -0
  400. package/src/models/components/createtelegramchatendpointdto.ts +6 -0
  401. package/src/models/components/createtoolwebhookendpointdto.ts +155 -0
  402. package/src/models/components/createupdatetopicrequestdto.ts +6 -0
  403. package/src/models/components/createwebexpersonendpointdto.ts +6 -0
  404. package/src/models/components/createwebexroomendpointdto.ts +6 -0
  405. package/src/models/components/createwebhookendpointdto.ts +6 -0
  406. package/src/models/components/createworkflowdto.ts +73 -0
  407. package/src/models/components/credentialsdto.ts +34 -0
  408. package/src/models/components/customstepresponsedto.ts +5 -0
  409. package/src/models/components/delaystepresponsedto.ts +5 -0
  410. package/src/models/components/dependencyreasonenum.ts +2 -0
  411. package/src/models/components/digeststepresponsedto.ts +5 -0
  412. package/src/models/components/emailcontroldto.ts +34 -0
  413. package/src/models/components/emailfromcontroldto.ts +61 -0
  414. package/src/models/components/emailstepresponsedto.ts +29 -0
  415. package/src/models/components/generateconnectoauthurlrequestdto.ts +6 -0
  416. package/src/models/components/generatelinkuseroauthurlrequestdto.ts +6 -0
  417. package/src/models/components/generatepreviewresponsedto.ts +47 -6
  418. package/src/models/components/getchannelconnectionresponsedto.ts +7 -0
  419. package/src/models/components/getchannelendpointresponsedto.ts +43 -0
  420. package/src/models/components/getcontextresponsedto.ts +5 -0
  421. package/src/models/components/grafanaoncallintegrationendpointdto.ts +64 -0
  422. package/src/models/components/httprequeststepresponsedto.ts +5 -0
  423. package/src/models/components/humansignaldto.ts +122 -0
  424. package/src/models/components/inappstepresponsedto.ts +5 -0
  425. package/src/models/components/index.ts +15 -0
  426. package/src/models/components/integrationresponsedto.ts +10 -7
  427. package/src/models/components/linkchannelendpointrequestdto.ts +84 -0
  428. package/src/models/components/opsgenieintegrationendpointdto.ts +88 -0
  429. package/src/models/components/pagerdutyserviceendpointdto.ts +83 -0
  430. package/src/models/components/patchpreferencechannelsdto.ts +6 -0
  431. package/src/models/components/providersidenum.ts +6 -0
  432. package/src/models/components/pushstepresponsedto.ts +5 -0
  433. package/src/models/components/smsstepresponsedto.ts +5 -0
  434. package/src/models/components/stepcontentissuedto.ts +9 -0
  435. package/src/models/components/stepintegrationissue.ts +9 -0
  436. package/src/models/components/stepissueseverityenum.ts +23 -0
  437. package/src/models/components/stepresponsedto.ts +5 -0
  438. package/src/models/components/subscriberchanneldto.ts +1 -0
  439. package/src/models/components/subscriberpreferencechannels.ts +5 -0
  440. package/src/models/components/throttlestepresponsedto.ts +5 -0
  441. package/src/models/components/toolapprovalrequestpayloaddto.ts +18 -0
  442. package/src/models/components/toolcontroldto.ts +57 -0
  443. package/src/models/components/toolcontrolsmetadataresponsedto.ts +49 -0
  444. package/src/models/components/toolstepresponsedto.ts +156 -0
  445. package/src/models/components/toolstepupsertdto.ts +104 -0
  446. package/src/models/components/toolwebhookendpointdto.ts +120 -0
  447. package/src/models/components/topicdto.ts +5 -0
  448. package/src/models/components/topicresponsedto.ts +5 -0
  449. package/src/models/components/topicsubscriptionresponsedto.ts +9 -0
  450. package/src/models/components/triggereventrequestdto.ts +6 -0
  451. package/src/models/components/triggereventtoallrequestdto.ts +6 -0
  452. package/src/models/components/uicomponentenum.ts +2 -0
  453. package/src/models/components/uischemagroupenum.ts +1 -0
  454. package/src/models/components/updatechannelendpointrequestdto.ts +11 -0
  455. package/src/models/components/updatecontextrequestdto.ts +6 -0
  456. package/src/models/components/updatetopicrequestdto.ts +9 -3
  457. package/src/models/components/updateworkflowdto.ts +86 -3
  458. package/src/models/components/workflowresponsedto.ts +73 -1
  459. package/src/models/components/workspacedto.ts +4 -0
  460. package/src/models/errors/topicresponsedto.ts +10 -0
  461. package/src/models/operations/channelconnectionscontrollerlistchannelconnections.ts +24 -0
  462. package/src/models/operations/channelendpointscontrollercreatechannelendpoint.ts +28 -4
  463. package/src/models/operations/channelendpointscontrollerlistchannelendpoints.ts +1 -0
  464. package/src/models/operations/messagescontrollerdeletemessagesbytransactionid.ts +1 -0
  465. package/src/sdk/agents.ts +1 -1
  466. package/src/sdk/topics.ts +1 -1
  467. package/temp/example.ts +40 -0
@@ -0,0 +1,80 @@
1
+ import * as z from "zod/v3";
2
+ import { GrafanaOnCallIntegrationEndpointDto, GrafanaOnCallIntegrationEndpointDto$Outbound } from "./grafanaoncallintegrationendpointdto.js";
3
+ /**
4
+ * Rich context object with id and optional data
5
+ */
6
+ export type CreateGrafanaOnCallIntegrationEndpointDtoContext2 = {
7
+ id: string;
8
+ /**
9
+ * Optional additional context data
10
+ */
11
+ data?: {
12
+ [k: string]: any;
13
+ } | undefined;
14
+ };
15
+ export type CreateGrafanaOnCallIntegrationEndpointDtoContext = CreateGrafanaOnCallIntegrationEndpointDtoContext2 | string;
16
+ export type CreateGrafanaOnCallIntegrationEndpointDto = {
17
+ /**
18
+ * The unique identifier for the channel endpoint. If not provided, one will be generated automatically.
19
+ */
20
+ identifier?: string | undefined;
21
+ /**
22
+ * The subscriber ID to which the channel endpoint is linked
23
+ */
24
+ subscriberId: string;
25
+ /**
26
+ * When true, the subscriber is created if it does not exist yet (existing subscribers are never modified). When false or omitted, an unknown subscriberId returns 404.
27
+ */
28
+ createSubscriberIfMissing?: boolean | undefined;
29
+ context?: {
30
+ [k: string]: CreateGrafanaOnCallIntegrationEndpointDtoContext2 | string;
31
+ } | undefined;
32
+ /**
33
+ * The identifier of the integration to use for this channel endpoint.
34
+ */
35
+ integrationIdentifier: string;
36
+ /**
37
+ * The identifier of the channel connection to use for this channel endpoint.
38
+ */
39
+ connectionIdentifier?: string | undefined;
40
+ /**
41
+ * Type of channel endpoint
42
+ */
43
+ type: "grafana_oncall_integration";
44
+ /**
45
+ * Grafana OnCall integration endpoint data. `url` and `authToken` are encrypted at rest on the channel endpoint (`endpoint` field). No linked channel connection.
46
+ */
47
+ endpoint: GrafanaOnCallIntegrationEndpointDto;
48
+ };
49
+ /** @internal */
50
+ export type CreateGrafanaOnCallIntegrationEndpointDtoContext2$Outbound = {
51
+ id: string;
52
+ data?: {
53
+ [k: string]: any;
54
+ } | undefined;
55
+ };
56
+ /** @internal */
57
+ export declare const CreateGrafanaOnCallIntegrationEndpointDtoContext2$outboundSchema: z.ZodType<CreateGrafanaOnCallIntegrationEndpointDtoContext2$Outbound, z.ZodTypeDef, CreateGrafanaOnCallIntegrationEndpointDtoContext2>;
58
+ export declare function createGrafanaOnCallIntegrationEndpointDtoContext2ToJSON(createGrafanaOnCallIntegrationEndpointDtoContext2: CreateGrafanaOnCallIntegrationEndpointDtoContext2): string;
59
+ /** @internal */
60
+ export type CreateGrafanaOnCallIntegrationEndpointDtoContext$Outbound = CreateGrafanaOnCallIntegrationEndpointDtoContext2$Outbound | string;
61
+ /** @internal */
62
+ export declare const CreateGrafanaOnCallIntegrationEndpointDtoContext$outboundSchema: z.ZodType<CreateGrafanaOnCallIntegrationEndpointDtoContext$Outbound, z.ZodTypeDef, CreateGrafanaOnCallIntegrationEndpointDtoContext>;
63
+ export declare function createGrafanaOnCallIntegrationEndpointDtoContextToJSON(createGrafanaOnCallIntegrationEndpointDtoContext: CreateGrafanaOnCallIntegrationEndpointDtoContext): string;
64
+ /** @internal */
65
+ export type CreateGrafanaOnCallIntegrationEndpointDto$Outbound = {
66
+ identifier?: string | undefined;
67
+ subscriberId: string;
68
+ createSubscriberIfMissing: boolean;
69
+ context?: {
70
+ [k: string]: CreateGrafanaOnCallIntegrationEndpointDtoContext2$Outbound | string;
71
+ } | undefined;
72
+ integrationIdentifier: string;
73
+ connectionIdentifier?: string | undefined;
74
+ type: "grafana_oncall_integration";
75
+ endpoint: GrafanaOnCallIntegrationEndpointDto$Outbound;
76
+ };
77
+ /** @internal */
78
+ export declare const CreateGrafanaOnCallIntegrationEndpointDto$outboundSchema: z.ZodType<CreateGrafanaOnCallIntegrationEndpointDto$Outbound, z.ZodTypeDef, CreateGrafanaOnCallIntegrationEndpointDto>;
79
+ export declare function createGrafanaOnCallIntegrationEndpointDtoToJSON(createGrafanaOnCallIntegrationEndpointDto: CreateGrafanaOnCallIntegrationEndpointDto): string;
80
+ //# sourceMappingURL=creategrafanaoncallintegrationendpointdto.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"creategrafanaoncallintegrationendpointdto.d.ts","sourceRoot":"","sources":["../../src/models/components/creategrafanaoncallintegrationendpointdto.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EACL,mCAAmC,EACnC,4CAA4C,EAE7C,MAAM,0CAA0C,CAAC;AAElD;;GAEG;AACH,MAAM,MAAM,iDAAiD,GAAG;IAC9D,EAAE,EAAE,MAAM,CAAC;IACX;;OAEG;IACH,IAAI,CAAC,EAAE;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,GAAG,SAAS,CAAC;CACzC,CAAC;AAEF,MAAM,MAAM,gDAAgD,GACxD,iDAAiD,GACjD,MAAM,CAAC;AAEX,MAAM,MAAM,yCAAyC,GAAG;IACtD;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG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,yBAAyB,EAAE,OAAO,CAAC;IACnC,OAAO,CAAC,EAAE;QACR,CAAC,CAAC,EAAE,MAAM,GACN,0DAA0D,GAC1D,MAAM,CAAC;KACZ,GAAG,SAAS,CAAC;IACd,qBAAqB,EAAE,MAAM,CAAC;IAC9B,oBAAoB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1C,IAAI,EAAE,4BAA4B,CAAC;IACnC,QAAQ,EAAE,4CAA4C,CAAC;CACxD,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,wDAAwD,EACnE,CAAC,CAAC,OAAO,CACP,kDAAkD,EAClD,CAAC,CAAC,UAAU,EACZ,yCAAyC,CAiBzC,CAAC;AAEL,wBAAgB,+CAA+C,CAC7D,yCAAyC,EACvC,yCAAyC,GAC1C,MAAM,CAMR"}
@@ -0,0 +1,78 @@
1
+ "use strict";
2
+ /*
3
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || (function () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.CreateGrafanaOnCallIntegrationEndpointDto$outboundSchema = exports.CreateGrafanaOnCallIntegrationEndpointDtoContext$outboundSchema = exports.CreateGrafanaOnCallIntegrationEndpointDtoContext2$outboundSchema = void 0;
40
+ exports.createGrafanaOnCallIntegrationEndpointDtoContext2ToJSON = createGrafanaOnCallIntegrationEndpointDtoContext2ToJSON;
41
+ exports.createGrafanaOnCallIntegrationEndpointDtoContextToJSON = createGrafanaOnCallIntegrationEndpointDtoContextToJSON;
42
+ exports.createGrafanaOnCallIntegrationEndpointDtoToJSON = createGrafanaOnCallIntegrationEndpointDtoToJSON;
43
+ const z = __importStar(require("zod/v3"));
44
+ const grafanaoncallintegrationendpointdto_js_1 = require("./grafanaoncallintegrationendpointdto.js");
45
+ /** @internal */
46
+ exports.CreateGrafanaOnCallIntegrationEndpointDtoContext2$outboundSchema = z.object({
47
+ id: z.string(),
48
+ data: z.record(z.any()).optional(),
49
+ });
50
+ function createGrafanaOnCallIntegrationEndpointDtoContext2ToJSON(createGrafanaOnCallIntegrationEndpointDtoContext2) {
51
+ return JSON.stringify(exports.CreateGrafanaOnCallIntegrationEndpointDtoContext2$outboundSchema.parse(createGrafanaOnCallIntegrationEndpointDtoContext2));
52
+ }
53
+ /** @internal */
54
+ exports.CreateGrafanaOnCallIntegrationEndpointDtoContext$outboundSchema = z.union([
55
+ z.lazy(() => exports.CreateGrafanaOnCallIntegrationEndpointDtoContext2$outboundSchema),
56
+ z.string(),
57
+ ]);
58
+ function createGrafanaOnCallIntegrationEndpointDtoContextToJSON(createGrafanaOnCallIntegrationEndpointDtoContext) {
59
+ return JSON.stringify(exports.CreateGrafanaOnCallIntegrationEndpointDtoContext$outboundSchema.parse(createGrafanaOnCallIntegrationEndpointDtoContext));
60
+ }
61
+ /** @internal */
62
+ exports.CreateGrafanaOnCallIntegrationEndpointDto$outboundSchema = z.object({
63
+ identifier: z.string().optional(),
64
+ subscriberId: z.string(),
65
+ createSubscriberIfMissing: z.boolean().default(false),
66
+ context: z.record(z.union([
67
+ z.lazy(() => exports.CreateGrafanaOnCallIntegrationEndpointDtoContext2$outboundSchema),
68
+ z.string(),
69
+ ])).optional(),
70
+ integrationIdentifier: z.string(),
71
+ connectionIdentifier: z.string().optional(),
72
+ type: z.literal("grafana_oncall_integration"),
73
+ endpoint: grafanaoncallintegrationendpointdto_js_1.GrafanaOnCallIntegrationEndpointDto$outboundSchema,
74
+ });
75
+ function createGrafanaOnCallIntegrationEndpointDtoToJSON(createGrafanaOnCallIntegrationEndpointDto) {
76
+ return JSON.stringify(exports.CreateGrafanaOnCallIntegrationEndpointDto$outboundSchema.parse(createGrafanaOnCallIntegrationEndpointDto));
77
+ }
78
+ //# sourceMappingURL=creategrafanaoncallintegrationendpointdto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"creategrafanaoncallintegrationendpointdto.js","sourceRoot":"","sources":["../../src/models/components/creategrafanaoncallintegrationendpointdto.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA2EH,0HASC;AAoBD,wHASC;AA0CD,0GASC;AAlKD,0CAA4B;AAC5B,qGAIkD;AAyDlD,gBAAgB;AACH,QAAA,gEAAgE,GAKvE,CAAC,CAAC,MAAM,CAAC;IACX,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE;IACd,IAAI,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,CAAC,CAAC,QAAQ,EAAE;CACnC,CAAC,CAAC;AAEL,SAAgB,uDAAuD,CACrE,iDACmD;IAEnD,OAAO,IAAI,CAAC,SAAS,CACnB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
  readonly Chat: "chat";
13
13
  readonly Push: "push";
14
+ readonly Tool: "tool";
14
15
  };
15
16
  /**
16
17
  * The channel type for the integration. Not required for agent-kind integrations.
@@ -1 +1 @@
1
- {"version":3,"file":"createintegrationrequestdto.d.ts","sourceRoot":"","sources":["../../src/models/components/createintegrationrequestdto.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EACL,cAAc,EACd,uBAAuB,EAExB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,aAAa,EACb,sBAAsB,EAEvB,MAAM,oBAAoB,CAAC;AAE5B;;GAEG;AACH,eAAO,MAAM,kCAAkC;;;;;;CAMrC,CAAC;AACX;;GAEG;AACH,MAAM,MAAM,kCAAkC,GAAG,UAAU,CACzD,OAAO,kCAAkC,CAC1C,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,+BAA+B;;;CAGlC,CAAC;AACX;;GAEG;AACH,MAAM,MAAM,+BAA+B,GAAG,UAAU,CACtD,OAAO,+BAA+B,CACvC,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,cAAc,GAAG,EAAE,CAAC;AAEhC,MAAM,MAAM,2BAA2B,GAAG;IACxC;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1B;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAChC;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACnC;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAChC;;OAEG;IACH,OAAO,CAAC,EAAE,kCAAkC,GAAG,SAAS,CAAC;IACzD;;OAEG;IACH,IAAI,CAAC,EAAE,+BAA+B,GAAG,SAAS,CAAC;IACnD;;OAEG;IACH,WAAW,CAAC,EAAE,cAAc,GAAG,SAAS,CAAC;IACz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KAAK,CAAC,sBAAsB,CAAC,GAAG,SAAS,CAAC;IACvD,cAAc,CAAC,EAAE,uBAAuB,GAAG,SAAS,CAAC;CACtD,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,0CAA0C,EAAE,CAAC,CAAC,OAAO,CAChE,oCAAoC,EACpC,CAAC,CAAC,UAAU,EACZ,2BAA2B,CAiB3B,CAAC;AAEH,wBAAgB,iCAAiC,CAC/C,2BAA2B,EAAE,2BAA2B,GACvD,MAAM,CAMR"}
1
+ {"version":3,"file":"createintegrationrequestdto.d.ts","sourceRoot":"","sources":["../../src/models/components/createintegrationrequestdto.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EACL,cAAc,EACd,uBAAuB,EAExB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,aAAa,EACb,sBAAsB,EAEvB,MAAM,oBAAoB,CAAC;AAE5B;;GAEG;AACH,eAAO,MAAM,kCAAkC;;;;;;;CAOrC,CAAC;AACX;;GAEG;AACH,MAAM,MAAM,kCAAkC,GAAG,UAAU,CACzD,OAAO,kCAAkC,CAC1C,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,+BAA+B;;;CAGlC,CAAC;AACX;;GAEG;AACH,MAAM,MAAM,+BAA+B,GAAG,UAAU,CACtD,OAAO,+BAA+B,CACvC,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,cAAc,GAAG,EAAE,CAAC;AAEhC,MAAM,MAAM,2BAA2B,GAAG;IACxC;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1B;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAChC;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACnC;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,C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,GAAG,SAAS,CAAC;IAC1B,WAAW,CAAC,EAAE,uBAAuB,GAAG,SAAS,CAAC;IAClD,MAAM,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC7B,KAAK,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC5B,UAAU,CAAC,EAAE,KAAK,CAAC,sBAAsB,CAAC,GAAG,SAAS,CAAC;IACvD,cAAc,CAAC,EAAE,uBAAuB,GAAG,SAAS,CAAC;CACtD,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,0CAA0C,EAAE,CAAC,CAAC,OAAO,CAChE,oCAAoC,EACpC,CAAC,CAAC,UAAU,EACZ,2BAA2B,CAiB3B,CAAC;AAEH,wBAAgB,iCAAiC,CAC/C,2BAA2B,EAAE,2BAA2B,GACvD,MAAM,CAMR"}
@@ -52,6 +52,7 @@ exports.CreateIntegrationRequestDtoChannel = {
52
52
  Sms: "sms",
53
53
  Chat: "chat",
54
54
  Push: "push",
55
+ Tool: "tool",
55
56
  };
56
57
  /**
57
58
  * Distinguishes delivery integrations from agent-runtime integrations. Defaults to "delivery". Agent integrations do not require a channel.
@@ -1 +1 @@
1
- {"version":3,"file":"createintegrationrequestdto.js","sourceRoot":"","sources":["../../src/models/components/createintegrationrequestdto.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAuHH,oDAEC;AAwCD,8EAQC;AAvKD,0CAA4B;AAC5B,2DAA0D;AAE1D,2DAI6B;AAC7B,yDAI4B;AAE5B;;GAEG;AACU,QAAA,kCAAkC,GAAG;IAChD,KAAK,EAAE,QAAQ;IACf,KAAK,EAAE,OAAO;IACd,GAAG,EAAE,KAAK;IACV,IAAI,EAAE,MAAM;IACZ,IAAI,EAAE,MAAM;CACJ,CAAC;AAQX;;GAEG;AACU,QAAA,+BAA+B,GAAG;IAC7C,QAAQ,EAAE,UAAU;IACpB,KAAK,EAAE,OAAO;CACN,CAAC;AA4DX,gBAAgB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AE,gBAAgB;KAChC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH,SAAgB,iCAAiC,CAC/C,2BAAwD;IAExD,OAAO,IAAI,CAAC,SAAS,CACnB,kDAA0C,CAAC,KAAK,CAC9C,2BAA2B,CAC5B,CACF,CAAC;AACJ,CAAC"}
1
+ {"version":3,"file":"createintegrationrequestdto.js","sourceRoot":"","sources":["../../src/models/components/createintegrationrequestdto.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAwHH,oDAEC;AAwCD,8EAQC;AAxKD,0CAA4B;AAC5B,2DAA0D;AAE1D,2DAI6B;AAC7B,yDAI4B;AAE5B;;GAEG;AACU,QAAA,kCAAkC,GAAG;IAChD,KAAK,EAAE,QAAQ;IACf,KAAK,EAAE,OAAO;IACd,GAAG,EAAE,KAAK;IACV,IAAI,EAAE,MAAM;IACZ,IAAI,EAAE,MAAM;IACZ,IAAI,EAAE,MAAM;CACJ,CAAC;AAQX;;GAEG;AACU,QAAA,+BAA+B,GAAG;IAC7C,QAAQ,EAAE,UAAU;IACpB,KAAK,EAAE,OAAO;CACN,CAAC;AA4DX,gBAAgB;AACH,QAAA,iDAAiD,GAE1D,CAAC,CAAC,UAAU,CAAC,0CAAkC,CAAC,CAAC;AAErD,gBAAgB;AACH,QAAA,8CAA8C,GAEvD,CAAC,CAAC,UAAU,CAAC,uCAA+B,CAAC,CAAC;AAKlD,gBAAgB;AACH,QAAA,6BAA6B,GAItC,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;AAEjB,SAAgB,oBAAoB,CAAC,cAA8B;IACjE,OAAO,IAAI,CAAC,SAAS,CAAC,qCAA6B,CAAC,KAAK,CAAC,cAAc,CAAC,CAAC,CAAC;AAC7E,CAAC;AAiBD,gBAAgB;AACH,QAAA,0CAA0C,GAInD,CAAC,CAAC,MAAM,CAAC;IACX,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC3B,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACjC,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACpC,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACjC,OAAO,EAAE,yDAAiD,CAAC,QAAQ,EAAE;IACrE,IAAI,EAAE,sDAA8C,CAAC,QAAQ,EAAE;IAC/D,WAAW,EAAE,iDAA6B,CAAC,QAAQ,EAAE;IACrD,MAAM,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;IAC9B,KAAK,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;IAC7B,UAAU,EAAE,CAAC,CAAC,KAAK,CAAC,+CAA4B,CAAC,CAAC,QAAQ,EAAE;IAC5D,cAAc,EAAE,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,qCAA6B,CAAC,CAAC,QAAQ,EAAE;CACvE,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,aAAa,EAAE,gBAAgB;KAChC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH,SAAgB,iCAAiC,CAC/C,2BAAwD;IAExD,OAAO,IAAI,CAAC,SAAS,CACnB,kDAA0C,CAAC,KAAK,CAC9C,2BAA2B,CAC5B,CACF,CAAC;AACJ,CAAC"}
@@ -22,6 +22,10 @@ export type CreateLineUserEndpointDto = {
22
22
  * The subscriber ID to which the channel endpoint is linked
23
23
  */
24
24
  subscriberId: string;
25
+ /**
26
+ * When true, the subscriber is created if it does not exist yet (existing subscribers are never modified). When false or omitted, an unknown subscriberId returns 404.
27
+ */
28
+ createSubscriberIfMissing?: boolean | undefined;
25
29
  context?: {
26
30
  [k: string]: CreateLineUserEndpointDtoContext2 | string;
27
31
  } | undefined;
@@ -61,6 +65,7 @@ export declare function createLineUserEndpointDtoContextToJSON(createLineUserEnd
61
65
  export type CreateLineUserEndpointDto$Outbound = {
62
66
  identifier?: string | undefined;
63
67
  subscriberId: string;
68
+ createSubscriberIfMissing: boolean;
64
69
  context?: {
65
70
  [k: string]: CreateLineUserEndpointDtoContext2$Outbound | string;
66
71
  } | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"createlineuserendpointdto.d.ts","sourceRoot":"","sources":["../../src/models/components/createlineuserendpointdto.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EACL,mBAAmB,EACnB,4BAA4B,EAE7B,MAAM,0BAA0B,CAAC;AAElC;;GAEG;AACH,MAAM,MAAM,iCAAiC,GAAG;IAC9C,EAAE,EAAE,MAAM,CAAC;IACX;;OAEG;IACH,IAAI,CAAC,EAAE;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,GAAG,SAAS,CAAC;CACzC,CAAC;AAEF,MAAM,MAAM,gCAAgC,GACxC,iCAAiC,GACjC,MAAM,CAAC;AAEX,MAAM,MAAM,yBAAyB,GAAG;IACtC;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAChC;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC;IACrB,OAAO,CAAC,EACJ;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,iCAAiC,GAAG,MAAM,CAAA;KAAE,GAC3D,SAAS,CAAC;IACd;;OAEG;IACH,qBAAqB,EAAE,MAAM,CAAC;IAC9B;;OAEG;IACH,oBAAoB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1C;;OAEG;IACH,IAAI,EAAE,WAAW,CAAC;IAClB;;OAEG;IACH,QAAQ,EAAE,mBAAmB,CAAC;CAC/B,CAAC;AAEF,gBAAgB;AAChB,MAAM,MAAM,0CAA0C,GAAG;IACvD,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,CAAC,EAAE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AAgB,uCAAuC,CACrD,iCAAiC,EAAE,iCAAiC,GACnE,MAAM,CAMR;AAED,gBAAgB;AAChB,MAAM,MAAM,yCAAyC,GACjD,0CAA0C,GAC1C,MAAM,CAAC;AAEX,gBAAgB;AAChB,eAAO,MAAM,+CAA+C,EAAE,CAAC,CAAC,OAAO,CACrE,yCAAyC,EACzC,CAAC,CAAC,UAAU,EACZ,gCAAgC,CAIhC,CAAC;AAEH,wBAAgB,sCAAsC,CACpD,gCAAgC,EAAE,gCAAgC,GACjE,MAAM,CAMR;AAED,gBAAgB;AAChB,MAAM,MAAM,kCAAkC,GAAG;IAC/C,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAChC,YAAY,EAAE,MAAM,CAAC;IACrB,yBAAyB,EAAE,OAAO,CAAC;IACnC,OAAO,CAAC,EACJ;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,0CAA0C,GAAG,MAAM,CAAA;KAAE,GACpE,SAAS,CAAC;IACd,qBAAqB,EAAE,MAAM,CAAC;IAC9B,oBAAoB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1C,IAAI,EAAE,WAAW,CAAC;IAClB,QAAQ,EAAE,4BAA4B,CAAC;CACxC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,wCAAwC,EAAE,CAAC,CAAC,OAAO,CAC9D,kCAAkC,EAClC,CAAC,CAAC,UAAU,EACZ,yBAAyB,CAezB,CAAC;AAEH,wBAAgB,+BAA+B,CAC7C,yBAAyB,EAAE,yBAAyB,GACnD,MAAM,CAIR"}
@@ -62,6 +62,7 @@ function createLineUserEndpointDtoContextToJSON(createLineUserEndpointDtoContext
62
62
  exports.CreateLineUserEndpointDto$outboundSchema = z.object({
63
63
  identifier: z.string().optional(),
64
64
  subscriberId: z.string(),
65
+ createSubscriberIfMissing: z.boolean().default(false),
65
66
  context: z.record(z.union([
66
67
  z.lazy(() => exports.CreateLineUserEndpointDtoContext2$outboundSchema),
67
68
  z.string(),
@@ -1 +1 @@
1
- {"version":3,"file":"createlineuserendpointdto.js","sourceRoot":"","sources":["../../src/models/components/createlineuserendpointdto.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAsEH,0FAQC;AAiBD,wFAQC;AAmCD,0EAMC;AA9ID,0CAA4B;AAC5B,qEAIkC;AAqDlC,gBAAgB;AACH,QAAA,gDAAgD,GAIzD,CAAC,CAAC,MAAM,CAAC;IACX,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE;IACd,IAAI,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,CAAC,CAAC,QAAQ,EAAE;CACnC,CAAC,CAAC;AAEH,SAAgB,uCAAuC,CACrD,iCAAoE;IAEpE,OAAO,IAAI,CAAC,SAAS,CACnB,wDAAgD,CAAC,KAAK,CACpD,iCAAiC,CAClC,CACF,CAAC;AACJ,CAAC;AAOD,gBAAgB;AACH,QAAA,+CAA+C,GAIxD,CAAC,CAAC,KAAK,CAAC;IACV,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,wDAAgD,CAAC;IAC9D,CAAC,CAAC,MAAM,EAAE;CACX,CAAC,CAAC;AAEH,SAAgB,sCAAsC,CACpD,gCAAkE;IAElE,OAAO,IAAI,CAAC,SAAS,CACnB,uDAA+C,CAAC,KAAK,CACnD,gCAAgC,CACjC,CACF,CAAC;AACJ,CAAC;AAeD,gBAAgB;AACH,QAAA,wCAAwC,GAIjD,CAAC,CAAC,MAAM,CAAC;IACX,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACjC,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE;IACxB,OAAO,EAAE,CAAC,CAAC,MAAM,CACf,CAAC,CAAC,KAAK,CAAC;QACN,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,wDAAgD,CAAC;QAC9D,CAAC,CAAC,MAAM,EAAE;KACX,CAAC,CACH,CAAC,QAAQ,EAAE;IACZ,qBAAqB,EAAE,CAAC,CAAC,MAAM,EAAE;IACjC,oBAAoB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC3C,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,WAAW,CAAC;IAC5B,QAAQ,EAAE,2DAAkC;CAC7C,CAAC,CAAC;AAEH,SAAgB,+BAA+B,CAC7C,yBAAoD;IAEpD,OAAO,IAAI,CAAC,SAAS,CACnB,gDAAwC,CAAC,KAAK,CAAC,yBAAyB,CAAC,CAC1E,CAAC;AACJ,CAAC"}
1
+ {"version":3,"file":"createlineuserendpointdto.js","sourceRoot":"","sources":["../../src/models/components/createlineuserendpointdto.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA0EH,0FAQC;AAiBD,wFAQC;AAqCD,0EAMC;AApJD,0CAA4B;AAC5B,qEAIkC;AAyDlC,gBAAgB;AACH,QAAA,gDAAgD,GAIzD,CAAC,CAAC,MAAM,CAAC;IACX,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE;IACd,IAAI,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,CAAC,CAAC,QAAQ,EAAE;CACnC,CAAC,CAAC;AAEH,SAAgB,uCAAuC,CACrD,iCAAoE;IAEpE,OAAO,IAAI,CAAC,SAAS,CACnB,wDAAgD,CAAC,KAAK,CACpD,iCAAiC,CAClC,CACF,CAAC;AACJ,CAAC;AAOD,gBAAgB;AACH,QAAA,+CAA+C,GAIxD,CAAC,CAAC,KAAK,CAAC;IACV,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,wDAAgD,CAAC;IAC9D,CAAC,CAAC,MAAM,EAAE;CACX,CAAC,CAAC;AAEH,SAAgB,sCAAsC,CACpD,gCAAkE;IAElE,OAAO,IAAI,CAAC,SAAS,CACnB,uDAA+C,CAAC,KAAK,CACnD,gCAAgC,CACjC,CACF,CAAC;AACJ,CAAC;AAgBD,gBAAgB;AACH,QAAA,wCAAwC,GAIjD,CAAC,CAAC,MAAM,CAAC;IACX,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACjC,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE;IACxB,yBAAyB,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,OAAO,CAAC,KAAK,CAAC;IACrD,OAAO,EAAE,CAAC,CAAC,MAAM,CACf,CAAC,CAAC,KAAK,CAAC;QACN,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,wDAAgD,CAAC;QAC9D,CAAC,CAAC,MAAM,EAAE;KACX,CAAC,CACH,CAAC,QAAQ,EAAE;IACZ,qBAAqB,EAAE,CAAC,CAAC,MAAM,EAAE;IACjC,oBAAoB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC3C,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,WAAW,CAAC;IAC5B,QAAQ,EAAE,2DAAkC;CAC7C,CAAC,CAAC;AAEH,SAAgB,+BAA+B,CAC7C,yBAAoD;IAEpD,OAAO,IAAI,CAAC,SAAS,CACnB,gDAAwC,CAAC,KAAK,CAAC,yBAAyB,CAAC,CAC1E,CAAC;AACJ,CAAC"}
@@ -22,6 +22,10 @@ export type CreateMsTeamsChannelEndpointDto = {
22
22
  * The subscriber ID to which the channel endpoint is linked
23
23
  */
24
24
  subscriberId: string;
25
+ /**
26
+ * When true, the subscriber is created if it does not exist yet (existing subscribers are never modified). When false or omitted, an unknown subscriberId returns 404.
27
+ */
28
+ createSubscriberIfMissing?: boolean | undefined;
25
29
  context?: {
26
30
  [k: string]: CreateMsTeamsChannelEndpointDtoContext2 | string;
27
31
  } | undefined;
@@ -61,6 +65,7 @@ export declare function createMsTeamsChannelEndpointDtoContextToJSON(createMsTea
61
65
  export type CreateMsTeamsChannelEndpointDto$Outbound = {
62
66
  identifier?: string | undefined;
63
67
  subscriberId: string;
68
+ createSubscriberIfMissing: boolean;
64
69
  context?: {
65
70
  [k: string]: CreateMsTeamsChannelEndpointDtoContext2$Outbound | string;
66
71
  } | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"createmsteamschannelendpointdto.d.ts","sourceRoot":"","sources":["../../src/models/components/createmsteamschannelendpointdto.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EACL,yBAAyB,EACzB,kCAAkC,EAEnC,MAAM,gCAAgC,CAAC;AAExC;;GAEG;AACH,MAAM,MAAM,uCAAuC,GAAG;IACpD,EAAE,EAAE,MAAM,CAAC;IACX;;OAEG;IACH,IAAI,CAAC,EAAE;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,GAAG,SAAS,CAAC;CACzC,CAAC;AAEF,MAAM,MAAM,sCAAsC,GAC9C,uCAAuC,GACvC,MAAM,CAAC;AAEX,MAAM,MAAM,+BAA+B,GAAG;IAC5C;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAChC;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC;IACrB,OAAO,CAAC,EACJ;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,uCAAuC,GAAG,MAAM,CAAA;KAAE,GACjE,SAAS,CAAC;IACd;;OAEG;IACH,qBAAqB,EAAE,MAAM,CAAC;IAC9B;;OAEG;IACH,oBAAoB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1C;;OAEG;IACH,IAAI,EAAE,kBAAkB,CAAC;IACzB;;OAEG;IACH,QAAQ,EAAE,yBAAyB,CAAC;CACrC,CAAC;AAEF,gBAAgB;AAChB,MAAM,MAAM,gDAAgD,GAAG;IAC7D,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,CAAC,EAAE;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,GAAG,SAAS,CAAC;CACzC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,sDAAsD,EAAE,CAAC,CAAC,OAAO,CAC5E,gDAAgD,EAChD,CAAC,CAAC,UAAU,EACZ,uCAAuC,CAIvC,CAAC;AAEH,wBAAgB,6CAA6C,CAC3D,uCAAuC,EACrC,uCAAuC,GACxC,MAAM,CAMR;AAED,gBAAgB;AAChB,MAAM,MAAM,+CAA+C,GACvD,gDAAgD,GAChD,MAAM,CAAC;AAEX,gBAAgB;AAChB,eAAO,MAAM,qDAAqD,EAAE,CAAC,CAAC,OAAO,CAC3E,+CAA+C,EAC/C,CAAC,CAAC,UAAU,EACZ,sCAAsC,CAItC,CAAC;AAEH,wBAAgB,4CAA4C,CAC1D,sCAAsC,EACpC,sCAAsC,GACvC,MAAM,CAMR;AAED,gBAAgB;AAChB,MAAM,MAAM,wCAAwC,GAAG;IACrD,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAChC,YAAY,EAAE,MAAM,CAAC;IACrB,OAAO,CAAC,EAAE;QACR,CAAC,CAAC,EAAE,MAAM,GAAG,gDAAgD,GAAG,MAAM,CAAC;KACxE,GAAG,SAAS,CAAC;IACd,qBAAqB,EAAE,MAAM,CAAC;IAC9B,oBAAoB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1C,IAAI,EAAE,kBAAkB,CAAC;IACzB,QAAQ,EAAE,kCAAkC,CAAC;CAC9C,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,8CAA8C,EAAE,CAAC,CAAC,OAAO,CACpE,wCAAwC,EACxC,CAAC,CAAC,UAAU,EACZ,+BAA+B,CAc/B,CAAC;AAEH,wBAAgB,qCAAqC,CACnD,+BAA+B,EAAE,+BAA+B,GAC/D,MAAM,CAMR"}
1
+ {"version":3,"file":"createmsteamschannelendpointdto.d.ts","sourceRoot":"","sources":["../../src/models/components/createmsteamschannelendpointdto.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5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BAAgB;AAChB,MAAM,MAAM,+CAA+C,GACvD,gDAAgD,GAChD,MAAM,CAAC;AAEX,gBAAgB;AAChB,eAAO,MAAM,qDAAqD,EAAE,CAAC,CAAC,OAAO,CAC3E,+CAA+C,EAC/C,CAAC,CAAC,UAAU,EACZ,sCAAsC,CAItC,CAAC;AAEH,wBAAgB,4CAA4C,CAC1D,sCAAsC,EACpC,sCAAsC,GACvC,MAAM,CAMR;AAED,gBAAgB;AAChB,MAAM,MAAM,wCAAwC,GAAG;IACrD,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAChC,YAAY,EAAE,MAAM,CAAC;IACrB,yBAAyB,EAAE,OAAO,CAAC;IACnC,OAAO,CAAC,EAAE;QACR,CAAC,CAAC,EAAE,MAAM,GAAG,gDAAgD,GAAG,MAAM,CAAC;KACxE,GAAG,SAAS,CAAC;IACd,qBAAqB,EAAE,MAAM,CAAC;IAC9B,oBAAoB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1C,IAAI,EAAE,kBAAkB,CAAC;IACzB,QAAQ,EAAE,kCAAkC,CAAC;CAC9C,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,8CAA8C,EAAE,CAAC,CAAC,OAAO,CACpE,wCAAwC,EACxC,CAAC,CAAC,UAAU,EACZ,+BAA+B,CAe/B,CAAC;AAEH,wBAAgB,qCAAqC,CACnD,+BAA+B,EAAE,+BAA+B,GAC/D,MAAM,CAMR"}
@@ -62,6 +62,7 @@ function createMsTeamsChannelEndpointDtoContextToJSON(createMsTeamsChannelEndpoi
62
62
  exports.CreateMsTeamsChannelEndpointDto$outboundSchema = z.object({
63
63
  identifier: z.string().optional(),
64
64
  subscriberId: z.string(),
65
+ createSubscriberIfMissing: z.boolean().default(false),
65
66
  context: z.record(z.union([
66
67
  z.lazy(() => exports.CreateMsTeamsChannelEndpointDtoContext2$outboundSchema),
67
68
  z.string(),
@@ -1 +1 @@
1
- {"version":3,"file":"createmsteamschannelendpointdto.js","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AAC,CAAC,MAAM,EAAE;IACjC,oBAAoB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC3C,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,kBAAkB,CAAC;IACnC,QAAQ,EAAE,uEAAwC;CACnD,CAAC,CAAC;AAEH,SAAgB,qCAAqC,CACnD,+BAAgE;IAEhE,OAAO,IAAI,CAAC,SAAS,CACnB,sDAA8C,CAAC,KAAK,CAClD,+BAA+B,CAChC,CACF,CAAC;AACJ,CAAC"}
1
+ {"version":3,"file":"createmsteamschannelendpointdto.js","sourceRoot":"","sources":["../../src/models/components/createmsteamschannelendpointdto.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA0EH,sGASC;AAiBD,oGASC;AAqCD,sFAQC;AAxJD,0CAA4B;AAC5B,iFAIwC;AAyDxC,gBAAgB;AACH,QAAA,sDAAsD,GAI/D,CAAC,CAAC,MAAM,CAAC;IACX,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE;IACd,IAAI,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,CAAC,CAAC,QAAQ,EAAE;CACnC,CAAC,CAAC;AAEH,SAAgB,6CAA6C,CAC3D,uCACyC;IAEzC,OAAO,IAAI,CAAC,SAAS,CACnB,8DAAsD,CAAC,KAAK,CAC1D,uCAAuC,CACxC,CACF,CAAC;AACJ,CAAC;AAOD,gBAAgB;AACH,QAAA,qDAAqD,GAI9D,CAAC,CAAC,KAAK,CAAC;IACV,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,8DAAsD,CAAC;IACpE,CAAC,CAAC,MAAM,EAAE;CACX,CAAC,CAAC;AAEH,SAAgB,4CAA4C,CAC1D,sCACwC;IAExC,OAAO,IAAI,CAAC,SAAS,CACnB,6DAAqD,CAAC,KAAK,CACzD,sCAAsC,CACvC,CACF,CAAC;AACJ,CAAC;AAgBD,gBAAgB;AACH,QAAA,8CAA8C,GAIvD,CAAC,CAAC,MAAM,CAAC;IACX,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACjC,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE;IACxB,yBAAyB,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,OAAO,CAAC,KAAK,CAAC;IACrD,OAAO,EAAE,CAAC,CAAC,MAAM,CACf,CAAC,CAAC,KAAK,CAAC;QACN,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,8DAAsD,CAAC;QACpE,CAAC,CAAC,MAAM,EAAE;KACX,CAAC,CACH,CAAC,QAAQ,EAAE;IACZ,qBAAqB,EAAE,CAAC,CAAC,MAAM,EAAE;IACjC,oBAAoB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC3C,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,kBAAkB,CAAC;IACnC,QAAQ,EAAE,uEAAwC;CACnD,CAAC,CAAC;AAEH,SAAgB,qCAAqC,CACnD,+BAAgE;IAEhE,OAAO,IAAI,CAAC,SAAS,CACnB,sDAA8C,CAAC,KAAK,CAClD,+BAA+B,CAChC,CACF,CAAC;AACJ,CAAC"}
@@ -22,6 +22,10 @@ export type CreateMsTeamsUserEndpointDto = {
22
22
  * The subscriber ID to which the channel endpoint is linked
23
23
  */
24
24
  subscriberId: string;
25
+ /**
26
+ * When true, the subscriber is created if it does not exist yet (existing subscribers are never modified). When false or omitted, an unknown subscriberId returns 404.
27
+ */
28
+ createSubscriberIfMissing?: boolean | undefined;
25
29
  context?: {
26
30
  [k: string]: CreateMsTeamsUserEndpointDtoContext2 | string;
27
31
  } | undefined;
@@ -61,6 +65,7 @@ export declare function createMsTeamsUserEndpointDtoContextToJSON(createMsTeamsU
61
65
  export type CreateMsTeamsUserEndpointDto$Outbound = {
62
66
  identifier?: string | undefined;
63
67
  subscriberId: string;
68
+ createSubscriberIfMissing: boolean;
64
69
  context?: {
65
70
  [k: string]: CreateMsTeamsUserEndpointDtoContext2$Outbound | string;
66
71
  } | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"createmsteamsuserendpointdto.d.ts","sourceRoot":"","sources":["../../src/models/components/createmsteamsuserendpointdto.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EACL,sBAAsB,EACtB,+BAA+B,EAEhC,MAAM,6BAA6B,CAAC;AAErC;;GAEG;AACH,MAAM,MAAM,oCAAoC,GAAG;IACjD,EAAE,EAAE,MAAM,CAAC;IACX;;OAEG;IACH,IAAI,CAAC,EAAE;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,GAAG,SAAS,CAAC;CACzC,CAAC;AAEF,MAAM,MAAM,mCAAmC,GAC3C,oCAAoC,GACpC,MAAM,CAAC;AAEX,MAAM,MAAM,4BAA4B,GAAG;IACzC;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAChC;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC;IACrB,OAAO,CAAC,EACJ;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,oCAAoC,GAAG,MAAM,CAAA;KAAE,GAC9D,SAAS,CAAC;IACd;;OAEG;IACH,qBAAqB,EAAE,MAAM,CAAC;IAC9B;;OAEG;IACH,oBAAoB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1C;;OAEG;IACH,IAAI,EAAE,eAAe,CAAC;IACtB;;OAEG;IACH,QAAQ,EAAE,sBAAsB,CAAC;CAClC,CAAC;AAEF,gBAAgB;AAChB,MAAM,MAAM,6CAA6C,GAAG;IAC1D,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,CAAC,EAAE;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,GAAG,SAAS,CAAC;CACzC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,mDAAmD,EAAE,CAAC,CAAC,OAAO,CACzE,6CAA6C,EAC7C,CAAC,CAAC,UAAU,EACZ,oCAAoC,CAIpC,CAAC;AAEH,wBAAgB,0CAA0C,CACxD,oCAAoC,EAAE,oCAAoC,GACzE,MAAM,CAMR;AAED,gBAAgB;AAChB,MAAM,MAAM,4CAA4C,GACpD,6CAA6C,GAC7C,MAAM,CAAC;AAEX,gBAAgB;AAChB,eAAO,MAAM,kDAAkD,EAAE,CAAC,CAAC,OAAO,CACxE,4CAA4C,EAC5C,CAAC,CAAC,UAAU,EACZ,mCAAmC,CAInC,CAAC;AAEH,wBAAgB,yCAAyC,CACvD,mCAAmC,EAAE,mCAAmC,GACvE,MAAM,CAMR;AAED,gBAAgB;AAChB,MAAM,MAAM,qCAAqC,GAAG;IAClD,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAChC,YAAY,EAAE,MAAM,CAAC;IACrB,OAAO,CAAC,EAAE;QACR,CAAC,CAAC,EAAE,MAAM,GAAG,6CAA6C,GAAG,MAAM,CAAC;KACrE,GAAG,SAAS,CAAC;IACd,qBAAqB,EAAE,MAAM,CAAC;IAC9B,oBAAoB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1C,IAAI,EAAE,eAAe,CAAC;IACtB,QAAQ,EAAE,+BAA+B,CAAC;CAC3C,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,2CAA2C,EAAE,CAAC,CAAC,OAAO,CACjE,qCAAqC,EACrC,CAAC,CAAC,UAAU,EACZ,4BAA4B,CAc5B,CAAC;AAEH,wBAAgB,kCAAkC,CAChD,4BAA4B,EAAE,4BAA4B,GACzD,MAAM,CAMR"}
1
+ {"version":3,"file":"createmsteamsuserendpointdto.d.ts","sourceRoot":"","sources":["../../src/models/components/createmsteamsuserendpointdto.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EACL,sBAAsB,EACtB,+BAA+B,EAEhC,MAAM,6BAA6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M,CAAC;AAEX,gBAAgB;AAChB,eAAO,MAAM,kDAAkD,EAAE,CAAC,CAAC,OAAO,CACxE,4CAA4C,EAC5C,CAAC,CAAC,UAAU,EACZ,mCAAmC,CAInC,CAAC;AAEH,wBAAgB,yCAAyC,CACvD,mCAAmC,EAAE,mCAAmC,GACvE,MAAM,CAMR;AAED,gBAAgB;AAChB,MAAM,MAAM,qCAAqC,GAAG;IAClD,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAChC,YAAY,EAAE,MAAM,CAAC;IACrB,yBAAyB,EAAE,OAAO,CAAC;IACnC,OAAO,CAAC,EAAE;QACR,CAAC,CAAC,EAAE,MAAM,GAAG,6CAA6C,GAAG,MAAM,CAAC;KACrE,GAAG,SAAS,CAAC;IACd,qBAAqB,EAAE,MAAM,CAAC;IAC9B,oBAAoB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1C,IAAI,EAAE,eAAe,CAAC;IACtB,QAAQ,EAAE,+BAA+B,CAAC;CAC3C,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,2CAA2C,EAAE,CAAC,CAAC,OAAO,CACjE,qCAAqC,EACrC,CAAC,CAAC,UAAU,EACZ,4BAA4B,CAe5B,CAAC;AAEH,wBAAgB,kCAAkC,CAChD,4BAA4B,EAAE,4BAA4B,GACzD,MAAM,CAMR"}
@@ -62,6 +62,7 @@ function createMsTeamsUserEndpointDtoContextToJSON(createMsTeamsUserEndpointDtoC
62
62
  exports.CreateMsTeamsUserEndpointDto$outboundSchema = z.object({
63
63
  identifier: z.string().optional(),
64
64
  subscriberId: z.string(),
65
+ createSubscriberIfMissing: z.boolean().default(false),
65
66
  context: z.record(z.union([
66
67
  z.lazy(() => exports.CreateMsTeamsUserEndpointDtoContext2$outboundSchema),
67
68
  z.string(),
@@ -1 +1 @@
1
- {"version":3,"file":"createmsteamsuserendpointdto.js","sourceRoot":"","sources":["../../src/models/components/createmsteamsuserendpointdto.ts"],"names":[],"mappings":";AAAA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AE,CAAC,QAAQ,EAAE;IAC3C,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,eAAe,CAAC;IAChC,QAAQ,EAAE,iEAAqC;CAChD,CAAC,CAAC;AAEH,SAAgB,kCAAkC,CAChD,4BAA0D;IAE1D,OAAO,IAAI,CAAC,SAAS,CACnB,mDAA2C,CAAC,KAAK,CAC/C,4BAA4B,CAC7B,CACF,CAAC;AACJ,CAAC"}
1
+ {"version":3,"file":"createmsteamsuserendpointdto.js","sourceRoot":"","sources":["../../src/models/components/createmsteamsuserendpointdto.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA0EH,gGAQC;AAiBD,8FAQC;AAqCD,gFAQC;AAtJD,0CAA4B;AAC5B,2EAIqC;AAyDrC,gBAAgB;AACH,QAAA,mDAAmD,GAI5D,CAAC,CAAC,MAAM,CAAC;IACX,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE;IACd,IAAI,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,CAAC,CAAC,QAAQ,EAAE;CACnC,CAAC,CAAC;AAEH,SAAgB,0CAA0C,CACxD,oCAA0E;IAE1E,OAAO,IAAI,CAAC,SAAS,CACnB,2DAAmD,CAAC,KAAK,CACvD,oCAAoC,CACrC,CACF,CAAC;AACJ,CAAC;AAOD,gBAAgB;AACH,QAAA,kDAAkD,GAI3D,CAAC,CAAC,KAAK,CAAC;IACV,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,2DAAmD,CAAC;IACjE,CAAC,CAAC,MAAM,EAAE;CACX,CAAC,CAAC;AAEH,SAAgB,yCAAyC,CACvD,mCAAwE;IAExE,OAAO,IAAI,CAAC,SAAS,CACnB,0DAAkD,CAAC,KAAK,CACtD,mCAAmC,CACpC,CACF,CAAC;AACJ,CAAC;AAgBD,gBAAgB;AACH,QAAA,2CAA2C,GAIpD,CAAC,CAAC,MAAM,CAAC;IACX,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACjC,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE;IACxB,yBAAyB,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,OAAO,CAAC,KAAK,CAAC;IACrD,OAAO,EAAE,CAAC,CAAC,MAAM,CACf,CAAC,CAAC,KAAK,CAAC;QACN,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,2DAAmD,CAAC;QACjE,CAAC,CAAC,MAAM,EAAE;KACX,CAAC,CACH,CAAC,QAAQ,EAAE;IACZ,qBAAqB,EAAE,CAAC,CAAC,MAAM,EAAE;IACjC,oBAAoB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC3C,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,eAAe,CAAC;IAChC,QAAQ,EAAE,iEAAqC;CAChD,CAAC,CAAC;AAEH,SAAgB,kCAAkC,CAChD,4BAA0D;IAE1D,OAAO,IAAI,CAAC,SAAS,CACnB,mDAA2C,CAAC,KAAK,CAC/C,4BAA4B,CAC7B,CACF,CAAC;AACJ,CAAC"}
@@ -0,0 +1,80 @@
1
+ import * as z from "zod/v3";
2
+ import { OpsgenieIntegrationEndpointDto, OpsgenieIntegrationEndpointDto$Outbound } from "./opsgenieintegrationendpointdto.js";
3
+ /**
4
+ * Rich context object with id and optional data
5
+ */
6
+ export type CreateOpsgenieIntegrationEndpointDtoContext2 = {
7
+ id: string;
8
+ /**
9
+ * Optional additional context data
10
+ */
11
+ data?: {
12
+ [k: string]: any;
13
+ } | undefined;
14
+ };
15
+ export type CreateOpsgenieIntegrationEndpointDtoContext = CreateOpsgenieIntegrationEndpointDtoContext2 | string;
16
+ export type CreateOpsgenieIntegrationEndpointDto = {
17
+ /**
18
+ * The unique identifier for the channel endpoint. If not provided, one will be generated automatically.
19
+ */
20
+ identifier?: string | undefined;
21
+ /**
22
+ * The subscriber ID to which the channel endpoint is linked
23
+ */
24
+ subscriberId: string;
25
+ /**
26
+ * When true, the subscriber is created if it does not exist yet (existing subscribers are never modified). When false or omitted, an unknown subscriberId returns 404.
27
+ */
28
+ createSubscriberIfMissing?: boolean | undefined;
29
+ context?: {
30
+ [k: string]: CreateOpsgenieIntegrationEndpointDtoContext2 | string;
31
+ } | undefined;
32
+ /**
33
+ * The identifier of the integration to use for this channel endpoint.
34
+ */
35
+ integrationIdentifier: string;
36
+ /**
37
+ * The identifier of the channel connection to use for this channel endpoint.
38
+ */
39
+ connectionIdentifier?: string | undefined;
40
+ /**
41
+ * Type of channel endpoint
42
+ */
43
+ type: "opsgenie_integration";
44
+ /**
45
+ * Opsgenie integration endpoint data. `apiKey` is encrypted at rest on the channel endpoint (`endpoint` field); `region` remains plaintext. No linked channel connection.
46
+ */
47
+ endpoint: OpsgenieIntegrationEndpointDto;
48
+ };
49
+ /** @internal */
50
+ export type CreateOpsgenieIntegrationEndpointDtoContext2$Outbound = {
51
+ id: string;
52
+ data?: {
53
+ [k: string]: any;
54
+ } | undefined;
55
+ };
56
+ /** @internal */
57
+ export declare const CreateOpsgenieIntegrationEndpointDtoContext2$outboundSchema: z.ZodType<CreateOpsgenieIntegrationEndpointDtoContext2$Outbound, z.ZodTypeDef, CreateOpsgenieIntegrationEndpointDtoContext2>;
58
+ export declare function createOpsgenieIntegrationEndpointDtoContext2ToJSON(createOpsgenieIntegrationEndpointDtoContext2: CreateOpsgenieIntegrationEndpointDtoContext2): string;
59
+ /** @internal */
60
+ export type CreateOpsgenieIntegrationEndpointDtoContext$Outbound = CreateOpsgenieIntegrationEndpointDtoContext2$Outbound | string;
61
+ /** @internal */
62
+ export declare const CreateOpsgenieIntegrationEndpointDtoContext$outboundSchema: z.ZodType<CreateOpsgenieIntegrationEndpointDtoContext$Outbound, z.ZodTypeDef, CreateOpsgenieIntegrationEndpointDtoContext>;
63
+ export declare function createOpsgenieIntegrationEndpointDtoContextToJSON(createOpsgenieIntegrationEndpointDtoContext: CreateOpsgenieIntegrationEndpointDtoContext): string;
64
+ /** @internal */
65
+ export type CreateOpsgenieIntegrationEndpointDto$Outbound = {
66
+ identifier?: string | undefined;
67
+ subscriberId: string;
68
+ createSubscriberIfMissing: boolean;
69
+ context?: {
70
+ [k: string]: CreateOpsgenieIntegrationEndpointDtoContext2$Outbound | string;
71
+ } | undefined;
72
+ integrationIdentifier: string;
73
+ connectionIdentifier?: string | undefined;
74
+ type: "opsgenie_integration";
75
+ endpoint: OpsgenieIntegrationEndpointDto$Outbound;
76
+ };
77
+ /** @internal */
78
+ export declare const CreateOpsgenieIntegrationEndpointDto$outboundSchema: z.ZodType<CreateOpsgenieIntegrationEndpointDto$Outbound, z.ZodTypeDef, CreateOpsgenieIntegrationEndpointDto>;
79
+ export declare function createOpsgenieIntegrationEndpointDtoToJSON(createOpsgenieIntegrationEndpointDto: CreateOpsgenieIntegrationEndpointDto): string;
80
+ //# sourceMappingURL=createopsgenieintegrationendpointdto.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"createopsgenieintegrationendpointdto.d.ts","sourceRoot":"","sources":["../../src/models/components/createopsgenieintegrationendpointdto.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EACL,8BAA8B,EAC9B,uCAAuC,EAExC,MAAM,qCAAqC,CAAC;AAE7C;;GAEG;AACH,MAAM,MAAM,4CAA4C,GAAG;IACzD,EAAE,EAAE,MAAM,CAAC;IACX;;OAEG;IACH,IAAI,CAAC,EAAE;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,GAAG,SAAS,CAAC;CACzC,CAAC;AAEF,MAAM,MAAM,2CAA2C,GACnD,4CAA4C,GAC5C,MAAM,CAAC;AAEX,MAAM,MAAM,oCAAoC,GAAG;IACjD;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAChC;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,yBAA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M,GAAG,qDAAqD,GAAG,MAAM,CAAC;KAC7E,GAAG,SAAS,CAAC;IACd,qBAAqB,EAAE,MAAM,CAAC;IAC9B,oBAAoB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1C,IAAI,EAAE,sBAAsB,CAAC;IAC7B,QAAQ,EAAE,uCAAuC,CAAC;CACnD,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,mDAAmD,EAAE,CAAC,CAAC,OAAO,CACzE,6CAA6C,EAC7C,CAAC,CAAC,UAAU,EACZ,oCAAoC,CAepC,CAAC;AAEH,wBAAgB,0CAA0C,CACxD,oCAAoC,EAAE,oCAAoC,GACzE,MAAM,CAMR"}
@@ -0,0 +1,78 @@
1
+ "use strict";
2
+ /*
3
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || (function () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.CreateOpsgenieIntegrationEndpointDto$outboundSchema = exports.CreateOpsgenieIntegrationEndpointDtoContext$outboundSchema = exports.CreateOpsgenieIntegrationEndpointDtoContext2$outboundSchema = void 0;
40
+ exports.createOpsgenieIntegrationEndpointDtoContext2ToJSON = createOpsgenieIntegrationEndpointDtoContext2ToJSON;
41
+ exports.createOpsgenieIntegrationEndpointDtoContextToJSON = createOpsgenieIntegrationEndpointDtoContextToJSON;
42
+ exports.createOpsgenieIntegrationEndpointDtoToJSON = createOpsgenieIntegrationEndpointDtoToJSON;
43
+ const z = __importStar(require("zod/v3"));
44
+ const opsgenieintegrationendpointdto_js_1 = require("./opsgenieintegrationendpointdto.js");
45
+ /** @internal */
46
+ exports.CreateOpsgenieIntegrationEndpointDtoContext2$outboundSchema = z.object({
47
+ id: z.string(),
48
+ data: z.record(z.any()).optional(),
49
+ });
50
+ function createOpsgenieIntegrationEndpointDtoContext2ToJSON(createOpsgenieIntegrationEndpointDtoContext2) {
51
+ return JSON.stringify(exports.CreateOpsgenieIntegrationEndpointDtoContext2$outboundSchema.parse(createOpsgenieIntegrationEndpointDtoContext2));
52
+ }
53
+ /** @internal */
54
+ exports.CreateOpsgenieIntegrationEndpointDtoContext$outboundSchema = z.union([
55
+ z.lazy(() => exports.CreateOpsgenieIntegrationEndpointDtoContext2$outboundSchema),
56
+ z.string(),
57
+ ]);
58
+ function createOpsgenieIntegrationEndpointDtoContextToJSON(createOpsgenieIntegrationEndpointDtoContext) {
59
+ return JSON.stringify(exports.CreateOpsgenieIntegrationEndpointDtoContext$outboundSchema.parse(createOpsgenieIntegrationEndpointDtoContext));
60
+ }
61
+ /** @internal */
62
+ exports.CreateOpsgenieIntegrationEndpointDto$outboundSchema = z.object({
63
+ identifier: z.string().optional(),
64
+ subscriberId: z.string(),
65
+ createSubscriberIfMissing: z.boolean().default(false),
66
+ context: z.record(z.union([
67
+ z.lazy(() => exports.CreateOpsgenieIntegrationEndpointDtoContext2$outboundSchema),
68
+ z.string(),
69
+ ])).optional(),
70
+ integrationIdentifier: z.string(),
71
+ connectionIdentifier: z.string().optional(),
72
+ type: z.literal("opsgenie_integration"),
73
+ endpoint: opsgenieintegrationendpointdto_js_1.OpsgenieIntegrationEndpointDto$outboundSchema,
74
+ });
75
+ function createOpsgenieIntegrationEndpointDtoToJSON(createOpsgenieIntegrationEndpointDto) {
76
+ return JSON.stringify(exports.CreateOpsgenieIntegrationEndpointDto$outboundSchema.parse(createOpsgenieIntegrationEndpointDto));
77
+ }
78
+ //# sourceMappingURL=createopsgenieintegrationendpointdto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"createopsgenieintegrationendpointdto.js","sourceRoot":"","sources":["../../src/models/components/createopsgenieintegrationendpointdto.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA2EH,gHASC;AAkBD,8GASC;AAqCD,gGAQC;AA1JD,0CAA4B;AAC5B,2FAI6C;AAyD7C,gBAAgB;AACH,QAAA,2DAA2D,GAKlE,CAAC,CAAC,MAAM,CAAC;IACX,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE;IACd,IAAI,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,CAAC,CAAC,QAAQ,EAAE;CACnC,CAAC,CAAC;AAEL,SAAgB,kDAAkD,CAChE,4CAC8C;IAE9C,OAAO,IAAI,CAAC,SAAS,CACnB,mEAA2D,CAAC,KAAK,CAC/D,4CAA4C,CAC7C,CACF,CAAC;AACJ,CAAC;AAOD,gBAAgB;AACH,QAAA,0DAA0D,GAKjE,CAAC,CAAC,KAAK,CAAC;IACV,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,mEAA2D,CAAC;IACzE,CAAC,CAAC,MAAM,EAAE;CACX,CAAC,CAAC;AAEL,SAAgB,iDAAiD,CAC/D,2CAC6C;IAE7C,OAAO,IAAI,CAAC,SAAS,CACnB,kEAA0D,CAAC,KAAK,CAC9D,2CAA2C,CAC5C,CACF,CAAC;AACJ,CAAC;AAgBD,gBAAgB;AACH,QAAA,mDAAmD,GAI5D,CAAC,CAAC,MAAM,CAAC;IACX,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACjC,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE;IACxB,yBAAyB,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,OAAO,CAAC,KAAK,CAAC;IACrD,OAAO,EAAE,CAAC,CAAC,MAAM,CACf,CAAC,CAAC,KAAK,CAAC;QACN,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,mEAA2D,CAAC;QACzE,CAAC,CAAC,MAAM,EAAE;KACX,CAAC,CACH,CAAC,QAAQ,EAAE;IACZ,qBAAqB,EAAE,CAAC,CAAC,MAAM,EAAE;IACjC,oBAAoB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC3C,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,sBAAsB,CAAC;IACvC,QAAQ,EAAE,iFAA6C;CACxD,CAAC,CAAC;AAEH,SAAgB,0CAA0C,CACxD,oCAA0E;IAE1E,OAAO,IAAI,CAAC,SAAS,CACnB,2DAAmD,CAAC,KAAK,CACvD,oCAAoC,CACrC,CACF,CAAC;AACJ,CAAC"}
@@ -0,0 +1,80 @@
1
+ import * as z from "zod/v3";
2
+ import { PagerDutyServiceEndpointDto, PagerDutyServiceEndpointDto$Outbound } from "./pagerdutyserviceendpointdto.js";
3
+ /**
4
+ * Rich context object with id and optional data
5
+ */
6
+ export type CreatePagerDutyServiceEndpointDtoContext2 = {
7
+ id: string;
8
+ /**
9
+ * Optional additional context data
10
+ */
11
+ data?: {
12
+ [k: string]: any;
13
+ } | undefined;
14
+ };
15
+ export type CreatePagerDutyServiceEndpointDtoContext = CreatePagerDutyServiceEndpointDtoContext2 | string;
16
+ export type CreatePagerDutyServiceEndpointDto = {
17
+ /**
18
+ * The unique identifier for the channel endpoint. If not provided, one will be generated automatically.
19
+ */
20
+ identifier?: string | undefined;
21
+ /**
22
+ * The subscriber ID to which the channel endpoint is linked
23
+ */
24
+ subscriberId: string;
25
+ /**
26
+ * When true, the subscriber is created if it does not exist yet (existing subscribers are never modified). When false or omitted, an unknown subscriberId returns 404.
27
+ */
28
+ createSubscriberIfMissing?: boolean | undefined;
29
+ context?: {
30
+ [k: string]: CreatePagerDutyServiceEndpointDtoContext2 | string;
31
+ } | undefined;
32
+ /**
33
+ * The identifier of the integration to use for this channel endpoint.
34
+ */
35
+ integrationIdentifier: string;
36
+ /**
37
+ * The identifier of the channel connection to use for this channel endpoint.
38
+ */
39
+ connectionIdentifier?: string | undefined;
40
+ /**
41
+ * Type of channel endpoint
42
+ */
43
+ type: "pagerduty_service";
44
+ /**
45
+ * PagerDuty service endpoint data. `routingKey` is encrypted at rest on the channel endpoint (`endpoint` field); `region` remains plaintext. No linked channel connection.
46
+ */
47
+ endpoint: PagerDutyServiceEndpointDto;
48
+ };
49
+ /** @internal */
50
+ export type CreatePagerDutyServiceEndpointDtoContext2$Outbound = {
51
+ id: string;
52
+ data?: {
53
+ [k: string]: any;
54
+ } | undefined;
55
+ };
56
+ /** @internal */
57
+ export declare const CreatePagerDutyServiceEndpointDtoContext2$outboundSchema: z.ZodType<CreatePagerDutyServiceEndpointDtoContext2$Outbound, z.ZodTypeDef, CreatePagerDutyServiceEndpointDtoContext2>;
58
+ export declare function createPagerDutyServiceEndpointDtoContext2ToJSON(createPagerDutyServiceEndpointDtoContext2: CreatePagerDutyServiceEndpointDtoContext2): string;
59
+ /** @internal */
60
+ export type CreatePagerDutyServiceEndpointDtoContext$Outbound = CreatePagerDutyServiceEndpointDtoContext2$Outbound | string;
61
+ /** @internal */
62
+ export declare const CreatePagerDutyServiceEndpointDtoContext$outboundSchema: z.ZodType<CreatePagerDutyServiceEndpointDtoContext$Outbound, z.ZodTypeDef, CreatePagerDutyServiceEndpointDtoContext>;
63
+ export declare function createPagerDutyServiceEndpointDtoContextToJSON(createPagerDutyServiceEndpointDtoContext: CreatePagerDutyServiceEndpointDtoContext): string;
64
+ /** @internal */
65
+ export type CreatePagerDutyServiceEndpointDto$Outbound = {
66
+ identifier?: string | undefined;
67
+ subscriberId: string;
68
+ createSubscriberIfMissing: boolean;
69
+ context?: {
70
+ [k: string]: CreatePagerDutyServiceEndpointDtoContext2$Outbound | string;
71
+ } | undefined;
72
+ integrationIdentifier: string;
73
+ connectionIdentifier?: string | undefined;
74
+ type: "pagerduty_service";
75
+ endpoint: PagerDutyServiceEndpointDto$Outbound;
76
+ };
77
+ /** @internal */
78
+ export declare const CreatePagerDutyServiceEndpointDto$outboundSchema: z.ZodType<CreatePagerDutyServiceEndpointDto$Outbound, z.ZodTypeDef, CreatePagerDutyServiceEndpointDto>;
79
+ export declare function createPagerDutyServiceEndpointDtoToJSON(createPagerDutyServiceEndpointDto: CreatePagerDutyServiceEndpointDto): string;
80
+ //# sourceMappingURL=createpagerdutyserviceendpointdto.d.ts.map