@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.
- package/dist/cjs/BaseClient.js +2 -2
- package/dist/cjs/Client.d.ts +3 -0
- package/dist/cjs/Client.js +7 -2
- package/dist/cjs/api/resources/artifacts/client/Client.d.ts +14 -6
- package/dist/cjs/api/resources/artifacts/client/Client.js +16 -7
- package/dist/cjs/api/resources/artifacts/client/requests/ListAllArtifactsRequest.d.ts +13 -1
- package/dist/cjs/api/resources/dory/client/Client.d.ts +28 -5
- package/dist/cjs/api/resources/dory/client/Client.js +86 -5
- package/dist/cjs/api/resources/dory/types/CreateEventRequest.d.ts +9 -4
- package/dist/cjs/api/resources/dory/types/EventCalendarInvite.d.ts +41 -0
- package/dist/cjs/api/resources/dory/types/EventCalendarInvite.js +3 -0
- package/dist/cjs/api/resources/dory/types/UpdateEventRequest.d.ts +9 -4
- package/dist/cjs/api/resources/dory/types/index.d.ts +1 -0
- package/dist/cjs/api/resources/dory/types/index.js +1 -0
- package/dist/cjs/api/resources/index.d.ts +3 -0
- package/dist/cjs/api/resources/index.js +4 -1
- package/dist/cjs/api/resources/insights/client/Client.js +2 -1
- package/dist/cjs/api/resources/insights/client/requests/ListInsightsRequest.d.ts +12 -1
- package/dist/cjs/api/resources/launches/client/Client.d.ts +29 -13
- package/dist/cjs/api/resources/launches/client/Client.js +48 -14
- package/dist/cjs/api/resources/launches/client/requests/ListLaunchesRequest.d.ts +25 -1
- package/dist/cjs/api/resources/launches/types/LaunchActivityVerb.d.ts +3 -0
- package/dist/cjs/api/resources/launches/types/LaunchActivityVerb.js +3 -0
- package/dist/cjs/api/resources/launches/types/LinkTicketingProjectRequest.d.ts +2 -2
- package/dist/cjs/api/resources/launches/types/SyncTicketingProjectResponse.d.ts +1 -1
- package/dist/cjs/api/resources/launches/types/TicketingProject.d.ts +13 -7
- package/dist/cjs/api/resources/okr/client/Client.d.ts +8 -0
- package/dist/cjs/api/resources/okr/client/Client.js +8 -0
- package/dist/cjs/api/resources/okr/types/KeyResult.d.ts +13 -0
- package/dist/cjs/api/resources/okr/types/KeyResultMetric.d.ts +12 -0
- package/dist/cjs/api/resources/okr/types/KeyResultMetric.js +3 -0
- package/dist/cjs/api/resources/okr/types/MetricSourceKind.d.ts +10 -0
- package/dist/cjs/api/resources/okr/types/MetricSourceKind.js +13 -0
- package/dist/cjs/api/resources/okr/types/index.d.ts +2 -0
- package/dist/cjs/api/resources/okr/types/index.js +2 -0
- package/dist/cjs/api/resources/organization/client/Client.d.ts +5 -2
- package/dist/cjs/api/resources/organization/client/Client.js +5 -2
- package/dist/cjs/api/resources/organization/types/Organization.d.ts +21 -0
- package/dist/cjs/api/resources/organization/types/UpdateOrganizationRequest.d.ts +15 -0
- package/dist/cjs/api/resources/platform/client/Client.d.ts +2 -2
- package/dist/cjs/api/resources/platform/client/Client.js +2 -2
- package/dist/cjs/api/resources/platform/types/NotificationChannels.d.ts +7 -2
- package/dist/cjs/api/resources/platform/types/UpdateNotificationChannels.d.ts +1 -0
- package/dist/cjs/api/resources/platform/types/UpdateNotificationPreferencesRequest.d.ts +1 -1
- package/dist/cjs/api/resources/platform/types/WaitingForSeat.d.ts +2 -2
- package/dist/cjs/api/resources/posts/client/Client.d.ts +5 -2
- package/dist/cjs/api/resources/posts/client/Client.js +13 -2
- package/dist/cjs/api/resources/posts/types/LaunchPost.d.ts +4 -3
- package/dist/cjs/api/resources/slackConnections/client/Client.d.ts +56 -0
- package/dist/cjs/api/resources/slackConnections/client/Client.js +243 -0
- package/dist/cjs/api/resources/slackConnections/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/slackConnections/client/index.js +17 -0
- package/dist/cjs/api/resources/slackConnections/client/requests/ListSlackConnectionsRequest.d.ts +9 -0
- package/dist/cjs/api/resources/slackConnections/client/requests/ListSlackConnectionsRequest.js +3 -0
- package/dist/cjs/api/resources/slackConnections/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/slackConnections/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/slackConnections/exports.d.ts +2 -0
- package/dist/cjs/api/resources/slackConnections/exports.js +21 -0
- package/dist/cjs/api/resources/slackConnections/index.d.ts +2 -0
- package/dist/cjs/api/resources/slackConnections/index.js +18 -0
- package/dist/cjs/api/resources/slackConnections/types/SlackConnection.d.ts +16 -0
- package/dist/cjs/api/resources/slackConnections/types/SlackConnection.js +3 -0
- package/dist/cjs/api/resources/slackConnections/types/SlackConnectionAccount.d.ts +15 -0
- package/dist/cjs/api/resources/slackConnections/types/SlackConnectionAccount.js +3 -0
- package/dist/cjs/api/resources/slackConnections/types/SlackConnectionPage.d.ts +7 -0
- package/dist/cjs/api/resources/slackConnections/types/SlackConnectionPage.js +3 -0
- package/dist/cjs/api/resources/slackConnections/types/SlackConnectionPerson.d.ts +7 -0
- package/dist/cjs/api/resources/slackConnections/types/SlackConnectionPerson.js +3 -0
- package/dist/cjs/api/resources/slackConnections/types/index.d.ts +4 -0
- package/dist/cjs/api/resources/slackConnections/types/index.js +20 -0
- package/dist/cjs/api/resources/steps/client/Client.d.ts +15 -9
- package/dist/cjs/api/resources/steps/client/Client.js +17 -10
- package/dist/cjs/api/resources/steps/client/requests/ListReviewsRequest.d.ts +12 -1
- package/dist/cjs/api/resources/steps/types/NudgeReason.d.ts +10 -0
- package/dist/cjs/api/resources/steps/types/NudgeReason.js +13 -0
- package/dist/cjs/api/resources/steps/types/NudgeResponse.d.ts +11 -1
- package/dist/cjs/api/resources/steps/types/index.d.ts +1 -0
- package/dist/cjs/api/resources/steps/types/index.js +1 -0
- package/dist/cjs/serialization/resources/dory/types/EventCalendarInvite.d.ts +20 -0
- package/dist/cjs/serialization/resources/dory/types/EventCalendarInvite.js +52 -0
- package/dist/cjs/serialization/resources/dory/types/index.d.ts +1 -0
- package/dist/cjs/serialization/resources/dory/types/index.js +1 -0
- package/dist/cjs/serialization/resources/index.d.ts +2 -0
- package/dist/cjs/serialization/resources/index.js +3 -1
- package/dist/cjs/serialization/resources/launches/types/LaunchActivityVerb.d.ts +1 -1
- package/dist/cjs/serialization/resources/launches/types/LaunchActivityVerb.js +1 -0
- package/dist/cjs/serialization/resources/okr/types/KeyResult.d.ts +3 -0
- package/dist/cjs/serialization/resources/okr/types/KeyResult.js +3 -0
- package/dist/cjs/serialization/resources/okr/types/KeyResultMetric.d.ts +12 -0
- package/dist/cjs/serialization/resources/okr/types/KeyResultMetric.js +44 -0
- package/dist/cjs/serialization/resources/okr/types/MetricSourceKind.d.ts +7 -0
- package/dist/cjs/serialization/resources/okr/types/MetricSourceKind.js +39 -0
- package/dist/cjs/serialization/resources/okr/types/index.d.ts +2 -0
- package/dist/cjs/serialization/resources/okr/types/index.js +2 -0
- package/dist/cjs/serialization/resources/organization/types/Organization.d.ts +2 -0
- package/dist/cjs/serialization/resources/organization/types/Organization.js +2 -0
- package/dist/cjs/serialization/resources/organization/types/UpdateOrganizationRequest.d.ts +2 -0
- package/dist/cjs/serialization/resources/organization/types/UpdateOrganizationRequest.js +2 -0
- package/dist/cjs/serialization/resources/platform/types/NotificationChannels.d.ts +1 -0
- package/dist/cjs/serialization/resources/platform/types/NotificationChannels.js +1 -0
- package/dist/cjs/serialization/resources/platform/types/UpdateNotificationChannels.d.ts +1 -0
- package/dist/cjs/serialization/resources/platform/types/UpdateNotificationChannels.js +1 -0
- package/dist/cjs/serialization/resources/slackConnections/index.d.ts +1 -0
- package/dist/cjs/serialization/resources/slackConnections/index.js +17 -0
- package/dist/cjs/serialization/resources/slackConnections/types/SlackConnection.d.ts +14 -0
- package/dist/cjs/serialization/resources/slackConnections/types/SlackConnection.js +46 -0
- package/dist/cjs/serialization/resources/slackConnections/types/SlackConnectionAccount.d.ts +11 -0
- package/dist/cjs/serialization/resources/slackConnections/types/SlackConnectionAccount.js +43 -0
- package/dist/cjs/serialization/resources/slackConnections/types/SlackConnectionPage.d.ts +12 -0
- package/dist/cjs/serialization/resources/slackConnections/types/SlackConnectionPage.js +44 -0
- package/dist/cjs/serialization/resources/slackConnections/types/SlackConnectionPerson.d.ts +10 -0
- package/dist/cjs/serialization/resources/slackConnections/types/SlackConnectionPerson.js +42 -0
- package/dist/cjs/serialization/resources/slackConnections/types/index.d.ts +4 -0
- package/dist/cjs/serialization/resources/slackConnections/types/index.js +20 -0
- package/dist/cjs/serialization/resources/steps/types/NudgeReason.d.ts +7 -0
- package/dist/cjs/serialization/resources/steps/types/NudgeReason.js +39 -0
- package/dist/cjs/serialization/resources/steps/types/NudgeResponse.d.ts +7 -1
- package/dist/cjs/serialization/resources/steps/types/NudgeResponse.js +7 -1
- package/dist/cjs/serialization/resources/steps/types/index.d.ts +1 -0
- package/dist/cjs/serialization/resources/steps/types/index.js +1 -0
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/BaseClient.mjs +2 -2
- package/dist/esm/Client.d.mts +3 -0
- package/dist/esm/Client.mjs +5 -0
- package/dist/esm/api/resources/artifacts/client/Client.d.mts +14 -6
- package/dist/esm/api/resources/artifacts/client/Client.mjs +16 -7
- package/dist/esm/api/resources/artifacts/client/requests/ListAllArtifactsRequest.d.mts +13 -1
- package/dist/esm/api/resources/dory/client/Client.d.mts +28 -5
- package/dist/esm/api/resources/dory/client/Client.mjs +86 -5
- package/dist/esm/api/resources/dory/types/CreateEventRequest.d.mts +9 -4
- package/dist/esm/api/resources/dory/types/EventCalendarInvite.d.mts +41 -0
- package/dist/esm/api/resources/dory/types/EventCalendarInvite.mjs +2 -0
- package/dist/esm/api/resources/dory/types/UpdateEventRequest.d.mts +9 -4
- package/dist/esm/api/resources/dory/types/index.d.mts +1 -0
- package/dist/esm/api/resources/dory/types/index.mjs +1 -0
- package/dist/esm/api/resources/index.d.mts +3 -0
- package/dist/esm/api/resources/index.mjs +3 -0
- package/dist/esm/api/resources/insights/client/Client.mjs +2 -1
- package/dist/esm/api/resources/insights/client/requests/ListInsightsRequest.d.mts +12 -1
- package/dist/esm/api/resources/launches/client/Client.d.mts +29 -13
- package/dist/esm/api/resources/launches/client/Client.mjs +48 -14
- package/dist/esm/api/resources/launches/client/requests/ListLaunchesRequest.d.mts +25 -1
- package/dist/esm/api/resources/launches/types/LaunchActivityVerb.d.mts +3 -0
- package/dist/esm/api/resources/launches/types/LaunchActivityVerb.mjs +3 -0
- package/dist/esm/api/resources/launches/types/LinkTicketingProjectRequest.d.mts +2 -2
- package/dist/esm/api/resources/launches/types/SyncTicketingProjectResponse.d.mts +1 -1
- package/dist/esm/api/resources/launches/types/TicketingProject.d.mts +13 -7
- package/dist/esm/api/resources/okr/client/Client.d.mts +8 -0
- package/dist/esm/api/resources/okr/client/Client.mjs +8 -0
- package/dist/esm/api/resources/okr/types/KeyResult.d.mts +13 -0
- package/dist/esm/api/resources/okr/types/KeyResultMetric.d.mts +12 -0
- package/dist/esm/api/resources/okr/types/KeyResultMetric.mjs +2 -0
- package/dist/esm/api/resources/okr/types/MetricSourceKind.d.mts +10 -0
- package/dist/esm/api/resources/okr/types/MetricSourceKind.mjs +10 -0
- package/dist/esm/api/resources/okr/types/index.d.mts +2 -0
- package/dist/esm/api/resources/okr/types/index.mjs +2 -0
- package/dist/esm/api/resources/organization/client/Client.d.mts +5 -2
- package/dist/esm/api/resources/organization/client/Client.mjs +5 -2
- package/dist/esm/api/resources/organization/types/Organization.d.mts +21 -0
- package/dist/esm/api/resources/organization/types/UpdateOrganizationRequest.d.mts +15 -0
- package/dist/esm/api/resources/platform/client/Client.d.mts +2 -2
- package/dist/esm/api/resources/platform/client/Client.mjs +2 -2
- package/dist/esm/api/resources/platform/types/NotificationChannels.d.mts +7 -2
- package/dist/esm/api/resources/platform/types/UpdateNotificationChannels.d.mts +1 -0
- package/dist/esm/api/resources/platform/types/UpdateNotificationPreferencesRequest.d.mts +1 -1
- package/dist/esm/api/resources/platform/types/WaitingForSeat.d.mts +2 -2
- package/dist/esm/api/resources/posts/client/Client.d.mts +5 -2
- package/dist/esm/api/resources/posts/client/Client.mjs +13 -2
- package/dist/esm/api/resources/posts/types/LaunchPost.d.mts +4 -3
- package/dist/esm/api/resources/slackConnections/client/Client.d.mts +56 -0
- package/dist/esm/api/resources/slackConnections/client/Client.mjs +206 -0
- package/dist/esm/api/resources/slackConnections/client/index.d.mts +1 -0
- package/dist/esm/api/resources/slackConnections/client/index.mjs +1 -0
- package/dist/esm/api/resources/slackConnections/client/requests/ListSlackConnectionsRequest.d.mts +9 -0
- package/dist/esm/api/resources/slackConnections/client/requests/ListSlackConnectionsRequest.mjs +2 -0
- package/dist/esm/api/resources/slackConnections/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/slackConnections/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/slackConnections/exports.d.mts +2 -0
- package/dist/esm/api/resources/slackConnections/exports.mjs +3 -0
- package/dist/esm/api/resources/slackConnections/index.d.mts +2 -0
- package/dist/esm/api/resources/slackConnections/index.mjs +2 -0
- package/dist/esm/api/resources/slackConnections/types/SlackConnection.d.mts +16 -0
- package/dist/esm/api/resources/slackConnections/types/SlackConnection.mjs +2 -0
- package/dist/esm/api/resources/slackConnections/types/SlackConnectionAccount.d.mts +15 -0
- package/dist/esm/api/resources/slackConnections/types/SlackConnectionAccount.mjs +2 -0
- package/dist/esm/api/resources/slackConnections/types/SlackConnectionPage.d.mts +7 -0
- package/dist/esm/api/resources/slackConnections/types/SlackConnectionPage.mjs +2 -0
- package/dist/esm/api/resources/slackConnections/types/SlackConnectionPerson.d.mts +7 -0
- package/dist/esm/api/resources/slackConnections/types/SlackConnectionPerson.mjs +2 -0
- package/dist/esm/api/resources/slackConnections/types/index.d.mts +4 -0
- package/dist/esm/api/resources/slackConnections/types/index.mjs +4 -0
- package/dist/esm/api/resources/steps/client/Client.d.mts +15 -9
- package/dist/esm/api/resources/steps/client/Client.mjs +17 -10
- package/dist/esm/api/resources/steps/client/requests/ListReviewsRequest.d.mts +12 -1
- package/dist/esm/api/resources/steps/types/NudgeReason.d.mts +10 -0
- package/dist/esm/api/resources/steps/types/NudgeReason.mjs +10 -0
- package/dist/esm/api/resources/steps/types/NudgeResponse.d.mts +11 -1
- package/dist/esm/api/resources/steps/types/index.d.mts +1 -0
- package/dist/esm/api/resources/steps/types/index.mjs +1 -0
- package/dist/esm/serialization/resources/dory/types/EventCalendarInvite.d.mts +20 -0
- package/dist/esm/serialization/resources/dory/types/EventCalendarInvite.mjs +16 -0
- package/dist/esm/serialization/resources/dory/types/index.d.mts +1 -0
- package/dist/esm/serialization/resources/dory/types/index.mjs +1 -0
- package/dist/esm/serialization/resources/index.d.mts +2 -0
- package/dist/esm/serialization/resources/index.mjs +2 -0
- package/dist/esm/serialization/resources/launches/types/LaunchActivityVerb.d.mts +1 -1
- package/dist/esm/serialization/resources/launches/types/LaunchActivityVerb.mjs +1 -0
- package/dist/esm/serialization/resources/okr/types/KeyResult.d.mts +3 -0
- package/dist/esm/serialization/resources/okr/types/KeyResult.mjs +3 -0
- package/dist/esm/serialization/resources/okr/types/KeyResultMetric.d.mts +12 -0
- package/dist/esm/serialization/resources/okr/types/KeyResultMetric.mjs +8 -0
- package/dist/esm/serialization/resources/okr/types/MetricSourceKind.d.mts +7 -0
- package/dist/esm/serialization/resources/okr/types/MetricSourceKind.mjs +3 -0
- package/dist/esm/serialization/resources/okr/types/index.d.mts +2 -0
- package/dist/esm/serialization/resources/okr/types/index.mjs +2 -0
- package/dist/esm/serialization/resources/organization/types/Organization.d.mts +2 -0
- package/dist/esm/serialization/resources/organization/types/Organization.mjs +2 -0
- package/dist/esm/serialization/resources/organization/types/UpdateOrganizationRequest.d.mts +2 -0
- package/dist/esm/serialization/resources/organization/types/UpdateOrganizationRequest.mjs +2 -0
- package/dist/esm/serialization/resources/platform/types/NotificationChannels.d.mts +1 -0
- package/dist/esm/serialization/resources/platform/types/NotificationChannels.mjs +1 -0
- package/dist/esm/serialization/resources/platform/types/UpdateNotificationChannels.d.mts +1 -0
- package/dist/esm/serialization/resources/platform/types/UpdateNotificationChannels.mjs +1 -0
- package/dist/esm/serialization/resources/slackConnections/index.d.mts +1 -0
- package/dist/esm/serialization/resources/slackConnections/index.mjs +1 -0
- package/dist/esm/serialization/resources/slackConnections/types/SlackConnection.d.mts +14 -0
- package/dist/esm/serialization/resources/slackConnections/types/SlackConnection.mjs +10 -0
- package/dist/esm/serialization/resources/slackConnections/types/SlackConnectionAccount.d.mts +11 -0
- package/dist/esm/serialization/resources/slackConnections/types/SlackConnectionAccount.mjs +7 -0
- package/dist/esm/serialization/resources/slackConnections/types/SlackConnectionPage.d.mts +12 -0
- package/dist/esm/serialization/resources/slackConnections/types/SlackConnectionPage.mjs +8 -0
- package/dist/esm/serialization/resources/slackConnections/types/SlackConnectionPerson.d.mts +10 -0
- package/dist/esm/serialization/resources/slackConnections/types/SlackConnectionPerson.mjs +6 -0
- package/dist/esm/serialization/resources/slackConnections/types/index.d.mts +4 -0
- package/dist/esm/serialization/resources/slackConnections/types/index.mjs +4 -0
- package/dist/esm/serialization/resources/steps/types/NudgeReason.d.mts +7 -0
- package/dist/esm/serialization/resources/steps/types/NudgeReason.mjs +3 -0
- package/dist/esm/serialization/resources/steps/types/NudgeResponse.d.mts +7 -1
- package/dist/esm/serialization/resources/steps/types/NudgeResponse.mjs +7 -1
- package/dist/esm/serialization/resources/steps/types/index.d.mts +1 -0
- package/dist/esm/serialization/resources/steps/types/index.mjs +1 -0
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +13 -1
- package/reference.md +285 -39
package/dist/cjs/BaseClient.js
CHANGED
|
@@ -43,8 +43,8 @@ function normalizeClientOptions(options) {
|
|
|
43
43
|
const headers = (0, headers_js_1.mergeHeaders)({
|
|
44
44
|
"X-Fern-Language": "JavaScript",
|
|
45
45
|
"X-Fern-SDK-Name": "@taktoria/sdk",
|
|
46
|
-
"X-Fern-SDK-Version": "0.1.
|
|
47
|
-
"User-Agent": "@taktoria/sdk/0.1.
|
|
46
|
+
"X-Fern-SDK-Version": "0.1.2",
|
|
47
|
+
"User-Agent": "@taktoria/sdk/0.1.2",
|
|
48
48
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
49
49
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
50
50
|
}, options === null || options === void 0 ? void 0 : options.headers);
|
package/dist/cjs/Client.d.ts
CHANGED
|
@@ -20,6 +20,7 @@ import { PlatformClient } from "./api/resources/platform/client/Client.js";
|
|
|
20
20
|
import { PostsClient } from "./api/resources/posts/client/Client.js";
|
|
21
21
|
import { ProcessClient } from "./api/resources/process/client/Client.js";
|
|
22
22
|
import { SearchClient } from "./api/resources/search/client/Client.js";
|
|
23
|
+
import { SlackConnectionsClient } from "./api/resources/slackConnections/client/Client.js";
|
|
23
24
|
import { StepsClient } from "./api/resources/steps/client/Client.js";
|
|
24
25
|
import type { BaseClientOptions, BaseRequestOptions } from "./BaseClient.js";
|
|
25
26
|
import { type NormalizedClientOptionsWithAuth } from "./BaseClient.js";
|
|
@@ -53,6 +54,7 @@ export declare class TaktoriaClient {
|
|
|
53
54
|
protected _posts: PostsClient | undefined;
|
|
54
55
|
protected _process: ProcessClient | undefined;
|
|
55
56
|
protected _search: SearchClient | undefined;
|
|
57
|
+
protected _slackConnections: SlackConnectionsClient | undefined;
|
|
56
58
|
protected _steps: StepsClient | undefined;
|
|
57
59
|
constructor(options: TaktoriaClient.Options);
|
|
58
60
|
get appDomains(): AppDomainsClient;
|
|
@@ -77,6 +79,7 @@ export declare class TaktoriaClient {
|
|
|
77
79
|
get posts(): PostsClient;
|
|
78
80
|
get process(): ProcessClient;
|
|
79
81
|
get search(): SearchClient;
|
|
82
|
+
get slackConnections(): SlackConnectionsClient;
|
|
80
83
|
get steps(): StepsClient;
|
|
81
84
|
/**
|
|
82
85
|
* Make a passthrough request using the SDK's configured auth, retry, logging, etc.
|
package/dist/cjs/Client.js
CHANGED
|
@@ -66,7 +66,8 @@ const Client_js_19 = require("./api/resources/platform/client/Client.js");
|
|
|
66
66
|
const Client_js_20 = require("./api/resources/posts/client/Client.js");
|
|
67
67
|
const Client_js_21 = require("./api/resources/process/client/Client.js");
|
|
68
68
|
const Client_js_22 = require("./api/resources/search/client/Client.js");
|
|
69
|
-
const Client_js_23 = require("./api/resources/
|
|
69
|
+
const Client_js_23 = require("./api/resources/slackConnections/client/Client.js");
|
|
70
|
+
const Client_js_24 = require("./api/resources/steps/client/Client.js");
|
|
70
71
|
const BaseClient_js_1 = require("./BaseClient.js");
|
|
71
72
|
const core = __importStar(require("./core/index.js"));
|
|
72
73
|
class TaktoriaClient {
|
|
@@ -161,9 +162,13 @@ class TaktoriaClient {
|
|
|
161
162
|
var _a;
|
|
162
163
|
return ((_a = this._search) !== null && _a !== void 0 ? _a : (this._search = new Client_js_22.SearchClient(this._options)));
|
|
163
164
|
}
|
|
165
|
+
get slackConnections() {
|
|
166
|
+
var _a;
|
|
167
|
+
return ((_a = this._slackConnections) !== null && _a !== void 0 ? _a : (this._slackConnections = new Client_js_23.SlackConnectionsClient(this._options)));
|
|
168
|
+
}
|
|
164
169
|
get steps() {
|
|
165
170
|
var _a;
|
|
166
|
-
return ((_a = this._steps) !== null && _a !== void 0 ? _a : (this._steps = new
|
|
171
|
+
return ((_a = this._steps) !== null && _a !== void 0 ? _a : (this._steps = new Client_js_24.StepsClient(this._options)));
|
|
167
172
|
}
|
|
168
173
|
/**
|
|
169
174
|
* Make a passthrough request using the SDK's configured auth, retry, logging, etc.
|
|
@@ -14,7 +14,7 @@ export declare class ArtifactsClient {
|
|
|
14
14
|
* Every launch's artifacts, as the Artifacts page shows them across
|
|
15
15
|
* launches: by their launch's planned launch date (drafts without one
|
|
16
16
|
* first), then by type, each with its launch. Gather a quarter's
|
|
17
|
-
* learnings, say, with `type=LEARNINGS&
|
|
17
|
+
* learnings, say, with `type=LEARNINGS&period=2026-Q3`. A launch
|
|
18
18
|
* has its artifacts once its steps are added or they are created
|
|
19
19
|
* (`POST /launches/{launchId}/artifacts`); one with none is not listed.
|
|
20
20
|
* Needs `artifacts:read`.
|
|
@@ -117,9 +117,13 @@ export declare class ArtifactsClient {
|
|
|
117
117
|
* `outcome` is `replaced`. The link is kept on the artifact
|
|
118
118
|
* (`exports`). Writing it changes the launch, so a Viewer of LaunchCal
|
|
119
119
|
* is refused. Counts against `docs-export`. Needs `artifacts:write`.
|
|
120
|
-
*
|
|
121
|
-
* tool
|
|
122
|
-
*
|
|
120
|
+
* An artifact with nothing written in it is `409 artifact_empty`, a
|
|
121
|
+
* tool this deployment does not export to `409 docs_tool_unavailable`,
|
|
122
|
+
* a tool the person has not connected `409 docs_not_connected`, a
|
|
123
|
+
* connection the tool turned down `409 docs_reconnect`, a
|
|
124
|
+
* `destinationId` that cannot take a page or that their account
|
|
125
|
+
* cannot reach `409 docs_destination_invalid`, and a tool that did
|
|
126
|
+
* not answer `502 upstream_error`.
|
|
123
127
|
*
|
|
124
128
|
* @param {string} launchId
|
|
125
129
|
* @param {Taktoria.ArtifactType} type
|
|
@@ -164,8 +168,12 @@ export declare class ArtifactsClient {
|
|
|
164
168
|
* Where the signed-in person may export to in a tool, read from it with
|
|
165
169
|
* their own account: the Notion pages they shared with Taktoria when
|
|
166
170
|
* connecting (and the pages in them), or the Confluence spaces they can
|
|
167
|
-
* see. Empty for Google Docs. Counts against `docs-browse`.
|
|
168
|
-
* `
|
|
171
|
+
* see. Empty for Google Docs. Counts against `docs-browse`. A
|
|
172
|
+
* workspace key is refused (`person_required`); a tool this deployment
|
|
173
|
+
* does not export to is `409 docs_tool_unavailable`, one the person
|
|
174
|
+
* has not connected `409 docs_not_connected`, a connection the tool
|
|
175
|
+
* turned down `409 docs_reconnect`, and a tool that did not answer
|
|
176
|
+
* `502 upstream_error`. Needs `artifacts:read`.
|
|
169
177
|
*
|
|
170
178
|
* @param {Taktoria.DocsTool} tool
|
|
171
179
|
* @param {Taktoria.ListDocsDestinationsRequest} request
|
|
@@ -61,7 +61,7 @@ class ArtifactsClient {
|
|
|
61
61
|
* Every launch's artifacts, as the Artifacts page shows them across
|
|
62
62
|
* launches: by their launch's planned launch date (drafts without one
|
|
63
63
|
* first), then by type, each with its launch. Gather a quarter's
|
|
64
|
-
* learnings, say, with `type=LEARNINGS&
|
|
64
|
+
* learnings, say, with `type=LEARNINGS&period=2026-Q3`. A launch
|
|
65
65
|
* has its artifacts once its steps are added or they are created
|
|
66
66
|
* (`POST /launches/{launchId}/artifacts`); one with none is not listed.
|
|
67
67
|
* Needs `artifacts:read`.
|
|
@@ -89,7 +89,7 @@ class ArtifactsClient {
|
|
|
89
89
|
__listAll() {
|
|
90
90
|
return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
|
|
91
91
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
92
|
-
const { type: type_, year, quarter, limit, cursor } = request;
|
|
92
|
+
const { type: type_, period, year, quarter, limit, cursor } = request;
|
|
93
93
|
const _queryParams = {
|
|
94
94
|
type: type_ != null
|
|
95
95
|
? serializers.ArtifactType.jsonOrThrow(type_, {
|
|
@@ -97,6 +97,7 @@ class ArtifactsClient {
|
|
|
97
97
|
omitUndefined: true,
|
|
98
98
|
})
|
|
99
99
|
: undefined,
|
|
100
|
+
period,
|
|
100
101
|
year,
|
|
101
102
|
quarter,
|
|
102
103
|
limit,
|
|
@@ -517,9 +518,13 @@ class ArtifactsClient {
|
|
|
517
518
|
* `outcome` is `replaced`. The link is kept on the artifact
|
|
518
519
|
* (`exports`). Writing it changes the launch, so a Viewer of LaunchCal
|
|
519
520
|
* is refused. Counts against `docs-export`. Needs `artifacts:write`.
|
|
520
|
-
*
|
|
521
|
-
* tool
|
|
522
|
-
*
|
|
521
|
+
* An artifact with nothing written in it is `409 artifact_empty`, a
|
|
522
|
+
* tool this deployment does not export to `409 docs_tool_unavailable`,
|
|
523
|
+
* a tool the person has not connected `409 docs_not_connected`, a
|
|
524
|
+
* connection the tool turned down `409 docs_reconnect`, a
|
|
525
|
+
* `destinationId` that cannot take a page or that their account
|
|
526
|
+
* cannot reach `409 docs_destination_invalid`, and a tool that did
|
|
527
|
+
* not answer `502 upstream_error`.
|
|
523
528
|
*
|
|
524
529
|
* @param {string} launchId
|
|
525
530
|
* @param {Taktoria.ArtifactType} type
|
|
@@ -718,8 +723,12 @@ class ArtifactsClient {
|
|
|
718
723
|
* Where the signed-in person may export to in a tool, read from it with
|
|
719
724
|
* their own account: the Notion pages they shared with Taktoria when
|
|
720
725
|
* connecting (and the pages in them), or the Confluence spaces they can
|
|
721
|
-
* see. Empty for Google Docs. Counts against `docs-browse`.
|
|
722
|
-
* `
|
|
726
|
+
* see. Empty for Google Docs. Counts against `docs-browse`. A
|
|
727
|
+
* workspace key is refused (`person_required`); a tool this deployment
|
|
728
|
+
* does not export to is `409 docs_tool_unavailable`, one the person
|
|
729
|
+
* has not connected `409 docs_not_connected`, a connection the tool
|
|
730
|
+
* turned down `409 docs_reconnect`, and a tool that did not answer
|
|
731
|
+
* `502 upstream_error`. Needs `artifacts:read`.
|
|
723
732
|
*
|
|
724
733
|
* @param {Taktoria.DocsTool} tool
|
|
725
734
|
* @param {Taktoria.ListDocsDestinationsRequest} request
|
|
@@ -10,7 +10,19 @@ import type * as Taktoria from "../../../../index.js";
|
|
|
10
10
|
export interface ListAllArtifactsRequest {
|
|
11
11
|
/** Only this kind; left out, all three. */
|
|
12
12
|
type?: Taktoria.ArtifactType;
|
|
13
|
-
/**
|
|
13
|
+
/**
|
|
14
|
+
* A fiscal period, as the app's period picker and its URL name them:
|
|
15
|
+
* a quarter (`2026-Q4`), a whole year (`2027`), `upcoming` for this
|
|
16
|
+
* quarter and every one after it, or `all`. Repeat it for several
|
|
17
|
+
* (`period=2026-Q4&period=2027-Q1`); `upcoming` or `all` among them
|
|
18
|
+
* wins over the rest. Narrows by the launch's planned launch date in
|
|
19
|
+
* the workspace's fiscal years. With `upcoming` it keeps those with
|
|
20
|
+
* no date yet, as the app's lists do. Left out, with no `year`,
|
|
21
|
+
* every period. Wins over `year` and `quarter`; anything else is a
|
|
22
|
+
* `422 validation_error`.
|
|
23
|
+
*/
|
|
24
|
+
period?: string | string[];
|
|
25
|
+
/** One fiscal year, as the workspace's fiscal year start names it. Narrows by the launch's planned launch date; left out, every year. `period` takes several. */
|
|
14
26
|
year?: number;
|
|
15
27
|
/** A fiscal quarter, 1 to 4, of `year`. Needs `year`; left out, the whole year. */
|
|
16
28
|
quarter?: number;
|
|
@@ -81,11 +81,12 @@ export declare class DoryClient {
|
|
|
81
81
|
private __updateEvent;
|
|
82
82
|
/**
|
|
83
83
|
* A copy of the event, to run it again, Not started until it is given
|
|
84
|
-
* a start. Its description,
|
|
85
|
-
*
|
|
86
|
-
*
|
|
87
|
-
* participants, results, billing
|
|
88
|
-
* and belongs to whoever made it.
|
|
84
|
+
* a start. Its description, passcode, audience and domains, room and
|
|
85
|
+
* presenter settings, instructions, meeting link (`meetingUrl`, so a
|
|
86
|
+
* recurring call keeps its link), time zone, hosts and polls (as
|
|
87
|
+
* drafts) come along; its questions, participants, results, billing
|
|
88
|
+
* and dates do not. It gets a new code and belongs to whoever made it.
|
|
89
|
+
* Needs `events:write`.
|
|
89
90
|
*
|
|
90
91
|
* @param {string} eventId
|
|
91
92
|
* @param {Taktoria.DuplicateEventRequest} request
|
|
@@ -365,6 +366,28 @@ export declare class DoryClient {
|
|
|
365
366
|
*/
|
|
366
367
|
getEventJoinLink(eventId: string, request?: Taktoria.GetEventJoinLinkRequest, requestOptions?: DoryClient.RequestOptions): core.HttpResponsePromise<Taktoria.EventJoinLink>;
|
|
367
368
|
private __getEventJoinLink;
|
|
369
|
+
/**
|
|
370
|
+
* The event for a calendar and a meeting invite, as the console's
|
|
371
|
+
* **Add to calendar** gives it: the lines to paste into an invite,
|
|
372
|
+
* links that open Google Calendar's and Outlook's new-event pages
|
|
373
|
+
* filled in, and the .ics file, each with the join link and code from
|
|
374
|
+
* `getEventJoinLink`, never the passcode. An event with no `startsAt`
|
|
375
|
+
* has the invite text only. In the signed-in person's language,
|
|
376
|
+
* English for a key. Needs `events:read`.
|
|
377
|
+
*
|
|
378
|
+
* @param {string} eventId
|
|
379
|
+
* @param {DoryClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
380
|
+
*
|
|
381
|
+
* @throws {@link Taktoria.NotFoundError}
|
|
382
|
+
* @throws {@link Taktoria.TooManyRequestsError}
|
|
383
|
+
* @throws {@link errors.TaktoriaError}
|
|
384
|
+
* @throws {@link errors.TaktoriaTimeoutError}
|
|
385
|
+
*
|
|
386
|
+
* @example
|
|
387
|
+
* await client.dory.getEventCalendarInvite("evt_7f3a")
|
|
388
|
+
*/
|
|
389
|
+
getEventCalendarInvite(eventId: string, requestOptions?: DoryClient.RequestOptions): core.HttpResponsePromise<Taktoria.EventCalendarInvite>;
|
|
390
|
+
private __getEventCalendarInvite;
|
|
368
391
|
/**
|
|
369
392
|
* @param {string} eventId
|
|
370
393
|
* @param {Taktoria.ListQuestionsRequest} request
|
|
@@ -461,11 +461,12 @@ class DoryClient {
|
|
|
461
461
|
}
|
|
462
462
|
/**
|
|
463
463
|
* A copy of the event, to run it again, Not started until it is given
|
|
464
|
-
* a start. Its description,
|
|
465
|
-
*
|
|
466
|
-
*
|
|
467
|
-
* participants, results, billing
|
|
468
|
-
* and belongs to whoever made it.
|
|
464
|
+
* a start. Its description, passcode, audience and domains, room and
|
|
465
|
+
* presenter settings, instructions, meeting link (`meetingUrl`, so a
|
|
466
|
+
* recurring call keeps its link), time zone, hosts and polls (as
|
|
467
|
+
* drafts) come along; its questions, participants, results, billing
|
|
468
|
+
* and dates do not. It gets a new code and belongs to whoever made it.
|
|
469
|
+
* Needs `events:write`.
|
|
469
470
|
*
|
|
470
471
|
* @param {string} eventId
|
|
471
472
|
* @param {Taktoria.DuplicateEventRequest} request
|
|
@@ -1641,6 +1642,86 @@ class DoryClient {
|
|
|
1641
1642
|
return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "GET", "/dory/events/{eventId}/join");
|
|
1642
1643
|
});
|
|
1643
1644
|
}
|
|
1645
|
+
/**
|
|
1646
|
+
* The event for a calendar and a meeting invite, as the console's
|
|
1647
|
+
* **Add to calendar** gives it: the lines to paste into an invite,
|
|
1648
|
+
* links that open Google Calendar's and Outlook's new-event pages
|
|
1649
|
+
* filled in, and the .ics file, each with the join link and code from
|
|
1650
|
+
* `getEventJoinLink`, never the passcode. An event with no `startsAt`
|
|
1651
|
+
* has the invite text only. In the signed-in person's language,
|
|
1652
|
+
* English for a key. Needs `events:read`.
|
|
1653
|
+
*
|
|
1654
|
+
* @param {string} eventId
|
|
1655
|
+
* @param {DoryClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
1656
|
+
*
|
|
1657
|
+
* @throws {@link Taktoria.NotFoundError}
|
|
1658
|
+
* @throws {@link Taktoria.TooManyRequestsError}
|
|
1659
|
+
* @throws {@link errors.TaktoriaError}
|
|
1660
|
+
* @throws {@link errors.TaktoriaTimeoutError}
|
|
1661
|
+
*
|
|
1662
|
+
* @example
|
|
1663
|
+
* await client.dory.getEventCalendarInvite("evt_7f3a")
|
|
1664
|
+
*/
|
|
1665
|
+
getEventCalendarInvite(eventId, requestOptions) {
|
|
1666
|
+
return core.HttpResponsePromise.fromPromise(this.__getEventCalendarInvite(eventId, requestOptions));
|
|
1667
|
+
}
|
|
1668
|
+
__getEventCalendarInvite(eventId, requestOptions) {
|
|
1669
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1670
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
1671
|
+
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
1672
|
+
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);
|
|
1673
|
+
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
1674
|
+
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, `/dory/events/${core.url.encodePathParam(eventId)}/calendar-invite`),
|
|
1675
|
+
method: "GET",
|
|
1676
|
+
headers: _headers,
|
|
1677
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
1678
|
+
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,
|
|
1679
|
+
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,
|
|
1680
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
1681
|
+
fetchFn: (_k = this._options) === null || _k === void 0 ? void 0 : _k.fetch,
|
|
1682
|
+
logging: this._options.logging,
|
|
1683
|
+
});
|
|
1684
|
+
if (_response.ok) {
|
|
1685
|
+
return {
|
|
1686
|
+
data: serializers.EventCalendarInvite.parseOrThrow(_response.body, {
|
|
1687
|
+
unrecognizedObjectKeys: "passthrough",
|
|
1688
|
+
allowUnrecognizedUnionMembers: true,
|
|
1689
|
+
allowUnrecognizedEnumValues: true,
|
|
1690
|
+
skipValidation: true,
|
|
1691
|
+
breadcrumbsPrefix: ["response"],
|
|
1692
|
+
}),
|
|
1693
|
+
rawResponse: _response.rawResponse,
|
|
1694
|
+
};
|
|
1695
|
+
}
|
|
1696
|
+
if (_response.error.reason === "status-code") {
|
|
1697
|
+
switch (_response.error.statusCode) {
|
|
1698
|
+
case 404:
|
|
1699
|
+
throw new Taktoria.NotFoundError(serializers.ErrorBody.parseOrThrow(_response.error.body, {
|
|
1700
|
+
unrecognizedObjectKeys: "passthrough",
|
|
1701
|
+
allowUnrecognizedUnionMembers: true,
|
|
1702
|
+
allowUnrecognizedEnumValues: true,
|
|
1703
|
+
skipValidation: true,
|
|
1704
|
+
breadcrumbsPrefix: ["response"],
|
|
1705
|
+
}), _response.rawResponse);
|
|
1706
|
+
case 429:
|
|
1707
|
+
throw new Taktoria.TooManyRequestsError(serializers.ErrorBody.parseOrThrow(_response.error.body, {
|
|
1708
|
+
unrecognizedObjectKeys: "passthrough",
|
|
1709
|
+
allowUnrecognizedUnionMembers: true,
|
|
1710
|
+
allowUnrecognizedEnumValues: true,
|
|
1711
|
+
skipValidation: true,
|
|
1712
|
+
breadcrumbsPrefix: ["response"],
|
|
1713
|
+
}), _response.rawResponse);
|
|
1714
|
+
default:
|
|
1715
|
+
throw new errors.TaktoriaError({
|
|
1716
|
+
statusCode: _response.error.statusCode,
|
|
1717
|
+
body: _response.error.body,
|
|
1718
|
+
rawResponse: _response.rawResponse,
|
|
1719
|
+
});
|
|
1720
|
+
}
|
|
1721
|
+
}
|
|
1722
|
+
return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "GET", "/dory/events/{eventId}/calendar-invite");
|
|
1723
|
+
});
|
|
1724
|
+
}
|
|
1644
1725
|
/**
|
|
1645
1726
|
* @param {string} eventId
|
|
1646
1727
|
* @param {Taktoria.ListQuestionsRequest} request
|
|
@@ -38,10 +38,15 @@ export interface CreateEventRequest {
|
|
|
38
38
|
instructions?: string;
|
|
39
39
|
/**
|
|
40
40
|
* The Zoom, Google Meet or Microsoft Teams call the event runs
|
|
41
|
-
* beside
|
|
42
|
-
* `
|
|
43
|
-
*
|
|
44
|
-
*
|
|
41
|
+
* beside, as an https join link. For example: a Zoom meeting, webinar
|
|
42
|
+
* or personal room (`zoom.us/j/…`, `/w/…`, `/my/…`, on `zoom.us`,
|
|
43
|
+
* `zoom.com` or `zoomgov.com` and their regional hosts such as
|
|
44
|
+
* `us02web.zoom.us`); a Meet code (`meet.google.com/abc-defg-hij`);
|
|
45
|
+
* or a Teams meeting (`teams.microsoft.com/l/meetup-join/…` or
|
|
46
|
+
* `/meet/…`, on `teams.microsoft.com`, `teams.live.com`,
|
|
47
|
+
* `teams.cloud.microsoft` or the government clouds). A link still
|
|
48
|
+
* wrapped in Outlook's Safe Links is unwrapped. Anything else, or a
|
|
49
|
+
* Zoom start link (`/s/…`), is refused (422). Empty or null clears it.
|
|
45
50
|
*/
|
|
46
51
|
meetingUrl?: string;
|
|
47
52
|
allowAnonymous?: boolean;
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* An event for a calendar and a meeting invite, as the console's **Add to
|
|
3
|
+
* calendar** and **Copy invite text** give it. Each part carries the
|
|
4
|
+
* join link and the join code, never the passcode, which a calendar
|
|
5
|
+
* would sync and forward.
|
|
6
|
+
*/
|
|
7
|
+
export interface EventCalendarInvite {
|
|
8
|
+
eventId: string;
|
|
9
|
+
/** The code attendees can type instead of following the link. */
|
|
10
|
+
code: string;
|
|
11
|
+
/** The link to hand out, the same one `getEventJoinLink` gives. */
|
|
12
|
+
joinUrl: string;
|
|
13
|
+
/**
|
|
14
|
+
* Whether attendees must type a passcode as well, to be given to them
|
|
15
|
+
* separately. The passcode itself is never returned.
|
|
16
|
+
*/
|
|
17
|
+
hasPasscode: boolean;
|
|
18
|
+
startsAt?: Date;
|
|
19
|
+
/** Absent, a calendar gives the event an hour. */
|
|
20
|
+
endsAt?: Date;
|
|
21
|
+
/** The event's IANA time zone, which the invite's times are written in. */
|
|
22
|
+
timeZone?: string;
|
|
23
|
+
/**
|
|
24
|
+
* The title, when it runs in the event's time zone, the join link and
|
|
25
|
+
* the join code, one to a line, to paste into a meeting's invite or a
|
|
26
|
+
* message. In the signed-in person's language, English for a key.
|
|
27
|
+
*/
|
|
28
|
+
inviteText: string;
|
|
29
|
+
/** Opens Google Calendar's new-event page, filled in. Absent with no `startsAt`. */
|
|
30
|
+
googleCalendarUrl?: string;
|
|
31
|
+
/** The same for Outlook on the web, for work or school accounts. Absent with no `startsAt`. */
|
|
32
|
+
outlookUrl?: string;
|
|
33
|
+
/** The same for Outlook.com, for personal accounts. Absent with no `startsAt`. */
|
|
34
|
+
outlookComUrl?: string;
|
|
35
|
+
/**
|
|
36
|
+
* The event as an iCalendar file, for Apple Calendar or any other.
|
|
37
|
+
* Its `UID` is the event's, so adding it again updates the copy.
|
|
38
|
+
* Absent with no `startsAt`: a calendar has nowhere to put it.
|
|
39
|
+
*/
|
|
40
|
+
ics?: string;
|
|
41
|
+
}
|
|
@@ -33,10 +33,15 @@ export interface UpdateEventRequest {
|
|
|
33
33
|
instructions?: string;
|
|
34
34
|
/**
|
|
35
35
|
* The Zoom, Google Meet or Microsoft Teams call the event runs
|
|
36
|
-
* beside
|
|
37
|
-
* `
|
|
38
|
-
*
|
|
39
|
-
*
|
|
36
|
+
* beside, as an https join link. For example: a Zoom meeting, webinar
|
|
37
|
+
* or personal room (`zoom.us/j/…`, `/w/…`, `/my/…`, on `zoom.us`,
|
|
38
|
+
* `zoom.com` or `zoomgov.com` and their regional hosts such as
|
|
39
|
+
* `us02web.zoom.us`); a Meet code (`meet.google.com/abc-defg-hij`);
|
|
40
|
+
* or a Teams meeting (`teams.microsoft.com/l/meetup-join/…` or
|
|
41
|
+
* `/meet/…`, on `teams.microsoft.com`, `teams.live.com`,
|
|
42
|
+
* `teams.cloud.microsoft` or the government clouds). A link still
|
|
43
|
+
* wrapped in Outlook's Safe Links is unwrapped. Anything else, or a
|
|
44
|
+
* Zoom start link (`/s/…`), is refused (422). Empty or null clears it.
|
|
40
45
|
*/
|
|
41
46
|
meetingUrl?: string;
|
|
42
47
|
allowAnonymous?: boolean;
|
|
@@ -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);
|
|
@@ -61,6 +61,9 @@ export * from "./process/types/index.js";
|
|
|
61
61
|
export * from "./search/client/requests/index.js";
|
|
62
62
|
export * as search from "./search/index.js";
|
|
63
63
|
export * from "./search/types/index.js";
|
|
64
|
+
export * from "./slackConnections/client/requests/index.js";
|
|
65
|
+
export * as slackConnections from "./slackConnections/index.js";
|
|
66
|
+
export * from "./slackConnections/types/index.js";
|
|
64
67
|
export * from "./steps/client/requests/index.js";
|
|
65
68
|
export * as steps from "./steps/index.js";
|
|
66
69
|
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
|
__exportStar(require("./artifacts/client/requests/index.js"), exports);
|
|
@@ -100,6 +100,9 @@ __exportStar(require("./process/types/index.js"), exports);
|
|
|
100
100
|
__exportStar(require("./search/client/requests/index.js"), exports);
|
|
101
101
|
exports.search = __importStar(require("./search/index.js"));
|
|
102
102
|
__exportStar(require("./search/types/index.js"), exports);
|
|
103
|
+
__exportStar(require("./slackConnections/client/requests/index.js"), exports);
|
|
104
|
+
exports.slackConnections = __importStar(require("./slackConnections/index.js"));
|
|
105
|
+
__exportStar(require("./slackConnections/types/index.js"), exports);
|
|
103
106
|
__exportStar(require("./steps/client/requests/index.js"), exports);
|
|
104
107
|
exports.steps = __importStar(require("./steps/index.js"));
|
|
105
108
|
__exportStar(require("./steps/types/index.js"), exports);
|
|
@@ -77,7 +77,7 @@ class InsightsClient {
|
|
|
77
77
|
__listAll() {
|
|
78
78
|
return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
|
|
79
79
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
80
|
-
const { sentiment, year, quarter, limit, cursor } = request;
|
|
80
|
+
const { sentiment, period, year, quarter, limit, cursor } = request;
|
|
81
81
|
const _queryParams = {
|
|
82
82
|
sentiment: sentiment != null
|
|
83
83
|
? serializers.Sentiment.jsonOrThrow(sentiment, {
|
|
@@ -85,6 +85,7 @@ class InsightsClient {
|
|
|
85
85
|
omitUndefined: true,
|
|
86
86
|
})
|
|
87
87
|
: undefined,
|
|
88
|
+
period,
|
|
88
89
|
year,
|
|
89
90
|
quarter,
|
|
90
91
|
limit,
|
|
@@ -5,7 +5,18 @@ import type * as Taktoria from "../../../../index.js";
|
|
|
5
5
|
*/
|
|
6
6
|
export interface ListInsightsRequest {
|
|
7
7
|
sentiment?: Taktoria.Sentiment;
|
|
8
|
-
/**
|
|
8
|
+
/**
|
|
9
|
+
* A fiscal period, as the app's period picker and its URL name them:
|
|
10
|
+
* a quarter (`2026-Q4`), a whole year (`2027`), `upcoming` for this
|
|
11
|
+
* quarter and every one after it, or `all`. Repeat it for several
|
|
12
|
+
* (`period=2026-Q4&period=2027-Q1`); `upcoming` or `all` among them
|
|
13
|
+
* wins over the rest. Narrows by when each was recorded in the
|
|
14
|
+
* workspace's fiscal years. Left out, with no `year`, every period.
|
|
15
|
+
* Wins over `year` and `quarter`; anything else is a `422
|
|
16
|
+
* validation_error`.
|
|
17
|
+
*/
|
|
18
|
+
period?: string | string[];
|
|
19
|
+
/** One fiscal year, as the workspace's fiscal year start names it. Narrows by when each was recorded; left out, every year. `period` takes several. */
|
|
9
20
|
year?: number;
|
|
10
21
|
/** A fiscal quarter, 1 to 4, of `year`. Needs `year`; left out, the whole year. */
|
|
11
22
|
quarter?: number;
|
|
@@ -13,8 +13,11 @@ export declare class LaunchesClient {
|
|
|
13
13
|
/**
|
|
14
14
|
* List the launches in your organization, or with `mine=true` your own,
|
|
15
15
|
* the ones the app's My launches page counts as yours. Drafts included,
|
|
16
|
-
* by planned launch date. Every period unless `
|
|
17
|
-
* the app's lists open on this quarter and later
|
|
16
|
+
* by planned launch date. Every period unless `period` (or `year`)
|
|
17
|
+
* narrows it, where the app's lists open on this quarter and later:
|
|
18
|
+
* `period=upcoming` lists what they do. With `launched=true` it is the
|
|
19
|
+
* Launched page instead: launches that have launched, newest first,
|
|
20
|
+
* with the periods going by when each launched. Needs `launches:read`.
|
|
18
21
|
*
|
|
19
22
|
* @param {Taktoria.ListLaunchesRequest} request
|
|
20
23
|
* @param {LaunchesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -38,7 +41,8 @@ export declare class LaunchesClient {
|
|
|
38
41
|
* Add a launch. With a `plannedLaunchDate` it gets its launch template's
|
|
39
42
|
* steps at once, which is what fills each reviewer's queue; pass
|
|
40
43
|
* `generateSteps: false` to leave them off. Pass `draft: true` to save it
|
|
41
|
-
* without telling anybody.
|
|
44
|
+
* without telling anybody. A draft with `status: LAUNCHED` is
|
|
45
|
+
* `409 draft`: publish it, then launch it.
|
|
42
46
|
*
|
|
43
47
|
* @param {Taktoria.CreateLaunchRequest} request
|
|
44
48
|
* @param {LaunchesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -46,6 +50,7 @@ export declare class LaunchesClient {
|
|
|
46
50
|
* @throws {@link Taktoria.UnauthorizedError}
|
|
47
51
|
* @throws {@link Taktoria.SubscriptionRequiredError}
|
|
48
52
|
* @throws {@link Taktoria.ForbiddenError}
|
|
53
|
+
* @throws {@link Taktoria.ConflictError}
|
|
49
54
|
* @throws {@link Taktoria.ValidationError}
|
|
50
55
|
* @throws {@link Taktoria.TooManyRequestsError}
|
|
51
56
|
* @throws {@link errors.TaktoriaError}
|
|
@@ -77,7 +82,9 @@ export declare class LaunchesClient {
|
|
|
77
82
|
* and from what, about ten minutes after the edits stop, in one message
|
|
78
83
|
* that leaves out each owner's own edits (`launchUpdates` in their
|
|
79
84
|
* notification preferences). Its artifacts and links count too; its
|
|
80
|
-
* steps do not, and nothing is sent about a draft.
|
|
85
|
+
* steps do not, and nothing is sent about a draft. `409 launched` when
|
|
86
|
+
* `draft: true` would take a launched launch back to being a draft, and
|
|
87
|
+
* `409 draft` when the change would leave a draft `LAUNCHED`.
|
|
81
88
|
*
|
|
82
89
|
* @param {string} launchId
|
|
83
90
|
* @param {Taktoria.UpdateLaunchRequest} request
|
|
@@ -86,6 +93,7 @@ export declare class LaunchesClient {
|
|
|
86
93
|
* @throws {@link Taktoria.BadRequestError}
|
|
87
94
|
* @throws {@link Taktoria.ForbiddenError}
|
|
88
95
|
* @throws {@link Taktoria.NotFoundError}
|
|
96
|
+
* @throws {@link Taktoria.ConflictError}
|
|
89
97
|
* @throws {@link Taktoria.ValidationError}
|
|
90
98
|
* @throws {@link Taktoria.TooManyRequestsError}
|
|
91
99
|
* @throws {@link errors.TaktoriaError}
|
|
@@ -142,9 +150,15 @@ export declare class LaunchesClient {
|
|
|
142
150
|
* sites, in the GitHub organization the app is installed on, or in its
|
|
143
151
|
* Asana or ClickUp workspaces), and syncs at once: the answer's
|
|
144
152
|
* `ticketingProject` says how that went. Any other address, a whole
|
|
145
|
-
* Jira project
|
|
146
|
-
* does not sync. It reads the system,
|
|
147
|
-
* budget with a sync.
|
|
153
|
+
* Jira project, a GitHub repository, or a ClickUp folder or space
|
|
154
|
+
* included, is kept as a link and does not sync. It reads the system,
|
|
155
|
+
* so it shares the `ticketing-sync` budget with a sync. `404 not_found`
|
|
156
|
+
* when the connection cannot find or see the project, `409 conflict`
|
|
157
|
+
* for one in another workspace or site of the system than the one
|
|
158
|
+
* connected, `409 ticketing_reconnect` when the system turned the
|
|
159
|
+
* connection down (a workspace admin connects it again in Settings →
|
|
160
|
+
* Integrations), and `502 upstream_error` when it did not answer.
|
|
161
|
+
* Needs `launches:write`.
|
|
148
162
|
*
|
|
149
163
|
* @param {string} launchId
|
|
150
164
|
* @param {Taktoria.LinkTicketingProjectRequest} request
|
|
@@ -187,10 +201,12 @@ export declare class LaunchesClient {
|
|
|
187
201
|
private __unlinkTicketingProject;
|
|
188
202
|
/**
|
|
189
203
|
* Sync now, as the daily sync does, for this launch: its status,
|
|
190
|
-
* progress, and new status updates (Linear, GitHub projects
|
|
191
|
-
* comments (Jira, ClickUp)
|
|
192
|
-
*
|
|
193
|
-
*
|
|
204
|
+
* progress, and new status updates (Linear, GitHub projects) or
|
|
205
|
+
* comments (Jira, ClickUp); an Asana project brings its completion and
|
|
206
|
+
* progress, not its status updates. `404 not_found` when the launch
|
|
207
|
+
* follows nothing; `409 conflict` for a link that cannot sync (a whole
|
|
208
|
+
* Jira project, a GitHub repository, a ClickUp folder or space, or a
|
|
209
|
+
* system Taktoria does not sync);
|
|
194
210
|
* `409 ticketing_not_connected` or `409 ticketing_reconnect` when a
|
|
195
211
|
* workspace admin must connect its system in Settings → Integrations.
|
|
196
212
|
* Needs `launches:write`.
|
|
@@ -216,8 +232,8 @@ export declare class LaunchesClient {
|
|
|
216
232
|
* What has happened to a launch, newest first, as its activity feed
|
|
217
233
|
* shows it: added, changed, published, taken back to draft, launched,
|
|
218
234
|
* its steps decided and reasons given for them, comments and updates
|
|
219
|
-
* posted,
|
|
220
|
-
* entry says it in a sentence. The comments and updates
|
|
235
|
+
* posted, its ticketing project linked, unlinked and synced, and its
|
|
236
|
+
* artifacts exported to a docs tool. Each entry says it in a sentence. The comments and updates
|
|
221
237
|
* themselves are at `/launches/{launchId}/posts`. Needs `launches:read`.
|
|
222
238
|
*
|
|
223
239
|
* @param {string} launchId
|