keplar-api 0.0.16 → 0.0.18
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 +8 -0
- package/.openapi-generator/VERSION +1 -1
- package/README.md +2 -2
- package/dist/apis/DefaultApi.d.ts +17 -13
- package/dist/apis/DefaultApi.js +27 -21
- package/dist/models/ApiFilesFileIdSignedUrlPost200Response.js +1 -1
- package/dist/models/ApiInvitesIdPutRequest.d.ts +1 -1
- package/dist/models/ApiInvitesIdPutRequest.js +3 -6
- 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/ByoPanelRepdataConfig.d.ts +46 -0
- package/dist/models/ByoPanelRepdataConfig.js +63 -0
- package/dist/models/Call.js +4 -5
- 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 +1 -2
- package/dist/models/CodeInviteConfig.d.ts +3 -0
- package/dist/models/CodeInviteConfig.js +5 -0
- 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 +3 -4
- package/dist/models/GetCodeInvite200Response.js +1 -2
- package/dist/models/GetSharedArtifactVersionGroups200Response.d.ts +51 -0
- package/dist/models/GetSharedArtifactVersionGroups200Response.js +64 -0
- package/dist/models/Invite.js +4 -5
- package/dist/models/InviteConfig.d.ts +3 -0
- package/dist/models/InviteConfig.js +5 -0
- package/dist/models/InviteConfigByoPanel.d.ts +70 -0
- package/dist/models/InviteConfigByoPanel.js +73 -0
- 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 +4 -5
- package/dist/models/JoinCodeInvite302Response.js +1 -2
- package/dist/models/Login200Response.js +4 -4
- package/dist/models/ModelFile.js +4 -5
- 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 +1 -2
- 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.js +1 -1
- package/dist/models/ShareEntity.js +2 -3
- 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 +1 -2
- package/dist/models/User.js +4 -5
- package/dist/models/UserWithConfig.js +4 -5
- package/dist/models/Workspace.js +2 -2
- package/dist/models/WorkspaceMember.js +2 -2
- package/dist/models/index.d.ts +8 -0
- package/dist/models/index.js +8 -0
- package/package.json +1 -1
- package/src/apis/DefaultApi.ts +45 -23
- 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/ByoPanelRepdataConfig.ts +93 -0
- 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/CodeInviteConfig.ts +12 -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/InviteConfig.ts +12 -1
- package/src/models/InviteConfigByoPanel.ts +126 -0
- 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/SearchSharedResponseMessages200ResponseInner.ts +1 -1
- 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 +8 -0
|
@@ -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
|
+
|
package/src/models/Attribute.ts
CHANGED
|
@@ -138,7 +138,7 @@ export function AttributeToJSONTyped(value?: Attribute | null, ignoreDiscriminat
|
|
|
138
138
|
'attributeKindId': value['attributeKindId'],
|
|
139
139
|
'value': value['value'],
|
|
140
140
|
'description': value['description'],
|
|
141
|
-
'createdAt':
|
|
141
|
+
'createdAt': value['createdAt'].toISOString(),
|
|
142
142
|
'attributeKind': AttributeKindToJSON(value['attributeKind']),
|
|
143
143
|
'participantAttributes': value['participantAttributes'] == null ? undefined : ((value['participantAttributes'] as Array<any>).map(ParticipantAttributeToJSON)),
|
|
144
144
|
'inviteResponseAttributes': value['inviteResponseAttributes'] == null ? undefined : ((value['inviteResponseAttributes'] as Array<any>).map(InviteResponseAttributeToJSON)),
|
|
@@ -164,8 +164,8 @@ export function AttributeKindToJSONTyped(value?: AttributeKind | null, ignoreDis
|
|
|
164
164
|
'valueKind': AttributeValueKindToJSON(value['valueKind']),
|
|
165
165
|
'description': value['description'],
|
|
166
166
|
'category': value['category'],
|
|
167
|
-
'createdAt':
|
|
168
|
-
'updatedAt':
|
|
167
|
+
'createdAt': value['createdAt'].toISOString(),
|
|
168
|
+
'updatedAt': value['updatedAt'].toISOString(),
|
|
169
169
|
'attributeKindGroupId': value['attributeKindGroupId'],
|
|
170
170
|
'attributes': value['attributes'] == null ? undefined : ((value['attributes'] as Array<any>).map(AttributeToJSON)),
|
|
171
171
|
'attributeKindGroup': AttributeKindGroupToJSON(value['attributeKindGroup']),
|
|
@@ -226,8 +226,8 @@ export function AttributeKindGroupToJSONTyped(value?: AttributeKindGroup | null,
|
|
|
226
226
|
'workspaceId': value['workspaceId'],
|
|
227
227
|
'projectId': value['projectId'],
|
|
228
228
|
'createdById': value['createdById'],
|
|
229
|
-
'createdAt':
|
|
230
|
-
'updatedAt':
|
|
229
|
+
'createdAt': value['createdAt'].toISOString(),
|
|
230
|
+
'updatedAt': value['updatedAt'].toISOString(),
|
|
231
231
|
'workspace': WorkspaceToJSON(value['workspace']),
|
|
232
232
|
'project': ProjectToJSON(value['project']),
|
|
233
233
|
'createdBy': UserToJSON(value['createdBy']),
|
|
@@ -0,0 +1,93 @@
|
|
|
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 { RepdataQualification } from './RepdataQualification';
|
|
17
|
+
import {
|
|
18
|
+
RepdataQualificationFromJSON,
|
|
19
|
+
RepdataQualificationFromJSONTyped,
|
|
20
|
+
RepdataQualificationToJSON,
|
|
21
|
+
RepdataQualificationToJSONTyped,
|
|
22
|
+
} from './RepdataQualification';
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @export
|
|
27
|
+
* @interface ByoPanelRepdataConfig
|
|
28
|
+
*/
|
|
29
|
+
export interface ByoPanelRepdataConfig {
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof ByoPanelRepdataConfig
|
|
34
|
+
*/
|
|
35
|
+
kind: ByoPanelRepdataConfigKindEnum;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {Array<RepdataQualification>}
|
|
39
|
+
* @memberof ByoPanelRepdataConfig
|
|
40
|
+
*/
|
|
41
|
+
selectedQualifications: Array<RepdataQualification>;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
/**
|
|
46
|
+
* @export
|
|
47
|
+
*/
|
|
48
|
+
export const ByoPanelRepdataConfigKindEnum = {
|
|
49
|
+
Repdata: 'REPDATA'
|
|
50
|
+
} as const;
|
|
51
|
+
export type ByoPanelRepdataConfigKindEnum = typeof ByoPanelRepdataConfigKindEnum[keyof typeof ByoPanelRepdataConfigKindEnum];
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
/**
|
|
55
|
+
* Check if a given object implements the ByoPanelRepdataConfig interface.
|
|
56
|
+
*/
|
|
57
|
+
export function instanceOfByoPanelRepdataConfig(value: object): value is ByoPanelRepdataConfig {
|
|
58
|
+
if (!('kind' in value) || value['kind'] === undefined) return false;
|
|
59
|
+
if (!('selectedQualifications' in value) || value['selectedQualifications'] === undefined) return false;
|
|
60
|
+
return true;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
export function ByoPanelRepdataConfigFromJSON(json: any): ByoPanelRepdataConfig {
|
|
64
|
+
return ByoPanelRepdataConfigFromJSONTyped(json, false);
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
export function ByoPanelRepdataConfigFromJSONTyped(json: any, ignoreDiscriminator: boolean): ByoPanelRepdataConfig {
|
|
68
|
+
if (json == null) {
|
|
69
|
+
return json;
|
|
70
|
+
}
|
|
71
|
+
return {
|
|
72
|
+
|
|
73
|
+
'kind': json['kind'],
|
|
74
|
+
'selectedQualifications': ((json['selectedQualifications'] as Array<any>).map(RepdataQualificationFromJSON)),
|
|
75
|
+
};
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
export function ByoPanelRepdataConfigToJSON(json: any): ByoPanelRepdataConfig {
|
|
79
|
+
return ByoPanelRepdataConfigToJSONTyped(json, false);
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
export function ByoPanelRepdataConfigToJSONTyped(value?: ByoPanelRepdataConfig | null, ignoreDiscriminator: boolean = false): any {
|
|
83
|
+
if (value == null) {
|
|
84
|
+
return value;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
return {
|
|
88
|
+
|
|
89
|
+
'kind': value['kind'],
|
|
90
|
+
'selectedQualifications': ((value['selectedQualifications'] as Array<any>).map(RepdataQualificationToJSON)),
|
|
91
|
+
};
|
|
92
|
+
}
|
|
93
|
+
|
package/src/models/Call.ts
CHANGED
|
@@ -273,10 +273,10 @@ export function CallToJSONTyped(value?: Call | null, ignoreDiscriminator: boolea
|
|
|
273
273
|
'id': value['id'],
|
|
274
274
|
'vendor': value['vendor'],
|
|
275
275
|
'vendorCallId': value['vendorCallId'],
|
|
276
|
-
'createdAt':
|
|
277
|
-
'updatedAt':
|
|
278
|
-
'startedAt': value['startedAt']
|
|
279
|
-
'endedAt': value['endedAt']
|
|
276
|
+
'createdAt': value['createdAt'].toISOString(),
|
|
277
|
+
'updatedAt': value['updatedAt'].toISOString(),
|
|
278
|
+
'startedAt': value['startedAt'] == null ? value['startedAt'] : value['startedAt'].toISOString(),
|
|
279
|
+
'endedAt': value['endedAt'] == null ? value['endedAt'] : value['endedAt'].toISOString(),
|
|
280
280
|
'kind': CallKindToJSON(value['kind']),
|
|
281
281
|
'status': CallStatusToJSON(value['status']),
|
|
282
282
|
'phoneNumber': value['phoneNumber'],
|
package/src/models/CallEvent.ts
CHANGED
|
@@ -100,7 +100,7 @@ export function CallEventToJSONTyped(value?: CallEvent | null, ignoreDiscriminat
|
|
|
100
100
|
return {
|
|
101
101
|
|
|
102
102
|
'callId': value['callId'],
|
|
103
|
-
'timestamp':
|
|
103
|
+
'timestamp': value['timestamp'].toISOString(),
|
|
104
104
|
'kind': value['kind'],
|
|
105
105
|
'data': value['data'],
|
|
106
106
|
'call': CallToJSON(value['call']),
|
|
@@ -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
|
|
|
@@ -146,8 +146,8 @@ export function ChatMessageToJSONTyped(value?: ChatMessage | null, ignoreDiscrim
|
|
|
146
146
|
return {
|
|
147
147
|
|
|
148
148
|
'id': value['id'],
|
|
149
|
-
'createdAt':
|
|
150
|
-
'updatedAt':
|
|
149
|
+
'createdAt': value['createdAt'].toISOString(),
|
|
150
|
+
'updatedAt': value['updatedAt'].toISOString(),
|
|
151
151
|
'content': value['content'],
|
|
152
152
|
'role': ChatMessageRoleToJSON(value['role']),
|
|
153
153
|
'kind': ChatMessageKindToJSON(value['kind']),
|
|
@@ -166,8 +166,8 @@ export function ChatSessionToJSONTyped(value?: ChatSession | null, ignoreDiscrim
|
|
|
166
166
|
'id': value['id'],
|
|
167
167
|
'name': value['name'],
|
|
168
168
|
'description': value['description'],
|
|
169
|
-
'createdAt':
|
|
170
|
-
'updatedAt':
|
|
169
|
+
'createdAt': value['createdAt'].toISOString(),
|
|
170
|
+
'updatedAt': value['updatedAt'].toISOString(),
|
|
171
171
|
'kind': value['kind'],
|
|
172
172
|
'data': value['data'],
|
|
173
173
|
'createdById': value['createdById'],
|
package/src/models/CodeInvite.ts
CHANGED
|
@@ -151,7 +151,7 @@ export function CodeInviteToJSONTyped(value?: CodeInvite | null, ignoreDiscrimin
|
|
|
151
151
|
'name': value['name'],
|
|
152
152
|
'description': value['description'],
|
|
153
153
|
'status': InviteStatusToJSON(value['status']),
|
|
154
|
-
'expiresAt': value['expiresAt']
|
|
154
|
+
'expiresAt': value['expiresAt'] == null ? value['expiresAt'] : value['expiresAt'].toISOString(),
|
|
155
155
|
'projectId': value['projectId'],
|
|
156
156
|
'config': CodeInviteConfigToJSON(value['config']),
|
|
157
157
|
'settings': JoinCodeInvite302ResponseSettingsToJSON(value['settings']),
|
|
@@ -26,6 +26,13 @@ import {
|
|
|
26
26
|
CodeInviteConfigKeplarPanelFromJSONTyped,
|
|
27
27
|
CodeInviteConfigKeplarPanelToJSON,
|
|
28
28
|
} from './CodeInviteConfigKeplarPanel';
|
|
29
|
+
import type { InviteConfigByoPanel } from './InviteConfigByoPanel';
|
|
30
|
+
import {
|
|
31
|
+
instanceOfInviteConfigByoPanel,
|
|
32
|
+
InviteConfigByoPanelFromJSON,
|
|
33
|
+
InviteConfigByoPanelFromJSONTyped,
|
|
34
|
+
InviteConfigByoPanelToJSON,
|
|
35
|
+
} from './InviteConfigByoPanel';
|
|
29
36
|
import type { InviteConfigPublic } from './InviteConfigPublic';
|
|
30
37
|
import {
|
|
31
38
|
instanceOfInviteConfigPublic,
|
|
@@ -39,7 +46,7 @@ import {
|
|
|
39
46
|
*
|
|
40
47
|
* @export
|
|
41
48
|
*/
|
|
42
|
-
export type CodeInviteConfig = { kind: 'CONTACTS' } & CodeInviteConfigContacts | { kind: 'KEPLAR_PANEL' } & CodeInviteConfigKeplarPanel | { kind: 'PUBLIC' } & InviteConfigPublic;
|
|
49
|
+
export type CodeInviteConfig = { kind: 'BYO_PANEL' } & InviteConfigByoPanel | { kind: 'CONTACTS' } & CodeInviteConfigContacts | { kind: 'KEPLAR_PANEL' } & CodeInviteConfigKeplarPanel | { kind: 'PUBLIC' } & InviteConfigPublic;
|
|
43
50
|
|
|
44
51
|
export function CodeInviteConfigFromJSON(json: any): CodeInviteConfig {
|
|
45
52
|
return CodeInviteConfigFromJSONTyped(json, false);
|
|
@@ -50,6 +57,8 @@ export function CodeInviteConfigFromJSONTyped(json: any, ignoreDiscriminator: bo
|
|
|
50
57
|
return json;
|
|
51
58
|
}
|
|
52
59
|
switch (json['kind']) {
|
|
60
|
+
case 'BYO_PANEL':
|
|
61
|
+
return Object.assign({}, InviteConfigByoPanelFromJSONTyped(json, true), { kind: 'BYO_PANEL' } as const);
|
|
53
62
|
case 'CONTACTS':
|
|
54
63
|
return Object.assign({}, CodeInviteConfigContactsFromJSONTyped(json, true), { kind: 'CONTACTS' } as const);
|
|
55
64
|
case 'KEPLAR_PANEL':
|
|
@@ -70,6 +79,8 @@ export function CodeInviteConfigToJSONTyped(value?: CodeInviteConfig | null, ign
|
|
|
70
79
|
return value;
|
|
71
80
|
}
|
|
72
81
|
switch (value['kind']) {
|
|
82
|
+
case 'BYO_PANEL':
|
|
83
|
+
return Object.assign({}, InviteConfigByoPanelToJSON(value), { kind: 'BYO_PANEL' } as const);
|
|
73
84
|
case 'CONTACTS':
|
|
74
85
|
return Object.assign({}, CodeInviteConfigContactsToJSON(value), { kind: 'CONTACTS' } as const);
|
|
75
86
|
case 'KEPLAR_PANEL':
|
|
@@ -155,8 +155,8 @@ export function CodeInviteResponseToJSONTyped(value?: CodeInviteResponse | null,
|
|
|
155
155
|
'id': value['id'],
|
|
156
156
|
'inviteId': value['inviteId'],
|
|
157
157
|
'kind': InviteResponseKindToJSON(value['kind']),
|
|
158
|
-
'createdAt':
|
|
159
|
-
'updatedAt':
|
|
158
|
+
'createdAt': value['createdAt'].toISOString(),
|
|
159
|
+
'updatedAt': value['updatedAt'].toISOString(),
|
|
160
160
|
'data': InviteResponseDataToJSON(value['data']),
|
|
161
161
|
'status': InviteResponseStatusToJSON(value['status']),
|
|
162
162
|
'participantId': value['participantId'],
|
|
@@ -163,8 +163,8 @@ export function ConversationMessageToJSONTyped(value?: ConversationMessage | nul
|
|
|
163
163
|
'index': value['index'],
|
|
164
164
|
'role': value['role'],
|
|
165
165
|
'source': value['source'],
|
|
166
|
-
'time':
|
|
167
|
-
'endTime':
|
|
166
|
+
'time': value['time'].toISOString(),
|
|
167
|
+
'endTime': value['endTime'].toISOString(),
|
|
168
168
|
'message': value['message'],
|
|
169
169
|
'duration': value['duration'],
|
|
170
170
|
'secondsFromStart': value['secondsFromStart'],
|
|
@@ -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
|
|
|
@@ -68,7 +68,7 @@ export function CreateEmailShareRequestToJSONTyped(value?: CreateEmailShareReque
|
|
|
68
68
|
return {
|
|
69
69
|
|
|
70
70
|
'email': value['email'],
|
|
71
|
-
'expiresAt': value['expiresAt'] == null ?
|
|
71
|
+
'expiresAt': value['expiresAt'] == null ? value['expiresAt'] : value['expiresAt'].toISOString(),
|
|
72
72
|
};
|
|
73
73
|
}
|
|
74
74
|
|
|
@@ -66,7 +66,7 @@ export function CreateProjectShareRequestToJSONTyped(value?: CreateProjectShareR
|
|
|
66
66
|
|
|
67
67
|
return {
|
|
68
68
|
|
|
69
|
-
'expiresAt': value['expiresAt'] == null ?
|
|
69
|
+
'expiresAt': value['expiresAt'] == null ? value['expiresAt'] : value['expiresAt'].toISOString(),
|
|
70
70
|
'allowedEmails': value['allowedEmails'],
|
|
71
71
|
};
|
|
72
72
|
}
|
package/src/models/EmailShare.ts
CHANGED
|
@@ -126,9 +126,9 @@ export function EmailShareToJSONTyped(value?: EmailShare | null, ignoreDiscrimin
|
|
|
126
126
|
'email': value['email'],
|
|
127
127
|
'shareEntityId': value['shareEntityId'],
|
|
128
128
|
'accessToken': value['accessToken'],
|
|
129
|
-
'createdAt':
|
|
130
|
-
'expiresAt':
|
|
131
|
-
'accessedAt': value['accessedAt']
|
|
129
|
+
'createdAt': value['createdAt'].toISOString(),
|
|
130
|
+
'expiresAt': value['expiresAt'].toISOString(),
|
|
131
|
+
'accessedAt': value['accessedAt'] == null ? value['accessedAt'] : value['accessedAt'].toISOString(),
|
|
132
132
|
'shareEntity': ShareEntityToJSON(value['shareEntity']),
|
|
133
133
|
};
|
|
134
134
|
}
|
|
@@ -151,7 +151,7 @@ export function GetCodeInvite200ResponseToJSONTyped(value?: GetCodeInvite200Resp
|
|
|
151
151
|
'name': value['name'],
|
|
152
152
|
'description': value['description'],
|
|
153
153
|
'status': InviteStatusToJSON(value['status']),
|
|
154
|
-
'expiresAt': value['expiresAt']
|
|
154
|
+
'expiresAt': value['expiresAt'] == null ? value['expiresAt'] : value['expiresAt'].toISOString(),
|
|
155
155
|
'projectId': value['projectId'],
|
|
156
156
|
'config': CodeInviteConfigToJSON(value['config']),
|
|
157
157
|
'settings': JoinCodeInvite302ResponseSettingsToJSON(value['settings']),
|