keplar-api 0.0.16 → 0.0.17
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/.openapi-generator/FILES +6 -0
- package/README.md +2 -2
- package/dist/apis/DefaultApi.d.ts +17 -13
- package/dist/apis/DefaultApi.js +27 -21
- package/dist/models/ApiInvitesIdPutRequest.d.ts +1 -1
- package/dist/models/ApiInvitesIdPutRequest.js +1 -3
- package/dist/models/ApiProjectsProjectIdAnalysisPost200Response.d.ts +32 -0
- package/dist/models/ApiProjectsProjectIdAnalysisPost200Response.js +49 -0
- package/dist/models/Artifact.d.ts +28 -3
- package/dist/models/Artifact.js +14 -3
- package/dist/models/ArtifactData.d.ts +27 -0
- package/dist/models/ArtifactData.js +54 -0
- package/dist/models/ArtifactDataCreate.d.ts +27 -0
- package/dist/models/ArtifactDataCreate.js +54 -0
- package/dist/models/ArtifactDataReport.d.ts +59 -0
- package/dist/models/ArtifactDataReport.js +70 -0
- package/dist/models/ArtifactKind.d.ts +1 -0
- package/dist/models/ArtifactKind.js +2 -1
- package/dist/models/ArtifactVersionGroup.d.ts +71 -0
- package/dist/models/ArtifactVersionGroup.js +70 -0
- package/dist/models/CallMetadata.d.ts +24 -0
- package/dist/models/CallMetadata.js +8 -0
- package/dist/models/CreateArtifactRequest.d.ts +13 -0
- package/dist/models/CreateArtifactRequest.js +6 -1
- package/dist/models/GetSharedArtifactVersionGroups200Response.d.ts +51 -0
- package/dist/models/GetSharedArtifactVersionGroups200Response.js +64 -0
- package/dist/models/Project.d.ts +7 -0
- package/dist/models/Project.js +3 -0
- package/dist/models/ProjectWithAnalytics.d.ts +7 -0
- package/dist/models/ProjectWithAnalytics.js +3 -0
- package/dist/models/ThematicAnalysisArtifactCreateData.d.ts +13 -0
- package/dist/models/ThematicAnalysisArtifactCreateData.js +11 -0
- package/dist/models/UpdateArtifactRequest.d.ts +9 -3
- package/dist/models/UpdateArtifactRequest.js +5 -3
- package/dist/models/index.d.ts +6 -0
- package/dist/models/index.js +6 -0
- package/package.json +1 -1
- package/src/apis/DefaultApi.ts +45 -23
- package/src/models/ApiInvitesIdPutRequest.ts +2 -3
- package/src/models/ApiProjectsProjectIdAnalysisPost200Response.ts +65 -0
- package/src/models/Artifact.ts +50 -10
- package/src/models/ArtifactData.ts +72 -0
- package/src/models/ArtifactDataCreate.ts +72 -0
- package/src/models/ArtifactDataReport.ts +103 -0
- package/src/models/ArtifactKind.ts +2 -1
- package/src/models/ArtifactVersionGroup.ts +140 -0
- package/src/models/CallMetadata.ts +32 -0
- package/src/models/CreateArtifactRequest.ts +18 -1
- package/src/models/GetSharedArtifactVersionGroups200Response.ts +101 -0
- package/src/models/Project.ts +15 -0
- package/src/models/ProjectWithAnalytics.ts +15 -0
- package/src/models/ThematicAnalysisArtifactCreateData.ts +19 -0
- package/src/models/UpdateArtifactRequest.ts +18 -10
- package/src/models/index.ts +6 -0
|
@@ -34,6 +34,12 @@ import {
|
|
|
34
34
|
* @interface ThematicAnalysisArtifactCreateData
|
|
35
35
|
*/
|
|
36
36
|
export interface ThematicAnalysisArtifactCreateData {
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof ThematicAnalysisArtifactCreateData
|
|
41
|
+
*/
|
|
42
|
+
kind: ThematicAnalysisArtifactCreateDataKindEnum;
|
|
37
43
|
/**
|
|
38
44
|
*
|
|
39
45
|
* @type {string}
|
|
@@ -60,10 +66,21 @@ export interface ThematicAnalysisArtifactCreateData {
|
|
|
60
66
|
codedResponses: Array<ThematicAnalysisResponseCode>;
|
|
61
67
|
}
|
|
62
68
|
|
|
69
|
+
|
|
70
|
+
/**
|
|
71
|
+
* @export
|
|
72
|
+
*/
|
|
73
|
+
export const ThematicAnalysisArtifactCreateDataKindEnum = {
|
|
74
|
+
ThematicAnalysis: 'thematic_analysis'
|
|
75
|
+
} as const;
|
|
76
|
+
export type ThematicAnalysisArtifactCreateDataKindEnum = typeof ThematicAnalysisArtifactCreateDataKindEnum[keyof typeof ThematicAnalysisArtifactCreateDataKindEnum];
|
|
77
|
+
|
|
78
|
+
|
|
63
79
|
/**
|
|
64
80
|
* Check if a given object implements the ThematicAnalysisArtifactCreateData interface.
|
|
65
81
|
*/
|
|
66
82
|
export function instanceOfThematicAnalysisArtifactCreateData(value: object): value is ThematicAnalysisArtifactCreateData {
|
|
83
|
+
if (!('kind' in value) || value['kind'] === undefined) return false;
|
|
67
84
|
if (!('themes' in value) || value['themes'] === undefined) return false;
|
|
68
85
|
if (!('codedResponses' in value) || value['codedResponses'] === undefined) return false;
|
|
69
86
|
return true;
|
|
@@ -79,6 +96,7 @@ export function ThematicAnalysisArtifactCreateDataFromJSONTyped(json: any, ignor
|
|
|
79
96
|
}
|
|
80
97
|
return {
|
|
81
98
|
|
|
99
|
+
'kind': json['kind'],
|
|
82
100
|
'query': json['query'] == null ? undefined : json['query'],
|
|
83
101
|
'summary': json['summary'] == null ? undefined : json['summary'],
|
|
84
102
|
'themes': ((json['themes'] as Array<any>).map(ThematicAnalysisArtifactCreateDataThemesInnerFromJSON)),
|
|
@@ -97,6 +115,7 @@ export function ThematicAnalysisArtifactCreateDataToJSONTyped(value?: ThematicAn
|
|
|
97
115
|
|
|
98
116
|
return {
|
|
99
117
|
|
|
118
|
+
'kind': value['kind'],
|
|
100
119
|
'query': value['query'],
|
|
101
120
|
'summary': value['summary'],
|
|
102
121
|
'themes': ((value['themes'] as Array<any>).map(ThematicAnalysisArtifactCreateDataThemesInnerToJSON)),
|
|
@@ -13,13 +13,13 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
import { mapValues } from '../runtime';
|
|
16
|
-
import type {
|
|
16
|
+
import type { ArtifactDataCreate } from './ArtifactDataCreate';
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from './
|
|
18
|
+
ArtifactDataCreateFromJSON,
|
|
19
|
+
ArtifactDataCreateFromJSONTyped,
|
|
20
|
+
ArtifactDataCreateToJSON,
|
|
21
|
+
ArtifactDataCreateToJSONTyped,
|
|
22
|
+
} from './ArtifactDataCreate';
|
|
23
23
|
import type { ArtifactMetadata } from './ArtifactMetadata';
|
|
24
24
|
import {
|
|
25
25
|
ArtifactMetadataFromJSON,
|
|
@@ -36,16 +36,22 @@ import {
|
|
|
36
36
|
export interface UpdateArtifactRequest {
|
|
37
37
|
/**
|
|
38
38
|
*
|
|
39
|
-
* @type {
|
|
39
|
+
* @type {ArtifactDataCreate}
|
|
40
40
|
* @memberof UpdateArtifactRequest
|
|
41
41
|
*/
|
|
42
|
-
data?:
|
|
42
|
+
data?: ArtifactDataCreate;
|
|
43
43
|
/**
|
|
44
44
|
*
|
|
45
45
|
* @type {ArtifactMetadata}
|
|
46
46
|
* @memberof UpdateArtifactRequest
|
|
47
47
|
*/
|
|
48
48
|
metadata?: ArtifactMetadata;
|
|
49
|
+
/**
|
|
50
|
+
*
|
|
51
|
+
* @type {string}
|
|
52
|
+
* @memberof UpdateArtifactRequest
|
|
53
|
+
*/
|
|
54
|
+
title?: string;
|
|
49
55
|
}
|
|
50
56
|
|
|
51
57
|
/**
|
|
@@ -65,8 +71,9 @@ export function UpdateArtifactRequestFromJSONTyped(json: any, ignoreDiscriminato
|
|
|
65
71
|
}
|
|
66
72
|
return {
|
|
67
73
|
|
|
68
|
-
'data': json['data'] == null ? undefined :
|
|
74
|
+
'data': json['data'] == null ? undefined : ArtifactDataCreateFromJSON(json['data']),
|
|
69
75
|
'metadata': json['metadata'] == null ? undefined : ArtifactMetadataFromJSON(json['metadata']),
|
|
76
|
+
'title': json['title'] == null ? undefined : json['title'],
|
|
70
77
|
};
|
|
71
78
|
}
|
|
72
79
|
|
|
@@ -81,8 +88,9 @@ export function UpdateArtifactRequestToJSONTyped(value?: UpdateArtifactRequest |
|
|
|
81
88
|
|
|
82
89
|
return {
|
|
83
90
|
|
|
84
|
-
'data':
|
|
91
|
+
'data': ArtifactDataCreateToJSON(value['data']),
|
|
85
92
|
'metadata': ArtifactMetadataToJSON(value['metadata']),
|
|
93
|
+
'title': value['title'],
|
|
86
94
|
};
|
|
87
95
|
}
|
|
88
96
|
|
package/src/models/index.ts
CHANGED
|
@@ -14,6 +14,7 @@ export * from './ApiInvitesIdResponsesResponseIdPutRequest';
|
|
|
14
14
|
export * from './ApiInvitesPostRequest';
|
|
15
15
|
export * from './ApiProjectsPostRequest';
|
|
16
16
|
export * from './ApiProjectsPostRequestThreadAssetsInner';
|
|
17
|
+
export * from './ApiProjectsProjectIdAnalysisPost200Response';
|
|
17
18
|
export * from './ApiProjectsProjectIdAnalysisPostRequest';
|
|
18
19
|
export * from './ApiProjectsProjectIdAnalysisPostRequestKind';
|
|
19
20
|
export * from './ApiProjectsProjectIdFilesFileIdPutRequest';
|
|
@@ -26,12 +27,16 @@ export * from './ApiThreadsThreadIdFilesGet200Response';
|
|
|
26
27
|
export * from './ApiThreadsThreadIdPostRequest';
|
|
27
28
|
export * from './ApiThreadsThreadIdProjectBriefVersionsGet200Response';
|
|
28
29
|
export * from './Artifact';
|
|
30
|
+
export * from './ArtifactData';
|
|
31
|
+
export * from './ArtifactDataCreate';
|
|
32
|
+
export * from './ArtifactDataReport';
|
|
29
33
|
export * from './ArtifactDataThematicAnalysis';
|
|
30
34
|
export * from './ArtifactDataThematicAnalysisData';
|
|
31
35
|
export * from './ArtifactDataThematicAnalysisDataThemesInner';
|
|
32
36
|
export * from './ArtifactKind';
|
|
33
37
|
export * from './ArtifactMetadata';
|
|
34
38
|
export * from './ArtifactMetadataStatus';
|
|
39
|
+
export * from './ArtifactVersionGroup';
|
|
35
40
|
export * from './Attribute';
|
|
36
41
|
export * from './AttributeFilterGroupSchemaInner';
|
|
37
42
|
export * from './AttributeKind';
|
|
@@ -82,6 +87,7 @@ export * from './GetCodeInvite200Response';
|
|
|
82
87
|
export * from './GetCodeInviteResponseRedirect200Response';
|
|
83
88
|
export * from './GetProjectShares200Response';
|
|
84
89
|
export * from './GetProjects200Response';
|
|
90
|
+
export * from './GetSharedArtifactVersionGroups200Response';
|
|
85
91
|
export * from './GetSharedInviteResponses200Response';
|
|
86
92
|
export * from './GetSharedInviteResponsesStatusesParameterInner';
|
|
87
93
|
export * from './InboundCallResponse';
|