@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,72 @@
|
|
|
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.instanceOfEquosLimitResponse = instanceOfEquosLimitResponse;
|
|
17
|
+
exports.EquosLimitResponseFromJSON = EquosLimitResponseFromJSON;
|
|
18
|
+
exports.EquosLimitResponseFromJSONTyped = EquosLimitResponseFromJSONTyped;
|
|
19
|
+
exports.EquosLimitResponseToJSON = EquosLimitResponseToJSON;
|
|
20
|
+
exports.EquosLimitResponseToJSONTyped = EquosLimitResponseToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the EquosLimitResponse interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfEquosLimitResponse(value) {
|
|
25
|
+
if (!('organizationId' in value) || value['organizationId'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('concurrent' in value) || value['concurrent'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('duration' in value) || value['duration'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('suspended' in value) || value['suspended'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
if (!('createdAt' in value) || value['createdAt'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
if (!('updatedAt' in value) || value['updatedAt'] === undefined)
|
|
36
|
+
return false;
|
|
37
|
+
return true;
|
|
38
|
+
}
|
|
39
|
+
function EquosLimitResponseFromJSON(json) {
|
|
40
|
+
return EquosLimitResponseFromJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
function EquosLimitResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
43
|
+
if (json == null) {
|
|
44
|
+
return json;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
'organizationId': json['organizationId'],
|
|
48
|
+
'concurrent': json['concurrent'],
|
|
49
|
+
'duration': json['duration'],
|
|
50
|
+
'suspended': json['suspended'],
|
|
51
|
+
'reason': json['reason'] == null ? undefined : json['reason'],
|
|
52
|
+
'createdAt': (new Date(json['createdAt'])),
|
|
53
|
+
'updatedAt': (new Date(json['updatedAt'])),
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
function EquosLimitResponseToJSON(json) {
|
|
57
|
+
return EquosLimitResponseToJSONTyped(json, false);
|
|
58
|
+
}
|
|
59
|
+
function EquosLimitResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
60
|
+
if (value == null) {
|
|
61
|
+
return value;
|
|
62
|
+
}
|
|
63
|
+
return {
|
|
64
|
+
'organizationId': value['organizationId'],
|
|
65
|
+
'concurrent': value['concurrent'],
|
|
66
|
+
'duration': value['duration'],
|
|
67
|
+
'suspended': value['suspended'],
|
|
68
|
+
'reason': value['reason'],
|
|
69
|
+
'createdAt': value['createdAt'].toISOString(),
|
|
70
|
+
'updatedAt': value['updatedAt'].toISOString(),
|
|
71
|
+
};
|
|
72
|
+
}
|
|
@@ -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 EquosParticipantIdentity
|
|
16
|
+
*/
|
|
17
|
+
export interface EquosParticipantIdentity {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof EquosParticipantIdentity
|
|
22
|
+
*/
|
|
23
|
+
identity: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof EquosParticipantIdentity
|
|
28
|
+
*/
|
|
29
|
+
name: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the EquosParticipantIdentity interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfEquosParticipantIdentity(value: object): value is EquosParticipantIdentity;
|
|
35
|
+
export declare function EquosParticipantIdentityFromJSON(json: any): EquosParticipantIdentity;
|
|
36
|
+
export declare function EquosParticipantIdentityFromJSONTyped(json: any, ignoreDiscriminator: boolean): EquosParticipantIdentity;
|
|
37
|
+
export declare function EquosParticipantIdentityToJSON(json: any): EquosParticipantIdentity;
|
|
38
|
+
export declare function EquosParticipantIdentityToJSONTyped(value?: EquosParticipantIdentity | 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.instanceOfEquosParticipantIdentity = instanceOfEquosParticipantIdentity;
|
|
17
|
+
exports.EquosParticipantIdentityFromJSON = EquosParticipantIdentityFromJSON;
|
|
18
|
+
exports.EquosParticipantIdentityFromJSONTyped = EquosParticipantIdentityFromJSONTyped;
|
|
19
|
+
exports.EquosParticipantIdentityToJSON = EquosParticipantIdentityToJSON;
|
|
20
|
+
exports.EquosParticipantIdentityToJSONTyped = EquosParticipantIdentityToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the EquosParticipantIdentity interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfEquosParticipantIdentity(value) {
|
|
25
|
+
if (!('identity' in value) || value['identity'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
function EquosParticipantIdentityFromJSON(json) {
|
|
32
|
+
return EquosParticipantIdentityFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
function EquosParticipantIdentityFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if (json == null) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'identity': json['identity'],
|
|
40
|
+
'name': json['name'],
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
function EquosParticipantIdentityToJSON(json) {
|
|
44
|
+
return EquosParticipantIdentityToJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
function EquosParticipantIdentityToJSONTyped(value, ignoreDiscriminator = false) {
|
|
47
|
+
if (value == null) {
|
|
48
|
+
return value;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
'identity': value['identity'],
|
|
52
|
+
'name': value['name'],
|
|
53
|
+
};
|
|
54
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
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 EquosResourceReference
|
|
16
|
+
*/
|
|
17
|
+
export interface EquosResourceReference {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof EquosResourceReference
|
|
22
|
+
*/
|
|
23
|
+
id: string;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the EquosResourceReference interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfEquosResourceReference(value: object): value is EquosResourceReference;
|
|
29
|
+
export declare function EquosResourceReferenceFromJSON(json: any): EquosResourceReference;
|
|
30
|
+
export declare function EquosResourceReferenceFromJSONTyped(json: any, ignoreDiscriminator: boolean): EquosResourceReference;
|
|
31
|
+
export declare function EquosResourceReferenceToJSON(json: any): EquosResourceReference;
|
|
32
|
+
export declare function EquosResourceReferenceToJSONTyped(value?: EquosResourceReference | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -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.instanceOfEquosResourceReference = instanceOfEquosResourceReference;
|
|
17
|
+
exports.EquosResourceReferenceFromJSON = EquosResourceReferenceFromJSON;
|
|
18
|
+
exports.EquosResourceReferenceFromJSONTyped = EquosResourceReferenceFromJSONTyped;
|
|
19
|
+
exports.EquosResourceReferenceToJSON = EquosResourceReferenceToJSON;
|
|
20
|
+
exports.EquosResourceReferenceToJSONTyped = EquosResourceReferenceToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the EquosResourceReference interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfEquosResourceReference(value) {
|
|
25
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
function EquosResourceReferenceFromJSON(json) {
|
|
30
|
+
return EquosResourceReferenceFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
function EquosResourceReferenceFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'id': json['id'],
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
function EquosResourceReferenceToJSON(json) {
|
|
41
|
+
return EquosResourceReferenceToJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
function EquosResourceReferenceToJSONTyped(value, ignoreDiscriminator = false) {
|
|
44
|
+
if (value == null) {
|
|
45
|
+
return value;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
'id': value['id'],
|
|
49
|
+
};
|
|
50
|
+
}
|
|
@@ -0,0 +1,168 @@
|
|
|
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 { EquosResourceReference } from './EquosResourceReference';
|
|
13
|
+
import type { EquosAgent } from './EquosAgent';
|
|
14
|
+
import type { EquosAvatar } from './EquosAvatar';
|
|
15
|
+
import type { EquosSessionServer } from './EquosSessionServer';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface EquosSession
|
|
20
|
+
*/
|
|
21
|
+
export interface EquosSession {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof EquosSession
|
|
26
|
+
*/
|
|
27
|
+
id: string;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof EquosSession
|
|
32
|
+
*/
|
|
33
|
+
organizationId: string;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {boolean}
|
|
37
|
+
* @memberof EquosSession
|
|
38
|
+
*/
|
|
39
|
+
freemium: boolean;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {string}
|
|
43
|
+
* @memberof EquosSession
|
|
44
|
+
*/
|
|
45
|
+
name: string;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
* @type {string}
|
|
49
|
+
* @memberof EquosSession
|
|
50
|
+
*/
|
|
51
|
+
provider: string;
|
|
52
|
+
/**
|
|
53
|
+
*
|
|
54
|
+
* @type {string}
|
|
55
|
+
* @memberof EquosSession
|
|
56
|
+
*/
|
|
57
|
+
client?: string;
|
|
58
|
+
/**
|
|
59
|
+
*
|
|
60
|
+
* @type {string}
|
|
61
|
+
* @memberof EquosSession
|
|
62
|
+
*/
|
|
63
|
+
status: string;
|
|
64
|
+
/**
|
|
65
|
+
*
|
|
66
|
+
* @type {number}
|
|
67
|
+
* @memberof EquosSession
|
|
68
|
+
*/
|
|
69
|
+
maxDuration?: number;
|
|
70
|
+
/**
|
|
71
|
+
*
|
|
72
|
+
* @type {string}
|
|
73
|
+
* @memberof EquosSession
|
|
74
|
+
*/
|
|
75
|
+
additionalCtx?: string;
|
|
76
|
+
/**
|
|
77
|
+
*
|
|
78
|
+
* @type {object}
|
|
79
|
+
* @memberof EquosSession
|
|
80
|
+
*/
|
|
81
|
+
templateVars?: object;
|
|
82
|
+
/**
|
|
83
|
+
*
|
|
84
|
+
* @type {EquosSessionServer}
|
|
85
|
+
* @memberof EquosSession
|
|
86
|
+
*/
|
|
87
|
+
host: EquosSessionServer;
|
|
88
|
+
/**
|
|
89
|
+
*
|
|
90
|
+
* @type {string}
|
|
91
|
+
* @memberof EquosSession
|
|
92
|
+
*/
|
|
93
|
+
avatarId?: string;
|
|
94
|
+
/**
|
|
95
|
+
*
|
|
96
|
+
* @type {EquosAvatar}
|
|
97
|
+
* @memberof EquosSession
|
|
98
|
+
*/
|
|
99
|
+
avatar: EquosAvatar;
|
|
100
|
+
/**
|
|
101
|
+
*
|
|
102
|
+
* @type {string}
|
|
103
|
+
* @memberof EquosSession
|
|
104
|
+
*/
|
|
105
|
+
agentId?: string;
|
|
106
|
+
/**
|
|
107
|
+
*
|
|
108
|
+
* @type {EquosAgent}
|
|
109
|
+
* @memberof EquosSession
|
|
110
|
+
*/
|
|
111
|
+
agent?: EquosAgent | null;
|
|
112
|
+
/**
|
|
113
|
+
*
|
|
114
|
+
* @type {string}
|
|
115
|
+
* @memberof EquosSession
|
|
116
|
+
*/
|
|
117
|
+
knowledgeBaseId?: string;
|
|
118
|
+
/**
|
|
119
|
+
*
|
|
120
|
+
* @type {EquosResourceReference}
|
|
121
|
+
* @memberof EquosSession
|
|
122
|
+
*/
|
|
123
|
+
knowledgeBase?: EquosResourceReference;
|
|
124
|
+
/**
|
|
125
|
+
*
|
|
126
|
+
* @type {object}
|
|
127
|
+
* @memberof EquosSession
|
|
128
|
+
*/
|
|
129
|
+
remoteAgentIdentity?: object;
|
|
130
|
+
/**
|
|
131
|
+
*
|
|
132
|
+
* @type {object}
|
|
133
|
+
* @memberof EquosSession
|
|
134
|
+
*/
|
|
135
|
+
transcript?: object | null;
|
|
136
|
+
/**
|
|
137
|
+
*
|
|
138
|
+
* @type {Date}
|
|
139
|
+
* @memberof EquosSession
|
|
140
|
+
*/
|
|
141
|
+
startedAt: Date;
|
|
142
|
+
/**
|
|
143
|
+
*
|
|
144
|
+
* @type {Date}
|
|
145
|
+
* @memberof EquosSession
|
|
146
|
+
*/
|
|
147
|
+
endedAt?: Date;
|
|
148
|
+
/**
|
|
149
|
+
*
|
|
150
|
+
* @type {Date}
|
|
151
|
+
* @memberof EquosSession
|
|
152
|
+
*/
|
|
153
|
+
createdAt: Date;
|
|
154
|
+
/**
|
|
155
|
+
*
|
|
156
|
+
* @type {Date}
|
|
157
|
+
* @memberof EquosSession
|
|
158
|
+
*/
|
|
159
|
+
updatedAt: Date;
|
|
160
|
+
}
|
|
161
|
+
/**
|
|
162
|
+
* Check if a given object implements the EquosSession interface.
|
|
163
|
+
*/
|
|
164
|
+
export declare function instanceOfEquosSession(value: object): value is EquosSession;
|
|
165
|
+
export declare function EquosSessionFromJSON(json: any): EquosSession;
|
|
166
|
+
export declare function EquosSessionFromJSONTyped(json: any, ignoreDiscriminator: boolean): EquosSession;
|
|
167
|
+
export declare function EquosSessionToJSON(json: any): EquosSession;
|
|
168
|
+
export declare function EquosSessionToJSONTyped(value?: EquosSession | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,118 @@
|
|
|
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.instanceOfEquosSession = instanceOfEquosSession;
|
|
17
|
+
exports.EquosSessionFromJSON = EquosSessionFromJSON;
|
|
18
|
+
exports.EquosSessionFromJSONTyped = EquosSessionFromJSONTyped;
|
|
19
|
+
exports.EquosSessionToJSON = EquosSessionToJSON;
|
|
20
|
+
exports.EquosSessionToJSONTyped = EquosSessionToJSONTyped;
|
|
21
|
+
const EquosResourceReference_1 = require("./EquosResourceReference");
|
|
22
|
+
const EquosAgent_1 = require("./EquosAgent");
|
|
23
|
+
const EquosAvatar_1 = require("./EquosAvatar");
|
|
24
|
+
const EquosSessionServer_1 = require("./EquosSessionServer");
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the EquosSession interface.
|
|
27
|
+
*/
|
|
28
|
+
function instanceOfEquosSession(value) {
|
|
29
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('organizationId' in value) || value['organizationId'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
if (!('freemium' in value) || value['freemium'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
36
|
+
return false;
|
|
37
|
+
if (!('provider' in value) || value['provider'] === undefined)
|
|
38
|
+
return false;
|
|
39
|
+
if (!('status' in value) || value['status'] === undefined)
|
|
40
|
+
return false;
|
|
41
|
+
if (!('host' in value) || value['host'] === undefined)
|
|
42
|
+
return false;
|
|
43
|
+
if (!('avatar' in value) || value['avatar'] === undefined)
|
|
44
|
+
return false;
|
|
45
|
+
if (!('startedAt' in value) || value['startedAt'] === undefined)
|
|
46
|
+
return false;
|
|
47
|
+
if (!('createdAt' in value) || value['createdAt'] === undefined)
|
|
48
|
+
return false;
|
|
49
|
+
if (!('updatedAt' in value) || value['updatedAt'] === undefined)
|
|
50
|
+
return false;
|
|
51
|
+
return true;
|
|
52
|
+
}
|
|
53
|
+
function EquosSessionFromJSON(json) {
|
|
54
|
+
return EquosSessionFromJSONTyped(json, false);
|
|
55
|
+
}
|
|
56
|
+
function EquosSessionFromJSONTyped(json, ignoreDiscriminator) {
|
|
57
|
+
if (json == null) {
|
|
58
|
+
return json;
|
|
59
|
+
}
|
|
60
|
+
return {
|
|
61
|
+
'id': json['id'],
|
|
62
|
+
'organizationId': json['organizationId'],
|
|
63
|
+
'freemium': json['freemium'],
|
|
64
|
+
'name': json['name'],
|
|
65
|
+
'provider': json['provider'],
|
|
66
|
+
'client': json['client'] == null ? undefined : json['client'],
|
|
67
|
+
'status': json['status'],
|
|
68
|
+
'maxDuration': json['maxDuration'] == null ? undefined : json['maxDuration'],
|
|
69
|
+
'additionalCtx': json['additionalCtx'] == null ? undefined : json['additionalCtx'],
|
|
70
|
+
'templateVars': json['templateVars'] == null ? undefined : json['templateVars'],
|
|
71
|
+
'host': (0, EquosSessionServer_1.EquosSessionServerFromJSON)(json['host']),
|
|
72
|
+
'avatarId': json['avatarId'] == null ? undefined : json['avatarId'],
|
|
73
|
+
'avatar': (0, EquosAvatar_1.EquosAvatarFromJSON)(json['avatar']),
|
|
74
|
+
'agentId': json['agentId'] == null ? undefined : json['agentId'],
|
|
75
|
+
'agent': json['agent'] == null ? undefined : (0, EquosAgent_1.EquosAgentFromJSON)(json['agent']),
|
|
76
|
+
'knowledgeBaseId': json['knowledgeBaseId'] == null ? undefined : json['knowledgeBaseId'],
|
|
77
|
+
'knowledgeBase': json['knowledgeBase'] == null ? undefined : (0, EquosResourceReference_1.EquosResourceReferenceFromJSON)(json['knowledgeBase']),
|
|
78
|
+
'remoteAgentIdentity': json['remoteAgentIdentity'] == null ? undefined : json['remoteAgentIdentity'],
|
|
79
|
+
'transcript': json['transcript'] == null ? undefined : json['transcript'],
|
|
80
|
+
'startedAt': (new Date(json['startedAt'])),
|
|
81
|
+
'endedAt': json['endedAt'] == null ? undefined : (new Date(json['endedAt'])),
|
|
82
|
+
'createdAt': (new Date(json['createdAt'])),
|
|
83
|
+
'updatedAt': (new Date(json['updatedAt'])),
|
|
84
|
+
};
|
|
85
|
+
}
|
|
86
|
+
function EquosSessionToJSON(json) {
|
|
87
|
+
return EquosSessionToJSONTyped(json, false);
|
|
88
|
+
}
|
|
89
|
+
function EquosSessionToJSONTyped(value, ignoreDiscriminator = false) {
|
|
90
|
+
if (value == null) {
|
|
91
|
+
return value;
|
|
92
|
+
}
|
|
93
|
+
return {
|
|
94
|
+
'id': value['id'],
|
|
95
|
+
'organizationId': value['organizationId'],
|
|
96
|
+
'freemium': value['freemium'],
|
|
97
|
+
'name': value['name'],
|
|
98
|
+
'provider': value['provider'],
|
|
99
|
+
'client': value['client'],
|
|
100
|
+
'status': value['status'],
|
|
101
|
+
'maxDuration': value['maxDuration'],
|
|
102
|
+
'additionalCtx': value['additionalCtx'],
|
|
103
|
+
'templateVars': value['templateVars'],
|
|
104
|
+
'host': (0, EquosSessionServer_1.EquosSessionServerToJSON)(value['host']),
|
|
105
|
+
'avatarId': value['avatarId'],
|
|
106
|
+
'avatar': (0, EquosAvatar_1.EquosAvatarToJSON)(value['avatar']),
|
|
107
|
+
'agentId': value['agentId'],
|
|
108
|
+
'agent': (0, EquosAgent_1.EquosAgentToJSON)(value['agent']),
|
|
109
|
+
'knowledgeBaseId': value['knowledgeBaseId'],
|
|
110
|
+
'knowledgeBase': (0, EquosResourceReference_1.EquosResourceReferenceToJSON)(value['knowledgeBase']),
|
|
111
|
+
'remoteAgentIdentity': value['remoteAgentIdentity'],
|
|
112
|
+
'transcript': value['transcript'],
|
|
113
|
+
'startedAt': value['startedAt'].toISOString(),
|
|
114
|
+
'endedAt': value['endedAt'] == null ? value['endedAt'] : value['endedAt'].toISOString(),
|
|
115
|
+
'createdAt': value['createdAt'].toISOString(),
|
|
116
|
+
'updatedAt': value['updatedAt'].toISOString(),
|
|
117
|
+
};
|
|
118
|
+
}
|
|
@@ -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 EquosSessionHost
|
|
16
|
+
*/
|
|
17
|
+
export interface EquosSessionHost {
|
|
18
|
+
/**
|
|
19
|
+
* The URL of the LiveKit server.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof EquosSessionHost
|
|
22
|
+
*/
|
|
23
|
+
serverUrl: string;
|
|
24
|
+
/**
|
|
25
|
+
* The access token for the avatar to join the room.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof EquosSessionHost
|
|
28
|
+
*/
|
|
29
|
+
accessToken: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the EquosSessionHost interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfEquosSessionHost(value: object): value is EquosSessionHost;
|
|
35
|
+
export declare function EquosSessionHostFromJSON(json: any): EquosSessionHost;
|
|
36
|
+
export declare function EquosSessionHostFromJSONTyped(json: any, ignoreDiscriminator: boolean): EquosSessionHost;
|
|
37
|
+
export declare function EquosSessionHostToJSON(json: any): EquosSessionHost;
|
|
38
|
+
export declare function EquosSessionHostToJSONTyped(value?: EquosSessionHost | 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.instanceOfEquosSessionHost = instanceOfEquosSessionHost;
|
|
17
|
+
exports.EquosSessionHostFromJSON = EquosSessionHostFromJSON;
|
|
18
|
+
exports.EquosSessionHostFromJSONTyped = EquosSessionHostFromJSONTyped;
|
|
19
|
+
exports.EquosSessionHostToJSON = EquosSessionHostToJSON;
|
|
20
|
+
exports.EquosSessionHostToJSONTyped = EquosSessionHostToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the EquosSessionHost interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfEquosSessionHost(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 EquosSessionHostFromJSON(json) {
|
|
32
|
+
return EquosSessionHostFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
function EquosSessionHostFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if (json == null) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'serverUrl': json['serverUrl'],
|
|
40
|
+
'accessToken': json['accessToken'],
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
function EquosSessionHostToJSON(json) {
|
|
44
|
+
return EquosSessionHostToJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
function EquosSessionHostToJSONTyped(value, ignoreDiscriminator = false) {
|
|
47
|
+
if (value == null) {
|
|
48
|
+
return value;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
'serverUrl': value['serverUrl'],
|
|
52
|
+
'accessToken': value['accessToken'],
|
|
53
|
+
};
|
|
54
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
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 EquosSessionServer
|
|
16
|
+
*/
|
|
17
|
+
export interface EquosSessionServer {
|
|
18
|
+
/**
|
|
19
|
+
* The URL of the LiveKit server.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof EquosSessionServer
|
|
22
|
+
*/
|
|
23
|
+
serverUrl: string;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the EquosSessionServer interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfEquosSessionServer(value: object): value is EquosSessionServer;
|
|
29
|
+
export declare function EquosSessionServerFromJSON(json: any): EquosSessionServer;
|
|
30
|
+
export declare function EquosSessionServerFromJSONTyped(json: any, ignoreDiscriminator: boolean): EquosSessionServer;
|
|
31
|
+
export declare function EquosSessionServerToJSON(json: any): EquosSessionServer;
|
|
32
|
+
export declare function EquosSessionServerToJSONTyped(value?: EquosSessionServer | null, ignoreDiscriminator?: boolean): any;
|