@novu/api 3.14.0 → 3.14.2-rc.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 (906) hide show
  1. package/README.md +56 -3
  2. package/funcs/activityTrack.js.map +1 -1
  3. package/funcs/cancel.js.map +1 -1
  4. package/funcs/channelConnectionsDelete.js.map +1 -1
  5. package/funcs/channelConnectionsRetrieve.js.map +1 -1
  6. package/funcs/channelConnectionsUpdate.js.map +1 -1
  7. package/funcs/channelEndpointsCreate.d.ts +2 -0
  8. package/funcs/channelEndpointsCreate.d.ts.map +1 -1
  9. package/funcs/channelEndpointsCreate.js +3 -1
  10. package/funcs/channelEndpointsCreate.js.map +1 -1
  11. package/funcs/channelEndpointsDelete.d.ts +2 -0
  12. package/funcs/channelEndpointsDelete.d.ts.map +1 -1
  13. package/funcs/channelEndpointsDelete.js +3 -1
  14. package/funcs/channelEndpointsDelete.js.map +1 -1
  15. package/funcs/channelEndpointsList.d.ts +2 -0
  16. package/funcs/channelEndpointsList.d.ts.map +1 -1
  17. package/funcs/channelEndpointsList.js +3 -1
  18. package/funcs/channelEndpointsList.js.map +1 -1
  19. package/funcs/channelEndpointsRetrieve.d.ts +2 -0
  20. package/funcs/channelEndpointsRetrieve.d.ts.map +1 -1
  21. package/funcs/channelEndpointsRetrieve.js +3 -1
  22. package/funcs/channelEndpointsRetrieve.js.map +1 -1
  23. package/funcs/channelEndpointsUpdate.d.ts +2 -0
  24. package/funcs/channelEndpointsUpdate.d.ts.map +1 -1
  25. package/funcs/channelEndpointsUpdate.js +3 -1
  26. package/funcs/channelEndpointsUpdate.js.map +1 -1
  27. package/funcs/contextsDelete.js.map +1 -1
  28. package/funcs/contextsRetrieve.js.map +1 -1
  29. package/funcs/contextsUpdate.js.map +1 -1
  30. package/funcs/environmentVariablesCreate.d.ts +19 -0
  31. package/funcs/environmentVariablesCreate.d.ts.map +1 -0
  32. package/funcs/environmentVariablesCreate.js +154 -0
  33. package/funcs/environmentVariablesCreate.js.map +1 -0
  34. package/funcs/environmentVariablesDelete.d.ts +18 -0
  35. package/funcs/environmentVariablesDelete.d.ts.map +1 -0
  36. package/funcs/environmentVariablesDelete.js +158 -0
  37. package/funcs/environmentVariablesDelete.js.map +1 -0
  38. package/funcs/environmentVariablesList.d.ts +18 -0
  39. package/funcs/environmentVariablesList.d.ts.map +1 -0
  40. package/funcs/environmentVariablesList.js +155 -0
  41. package/funcs/environmentVariablesList.js.map +1 -0
  42. package/funcs/environmentVariablesRetrieve.d.ts +18 -0
  43. package/funcs/environmentVariablesRetrieve.d.ts.map +1 -0
  44. package/funcs/environmentVariablesRetrieve.js +157 -0
  45. package/funcs/environmentVariablesRetrieve.js.map +1 -0
  46. package/funcs/environmentVariablesUpdate.d.ts +19 -0
  47. package/funcs/environmentVariablesUpdate.d.ts.map +1 -0
  48. package/funcs/environmentVariablesUpdate.js +161 -0
  49. package/funcs/environmentVariablesUpdate.js.map +1 -0
  50. package/funcs/environmentVariablesUsage.d.ts +18 -0
  51. package/funcs/environmentVariablesUsage.d.ts.map +1 -0
  52. package/funcs/environmentVariablesUsage.js +157 -0
  53. package/funcs/environmentVariablesUsage.js.map +1 -0
  54. package/funcs/environmentsDelete.js.map +1 -1
  55. package/funcs/environmentsDiff.d.ts +19 -0
  56. package/funcs/environmentsDiff.d.ts.map +1 -0
  57. package/funcs/environmentsDiff.js +156 -0
  58. package/funcs/environmentsDiff.js.map +1 -0
  59. package/funcs/environmentsGetTags.js.map +1 -1
  60. package/funcs/environmentsPublish.d.ts +19 -0
  61. package/funcs/environmentsPublish.d.ts.map +1 -0
  62. package/funcs/environmentsPublish.js +156 -0
  63. package/funcs/environmentsPublish.js.map +1 -0
  64. package/funcs/environmentsUpdate.js.map +1 -1
  65. package/funcs/integrationsDelete.js.map +1 -1
  66. package/funcs/integrationsIntegrationsControllerAutoConfigureIntegration.js.map +1 -1
  67. package/funcs/integrationsSetAsPrimary.js.map +1 -1
  68. package/funcs/integrationsUpdate.js.map +1 -1
  69. package/funcs/layoutsDelete.js.map +1 -1
  70. package/funcs/layoutsDuplicate.js.map +1 -1
  71. package/funcs/layoutsGeneratePreview.js.map +1 -1
  72. package/funcs/layoutsRetrieve.js.map +1 -1
  73. package/funcs/layoutsUpdate.js.map +1 -1
  74. package/funcs/layoutsUsage.js.map +1 -1
  75. package/funcs/messagesDelete.js.map +1 -1
  76. package/funcs/messagesDeleteByTransactionId.js.map +1 -1
  77. package/funcs/notificationsRetrieve.js.map +1 -1
  78. package/funcs/subscribersCredentialsAppend.js.map +1 -1
  79. package/funcs/subscribersCredentialsDelete.js.map +1 -1
  80. package/funcs/subscribersCredentialsUpdate.js.map +1 -1
  81. package/funcs/subscribersDelete.js.map +1 -1
  82. package/funcs/subscribersMessagesMarkAll.js.map +1 -1
  83. package/funcs/subscribersMessagesMarkAllAs.js.map +1 -1
  84. package/funcs/subscribersMessagesUpdateAsSeen.js.map +1 -1
  85. package/funcs/subscribersNotificationsArchive.d.ts +18 -0
  86. package/funcs/subscribersNotificationsArchive.d.ts.map +1 -0
  87. package/funcs/subscribersNotificationsArchive.js +159 -0
  88. package/funcs/subscribersNotificationsArchive.js.map +1 -0
  89. package/funcs/subscribersNotificationsArchiveAll.d.ts +19 -0
  90. package/funcs/subscribersNotificationsArchiveAll.d.ts.map +1 -0
  91. package/funcs/subscribersNotificationsArchiveAll.js +162 -0
  92. package/funcs/subscribersNotificationsArchiveAll.js.map +1 -0
  93. package/funcs/subscribersNotificationsArchiveAllRead.d.ts +19 -0
  94. package/funcs/subscribersNotificationsArchiveAllRead.d.ts.map +1 -0
  95. package/funcs/subscribersNotificationsArchiveAllRead.js +162 -0
  96. package/funcs/subscribersNotificationsArchiveAllRead.js.map +1 -0
  97. package/funcs/subscribersNotificationsCompleteAction.d.ts +18 -0
  98. package/funcs/subscribersNotificationsCompleteAction.d.ts.map +1 -0
  99. package/funcs/subscribersNotificationsCompleteAction.js +165 -0
  100. package/funcs/subscribersNotificationsCompleteAction.js.map +1 -0
  101. package/funcs/subscribersNotificationsCount.d.ts +19 -0
  102. package/funcs/subscribersNotificationsCount.d.ts.map +1 -0
  103. package/funcs/subscribersNotificationsCount.js +163 -0
  104. package/funcs/subscribersNotificationsCount.js.map +1 -0
  105. package/funcs/subscribersNotificationsDelete.d.ts +18 -0
  106. package/funcs/subscribersNotificationsDelete.d.ts.map +1 -0
  107. package/funcs/subscribersNotificationsDelete.js +160 -0
  108. package/funcs/subscribersNotificationsDelete.js.map +1 -0
  109. package/funcs/subscribersNotificationsDeleteAll.d.ts +19 -0
  110. package/funcs/subscribersNotificationsDeleteAll.d.ts.map +1 -0
  111. package/funcs/subscribersNotificationsDeleteAll.js +162 -0
  112. package/funcs/subscribersNotificationsDeleteAll.js.map +1 -0
  113. package/funcs/subscribersNotificationsFeed.js.map +1 -1
  114. package/funcs/subscribersNotificationsList.d.ts +19 -0
  115. package/funcs/subscribersNotificationsList.d.ts.map +1 -0
  116. package/funcs/subscribersNotificationsList.js +170 -0
  117. package/funcs/subscribersNotificationsList.js.map +1 -0
  118. package/funcs/subscribersNotificationsMarkAllAsRead.d.ts +19 -0
  119. package/funcs/subscribersNotificationsMarkAllAsRead.d.ts.map +1 -0
  120. package/funcs/subscribersNotificationsMarkAllAsRead.js +162 -0
  121. package/funcs/subscribersNotificationsMarkAllAsRead.js.map +1 -0
  122. package/funcs/subscribersNotificationsMarkAsRead.d.ts +18 -0
  123. package/funcs/subscribersNotificationsMarkAsRead.d.ts.map +1 -0
  124. package/funcs/subscribersNotificationsMarkAsRead.js +161 -0
  125. package/funcs/subscribersNotificationsMarkAsRead.js.map +1 -0
  126. package/funcs/subscribersNotificationsMarkAsSeen.d.ts +19 -0
  127. package/funcs/subscribersNotificationsMarkAsSeen.d.ts.map +1 -0
  128. package/funcs/subscribersNotificationsMarkAsSeen.js +160 -0
  129. package/funcs/subscribersNotificationsMarkAsSeen.js.map +1 -0
  130. package/funcs/subscribersNotificationsMarkAsUnread.d.ts +18 -0
  131. package/funcs/subscribersNotificationsMarkAsUnread.d.ts.map +1 -0
  132. package/funcs/subscribersNotificationsMarkAsUnread.js +161 -0
  133. package/funcs/subscribersNotificationsMarkAsUnread.js.map +1 -0
  134. package/funcs/subscribersNotificationsRevertAction.d.ts +18 -0
  135. package/funcs/subscribersNotificationsRevertAction.d.ts.map +1 -0
  136. package/funcs/subscribersNotificationsRevertAction.js +165 -0
  137. package/funcs/subscribersNotificationsRevertAction.js.map +1 -0
  138. package/funcs/subscribersNotificationsSnooze.d.ts +18 -0
  139. package/funcs/subscribersNotificationsSnooze.d.ts.map +1 -0
  140. package/funcs/subscribersNotificationsSnooze.js +162 -0
  141. package/funcs/subscribersNotificationsSnooze.js.map +1 -0
  142. package/funcs/subscribersNotificationsUnarchive.d.ts +18 -0
  143. package/funcs/subscribersNotificationsUnarchive.d.ts.map +1 -0
  144. package/funcs/subscribersNotificationsUnarchive.js +160 -0
  145. package/funcs/subscribersNotificationsUnarchive.js.map +1 -0
  146. package/funcs/subscribersNotificationsUnseenCount.js.map +1 -1
  147. package/funcs/subscribersNotificationsUnsnooze.d.ts +18 -0
  148. package/funcs/subscribersNotificationsUnsnooze.d.ts.map +1 -0
  149. package/funcs/subscribersNotificationsUnsnooze.js +160 -0
  150. package/funcs/subscribersNotificationsUnsnooze.js.map +1 -0
  151. package/funcs/subscribersPatch.js.map +1 -1
  152. package/funcs/subscribersPreferencesBulkUpdate.js.map +1 -1
  153. package/funcs/subscribersPreferencesList.js.map +1 -1
  154. package/funcs/subscribersPreferencesUpdate.js.map +1 -1
  155. package/funcs/subscribersPropertiesUpdateOnlineFlag.js.map +1 -1
  156. package/funcs/subscribersRetrieve.js.map +1 -1
  157. package/funcs/subscribersTopicsList.js.map +1 -1
  158. package/funcs/topicsDelete.js.map +1 -1
  159. package/funcs/topicsGet.js.map +1 -1
  160. package/funcs/topicsSubscribersRetrieve.js.map +1 -1
  161. package/funcs/topicsSubscriptionsCreate.js.map +1 -1
  162. package/funcs/topicsSubscriptionsDelete.js.map +1 -1
  163. package/funcs/topicsSubscriptionsGetSubscription.js.map +1 -1
  164. package/funcs/topicsSubscriptionsList.js.map +1 -1
  165. package/funcs/topicsSubscriptionsUpdate.js.map +1 -1
  166. package/funcs/topicsUpdate.js.map +1 -1
  167. package/funcs/translationsCreate.d.ts +2 -0
  168. package/funcs/translationsCreate.d.ts.map +1 -1
  169. package/funcs/translationsCreate.js +3 -1
  170. package/funcs/translationsCreate.js.map +1 -1
  171. package/funcs/translationsDelete.d.ts +2 -0
  172. package/funcs/translationsDelete.d.ts.map +1 -1
  173. package/funcs/translationsDelete.js +3 -1
  174. package/funcs/translationsDelete.js.map +1 -1
  175. package/funcs/translationsGroupsDelete.d.ts +2 -0
  176. package/funcs/translationsGroupsDelete.d.ts.map +1 -1
  177. package/funcs/translationsGroupsDelete.js +3 -1
  178. package/funcs/translationsGroupsDelete.js.map +1 -1
  179. package/funcs/translationsGroupsRetrieve.d.ts +2 -0
  180. package/funcs/translationsGroupsRetrieve.d.ts.map +1 -1
  181. package/funcs/translationsGroupsRetrieve.js +3 -1
  182. package/funcs/translationsGroupsRetrieve.js.map +1 -1
  183. package/funcs/translationsMasterImport.d.ts +2 -0
  184. package/funcs/translationsMasterImport.d.ts.map +1 -1
  185. package/funcs/translationsMasterImport.js +3 -1
  186. package/funcs/translationsMasterImport.js.map +1 -1
  187. package/funcs/translationsMasterRetrieve.d.ts +2 -0
  188. package/funcs/translationsMasterRetrieve.d.ts.map +1 -1
  189. package/funcs/translationsMasterRetrieve.js +3 -1
  190. package/funcs/translationsMasterRetrieve.js.map +1 -1
  191. package/funcs/translationsMasterUpload.d.ts +2 -0
  192. package/funcs/translationsMasterUpload.d.ts.map +1 -1
  193. package/funcs/translationsMasterUpload.js +8 -5
  194. package/funcs/translationsMasterUpload.js.map +1 -1
  195. package/funcs/translationsRetrieve.d.ts +2 -0
  196. package/funcs/translationsRetrieve.d.ts.map +1 -1
  197. package/funcs/translationsRetrieve.js +3 -1
  198. package/funcs/translationsRetrieve.js.map +1 -1
  199. package/funcs/translationsUpload.d.ts +2 -0
  200. package/funcs/translationsUpload.d.ts.map +1 -1
  201. package/funcs/translationsUpload.js +9 -6
  202. package/funcs/translationsUpload.js.map +1 -1
  203. package/funcs/workflowsDelete.js.map +1 -1
  204. package/funcs/workflowsGet.js.map +1 -1
  205. package/funcs/workflowsPatch.js.map +1 -1
  206. package/funcs/workflowsStepsGeneratePreview.d.ts +18 -0
  207. package/funcs/workflowsStepsGeneratePreview.d.ts.map +1 -0
  208. package/funcs/workflowsStepsGeneratePreview.js +157 -0
  209. package/funcs/workflowsStepsGeneratePreview.js.map +1 -0
  210. package/funcs/workflowsStepsRetrieve.js.map +1 -1
  211. package/funcs/workflowsSync.js.map +1 -1
  212. package/funcs/workflowsUpdate.js.map +1 -1
  213. package/jsr.json +1 -1
  214. package/lib/config.d.ts +4 -4
  215. package/lib/config.js +4 -4
  216. package/lib/config.js.map +1 -1
  217. package/lib/encodings.d.ts.map +1 -1
  218. package/lib/encodings.js +20 -5
  219. package/lib/encodings.js.map +1 -1
  220. package/lib/files.d.ts +13 -0
  221. package/lib/files.d.ts.map +1 -1
  222. package/lib/files.js +19 -0
  223. package/lib/files.js.map +1 -1
  224. package/lib/matchers.d.ts.map +1 -1
  225. package/lib/matchers.js +0 -1
  226. package/lib/matchers.js.map +1 -1
  227. package/lib/sdks.d.ts.map +1 -1
  228. package/lib/sdks.js +8 -4
  229. package/lib/sdks.js.map +1 -1
  230. package/lib/security.d.ts +1 -1
  231. package/lib/security.d.ts.map +1 -1
  232. package/lib/security.js +20 -10
  233. package/lib/security.js.map +1 -1
  234. package/lib/url.d.ts.map +1 -1
  235. package/lib/url.js +4 -2
  236. package/lib/url.js.map +1 -1
  237. package/models/components/activitynotificationjobresponsedto.d.ts +1 -0
  238. package/models/components/activitynotificationjobresponsedto.d.ts.map +1 -1
  239. package/models/components/activitynotificationjobresponsedto.js +1 -0
  240. package/models/components/activitynotificationjobresponsedto.js.map +1 -1
  241. package/models/components/chatrenderoutput.d.ts +13 -0
  242. package/models/components/chatrenderoutput.d.ts.map +1 -0
  243. package/models/components/chatrenderoutput.js +50 -0
  244. package/models/components/chatrenderoutput.js.map +1 -0
  245. package/models/components/chatstepresponsedto.d.ts +4 -0
  246. package/models/components/chatstepresponsedto.d.ts.map +1 -1
  247. package/models/components/chatstepresponsedto.js +1 -0
  248. package/models/components/chatstepresponsedto.js.map +1 -1
  249. package/models/components/contentissueenum.d.ts +1 -0
  250. package/models/components/contentissueenum.d.ts.map +1 -1
  251. package/models/components/contentissueenum.js +1 -0
  252. package/models/components/contentissueenum.js.map +1 -1
  253. package/models/components/createenvironmentvariablerequestdto.d.ts +41 -0
  254. package/models/components/createenvironmentvariablerequestdto.d.ts.map +1 -0
  255. package/models/components/createenvironmentvariablerequestdto.js +62 -0
  256. package/models/components/createenvironmentvariablerequestdto.js.map +1 -0
  257. package/models/components/createworkflowdto.d.ts +5 -4
  258. package/models/components/createworkflowdto.d.ts.map +1 -1
  259. package/models/components/createworkflowdto.js +3 -0
  260. package/models/components/createworkflowdto.js.map +1 -1
  261. package/models/components/customstepresponsedto.d.ts +4 -0
  262. package/models/components/customstepresponsedto.d.ts.map +1 -1
  263. package/models/components/customstepresponsedto.js +1 -0
  264. package/models/components/customstepresponsedto.js.map +1 -1
  265. package/models/components/delaystepresponsedto.d.ts +4 -0
  266. package/models/components/delaystepresponsedto.d.ts.map +1 -1
  267. package/models/components/delaystepresponsedto.js +1 -0
  268. package/models/components/delaystepresponsedto.js.map +1 -1
  269. package/models/components/dependencyreasonenum.d.ts +16 -0
  270. package/models/components/dependencyreasonenum.d.ts.map +1 -0
  271. package/models/components/dependencyreasonenum.js +50 -0
  272. package/models/components/dependencyreasonenum.js.map +1 -0
  273. package/models/components/diffactionenum.d.ts +19 -0
  274. package/models/components/diffactionenum.d.ts.map +1 -0
  275. package/models/components/diffactionenum.js +53 -0
  276. package/models/components/diffactionenum.js.map +1 -0
  277. package/models/components/diffenvironmentrequestdto.d.ts +15 -0
  278. package/models/components/diffenvironmentrequestdto.d.ts.map +1 -0
  279. package/models/components/diffenvironmentrequestdto.js +49 -0
  280. package/models/components/diffenvironmentrequestdto.js.map +1 -0
  281. package/models/components/diffenvironmentresponsedto.d.ts +27 -0
  282. package/models/components/diffenvironmentresponsedto.d.ts.map +1 -0
  283. package/models/components/diffenvironmentresponsedto.js +55 -0
  284. package/models/components/diffenvironmentresponsedto.js.map +1 -0
  285. package/models/components/diffsummarydto.d.ts +25 -0
  286. package/models/components/diffsummarydto.d.ts.map +1 -0
  287. package/models/components/diffsummarydto.js +53 -0
  288. package/models/components/diffsummarydto.js.map +1 -0
  289. package/models/components/digestregularoutput.d.ts +33 -0
  290. package/models/components/digestregularoutput.d.ts.map +1 -0
  291. package/models/components/digestregularoutput.js +60 -0
  292. package/models/components/digestregularoutput.js.map +1 -0
  293. package/models/components/digeststepresponsedto.d.ts +4 -0
  294. package/models/components/digeststepresponsedto.d.ts.map +1 -1
  295. package/models/components/digeststepresponsedto.js +1 -0
  296. package/models/components/digeststepresponsedto.js.map +1 -1
  297. package/models/components/emailrenderoutput.d.ts +17 -0
  298. package/models/components/emailrenderoutput.d.ts.map +1 -0
  299. package/models/components/emailrenderoutput.js +51 -0
  300. package/models/components/emailrenderoutput.js.map +1 -0
  301. package/models/components/emailstepresponsedto.d.ts +4 -0
  302. package/models/components/emailstepresponsedto.d.ts.map +1 -1
  303. package/models/components/emailstepresponsedto.js +1 -0
  304. package/models/components/emailstepresponsedto.js.map +1 -1
  305. package/models/components/environmentdiffsummarydto.d.ts +21 -0
  306. package/models/components/environmentdiffsummarydto.d.ts.map +1 -0
  307. package/models/components/environmentdiffsummarydto.js +52 -0
  308. package/models/components/environmentdiffsummarydto.js.map +1 -0
  309. package/models/components/environmentvariableresponsedto.d.ts +25 -0
  310. package/models/components/environmentvariableresponsedto.d.ts.map +1 -0
  311. package/models/components/environmentvariableresponsedto.js +69 -0
  312. package/models/components/environmentvariableresponsedto.js.map +1 -0
  313. package/models/components/environmentvariablevaluedto.d.ts +14 -0
  314. package/models/components/environmentvariablevaluedto.d.ts.map +1 -0
  315. package/models/components/environmentvariablevaluedto.js +55 -0
  316. package/models/components/environmentvariablevaluedto.js.map +1 -0
  317. package/models/components/environmentvariablevalueresponsedto.d.ts +14 -0
  318. package/models/components/environmentvariablevalueresponsedto.d.ts.map +1 -0
  319. package/models/components/environmentvariablevalueresponsedto.js +56 -0
  320. package/models/components/environmentvariablevalueresponsedto.js.map +1 -0
  321. package/models/components/environmentvariableworkflowinfodto.d.ts +17 -0
  322. package/models/components/environmentvariableworkflowinfodto.d.ts.map +1 -0
  323. package/models/components/environmentvariableworkflowinfodto.js +51 -0
  324. package/models/components/environmentvariableworkflowinfodto.js.map +1 -0
  325. package/models/components/failedworkflowdto.d.ts +30 -0
  326. package/models/components/failedworkflowdto.d.ts.map +1 -0
  327. package/models/components/failedworkflowdto.js +55 -0
  328. package/models/components/failedworkflowdto.js.map +1 -0
  329. package/models/components/generatepreviewrequestdto.d.ts +25 -0
  330. package/models/components/generatepreviewrequestdto.d.ts.map +1 -0
  331. package/models/components/generatepreviewrequestdto.js +51 -0
  332. package/models/components/generatepreviewrequestdto.js.map +1 -0
  333. package/models/components/generatepreviewresponsedto.d.ts +157 -0
  334. package/models/components/generatepreviewresponsedto.d.ts.map +1 -0
  335. package/models/components/generatepreviewresponsedto.js +210 -0
  336. package/models/components/generatepreviewresponsedto.js.map +1 -0
  337. package/models/components/getenvironmentvariableusageresponsedto.d.ts +14 -0
  338. package/models/components/getenvironmentvariableusageresponsedto.d.ts.map +1 -0
  339. package/models/components/getenvironmentvariableusageresponsedto.js +51 -0
  340. package/models/components/getenvironmentvariableusageresponsedto.js.map +1 -0
  341. package/models/components/getsubscribernotificationscountresponsedto.d.ts +19 -0
  342. package/models/components/getsubscribernotificationscountresponsedto.d.ts.map +1 -0
  343. package/models/components/getsubscribernotificationscountresponsedto.js +51 -0
  344. package/models/components/getsubscribernotificationscountresponsedto.js.map +1 -0
  345. package/models/components/getsubscribernotificationsresponsedto.d.ts +29 -0
  346. package/models/components/getsubscribernotificationsresponsedto.d.ts.map +1 -0
  347. package/models/components/getsubscribernotificationsresponsedto.js +60 -0
  348. package/models/components/getsubscribernotificationsresponsedto.js.map +1 -0
  349. package/models/components/httpmethodenum.d.ts +21 -0
  350. package/models/components/httpmethodenum.d.ts.map +1 -0
  351. package/models/components/httpmethodenum.js +55 -0
  352. package/models/components/httpmethodenum.js.map +1 -0
  353. package/models/components/httprequestcontroldto.d.ts +56 -0
  354. package/models/components/httprequestcontroldto.d.ts.map +1 -0
  355. package/models/components/httprequestcontroldto.js +72 -0
  356. package/models/components/httprequestcontroldto.js.map +1 -0
  357. package/models/components/httprequestcontrolsmetadataresponsedto.d.ts +25 -0
  358. package/models/components/httprequestcontrolsmetadataresponsedto.d.ts.map +1 -0
  359. package/models/components/httprequestcontrolsmetadataresponsedto.js +54 -0
  360. package/models/components/httprequestcontrolsmetadataresponsedto.js.map +1 -0
  361. package/models/components/httprequestkeyvaluepairdto.d.ts +25 -0
  362. package/models/components/httprequestkeyvaluepairdto.d.ts.map +1 -0
  363. package/models/components/httprequestkeyvaluepairdto.js +60 -0
  364. package/models/components/httprequestkeyvaluepairdto.js.map +1 -0
  365. package/models/components/httprequeststepresponsedto.d.ts +109 -0
  366. package/models/components/httprequeststepresponsedto.d.ts.map +1 -0
  367. package/models/components/httprequeststepresponsedto.js +86 -0
  368. package/models/components/httprequeststepresponsedto.js.map +1 -0
  369. package/models/components/httprequeststepupsertdto.d.ts +53 -0
  370. package/models/components/httprequeststepupsertdto.d.ts.map +1 -0
  371. package/models/components/httprequeststepupsertdto.js +68 -0
  372. package/models/components/httprequeststepupsertdto.js.map +1 -0
  373. package/models/components/inapprenderoutput.d.ts +41 -0
  374. package/models/components/inapprenderoutput.d.ts.map +1 -0
  375. package/models/components/inapprenderoutput.js +58 -0
  376. package/models/components/inapprenderoutput.js.map +1 -0
  377. package/models/components/inappstepresponsedto.d.ts +4 -0
  378. package/models/components/inappstepresponsedto.d.ts.map +1 -1
  379. package/models/components/inappstepresponsedto.js +1 -0
  380. package/models/components/inappstepresponsedto.js.map +1 -1
  381. package/models/components/inboxactiondto.d.ts +22 -0
  382. package/models/components/inboxactiondto.d.ts.map +1 -0
  383. package/models/components/inboxactiondto.js +53 -0
  384. package/models/components/inboxactiondto.js.map +1 -0
  385. package/models/components/inboxnotificationdto.d.ts +113 -0
  386. package/models/components/inboxnotificationdto.d.ts.map +1 -0
  387. package/models/components/inboxnotificationdto.js +79 -0
  388. package/models/components/inboxnotificationdto.js.map +1 -0
  389. package/models/components/inboxsubscriberresponsedto.d.ts +29 -0
  390. package/models/components/inboxsubscriberresponsedto.d.ts.map +1 -0
  391. package/models/components/inboxsubscriberresponsedto.js +54 -0
  392. package/models/components/inboxsubscriberresponsedto.js.map +1 -0
  393. package/models/components/index.d.ts +51 -0
  394. package/models/components/index.d.ts.map +1 -1
  395. package/models/components/index.js +51 -0
  396. package/models/components/index.js.map +1 -1
  397. package/models/components/integrationresponsedto.d.ts +3 -3
  398. package/models/components/integrationresponsedto.js +1 -1
  399. package/models/components/marksubscribernotificationsasseendto.d.ts +30 -0
  400. package/models/components/marksubscribernotificationsasseendto.d.ts.map +1 -0
  401. package/models/components/marksubscribernotificationsasseendto.js +52 -0
  402. package/models/components/marksubscribernotificationsasseendto.js.map +1 -0
  403. package/models/components/notificationworkflowdto.d.ts +40 -0
  404. package/models/components/notificationworkflowdto.d.ts.map +1 -0
  405. package/models/components/notificationworkflowdto.js +57 -0
  406. package/models/components/notificationworkflowdto.js.map +1 -0
  407. package/models/components/previewerrordto.d.ts +21 -0
  408. package/models/components/previewerrordto.d.ts.map +1 -0
  409. package/models/components/previewerrordto.js +52 -0
  410. package/models/components/previewerrordto.js.map +1 -0
  411. package/models/components/previewpayloaddto.d.ts +88 -0
  412. package/models/components/previewpayloaddto.d.ts.map +1 -0
  413. package/models/components/previewpayloaddto.js +109 -0
  414. package/models/components/previewpayloaddto.js.map +1 -0
  415. package/models/components/publishenvironmentrequestdto.d.ts +26 -0
  416. package/models/components/publishenvironmentrequestdto.d.ts.map +1 -0
  417. package/models/components/publishenvironmentrequestdto.js +52 -0
  418. package/models/components/publishenvironmentrequestdto.js.map +1 -0
  419. package/models/components/publishenvironmentresponsedto.d.ts +19 -0
  420. package/models/components/publishenvironmentresponsedto.d.ts.map +1 -0
  421. package/models/components/publishenvironmentresponsedto.js +53 -0
  422. package/models/components/publishenvironmentresponsedto.js.map +1 -0
  423. package/models/components/publishsummarydto.d.ts +25 -0
  424. package/models/components/publishsummarydto.d.ts.map +1 -0
  425. package/models/components/publishsummarydto.js +53 -0
  426. package/models/components/publishsummarydto.js.map +1 -0
  427. package/models/components/pushrenderoutput.d.ts +17 -0
  428. package/models/components/pushrenderoutput.d.ts.map +1 -0
  429. package/models/components/pushrenderoutput.js +51 -0
  430. package/models/components/pushrenderoutput.js.map +1 -0
  431. package/models/components/pushstepresponsedto.d.ts +4 -0
  432. package/models/components/pushstepresponsedto.d.ts.map +1 -1
  433. package/models/components/pushstepresponsedto.js +1 -0
  434. package/models/components/pushstepresponsedto.js.map +1 -1
  435. package/models/components/redirectdto.d.ts +7 -7
  436. package/models/components/redirectdto.d.ts.map +1 -1
  437. package/models/components/redirectdto.js +5 -5
  438. package/models/components/redirectdto.js.map +1 -1
  439. package/models/components/resourcedependencydto.d.ts +31 -0
  440. package/models/components/resourcedependencydto.d.ts.map +1 -0
  441. package/models/components/resourcedependencydto.js +56 -0
  442. package/models/components/resourcedependencydto.js.map +1 -0
  443. package/models/components/resourcediffdto.d.ts +159 -0
  444. package/models/components/resourcediffdto.d.ts.map +1 -0
  445. package/models/components/resourcediffdto.js +123 -0
  446. package/models/components/resourcediffdto.js.map +1 -0
  447. package/models/components/resourcediffresultdto.d.ts +133 -0
  448. package/models/components/resourcediffresultdto.d.ts.map +1 -0
  449. package/models/components/resourcediffresultdto.js +114 -0
  450. package/models/components/resourcediffresultdto.js.map +1 -0
  451. package/models/components/resourcetopublishdto.d.ts +21 -0
  452. package/models/components/resourcetopublishdto.d.ts.map +1 -0
  453. package/models/components/resourcetopublishdto.js +51 -0
  454. package/models/components/resourcetopublishdto.js.map +1 -0
  455. package/models/components/resourcetypeenum.d.ts +2 -0
  456. package/models/components/resourcetypeenum.d.ts.map +1 -1
  457. package/models/components/resourcetypeenum.js +3 -1
  458. package/models/components/resourcetypeenum.js.map +1 -1
  459. package/models/components/runtimeissuedto.d.ts +1 -16
  460. package/models/components/runtimeissuedto.d.ts.map +1 -1
  461. package/models/components/runtimeissuedto.js +2 -16
  462. package/models/components/runtimeissuedto.js.map +1 -1
  463. package/models/components/skippedworkflowdto.d.ts +26 -0
  464. package/models/components/skippedworkflowdto.d.ts.map +1 -0
  465. package/models/components/skippedworkflowdto.js +54 -0
  466. package/models/components/skippedworkflowdto.js.map +1 -0
  467. package/models/components/smsrenderoutput.d.ts +13 -0
  468. package/models/components/smsrenderoutput.d.ts.map +1 -0
  469. package/models/components/smsrenderoutput.js +50 -0
  470. package/models/components/smsrenderoutput.js.map +1 -0
  471. package/models/components/smsstepresponsedto.d.ts +4 -0
  472. package/models/components/smsstepresponsedto.d.ts.map +1 -1
  473. package/models/components/smsstepresponsedto.js +1 -0
  474. package/models/components/smsstepresponsedto.js.map +1 -1
  475. package/models/components/snoozesubscribernotificationdto.d.ts +15 -0
  476. package/models/components/snoozesubscribernotificationdto.d.ts.map +1 -0
  477. package/models/components/snoozesubscribernotificationdto.js +49 -0
  478. package/models/components/snoozesubscribernotificationdto.js.map +1 -0
  479. package/models/components/stepresponsedto.d.ts +4 -0
  480. package/models/components/stepresponsedto.d.ts.map +1 -1
  481. package/models/components/stepresponsedto.js +1 -0
  482. package/models/components/stepresponsedto.js.map +1 -1
  483. package/models/components/syncactionenum.d.ts +18 -0
  484. package/models/components/syncactionenum.d.ts.map +1 -0
  485. package/models/components/syncactionenum.js +52 -0
  486. package/models/components/syncactionenum.js.map +1 -0
  487. package/models/components/syncedworkflowdto.d.ts +27 -0
  488. package/models/components/syncedworkflowdto.d.ts.map +1 -0
  489. package/models/components/syncedworkflowdto.js +55 -0
  490. package/models/components/syncedworkflowdto.js.map +1 -0
  491. package/models/components/syncresultdto.d.ts +33 -0
  492. package/models/components/syncresultdto.d.ts.map +1 -0
  493. package/models/components/syncresultdto.js +58 -0
  494. package/models/components/syncresultdto.js.map +1 -0
  495. package/models/components/throttlestepresponsedto.d.ts +4 -0
  496. package/models/components/throttlestepresponsedto.d.ts.map +1 -1
  497. package/models/components/throttlestepresponsedto.js +1 -0
  498. package/models/components/throttlestepresponsedto.js.map +1 -1
  499. package/models/components/timeunitenum.d.ts +20 -0
  500. package/models/components/timeunitenum.d.ts.map +1 -0
  501. package/models/components/timeunitenum.js +54 -0
  502. package/models/components/timeunitenum.js.map +1 -0
  503. package/models/components/triggereventresponsedto.d.ts +4 -0
  504. package/models/components/triggereventresponsedto.d.ts.map +1 -1
  505. package/models/components/triggereventresponsedto.js +1 -0
  506. package/models/components/triggereventresponsedto.js.map +1 -1
  507. package/models/components/uicomponentenum.d.ts +11 -3
  508. package/models/components/uicomponentenum.d.ts.map +1 -1
  509. package/models/components/uicomponentenum.js +10 -2
  510. package/models/components/uicomponentenum.js.map +1 -1
  511. package/models/components/uischemagroupenum.d.ts +1 -0
  512. package/models/components/uischemagroupenum.d.ts.map +1 -1
  513. package/models/components/uischemagroupenum.js +1 -0
  514. package/models/components/uischemagroupenum.js.map +1 -1
  515. package/models/components/updateallsubscribernotificationsdto.d.ts +25 -0
  516. package/models/components/updateallsubscribernotificationsdto.d.ts.map +1 -0
  517. package/models/components/updateallsubscribernotificationsdto.js +51 -0
  518. package/models/components/updateallsubscribernotificationsdto.js.map +1 -0
  519. package/models/components/updateenvironmentvariablerequestdto.d.ts +38 -0
  520. package/models/components/updateenvironmentvariablerequestdto.d.ts.map +1 -0
  521. package/models/components/updateenvironmentvariablerequestdto.js +62 -0
  522. package/models/components/updateenvironmentvariablerequestdto.js.map +1 -0
  523. package/models/components/updatelayoutdto.d.ts +2 -2
  524. package/models/components/updateworkflowdto.d.ts +5 -4
  525. package/models/components/updateworkflowdto.d.ts.map +1 -1
  526. package/models/components/updateworkflowdto.js +3 -0
  527. package/models/components/updateworkflowdto.js.map +1 -1
  528. package/models/components/workflowcreationsourceenum.d.ts +1 -0
  529. package/models/components/workflowcreationsourceenum.d.ts.map +1 -1
  530. package/models/components/workflowcreationsourceenum.js +1 -0
  531. package/models/components/workflowcreationsourceenum.js.map +1 -1
  532. package/models/components/workflowresponsedto.d.ts +3 -2
  533. package/models/components/workflowresponsedto.d.ts.map +1 -1
  534. package/models/components/workflowresponsedto.js +3 -0
  535. package/models/components/workflowresponsedto.js.map +1 -1
  536. package/models/operations/environmentscontrollerdiffenvironment.d.ts +37 -0
  537. package/models/operations/environmentscontrollerdiffenvironment.d.ts.map +1 -0
  538. package/models/operations/environmentscontrollerdiffenvironment.js +73 -0
  539. package/models/operations/environmentscontrollerdiffenvironment.js.map +1 -0
  540. package/models/operations/environmentscontrollerpublishenvironment.d.ts +37 -0
  541. package/models/operations/environmentscontrollerpublishenvironment.d.ts.map +1 -0
  542. package/models/operations/environmentscontrollerpublishenvironment.js +73 -0
  543. package/models/operations/environmentscontrollerpublishenvironment.js.map +1 -0
  544. package/models/operations/environmentvariablescontrollercreateenvironmentvariable.d.ts +29 -0
  545. package/models/operations/environmentvariablescontrollercreateenvironmentvariable.d.ts.map +1 -0
  546. package/models/operations/environmentvariablescontrollercreateenvironmentvariable.js +74 -0
  547. package/models/operations/environmentvariablescontrollercreateenvironmentvariable.js.map +1 -0
  548. package/models/operations/environmentvariablescontrollerdeleteenvironmentvariable.d.ts +27 -0
  549. package/models/operations/environmentvariablescontrollerdeleteenvironmentvariable.d.ts.map +1 -0
  550. package/models/operations/environmentvariablescontrollerdeleteenvironmentvariable.js +70 -0
  551. package/models/operations/environmentvariablescontrollerdeleteenvironmentvariable.js.map +1 -0
  552. package/models/operations/environmentvariablescontrollergetenvironmentvariable.d.ts +29 -0
  553. package/models/operations/environmentvariablescontrollergetenvironmentvariable.d.ts.map +1 -0
  554. package/models/operations/environmentvariablescontrollergetenvironmentvariable.js +73 -0
  555. package/models/operations/environmentvariablescontrollergetenvironmentvariable.js.map +1 -0
  556. package/models/operations/environmentvariablescontrollergetenvironmentvariableusage.d.ts +29 -0
  557. package/models/operations/environmentvariablescontrollergetenvironmentvariableusage.d.ts.map +1 -0
  558. package/models/operations/environmentvariablescontrollergetenvironmentvariableusage.js +73 -0
  559. package/models/operations/environmentvariablescontrollergetenvironmentvariableusage.js.map +1 -0
  560. package/models/operations/environmentvariablescontrollerlistenvironmentvariables.d.ts +32 -0
  561. package/models/operations/environmentvariablescontrollerlistenvironmentvariables.d.ts.map +1 -0
  562. package/models/operations/environmentvariablescontrollerlistenvironmentvariables.js +73 -0
  563. package/models/operations/environmentvariablescontrollerlistenvironmentvariables.js.map +1 -0
  564. package/models/operations/environmentvariablescontrollerupdateenvironmentvariable.d.ts +31 -0
  565. package/models/operations/environmentvariablescontrollerupdateenvironmentvariable.d.ts.map +1 -0
  566. package/models/operations/environmentvariablescontrollerupdateenvironmentvariable.js +75 -0
  567. package/models/operations/environmentvariablescontrollerupdateenvironmentvariable.js.map +1 -0
  568. package/models/operations/index.d.ts +25 -0
  569. package/models/operations/index.d.ts.map +1 -1
  570. package/models/operations/index.js +25 -0
  571. package/models/operations/index.js.map +1 -1
  572. package/models/operations/subscriberscontrollerarchiveallnotifications.d.ts +33 -0
  573. package/models/operations/subscriberscontrollerarchiveallnotifications.d.ts.map +1 -0
  574. package/models/operations/subscriberscontrollerarchiveallnotifications.js +71 -0
  575. package/models/operations/subscriberscontrollerarchiveallnotifications.js.map +1 -0
  576. package/models/operations/subscriberscontrollerarchiveallreadnotifications.d.ts +33 -0
  577. package/models/operations/subscriberscontrollerarchiveallreadnotifications.d.ts.map +1 -0
  578. package/models/operations/subscriberscontrollerarchiveallreadnotifications.js +73 -0
  579. package/models/operations/subscriberscontrollerarchiveallreadnotifications.js.map +1 -0
  580. package/models/operations/subscriberscontrollerarchivenotification.d.ts +42 -0
  581. package/models/operations/subscriberscontrollerarchivenotification.d.ts.map +1 -0
  582. package/models/operations/subscriberscontrollerarchivenotification.js +73 -0
  583. package/models/operations/subscriberscontrollerarchivenotification.js.map +1 -0
  584. package/models/operations/subscriberscontrollerbulkupdatesubscriberpreferences.d.ts +3 -0
  585. package/models/operations/subscriberscontrollerbulkupdatesubscriberpreferences.d.ts.map +1 -1
  586. package/models/operations/subscriberscontrollerbulkupdatesubscriberpreferences.js.map +1 -1
  587. package/models/operations/subscriberscontrollercompletenotificationaction.d.ts +61 -0
  588. package/models/operations/subscriberscontrollercompletenotificationaction.d.ts.map +1 -0
  589. package/models/operations/subscriberscontrollercompletenotificationaction.js +85 -0
  590. package/models/operations/subscriberscontrollercompletenotificationaction.js.map +1 -0
  591. package/models/operations/subscriberscontrollerdeleteallnotifications.d.ts +33 -0
  592. package/models/operations/subscriberscontrollerdeleteallnotifications.d.ts.map +1 -0
  593. package/models/operations/subscriberscontrollerdeleteallnotifications.js +71 -0
  594. package/models/operations/subscriberscontrollerdeleteallnotifications.js.map +1 -0
  595. package/models/operations/subscriberscontrollerdeletenotification.d.ts +40 -0
  596. package/models/operations/subscriberscontrollerdeletenotification.d.ts.map +1 -0
  597. package/models/operations/subscriberscontrollerdeletenotification.js +70 -0
  598. package/models/operations/subscriberscontrollerdeletenotification.js.map +1 -0
  599. package/models/operations/subscriberscontrollergetsubscriber.d.ts +3 -0
  600. package/models/operations/subscriberscontrollergetsubscriber.d.ts.map +1 -1
  601. package/models/operations/subscriberscontrollergetsubscriber.js.map +1 -1
  602. package/models/operations/subscriberscontrollergetsubscribernotifications.d.ts +98 -0
  603. package/models/operations/subscriberscontrollergetsubscribernotifications.d.ts.map +1 -0
  604. package/models/operations/subscriberscontrollergetsubscribernotifications.js +94 -0
  605. package/models/operations/subscriberscontrollergetsubscribernotifications.js.map +1 -0
  606. package/models/operations/subscriberscontrollergetsubscribernotificationscount.d.ts +37 -0
  607. package/models/operations/subscriberscontrollergetsubscribernotificationscount.d.ts.map +1 -0
  608. package/models/operations/subscriberscontrollergetsubscribernotificationscount.js +74 -0
  609. package/models/operations/subscriberscontrollergetsubscribernotificationscount.js.map +1 -0
  610. package/models/operations/subscriberscontrollergetsubscriberpreferences.d.ts +3 -0
  611. package/models/operations/subscriberscontrollergetsubscriberpreferences.d.ts.map +1 -1
  612. package/models/operations/subscriberscontrollergetsubscriberpreferences.js.map +1 -1
  613. package/models/operations/subscriberscontrollermarkallnotificationsasread.d.ts +33 -0
  614. package/models/operations/subscriberscontrollermarkallnotificationsasread.d.ts.map +1 -0
  615. package/models/operations/subscriberscontrollermarkallnotificationsasread.js +72 -0
  616. package/models/operations/subscriberscontrollermarkallnotificationsasread.js.map +1 -0
  617. package/models/operations/subscriberscontrollermarknotificationasread.d.ts +42 -0
  618. package/models/operations/subscriberscontrollermarknotificationasread.d.ts.map +1 -0
  619. package/models/operations/subscriberscontrollermarknotificationasread.js +73 -0
  620. package/models/operations/subscriberscontrollermarknotificationasread.js.map +1 -0
  621. package/models/operations/subscriberscontrollermarknotificationasunread.d.ts +42 -0
  622. package/models/operations/subscriberscontrollermarknotificationasunread.d.ts.map +1 -0
  623. package/models/operations/subscriberscontrollermarknotificationasunread.js +73 -0
  624. package/models/operations/subscriberscontrollermarknotificationasunread.js.map +1 -0
  625. package/models/operations/subscriberscontrollermarknotificationsasseen.d.ts +33 -0
  626. package/models/operations/subscriberscontrollermarknotificationsasseen.d.ts.map +1 -0
  627. package/models/operations/subscriberscontrollermarknotificationsasseen.js +71 -0
  628. package/models/operations/subscriberscontrollermarknotificationsasseen.js.map +1 -0
  629. package/models/operations/subscriberscontrollerpatchsubscriber.d.ts +3 -0
  630. package/models/operations/subscriberscontrollerpatchsubscriber.d.ts.map +1 -1
  631. package/models/operations/subscriberscontrollerpatchsubscriber.js.map +1 -1
  632. package/models/operations/subscriberscontrollerremovesubscriber.d.ts +3 -0
  633. package/models/operations/subscriberscontrollerremovesubscriber.d.ts.map +1 -1
  634. package/models/operations/subscriberscontrollerremovesubscriber.js.map +1 -1
  635. package/models/operations/subscriberscontrollerrevertnotificationaction.d.ts +61 -0
  636. package/models/operations/subscriberscontrollerrevertnotificationaction.d.ts.map +1 -0
  637. package/models/operations/subscriberscontrollerrevertnotificationaction.js +83 -0
  638. package/models/operations/subscriberscontrollerrevertnotificationaction.js.map +1 -0
  639. package/models/operations/subscriberscontrollersnoozenotification.d.ts +44 -0
  640. package/models/operations/subscriberscontrollersnoozenotification.d.ts.map +1 -0
  641. package/models/operations/subscriberscontrollersnoozenotification.js +75 -0
  642. package/models/operations/subscriberscontrollersnoozenotification.js.map +1 -0
  643. package/models/operations/subscriberscontrollerunarchivenotification.d.ts +42 -0
  644. package/models/operations/subscriberscontrollerunarchivenotification.d.ts.map +1 -0
  645. package/models/operations/subscriberscontrollerunarchivenotification.js +73 -0
  646. package/models/operations/subscriberscontrollerunarchivenotification.js.map +1 -0
  647. package/models/operations/subscriberscontrollerunsnoozenotification.d.ts +42 -0
  648. package/models/operations/subscriberscontrollerunsnoozenotification.d.ts.map +1 -0
  649. package/models/operations/subscriberscontrollerunsnoozenotification.js +73 -0
  650. package/models/operations/subscriberscontrollerunsnoozenotification.js.map +1 -0
  651. package/models/operations/subscriberscontrollerupdatesubscriberpreferences.d.ts +3 -0
  652. package/models/operations/subscriberscontrollerupdatesubscriberpreferences.d.ts.map +1 -1
  653. package/models/operations/subscriberscontrollerupdatesubscriberpreferences.js.map +1 -1
  654. package/models/operations/workflowcontrollergeneratepreview.d.ts +36 -0
  655. package/models/operations/workflowcontrollergeneratepreview.d.ts.map +1 -0
  656. package/models/operations/workflowcontrollergeneratepreview.js +74 -0
  657. package/models/operations/workflowcontrollergeneratepreview.js.map +1 -0
  658. package/package.json +1 -1
  659. package/sdk/environments.d.ts +14 -0
  660. package/sdk/environments.d.ts.map +1 -1
  661. package/sdk/environments.js +20 -0
  662. package/sdk/environments.js.map +1 -1
  663. package/sdk/environmentvariables.d.ts +48 -0
  664. package/sdk/environmentvariables.d.ts.map +1 -0
  665. package/sdk/environmentvariables.js +72 -0
  666. package/sdk/environmentvariables.js.map +1 -0
  667. package/sdk/novunotifications.d.ts +115 -0
  668. package/sdk/novunotifications.d.ts.map +1 -1
  669. package/sdk/novunotifications.js +162 -0
  670. package/sdk/novunotifications.js.map +1 -1
  671. package/sdk/sdk.d.ts +3 -0
  672. package/sdk/sdk.d.ts.map +1 -1
  673. package/sdk/sdk.js +4 -0
  674. package/sdk/sdk.js.map +1 -1
  675. package/sdk/steps.d.ts +7 -0
  676. package/sdk/steps.d.ts.map +1 -1
  677. package/sdk/steps.js +10 -0
  678. package/sdk/steps.js.map +1 -1
  679. package/sdk/subscribers.d.ts +2 -2
  680. package/sdk/subscribers.d.ts.map +1 -1
  681. package/sdk/subscribers.js +3 -3
  682. package/sdk/subscribers.js.map +1 -1
  683. package/src/funcs/activityTrack.ts +0 -1
  684. package/src/funcs/cancel.ts +0 -1
  685. package/src/funcs/channelConnectionsDelete.ts +0 -1
  686. package/src/funcs/channelConnectionsRetrieve.ts +0 -1
  687. package/src/funcs/channelConnectionsUpdate.ts +0 -1
  688. package/src/funcs/channelEndpointsCreate.ts +3 -1
  689. package/src/funcs/channelEndpointsDelete.ts +3 -2
  690. package/src/funcs/channelEndpointsList.ts +3 -1
  691. package/src/funcs/channelEndpointsRetrieve.ts +3 -2
  692. package/src/funcs/channelEndpointsUpdate.ts +3 -2
  693. package/src/funcs/contextsDelete.ts +0 -1
  694. package/src/funcs/contextsRetrieve.ts +0 -1
  695. package/src/funcs/contextsUpdate.ts +0 -1
  696. package/src/funcs/environmentVariablesCreate.ts +236 -0
  697. package/src/funcs/environmentVariablesDelete.ts +239 -0
  698. package/src/funcs/environmentVariablesList.ts +233 -0
  699. package/src/funcs/environmentVariablesRetrieve.ts +234 -0
  700. package/src/funcs/environmentVariablesUpdate.ts +246 -0
  701. package/src/funcs/environmentVariablesUsage.ts +237 -0
  702. package/src/funcs/environmentsDelete.ts +0 -1
  703. package/src/funcs/environmentsDiff.ts +242 -0
  704. package/src/funcs/environmentsGetTags.ts +0 -1
  705. package/src/funcs/environmentsPublish.ts +242 -0
  706. package/src/funcs/environmentsUpdate.ts +0 -1
  707. package/src/funcs/integrationsDelete.ts +0 -1
  708. package/src/funcs/integrationsIntegrationsControllerAutoConfigureIntegration.ts +0 -1
  709. package/src/funcs/integrationsSetAsPrimary.ts +0 -1
  710. package/src/funcs/integrationsUpdate.ts +0 -1
  711. package/src/funcs/layoutsDelete.ts +0 -1
  712. package/src/funcs/layoutsDuplicate.ts +0 -1
  713. package/src/funcs/layoutsGeneratePreview.ts +0 -1
  714. package/src/funcs/layoutsRetrieve.ts +0 -1
  715. package/src/funcs/layoutsUpdate.ts +0 -1
  716. package/src/funcs/layoutsUsage.ts +0 -1
  717. package/src/funcs/messagesDelete.ts +0 -1
  718. package/src/funcs/messagesDeleteByTransactionId.ts +0 -1
  719. package/src/funcs/notificationsRetrieve.ts +0 -1
  720. package/src/funcs/subscribersCredentialsAppend.ts +0 -1
  721. package/src/funcs/subscribersCredentialsDelete.ts +0 -1
  722. package/src/funcs/subscribersCredentialsUpdate.ts +0 -1
  723. package/src/funcs/subscribersDelete.ts +0 -1
  724. package/src/funcs/subscribersMessagesMarkAll.ts +0 -1
  725. package/src/funcs/subscribersMessagesMarkAllAs.ts +0 -1
  726. package/src/funcs/subscribersMessagesUpdateAsSeen.ts +0 -1
  727. package/src/funcs/subscribersNotificationsArchive.ts +234 -0
  728. package/src/funcs/subscribersNotificationsArchiveAll.ts +247 -0
  729. package/src/funcs/subscribersNotificationsArchiveAllRead.ts +249 -0
  730. package/src/funcs/subscribersNotificationsCompleteAction.ts +240 -0
  731. package/src/funcs/subscribersNotificationsCount.ts +246 -0
  732. package/src/funcs/subscribersNotificationsDelete.ts +234 -0
  733. package/src/funcs/subscribersNotificationsDeleteAll.ts +246 -0
  734. package/src/funcs/subscribersNotificationsFeed.ts +0 -1
  735. package/src/funcs/subscribersNotificationsList.ts +245 -0
  736. package/src/funcs/subscribersNotificationsMarkAllAsRead.ts +249 -0
  737. package/src/funcs/subscribersNotificationsMarkAsRead.ts +236 -0
  738. package/src/funcs/subscribersNotificationsMarkAsSeen.ts +250 -0
  739. package/src/funcs/subscribersNotificationsMarkAsUnread.ts +236 -0
  740. package/src/funcs/subscribersNotificationsRevertAction.ts +240 -0
  741. package/src/funcs/subscribersNotificationsSnooze.ts +237 -0
  742. package/src/funcs/subscribersNotificationsUnarchive.ts +237 -0
  743. package/src/funcs/subscribersNotificationsUnseenCount.ts +0 -1
  744. package/src/funcs/subscribersNotificationsUnsnooze.ts +235 -0
  745. package/src/funcs/subscribersPatch.ts +0 -1
  746. package/src/funcs/subscribersPreferencesBulkUpdate.ts +0 -1
  747. package/src/funcs/subscribersPreferencesList.ts +0 -1
  748. package/src/funcs/subscribersPreferencesUpdate.ts +0 -1
  749. package/src/funcs/subscribersPropertiesUpdateOnlineFlag.ts +0 -1
  750. package/src/funcs/subscribersRetrieve.ts +0 -1
  751. package/src/funcs/subscribersTopicsList.ts +0 -1
  752. package/src/funcs/topicsDelete.ts +0 -1
  753. package/src/funcs/topicsGet.ts +0 -1
  754. package/src/funcs/topicsSubscribersRetrieve.ts +0 -1
  755. package/src/funcs/topicsSubscriptionsCreate.ts +0 -1
  756. package/src/funcs/topicsSubscriptionsDelete.ts +0 -1
  757. package/src/funcs/topicsSubscriptionsGetSubscription.ts +0 -1
  758. package/src/funcs/topicsSubscriptionsList.ts +0 -1
  759. package/src/funcs/topicsSubscriptionsUpdate.ts +0 -1
  760. package/src/funcs/topicsUpdate.ts +0 -1
  761. package/src/funcs/translationsCreate.ts +3 -1
  762. package/src/funcs/translationsDelete.ts +3 -2
  763. package/src/funcs/translationsGroupsDelete.ts +3 -2
  764. package/src/funcs/translationsGroupsRetrieve.ts +3 -2
  765. package/src/funcs/translationsMasterImport.ts +3 -1
  766. package/src/funcs/translationsMasterRetrieve.ts +3 -1
  767. package/src/funcs/translationsMasterUpload.ts +14 -5
  768. package/src/funcs/translationsRetrieve.ts +3 -2
  769. package/src/funcs/translationsUpload.ts +15 -6
  770. package/src/funcs/workflowsDelete.ts +0 -1
  771. package/src/funcs/workflowsGet.ts +0 -1
  772. package/src/funcs/workflowsPatch.ts +0 -1
  773. package/src/funcs/workflowsStepsGeneratePreview.ts +233 -0
  774. package/src/funcs/workflowsStepsRetrieve.ts +0 -1
  775. package/src/funcs/workflowsSync.ts +0 -1
  776. package/src/funcs/workflowsUpdate.ts +0 -1
  777. package/src/lib/config.ts +4 -4
  778. package/src/lib/encodings.ts +23 -4
  779. package/src/lib/files.ts +22 -0
  780. package/src/lib/matchers.ts +3 -2
  781. package/src/lib/sdks.ts +7 -5
  782. package/src/lib/security.ts +15 -4
  783. package/src/lib/url.ts +16 -14
  784. package/src/models/components/activitynotificationjobresponsedto.ts +1 -0
  785. package/src/models/components/chatrenderoutput.ts +34 -0
  786. package/src/models/components/chatstepresponsedto.ts +5 -0
  787. package/src/models/components/contentissueenum.ts +1 -0
  788. package/src/models/components/createenvironmentvariablerequestdto.ts +75 -0
  789. package/src/models/components/createworkflowdto.ts +13 -2
  790. package/src/models/components/customstepresponsedto.ts +5 -0
  791. package/src/models/components/delaystepresponsedto.ts +5 -0
  792. package/src/models/components/dependencyreasonenum.ts +23 -0
  793. package/src/models/components/diffactionenum.ts +26 -0
  794. package/src/models/components/diffenvironmentrequestdto.ts +34 -0
  795. package/src/models/components/diffenvironmentresponsedto.ts +57 -0
  796. package/src/models/components/diffsummarydto.ts +49 -0
  797. package/src/models/components/digestregularoutput.ts +72 -0
  798. package/src/models/components/digeststepresponsedto.ts +5 -0
  799. package/src/models/components/emailrenderoutput.ts +39 -0
  800. package/src/models/components/emailstepresponsedto.ts +5 -0
  801. package/src/models/components/environmentdiffsummarydto.ts +44 -0
  802. package/src/models/components/environmentvariableresponsedto.ts +68 -0
  803. package/src/models/components/environmentvariablevaluedto.ts +41 -0
  804. package/src/models/components/environmentvariablevalueresponsedto.ts +42 -0
  805. package/src/models/components/environmentvariableworkflowinfodto.ts +40 -0
  806. package/src/models/components/failedworkflowdto.ts +58 -0
  807. package/src/models/components/generatepreviewrequestdto.ts +45 -0
  808. package/src/models/components/generatepreviewresponsedto.ts +434 -0
  809. package/src/models/components/getenvironmentvariableusageresponsedto.ts +39 -0
  810. package/src/models/components/getsubscribernotificationscountresponsedto.ts +43 -0
  811. package/src/models/components/getsubscribernotificationsresponsedto.ts +68 -0
  812. package/src/models/components/httpmethodenum.ts +30 -0
  813. package/src/models/components/httprequestcontroldto.ts +107 -0
  814. package/src/models/components/httprequestcontrolsmetadataresponsedto.ts +50 -0
  815. package/src/models/components/httprequestkeyvaluepairdto.ts +61 -0
  816. package/src/models/components/httprequeststepresponsedto.ts +191 -0
  817. package/src/models/components/httprequeststepupsertdto.ts +103 -0
  818. package/src/models/components/inapprenderoutput.ts +66 -0
  819. package/src/models/components/inappstepresponsedto.ts +5 -0
  820. package/src/models/components/inboxactiondto.ts +45 -0
  821. package/src/models/components/inboxnotificationdto.ts +170 -0
  822. package/src/models/components/inboxsubscriberresponsedto.ts +54 -0
  823. package/src/models/components/index.ts +51 -0
  824. package/src/models/components/integrationresponsedto.ts +3 -3
  825. package/src/models/components/marksubscribernotificationsasseendto.ts +54 -0
  826. package/src/models/components/notificationworkflowdto.ts +68 -0
  827. package/src/models/components/previewerrordto.ts +44 -0
  828. package/src/models/components/previewpayloaddto.ts +193 -0
  829. package/src/models/components/publishenvironmentrequestdto.ts +53 -0
  830. package/src/models/components/publishenvironmentresponsedto.ts +44 -0
  831. package/src/models/components/publishsummarydto.ts +49 -0
  832. package/src/models/components/pushrenderoutput.ts +39 -0
  833. package/src/models/components/pushstepresponsedto.ts +5 -0
  834. package/src/models/components/redirectdto.ts +11 -11
  835. package/src/models/components/resourcedependencydto.ts +62 -0
  836. package/src/models/components/resourcediffdto.ts +305 -0
  837. package/src/models/components/resourcediffresultdto.ts +277 -0
  838. package/src/models/components/resourcetopublishdto.ts +44 -0
  839. package/src/models/components/resourcetypeenum.ts +4 -0
  840. package/src/models/components/runtimeissuedto.ts +2 -24
  841. package/src/models/components/skippedworkflowdto.ts +53 -0
  842. package/src/models/components/smsrenderoutput.ts +34 -0
  843. package/src/models/components/smsstepresponsedto.ts +5 -0
  844. package/src/models/components/snoozesubscribernotificationdto.ts +36 -0
  845. package/src/models/components/stepresponsedto.ts +5 -0
  846. package/src/models/components/syncactionenum.ts +25 -0
  847. package/src/models/components/syncedworkflowdto.ts +57 -0
  848. package/src/models/components/syncresultdto.ts +70 -0
  849. package/src/models/components/throttlestepresponsedto.ts +5 -0
  850. package/src/models/components/timeunitenum.ts +26 -0
  851. package/src/models/components/triggereventresponsedto.ts +5 -0
  852. package/src/models/components/uicomponentenum.ts +16 -5
  853. package/src/models/components/uischemagroupenum.ts +1 -0
  854. package/src/models/components/updateallsubscribernotificationsdto.ts +48 -0
  855. package/src/models/components/updateenvironmentvariablerequestdto.ts +72 -0
  856. package/src/models/components/updatelayoutdto.ts +2 -2
  857. package/src/models/components/updateworkflowdto.ts +13 -2
  858. package/src/models/components/workflowcreationsourceenum.ts +1 -0
  859. package/src/models/components/workflowresponsedto.ts +9 -1
  860. package/src/models/operations/environmentscontrollerdiffenvironment.ts +98 -0
  861. package/src/models/operations/environmentscontrollerpublishenvironment.ts +99 -0
  862. package/src/models/operations/environmentvariablescontrollercreateenvironmentvariable.ts +91 -0
  863. package/src/models/operations/environmentvariablescontrollerdeleteenvironmentvariable.ts +82 -0
  864. package/src/models/operations/environmentvariablescontrollergetenvironmentvariable.ts +86 -0
  865. package/src/models/operations/environmentvariablescontrollergetenvironmentvariableusage.ts +87 -0
  866. package/src/models/operations/environmentvariablescontrollerlistenvironmentvariables.ts +89 -0
  867. package/src/models/operations/environmentvariablescontrollerupdateenvironmentvariable.ts +94 -0
  868. package/src/models/operations/index.ts +25 -0
  869. package/src/models/operations/subscriberscontrollerarchiveallnotifications.ts +95 -0
  870. package/src/models/operations/subscriberscontrollerarchiveallreadnotifications.ts +93 -0
  871. package/src/models/operations/subscriberscontrollerarchivenotification.ts +102 -0
  872. package/src/models/operations/subscriberscontrollerbulkupdatesubscriberpreferences.ts +3 -0
  873. package/src/models/operations/subscriberscontrollercompletenotificationaction.ts +124 -0
  874. package/src/models/operations/subscriberscontrollerdeleteallnotifications.ts +95 -0
  875. package/src/models/operations/subscriberscontrollerdeletenotification.ts +98 -0
  876. package/src/models/operations/subscriberscontrollergetsubscriber.ts +3 -0
  877. package/src/models/operations/subscriberscontrollergetsubscribernotifications.ts +171 -0
  878. package/src/models/operations/subscriberscontrollergetsubscribernotificationscount.ts +97 -0
  879. package/src/models/operations/subscriberscontrollergetsubscriberpreferences.ts +3 -0
  880. package/src/models/operations/subscriberscontrollermarkallnotificationsasread.ts +94 -0
  881. package/src/models/operations/subscriberscontrollermarknotificationasread.ts +102 -0
  882. package/src/models/operations/subscriberscontrollermarknotificationasunread.ts +102 -0
  883. package/src/models/operations/subscriberscontrollermarknotificationsasseen.ts +95 -0
  884. package/src/models/operations/subscriberscontrollerpatchsubscriber.ts +3 -0
  885. package/src/models/operations/subscriberscontrollerremovesubscriber.ts +3 -0
  886. package/src/models/operations/subscriberscontrollerrevertnotificationaction.ts +126 -0
  887. package/src/models/operations/subscriberscontrollersnoozenotification.ts +108 -0
  888. package/src/models/operations/subscriberscontrollerunarchivenotification.ts +102 -0
  889. package/src/models/operations/subscriberscontrollerunsnoozenotification.ts +102 -0
  890. package/src/models/operations/subscriberscontrollerupdatesubscriberpreferences.ts +3 -0
  891. package/src/models/operations/workflowcontrollergeneratepreview.ts +96 -0
  892. package/src/sdk/environments.ts +44 -0
  893. package/src/sdk/environmentvariables.ts +147 -0
  894. package/src/sdk/novunotifications.ts +340 -0
  895. package/src/sdk/sdk.ts +8 -0
  896. package/src/sdk/steps.ts +18 -0
  897. package/src/sdk/subscribers.ts +5 -5
  898. package/_speakeasy/.github/action-inputs-config.json +0 -53
  899. package/_speakeasy/.github/action-security-config.json +0 -88
  900. package/codeSamples.json +0 -1772
  901. package/examples/package-lock.json +0 -610
  902. package/examples/package.json +0 -18
  903. package/sources/code-samples.json +0 -2105
  904. package/sources/json-development.json +0 -55438
  905. package/sources/openapi.sdk.json +0 -13193
  906. package/tsconfig.json +0 -40
@@ -0,0 +1 @@
1
+ {"version":3,"file":"subscriberscontrollerunarchivenotification.d.ts","sourceRoot":"","sources":["../../src/models/operations/subscriberscontrollerunarchivenotification.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,KAAK,UAAU,MAAM,wBAAwB,CAAC;AACrD,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE,MAAM,MAAM,iDAAiD,GAAG;IAC9D;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,cAAc,EAAE,MAAM,CAAC;IACvB;;OAEG;IACH,WAAW,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC;IACxC;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CACrC,CAAC;AAEF,MAAM,MAAM,kDAAkD,GAAG;IAC/D,OAAO,EAAE;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC,MAAM,CAAC,CAAA;KAAE,CAAC;IACxC,MAAM,EAAE,UAAU,CAAC,oBAAoB,CAAC;CACzC,CAAC;AAEF,gBAAgB;AAChB,MAAM,MAAM,0DAA0D,GAAG;IACvE,YAAY,EAAE,MAAM,CAAC;IACrB,cAAc,EAAE,MAAM,CAAC;IACvB,WAAW,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC;IACxC,iBAAiB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CACxC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,gEAAgE,EAC3E,CAAC,CAAC,OAAO,CACP,0DAA0D,EAC1D,CAAC,CAAC,UAAU,EACZ,iDAAiD,CAUjD,CAAC;AAEL,wBAAgB,uDAAuD,CACrE,iDAAiD,EAC/C,iDAAiD,GAClD,MAAM,CAMR;AAED,gBAAgB;AAChB,eAAO,MAAM,gEAAgE,EAC3E,CAAC,CAAC,OAAO,CACP,kDAAkD,EAClD,CAAC,CAAC,UAAU,EACZ,OAAO,CASP,CAAC;AAEL,wBAAgB,0DAA0D,CACxE,UAAU,EAAE,MAAM,GACjB,eAAe,CAChB,kDAAkD,EAClD,kBAAkB,CACnB,CASA"}
@@ -0,0 +1,73 @@
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.SubscribersControllerUnarchiveNotificationResponse$inboundSchema = exports.SubscribersControllerUnarchiveNotificationRequest$outboundSchema = void 0;
40
+ exports.subscribersControllerUnarchiveNotificationRequestToJSON = subscribersControllerUnarchiveNotificationRequestToJSON;
41
+ exports.subscribersControllerUnarchiveNotificationResponseFromJSON = subscribersControllerUnarchiveNotificationResponseFromJSON;
42
+ const z = __importStar(require("zod/v3"));
43
+ const primitives_js_1 = require("../../lib/primitives.js");
44
+ const schemas_js_1 = require("../../lib/schemas.js");
45
+ const components = __importStar(require("../components/index.js"));
46
+ /** @internal */
47
+ exports.SubscribersControllerUnarchiveNotificationRequest$outboundSchema = z.object({
48
+ subscriberId: z.string(),
49
+ notificationId: z.string(),
50
+ contextKeys: z.array(z.string()).optional(),
51
+ idempotencyKey: z.string().optional(),
52
+ }).transform((v) => {
53
+ return (0, primitives_js_1.remap)(v, {
54
+ idempotencyKey: "idempotency-key",
55
+ });
56
+ });
57
+ function subscribersControllerUnarchiveNotificationRequestToJSON(subscribersControllerUnarchiveNotificationRequest) {
58
+ return JSON.stringify(exports.SubscribersControllerUnarchiveNotificationRequest$outboundSchema.parse(subscribersControllerUnarchiveNotificationRequest));
59
+ }
60
+ /** @internal */
61
+ exports.SubscribersControllerUnarchiveNotificationResponse$inboundSchema = z.object({
62
+ Headers: z.record(z.array(z.string())).default({}),
63
+ Result: components.InboxNotificationDto$inboundSchema,
64
+ }).transform((v) => {
65
+ return (0, primitives_js_1.remap)(v, {
66
+ "Headers": "headers",
67
+ "Result": "result",
68
+ });
69
+ });
70
+ function subscribersControllerUnarchiveNotificationResponseFromJSON(jsonString) {
71
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.SubscribersControllerUnarchiveNotificationResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SubscribersControllerUnarchiveNotificationResponse' from JSON`);
72
+ }
73
+ //# sourceMappingURL=subscriberscontrollerunarchivenotification.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"subscriberscontrollerunarchivenotification.js","sourceRoot":"","sources":["../../src/models/operations/subscriberscontrollerunarchivenotification.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA0DH,0HASC;AAkBD,gIAcC;AAjGD,0CAA4B;AAC5B,2DAA0D;AAC1D,qDAAiD;AAEjD,mEAAqD;AAmCrD,gBAAgB;AACH,QAAA,gEAAgE,GAKvE,CAAC,CAAC,MAAM,CAAC;IACX,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE;IACxB,cAAc,EAAE,CAAC,CAAC,MAAM,EAAE;IAC1B,WAAW,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;IAC3C,cAAc,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CACtC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,cAAc,EAAE,iBAAiB;KAClC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEL,SAAgB,uDAAuD,CACrE,iDACmD;IAEnD,OAAO,IAAI,CAAC,SAAS,CACnB,wEAAgE,CAAC,KAAK,CACpE,iDAAiD,CAClD,CACF,CAAC;AACJ,CAAC;AAED,gBAAgB;AACH,QAAA,gEAAgE,GAKvE,CAAC,CAAC,MAAM,CAAC;IACX,OAAO,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,CAAC,OAAO,CAAC,EAAE,CAAC;IAClD,MAAM,EAAE,UAAU,CAAC,kCAAkC;CACtD,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,SAAS,EAAE,SAAS;QACpB,QAAQ,EAAE,QAAQ;KACnB,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEL,SAAgB,0DAA0D,CACxE,UAAkB;IAKlB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CACJ,wEAAgE,CAAC,KAAK,CACpE,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CACd,EACH,gFAAgF,CACjF,CAAC;AACJ,CAAC"}
@@ -0,0 +1,42 @@
1
+ import * as z from "zod/v3";
2
+ import { Result as SafeParseResult } from "../../types/fp.js";
3
+ import * as components from "../components/index.js";
4
+ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
5
+ export type SubscribersControllerUnsnoozeNotificationRequest = {
6
+ /**
7
+ * The identifier of the subscriber
8
+ */
9
+ subscriberId: string;
10
+ /**
11
+ * The identifier of the notification
12
+ */
13
+ notificationId: string;
14
+ /**
15
+ * Context keys for filtering
16
+ */
17
+ contextKeys?: Array<string> | undefined;
18
+ /**
19
+ * A header for idempotency purposes
20
+ */
21
+ idempotencyKey?: string | undefined;
22
+ };
23
+ export type SubscribersControllerUnsnoozeNotificationResponse = {
24
+ headers: {
25
+ [k: string]: Array<string>;
26
+ };
27
+ result: components.InboxNotificationDto;
28
+ };
29
+ /** @internal */
30
+ export type SubscribersControllerUnsnoozeNotificationRequest$Outbound = {
31
+ subscriberId: string;
32
+ notificationId: string;
33
+ contextKeys?: Array<string> | undefined;
34
+ "idempotency-key"?: string | undefined;
35
+ };
36
+ /** @internal */
37
+ export declare const SubscribersControllerUnsnoozeNotificationRequest$outboundSchema: z.ZodType<SubscribersControllerUnsnoozeNotificationRequest$Outbound, z.ZodTypeDef, SubscribersControllerUnsnoozeNotificationRequest>;
38
+ export declare function subscribersControllerUnsnoozeNotificationRequestToJSON(subscribersControllerUnsnoozeNotificationRequest: SubscribersControllerUnsnoozeNotificationRequest): string;
39
+ /** @internal */
40
+ export declare const SubscribersControllerUnsnoozeNotificationResponse$inboundSchema: z.ZodType<SubscribersControllerUnsnoozeNotificationResponse, z.ZodTypeDef, unknown>;
41
+ export declare function subscribersControllerUnsnoozeNotificationResponseFromJSON(jsonString: string): SafeParseResult<SubscribersControllerUnsnoozeNotificationResponse, SDKValidationError>;
42
+ //# sourceMappingURL=subscriberscontrollerunsnoozenotification.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"subscriberscontrollerunsnoozenotification.d.ts","sourceRoot":"","sources":["../../src/models/operations/subscriberscontrollerunsnoozenotification.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,KAAK,UAAU,MAAM,wBAAwB,CAAC;AACrD,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE,MAAM,MAAM,gDAAgD,GAAG;IAC7D;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,cAAc,EAAE,MAAM,CAAC;IACvB;;OAEG;IACH,WAAW,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC;IACxC;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CACrC,CAAC;AAEF,MAAM,MAAM,iDAAiD,GAAG;IAC9D,OAAO,EAAE;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC,MAAM,CAAC,CAAA;KAAE,CAAC;IACxC,MAAM,EAAE,UAAU,CAAC,oBAAoB,CAAC;CACzC,CAAC;AAEF,gBAAgB;AAChB,MAAM,MAAM,yDAAyD,GAAG;IACtE,YAAY,EAAE,MAAM,CAAC;IACrB,cAAc,EAAE,MAAM,CAAC;IACvB,WAAW,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC;IACxC,iBAAiB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CACxC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,+DAA+D,EAC1E,CAAC,CAAC,OAAO,CACP,yDAAyD,EACzD,CAAC,CAAC,UAAU,EACZ,gDAAgD,CAUhD,CAAC;AAEL,wBAAgB,sDAAsD,CACpE,gDAAgD,EAC9C,gDAAgD,GACjD,MAAM,CAMR;AAED,gBAAgB;AAChB,eAAO,MAAM,+DAA+D,EAC1E,CAAC,CAAC,OAAO,CACP,iDAAiD,EACjD,CAAC,CAAC,UAAU,EACZ,OAAO,CASP,CAAC;AAEL,wBAAgB,yDAAyD,CACvE,UAAU,EAAE,MAAM,GACjB,eAAe,CAChB,iDAAiD,EACjD,kBAAkB,CACnB,CASA"}
@@ -0,0 +1,73 @@
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.SubscribersControllerUnsnoozeNotificationResponse$inboundSchema = exports.SubscribersControllerUnsnoozeNotificationRequest$outboundSchema = void 0;
40
+ exports.subscribersControllerUnsnoozeNotificationRequestToJSON = subscribersControllerUnsnoozeNotificationRequestToJSON;
41
+ exports.subscribersControllerUnsnoozeNotificationResponseFromJSON = subscribersControllerUnsnoozeNotificationResponseFromJSON;
42
+ const z = __importStar(require("zod/v3"));
43
+ const primitives_js_1 = require("../../lib/primitives.js");
44
+ const schemas_js_1 = require("../../lib/schemas.js");
45
+ const components = __importStar(require("../components/index.js"));
46
+ /** @internal */
47
+ exports.SubscribersControllerUnsnoozeNotificationRequest$outboundSchema = z.object({
48
+ subscriberId: z.string(),
49
+ notificationId: z.string(),
50
+ contextKeys: z.array(z.string()).optional(),
51
+ idempotencyKey: z.string().optional(),
52
+ }).transform((v) => {
53
+ return (0, primitives_js_1.remap)(v, {
54
+ idempotencyKey: "idempotency-key",
55
+ });
56
+ });
57
+ function subscribersControllerUnsnoozeNotificationRequestToJSON(subscribersControllerUnsnoozeNotificationRequest) {
58
+ return JSON.stringify(exports.SubscribersControllerUnsnoozeNotificationRequest$outboundSchema.parse(subscribersControllerUnsnoozeNotificationRequest));
59
+ }
60
+ /** @internal */
61
+ exports.SubscribersControllerUnsnoozeNotificationResponse$inboundSchema = z.object({
62
+ Headers: z.record(z.array(z.string())).default({}),
63
+ Result: components.InboxNotificationDto$inboundSchema,
64
+ }).transform((v) => {
65
+ return (0, primitives_js_1.remap)(v, {
66
+ "Headers": "headers",
67
+ "Result": "result",
68
+ });
69
+ });
70
+ function subscribersControllerUnsnoozeNotificationResponseFromJSON(jsonString) {
71
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.SubscribersControllerUnsnoozeNotificationResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SubscribersControllerUnsnoozeNotificationResponse' from JSON`);
72
+ }
73
+ //# sourceMappingURL=subscriberscontrollerunsnoozenotification.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"subscriberscontrollerunsnoozenotification.js","sourceRoot":"","sources":["../../src/models/operations/subscriberscontrollerunsnoozenotification.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA0DH,wHASC;AAkBD,8HAcC;AAjGD,0CAA4B;AAC5B,2DAA0D;AAC1D,qDAAiD;AAEjD,mEAAqD;AAmCrD,gBAAgB;AACH,QAAA,+DAA+D,GAKtE,CAAC,CAAC,MAAM,CAAC;IACX,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE;IACxB,cAAc,EAAE,CAAC,CAAC,MAAM,EAAE;IAC1B,WAAW,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;IAC3C,cAAc,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CACtC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,cAAc,EAAE,iBAAiB;KAClC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEL,SAAgB,sDAAsD,CACpE,gDACkD;IAElD,OAAO,IAAI,CAAC,SAAS,CACnB,uEAA+D,CAAC,KAAK,CACnE,gDAAgD,CACjD,CACF,CAAC;AACJ,CAAC;AAED,gBAAgB;AACH,QAAA,+DAA+D,GAKtE,CAAC,CAAC,MAAM,CAAC;IACX,OAAO,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,CAAC,OAAO,CAAC,EAAE,CAAC;IAClD,MAAM,EAAE,UAAU,CAAC,kCAAkC;CACtD,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,SAAS,EAAE,SAAS;QACpB,QAAQ,EAAE,QAAQ;KACnB,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEL,SAAgB,yDAAyD,CACvE,UAAkB;IAKlB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CACJ,uEAA+D,CAAC,KAAK,CACnE,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CACd,EACH,+EAA+E,CAChF,CAAC;AACJ,CAAC"}
@@ -3,6 +3,9 @@ import { Result as SafeParseResult } from "../../types/fp.js";
3
3
  import * as components from "../components/index.js";
4
4
  import { SDKValidationError } from "../errors/sdkvalidationerror.js";
5
5
  export type SubscribersControllerUpdateSubscriberPreferencesRequest = {
6
+ /**
7
+ * The identifier of the subscriber
8
+ */
6
9
  subscriberId: string;
7
10
  /**
8
11
  * A header for idempotency purposes
@@ -1 +1 @@
1
- {"version":3,"file":"subscriberscontrollerupdatesubscriberpreferences.d.ts","sourceRoot":"","sources":["../../src/models/operations/subscriberscontrollerupdatesubscriberpreferences.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,KAAK,UAAU,MAAM,wBAAwB,CAAC;AACrD,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE,MAAM,MAAM,uDAAuD,GAAG;IACpE,YAAY,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACpC,6BAA6B,EAAE,UAAU,CAAC,6BAA6B,CAAC;CACzE,CAAC;AAEF,MAAM,MAAM,wDAAwD,GAAG;IACrE,OAAO,EAAE;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC,MAAM,CAAC,CAAA;KAAE,CAAC;IACxC,MAAM,EAAE,UAAU,CAAC,2BAA2B,CAAC;CAChD,CAAC;AAEF,gBAAgB;AAChB,MAAM,MAAM,gEAAgE,GAAG;IAC7E,YAAY,EAAE,MAAM,CAAC;IACrB,iBAAiB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACvC,6BAA6B,EAC3B,UAAU,CAAC,sCAAsC,CAAC;CACrD,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,sEAAsE,EACjF,CAAC,CAAC,OAAO,CACP,gEAAgE,EAChE,CAAC,CAAC,UAAU,EACZ,uDAAuD,CAWvD,CAAC;AAEL,wBAAgB,6DAA6D,CAC3E,uDAAuD,EACrD,uDAAuD,GACxD,MAAM,CAKR;AAED,gBAAgB;AAChB,eAAO,MAAM,sEAAsE,EACjF,CAAC,CAAC,OAAO,CACP,wDAAwD,EACxD,CAAC,CAAC,UAAU,EACZ,OAAO,CASP,CAAC;AAEL,wBAAgB,gEAAgE,CAC9E,UAAU,EAAE,MAAM,GACjB,eAAe,CAChB,wDAAwD,EACxD,kBAAkB,CACnB,CAQA"}
1
+ {"version":3,"file":"subscriberscontrollerupdatesubscriberpreferences.d.ts","sourceRoot":"","sources":["../../src/models/operations/subscriberscontrollerupdatesubscriberpreferences.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,KAAK,UAAU,MAAM,wBAAwB,CAAC;AACrD,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE,MAAM,MAAM,uDAAuD,GAAG;IACpE;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACpC,6BAA6B,EAAE,UAAU,CAAC,6BAA6B,CAAC;CACzE,CAAC;AAEF,MAAM,MAAM,wDAAwD,GAAG;IACrE,OAAO,EAAE;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC,MAAM,CAAC,CAAA;KAAE,CAAC;IACxC,MAAM,EAAE,UAAU,CAAC,2BAA2B,CAAC;CAChD,CAAC;AAEF,gBAAgB;AAChB,MAAM,MAAM,gEAAgE,GAAG;IAC7E,YAAY,EAAE,MAAM,CAAC;IACrB,iBAAiB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACvC,6BAA6B,EAC3B,UAAU,CAAC,sCAAsC,CAAC;CACrD,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,sEAAsE,EACjF,CAAC,CAAC,OAAO,CACP,gEAAgE,EAChE,CAAC,CAAC,UAAU,EACZ,uDAAuD,CAWvD,CAAC;AAEL,wBAAgB,6DAA6D,CAC3E,uDAAuD,EACrD,uDAAuD,GACxD,MAAM,CAKR;AAED,gBAAgB;AAChB,eAAO,MAAM,sEAAsE,EACjF,CAAC,CAAC,OAAO,CACP,wDAAwD,EACxD,CAAC,CAAC,UAAU,EACZ,OAAO,CASP,CAAC;AAEL,wBAAgB,gEAAgE,CAC9E,UAAU,EAAE,MAAM,GACjB,eAAe,CAChB,wDAAwD,EACxD,kBAAkB,CACnB,CAQA"}
@@ -1 +1 @@
1
- {"version":3,"file":"subscriberscontrollerupdatesubscriberpreferences.js","sourceRoot":"","sources":["../../src/models/operations/subscriberscontrollerupdatesubscriberpreferences.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAiDH,sIAQC;AAkBD,4IAaC;AAtFD,0CAA4B;AAC5B,2DAA0D;AAC1D,qDAAiD;AAEjD,mEAAqD;AAyBrD,gBAAgB;AACH,QAAA,sEAAsE,GAK7E,CAAC,CAAC,MAAM,CAAC;IACX,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE;IACxB,cAAc,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACrC,6BAA6B,EAC3B,UAAU,CAAC,4CAA4C;CAC1D,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,cAAc,EAAE,iBAAiB;QACjC,6BAA6B,EAAE,+BAA+B;KAC/D,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEL,SAAgB,6DAA6D,CAC3E,uDACyD;IAEzD,OAAO,IAAI,CAAC,SAAS,CACnB,8EAAsE;SACnE,KAAK,CAAC,uDAAuD,CAAC,CAClE,CAAC;AACJ,CAAC;AAED,gBAAgB;AACH,QAAA,sEAAsE,GAK7E,CAAC,CAAC,MAAM,CAAC;IACX,OAAO,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,CAAC,OAAO,CAAC,EAAE,CAAC;IAClD,MAAM,EAAE,UAAU,CAAC,yCAAyC;CAC7D,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,SAAS,EAAE,SAAS;QACpB,QAAQ,EAAE,QAAQ;KACnB,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEL,SAAgB,gEAAgE,CAC9E,UAAkB;IAKlB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CACJ,8EAAsE;SACnE,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACzB,sFAAsF,CACvF,CAAC;AACJ,CAAC"}
1
+ {"version":3,"file":"subscriberscontrollerupdatesubscriberpreferences.js","sourceRoot":"","sources":["../../src/models/operations/subscriberscontrollerupdatesubscriberp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,EAAE,CACJ,8EAAsE;SACnE,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACzB,sFAAsF,CACvF,CAAC;AACJ,CAAC"}
@@ -0,0 +1,36 @@
1
+ import * as z from "zod/v3";
2
+ import { Result as SafeParseResult } from "../../types/fp.js";
3
+ import * as components from "../components/index.js";
4
+ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
5
+ export type WorkflowControllerGeneratePreviewRequest = {
6
+ workflowId: string;
7
+ stepId: string;
8
+ /**
9
+ * A header for idempotency purposes
10
+ */
11
+ idempotencyKey?: string | undefined;
12
+ /**
13
+ * Preview generation details
14
+ */
15
+ generatePreviewRequestDto: components.GeneratePreviewRequestDto;
16
+ };
17
+ export type WorkflowControllerGeneratePreviewResponse = {
18
+ headers: {
19
+ [k: string]: Array<string>;
20
+ };
21
+ result: components.GeneratePreviewResponseDto;
22
+ };
23
+ /** @internal */
24
+ export type WorkflowControllerGeneratePreviewRequest$Outbound = {
25
+ workflowId: string;
26
+ stepId: string;
27
+ "idempotency-key"?: string | undefined;
28
+ GeneratePreviewRequestDto: components.GeneratePreviewRequestDto$Outbound;
29
+ };
30
+ /** @internal */
31
+ export declare const WorkflowControllerGeneratePreviewRequest$outboundSchema: z.ZodType<WorkflowControllerGeneratePreviewRequest$Outbound, z.ZodTypeDef, WorkflowControllerGeneratePreviewRequest>;
32
+ export declare function workflowControllerGeneratePreviewRequestToJSON(workflowControllerGeneratePreviewRequest: WorkflowControllerGeneratePreviewRequest): string;
33
+ /** @internal */
34
+ export declare const WorkflowControllerGeneratePreviewResponse$inboundSchema: z.ZodType<WorkflowControllerGeneratePreviewResponse, z.ZodTypeDef, unknown>;
35
+ export declare function workflowControllerGeneratePreviewResponseFromJSON(jsonString: string): SafeParseResult<WorkflowControllerGeneratePreviewResponse, SDKValidationError>;
36
+ //# sourceMappingURL=workflowcontrollergeneratepreview.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"workflowcontrollerge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CAAC;AAEH,wBAAgB,iDAAiD,CAC/D,UAAU,EAAE,MAAM,GACjB,eAAe,CAChB,yCAAyC,EACzC,kBAAkB,CACnB,CASA"}
@@ -0,0 +1,74 @@
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.WorkflowControllerGeneratePreviewResponse$inboundSchema = exports.WorkflowControllerGeneratePreviewRequest$outboundSchema = void 0;
40
+ exports.workflowControllerGeneratePreviewRequestToJSON = workflowControllerGeneratePreviewRequestToJSON;
41
+ exports.workflowControllerGeneratePreviewResponseFromJSON = workflowControllerGeneratePreviewResponseFromJSON;
42
+ const z = __importStar(require("zod/v3"));
43
+ const primitives_js_1 = require("../../lib/primitives.js");
44
+ const schemas_js_1 = require("../../lib/schemas.js");
45
+ const components = __importStar(require("../components/index.js"));
46
+ /** @internal */
47
+ exports.WorkflowControllerGeneratePreviewRequest$outboundSchema = z.object({
48
+ workflowId: z.string(),
49
+ stepId: z.string(),
50
+ idempotencyKey: z.string().optional(),
51
+ generatePreviewRequestDto: components.GeneratePreviewRequestDto$outboundSchema,
52
+ }).transform((v) => {
53
+ return (0, primitives_js_1.remap)(v, {
54
+ idempotencyKey: "idempotency-key",
55
+ generatePreviewRequestDto: "GeneratePreviewRequestDto",
56
+ });
57
+ });
58
+ function workflowControllerGeneratePreviewRequestToJSON(workflowControllerGeneratePreviewRequest) {
59
+ return JSON.stringify(exports.WorkflowControllerGeneratePreviewRequest$outboundSchema.parse(workflowControllerGeneratePreviewRequest));
60
+ }
61
+ /** @internal */
62
+ exports.WorkflowControllerGeneratePreviewResponse$inboundSchema = z.object({
63
+ Headers: z.record(z.array(z.string())).default({}),
64
+ Result: components.GeneratePreviewResponseDto$inboundSchema,
65
+ }).transform((v) => {
66
+ return (0, primitives_js_1.remap)(v, {
67
+ "Headers": "headers",
68
+ "Result": "result",
69
+ });
70
+ });
71
+ function workflowControllerGeneratePreviewResponseFromJSON(jsonString) {
72
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.WorkflowControllerGeneratePreviewResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'WorkflowControllerGeneratePreviewResponse' from JSON`);
73
+ }
74
+ //# sourceMappingURL=workflowcontrollergeneratepreview.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"workflowcontrollergeneratepreview.js","sourceRoot":"","sources":["../../src/models/operations/workflowcontrollergeneratepreview.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAqDH,wGASC;AAiBD,8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AC,CAAC,CAAC,CACd,EACH,uEAAuE,CACxE,CAAC;AACJ,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@novu/api",
3
- "version": "3.14.0",
3
+ "version": "3.14.2-rc.1",
4
4
  "author": "Novu",
5
5
  "description": "The <Inbox /> infrastructure for modern products",
6
6
  "main": "./index.js",
@@ -9,6 +9,20 @@ export declare class Environments extends ClientSDK {
9
9
  * Retrieve all unique tags used in workflows within the specified environment. These tags can be used for filtering workflows.
10
10
  */
11
11
  getTags(environmentId: string, idempotencyKey?: string | undefined, options?: RequestOptions): Promise<operations.EnvironmentsControllerGetEnvironmentTagsResponse>;
12
+ /**
13
+ * Compare resources between environments
14
+ *
15
+ * @remarks
16
+ * Compares workflows and other resources between the source and target environments, returning detailed diff information including additions, modifications, and deletions.
17
+ */
18
+ diff(diffEnvironmentRequestDto: components.DiffEnvironmentRequestDto, targetEnvironmentId: string, idempotencyKey?: string | undefined, options?: RequestOptions): Promise<operations.EnvironmentsControllerDiffEnvironmentResponse>;
19
+ /**
20
+ * Publish resources to target environment
21
+ *
22
+ * @remarks
23
+ * Publishes all workflows and resources from the source environment to the target environment. Optionally specify specific resources to publish or use dryRun mode to preview changes.
24
+ */
25
+ publish(publishEnvironmentRequestDto: components.PublishEnvironmentRequestDto, targetEnvironmentId: string, idempotencyKey?: string | undefined, options?: RequestOptions): Promise<operations.EnvironmentsControllerPublishEnvironmentResponse>;
12
26
  /**
13
27
  * Create an environment
14
28
  *
@@ -1 +1 @@
1
- {"version":3,"file":"environments.d.ts","sourceRoot":"","sources":["../src/sdk/environments.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAC3D,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAC5D,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAG5D,qBAAa,YAAa,SAAQ,SAAS;IACzC;;;;;OAKG;IACG,OAA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8 +6,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.Environments = void 0;
7
7
  const environmentsCreate_js_1 = require("../funcs/environmentsCreate.js");
8
8
  const environmentsDelete_js_1 = require("../funcs/environmentsDelete.js");
9
+ const environmentsDiff_js_1 = require("../funcs/environmentsDiff.js");
9
10
  const environmentsGetTags_js_1 = require("../funcs/environmentsGetTags.js");
10
11
  const environmentsList_js_1 = require("../funcs/environmentsList.js");
12
+ const environmentsPublish_js_1 = require("../funcs/environmentsPublish.js");
11
13
  const environmentsUpdate_js_1 = require("../funcs/environmentsUpdate.js");
12
14
  const sdks_js_1 = require("../lib/sdks.js");
13
15
  const fp_js_1 = require("../types/fp.js");
@@ -21,6 +23,24 @@ class Environments extends sdks_js_1.ClientSDK {
21
23
  async getTags(environmentId, idempotencyKey, options) {
22
24
  return (0, fp_js_1.unwrapAsync)((0, environmentsGetTags_js_1.environmentsGetTags)(this, environmentId, idempotencyKey, options));
23
25
  }
26
+ /**
27
+ * Compare resources between environments
28
+ *
29
+ * @remarks
30
+ * Compares workflows and other resources between the source and target environments, returning detailed diff information including additions, modifications, and deletions.
31
+ */
32
+ async diff(diffEnvironmentRequestDto, targetEnvironmentId, idempotencyKey, options) {
33
+ return (0, fp_js_1.unwrapAsync)((0, environmentsDiff_js_1.environmentsDiff)(this, diffEnvironmentRequestDto, targetEnvironmentId, idempotencyKey, options));
34
+ }
35
+ /**
36
+ * Publish resources to target environment
37
+ *
38
+ * @remarks
39
+ * Publishes all workflows and resources from the source environment to the target environment. Optionally specify specific resources to publish or use dryRun mode to preview changes.
40
+ */
41
+ async publish(publishEnvironmentRequestDto, targetEnvironmentId, idempotencyKey, options) {
42
+ return (0, fp_js_1.unwrapAsync)((0, environmentsPublish_js_1.environmentsPublish)(this, publishEnvironmentRequestDto, targetEnvironmentId, idempotencyKey, options));
43
+ }
24
44
  /**
25
45
  * Create an environment
26
46
  *
@@ -1 +1 @@
1
- {"version":3,"file":"environments.js","sourceRoot":"","sources":["../src/sdk/environments.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAEH,0EAAoE;AACpE,0EAAoE;AACpE,4EAAsE;AACtE,sEAAgE;AAChE,0EAAoE;AACpE,4CAA2D;AAG3D,0CAA6C;AAE7C,MAAa,YAAa,SAAQ,mBAAS;IACzC;;;;;OAKG;IACH,KAAK,CAAC,OAAO,CACX,aAAqB,EACrB,cAAmC,EACnC,OAAwB;QAExB,OAAO,IAAA,mBAAW,EAAC,IAAA,4CAAmB,EACpC,IAAI,EACJ,aAAa,EACb,cAAc,EACd,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;OAOG;IACH,KAAK,CAAC,MAAM,CACV,2BAAmE,EACnE,cAAmC,EACnC,OAAwB;QAExB,OAAO,IAAA,mBAAW,EAAC,IAAA,0CAAkB,EACnC,IAAI,EACJ,2BAA2B,EAC3B,cAAc,EACd,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;;OAMG;IACH,KAAK,CAAC,IAAI,CACR,cAAmC,EACnC,OAAwB;QAExB,OAAO,IAAA,mBAAW,EAAC,IAAA,sCAAgB,EACjC,IAAI,EACJ,cAAc,EACd,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;;OAMG;IACH,KAAK,CAAC,MAAM,CACV,2BAAmE,EACnE,aAAqB,EACrB,cAAmC,EACnC,OAAwB;QAExB,OAAO,IAAA,mBAAW,EAAC,IAAA,0CAAkB,EACnC,IAAI,EACJ,2BAA2B,EAC3B,aAAa,EACb,cAAc,EACd,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;;OAMG;IACH,KAAK,CAAC,MAAM,CACV,aAAqB,EACrB,cAAmC,EACnC,OAAwB;QAIxB,OAAO,IAAA,mBAAW,EAAC,IAAA,0CAAkB,EACnC,IAAI,EACJ,aAAa,EACb,cAAc,EACd,OAAO,CACR,CAAC,CAAC;IACL,CAAC;CACF;AAtGD,oCAsGC"}
1
+ {"version":3,"file":"environments.js","s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AAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;;OAMG;IACH,KAAK,CAAC,MAAM,CACV,2BAAmE,EACnE,aAAqB,EACrB,cAAmC,EACnC,OAAwB;QAExB,OAAO,IAAA,mBAAW,EAAC,IAAA,0CAAkB,EACnC,IAAI,EACJ,2BAA2B,EAC3B,aAAa,EACb,cAAc,EACd,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;;OAMG;IACH,KAAK,CAAC,MAAM,CACV,aAAqB,EACrB,cAAmC,EACnC,OAAwB;QAIxB,OAAO,IAAA,mBAAW,EAAC,IAAA,0CAAkB,EACnC,IAAI,EACJ,aAAa,EACb,cAAc,EACd,OAAO,CACR,CAAC,CAAC;IACL,CAAC;CACF;AAhJD,oCAgJC"}
@@ -0,0 +1,48 @@
1
+ import { ClientSDK, RequestOptions } from "../lib/sdks.js";
2
+ import * as components from "../models/components/index.js";
3
+ import * as operations from "../models/operations/index.js";
4
+ export declare class EnvironmentVariables extends ClientSDK {
5
+ /**
6
+ * List environment variables
7
+ *
8
+ * @remarks
9
+ * Returns all environment variables for the current organization. Secret values are masked.
10
+ */
11
+ list(search?: string | undefined, idempotencyKey?: string | undefined, options?: RequestOptions): Promise<operations.EnvironmentVariablesControllerListEnvironmentVariablesResponse>;
12
+ /**
13
+ * Create environment variable
14
+ *
15
+ * @remarks
16
+ * Creates a new environment variable. Keys must be uppercase with underscores only (e.g. BASE_URL). Secret variables are encrypted at rest and masked in API responses.
17
+ */
18
+ create(createEnvironmentVariableRequestDto: components.CreateEnvironmentVariableRequestDto, idempotencyKey?: string | undefined, options?: RequestOptions): Promise<operations.EnvironmentVariablesControllerCreateEnvironmentVariableResponse>;
19
+ /**
20
+ * Get environment variable
21
+ *
22
+ * @remarks
23
+ * Returns a single environment variable by id. Secret values are masked.
24
+ */
25
+ retrieve(variableId: string, idempotencyKey?: string | undefined, options?: RequestOptions): Promise<operations.EnvironmentVariablesControllerGetEnvironmentVariableResponse>;
26
+ /**
27
+ * Update environment variable
28
+ *
29
+ * @remarks
30
+ * Updates an existing environment variable. Providing values replaces all existing per-environment values.
31
+ */
32
+ update(updateEnvironmentVariableRequestDto: components.UpdateEnvironmentVariableRequestDto, variableId: string, idempotencyKey?: string | undefined, options?: RequestOptions): Promise<operations.EnvironmentVariablesControllerUpdateEnvironmentVariableResponse>;
33
+ /**
34
+ * Delete environment variable
35
+ *
36
+ * @remarks
37
+ * Deletes an environment variable by id.
38
+ */
39
+ delete(variableId: string, idempotencyKey?: string | undefined, options?: RequestOptions): Promise<operations.EnvironmentVariablesControllerDeleteEnvironmentVariableResponse | undefined>;
40
+ /**
41
+ * Get environment variable usage
42
+ *
43
+ * @remarks
44
+ * Returns the workflows that reference this environment variable via {{env.KEY}} in their step controls.
45
+ */
46
+ usage(variableId: string, idempotencyKey?: string | undefined, options?: RequestOptions): Promise<operations.EnvironmentVariablesControllerGetEnvironmentVariableUsageResponse>;
47
+ }
48
+ //# sourceMappingURL=environmentvariables.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"environmentvariables.d.ts","sourceRoot":"","sources":["../src/sdk/environmentvariables.ts"],"names":[],"mappings":"AAUA,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAC3D,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAC5D,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAG5D,qBAAa,oBAAqB,SAAQ,SAAS;IACjD;;;;;OAKG;IACG,IAAI,CACR,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,EAC3B,cAAc,CAAC,EAAE,MAAM,GAAG,SAAS,EACnC,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CACR,UAAU,CAAC,8DAA8D,CAC1E;IASD;;;;;OAKG;IACG,MAAM,CACV,mCAAmC,EACjC,UAAU,CAAC,mCAAmC,EAChD,cAAc,CAAC,EAAE,MAAM,GAAG,SAAS,EACnC,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CACR,UAAU,CAAC,+DAA+D,CAC3E;IASD;;;;;OAKG;IACG,QAAQ,CACZ,UAAU,EAAE,MAAM,EAClB,cAAc,CAAC,EAAE,MAAM,GAAG,SAAS,EACnC,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CACR,UAAU,CAAC,4DAA4D,CACxE;IASD;;;;;OAKG;IACG,MAAM,CACV,mCAAmC,EACjC,UAAU,CAAC,mCAAmC,EAChD,UAAU,EAAE,MAAM,EAClB,cAAc,CAAC,EAAE,MAAM,GAAG,SAAS,EACnC,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CACR,UAAU,CAAC,+DAA+D,CAC3E;IAUD;;;;;OAKG;IACG,MAAM,CACV,UAAU,EAAE,MAAM,EAClB,cAAc,CAAC,EAAE,MAAM,GAAG,SAAS,EACnC,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CACN,UAAU,CAAC,+DAA+D,GAC1E,SAAS,CACZ;IASD;;;;;OAKG;IACG,KAAK,CACT,UAAU,EAAE,MAAM,EAClB,cAAc,CAAC,EAAE,MAAM,GAAG,SAAS,EACnC,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CACR,UAAU,CAAC,iEAAiE,CAC7E;CAQF"}
@@ -0,0 +1,72 @@
1
+ "use strict";
2
+ /*
3
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.EnvironmentVariables = void 0;
7
+ const environmentVariablesCreate_js_1 = require("../funcs/environmentVariablesCreate.js");
8
+ const environmentVariablesDelete_js_1 = require("../funcs/environmentVariablesDelete.js");
9
+ const environmentVariablesList_js_1 = require("../funcs/environmentVariablesList.js");
10
+ const environmentVariablesRetrieve_js_1 = require("../funcs/environmentVariablesRetrieve.js");
11
+ const environmentVariablesUpdate_js_1 = require("../funcs/environmentVariablesUpdate.js");
12
+ const environmentVariablesUsage_js_1 = require("../funcs/environmentVariablesUsage.js");
13
+ const sdks_js_1 = require("../lib/sdks.js");
14
+ const fp_js_1 = require("../types/fp.js");
15
+ class EnvironmentVariables extends sdks_js_1.ClientSDK {
16
+ /**
17
+ * List environment variables
18
+ *
19
+ * @remarks
20
+ * Returns all environment variables for the current organization. Secret values are masked.
21
+ */
22
+ async list(search, idempotencyKey, options) {
23
+ return (0, fp_js_1.unwrapAsync)((0, environmentVariablesList_js_1.environmentVariablesList)(this, search, idempotencyKey, options));
24
+ }
25
+ /**
26
+ * Create environment variable
27
+ *
28
+ * @remarks
29
+ * Creates a new environment variable. Keys must be uppercase with underscores only (e.g. BASE_URL). Secret variables are encrypted at rest and masked in API responses.
30
+ */
31
+ async create(createEnvironmentVariableRequestDto, idempotencyKey, options) {
32
+ return (0, fp_js_1.unwrapAsync)((0, environmentVariablesCreate_js_1.environmentVariablesCreate)(this, createEnvironmentVariableRequestDto, idempotencyKey, options));
33
+ }
34
+ /**
35
+ * Get environment variable
36
+ *
37
+ * @remarks
38
+ * Returns a single environment variable by id. Secret values are masked.
39
+ */
40
+ async retrieve(variableId, idempotencyKey, options) {
41
+ return (0, fp_js_1.unwrapAsync)((0, environmentVariablesRetrieve_js_1.environmentVariablesRetrieve)(this, variableId, idempotencyKey, options));
42
+ }
43
+ /**
44
+ * Update environment variable
45
+ *
46
+ * @remarks
47
+ * Updates an existing environment variable. Providing values replaces all existing per-environment values.
48
+ */
49
+ async update(updateEnvironmentVariableRequestDto, variableId, idempotencyKey, options) {
50
+ return (0, fp_js_1.unwrapAsync)((0, environmentVariablesUpdate_js_1.environmentVariablesUpdate)(this, updateEnvironmentVariableRequestDto, variableId, idempotencyKey, options));
51
+ }
52
+ /**
53
+ * Delete environment variable
54
+ *
55
+ * @remarks
56
+ * Deletes an environment variable by id.
57
+ */
58
+ async delete(variableId, idempotencyKey, options) {
59
+ return (0, fp_js_1.unwrapAsync)((0, environmentVariablesDelete_js_1.environmentVariablesDelete)(this, variableId, idempotencyKey, options));
60
+ }
61
+ /**
62
+ * Get environment variable usage
63
+ *
64
+ * @remarks
65
+ * Returns the workflows that reference this environment variable via {{env.KEY}} in their step controls.
66
+ */
67
+ async usage(variableId, idempotencyKey, options) {
68
+ return (0, fp_js_1.unwrapAsync)((0, environmentVariablesUsage_js_1.environmentVariablesUsage)(this, variableId, idempotencyKey, options));
69
+ }
70
+ }
71
+ exports.EnvironmentVariables = EnvironmentVariables;
72
+ //# sourceMappingURL=environmentvariables.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"environmentvariables.js","sourceRoot":"","sources":["../src/sdk/environmentvariables.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAEH,0FAAoF;AACpF,0FAAoF;AACpF,sFAAgF;AAChF,8FAAwF;AACxF,0FAAoF;AACpF,wFAAkF;AAClF,4CAA2D;AAG3D,0CAA6C;AAE7C,MAAa,oBAAqB,SAAQ,mBAAS;IACjD;;;;;OAKG;IACH,KAAK,CAAC,IAAI,CACR,MAA2B,EAC3B,cAAmC,EACnC,OAAwB;QAIxB,OAAO,IAAA,mBAAW,EAAC,IAAA,sDAAwB,EACzC,IAAI,EACJ,MAAM,EACN,cAAc,EACd,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;OAKG;IACH,KAAK,CAAC,MAAM,CACV,mCACgD,EAChD,cAAmC,EACnC,OAAwB;QAIxB,OAAO,IAAA,mBAAW,EAAC,IAAA,0DAA0B,EAC3C,IAAI,EACJ,mCAAmC,EACnC,cAAc,EACd,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;OAKG;IACH,KAAK,CAAC,QAAQ,CACZ,UAAkB,EAClB,cAAmC,EACnC,OAAwB;QAIxB,OAAO,IAAA,mBAAW,EAAC,IAAA,8DAA4B,EAC7C,IAAI,EACJ,UAAU,EACV,cAAc,EACd,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;OAKG;IACH,KAAK,CAAC,MAAM,CACV,mCACgD,EAChD,UAAkB,EAClB,cAAmC,EACnC,OAAwB;QAI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