@taktoria/sdk 0.1.0 → 0.1.3

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 (282) 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/appDomains/client/Client.js +4 -4
  5. package/dist/cjs/api/resources/artifacts/client/Client.d.ts +14 -6
  6. package/dist/cjs/api/resources/artifacts/client/Client.js +22 -13
  7. package/dist/cjs/api/resources/artifacts/client/requests/ListAllArtifactsRequest.d.ts +13 -1
  8. package/dist/cjs/api/resources/auditLogs/client/Client.js +1 -1
  9. package/dist/cjs/api/resources/billing/client/Client.js +1 -1
  10. package/dist/cjs/api/resources/domains/client/Client.js +4 -4
  11. package/dist/cjs/api/resources/dory/client/Client.d.ts +28 -5
  12. package/dist/cjs/api/resources/dory/client/Client.js +119 -38
  13. package/dist/cjs/api/resources/dory/types/CreateEventRequest.d.ts +9 -4
  14. package/dist/cjs/api/resources/dory/types/EventCalendarInvite.d.ts +41 -0
  15. package/dist/cjs/api/resources/dory/types/EventCalendarInvite.js +3 -0
  16. package/dist/cjs/api/resources/dory/types/UpdateEventRequest.d.ts +9 -4
  17. package/dist/cjs/api/resources/dory/types/index.d.ts +1 -0
  18. package/dist/cjs/api/resources/dory/types/index.js +1 -0
  19. package/dist/cjs/api/resources/golinks/client/Client.js +6 -6
  20. package/dist/cjs/api/resources/index.d.ts +3 -0
  21. package/dist/cjs/api/resources/index.js +4 -1
  22. package/dist/cjs/api/resources/insights/client/Client.js +4 -3
  23. package/dist/cjs/api/resources/insights/client/requests/ListInsightsRequest.d.ts +12 -1
  24. package/dist/cjs/api/resources/launches/client/Client.d.ts +29 -13
  25. package/dist/cjs/api/resources/launches/client/Client.js +56 -22
  26. package/dist/cjs/api/resources/launches/client/requests/ListLaunchesRequest.d.ts +25 -1
  27. package/dist/cjs/api/resources/launches/types/LaunchActivityVerb.d.ts +3 -0
  28. package/dist/cjs/api/resources/launches/types/LaunchActivityVerb.js +3 -0
  29. package/dist/cjs/api/resources/launches/types/LinkTicketingProjectRequest.d.ts +2 -2
  30. package/dist/cjs/api/resources/launches/types/SyncTicketingProjectResponse.d.ts +1 -1
  31. package/dist/cjs/api/resources/launches/types/TicketingProject.d.ts +13 -7
  32. package/dist/cjs/api/resources/links/client/Client.js +3 -3
  33. package/dist/cjs/api/resources/mcpConnections/client/Client.js +1 -1
  34. package/dist/cjs/api/resources/memegen/client/Client.js +8 -8
  35. package/dist/cjs/api/resources/okr/client/Client.d.ts +8 -0
  36. package/dist/cjs/api/resources/okr/client/Client.js +23 -15
  37. package/dist/cjs/api/resources/okr/types/KeyResult.d.ts +13 -0
  38. package/dist/cjs/api/resources/okr/types/KeyResultMetric.d.ts +12 -0
  39. package/dist/cjs/api/resources/okr/types/KeyResultMetric.js +3 -0
  40. package/dist/cjs/api/resources/okr/types/MetricSourceKind.d.ts +10 -0
  41. package/dist/cjs/api/resources/okr/types/MetricSourceKind.js +13 -0
  42. package/dist/cjs/api/resources/okr/types/index.d.ts +2 -0
  43. package/dist/cjs/api/resources/okr/types/index.js +2 -0
  44. package/dist/cjs/api/resources/organization/client/Client.d.ts +5 -2
  45. package/dist/cjs/api/resources/organization/client/Client.js +5 -2
  46. package/dist/cjs/api/resources/organization/types/Organization.d.ts +21 -0
  47. package/dist/cjs/api/resources/organization/types/UpdateOrganizationRequest.d.ts +15 -0
  48. package/dist/cjs/api/resources/partnerDomains/client/Client.js +1 -1
  49. package/dist/cjs/api/resources/platform/client/Client.d.ts +2 -2
  50. package/dist/cjs/api/resources/platform/client/Client.js +4 -4
  51. package/dist/cjs/api/resources/platform/types/NotificationChannels.d.ts +7 -2
  52. package/dist/cjs/api/resources/platform/types/UpdateNotificationChannels.d.ts +1 -0
  53. package/dist/cjs/api/resources/platform/types/UpdateNotificationPreferencesRequest.d.ts +1 -1
  54. package/dist/cjs/api/resources/platform/types/WaitingForSeat.d.ts +2 -2
  55. package/dist/cjs/api/resources/posts/client/Client.d.ts +5 -2
  56. package/dist/cjs/api/resources/posts/client/Client.js +16 -5
  57. package/dist/cjs/api/resources/posts/types/LaunchPost.d.ts +4 -3
  58. package/dist/cjs/api/resources/process/client/Client.js +10 -10
  59. package/dist/cjs/api/resources/slackConnections/client/Client.d.ts +56 -0
  60. package/dist/cjs/api/resources/slackConnections/client/Client.js +243 -0
  61. package/dist/cjs/api/resources/slackConnections/client/index.d.ts +1 -0
  62. package/dist/cjs/api/resources/slackConnections/client/index.js +17 -0
  63. package/dist/cjs/api/resources/slackConnections/client/requests/ListSlackConnectionsRequest.d.ts +9 -0
  64. package/dist/cjs/api/resources/slackConnections/client/requests/ListSlackConnectionsRequest.js +3 -0
  65. package/dist/cjs/api/resources/slackConnections/client/requests/index.d.ts +1 -0
  66. package/dist/cjs/api/resources/slackConnections/client/requests/index.js +2 -0
  67. package/dist/cjs/api/resources/slackConnections/exports.d.ts +2 -0
  68. package/dist/cjs/api/resources/slackConnections/exports.js +21 -0
  69. package/dist/cjs/api/resources/slackConnections/index.d.ts +2 -0
  70. package/dist/cjs/api/resources/slackConnections/index.js +18 -0
  71. package/dist/cjs/api/resources/slackConnections/types/SlackConnection.d.ts +16 -0
  72. package/dist/cjs/api/resources/slackConnections/types/SlackConnection.js +3 -0
  73. package/dist/cjs/api/resources/slackConnections/types/SlackConnectionAccount.d.ts +15 -0
  74. package/dist/cjs/api/resources/slackConnections/types/SlackConnectionAccount.js +3 -0
  75. package/dist/cjs/api/resources/slackConnections/types/SlackConnectionPage.d.ts +7 -0
  76. package/dist/cjs/api/resources/slackConnections/types/SlackConnectionPage.js +3 -0
  77. package/dist/cjs/api/resources/slackConnections/types/SlackConnectionPerson.d.ts +7 -0
  78. package/dist/cjs/api/resources/slackConnections/types/SlackConnectionPerson.js +3 -0
  79. package/dist/cjs/api/resources/slackConnections/types/index.d.ts +4 -0
  80. package/dist/cjs/api/resources/slackConnections/types/index.js +20 -0
  81. package/dist/cjs/api/resources/steps/client/Client.d.ts +15 -9
  82. package/dist/cjs/api/resources/steps/client/Client.js +26 -19
  83. package/dist/cjs/api/resources/steps/client/requests/ListReviewsRequest.d.ts +12 -1
  84. package/dist/cjs/api/resources/steps/types/NudgeReason.d.ts +10 -0
  85. package/dist/cjs/api/resources/steps/types/NudgeReason.js +13 -0
  86. package/dist/cjs/api/resources/steps/types/NudgeResponse.d.ts +11 -1
  87. package/dist/cjs/api/resources/steps/types/index.d.ts +1 -0
  88. package/dist/cjs/api/resources/steps/types/index.js +1 -0
  89. package/dist/cjs/core/form-data-utils/FormDataWrapper.d.ts +1 -1
  90. package/dist/cjs/core/form-data-utils/FormDataWrapper.js +5 -1
  91. package/dist/cjs/core/schemas/builders/list/list.js +3 -1
  92. package/dist/cjs/core/schemas/builders/object/object.js +3 -1
  93. package/dist/cjs/core/schemas/builders/record/record.js +6 -2
  94. package/dist/cjs/core/url/encodePathParam.d.ts +3 -1
  95. package/dist/cjs/core/url/encodePathParam.js +8 -2
  96. package/dist/cjs/errors/TaktoriaError.js +16 -2
  97. package/dist/cjs/serialization/resources/dory/types/EventCalendarInvite.d.ts +20 -0
  98. package/dist/cjs/serialization/resources/dory/types/EventCalendarInvite.js +52 -0
  99. package/dist/cjs/serialization/resources/dory/types/index.d.ts +1 -0
  100. package/dist/cjs/serialization/resources/dory/types/index.js +1 -0
  101. package/dist/cjs/serialization/resources/index.d.ts +2 -0
  102. package/dist/cjs/serialization/resources/index.js +3 -1
  103. package/dist/cjs/serialization/resources/launches/types/LaunchActivityVerb.d.ts +1 -1
  104. package/dist/cjs/serialization/resources/launches/types/LaunchActivityVerb.js +1 -0
  105. package/dist/cjs/serialization/resources/okr/types/KeyResult.d.ts +3 -0
  106. package/dist/cjs/serialization/resources/okr/types/KeyResult.js +3 -0
  107. package/dist/cjs/serialization/resources/okr/types/KeyResultMetric.d.ts +12 -0
  108. package/dist/cjs/serialization/resources/okr/types/KeyResultMetric.js +44 -0
  109. package/dist/cjs/serialization/resources/okr/types/MetricSourceKind.d.ts +7 -0
  110. package/dist/cjs/serialization/resources/okr/types/MetricSourceKind.js +39 -0
  111. package/dist/cjs/serialization/resources/okr/types/index.d.ts +2 -0
  112. package/dist/cjs/serialization/resources/okr/types/index.js +2 -0
  113. package/dist/cjs/serialization/resources/organization/types/Organization.d.ts +2 -0
  114. package/dist/cjs/serialization/resources/organization/types/Organization.js +2 -0
  115. package/dist/cjs/serialization/resources/organization/types/UpdateOrganizationRequest.d.ts +2 -0
  116. package/dist/cjs/serialization/resources/organization/types/UpdateOrganizationRequest.js +2 -0
  117. package/dist/cjs/serialization/resources/platform/types/NotificationChannels.d.ts +1 -0
  118. package/dist/cjs/serialization/resources/platform/types/NotificationChannels.js +1 -0
  119. package/dist/cjs/serialization/resources/platform/types/UpdateNotificationChannels.d.ts +1 -0
  120. package/dist/cjs/serialization/resources/platform/types/UpdateNotificationChannels.js +1 -0
  121. package/dist/cjs/serialization/resources/slackConnections/index.d.ts +1 -0
  122. package/dist/cjs/serialization/resources/slackConnections/index.js +17 -0
  123. package/dist/cjs/serialization/resources/slackConnections/types/SlackConnection.d.ts +14 -0
  124. package/dist/cjs/serialization/resources/slackConnections/types/SlackConnection.js +46 -0
  125. package/dist/cjs/serialization/resources/slackConnections/types/SlackConnectionAccount.d.ts +11 -0
  126. package/dist/cjs/serialization/resources/slackConnections/types/SlackConnectionAccount.js +43 -0
  127. package/dist/cjs/serialization/resources/slackConnections/types/SlackConnectionPage.d.ts +12 -0
  128. package/dist/cjs/serialization/resources/slackConnections/types/SlackConnectionPage.js +44 -0
  129. package/dist/cjs/serialization/resources/slackConnections/types/SlackConnectionPerson.d.ts +10 -0
  130. package/dist/cjs/serialization/resources/slackConnections/types/SlackConnectionPerson.js +42 -0
  131. package/dist/cjs/serialization/resources/slackConnections/types/index.d.ts +4 -0
  132. package/dist/cjs/serialization/resources/slackConnections/types/index.js +20 -0
  133. package/dist/cjs/serialization/resources/steps/types/NudgeReason.d.ts +7 -0
  134. package/dist/cjs/serialization/resources/steps/types/NudgeReason.js +39 -0
  135. package/dist/cjs/serialization/resources/steps/types/NudgeResponse.d.ts +7 -1
  136. package/dist/cjs/serialization/resources/steps/types/NudgeResponse.js +7 -1
  137. package/dist/cjs/serialization/resources/steps/types/index.d.ts +1 -0
  138. package/dist/cjs/serialization/resources/steps/types/index.js +1 -0
  139. package/dist/cjs/version.d.ts +1 -1
  140. package/dist/cjs/version.js +1 -1
  141. package/dist/esm/BaseClient.mjs +2 -2
  142. package/dist/esm/Client.d.mts +3 -0
  143. package/dist/esm/Client.mjs +5 -0
  144. package/dist/esm/api/resources/appDomains/client/Client.mjs +4 -4
  145. package/dist/esm/api/resources/artifacts/client/Client.d.mts +14 -6
  146. package/dist/esm/api/resources/artifacts/client/Client.mjs +22 -13
  147. package/dist/esm/api/resources/artifacts/client/requests/ListAllArtifactsRequest.d.mts +13 -1
  148. package/dist/esm/api/resources/auditLogs/client/Client.mjs +1 -1
  149. package/dist/esm/api/resources/billing/client/Client.mjs +1 -1
  150. package/dist/esm/api/resources/domains/client/Client.mjs +4 -4
  151. package/dist/esm/api/resources/dory/client/Client.d.mts +28 -5
  152. package/dist/esm/api/resources/dory/client/Client.mjs +119 -38
  153. package/dist/esm/api/resources/dory/types/CreateEventRequest.d.mts +9 -4
  154. package/dist/esm/api/resources/dory/types/EventCalendarInvite.d.mts +41 -0
  155. package/dist/esm/api/resources/dory/types/EventCalendarInvite.mjs +2 -0
  156. package/dist/esm/api/resources/dory/types/UpdateEventRequest.d.mts +9 -4
  157. package/dist/esm/api/resources/dory/types/index.d.mts +1 -0
  158. package/dist/esm/api/resources/dory/types/index.mjs +1 -0
  159. package/dist/esm/api/resources/golinks/client/Client.mjs +6 -6
  160. package/dist/esm/api/resources/index.d.mts +3 -0
  161. package/dist/esm/api/resources/index.mjs +3 -0
  162. package/dist/esm/api/resources/insights/client/Client.mjs +4 -3
  163. package/dist/esm/api/resources/insights/client/requests/ListInsightsRequest.d.mts +12 -1
  164. package/dist/esm/api/resources/launches/client/Client.d.mts +29 -13
  165. package/dist/esm/api/resources/launches/client/Client.mjs +56 -22
  166. package/dist/esm/api/resources/launches/client/requests/ListLaunchesRequest.d.mts +25 -1
  167. package/dist/esm/api/resources/launches/types/LaunchActivityVerb.d.mts +3 -0
  168. package/dist/esm/api/resources/launches/types/LaunchActivityVerb.mjs +3 -0
  169. package/dist/esm/api/resources/launches/types/LinkTicketingProjectRequest.d.mts +2 -2
  170. package/dist/esm/api/resources/launches/types/SyncTicketingProjectResponse.d.mts +1 -1
  171. package/dist/esm/api/resources/launches/types/TicketingProject.d.mts +13 -7
  172. package/dist/esm/api/resources/links/client/Client.mjs +3 -3
  173. package/dist/esm/api/resources/mcpConnections/client/Client.mjs +1 -1
  174. package/dist/esm/api/resources/memegen/client/Client.mjs +8 -8
  175. package/dist/esm/api/resources/okr/client/Client.d.mts +8 -0
  176. package/dist/esm/api/resources/okr/client/Client.mjs +23 -15
  177. package/dist/esm/api/resources/okr/types/KeyResult.d.mts +13 -0
  178. package/dist/esm/api/resources/okr/types/KeyResultMetric.d.mts +12 -0
  179. package/dist/esm/api/resources/okr/types/KeyResultMetric.mjs +2 -0
  180. package/dist/esm/api/resources/okr/types/MetricSourceKind.d.mts +10 -0
  181. package/dist/esm/api/resources/okr/types/MetricSourceKind.mjs +10 -0
  182. package/dist/esm/api/resources/okr/types/index.d.mts +2 -0
  183. package/dist/esm/api/resources/okr/types/index.mjs +2 -0
  184. package/dist/esm/api/resources/organization/client/Client.d.mts +5 -2
  185. package/dist/esm/api/resources/organization/client/Client.mjs +5 -2
  186. package/dist/esm/api/resources/organization/types/Organization.d.mts +21 -0
  187. package/dist/esm/api/resources/organization/types/UpdateOrganizationRequest.d.mts +15 -0
  188. package/dist/esm/api/resources/partnerDomains/client/Client.mjs +1 -1
  189. package/dist/esm/api/resources/platform/client/Client.d.mts +2 -2
  190. package/dist/esm/api/resources/platform/client/Client.mjs +4 -4
  191. package/dist/esm/api/resources/platform/types/NotificationChannels.d.mts +7 -2
  192. package/dist/esm/api/resources/platform/types/UpdateNotificationChannels.d.mts +1 -0
  193. package/dist/esm/api/resources/platform/types/UpdateNotificationPreferencesRequest.d.mts +1 -1
  194. package/dist/esm/api/resources/platform/types/WaitingForSeat.d.mts +2 -2
  195. package/dist/esm/api/resources/posts/client/Client.d.mts +5 -2
  196. package/dist/esm/api/resources/posts/client/Client.mjs +16 -5
  197. package/dist/esm/api/resources/posts/types/LaunchPost.d.mts +4 -3
  198. package/dist/esm/api/resources/process/client/Client.mjs +10 -10
  199. package/dist/esm/api/resources/slackConnections/client/Client.d.mts +56 -0
  200. package/dist/esm/api/resources/slackConnections/client/Client.mjs +206 -0
  201. package/dist/esm/api/resources/slackConnections/client/index.d.mts +1 -0
  202. package/dist/esm/api/resources/slackConnections/client/index.mjs +1 -0
  203. package/dist/esm/api/resources/slackConnections/client/requests/ListSlackConnectionsRequest.d.mts +9 -0
  204. package/dist/esm/api/resources/slackConnections/client/requests/ListSlackConnectionsRequest.mjs +2 -0
  205. package/dist/esm/api/resources/slackConnections/client/requests/index.d.mts +1 -0
  206. package/dist/esm/api/resources/slackConnections/client/requests/index.mjs +1 -0
  207. package/dist/esm/api/resources/slackConnections/exports.d.mts +2 -0
  208. package/dist/esm/api/resources/slackConnections/exports.mjs +3 -0
  209. package/dist/esm/api/resources/slackConnections/index.d.mts +2 -0
  210. package/dist/esm/api/resources/slackConnections/index.mjs +2 -0
  211. package/dist/esm/api/resources/slackConnections/types/SlackConnection.d.mts +16 -0
  212. package/dist/esm/api/resources/slackConnections/types/SlackConnection.mjs +2 -0
  213. package/dist/esm/api/resources/slackConnections/types/SlackConnectionAccount.d.mts +15 -0
  214. package/dist/esm/api/resources/slackConnections/types/SlackConnectionAccount.mjs +2 -0
  215. package/dist/esm/api/resources/slackConnections/types/SlackConnectionPage.d.mts +7 -0
  216. package/dist/esm/api/resources/slackConnections/types/SlackConnectionPage.mjs +2 -0
  217. package/dist/esm/api/resources/slackConnections/types/SlackConnectionPerson.d.mts +7 -0
  218. package/dist/esm/api/resources/slackConnections/types/SlackConnectionPerson.mjs +2 -0
  219. package/dist/esm/api/resources/slackConnections/types/index.d.mts +4 -0
  220. package/dist/esm/api/resources/slackConnections/types/index.mjs +4 -0
  221. package/dist/esm/api/resources/steps/client/Client.d.mts +15 -9
  222. package/dist/esm/api/resources/steps/client/Client.mjs +26 -19
  223. package/dist/esm/api/resources/steps/client/requests/ListReviewsRequest.d.mts +12 -1
  224. package/dist/esm/api/resources/steps/types/NudgeReason.d.mts +10 -0
  225. package/dist/esm/api/resources/steps/types/NudgeReason.mjs +10 -0
  226. package/dist/esm/api/resources/steps/types/NudgeResponse.d.mts +11 -1
  227. package/dist/esm/api/resources/steps/types/index.d.mts +1 -0
  228. package/dist/esm/api/resources/steps/types/index.mjs +1 -0
  229. package/dist/esm/core/form-data-utils/FormDataWrapper.d.mts +1 -1
  230. package/dist/esm/core/form-data-utils/FormDataWrapper.mjs +5 -1
  231. package/dist/esm/core/schemas/builders/list/list.mjs +3 -1
  232. package/dist/esm/core/schemas/builders/object/object.mjs +3 -1
  233. package/dist/esm/core/schemas/builders/record/record.mjs +6 -2
  234. package/dist/esm/core/url/encodePathParam.d.mts +3 -1
  235. package/dist/esm/core/url/encodePathParam.mjs +8 -2
  236. package/dist/esm/errors/TaktoriaError.mjs +16 -2
  237. package/dist/esm/serialization/resources/dory/types/EventCalendarInvite.d.mts +20 -0
  238. package/dist/esm/serialization/resources/dory/types/EventCalendarInvite.mjs +16 -0
  239. package/dist/esm/serialization/resources/dory/types/index.d.mts +1 -0
  240. package/dist/esm/serialization/resources/dory/types/index.mjs +1 -0
  241. package/dist/esm/serialization/resources/index.d.mts +2 -0
  242. package/dist/esm/serialization/resources/index.mjs +2 -0
  243. package/dist/esm/serialization/resources/launches/types/LaunchActivityVerb.d.mts +1 -1
  244. package/dist/esm/serialization/resources/launches/types/LaunchActivityVerb.mjs +1 -0
  245. package/dist/esm/serialization/resources/okr/types/KeyResult.d.mts +3 -0
  246. package/dist/esm/serialization/resources/okr/types/KeyResult.mjs +3 -0
  247. package/dist/esm/serialization/resources/okr/types/KeyResultMetric.d.mts +12 -0
  248. package/dist/esm/serialization/resources/okr/types/KeyResultMetric.mjs +8 -0
  249. package/dist/esm/serialization/resources/okr/types/MetricSourceKind.d.mts +7 -0
  250. package/dist/esm/serialization/resources/okr/types/MetricSourceKind.mjs +3 -0
  251. package/dist/esm/serialization/resources/okr/types/index.d.mts +2 -0
  252. package/dist/esm/serialization/resources/okr/types/index.mjs +2 -0
  253. package/dist/esm/serialization/resources/organization/types/Organization.d.mts +2 -0
  254. package/dist/esm/serialization/resources/organization/types/Organization.mjs +2 -0
  255. package/dist/esm/serialization/resources/organization/types/UpdateOrganizationRequest.d.mts +2 -0
  256. package/dist/esm/serialization/resources/organization/types/UpdateOrganizationRequest.mjs +2 -0
  257. package/dist/esm/serialization/resources/platform/types/NotificationChannels.d.mts +1 -0
  258. package/dist/esm/serialization/resources/platform/types/NotificationChannels.mjs +1 -0
  259. package/dist/esm/serialization/resources/platform/types/UpdateNotificationChannels.d.mts +1 -0
  260. package/dist/esm/serialization/resources/platform/types/UpdateNotificationChannels.mjs +1 -0
  261. package/dist/esm/serialization/resources/slackConnections/index.d.mts +1 -0
  262. package/dist/esm/serialization/resources/slackConnections/index.mjs +1 -0
  263. package/dist/esm/serialization/resources/slackConnections/types/SlackConnection.d.mts +14 -0
  264. package/dist/esm/serialization/resources/slackConnections/types/SlackConnection.mjs +10 -0
  265. package/dist/esm/serialization/resources/slackConnections/types/SlackConnectionAccount.d.mts +11 -0
  266. package/dist/esm/serialization/resources/slackConnections/types/SlackConnectionAccount.mjs +7 -0
  267. package/dist/esm/serialization/resources/slackConnections/types/SlackConnectionPage.d.mts +12 -0
  268. package/dist/esm/serialization/resources/slackConnections/types/SlackConnectionPage.mjs +8 -0
  269. package/dist/esm/serialization/resources/slackConnections/types/SlackConnectionPerson.d.mts +10 -0
  270. package/dist/esm/serialization/resources/slackConnections/types/SlackConnectionPerson.mjs +6 -0
  271. package/dist/esm/serialization/resources/slackConnections/types/index.d.mts +4 -0
  272. package/dist/esm/serialization/resources/slackConnections/types/index.mjs +4 -0
  273. package/dist/esm/serialization/resources/steps/types/NudgeReason.d.mts +7 -0
  274. package/dist/esm/serialization/resources/steps/types/NudgeReason.mjs +3 -0
  275. package/dist/esm/serialization/resources/steps/types/NudgeResponse.d.mts +7 -1
  276. package/dist/esm/serialization/resources/steps/types/NudgeResponse.mjs +7 -1
  277. package/dist/esm/serialization/resources/steps/types/index.d.mts +1 -0
  278. package/dist/esm/serialization/resources/steps/types/index.mjs +1 -0
  279. package/dist/esm/version.d.mts +1 -1
  280. package/dist/esm/version.mjs +1 -1
  281. package/package.json +13 -1
  282. package/reference.md +285 -39
@@ -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,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,4 @@
1
+ export * from "./SlackConnection.js";
2
+ export * from "./SlackConnectionAccount.js";
3
+ export * from "./SlackConnectionPage.js";
4
+ export * from "./SlackConnectionPerson.js";
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./SlackConnection.js"), exports);
18
+ __exportStar(require("./SlackConnectionAccount.js"), exports);
19
+ __exportStar(require("./SlackConnectionPage.js"), exports);
20
+ __exportStar(require("./SlackConnectionPerson.js"), exports);
@@ -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;
@@ -80,7 +80,7 @@ class StepsClient {
80
80
  const _authRequest = yield this._options.authProvider.getAuthRequest();
81
81
  const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
82
82
  const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
83
- 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, `launches/${core.url.encodePathParam(launchId)}/steps`),
83
+ 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, `launches/${core.url.encodePathParam(launchId, errors.TaktoriaError)}/steps`),
84
84
  method: "GET",
85
85
  headers: _headers,
86
86
  queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
@@ -158,7 +158,7 @@ class StepsClient {
158
158
  const _authRequest = yield this._options.authProvider.getAuthRequest();
159
159
  const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
160
160
  const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
161
- 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, `launches/${core.url.encodePathParam(launchId)}/steps`),
161
+ 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, `launches/${core.url.encodePathParam(launchId, errors.TaktoriaError)}/steps`),
162
162
  method: "POST",
163
163
  headers: _headers,
164
164
  contentType: "application/json",
@@ -232,10 +232,14 @@ class StepsClient {
232
232
  });
233
233
  }
234
234
  /**
235
- * "Add Launch Steps" copies the steps of the launch's own launch template
235
+ * "Add launch steps" copies the steps of the launch's own launch template
236
236
  * (`launchTemplateId`, the workspace's default when it has none) onto
237
237
  * the launch, back-scheduling each step from the planned launch date, and
238
- * creates the press release, dashboard and learnings artifacts. Run again,
238
+ * creates the press release, dashboard and learnings artifacts. A step
239
+ * starts with its template step's default reviewer
240
+ * (`defaultReviewer` on the step template) when that is still a member
241
+ * of the workspace, who is told as anybody given a step is: once the
242
+ * launch is published, if it is a draft. Run again,
239
243
  * say after the launch switches template, it adds only the steps the
240
244
  * launch lacks: a step it already has, or the same review (the same name
241
245
  * for the same functional team) from another template, is left out, and
@@ -262,7 +266,7 @@ class StepsClient {
262
266
  const _authRequest = yield this._options.authProvider.getAuthRequest();
263
267
  const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
264
268
  const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
265
- 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, `launches/${core.url.encodePathParam(launchId)}/steps/generate`),
269
+ 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, `launches/${core.url.encodePathParam(launchId, errors.TaktoriaError)}/steps/generate`),
266
270
  method: "POST",
267
271
  headers: _headers,
268
272
  queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
@@ -342,7 +346,7 @@ class StepsClient {
342
346
  const _authRequest = yield this._options.authProvider.getAuthRequest();
343
347
  const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
344
348
  const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
345
- 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, `steps/${core.url.encodePathParam(stepId)}`),
349
+ 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, `steps/${core.url.encodePathParam(stepId, errors.TaktoriaError)}`),
346
350
  method: "GET",
347
351
  headers: _headers,
348
352
  queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
@@ -417,7 +421,7 @@ class StepsClient {
417
421
  const _authRequest = yield this._options.authProvider.getAuthRequest();
418
422
  const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
419
423
  const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
420
- 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, `steps/${core.url.encodePathParam(stepId)}`),
424
+ 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, `steps/${core.url.encodePathParam(stepId, errors.TaktoriaError)}`),
421
425
  method: "PATCH",
422
426
  headers: _headers,
423
427
  contentType: "application/json",
@@ -512,7 +516,7 @@ class StepsClient {
512
516
  const _authRequest = yield this._options.authProvider.getAuthRequest();
513
517
  const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
514
518
  const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
515
- 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, `steps/${core.url.encodePathParam(stepId)}`),
519
+ 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, `steps/${core.url.encodePathParam(stepId, errors.TaktoriaError)}`),
516
520
  method: "DELETE",
517
521
  headers: _headers,
518
522
  queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
@@ -590,7 +594,7 @@ class StepsClient {
590
594
  const _authRequest = yield this._options.authProvider.getAuthRequest();
591
595
  const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
592
596
  const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
593
- 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, `steps/${core.url.encodePathParam(stepId)}/decision`),
597
+ 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, `steps/${core.url.encodePathParam(stepId, errors.TaktoriaError)}/decision`),
594
598
  method: "POST",
595
599
  headers: _headers,
596
600
  contentType: "application/json",
@@ -697,7 +701,7 @@ class StepsClient {
697
701
  const _authRequest = yield this._options.authProvider.getAuthRequest();
698
702
  const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
699
703
  const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
700
- 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, `steps/${core.url.encodePathParam(stepId)}/reason`),
704
+ 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, `steps/${core.url.encodePathParam(stepId, errors.TaktoriaError)}/reason`),
701
705
  method: "POST",
702
706
  headers: _headers,
703
707
  contentType: "application/json",
@@ -779,12 +783,14 @@ class StepsClient {
779
783
  });
780
784
  }
781
785
  /**
782
- * Nudge the assigned reviewer over email and Slack. Throttled to one
783
- * nudge per step per hour however many times it is called; `queued`
784
- * is true either way, and `lastNudgedAt` on the step says when the
785
- * last one went. A draft's reviewer hears nothing until it is
786
- * published. A step with no reviewer is `409 no_reviewer`, and a key
787
- * whose maker has left the workspace is `403 forbidden`: a nudge
786
+ * Nudge the assigned reviewer over email and Slack, as the step's bell
787
+ * does in the app. One nudge per step goes out an hour however many
788
+ * times it is called, and none on a draft, whose reviewers hear
789
+ * nothing until it is published: `sent` says whether this one went
790
+ * out and, when not, `reason` says why (`throttled`, with
791
+ * `retryInMinutes`, or `draft`). `lastNudgedAt` on the step says when
792
+ * the last one went. A step with no reviewer is `409 no_reviewer`, and
793
+ * a key whose maker has left the workspace is `403 forbidden`: a nudge
788
794
  * comes from a person.
789
795
  *
790
796
  * @param {string} stepId
@@ -798,7 +804,7 @@ class StepsClient {
798
804
  * @throws {@link errors.TaktoriaTimeoutError}
799
805
  *
800
806
  * @example
801
- * await client.steps.nudge("stepId")
807
+ * await client.steps.nudge("stp_1")
802
808
  */
803
809
  nudge(stepId, requestOptions) {
804
810
  return core.HttpResponsePromise.fromPromise(this.__nudge(stepId, requestOptions));
@@ -809,7 +815,7 @@ class StepsClient {
809
815
  const _authRequest = yield this._options.authProvider.getAuthRequest();
810
816
  const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
811
817
  const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
812
- 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, `steps/${core.url.encodePathParam(stepId)}/nudge`),
818
+ 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, `steps/${core.url.encodePathParam(stepId, errors.TaktoriaError)}/nudge`),
813
819
  method: "POST",
814
820
  headers: _headers,
815
821
  queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
@@ -899,7 +905,7 @@ class StepsClient {
899
905
  __reviewQueue() {
900
906
  return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
901
907
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
902
- const { team, mine, status, reviewerUserId, q, year, quarter, limit, cursor } = request;
908
+ const { team, mine, status, reviewerUserId, q, period, year, quarter, limit, cursor } = request;
903
909
  const _queryParams = {
904
910
  team,
905
911
  mine,
@@ -911,6 +917,7 @@ class StepsClient {
911
917
  : undefined,
912
918
  reviewerUserId,
913
919
  q,
920
+ period,
914
921
  year,
915
922
  quarter,
916
923
  limit,
@@ -12,7 +12,18 @@ export interface ListReviewsRequest {
12
12
  reviewerUserId?: string;
13
13
  /** Search steps by their own name and their launch's name. Every word must appear in one of those fields; case and accents are ignored; at most 100 characters and 8 words. See Searching under Errors and pagination. */
14
14
  q?: string;
15
- /** A fiscal year, as the workspace's fiscal year start names it. Narrows by due date; left out, every year. */
15
+ /**
16
+ * A fiscal period, as the app's period picker and its URL name them:
17
+ * a quarter (`2026-Q4`), a whole year (`2027`), `upcoming` for this
18
+ * quarter and every one after it, or `all`. Repeat it for several
19
+ * (`period=2026-Q4&period=2027-Q1`); `upcoming` or `all` among them
20
+ * wins over the rest. Narrows by due date in the workspace's fiscal
21
+ * years. With `upcoming` it keeps those with no date yet, as the
22
+ * app's lists do. Left out, with no `year`, every period. Wins over
23
+ * `year` and `quarter`; anything else is a `422 validation_error`.
24
+ */
25
+ period?: string | string[];
26
+ /** One fiscal year, as the workspace's fiscal year start names it. Narrows by due date; left out, every year. `period` takes several. */
16
27
  year?: number;
17
28
  /** A fiscal quarter, 1 to 4, of `year`. Needs `year`; left out, the whole year. */
18
29
  quarter?: number;
@@ -0,0 +1,10 @@
1
+ /** Why a nudge was not sent. */
2
+ export declare const NudgeReason: {
3
+ /**
4
+ * The reviewer was nudged on this step within the hour. */
5
+ readonly Throttled: "throttled";
6
+ /**
7
+ * The launch is a draft, so its reviewers hear nothing until it is published. */
8
+ readonly Draft: "draft";
9
+ };
10
+ export type NudgeReason = (typeof NudgeReason)[keyof typeof NudgeReason];
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.NudgeReason = void 0;
5
+ /** Why a nudge was not sent. */
6
+ exports.NudgeReason = {
7
+ /**
8
+ * The reviewer was nudged on this step within the hour. */
9
+ Throttled: "throttled",
10
+ /**
11
+ * The launch is a draft, so its reviewers hear nothing until it is published. */
12
+ Draft: "draft",
13
+ };
@@ -1,4 +1,14 @@
1
+ import type * as Taktoria from "../../../index.js";
1
2
  export interface NudgeResponse {
2
- queued: boolean;
3
3
  stepId: string;
4
+ /** Whether the reviewer is reminded now, by email and Slack. */
5
+ sent: boolean;
6
+ /** Why not, when `sent` is false; null when it is true. */
7
+ reason?: Taktoria.NudgeReason;
8
+ /** When `throttled`, how many minutes until the reviewer can be nudged again; null otherwise. */
9
+ retryInMinutes?: number;
10
+ /** The step's reviewer, who was reminded or would have been. */
11
+ reviewer: Taktoria.User;
12
+ /** Always true, from before the answer said more. Read `sent`. */
13
+ queued: boolean;
4
14
  }
@@ -2,6 +2,7 @@ export * from "./CreateStepRequest.js";
2
2
  export * from "./DecideStepRequest.js";
3
3
  export * from "./GeneratedSteps.js";
4
4
  export * from "./LaunchStep.js";
5
+ export * from "./NudgeReason.js";
5
6
  export * from "./NudgeResponse.js";
6
7
  export * from "./SetDecisionReasonRequest.js";
7
8
  export * from "./StepList.js";
@@ -18,6 +18,7 @@ __exportStar(require("./CreateStepRequest.js"), exports);
18
18
  __exportStar(require("./DecideStepRequest.js"), exports);
19
19
  __exportStar(require("./GeneratedSteps.js"), exports);
20
20
  __exportStar(require("./LaunchStep.js"), exports);
21
+ __exportStar(require("./NudgeReason.js"), exports);
21
22
  __exportStar(require("./NudgeResponse.js"), exports);
22
23
  __exportStar(require("./SetDecisionReasonRequest.js"), exports);
23
24
  __exportStar(require("./StepList.js"), exports);
@@ -8,7 +8,7 @@ export declare function newFormData(): Promise<FormDataWrapper>;
8
8
  export declare class FormDataWrapper {
9
9
  private fd;
10
10
  setup(): Promise<void>;
11
- append(key: string, value: unknown): void;
11
+ append(key: string, value: unknown, contentType?: string): void;
12
12
  appendFile(key: string, value: Uploadable): Promise<void>;
13
13
  getRequest(): FormDataRequest<FormData>;
14
14
  }
@@ -68,7 +68,11 @@ class FormDataWrapper {
68
68
  // noop
69
69
  });
70
70
  }
71
- append(key, value) {
71
+ append(key, value, contentType) {
72
+ if (contentType != null) {
73
+ this.fd.append(key, new Blob([String(value)], { type: contentType }), "");
74
+ return;
75
+ }
72
76
  this.fd.append(key, String(value));
73
77
  }
74
78
  appendFile(key, value) {
@@ -39,7 +39,9 @@ function validateAndTransformArray(value, transformItem) {
39
39
  result.push(item.value);
40
40
  }
41
41
  else {
42
- errors.push(...item.errors);
42
+ for (const error of item.errors) {
43
+ errors.push(error);
44
+ }
43
45
  }
44
46
  }
45
47
  if (errors.length === 0) {
@@ -188,7 +188,9 @@ function validateAndTransformObject({ value, requiredKeys, requiredKeysSet, getP
188
188
  }
189
189
  else {
190
190
  transformed[preTransformedKey] = preTransformedItemValue;
191
- errors.push(...value.errors);
191
+ for (const error of value.errors) {
192
+ errors.push(error);
193
+ }
192
194
  }
193
195
  }
194
196
  else {
@@ -117,10 +117,14 @@ function validateAndTransformRecord({ value, isKeyNumeric, transformKey, transfo
117
117
  }
118
118
  else {
119
119
  if (!transformedKey.ok) {
120
- errors.push(...transformedKey.errors);
120
+ for (const error of transformedKey.errors) {
121
+ errors.push(error);
122
+ }
121
123
  }
122
124
  if (!transformedValue.ok) {
123
- errors.push(...transformedValue.errors);
125
+ for (const error of transformedValue.errors) {
126
+ errors.push(error);
127
+ }
124
128
  }
125
129
  }
126
130
  }
@@ -1 +1,3 @@
1
- export declare function encodePathParam(param: unknown): string;
1
+ export declare function encodePathParam(param: unknown, InvalidPathParameterError?: new (args: {
2
+ message: string;
3
+ }) => Error): string;
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.encodePathParam = encodePathParam;
4
- function encodePathParam(param) {
4
+ function encodePathParam(param, InvalidPathParameterError) {
5
5
  if (param === null) {
6
6
  return "null";
7
7
  }
@@ -17,5 +17,11 @@ function encodePathParam(param) {
17
17
  param = String(param);
18
18
  break;
19
19
  }
20
- return encodeURIComponent(param);
20
+ const encoded = encodeURIComponent(param);
21
+ // "." and ".." are dot segments: URL resolution would remove them and send the request to a different path.
22
+ if (encoded === "." || encoded === "..") {
23
+ const message = `Invalid path parameter "${encoded}": "." and ".." are not allowed because they change the request path.`;
24
+ throw InvalidPathParameterError != null ? new InvalidPathParameterError({ message }) : new Error(message);
25
+ }
26
+ return encoded;
21
27
  }
@@ -19,8 +19,22 @@ class TaktoriaError extends Error {
19
19
  }
20
20
  }
21
21
  get requestId() {
22
- var _a, _b, _c;
23
- return (_c = (_b = (_a = this.rawResponse) === null || _a === void 0 ? void 0 : _a.headers) === null || _b === void 0 ? void 0 : _b.get("x-request-id")) !== null && _c !== void 0 ? _c : undefined;
22
+ var _a;
23
+ const headers = (_a = this.rawResponse) === null || _a === void 0 ? void 0 : _a.headers;
24
+ if (headers == null) {
25
+ return undefined;
26
+ }
27
+ const requestId = headers.get("X-Request-Id");
28
+ if (requestId != null) {
29
+ return requestId;
30
+ }
31
+ let fallback;
32
+ headers.forEach((value, name) => {
33
+ if (fallback === undefined && /request[-_]?id$/i.test(name)) {
34
+ fallback = value;
35
+ }
36
+ });
37
+ return fallback;
24
38
  }
25
39
  }
26
40
  exports.TaktoriaError = TaktoriaError;
@@ -0,0 +1,20 @@
1
+ import type * as Taktoria from "../../../../api/index.js";
2
+ import * as core from "../../../../core/index.js";
3
+ import type * as serializers from "../../../index.js";
4
+ export declare const EventCalendarInvite: core.serialization.ObjectSchema<serializers.EventCalendarInvite.Raw, Taktoria.EventCalendarInvite>;
5
+ export declare namespace EventCalendarInvite {
6
+ interface Raw {
7
+ eventId: string;
8
+ code: string;
9
+ joinUrl: string;
10
+ hasPasscode: boolean;
11
+ startsAt?: string | null;
12
+ endsAt?: string | null;
13
+ timeZone?: string | null;
14
+ inviteText: string;
15
+ googleCalendarUrl?: string | null;
16
+ outlookUrl?: string | null;
17
+ outlookComUrl?: string | null;
18
+ ics?: string | null;
19
+ }
20
+ }
@@ -0,0 +1,52 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4
+ if (k2 === undefined) k2 = k;
5
+ var desc = Object.getOwnPropertyDescriptor(m, k);
6
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
7
+ desc = { enumerable: true, get: function() { return m[k]; } };
8
+ }
9
+ Object.defineProperty(o, k2, desc);
10
+ }) : (function(o, m, k, k2) {
11
+ if (k2 === undefined) k2 = k;
12
+ o[k2] = m[k];
13
+ }));
14
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
15
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
16
+ }) : function(o, v) {
17
+ o["default"] = v;
18
+ });
19
+ var __importStar = (this && this.__importStar) || (function () {
20
+ var ownKeys = function(o) {
21
+ ownKeys = Object.getOwnPropertyNames || function (o) {
22
+ var ar = [];
23
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
24
+ return ar;
25
+ };
26
+ return ownKeys(o);
27
+ };
28
+ return function (mod) {
29
+ if (mod && mod.__esModule) return mod;
30
+ var result = {};
31
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
32
+ __setModuleDefault(result, mod);
33
+ return result;
34
+ };
35
+ })();
36
+ Object.defineProperty(exports, "__esModule", { value: true });
37
+ exports.EventCalendarInvite = void 0;
38
+ const core = __importStar(require("../../../../core/index.js"));
39
+ exports.EventCalendarInvite = core.serialization.object({
40
+ eventId: core.serialization.string(),
41
+ code: core.serialization.string(),
42
+ joinUrl: core.serialization.string(),
43
+ hasPasscode: core.serialization.boolean(),
44
+ startsAt: core.serialization.date().optional(),
45
+ endsAt: core.serialization.date().optional(),
46
+ timeZone: core.serialization.string().optional(),
47
+ inviteText: core.serialization.string(),
48
+ googleCalendarUrl: core.serialization.string().optional(),
49
+ outlookUrl: core.serialization.string().optional(),
50
+ outlookComUrl: core.serialization.string().optional(),
51
+ ics: core.serialization.string().optional(),
52
+ });
@@ -13,6 +13,7 @@ export * from "./CreateQuestionRequest.js";
13
13
  export * from "./Event.js";
14
14
  export * from "./EventAnalytics.js";
15
15
  export * from "./EventAudience.js";
16
+ export * from "./EventCalendarInvite.js";
16
17
  export * from "./EventHosts.js";
17
18
  export * from "./EventJoinLink.js";
18
19
  export * from "./EventPage.js";
@@ -29,6 +29,7 @@ __exportStar(require("./CreateQuestionRequest.js"), exports);
29
29
  __exportStar(require("./Event.js"), exports);
30
30
  __exportStar(require("./EventAnalytics.js"), exports);
31
31
  __exportStar(require("./EventAudience.js"), exports);
32
+ __exportStar(require("./EventCalendarInvite.js"), exports);
32
33
  __exportStar(require("./EventHosts.js"), exports);
33
34
  __exportStar(require("./EventJoinLink.js"), exports);
34
35
  __exportStar(require("./EventPage.js"), exports);
@@ -45,5 +45,7 @@ export * as process from "./process/index.js";
45
45
  export * from "./process/types/index.js";
46
46
  export * as search from "./search/index.js";
47
47
  export * from "./search/types/index.js";
48
+ export * as slackConnections from "./slackConnections/index.js";
49
+ export * from "./slackConnections/types/index.js";
48
50
  export * as steps from "./steps/index.js";
49
51
  export * from "./steps/types/index.js";
@@ -36,7 +36,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
36
36
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
37
37
  };
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.steps = exports.search = exports.process = exports.posts = exports.platform = exports.partnerDomains = exports.organization = exports.okr = exports.memegen = exports.mcpConnections = exports.links = exports.launchOverview = exports.launches = exports.launchAnalytics = exports.insights = exports.holidays = exports.golinks = exports.dory = exports.domains = exports.commons = exports.billing = exports.auditLogs = exports.artifacts = exports.appDomains = void 0;
39
+ exports.steps = exports.slackConnections = exports.search = exports.process = exports.posts = exports.platform = exports.partnerDomains = exports.organization = exports.okr = exports.memegen = exports.mcpConnections = exports.links = exports.launchOverview = exports.launches = exports.launchAnalytics = exports.insights = exports.holidays = exports.golinks = exports.dory = exports.domains = exports.commons = exports.billing = exports.auditLogs = exports.artifacts = exports.appDomains = void 0;
40
40
  exports.appDomains = __importStar(require("./appDomains/index.js"));
41
41
  __exportStar(require("./appDomains/types/index.js"), exports);
42
42
  exports.artifacts = __importStar(require("./artifacts/index.js"));
@@ -84,5 +84,7 @@ exports.process = __importStar(require("./process/index.js"));
84
84
  __exportStar(require("./process/types/index.js"), exports);
85
85
  exports.search = __importStar(require("./search/index.js"));
86
86
  __exportStar(require("./search/types/index.js"), exports);
87
+ exports.slackConnections = __importStar(require("./slackConnections/index.js"));
88
+ __exportStar(require("./slackConnections/types/index.js"), exports);
87
89
  exports.steps = __importStar(require("./steps/index.js"));
88
90
  __exportStar(require("./steps/types/index.js"), exports);
@@ -3,5 +3,5 @@ import * as core from "../../../../core/index.js";
3
3
  import type * as serializers from "../../../index.js";
4
4
  export declare const LaunchActivityVerb: core.serialization.Schema<serializers.LaunchActivityVerb.Raw, Taktoria.LaunchActivityVerb>;
5
5
  export declare namespace LaunchActivityVerb {
6
- type Raw = "created" | "updated" | "published" | "unpublished" | "launched" | "decided" | "reasoned" | "commented" | "posted" | "linked" | "unlinked" | "synced";
6
+ type Raw = "created" | "updated" | "published" | "unpublished" | "launched" | "decided" | "reasoned" | "commented" | "posted" | "linked" | "unlinked" | "synced" | "exported";
7
7
  }
@@ -49,4 +49,5 @@ exports.LaunchActivityVerb = core.serialization.enum_([
49
49
  "linked",
50
50
  "unlinked",
51
51
  "synced",
52
+ "exported",
52
53
  ]);
@@ -1,6 +1,7 @@
1
1
  import type * as Taktoria from "../../../../api/index.js";
2
2
  import * as core from "../../../../core/index.js";
3
3
  import type * as serializers from "../../../index.js";
4
+ import { KeyResultMetric } from "./KeyResultMetric.js";
4
5
  import { OkrPriority } from "./OkrPriority.js";
5
6
  export declare const KeyResult: core.serialization.ObjectSchema<serializers.KeyResult.Raw, Taktoria.KeyResult>;
6
7
  export declare namespace KeyResult {
@@ -15,6 +16,8 @@ export declare namespace KeyResult {
15
16
  sortOrder: number;
16
17
  ownerUserIds: string[];
17
18
  ownerTeamIds: string[];
19
+ lastCheckInAt?: string | null;
20
+ metric?: KeyResultMetric.Raw | null;
18
21
  createdAt: string;
19
22
  updatedAt: string;
20
23
  }
@@ -36,6 +36,7 @@ var __importStar = (this && this.__importStar) || (function () {
36
36
  Object.defineProperty(exports, "__esModule", { value: true });
37
37
  exports.KeyResult = void 0;
38
38
  const core = __importStar(require("../../../../core/index.js"));
39
+ const KeyResultMetric_js_1 = require("./KeyResultMetric.js");
39
40
  const OkrPriority_js_1 = require("./OkrPriority.js");
40
41
  exports.KeyResult = core.serialization.object({
41
42
  id: core.serialization.string(),
@@ -48,6 +49,8 @@ exports.KeyResult = core.serialization.object({
48
49
  sortOrder: core.serialization.number(),
49
50
  ownerUserIds: core.serialization.list(core.serialization.string()),
50
51
  ownerTeamIds: core.serialization.list(core.serialization.string()),
52
+ lastCheckInAt: core.serialization.date().optional(),
53
+ metric: KeyResultMetric_js_1.KeyResultMetric.optional(),
51
54
  createdAt: core.serialization.date(),
52
55
  updatedAt: core.serialization.date(),
53
56
  });