@taktoria/sdk 0.8.0 → 0.8.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.
@@ -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.0",
47
- "User-Agent": "@taktoria/sdk/0.8.0",
46
+ "X-Fern-SDK-Version": "0.8.2",
47
+ "User-Agent": "@taktoria/sdk/0.8.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);
@@ -1,6 +1,10 @@
1
1
  import type * as Taktoria from "../../../index.js";
2
2
  export interface Survey extends Taktoria.SurveySummary {
3
3
  questions: Taktoria.SurveyQuestion[];
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
+ 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;
4
8
  /** For a `TEAMS` survey. */
5
9
  teams: Taktoria.SurveyTeam[];
6
10
  /** For a `PEOPLE` survey. */
@@ -10,6 +10,7 @@ export interface SurveyInstrument {
10
10
  /** The credit each source requires, to be shown with its questions. */
11
11
  attributions: string[];
12
12
  dimensions: Taktoria.SurveyInstrumentDimension[];
13
+ /** About how many minutes it takes to answer, as a survey's `minutes`, with every level of leadership asked about. */
13
14
  minutes: number;
14
15
  questions: Taktoria.SurveyQuestion[];
15
16
  }
@@ -6,6 +6,8 @@ export interface SurveyTemplate {
6
6
  anonymous: boolean;
7
7
  minGroupSize: number;
8
8
  questions: Taktoria.SurveyQuestion[];
9
+ /** About how many minutes a survey of it takes to answer, as a survey's `minutes`, with every level of leadership asked about. */
10
+ minutes: number;
9
11
  createdById?: string;
10
12
  archived: boolean;
11
13
  createdAt: Date;
@@ -9,6 +9,8 @@ export declare const Survey: core.serialization.ObjectSchema<serializers.Survey.
9
9
  export declare namespace Survey {
10
10
  interface Raw extends SurveySummary.Raw {
11
11
  questions: SurveyQuestion.Raw[];
12
+ minutes: number;
13
+ previewUrl?: string | null;
12
14
  teams: SurveyTeam.Raw[];
13
15
  people: SurveyPerson.Raw[];
14
16
  owners: SurveyPerson.Raw[];
@@ -43,6 +43,8 @@ const SurveyTeam_js_1 = require("./SurveyTeam.js");
43
43
  exports.Survey = core.serialization
44
44
  .object({
45
45
  questions: core.serialization.list(SurveyQuestion_js_1.SurveyQuestion),
46
+ minutes: core.serialization.number(),
47
+ previewUrl: core.serialization.string().optional(),
46
48
  teams: core.serialization.list(SurveyTeam_js_1.SurveyTeam),
47
49
  people: core.serialization.list(SurveyPerson_js_1.SurveyPerson),
48
50
  owners: core.serialization.list(SurveyPerson_js_1.SurveyPerson),
@@ -11,6 +11,7 @@ export declare namespace SurveyTemplate {
11
11
  anonymous: boolean;
12
12
  minGroupSize: number;
13
13
  questions: SurveyQuestion.Raw[];
14
+ minutes: number;
14
15
  createdById?: string | null;
15
16
  archived: boolean;
16
17
  createdAt: string;
@@ -44,6 +44,7 @@ exports.SurveyTemplate = core.serialization.object({
44
44
  anonymous: core.serialization.boolean(),
45
45
  minGroupSize: core.serialization.number(),
46
46
  questions: core.serialization.list(SurveyQuestion_js_1.SurveyQuestion),
47
+ minutes: core.serialization.number(),
47
48
  createdById: core.serialization.string().optional(),
48
49
  archived: core.serialization.boolean(),
49
50
  createdAt: core.serialization.date(),
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "0.8.0";
1
+ export declare const SDK_VERSION = "0.8.2";
@@ -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.0";
4
+ exports.SDK_VERSION = "0.8.2";
@@ -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.0",
10
- "User-Agent": "@taktoria/sdk/0.8.0",
9
+ "X-Fern-SDK-Version": "0.8.2",
10
+ "User-Agent": "@taktoria/sdk/0.8.2",
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);
@@ -1,6 +1,10 @@
1
1
  import type * as Taktoria from "../../../index.mjs";
2
2
  export interface Survey extends Taktoria.SurveySummary {
3
3
  questions: Taktoria.SurveyQuestion[];
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
+ 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;
4
8
  /** For a `TEAMS` survey. */
5
9
  teams: Taktoria.SurveyTeam[];
6
10
  /** For a `PEOPLE` survey. */
@@ -10,6 +10,7 @@ export interface SurveyInstrument {
10
10
  /** The credit each source requires, to be shown with its questions. */
11
11
  attributions: string[];
12
12
  dimensions: Taktoria.SurveyInstrumentDimension[];
13
+ /** About how many minutes it takes to answer, as a survey's `minutes`, with every level of leadership asked about. */
13
14
  minutes: number;
14
15
  questions: Taktoria.SurveyQuestion[];
15
16
  }
@@ -6,6 +6,8 @@ export interface SurveyTemplate {
6
6
  anonymous: boolean;
7
7
  minGroupSize: number;
8
8
  questions: Taktoria.SurveyQuestion[];
9
+ /** About how many minutes a survey of it takes to answer, as a survey's `minutes`, with every level of leadership asked about. */
10
+ minutes: number;
9
11
  createdById?: string;
10
12
  archived: boolean;
11
13
  createdAt: Date;
@@ -9,6 +9,8 @@ export declare const Survey: core.serialization.ObjectSchema<serializers.Survey.
9
9
  export declare namespace Survey {
10
10
  interface Raw extends SurveySummary.Raw {
11
11
  questions: SurveyQuestion.Raw[];
12
+ minutes: number;
13
+ previewUrl?: string | null;
12
14
  teams: SurveyTeam.Raw[];
13
15
  people: SurveyPerson.Raw[];
14
16
  owners: SurveyPerson.Raw[];
@@ -7,6 +7,8 @@ import { SurveyTeam } from "./SurveyTeam.mjs";
7
7
  export const Survey = core.serialization
8
8
  .object({
9
9
  questions: core.serialization.list(SurveyQuestion),
10
+ minutes: core.serialization.number(),
11
+ previewUrl: core.serialization.string().optional(),
10
12
  teams: core.serialization.list(SurveyTeam),
11
13
  people: core.serialization.list(SurveyPerson),
12
14
  owners: core.serialization.list(SurveyPerson),
@@ -11,6 +11,7 @@ export declare namespace SurveyTemplate {
11
11
  anonymous: boolean;
12
12
  minGroupSize: number;
13
13
  questions: SurveyQuestion.Raw[];
14
+ minutes: number;
14
15
  createdById?: string | null;
15
16
  archived: boolean;
16
17
  createdAt: string;
@@ -8,6 +8,7 @@ export const SurveyTemplate = core.serialization.object({
8
8
  anonymous: core.serialization.boolean(),
9
9
  minGroupSize: core.serialization.number(),
10
10
  questions: core.serialization.list(SurveyQuestion),
11
+ minutes: core.serialization.number(),
11
12
  createdById: core.serialization.string().optional(),
12
13
  archived: core.serialization.boolean(),
13
14
  createdAt: core.serialization.date(),
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "0.8.0";
1
+ export declare const SDK_VERSION = "0.8.2";
@@ -1 +1 @@
1
- export const SDK_VERSION = "0.8.0";
1
+ export const SDK_VERSION = "0.8.2";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@taktoria/sdk",
3
- "version": "0.8.0",
3
+ "version": "0.8.2",
4
4
  "private": false,
5
5
  "type": "commonjs",
6
6
  "main": "./dist/cjs/index.js",