@equos/node-sdk 2.2.2 → 3.0.1
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/README.md +390 -66
- package/dist/api/apis/AgentApi.d.ts +86 -0
- package/dist/api/apis/AgentApi.js +223 -0
- package/dist/api/apis/AvatarApi.d.ts +86 -0
- package/dist/api/apis/AvatarApi.js +223 -0
- package/dist/api/apis/BrainApi.d.ts +64 -0
- package/dist/api/apis/BrainApi.js +179 -0
- package/dist/api/apis/CharacterApi.d.ts +76 -0
- package/dist/api/apis/CharacterApi.js +213 -0
- package/dist/api/apis/FaceApi.d.ts +64 -0
- package/dist/api/apis/FaceApi.js +179 -0
- package/dist/api/apis/HealthApi.d.ts +26 -0
- package/dist/api/apis/HealthApi.js +79 -0
- package/dist/api/apis/KnowledgeBaseApi.d.ts +84 -0
- package/dist/api/apis/KnowledgeBaseApi.js +260 -0
- package/dist/api/apis/LimitsApi.d.ts +26 -0
- package/dist/api/apis/LimitsApi.js +82 -0
- package/dist/api/apis/SessionPassesApi.d.ts +44 -0
- package/dist/api/apis/SessionPassesApi.js +128 -0
- package/dist/api/apis/SessionsApi.d.ts +72 -0
- package/dist/api/apis/SessionsApi.js +187 -0
- package/dist/api/apis/VoiceApi.d.ts +64 -0
- package/dist/api/apis/VoiceApi.js +179 -0
- package/dist/api/apis/index.d.ts +11 -0
- package/dist/api/apis/index.js +29 -0
- package/dist/api/index.d.ts +3 -0
- package/dist/api/index.js +21 -0
- package/dist/api/models/CreateEquosAgentRequest.d.ts +144 -0
- package/dist/api/models/CreateEquosAgentRequest.js +120 -0
- package/dist/api/models/CreateEquosAvatarRequest.d.ts +56 -0
- package/dist/api/models/CreateEquosAvatarRequest.js +64 -0
- package/dist/api/models/CreateEquosBrainRequest.d.ts +56 -0
- package/dist/api/models/CreateEquosBrainRequest.js +64 -0
- package/dist/api/models/CreateEquosCharacterRequest.d.ts +80 -0
- package/dist/api/models/CreateEquosCharacterRequest.js +68 -0
- package/dist/api/models/CreateEquosFaceRequest.d.ts +46 -0
- package/dist/api/models/CreateEquosFaceRequest.js +60 -0
- package/dist/api/models/CreateEquosSessionRequest.d.ts +90 -0
- package/dist/api/models/CreateEquosSessionRequest.js +74 -0
- package/dist/api/models/CreateEquosSessionRequestAgent.d.ts +23 -0
- package/dist/api/models/CreateEquosSessionRequestAgent.js +57 -0
- package/dist/api/models/CreateEquosSessionRequestAvatar.d.ts +23 -0
- package/dist/api/models/CreateEquosSessionRequestAvatar.js +57 -0
- package/dist/api/models/CreateEquosSessionResponse.d.ts +45 -0
- package/dist/api/models/CreateEquosSessionResponse.js +55 -0
- package/dist/api/models/CreateEquosVoiceRequest.d.ts +56 -0
- package/dist/api/models/CreateEquosVoiceRequest.js +64 -0
- package/dist/api/models/CreateSessionPassRequest.d.ts +76 -0
- package/dist/api/models/CreateSessionPassRequest.js +72 -0
- package/dist/api/models/EquosAgent.d.ts +180 -0
- package/dist/api/models/EquosAgent.js +154 -0
- package/dist/api/models/EquosAvatar.d.ts +92 -0
- package/dist/api/models/EquosAvatar.js +84 -0
- package/dist/api/models/EquosBrain.d.ts +74 -0
- package/dist/api/models/EquosBrain.js +76 -0
- package/dist/api/models/EquosCharacter.d.ts +132 -0
- package/dist/api/models/EquosCharacter.js +98 -0
- package/dist/api/models/EquosDocument.d.ts +74 -0
- package/dist/api/models/EquosDocument.js +78 -0
- package/dist/api/models/EquosFace.d.ts +107 -0
- package/dist/api/models/EquosFace.js +89 -0
- package/dist/api/models/EquosKnowledgeBase.d.ts +75 -0
- package/dist/api/models/EquosKnowledgeBase.js +77 -0
- package/dist/api/models/EquosLimitResponse.d.ts +68 -0
- package/dist/api/models/EquosLimitResponse.js +72 -0
- package/dist/api/models/EquosParticipantIdentity.d.ts +38 -0
- package/dist/api/models/EquosParticipantIdentity.js +54 -0
- package/dist/api/models/EquosResourceReference.d.ts +32 -0
- package/dist/api/models/EquosResourceReference.js +50 -0
- package/dist/api/models/EquosSession.d.ts +168 -0
- package/dist/api/models/EquosSession.js +118 -0
- package/dist/api/models/EquosSessionHost.d.ts +38 -0
- package/dist/api/models/EquosSessionHost.js +54 -0
- package/dist/api/models/EquosSessionServer.d.ts +32 -0
- package/dist/api/models/EquosSessionServer.js +50 -0
- package/dist/api/models/EquosVoice.d.ts +80 -0
- package/dist/api/models/EquosVoice.js +80 -0
- package/dist/api/models/HealthResponse.d.ts +38 -0
- package/dist/api/models/HealthResponse.js +54 -0
- package/dist/api/models/ListEquosAgentsResponse.d.ts +51 -0
- package/dist/api/models/ListEquosAgentsResponse.js +63 -0
- package/dist/api/models/ListEquosAvatarsResponse.d.ts +51 -0
- package/dist/api/models/ListEquosAvatarsResponse.js +63 -0
- package/dist/api/models/ListEquosBrainsResponse.d.ts +51 -0
- package/dist/api/models/ListEquosBrainsResponse.js +63 -0
- package/dist/api/models/ListEquosCharactersResponse.d.ts +51 -0
- package/dist/api/models/ListEquosCharactersResponse.js +63 -0
- package/dist/api/models/ListEquosFacesResponse.d.ts +51 -0
- package/dist/api/models/ListEquosFacesResponse.js +63 -0
- package/dist/api/models/ListEquosSessionsResponse.d.ts +51 -0
- package/dist/api/models/ListEquosSessionsResponse.js +63 -0
- package/dist/api/models/ListEquosVoicesResponse.d.ts +51 -0
- package/dist/api/models/ListEquosVoicesResponse.js +63 -0
- package/dist/api/models/UpdateEquosAgentRequest.d.ts +156 -0
- package/dist/api/models/UpdateEquosAgentRequest.js +128 -0
- package/dist/api/models/UpdateEquosAvatarRequest.d.ts +68 -0
- package/dist/api/models/UpdateEquosAvatarRequest.js +72 -0
- package/dist/api/models/UpdateEquosCharacterRequest.d.ts +68 -0
- package/dist/api/models/UpdateEquosCharacterRequest.js +60 -0
- package/dist/api/models/index.d.ts +36 -0
- package/dist/api/models/index.js +54 -0
- package/dist/api/runtime.d.ts +184 -0
- package/dist/api/runtime.js +349 -0
- package/dist/client.d.ts +38 -0
- package/dist/client.js +62 -0
- package/dist/index.d.ts +3 -10
- package/dist/index.js +7 -10
- package/dist/options.d.ts +7 -0
- package/package.json +4 -2
- package/dist/apis/agent.d.ts +0 -11
- package/dist/apis/agent.js +0 -40
- package/dist/apis/avatar.d.ts +0 -11
- package/dist/apis/avatar.js +0 -40
- package/dist/apis/knowledge-base.d.ts +0 -13
- package/dist/apis/knowledge-base.js +0 -50
- package/dist/apis/session.d.ts +0 -10
- package/dist/apis/session.js +0 -35
- package/dist/equos.d.ts +0 -32
- package/dist/equos.js +0 -47
- package/dist/types/agent.type.d.ts +0 -96
- package/dist/types/agent.type.js +0 -64
- package/dist/types/avatar.type.d.ts +0 -31
- package/dist/types/error.type.d.ts +0 -5
- package/dist/types/error.type.js +0 -14
- package/dist/types/knowledge-base.type.d.ts +0 -41
- package/dist/types/knowledge-base.type.js +0 -2
- package/dist/types/session.type.d.ts +0 -67
- package/dist/types/session.type.js +0 -2
- package/dist/utils/constants.utils.d.ts +0 -4
- package/dist/utils/constants.utils.js +0 -8
- package/dist/utils/error.utils.d.ts +0 -5
- package/dist/utils/error.utils.js +0 -11
- package/dist/utils/http.utils.d.ts +0 -12
- package/dist/utils/http.utils.js +0 -126
- /package/dist/{types/avatar.type.js → options.js} +0 -0
|
@@ -0,0 +1,154 @@
|
|
|
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.EquosAgentVoiceEnum = exports.EquosAgentModelEnum = exports.EquosAgentProviderEnum = void 0;
|
|
17
|
+
exports.instanceOfEquosAgent = instanceOfEquosAgent;
|
|
18
|
+
exports.EquosAgentFromJSON = EquosAgentFromJSON;
|
|
19
|
+
exports.EquosAgentFromJSONTyped = EquosAgentFromJSONTyped;
|
|
20
|
+
exports.EquosAgentToJSON = EquosAgentToJSON;
|
|
21
|
+
exports.EquosAgentToJSONTyped = EquosAgentToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
exports.EquosAgentProviderEnum = {
|
|
26
|
+
Openai: 'openai',
|
|
27
|
+
Gemini: 'gemini',
|
|
28
|
+
Elevenlabs: 'elevenlabs'
|
|
29
|
+
};
|
|
30
|
+
/**
|
|
31
|
+
* @export
|
|
32
|
+
*/
|
|
33
|
+
exports.EquosAgentModelEnum = {
|
|
34
|
+
Gemini25FlashNativeAudioPreview092025: 'gemini-2.5-flash-native-audio-preview-09-2025',
|
|
35
|
+
Gpt4oRealtimePreview: 'gpt-4o-realtime-preview',
|
|
36
|
+
GptRealtime: 'gpt-realtime'
|
|
37
|
+
};
|
|
38
|
+
/**
|
|
39
|
+
* @export
|
|
40
|
+
*/
|
|
41
|
+
exports.EquosAgentVoiceEnum = {
|
|
42
|
+
Puck: 'Puck',
|
|
43
|
+
Charon: 'Charon',
|
|
44
|
+
Kore: 'Kore',
|
|
45
|
+
Fenrir: 'Fenrir',
|
|
46
|
+
Aoede: 'Aoede',
|
|
47
|
+
Leda: 'Leda',
|
|
48
|
+
Orus: 'Orus',
|
|
49
|
+
Zephyr: 'Zephyr',
|
|
50
|
+
Sulafat: 'Sulafat',
|
|
51
|
+
Sadachbia: 'Sadachbia',
|
|
52
|
+
Sadaltager: 'Sadaltager',
|
|
53
|
+
Vindemiatrix: 'Vindemiatrix',
|
|
54
|
+
Zubenelgenubi: 'Zubenelgenubi',
|
|
55
|
+
Achird: 'Achird',
|
|
56
|
+
Pulcherrima: 'Pulcherrima',
|
|
57
|
+
Gacrux: 'Gacrux',
|
|
58
|
+
Schedar: 'Schedar',
|
|
59
|
+
Alnilam: 'Alnilam',
|
|
60
|
+
Achernar: 'Achernar',
|
|
61
|
+
Laomedeia: 'Laomedeia',
|
|
62
|
+
Rasalgethi: 'Rasalgethi',
|
|
63
|
+
Algenib: 'Algenib',
|
|
64
|
+
Erinome: 'Erinome',
|
|
65
|
+
Despina: 'Despina',
|
|
66
|
+
Algieba: 'Algieba',
|
|
67
|
+
Umbriel: 'Umbriel',
|
|
68
|
+
Iapetus: 'Iapetus',
|
|
69
|
+
Enceladus: 'Enceladus',
|
|
70
|
+
Autonoe: 'Autonoe',
|
|
71
|
+
Callirrhoe: 'Callirrhoe',
|
|
72
|
+
Alloy: 'alloy',
|
|
73
|
+
Marin: 'marin',
|
|
74
|
+
Cedar: 'cedar',
|
|
75
|
+
Ash: 'ash',
|
|
76
|
+
Ballad: 'ballad',
|
|
77
|
+
Coral: 'coral',
|
|
78
|
+
Echo: 'echo',
|
|
79
|
+
Sage: 'sage',
|
|
80
|
+
Shimmer: 'shimmer',
|
|
81
|
+
Verse: 'verse'
|
|
82
|
+
};
|
|
83
|
+
/**
|
|
84
|
+
* Check if a given object implements the EquosAgent interface.
|
|
85
|
+
*/
|
|
86
|
+
function instanceOfEquosAgent(value) {
|
|
87
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
88
|
+
return false;
|
|
89
|
+
if (!('organizationId' in value) || value['organizationId'] === undefined)
|
|
90
|
+
return false;
|
|
91
|
+
if (!('provider' in value) || value['provider'] === undefined)
|
|
92
|
+
return false;
|
|
93
|
+
if (!('search' in value) || value['search'] === undefined)
|
|
94
|
+
return false;
|
|
95
|
+
if (!('emotions' in value) || value['emotions'] === undefined)
|
|
96
|
+
return false;
|
|
97
|
+
if (!('memory' in value) || value['memory'] === undefined)
|
|
98
|
+
return false;
|
|
99
|
+
if (!('createdAt' in value) || value['createdAt'] === undefined)
|
|
100
|
+
return false;
|
|
101
|
+
if (!('updatedAt' in value) || value['updatedAt'] === undefined)
|
|
102
|
+
return false;
|
|
103
|
+
return true;
|
|
104
|
+
}
|
|
105
|
+
function EquosAgentFromJSON(json) {
|
|
106
|
+
return EquosAgentFromJSONTyped(json, false);
|
|
107
|
+
}
|
|
108
|
+
function EquosAgentFromJSONTyped(json, ignoreDiscriminator) {
|
|
109
|
+
if (json == null) {
|
|
110
|
+
return json;
|
|
111
|
+
}
|
|
112
|
+
return {
|
|
113
|
+
'id': json['id'],
|
|
114
|
+
'organizationId': json['organizationId'],
|
|
115
|
+
'name': json['name'] == null ? undefined : json['name'],
|
|
116
|
+
'provider': json['provider'],
|
|
117
|
+
'client': json['client'] == null ? undefined : json['client'],
|
|
118
|
+
'model': json['model'] == null ? undefined : json['model'],
|
|
119
|
+
'voice': json['voice'] == null ? undefined : json['voice'],
|
|
120
|
+
'instructions': json['instructions'] == null ? undefined : json['instructions'],
|
|
121
|
+
'greetingMsg': json['greetingMsg'] == null ? undefined : json['greetingMsg'],
|
|
122
|
+
'remoteId': json['remoteId'] == null ? undefined : json['remoteId'],
|
|
123
|
+
'search': json['search'],
|
|
124
|
+
'emotions': json['emotions'],
|
|
125
|
+
'memory': json['memory'],
|
|
126
|
+
'createdAt': (new Date(json['createdAt'])),
|
|
127
|
+
'updatedAt': (new Date(json['updatedAt'])),
|
|
128
|
+
};
|
|
129
|
+
}
|
|
130
|
+
function EquosAgentToJSON(json) {
|
|
131
|
+
return EquosAgentToJSONTyped(json, false);
|
|
132
|
+
}
|
|
133
|
+
function EquosAgentToJSONTyped(value, ignoreDiscriminator = false) {
|
|
134
|
+
if (value == null) {
|
|
135
|
+
return value;
|
|
136
|
+
}
|
|
137
|
+
return {
|
|
138
|
+
'id': value['id'],
|
|
139
|
+
'organizationId': value['organizationId'],
|
|
140
|
+
'name': value['name'],
|
|
141
|
+
'provider': value['provider'],
|
|
142
|
+
'client': value['client'],
|
|
143
|
+
'model': value['model'],
|
|
144
|
+
'voice': value['voice'],
|
|
145
|
+
'instructions': value['instructions'],
|
|
146
|
+
'greetingMsg': value['greetingMsg'],
|
|
147
|
+
'remoteId': value['remoteId'],
|
|
148
|
+
'search': value['search'],
|
|
149
|
+
'emotions': value['emotions'],
|
|
150
|
+
'memory': value['memory'],
|
|
151
|
+
'createdAt': value['createdAt'].toISOString(),
|
|
152
|
+
'updatedAt': value['updatedAt'].toISOString(),
|
|
153
|
+
};
|
|
154
|
+
}
|
|
@@ -0,0 +1,92 @@
|
|
|
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 EquosAvatar
|
|
16
|
+
*/
|
|
17
|
+
export interface EquosAvatar {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof EquosAvatar
|
|
22
|
+
*/
|
|
23
|
+
id: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof EquosAvatar
|
|
28
|
+
*/
|
|
29
|
+
organizationId: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof EquosAvatar
|
|
34
|
+
*/
|
|
35
|
+
identity: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof EquosAvatar
|
|
40
|
+
*/
|
|
41
|
+
name: string;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof EquosAvatar
|
|
46
|
+
*/
|
|
47
|
+
description: string;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof EquosAvatar
|
|
52
|
+
*/
|
|
53
|
+
client?: string;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof EquosAvatar
|
|
58
|
+
*/
|
|
59
|
+
thumbnailUrl: string;
|
|
60
|
+
/**
|
|
61
|
+
*
|
|
62
|
+
* @type {object}
|
|
63
|
+
* @memberof EquosAvatar
|
|
64
|
+
*/
|
|
65
|
+
agentId?: object;
|
|
66
|
+
/**
|
|
67
|
+
*
|
|
68
|
+
* @type {object}
|
|
69
|
+
* @memberof EquosAvatar
|
|
70
|
+
*/
|
|
71
|
+
agent?: object;
|
|
72
|
+
/**
|
|
73
|
+
*
|
|
74
|
+
* @type {Date}
|
|
75
|
+
* @memberof EquosAvatar
|
|
76
|
+
*/
|
|
77
|
+
createdAt: Date;
|
|
78
|
+
/**
|
|
79
|
+
*
|
|
80
|
+
* @type {Date}
|
|
81
|
+
* @memberof EquosAvatar
|
|
82
|
+
*/
|
|
83
|
+
updatedAt: Date;
|
|
84
|
+
}
|
|
85
|
+
/**
|
|
86
|
+
* Check if a given object implements the EquosAvatar interface.
|
|
87
|
+
*/
|
|
88
|
+
export declare function instanceOfEquosAvatar(value: object): value is EquosAvatar;
|
|
89
|
+
export declare function EquosAvatarFromJSON(json: any): EquosAvatar;
|
|
90
|
+
export declare function EquosAvatarFromJSONTyped(json: any, ignoreDiscriminator: boolean): EquosAvatar;
|
|
91
|
+
export declare function EquosAvatarToJSON(json: any): EquosAvatar;
|
|
92
|
+
export declare function EquosAvatarToJSONTyped(value?: EquosAvatar | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,84 @@
|
|
|
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.instanceOfEquosAvatar = instanceOfEquosAvatar;
|
|
17
|
+
exports.EquosAvatarFromJSON = EquosAvatarFromJSON;
|
|
18
|
+
exports.EquosAvatarFromJSONTyped = EquosAvatarFromJSONTyped;
|
|
19
|
+
exports.EquosAvatarToJSON = EquosAvatarToJSON;
|
|
20
|
+
exports.EquosAvatarToJSONTyped = EquosAvatarToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the EquosAvatar interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfEquosAvatar(value) {
|
|
25
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('organizationId' in value) || value['organizationId'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('identity' in value) || value['identity'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
if (!('description' in value) || value['description'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
if (!('thumbnailUrl' in value) || value['thumbnailUrl'] === 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 EquosAvatarFromJSON(json) {
|
|
44
|
+
return EquosAvatarFromJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
function EquosAvatarFromJSONTyped(json, ignoreDiscriminator) {
|
|
47
|
+
if (json == null) {
|
|
48
|
+
return json;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
'id': json['id'],
|
|
52
|
+
'organizationId': json['organizationId'],
|
|
53
|
+
'identity': json['identity'],
|
|
54
|
+
'name': json['name'],
|
|
55
|
+
'description': json['description'],
|
|
56
|
+
'client': json['client'] == null ? undefined : json['client'],
|
|
57
|
+
'thumbnailUrl': json['thumbnailUrl'],
|
|
58
|
+
'agentId': json['agentId'] == null ? undefined : json['agentId'],
|
|
59
|
+
'agent': json['agent'] == null ? undefined : json['agent'],
|
|
60
|
+
'createdAt': (new Date(json['createdAt'])),
|
|
61
|
+
'updatedAt': (new Date(json['updatedAt'])),
|
|
62
|
+
};
|
|
63
|
+
}
|
|
64
|
+
function EquosAvatarToJSON(json) {
|
|
65
|
+
return EquosAvatarToJSONTyped(json, false);
|
|
66
|
+
}
|
|
67
|
+
function EquosAvatarToJSONTyped(value, ignoreDiscriminator = false) {
|
|
68
|
+
if (value == null) {
|
|
69
|
+
return value;
|
|
70
|
+
}
|
|
71
|
+
return {
|
|
72
|
+
'id': value['id'],
|
|
73
|
+
'organizationId': value['organizationId'],
|
|
74
|
+
'identity': value['identity'],
|
|
75
|
+
'name': value['name'],
|
|
76
|
+
'description': value['description'],
|
|
77
|
+
'client': value['client'],
|
|
78
|
+
'thumbnailUrl': value['thumbnailUrl'],
|
|
79
|
+
'agentId': value['agentId'],
|
|
80
|
+
'agent': value['agent'],
|
|
81
|
+
'createdAt': value['createdAt'].toISOString(),
|
|
82
|
+
'updatedAt': value['updatedAt'].toISOString(),
|
|
83
|
+
};
|
|
84
|
+
}
|
|
@@ -0,0 +1,74 @@
|
|
|
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 EquosBrain
|
|
16
|
+
*/
|
|
17
|
+
export interface EquosBrain {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof EquosBrain
|
|
22
|
+
*/
|
|
23
|
+
id: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof EquosBrain
|
|
28
|
+
*/
|
|
29
|
+
organizationId: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {object}
|
|
33
|
+
* @memberof EquosBrain
|
|
34
|
+
*/
|
|
35
|
+
client?: object | null;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof EquosBrain
|
|
40
|
+
*/
|
|
41
|
+
name: string;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof EquosBrain
|
|
46
|
+
*/
|
|
47
|
+
instructions: string;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof EquosBrain
|
|
52
|
+
*/
|
|
53
|
+
greetingMessage: string;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {Date}
|
|
57
|
+
* @memberof EquosBrain
|
|
58
|
+
*/
|
|
59
|
+
createdAt: Date;
|
|
60
|
+
/**
|
|
61
|
+
*
|
|
62
|
+
* @type {Date}
|
|
63
|
+
* @memberof EquosBrain
|
|
64
|
+
*/
|
|
65
|
+
updatedAt: Date;
|
|
66
|
+
}
|
|
67
|
+
/**
|
|
68
|
+
* Check if a given object implements the EquosBrain interface.
|
|
69
|
+
*/
|
|
70
|
+
export declare function instanceOfEquosBrain(value: object): value is EquosBrain;
|
|
71
|
+
export declare function EquosBrainFromJSON(json: any): EquosBrain;
|
|
72
|
+
export declare function EquosBrainFromJSONTyped(json: any, ignoreDiscriminator: boolean): EquosBrain;
|
|
73
|
+
export declare function EquosBrainToJSON(json: any): EquosBrain;
|
|
74
|
+
export declare function EquosBrainToJSONTyped(value?: EquosBrain | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,76 @@
|
|
|
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.instanceOfEquosBrain = instanceOfEquosBrain;
|
|
17
|
+
exports.EquosBrainFromJSON = EquosBrainFromJSON;
|
|
18
|
+
exports.EquosBrainFromJSONTyped = EquosBrainFromJSONTyped;
|
|
19
|
+
exports.EquosBrainToJSON = EquosBrainToJSON;
|
|
20
|
+
exports.EquosBrainToJSONTyped = EquosBrainToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the EquosBrain interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfEquosBrain(value) {
|
|
25
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('organizationId' in value) || value['organizationId'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('instructions' in value) || value['instructions'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
if (!('greetingMessage' in value) || value['greetingMessage'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
if (!('createdAt' in value) || value['createdAt'] === undefined)
|
|
36
|
+
return false;
|
|
37
|
+
if (!('updatedAt' in value) || value['updatedAt'] === undefined)
|
|
38
|
+
return false;
|
|
39
|
+
return true;
|
|
40
|
+
}
|
|
41
|
+
function EquosBrainFromJSON(json) {
|
|
42
|
+
return EquosBrainFromJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
function EquosBrainFromJSONTyped(json, ignoreDiscriminator) {
|
|
45
|
+
if (json == null) {
|
|
46
|
+
return json;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'id': json['id'],
|
|
50
|
+
'organizationId': json['organizationId'],
|
|
51
|
+
'client': json['client'] == null ? undefined : json['client'],
|
|
52
|
+
'name': json['name'],
|
|
53
|
+
'instructions': json['instructions'],
|
|
54
|
+
'greetingMessage': json['greetingMessage'],
|
|
55
|
+
'createdAt': (new Date(json['createdAt'])),
|
|
56
|
+
'updatedAt': (new Date(json['updatedAt'])),
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
function EquosBrainToJSON(json) {
|
|
60
|
+
return EquosBrainToJSONTyped(json, false);
|
|
61
|
+
}
|
|
62
|
+
function EquosBrainToJSONTyped(value, ignoreDiscriminator = false) {
|
|
63
|
+
if (value == null) {
|
|
64
|
+
return value;
|
|
65
|
+
}
|
|
66
|
+
return {
|
|
67
|
+
'id': value['id'],
|
|
68
|
+
'organizationId': value['organizationId'],
|
|
69
|
+
'client': value['client'],
|
|
70
|
+
'name': value['name'],
|
|
71
|
+
'instructions': value['instructions'],
|
|
72
|
+
'greetingMessage': value['greetingMessage'],
|
|
73
|
+
'createdAt': value['createdAt'].toISOString(),
|
|
74
|
+
'updatedAt': value['updatedAt'].toISOString(),
|
|
75
|
+
};
|
|
76
|
+
}
|
|
@@ -0,0 +1,132 @@
|
|
|
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
|
+
import type { EquosFace } from './EquosFace';
|
|
13
|
+
import type { EquosKnowledgeBase } from './EquosKnowledgeBase';
|
|
14
|
+
import type { EquosBrain } from './EquosBrain';
|
|
15
|
+
import type { EquosVoice } from './EquosVoice';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface EquosCharacter
|
|
20
|
+
*/
|
|
21
|
+
export interface EquosCharacter {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof EquosCharacter
|
|
26
|
+
*/
|
|
27
|
+
id: string;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof EquosCharacter
|
|
32
|
+
*/
|
|
33
|
+
organizationId: string;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {object}
|
|
37
|
+
* @memberof EquosCharacter
|
|
38
|
+
*/
|
|
39
|
+
client?: object | null;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {string}
|
|
43
|
+
* @memberof EquosCharacter
|
|
44
|
+
*/
|
|
45
|
+
name: string;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
* @type {string}
|
|
49
|
+
* @memberof EquosCharacter
|
|
50
|
+
*/
|
|
51
|
+
livekitIdentity: string;
|
|
52
|
+
/**
|
|
53
|
+
*
|
|
54
|
+
* @type {boolean}
|
|
55
|
+
* @memberof EquosCharacter
|
|
56
|
+
*/
|
|
57
|
+
search: boolean;
|
|
58
|
+
/**
|
|
59
|
+
*
|
|
60
|
+
* @type {object}
|
|
61
|
+
* @memberof EquosCharacter
|
|
62
|
+
*/
|
|
63
|
+
elevenlabsAgentId?: object | null;
|
|
64
|
+
/**
|
|
65
|
+
*
|
|
66
|
+
* @type {object}
|
|
67
|
+
* @memberof EquosCharacter
|
|
68
|
+
*/
|
|
69
|
+
faceId?: object | null;
|
|
70
|
+
/**
|
|
71
|
+
*
|
|
72
|
+
* @type {object}
|
|
73
|
+
* @memberof EquosCharacter
|
|
74
|
+
*/
|
|
75
|
+
voiceId?: object | null;
|
|
76
|
+
/**
|
|
77
|
+
*
|
|
78
|
+
* @type {object}
|
|
79
|
+
* @memberof EquosCharacter
|
|
80
|
+
*/
|
|
81
|
+
brainId?: object | null;
|
|
82
|
+
/**
|
|
83
|
+
*
|
|
84
|
+
* @type {object}
|
|
85
|
+
* @memberof EquosCharacter
|
|
86
|
+
*/
|
|
87
|
+
knowledgeBaseId?: object | null;
|
|
88
|
+
/**
|
|
89
|
+
*
|
|
90
|
+
* @type {EquosFace}
|
|
91
|
+
* @memberof EquosCharacter
|
|
92
|
+
*/
|
|
93
|
+
face?: EquosFace | null;
|
|
94
|
+
/**
|
|
95
|
+
*
|
|
96
|
+
* @type {EquosVoice}
|
|
97
|
+
* @memberof EquosCharacter
|
|
98
|
+
*/
|
|
99
|
+
voice?: EquosVoice | null;
|
|
100
|
+
/**
|
|
101
|
+
*
|
|
102
|
+
* @type {EquosBrain}
|
|
103
|
+
* @memberof EquosCharacter
|
|
104
|
+
*/
|
|
105
|
+
brain?: EquosBrain | null;
|
|
106
|
+
/**
|
|
107
|
+
*
|
|
108
|
+
* @type {EquosKnowledgeBase}
|
|
109
|
+
* @memberof EquosCharacter
|
|
110
|
+
*/
|
|
111
|
+
knowledgeBase?: EquosKnowledgeBase | null;
|
|
112
|
+
/**
|
|
113
|
+
*
|
|
114
|
+
* @type {Date}
|
|
115
|
+
* @memberof EquosCharacter
|
|
116
|
+
*/
|
|
117
|
+
createdAt: Date;
|
|
118
|
+
/**
|
|
119
|
+
*
|
|
120
|
+
* @type {Date}
|
|
121
|
+
* @memberof EquosCharacter
|
|
122
|
+
*/
|
|
123
|
+
updatedAt: Date;
|
|
124
|
+
}
|
|
125
|
+
/**
|
|
126
|
+
* Check if a given object implements the EquosCharacter interface.
|
|
127
|
+
*/
|
|
128
|
+
export declare function instanceOfEquosCharacter(value: object): value is EquosCharacter;
|
|
129
|
+
export declare function EquosCharacterFromJSON(json: any): EquosCharacter;
|
|
130
|
+
export declare function EquosCharacterFromJSONTyped(json: any, ignoreDiscriminator: boolean): EquosCharacter;
|
|
131
|
+
export declare function EquosCharacterToJSON(json: any): EquosCharacter;
|
|
132
|
+
export declare function EquosCharacterToJSONTyped(value?: EquosCharacter | null, ignoreDiscriminator?: boolean): any;
|