keplar-api 0.0.15 → 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 +9 -3
- package/.openapi-generator/VERSION +1 -1
- package/README.md +2 -2
- package/dist/apis/DefaultApi.d.ts +83 -14
- package/dist/apis/DefaultApi.js +338 -19
- package/dist/models/ApiFilesFileIdSignedUrlPost200Response.js +1 -1
- package/dist/models/ApiInvitesIdPutRequest.d.ts +1 -1
- package/dist/models/ApiInvitesIdPutRequest.js +4 -5
- package/dist/models/ApiInvitesPostRequest.js +1 -1
- 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 +16 -5
- 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/Attribute.js +1 -1
- package/dist/models/AttributeKind.js +2 -2
- package/dist/models/AttributeKindGroup.js +2 -2
- package/dist/models/Call.js +5 -4
- package/dist/models/CallEvent.js +1 -1
- package/dist/models/CallMetadata.d.ts +24 -0
- package/dist/models/CallMetadata.js +8 -0
- package/dist/models/ChatMessage.js +2 -2
- package/dist/models/ChatSession.js +2 -2
- package/dist/models/CodeInvite.js +2 -1
- package/dist/models/CodeInviteResponse.js +2 -2
- package/dist/models/ConversationMessage.js +2 -2
- package/dist/models/CreateArtifactRequest.d.ts +13 -0
- package/dist/models/CreateArtifactRequest.js +6 -1
- package/dist/models/CreateEmailShareRequest.js +1 -1
- package/dist/models/CreateProjectShareRequest.js +1 -1
- package/dist/models/EmailShare.js +4 -3
- package/dist/models/GetCodeInvite200Response.js +2 -1
- package/dist/models/GetSharedArtifactVersionGroups200Response.d.ts +51 -0
- package/dist/models/GetSharedArtifactVersionGroups200Response.js +64 -0
- package/dist/models/Invite.js +5 -4
- package/dist/models/InviteResponse.js +2 -2
- package/dist/models/InviteResponseAttribute.js +1 -1
- package/dist/models/InviteResponseWithCallSummary.js +2 -2
- package/dist/models/InviteWithAnalytics.js +5 -4
- package/dist/models/JoinCodeInvite302Response.js +2 -1
- package/dist/models/Login200Response.js +4 -4
- package/dist/models/ModelFile.js +5 -4
- package/dist/models/Moderator.js +2 -2
- package/dist/models/Org.js +2 -2
- package/dist/models/Participant.js +2 -2
- package/dist/models/ParticipantAttribute.js +2 -2
- package/dist/models/ParticipantInvite.js +2 -2
- package/dist/models/ParticipantInviteData.js +1 -1
- package/dist/models/PhoneCallStartResponse.js +1 -1
- package/dist/models/Project.d.ts +7 -0
- package/dist/models/Project.js +5 -2
- package/dist/models/ProjectFile.js +2 -2
- package/dist/models/ProjectFilePublicFile.js +2 -1
- package/dist/models/ProjectSummaryWithAnalytics.js +2 -2
- package/dist/models/ProjectWithAnalytics.d.ts +7 -0
- package/dist/models/ProjectWithAnalytics.js +5 -2
- package/dist/models/SearchSharedResponseMessages200ResponseInner.d.ts +74 -0
- package/dist/models/{SearchResponseMessages200ResponseInner.js → SearchSharedResponseMessages200ResponseInner.js} +14 -14
- package/dist/models/SearchSharedResponseMessagesRequest.d.ts +33 -0
- package/dist/models/SearchSharedResponseMessagesRequest.js +52 -0
- package/dist/models/SearchSharedResponseMessagesRequestInviteResponseMessagesInner.d.ts +38 -0
- package/dist/models/SearchSharedResponseMessagesRequestInviteResponseMessagesInner.js +55 -0
- package/dist/models/ShareEntity.js +3 -2
- package/dist/models/ThematicAnalysisArtifactCreateData.d.ts +13 -0
- package/dist/models/ThematicAnalysisArtifactCreateData.js +11 -0
- package/dist/models/Thread.js +2 -2
- package/dist/models/ThreadFile.js +1 -1
- package/dist/models/TranscriptMessage.js +1 -1
- package/dist/models/TranscriptMessagesInner.js +1 -1
- package/dist/models/UpdateArtifactRequest.d.ts +9 -3
- package/dist/models/UpdateArtifactRequest.js +5 -3
- package/dist/models/UpdateShareEntityRequest.js +2 -1
- package/dist/models/User.js +5 -4
- package/dist/models/UserWithConfig.js +5 -4
- package/dist/models/Workspace.js +2 -2
- package/dist/models/WorkspaceMember.js +2 -2
- package/dist/models/index.d.ts +9 -3
- package/dist/models/index.js +9 -3
- package/package.json +1 -1
- package/src/apis/DefaultApi.ts +360 -33
- package/src/models/ApiFilesFileIdSignedUrlPost200Response.ts +1 -1
- package/src/models/ApiInvitesIdPutRequest.ts +4 -5
- package/src/models/ApiInvitesPostRequest.ts +1 -1
- package/src/models/ApiProjectsProjectIdAnalysisPost200Response.ts +65 -0
- package/src/models/Artifact.ts +52 -12
- 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/Attribute.ts +1 -1
- package/src/models/AttributeKind.ts +2 -2
- package/src/models/AttributeKindGroup.ts +2 -2
- package/src/models/Call.ts +4 -4
- package/src/models/CallEvent.ts +1 -1
- package/src/models/CallMetadata.ts +32 -0
- package/src/models/ChatMessage.ts +2 -2
- package/src/models/ChatSession.ts +2 -2
- package/src/models/CodeInvite.ts +1 -1
- package/src/models/CodeInviteResponse.ts +2 -2
- package/src/models/ConversationMessage.ts +2 -2
- package/src/models/CreateArtifactRequest.ts +18 -1
- package/src/models/CreateEmailShareRequest.ts +1 -1
- package/src/models/CreateProjectShareRequest.ts +1 -1
- package/src/models/EmailShare.ts +3 -3
- package/src/models/GetCodeInvite200Response.ts +1 -1
- package/src/models/GetSharedArtifactVersionGroups200Response.ts +101 -0
- package/src/models/Invite.ts +4 -4
- package/src/models/InviteResponse.ts +2 -2
- package/src/models/InviteResponseAttribute.ts +1 -1
- package/src/models/InviteResponseWithCallSummary.ts +2 -2
- package/src/models/InviteWithAnalytics.ts +4 -4
- package/src/models/JoinCodeInvite302Response.ts +1 -1
- package/src/models/Login200Response.ts +4 -4
- package/src/models/ModelFile.ts +4 -4
- package/src/models/Moderator.ts +2 -2
- package/src/models/Org.ts +2 -2
- package/src/models/Participant.ts +2 -2
- package/src/models/ParticipantAttribute.ts +2 -2
- package/src/models/ParticipantInvite.ts +2 -2
- package/src/models/ParticipantInviteData.ts +1 -1
- package/src/models/PhoneCallStartResponse.ts +1 -1
- package/src/models/Project.ts +17 -2
- package/src/models/ProjectFile.ts +2 -2
- package/src/models/ProjectFilePublicFile.ts +1 -1
- package/src/models/ProjectSummaryWithAnalytics.ts +2 -2
- package/src/models/ProjectWithAnalytics.ts +17 -2
- package/src/models/{SearchResponseMessages200ResponseInner.ts → SearchSharedResponseMessages200ResponseInner.ts} +19 -19
- package/src/models/SearchSharedResponseMessagesRequest.ts +74 -0
- package/src/models/SearchSharedResponseMessagesRequestInviteResponseMessagesInner.ts +75 -0
- package/src/models/ShareEntity.ts +2 -2
- package/src/models/ThematicAnalysisArtifactCreateData.ts +19 -0
- package/src/models/Thread.ts +2 -2
- package/src/models/ThreadFile.ts +1 -1
- package/src/models/TranscriptMessage.ts +1 -1
- package/src/models/TranscriptMessagesInner.ts +1 -1
- package/src/models/UpdateArtifactRequest.ts +18 -10
- package/src/models/UpdateShareEntityRequest.ts +1 -1
- package/src/models/User.ts +4 -4
- package/src/models/UserWithConfig.ts +4 -4
- package/src/models/Workspace.ts +2 -2
- package/src/models/WorkspaceMember.ts +2 -2
- package/src/models/index.ts +9 -3
- package/dist/models/SearchResponseMessages200ResponseInner.d.ts +0 -74
- package/dist/models/SearchResponseMessagesRequest.d.ts +0 -33
- package/dist/models/SearchResponseMessagesRequest.js +0 -52
- package/dist/models/SearchResponseMessagesRequestInviteResponseMessagesInner.d.ts +0 -38
- package/dist/models/SearchResponseMessagesRequestInviteResponseMessagesInner.js +0 -55
- package/src/models/SearchResponseMessagesRequest.ts +0 -74
- package/src/models/SearchResponseMessagesRequestInviteResponseMessagesInner.ts +0 -75
package/dist/models/Artifact.js
CHANGED
|
@@ -21,9 +21,10 @@ exports.ArtifactToJSONTyped = ArtifactToJSONTyped;
|
|
|
21
21
|
var Project_1 = require("./Project");
|
|
22
22
|
var ArtifactKind_1 = require("./ArtifactKind");
|
|
23
23
|
var User_1 = require("./User");
|
|
24
|
-
var
|
|
24
|
+
var ArtifactVersionGroup_1 = require("./ArtifactVersionGroup");
|
|
25
25
|
var AttributeKindGroup_1 = require("./AttributeKindGroup");
|
|
26
26
|
var ArtifactMetadata_1 = require("./ArtifactMetadata");
|
|
27
|
+
var ArtifactData_1 = require("./ArtifactData");
|
|
27
28
|
/**
|
|
28
29
|
* Check if a given object implements the Artifact interface.
|
|
29
30
|
*/
|
|
@@ -34,6 +35,8 @@ function instanceOfArtifact(value) {
|
|
|
34
35
|
return false;
|
|
35
36
|
if (!('projectId' in value) || value['projectId'] === undefined)
|
|
36
37
|
return false;
|
|
38
|
+
if (!('versionGroupId' in value) || value['versionGroupId'] === undefined)
|
|
39
|
+
return false;
|
|
37
40
|
if (!('metadata' in value) || value['metadata'] === undefined)
|
|
38
41
|
return false;
|
|
39
42
|
if (!('createdById' in value) || value['createdById'] === undefined)
|
|
@@ -53,16 +56,20 @@ function ArtifactFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
53
56
|
}
|
|
54
57
|
return {
|
|
55
58
|
'id': json['id'],
|
|
59
|
+
'title': json['title'] == null ? undefined : json['title'],
|
|
56
60
|
'kind': (0, ArtifactKind_1.ArtifactKindFromJSON)(json['kind']),
|
|
57
61
|
'projectId': json['projectId'],
|
|
58
62
|
'attributeKindGroupId': json['attributeKindGroupId'] == null ? undefined : json['attributeKindGroupId'],
|
|
59
|
-
'
|
|
63
|
+
'versionGroupId': json['versionGroupId'],
|
|
64
|
+
'data': json['data'] == null ? undefined : (0, ArtifactData_1.ArtifactDataFromJSON)(json['data']),
|
|
60
65
|
'metadata': (0, ArtifactMetadata_1.ArtifactMetadataFromJSON)(json['metadata']),
|
|
61
66
|
'createdById': json['createdById'],
|
|
62
67
|
'createdAt': (new Date(json['createdAt'])),
|
|
63
68
|
'updatedAt': (new Date(json['updatedAt'])),
|
|
64
69
|
'project': json['project'] == null ? undefined : (0, Project_1.ProjectFromJSON)(json['project']),
|
|
65
70
|
'attributeKindGroup': json['attributeKindGroup'] == null ? undefined : (0, AttributeKindGroup_1.AttributeKindGroupFromJSON)(json['attributeKindGroup']),
|
|
71
|
+
'versionGroup': json['versionGroup'] == null ? undefined : (0, ArtifactVersionGroup_1.ArtifactVersionGroupFromJSON)(json['versionGroup']),
|
|
72
|
+
'latestForGroup': json['latestForGroup'] == null ? undefined : (0, ArtifactVersionGroup_1.ArtifactVersionGroupFromJSON)(json['latestForGroup']),
|
|
66
73
|
'createdBy': json['createdBy'] == null ? undefined : (0, User_1.UserFromJSON)(json['createdBy']),
|
|
67
74
|
};
|
|
68
75
|
}
|
|
@@ -76,16 +83,20 @@ function ArtifactToJSONTyped(value, ignoreDiscriminator) {
|
|
|
76
83
|
}
|
|
77
84
|
return {
|
|
78
85
|
'id': value['id'],
|
|
86
|
+
'title': value['title'],
|
|
79
87
|
'kind': (0, ArtifactKind_1.ArtifactKindToJSON)(value['kind']),
|
|
80
88
|
'projectId': value['projectId'],
|
|
81
89
|
'attributeKindGroupId': value['attributeKindGroupId'],
|
|
82
|
-
'
|
|
90
|
+
'versionGroupId': value['versionGroupId'],
|
|
91
|
+
'data': (0, ArtifactData_1.ArtifactDataToJSON)(value['data']),
|
|
83
92
|
'metadata': (0, ArtifactMetadata_1.ArtifactMetadataToJSON)(value['metadata']),
|
|
84
93
|
'createdById': value['createdById'],
|
|
85
|
-
'createdAt': value['createdAt'].toISOString(),
|
|
86
|
-
'updatedAt': value['updatedAt'].toISOString(),
|
|
94
|
+
'createdAt': ((value['createdAt']).toISOString()),
|
|
95
|
+
'updatedAt': ((value['updatedAt']).toISOString()),
|
|
87
96
|
'project': (0, Project_1.ProjectToJSON)(value['project']),
|
|
88
97
|
'attributeKindGroup': (0, AttributeKindGroup_1.AttributeKindGroupToJSON)(value['attributeKindGroup']),
|
|
98
|
+
'versionGroup': (0, ArtifactVersionGroup_1.ArtifactVersionGroupToJSON)(value['versionGroup']),
|
|
99
|
+
'latestForGroup': (0, ArtifactVersionGroup_1.ArtifactVersionGroupToJSON)(value['latestForGroup']),
|
|
89
100
|
'createdBy': (0, User_1.UserToJSON)(value['createdBy']),
|
|
90
101
|
};
|
|
91
102
|
}
|
|
@@ -0,0 +1,27 @@
|
|
|
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 { ArtifactDataReport } from './ArtifactDataReport';
|
|
13
|
+
import type { ArtifactDataThematicAnalysis } from './ArtifactDataThematicAnalysis';
|
|
14
|
+
/**
|
|
15
|
+
* @type ArtifactData
|
|
16
|
+
*
|
|
17
|
+
* @export
|
|
18
|
+
*/
|
|
19
|
+
export type ArtifactData = {
|
|
20
|
+
kind: 'report';
|
|
21
|
+
} & ArtifactDataReport | {
|
|
22
|
+
kind: 'thematic_analysis';
|
|
23
|
+
} & ArtifactDataThematicAnalysis;
|
|
24
|
+
export declare function ArtifactDataFromJSON(json: any): ArtifactData;
|
|
25
|
+
export declare function ArtifactDataFromJSONTyped(json: any, ignoreDiscriminator: boolean): ArtifactData;
|
|
26
|
+
export declare function ArtifactDataToJSON(json: any): any;
|
|
27
|
+
export declare function ArtifactDataToJSONTyped(value?: ArtifactData | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -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.ArtifactDataFromJSON = ArtifactDataFromJSON;
|
|
17
|
+
exports.ArtifactDataFromJSONTyped = ArtifactDataFromJSONTyped;
|
|
18
|
+
exports.ArtifactDataToJSON = ArtifactDataToJSON;
|
|
19
|
+
exports.ArtifactDataToJSONTyped = ArtifactDataToJSONTyped;
|
|
20
|
+
var ArtifactDataReport_1 = require("./ArtifactDataReport");
|
|
21
|
+
var ArtifactDataThematicAnalysis_1 = require("./ArtifactDataThematicAnalysis");
|
|
22
|
+
function ArtifactDataFromJSON(json) {
|
|
23
|
+
return ArtifactDataFromJSONTyped(json, false);
|
|
24
|
+
}
|
|
25
|
+
function ArtifactDataFromJSONTyped(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, ArtifactDataThematicAnalysis_1.ArtifactDataThematicAnalysisFromJSONTyped)(json, true), { kind: 'thematic_analysis' });
|
|
34
|
+
default:
|
|
35
|
+
return json;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
function ArtifactDataToJSON(json) {
|
|
39
|
+
return ArtifactDataToJSONTyped(json, false);
|
|
40
|
+
}
|
|
41
|
+
function ArtifactDataToJSONTyped(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, ArtifactDataThematicAnalysis_1.ArtifactDataThematicAnalysisToJSON)(value), { kind: 'thematic_analysis' });
|
|
51
|
+
default:
|
|
52
|
+
return value;
|
|
53
|
+
}
|
|
54
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
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 { ArtifactDataReport } from './ArtifactDataReport';
|
|
13
|
+
import type { ThematicAnalysisArtifactCreateData } from './ThematicAnalysisArtifactCreateData';
|
|
14
|
+
/**
|
|
15
|
+
* @type ArtifactDataCreate
|
|
16
|
+
*
|
|
17
|
+
* @export
|
|
18
|
+
*/
|
|
19
|
+
export type ArtifactDataCreate = {
|
|
20
|
+
kind: 'report';
|
|
21
|
+
} & ArtifactDataReport | {
|
|
22
|
+
kind: 'thematic_analysis';
|
|
23
|
+
} & ThematicAnalysisArtifactCreateData;
|
|
24
|
+
export declare function ArtifactDataCreateFromJSON(json: any): ArtifactDataCreate;
|
|
25
|
+
export declare function ArtifactDataCreateFromJSONTyped(json: any, ignoreDiscriminator: boolean): ArtifactDataCreate;
|
|
26
|
+
export declare function ArtifactDataCreateToJSON(json: any): any;
|
|
27
|
+
export declare function ArtifactDataCreateToJSONTyped(value?: ArtifactDataCreate | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -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
|
+
}
|
package/dist/models/Attribute.js
CHANGED
|
@@ -66,7 +66,7 @@ function AttributeToJSONTyped(value, ignoreDiscriminator) {
|
|
|
66
66
|
'attributeKindId': value['attributeKindId'],
|
|
67
67
|
'value': value['value'],
|
|
68
68
|
'description': value['description'],
|
|
69
|
-
'createdAt': value['createdAt'].toISOString(),
|
|
69
|
+
'createdAt': ((value['createdAt']).toISOString()),
|
|
70
70
|
'attributeKind': (0, AttributeKind_1.AttributeKindToJSON)(value['attributeKind']),
|
|
71
71
|
'participantAttributes': value['participantAttributes'] == null ? undefined : (value['participantAttributes'].map(ParticipantAttribute_1.ParticipantAttributeToJSON)),
|
|
72
72
|
'inviteResponseAttributes': value['inviteResponseAttributes'] == null ? undefined : (value['inviteResponseAttributes'].map(InviteResponseAttribute_1.InviteResponseAttributeToJSON)),
|
|
@@ -73,8 +73,8 @@ function AttributeKindToJSONTyped(value, ignoreDiscriminator) {
|
|
|
73
73
|
'valueKind': (0, AttributeValueKind_1.AttributeValueKindToJSON)(value['valueKind']),
|
|
74
74
|
'description': value['description'],
|
|
75
75
|
'category': value['category'],
|
|
76
|
-
'createdAt': value['createdAt'].toISOString(),
|
|
77
|
-
'updatedAt': value['updatedAt'].toISOString(),
|
|
76
|
+
'createdAt': ((value['createdAt']).toISOString()),
|
|
77
|
+
'updatedAt': ((value['updatedAt']).toISOString()),
|
|
78
78
|
'attributeKindGroupId': value['attributeKindGroupId'],
|
|
79
79
|
'attributes': value['attributes'] == null ? undefined : (value['attributes'].map(Attribute_1.AttributeToJSON)),
|
|
80
80
|
'attributeKindGroup': (0, AttributeKindGroup_1.AttributeKindGroupToJSON)(value['attributeKindGroup']),
|
|
@@ -91,8 +91,8 @@ function AttributeKindGroupToJSONTyped(value, ignoreDiscriminator) {
|
|
|
91
91
|
'workspaceId': value['workspaceId'],
|
|
92
92
|
'projectId': value['projectId'],
|
|
93
93
|
'createdById': value['createdById'],
|
|
94
|
-
'createdAt': value['createdAt'].toISOString(),
|
|
95
|
-
'updatedAt': value['updatedAt'].toISOString(),
|
|
94
|
+
'createdAt': ((value['createdAt']).toISOString()),
|
|
95
|
+
'updatedAt': ((value['updatedAt']).toISOString()),
|
|
96
96
|
'workspace': (0, Workspace_1.WorkspaceToJSON)(value['workspace']),
|
|
97
97
|
'project': (0, Project_1.ProjectToJSON)(value['project']),
|
|
98
98
|
'createdBy': (0, User_1.UserToJSON)(value['createdBy']),
|
package/dist/models/Call.js
CHANGED
|
@@ -78,6 +78,7 @@ function CallToJSON(json) {
|
|
|
78
78
|
return CallToJSONTyped(json, false);
|
|
79
79
|
}
|
|
80
80
|
function CallToJSONTyped(value, ignoreDiscriminator) {
|
|
81
|
+
var _a, _b;
|
|
81
82
|
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
82
83
|
if (value == null) {
|
|
83
84
|
return value;
|
|
@@ -86,10 +87,10 @@ function CallToJSONTyped(value, ignoreDiscriminator) {
|
|
|
86
87
|
'id': value['id'],
|
|
87
88
|
'vendor': value['vendor'],
|
|
88
89
|
'vendorCallId': value['vendorCallId'],
|
|
89
|
-
'createdAt': value['createdAt'].toISOString(),
|
|
90
|
-
'updatedAt': value['updatedAt'].toISOString(),
|
|
91
|
-
'startedAt': value['startedAt']
|
|
92
|
-
'endedAt': value['endedAt']
|
|
90
|
+
'createdAt': ((value['createdAt']).toISOString()),
|
|
91
|
+
'updatedAt': ((value['updatedAt']).toISOString()),
|
|
92
|
+
'startedAt': value['startedAt'] === null ? null : ((_a = value['startedAt']) === null || _a === void 0 ? void 0 : _a.toISOString()),
|
|
93
|
+
'endedAt': value['endedAt'] === null ? null : ((_b = value['endedAt']) === null || _b === void 0 ? void 0 : _b.toISOString()),
|
|
93
94
|
'kind': (0, CallKind_1.CallKindToJSON)(value['kind']),
|
|
94
95
|
'status': (0, CallStatus_1.CallStatusToJSON)(value['status']),
|
|
95
96
|
'phoneNumber': value['phoneNumber'],
|
package/dist/models/CallEvent.js
CHANGED
|
@@ -58,7 +58,7 @@ function CallEventToJSONTyped(value, ignoreDiscriminator) {
|
|
|
58
58
|
}
|
|
59
59
|
return {
|
|
60
60
|
'callId': value['callId'],
|
|
61
|
-
'timestamp': value['timestamp'].toISOString(),
|
|
61
|
+
'timestamp': ((value['timestamp']).toISOString()),
|
|
62
62
|
'kind': value['kind'],
|
|
63
63
|
'data': value['data'],
|
|
64
64
|
'call': (0, Call_1.CallToJSON)(value['call']),
|
|
@@ -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
|
}
|
|
@@ -68,8 +68,8 @@ function ChatMessageToJSONTyped(value, ignoreDiscriminator) {
|
|
|
68
68
|
}
|
|
69
69
|
return {
|
|
70
70
|
'id': value['id'],
|
|
71
|
-
'createdAt': value['createdAt'].toISOString(),
|
|
72
|
-
'updatedAt': value['updatedAt'].toISOString(),
|
|
71
|
+
'createdAt': ((value['createdAt']).toISOString()),
|
|
72
|
+
'updatedAt': ((value['updatedAt']).toISOString()),
|
|
73
73
|
'content': value['content'],
|
|
74
74
|
'role': (0, ChatMessageRole_1.ChatMessageRoleToJSON)(value['role']),
|
|
75
75
|
'kind': (0, ChatMessageKind_1.ChatMessageKindToJSON)(value['kind']),
|