@taktoria/sdk 0.6.0 → 0.7.0
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/api/resources/geist/types/CreateSurveyRequest.d.ts +9 -0
- package/dist/cjs/api/resources/geist/types/SurveyInstrumentResearch.d.ts +9 -0
- package/dist/cjs/api/resources/geist/types/SurveyInstrumentResearch.js +3 -0
- package/dist/cjs/api/resources/geist/types/SurveyResults.d.ts +8 -1
- package/dist/cjs/api/resources/geist/types/SurveyResultsSurvey.d.ts +2 -0
- package/dist/cjs/api/resources/geist/types/SurveySummary.d.ts +5 -0
- package/dist/cjs/api/resources/geist/types/index.d.ts +1 -0
- package/dist/cjs/api/resources/geist/types/index.js +1 -0
- package/dist/cjs/serialization/resources/geist/types/CreateSurveyRequest.d.ts +1 -0
- package/dist/cjs/serialization/resources/geist/types/CreateSurveyRequest.js +1 -0
- package/dist/cjs/serialization/resources/geist/types/SurveyInstrumentResearch.d.ts +11 -0
- package/dist/cjs/serialization/resources/geist/types/SurveyInstrumentResearch.js +43 -0
- package/dist/cjs/serialization/resources/geist/types/SurveyResults.d.ts +2 -0
- package/dist/cjs/serialization/resources/geist/types/SurveyResults.js +2 -0
- package/dist/cjs/serialization/resources/geist/types/SurveyResultsSurvey.d.ts +1 -0
- package/dist/cjs/serialization/resources/geist/types/SurveyResultsSurvey.js +1 -0
- package/dist/cjs/serialization/resources/geist/types/SurveySummary.d.ts +1 -0
- package/dist/cjs/serialization/resources/geist/types/SurveySummary.js +1 -0
- package/dist/cjs/serialization/resources/geist/types/index.d.ts +1 -0
- package/dist/cjs/serialization/resources/geist/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/api/resources/geist/types/CreateSurveyRequest.d.mts +9 -0
- package/dist/esm/api/resources/geist/types/SurveyInstrumentResearch.d.mts +9 -0
- package/dist/esm/api/resources/geist/types/SurveyInstrumentResearch.mjs +2 -0
- package/dist/esm/api/resources/geist/types/SurveyResults.d.mts +8 -1
- package/dist/esm/api/resources/geist/types/SurveyResultsSurvey.d.mts +2 -0
- package/dist/esm/api/resources/geist/types/SurveySummary.d.mts +5 -0
- package/dist/esm/api/resources/geist/types/index.d.mts +1 -0
- package/dist/esm/api/resources/geist/types/index.mjs +1 -0
- package/dist/esm/serialization/resources/geist/types/CreateSurveyRequest.d.mts +1 -0
- package/dist/esm/serialization/resources/geist/types/CreateSurveyRequest.mjs +1 -0
- package/dist/esm/serialization/resources/geist/types/SurveyInstrumentResearch.d.mts +11 -0
- package/dist/esm/serialization/resources/geist/types/SurveyInstrumentResearch.mjs +7 -0
- package/dist/esm/serialization/resources/geist/types/SurveyResults.d.mts +2 -0
- package/dist/esm/serialization/resources/geist/types/SurveyResults.mjs +2 -0
- package/dist/esm/serialization/resources/geist/types/SurveyResultsSurvey.d.mts +1 -0
- package/dist/esm/serialization/resources/geist/types/SurveyResultsSurvey.mjs +1 -0
- package/dist/esm/serialization/resources/geist/types/SurveySummary.d.mts +1 -0
- package/dist/esm/serialization/resources/geist/types/SurveySummary.mjs +1 -0
- package/dist/esm/serialization/resources/geist/types/index.d.mts +1 -0
- package/dist/esm/serialization/resources/geist/types/index.mjs +1 -0
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +1 -1
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.
|
|
47
|
-
"User-Agent": "@taktoria/sdk/0.
|
|
46
|
+
"X-Fern-SDK-Version": "0.7.0",
|
|
47
|
+
"User-Agent": "@taktoria/sdk/0.7.0",
|
|
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);
|
|
@@ -4,6 +4,15 @@ export interface CreateSurveyRequest {
|
|
|
4
4
|
description?: string;
|
|
5
5
|
/** Start from a built-in instrument's questions. */
|
|
6
6
|
builtin?: string;
|
|
7
|
+
/**
|
|
8
|
+
* Two to six built-in instruments' keys, combined into one survey in
|
|
9
|
+
* this order: each on a page of its own, its questions and their
|
|
10
|
+
* order as published, so each validated one is still read as its
|
|
11
|
+
* publishers read it (`instrumentResearch` in the results). A
|
|
12
|
+
* question two of them share is asked once. Refused past 60
|
|
13
|
+
* questions.
|
|
14
|
+
*/
|
|
15
|
+
builtins?: string[];
|
|
7
16
|
/** Start from a workspace template's questions and settings. */
|
|
8
17
|
templateId?: string;
|
|
9
18
|
/** Or give the questions. */
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type * as Taktoria from "../../../index.js";
|
|
2
|
+
/**
|
|
3
|
+
* One built-in instrument's reading, in a survey combining several.
|
|
4
|
+
*/
|
|
5
|
+
export interface SurveyInstrumentResearch {
|
|
6
|
+
/** The instrument's key (`GET /geist/instruments`). */
|
|
7
|
+
builtin: string;
|
|
8
|
+
research: Taktoria.SurveyResearch;
|
|
9
|
+
}
|
|
@@ -34,9 +34,16 @@ export interface SurveyResults {
|
|
|
34
34
|
* What the instrument's own publishers say these results mean, for a
|
|
35
35
|
* survey from a built-in validated instrument. Absent for other
|
|
36
36
|
* surveys, when the results are hidden, or when nothing in it has
|
|
37
|
-
* enough answers to show.
|
|
37
|
+
* enough answers to show. A survey combining several has
|
|
38
|
+
* `instrumentResearch` instead.
|
|
38
39
|
*/
|
|
39
40
|
research?: Taktoria.SurveyResearch;
|
|
41
|
+
/**
|
|
42
|
+
* For a survey combining several built-in instruments: each one's
|
|
43
|
+
* own reading, from its own items wherever they were asked, under
|
|
44
|
+
* the same rules as `research`. Empty for any other survey.
|
|
45
|
+
*/
|
|
46
|
+
instrumentResearch: Taktoria.SurveyInstrumentResearch[];
|
|
40
47
|
/** Each level of leadership its `aboutLeader` questions asked about; empty with none. */
|
|
41
48
|
leadership: Taktoria.SurveyLeaderLevelResult[];
|
|
42
49
|
}
|
|
@@ -9,6 +9,11 @@ export interface SurveySummary {
|
|
|
9
9
|
status: Taktoria.SurveyStatus;
|
|
10
10
|
/** The built-in instrument it started from (`GET /geist/instruments`). */
|
|
11
11
|
builtin?: string;
|
|
12
|
+
/**
|
|
13
|
+
* Every built-in instrument it asks, in order: one for a survey from
|
|
14
|
+
* one, several for a survey combining them, none otherwise.
|
|
15
|
+
*/
|
|
16
|
+
builtins: string[];
|
|
12
17
|
/** The workspace template it started from. */
|
|
13
18
|
templateId?: string;
|
|
14
19
|
/** No answer is tied to anybody. Fixed once it opens. */
|
|
@@ -12,6 +12,7 @@ export * from "./SurveyDimensionResult.js";
|
|
|
12
12
|
export * from "./SurveyInstrument.js";
|
|
13
13
|
export * from "./SurveyInstrumentDimension.js";
|
|
14
14
|
export * from "./SurveyInstrumentList.js";
|
|
15
|
+
export * from "./SurveyInstrumentResearch.js";
|
|
15
16
|
export * from "./SurveyLeaderFeedback.js";
|
|
16
17
|
export * from "./SurveyLeaderFeedbackLevel.js";
|
|
17
18
|
export * from "./SurveyLeaderFeedbackList.js";
|
|
@@ -28,6 +28,7 @@ __exportStar(require("./SurveyDimensionResult.js"), exports);
|
|
|
28
28
|
__exportStar(require("./SurveyInstrument.js"), exports);
|
|
29
29
|
__exportStar(require("./SurveyInstrumentDimension.js"), exports);
|
|
30
30
|
__exportStar(require("./SurveyInstrumentList.js"), exports);
|
|
31
|
+
__exportStar(require("./SurveyInstrumentResearch.js"), exports);
|
|
31
32
|
__exportStar(require("./SurveyLeaderFeedback.js"), exports);
|
|
32
33
|
__exportStar(require("./SurveyLeaderFeedbackLevel.js"), exports);
|
|
33
34
|
__exportStar(require("./SurveyLeaderFeedbackList.js"), exports);
|
|
@@ -41,6 +41,7 @@ exports.CreateSurveyRequest = core.serialization.object({
|
|
|
41
41
|
title: core.serialization.string(),
|
|
42
42
|
description: core.serialization.string().optional(),
|
|
43
43
|
builtin: core.serialization.string().optional(),
|
|
44
|
+
builtins: core.serialization.list(core.serialization.string()).optional(),
|
|
44
45
|
templateId: core.serialization.string().optional(),
|
|
45
46
|
questions: core.serialization.list(SurveyQuestionInput_js_1.SurveyQuestionInput).optional(),
|
|
46
47
|
});
|
|
@@ -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
|
+
import { SurveyResearch } from "./SurveyResearch.js";
|
|
5
|
+
export declare const SurveyInstrumentResearch: core.serialization.ObjectSchema<serializers.SurveyInstrumentResearch.Raw, Taktoria.SurveyInstrumentResearch>;
|
|
6
|
+
export declare namespace SurveyInstrumentResearch {
|
|
7
|
+
interface Raw {
|
|
8
|
+
builtin: string;
|
|
9
|
+
research: SurveyResearch.Raw;
|
|
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.SurveyInstrumentResearch = void 0;
|
|
38
|
+
const core = __importStar(require("../../../../core/index.js"));
|
|
39
|
+
const SurveyResearch_js_1 = require("./SurveyResearch.js");
|
|
40
|
+
exports.SurveyInstrumentResearch = core.serialization.object({
|
|
41
|
+
builtin: core.serialization.string(),
|
|
42
|
+
research: SurveyResearch_js_1.SurveyResearch,
|
|
43
|
+
});
|
|
@@ -3,6 +3,7 @@ import * as core from "../../../../core/index.js";
|
|
|
3
3
|
import type * as serializers from "../../../index.js";
|
|
4
4
|
import { SurveyComparison } from "./SurveyComparison.js";
|
|
5
5
|
import { SurveyDimensionResult } from "./SurveyDimensionResult.js";
|
|
6
|
+
import { SurveyInstrumentResearch } from "./SurveyInstrumentResearch.js";
|
|
6
7
|
import { SurveyLeaderLevelResult } from "./SurveyLeaderLevelResult.js";
|
|
7
8
|
import { SurveyQuestionResult } from "./SurveyQuestionResult.js";
|
|
8
9
|
import { SurveyResearch } from "./SurveyResearch.js";
|
|
@@ -28,6 +29,7 @@ export declare namespace SurveyResults {
|
|
|
28
29
|
comparison?: SurveyComparison.Raw | null;
|
|
29
30
|
respondents?: SurveyRespondent.Raw[] | null;
|
|
30
31
|
research?: SurveyResearch.Raw | null;
|
|
32
|
+
instrumentResearch: SurveyInstrumentResearch.Raw[];
|
|
31
33
|
leadership: SurveyLeaderLevelResult.Raw[];
|
|
32
34
|
}
|
|
33
35
|
}
|
|
@@ -38,6 +38,7 @@ exports.SurveyResults = void 0;
|
|
|
38
38
|
const core = __importStar(require("../../../../core/index.js"));
|
|
39
39
|
const SurveyComparison_js_1 = require("./SurveyComparison.js");
|
|
40
40
|
const SurveyDimensionResult_js_1 = require("./SurveyDimensionResult.js");
|
|
41
|
+
const SurveyInstrumentResearch_js_1 = require("./SurveyInstrumentResearch.js");
|
|
41
42
|
const SurveyLeaderLevelResult_js_1 = require("./SurveyLeaderLevelResult.js");
|
|
42
43
|
const SurveyQuestionResult_js_1 = require("./SurveyQuestionResult.js");
|
|
43
44
|
const SurveyResearch_js_1 = require("./SurveyResearch.js");
|
|
@@ -61,5 +62,6 @@ exports.SurveyResults = core.serialization.object({
|
|
|
61
62
|
comparison: SurveyComparison_js_1.SurveyComparison.optional(),
|
|
62
63
|
respondents: core.serialization.list(SurveyRespondent_js_1.SurveyRespondent).optional(),
|
|
63
64
|
research: SurveyResearch_js_1.SurveyResearch.optional(),
|
|
65
|
+
instrumentResearch: core.serialization.list(SurveyInstrumentResearch_js_1.SurveyInstrumentResearch),
|
|
64
66
|
leadership: core.serialization.list(SurveyLeaderLevelResult_js_1.SurveyLeaderLevelResult),
|
|
65
67
|
});
|
|
@@ -44,6 +44,7 @@ exports.SurveyResultsSurvey = core.serialization.object({
|
|
|
44
44
|
anonymous: core.serialization.boolean(),
|
|
45
45
|
minGroupSize: core.serialization.number(),
|
|
46
46
|
builtin: core.serialization.string().optional(),
|
|
47
|
+
builtins: core.serialization.list(core.serialization.string()),
|
|
47
48
|
openedAt: core.serialization.date().optional(),
|
|
48
49
|
closesAt: core.serialization.date().optional(),
|
|
49
50
|
closedAt: core.serialization.date().optional(),
|
|
@@ -47,6 +47,7 @@ exports.SurveySummary = core.serialization.object({
|
|
|
47
47
|
description: core.serialization.string().optional(),
|
|
48
48
|
status: SurveyStatus_js_1.SurveyStatus,
|
|
49
49
|
builtin: core.serialization.string().optional(),
|
|
50
|
+
builtins: core.serialization.list(core.serialization.string()),
|
|
50
51
|
templateId: core.serialization.string().optional(),
|
|
51
52
|
anonymous: core.serialization.boolean(),
|
|
52
53
|
minGroupSize: core.serialization.number(),
|
|
@@ -12,6 +12,7 @@ export * from "./SurveyDimensionResult.js";
|
|
|
12
12
|
export * from "./SurveyInstrument.js";
|
|
13
13
|
export * from "./SurveyInstrumentDimension.js";
|
|
14
14
|
export * from "./SurveyInstrumentList.js";
|
|
15
|
+
export * from "./SurveyInstrumentResearch.js";
|
|
15
16
|
export * from "./SurveyLeaderFeedback.js";
|
|
16
17
|
export * from "./SurveyLeaderFeedbackLevel.js";
|
|
17
18
|
export * from "./SurveyLeaderFeedbackList.js";
|
|
@@ -28,6 +28,7 @@ __exportStar(require("./SurveyDimensionResult.js"), exports);
|
|
|
28
28
|
__exportStar(require("./SurveyInstrument.js"), exports);
|
|
29
29
|
__exportStar(require("./SurveyInstrumentDimension.js"), exports);
|
|
30
30
|
__exportStar(require("./SurveyInstrumentList.js"), exports);
|
|
31
|
+
__exportStar(require("./SurveyInstrumentResearch.js"), exports);
|
|
31
32
|
__exportStar(require("./SurveyLeaderFeedback.js"), exports);
|
|
32
33
|
__exportStar(require("./SurveyLeaderFeedbackLevel.js"), exports);
|
|
33
34
|
__exportStar(require("./SurveyLeaderFeedbackList.js"), exports);
|
package/dist/cjs/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "0.
|
|
1
|
+
export declare const SDK_VERSION = "0.7.0";
|
package/dist/cjs/version.js
CHANGED
package/dist/esm/BaseClient.mjs
CHANGED
|
@@ -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.
|
|
10
|
-
"User-Agent": "@taktoria/sdk/0.
|
|
9
|
+
"X-Fern-SDK-Version": "0.7.0",
|
|
10
|
+
"User-Agent": "@taktoria/sdk/0.7.0",
|
|
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);
|
|
@@ -4,6 +4,15 @@ export interface CreateSurveyRequest {
|
|
|
4
4
|
description?: string;
|
|
5
5
|
/** Start from a built-in instrument's questions. */
|
|
6
6
|
builtin?: string;
|
|
7
|
+
/**
|
|
8
|
+
* Two to six built-in instruments' keys, combined into one survey in
|
|
9
|
+
* this order: each on a page of its own, its questions and their
|
|
10
|
+
* order as published, so each validated one is still read as its
|
|
11
|
+
* publishers read it (`instrumentResearch` in the results). A
|
|
12
|
+
* question two of them share is asked once. Refused past 60
|
|
13
|
+
* questions.
|
|
14
|
+
*/
|
|
15
|
+
builtins?: string[];
|
|
7
16
|
/** Start from a workspace template's questions and settings. */
|
|
8
17
|
templateId?: string;
|
|
9
18
|
/** Or give the questions. */
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type * as Taktoria from "../../../index.mjs";
|
|
2
|
+
/**
|
|
3
|
+
* One built-in instrument's reading, in a survey combining several.
|
|
4
|
+
*/
|
|
5
|
+
export interface SurveyInstrumentResearch {
|
|
6
|
+
/** The instrument's key (`GET /geist/instruments`). */
|
|
7
|
+
builtin: string;
|
|
8
|
+
research: Taktoria.SurveyResearch;
|
|
9
|
+
}
|
|
@@ -34,9 +34,16 @@ export interface SurveyResults {
|
|
|
34
34
|
* What the instrument's own publishers say these results mean, for a
|
|
35
35
|
* survey from a built-in validated instrument. Absent for other
|
|
36
36
|
* surveys, when the results are hidden, or when nothing in it has
|
|
37
|
-
* enough answers to show.
|
|
37
|
+
* enough answers to show. A survey combining several has
|
|
38
|
+
* `instrumentResearch` instead.
|
|
38
39
|
*/
|
|
39
40
|
research?: Taktoria.SurveyResearch;
|
|
41
|
+
/**
|
|
42
|
+
* For a survey combining several built-in instruments: each one's
|
|
43
|
+
* own reading, from its own items wherever they were asked, under
|
|
44
|
+
* the same rules as `research`. Empty for any other survey.
|
|
45
|
+
*/
|
|
46
|
+
instrumentResearch: Taktoria.SurveyInstrumentResearch[];
|
|
40
47
|
/** Each level of leadership its `aboutLeader` questions asked about; empty with none. */
|
|
41
48
|
leadership: Taktoria.SurveyLeaderLevelResult[];
|
|
42
49
|
}
|
|
@@ -9,6 +9,11 @@ export interface SurveySummary {
|
|
|
9
9
|
status: Taktoria.SurveyStatus;
|
|
10
10
|
/** The built-in instrument it started from (`GET /geist/instruments`). */
|
|
11
11
|
builtin?: string;
|
|
12
|
+
/**
|
|
13
|
+
* Every built-in instrument it asks, in order: one for a survey from
|
|
14
|
+
* one, several for a survey combining them, none otherwise.
|
|
15
|
+
*/
|
|
16
|
+
builtins: string[];
|
|
12
17
|
/** The workspace template it started from. */
|
|
13
18
|
templateId?: string;
|
|
14
19
|
/** No answer is tied to anybody. Fixed once it opens. */
|
|
@@ -12,6 +12,7 @@ export * from "./SurveyDimensionResult.mjs";
|
|
|
12
12
|
export * from "./SurveyInstrument.mjs";
|
|
13
13
|
export * from "./SurveyInstrumentDimension.mjs";
|
|
14
14
|
export * from "./SurveyInstrumentList.mjs";
|
|
15
|
+
export * from "./SurveyInstrumentResearch.mjs";
|
|
15
16
|
export * from "./SurveyLeaderFeedback.mjs";
|
|
16
17
|
export * from "./SurveyLeaderFeedbackLevel.mjs";
|
|
17
18
|
export * from "./SurveyLeaderFeedbackList.mjs";
|
|
@@ -12,6 +12,7 @@ export * from "./SurveyDimensionResult.mjs";
|
|
|
12
12
|
export * from "./SurveyInstrument.mjs";
|
|
13
13
|
export * from "./SurveyInstrumentDimension.mjs";
|
|
14
14
|
export * from "./SurveyInstrumentList.mjs";
|
|
15
|
+
export * from "./SurveyInstrumentResearch.mjs";
|
|
15
16
|
export * from "./SurveyLeaderFeedback.mjs";
|
|
16
17
|
export * from "./SurveyLeaderFeedbackLevel.mjs";
|
|
17
18
|
export * from "./SurveyLeaderFeedbackList.mjs";
|
|
@@ -5,6 +5,7 @@ export const CreateSurveyRequest = core.serialization.object({
|
|
|
5
5
|
title: core.serialization.string(),
|
|
6
6
|
description: core.serialization.string().optional(),
|
|
7
7
|
builtin: core.serialization.string().optional(),
|
|
8
|
+
builtins: core.serialization.list(core.serialization.string()).optional(),
|
|
8
9
|
templateId: core.serialization.string().optional(),
|
|
9
10
|
questions: core.serialization.list(SurveyQuestionInput).optional(),
|
|
10
11
|
});
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type * as Taktoria from "../../../../api/index.mjs";
|
|
2
|
+
import * as core from "../../../../core/index.mjs";
|
|
3
|
+
import type * as serializers from "../../../index.mjs";
|
|
4
|
+
import { SurveyResearch } from "./SurveyResearch.mjs";
|
|
5
|
+
export declare const SurveyInstrumentResearch: core.serialization.ObjectSchema<serializers.SurveyInstrumentResearch.Raw, Taktoria.SurveyInstrumentResearch>;
|
|
6
|
+
export declare namespace SurveyInstrumentResearch {
|
|
7
|
+
interface Raw {
|
|
8
|
+
builtin: string;
|
|
9
|
+
research: SurveyResearch.Raw;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
import * as core from "../../../../core/index.mjs";
|
|
3
|
+
import { SurveyResearch } from "./SurveyResearch.mjs";
|
|
4
|
+
export const SurveyInstrumentResearch = core.serialization.object({
|
|
5
|
+
builtin: core.serialization.string(),
|
|
6
|
+
research: SurveyResearch,
|
|
7
|
+
});
|
|
@@ -3,6 +3,7 @@ import * as core from "../../../../core/index.mjs";
|
|
|
3
3
|
import type * as serializers from "../../../index.mjs";
|
|
4
4
|
import { SurveyComparison } from "./SurveyComparison.mjs";
|
|
5
5
|
import { SurveyDimensionResult } from "./SurveyDimensionResult.mjs";
|
|
6
|
+
import { SurveyInstrumentResearch } from "./SurveyInstrumentResearch.mjs";
|
|
6
7
|
import { SurveyLeaderLevelResult } from "./SurveyLeaderLevelResult.mjs";
|
|
7
8
|
import { SurveyQuestionResult } from "./SurveyQuestionResult.mjs";
|
|
8
9
|
import { SurveyResearch } from "./SurveyResearch.mjs";
|
|
@@ -28,6 +29,7 @@ export declare namespace SurveyResults {
|
|
|
28
29
|
comparison?: SurveyComparison.Raw | null;
|
|
29
30
|
respondents?: SurveyRespondent.Raw[] | null;
|
|
30
31
|
research?: SurveyResearch.Raw | null;
|
|
32
|
+
instrumentResearch: SurveyInstrumentResearch.Raw[];
|
|
31
33
|
leadership: SurveyLeaderLevelResult.Raw[];
|
|
32
34
|
}
|
|
33
35
|
}
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
import * as core from "../../../../core/index.mjs";
|
|
3
3
|
import { SurveyComparison } from "./SurveyComparison.mjs";
|
|
4
4
|
import { SurveyDimensionResult } from "./SurveyDimensionResult.mjs";
|
|
5
|
+
import { SurveyInstrumentResearch } from "./SurveyInstrumentResearch.mjs";
|
|
5
6
|
import { SurveyLeaderLevelResult } from "./SurveyLeaderLevelResult.mjs";
|
|
6
7
|
import { SurveyQuestionResult } from "./SurveyQuestionResult.mjs";
|
|
7
8
|
import { SurveyResearch } from "./SurveyResearch.mjs";
|
|
@@ -25,5 +26,6 @@ export const SurveyResults = core.serialization.object({
|
|
|
25
26
|
comparison: SurveyComparison.optional(),
|
|
26
27
|
respondents: core.serialization.list(SurveyRespondent).optional(),
|
|
27
28
|
research: SurveyResearch.optional(),
|
|
29
|
+
instrumentResearch: core.serialization.list(SurveyInstrumentResearch),
|
|
28
30
|
leadership: core.serialization.list(SurveyLeaderLevelResult),
|
|
29
31
|
});
|
|
@@ -8,6 +8,7 @@ export const SurveyResultsSurvey = core.serialization.object({
|
|
|
8
8
|
anonymous: core.serialization.boolean(),
|
|
9
9
|
minGroupSize: core.serialization.number(),
|
|
10
10
|
builtin: core.serialization.string().optional(),
|
|
11
|
+
builtins: core.serialization.list(core.serialization.string()),
|
|
11
12
|
openedAt: core.serialization.date().optional(),
|
|
12
13
|
closesAt: core.serialization.date().optional(),
|
|
13
14
|
closedAt: core.serialization.date().optional(),
|
|
@@ -11,6 +11,7 @@ export const SurveySummary = core.serialization.object({
|
|
|
11
11
|
description: core.serialization.string().optional(),
|
|
12
12
|
status: SurveyStatus,
|
|
13
13
|
builtin: core.serialization.string().optional(),
|
|
14
|
+
builtins: core.serialization.list(core.serialization.string()),
|
|
14
15
|
templateId: core.serialization.string().optional(),
|
|
15
16
|
anonymous: core.serialization.boolean(),
|
|
16
17
|
minGroupSize: core.serialization.number(),
|
|
@@ -12,6 +12,7 @@ export * from "./SurveyDimensionResult.mjs";
|
|
|
12
12
|
export * from "./SurveyInstrument.mjs";
|
|
13
13
|
export * from "./SurveyInstrumentDimension.mjs";
|
|
14
14
|
export * from "./SurveyInstrumentList.mjs";
|
|
15
|
+
export * from "./SurveyInstrumentResearch.mjs";
|
|
15
16
|
export * from "./SurveyLeaderFeedback.mjs";
|
|
16
17
|
export * from "./SurveyLeaderFeedbackLevel.mjs";
|
|
17
18
|
export * from "./SurveyLeaderFeedbackList.mjs";
|
|
@@ -12,6 +12,7 @@ export * from "./SurveyDimensionResult.mjs";
|
|
|
12
12
|
export * from "./SurveyInstrument.mjs";
|
|
13
13
|
export * from "./SurveyInstrumentDimension.mjs";
|
|
14
14
|
export * from "./SurveyInstrumentList.mjs";
|
|
15
|
+
export * from "./SurveyInstrumentResearch.mjs";
|
|
15
16
|
export * from "./SurveyLeaderFeedback.mjs";
|
|
16
17
|
export * from "./SurveyLeaderFeedbackLevel.mjs";
|
|
17
18
|
export * from "./SurveyLeaderFeedbackList.mjs";
|
package/dist/esm/version.d.mts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "0.
|
|
1
|
+
export declare const SDK_VERSION = "0.7.0";
|
package/dist/esm/version.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const SDK_VERSION = "0.
|
|
1
|
+
export const SDK_VERSION = "0.7.0";
|