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,54 @@
|
|
|
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.ArtifactDataCreateFromJSON = ArtifactDataCreateFromJSON;
|
|
17
|
+
exports.ArtifactDataCreateFromJSONTyped = ArtifactDataCreateFromJSONTyped;
|
|
18
|
+
exports.ArtifactDataCreateToJSON = ArtifactDataCreateToJSON;
|
|
19
|
+
exports.ArtifactDataCreateToJSONTyped = ArtifactDataCreateToJSONTyped;
|
|
20
|
+
var ArtifactDataReport_1 = require("./ArtifactDataReport");
|
|
21
|
+
var ThematicAnalysisArtifactCreateData_1 = require("./ThematicAnalysisArtifactCreateData");
|
|
22
|
+
function ArtifactDataCreateFromJSON(json) {
|
|
23
|
+
return ArtifactDataCreateFromJSONTyped(json, false);
|
|
24
|
+
}
|
|
25
|
+
function ArtifactDataCreateFromJSONTyped(json, ignoreDiscriminator) {
|
|
26
|
+
if (json == null) {
|
|
27
|
+
return json;
|
|
28
|
+
}
|
|
29
|
+
switch (json['kind']) {
|
|
30
|
+
case 'report':
|
|
31
|
+
return Object.assign({}, (0, ArtifactDataReport_1.ArtifactDataReportFromJSONTyped)(json, true), { kind: 'report' });
|
|
32
|
+
case 'thematic_analysis':
|
|
33
|
+
return Object.assign({}, (0, ThematicAnalysisArtifactCreateData_1.ThematicAnalysisArtifactCreateDataFromJSONTyped)(json, true), { kind: 'thematic_analysis' });
|
|
34
|
+
default:
|
|
35
|
+
return json;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
function ArtifactDataCreateToJSON(json) {
|
|
39
|
+
return ArtifactDataCreateToJSONTyped(json, false);
|
|
40
|
+
}
|
|
41
|
+
function ArtifactDataCreateToJSONTyped(value, ignoreDiscriminator) {
|
|
42
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
43
|
+
if (value == null) {
|
|
44
|
+
return value;
|
|
45
|
+
}
|
|
46
|
+
switch (value['kind']) {
|
|
47
|
+
case 'report':
|
|
48
|
+
return Object.assign({}, (0, ArtifactDataReport_1.ArtifactDataReportToJSON)(value), { kind: 'report' });
|
|
49
|
+
case 'thematic_analysis':
|
|
50
|
+
return Object.assign({}, (0, ThematicAnalysisArtifactCreateData_1.ThematicAnalysisArtifactCreateDataToJSON)(value), { kind: 'thematic_analysis' });
|
|
51
|
+
default:
|
|
52
|
+
return value;
|
|
53
|
+
}
|
|
54
|
+
}
|
|
@@ -0,0 +1,59 @@
|
|
|
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 ArtifactDataReport
|
|
16
|
+
*/
|
|
17
|
+
export interface ArtifactDataReport {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof ArtifactDataReport
|
|
22
|
+
*/
|
|
23
|
+
kind: ArtifactDataReportKindEnum;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof ArtifactDataReport
|
|
28
|
+
*/
|
|
29
|
+
report: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {{ [key: string]: string; }}
|
|
33
|
+
* @memberof ArtifactDataReport
|
|
34
|
+
*/
|
|
35
|
+
references: {
|
|
36
|
+
[key: string]: string;
|
|
37
|
+
};
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @type {Array<string>}
|
|
41
|
+
* @memberof ArtifactDataReport
|
|
42
|
+
*/
|
|
43
|
+
callIds: Array<string>;
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* @export
|
|
47
|
+
*/
|
|
48
|
+
export declare const ArtifactDataReportKindEnum: {
|
|
49
|
+
readonly Report: "report";
|
|
50
|
+
};
|
|
51
|
+
export type ArtifactDataReportKindEnum = typeof ArtifactDataReportKindEnum[keyof typeof ArtifactDataReportKindEnum];
|
|
52
|
+
/**
|
|
53
|
+
* Check if a given object implements the ArtifactDataReport interface.
|
|
54
|
+
*/
|
|
55
|
+
export declare function instanceOfArtifactDataReport(value: object): value is ArtifactDataReport;
|
|
56
|
+
export declare function ArtifactDataReportFromJSON(json: any): ArtifactDataReport;
|
|
57
|
+
export declare function ArtifactDataReportFromJSONTyped(json: any, ignoreDiscriminator: boolean): ArtifactDataReport;
|
|
58
|
+
export declare function ArtifactDataReportToJSON(json: any): ArtifactDataReport;
|
|
59
|
+
export declare function ArtifactDataReportToJSONTyped(value?: ArtifactDataReport | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,70 @@
|
|
|
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.ArtifactDataReportKindEnum = void 0;
|
|
17
|
+
exports.instanceOfArtifactDataReport = instanceOfArtifactDataReport;
|
|
18
|
+
exports.ArtifactDataReportFromJSON = ArtifactDataReportFromJSON;
|
|
19
|
+
exports.ArtifactDataReportFromJSONTyped = ArtifactDataReportFromJSONTyped;
|
|
20
|
+
exports.ArtifactDataReportToJSON = ArtifactDataReportToJSON;
|
|
21
|
+
exports.ArtifactDataReportToJSONTyped = ArtifactDataReportToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
exports.ArtifactDataReportKindEnum = {
|
|
26
|
+
Report: 'report'
|
|
27
|
+
};
|
|
28
|
+
/**
|
|
29
|
+
* Check if a given object implements the ArtifactDataReport interface.
|
|
30
|
+
*/
|
|
31
|
+
function instanceOfArtifactDataReport(value) {
|
|
32
|
+
if (!('kind' in value) || value['kind'] === undefined)
|
|
33
|
+
return false;
|
|
34
|
+
if (!('report' in value) || value['report'] === undefined)
|
|
35
|
+
return false;
|
|
36
|
+
if (!('references' in value) || value['references'] === undefined)
|
|
37
|
+
return false;
|
|
38
|
+
if (!('callIds' in value) || value['callIds'] === undefined)
|
|
39
|
+
return false;
|
|
40
|
+
return true;
|
|
41
|
+
}
|
|
42
|
+
function ArtifactDataReportFromJSON(json) {
|
|
43
|
+
return ArtifactDataReportFromJSONTyped(json, false);
|
|
44
|
+
}
|
|
45
|
+
function ArtifactDataReportFromJSONTyped(json, ignoreDiscriminator) {
|
|
46
|
+
if (json == null) {
|
|
47
|
+
return json;
|
|
48
|
+
}
|
|
49
|
+
return {
|
|
50
|
+
'kind': json['kind'],
|
|
51
|
+
'report': json['report'],
|
|
52
|
+
'references': json['references'],
|
|
53
|
+
'callIds': json['callIds'],
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
function ArtifactDataReportToJSON(json) {
|
|
57
|
+
return ArtifactDataReportToJSONTyped(json, false);
|
|
58
|
+
}
|
|
59
|
+
function ArtifactDataReportToJSONTyped(value, ignoreDiscriminator) {
|
|
60
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
61
|
+
if (value == null) {
|
|
62
|
+
return value;
|
|
63
|
+
}
|
|
64
|
+
return {
|
|
65
|
+
'kind': value['kind'],
|
|
66
|
+
'report': value['report'],
|
|
67
|
+
'references': value['references'],
|
|
68
|
+
'callIds': value['callIds'],
|
|
69
|
+
};
|
|
70
|
+
}
|
|
@@ -15,6 +15,7 @@
|
|
|
15
15
|
*/
|
|
16
16
|
export declare const ArtifactKind: {
|
|
17
17
|
readonly ThematicAnalysis: "thematic_analysis";
|
|
18
|
+
readonly Report: "report";
|
|
18
19
|
};
|
|
19
20
|
export type ArtifactKind = typeof ArtifactKind[keyof typeof ArtifactKind];
|
|
20
21
|
export declare function instanceOfArtifactKind(value: any): boolean;
|
|
@@ -24,7 +24,8 @@ exports.ArtifactKindToJSONTyped = ArtifactKindToJSONTyped;
|
|
|
24
24
|
* @export
|
|
25
25
|
*/
|
|
26
26
|
exports.ArtifactKind = {
|
|
27
|
-
ThematicAnalysis: 'thematic_analysis'
|
|
27
|
+
ThematicAnalysis: 'thematic_analysis',
|
|
28
|
+
Report: 'report'
|
|
28
29
|
};
|
|
29
30
|
function instanceOfArtifactKind(value) {
|
|
30
31
|
for (var key in exports.ArtifactKind) {
|
|
@@ -0,0 +1,71 @@
|
|
|
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
|
+
import type { Project } from './Project';
|
|
13
|
+
import type { ArtifactKind } from './ArtifactKind';
|
|
14
|
+
import type { Artifact } from './Artifact';
|
|
15
|
+
/**
|
|
16
|
+
*
|
|
17
|
+
* @export
|
|
18
|
+
* @interface ArtifactVersionGroup
|
|
19
|
+
*/
|
|
20
|
+
export interface ArtifactVersionGroup {
|
|
21
|
+
/**
|
|
22
|
+
*
|
|
23
|
+
* @type {string}
|
|
24
|
+
* @memberof ArtifactVersionGroup
|
|
25
|
+
*/
|
|
26
|
+
id: string;
|
|
27
|
+
/**
|
|
28
|
+
*
|
|
29
|
+
* @type {string}
|
|
30
|
+
* @memberof ArtifactVersionGroup
|
|
31
|
+
*/
|
|
32
|
+
projectId: string;
|
|
33
|
+
/**
|
|
34
|
+
*
|
|
35
|
+
* @type {ArtifactKind}
|
|
36
|
+
* @memberof ArtifactVersionGroup
|
|
37
|
+
*/
|
|
38
|
+
kind: ArtifactKind;
|
|
39
|
+
/**
|
|
40
|
+
*
|
|
41
|
+
* @type {string}
|
|
42
|
+
* @memberof ArtifactVersionGroup
|
|
43
|
+
*/
|
|
44
|
+
latestArtifactId?: string | null;
|
|
45
|
+
/**
|
|
46
|
+
*
|
|
47
|
+
* @type {Project}
|
|
48
|
+
* @memberof ArtifactVersionGroup
|
|
49
|
+
*/
|
|
50
|
+
project?: Project;
|
|
51
|
+
/**
|
|
52
|
+
*
|
|
53
|
+
* @type {Artifact}
|
|
54
|
+
* @memberof ArtifactVersionGroup
|
|
55
|
+
*/
|
|
56
|
+
latestArtifact?: Artifact | null;
|
|
57
|
+
/**
|
|
58
|
+
*
|
|
59
|
+
* @type {Array<Artifact>}
|
|
60
|
+
* @memberof ArtifactVersionGroup
|
|
61
|
+
*/
|
|
62
|
+
artifacts?: Array<Artifact>;
|
|
63
|
+
}
|
|
64
|
+
/**
|
|
65
|
+
* Check if a given object implements the ArtifactVersionGroup interface.
|
|
66
|
+
*/
|
|
67
|
+
export declare function instanceOfArtifactVersionGroup(value: object): value is ArtifactVersionGroup;
|
|
68
|
+
export declare function ArtifactVersionGroupFromJSON(json: any): ArtifactVersionGroup;
|
|
69
|
+
export declare function ArtifactVersionGroupFromJSONTyped(json: any, ignoreDiscriminator: boolean): ArtifactVersionGroup;
|
|
70
|
+
export declare function ArtifactVersionGroupToJSON(json: any): ArtifactVersionGroup;
|
|
71
|
+
export declare function ArtifactVersionGroupToJSONTyped(value?: ArtifactVersionGroup | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,70 @@
|
|
|
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.instanceOfArtifactVersionGroup = instanceOfArtifactVersionGroup;
|
|
17
|
+
exports.ArtifactVersionGroupFromJSON = ArtifactVersionGroupFromJSON;
|
|
18
|
+
exports.ArtifactVersionGroupFromJSONTyped = ArtifactVersionGroupFromJSONTyped;
|
|
19
|
+
exports.ArtifactVersionGroupToJSON = ArtifactVersionGroupToJSON;
|
|
20
|
+
exports.ArtifactVersionGroupToJSONTyped = ArtifactVersionGroupToJSONTyped;
|
|
21
|
+
var Project_1 = require("./Project");
|
|
22
|
+
var ArtifactKind_1 = require("./ArtifactKind");
|
|
23
|
+
var Artifact_1 = require("./Artifact");
|
|
24
|
+
/**
|
|
25
|
+
* Check if a given object implements the ArtifactVersionGroup interface.
|
|
26
|
+
*/
|
|
27
|
+
function instanceOfArtifactVersionGroup(value) {
|
|
28
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
if (!('projectId' in value) || value['projectId'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
if (!('kind' in value) || value['kind'] === undefined)
|
|
33
|
+
return false;
|
|
34
|
+
return true;
|
|
35
|
+
}
|
|
36
|
+
function ArtifactVersionGroupFromJSON(json) {
|
|
37
|
+
return ArtifactVersionGroupFromJSONTyped(json, false);
|
|
38
|
+
}
|
|
39
|
+
function ArtifactVersionGroupFromJSONTyped(json, ignoreDiscriminator) {
|
|
40
|
+
if (json == null) {
|
|
41
|
+
return json;
|
|
42
|
+
}
|
|
43
|
+
return {
|
|
44
|
+
'id': json['id'],
|
|
45
|
+
'projectId': json['projectId'],
|
|
46
|
+
'kind': (0, ArtifactKind_1.ArtifactKindFromJSON)(json['kind']),
|
|
47
|
+
'latestArtifactId': json['latestArtifactId'] == null ? undefined : json['latestArtifactId'],
|
|
48
|
+
'project': json['project'] == null ? undefined : (0, Project_1.ProjectFromJSON)(json['project']),
|
|
49
|
+
'latestArtifact': json['latestArtifact'] == null ? undefined : (0, Artifact_1.ArtifactFromJSON)(json['latestArtifact']),
|
|
50
|
+
'artifacts': json['artifacts'] == null ? undefined : (json['artifacts'].map(Artifact_1.ArtifactFromJSON)),
|
|
51
|
+
};
|
|
52
|
+
}
|
|
53
|
+
function ArtifactVersionGroupToJSON(json) {
|
|
54
|
+
return ArtifactVersionGroupToJSONTyped(json, false);
|
|
55
|
+
}
|
|
56
|
+
function ArtifactVersionGroupToJSONTyped(value, ignoreDiscriminator) {
|
|
57
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
58
|
+
if (value == null) {
|
|
59
|
+
return value;
|
|
60
|
+
}
|
|
61
|
+
return {
|
|
62
|
+
'id': value['id'],
|
|
63
|
+
'projectId': value['projectId'],
|
|
64
|
+
'kind': (0, ArtifactKind_1.ArtifactKindToJSON)(value['kind']),
|
|
65
|
+
'latestArtifactId': value['latestArtifactId'],
|
|
66
|
+
'project': (0, Project_1.ProjectToJSON)(value['project']),
|
|
67
|
+
'latestArtifact': (0, Artifact_1.ArtifactToJSON)(value['latestArtifact']),
|
|
68
|
+
'artifacts': value['artifacts'] == null ? undefined : (value['artifacts'].map(Artifact_1.ArtifactToJSON)),
|
|
69
|
+
};
|
|
70
|
+
}
|
|
@@ -52,6 +52,30 @@ export interface CallMetadata {
|
|
|
52
52
|
* @memberof CallMetadata
|
|
53
53
|
*/
|
|
54
54
|
analysis?: CallAnalysis | null;
|
|
55
|
+
/**
|
|
56
|
+
*
|
|
57
|
+
* @type {string}
|
|
58
|
+
* @memberof CallMetadata
|
|
59
|
+
*/
|
|
60
|
+
gcsUrl?: string;
|
|
61
|
+
/**
|
|
62
|
+
*
|
|
63
|
+
* @type {string}
|
|
64
|
+
* @memberof CallMetadata
|
|
65
|
+
*/
|
|
66
|
+
gcsPath?: string;
|
|
67
|
+
/**
|
|
68
|
+
*
|
|
69
|
+
* @type {string}
|
|
70
|
+
* @memberof CallMetadata
|
|
71
|
+
*/
|
|
72
|
+
gcsUploadedAt?: string;
|
|
73
|
+
/**
|
|
74
|
+
*
|
|
75
|
+
* @type {string}
|
|
76
|
+
* @memberof CallMetadata
|
|
77
|
+
*/
|
|
78
|
+
gcsLastSyncedAt?: string;
|
|
55
79
|
}
|
|
56
80
|
/**
|
|
57
81
|
* @export
|
|
@@ -48,6 +48,10 @@ function CallMetadataFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
48
48
|
'transcriptMarkdown': json['transcriptMarkdown'] == null ? undefined : json['transcriptMarkdown'],
|
|
49
49
|
'transcriptInsight': json['transcriptInsight'] == null ? undefined : json['transcriptInsight'],
|
|
50
50
|
'analysis': json['analysis'] == null ? undefined : (0, CallAnalysis_1.CallAnalysisFromJSON)(json['analysis']),
|
|
51
|
+
'gcsUrl': json['gcsUrl'] == null ? undefined : json['gcsUrl'],
|
|
52
|
+
'gcsPath': json['gcsPath'] == null ? undefined : json['gcsPath'],
|
|
53
|
+
'gcsUploadedAt': json['gcsUploadedAt'] == null ? undefined : json['gcsUploadedAt'],
|
|
54
|
+
'gcsLastSyncedAt': json['gcsLastSyncedAt'] == null ? undefined : json['gcsLastSyncedAt'],
|
|
51
55
|
};
|
|
52
56
|
}
|
|
53
57
|
function CallMetadataToJSON(json) {
|
|
@@ -65,5 +69,9 @@ function CallMetadataToJSONTyped(value, ignoreDiscriminator) {
|
|
|
65
69
|
'transcriptMarkdown': value['transcriptMarkdown'],
|
|
66
70
|
'transcriptInsight': value['transcriptInsight'],
|
|
67
71
|
'analysis': (0, CallAnalysis_1.CallAnalysisToJSON)(value['analysis']),
|
|
72
|
+
'gcsUrl': value['gcsUrl'],
|
|
73
|
+
'gcsPath': value['gcsPath'],
|
|
74
|
+
'gcsUploadedAt': value['gcsUploadedAt'],
|
|
75
|
+
'gcsLastSyncedAt': value['gcsLastSyncedAt'],
|
|
68
76
|
};
|
|
69
77
|
}
|
|
@@ -21,12 +21,25 @@ export interface CreateArtifactRequest {
|
|
|
21
21
|
* @memberof CreateArtifactRequest
|
|
22
22
|
*/
|
|
23
23
|
kind?: CreateArtifactRequestKindEnum;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof CreateArtifactRequest
|
|
28
|
+
*/
|
|
29
|
+
versionGroupId?: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof CreateArtifactRequest
|
|
34
|
+
*/
|
|
35
|
+
query?: string;
|
|
24
36
|
}
|
|
25
37
|
/**
|
|
26
38
|
* @export
|
|
27
39
|
*/
|
|
28
40
|
export declare const CreateArtifactRequestKindEnum: {
|
|
29
41
|
readonly ThematicAnalysis: "thematic_analysis";
|
|
42
|
+
readonly Report: "report";
|
|
30
43
|
};
|
|
31
44
|
export type CreateArtifactRequestKindEnum = typeof CreateArtifactRequestKindEnum[keyof typeof CreateArtifactRequestKindEnum];
|
|
32
45
|
/**
|
|
@@ -23,7 +23,8 @@ exports.CreateArtifactRequestToJSONTyped = CreateArtifactRequestToJSONTyped;
|
|
|
23
23
|
* @export
|
|
24
24
|
*/
|
|
25
25
|
exports.CreateArtifactRequestKindEnum = {
|
|
26
|
-
ThematicAnalysis: 'thematic_analysis'
|
|
26
|
+
ThematicAnalysis: 'thematic_analysis',
|
|
27
|
+
Report: 'report'
|
|
27
28
|
};
|
|
28
29
|
/**
|
|
29
30
|
* Check if a given object implements the CreateArtifactRequest interface.
|
|
@@ -40,6 +41,8 @@ function CreateArtifactRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
40
41
|
}
|
|
41
42
|
return {
|
|
42
43
|
'kind': json['kind'] == null ? undefined : json['kind'],
|
|
44
|
+
'versionGroupId': json['versionGroupId'] == null ? undefined : json['versionGroupId'],
|
|
45
|
+
'query': json['query'] == null ? undefined : json['query'],
|
|
43
46
|
};
|
|
44
47
|
}
|
|
45
48
|
function CreateArtifactRequestToJSON(json) {
|
|
@@ -52,5 +55,7 @@ function CreateArtifactRequestToJSONTyped(value, ignoreDiscriminator) {
|
|
|
52
55
|
}
|
|
53
56
|
return {
|
|
54
57
|
'kind': value['kind'],
|
|
58
|
+
'versionGroupId': value['versionGroupId'],
|
|
59
|
+
'query': value['query'],
|
|
55
60
|
};
|
|
56
61
|
}
|
|
@@ -0,0 +1,51 @@
|
|
|
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
|
+
import type { ArtifactVersionGroup } from './ArtifactVersionGroup';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface GetSharedArtifactVersionGroups200Response
|
|
17
|
+
*/
|
|
18
|
+
export interface GetSharedArtifactVersionGroups200Response {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {Array<ArtifactVersionGroup>}
|
|
22
|
+
* @memberof GetSharedArtifactVersionGroups200Response
|
|
23
|
+
*/
|
|
24
|
+
items: Array<ArtifactVersionGroup>;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {number}
|
|
28
|
+
* @memberof GetSharedArtifactVersionGroups200Response
|
|
29
|
+
*/
|
|
30
|
+
total: number;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {number}
|
|
34
|
+
* @memberof GetSharedArtifactVersionGroups200Response
|
|
35
|
+
*/
|
|
36
|
+
page: number;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {number}
|
|
40
|
+
* @memberof GetSharedArtifactVersionGroups200Response
|
|
41
|
+
*/
|
|
42
|
+
limit: number;
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Check if a given object implements the GetSharedArtifactVersionGroups200Response interface.
|
|
46
|
+
*/
|
|
47
|
+
export declare function instanceOfGetSharedArtifactVersionGroups200Response(value: object): value is GetSharedArtifactVersionGroups200Response;
|
|
48
|
+
export declare function GetSharedArtifactVersionGroups200ResponseFromJSON(json: any): GetSharedArtifactVersionGroups200Response;
|
|
49
|
+
export declare function GetSharedArtifactVersionGroups200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetSharedArtifactVersionGroups200Response;
|
|
50
|
+
export declare function GetSharedArtifactVersionGroups200ResponseToJSON(json: any): GetSharedArtifactVersionGroups200Response;
|
|
51
|
+
export declare function GetSharedArtifactVersionGroups200ResponseToJSONTyped(value?: GetSharedArtifactVersionGroups200Response | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,64 @@
|
|
|
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.instanceOfGetSharedArtifactVersionGroups200Response = instanceOfGetSharedArtifactVersionGroups200Response;
|
|
17
|
+
exports.GetSharedArtifactVersionGroups200ResponseFromJSON = GetSharedArtifactVersionGroups200ResponseFromJSON;
|
|
18
|
+
exports.GetSharedArtifactVersionGroups200ResponseFromJSONTyped = GetSharedArtifactVersionGroups200ResponseFromJSONTyped;
|
|
19
|
+
exports.GetSharedArtifactVersionGroups200ResponseToJSON = GetSharedArtifactVersionGroups200ResponseToJSON;
|
|
20
|
+
exports.GetSharedArtifactVersionGroups200ResponseToJSONTyped = GetSharedArtifactVersionGroups200ResponseToJSONTyped;
|
|
21
|
+
var ArtifactVersionGroup_1 = require("./ArtifactVersionGroup");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the GetSharedArtifactVersionGroups200Response interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfGetSharedArtifactVersionGroups200Response(value) {
|
|
26
|
+
if (!('items' in value) || value['items'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('total' in value) || value['total'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
if (!('page' in value) || value['page'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
if (!('limit' in value) || value['limit'] === undefined)
|
|
33
|
+
return false;
|
|
34
|
+
return true;
|
|
35
|
+
}
|
|
36
|
+
function GetSharedArtifactVersionGroups200ResponseFromJSON(json) {
|
|
37
|
+
return GetSharedArtifactVersionGroups200ResponseFromJSONTyped(json, false);
|
|
38
|
+
}
|
|
39
|
+
function GetSharedArtifactVersionGroups200ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
40
|
+
if (json == null) {
|
|
41
|
+
return json;
|
|
42
|
+
}
|
|
43
|
+
return {
|
|
44
|
+
'items': (json['items'].map(ArtifactVersionGroup_1.ArtifactVersionGroupFromJSON)),
|
|
45
|
+
'total': json['total'],
|
|
46
|
+
'page': json['page'],
|
|
47
|
+
'limit': json['limit'],
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
function GetSharedArtifactVersionGroups200ResponseToJSON(json) {
|
|
51
|
+
return GetSharedArtifactVersionGroups200ResponseToJSONTyped(json, false);
|
|
52
|
+
}
|
|
53
|
+
function GetSharedArtifactVersionGroups200ResponseToJSONTyped(value, ignoreDiscriminator) {
|
|
54
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
55
|
+
if (value == null) {
|
|
56
|
+
return value;
|
|
57
|
+
}
|
|
58
|
+
return {
|
|
59
|
+
'items': (value['items'].map(ArtifactVersionGroup_1.ArtifactVersionGroupToJSON)),
|
|
60
|
+
'total': value['total'],
|
|
61
|
+
'page': value['page'],
|
|
62
|
+
'limit': value['limit'],
|
|
63
|
+
};
|
|
64
|
+
}
|
package/dist/models/Project.d.ts
CHANGED
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import type { User } from './User';
|
|
13
|
+
import type { ArtifactVersionGroup } from './ArtifactVersionGroup';
|
|
13
14
|
import type { ProjectFile } from './ProjectFile';
|
|
14
15
|
import type { Artifact } from './Artifact';
|
|
15
16
|
import type { ChatSession } from './ChatSession';
|
|
@@ -154,6 +155,12 @@ export interface Project {
|
|
|
154
155
|
* @memberof Project
|
|
155
156
|
*/
|
|
156
157
|
artifacts?: Array<Artifact>;
|
|
158
|
+
/**
|
|
159
|
+
*
|
|
160
|
+
* @type {Array<ArtifactVersionGroup>}
|
|
161
|
+
* @memberof Project
|
|
162
|
+
*/
|
|
163
|
+
ArtifactVersionGroup?: Array<ArtifactVersionGroup>;
|
|
157
164
|
}
|
|
158
165
|
/**
|
|
159
166
|
* Check if a given object implements the Project interface.
|
package/dist/models/Project.js
CHANGED
|
@@ -19,6 +19,7 @@ exports.ProjectFromJSONTyped = ProjectFromJSONTyped;
|
|
|
19
19
|
exports.ProjectToJSON = ProjectToJSON;
|
|
20
20
|
exports.ProjectToJSONTyped = ProjectToJSONTyped;
|
|
21
21
|
var User_1 = require("./User");
|
|
22
|
+
var ArtifactVersionGroup_1 = require("./ArtifactVersionGroup");
|
|
22
23
|
var ProjectFile_1 = require("./ProjectFile");
|
|
23
24
|
var Artifact_1 = require("./Artifact");
|
|
24
25
|
var ChatSession_1 = require("./ChatSession");
|
|
@@ -86,6 +87,7 @@ function ProjectFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
86
87
|
'threads': json['threads'] == null ? undefined : (json['threads'].map(Thread_1.ThreadFromJSON)),
|
|
87
88
|
'AttributeKindGroup': json['AttributeKindGroup'] == null ? undefined : (json['AttributeKindGroup'].map(AttributeKindGroup_1.AttributeKindGroupFromJSON)),
|
|
88
89
|
'artifacts': json['artifacts'] == null ? undefined : (json['artifacts'].map(Artifact_1.ArtifactFromJSON)),
|
|
90
|
+
'ArtifactVersionGroup': json['ArtifactVersionGroup'] == null ? undefined : (json['ArtifactVersionGroup'].map(ArtifactVersionGroup_1.ArtifactVersionGroupFromJSON)),
|
|
89
91
|
};
|
|
90
92
|
}
|
|
91
93
|
function ProjectToJSON(json) {
|
|
@@ -118,5 +120,6 @@ function ProjectToJSONTyped(value, ignoreDiscriminator) {
|
|
|
118
120
|
'threads': value['threads'] == null ? undefined : (value['threads'].map(Thread_1.ThreadToJSON)),
|
|
119
121
|
'AttributeKindGroup': value['AttributeKindGroup'] == null ? undefined : (value['AttributeKindGroup'].map(AttributeKindGroup_1.AttributeKindGroupToJSON)),
|
|
120
122
|
'artifacts': value['artifacts'] == null ? undefined : (value['artifacts'].map(Artifact_1.ArtifactToJSON)),
|
|
123
|
+
'ArtifactVersionGroup': value['ArtifactVersionGroup'] == null ? undefined : (value['ArtifactVersionGroup'].map(ArtifactVersionGroup_1.ArtifactVersionGroupToJSON)),
|
|
121
124
|
};
|
|
122
125
|
}
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import type { InviteWithAnalytics } from './InviteWithAnalytics';
|
|
13
13
|
import type { User } from './User';
|
|
14
|
+
import type { ArtifactVersionGroup } from './ArtifactVersionGroup';
|
|
14
15
|
import type { ProjectFile } from './ProjectFile';
|
|
15
16
|
import type { Artifact } from './Artifact';
|
|
16
17
|
import type { ChatSession } from './ChatSession';
|
|
@@ -154,6 +155,12 @@ export interface ProjectWithAnalytics {
|
|
|
154
155
|
* @memberof ProjectWithAnalytics
|
|
155
156
|
*/
|
|
156
157
|
artifacts?: Array<Artifact>;
|
|
158
|
+
/**
|
|
159
|
+
*
|
|
160
|
+
* @type {Array<ArtifactVersionGroup>}
|
|
161
|
+
* @memberof ProjectWithAnalytics
|
|
162
|
+
*/
|
|
163
|
+
ArtifactVersionGroup?: Array<ArtifactVersionGroup>;
|
|
157
164
|
}
|
|
158
165
|
/**
|
|
159
166
|
* Check if a given object implements the ProjectWithAnalytics interface.
|
|
@@ -20,6 +20,7 @@ exports.ProjectWithAnalyticsToJSON = ProjectWithAnalyticsToJSON;
|
|
|
20
20
|
exports.ProjectWithAnalyticsToJSONTyped = ProjectWithAnalyticsToJSONTyped;
|
|
21
21
|
var InviteWithAnalytics_1 = require("./InviteWithAnalytics");
|
|
22
22
|
var User_1 = require("./User");
|
|
23
|
+
var ArtifactVersionGroup_1 = require("./ArtifactVersionGroup");
|
|
23
24
|
var ProjectFile_1 = require("./ProjectFile");
|
|
24
25
|
var Artifact_1 = require("./Artifact");
|
|
25
26
|
var ChatSession_1 = require("./ChatSession");
|
|
@@ -88,6 +89,7 @@ function ProjectWithAnalyticsFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
88
89
|
'threads': json['threads'] == null ? undefined : (json['threads'].map(Thread_1.ThreadFromJSON)),
|
|
89
90
|
'AttributeKindGroup': json['AttributeKindGroup'] == null ? undefined : (json['AttributeKindGroup'].map(AttributeKindGroup_1.AttributeKindGroupFromJSON)),
|
|
90
91
|
'artifacts': json['artifacts'] == null ? undefined : (json['artifacts'].map(Artifact_1.ArtifactFromJSON)),
|
|
92
|
+
'ArtifactVersionGroup': json['ArtifactVersionGroup'] == null ? undefined : (json['ArtifactVersionGroup'].map(ArtifactVersionGroup_1.ArtifactVersionGroupFromJSON)),
|
|
91
93
|
};
|
|
92
94
|
}
|
|
93
95
|
function ProjectWithAnalyticsToJSON(json) {
|
|
@@ -120,5 +122,6 @@ function ProjectWithAnalyticsToJSONTyped(value, ignoreDiscriminator) {
|
|
|
120
122
|
'threads': value['threads'] == null ? undefined : (value['threads'].map(Thread_1.ThreadToJSON)),
|
|
121
123
|
'AttributeKindGroup': value['AttributeKindGroup'] == null ? undefined : (value['AttributeKindGroup'].map(AttributeKindGroup_1.AttributeKindGroupToJSON)),
|
|
122
124
|
'artifacts': value['artifacts'] == null ? undefined : (value['artifacts'].map(Artifact_1.ArtifactToJSON)),
|
|
125
|
+
'ArtifactVersionGroup': value['ArtifactVersionGroup'] == null ? undefined : (value['ArtifactVersionGroup'].map(ArtifactVersionGroup_1.ArtifactVersionGroupToJSON)),
|
|
123
126
|
};
|
|
124
127
|
}
|