@taktoria/sdk 0.8.1 → 0.8.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -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.8.1",
47
- "User-Agent": "@taktoria/sdk/0.8.1",
46
+ "X-Fern-SDK-Version": "0.8.3",
47
+ "User-Agent": "@taktoria/sdk/0.8.3",
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);
@@ -3,6 +3,8 @@ export interface Survey extends Taktoria.SurveySummary {
3
3
  questions: Taktoria.SurveyQuestion[];
4
4
  /** About how many minutes it takes to answer, rounded up: some ten seconds a question to tick, half a minute one asking for words, and a question about each leader once for each level in `leaderLevels`. Zero with no questions. */
5
5
  minutes: number;
6
+ /** Where somebody who runs it can answer it in the app as the people asked will, at any stage, a draft too: the required questions are checked and nothing is saved or counted. Absent with no questions. */
7
+ previewUrl?: string;
6
8
  /** For a `TEAMS` survey. */
7
9
  teams: Taktoria.SurveyTeam[];
8
10
  /** For a `PEOPLE` survey. */
@@ -105,6 +105,15 @@ export declare class LaunchesClient {
105
105
  update(launchId: string, request: Taktoria.UpdateLaunchRequest, requestOptions?: LaunchesClient.RequestOptions): core.HttpResponsePromise<Taktoria.Launch>;
106
106
  private __update;
107
107
  /**
108
+ * Delete a launch for good, with its steps, artifacts, links, comments,
109
+ * updates, insights and its link to a ticketing project, as **Delete
110
+ * launch** in its page's ⋯ menu does. It cannot be undone, and nobody is
111
+ * told; the workspace's audit log and LaunchCal's activity keep a
112
+ * `deleted` entry naming it. A draft or a launch that has launched can be
113
+ * deleted too. To hold a launch back instead, `PATCH` it with
114
+ * `draft: true`. Returns `204` with no body. Needs `launches:write`; a
115
+ * session of a **Viewer** of LaunchCal is refused with `403`.
116
+ *
108
117
  * @param {string} launchId
109
118
  * @param {LaunchesClient.RequestOptions} requestOptions - Request-specific configuration.
110
119
  *
@@ -513,6 +513,15 @@ class LaunchesClient {
513
513
  });
514
514
  }
515
515
  /**
516
+ * Delete a launch for good, with its steps, artifacts, links, comments,
517
+ * updates, insights and its link to a ticketing project, as **Delete
518
+ * launch** in its page's ⋯ menu does. It cannot be undone, and nobody is
519
+ * told; the workspace's audit log and LaunchCal's activity keep a
520
+ * `deleted` entry naming it. A draft or a launch that has launched can be
521
+ * deleted too. To hold a launch back instead, `PATCH` it with
522
+ * `draft: true`. Returns `204` with no body. Needs `launches:write`; a
523
+ * session of a **Viewer** of LaunchCal is refused with `403`.
524
+ *
516
525
  * @param {string} launchId
517
526
  * @param {LaunchesClient.RequestOptions} requestOptions - Request-specific configuration.
518
527
  *
@@ -10,6 +10,7 @@ export declare namespace Survey {
10
10
  interface Raw extends SurveySummary.Raw {
11
11
  questions: SurveyQuestion.Raw[];
12
12
  minutes: number;
13
+ previewUrl?: string | null;
13
14
  teams: SurveyTeam.Raw[];
14
15
  people: SurveyPerson.Raw[];
15
16
  owners: SurveyPerson.Raw[];
@@ -44,6 +44,7 @@ exports.Survey = core.serialization
44
44
  .object({
45
45
  questions: core.serialization.list(SurveyQuestion_js_1.SurveyQuestion),
46
46
  minutes: core.serialization.number(),
47
+ previewUrl: core.serialization.string().optional(),
47
48
  teams: core.serialization.list(SurveyTeam_js_1.SurveyTeam),
48
49
  people: core.serialization.list(SurveyPerson_js_1.SurveyPerson),
49
50
  owners: core.serialization.list(SurveyPerson_js_1.SurveyPerson),
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "0.8.1";
1
+ export declare const SDK_VERSION = "0.8.3";
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SDK_VERSION = void 0;
4
- exports.SDK_VERSION = "0.8.1";
4
+ exports.SDK_VERSION = "0.8.3";
@@ -6,8 +6,8 @@ export function normalizeClientOptions(options) {
6
6
  const headers = mergeHeaders({
7
7
  "X-Fern-Language": "JavaScript",
8
8
  "X-Fern-SDK-Name": "@taktoria/sdk",
9
- "X-Fern-SDK-Version": "0.8.1",
10
- "User-Agent": "@taktoria/sdk/0.8.1",
9
+ "X-Fern-SDK-Version": "0.8.3",
10
+ "User-Agent": "@taktoria/sdk/0.8.3",
11
11
  "X-Fern-Runtime": core.RUNTIME.type,
12
12
  "X-Fern-Runtime-Version": core.RUNTIME.version,
13
13
  }, options === null || options === void 0 ? void 0 : options.headers);
@@ -3,6 +3,8 @@ export interface Survey extends Taktoria.SurveySummary {
3
3
  questions: Taktoria.SurveyQuestion[];
4
4
  /** About how many minutes it takes to answer, rounded up: some ten seconds a question to tick, half a minute one asking for words, and a question about each leader once for each level in `leaderLevels`. Zero with no questions. */
5
5
  minutes: number;
6
+ /** Where somebody who runs it can answer it in the app as the people asked will, at any stage, a draft too: the required questions are checked and nothing is saved or counted. Absent with no questions. */
7
+ previewUrl?: string;
6
8
  /** For a `TEAMS` survey. */
7
9
  teams: Taktoria.SurveyTeam[];
8
10
  /** For a `PEOPLE` survey. */
@@ -105,6 +105,15 @@ export declare class LaunchesClient {
105
105
  update(launchId: string, request: Taktoria.UpdateLaunchRequest, requestOptions?: LaunchesClient.RequestOptions): core.HttpResponsePromise<Taktoria.Launch>;
106
106
  private __update;
107
107
  /**
108
+ * Delete a launch for good, with its steps, artifacts, links, comments,
109
+ * updates, insights and its link to a ticketing project, as **Delete
110
+ * launch** in its page's ⋯ menu does. It cannot be undone, and nobody is
111
+ * told; the workspace's audit log and LaunchCal's activity keep a
112
+ * `deleted` entry naming it. A draft or a launch that has launched can be
113
+ * deleted too. To hold a launch back instead, `PATCH` it with
114
+ * `draft: true`. Returns `204` with no body. Needs `launches:write`; a
115
+ * session of a **Viewer** of LaunchCal is refused with `403`.
116
+ *
108
117
  * @param {string} launchId
109
118
  * @param {LaunchesClient.RequestOptions} requestOptions - Request-specific configuration.
110
119
  *
@@ -477,6 +477,15 @@ export class LaunchesClient {
477
477
  });
478
478
  }
479
479
  /**
480
+ * Delete a launch for good, with its steps, artifacts, links, comments,
481
+ * updates, insights and its link to a ticketing project, as **Delete
482
+ * launch** in its page's ⋯ menu does. It cannot be undone, and nobody is
483
+ * told; the workspace's audit log and LaunchCal's activity keep a
484
+ * `deleted` entry naming it. A draft or a launch that has launched can be
485
+ * deleted too. To hold a launch back instead, `PATCH` it with
486
+ * `draft: true`. Returns `204` with no body. Needs `launches:write`; a
487
+ * session of a **Viewer** of LaunchCal is refused with `403`.
488
+ *
480
489
  * @param {string} launchId
481
490
  * @param {LaunchesClient.RequestOptions} requestOptions - Request-specific configuration.
482
491
  *
@@ -10,6 +10,7 @@ export declare namespace Survey {
10
10
  interface Raw extends SurveySummary.Raw {
11
11
  questions: SurveyQuestion.Raw[];
12
12
  minutes: number;
13
+ previewUrl?: string | null;
13
14
  teams: SurveyTeam.Raw[];
14
15
  people: SurveyPerson.Raw[];
15
16
  owners: SurveyPerson.Raw[];
@@ -8,6 +8,7 @@ export const Survey = core.serialization
8
8
  .object({
9
9
  questions: core.serialization.list(SurveyQuestion),
10
10
  minutes: core.serialization.number(),
11
+ previewUrl: core.serialization.string().optional(),
11
12
  teams: core.serialization.list(SurveyTeam),
12
13
  people: core.serialization.list(SurveyPerson),
13
14
  owners: core.serialization.list(SurveyPerson),
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "0.8.1";
1
+ export declare const SDK_VERSION = "0.8.3";
@@ -1 +1 @@
1
- export const SDK_VERSION = "0.8.1";
1
+ export const SDK_VERSION = "0.8.3";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@taktoria/sdk",
3
- "version": "0.8.1",
3
+ "version": "0.8.3",
4
4
  "private": false,
5
5
  "type": "commonjs",
6
6
  "main": "./dist/cjs/index.js",
package/reference.md CHANGED
@@ -6910,6 +6910,27 @@ await client.launches.update("launchId", {});
6910
6910
  <dl>
6911
6911
  <dd>
6912
6912
 
6913
+ #### 📝 Description
6914
+
6915
+ <dl>
6916
+ <dd>
6917
+
6918
+ <dl>
6919
+ <dd>
6920
+
6921
+ Delete a launch for good, with its steps, artifacts, links, comments,
6922
+ updates, insights and its link to a ticketing project, as **Delete
6923
+ launch** in its page's ⋯ menu does. It cannot be undone, and nobody is
6924
+ told; the workspace's audit log and LaunchCal's activity keep a
6925
+ `deleted` entry naming it. A draft or a launch that has launched can be
6926
+ deleted too. To hold a launch back instead, `PATCH` it with
6927
+ `draft: true`. Returns `204` with no body. Needs `launches:write`; a
6928
+ session of a **Viewer** of LaunchCal is refused with `403`.
6929
+ </dd>
6930
+ </dl>
6931
+ </dd>
6932
+ </dl>
6933
+
6913
6934
  #### 🔌 Usage
6914
6935
 
6915
6936
  <dl>