keplar-api 0.0.22 → 0.0.23

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.
@@ -219,9 +219,11 @@ src/models/ThreadKind.ts
219
219
  src/models/ThreadMetadata.ts
220
220
  src/models/TokenKind.ts
221
221
  src/models/Transcript.ts
222
+ src/models/TranscriptAttributesInner.ts
222
223
  src/models/TranscriptMessage.ts
223
224
  src/models/TranscriptMessagesInner.ts
224
225
  src/models/TranscriptQuality.ts
226
+ src/models/TranscriptResponseAttribute.ts
225
227
  src/models/UnauthorizedErrorResponse.ts
226
228
  src/models/UpdateArtifactRequest.ts
227
229
  src/models/UpdateCallForCodeInviteResponseRequest.ts
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## keplar-api@0.0.22
1
+ ## keplar-api@0.0.23
2
2
 
3
3
  This generator creates TypeScript/JavaScript client that utilizes [Fetch API](https://fetch.spec.whatwg.org/). The generated Node module can be used in the following environments:
4
4
 
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
36
36
  _published:_
37
37
 
38
38
  ```
39
- npm install keplar-api@0.0.22 --save
39
+ npm install keplar-api@0.0.23 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
@@ -16,6 +16,7 @@
16
16
  export declare const AttributeKindGroupPurpose: {
17
17
  readonly ScreenerResponse: "screener_response";
18
18
  readonly Codebook: "codebook";
19
+ readonly SurveyParams: "survey_params";
19
20
  };
20
21
  export type AttributeKindGroupPurpose = typeof AttributeKindGroupPurpose[keyof typeof AttributeKindGroupPurpose];
21
22
  export declare function instanceOfAttributeKindGroupPurpose(value: any): boolean;
@@ -25,7 +25,8 @@ exports.AttributeKindGroupPurposeToJSONTyped = AttributeKindGroupPurposeToJSONTy
25
25
  */
26
26
  exports.AttributeKindGroupPurpose = {
27
27
  ScreenerResponse: 'screener_response',
28
- Codebook: 'codebook'
28
+ Codebook: 'codebook',
29
+ SurveyParams: 'survey_params'
29
30
  };
30
31
  function instanceOfAttributeKindGroupPurpose(value) {
31
32
  for (var key in exports.AttributeKindGroupPurpose) {
@@ -9,6 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import type { TranscriptAttributesInner } from './TranscriptAttributesInner';
12
13
  import type { TranscriptMessagesInner } from './TranscriptMessagesInner';
13
14
  /**
14
15
  *
@@ -34,6 +35,12 @@ export interface Transcript {
34
35
  * @memberof Transcript
35
36
  */
36
37
  messages: Array<TranscriptMessagesInner>;
38
+ /**
39
+ *
40
+ * @type {Array<TranscriptAttributesInner>}
41
+ * @memberof Transcript
42
+ */
43
+ attributes?: Array<TranscriptAttributesInner>;
37
44
  }
38
45
  /**
39
46
  * Check if a given object implements the Transcript interface.
@@ -18,6 +18,7 @@ exports.TranscriptFromJSON = TranscriptFromJSON;
18
18
  exports.TranscriptFromJSONTyped = TranscriptFromJSONTyped;
19
19
  exports.TranscriptToJSON = TranscriptToJSON;
20
20
  exports.TranscriptToJSONTyped = TranscriptToJSONTyped;
21
+ var TranscriptAttributesInner_1 = require("./TranscriptAttributesInner");
21
22
  var TranscriptMessagesInner_1 = require("./TranscriptMessagesInner");
22
23
  /**
23
24
  * Check if a given object implements the Transcript interface.
@@ -42,6 +43,7 @@ function TranscriptFromJSONTyped(json, ignoreDiscriminator) {
42
43
  'id': json['id'],
43
44
  'responseId': json['responseId'],
44
45
  'messages': (json['messages'].map(TranscriptMessagesInner_1.TranscriptMessagesInnerFromJSON)),
46
+ 'attributes': json['attributes'] == null ? undefined : (json['attributes'].map(TranscriptAttributesInner_1.TranscriptAttributesInnerFromJSON)),
45
47
  };
46
48
  }
47
49
  function TranscriptToJSON(json) {
@@ -56,5 +58,6 @@ function TranscriptToJSONTyped(value, ignoreDiscriminator) {
56
58
  'id': value['id'],
57
59
  'responseId': value['responseId'],
58
60
  'messages': (value['messages'].map(TranscriptMessagesInner_1.TranscriptMessagesInnerToJSON)),
61
+ 'attributes': value['attributes'] == null ? undefined : (value['attributes'].map(TranscriptAttributesInner_1.TranscriptAttributesInnerToJSON)),
59
62
  };
60
63
  }
@@ -0,0 +1,38 @@
1
+ /**
2
+ * Fastify Template API
3
+ * API documentation using Swagger
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface TranscriptAttributesInner
16
+ */
17
+ export interface TranscriptAttributesInner {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof TranscriptAttributesInner
22
+ */
23
+ label: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof TranscriptAttributesInner
28
+ */
29
+ value: string;
30
+ }
31
+ /**
32
+ * Check if a given object implements the TranscriptAttributesInner interface.
33
+ */
34
+ export declare function instanceOfTranscriptAttributesInner(value: object): value is TranscriptAttributesInner;
35
+ export declare function TranscriptAttributesInnerFromJSON(json: any): TranscriptAttributesInner;
36
+ export declare function TranscriptAttributesInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): TranscriptAttributesInner;
37
+ export declare function TranscriptAttributesInnerToJSON(json: any): TranscriptAttributesInner;
38
+ export declare function TranscriptAttributesInnerToJSONTyped(value?: TranscriptAttributesInner | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,55 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Fastify Template API
6
+ * API documentation using Swagger
7
+ *
8
+ * The version of the OpenAPI document: 1.0.0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.instanceOfTranscriptAttributesInner = instanceOfTranscriptAttributesInner;
17
+ exports.TranscriptAttributesInnerFromJSON = TranscriptAttributesInnerFromJSON;
18
+ exports.TranscriptAttributesInnerFromJSONTyped = TranscriptAttributesInnerFromJSONTyped;
19
+ exports.TranscriptAttributesInnerToJSON = TranscriptAttributesInnerToJSON;
20
+ exports.TranscriptAttributesInnerToJSONTyped = TranscriptAttributesInnerToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the TranscriptAttributesInner interface.
23
+ */
24
+ function instanceOfTranscriptAttributesInner(value) {
25
+ if (!('label' in value) || value['label'] === undefined)
26
+ return false;
27
+ if (!('value' in value) || value['value'] === undefined)
28
+ return false;
29
+ return true;
30
+ }
31
+ function TranscriptAttributesInnerFromJSON(json) {
32
+ return TranscriptAttributesInnerFromJSONTyped(json, false);
33
+ }
34
+ function TranscriptAttributesInnerFromJSONTyped(json, ignoreDiscriminator) {
35
+ if (json == null) {
36
+ return json;
37
+ }
38
+ return {
39
+ 'label': json['label'],
40
+ 'value': json['value'],
41
+ };
42
+ }
43
+ function TranscriptAttributesInnerToJSON(json) {
44
+ return TranscriptAttributesInnerToJSONTyped(json, false);
45
+ }
46
+ function TranscriptAttributesInnerToJSONTyped(value, ignoreDiscriminator) {
47
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
48
+ if (value == null) {
49
+ return value;
50
+ }
51
+ return {
52
+ 'label': value['label'],
53
+ 'value': value['value'],
54
+ };
55
+ }
@@ -0,0 +1,38 @@
1
+ /**
2
+ * Fastify Template API
3
+ * API documentation using Swagger
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface TranscriptResponseAttribute
16
+ */
17
+ export interface TranscriptResponseAttribute {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof TranscriptResponseAttribute
22
+ */
23
+ label: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof TranscriptResponseAttribute
28
+ */
29
+ value: string;
30
+ }
31
+ /**
32
+ * Check if a given object implements the TranscriptResponseAttribute interface.
33
+ */
34
+ export declare function instanceOfTranscriptResponseAttribute(value: object): value is TranscriptResponseAttribute;
35
+ export declare function TranscriptResponseAttributeFromJSON(json: any): TranscriptResponseAttribute;
36
+ export declare function TranscriptResponseAttributeFromJSONTyped(json: any, ignoreDiscriminator: boolean): TranscriptResponseAttribute;
37
+ export declare function TranscriptResponseAttributeToJSON(json: any): TranscriptResponseAttribute;
38
+ export declare function TranscriptResponseAttributeToJSONTyped(value?: TranscriptResponseAttribute | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,55 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Fastify Template API
6
+ * API documentation using Swagger
7
+ *
8
+ * The version of the OpenAPI document: 1.0.0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.instanceOfTranscriptResponseAttribute = instanceOfTranscriptResponseAttribute;
17
+ exports.TranscriptResponseAttributeFromJSON = TranscriptResponseAttributeFromJSON;
18
+ exports.TranscriptResponseAttributeFromJSONTyped = TranscriptResponseAttributeFromJSONTyped;
19
+ exports.TranscriptResponseAttributeToJSON = TranscriptResponseAttributeToJSON;
20
+ exports.TranscriptResponseAttributeToJSONTyped = TranscriptResponseAttributeToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the TranscriptResponseAttribute interface.
23
+ */
24
+ function instanceOfTranscriptResponseAttribute(value) {
25
+ if (!('label' in value) || value['label'] === undefined)
26
+ return false;
27
+ if (!('value' in value) || value['value'] === undefined)
28
+ return false;
29
+ return true;
30
+ }
31
+ function TranscriptResponseAttributeFromJSON(json) {
32
+ return TranscriptResponseAttributeFromJSONTyped(json, false);
33
+ }
34
+ function TranscriptResponseAttributeFromJSONTyped(json, ignoreDiscriminator) {
35
+ if (json == null) {
36
+ return json;
37
+ }
38
+ return {
39
+ 'label': json['label'],
40
+ 'value': json['value'],
41
+ };
42
+ }
43
+ function TranscriptResponseAttributeToJSON(json) {
44
+ return TranscriptResponseAttributeToJSONTyped(json, false);
45
+ }
46
+ function TranscriptResponseAttributeToJSONTyped(value, ignoreDiscriminator) {
47
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
48
+ if (value == null) {
49
+ return value;
50
+ }
51
+ return {
52
+ 'label': value['label'],
53
+ 'value': value['value'],
54
+ };
55
+ }
@@ -211,9 +211,11 @@ export * from './ThreadKind';
211
211
  export * from './ThreadMetadata';
212
212
  export * from './TokenKind';
213
213
  export * from './Transcript';
214
+ export * from './TranscriptAttributesInner';
214
215
  export * from './TranscriptMessage';
215
216
  export * from './TranscriptMessagesInner';
216
217
  export * from './TranscriptQuality';
218
+ export * from './TranscriptResponseAttribute';
217
219
  export * from './UnauthorizedErrorResponse';
218
220
  export * from './UpdateArtifactRequest';
219
221
  export * from './UpdateCallForCodeInviteResponseRequest';
@@ -229,9 +229,11 @@ __exportStar(require("./ThreadKind"), exports);
229
229
  __exportStar(require("./ThreadMetadata"), exports);
230
230
  __exportStar(require("./TokenKind"), exports);
231
231
  __exportStar(require("./Transcript"), exports);
232
+ __exportStar(require("./TranscriptAttributesInner"), exports);
232
233
  __exportStar(require("./TranscriptMessage"), exports);
233
234
  __exportStar(require("./TranscriptMessagesInner"), exports);
234
235
  __exportStar(require("./TranscriptQuality"), exports);
236
+ __exportStar(require("./TranscriptResponseAttribute"), exports);
235
237
  __exportStar(require("./UnauthorizedErrorResponse"), exports);
236
238
  __exportStar(require("./UpdateArtifactRequest"), exports);
237
239
  __exportStar(require("./UpdateCallForCodeInviteResponseRequest"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "keplar-api",
3
- "version": "0.0.22",
3
+ "version": "0.0.23",
4
4
  "description": "OpenAPI client for keplar-api",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -19,7 +19,8 @@
19
19
  */
20
20
  export const AttributeKindGroupPurpose = {
21
21
  ScreenerResponse: 'screener_response',
22
- Codebook: 'codebook'
22
+ Codebook: 'codebook',
23
+ SurveyParams: 'survey_params'
23
24
  } as const;
24
25
  export type AttributeKindGroupPurpose = typeof AttributeKindGroupPurpose[keyof typeof AttributeKindGroupPurpose];
25
26
 
@@ -13,6 +13,13 @@
13
13
  */
14
14
 
15
15
  import { mapValues } from '../runtime';
16
+ import type { TranscriptAttributesInner } from './TranscriptAttributesInner';
17
+ import {
18
+ TranscriptAttributesInnerFromJSON,
19
+ TranscriptAttributesInnerFromJSONTyped,
20
+ TranscriptAttributesInnerToJSON,
21
+ TranscriptAttributesInnerToJSONTyped,
22
+ } from './TranscriptAttributesInner';
16
23
  import type { TranscriptMessagesInner } from './TranscriptMessagesInner';
17
24
  import {
18
25
  TranscriptMessagesInnerFromJSON,
@@ -45,6 +52,12 @@ export interface Transcript {
45
52
  * @memberof Transcript
46
53
  */
47
54
  messages: Array<TranscriptMessagesInner>;
55
+ /**
56
+ *
57
+ * @type {Array<TranscriptAttributesInner>}
58
+ * @memberof Transcript
59
+ */
60
+ attributes?: Array<TranscriptAttributesInner>;
48
61
  }
49
62
 
50
63
  /**
@@ -70,6 +83,7 @@ export function TranscriptFromJSONTyped(json: any, ignoreDiscriminator: boolean)
70
83
  'id': json['id'],
71
84
  'responseId': json['responseId'],
72
85
  'messages': ((json['messages'] as Array<any>).map(TranscriptMessagesInnerFromJSON)),
86
+ 'attributes': json['attributes'] == null ? undefined : ((json['attributes'] as Array<any>).map(TranscriptAttributesInnerFromJSON)),
73
87
  };
74
88
  }
75
89
 
@@ -87,6 +101,7 @@ export function TranscriptToJSONTyped(value?: Transcript | null, ignoreDiscrimin
87
101
  'id': value['id'],
88
102
  'responseId': value['responseId'],
89
103
  'messages': ((value['messages'] as Array<any>).map(TranscriptMessagesInnerToJSON)),
104
+ 'attributes': value['attributes'] == null ? undefined : ((value['attributes'] as Array<any>).map(TranscriptAttributesInnerToJSON)),
90
105
  };
91
106
  }
92
107
 
@@ -0,0 +1,75 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Fastify Template API
5
+ * API documentation using Swagger
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { mapValues } from '../runtime';
16
+ /**
17
+ *
18
+ * @export
19
+ * @interface TranscriptAttributesInner
20
+ */
21
+ export interface TranscriptAttributesInner {
22
+ /**
23
+ *
24
+ * @type {string}
25
+ * @memberof TranscriptAttributesInner
26
+ */
27
+ label: string;
28
+ /**
29
+ *
30
+ * @type {string}
31
+ * @memberof TranscriptAttributesInner
32
+ */
33
+ value: string;
34
+ }
35
+
36
+ /**
37
+ * Check if a given object implements the TranscriptAttributesInner interface.
38
+ */
39
+ export function instanceOfTranscriptAttributesInner(value: object): value is TranscriptAttributesInner {
40
+ if (!('label' in value) || value['label'] === undefined) return false;
41
+ if (!('value' in value) || value['value'] === undefined) return false;
42
+ return true;
43
+ }
44
+
45
+ export function TranscriptAttributesInnerFromJSON(json: any): TranscriptAttributesInner {
46
+ return TranscriptAttributesInnerFromJSONTyped(json, false);
47
+ }
48
+
49
+ export function TranscriptAttributesInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): TranscriptAttributesInner {
50
+ if (json == null) {
51
+ return json;
52
+ }
53
+ return {
54
+
55
+ 'label': json['label'],
56
+ 'value': json['value'],
57
+ };
58
+ }
59
+
60
+ export function TranscriptAttributesInnerToJSON(json: any): TranscriptAttributesInner {
61
+ return TranscriptAttributesInnerToJSONTyped(json, false);
62
+ }
63
+
64
+ export function TranscriptAttributesInnerToJSONTyped(value?: TranscriptAttributesInner | null, ignoreDiscriminator: boolean = false): any {
65
+ if (value == null) {
66
+ return value;
67
+ }
68
+
69
+ return {
70
+
71
+ 'label': value['label'],
72
+ 'value': value['value'],
73
+ };
74
+ }
75
+
@@ -0,0 +1,75 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Fastify Template API
5
+ * API documentation using Swagger
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { mapValues } from '../runtime';
16
+ /**
17
+ *
18
+ * @export
19
+ * @interface TranscriptResponseAttribute
20
+ */
21
+ export interface TranscriptResponseAttribute {
22
+ /**
23
+ *
24
+ * @type {string}
25
+ * @memberof TranscriptResponseAttribute
26
+ */
27
+ label: string;
28
+ /**
29
+ *
30
+ * @type {string}
31
+ * @memberof TranscriptResponseAttribute
32
+ */
33
+ value: string;
34
+ }
35
+
36
+ /**
37
+ * Check if a given object implements the TranscriptResponseAttribute interface.
38
+ */
39
+ export function instanceOfTranscriptResponseAttribute(value: object): value is TranscriptResponseAttribute {
40
+ if (!('label' in value) || value['label'] === undefined) return false;
41
+ if (!('value' in value) || value['value'] === undefined) return false;
42
+ return true;
43
+ }
44
+
45
+ export function TranscriptResponseAttributeFromJSON(json: any): TranscriptResponseAttribute {
46
+ return TranscriptResponseAttributeFromJSONTyped(json, false);
47
+ }
48
+
49
+ export function TranscriptResponseAttributeFromJSONTyped(json: any, ignoreDiscriminator: boolean): TranscriptResponseAttribute {
50
+ if (json == null) {
51
+ return json;
52
+ }
53
+ return {
54
+
55
+ 'label': json['label'],
56
+ 'value': json['value'],
57
+ };
58
+ }
59
+
60
+ export function TranscriptResponseAttributeToJSON(json: any): TranscriptResponseAttribute {
61
+ return TranscriptResponseAttributeToJSONTyped(json, false);
62
+ }
63
+
64
+ export function TranscriptResponseAttributeToJSONTyped(value?: TranscriptResponseAttribute | null, ignoreDiscriminator: boolean = false): any {
65
+ if (value == null) {
66
+ return value;
67
+ }
68
+
69
+ return {
70
+
71
+ 'label': value['label'],
72
+ 'value': value['value'],
73
+ };
74
+ }
75
+
@@ -213,9 +213,11 @@ export * from './ThreadKind';
213
213
  export * from './ThreadMetadata';
214
214
  export * from './TokenKind';
215
215
  export * from './Transcript';
216
+ export * from './TranscriptAttributesInner';
216
217
  export * from './TranscriptMessage';
217
218
  export * from './TranscriptMessagesInner';
218
219
  export * from './TranscriptQuality';
220
+ export * from './TranscriptResponseAttribute';
219
221
  export * from './UnauthorizedErrorResponse';
220
222
  export * from './UpdateArtifactRequest';
221
223
  export * from './UpdateCallForCodeInviteResponseRequest';