@taktoria/sdk 0.1.0 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (246) hide show
  1. package/dist/cjs/BaseClient.js +2 -2
  2. package/dist/cjs/Client.d.ts +3 -0
  3. package/dist/cjs/Client.js +7 -2
  4. package/dist/cjs/api/resources/artifacts/client/Client.d.ts +14 -6
  5. package/dist/cjs/api/resources/artifacts/client/Client.js +16 -7
  6. package/dist/cjs/api/resources/artifacts/client/requests/ListAllArtifactsRequest.d.ts +13 -1
  7. package/dist/cjs/api/resources/dory/client/Client.d.ts +28 -5
  8. package/dist/cjs/api/resources/dory/client/Client.js +86 -5
  9. package/dist/cjs/api/resources/dory/types/CreateEventRequest.d.ts +9 -4
  10. package/dist/cjs/api/resources/dory/types/EventCalendarInvite.d.ts +41 -0
  11. package/dist/cjs/api/resources/dory/types/EventCalendarInvite.js +3 -0
  12. package/dist/cjs/api/resources/dory/types/UpdateEventRequest.d.ts +9 -4
  13. package/dist/cjs/api/resources/dory/types/index.d.ts +1 -0
  14. package/dist/cjs/api/resources/dory/types/index.js +1 -0
  15. package/dist/cjs/api/resources/index.d.ts +3 -0
  16. package/dist/cjs/api/resources/index.js +4 -1
  17. package/dist/cjs/api/resources/insights/client/Client.js +2 -1
  18. package/dist/cjs/api/resources/insights/client/requests/ListInsightsRequest.d.ts +12 -1
  19. package/dist/cjs/api/resources/launches/client/Client.d.ts +29 -13
  20. package/dist/cjs/api/resources/launches/client/Client.js +48 -14
  21. package/dist/cjs/api/resources/launches/client/requests/ListLaunchesRequest.d.ts +25 -1
  22. package/dist/cjs/api/resources/launches/types/LaunchActivityVerb.d.ts +3 -0
  23. package/dist/cjs/api/resources/launches/types/LaunchActivityVerb.js +3 -0
  24. package/dist/cjs/api/resources/launches/types/LinkTicketingProjectRequest.d.ts +2 -2
  25. package/dist/cjs/api/resources/launches/types/SyncTicketingProjectResponse.d.ts +1 -1
  26. package/dist/cjs/api/resources/launches/types/TicketingProject.d.ts +13 -7
  27. package/dist/cjs/api/resources/okr/client/Client.d.ts +8 -0
  28. package/dist/cjs/api/resources/okr/client/Client.js +8 -0
  29. package/dist/cjs/api/resources/okr/types/KeyResult.d.ts +13 -0
  30. package/dist/cjs/api/resources/okr/types/KeyResultMetric.d.ts +12 -0
  31. package/dist/cjs/api/resources/okr/types/KeyResultMetric.js +3 -0
  32. package/dist/cjs/api/resources/okr/types/MetricSourceKind.d.ts +10 -0
  33. package/dist/cjs/api/resources/okr/types/MetricSourceKind.js +13 -0
  34. package/dist/cjs/api/resources/okr/types/index.d.ts +2 -0
  35. package/dist/cjs/api/resources/okr/types/index.js +2 -0
  36. package/dist/cjs/api/resources/organization/client/Client.d.ts +5 -2
  37. package/dist/cjs/api/resources/organization/client/Client.js +5 -2
  38. package/dist/cjs/api/resources/organization/types/Organization.d.ts +21 -0
  39. package/dist/cjs/api/resources/organization/types/UpdateOrganizationRequest.d.ts +15 -0
  40. package/dist/cjs/api/resources/platform/client/Client.d.ts +2 -2
  41. package/dist/cjs/api/resources/platform/client/Client.js +2 -2
  42. package/dist/cjs/api/resources/platform/types/NotificationChannels.d.ts +7 -2
  43. package/dist/cjs/api/resources/platform/types/UpdateNotificationChannels.d.ts +1 -0
  44. package/dist/cjs/api/resources/platform/types/UpdateNotificationPreferencesRequest.d.ts +1 -1
  45. package/dist/cjs/api/resources/platform/types/WaitingForSeat.d.ts +2 -2
  46. package/dist/cjs/api/resources/posts/client/Client.d.ts +5 -2
  47. package/dist/cjs/api/resources/posts/client/Client.js +13 -2
  48. package/dist/cjs/api/resources/posts/types/LaunchPost.d.ts +4 -3
  49. package/dist/cjs/api/resources/slackConnections/client/Client.d.ts +56 -0
  50. package/dist/cjs/api/resources/slackConnections/client/Client.js +243 -0
  51. package/dist/cjs/api/resources/slackConnections/client/index.d.ts +1 -0
  52. package/dist/cjs/api/resources/slackConnections/client/index.js +17 -0
  53. package/dist/cjs/api/resources/slackConnections/client/requests/ListSlackConnectionsRequest.d.ts +9 -0
  54. package/dist/cjs/api/resources/slackConnections/client/requests/ListSlackConnectionsRequest.js +3 -0
  55. package/dist/cjs/api/resources/slackConnections/client/requests/index.d.ts +1 -0
  56. package/dist/cjs/api/resources/slackConnections/client/requests/index.js +2 -0
  57. package/dist/cjs/api/resources/slackConnections/exports.d.ts +2 -0
  58. package/dist/cjs/api/resources/slackConnections/exports.js +21 -0
  59. package/dist/cjs/api/resources/slackConnections/index.d.ts +2 -0
  60. package/dist/cjs/api/resources/slackConnections/index.js +18 -0
  61. package/dist/cjs/api/resources/slackConnections/types/SlackConnection.d.ts +16 -0
  62. package/dist/cjs/api/resources/slackConnections/types/SlackConnection.js +3 -0
  63. package/dist/cjs/api/resources/slackConnections/types/SlackConnectionAccount.d.ts +15 -0
  64. package/dist/cjs/api/resources/slackConnections/types/SlackConnectionAccount.js +3 -0
  65. package/dist/cjs/api/resources/slackConnections/types/SlackConnectionPage.d.ts +7 -0
  66. package/dist/cjs/api/resources/slackConnections/types/SlackConnectionPage.js +3 -0
  67. package/dist/cjs/api/resources/slackConnections/types/SlackConnectionPerson.d.ts +7 -0
  68. package/dist/cjs/api/resources/slackConnections/types/SlackConnectionPerson.js +3 -0
  69. package/dist/cjs/api/resources/slackConnections/types/index.d.ts +4 -0
  70. package/dist/cjs/api/resources/slackConnections/types/index.js +20 -0
  71. package/dist/cjs/api/resources/steps/client/Client.d.ts +15 -9
  72. package/dist/cjs/api/resources/steps/client/Client.js +17 -10
  73. package/dist/cjs/api/resources/steps/client/requests/ListReviewsRequest.d.ts +12 -1
  74. package/dist/cjs/api/resources/steps/types/NudgeReason.d.ts +10 -0
  75. package/dist/cjs/api/resources/steps/types/NudgeReason.js +13 -0
  76. package/dist/cjs/api/resources/steps/types/NudgeResponse.d.ts +11 -1
  77. package/dist/cjs/api/resources/steps/types/index.d.ts +1 -0
  78. package/dist/cjs/api/resources/steps/types/index.js +1 -0
  79. package/dist/cjs/serialization/resources/dory/types/EventCalendarInvite.d.ts +20 -0
  80. package/dist/cjs/serialization/resources/dory/types/EventCalendarInvite.js +52 -0
  81. package/dist/cjs/serialization/resources/dory/types/index.d.ts +1 -0
  82. package/dist/cjs/serialization/resources/dory/types/index.js +1 -0
  83. package/dist/cjs/serialization/resources/index.d.ts +2 -0
  84. package/dist/cjs/serialization/resources/index.js +3 -1
  85. package/dist/cjs/serialization/resources/launches/types/LaunchActivityVerb.d.ts +1 -1
  86. package/dist/cjs/serialization/resources/launches/types/LaunchActivityVerb.js +1 -0
  87. package/dist/cjs/serialization/resources/okr/types/KeyResult.d.ts +3 -0
  88. package/dist/cjs/serialization/resources/okr/types/KeyResult.js +3 -0
  89. package/dist/cjs/serialization/resources/okr/types/KeyResultMetric.d.ts +12 -0
  90. package/dist/cjs/serialization/resources/okr/types/KeyResultMetric.js +44 -0
  91. package/dist/cjs/serialization/resources/okr/types/MetricSourceKind.d.ts +7 -0
  92. package/dist/cjs/serialization/resources/okr/types/MetricSourceKind.js +39 -0
  93. package/dist/cjs/serialization/resources/okr/types/index.d.ts +2 -0
  94. package/dist/cjs/serialization/resources/okr/types/index.js +2 -0
  95. package/dist/cjs/serialization/resources/organization/types/Organization.d.ts +2 -0
  96. package/dist/cjs/serialization/resources/organization/types/Organization.js +2 -0
  97. package/dist/cjs/serialization/resources/organization/types/UpdateOrganizationRequest.d.ts +2 -0
  98. package/dist/cjs/serialization/resources/organization/types/UpdateOrganizationRequest.js +2 -0
  99. package/dist/cjs/serialization/resources/platform/types/NotificationChannels.d.ts +1 -0
  100. package/dist/cjs/serialization/resources/platform/types/NotificationChannels.js +1 -0
  101. package/dist/cjs/serialization/resources/platform/types/UpdateNotificationChannels.d.ts +1 -0
  102. package/dist/cjs/serialization/resources/platform/types/UpdateNotificationChannels.js +1 -0
  103. package/dist/cjs/serialization/resources/slackConnections/index.d.ts +1 -0
  104. package/dist/cjs/serialization/resources/slackConnections/index.js +17 -0
  105. package/dist/cjs/serialization/resources/slackConnections/types/SlackConnection.d.ts +14 -0
  106. package/dist/cjs/serialization/resources/slackConnections/types/SlackConnection.js +46 -0
  107. package/dist/cjs/serialization/resources/slackConnections/types/SlackConnectionAccount.d.ts +11 -0
  108. package/dist/cjs/serialization/resources/slackConnections/types/SlackConnectionAccount.js +43 -0
  109. package/dist/cjs/serialization/resources/slackConnections/types/SlackConnectionPage.d.ts +12 -0
  110. package/dist/cjs/serialization/resources/slackConnections/types/SlackConnectionPage.js +44 -0
  111. package/dist/cjs/serialization/resources/slackConnections/types/SlackConnectionPerson.d.ts +10 -0
  112. package/dist/cjs/serialization/resources/slackConnections/types/SlackConnectionPerson.js +42 -0
  113. package/dist/cjs/serialization/resources/slackConnections/types/index.d.ts +4 -0
  114. package/dist/cjs/serialization/resources/slackConnections/types/index.js +20 -0
  115. package/dist/cjs/serialization/resources/steps/types/NudgeReason.d.ts +7 -0
  116. package/dist/cjs/serialization/resources/steps/types/NudgeReason.js +39 -0
  117. package/dist/cjs/serialization/resources/steps/types/NudgeResponse.d.ts +7 -1
  118. package/dist/cjs/serialization/resources/steps/types/NudgeResponse.js +7 -1
  119. package/dist/cjs/serialization/resources/steps/types/index.d.ts +1 -0
  120. package/dist/cjs/serialization/resources/steps/types/index.js +1 -0
  121. package/dist/cjs/version.d.ts +1 -1
  122. package/dist/cjs/version.js +1 -1
  123. package/dist/esm/BaseClient.mjs +2 -2
  124. package/dist/esm/Client.d.mts +3 -0
  125. package/dist/esm/Client.mjs +5 -0
  126. package/dist/esm/api/resources/artifacts/client/Client.d.mts +14 -6
  127. package/dist/esm/api/resources/artifacts/client/Client.mjs +16 -7
  128. package/dist/esm/api/resources/artifacts/client/requests/ListAllArtifactsRequest.d.mts +13 -1
  129. package/dist/esm/api/resources/dory/client/Client.d.mts +28 -5
  130. package/dist/esm/api/resources/dory/client/Client.mjs +86 -5
  131. package/dist/esm/api/resources/dory/types/CreateEventRequest.d.mts +9 -4
  132. package/dist/esm/api/resources/dory/types/EventCalendarInvite.d.mts +41 -0
  133. package/dist/esm/api/resources/dory/types/EventCalendarInvite.mjs +2 -0
  134. package/dist/esm/api/resources/dory/types/UpdateEventRequest.d.mts +9 -4
  135. package/dist/esm/api/resources/dory/types/index.d.mts +1 -0
  136. package/dist/esm/api/resources/dory/types/index.mjs +1 -0
  137. package/dist/esm/api/resources/index.d.mts +3 -0
  138. package/dist/esm/api/resources/index.mjs +3 -0
  139. package/dist/esm/api/resources/insights/client/Client.mjs +2 -1
  140. package/dist/esm/api/resources/insights/client/requests/ListInsightsRequest.d.mts +12 -1
  141. package/dist/esm/api/resources/launches/client/Client.d.mts +29 -13
  142. package/dist/esm/api/resources/launches/client/Client.mjs +48 -14
  143. package/dist/esm/api/resources/launches/client/requests/ListLaunchesRequest.d.mts +25 -1
  144. package/dist/esm/api/resources/launches/types/LaunchActivityVerb.d.mts +3 -0
  145. package/dist/esm/api/resources/launches/types/LaunchActivityVerb.mjs +3 -0
  146. package/dist/esm/api/resources/launches/types/LinkTicketingProjectRequest.d.mts +2 -2
  147. package/dist/esm/api/resources/launches/types/SyncTicketingProjectResponse.d.mts +1 -1
  148. package/dist/esm/api/resources/launches/types/TicketingProject.d.mts +13 -7
  149. package/dist/esm/api/resources/okr/client/Client.d.mts +8 -0
  150. package/dist/esm/api/resources/okr/client/Client.mjs +8 -0
  151. package/dist/esm/api/resources/okr/types/KeyResult.d.mts +13 -0
  152. package/dist/esm/api/resources/okr/types/KeyResultMetric.d.mts +12 -0
  153. package/dist/esm/api/resources/okr/types/KeyResultMetric.mjs +2 -0
  154. package/dist/esm/api/resources/okr/types/MetricSourceKind.d.mts +10 -0
  155. package/dist/esm/api/resources/okr/types/MetricSourceKind.mjs +10 -0
  156. package/dist/esm/api/resources/okr/types/index.d.mts +2 -0
  157. package/dist/esm/api/resources/okr/types/index.mjs +2 -0
  158. package/dist/esm/api/resources/organization/client/Client.d.mts +5 -2
  159. package/dist/esm/api/resources/organization/client/Client.mjs +5 -2
  160. package/dist/esm/api/resources/organization/types/Organization.d.mts +21 -0
  161. package/dist/esm/api/resources/organization/types/UpdateOrganizationRequest.d.mts +15 -0
  162. package/dist/esm/api/resources/platform/client/Client.d.mts +2 -2
  163. package/dist/esm/api/resources/platform/client/Client.mjs +2 -2
  164. package/dist/esm/api/resources/platform/types/NotificationChannels.d.mts +7 -2
  165. package/dist/esm/api/resources/platform/types/UpdateNotificationChannels.d.mts +1 -0
  166. package/dist/esm/api/resources/platform/types/UpdateNotificationPreferencesRequest.d.mts +1 -1
  167. package/dist/esm/api/resources/platform/types/WaitingForSeat.d.mts +2 -2
  168. package/dist/esm/api/resources/posts/client/Client.d.mts +5 -2
  169. package/dist/esm/api/resources/posts/client/Client.mjs +13 -2
  170. package/dist/esm/api/resources/posts/types/LaunchPost.d.mts +4 -3
  171. package/dist/esm/api/resources/slackConnections/client/Client.d.mts +56 -0
  172. package/dist/esm/api/resources/slackConnections/client/Client.mjs +206 -0
  173. package/dist/esm/api/resources/slackConnections/client/index.d.mts +1 -0
  174. package/dist/esm/api/resources/slackConnections/client/index.mjs +1 -0
  175. package/dist/esm/api/resources/slackConnections/client/requests/ListSlackConnectionsRequest.d.mts +9 -0
  176. package/dist/esm/api/resources/slackConnections/client/requests/ListSlackConnectionsRequest.mjs +2 -0
  177. package/dist/esm/api/resources/slackConnections/client/requests/index.d.mts +1 -0
  178. package/dist/esm/api/resources/slackConnections/client/requests/index.mjs +1 -0
  179. package/dist/esm/api/resources/slackConnections/exports.d.mts +2 -0
  180. package/dist/esm/api/resources/slackConnections/exports.mjs +3 -0
  181. package/dist/esm/api/resources/slackConnections/index.d.mts +2 -0
  182. package/dist/esm/api/resources/slackConnections/index.mjs +2 -0
  183. package/dist/esm/api/resources/slackConnections/types/SlackConnection.d.mts +16 -0
  184. package/dist/esm/api/resources/slackConnections/types/SlackConnection.mjs +2 -0
  185. package/dist/esm/api/resources/slackConnections/types/SlackConnectionAccount.d.mts +15 -0
  186. package/dist/esm/api/resources/slackConnections/types/SlackConnectionAccount.mjs +2 -0
  187. package/dist/esm/api/resources/slackConnections/types/SlackConnectionPage.d.mts +7 -0
  188. package/dist/esm/api/resources/slackConnections/types/SlackConnectionPage.mjs +2 -0
  189. package/dist/esm/api/resources/slackConnections/types/SlackConnectionPerson.d.mts +7 -0
  190. package/dist/esm/api/resources/slackConnections/types/SlackConnectionPerson.mjs +2 -0
  191. package/dist/esm/api/resources/slackConnections/types/index.d.mts +4 -0
  192. package/dist/esm/api/resources/slackConnections/types/index.mjs +4 -0
  193. package/dist/esm/api/resources/steps/client/Client.d.mts +15 -9
  194. package/dist/esm/api/resources/steps/client/Client.mjs +17 -10
  195. package/dist/esm/api/resources/steps/client/requests/ListReviewsRequest.d.mts +12 -1
  196. package/dist/esm/api/resources/steps/types/NudgeReason.d.mts +10 -0
  197. package/dist/esm/api/resources/steps/types/NudgeReason.mjs +10 -0
  198. package/dist/esm/api/resources/steps/types/NudgeResponse.d.mts +11 -1
  199. package/dist/esm/api/resources/steps/types/index.d.mts +1 -0
  200. package/dist/esm/api/resources/steps/types/index.mjs +1 -0
  201. package/dist/esm/serialization/resources/dory/types/EventCalendarInvite.d.mts +20 -0
  202. package/dist/esm/serialization/resources/dory/types/EventCalendarInvite.mjs +16 -0
  203. package/dist/esm/serialization/resources/dory/types/index.d.mts +1 -0
  204. package/dist/esm/serialization/resources/dory/types/index.mjs +1 -0
  205. package/dist/esm/serialization/resources/index.d.mts +2 -0
  206. package/dist/esm/serialization/resources/index.mjs +2 -0
  207. package/dist/esm/serialization/resources/launches/types/LaunchActivityVerb.d.mts +1 -1
  208. package/dist/esm/serialization/resources/launches/types/LaunchActivityVerb.mjs +1 -0
  209. package/dist/esm/serialization/resources/okr/types/KeyResult.d.mts +3 -0
  210. package/dist/esm/serialization/resources/okr/types/KeyResult.mjs +3 -0
  211. package/dist/esm/serialization/resources/okr/types/KeyResultMetric.d.mts +12 -0
  212. package/dist/esm/serialization/resources/okr/types/KeyResultMetric.mjs +8 -0
  213. package/dist/esm/serialization/resources/okr/types/MetricSourceKind.d.mts +7 -0
  214. package/dist/esm/serialization/resources/okr/types/MetricSourceKind.mjs +3 -0
  215. package/dist/esm/serialization/resources/okr/types/index.d.mts +2 -0
  216. package/dist/esm/serialization/resources/okr/types/index.mjs +2 -0
  217. package/dist/esm/serialization/resources/organization/types/Organization.d.mts +2 -0
  218. package/dist/esm/serialization/resources/organization/types/Organization.mjs +2 -0
  219. package/dist/esm/serialization/resources/organization/types/UpdateOrganizationRequest.d.mts +2 -0
  220. package/dist/esm/serialization/resources/organization/types/UpdateOrganizationRequest.mjs +2 -0
  221. package/dist/esm/serialization/resources/platform/types/NotificationChannels.d.mts +1 -0
  222. package/dist/esm/serialization/resources/platform/types/NotificationChannels.mjs +1 -0
  223. package/dist/esm/serialization/resources/platform/types/UpdateNotificationChannels.d.mts +1 -0
  224. package/dist/esm/serialization/resources/platform/types/UpdateNotificationChannels.mjs +1 -0
  225. package/dist/esm/serialization/resources/slackConnections/index.d.mts +1 -0
  226. package/dist/esm/serialization/resources/slackConnections/index.mjs +1 -0
  227. package/dist/esm/serialization/resources/slackConnections/types/SlackConnection.d.mts +14 -0
  228. package/dist/esm/serialization/resources/slackConnections/types/SlackConnection.mjs +10 -0
  229. package/dist/esm/serialization/resources/slackConnections/types/SlackConnectionAccount.d.mts +11 -0
  230. package/dist/esm/serialization/resources/slackConnections/types/SlackConnectionAccount.mjs +7 -0
  231. package/dist/esm/serialization/resources/slackConnections/types/SlackConnectionPage.d.mts +12 -0
  232. package/dist/esm/serialization/resources/slackConnections/types/SlackConnectionPage.mjs +8 -0
  233. package/dist/esm/serialization/resources/slackConnections/types/SlackConnectionPerson.d.mts +10 -0
  234. package/dist/esm/serialization/resources/slackConnections/types/SlackConnectionPerson.mjs +6 -0
  235. package/dist/esm/serialization/resources/slackConnections/types/index.d.mts +4 -0
  236. package/dist/esm/serialization/resources/slackConnections/types/index.mjs +4 -0
  237. package/dist/esm/serialization/resources/steps/types/NudgeReason.d.mts +7 -0
  238. package/dist/esm/serialization/resources/steps/types/NudgeReason.mjs +3 -0
  239. package/dist/esm/serialization/resources/steps/types/NudgeResponse.d.mts +7 -1
  240. package/dist/esm/serialization/resources/steps/types/NudgeResponse.mjs +7 -1
  241. package/dist/esm/serialization/resources/steps/types/index.d.mts +1 -0
  242. package/dist/esm/serialization/resources/steps/types/index.mjs +1 -0
  243. package/dist/esm/version.d.mts +1 -1
  244. package/dist/esm/version.mjs +1 -1
  245. package/package.json +13 -1
  246. package/reference.md +285 -39
@@ -106,8 +106,8 @@ export class PlatformClient {
106
106
  });
107
107
  }
108
108
  /**
109
- * Turn kinds of notification on or off, by email and by Slack, for the
110
- * person behind this key or session; anything not named keeps its
109
+ * Turn kinds of notification on or off, by email, by Slack and by
110
+ * Microsoft Teams, for the person behind this key or session; anything not named keeps its
111
111
  * value. Like reading them, it needs no scope, and a signed-in session
112
112
  * may change its own. `404` for a key whose maker has left.
113
113
  *
@@ -1,10 +1,15 @@
1
1
  /**
2
2
  * How one kind of notification reaches you. Each is on until turned off.
3
- * Slack is a direct message, sent only in a workspace that has connected
4
- * Slack, whatever this says.
3
+ * Slack and Microsoft Teams are direct messages, each sent only in a
4
+ * workspace that has connected it, whatever this says.
5
5
  */
6
6
  export interface NotificationChannels {
7
7
  email: boolean;
8
8
  /** Always `false` for `productTips`, which come by email only. */
9
9
  slack: boolean;
10
+ /**
11
+ * A Microsoft Teams chat with Taktoria's bot. Always `false` for
12
+ * `productTips`, which come by email only.
13
+ */
14
+ teams: boolean;
10
15
  }
@@ -1,4 +1,5 @@
1
1
  export interface UpdateNotificationChannels {
2
2
  email?: boolean;
3
3
  slack?: boolean;
4
+ teams?: boolean;
4
5
  }
@@ -13,7 +13,7 @@ export interface UpdateNotificationPreferencesRequest {
13
13
  doryHostReminder?: Taktoria.UpdateNotificationChannels;
14
14
  trialEnding?: Taktoria.UpdateNotificationChannels;
15
15
  seatsAddedSummary?: Taktoria.UpdateNotificationChannels;
16
- /** `slack` is refused here: tips come by email only. */
16
+ /** `slack` and `teams` are refused here: tips come by email only. */
17
17
  productTips?: Taktoria.UpdateNotificationChannels;
18
18
  waitingListSeats?: Taktoria.UpdateNotificationChannels;
19
19
  }
@@ -4,8 +4,8 @@ import type * as Taktoria from "../../../index.mjs";
4
4
  * was taken, and seats were not growing as people join. Seats freed (one
5
5
  * taken away, somebody leaving) or bought (more seats, a trial starting)
6
6
  * go to the first on the list by themselves, never past the seats paid
7
- * for; they are told, by email and Slack as they choose, as
8
- * `waitingListSeats`. Taking somebody's seat away never puts them on it.
7
+ * for; they are told, by email, Slack or Microsoft Teams as they choose,
8
+ * as `waitingListSeats`. Taking somebody's seat away never puts them on it.
9
9
  */
10
10
  export interface WaitingForSeat {
11
11
  appSlug: string;
@@ -52,8 +52,10 @@ export declare class PostsClient {
52
52
  private __create;
53
53
  /**
54
54
  * Change a post's body, and an update's health. Only its author may:
55
- * through an API key, the person the key belongs to. Needs
56
- * `launches:write`.
55
+ * through an API key, the person the key belongs to. A post a ticketing
56
+ * sync brought in (one with a `source`) is that system's: changing it
57
+ * here is a `409 conflict`; change it there, and the next sync brings
58
+ * it across. Needs `launches:write`.
57
59
  *
58
60
  * @param {string} launchId
59
61
  * @param {string} postId
@@ -62,6 +64,7 @@ export declare class PostsClient {
62
64
  *
63
65
  * @throws {@link Taktoria.NotFoundError}
64
66
  * @throws {@link Taktoria.ForbiddenError}
67
+ * @throws {@link Taktoria.ConflictError}
65
68
  * @throws {@link Taktoria.ValidationError}
66
69
  * @throws {@link Taktoria.TooManyRequestsError}
67
70
  * @throws {@link errors.TaktoriaError}
@@ -216,8 +216,10 @@ export class PostsClient {
216
216
  }
217
217
  /**
218
218
  * Change a post's body, and an update's health. Only its author may:
219
- * through an API key, the person the key belongs to. Needs
220
- * `launches:write`.
219
+ * through an API key, the person the key belongs to. A post a ticketing
220
+ * sync brought in (one with a `source`) is that system's: changing it
221
+ * here is a `409 conflict`; change it there, and the next sync brings
222
+ * it across. Needs `launches:write`.
221
223
  *
222
224
  * @param {string} launchId
223
225
  * @param {string} postId
@@ -226,6 +228,7 @@ export class PostsClient {
226
228
  *
227
229
  * @throws {@link Taktoria.NotFoundError}
228
230
  * @throws {@link Taktoria.ForbiddenError}
231
+ * @throws {@link Taktoria.ConflictError}
229
232
  * @throws {@link Taktoria.ValidationError}
230
233
  * @throws {@link Taktoria.TooManyRequestsError}
231
234
  * @throws {@link errors.TaktoriaError}
@@ -291,6 +294,14 @@ export class PostsClient {
291
294
  skipValidation: true,
292
295
  breadcrumbsPrefix: ["response"],
293
296
  }), _response.rawResponse);
297
+ case 409:
298
+ throw new Taktoria.ConflictError(serializers.ErrorBody.parseOrThrow(_response.error.body, {
299
+ unrecognizedObjectKeys: "passthrough",
300
+ allowUnrecognizedUnionMembers: true,
301
+ allowUnrecognizedEnumValues: true,
302
+ skipValidation: true,
303
+ breadcrumbsPrefix: ["response"],
304
+ }), _response.rawResponse);
294
305
  case 422:
295
306
  throw new Taktoria.ValidationError(serializers.ErrorBody.parseOrThrow(_response.error.body, {
296
307
  unrecognizedObjectKeys: "passthrough",
@@ -18,9 +18,10 @@ export interface LaunchPost {
18
18
  editedAt?: Date;
19
19
  /**
20
20
  * The ticketing system a post came from, when a sync brought it in
21
- * from the launch's ticketing project (a status update from Linear,
22
- * GitHub or Asana, or a comment from Jira or ClickUp); null for one
23
- * written here. Such a post is changed in
21
+ * from the launch's ticketing project (a status update from Linear or
22
+ * GitHub, or a comment from Jira or ClickUp); null for one written
23
+ * here. Asana's status updates are not brought in: Taktoria's
24
+ * read-only connection cannot read them. Such a post is changed in
24
25
  * that system, not here: editing it is a `409 conflict`, and the next
25
26
  * sync brings the change across.
26
27
  */
@@ -0,0 +1,56 @@
1
+ import type { BaseClientOptions, BaseRequestOptions } from "../../../../BaseClient.mjs";
2
+ import { type NormalizedClientOptionsWithAuth } from "../../../../BaseClient.mjs";
3
+ import * as core from "../../../../core/index.mjs";
4
+ import * as Taktoria from "../../../index.mjs";
5
+ export declare namespace SlackConnectionsClient {
6
+ type Options = BaseClientOptions;
7
+ interface RequestOptions extends BaseRequestOptions {
8
+ }
9
+ }
10
+ export declare class SlackConnectionsClient {
11
+ protected readonly _options: NormalizedClientOptionsWithAuth<SlackConnectionsClient.Options>;
12
+ constructor(options: SlackConnectionsClient.Options);
13
+ /**
14
+ * The workspace's Slack connections, newest first. A key, or a
15
+ * workspace admin's session, sees every one; anybody else's session
16
+ * sees their own, as the connect page lists them. Requires
17
+ * `slackConnections:read`.
18
+ *
19
+ * @param {Taktoria.ListSlackConnectionsRequest} request
20
+ * @param {SlackConnectionsClient.RequestOptions} requestOptions - Request-specific configuration.
21
+ *
22
+ * @throws {@link Taktoria.UnauthorizedError}
23
+ * @throws {@link Taktoria.ForbiddenError}
24
+ * @throws {@link Taktoria.TooManyRequestsError}
25
+ * @throws {@link errors.TaktoriaError}
26
+ * @throws {@link errors.TaktoriaTimeoutError}
27
+ *
28
+ * @example
29
+ * await client.slackConnections.list()
30
+ */
31
+ list(request?: Taktoria.ListSlackConnectionsRequest, requestOptions?: SlackConnectionsClient.RequestOptions): core.HttpResponsePromise<Taktoria.SlackConnectionPage>;
32
+ private __list;
33
+ /**
34
+ * Disconnect a Slack account, as the connect page's **Disconnect**
35
+ * does: where Google is required, its commands are refused from the
36
+ * next one, with a link to connect again. In the audit log as
37
+ * `slack_user_link.deleted`. Requires `slackConnections:write`. A
38
+ * person's session disconnects their own; a key or a workspace admin's
39
+ * session, anybody's. One the caller may not see is `404 not_found`.
40
+ *
41
+ * @param {string} connectionId
42
+ * @param {SlackConnectionsClient.RequestOptions} requestOptions - Request-specific configuration.
43
+ *
44
+ * @throws {@link Taktoria.UnauthorizedError}
45
+ * @throws {@link Taktoria.ForbiddenError}
46
+ * @throws {@link Taktoria.NotFoundError}
47
+ * @throws {@link Taktoria.TooManyRequestsError}
48
+ * @throws {@link errors.TaktoriaError}
49
+ * @throws {@link errors.TaktoriaTimeoutError}
50
+ *
51
+ * @example
52
+ * await client.slackConnections.disconnect("slk_4b1e")
53
+ */
54
+ disconnect(connectionId: string, requestOptions?: SlackConnectionsClient.RequestOptions): core.HttpResponsePromise<void>;
55
+ private __disconnect;
56
+ }
@@ -0,0 +1,206 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
3
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
4
+ return new (P || (P = Promise))(function (resolve, reject) {
5
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
6
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
7
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
8
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
9
+ });
10
+ };
11
+ import { normalizeClientOptionsWithAuth } from "../../../../BaseClient.mjs";
12
+ import { mergeHeaders } from "../../../../core/headers.mjs";
13
+ import * as core from "../../../../core/index.mjs";
14
+ import * as environments from "../../../../environments.mjs";
15
+ import { handleNonStatusCodeError } from "../../../../errors/handleNonStatusCodeError.mjs";
16
+ import * as errors from "../../../../errors/index.mjs";
17
+ import * as serializers from "../../../../serialization/index.mjs";
18
+ import * as Taktoria from "../../../index.mjs";
19
+ export class SlackConnectionsClient {
20
+ constructor(options) {
21
+ this._options = normalizeClientOptionsWithAuth(options);
22
+ }
23
+ /**
24
+ * The workspace's Slack connections, newest first. A key, or a
25
+ * workspace admin's session, sees every one; anybody else's session
26
+ * sees their own, as the connect page lists them. Requires
27
+ * `slackConnections:read`.
28
+ *
29
+ * @param {Taktoria.ListSlackConnectionsRequest} request
30
+ * @param {SlackConnectionsClient.RequestOptions} requestOptions - Request-specific configuration.
31
+ *
32
+ * @throws {@link Taktoria.UnauthorizedError}
33
+ * @throws {@link Taktoria.ForbiddenError}
34
+ * @throws {@link Taktoria.TooManyRequestsError}
35
+ * @throws {@link errors.TaktoriaError}
36
+ * @throws {@link errors.TaktoriaTimeoutError}
37
+ *
38
+ * @example
39
+ * await client.slackConnections.list()
40
+ */
41
+ list(request = {}, requestOptions) {
42
+ return core.HttpResponsePromise.fromPromise(this.__list(request, requestOptions));
43
+ }
44
+ __list() {
45
+ return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
46
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
47
+ const { limit, cursor } = request;
48
+ const _queryParams = {
49
+ limit,
50
+ cursor,
51
+ };
52
+ const _authRequest = yield this._options.authProvider.getAuthRequest();
53
+ const _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
54
+ const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
55
+ url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.TaktoriaEnvironment.Production, "/slack-connections"),
56
+ method: "GET",
57
+ headers: _headers,
58
+ queryString: core.url
59
+ .queryBuilder()
60
+ .addMany(_queryParams)
61
+ .mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams)
62
+ .build(),
63
+ timeoutMs: ((_g = (_e = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _e !== void 0 ? _e : (_f = this._options) === null || _f === void 0 ? void 0 : _f.timeoutInSeconds) !== null && _g !== void 0 ? _g : 60) * 1000,
64
+ maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
65
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
66
+ fetchFn: (_k = this._options) === null || _k === void 0 ? void 0 : _k.fetch,
67
+ logging: this._options.logging,
68
+ });
69
+ if (_response.ok) {
70
+ return {
71
+ data: serializers.SlackConnectionPage.parseOrThrow(_response.body, {
72
+ unrecognizedObjectKeys: "passthrough",
73
+ allowUnrecognizedUnionMembers: true,
74
+ allowUnrecognizedEnumValues: true,
75
+ skipValidation: true,
76
+ breadcrumbsPrefix: ["response"],
77
+ }),
78
+ rawResponse: _response.rawResponse,
79
+ };
80
+ }
81
+ if (_response.error.reason === "status-code") {
82
+ switch (_response.error.statusCode) {
83
+ case 401:
84
+ throw new Taktoria.UnauthorizedError(serializers.ErrorBody.parseOrThrow(_response.error.body, {
85
+ unrecognizedObjectKeys: "passthrough",
86
+ allowUnrecognizedUnionMembers: true,
87
+ allowUnrecognizedEnumValues: true,
88
+ skipValidation: true,
89
+ breadcrumbsPrefix: ["response"],
90
+ }), _response.rawResponse);
91
+ case 403:
92
+ throw new Taktoria.ForbiddenError(serializers.ErrorBody.parseOrThrow(_response.error.body, {
93
+ unrecognizedObjectKeys: "passthrough",
94
+ allowUnrecognizedUnionMembers: true,
95
+ allowUnrecognizedEnumValues: true,
96
+ skipValidation: true,
97
+ breadcrumbsPrefix: ["response"],
98
+ }), _response.rawResponse);
99
+ case 429:
100
+ throw new Taktoria.TooManyRequestsError(serializers.ErrorBody.parseOrThrow(_response.error.body, {
101
+ unrecognizedObjectKeys: "passthrough",
102
+ allowUnrecognizedUnionMembers: true,
103
+ allowUnrecognizedEnumValues: true,
104
+ skipValidation: true,
105
+ breadcrumbsPrefix: ["response"],
106
+ }), _response.rawResponse);
107
+ default:
108
+ throw new errors.TaktoriaError({
109
+ statusCode: _response.error.statusCode,
110
+ body: _response.error.body,
111
+ rawResponse: _response.rawResponse,
112
+ });
113
+ }
114
+ }
115
+ return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/slack-connections");
116
+ });
117
+ }
118
+ /**
119
+ * Disconnect a Slack account, as the connect page's **Disconnect**
120
+ * does: where Google is required, its commands are refused from the
121
+ * next one, with a link to connect again. In the audit log as
122
+ * `slack_user_link.deleted`. Requires `slackConnections:write`. A
123
+ * person's session disconnects their own; a key or a workspace admin's
124
+ * session, anybody's. One the caller may not see is `404 not_found`.
125
+ *
126
+ * @param {string} connectionId
127
+ * @param {SlackConnectionsClient.RequestOptions} requestOptions - Request-specific configuration.
128
+ *
129
+ * @throws {@link Taktoria.UnauthorizedError}
130
+ * @throws {@link Taktoria.ForbiddenError}
131
+ * @throws {@link Taktoria.NotFoundError}
132
+ * @throws {@link Taktoria.TooManyRequestsError}
133
+ * @throws {@link errors.TaktoriaError}
134
+ * @throws {@link errors.TaktoriaTimeoutError}
135
+ *
136
+ * @example
137
+ * await client.slackConnections.disconnect("slk_4b1e")
138
+ */
139
+ disconnect(connectionId, requestOptions) {
140
+ return core.HttpResponsePromise.fromPromise(this.__disconnect(connectionId, requestOptions));
141
+ }
142
+ __disconnect(connectionId, requestOptions) {
143
+ return __awaiter(this, void 0, void 0, function* () {
144
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
145
+ const _authRequest = yield this._options.authProvider.getAuthRequest();
146
+ const _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
147
+ const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
148
+ url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.TaktoriaEnvironment.Production, `/slack-connections/${core.url.encodePathParam(connectionId)}`),
149
+ method: "DELETE",
150
+ headers: _headers,
151
+ queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
152
+ timeoutMs: ((_g = (_e = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _e !== void 0 ? _e : (_f = this._options) === null || _f === void 0 ? void 0 : _f.timeoutInSeconds) !== null && _g !== void 0 ? _g : 60) * 1000,
153
+ maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
154
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
155
+ fetchFn: (_k = this._options) === null || _k === void 0 ? void 0 : _k.fetch,
156
+ logging: this._options.logging,
157
+ });
158
+ if (_response.ok) {
159
+ return { data: undefined, rawResponse: _response.rawResponse };
160
+ }
161
+ if (_response.error.reason === "status-code") {
162
+ switch (_response.error.statusCode) {
163
+ case 401:
164
+ throw new Taktoria.UnauthorizedError(serializers.ErrorBody.parseOrThrow(_response.error.body, {
165
+ unrecognizedObjectKeys: "passthrough",
166
+ allowUnrecognizedUnionMembers: true,
167
+ allowUnrecognizedEnumValues: true,
168
+ skipValidation: true,
169
+ breadcrumbsPrefix: ["response"],
170
+ }), _response.rawResponse);
171
+ case 403:
172
+ throw new Taktoria.ForbiddenError(serializers.ErrorBody.parseOrThrow(_response.error.body, {
173
+ unrecognizedObjectKeys: "passthrough",
174
+ allowUnrecognizedUnionMembers: true,
175
+ allowUnrecognizedEnumValues: true,
176
+ skipValidation: true,
177
+ breadcrumbsPrefix: ["response"],
178
+ }), _response.rawResponse);
179
+ case 404:
180
+ throw new Taktoria.NotFoundError(serializers.ErrorBody.parseOrThrow(_response.error.body, {
181
+ unrecognizedObjectKeys: "passthrough",
182
+ allowUnrecognizedUnionMembers: true,
183
+ allowUnrecognizedEnumValues: true,
184
+ skipValidation: true,
185
+ breadcrumbsPrefix: ["response"],
186
+ }), _response.rawResponse);
187
+ case 429:
188
+ throw new Taktoria.TooManyRequestsError(serializers.ErrorBody.parseOrThrow(_response.error.body, {
189
+ unrecognizedObjectKeys: "passthrough",
190
+ allowUnrecognizedUnionMembers: true,
191
+ allowUnrecognizedEnumValues: true,
192
+ skipValidation: true,
193
+ breadcrumbsPrefix: ["response"],
194
+ }), _response.rawResponse);
195
+ default:
196
+ throw new errors.TaktoriaError({
197
+ statusCode: _response.error.statusCode,
198
+ body: _response.error.body,
199
+ rawResponse: _response.rawResponse,
200
+ });
201
+ }
202
+ }
203
+ return handleNonStatusCodeError(_response.error, _response.rawResponse, "DELETE", "/slack-connections/{connectionId}");
204
+ });
205
+ }
206
+ }
@@ -0,0 +1 @@
1
+ export * from "./requests/index.mjs";
@@ -0,0 +1 @@
1
+ export * from "./requests/index.mjs";
@@ -0,0 +1,9 @@
1
+ /**
2
+ * @example
3
+ * {}
4
+ */
5
+ export interface ListSlackConnectionsRequest {
6
+ /** 1 to 200; 50 by default. */
7
+ limit?: number;
8
+ cursor?: string;
9
+ }
@@ -0,0 +1,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -0,0 +1 @@
1
+ export type { ListSlackConnectionsRequest } from "./ListSlackConnectionsRequest.mjs";
@@ -0,0 +1,2 @@
1
+ export { SlackConnectionsClient } from "./client/Client.mjs";
2
+ export * from "./client/index.mjs";
@@ -0,0 +1,3 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export { SlackConnectionsClient } from "./client/Client.mjs";
3
+ export * from "./client/index.mjs";
@@ -0,0 +1,2 @@
1
+ export * from "./client/index.mjs";
2
+ export * from "./types/index.mjs";
@@ -0,0 +1,2 @@
1
+ export * from "./client/index.mjs";
2
+ export * from "./types/index.mjs";
@@ -0,0 +1,16 @@
1
+ import type * as Taktoria from "../../../index.mjs";
2
+ /**
3
+ * A Slack account its owner connected by signing in with Google, on the
4
+ * page a Slack command links to. In a workspace that requires Google
5
+ * sign-in and does not take Slack's word for who typed a command
6
+ * (`slackCommandsWithoutGoogle` false on `GET /organization`), only a
7
+ * connected account's commands are acted on: as its owner, with their
8
+ * seats and rights. A connection counts only while Slack still gives the
9
+ * address of the member who made it.
10
+ */
11
+ export interface SlackConnection {
12
+ id: string;
13
+ person: Taktoria.SlackConnectionPerson;
14
+ slack: Taktoria.SlackConnectionAccount;
15
+ createdAt: Date;
16
+ }
@@ -0,0 +1,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -0,0 +1,15 @@
1
+ /**
2
+ * The Slack account connected.
3
+ */
4
+ export interface SlackConnectionAccount {
5
+ /** The Slack workspace's id, such as `T0123ABCD`. */
6
+ teamId: string;
7
+ /**
8
+ * The Slack workspace's name, while Taktoria is still connected to
9
+ * it. A connection to a Slack workspace since disconnected keeps its
10
+ * id, and does nothing.
11
+ */
12
+ teamName?: string;
13
+ /** The person's Slack user id, such as `U0123ABCD`. */
14
+ userId: string;
15
+ }
@@ -0,0 +1,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -0,0 +1,7 @@
1
+ import type * as Taktoria from "../../../index.mjs";
2
+ export interface SlackConnectionPage {
3
+ data: Taktoria.SlackConnection[];
4
+ /** Pass as `cursor` for the next page; null on the last. */
5
+ nextCursor?: string;
6
+ hasMore: boolean;
7
+ }
@@ -0,0 +1,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -0,0 +1,7 @@
1
+ /**
2
+ * The member whose Slack account it is, and whom Slack commands act as.
3
+ */
4
+ export interface SlackConnectionPerson {
5
+ id: string;
6
+ name: string;
7
+ }
@@ -0,0 +1,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -0,0 +1,4 @@
1
+ export * from "./SlackConnection.mjs";
2
+ export * from "./SlackConnectionAccount.mjs";
3
+ export * from "./SlackConnectionPage.mjs";
4
+ export * from "./SlackConnectionPerson.mjs";
@@ -0,0 +1,4 @@
1
+ export * from "./SlackConnection.mjs";
2
+ export * from "./SlackConnectionAccount.mjs";
3
+ export * from "./SlackConnectionPage.mjs";
4
+ export * from "./SlackConnectionPerson.mjs";
@@ -47,10 +47,14 @@ export declare class StepsClient {
47
47
  createForLaunch(launchId: string, request: Taktoria.CreateStepRequest, requestOptions?: StepsClient.RequestOptions): core.HttpResponsePromise<Taktoria.LaunchStep>;
48
48
  private __createForLaunch;
49
49
  /**
50
- * "Add Launch Steps" copies the steps of the launch's own launch template
50
+ * "Add launch steps" copies the steps of the launch's own launch template
51
51
  * (`launchTemplateId`, the workspace's default when it has none) onto
52
52
  * the launch, back-scheduling each step from the planned launch date, and
53
- * creates the press release, dashboard and learnings artifacts. Run again,
53
+ * creates the press release, dashboard and learnings artifacts. A step
54
+ * starts with its template step's default reviewer
55
+ * (`defaultReviewer` on the step template) when that is still a member
56
+ * of the workspace, who is told as anybody given a step is: once the
57
+ * launch is published, if it is a draft. Run again,
54
58
  * say after the launch switches template, it adds only the steps the
55
59
  * launch lacks: a step it already has, or the same review (the same name
56
60
  * for the same functional team) from another template, is left out, and
@@ -165,12 +169,14 @@ export declare class StepsClient {
165
169
  setReason(stepId: string, request: Taktoria.SetDecisionReasonRequest, requestOptions?: StepsClient.RequestOptions): core.HttpResponsePromise<Taktoria.LaunchStep>;
166
170
  private __setReason;
167
171
  /**
168
- * Nudge the assigned reviewer over email and Slack. Throttled to one
169
- * nudge per step per hour however many times it is called; `queued`
170
- * is true either way, and `lastNudgedAt` on the step says when the
171
- * last one went. A draft's reviewer hears nothing until it is
172
- * published. A step with no reviewer is `409 no_reviewer`, and a key
173
- * whose maker has left the workspace is `403 forbidden`: a nudge
172
+ * Nudge the assigned reviewer over email and Slack, as the step's bell
173
+ * does in the app. One nudge per step goes out an hour however many
174
+ * times it is called, and none on a draft, whose reviewers hear
175
+ * nothing until it is published: `sent` says whether this one went
176
+ * out and, when not, `reason` says why (`throttled`, with
177
+ * `retryInMinutes`, or `draft`). `lastNudgedAt` on the step says when
178
+ * the last one went. A step with no reviewer is `409 no_reviewer`, and
179
+ * a key whose maker has left the workspace is `403 forbidden`: a nudge
174
180
  * comes from a person.
175
181
  *
176
182
  * @param {string} stepId
@@ -184,7 +190,7 @@ export declare class StepsClient {
184
190
  * @throws {@link errors.TaktoriaTimeoutError}
185
191
  *
186
192
  * @example
187
- * await client.steps.nudge("stepId")
193
+ * await client.steps.nudge("stp_1")
188
194
  */
189
195
  nudge(stepId: string, requestOptions?: StepsClient.RequestOptions): core.HttpResponsePromise<Taktoria.NudgeResponse>;
190
196
  private __nudge;
@@ -196,10 +196,14 @@ export class StepsClient {
196
196
  });
197
197
  }
198
198
  /**
199
- * "Add Launch Steps" copies the steps of the launch's own launch template
199
+ * "Add launch steps" copies the steps of the launch's own launch template
200
200
  * (`launchTemplateId`, the workspace's default when it has none) onto
201
201
  * the launch, back-scheduling each step from the planned launch date, and
202
- * creates the press release, dashboard and learnings artifacts. Run again,
202
+ * creates the press release, dashboard and learnings artifacts. A step
203
+ * starts with its template step's default reviewer
204
+ * (`defaultReviewer` on the step template) when that is still a member
205
+ * of the workspace, who is told as anybody given a step is: once the
206
+ * launch is published, if it is a draft. Run again,
203
207
  * say after the launch switches template, it adds only the steps the
204
208
  * launch lacks: a step it already has, or the same review (the same name
205
209
  * for the same functional team) from another template, is left out, and
@@ -743,12 +747,14 @@ export class StepsClient {
743
747
  });
744
748
  }
745
749
  /**
746
- * Nudge the assigned reviewer over email and Slack. Throttled to one
747
- * nudge per step per hour however many times it is called; `queued`
748
- * is true either way, and `lastNudgedAt` on the step says when the
749
- * last one went. A draft's reviewer hears nothing until it is
750
- * published. A step with no reviewer is `409 no_reviewer`, and a key
751
- * whose maker has left the workspace is `403 forbidden`: a nudge
750
+ * Nudge the assigned reviewer over email and Slack, as the step's bell
751
+ * does in the app. One nudge per step goes out an hour however many
752
+ * times it is called, and none on a draft, whose reviewers hear
753
+ * nothing until it is published: `sent` says whether this one went
754
+ * out and, when not, `reason` says why (`throttled`, with
755
+ * `retryInMinutes`, or `draft`). `lastNudgedAt` on the step says when
756
+ * the last one went. A step with no reviewer is `409 no_reviewer`, and
757
+ * a key whose maker has left the workspace is `403 forbidden`: a nudge
752
758
  * comes from a person.
753
759
  *
754
760
  * @param {string} stepId
@@ -762,7 +768,7 @@ export class StepsClient {
762
768
  * @throws {@link errors.TaktoriaTimeoutError}
763
769
  *
764
770
  * @example
765
- * await client.steps.nudge("stepId")
771
+ * await client.steps.nudge("stp_1")
766
772
  */
767
773
  nudge(stepId, requestOptions) {
768
774
  return core.HttpResponsePromise.fromPromise(this.__nudge(stepId, requestOptions));
@@ -863,7 +869,7 @@ export class StepsClient {
863
869
  __reviewQueue() {
864
870
  return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
865
871
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
866
- const { team, mine, status, reviewerUserId, q, year, quarter, limit, cursor } = request;
872
+ const { team, mine, status, reviewerUserId, q, period, year, quarter, limit, cursor } = request;
867
873
  const _queryParams = {
868
874
  team,
869
875
  mine,
@@ -875,6 +881,7 @@ export class StepsClient {
875
881
  : undefined,
876
882
  reviewerUserId,
877
883
  q,
884
+ period,
878
885
  year,
879
886
  quarter,
880
887
  limit,