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
|
@@ -0,0 +1,72 @@
|
|
|
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 type { ArtifactDataReport } from './ArtifactDataReport';
|
|
16
|
+
import {
|
|
17
|
+
instanceOfArtifactDataReport,
|
|
18
|
+
ArtifactDataReportFromJSON,
|
|
19
|
+
ArtifactDataReportFromJSONTyped,
|
|
20
|
+
ArtifactDataReportToJSON,
|
|
21
|
+
} from './ArtifactDataReport';
|
|
22
|
+
import type { ArtifactDataThematicAnalysis } from './ArtifactDataThematicAnalysis';
|
|
23
|
+
import {
|
|
24
|
+
instanceOfArtifactDataThematicAnalysis,
|
|
25
|
+
ArtifactDataThematicAnalysisFromJSON,
|
|
26
|
+
ArtifactDataThematicAnalysisFromJSONTyped,
|
|
27
|
+
ArtifactDataThematicAnalysisToJSON,
|
|
28
|
+
} from './ArtifactDataThematicAnalysis';
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* @type ArtifactData
|
|
32
|
+
*
|
|
33
|
+
* @export
|
|
34
|
+
*/
|
|
35
|
+
export type ArtifactData = { kind: 'report' } & ArtifactDataReport | { kind: 'thematic_analysis' } & ArtifactDataThematicAnalysis;
|
|
36
|
+
|
|
37
|
+
export function ArtifactDataFromJSON(json: any): ArtifactData {
|
|
38
|
+
return ArtifactDataFromJSONTyped(json, false);
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
export function ArtifactDataFromJSONTyped(json: any, ignoreDiscriminator: boolean): ArtifactData {
|
|
42
|
+
if (json == null) {
|
|
43
|
+
return json;
|
|
44
|
+
}
|
|
45
|
+
switch (json['kind']) {
|
|
46
|
+
case 'report':
|
|
47
|
+
return Object.assign({}, ArtifactDataReportFromJSONTyped(json, true), { kind: 'report' } as const);
|
|
48
|
+
case 'thematic_analysis':
|
|
49
|
+
return Object.assign({}, ArtifactDataThematicAnalysisFromJSONTyped(json, true), { kind: 'thematic_analysis' } as const);
|
|
50
|
+
default:
|
|
51
|
+
return json;
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
export function ArtifactDataToJSON(json: any): any {
|
|
56
|
+
return ArtifactDataToJSONTyped(json, false);
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
export function ArtifactDataToJSONTyped(value?: ArtifactData | null, ignoreDiscriminator: boolean = false): any {
|
|
60
|
+
if (value == null) {
|
|
61
|
+
return value;
|
|
62
|
+
}
|
|
63
|
+
switch (value['kind']) {
|
|
64
|
+
case 'report':
|
|
65
|
+
return Object.assign({}, ArtifactDataReportToJSON(value), { kind: 'report' } as const);
|
|
66
|
+
case 'thematic_analysis':
|
|
67
|
+
return Object.assign({}, ArtifactDataThematicAnalysisToJSON(value), { kind: 'thematic_analysis' } as const);
|
|
68
|
+
default:
|
|
69
|
+
return value;
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
|
|
@@ -0,0 +1,72 @@
|
|
|
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 type { ArtifactDataReport } from './ArtifactDataReport';
|
|
16
|
+
import {
|
|
17
|
+
instanceOfArtifactDataReport,
|
|
18
|
+
ArtifactDataReportFromJSON,
|
|
19
|
+
ArtifactDataReportFromJSONTyped,
|
|
20
|
+
ArtifactDataReportToJSON,
|
|
21
|
+
} from './ArtifactDataReport';
|
|
22
|
+
import type { ThematicAnalysisArtifactCreateData } from './ThematicAnalysisArtifactCreateData';
|
|
23
|
+
import {
|
|
24
|
+
instanceOfThematicAnalysisArtifactCreateData,
|
|
25
|
+
ThematicAnalysisArtifactCreateDataFromJSON,
|
|
26
|
+
ThematicAnalysisArtifactCreateDataFromJSONTyped,
|
|
27
|
+
ThematicAnalysisArtifactCreateDataToJSON,
|
|
28
|
+
} from './ThematicAnalysisArtifactCreateData';
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* @type ArtifactDataCreate
|
|
32
|
+
*
|
|
33
|
+
* @export
|
|
34
|
+
*/
|
|
35
|
+
export type ArtifactDataCreate = { kind: 'report' } & ArtifactDataReport | { kind: 'thematic_analysis' } & ThematicAnalysisArtifactCreateData;
|
|
36
|
+
|
|
37
|
+
export function ArtifactDataCreateFromJSON(json: any): ArtifactDataCreate {
|
|
38
|
+
return ArtifactDataCreateFromJSONTyped(json, false);
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
export function ArtifactDataCreateFromJSONTyped(json: any, ignoreDiscriminator: boolean): ArtifactDataCreate {
|
|
42
|
+
if (json == null) {
|
|
43
|
+
return json;
|
|
44
|
+
}
|
|
45
|
+
switch (json['kind']) {
|
|
46
|
+
case 'report':
|
|
47
|
+
return Object.assign({}, ArtifactDataReportFromJSONTyped(json, true), { kind: 'report' } as const);
|
|
48
|
+
case 'thematic_analysis':
|
|
49
|
+
return Object.assign({}, ThematicAnalysisArtifactCreateDataFromJSONTyped(json, true), { kind: 'thematic_analysis' } as const);
|
|
50
|
+
default:
|
|
51
|
+
return json;
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
export function ArtifactDataCreateToJSON(json: any): any {
|
|
56
|
+
return ArtifactDataCreateToJSONTyped(json, false);
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
export function ArtifactDataCreateToJSONTyped(value?: ArtifactDataCreate | null, ignoreDiscriminator: boolean = false): any {
|
|
60
|
+
if (value == null) {
|
|
61
|
+
return value;
|
|
62
|
+
}
|
|
63
|
+
switch (value['kind']) {
|
|
64
|
+
case 'report':
|
|
65
|
+
return Object.assign({}, ArtifactDataReportToJSON(value), { kind: 'report' } as const);
|
|
66
|
+
case 'thematic_analysis':
|
|
67
|
+
return Object.assign({}, ThematicAnalysisArtifactCreateDataToJSON(value), { kind: 'thematic_analysis' } as const);
|
|
68
|
+
default:
|
|
69
|
+
return value;
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
|
|
@@ -0,0 +1,103 @@
|
|
|
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 ArtifactDataReport
|
|
20
|
+
*/
|
|
21
|
+
export interface ArtifactDataReport {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof ArtifactDataReport
|
|
26
|
+
*/
|
|
27
|
+
kind: ArtifactDataReportKindEnum;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof ArtifactDataReport
|
|
32
|
+
*/
|
|
33
|
+
report: string;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {{ [key: string]: string; }}
|
|
37
|
+
* @memberof ArtifactDataReport
|
|
38
|
+
*/
|
|
39
|
+
references: { [key: string]: string; };
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {Array<string>}
|
|
43
|
+
* @memberof ArtifactDataReport
|
|
44
|
+
*/
|
|
45
|
+
callIds: Array<string>;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
/**
|
|
50
|
+
* @export
|
|
51
|
+
*/
|
|
52
|
+
export const ArtifactDataReportKindEnum = {
|
|
53
|
+
Report: 'report'
|
|
54
|
+
} as const;
|
|
55
|
+
export type ArtifactDataReportKindEnum = typeof ArtifactDataReportKindEnum[keyof typeof ArtifactDataReportKindEnum];
|
|
56
|
+
|
|
57
|
+
|
|
58
|
+
/**
|
|
59
|
+
* Check if a given object implements the ArtifactDataReport interface.
|
|
60
|
+
*/
|
|
61
|
+
export function instanceOfArtifactDataReport(value: object): value is ArtifactDataReport {
|
|
62
|
+
if (!('kind' in value) || value['kind'] === undefined) return false;
|
|
63
|
+
if (!('report' in value) || value['report'] === undefined) return false;
|
|
64
|
+
if (!('references' in value) || value['references'] === undefined) return false;
|
|
65
|
+
if (!('callIds' in value) || value['callIds'] === undefined) return false;
|
|
66
|
+
return true;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
export function ArtifactDataReportFromJSON(json: any): ArtifactDataReport {
|
|
70
|
+
return ArtifactDataReportFromJSONTyped(json, false);
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
export function ArtifactDataReportFromJSONTyped(json: any, ignoreDiscriminator: boolean): ArtifactDataReport {
|
|
74
|
+
if (json == null) {
|
|
75
|
+
return json;
|
|
76
|
+
}
|
|
77
|
+
return {
|
|
78
|
+
|
|
79
|
+
'kind': json['kind'],
|
|
80
|
+
'report': json['report'],
|
|
81
|
+
'references': json['references'],
|
|
82
|
+
'callIds': json['callIds'],
|
|
83
|
+
};
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
export function ArtifactDataReportToJSON(json: any): ArtifactDataReport {
|
|
87
|
+
return ArtifactDataReportToJSONTyped(json, false);
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
export function ArtifactDataReportToJSONTyped(value?: ArtifactDataReport | null, ignoreDiscriminator: boolean = false): any {
|
|
91
|
+
if (value == null) {
|
|
92
|
+
return value;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
return {
|
|
96
|
+
|
|
97
|
+
'kind': value['kind'],
|
|
98
|
+
'report': value['report'],
|
|
99
|
+
'references': value['references'],
|
|
100
|
+
'callIds': value['callIds'],
|
|
101
|
+
};
|
|
102
|
+
}
|
|
103
|
+
|
|
@@ -0,0 +1,140 @@
|
|
|
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
|
+
import type { Project } from './Project';
|
|
17
|
+
import {
|
|
18
|
+
ProjectFromJSON,
|
|
19
|
+
ProjectFromJSONTyped,
|
|
20
|
+
ProjectToJSON,
|
|
21
|
+
ProjectToJSONTyped,
|
|
22
|
+
} from './Project';
|
|
23
|
+
import type { ArtifactKind } from './ArtifactKind';
|
|
24
|
+
import {
|
|
25
|
+
ArtifactKindFromJSON,
|
|
26
|
+
ArtifactKindFromJSONTyped,
|
|
27
|
+
ArtifactKindToJSON,
|
|
28
|
+
ArtifactKindToJSONTyped,
|
|
29
|
+
} from './ArtifactKind';
|
|
30
|
+
import type { Artifact } from './Artifact';
|
|
31
|
+
import {
|
|
32
|
+
ArtifactFromJSON,
|
|
33
|
+
ArtifactFromJSONTyped,
|
|
34
|
+
ArtifactToJSON,
|
|
35
|
+
ArtifactToJSONTyped,
|
|
36
|
+
} from './Artifact';
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @export
|
|
41
|
+
* @interface ArtifactVersionGroup
|
|
42
|
+
*/
|
|
43
|
+
export interface ArtifactVersionGroup {
|
|
44
|
+
/**
|
|
45
|
+
*
|
|
46
|
+
* @type {string}
|
|
47
|
+
* @memberof ArtifactVersionGroup
|
|
48
|
+
*/
|
|
49
|
+
id: string;
|
|
50
|
+
/**
|
|
51
|
+
*
|
|
52
|
+
* @type {string}
|
|
53
|
+
* @memberof ArtifactVersionGroup
|
|
54
|
+
*/
|
|
55
|
+
projectId: string;
|
|
56
|
+
/**
|
|
57
|
+
*
|
|
58
|
+
* @type {ArtifactKind}
|
|
59
|
+
* @memberof ArtifactVersionGroup
|
|
60
|
+
*/
|
|
61
|
+
kind: ArtifactKind;
|
|
62
|
+
/**
|
|
63
|
+
*
|
|
64
|
+
* @type {string}
|
|
65
|
+
* @memberof ArtifactVersionGroup
|
|
66
|
+
*/
|
|
67
|
+
latestArtifactId?: string | null;
|
|
68
|
+
/**
|
|
69
|
+
*
|
|
70
|
+
* @type {Project}
|
|
71
|
+
* @memberof ArtifactVersionGroup
|
|
72
|
+
*/
|
|
73
|
+
project?: Project;
|
|
74
|
+
/**
|
|
75
|
+
*
|
|
76
|
+
* @type {Artifact}
|
|
77
|
+
* @memberof ArtifactVersionGroup
|
|
78
|
+
*/
|
|
79
|
+
latestArtifact?: Artifact | null;
|
|
80
|
+
/**
|
|
81
|
+
*
|
|
82
|
+
* @type {Array<Artifact>}
|
|
83
|
+
* @memberof ArtifactVersionGroup
|
|
84
|
+
*/
|
|
85
|
+
artifacts?: Array<Artifact>;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
|
|
89
|
+
|
|
90
|
+
/**
|
|
91
|
+
* Check if a given object implements the ArtifactVersionGroup interface.
|
|
92
|
+
*/
|
|
93
|
+
export function instanceOfArtifactVersionGroup(value: object): value is ArtifactVersionGroup {
|
|
94
|
+
if (!('id' in value) || value['id'] === undefined) return false;
|
|
95
|
+
if (!('projectId' in value) || value['projectId'] === undefined) return false;
|
|
96
|
+
if (!('kind' in value) || value['kind'] === undefined) return false;
|
|
97
|
+
return true;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
export function ArtifactVersionGroupFromJSON(json: any): ArtifactVersionGroup {
|
|
101
|
+
return ArtifactVersionGroupFromJSONTyped(json, false);
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
export function ArtifactVersionGroupFromJSONTyped(json: any, ignoreDiscriminator: boolean): ArtifactVersionGroup {
|
|
105
|
+
if (json == null) {
|
|
106
|
+
return json;
|
|
107
|
+
}
|
|
108
|
+
return {
|
|
109
|
+
|
|
110
|
+
'id': json['id'],
|
|
111
|
+
'projectId': json['projectId'],
|
|
112
|
+
'kind': ArtifactKindFromJSON(json['kind']),
|
|
113
|
+
'latestArtifactId': json['latestArtifactId'] == null ? undefined : json['latestArtifactId'],
|
|
114
|
+
'project': json['project'] == null ? undefined : ProjectFromJSON(json['project']),
|
|
115
|
+
'latestArtifact': json['latestArtifact'] == null ? undefined : ArtifactFromJSON(json['latestArtifact']),
|
|
116
|
+
'artifacts': json['artifacts'] == null ? undefined : ((json['artifacts'] as Array<any>).map(ArtifactFromJSON)),
|
|
117
|
+
};
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
export function ArtifactVersionGroupToJSON(json: any): ArtifactVersionGroup {
|
|
121
|
+
return ArtifactVersionGroupToJSONTyped(json, false);
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
export function ArtifactVersionGroupToJSONTyped(value?: ArtifactVersionGroup | null, ignoreDiscriminator: boolean = false): any {
|
|
125
|
+
if (value == null) {
|
|
126
|
+
return value;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
return {
|
|
130
|
+
|
|
131
|
+
'id': value['id'],
|
|
132
|
+
'projectId': value['projectId'],
|
|
133
|
+
'kind': ArtifactKindToJSON(value['kind']),
|
|
134
|
+
'latestArtifactId': value['latestArtifactId'],
|
|
135
|
+
'project': ProjectToJSON(value['project']),
|
|
136
|
+
'latestArtifact': ArtifactToJSON(value['latestArtifact']),
|
|
137
|
+
'artifacts': value['artifacts'] == null ? undefined : ((value['artifacts'] as Array<any>).map(ArtifactToJSON)),
|
|
138
|
+
};
|
|
139
|
+
}
|
|
140
|
+
|
|
@@ -63,6 +63,30 @@ export interface CallMetadata {
|
|
|
63
63
|
* @memberof CallMetadata
|
|
64
64
|
*/
|
|
65
65
|
analysis?: CallAnalysis | null;
|
|
66
|
+
/**
|
|
67
|
+
*
|
|
68
|
+
* @type {string}
|
|
69
|
+
* @memberof CallMetadata
|
|
70
|
+
*/
|
|
71
|
+
gcsUrl?: string;
|
|
72
|
+
/**
|
|
73
|
+
*
|
|
74
|
+
* @type {string}
|
|
75
|
+
* @memberof CallMetadata
|
|
76
|
+
*/
|
|
77
|
+
gcsPath?: string;
|
|
78
|
+
/**
|
|
79
|
+
*
|
|
80
|
+
* @type {string}
|
|
81
|
+
* @memberof CallMetadata
|
|
82
|
+
*/
|
|
83
|
+
gcsUploadedAt?: string;
|
|
84
|
+
/**
|
|
85
|
+
*
|
|
86
|
+
* @type {string}
|
|
87
|
+
* @memberof CallMetadata
|
|
88
|
+
*/
|
|
89
|
+
gcsLastSyncedAt?: string;
|
|
66
90
|
}
|
|
67
91
|
|
|
68
92
|
|
|
@@ -100,6 +124,10 @@ export function CallMetadataFromJSONTyped(json: any, ignoreDiscriminator: boolea
|
|
|
100
124
|
'transcriptMarkdown': json['transcriptMarkdown'] == null ? undefined : json['transcriptMarkdown'],
|
|
101
125
|
'transcriptInsight': json['transcriptInsight'] == null ? undefined : json['transcriptInsight'],
|
|
102
126
|
'analysis': json['analysis'] == null ? undefined : CallAnalysisFromJSON(json['analysis']),
|
|
127
|
+
'gcsUrl': json['gcsUrl'] == null ? undefined : json['gcsUrl'],
|
|
128
|
+
'gcsPath': json['gcsPath'] == null ? undefined : json['gcsPath'],
|
|
129
|
+
'gcsUploadedAt': json['gcsUploadedAt'] == null ? undefined : json['gcsUploadedAt'],
|
|
130
|
+
'gcsLastSyncedAt': json['gcsLastSyncedAt'] == null ? undefined : json['gcsLastSyncedAt'],
|
|
103
131
|
};
|
|
104
132
|
}
|
|
105
133
|
|
|
@@ -120,6 +148,10 @@ export function CallMetadataToJSONTyped(value?: CallMetadata | null, ignoreDiscr
|
|
|
120
148
|
'transcriptMarkdown': value['transcriptMarkdown'],
|
|
121
149
|
'transcriptInsight': value['transcriptInsight'],
|
|
122
150
|
'analysis': CallAnalysisToJSON(value['analysis']),
|
|
151
|
+
'gcsUrl': value['gcsUrl'],
|
|
152
|
+
'gcsPath': value['gcsPath'],
|
|
153
|
+
'gcsUploadedAt': value['gcsUploadedAt'],
|
|
154
|
+
'gcsLastSyncedAt': value['gcsLastSyncedAt'],
|
|
123
155
|
};
|
|
124
156
|
}
|
|
125
157
|
|
|
@@ -25,6 +25,18 @@ export interface CreateArtifactRequest {
|
|
|
25
25
|
* @memberof CreateArtifactRequest
|
|
26
26
|
*/
|
|
27
27
|
kind?: CreateArtifactRequestKindEnum;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof CreateArtifactRequest
|
|
32
|
+
*/
|
|
33
|
+
versionGroupId?: string;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof CreateArtifactRequest
|
|
38
|
+
*/
|
|
39
|
+
query?: string;
|
|
28
40
|
}
|
|
29
41
|
|
|
30
42
|
|
|
@@ -32,7 +44,8 @@ export interface CreateArtifactRequest {
|
|
|
32
44
|
* @export
|
|
33
45
|
*/
|
|
34
46
|
export const CreateArtifactRequestKindEnum = {
|
|
35
|
-
ThematicAnalysis: 'thematic_analysis'
|
|
47
|
+
ThematicAnalysis: 'thematic_analysis',
|
|
48
|
+
Report: 'report'
|
|
36
49
|
} as const;
|
|
37
50
|
export type CreateArtifactRequestKindEnum = typeof CreateArtifactRequestKindEnum[keyof typeof CreateArtifactRequestKindEnum];
|
|
38
51
|
|
|
@@ -55,6 +68,8 @@ export function CreateArtifactRequestFromJSONTyped(json: any, ignoreDiscriminato
|
|
|
55
68
|
return {
|
|
56
69
|
|
|
57
70
|
'kind': json['kind'] == null ? undefined : json['kind'],
|
|
71
|
+
'versionGroupId': json['versionGroupId'] == null ? undefined : json['versionGroupId'],
|
|
72
|
+
'query': json['query'] == null ? undefined : json['query'],
|
|
58
73
|
};
|
|
59
74
|
}
|
|
60
75
|
|
|
@@ -70,6 +85,8 @@ export function CreateArtifactRequestToJSONTyped(value?: CreateArtifactRequest |
|
|
|
70
85
|
return {
|
|
71
86
|
|
|
72
87
|
'kind': value['kind'],
|
|
88
|
+
'versionGroupId': value['versionGroupId'],
|
|
89
|
+
'query': value['query'],
|
|
73
90
|
};
|
|
74
91
|
}
|
|
75
92
|
|
|
@@ -0,0 +1,101 @@
|
|
|
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
|
+
import type { ArtifactVersionGroup } from './ArtifactVersionGroup';
|
|
17
|
+
import {
|
|
18
|
+
ArtifactVersionGroupFromJSON,
|
|
19
|
+
ArtifactVersionGroupFromJSONTyped,
|
|
20
|
+
ArtifactVersionGroupToJSON,
|
|
21
|
+
ArtifactVersionGroupToJSONTyped,
|
|
22
|
+
} from './ArtifactVersionGroup';
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @export
|
|
27
|
+
* @interface GetSharedArtifactVersionGroups200Response
|
|
28
|
+
*/
|
|
29
|
+
export interface GetSharedArtifactVersionGroups200Response {
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {Array<ArtifactVersionGroup>}
|
|
33
|
+
* @memberof GetSharedArtifactVersionGroups200Response
|
|
34
|
+
*/
|
|
35
|
+
items: Array<ArtifactVersionGroup>;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof GetSharedArtifactVersionGroups200Response
|
|
40
|
+
*/
|
|
41
|
+
total: number;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {number}
|
|
45
|
+
* @memberof GetSharedArtifactVersionGroups200Response
|
|
46
|
+
*/
|
|
47
|
+
page: number;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {number}
|
|
51
|
+
* @memberof GetSharedArtifactVersionGroups200Response
|
|
52
|
+
*/
|
|
53
|
+
limit: number;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
/**
|
|
57
|
+
* Check if a given object implements the GetSharedArtifactVersionGroups200Response interface.
|
|
58
|
+
*/
|
|
59
|
+
export function instanceOfGetSharedArtifactVersionGroups200Response(value: object): value is GetSharedArtifactVersionGroups200Response {
|
|
60
|
+
if (!('items' in value) || value['items'] === undefined) return false;
|
|
61
|
+
if (!('total' in value) || value['total'] === undefined) return false;
|
|
62
|
+
if (!('page' in value) || value['page'] === undefined) return false;
|
|
63
|
+
if (!('limit' in value) || value['limit'] === undefined) return false;
|
|
64
|
+
return true;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
export function GetSharedArtifactVersionGroups200ResponseFromJSON(json: any): GetSharedArtifactVersionGroups200Response {
|
|
68
|
+
return GetSharedArtifactVersionGroups200ResponseFromJSONTyped(json, false);
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
export function GetSharedArtifactVersionGroups200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetSharedArtifactVersionGroups200Response {
|
|
72
|
+
if (json == null) {
|
|
73
|
+
return json;
|
|
74
|
+
}
|
|
75
|
+
return {
|
|
76
|
+
|
|
77
|
+
'items': ((json['items'] as Array<any>).map(ArtifactVersionGroupFromJSON)),
|
|
78
|
+
'total': json['total'],
|
|
79
|
+
'page': json['page'],
|
|
80
|
+
'limit': json['limit'],
|
|
81
|
+
};
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
export function GetSharedArtifactVersionGroups200ResponseToJSON(json: any): GetSharedArtifactVersionGroups200Response {
|
|
85
|
+
return GetSharedArtifactVersionGroups200ResponseToJSONTyped(json, false);
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
export function GetSharedArtifactVersionGroups200ResponseToJSONTyped(value?: GetSharedArtifactVersionGroups200Response | null, ignoreDiscriminator: boolean = false): any {
|
|
89
|
+
if (value == null) {
|
|
90
|
+
return value;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
return {
|
|
94
|
+
|
|
95
|
+
'items': ((value['items'] as Array<any>).map(ArtifactVersionGroupToJSON)),
|
|
96
|
+
'total': value['total'],
|
|
97
|
+
'page': value['page'],
|
|
98
|
+
'limit': value['limit'],
|
|
99
|
+
};
|
|
100
|
+
}
|
|
101
|
+
|
package/src/models/Project.ts
CHANGED
|
@@ -20,6 +20,13 @@ import {
|
|
|
20
20
|
UserToJSON,
|
|
21
21
|
UserToJSONTyped,
|
|
22
22
|
} from './User';
|
|
23
|
+
import type { ArtifactVersionGroup } from './ArtifactVersionGroup';
|
|
24
|
+
import {
|
|
25
|
+
ArtifactVersionGroupFromJSON,
|
|
26
|
+
ArtifactVersionGroupFromJSONTyped,
|
|
27
|
+
ArtifactVersionGroupToJSON,
|
|
28
|
+
ArtifactVersionGroupToJSONTyped,
|
|
29
|
+
} from './ArtifactVersionGroup';
|
|
23
30
|
import type { ProjectFile } from './ProjectFile';
|
|
24
31
|
import {
|
|
25
32
|
ProjectFileFromJSON,
|
|
@@ -237,6 +244,12 @@ export interface Project {
|
|
|
237
244
|
* @memberof Project
|
|
238
245
|
*/
|
|
239
246
|
artifacts?: Array<Artifact>;
|
|
247
|
+
/**
|
|
248
|
+
*
|
|
249
|
+
* @type {Array<ArtifactVersionGroup>}
|
|
250
|
+
* @memberof Project
|
|
251
|
+
*/
|
|
252
|
+
ArtifactVersionGroup?: Array<ArtifactVersionGroup>;
|
|
240
253
|
}
|
|
241
254
|
|
|
242
255
|
|
|
@@ -289,6 +302,7 @@ export function ProjectFromJSONTyped(json: any, ignoreDiscriminator: boolean): P
|
|
|
289
302
|
'threads': json['threads'] == null ? undefined : ((json['threads'] as Array<any>).map(ThreadFromJSON)),
|
|
290
303
|
'AttributeKindGroup': json['AttributeKindGroup'] == null ? undefined : ((json['AttributeKindGroup'] as Array<any>).map(AttributeKindGroupFromJSON)),
|
|
291
304
|
'artifacts': json['artifacts'] == null ? undefined : ((json['artifacts'] as Array<any>).map(ArtifactFromJSON)),
|
|
305
|
+
'ArtifactVersionGroup': json['ArtifactVersionGroup'] == null ? undefined : ((json['ArtifactVersionGroup'] as Array<any>).map(ArtifactVersionGroupFromJSON)),
|
|
292
306
|
};
|
|
293
307
|
}
|
|
294
308
|
|
|
@@ -324,6 +338,7 @@ export function ProjectToJSONTyped(value?: Project | null, ignoreDiscriminator:
|
|
|
324
338
|
'threads': value['threads'] == null ? undefined : ((value['threads'] as Array<any>).map(ThreadToJSON)),
|
|
325
339
|
'AttributeKindGroup': value['AttributeKindGroup'] == null ? undefined : ((value['AttributeKindGroup'] as Array<any>).map(AttributeKindGroupToJSON)),
|
|
326
340
|
'artifacts': value['artifacts'] == null ? undefined : ((value['artifacts'] as Array<any>).map(ArtifactToJSON)),
|
|
341
|
+
'ArtifactVersionGroup': value['ArtifactVersionGroup'] == null ? undefined : ((value['ArtifactVersionGroup'] as Array<any>).map(ArtifactVersionGroupToJSON)),
|
|
327
342
|
};
|
|
328
343
|
}
|
|
329
344
|
|
|
@@ -27,6 +27,13 @@ import {
|
|
|
27
27
|
UserToJSON,
|
|
28
28
|
UserToJSONTyped,
|
|
29
29
|
} from './User';
|
|
30
|
+
import type { ArtifactVersionGroup } from './ArtifactVersionGroup';
|
|
31
|
+
import {
|
|
32
|
+
ArtifactVersionGroupFromJSON,
|
|
33
|
+
ArtifactVersionGroupFromJSONTyped,
|
|
34
|
+
ArtifactVersionGroupToJSON,
|
|
35
|
+
ArtifactVersionGroupToJSONTyped,
|
|
36
|
+
} from './ArtifactVersionGroup';
|
|
30
37
|
import type { ProjectFile } from './ProjectFile';
|
|
31
38
|
import {
|
|
32
39
|
ProjectFileFromJSON,
|
|
@@ -237,6 +244,12 @@ export interface ProjectWithAnalytics {
|
|
|
237
244
|
* @memberof ProjectWithAnalytics
|
|
238
245
|
*/
|
|
239
246
|
artifacts?: Array<Artifact>;
|
|
247
|
+
/**
|
|
248
|
+
*
|
|
249
|
+
* @type {Array<ArtifactVersionGroup>}
|
|
250
|
+
* @memberof ProjectWithAnalytics
|
|
251
|
+
*/
|
|
252
|
+
ArtifactVersionGroup?: Array<ArtifactVersionGroup>;
|
|
240
253
|
}
|
|
241
254
|
|
|
242
255
|
|
|
@@ -290,6 +303,7 @@ export function ProjectWithAnalyticsFromJSONTyped(json: any, ignoreDiscriminator
|
|
|
290
303
|
'threads': json['threads'] == null ? undefined : ((json['threads'] as Array<any>).map(ThreadFromJSON)),
|
|
291
304
|
'AttributeKindGroup': json['AttributeKindGroup'] == null ? undefined : ((json['AttributeKindGroup'] as Array<any>).map(AttributeKindGroupFromJSON)),
|
|
292
305
|
'artifacts': json['artifacts'] == null ? undefined : ((json['artifacts'] as Array<any>).map(ArtifactFromJSON)),
|
|
306
|
+
'ArtifactVersionGroup': json['ArtifactVersionGroup'] == null ? undefined : ((json['ArtifactVersionGroup'] as Array<any>).map(ArtifactVersionGroupFromJSON)),
|
|
293
307
|
};
|
|
294
308
|
}
|
|
295
309
|
|
|
@@ -325,6 +339,7 @@ export function ProjectWithAnalyticsToJSONTyped(value?: ProjectWithAnalytics | n
|
|
|
325
339
|
'threads': value['threads'] == null ? undefined : ((value['threads'] as Array<any>).map(ThreadToJSON)),
|
|
326
340
|
'AttributeKindGroup': value['AttributeKindGroup'] == null ? undefined : ((value['AttributeKindGroup'] as Array<any>).map(AttributeKindGroupToJSON)),
|
|
327
341
|
'artifacts': value['artifacts'] == null ? undefined : ((value['artifacts'] as Array<any>).map(ArtifactToJSON)),
|
|
342
|
+
'ArtifactVersionGroup': value['ArtifactVersionGroup'] == null ? undefined : ((value['ArtifactVersionGroup'] as Array<any>).map(ArtifactVersionGroupToJSON)),
|
|
328
343
|
};
|
|
329
344
|
}
|
|
330
345
|
|