@novu/api 3.12.0-rc.0 → 3.13.0

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 (242) hide show
  1. package/README.md +25 -23
  2. package/_speakeasy/.github/action-inputs-config.json +53 -0
  3. package/_speakeasy/.github/action-security-config.json +88 -0
  4. package/examples/package-lock.json +1 -1
  5. package/funcs/channelConnectionsCreate.d.ts +1 -1
  6. package/funcs/channelConnectionsCreate.js +1 -1
  7. package/funcs/channelConnectionsDelete.d.ts +1 -1
  8. package/funcs/channelConnectionsDelete.js +1 -1
  9. package/funcs/channelConnectionsList.d.ts +2 -2
  10. package/funcs/channelConnectionsList.js +2 -2
  11. package/funcs/channelConnectionsRetrieve.d.ts +1 -1
  12. package/funcs/channelConnectionsRetrieve.js +1 -1
  13. package/funcs/channelConnectionsUpdate.d.ts +1 -1
  14. package/funcs/channelConnectionsUpdate.js +1 -1
  15. package/funcs/channelEndpointsCreate.d.ts +1 -1
  16. package/funcs/channelEndpointsCreate.js +1 -1
  17. package/funcs/channelEndpointsDelete.d.ts +1 -1
  18. package/funcs/channelEndpointsDelete.js +1 -1
  19. package/funcs/channelEndpointsList.d.ts +2 -2
  20. package/funcs/channelEndpointsList.js +2 -2
  21. package/funcs/channelEndpointsRetrieve.d.ts +1 -1
  22. package/funcs/channelEndpointsRetrieve.js +1 -1
  23. package/funcs/channelEndpointsUpdate.d.ts +1 -1
  24. package/funcs/channelEndpointsUpdate.js +1 -1
  25. package/funcs/notificationsList.js +1 -0
  26. package/funcs/notificationsList.js.map +1 -1
  27. package/funcs/subscribersPreferencesList.d.ts +1 -1
  28. package/funcs/subscribersPreferencesList.d.ts.map +1 -1
  29. package/funcs/subscribersPreferencesList.js +5 -9
  30. package/funcs/subscribersPreferencesList.js.map +1 -1
  31. package/funcs/subscribersTopicsList.js +1 -0
  32. package/funcs/subscribersTopicsList.js.map +1 -1
  33. package/funcs/topicsSubscriptionsGetSubscription.d.ts +18 -0
  34. package/funcs/topicsSubscriptionsGetSubscription.d.ts.map +1 -0
  35. package/funcs/topicsSubscriptionsGetSubscription.js +160 -0
  36. package/funcs/topicsSubscriptionsGetSubscription.js.map +1 -0
  37. package/funcs/topicsSubscriptionsList.js +1 -0
  38. package/funcs/topicsSubscriptionsList.js.map +1 -1
  39. package/funcs/topicsSubscriptionsUpdate.d.ts +1 -1
  40. package/funcs/topicsSubscriptionsUpdate.js +6 -3
  41. package/funcs/topicsSubscriptionsUpdate.js.map +1 -1
  42. package/funcs/trigger.d.ts +1 -1
  43. package/funcs/trigger.js +1 -1
  44. package/jsr.json +1 -1
  45. package/lib/config.d.ts +4 -4
  46. package/lib/config.js +4 -4
  47. package/lib/config.js.map +1 -1
  48. package/lib/sdks.js +2 -2
  49. package/lib/sdks.js.map +1 -1
  50. package/models/components/activitynotificationjobresponsedto.d.ts +4 -4
  51. package/models/components/activitynotificationjobresponsedto.d.ts.map +1 -1
  52. package/models/components/activitynotificationjobresponsedto.js +6 -7
  53. package/models/components/activitynotificationjobresponsedto.js.map +1 -1
  54. package/models/components/bulkupdatesubscriberpreferencesdto.d.ts +34 -0
  55. package/models/components/bulkupdatesubscriberpreferencesdto.d.ts.map +1 -1
  56. package/models/components/bulkupdatesubscriberpreferencesdto.js +17 -1
  57. package/models/components/bulkupdatesubscriberpreferencesdto.js.map +1 -1
  58. package/models/components/createchannelconnectionrequestdto.d.ts +10 -10
  59. package/models/components/createchannelconnectionrequestdto.d.ts.map +1 -1
  60. package/models/components/createchannelconnectionrequestdto.js +16 -12
  61. package/models/components/createchannelconnectionrequestdto.js.map +1 -1
  62. package/models/components/createslackchannelendpointdto.d.ts +8 -8
  63. package/models/components/createslackchannelendpointdto.d.ts.map +1 -1
  64. package/models/components/createslackchannelendpointdto.js +13 -7
  65. package/models/components/createslackchannelendpointdto.js.map +1 -1
  66. package/models/components/createtopicsubscriptionsrequestdto.d.ts +34 -0
  67. package/models/components/createtopicsubscriptionsrequestdto.d.ts.map +1 -1
  68. package/models/components/createtopicsubscriptionsrequestdto.js +23 -1
  69. package/models/components/createtopicsubscriptionsrequestdto.js.map +1 -1
  70. package/models/components/delaystepresponsedto.d.ts +1 -1
  71. package/models/components/delaystepresponsedto.d.ts.map +1 -1
  72. package/models/components/emailstepresponsedto.d.ts +3 -3
  73. package/models/components/emailstepresponsedto.d.ts.map +1 -1
  74. package/models/components/generatechatoauthurlrequestdto.d.ts +1 -1
  75. package/models/components/inappcontroldto.d.ts +1 -1
  76. package/models/components/inappstepresponsedto.d.ts +2 -2
  77. package/models/components/inappstepresponsedto.d.ts.map +1 -1
  78. package/models/components/index.d.ts +1 -0
  79. package/models/components/index.d.ts.map +1 -1
  80. package/models/components/index.js +1 -0
  81. package/models/components/index.js.map +1 -1
  82. package/models/components/messageactionresult.d.ts +3 -8
  83. package/models/components/messageactionresult.d.ts.map +1 -1
  84. package/models/components/messageactionresult.js +2 -8
  85. package/models/components/messageactionresult.js.map +1 -1
  86. package/models/components/messageresponsedto.d.ts +6 -16
  87. package/models/components/messageresponsedto.d.ts.map +1 -1
  88. package/models/components/messageresponsedto.js +3 -15
  89. package/models/components/messageresponsedto.js.map +1 -1
  90. package/models/components/notificationfeeditemdto.d.ts +4 -0
  91. package/models/components/notificationfeeditemdto.d.ts.map +1 -1
  92. package/models/components/notificationfeeditemdto.js +1 -0
  93. package/models/components/notificationfeeditemdto.js.map +1 -1
  94. package/models/components/patchsubscriberpreferencesdto.d.ts +34 -0
  95. package/models/components/patchsubscriberpreferencesdto.d.ts.map +1 -1
  96. package/models/components/patchsubscriberpreferencesdto.js +19 -1
  97. package/models/components/patchsubscriberpreferencesdto.js.map +1 -1
  98. package/models/components/redirectdto.d.ts +1 -1
  99. package/models/components/subscriberworkflowpreferencedto.d.ts +4 -0
  100. package/models/components/subscriberworkflowpreferencedto.d.ts.map +1 -1
  101. package/models/components/subscriberworkflowpreferencedto.js +1 -0
  102. package/models/components/subscriberworkflowpreferencedto.js.map +1 -1
  103. package/models/components/subscriptiondetailsresponsedto.d.ts +30 -0
  104. package/models/components/subscriptiondetailsresponsedto.d.ts.map +1 -0
  105. package/models/components/{createtopicsubscriptionsresponsedto.js → subscriptiondetailsresponsedto.js} +12 -12
  106. package/models/components/subscriptiondetailsresponsedto.js.map +1 -0
  107. package/models/components/subscriptiondto.d.ts +4 -0
  108. package/models/components/subscriptiondto.d.ts.map +1 -1
  109. package/models/components/subscriptiondto.js +1 -0
  110. package/models/components/subscriptiondto.js.map +1 -1
  111. package/models/components/subscriptionresponsedto.d.ts +4 -0
  112. package/models/components/subscriptionresponsedto.d.ts.map +1 -1
  113. package/models/components/subscriptionresponsedto.js +1 -0
  114. package/models/components/subscriptionresponsedto.js.map +1 -1
  115. package/models/components/throttlestepresponsedto.d.ts +2 -2
  116. package/models/components/throttlestepresponsedto.d.ts.map +1 -1
  117. package/models/components/topicsubscriptionresponsedto.d.ts +8 -0
  118. package/models/components/topicsubscriptionresponsedto.d.ts.map +1 -1
  119. package/models/components/topicsubscriptionresponsedto.js +2 -0
  120. package/models/components/topicsubscriptionresponsedto.js.map +1 -1
  121. package/models/components/triggereventrequestdto.d.ts +2 -2
  122. package/models/components/workflowresponsedto.d.ts +2 -2
  123. package/models/components/workflowresponsedto.d.ts.map +1 -1
  124. package/models/operations/inboundwebhookscontrollerhandlewebhook.d.ts +6 -2
  125. package/models/operations/inboundwebhookscontrollerhandlewebhook.d.ts.map +1 -1
  126. package/models/operations/inboundwebhookscontrollerhandlewebhook.js +1 -1
  127. package/models/operations/inboundwebhookscontrollerhandlewebhook.js.map +1 -1
  128. package/models/operations/index.d.ts +1 -0
  129. package/models/operations/index.d.ts.map +1 -1
  130. package/models/operations/index.js +1 -0
  131. package/models/operations/index.js.map +1 -1
  132. package/models/operations/notificationscontrollerlistnotifications.d.ts +5 -0
  133. package/models/operations/notificationscontrollerlistnotifications.d.ts.map +1 -1
  134. package/models/operations/notificationscontrollerlistnotifications.js +1 -0
  135. package/models/operations/notificationscontrollerlistnotifications.js.map +1 -1
  136. package/models/operations/subscriberscontrollergetsubscriberpreferences.d.ts +5 -0
  137. package/models/operations/subscriberscontrollergetsubscriberpreferences.d.ts.map +1 -1
  138. package/models/operations/subscriberscontrollergetsubscriberpreferences.js +1 -0
  139. package/models/operations/subscriberscontrollergetsubscriberpreferences.js.map +1 -1
  140. package/models/operations/subscriberscontrollerlistsubscribertopics.d.ts +5 -0
  141. package/models/operations/subscriberscontrollerlistsubscribertopics.d.ts.map +1 -1
  142. package/models/operations/subscriberscontrollerlistsubscribertopics.js +1 -0
  143. package/models/operations/subscriberscontrollerlistsubscribertopics.js.map +1 -1
  144. package/models/operations/topicscontrollergettopicsubscription.d.ts +37 -0
  145. package/models/operations/topicscontrollergettopicsubscription.d.ts.map +1 -0
  146. package/models/operations/topicscontrollergettopicsubscription.js +72 -0
  147. package/models/operations/topicscontrollergettopicsubscription.js.map +1 -0
  148. package/models/operations/topicscontrollerlisttopicsubscriptions.d.ts +5 -0
  149. package/models/operations/topicscontrollerlisttopicsubscriptions.d.ts.map +1 -1
  150. package/models/operations/topicscontrollerlisttopicsubscriptions.js +1 -0
  151. package/models/operations/topicscontrollerlisttopicsubscriptions.js.map +1 -1
  152. package/models/operations/topicscontrollerupdatetopicsubscription.d.ts +2 -2
  153. package/models/operations/topicscontrollerupdatetopicsubscription.d.ts.map +1 -1
  154. package/models/operations/topicscontrollerupdatetopicsubscription.js +1 -1
  155. package/models/operations/topicscontrollerupdatetopicsubscription.js.map +1 -1
  156. package/package.json +1 -1
  157. package/sdk/channelconnections.d.ts +6 -6
  158. package/sdk/channelconnections.js +6 -6
  159. package/sdk/channelendpoints.d.ts +6 -6
  160. package/sdk/channelendpoints.js +6 -6
  161. package/sdk/preferences.d.ts +1 -1
  162. package/sdk/preferences.d.ts.map +1 -1
  163. package/sdk/preferences.js +2 -2
  164. package/sdk/preferences.js.map +1 -1
  165. package/sdk/sdk.d.ts +1 -1
  166. package/sdk/sdk.js +1 -1
  167. package/sdk/subscriptions.d.ts +8 -1
  168. package/sdk/subscriptions.d.ts.map +1 -1
  169. package/sdk/subscriptions.js +11 -1
  170. package/sdk/subscriptions.js.map +1 -1
  171. package/sources/json-development.json +954 -183
  172. package/src/funcs/channelConnectionsCreate.ts +1 -1
  173. package/src/funcs/channelConnectionsDelete.ts +1 -1
  174. package/src/funcs/channelConnectionsList.ts +2 -2
  175. package/src/funcs/channelConnectionsRetrieve.ts +1 -1
  176. package/src/funcs/channelConnectionsUpdate.ts +1 -1
  177. package/src/funcs/channelEndpointsCreate.ts +1 -1
  178. package/src/funcs/channelEndpointsDelete.ts +1 -1
  179. package/src/funcs/channelEndpointsList.ts +2 -2
  180. package/src/funcs/channelEndpointsRetrieve.ts +1 -1
  181. package/src/funcs/channelEndpointsUpdate.ts +1 -1
  182. package/src/funcs/notificationsList.ts +1 -0
  183. package/src/funcs/subscribersPreferencesList.ts +5 -17
  184. package/src/funcs/subscribersTopicsList.ts +1 -0
  185. package/src/funcs/topicsSubscriptionsGetSubscription.ts +242 -0
  186. package/src/funcs/topicsSubscriptionsList.ts +1 -0
  187. package/src/funcs/topicsSubscriptionsUpdate.ts +8 -9
  188. package/src/funcs/trigger.ts +1 -1
  189. package/src/lib/config.ts +4 -4
  190. package/src/lib/sdks.ts +2 -2
  191. package/src/models/components/activitynotificationjobresponsedto.ts +9 -19
  192. package/src/models/components/bulkupdatesubscriberpreferencesdto.ts +62 -0
  193. package/src/models/components/createchannelconnectionrequestdto.ts +51 -18
  194. package/src/models/components/createslackchannelendpointdto.ts +31 -13
  195. package/src/models/components/createtopicsubscriptionsrequestdto.ts +82 -0
  196. package/src/models/components/delaystepresponsedto.ts +1 -1
  197. package/src/models/components/emailstepresponsedto.ts +3 -3
  198. package/src/models/components/generatechatoauthurlrequestdto.ts +1 -1
  199. package/src/models/components/inappcontroldto.ts +1 -1
  200. package/src/models/components/inappstepresponsedto.ts +2 -2
  201. package/src/models/components/index.ts +1 -0
  202. package/src/models/components/messageactionresult.ts +2 -21
  203. package/src/models/components/messageresponsedto.ts +4 -48
  204. package/src/models/components/notificationfeeditemdto.ts +5 -0
  205. package/src/models/components/patchsubscriberpreferencesdto.ts +48 -0
  206. package/src/models/components/redirectdto.ts +1 -1
  207. package/src/models/components/subscriberworkflowpreferencedto.ts +5 -0
  208. package/src/models/components/subscriptiondetailsresponsedto.ts +58 -0
  209. package/src/models/components/subscriptiondto.ts +5 -0
  210. package/src/models/components/subscriptionresponsedto.ts +5 -0
  211. package/src/models/components/throttlestepresponsedto.ts +2 -2
  212. package/src/models/components/topicsubscriptionresponsedto.ts +10 -0
  213. package/src/models/components/triggereventrequestdto.ts +2 -2
  214. package/src/models/components/workflowresponsedto.ts +2 -2
  215. package/src/models/operations/inboundwebhookscontrollerhandlewebhook.ts +3 -3
  216. package/src/models/operations/index.ts +1 -0
  217. package/src/models/operations/notificationscontrollerlistnotifications.ts +6 -0
  218. package/src/models/operations/subscriberscontrollergetsubscriberpreferences.ts +6 -0
  219. package/src/models/operations/subscriberscontrollerlistsubscribertopics.ts +6 -0
  220. package/src/models/operations/topicscontrollergettopicsubscription.ts +96 -0
  221. package/src/models/operations/topicscontrollerlisttopicsubscriptions.ts +6 -0
  222. package/src/models/operations/topicscontrollerupdatetopicsubscription.ts +3 -3
  223. package/src/sdk/channelconnections.ts +6 -6
  224. package/src/sdk/channelendpoints.ts +6 -6
  225. package/src/sdk/preferences.ts +2 -6
  226. package/src/sdk/sdk.ts +1 -1
  227. package/src/sdk/subscriptions.ts +23 -1
  228. package/models/components/createtopicsubscriptionsresponsedto.d.ts +0 -24
  229. package/models/components/createtopicsubscriptionsresponsedto.d.ts.map +0 -1
  230. package/models/components/createtopicsubscriptionsresponsedto.js.map +0 -1
  231. package/models/components/steptypeenum.d.ts +0 -26
  232. package/models/components/steptypeenum.d.ts.map +0 -1
  233. package/models/components/steptypeenum.js +0 -60
  234. package/models/components/steptypeenum.js.map +0 -1
  235. package/models/components/uploadtranslationsrequestdto.d.ts +0 -34
  236. package/models/components/uploadtranslationsrequestdto.d.ts.map +0 -1
  237. package/models/components/uploadtranslationsrequestdto.js +0 -60
  238. package/models/components/uploadtranslationsrequestdto.js.map +0 -1
  239. package/src/models/components/createtopicsubscriptionsresponsedto.ts +0 -54
  240. package/src/models/components/steptypeenum.ts +0 -33
  241. package/src/models/components/uploadtranslationsrequestdto.ts +0 -62
  242. package/temp/example.ts +0 -5
@@ -3023,7 +3023,9 @@
3023
3023
  "content": {
3024
3024
  "application/json": {
3025
3025
  "schema": {
3026
- "$ref": "#/components/schemas/"
3026
+ "type": "object",
3027
+ "additionalProperties": true,
3028
+ "description": "Generic webhook payload from delivery providers"
3027
3029
  }
3028
3030
  }
3029
3031
  }
@@ -9506,6 +9508,21 @@
9506
9508
  "type": "string"
9507
9509
  }
9508
9510
  },
9511
+ {
9512
+ "name": "contextKeys",
9513
+ "required": false,
9514
+ "in": "query",
9515
+ "description": "Context keys for filtering preferences (e.g., [\"tenant:acme\"])",
9516
+ "example": [
9517
+ "tenant:acme"
9518
+ ],
9519
+ "schema": {
9520
+ "type": "array",
9521
+ "items": {
9522
+ "type": "string"
9523
+ }
9524
+ }
9525
+ },
9509
9526
  {
9510
9527
  "name": "idempotency-key",
9511
9528
  "in": "header",
@@ -11052,6 +11069,22 @@
11052
11069
  "type": "string"
11053
11070
  }
11054
11071
  },
11072
+ {
11073
+ "name": "contextKeys",
11074
+ "required": false,
11075
+ "in": "query",
11076
+ "description": "Filter by exact context keys, order insensitive (format: \"type:id\")",
11077
+ "example": [
11078
+ "tenant:org-123",
11079
+ "region:us-east-1"
11080
+ ],
11081
+ "schema": {
11082
+ "type": "array",
11083
+ "items": {
11084
+ "type": "string"
11085
+ }
11086
+ }
11087
+ },
11055
11088
  {
11056
11089
  "name": "idempotency-key",
11057
11090
  "in": "header",
@@ -13577,11 +13610,496 @@
13577
13610
  "secretKey": []
13578
13611
  }
13579
13612
  ]
13580
- },
13581
- "delete": {
13582
- "operationId": "TopicsController_deleteTopic",
13583
- "summary": "Delete a topic",
13584
- "description": "Delete a topic by its unique key identifier **topicKey**. \n This action is irreversible and will remove all subscriptions to the topic.",
13613
+ },
13614
+ "delete": {
13615
+ "operationId": "TopicsController_deleteTopic",
13616
+ "summary": "Delete a topic",
13617
+ "description": "Delete a topic by its unique key identifier **topicKey**. \n This action is irreversible and will remove all subscriptions to the topic.",
13618
+ "parameters": [
13619
+ {
13620
+ "name": "topicKey",
13621
+ "required": true,
13622
+ "in": "path",
13623
+ "description": "The key identifier of the topic",
13624
+ "schema": {
13625
+ "type": "string"
13626
+ }
13627
+ },
13628
+ {
13629
+ "name": "idempotency-key",
13630
+ "in": "header",
13631
+ "description": "A header for idempotency purposes",
13632
+ "required": false,
13633
+ "schema": {
13634
+ "type": "string"
13635
+ }
13636
+ }
13637
+ ],
13638
+ "responses": {
13639
+ "200": {
13640
+ "description": "Topic deleted successfully",
13641
+ "headers": {
13642
+ "Content-Type": {
13643
+ "$ref": "#/components/headers/Content-Type"
13644
+ },
13645
+ "RateLimit-Limit": {
13646
+ "$ref": "#/components/headers/RateLimit-Limit"
13647
+ },
13648
+ "RateLimit-Remaining": {
13649
+ "$ref": "#/components/headers/RateLimit-Remaining"
13650
+ },
13651
+ "RateLimit-Reset": {
13652
+ "$ref": "#/components/headers/RateLimit-Reset"
13653
+ },
13654
+ "RateLimit-Policy": {
13655
+ "$ref": "#/components/headers/RateLimit-Policy"
13656
+ },
13657
+ "Idempotency-Key": {
13658
+ "$ref": "#/components/headers/Idempotency-Key"
13659
+ },
13660
+ "Idempotency-Replay": {
13661
+ "$ref": "#/components/headers/Idempotency-Replay"
13662
+ }
13663
+ },
13664
+ "content": {
13665
+ "application/json": {
13666
+ "schema": {
13667
+ "$ref": "#/components/schemas/DeleteTopicResponseDto"
13668
+ }
13669
+ }
13670
+ }
13671
+ },
13672
+ "400": {
13673
+ "description": "Bad Request",
13674
+ "headers": {
13675
+ "Content-Type": {
13676
+ "$ref": "#/components/headers/Content-Type"
13677
+ },
13678
+ "RateLimit-Limit": {
13679
+ "$ref": "#/components/headers/RateLimit-Limit"
13680
+ },
13681
+ "RateLimit-Remaining": {
13682
+ "$ref": "#/components/headers/RateLimit-Remaining"
13683
+ },
13684
+ "RateLimit-Reset": {
13685
+ "$ref": "#/components/headers/RateLimit-Reset"
13686
+ },
13687
+ "RateLimit-Policy": {
13688
+ "$ref": "#/components/headers/RateLimit-Policy"
13689
+ },
13690
+ "Idempotency-Key": {
13691
+ "$ref": "#/components/headers/Idempotency-Key"
13692
+ },
13693
+ "Idempotency-Replay": {
13694
+ "$ref": "#/components/headers/Idempotency-Replay"
13695
+ }
13696
+ },
13697
+ "content": {
13698
+ "application/json": {
13699
+ "schema": {
13700
+ "$ref": "#/components/schemas/ErrorDto"
13701
+ }
13702
+ }
13703
+ }
13704
+ },
13705
+ "401": {
13706
+ "description": "Unauthorized",
13707
+ "headers": {
13708
+ "Content-Type": {
13709
+ "$ref": "#/components/headers/Content-Type"
13710
+ },
13711
+ "RateLimit-Limit": {
13712
+ "$ref": "#/components/headers/RateLimit-Limit"
13713
+ },
13714
+ "RateLimit-Remaining": {
13715
+ "$ref": "#/components/headers/RateLimit-Remaining"
13716
+ },
13717
+ "RateLimit-Reset": {
13718
+ "$ref": "#/components/headers/RateLimit-Reset"
13719
+ },
13720
+ "RateLimit-Policy": {
13721
+ "$ref": "#/components/headers/RateLimit-Policy"
13722
+ },
13723
+ "Idempotency-Key": {
13724
+ "$ref": "#/components/headers/Idempotency-Key"
13725
+ },
13726
+ "Idempotency-Replay": {
13727
+ "$ref": "#/components/headers/Idempotency-Replay"
13728
+ }
13729
+ },
13730
+ "content": {
13731
+ "application/json": {
13732
+ "schema": {
13733
+ "$ref": "#/components/schemas/ErrorDto"
13734
+ }
13735
+ }
13736
+ }
13737
+ },
13738
+ "403": {
13739
+ "description": "Forbidden",
13740
+ "headers": {
13741
+ "Content-Type": {
13742
+ "$ref": "#/components/headers/Content-Type"
13743
+ },
13744
+ "RateLimit-Limit": {
13745
+ "$ref": "#/components/headers/RateLimit-Limit"
13746
+ },
13747
+ "RateLimit-Remaining": {
13748
+ "$ref": "#/components/headers/RateLimit-Remaining"
13749
+ },
13750
+ "RateLimit-Reset": {
13751
+ "$ref": "#/components/headers/RateLimit-Reset"
13752
+ },
13753
+ "RateLimit-Policy": {
13754
+ "$ref": "#/components/headers/RateLimit-Policy"
13755
+ },
13756
+ "Idempotency-Key": {
13757
+ "$ref": "#/components/headers/Idempotency-Key"
13758
+ },
13759
+ "Idempotency-Replay": {
13760
+ "$ref": "#/components/headers/Idempotency-Replay"
13761
+ }
13762
+ },
13763
+ "content": {
13764
+ "application/json": {
13765
+ "schema": {
13766
+ "$ref": "#/components/schemas/ErrorDto"
13767
+ }
13768
+ }
13769
+ }
13770
+ },
13771
+ "404": {
13772
+ "description": "Not Found",
13773
+ "headers": {
13774
+ "Content-Type": {
13775
+ "$ref": "#/components/headers/Content-Type"
13776
+ },
13777
+ "RateLimit-Limit": {
13778
+ "$ref": "#/components/headers/RateLimit-Limit"
13779
+ },
13780
+ "RateLimit-Remaining": {
13781
+ "$ref": "#/components/headers/RateLimit-Remaining"
13782
+ },
13783
+ "RateLimit-Reset": {
13784
+ "$ref": "#/components/headers/RateLimit-Reset"
13785
+ },
13786
+ "RateLimit-Policy": {
13787
+ "$ref": "#/components/headers/RateLimit-Policy"
13788
+ },
13789
+ "Idempotency-Key": {
13790
+ "$ref": "#/components/headers/Idempotency-Key"
13791
+ },
13792
+ "Idempotency-Replay": {
13793
+ "$ref": "#/components/headers/Idempotency-Replay"
13794
+ }
13795
+ },
13796
+ "content": {
13797
+ "application/json": {
13798
+ "schema": {
13799
+ "$ref": "#/components/schemas/ErrorDto"
13800
+ }
13801
+ }
13802
+ }
13803
+ },
13804
+ "405": {
13805
+ "description": "Method Not Allowed",
13806
+ "headers": {
13807
+ "Content-Type": {
13808
+ "$ref": "#/components/headers/Content-Type"
13809
+ },
13810
+ "RateLimit-Limit": {
13811
+ "$ref": "#/components/headers/RateLimit-Limit"
13812
+ },
13813
+ "RateLimit-Remaining": {
13814
+ "$ref": "#/components/headers/RateLimit-Remaining"
13815
+ },
13816
+ "RateLimit-Reset": {
13817
+ "$ref": "#/components/headers/RateLimit-Reset"
13818
+ },
13819
+ "RateLimit-Policy": {
13820
+ "$ref": "#/components/headers/RateLimit-Policy"
13821
+ },
13822
+ "Idempotency-Key": {
13823
+ "$ref": "#/components/headers/Idempotency-Key"
13824
+ },
13825
+ "Idempotency-Replay": {
13826
+ "$ref": "#/components/headers/Idempotency-Replay"
13827
+ }
13828
+ },
13829
+ "content": {
13830
+ "application/json": {
13831
+ "schema": {
13832
+ "$ref": "#/components/schemas/ErrorDto"
13833
+ }
13834
+ }
13835
+ }
13836
+ },
13837
+ "409": {
13838
+ "description": "Conflict",
13839
+ "headers": {
13840
+ "Content-Type": {
13841
+ "$ref": "#/components/headers/Content-Type"
13842
+ },
13843
+ "RateLimit-Limit": {
13844
+ "$ref": "#/components/headers/RateLimit-Limit"
13845
+ },
13846
+ "RateLimit-Remaining": {
13847
+ "$ref": "#/components/headers/RateLimit-Remaining"
13848
+ },
13849
+ "RateLimit-Reset": {
13850
+ "$ref": "#/components/headers/RateLimit-Reset"
13851
+ },
13852
+ "RateLimit-Policy": {
13853
+ "$ref": "#/components/headers/RateLimit-Policy"
13854
+ },
13855
+ "Idempotency-Key": {
13856
+ "$ref": "#/components/headers/Idempotency-Key"
13857
+ },
13858
+ "Idempotency-Replay": {
13859
+ "$ref": "#/components/headers/Idempotency-Replay"
13860
+ }
13861
+ },
13862
+ "content": {
13863
+ "application/json": {
13864
+ "schema": {
13865
+ "$ref": "#/components/schemas/ErrorDto"
13866
+ }
13867
+ }
13868
+ }
13869
+ },
13870
+ "413": {
13871
+ "description": "Payload Too Large",
13872
+ "headers": {
13873
+ "Content-Type": {
13874
+ "$ref": "#/components/headers/Content-Type"
13875
+ },
13876
+ "RateLimit-Limit": {
13877
+ "$ref": "#/components/headers/RateLimit-Limit"
13878
+ },
13879
+ "RateLimit-Remaining": {
13880
+ "$ref": "#/components/headers/RateLimit-Remaining"
13881
+ },
13882
+ "RateLimit-Reset": {
13883
+ "$ref": "#/components/headers/RateLimit-Reset"
13884
+ },
13885
+ "RateLimit-Policy": {
13886
+ "$ref": "#/components/headers/RateLimit-Policy"
13887
+ },
13888
+ "Idempotency-Key": {
13889
+ "$ref": "#/components/headers/Idempotency-Key"
13890
+ },
13891
+ "Idempotency-Replay": {
13892
+ "$ref": "#/components/headers/Idempotency-Replay"
13893
+ }
13894
+ },
13895
+ "content": {
13896
+ "application/json": {
13897
+ "schema": {
13898
+ "$ref": "#/components/schemas/ErrorDto"
13899
+ }
13900
+ }
13901
+ }
13902
+ },
13903
+ "414": {
13904
+ "description": "URI Too Long",
13905
+ "content": {
13906
+ "application/json": {
13907
+ "schema": {
13908
+ "$ref": "#/components/schemas/ErrorDto"
13909
+ }
13910
+ }
13911
+ }
13912
+ },
13913
+ "415": {
13914
+ "description": "Unsupported Media Type",
13915
+ "headers": {
13916
+ "Content-Type": {
13917
+ "$ref": "#/components/headers/Content-Type"
13918
+ },
13919
+ "RateLimit-Limit": {
13920
+ "$ref": "#/components/headers/RateLimit-Limit"
13921
+ },
13922
+ "RateLimit-Remaining": {
13923
+ "$ref": "#/components/headers/RateLimit-Remaining"
13924
+ },
13925
+ "RateLimit-Reset": {
13926
+ "$ref": "#/components/headers/RateLimit-Reset"
13927
+ },
13928
+ "RateLimit-Policy": {
13929
+ "$ref": "#/components/headers/RateLimit-Policy"
13930
+ },
13931
+ "Idempotency-Key": {
13932
+ "$ref": "#/components/headers/Idempotency-Key"
13933
+ },
13934
+ "Idempotency-Replay": {
13935
+ "$ref": "#/components/headers/Idempotency-Replay"
13936
+ }
13937
+ },
13938
+ "content": {
13939
+ "application/json": {
13940
+ "schema": {
13941
+ "$ref": "#/components/schemas/ErrorDto"
13942
+ }
13943
+ }
13944
+ }
13945
+ },
13946
+ "422": {
13947
+ "description": "Unprocessable Entity",
13948
+ "headers": {
13949
+ "Content-Type": {
13950
+ "$ref": "#/components/headers/Content-Type"
13951
+ },
13952
+ "RateLimit-Limit": {
13953
+ "$ref": "#/components/headers/RateLimit-Limit"
13954
+ },
13955
+ "RateLimit-Remaining": {
13956
+ "$ref": "#/components/headers/RateLimit-Remaining"
13957
+ },
13958
+ "RateLimit-Reset": {
13959
+ "$ref": "#/components/headers/RateLimit-Reset"
13960
+ },
13961
+ "RateLimit-Policy": {
13962
+ "$ref": "#/components/headers/RateLimit-Policy"
13963
+ },
13964
+ "Idempotency-Key": {
13965
+ "$ref": "#/components/headers/Idempotency-Key"
13966
+ },
13967
+ "Idempotency-Replay": {
13968
+ "$ref": "#/components/headers/Idempotency-Replay"
13969
+ }
13970
+ },
13971
+ "content": {
13972
+ "application/json": {
13973
+ "schema": {
13974
+ "$ref": "#/components/schemas/ValidationErrorDto"
13975
+ }
13976
+ }
13977
+ }
13978
+ },
13979
+ "429": {
13980
+ "description": "The client has sent too many requests in a given amount of time. ",
13981
+ "headers": {
13982
+ "Content-Type": {
13983
+ "$ref": "#/components/headers/Content-Type"
13984
+ },
13985
+ "RateLimit-Limit": {
13986
+ "$ref": "#/components/headers/RateLimit-Limit"
13987
+ },
13988
+ "RateLimit-Remaining": {
13989
+ "$ref": "#/components/headers/RateLimit-Remaining"
13990
+ },
13991
+ "RateLimit-Reset": {
13992
+ "$ref": "#/components/headers/RateLimit-Reset"
13993
+ },
13994
+ "RateLimit-Policy": {
13995
+ "$ref": "#/components/headers/RateLimit-Policy"
13996
+ },
13997
+ "Idempotency-Key": {
13998
+ "$ref": "#/components/headers/Idempotency-Key"
13999
+ },
14000
+ "Idempotency-Replay": {
14001
+ "$ref": "#/components/headers/Idempotency-Replay"
14002
+ },
14003
+ "Retry-After": {
14004
+ "$ref": "#/components/headers/Retry-After"
14005
+ }
14006
+ },
14007
+ "content": {
14008
+ "application/json": {
14009
+ "schema": {
14010
+ "type": "string",
14011
+ "example": "API rate limit exceeded"
14012
+ }
14013
+ }
14014
+ }
14015
+ },
14016
+ "500": {
14017
+ "description": "Internal Server Error",
14018
+ "headers": {
14019
+ "Content-Type": {
14020
+ "$ref": "#/components/headers/Content-Type"
14021
+ },
14022
+ "RateLimit-Limit": {
14023
+ "$ref": "#/components/headers/RateLimit-Limit"
14024
+ },
14025
+ "RateLimit-Remaining": {
14026
+ "$ref": "#/components/headers/RateLimit-Remaining"
14027
+ },
14028
+ "RateLimit-Reset": {
14029
+ "$ref": "#/components/headers/RateLimit-Reset"
14030
+ },
14031
+ "RateLimit-Policy": {
14032
+ "$ref": "#/components/headers/RateLimit-Policy"
14033
+ },
14034
+ "Idempotency-Key": {
14035
+ "$ref": "#/components/headers/Idempotency-Key"
14036
+ },
14037
+ "Idempotency-Replay": {
14038
+ "$ref": "#/components/headers/Idempotency-Replay"
14039
+ }
14040
+ },
14041
+ "content": {
14042
+ "application/json": {
14043
+ "schema": {
14044
+ "$ref": "#/components/schemas/ErrorDto"
14045
+ }
14046
+ }
14047
+ }
14048
+ },
14049
+ "503": {
14050
+ "description": "The server is currently unable to handle the request due to a temporary overload or scheduled maintenance, which will likely be alleviated after some delay.",
14051
+ "headers": {
14052
+ "Content-Type": {
14053
+ "$ref": "#/components/headers/Content-Type"
14054
+ },
14055
+ "RateLimit-Limit": {
14056
+ "$ref": "#/components/headers/RateLimit-Limit"
14057
+ },
14058
+ "RateLimit-Remaining": {
14059
+ "$ref": "#/components/headers/RateLimit-Remaining"
14060
+ },
14061
+ "RateLimit-Reset": {
14062
+ "$ref": "#/components/headers/RateLimit-Reset"
14063
+ },
14064
+ "RateLimit-Policy": {
14065
+ "$ref": "#/components/headers/RateLimit-Policy"
14066
+ },
14067
+ "Idempotency-Key": {
14068
+ "$ref": "#/components/headers/Idempotency-Key"
14069
+ },
14070
+ "Idempotency-Replay": {
14071
+ "$ref": "#/components/headers/Idempotency-Replay"
14072
+ },
14073
+ "Retry-After": {
14074
+ "$ref": "#/components/headers/Retry-After"
14075
+ }
14076
+ },
14077
+ "content": {
14078
+ "application/json": {
14079
+ "schema": {
14080
+ "type": "string",
14081
+ "example": "Please wait some time, then try again."
14082
+ }
14083
+ }
14084
+ }
14085
+ }
14086
+ },
14087
+ "tags": [
14088
+ "Topics"
14089
+ ],
14090
+ "security": [
14091
+ {
14092
+ "secretKey": []
14093
+ }
14094
+ ]
14095
+ }
14096
+ },
14097
+ "/v2/topics/{topicKey}/subscriptions": {
14098
+ "get": {
14099
+ "operationId": "TopicsController_listTopicSubscriptions",
14100
+ "x-speakeasy-group": "Topics.Subscriptions",
14101
+ "summary": "List topic subscriptions",
14102
+ "description": "List all subscriptions of subscribers for a topic.\n Checkout all available filters in the query section.",
13585
14103
  "parameters": [
13586
14104
  {
13587
14105
  "name": "topicKey",
@@ -13592,6 +14110,91 @@
13592
14110
  "type": "string"
13593
14111
  }
13594
14112
  },
14113
+ {
14114
+ "name": "after",
14115
+ "required": false,
14116
+ "in": "query",
14117
+ "description": "Cursor for pagination indicating the starting point after which to fetch results.",
14118
+ "schema": {
14119
+ "type": "string"
14120
+ }
14121
+ },
14122
+ {
14123
+ "name": "before",
14124
+ "required": false,
14125
+ "in": "query",
14126
+ "description": "Cursor for pagination indicating the ending point before which to fetch results.",
14127
+ "schema": {
14128
+ "type": "string"
14129
+ }
14130
+ },
14131
+ {
14132
+ "name": "limit",
14133
+ "required": false,
14134
+ "in": "query",
14135
+ "description": "Limit the number of items to return (max 100)",
14136
+ "example": 10,
14137
+ "schema": {
14138
+ "maximum": 100,
14139
+ "type": "number"
14140
+ }
14141
+ },
14142
+ {
14143
+ "name": "orderDirection",
14144
+ "required": false,
14145
+ "in": "query",
14146
+ "description": "Direction of sorting",
14147
+ "schema": {
14148
+ "enum": [
14149
+ "ASC",
14150
+ "DESC"
14151
+ ],
14152
+ "type": "string"
14153
+ }
14154
+ },
14155
+ {
14156
+ "name": "orderBy",
14157
+ "required": false,
14158
+ "in": "query",
14159
+ "description": "Field to order by",
14160
+ "schema": {
14161
+ "type": "string"
14162
+ }
14163
+ },
14164
+ {
14165
+ "name": "includeCursor",
14166
+ "required": false,
14167
+ "in": "query",
14168
+ "description": "Include cursor item in response",
14169
+ "schema": {
14170
+ "type": "boolean"
14171
+ }
14172
+ },
14173
+ {
14174
+ "name": "subscriberId",
14175
+ "required": false,
14176
+ "in": "query",
14177
+ "description": "Filter by subscriber ID",
14178
+ "schema": {
14179
+ "type": "string"
14180
+ }
14181
+ },
14182
+ {
14183
+ "name": "contextKeys",
14184
+ "required": false,
14185
+ "in": "query",
14186
+ "description": "Filter by exact context keys, order insensitive (format: \"type:id\")",
14187
+ "example": [
14188
+ "tenant:org-123",
14189
+ "region:us-east-1"
14190
+ ],
14191
+ "schema": {
14192
+ "type": "array",
14193
+ "items": {
14194
+ "type": "string"
14195
+ }
14196
+ }
14197
+ },
13595
14198
  {
13596
14199
  "name": "idempotency-key",
13597
14200
  "in": "header",
@@ -13604,7 +14207,7 @@
13604
14207
  ],
13605
14208
  "responses": {
13606
14209
  "200": {
13607
- "description": "Topic deleted successfully",
14210
+ "description": "OK",
13608
14211
  "headers": {
13609
14212
  "Content-Type": {
13610
14213
  "$ref": "#/components/headers/Content-Type"
@@ -13631,7 +14234,7 @@
13631
14234
  "content": {
13632
14235
  "application/json": {
13633
14236
  "schema": {
13634
- "$ref": "#/components/schemas/DeleteTopicResponseDto"
14237
+ "$ref": "#/components/schemas/ListTopicSubscriptionsResponseDto"
13635
14238
  }
13636
14239
  }
13637
14240
  }
@@ -14059,14 +14662,13 @@
14059
14662
  "secretKey": []
14060
14663
  }
14061
14664
  ]
14062
- }
14063
- },
14064
- "/v2/topics/{topicKey}/subscriptions": {
14065
- "get": {
14066
- "operationId": "TopicsController_listTopicSubscriptions",
14665
+ },
14666
+ "post": {
14667
+ "operationId": "TopicsController_createTopicSubscriptions",
14668
+ "x-speakeasy-name-override": "create",
14067
14669
  "x-speakeasy-group": "Topics.Subscriptions",
14068
- "summary": "List topic subscriptions",
14069
- "description": "List all subscriptions of subscribers for a topic.\n Checkout all available filters in the query section.",
14670
+ "summary": "Create topic subscriptions",
14671
+ "description": "This api will create subscription for subscriberIds for a topic. \n Its like subscribing to a common interest group. if topic does not exist, it will be created.",
14070
14672
  "parameters": [
14071
14673
  {
14072
14674
  "name": "topicKey",
@@ -14077,75 +14679,6 @@
14077
14679
  "type": "string"
14078
14680
  }
14079
14681
  },
14080
- {
14081
- "name": "after",
14082
- "required": false,
14083
- "in": "query",
14084
- "description": "Cursor for pagination indicating the starting point after which to fetch results.",
14085
- "schema": {
14086
- "type": "string"
14087
- }
14088
- },
14089
- {
14090
- "name": "before",
14091
- "required": false,
14092
- "in": "query",
14093
- "description": "Cursor for pagination indicating the ending point before which to fetch results.",
14094
- "schema": {
14095
- "type": "string"
14096
- }
14097
- },
14098
- {
14099
- "name": "limit",
14100
- "required": false,
14101
- "in": "query",
14102
- "description": "Limit the number of items to return (max 100)",
14103
- "example": 10,
14104
- "schema": {
14105
- "maximum": 100,
14106
- "type": "number"
14107
- }
14108
- },
14109
- {
14110
- "name": "orderDirection",
14111
- "required": false,
14112
- "in": "query",
14113
- "description": "Direction of sorting",
14114
- "schema": {
14115
- "enum": [
14116
- "ASC",
14117
- "DESC"
14118
- ],
14119
- "type": "string"
14120
- }
14121
- },
14122
- {
14123
- "name": "orderBy",
14124
- "required": false,
14125
- "in": "query",
14126
- "description": "Field to order by",
14127
- "schema": {
14128
- "type": "string"
14129
- }
14130
- },
14131
- {
14132
- "name": "includeCursor",
14133
- "required": false,
14134
- "in": "query",
14135
- "description": "Include cursor item in response",
14136
- "schema": {
14137
- "type": "boolean"
14138
- }
14139
- },
14140
- {
14141
- "name": "subscriberId",
14142
- "required": false,
14143
- "in": "query",
14144
- "description": "Filter by subscriber ID",
14145
- "schema": {
14146
- "type": "string"
14147
- }
14148
- },
14149
14682
  {
14150
14683
  "name": "idempotency-key",
14151
14684
  "in": "header",
@@ -14156,9 +14689,19 @@
14156
14689
  }
14157
14690
  }
14158
14691
  ],
14692
+ "requestBody": {
14693
+ "required": true,
14694
+ "content": {
14695
+ "application/json": {
14696
+ "schema": {
14697
+ "$ref": "#/components/schemas/CreateTopicSubscriptionsRequestDto"
14698
+ }
14699
+ }
14700
+ }
14701
+ },
14159
14702
  "responses": {
14160
- "200": {
14161
- "description": "OK",
14703
+ "201": {
14704
+ "description": "Subscriptions created successfully",
14162
14705
  "headers": {
14163
14706
  "Content-Type": {
14164
14707
  "$ref": "#/components/headers/Content-Type"
@@ -14185,7 +14728,7 @@
14185
14728
  "content": {
14186
14729
  "application/json": {
14187
14730
  "schema": {
14188
- "$ref": "#/components/schemas/ListTopicSubscriptionsResponseDto"
14731
+ "$ref": "#/components/schemas/CreateSubscriptionsResponseDto"
14189
14732
  }
14190
14733
  }
14191
14734
  }
@@ -14614,12 +15157,12 @@
14614
15157
  }
14615
15158
  ]
14616
15159
  },
14617
- "post": {
14618
- "operationId": "TopicsController_createTopicSubscriptions",
14619
- "x-speakeasy-name-override": "create",
15160
+ "delete": {
15161
+ "operationId": "TopicsController_deleteTopicSubscriptions",
15162
+ "x-speakeasy-name-override": "delete",
14620
15163
  "x-speakeasy-group": "Topics.Subscriptions",
14621
- "summary": "Create topic subscriptions",
14622
- "description": "This api will create subscription for subscriberIds for a topic. \n Its like subscribing to a common interest group. if topic does not exist, it will be created.",
15164
+ "summary": "Delete topic subscriptions",
15165
+ "description": "Delete subscriptions for subscriberIds for a topic.",
14623
15166
  "parameters": [
14624
15167
  {
14625
15168
  "name": "topicKey",
@@ -14645,14 +15188,14 @@
14645
15188
  "content": {
14646
15189
  "application/json": {
14647
15190
  "schema": {
14648
- "$ref": "#/components/schemas/CreateTopicSubscriptionsRequestDto"
15191
+ "$ref": "#/components/schemas/DeleteTopicSubscriptionsRequestDto"
14649
15192
  }
14650
15193
  }
14651
15194
  }
14652
15195
  },
14653
15196
  "responses": {
14654
- "201": {
14655
- "description": "Subscriptions created successfully",
15197
+ "200": {
15198
+ "description": "Subscriptions deleted successfully",
14656
15199
  "headers": {
14657
15200
  "Content-Type": {
14658
15201
  "$ref": "#/components/headers/Content-Type"
@@ -14679,7 +15222,7 @@
14679
15222
  "content": {
14680
15223
  "application/json": {
14681
15224
  "schema": {
14682
- "$ref": "#/components/schemas/CreateSubscriptionsResponseDto"
15225
+ "$ref": "#/components/schemas/DeleteTopicSubscriptionsResponseDto"
14683
15226
  }
14684
15227
  }
14685
15228
  }
@@ -15107,13 +15650,15 @@
15107
15650
  "secretKey": []
15108
15651
  }
15109
15652
  ]
15110
- },
15111
- "delete": {
15112
- "operationId": "TopicsController_deleteTopicSubscriptions",
15113
- "x-speakeasy-name-override": "delete",
15653
+ }
15654
+ },
15655
+ "/v2/topics/{topicKey}/subscriptions/{identifier}": {
15656
+ "get": {
15657
+ "operationId": "TopicsController_getTopicSubscription",
15658
+ "x-speakeasy-name-override": "getSubscription",
15114
15659
  "x-speakeasy-group": "Topics.Subscriptions",
15115
- "summary": "Delete topic subscriptions",
15116
- "description": "Delete subscriptions for subscriberIds for a topic.",
15660
+ "summary": "Get a topic subscription",
15661
+ "description": "Get a subscription by its unique identifier for a topic.",
15117
15662
  "parameters": [
15118
15663
  {
15119
15664
  "name": "topicKey",
@@ -15124,6 +15669,15 @@
15124
15669
  "type": "string"
15125
15670
  }
15126
15671
  },
15672
+ {
15673
+ "name": "identifier",
15674
+ "required": true,
15675
+ "in": "path",
15676
+ "description": "The unique identifier of the subscription",
15677
+ "schema": {
15678
+ "type": "string"
15679
+ }
15680
+ },
15127
15681
  {
15128
15682
  "name": "idempotency-key",
15129
15683
  "in": "header",
@@ -15134,19 +15688,9 @@
15134
15688
  }
15135
15689
  }
15136
15690
  ],
15137
- "requestBody": {
15138
- "required": true,
15139
- "content": {
15140
- "application/json": {
15141
- "schema": {
15142
- "$ref": "#/components/schemas/DeleteTopicSubscriptionsRequestDto"
15143
- }
15144
- }
15145
- }
15146
- },
15147
15691
  "responses": {
15148
15692
  "200": {
15149
- "description": "Subscriptions deleted successfully",
15693
+ "description": "OK",
15150
15694
  "headers": {
15151
15695
  "Content-Type": {
15152
15696
  "$ref": "#/components/headers/Content-Type"
@@ -15173,7 +15717,7 @@
15173
15717
  "content": {
15174
15718
  "application/json": {
15175
15719
  "schema": {
15176
- "$ref": "#/components/schemas/DeleteTopicSubscriptionsResponseDto"
15720
+ "$ref": "#/components/schemas/SubscriptionDetailsResponseDto"
15177
15721
  }
15178
15722
  }
15179
15723
  }
@@ -15601,15 +16145,13 @@
15601
16145
  "secretKey": []
15602
16146
  }
15603
16147
  ]
15604
- }
15605
- },
15606
- "/v2/topics/{topicKey}/subscriptions/{subscriptionIdOrIdentifier}": {
16148
+ },
15607
16149
  "patch": {
15608
16150
  "operationId": "TopicsController_updateTopicSubscription",
15609
16151
  "x-speakeasy-name-override": "update",
15610
16152
  "x-speakeasy-group": "Topics.Subscriptions",
15611
16153
  "summary": "Update a topic subscription",
15612
- "description": "Update a subscription by its unique identifier **subscriptionIdOrIdentifier** for a topic. You can update the preferences and name associated with the subscription.",
16154
+ "description": "Update a subscription by its unique identifier for a topic. You can update the preferences and name associated with the subscription.",
15613
16155
  "parameters": [
15614
16156
  {
15615
16157
  "name": "topicKey",
@@ -15621,7 +16163,7 @@
15621
16163
  }
15622
16164
  },
15623
16165
  {
15624
- "name": "subscriptionIdOrIdentifier",
16166
+ "name": "identifier",
15625
16167
  "required": true,
15626
16168
  "in": "path",
15627
16169
  "description": "The unique identifier of the subscription",
@@ -20636,8 +21178,9 @@
20636
21178
  "/v1/channel-connections": {
20637
21179
  "get": {
20638
21180
  "operationId": "ChannelConnectionsController_listChannelConnections",
20639
- "summary": "List channel connections",
20640
- "description": "Retrieve all channel connections for a resource.",
21181
+ "x-speakeasy-name-override": "list",
21182
+ "summary": "List all channel connections",
21183
+ "description": "List all channel connections for a resource.",
20641
21184
  "parameters": [
20642
21185
  {
20643
21186
  "name": "after",
@@ -21232,7 +21775,8 @@
21232
21775
  },
21233
21776
  "post": {
21234
21777
  "operationId": "ChannelConnectionsController_createChannelConnection",
21235
- "summary": "Create channel connection for a resource and integration",
21778
+ "x-speakeasy-name-override": "create",
21779
+ "summary": "Create a channel connection",
21236
21780
  "description": "Create a new channel connection for a resource for given integration. Only one channel connection is allowed per resource and integration.",
21237
21781
  "parameters": [
21238
21782
  {
@@ -21717,7 +22261,8 @@
21717
22261
  "/v1/channel-connections/{identifier}": {
21718
22262
  "get": {
21719
22263
  "operationId": "ChannelConnectionsController_getChannelConnectionByIdentifier",
21720
- "summary": "Retrieve channel connection by identifier",
22264
+ "x-speakeasy-name-override": "retrieve",
22265
+ "summary": "Retrieve a channel connection",
21721
22266
  "description": "Retrieve a specific channel connection by its unique identifier.",
21722
22267
  "parameters": [
21723
22268
  {
@@ -22199,7 +22744,8 @@
22199
22744
  },
22200
22745
  "patch": {
22201
22746
  "operationId": "ChannelConnectionsController_updateChannelConnection",
22202
- "summary": "Update channel connection",
22747
+ "x-speakeasy-name-override": "update",
22748
+ "summary": "Update a channel connection",
22203
22749
  "description": "Update an existing channel connection by its unique identifier.",
22204
22750
  "parameters": [
22205
22751
  {
@@ -22691,7 +23237,8 @@
22691
23237
  },
22692
23238
  "delete": {
22693
23239
  "operationId": "ChannelConnectionsController_deleteChannelConnection",
22694
- "summary": "Delete channel connection",
23240
+ "x-speakeasy-name-override": "delete",
23241
+ "summary": "Delete a channel connection",
22695
23242
  "description": "Delete a specific channel connection by its unique identifier.",
22696
23243
  "parameters": [
22697
23244
  {
@@ -23145,8 +23692,9 @@
23145
23692
  "/v1/channel-endpoints": {
23146
23693
  "get": {
23147
23694
  "operationId": "ChannelEndpointsController_listChannelEndpoints",
23148
- "summary": "List channel endpoints",
23149
- "description": "Retrieve all channel endpoints for a resource based on query filters.",
23695
+ "x-speakeasy-name-override": "list",
23696
+ "summary": "List all channel endpoints",
23697
+ "description": "List all channel endpoints for a resource based on query filters.",
23150
23698
  "parameters": [
23151
23699
  {
23152
23700
  "name": "after",
@@ -23753,7 +24301,8 @@
23753
24301
  },
23754
24302
  "post": {
23755
24303
  "operationId": "ChannelEndpointsController_createChannelEndpoint",
23756
- "summary": "Create channel endpoint for a resource",
24304
+ "x-speakeasy-name-override": "create",
24305
+ "summary": "Create a channel endpoint",
23757
24306
  "description": "Create a new channel endpoint for a resource.",
23758
24307
  "parameters": [
23759
24308
  {
@@ -24272,7 +24821,8 @@
24272
24821
  "/v1/channel-endpoints/{identifier}": {
24273
24822
  "get": {
24274
24823
  "operationId": "ChannelEndpointsController_getChannelEndpoint",
24275
- "summary": "Retrieve channel endpoint by identifier",
24824
+ "x-speakeasy-name-override": "retrieve",
24825
+ "summary": "Retrieve a channel endpoint",
24276
24826
  "description": "Retrieve a specific channel endpoint by its unique identifier.",
24277
24827
  "parameters": [
24278
24828
  {
@@ -24757,7 +25307,8 @@
24757
25307
  },
24758
25308
  "patch": {
24759
25309
  "operationId": "ChannelEndpointsController_updateChannelEndpoint",
24760
- "summary": "Update channel endpoint",
25310
+ "x-speakeasy-name-override": "update",
25311
+ "summary": "Update a channel endpoint",
24761
25312
  "description": "Update an existing channel endpoint by its unique identifier.",
24762
25313
  "parameters": [
24763
25314
  {
@@ -25252,7 +25803,8 @@
25252
25803
  },
25253
25804
  "delete": {
25254
25805
  "operationId": "ChannelEndpointsController_deleteChannelEndpoint",
25255
- "summary": "Delete channel endpoint by identifier",
25806
+ "x-speakeasy-name-override": "delete",
25807
+ "summary": "Delete a channel endpoint",
25256
25808
  "description": "Delete a specific channel endpoint by its unique identifier.",
25257
25809
  "parameters": [
25258
25810
  {
@@ -27640,7 +28192,7 @@
27640
28192
  },
27641
28193
  "x-speakeasy-name-override": "trigger",
27642
28194
  "summary": "Trigger event",
27643
- "description": "\n Trigger event is the main (and only) way to send notifications to subscribers. The trigger identifier is used to match the particular workflow associated with it. Additional information can be passed according the body interface below.\n To prevent duplicate triggers, you can optionally pass a **transactionId** in the request body. If the same **transactionId** is used again, the trigger will be ignored. The retention period depends on your billing tier.",
28195
+ "description": "\n Trigger event is the main (and only) way to send notifications to subscribers. The trigger identifier is used to match the particular workflow associated with it. Maximum number of recipients can be 100. Additional information can be passed according the body interface below.\n To prevent duplicate triggers, you can optionally pass a **transactionId** in the request body. If the same **transactionId** is used again, the trigger will be ignored. The retention period depends on your billing tier.",
27644
28196
  "parameters": [
27645
28197
  {
27646
28198
  "name": "idempotency-key",
@@ -35105,6 +35657,15 @@
35105
35657
  "type": "string"
35106
35658
  }
35107
35659
  },
35660
+ {
35661
+ "name": "subscriptionId",
35662
+ "required": false,
35663
+ "in": "query",
35664
+ "description": "Subscription ID for filtering notifications by subscription",
35665
+ "schema": {
35666
+ "type": "string"
35667
+ }
35668
+ },
35108
35669
  {
35109
35670
  "name": "contextKeys",
35110
35671
  "required": false,
@@ -41576,7 +42137,7 @@
41576
42137
  "info": {
41577
42138
  "title": "Novu API",
41578
42139
  "description": "Novu REST API. Please see https://docs.novu.co/api-reference for more details.",
41579
- "version": "3.11.0",
42140
+ "version": "3.12.0",
41580
42141
  "contact": {
41581
42142
  "name": "Novu Support",
41582
42143
  "url": "https://discord.gg/novu",
@@ -42671,7 +43232,7 @@
42671
43232
  ]
42672
43233
  },
42673
43234
  "to": {
42674
- "description": "The recipients list of people who will receive the notification.",
43235
+ "description": "The recipients list of people who will receive the notification. Maximum number of recipients can be 100.",
42675
43236
  "oneOf": [
42676
43237
  {
42677
43238
  "type": "array",
@@ -43991,6 +44552,40 @@
43991
44552
  "traces"
43992
44553
  ]
43993
44554
  },
44555
+ "TopicResponseDto": {
44556
+ "type": "object",
44557
+ "properties": {
44558
+ "_id": {
44559
+ "type": "string",
44560
+ "description": "The identifier of the topic",
44561
+ "example": "64da692e9a94fb2e6449ad06"
44562
+ },
44563
+ "key": {
44564
+ "type": "string",
44565
+ "description": "The unique key of the topic",
44566
+ "example": "product-updates"
44567
+ },
44568
+ "name": {
44569
+ "type": "string",
44570
+ "description": "The name of the topic",
44571
+ "example": "Product Updates"
44572
+ },
44573
+ "createdAt": {
44574
+ "type": "string",
44575
+ "description": "The date the topic was created",
44576
+ "example": "2023-08-15T00:00:00.000Z"
44577
+ },
44578
+ "updatedAt": {
44579
+ "type": "string",
44580
+ "description": "The date the topic was last updated",
44581
+ "example": "2023-08-15T00:00:00.000Z"
44582
+ }
44583
+ },
44584
+ "required": [
44585
+ "_id",
44586
+ "key"
44587
+ ]
44588
+ },
43994
44589
  "WorkflowRunStepsDetailsDto": {
43995
44590
  "type": "object",
43996
44591
  "properties": {
@@ -44120,6 +44715,13 @@
44120
44715
  "type": "string"
44121
44716
  }
44122
44717
  },
44718
+ "topics": {
44719
+ "description": "Topics",
44720
+ "type": "array",
44721
+ "items": {
44722
+ "$ref": "#/components/schemas/TopicResponseDto"
44723
+ }
44724
+ },
44123
44725
  "steps": {
44124
44726
  "description": "Workflow run steps",
44125
44727
  "type": "array",
@@ -44370,6 +44972,13 @@
44370
44972
  "type": "string"
44371
44973
  }
44372
44974
  },
44975
+ "topics": {
44976
+ "description": "Topics",
44977
+ "type": "array",
44978
+ "items": {
44979
+ "$ref": "#/components/schemas/TopicResponseDto"
44980
+ }
44981
+ },
44373
44982
  "steps": {
44374
44983
  "description": "Step runs",
44375
44984
  "type": "array",
@@ -44807,7 +45416,8 @@
44807
45416
  },
44808
45417
  "connectionIdentifier": {
44809
45418
  "type": "string",
44810
- "description": "Identifier of the channel connection that will be created"
45419
+ "description": "Identifier of the channel connection that will be created. It is generated automatically if not provided.",
45420
+ "example": "slack-connection-abc123"
44811
45421
  },
44812
45422
  "context": {
44813
45423
  "type": "object",
@@ -45500,7 +46110,8 @@
45500
46110
  "properties": {
45501
46111
  "payload": {
45502
46112
  "type": "object",
45503
- "description": "Payload of the action result"
46113
+ "description": "Payload of the action result",
46114
+ "additionalProperties": true
45504
46115
  },
45505
46116
  "type": {
45506
46117
  "$ref": "#/components/schemas/ButtonTypeEnum"
@@ -45730,6 +46341,11 @@
45730
46341
  "description": "Indicates whether the notification has been seen by the subscriber.",
45731
46342
  "example": true
45732
46343
  },
46344
+ "archived": {
46345
+ "type": "boolean",
46346
+ "description": "Indicates whether the notification has been archived by the subscriber.",
46347
+ "example": false
46348
+ },
45733
46349
  "deviceTokens": {
45734
46350
  "nullable": true,
45735
46351
  "description": "Device tokens for push notifications, if applicable.",
@@ -45811,6 +46427,7 @@
45811
46427
  "channel",
45812
46428
  "read",
45813
46429
  "seen",
46430
+ "archived",
45814
46431
  "cta",
45815
46432
  "status"
45816
46433
  ]
@@ -46581,11 +47198,13 @@
46581
47198
  },
46582
47199
  "payload": {
46583
47200
  "type": "object",
46584
- "description": "The payload that was used to send the notification trigger"
47201
+ "description": "The payload that was used to send the notification trigger",
47202
+ "additionalProperties": true
46585
47203
  },
46586
47204
  "overrides": {
46587
47205
  "type": "object",
46588
- "description": "Provider specific overrides used when triggering the notification"
47206
+ "description": "Provider specific overrides used when triggering the notification",
47207
+ "additionalProperties": true
46589
47208
  },
46590
47209
  "contextKeys": {
46591
47210
  "description": "Context (single or multi) in which the message was sent",
@@ -47168,6 +47787,10 @@
47168
47787
  "$ref": "#/components/schemas/SubscriberPreferencesWorkflowInfoDto"
47169
47788
  }
47170
47789
  ]
47790
+ },
47791
+ "updatedAt": {
47792
+ "type": "string",
47793
+ "description": "Timestamp when the subscriber last updated their preference. Only present if subscriber explicitly set preferences."
47171
47794
  }
47172
47795
  },
47173
47796
  "required": [
@@ -47359,6 +47982,40 @@
47359
47982
  "items": {
47360
47983
  "$ref": "#/components/schemas/BulkUpdateSubscriberPreferenceItemDto"
47361
47984
  }
47985
+ },
47986
+ "context": {
47987
+ "type": "object",
47988
+ "additionalProperties": {
47989
+ "oneOf": [
47990
+ {
47991
+ "type": "string",
47992
+ "description": "Simple context id",
47993
+ "example": "org-acme"
47994
+ },
47995
+ {
47996
+ "type": "object",
47997
+ "description": "Rich context object with id and optional data",
47998
+ "properties": {
47999
+ "id": {
48000
+ "type": "string",
48001
+ "example": "org-acme"
48002
+ },
48003
+ "data": {
48004
+ "type": "object",
48005
+ "description": "Optional additional context data",
48006
+ "additionalProperties": true,
48007
+ "example": {
48008
+ "name": "Acme Corp",
48009
+ "region": "us-east-1"
48010
+ }
48011
+ }
48012
+ },
48013
+ "required": [
48014
+ "id"
48015
+ ]
48016
+ }
48017
+ ]
48018
+ }
47362
48019
  }
47363
48020
  },
47364
48021
  "required": [
@@ -47387,42 +48044,42 @@
47387
48044
  "$ref": "#/components/schemas/ScheduleDto"
47388
48045
  }
47389
48046
  ]
47390
- }
47391
- }
47392
- },
47393
- "TopicResponseDto": {
47394
- "type": "object",
47395
- "properties": {
47396
- "_id": {
47397
- "type": "string",
47398
- "description": "The identifier of the topic",
47399
- "example": "64da692e9a94fb2e6449ad06"
47400
- },
47401
- "key": {
47402
- "type": "string",
47403
- "description": "The unique key of the topic",
47404
- "example": "product-updates"
47405
- },
47406
- "name": {
47407
- "type": "string",
47408
- "description": "The name of the topic",
47409
- "example": "Product Updates"
47410
- },
47411
- "createdAt": {
47412
- "type": "string",
47413
- "description": "The date the topic was created",
47414
- "example": "2023-08-15T00:00:00.000Z"
47415
48047
  },
47416
- "updatedAt": {
47417
- "type": "string",
47418
- "description": "The date the topic was last updated",
47419
- "example": "2023-08-15T00:00:00.000Z"
48048
+ "context": {
48049
+ "type": "object",
48050
+ "additionalProperties": {
48051
+ "oneOf": [
48052
+ {
48053
+ "type": "string",
48054
+ "description": "Simple context id",
48055
+ "example": "org-acme"
48056
+ },
48057
+ {
48058
+ "type": "object",
48059
+ "description": "Rich context object with id and optional data",
48060
+ "properties": {
48061
+ "id": {
48062
+ "type": "string",
48063
+ "example": "org-acme"
48064
+ },
48065
+ "data": {
48066
+ "type": "object",
48067
+ "description": "Optional additional context data",
48068
+ "additionalProperties": true,
48069
+ "example": {
48070
+ "name": "Acme Corp",
48071
+ "region": "us-east-1"
48072
+ }
48073
+ }
48074
+ },
48075
+ "required": [
48076
+ "id"
48077
+ ]
48078
+ }
48079
+ ]
48080
+ }
47420
48081
  }
47421
- },
47422
- "required": [
47423
- "_id",
47424
- "key"
47425
- ]
48082
+ }
47426
48083
  },
47427
48084
  "SubscriberDto": {
47428
48085
  "type": "object",
@@ -47475,6 +48132,11 @@
47475
48132
  "description": "The identifier of the subscription",
47476
48133
  "example": "64da692e9a94fb2e6449ad08"
47477
48134
  },
48135
+ "identifier": {
48136
+ "type": "string",
48137
+ "description": "The identifier of the subscription",
48138
+ "example": "tk=product-updates:si=subscriber-123"
48139
+ },
47478
48140
  "createdAt": {
47479
48141
  "type": "string",
47480
48142
  "description": "The date and time the subscription was created",
@@ -47495,10 +48157,22 @@
47495
48157
  "$ref": "#/components/schemas/SubscriberDto"
47496
48158
  }
47497
48159
  ]
48160
+ },
48161
+ "contextKeys": {
48162
+ "description": "Context keys that scope this subscription (e.g., tenant:org-a, project:proj-123)",
48163
+ "example": [
48164
+ "tenant:org-a",
48165
+ "project:proj-123"
48166
+ ],
48167
+ "type": "array",
48168
+ "items": {
48169
+ "type": "string"
48170
+ }
47498
48171
  }
47499
48172
  },
47500
48173
  "required": [
47501
48174
  "_id",
48175
+ "identifier",
47502
48176
  "createdAt",
47503
48177
  "topic",
47504
48178
  "subscriber"
@@ -48450,6 +49124,17 @@
48450
49124
  "$ref": "#/components/schemas/SubscriptionPreferenceDto"
48451
49125
  }
48452
49126
  },
49127
+ "contextKeys": {
49128
+ "description": "Context keys that scope this subscription (e.g., tenant:org-a, project:proj-123)",
49129
+ "example": [
49130
+ "tenant:org-a",
49131
+ "project:proj-123"
49132
+ ],
49133
+ "type": "array",
49134
+ "items": {
49135
+ "type": "string"
49136
+ }
49137
+ },
48453
49138
  "createdAt": {
48454
49139
  "type": "string",
48455
49140
  "description": "The creation date of the subscription",
@@ -48718,6 +49403,40 @@
48718
49403
  "description": "The name of the topic",
48719
49404
  "example": "My Topic"
48720
49405
  },
49406
+ "context": {
49407
+ "type": "object",
49408
+ "additionalProperties": {
49409
+ "oneOf": [
49410
+ {
49411
+ "type": "string",
49412
+ "description": "Simple context id",
49413
+ "example": "org-acme"
49414
+ },
49415
+ {
49416
+ "type": "object",
49417
+ "description": "Rich context object with id and optional data",
49418
+ "properties": {
49419
+ "id": {
49420
+ "type": "string",
49421
+ "example": "org-acme"
49422
+ },
49423
+ "data": {
49424
+ "type": "object",
49425
+ "description": "Optional additional context data",
49426
+ "additionalProperties": true,
49427
+ "example": {
49428
+ "name": "Acme Corp",
49429
+ "region": "us-east-1"
49430
+ }
49431
+ }
49432
+ },
49433
+ "required": [
49434
+ "id"
49435
+ ]
49436
+ }
49437
+ ]
49438
+ }
49439
+ },
48721
49440
  "preferences": {
48722
49441
  "type": "array",
48723
49442
  "description": "The preferences of the topic. Can be a simple workflow ID string, workflow preference object, or group filter object",
@@ -48780,6 +49499,17 @@
48780
49499
  }
48781
49500
  ]
48782
49501
  },
49502
+ "contextKeys": {
49503
+ "description": "Context keys that scope this subscription (e.g., tenant:org-a, project:proj-123)",
49504
+ "example": [
49505
+ "tenant:org-a",
49506
+ "project:proj-123"
49507
+ ],
49508
+ "type": "array",
49509
+ "items": {
49510
+ "type": "string"
49511
+ }
49512
+ },
48783
49513
  "createdAt": {
48784
49514
  "type": "string",
48785
49515
  "description": "The creation date of the subscription",
@@ -48913,6 +49643,47 @@
48913
49643
  }
48914
49644
  }
48915
49645
  },
49646
+ "SubscriptionDetailsResponseDto": {
49647
+ "type": "object",
49648
+ "properties": {
49649
+ "id": {
49650
+ "type": "string",
49651
+ "description": "The unique identifier of the subscription",
49652
+ "example": "64f5e95d3d7946d80d0cb679"
49653
+ },
49654
+ "identifier": {
49655
+ "type": "string",
49656
+ "description": "The identifier of the subscription",
49657
+ "example": "subscription-identifier"
49658
+ },
49659
+ "name": {
49660
+ "type": "string",
49661
+ "description": "The name of the subscription",
49662
+ "example": "My Subscription"
49663
+ },
49664
+ "preferences": {
49665
+ "description": "The preferences/rules for the subscription",
49666
+ "type": "array",
49667
+ "items": {
49668
+ "$ref": "#/components/schemas/SubscriptionPreferenceDto"
49669
+ }
49670
+ },
49671
+ "contextKeys": {
49672
+ "description": "Context keys that scope this subscription (e.g., tenant:org-a, project:proj-123)",
49673
+ "example": [
49674
+ "tenant:org-a",
49675
+ "project:proj-123"
49676
+ ],
49677
+ "type": "array",
49678
+ "items": {
49679
+ "type": "string"
49680
+ }
49681
+ }
49682
+ },
49683
+ "required": [
49684
+ "id"
49685
+ ]
49686
+ },
48916
49687
  "UpdateTopicSubscriptionRequestDto": {
48917
49688
  "type": "object",
48918
49689
  "properties": {
@@ -50987,7 +51758,7 @@
50987
51758
  },
50988
51759
  "stepId": {
50989
51760
  "type": "string",
50990
- "pattern": "/^[a-z0-9]+(?:-[a-z0-9]+)*$/",
51761
+ "pattern": "/^[a-zA-Z0-9]+(?:[-_][a-zA-Z0-9]+)*$/",
50991
51762
  "description": "Unique identifier for the step"
50992
51763
  },
50993
51764
  "name": {
@@ -51024,7 +51795,7 @@
51024
51795
  },
51025
51796
  "stepId": {
51026
51797
  "type": "string",
51027
- "pattern": "/^[a-z0-9]+(?:-[a-z0-9]+)*$/",
51798
+ "pattern": "/^[a-zA-Z0-9]+(?:[-_][a-zA-Z0-9]+)*$/",
51028
51799
  "description": "Unique identifier for the step"
51029
51800
  },
51030
51801
  "name": {
@@ -51061,7 +51832,7 @@
51061
51832
  },
51062
51833
  "stepId": {
51063
51834
  "type": "string",
51064
- "pattern": "/^[a-z0-9]+(?:-[a-z0-9]+)*$/",
51835
+ "pattern": "/^[a-zA-Z0-9]+(?:[-_][a-zA-Z0-9]+)*$/",
51065
51836
  "description": "Unique identifier for the step"
51066
51837
  },
51067
51838
  "name": {
@@ -51098,7 +51869,7 @@
51098
51869
  },
51099
51870
  "stepId": {
51100
51871
  "type": "string",
51101
- "pattern": "/^[a-z0-9]+(?:-[a-z0-9]+)*$/",
51872
+ "pattern": "/^[a-zA-Z0-9]+(?:[-_][a-zA-Z0-9]+)*$/",
51102
51873
  "description": "Unique identifier for the step"
51103
51874
  },
51104
51875
  "name": {
@@ -51135,7 +51906,7 @@
51135
51906
  },
51136
51907
  "stepId": {
51137
51908
  "type": "string",
51138
- "pattern": "/^[a-z0-9]+(?:-[a-z0-9]+)*$/",
51909
+ "pattern": "/^[a-zA-Z0-9]+(?:[-_][a-zA-Z0-9]+)*$/",
51139
51910
  "description": "Unique identifier for the step"
51140
51911
  },
51141
51912
  "name": {
@@ -51172,7 +51943,7 @@
51172
51943
  },
51173
51944
  "stepId": {
51174
51945
  "type": "string",
51175
- "pattern": "/^[a-z0-9]+(?:-[a-z0-9]+)*$/",
51946
+ "pattern": "/^[a-zA-Z0-9]+(?:[-_][a-zA-Z0-9]+)*$/",
51176
51947
  "description": "Unique identifier for the step"
51177
51948
  },
51178
51949
  "name": {
@@ -51209,7 +51980,7 @@
51209
51980
  },
51210
51981
  "stepId": {
51211
51982
  "type": "string",
51212
- "pattern": "/^[a-z0-9]+(?:-[a-z0-9]+)*$/",
51983
+ "pattern": "/^[a-zA-Z0-9]+(?:[-_][a-zA-Z0-9]+)*$/",
51213
51984
  "description": "Unique identifier for the step"
51214
51985
  },
51215
51986
  "name": {
@@ -51246,7 +52017,7 @@
51246
52017
  },
51247
52018
  "stepId": {
51248
52019
  "type": "string",
51249
- "pattern": "/^[a-z0-9]+(?:-[a-z0-9]+)*$/",
52020
+ "pattern": "/^[a-zA-Z0-9]+(?:[-_][a-zA-Z0-9]+)*$/",
51250
52021
  "description": "Unique identifier for the step"
51251
52022
  },
51252
52023
  "name": {
@@ -51283,7 +52054,7 @@
51283
52054
  },
51284
52055
  "stepId": {
51285
52056
  "type": "string",
51286
- "pattern": "/^[a-z0-9]+(?:-[a-z0-9]+)*$/",
52057
+ "pattern": "/^[a-zA-Z0-9]+(?:[-_][a-zA-Z0-9]+)*$/",
51287
52058
  "description": "Unique identifier for the step"
51288
52059
  },
51289
52060
  "name": {
@@ -51391,7 +52162,7 @@
51391
52162
  },
51392
52163
  "workflowId": {
51393
52164
  "type": "string",
51394
- "pattern": "/^[a-z0-9]+(?:-[a-z0-9]+)*$/",
52165
+ "pattern": "/^[a-zA-Z0-9]+(?:[-_][a-zA-Z0-9]+)*$/",
51395
52166
  "description": "Unique identifier for the workflow"
51396
52167
  },
51397
52168
  "steps": {
@@ -51747,7 +52518,7 @@
51747
52518
  },
51748
52519
  "workflowId": {
51749
52520
  "type": "string",
51750
- "pattern": "/^[a-z0-9]+(?:-[a-z0-9]+)*$/",
52521
+ "pattern": "/^[a-zA-Z0-9]+(?:[-_][a-zA-Z0-9]+)*$/",
51751
52522
  "description": "Custom workflow identifier for the duplicated workflow"
51752
52523
  },
51753
52524
  "tags": {