@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
|
@@ -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);
|
|
@@ -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
|
}
|
|
@@ -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
|
});
|
|
@@ -0,0 +1,12 @@
|
|
|
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
|
+
import { MetricSourceKind } from "./MetricSourceKind.js";
|
|
5
|
+
export declare const KeyResultMetric: core.serialization.ObjectSchema<serializers.KeyResultMetric.Raw, Taktoria.KeyResultMetric>;
|
|
6
|
+
export declare namespace KeyResultMetric {
|
|
7
|
+
interface Raw {
|
|
8
|
+
name: string;
|
|
9
|
+
kind: MetricSourceKind.Raw;
|
|
10
|
+
paused: boolean;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
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.KeyResultMetric = void 0;
|
|
38
|
+
const core = __importStar(require("../../../../core/index.js"));
|
|
39
|
+
const MetricSourceKind_js_1 = require("./MetricSourceKind.js");
|
|
40
|
+
exports.KeyResultMetric = core.serialization.object({
|
|
41
|
+
name: core.serialization.string(),
|
|
42
|
+
kind: MetricSourceKind_js_1.MetricSourceKind,
|
|
43
|
+
paused: core.serialization.boolean(),
|
|
44
|
+
});
|
|
@@ -0,0 +1,7 @@
|
|
|
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 MetricSourceKind: core.serialization.Schema<serializers.MetricSourceKind.Raw, Taktoria.MetricSourceKind>;
|
|
5
|
+
export declare namespace MetricSourceKind {
|
|
6
|
+
type Raw = "WEBHOOK" | "PULL";
|
|
7
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
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.MetricSourceKind = void 0;
|
|
38
|
+
const core = __importStar(require("../../../../core/index.js"));
|
|
39
|
+
exports.MetricSourceKind = core.serialization.enum_(["WEBHOOK", "PULL"]);
|
|
@@ -19,6 +19,8 @@ export * from "./KeyResultDetail.js";
|
|
|
19
19
|
export * from "./KeyResultGrade.js";
|
|
20
20
|
export * from "./KeyResultGradeList.js";
|
|
21
21
|
export * from "./KeyResultList.js";
|
|
22
|
+
export * from "./KeyResultMetric.js";
|
|
23
|
+
export * from "./MetricSourceKind.js";
|
|
22
24
|
export * from "./Objective.js";
|
|
23
25
|
export * from "./ObjectiveDetail.js";
|
|
24
26
|
export * from "./ObjectivePage.js";
|
|
@@ -35,6 +35,8 @@ __exportStar(require("./KeyResultDetail.js"), exports);
|
|
|
35
35
|
__exportStar(require("./KeyResultGrade.js"), exports);
|
|
36
36
|
__exportStar(require("./KeyResultGradeList.js"), exports);
|
|
37
37
|
__exportStar(require("./KeyResultList.js"), exports);
|
|
38
|
+
__exportStar(require("./KeyResultMetric.js"), exports);
|
|
39
|
+
__exportStar(require("./MetricSourceKind.js"), exports);
|
|
38
40
|
__exportStar(require("./Objective.js"), exports);
|
|
39
41
|
__exportStar(require("./ObjectiveDetail.js"), exports);
|
|
40
42
|
__exportStar(require("./ObjectivePage.js"), exports);
|
|
@@ -14,7 +14,9 @@ export declare namespace Organization {
|
|
|
14
14
|
defaultTimeZone?: string | null;
|
|
15
15
|
holidayMarkets: string[];
|
|
16
16
|
requireGoogleSignIn: boolean;
|
|
17
|
+
slackCommandsWithoutGoogle: boolean;
|
|
17
18
|
googleSignInAvailable: boolean;
|
|
18
19
|
autoGrowSeats: boolean;
|
|
20
|
+
allowCalendarFeeds: boolean;
|
|
19
21
|
}
|
|
20
22
|
}
|
|
@@ -47,6 +47,8 @@ exports.Organization = core.serialization.object({
|
|
|
47
47
|
defaultTimeZone: core.serialization.string().optional(),
|
|
48
48
|
holidayMarkets: core.serialization.list(core.serialization.string()),
|
|
49
49
|
requireGoogleSignIn: core.serialization.boolean(),
|
|
50
|
+
slackCommandsWithoutGoogle: core.serialization.boolean(),
|
|
50
51
|
googleSignInAvailable: core.serialization.boolean(),
|
|
51
52
|
autoGrowSeats: core.serialization.boolean(),
|
|
53
|
+
allowCalendarFeeds: core.serialization.boolean(),
|
|
52
54
|
});
|
|
@@ -44,4 +44,6 @@ exports.UpdateOrganizationRequest = core.serialization.object({
|
|
|
44
44
|
defaultTimeZone: core.serialization.string().optional(),
|
|
45
45
|
holidayMarkets: core.serialization.list(core.serialization.string()).optional(),
|
|
46
46
|
autoGrowSeats: core.serialization.boolean().optional(),
|
|
47
|
+
allowCalendarFeeds: core.serialization.boolean().optional(),
|
|
48
|
+
slackCommandsWithoutGoogle: core.serialization.boolean().optional(),
|
|
47
49
|
});
|
|
@@ -39,4 +39,5 @@ const core = __importStar(require("../../../../core/index.js"));
|
|
|
39
39
|
exports.UpdateNotificationChannels = core.serialization.object({
|
|
40
40
|
email: core.serialization.boolean().optional(),
|
|
41
41
|
slack: core.serialization.boolean().optional(),
|
|
42
|
+
teams: core.serialization.boolean().optional(),
|
|
42
43
|
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./types/index.js";
|
|
@@ -0,0 +1,17 @@
|
|
|
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("./types/index.js"), exports);
|
|
@@ -0,0 +1,14 @@
|
|
|
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
|
+
import { SlackConnectionAccount } from "./SlackConnectionAccount.js";
|
|
5
|
+
import { SlackConnectionPerson } from "./SlackConnectionPerson.js";
|
|
6
|
+
export declare const SlackConnection: core.serialization.ObjectSchema<serializers.SlackConnection.Raw, Taktoria.SlackConnection>;
|
|
7
|
+
export declare namespace SlackConnection {
|
|
8
|
+
interface Raw {
|
|
9
|
+
id: string;
|
|
10
|
+
person: SlackConnectionPerson.Raw;
|
|
11
|
+
slack: SlackConnectionAccount.Raw;
|
|
12
|
+
createdAt: string;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
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.SlackConnection = void 0;
|
|
38
|
+
const core = __importStar(require("../../../../core/index.js"));
|
|
39
|
+
const SlackConnectionAccount_js_1 = require("./SlackConnectionAccount.js");
|
|
40
|
+
const SlackConnectionPerson_js_1 = require("./SlackConnectionPerson.js");
|
|
41
|
+
exports.SlackConnection = core.serialization.object({
|
|
42
|
+
id: core.serialization.string(),
|
|
43
|
+
person: SlackConnectionPerson_js_1.SlackConnectionPerson,
|
|
44
|
+
slack: SlackConnectionAccount_js_1.SlackConnectionAccount,
|
|
45
|
+
createdAt: core.serialization.date(),
|
|
46
|
+
});
|
|
@@ -0,0 +1,11 @@
|
|
|
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 SlackConnectionAccount: core.serialization.ObjectSchema<serializers.SlackConnectionAccount.Raw, Taktoria.SlackConnectionAccount>;
|
|
5
|
+
export declare namespace SlackConnectionAccount {
|
|
6
|
+
interface Raw {
|
|
7
|
+
teamId: string;
|
|
8
|
+
teamName?: string | null;
|
|
9
|
+
userId: string;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
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.SlackConnectionAccount = void 0;
|
|
38
|
+
const core = __importStar(require("../../../../core/index.js"));
|
|
39
|
+
exports.SlackConnectionAccount = core.serialization.object({
|
|
40
|
+
teamId: core.serialization.string(),
|
|
41
|
+
teamName: core.serialization.string().optional(),
|
|
42
|
+
userId: core.serialization.string(),
|
|
43
|
+
});
|
|
@@ -0,0 +1,12 @@
|
|
|
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
|
+
import { SlackConnection } from "./SlackConnection.js";
|
|
5
|
+
export declare const SlackConnectionPage: core.serialization.ObjectSchema<serializers.SlackConnectionPage.Raw, Taktoria.SlackConnectionPage>;
|
|
6
|
+
export declare namespace SlackConnectionPage {
|
|
7
|
+
interface Raw {
|
|
8
|
+
data: SlackConnection.Raw[];
|
|
9
|
+
nextCursor?: string | null;
|
|
10
|
+
hasMore: boolean;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
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.SlackConnectionPage = void 0;
|
|
38
|
+
const core = __importStar(require("../../../../core/index.js"));
|
|
39
|
+
const SlackConnection_js_1 = require("./SlackConnection.js");
|
|
40
|
+
exports.SlackConnectionPage = core.serialization.object({
|
|
41
|
+
data: core.serialization.list(SlackConnection_js_1.SlackConnection),
|
|
42
|
+
nextCursor: core.serialization.string().optional(),
|
|
43
|
+
hasMore: core.serialization.boolean(),
|
|
44
|
+
});
|
|
@@ -0,0 +1,10 @@
|
|
|
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 SlackConnectionPerson: core.serialization.ObjectSchema<serializers.SlackConnectionPerson.Raw, Taktoria.SlackConnectionPerson>;
|
|
5
|
+
export declare namespace SlackConnectionPerson {
|
|
6
|
+
interface Raw {
|
|
7
|
+
id: string;
|
|
8
|
+
name: string;
|
|
9
|
+
}
|
|
10
|
+
}
|