@equos/node-sdk 3.0.2-rc.9 → 3.1.1-rc.0
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/dist/client.d.ts +3 -5
- package/dist/client.js +12 -17
- package/dist/index.d.ts +1 -2
- package/dist/index.js +1 -2
- package/package.json +3 -4
- package/dist/api/apis/AgentApi.d.ts +0 -86
- package/dist/api/apis/AgentApi.js +0 -223
- package/dist/api/apis/AvatarApi.d.ts +0 -86
- package/dist/api/apis/AvatarApi.js +0 -223
- package/dist/api/apis/BrainApi.d.ts +0 -64
- package/dist/api/apis/BrainApi.js +0 -179
- package/dist/api/apis/CharacterApi.d.ts +0 -76
- package/dist/api/apis/CharacterApi.js +0 -213
- package/dist/api/apis/ConversationApi.d.ts +0 -64
- package/dist/api/apis/ConversationApi.js +0 -179
- package/dist/api/apis/FaceApi.d.ts +0 -64
- package/dist/api/apis/FaceApi.js +0 -179
- package/dist/api/apis/HealthApi.d.ts +0 -26
- package/dist/api/apis/HealthApi.js +0 -79
- package/dist/api/apis/KnowledgeBaseApi.d.ts +0 -100
- package/dist/api/apis/KnowledgeBaseApi.js +0 -279
- package/dist/api/apis/SessionPassesApi.d.ts +0 -44
- package/dist/api/apis/SessionPassesApi.js +0 -128
- package/dist/api/apis/SessionsApi.d.ts +0 -72
- package/dist/api/apis/SessionsApi.js +0 -187
- package/dist/api/apis/VoiceApi.d.ts +0 -64
- package/dist/api/apis/VoiceApi.js +0 -179
- package/dist/api/apis/index.d.ts +0 -11
- package/dist/api/apis/index.js +0 -29
- package/dist/api/index.d.ts +0 -3
- package/dist/api/index.js +0 -21
- package/dist/api/models/CreateDocumentRequest.d.ts +0 -44
- package/dist/api/models/CreateDocumentRequest.js +0 -58
- package/dist/api/models/CreateDocumentResponse.d.ts +0 -45
- package/dist/api/models/CreateDocumentResponse.js +0 -59
- package/dist/api/models/CreateEquosAgentRequest.d.ts +0 -144
- package/dist/api/models/CreateEquosAgentRequest.js +0 -120
- package/dist/api/models/CreateEquosAvatarRequest.d.ts +0 -56
- package/dist/api/models/CreateEquosAvatarRequest.js +0 -64
- package/dist/api/models/CreateEquosBrainRequest.d.ts +0 -50
- package/dist/api/models/CreateEquosBrainRequest.js +0 -60
- package/dist/api/models/CreateEquosCharacterRequest.d.ts +0 -80
- package/dist/api/models/CreateEquosCharacterRequest.js +0 -68
- package/dist/api/models/CreateEquosConversationRequest.d.ts +0 -84
- package/dist/api/models/CreateEquosConversationRequest.js +0 -70
- package/dist/api/models/CreateEquosConversationResponse.d.ts +0 -45
- package/dist/api/models/CreateEquosConversationResponse.js +0 -55
- package/dist/api/models/CreateEquosFaceRequest.d.ts +0 -53
- package/dist/api/models/CreateEquosFaceRequest.js +0 -67
- package/dist/api/models/CreateEquosSessionRequest.d.ts +0 -90
- package/dist/api/models/CreateEquosSessionRequest.js +0 -74
- package/dist/api/models/CreateEquosSessionRequestAgent.d.ts +0 -23
- package/dist/api/models/CreateEquosSessionRequestAgent.js +0 -57
- package/dist/api/models/CreateEquosSessionRequestAvatar.d.ts +0 -23
- package/dist/api/models/CreateEquosSessionRequestAvatar.js +0 -57
- package/dist/api/models/CreateEquosSessionResponse.d.ts +0 -45
- package/dist/api/models/CreateEquosSessionResponse.js +0 -55
- package/dist/api/models/CreateEquosVoiceRequest.d.ts +0 -80
- package/dist/api/models/CreateEquosVoiceRequest.js +0 -90
- package/dist/api/models/CreateKnowledgeBaseRequest.d.ts +0 -44
- package/dist/api/models/CreateKnowledgeBaseRequest.js +0 -56
- package/dist/api/models/CreateSessionPassRequest.d.ts +0 -76
- package/dist/api/models/CreateSessionPassRequest.js +0 -72
- package/dist/api/models/EquosAgent.d.ts +0 -180
- package/dist/api/models/EquosAgent.js +0 -154
- package/dist/api/models/EquosAvatar.d.ts +0 -92
- package/dist/api/models/EquosAvatar.js +0 -84
- package/dist/api/models/EquosBrain.d.ts +0 -68
- package/dist/api/models/EquosBrain.js +0 -72
- package/dist/api/models/EquosCharacter.d.ts +0 -132
- package/dist/api/models/EquosCharacter.js +0 -98
- package/dist/api/models/EquosConversation.d.ts +0 -177
- package/dist/api/models/EquosConversation.js +0 -129
- package/dist/api/models/EquosConversationHost.d.ts +0 -38
- package/dist/api/models/EquosConversationHost.js +0 -54
- package/dist/api/models/EquosConversationTranscriptMessage.d.ts +0 -58
- package/dist/api/models/EquosConversationTranscriptMessage.js +0 -70
- package/dist/api/models/EquosDocument.d.ts +0 -74
- package/dist/api/models/EquosDocument.js +0 -78
- package/dist/api/models/EquosFace.d.ts +0 -95
- package/dist/api/models/EquosFace.js +0 -89
- package/dist/api/models/EquosKnowledgeBase.d.ts +0 -75
- package/dist/api/models/EquosKnowledgeBase.js +0 -77
- package/dist/api/models/EquosParticipantIdentity.d.ts +0 -38
- package/dist/api/models/EquosParticipantIdentity.js +0 -54
- package/dist/api/models/EquosResourceReference.d.ts +0 -32
- package/dist/api/models/EquosResourceReference.js +0 -50
- package/dist/api/models/EquosSession.d.ts +0 -168
- package/dist/api/models/EquosSession.js +0 -118
- package/dist/api/models/EquosSessionHost.d.ts +0 -38
- package/dist/api/models/EquosSessionHost.js +0 -54
- package/dist/api/models/EquosSessionServer.d.ts +0 -32
- package/dist/api/models/EquosSessionServer.js +0 -50
- package/dist/api/models/EquosVoice.d.ts +0 -104
- package/dist/api/models/EquosVoice.js +0 -106
- package/dist/api/models/HealthResponse.d.ts +0 -38
- package/dist/api/models/HealthResponse.js +0 -54
- package/dist/api/models/ListEquosAgentsResponse.d.ts +0 -51
- package/dist/api/models/ListEquosAgentsResponse.js +0 -63
- package/dist/api/models/ListEquosAvatarsResponse.d.ts +0 -51
- package/dist/api/models/ListEquosAvatarsResponse.js +0 -63
- package/dist/api/models/ListEquosBrainsResponse.d.ts +0 -51
- package/dist/api/models/ListEquosBrainsResponse.js +0 -63
- package/dist/api/models/ListEquosCharactersResponse.d.ts +0 -51
- package/dist/api/models/ListEquosCharactersResponse.js +0 -63
- package/dist/api/models/ListEquosConversationsResponse.d.ts +0 -51
- package/dist/api/models/ListEquosConversationsResponse.js +0 -63
- package/dist/api/models/ListEquosFacesResponse.d.ts +0 -51
- package/dist/api/models/ListEquosFacesResponse.js +0 -63
- package/dist/api/models/ListEquosKnowledgeBasesResponse.d.ts +0 -51
- package/dist/api/models/ListEquosKnowledgeBasesResponse.js +0 -63
- package/dist/api/models/ListEquosSessionsResponse.d.ts +0 -51
- package/dist/api/models/ListEquosSessionsResponse.js +0 -63
- package/dist/api/models/ListEquosVoicesResponse.d.ts +0 -51
- package/dist/api/models/ListEquosVoicesResponse.js +0 -63
- package/dist/api/models/UpdateEquosAgentRequest.d.ts +0 -156
- package/dist/api/models/UpdateEquosAgentRequest.js +0 -128
- package/dist/api/models/UpdateEquosAvatarRequest.d.ts +0 -68
- package/dist/api/models/UpdateEquosAvatarRequest.js +0 -72
- package/dist/api/models/UpdateEquosCharacterRequest.d.ts +0 -68
- package/dist/api/models/UpdateEquosCharacterRequest.js +0 -60
- package/dist/api/models/index.d.ts +0 -45
- package/dist/api/models/index.js +0 -63
- package/dist/api/runtime.d.ts +0 -184
- package/dist/api/runtime.js +0 -349
- package/dist/options.d.ts +0 -7
- package/dist/options.js +0 -2
|
@@ -1,129 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* Equos.ai API
|
|
6
|
-
* API documentation for Equos.ai live platform.
|
|
7
|
-
*
|
|
8
|
-
* The version of the OpenAPI document: 3.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.EquosConversationStatusEnum = void 0;
|
|
17
|
-
exports.instanceOfEquosConversation = instanceOfEquosConversation;
|
|
18
|
-
exports.EquosConversationFromJSON = EquosConversationFromJSON;
|
|
19
|
-
exports.EquosConversationFromJSONTyped = EquosConversationFromJSONTyped;
|
|
20
|
-
exports.EquosConversationToJSON = EquosConversationToJSON;
|
|
21
|
-
exports.EquosConversationToJSONTyped = EquosConversationToJSONTyped;
|
|
22
|
-
const EquosConversationTranscriptMessage_1 = require("./EquosConversationTranscriptMessage");
|
|
23
|
-
/**
|
|
24
|
-
* @export
|
|
25
|
-
*/
|
|
26
|
-
exports.EquosConversationStatusEnum = {
|
|
27
|
-
Running: 'running',
|
|
28
|
-
Blocked: 'blocked',
|
|
29
|
-
Ended: 'ended',
|
|
30
|
-
Error: 'error'
|
|
31
|
-
};
|
|
32
|
-
/**
|
|
33
|
-
* Check if a given object implements the EquosConversation interface.
|
|
34
|
-
*/
|
|
35
|
-
function instanceOfEquosConversation(value) {
|
|
36
|
-
if (!('id' in value) || value['id'] === undefined)
|
|
37
|
-
return false;
|
|
38
|
-
if (!('name' in value) || value['name'] === undefined)
|
|
39
|
-
return false;
|
|
40
|
-
if (!('status' in value) || value['status'] === undefined)
|
|
41
|
-
return false;
|
|
42
|
-
if (!('room' in value) || value['room'] === undefined)
|
|
43
|
-
return false;
|
|
44
|
-
if (!('serverUrl' in value) || value['serverUrl'] === undefined)
|
|
45
|
-
return false;
|
|
46
|
-
if (!('charge' in value) || value['charge'] === undefined)
|
|
47
|
-
return false;
|
|
48
|
-
if (!('chargeBySecond' in value) || value['chargeBySecond'] === undefined)
|
|
49
|
-
return false;
|
|
50
|
-
if (!('maxSeconds' in value) || value['maxSeconds'] === undefined)
|
|
51
|
-
return false;
|
|
52
|
-
if (!('startedAt' in value) || value['startedAt'] === undefined)
|
|
53
|
-
return false;
|
|
54
|
-
if (!('createdAt' in value) || value['createdAt'] === undefined)
|
|
55
|
-
return false;
|
|
56
|
-
if (!('updatedAt' in value) || value['updatedAt'] === undefined)
|
|
57
|
-
return false;
|
|
58
|
-
if (!('characterId' in value) || value['characterId'] === undefined)
|
|
59
|
-
return false;
|
|
60
|
-
if (!('organizationId' in value) || value['organizationId'] === undefined)
|
|
61
|
-
return false;
|
|
62
|
-
return true;
|
|
63
|
-
}
|
|
64
|
-
function EquosConversationFromJSON(json) {
|
|
65
|
-
return EquosConversationFromJSONTyped(json, false);
|
|
66
|
-
}
|
|
67
|
-
function EquosConversationFromJSONTyped(json, ignoreDiscriminator) {
|
|
68
|
-
if (json == null) {
|
|
69
|
-
return json;
|
|
70
|
-
}
|
|
71
|
-
return {
|
|
72
|
-
'id': json['id'],
|
|
73
|
-
'name': json['name'],
|
|
74
|
-
'client': json['client'] == null ? undefined : json['client'],
|
|
75
|
-
'status': json['status'],
|
|
76
|
-
'room': json['room'],
|
|
77
|
-
'serverUrl': json['serverUrl'],
|
|
78
|
-
'remoteAgentName': json['remoteAgentName'] == null ? undefined : json['remoteAgentName'],
|
|
79
|
-
'remoteAgentIdentity': json['remoteAgentIdentity'] == null ? undefined : json['remoteAgentIdentity'],
|
|
80
|
-
'consumerName': json['consumerName'] == null ? undefined : json['consumerName'],
|
|
81
|
-
'consumerIdentity': json['consumerIdentity'] == null ? undefined : json['consumerIdentity'],
|
|
82
|
-
'charge': json['charge'],
|
|
83
|
-
'chargeBySecond': json['chargeBySecond'],
|
|
84
|
-
'maxSeconds': json['maxSeconds'],
|
|
85
|
-
'promptCtx': json['promptCtx'] == null ? undefined : json['promptCtx'],
|
|
86
|
-
'promptTemplateVars': json['promptTemplateVars'] == null ? undefined : json['promptTemplateVars'],
|
|
87
|
-
'transcript': json['transcript'] == null ? undefined : (json['transcript'].map(EquosConversationTranscriptMessage_1.EquosConversationTranscriptMessageFromJSON)),
|
|
88
|
-
'startedAt': (new Date(json['startedAt'])),
|
|
89
|
-
'joinedAt': json['joinedAt'] == null ? undefined : (new Date(json['joinedAt'])),
|
|
90
|
-
'endedAt': json['endedAt'] == null ? undefined : (new Date(json['endedAt'])),
|
|
91
|
-
'createdAt': (new Date(json['createdAt'])),
|
|
92
|
-
'updatedAt': (new Date(json['updatedAt'])),
|
|
93
|
-
'characterId': json['characterId'],
|
|
94
|
-
'organizationId': json['organizationId'],
|
|
95
|
-
};
|
|
96
|
-
}
|
|
97
|
-
function EquosConversationToJSON(json) {
|
|
98
|
-
return EquosConversationToJSONTyped(json, false);
|
|
99
|
-
}
|
|
100
|
-
function EquosConversationToJSONTyped(value, ignoreDiscriminator = false) {
|
|
101
|
-
if (value == null) {
|
|
102
|
-
return value;
|
|
103
|
-
}
|
|
104
|
-
return {
|
|
105
|
-
'id': value['id'],
|
|
106
|
-
'name': value['name'],
|
|
107
|
-
'client': value['client'],
|
|
108
|
-
'status': value['status'],
|
|
109
|
-
'room': value['room'],
|
|
110
|
-
'serverUrl': value['serverUrl'],
|
|
111
|
-
'remoteAgentName': value['remoteAgentName'],
|
|
112
|
-
'remoteAgentIdentity': value['remoteAgentIdentity'],
|
|
113
|
-
'consumerName': value['consumerName'],
|
|
114
|
-
'consumerIdentity': value['consumerIdentity'],
|
|
115
|
-
'charge': value['charge'],
|
|
116
|
-
'chargeBySecond': value['chargeBySecond'],
|
|
117
|
-
'maxSeconds': value['maxSeconds'],
|
|
118
|
-
'promptCtx': value['promptCtx'],
|
|
119
|
-
'promptTemplateVars': value['promptTemplateVars'],
|
|
120
|
-
'transcript': value['transcript'] == null ? undefined : (value['transcript'].map(EquosConversationTranscriptMessage_1.EquosConversationTranscriptMessageToJSON)),
|
|
121
|
-
'startedAt': value['startedAt'].toISOString(),
|
|
122
|
-
'joinedAt': value['joinedAt'] == null ? value['joinedAt'] : value['joinedAt'].toISOString(),
|
|
123
|
-
'endedAt': value['endedAt'] == null ? value['endedAt'] : value['endedAt'].toISOString(),
|
|
124
|
-
'createdAt': value['createdAt'].toISOString(),
|
|
125
|
-
'updatedAt': value['updatedAt'].toISOString(),
|
|
126
|
-
'characterId': value['characterId'],
|
|
127
|
-
'organizationId': value['organizationId'],
|
|
128
|
-
};
|
|
129
|
-
}
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Equos.ai API
|
|
3
|
-
* API documentation for Equos.ai live platform.
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 3.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 EquosConversationHost
|
|
16
|
-
*/
|
|
17
|
-
export interface EquosConversationHost {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof EquosConversationHost
|
|
22
|
-
*/
|
|
23
|
-
serverUrl: string;
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof EquosConversationHost
|
|
28
|
-
*/
|
|
29
|
-
accessToken: string;
|
|
30
|
-
}
|
|
31
|
-
/**
|
|
32
|
-
* Check if a given object implements the EquosConversationHost interface.
|
|
33
|
-
*/
|
|
34
|
-
export declare function instanceOfEquosConversationHost(value: object): value is EquosConversationHost;
|
|
35
|
-
export declare function EquosConversationHostFromJSON(json: any): EquosConversationHost;
|
|
36
|
-
export declare function EquosConversationHostFromJSONTyped(json: any, ignoreDiscriminator: boolean): EquosConversationHost;
|
|
37
|
-
export declare function EquosConversationHostToJSON(json: any): EquosConversationHost;
|
|
38
|
-
export declare function EquosConversationHostToJSONTyped(value?: EquosConversationHost | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* Equos.ai API
|
|
6
|
-
* API documentation for Equos.ai live platform.
|
|
7
|
-
*
|
|
8
|
-
* The version of the OpenAPI document: 3.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.instanceOfEquosConversationHost = instanceOfEquosConversationHost;
|
|
17
|
-
exports.EquosConversationHostFromJSON = EquosConversationHostFromJSON;
|
|
18
|
-
exports.EquosConversationHostFromJSONTyped = EquosConversationHostFromJSONTyped;
|
|
19
|
-
exports.EquosConversationHostToJSON = EquosConversationHostToJSON;
|
|
20
|
-
exports.EquosConversationHostToJSONTyped = EquosConversationHostToJSONTyped;
|
|
21
|
-
/**
|
|
22
|
-
* Check if a given object implements the EquosConversationHost interface.
|
|
23
|
-
*/
|
|
24
|
-
function instanceOfEquosConversationHost(value) {
|
|
25
|
-
if (!('serverUrl' in value) || value['serverUrl'] === undefined)
|
|
26
|
-
return false;
|
|
27
|
-
if (!('accessToken' in value) || value['accessToken'] === undefined)
|
|
28
|
-
return false;
|
|
29
|
-
return true;
|
|
30
|
-
}
|
|
31
|
-
function EquosConversationHostFromJSON(json) {
|
|
32
|
-
return EquosConversationHostFromJSONTyped(json, false);
|
|
33
|
-
}
|
|
34
|
-
function EquosConversationHostFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
-
if (json == null) {
|
|
36
|
-
return json;
|
|
37
|
-
}
|
|
38
|
-
return {
|
|
39
|
-
'serverUrl': json['serverUrl'],
|
|
40
|
-
'accessToken': json['accessToken'],
|
|
41
|
-
};
|
|
42
|
-
}
|
|
43
|
-
function EquosConversationHostToJSON(json) {
|
|
44
|
-
return EquosConversationHostToJSONTyped(json, false);
|
|
45
|
-
}
|
|
46
|
-
function EquosConversationHostToJSONTyped(value, ignoreDiscriminator = false) {
|
|
47
|
-
if (value == null) {
|
|
48
|
-
return value;
|
|
49
|
-
}
|
|
50
|
-
return {
|
|
51
|
-
'serverUrl': value['serverUrl'],
|
|
52
|
-
'accessToken': value['accessToken'],
|
|
53
|
-
};
|
|
54
|
-
}
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Equos.ai API
|
|
3
|
-
* API documentation for Equos.ai live platform.
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 3.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 EquosConversationTranscriptMessage
|
|
16
|
-
*/
|
|
17
|
-
export interface EquosConversationTranscriptMessage {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof EquosConversationTranscriptMessage
|
|
22
|
-
*/
|
|
23
|
-
id: string;
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof EquosConversationTranscriptMessage
|
|
28
|
-
*/
|
|
29
|
-
author: EquosConversationTranscriptMessageAuthorEnum;
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof EquosConversationTranscriptMessage
|
|
34
|
-
*/
|
|
35
|
-
content: string;
|
|
36
|
-
/**
|
|
37
|
-
*
|
|
38
|
-
* @type {Date}
|
|
39
|
-
* @memberof EquosConversationTranscriptMessage
|
|
40
|
-
*/
|
|
41
|
-
recordedAt: Date;
|
|
42
|
-
}
|
|
43
|
-
/**
|
|
44
|
-
* @export
|
|
45
|
-
*/
|
|
46
|
-
export declare const EquosConversationTranscriptMessageAuthorEnum: {
|
|
47
|
-
readonly User: "user";
|
|
48
|
-
readonly Character: "character";
|
|
49
|
-
};
|
|
50
|
-
export type EquosConversationTranscriptMessageAuthorEnum = typeof EquosConversationTranscriptMessageAuthorEnum[keyof typeof EquosConversationTranscriptMessageAuthorEnum];
|
|
51
|
-
/**
|
|
52
|
-
* Check if a given object implements the EquosConversationTranscriptMessage interface.
|
|
53
|
-
*/
|
|
54
|
-
export declare function instanceOfEquosConversationTranscriptMessage(value: object): value is EquosConversationTranscriptMessage;
|
|
55
|
-
export declare function EquosConversationTranscriptMessageFromJSON(json: any): EquosConversationTranscriptMessage;
|
|
56
|
-
export declare function EquosConversationTranscriptMessageFromJSONTyped(json: any, ignoreDiscriminator: boolean): EquosConversationTranscriptMessage;
|
|
57
|
-
export declare function EquosConversationTranscriptMessageToJSON(json: any): EquosConversationTranscriptMessage;
|
|
58
|
-
export declare function EquosConversationTranscriptMessageToJSONTyped(value?: EquosConversationTranscriptMessage | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* Equos.ai API
|
|
6
|
-
* API documentation for Equos.ai live platform.
|
|
7
|
-
*
|
|
8
|
-
* The version of the OpenAPI document: 3.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.EquosConversationTranscriptMessageAuthorEnum = void 0;
|
|
17
|
-
exports.instanceOfEquosConversationTranscriptMessage = instanceOfEquosConversationTranscriptMessage;
|
|
18
|
-
exports.EquosConversationTranscriptMessageFromJSON = EquosConversationTranscriptMessageFromJSON;
|
|
19
|
-
exports.EquosConversationTranscriptMessageFromJSONTyped = EquosConversationTranscriptMessageFromJSONTyped;
|
|
20
|
-
exports.EquosConversationTranscriptMessageToJSON = EquosConversationTranscriptMessageToJSON;
|
|
21
|
-
exports.EquosConversationTranscriptMessageToJSONTyped = EquosConversationTranscriptMessageToJSONTyped;
|
|
22
|
-
/**
|
|
23
|
-
* @export
|
|
24
|
-
*/
|
|
25
|
-
exports.EquosConversationTranscriptMessageAuthorEnum = {
|
|
26
|
-
User: 'user',
|
|
27
|
-
Character: 'character'
|
|
28
|
-
};
|
|
29
|
-
/**
|
|
30
|
-
* Check if a given object implements the EquosConversationTranscriptMessage interface.
|
|
31
|
-
*/
|
|
32
|
-
function instanceOfEquosConversationTranscriptMessage(value) {
|
|
33
|
-
if (!('id' in value) || value['id'] === undefined)
|
|
34
|
-
return false;
|
|
35
|
-
if (!('author' in value) || value['author'] === undefined)
|
|
36
|
-
return false;
|
|
37
|
-
if (!('content' in value) || value['content'] === undefined)
|
|
38
|
-
return false;
|
|
39
|
-
if (!('recordedAt' in value) || value['recordedAt'] === undefined)
|
|
40
|
-
return false;
|
|
41
|
-
return true;
|
|
42
|
-
}
|
|
43
|
-
function EquosConversationTranscriptMessageFromJSON(json) {
|
|
44
|
-
return EquosConversationTranscriptMessageFromJSONTyped(json, false);
|
|
45
|
-
}
|
|
46
|
-
function EquosConversationTranscriptMessageFromJSONTyped(json, ignoreDiscriminator) {
|
|
47
|
-
if (json == null) {
|
|
48
|
-
return json;
|
|
49
|
-
}
|
|
50
|
-
return {
|
|
51
|
-
'id': json['id'],
|
|
52
|
-
'author': json['author'],
|
|
53
|
-
'content': json['content'],
|
|
54
|
-
'recordedAt': (new Date(json['recordedAt'])),
|
|
55
|
-
};
|
|
56
|
-
}
|
|
57
|
-
function EquosConversationTranscriptMessageToJSON(json) {
|
|
58
|
-
return EquosConversationTranscriptMessageToJSONTyped(json, false);
|
|
59
|
-
}
|
|
60
|
-
function EquosConversationTranscriptMessageToJSONTyped(value, ignoreDiscriminator = false) {
|
|
61
|
-
if (value == null) {
|
|
62
|
-
return value;
|
|
63
|
-
}
|
|
64
|
-
return {
|
|
65
|
-
'id': value['id'],
|
|
66
|
-
'author': value['author'],
|
|
67
|
-
'content': value['content'],
|
|
68
|
-
'recordedAt': value['recordedAt'].toISOString(),
|
|
69
|
-
};
|
|
70
|
-
}
|
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Equos.ai API
|
|
3
|
-
* API documentation for Equos.ai live platform.
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 3.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 EquosDocument
|
|
16
|
-
*/
|
|
17
|
-
export interface EquosDocument {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof EquosDocument
|
|
22
|
-
*/
|
|
23
|
-
id: string;
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof EquosDocument
|
|
28
|
-
*/
|
|
29
|
-
knowledgeBaseId: string;
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof EquosDocument
|
|
34
|
-
*/
|
|
35
|
-
name: string;
|
|
36
|
-
/**
|
|
37
|
-
*
|
|
38
|
-
* @type {string}
|
|
39
|
-
* @memberof EquosDocument
|
|
40
|
-
*/
|
|
41
|
-
description: string;
|
|
42
|
-
/**
|
|
43
|
-
*
|
|
44
|
-
* @type {number}
|
|
45
|
-
* @memberof EquosDocument
|
|
46
|
-
*/
|
|
47
|
-
size: number;
|
|
48
|
-
/**
|
|
49
|
-
*
|
|
50
|
-
* @type {string}
|
|
51
|
-
* @memberof EquosDocument
|
|
52
|
-
*/
|
|
53
|
-
status: string;
|
|
54
|
-
/**
|
|
55
|
-
*
|
|
56
|
-
* @type {Date}
|
|
57
|
-
* @memberof EquosDocument
|
|
58
|
-
*/
|
|
59
|
-
createdAt: Date;
|
|
60
|
-
/**
|
|
61
|
-
*
|
|
62
|
-
* @type {Date}
|
|
63
|
-
* @memberof EquosDocument
|
|
64
|
-
*/
|
|
65
|
-
updatedAt: Date;
|
|
66
|
-
}
|
|
67
|
-
/**
|
|
68
|
-
* Check if a given object implements the EquosDocument interface.
|
|
69
|
-
*/
|
|
70
|
-
export declare function instanceOfEquosDocument(value: object): value is EquosDocument;
|
|
71
|
-
export declare function EquosDocumentFromJSON(json: any): EquosDocument;
|
|
72
|
-
export declare function EquosDocumentFromJSONTyped(json: any, ignoreDiscriminator: boolean): EquosDocument;
|
|
73
|
-
export declare function EquosDocumentToJSON(json: any): EquosDocument;
|
|
74
|
-
export declare function EquosDocumentToJSONTyped(value?: EquosDocument | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,78 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* Equos.ai API
|
|
6
|
-
* API documentation for Equos.ai live platform.
|
|
7
|
-
*
|
|
8
|
-
* The version of the OpenAPI document: 3.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.instanceOfEquosDocument = instanceOfEquosDocument;
|
|
17
|
-
exports.EquosDocumentFromJSON = EquosDocumentFromJSON;
|
|
18
|
-
exports.EquosDocumentFromJSONTyped = EquosDocumentFromJSONTyped;
|
|
19
|
-
exports.EquosDocumentToJSON = EquosDocumentToJSON;
|
|
20
|
-
exports.EquosDocumentToJSONTyped = EquosDocumentToJSONTyped;
|
|
21
|
-
/**
|
|
22
|
-
* Check if a given object implements the EquosDocument interface.
|
|
23
|
-
*/
|
|
24
|
-
function instanceOfEquosDocument(value) {
|
|
25
|
-
if (!('id' in value) || value['id'] === undefined)
|
|
26
|
-
return false;
|
|
27
|
-
if (!('knowledgeBaseId' in value) || value['knowledgeBaseId'] === undefined)
|
|
28
|
-
return false;
|
|
29
|
-
if (!('name' in value) || value['name'] === undefined)
|
|
30
|
-
return false;
|
|
31
|
-
if (!('description' in value) || value['description'] === undefined)
|
|
32
|
-
return false;
|
|
33
|
-
if (!('size' in value) || value['size'] === undefined)
|
|
34
|
-
return false;
|
|
35
|
-
if (!('status' in value) || value['status'] === undefined)
|
|
36
|
-
return false;
|
|
37
|
-
if (!('createdAt' in value) || value['createdAt'] === undefined)
|
|
38
|
-
return false;
|
|
39
|
-
if (!('updatedAt' in value) || value['updatedAt'] === undefined)
|
|
40
|
-
return false;
|
|
41
|
-
return true;
|
|
42
|
-
}
|
|
43
|
-
function EquosDocumentFromJSON(json) {
|
|
44
|
-
return EquosDocumentFromJSONTyped(json, false);
|
|
45
|
-
}
|
|
46
|
-
function EquosDocumentFromJSONTyped(json, ignoreDiscriminator) {
|
|
47
|
-
if (json == null) {
|
|
48
|
-
return json;
|
|
49
|
-
}
|
|
50
|
-
return {
|
|
51
|
-
'id': json['id'],
|
|
52
|
-
'knowledgeBaseId': json['knowledgeBaseId'],
|
|
53
|
-
'name': json['name'],
|
|
54
|
-
'description': json['description'],
|
|
55
|
-
'size': json['size'],
|
|
56
|
-
'status': json['status'],
|
|
57
|
-
'createdAt': (new Date(json['createdAt'])),
|
|
58
|
-
'updatedAt': (new Date(json['updatedAt'])),
|
|
59
|
-
};
|
|
60
|
-
}
|
|
61
|
-
function EquosDocumentToJSON(json) {
|
|
62
|
-
return EquosDocumentToJSONTyped(json, false);
|
|
63
|
-
}
|
|
64
|
-
function EquosDocumentToJSONTyped(value, ignoreDiscriminator = false) {
|
|
65
|
-
if (value == null) {
|
|
66
|
-
return value;
|
|
67
|
-
}
|
|
68
|
-
return {
|
|
69
|
-
'id': value['id'],
|
|
70
|
-
'knowledgeBaseId': value['knowledgeBaseId'],
|
|
71
|
-
'name': value['name'],
|
|
72
|
-
'description': value['description'],
|
|
73
|
-
'size': value['size'],
|
|
74
|
-
'status': value['status'],
|
|
75
|
-
'createdAt': value['createdAt'].toISOString(),
|
|
76
|
-
'updatedAt': value['updatedAt'].toISOString(),
|
|
77
|
-
};
|
|
78
|
-
}
|
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Equos.ai API
|
|
3
|
-
* API documentation for Equos.ai live platform.
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 3.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 EquosFace
|
|
16
|
-
*/
|
|
17
|
-
export interface EquosFace {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof EquosFace
|
|
22
|
-
*/
|
|
23
|
-
id: string;
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof EquosFace
|
|
28
|
-
*/
|
|
29
|
-
identity: EquosFaceIdentityEnum;
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof EquosFace
|
|
34
|
-
*/
|
|
35
|
-
organizationId: string;
|
|
36
|
-
/**
|
|
37
|
-
*
|
|
38
|
-
* @type {string}
|
|
39
|
-
* @memberof EquosFace
|
|
40
|
-
*/
|
|
41
|
-
client?: string | null;
|
|
42
|
-
/**
|
|
43
|
-
*
|
|
44
|
-
* @type {string}
|
|
45
|
-
* @memberof EquosFace
|
|
46
|
-
*/
|
|
47
|
-
description?: string | null;
|
|
48
|
-
/**
|
|
49
|
-
*
|
|
50
|
-
* @type {string}
|
|
51
|
-
* @memberof EquosFace
|
|
52
|
-
*/
|
|
53
|
-
thumbnailUrl?: string | null;
|
|
54
|
-
/**
|
|
55
|
-
*
|
|
56
|
-
* @type {string}
|
|
57
|
-
* @memberof EquosFace
|
|
58
|
-
*/
|
|
59
|
-
referenceImgUrl?: string | null;
|
|
60
|
-
/**
|
|
61
|
-
*
|
|
62
|
-
* @type {Date}
|
|
63
|
-
* @memberof EquosFace
|
|
64
|
-
*/
|
|
65
|
-
createdAt: Date;
|
|
66
|
-
/**
|
|
67
|
-
*
|
|
68
|
-
* @type {Date}
|
|
69
|
-
* @memberof EquosFace
|
|
70
|
-
*/
|
|
71
|
-
updatedAt: Date;
|
|
72
|
-
}
|
|
73
|
-
/**
|
|
74
|
-
* @export
|
|
75
|
-
*/
|
|
76
|
-
export declare const EquosFaceIdentityEnum: {
|
|
77
|
-
readonly Byron: "byron";
|
|
78
|
-
readonly Emily: "emily";
|
|
79
|
-
readonly Marise: "marise";
|
|
80
|
-
readonly Jenny: "jenny";
|
|
81
|
-
readonly Isabelle: "isabelle";
|
|
82
|
-
readonly William: "william";
|
|
83
|
-
readonly Elaryon: "elaryon";
|
|
84
|
-
readonly Stephen: "stephen";
|
|
85
|
-
readonly Ryan: "ryan";
|
|
86
|
-
};
|
|
87
|
-
export type EquosFaceIdentityEnum = typeof EquosFaceIdentityEnum[keyof typeof EquosFaceIdentityEnum];
|
|
88
|
-
/**
|
|
89
|
-
* Check if a given object implements the EquosFace interface.
|
|
90
|
-
*/
|
|
91
|
-
export declare function instanceOfEquosFace(value: object): value is EquosFace;
|
|
92
|
-
export declare function EquosFaceFromJSON(json: any): EquosFace;
|
|
93
|
-
export declare function EquosFaceFromJSONTyped(json: any, ignoreDiscriminator: boolean): EquosFace;
|
|
94
|
-
export declare function EquosFaceToJSON(json: any): EquosFace;
|
|
95
|
-
export declare function EquosFaceToJSONTyped(value?: EquosFace | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,89 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* Equos.ai API
|
|
6
|
-
* API documentation for Equos.ai live platform.
|
|
7
|
-
*
|
|
8
|
-
* The version of the OpenAPI document: 3.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.EquosFaceIdentityEnum = void 0;
|
|
17
|
-
exports.instanceOfEquosFace = instanceOfEquosFace;
|
|
18
|
-
exports.EquosFaceFromJSON = EquosFaceFromJSON;
|
|
19
|
-
exports.EquosFaceFromJSONTyped = EquosFaceFromJSONTyped;
|
|
20
|
-
exports.EquosFaceToJSON = EquosFaceToJSON;
|
|
21
|
-
exports.EquosFaceToJSONTyped = EquosFaceToJSONTyped;
|
|
22
|
-
/**
|
|
23
|
-
* @export
|
|
24
|
-
*/
|
|
25
|
-
exports.EquosFaceIdentityEnum = {
|
|
26
|
-
Byron: 'byron',
|
|
27
|
-
Emily: 'emily',
|
|
28
|
-
Marise: 'marise',
|
|
29
|
-
Jenny: 'jenny',
|
|
30
|
-
Isabelle: 'isabelle',
|
|
31
|
-
William: 'william',
|
|
32
|
-
Elaryon: 'elaryon',
|
|
33
|
-
Stephen: 'stephen',
|
|
34
|
-
Ryan: 'ryan'
|
|
35
|
-
};
|
|
36
|
-
/**
|
|
37
|
-
* Check if a given object implements the EquosFace interface.
|
|
38
|
-
*/
|
|
39
|
-
function instanceOfEquosFace(value) {
|
|
40
|
-
if (!('id' in value) || value['id'] === undefined)
|
|
41
|
-
return false;
|
|
42
|
-
if (!('identity' in value) || value['identity'] === undefined)
|
|
43
|
-
return false;
|
|
44
|
-
if (!('organizationId' in value) || value['organizationId'] === undefined)
|
|
45
|
-
return false;
|
|
46
|
-
if (!('createdAt' in value) || value['createdAt'] === undefined)
|
|
47
|
-
return false;
|
|
48
|
-
if (!('updatedAt' in value) || value['updatedAt'] === undefined)
|
|
49
|
-
return false;
|
|
50
|
-
return true;
|
|
51
|
-
}
|
|
52
|
-
function EquosFaceFromJSON(json) {
|
|
53
|
-
return EquosFaceFromJSONTyped(json, false);
|
|
54
|
-
}
|
|
55
|
-
function EquosFaceFromJSONTyped(json, ignoreDiscriminator) {
|
|
56
|
-
if (json == null) {
|
|
57
|
-
return json;
|
|
58
|
-
}
|
|
59
|
-
return {
|
|
60
|
-
'id': json['id'],
|
|
61
|
-
'identity': json['identity'],
|
|
62
|
-
'organizationId': json['organizationId'],
|
|
63
|
-
'client': json['client'] == null ? undefined : json['client'],
|
|
64
|
-
'description': json['description'] == null ? undefined : json['description'],
|
|
65
|
-
'thumbnailUrl': json['thumbnailUrl'] == null ? undefined : json['thumbnailUrl'],
|
|
66
|
-
'referenceImgUrl': json['referenceImgUrl'] == null ? undefined : json['referenceImgUrl'],
|
|
67
|
-
'createdAt': (new Date(json['createdAt'])),
|
|
68
|
-
'updatedAt': (new Date(json['updatedAt'])),
|
|
69
|
-
};
|
|
70
|
-
}
|
|
71
|
-
function EquosFaceToJSON(json) {
|
|
72
|
-
return EquosFaceToJSONTyped(json, false);
|
|
73
|
-
}
|
|
74
|
-
function EquosFaceToJSONTyped(value, ignoreDiscriminator = false) {
|
|
75
|
-
if (value == null) {
|
|
76
|
-
return value;
|
|
77
|
-
}
|
|
78
|
-
return {
|
|
79
|
-
'id': value['id'],
|
|
80
|
-
'identity': value['identity'],
|
|
81
|
-
'organizationId': value['organizationId'],
|
|
82
|
-
'client': value['client'],
|
|
83
|
-
'description': value['description'],
|
|
84
|
-
'thumbnailUrl': value['thumbnailUrl'],
|
|
85
|
-
'referenceImgUrl': value['referenceImgUrl'],
|
|
86
|
-
'createdAt': value['createdAt'].toISOString(),
|
|
87
|
-
'updatedAt': value['updatedAt'].toISOString(),
|
|
88
|
-
};
|
|
89
|
-
}
|