@taktoria/sdk 0.7.0 → 0.8.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/client/Client.d.ts +15 -10
- package/dist/cjs/api/resources/geist/client/Client.js +15 -10
- 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/client/Client.d.mts +15 -10
- package/dist/esm/api/resources/geist/client/Client.mjs +15 -10
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +1 -1
- package/reference.md +15 -10
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.8.0",
|
|
47
|
+
"User-Agent": "@taktoria/sdk/0.8.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);
|
|
@@ -33,9 +33,10 @@ export declare class GeistClient {
|
|
|
33
33
|
listSurveys(request?: Taktoria.ListSurveysRequest, requestOptions?: GeistClient.RequestOptions): core.HttpResponsePromise<Taktoria.SurveyPage>;
|
|
34
34
|
private __listSurveys;
|
|
35
35
|
/**
|
|
36
|
-
* A new draft, from a built-in instrument (`builtin`),
|
|
37
|
-
*
|
|
38
|
-
*
|
|
36
|
+
* A new draft, from a built-in instrument (`builtin`), several combined
|
|
37
|
+
* into one (`builtins`: a page each, each still read as its publishers
|
|
38
|
+
* read it), a workspace template (`templateId`), the `questions` given,
|
|
39
|
+
* or none yet. Nobody is asked until it is published.
|
|
39
40
|
*
|
|
40
41
|
* @param {Taktoria.CreateSurveyRequest} request
|
|
41
42
|
* @param {GeistClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -108,7 +109,9 @@ export declare class GeistClient {
|
|
|
108
109
|
deleteSurvey(surveyId: string, request?: Taktoria.DeleteSurveyRequest, requestOptions?: GeistClient.RequestOptions): core.HttpResponsePromise<void>;
|
|
109
110
|
private __deleteSurvey;
|
|
110
111
|
/**
|
|
111
|
-
* Replace a draft's (or a scheduled survey's) questions, in order.
|
|
112
|
+
* Replace a draft's (or a scheduled survey's) questions, in order. A
|
|
113
|
+
* question's `section` starts a new page there; respondents see one
|
|
114
|
+
* page at a time. `409` once it has opened.
|
|
112
115
|
*
|
|
113
116
|
* @param {string} surveyId
|
|
114
117
|
* @param {Taktoria.SetQuestionsRequest} request
|
|
@@ -223,7 +226,9 @@ export declare class GeistClient {
|
|
|
223
226
|
/**
|
|
224
227
|
* A survey's results, as its results page shows them. Aggregates only;
|
|
225
228
|
* nothing but the counts below its `minGroupSize`, or while an anonymous
|
|
226
|
-
* survey is still open.
|
|
229
|
+
* survey is still open. A built-in validated survey carries its
|
|
230
|
+
* publishers' own reading in `research`; one combining several carries
|
|
231
|
+
* each one's in `instrumentResearch`. For those who run it,
|
|
227
232
|
* and (signed in) for people a closed survey's results were shared with.
|
|
228
233
|
* Has a rate limit of its own.
|
|
229
234
|
*
|
|
@@ -304,11 +309,11 @@ export declare class GeistClient {
|
|
|
304
309
|
listMyLeadershipFeedback(requestOptions?: GeistClient.RequestOptions): core.HttpResponsePromise<Taktoria.SurveyLeaderFeedbackList>;
|
|
305
310
|
private __listMyLeadershipFeedback;
|
|
306
311
|
/**
|
|
307
|
-
* The built-in surveys: validated instruments
|
|
308
|
-
*
|
|
309
|
-
*
|
|
310
|
-
*
|
|
311
|
-
*
|
|
312
|
+
* The built-in surveys: validated instruments (HSE Management
|
|
313
|
+
* Standards, Copenhagen Burnout Inventory, NIOSH WellBQ, US federal
|
|
314
|
+
* workforce surveys) and Taktoria's own, marked `validated: false`,
|
|
315
|
+
* each with the credit its sources require. Start a survey from one
|
|
316
|
+
* with `builtin`, or from several combined into one with `builtins`.
|
|
312
317
|
*
|
|
313
318
|
* @param {GeistClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
314
319
|
*
|
|
@@ -172,9 +172,10 @@ class GeistClient {
|
|
|
172
172
|
});
|
|
173
173
|
}
|
|
174
174
|
/**
|
|
175
|
-
* A new draft, from a built-in instrument (`builtin`),
|
|
176
|
-
*
|
|
177
|
-
*
|
|
175
|
+
* A new draft, from a built-in instrument (`builtin`), several combined
|
|
176
|
+
* into one (`builtins`: a page each, each still read as its publishers
|
|
177
|
+
* read it), a workspace template (`templateId`), the `questions` given,
|
|
178
|
+
* or none yet. Nobody is asked until it is published.
|
|
178
179
|
*
|
|
179
180
|
* @param {Taktoria.CreateSurveyRequest} request
|
|
180
181
|
* @param {GeistClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -546,7 +547,9 @@ class GeistClient {
|
|
|
546
547
|
});
|
|
547
548
|
}
|
|
548
549
|
/**
|
|
549
|
-
* Replace a draft's (or a scheduled survey's) questions, in order.
|
|
550
|
+
* Replace a draft's (or a scheduled survey's) questions, in order. A
|
|
551
|
+
* question's `section` starts a new page there; respondents see one
|
|
552
|
+
* page at a time. `409` once it has opened.
|
|
550
553
|
*
|
|
551
554
|
* @param {string} surveyId
|
|
552
555
|
* @param {Taktoria.SetQuestionsRequest} request
|
|
@@ -1063,7 +1066,9 @@ class GeistClient {
|
|
|
1063
1066
|
/**
|
|
1064
1067
|
* A survey's results, as its results page shows them. Aggregates only;
|
|
1065
1068
|
* nothing but the counts below its `minGroupSize`, or while an anonymous
|
|
1066
|
-
* survey is still open.
|
|
1069
|
+
* survey is still open. A built-in validated survey carries its
|
|
1070
|
+
* publishers' own reading in `research`; one combining several carries
|
|
1071
|
+
* each one's in `instrumentResearch`. For those who run it,
|
|
1067
1072
|
* and (signed in) for people a closed survey's results were shared with.
|
|
1068
1073
|
* Has a rate limit of its own.
|
|
1069
1074
|
*
|
|
@@ -1416,11 +1421,11 @@ class GeistClient {
|
|
|
1416
1421
|
});
|
|
1417
1422
|
}
|
|
1418
1423
|
/**
|
|
1419
|
-
* The built-in surveys: validated instruments
|
|
1420
|
-
*
|
|
1421
|
-
*
|
|
1422
|
-
*
|
|
1423
|
-
*
|
|
1424
|
+
* The built-in surveys: validated instruments (HSE Management
|
|
1425
|
+
* Standards, Copenhagen Burnout Inventory, NIOSH WellBQ, US federal
|
|
1426
|
+
* workforce surveys) and Taktoria's own, marked `validated: false`,
|
|
1427
|
+
* each with the credit its sources require. Start a survey from one
|
|
1428
|
+
* with `builtin`, or from several combined into one with `builtins`.
|
|
1424
1429
|
*
|
|
1425
1430
|
* @param {GeistClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
1426
1431
|
*
|
package/dist/cjs/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "0.
|
|
1
|
+
export declare const SDK_VERSION = "0.8.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.8.0",
|
|
10
|
+
"User-Agent": "@taktoria/sdk/0.8.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);
|
|
@@ -33,9 +33,10 @@ export declare class GeistClient {
|
|
|
33
33
|
listSurveys(request?: Taktoria.ListSurveysRequest, requestOptions?: GeistClient.RequestOptions): core.HttpResponsePromise<Taktoria.SurveyPage>;
|
|
34
34
|
private __listSurveys;
|
|
35
35
|
/**
|
|
36
|
-
* A new draft, from a built-in instrument (`builtin`),
|
|
37
|
-
*
|
|
38
|
-
*
|
|
36
|
+
* A new draft, from a built-in instrument (`builtin`), several combined
|
|
37
|
+
* into one (`builtins`: a page each, each still read as its publishers
|
|
38
|
+
* read it), a workspace template (`templateId`), the `questions` given,
|
|
39
|
+
* or none yet. Nobody is asked until it is published.
|
|
39
40
|
*
|
|
40
41
|
* @param {Taktoria.CreateSurveyRequest} request
|
|
41
42
|
* @param {GeistClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -108,7 +109,9 @@ export declare class GeistClient {
|
|
|
108
109
|
deleteSurvey(surveyId: string, request?: Taktoria.DeleteSurveyRequest, requestOptions?: GeistClient.RequestOptions): core.HttpResponsePromise<void>;
|
|
109
110
|
private __deleteSurvey;
|
|
110
111
|
/**
|
|
111
|
-
* Replace a draft's (or a scheduled survey's) questions, in order.
|
|
112
|
+
* Replace a draft's (or a scheduled survey's) questions, in order. A
|
|
113
|
+
* question's `section` starts a new page there; respondents see one
|
|
114
|
+
* page at a time. `409` once it has opened.
|
|
112
115
|
*
|
|
113
116
|
* @param {string} surveyId
|
|
114
117
|
* @param {Taktoria.SetQuestionsRequest} request
|
|
@@ -223,7 +226,9 @@ export declare class GeistClient {
|
|
|
223
226
|
/**
|
|
224
227
|
* A survey's results, as its results page shows them. Aggregates only;
|
|
225
228
|
* nothing but the counts below its `minGroupSize`, or while an anonymous
|
|
226
|
-
* survey is still open.
|
|
229
|
+
* survey is still open. A built-in validated survey carries its
|
|
230
|
+
* publishers' own reading in `research`; one combining several carries
|
|
231
|
+
* each one's in `instrumentResearch`. For those who run it,
|
|
227
232
|
* and (signed in) for people a closed survey's results were shared with.
|
|
228
233
|
* Has a rate limit of its own.
|
|
229
234
|
*
|
|
@@ -304,11 +309,11 @@ export declare class GeistClient {
|
|
|
304
309
|
listMyLeadershipFeedback(requestOptions?: GeistClient.RequestOptions): core.HttpResponsePromise<Taktoria.SurveyLeaderFeedbackList>;
|
|
305
310
|
private __listMyLeadershipFeedback;
|
|
306
311
|
/**
|
|
307
|
-
* The built-in surveys: validated instruments
|
|
308
|
-
*
|
|
309
|
-
*
|
|
310
|
-
*
|
|
311
|
-
*
|
|
312
|
+
* The built-in surveys: validated instruments (HSE Management
|
|
313
|
+
* Standards, Copenhagen Burnout Inventory, NIOSH WellBQ, US federal
|
|
314
|
+
* workforce surveys) and Taktoria's own, marked `validated: false`,
|
|
315
|
+
* each with the credit its sources require. Start a survey from one
|
|
316
|
+
* with `builtin`, or from several combined into one with `builtins`.
|
|
312
317
|
*
|
|
313
318
|
* @param {GeistClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
314
319
|
*
|
|
@@ -136,9 +136,10 @@ export class GeistClient {
|
|
|
136
136
|
});
|
|
137
137
|
}
|
|
138
138
|
/**
|
|
139
|
-
* A new draft, from a built-in instrument (`builtin`),
|
|
140
|
-
*
|
|
141
|
-
*
|
|
139
|
+
* A new draft, from a built-in instrument (`builtin`), several combined
|
|
140
|
+
* into one (`builtins`: a page each, each still read as its publishers
|
|
141
|
+
* read it), a workspace template (`templateId`), the `questions` given,
|
|
142
|
+
* or none yet. Nobody is asked until it is published.
|
|
142
143
|
*
|
|
143
144
|
* @param {Taktoria.CreateSurveyRequest} request
|
|
144
145
|
* @param {GeistClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -510,7 +511,9 @@ export class GeistClient {
|
|
|
510
511
|
});
|
|
511
512
|
}
|
|
512
513
|
/**
|
|
513
|
-
* Replace a draft's (or a scheduled survey's) questions, in order.
|
|
514
|
+
* Replace a draft's (or a scheduled survey's) questions, in order. A
|
|
515
|
+
* question's `section` starts a new page there; respondents see one
|
|
516
|
+
* page at a time. `409` once it has opened.
|
|
514
517
|
*
|
|
515
518
|
* @param {string} surveyId
|
|
516
519
|
* @param {Taktoria.SetQuestionsRequest} request
|
|
@@ -1027,7 +1030,9 @@ export class GeistClient {
|
|
|
1027
1030
|
/**
|
|
1028
1031
|
* A survey's results, as its results page shows them. Aggregates only;
|
|
1029
1032
|
* nothing but the counts below its `minGroupSize`, or while an anonymous
|
|
1030
|
-
* survey is still open.
|
|
1033
|
+
* survey is still open. A built-in validated survey carries its
|
|
1034
|
+
* publishers' own reading in `research`; one combining several carries
|
|
1035
|
+
* each one's in `instrumentResearch`. For those who run it,
|
|
1031
1036
|
* and (signed in) for people a closed survey's results were shared with.
|
|
1032
1037
|
* Has a rate limit of its own.
|
|
1033
1038
|
*
|
|
@@ -1380,11 +1385,11 @@ export class GeistClient {
|
|
|
1380
1385
|
});
|
|
1381
1386
|
}
|
|
1382
1387
|
/**
|
|
1383
|
-
* The built-in surveys: validated instruments
|
|
1384
|
-
*
|
|
1385
|
-
*
|
|
1386
|
-
*
|
|
1387
|
-
*
|
|
1388
|
+
* The built-in surveys: validated instruments (HSE Management
|
|
1389
|
+
* Standards, Copenhagen Burnout Inventory, NIOSH WellBQ, US federal
|
|
1390
|
+
* workforce surveys) and Taktoria's own, marked `validated: false`,
|
|
1391
|
+
* each with the credit its sources require. Start a survey from one
|
|
1392
|
+
* with `builtin`, or from several combined into one with `builtins`.
|
|
1388
1393
|
*
|
|
1389
1394
|
* @param {GeistClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
1390
1395
|
*
|
package/dist/esm/version.d.mts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "0.
|
|
1
|
+
export declare const SDK_VERSION = "0.8.0";
|
package/dist/esm/version.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const SDK_VERSION = "0.
|
|
1
|
+
export const SDK_VERSION = "0.8.0";
|
package/package.json
CHANGED
package/reference.md
CHANGED
|
@@ -4141,9 +4141,10 @@ await client.geist.listSurveys();
|
|
|
4141
4141
|
<dl>
|
|
4142
4142
|
<dd>
|
|
4143
4143
|
|
|
4144
|
-
A new draft, from a built-in instrument (`builtin`),
|
|
4145
|
-
|
|
4146
|
-
|
|
4144
|
+
A new draft, from a built-in instrument (`builtin`), several combined
|
|
4145
|
+
into one (`builtins`: a page each, each still read as its publishers
|
|
4146
|
+
read it), a workspace template (`templateId`), the `questions` given,
|
|
4147
|
+
or none yet. Nobody is asked until it is published.
|
|
4147
4148
|
</dd>
|
|
4148
4149
|
</dl>
|
|
4149
4150
|
</dd>
|
|
@@ -4387,7 +4388,9 @@ await client.geist.deleteSurvey("surveyId");
|
|
|
4387
4388
|
<dl>
|
|
4388
4389
|
<dd>
|
|
4389
4390
|
|
|
4390
|
-
Replace a draft's (or a scheduled survey's) questions, in order.
|
|
4391
|
+
Replace a draft's (or a scheduled survey's) questions, in order. A
|
|
4392
|
+
question's `section` starts a new page there; respondents see one
|
|
4393
|
+
page at a time. `409` once it has opened.
|
|
4391
4394
|
</dd>
|
|
4392
4395
|
</dl>
|
|
4393
4396
|
</dd>
|
|
@@ -4785,7 +4788,9 @@ await client.geist.restoreSurvey("surveyId");
|
|
|
4785
4788
|
|
|
4786
4789
|
A survey's results, as its results page shows them. Aggregates only;
|
|
4787
4790
|
nothing but the counts below its `minGroupSize`, or while an anonymous
|
|
4788
|
-
survey is still open.
|
|
4791
|
+
survey is still open. A built-in validated survey carries its
|
|
4792
|
+
publishers' own reading in `research`; one combining several carries
|
|
4793
|
+
each one's in `instrumentResearch`. For those who run it,
|
|
4789
4794
|
and (signed in) for people a closed survey's results were shared with.
|
|
4790
4795
|
Has a rate limit of its own.
|
|
4791
4796
|
</dd>
|
|
@@ -5092,11 +5097,11 @@ await client.geist.listMyLeadershipFeedback();
|
|
|
5092
5097
|
<dl>
|
|
5093
5098
|
<dd>
|
|
5094
5099
|
|
|
5095
|
-
The built-in surveys: validated instruments
|
|
5096
|
-
|
|
5097
|
-
|
|
5098
|
-
|
|
5099
|
-
|
|
5100
|
+
The built-in surveys: validated instruments (HSE Management
|
|
5101
|
+
Standards, Copenhagen Burnout Inventory, NIOSH WellBQ, US federal
|
|
5102
|
+
workforce surveys) and Taktoria's own, marked `validated: false`,
|
|
5103
|
+
each with the credit its sources require. Start a survey from one
|
|
5104
|
+
with `builtin`, or from several combined into one with `builtins`.
|
|
5100
5105
|
</dd>
|
|
5101
5106
|
</dl>
|
|
5102
5107
|
</dd>
|