@equos/node-sdk 2.2.3 → 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 -73
- 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,50 @@
|
|
|
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.instanceOfEquosSessionServer = instanceOfEquosSessionServer;
|
|
17
|
+
exports.EquosSessionServerFromJSON = EquosSessionServerFromJSON;
|
|
18
|
+
exports.EquosSessionServerFromJSONTyped = EquosSessionServerFromJSONTyped;
|
|
19
|
+
exports.EquosSessionServerToJSON = EquosSessionServerToJSON;
|
|
20
|
+
exports.EquosSessionServerToJSONTyped = EquosSessionServerToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the EquosSessionServer interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfEquosSessionServer(value) {
|
|
25
|
+
if (!('serverUrl' in value) || value['serverUrl'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
function EquosSessionServerFromJSON(json) {
|
|
30
|
+
return EquosSessionServerFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
function EquosSessionServerFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'serverUrl': json['serverUrl'],
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
function EquosSessionServerToJSON(json) {
|
|
41
|
+
return EquosSessionServerToJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
function EquosSessionServerToJSONTyped(value, ignoreDiscriminator = false) {
|
|
44
|
+
if (value == null) {
|
|
45
|
+
return value;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
'serverUrl': value['serverUrl'],
|
|
49
|
+
};
|
|
50
|
+
}
|
|
@@ -0,0 +1,80 @@
|
|
|
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 EquosVoice
|
|
16
|
+
*/
|
|
17
|
+
export interface EquosVoice {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof EquosVoice
|
|
22
|
+
*/
|
|
23
|
+
id: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof EquosVoice
|
|
28
|
+
*/
|
|
29
|
+
organizationId: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {object}
|
|
33
|
+
* @memberof EquosVoice
|
|
34
|
+
*/
|
|
35
|
+
client?: object | null;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof EquosVoice
|
|
40
|
+
*/
|
|
41
|
+
name: string;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof EquosVoice
|
|
46
|
+
*/
|
|
47
|
+
description: string;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof EquosVoice
|
|
52
|
+
*/
|
|
53
|
+
sampleUrl: string;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof EquosVoice
|
|
58
|
+
*/
|
|
59
|
+
voiceId: string;
|
|
60
|
+
/**
|
|
61
|
+
*
|
|
62
|
+
* @type {Date}
|
|
63
|
+
* @memberof EquosVoice
|
|
64
|
+
*/
|
|
65
|
+
createdAt: Date;
|
|
66
|
+
/**
|
|
67
|
+
*
|
|
68
|
+
* @type {Date}
|
|
69
|
+
* @memberof EquosVoice
|
|
70
|
+
*/
|
|
71
|
+
updatedAt: Date;
|
|
72
|
+
}
|
|
73
|
+
/**
|
|
74
|
+
* Check if a given object implements the EquosVoice interface.
|
|
75
|
+
*/
|
|
76
|
+
export declare function instanceOfEquosVoice(value: object): value is EquosVoice;
|
|
77
|
+
export declare function EquosVoiceFromJSON(json: any): EquosVoice;
|
|
78
|
+
export declare function EquosVoiceFromJSONTyped(json: any, ignoreDiscriminator: boolean): EquosVoice;
|
|
79
|
+
export declare function EquosVoiceToJSON(json: any): EquosVoice;
|
|
80
|
+
export declare function EquosVoiceToJSONTyped(value?: EquosVoice | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,80 @@
|
|
|
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.instanceOfEquosVoice = instanceOfEquosVoice;
|
|
17
|
+
exports.EquosVoiceFromJSON = EquosVoiceFromJSON;
|
|
18
|
+
exports.EquosVoiceFromJSONTyped = EquosVoiceFromJSONTyped;
|
|
19
|
+
exports.EquosVoiceToJSON = EquosVoiceToJSON;
|
|
20
|
+
exports.EquosVoiceToJSONTyped = EquosVoiceToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the EquosVoice interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfEquosVoice(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 (!('description' in value) || value['description'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
if (!('sampleUrl' in value) || value['sampleUrl'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
if (!('voiceId' in value) || value['voiceId'] === 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 EquosVoiceFromJSON(json) {
|
|
44
|
+
return EquosVoiceFromJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
function EquosVoiceFromJSONTyped(json, ignoreDiscriminator) {
|
|
47
|
+
if (json == null) {
|
|
48
|
+
return json;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
'id': json['id'],
|
|
52
|
+
'organizationId': json['organizationId'],
|
|
53
|
+
'client': json['client'] == null ? undefined : json['client'],
|
|
54
|
+
'name': json['name'],
|
|
55
|
+
'description': json['description'],
|
|
56
|
+
'sampleUrl': json['sampleUrl'],
|
|
57
|
+
'voiceId': json['voiceId'],
|
|
58
|
+
'createdAt': (new Date(json['createdAt'])),
|
|
59
|
+
'updatedAt': (new Date(json['updatedAt'])),
|
|
60
|
+
};
|
|
61
|
+
}
|
|
62
|
+
function EquosVoiceToJSON(json) {
|
|
63
|
+
return EquosVoiceToJSONTyped(json, false);
|
|
64
|
+
}
|
|
65
|
+
function EquosVoiceToJSONTyped(value, ignoreDiscriminator = false) {
|
|
66
|
+
if (value == null) {
|
|
67
|
+
return value;
|
|
68
|
+
}
|
|
69
|
+
return {
|
|
70
|
+
'id': value['id'],
|
|
71
|
+
'organizationId': value['organizationId'],
|
|
72
|
+
'client': value['client'],
|
|
73
|
+
'name': value['name'],
|
|
74
|
+
'description': value['description'],
|
|
75
|
+
'sampleUrl': value['sampleUrl'],
|
|
76
|
+
'voiceId': value['voiceId'],
|
|
77
|
+
'createdAt': value['createdAt'].toISOString(),
|
|
78
|
+
'updatedAt': value['updatedAt'].toISOString(),
|
|
79
|
+
};
|
|
80
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
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 HealthResponse
|
|
16
|
+
*/
|
|
17
|
+
export interface HealthResponse {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof HealthResponse
|
|
22
|
+
*/
|
|
23
|
+
status: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof HealthResponse
|
|
28
|
+
*/
|
|
29
|
+
version: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the HealthResponse interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfHealthResponse(value: object): value is HealthResponse;
|
|
35
|
+
export declare function HealthResponseFromJSON(json: any): HealthResponse;
|
|
36
|
+
export declare function HealthResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): HealthResponse;
|
|
37
|
+
export declare function HealthResponseToJSON(json: any): HealthResponse;
|
|
38
|
+
export declare function HealthResponseToJSONTyped(value?: HealthResponse | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,54 @@
|
|
|
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.instanceOfHealthResponse = instanceOfHealthResponse;
|
|
17
|
+
exports.HealthResponseFromJSON = HealthResponseFromJSON;
|
|
18
|
+
exports.HealthResponseFromJSONTyped = HealthResponseFromJSONTyped;
|
|
19
|
+
exports.HealthResponseToJSON = HealthResponseToJSON;
|
|
20
|
+
exports.HealthResponseToJSONTyped = HealthResponseToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the HealthResponse interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfHealthResponse(value) {
|
|
25
|
+
if (!('status' in value) || value['status'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('version' in value) || value['version'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
function HealthResponseFromJSON(json) {
|
|
32
|
+
return HealthResponseFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
function HealthResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if (json == null) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'status': json['status'],
|
|
40
|
+
'version': json['version'],
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
function HealthResponseToJSON(json) {
|
|
44
|
+
return HealthResponseToJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
function HealthResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
47
|
+
if (value == null) {
|
|
48
|
+
return value;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
'status': value['status'],
|
|
52
|
+
'version': value['version'],
|
|
53
|
+
};
|
|
54
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
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 { EquosAgent } from './EquosAgent';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ListEquosAgentsResponse
|
|
17
|
+
*/
|
|
18
|
+
export interface ListEquosAgentsResponse {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {number}
|
|
22
|
+
* @memberof ListEquosAgentsResponse
|
|
23
|
+
*/
|
|
24
|
+
skip: number;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {number}
|
|
28
|
+
* @memberof ListEquosAgentsResponse
|
|
29
|
+
*/
|
|
30
|
+
take: number;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {number}
|
|
34
|
+
* @memberof ListEquosAgentsResponse
|
|
35
|
+
*/
|
|
36
|
+
total: number;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {Array<EquosAgent>}
|
|
40
|
+
* @memberof ListEquosAgentsResponse
|
|
41
|
+
*/
|
|
42
|
+
agents: Array<EquosAgent>;
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Check if a given object implements the ListEquosAgentsResponse interface.
|
|
46
|
+
*/
|
|
47
|
+
export declare function instanceOfListEquosAgentsResponse(value: object): value is ListEquosAgentsResponse;
|
|
48
|
+
export declare function ListEquosAgentsResponseFromJSON(json: any): ListEquosAgentsResponse;
|
|
49
|
+
export declare function ListEquosAgentsResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ListEquosAgentsResponse;
|
|
50
|
+
export declare function ListEquosAgentsResponseToJSON(json: any): ListEquosAgentsResponse;
|
|
51
|
+
export declare function ListEquosAgentsResponseToJSONTyped(value?: ListEquosAgentsResponse | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,63 @@
|
|
|
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.instanceOfListEquosAgentsResponse = instanceOfListEquosAgentsResponse;
|
|
17
|
+
exports.ListEquosAgentsResponseFromJSON = ListEquosAgentsResponseFromJSON;
|
|
18
|
+
exports.ListEquosAgentsResponseFromJSONTyped = ListEquosAgentsResponseFromJSONTyped;
|
|
19
|
+
exports.ListEquosAgentsResponseToJSON = ListEquosAgentsResponseToJSON;
|
|
20
|
+
exports.ListEquosAgentsResponseToJSONTyped = ListEquosAgentsResponseToJSONTyped;
|
|
21
|
+
const EquosAgent_1 = require("./EquosAgent");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the ListEquosAgentsResponse interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfListEquosAgentsResponse(value) {
|
|
26
|
+
if (!('skip' in value) || value['skip'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('take' in value) || value['take'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
if (!('total' in value) || value['total'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
if (!('agents' in value) || value['agents'] === undefined)
|
|
33
|
+
return false;
|
|
34
|
+
return true;
|
|
35
|
+
}
|
|
36
|
+
function ListEquosAgentsResponseFromJSON(json) {
|
|
37
|
+
return ListEquosAgentsResponseFromJSONTyped(json, false);
|
|
38
|
+
}
|
|
39
|
+
function ListEquosAgentsResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
40
|
+
if (json == null) {
|
|
41
|
+
return json;
|
|
42
|
+
}
|
|
43
|
+
return {
|
|
44
|
+
'skip': json['skip'],
|
|
45
|
+
'take': json['take'],
|
|
46
|
+
'total': json['total'],
|
|
47
|
+
'agents': (json['agents'].map(EquosAgent_1.EquosAgentFromJSON)),
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
function ListEquosAgentsResponseToJSON(json) {
|
|
51
|
+
return ListEquosAgentsResponseToJSONTyped(json, false);
|
|
52
|
+
}
|
|
53
|
+
function ListEquosAgentsResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
54
|
+
if (value == null) {
|
|
55
|
+
return value;
|
|
56
|
+
}
|
|
57
|
+
return {
|
|
58
|
+
'skip': value['skip'],
|
|
59
|
+
'take': value['take'],
|
|
60
|
+
'total': value['total'],
|
|
61
|
+
'agents': (value['agents'].map(EquosAgent_1.EquosAgentToJSON)),
|
|
62
|
+
};
|
|
63
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
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 { EquosAvatar } from './EquosAvatar';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ListEquosAvatarsResponse
|
|
17
|
+
*/
|
|
18
|
+
export interface ListEquosAvatarsResponse {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {number}
|
|
22
|
+
* @memberof ListEquosAvatarsResponse
|
|
23
|
+
*/
|
|
24
|
+
skip: number;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {number}
|
|
28
|
+
* @memberof ListEquosAvatarsResponse
|
|
29
|
+
*/
|
|
30
|
+
take: number;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {number}
|
|
34
|
+
* @memberof ListEquosAvatarsResponse
|
|
35
|
+
*/
|
|
36
|
+
total: number;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {Array<EquosAvatar>}
|
|
40
|
+
* @memberof ListEquosAvatarsResponse
|
|
41
|
+
*/
|
|
42
|
+
avatars: Array<EquosAvatar>;
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Check if a given object implements the ListEquosAvatarsResponse interface.
|
|
46
|
+
*/
|
|
47
|
+
export declare function instanceOfListEquosAvatarsResponse(value: object): value is ListEquosAvatarsResponse;
|
|
48
|
+
export declare function ListEquosAvatarsResponseFromJSON(json: any): ListEquosAvatarsResponse;
|
|
49
|
+
export declare function ListEquosAvatarsResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ListEquosAvatarsResponse;
|
|
50
|
+
export declare function ListEquosAvatarsResponseToJSON(json: any): ListEquosAvatarsResponse;
|
|
51
|
+
export declare function ListEquosAvatarsResponseToJSONTyped(value?: ListEquosAvatarsResponse | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,63 @@
|
|
|
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.instanceOfListEquosAvatarsResponse = instanceOfListEquosAvatarsResponse;
|
|
17
|
+
exports.ListEquosAvatarsResponseFromJSON = ListEquosAvatarsResponseFromJSON;
|
|
18
|
+
exports.ListEquosAvatarsResponseFromJSONTyped = ListEquosAvatarsResponseFromJSONTyped;
|
|
19
|
+
exports.ListEquosAvatarsResponseToJSON = ListEquosAvatarsResponseToJSON;
|
|
20
|
+
exports.ListEquosAvatarsResponseToJSONTyped = ListEquosAvatarsResponseToJSONTyped;
|
|
21
|
+
const EquosAvatar_1 = require("./EquosAvatar");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the ListEquosAvatarsResponse interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfListEquosAvatarsResponse(value) {
|
|
26
|
+
if (!('skip' in value) || value['skip'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('take' in value) || value['take'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
if (!('total' in value) || value['total'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
if (!('avatars' in value) || value['avatars'] === undefined)
|
|
33
|
+
return false;
|
|
34
|
+
return true;
|
|
35
|
+
}
|
|
36
|
+
function ListEquosAvatarsResponseFromJSON(json) {
|
|
37
|
+
return ListEquosAvatarsResponseFromJSONTyped(json, false);
|
|
38
|
+
}
|
|
39
|
+
function ListEquosAvatarsResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
40
|
+
if (json == null) {
|
|
41
|
+
return json;
|
|
42
|
+
}
|
|
43
|
+
return {
|
|
44
|
+
'skip': json['skip'],
|
|
45
|
+
'take': json['take'],
|
|
46
|
+
'total': json['total'],
|
|
47
|
+
'avatars': (json['avatars'].map(EquosAvatar_1.EquosAvatarFromJSON)),
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
function ListEquosAvatarsResponseToJSON(json) {
|
|
51
|
+
return ListEquosAvatarsResponseToJSONTyped(json, false);
|
|
52
|
+
}
|
|
53
|
+
function ListEquosAvatarsResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
54
|
+
if (value == null) {
|
|
55
|
+
return value;
|
|
56
|
+
}
|
|
57
|
+
return {
|
|
58
|
+
'skip': value['skip'],
|
|
59
|
+
'take': value['take'],
|
|
60
|
+
'total': value['total'],
|
|
61
|
+
'avatars': (value['avatars'].map(EquosAvatar_1.EquosAvatarToJSON)),
|
|
62
|
+
};
|
|
63
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
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 { EquosBrain } from './EquosBrain';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ListEquosBrainsResponse
|
|
17
|
+
*/
|
|
18
|
+
export interface ListEquosBrainsResponse {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {number}
|
|
22
|
+
* @memberof ListEquosBrainsResponse
|
|
23
|
+
*/
|
|
24
|
+
skip: number;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {number}
|
|
28
|
+
* @memberof ListEquosBrainsResponse
|
|
29
|
+
*/
|
|
30
|
+
take: number;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {number}
|
|
34
|
+
* @memberof ListEquosBrainsResponse
|
|
35
|
+
*/
|
|
36
|
+
total: number;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {Array<EquosBrain>}
|
|
40
|
+
* @memberof ListEquosBrainsResponse
|
|
41
|
+
*/
|
|
42
|
+
brains: Array<EquosBrain>;
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Check if a given object implements the ListEquosBrainsResponse interface.
|
|
46
|
+
*/
|
|
47
|
+
export declare function instanceOfListEquosBrainsResponse(value: object): value is ListEquosBrainsResponse;
|
|
48
|
+
export declare function ListEquosBrainsResponseFromJSON(json: any): ListEquosBrainsResponse;
|
|
49
|
+
export declare function ListEquosBrainsResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ListEquosBrainsResponse;
|
|
50
|
+
export declare function ListEquosBrainsResponseToJSON(json: any): ListEquosBrainsResponse;
|
|
51
|
+
export declare function ListEquosBrainsResponseToJSONTyped(value?: ListEquosBrainsResponse | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,63 @@
|
|
|
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.instanceOfListEquosBrainsResponse = instanceOfListEquosBrainsResponse;
|
|
17
|
+
exports.ListEquosBrainsResponseFromJSON = ListEquosBrainsResponseFromJSON;
|
|
18
|
+
exports.ListEquosBrainsResponseFromJSONTyped = ListEquosBrainsResponseFromJSONTyped;
|
|
19
|
+
exports.ListEquosBrainsResponseToJSON = ListEquosBrainsResponseToJSON;
|
|
20
|
+
exports.ListEquosBrainsResponseToJSONTyped = ListEquosBrainsResponseToJSONTyped;
|
|
21
|
+
const EquosBrain_1 = require("./EquosBrain");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the ListEquosBrainsResponse interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfListEquosBrainsResponse(value) {
|
|
26
|
+
if (!('skip' in value) || value['skip'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('take' in value) || value['take'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
if (!('total' in value) || value['total'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
if (!('brains' in value) || value['brains'] === undefined)
|
|
33
|
+
return false;
|
|
34
|
+
return true;
|
|
35
|
+
}
|
|
36
|
+
function ListEquosBrainsResponseFromJSON(json) {
|
|
37
|
+
return ListEquosBrainsResponseFromJSONTyped(json, false);
|
|
38
|
+
}
|
|
39
|
+
function ListEquosBrainsResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
40
|
+
if (json == null) {
|
|
41
|
+
return json;
|
|
42
|
+
}
|
|
43
|
+
return {
|
|
44
|
+
'skip': json['skip'],
|
|
45
|
+
'take': json['take'],
|
|
46
|
+
'total': json['total'],
|
|
47
|
+
'brains': (json['brains'].map(EquosBrain_1.EquosBrainFromJSON)),
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
function ListEquosBrainsResponseToJSON(json) {
|
|
51
|
+
return ListEquosBrainsResponseToJSONTyped(json, false);
|
|
52
|
+
}
|
|
53
|
+
function ListEquosBrainsResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
54
|
+
if (value == null) {
|
|
55
|
+
return value;
|
|
56
|
+
}
|
|
57
|
+
return {
|
|
58
|
+
'skip': value['skip'],
|
|
59
|
+
'take': value['take'],
|
|
60
|
+
'total': value['total'],
|
|
61
|
+
'brains': (value['brains'].map(EquosBrain_1.EquosBrainToJSON)),
|
|
62
|
+
};
|
|
63
|
+
}
|