@equos/node-sdk 3.0.2-rc.2 → 3.0.2-rc.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api/models/CreateDocumentResponse.d.ts +12 -0
- package/dist/api/models/CreateDocumentResponse.js +8 -0
- package/dist/api/models/CreateEquosBrainRequest.d.ts +1 -7
- package/dist/api/models/CreateEquosBrainRequest.js +0 -4
- package/dist/api/models/CreateEquosCharacterRequest.d.ts +12 -12
- package/dist/api/models/CreateEquosFaceRequest.d.ts +2 -2
- package/dist/api/models/CreateEquosVoiceRequest.d.ts +40 -16
- package/dist/api/models/CreateEquosVoiceRequest.js +41 -15
- package/dist/api/models/EquosBrain.d.ts +1 -7
- package/dist/api/models/EquosBrain.js +0 -4
- package/dist/api/models/EquosCharacter.d.ts +12 -12
- package/dist/api/models/EquosFace.d.ts +20 -32
- package/dist/api/models/EquosFace.js +14 -14
- package/dist/api/models/EquosLimitResponse.d.ts +2 -2
- package/dist/api/models/EquosVoice.d.ts +3 -15
- package/dist/api/models/EquosVoice.js +5 -15
- package/dist/api/models/UpdateEquosCharacterRequest.d.ts +10 -10
- package/package.json +1 -1
|
@@ -22,6 +22,18 @@ export interface CreateDocumentResponse {
|
|
|
22
22
|
* @memberof CreateDocumentResponse
|
|
23
23
|
*/
|
|
24
24
|
document: EquosDocument;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof CreateDocumentResponse
|
|
29
|
+
*/
|
|
30
|
+
uploadUrl: string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {Date}
|
|
34
|
+
* @memberof CreateDocumentResponse
|
|
35
|
+
*/
|
|
36
|
+
expireAt: Date;
|
|
25
37
|
}
|
|
26
38
|
/**
|
|
27
39
|
* Check if a given object implements the CreateDocumentResponse interface.
|
|
@@ -25,6 +25,10 @@ const EquosDocument_1 = require("./EquosDocument");
|
|
|
25
25
|
function instanceOfCreateDocumentResponse(value) {
|
|
26
26
|
if (!('document' in value) || value['document'] === undefined)
|
|
27
27
|
return false;
|
|
28
|
+
if (!('uploadUrl' in value) || value['uploadUrl'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
if (!('expireAt' in value) || value['expireAt'] === undefined)
|
|
31
|
+
return false;
|
|
28
32
|
return true;
|
|
29
33
|
}
|
|
30
34
|
function CreateDocumentResponseFromJSON(json) {
|
|
@@ -36,6 +40,8 @@ function CreateDocumentResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
36
40
|
}
|
|
37
41
|
return {
|
|
38
42
|
'document': (0, EquosDocument_1.EquosDocumentFromJSON)(json['document']),
|
|
43
|
+
'uploadUrl': json['uploadUrl'],
|
|
44
|
+
'expireAt': (new Date(json['expireAt'])),
|
|
39
45
|
};
|
|
40
46
|
}
|
|
41
47
|
function CreateDocumentResponseToJSON(json) {
|
|
@@ -47,5 +53,7 @@ function CreateDocumentResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
47
53
|
}
|
|
48
54
|
return {
|
|
49
55
|
'document': (0, EquosDocument_1.EquosDocumentToJSON)(value['document']),
|
|
56
|
+
'uploadUrl': value['uploadUrl'],
|
|
57
|
+
'expireAt': value['expireAt'].toISOString(),
|
|
50
58
|
};
|
|
51
59
|
}
|
|
@@ -17,16 +17,10 @@
|
|
|
17
17
|
export interface CreateEquosBrainRequest {
|
|
18
18
|
/**
|
|
19
19
|
* Client identifier associated with the brain. This is useful to segment resources by client.
|
|
20
|
-
* @type {object}
|
|
21
|
-
* @memberof CreateEquosBrainRequest
|
|
22
|
-
*/
|
|
23
|
-
client?: object | null;
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
20
|
* @type {string}
|
|
27
21
|
* @memberof CreateEquosBrainRequest
|
|
28
22
|
*/
|
|
29
|
-
|
|
23
|
+
client?: string | null;
|
|
30
24
|
/**
|
|
31
25
|
*
|
|
32
26
|
* @type {string}
|
|
@@ -22,8 +22,6 @@ exports.CreateEquosBrainRequestToJSONTyped = CreateEquosBrainRequestToJSONTyped;
|
|
|
22
22
|
* Check if a given object implements the CreateEquosBrainRequest interface.
|
|
23
23
|
*/
|
|
24
24
|
function instanceOfCreateEquosBrainRequest(value) {
|
|
25
|
-
if (!('name' in value) || value['name'] === undefined)
|
|
26
|
-
return false;
|
|
27
25
|
if (!('instructions' in value) || value['instructions'] === undefined)
|
|
28
26
|
return false;
|
|
29
27
|
if (!('greetingMessage' in value) || value['greetingMessage'] === undefined)
|
|
@@ -41,7 +39,6 @@ function CreateEquosBrainRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
41
39
|
}
|
|
42
40
|
return {
|
|
43
41
|
'client': json['client'] == null ? undefined : json['client'],
|
|
44
|
-
'name': json['name'],
|
|
45
42
|
'instructions': json['instructions'],
|
|
46
43
|
'greetingMessage': json['greetingMessage'],
|
|
47
44
|
'model': json['model'],
|
|
@@ -56,7 +53,6 @@ function CreateEquosBrainRequestToJSONTyped(value, ignoreDiscriminator = false)
|
|
|
56
53
|
}
|
|
57
54
|
return {
|
|
58
55
|
'client': value['client'],
|
|
59
|
-
'name': value['name'],
|
|
60
56
|
'instructions': value['instructions'],
|
|
61
57
|
'greetingMessage': value['greetingMessage'],
|
|
62
58
|
'model': value['model'],
|
|
@@ -17,10 +17,10 @@
|
|
|
17
17
|
export interface CreateEquosCharacterRequest {
|
|
18
18
|
/**
|
|
19
19
|
* Client identifier associated with the character. This is useful to segment resources by client.
|
|
20
|
-
* @type {
|
|
20
|
+
* @type {string}
|
|
21
21
|
* @memberof CreateEquosCharacterRequest
|
|
22
22
|
*/
|
|
23
|
-
client?:
|
|
23
|
+
client?: string | null;
|
|
24
24
|
/**
|
|
25
25
|
*
|
|
26
26
|
* @type {string}
|
|
@@ -35,28 +35,28 @@ export interface CreateEquosCharacterRequest {
|
|
|
35
35
|
livekitIdentity: string;
|
|
36
36
|
/**
|
|
37
37
|
*
|
|
38
|
-
* @type {
|
|
38
|
+
* @type {string}
|
|
39
39
|
* @memberof CreateEquosCharacterRequest
|
|
40
40
|
*/
|
|
41
|
-
faceId?:
|
|
41
|
+
faceId?: string | null;
|
|
42
42
|
/**
|
|
43
43
|
*
|
|
44
|
-
* @type {
|
|
44
|
+
* @type {string}
|
|
45
45
|
* @memberof CreateEquosCharacterRequest
|
|
46
46
|
*/
|
|
47
|
-
voiceId?:
|
|
47
|
+
voiceId?: string | null;
|
|
48
48
|
/**
|
|
49
49
|
*
|
|
50
|
-
* @type {
|
|
50
|
+
* @type {string}
|
|
51
51
|
* @memberof CreateEquosCharacterRequest
|
|
52
52
|
*/
|
|
53
|
-
brainId?:
|
|
53
|
+
brainId?: string | null;
|
|
54
54
|
/**
|
|
55
55
|
*
|
|
56
|
-
* @type {
|
|
56
|
+
* @type {string}
|
|
57
57
|
* @memberof CreateEquosCharacterRequest
|
|
58
58
|
*/
|
|
59
|
-
knowledgeBaseId?:
|
|
59
|
+
knowledgeBaseId?: string | null;
|
|
60
60
|
/**
|
|
61
61
|
*
|
|
62
62
|
* @type {boolean}
|
|
@@ -65,10 +65,10 @@ export interface CreateEquosCharacterRequest {
|
|
|
65
65
|
search?: boolean;
|
|
66
66
|
/**
|
|
67
67
|
*
|
|
68
|
-
* @type {
|
|
68
|
+
* @type {string}
|
|
69
69
|
* @memberof CreateEquosCharacterRequest
|
|
70
70
|
*/
|
|
71
|
-
elevenlabsAgentId?:
|
|
71
|
+
elevenlabsAgentId?: string | null;
|
|
72
72
|
}
|
|
73
73
|
/**
|
|
74
74
|
* Check if a given object implements the CreateEquosCharacterRequest interface.
|
|
@@ -17,10 +17,10 @@
|
|
|
17
17
|
export interface CreateEquosFaceRequest {
|
|
18
18
|
/**
|
|
19
19
|
* Client identifier associated with the face. This is useful to segment resources by client.
|
|
20
|
-
* @type {
|
|
20
|
+
* @type {string}
|
|
21
21
|
* @memberof CreateEquosFaceRequest
|
|
22
22
|
*/
|
|
23
|
-
client?:
|
|
23
|
+
client?: string | null;
|
|
24
24
|
/**
|
|
25
25
|
* Identity of the face in Equos Gallery.
|
|
26
26
|
* @type {string}
|
|
@@ -17,35 +17,59 @@
|
|
|
17
17
|
export interface CreateEquosVoiceRequest {
|
|
18
18
|
/**
|
|
19
19
|
* Client identifier associated with the voice. This is useful to segment resources by client.
|
|
20
|
-
* @type {object}
|
|
21
|
-
* @memberof CreateEquosVoiceRequest
|
|
22
|
-
*/
|
|
23
|
-
client?: object | null;
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
20
|
* @type {string}
|
|
27
21
|
* @memberof CreateEquosVoiceRequest
|
|
28
22
|
*/
|
|
29
|
-
|
|
23
|
+
client?: string | null;
|
|
30
24
|
/**
|
|
31
25
|
*
|
|
32
26
|
* @type {string}
|
|
33
27
|
* @memberof CreateEquosVoiceRequest
|
|
34
28
|
*/
|
|
35
|
-
|
|
29
|
+
identity: CreateEquosVoiceRequestIdentityEnum;
|
|
36
30
|
/**
|
|
37
|
-
*
|
|
31
|
+
* Instructions for the voice such as tone, rythm, etc.
|
|
38
32
|
* @type {string}
|
|
39
33
|
* @memberof CreateEquosVoiceRequest
|
|
40
34
|
*/
|
|
41
|
-
|
|
42
|
-
/**
|
|
43
|
-
*
|
|
44
|
-
* @type {string}
|
|
45
|
-
* @memberof CreateEquosVoiceRequest
|
|
46
|
-
*/
|
|
47
|
-
voiceId: string;
|
|
35
|
+
instructions?: string | null;
|
|
48
36
|
}
|
|
37
|
+
/**
|
|
38
|
+
* @export
|
|
39
|
+
*/
|
|
40
|
+
export declare const CreateEquosVoiceRequestIdentityEnum: {
|
|
41
|
+
readonly Puck: "Puck";
|
|
42
|
+
readonly Charon: "Charon";
|
|
43
|
+
readonly Kore: "Kore";
|
|
44
|
+
readonly Fenrir: "Fenrir";
|
|
45
|
+
readonly Aoede: "Aoede";
|
|
46
|
+
readonly Leda: "Leda";
|
|
47
|
+
readonly Orus: "Orus";
|
|
48
|
+
readonly Zephyr: "Zephyr";
|
|
49
|
+
readonly Sulafat: "Sulafat";
|
|
50
|
+
readonly Sadachbia: "Sadachbia";
|
|
51
|
+
readonly Sadaltager: "Sadaltager";
|
|
52
|
+
readonly Vindemiatrix: "Vindemiatrix";
|
|
53
|
+
readonly Zubenelgenubi: "Zubenelgenubi";
|
|
54
|
+
readonly Achird: "Achird";
|
|
55
|
+
readonly Pulcherrima: "Pulcherrima";
|
|
56
|
+
readonly Gacrux: "Gacrux";
|
|
57
|
+
readonly Schedar: "Schedar";
|
|
58
|
+
readonly Alnilam: "Alnilam";
|
|
59
|
+
readonly Achernar: "Achernar";
|
|
60
|
+
readonly Laomedeia: "Laomedeia";
|
|
61
|
+
readonly Rasalgethi: "Rasalgethi";
|
|
62
|
+
readonly Algenib: "Algenib";
|
|
63
|
+
readonly Erinome: "Erinome";
|
|
64
|
+
readonly Despina: "Despina";
|
|
65
|
+
readonly Algieba: "Algieba";
|
|
66
|
+
readonly Umbriel: "Umbriel";
|
|
67
|
+
readonly Iapetus: "Iapetus";
|
|
68
|
+
readonly Enceladus: "Enceladus";
|
|
69
|
+
readonly Autonoe: "Autonoe";
|
|
70
|
+
readonly Callirrhoe: "Callirrhoe";
|
|
71
|
+
};
|
|
72
|
+
export type CreateEquosVoiceRequestIdentityEnum = typeof CreateEquosVoiceRequestIdentityEnum[keyof typeof CreateEquosVoiceRequestIdentityEnum];
|
|
49
73
|
/**
|
|
50
74
|
* Check if a given object implements the CreateEquosVoiceRequest interface.
|
|
51
75
|
*/
|
|
@@ -13,22 +13,52 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.CreateEquosVoiceRequestIdentityEnum = void 0;
|
|
16
17
|
exports.instanceOfCreateEquosVoiceRequest = instanceOfCreateEquosVoiceRequest;
|
|
17
18
|
exports.CreateEquosVoiceRequestFromJSON = CreateEquosVoiceRequestFromJSON;
|
|
18
19
|
exports.CreateEquosVoiceRequestFromJSONTyped = CreateEquosVoiceRequestFromJSONTyped;
|
|
19
20
|
exports.CreateEquosVoiceRequestToJSON = CreateEquosVoiceRequestToJSON;
|
|
20
21
|
exports.CreateEquosVoiceRequestToJSONTyped = CreateEquosVoiceRequestToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
exports.CreateEquosVoiceRequestIdentityEnum = {
|
|
26
|
+
Puck: 'Puck',
|
|
27
|
+
Charon: 'Charon',
|
|
28
|
+
Kore: 'Kore',
|
|
29
|
+
Fenrir: 'Fenrir',
|
|
30
|
+
Aoede: 'Aoede',
|
|
31
|
+
Leda: 'Leda',
|
|
32
|
+
Orus: 'Orus',
|
|
33
|
+
Zephyr: 'Zephyr',
|
|
34
|
+
Sulafat: 'Sulafat',
|
|
35
|
+
Sadachbia: 'Sadachbia',
|
|
36
|
+
Sadaltager: 'Sadaltager',
|
|
37
|
+
Vindemiatrix: 'Vindemiatrix',
|
|
38
|
+
Zubenelgenubi: 'Zubenelgenubi',
|
|
39
|
+
Achird: 'Achird',
|
|
40
|
+
Pulcherrima: 'Pulcherrima',
|
|
41
|
+
Gacrux: 'Gacrux',
|
|
42
|
+
Schedar: 'Schedar',
|
|
43
|
+
Alnilam: 'Alnilam',
|
|
44
|
+
Achernar: 'Achernar',
|
|
45
|
+
Laomedeia: 'Laomedeia',
|
|
46
|
+
Rasalgethi: 'Rasalgethi',
|
|
47
|
+
Algenib: 'Algenib',
|
|
48
|
+
Erinome: 'Erinome',
|
|
49
|
+
Despina: 'Despina',
|
|
50
|
+
Algieba: 'Algieba',
|
|
51
|
+
Umbriel: 'Umbriel',
|
|
52
|
+
Iapetus: 'Iapetus',
|
|
53
|
+
Enceladus: 'Enceladus',
|
|
54
|
+
Autonoe: 'Autonoe',
|
|
55
|
+
Callirrhoe: 'Callirrhoe'
|
|
56
|
+
};
|
|
21
57
|
/**
|
|
22
58
|
* Check if a given object implements the CreateEquosVoiceRequest interface.
|
|
23
59
|
*/
|
|
24
60
|
function instanceOfCreateEquosVoiceRequest(value) {
|
|
25
|
-
if (!('
|
|
26
|
-
return false;
|
|
27
|
-
if (!('description' in value) || value['description'] === undefined)
|
|
28
|
-
return false;
|
|
29
|
-
if (!('sampleUrl' in value) || value['sampleUrl'] === undefined)
|
|
30
|
-
return false;
|
|
31
|
-
if (!('voiceId' in value) || value['voiceId'] === undefined)
|
|
61
|
+
if (!('identity' in value) || value['identity'] === undefined)
|
|
32
62
|
return false;
|
|
33
63
|
return true;
|
|
34
64
|
}
|
|
@@ -41,10 +71,8 @@ function CreateEquosVoiceRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
41
71
|
}
|
|
42
72
|
return {
|
|
43
73
|
'client': json['client'] == null ? undefined : json['client'],
|
|
44
|
-
'
|
|
45
|
-
'
|
|
46
|
-
'sampleUrl': json['sampleUrl'],
|
|
47
|
-
'voiceId': json['voiceId'],
|
|
74
|
+
'identity': json['identity'],
|
|
75
|
+
'instructions': json['instructions'] == null ? undefined : json['instructions'],
|
|
48
76
|
};
|
|
49
77
|
}
|
|
50
78
|
function CreateEquosVoiceRequestToJSON(json) {
|
|
@@ -56,9 +84,7 @@ function CreateEquosVoiceRequestToJSONTyped(value, ignoreDiscriminator = false)
|
|
|
56
84
|
}
|
|
57
85
|
return {
|
|
58
86
|
'client': value['client'],
|
|
59
|
-
'
|
|
60
|
-
'
|
|
61
|
-
'sampleUrl': value['sampleUrl'],
|
|
62
|
-
'voiceId': value['voiceId'],
|
|
87
|
+
'identity': value['identity'],
|
|
88
|
+
'instructions': value['instructions'],
|
|
63
89
|
};
|
|
64
90
|
}
|
|
@@ -27,18 +27,12 @@ export interface EquosBrain {
|
|
|
27
27
|
* @memberof EquosBrain
|
|
28
28
|
*/
|
|
29
29
|
organizationId: string;
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {object}
|
|
33
|
-
* @memberof EquosBrain
|
|
34
|
-
*/
|
|
35
|
-
client?: object | null;
|
|
36
30
|
/**
|
|
37
31
|
*
|
|
38
32
|
* @type {string}
|
|
39
33
|
* @memberof EquosBrain
|
|
40
34
|
*/
|
|
41
|
-
|
|
35
|
+
client?: string | null;
|
|
42
36
|
/**
|
|
43
37
|
*
|
|
44
38
|
* @type {string}
|
|
@@ -26,8 +26,6 @@ function instanceOfEquosBrain(value) {
|
|
|
26
26
|
return false;
|
|
27
27
|
if (!('organizationId' in value) || value['organizationId'] === undefined)
|
|
28
28
|
return false;
|
|
29
|
-
if (!('name' in value) || value['name'] === undefined)
|
|
30
|
-
return false;
|
|
31
29
|
if (!('instructions' in value) || value['instructions'] === undefined)
|
|
32
30
|
return false;
|
|
33
31
|
if (!('greetingMessage' in value) || value['greetingMessage'] === undefined)
|
|
@@ -49,7 +47,6 @@ function EquosBrainFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
49
47
|
'id': json['id'],
|
|
50
48
|
'organizationId': json['organizationId'],
|
|
51
49
|
'client': json['client'] == null ? undefined : json['client'],
|
|
52
|
-
'name': json['name'],
|
|
53
50
|
'instructions': json['instructions'],
|
|
54
51
|
'greetingMessage': json['greetingMessage'],
|
|
55
52
|
'createdAt': (new Date(json['createdAt'])),
|
|
@@ -67,7 +64,6 @@ function EquosBrainToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
67
64
|
'id': value['id'],
|
|
68
65
|
'organizationId': value['organizationId'],
|
|
69
66
|
'client': value['client'],
|
|
70
|
-
'name': value['name'],
|
|
71
67
|
'instructions': value['instructions'],
|
|
72
68
|
'greetingMessage': value['greetingMessage'],
|
|
73
69
|
'createdAt': value['createdAt'].toISOString(),
|
|
@@ -33,10 +33,10 @@ export interface EquosCharacter {
|
|
|
33
33
|
organizationId: string;
|
|
34
34
|
/**
|
|
35
35
|
*
|
|
36
|
-
* @type {
|
|
36
|
+
* @type {string}
|
|
37
37
|
* @memberof EquosCharacter
|
|
38
38
|
*/
|
|
39
|
-
client?:
|
|
39
|
+
client?: string | null;
|
|
40
40
|
/**
|
|
41
41
|
*
|
|
42
42
|
* @type {string}
|
|
@@ -57,34 +57,34 @@ export interface EquosCharacter {
|
|
|
57
57
|
search: boolean;
|
|
58
58
|
/**
|
|
59
59
|
*
|
|
60
|
-
* @type {
|
|
60
|
+
* @type {string}
|
|
61
61
|
* @memberof EquosCharacter
|
|
62
62
|
*/
|
|
63
|
-
elevenlabsAgentId?:
|
|
63
|
+
elevenlabsAgentId?: string | null;
|
|
64
64
|
/**
|
|
65
65
|
*
|
|
66
|
-
* @type {
|
|
66
|
+
* @type {string}
|
|
67
67
|
* @memberof EquosCharacter
|
|
68
68
|
*/
|
|
69
|
-
faceId?:
|
|
69
|
+
faceId?: string | null;
|
|
70
70
|
/**
|
|
71
71
|
*
|
|
72
|
-
* @type {
|
|
72
|
+
* @type {string}
|
|
73
73
|
* @memberof EquosCharacter
|
|
74
74
|
*/
|
|
75
|
-
voiceId?:
|
|
75
|
+
voiceId?: string | null;
|
|
76
76
|
/**
|
|
77
77
|
*
|
|
78
|
-
* @type {
|
|
78
|
+
* @type {string}
|
|
79
79
|
* @memberof EquosCharacter
|
|
80
80
|
*/
|
|
81
|
-
brainId?:
|
|
81
|
+
brainId?: string | null;
|
|
82
82
|
/**
|
|
83
83
|
*
|
|
84
|
-
* @type {
|
|
84
|
+
* @type {string}
|
|
85
85
|
* @memberof EquosCharacter
|
|
86
86
|
*/
|
|
87
|
-
knowledgeBaseId?:
|
|
87
|
+
knowledgeBaseId?: string | null;
|
|
88
88
|
/**
|
|
89
89
|
*
|
|
90
90
|
* @type {EquosFace}
|
|
@@ -26,7 +26,7 @@ export interface EquosFace {
|
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof EquosFace
|
|
28
28
|
*/
|
|
29
|
-
|
|
29
|
+
identity: EquosFaceIdentityEnum;
|
|
30
30
|
/**
|
|
31
31
|
*
|
|
32
32
|
* @type {string}
|
|
@@ -35,46 +35,28 @@ export interface EquosFace {
|
|
|
35
35
|
organizationId: string;
|
|
36
36
|
/**
|
|
37
37
|
*
|
|
38
|
-
* @type {
|
|
39
|
-
* @memberof EquosFace
|
|
40
|
-
*/
|
|
41
|
-
client?: object | null;
|
|
42
|
-
/**
|
|
43
|
-
*
|
|
44
|
-
* @type {object}
|
|
45
|
-
* @memberof EquosFace
|
|
46
|
-
*/
|
|
47
|
-
description?: object | null;
|
|
48
|
-
/**
|
|
49
|
-
*
|
|
50
|
-
* @type {object}
|
|
51
|
-
* @memberof EquosFace
|
|
52
|
-
*/
|
|
53
|
-
thumbnailUrl?: object | null;
|
|
54
|
-
/**
|
|
55
|
-
*
|
|
56
|
-
* @type {object}
|
|
38
|
+
* @type {string}
|
|
57
39
|
* @memberof EquosFace
|
|
58
40
|
*/
|
|
59
|
-
|
|
41
|
+
client?: string | null;
|
|
60
42
|
/**
|
|
61
43
|
*
|
|
62
|
-
* @type {
|
|
44
|
+
* @type {string}
|
|
63
45
|
* @memberof EquosFace
|
|
64
46
|
*/
|
|
65
|
-
|
|
47
|
+
description?: string | null;
|
|
66
48
|
/**
|
|
67
49
|
*
|
|
68
|
-
* @type {
|
|
50
|
+
* @type {string}
|
|
69
51
|
* @memberof EquosFace
|
|
70
52
|
*/
|
|
71
|
-
|
|
53
|
+
thumbnailUrl?: string | null;
|
|
72
54
|
/**
|
|
73
55
|
*
|
|
74
|
-
* @type {
|
|
56
|
+
* @type {string}
|
|
75
57
|
* @memberof EquosFace
|
|
76
58
|
*/
|
|
77
|
-
|
|
59
|
+
referenceImgUrl?: string | null;
|
|
78
60
|
/**
|
|
79
61
|
*
|
|
80
62
|
* @type {Date}
|
|
@@ -91,12 +73,18 @@ export interface EquosFace {
|
|
|
91
73
|
/**
|
|
92
74
|
* @export
|
|
93
75
|
*/
|
|
94
|
-
export declare const
|
|
95
|
-
readonly
|
|
96
|
-
readonly
|
|
97
|
-
readonly
|
|
76
|
+
export declare const EquosFaceIdentityEnum: {
|
|
77
|
+
readonly Byron: "byron";
|
|
78
|
+
readonly Emily: "emily";
|
|
79
|
+
readonly Marise: "marise";
|
|
80
|
+
readonly Jenny: "jenny";
|
|
81
|
+
readonly Isabelle: "isabelle";
|
|
82
|
+
readonly William: "william";
|
|
83
|
+
readonly Elaryon: "elaryon";
|
|
84
|
+
readonly Stephen: "stephen";
|
|
85
|
+
readonly Ryan: "ryan";
|
|
98
86
|
};
|
|
99
|
-
export type
|
|
87
|
+
export type EquosFaceIdentityEnum = typeof EquosFaceIdentityEnum[keyof typeof EquosFaceIdentityEnum];
|
|
100
88
|
/**
|
|
101
89
|
* Check if a given object implements the EquosFace interface.
|
|
102
90
|
*/
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.
|
|
16
|
+
exports.EquosFaceIdentityEnum = void 0;
|
|
17
17
|
exports.instanceOfEquosFace = instanceOfEquosFace;
|
|
18
18
|
exports.EquosFaceFromJSON = EquosFaceFromJSON;
|
|
19
19
|
exports.EquosFaceFromJSONTyped = EquosFaceFromJSONTyped;
|
|
@@ -22,10 +22,16 @@ exports.EquosFaceToJSONTyped = EquosFaceToJSONTyped;
|
|
|
22
22
|
/**
|
|
23
23
|
* @export
|
|
24
24
|
*/
|
|
25
|
-
exports.
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
25
|
+
exports.EquosFaceIdentityEnum = {
|
|
26
|
+
Byron: 'byron',
|
|
27
|
+
Emily: 'emily',
|
|
28
|
+
Marise: 'marise',
|
|
29
|
+
Jenny: 'jenny',
|
|
30
|
+
Isabelle: 'isabelle',
|
|
31
|
+
William: 'william',
|
|
32
|
+
Elaryon: 'elaryon',
|
|
33
|
+
Stephen: 'stephen',
|
|
34
|
+
Ryan: 'ryan'
|
|
29
35
|
};
|
|
30
36
|
/**
|
|
31
37
|
* Check if a given object implements the EquosFace interface.
|
|
@@ -33,7 +39,7 @@ exports.EquosFaceStatusEnum = {
|
|
|
33
39
|
function instanceOfEquosFace(value) {
|
|
34
40
|
if (!('id' in value) || value['id'] === undefined)
|
|
35
41
|
return false;
|
|
36
|
-
if (!('
|
|
42
|
+
if (!('identity' in value) || value['identity'] === undefined)
|
|
37
43
|
return false;
|
|
38
44
|
if (!('organizationId' in value) || value['organizationId'] === undefined)
|
|
39
45
|
return false;
|
|
@@ -52,15 +58,12 @@ function EquosFaceFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
52
58
|
}
|
|
53
59
|
return {
|
|
54
60
|
'id': json['id'],
|
|
55
|
-
'
|
|
61
|
+
'identity': json['identity'],
|
|
56
62
|
'organizationId': json['organizationId'],
|
|
57
63
|
'client': json['client'] == null ? undefined : json['client'],
|
|
58
64
|
'description': json['description'] == null ? undefined : json['description'],
|
|
59
65
|
'thumbnailUrl': json['thumbnailUrl'] == null ? undefined : json['thumbnailUrl'],
|
|
60
|
-
'thumbnailNoBgUrl': json['thumbnailNoBgUrl'] == null ? undefined : json['thumbnailNoBgUrl'],
|
|
61
66
|
'referenceImgUrl': json['referenceImgUrl'] == null ? undefined : json['referenceImgUrl'],
|
|
62
|
-
'referenceImgNoBgUrl': json['referenceImgNoBgUrl'] == null ? undefined : json['referenceImgNoBgUrl'],
|
|
63
|
-
'videoUrl': json['videoUrl'] == null ? undefined : json['videoUrl'],
|
|
64
67
|
'createdAt': (new Date(json['createdAt'])),
|
|
65
68
|
'updatedAt': (new Date(json['updatedAt'])),
|
|
66
69
|
};
|
|
@@ -74,15 +77,12 @@ function EquosFaceToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
74
77
|
}
|
|
75
78
|
return {
|
|
76
79
|
'id': value['id'],
|
|
77
|
-
'
|
|
80
|
+
'identity': value['identity'],
|
|
78
81
|
'organizationId': value['organizationId'],
|
|
79
82
|
'client': value['client'],
|
|
80
83
|
'description': value['description'],
|
|
81
84
|
'thumbnailUrl': value['thumbnailUrl'],
|
|
82
|
-
'thumbnailNoBgUrl': value['thumbnailNoBgUrl'],
|
|
83
85
|
'referenceImgUrl': value['referenceImgUrl'],
|
|
84
|
-
'referenceImgNoBgUrl': value['referenceImgNoBgUrl'],
|
|
85
|
-
'videoUrl': value['videoUrl'],
|
|
86
86
|
'createdAt': value['createdAt'].toISOString(),
|
|
87
87
|
'updatedAt': value['updatedAt'].toISOString(),
|
|
88
88
|
};
|
|
@@ -27,36 +27,24 @@ export interface EquosVoice {
|
|
|
27
27
|
* @memberof EquosVoice
|
|
28
28
|
*/
|
|
29
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
30
|
/**
|
|
43
31
|
*
|
|
44
32
|
* @type {string}
|
|
45
33
|
* @memberof EquosVoice
|
|
46
34
|
*/
|
|
47
|
-
|
|
35
|
+
client?: string | null;
|
|
48
36
|
/**
|
|
49
37
|
*
|
|
50
38
|
* @type {string}
|
|
51
39
|
* @memberof EquosVoice
|
|
52
40
|
*/
|
|
53
|
-
|
|
41
|
+
identity: string;
|
|
54
42
|
/**
|
|
55
43
|
*
|
|
56
44
|
* @type {string}
|
|
57
45
|
* @memberof EquosVoice
|
|
58
46
|
*/
|
|
59
|
-
|
|
47
|
+
instructions?: string | null;
|
|
60
48
|
/**
|
|
61
49
|
*
|
|
62
50
|
* @type {Date}
|
|
@@ -26,13 +26,7 @@ function instanceOfEquosVoice(value) {
|
|
|
26
26
|
return false;
|
|
27
27
|
if (!('organizationId' in value) || value['organizationId'] === undefined)
|
|
28
28
|
return false;
|
|
29
|
-
if (!('
|
|
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)
|
|
29
|
+
if (!('identity' in value) || value['identity'] === undefined)
|
|
36
30
|
return false;
|
|
37
31
|
if (!('createdAt' in value) || value['createdAt'] === undefined)
|
|
38
32
|
return false;
|
|
@@ -51,10 +45,8 @@ function EquosVoiceFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
51
45
|
'id': json['id'],
|
|
52
46
|
'organizationId': json['organizationId'],
|
|
53
47
|
'client': json['client'] == null ? undefined : json['client'],
|
|
54
|
-
'
|
|
55
|
-
'
|
|
56
|
-
'sampleUrl': json['sampleUrl'],
|
|
57
|
-
'voiceId': json['voiceId'],
|
|
48
|
+
'identity': json['identity'],
|
|
49
|
+
'instructions': json['instructions'] == null ? undefined : json['instructions'],
|
|
58
50
|
'createdAt': (new Date(json['createdAt'])),
|
|
59
51
|
'updatedAt': (new Date(json['updatedAt'])),
|
|
60
52
|
};
|
|
@@ -70,10 +62,8 @@ function EquosVoiceToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
70
62
|
'id': value['id'],
|
|
71
63
|
'organizationId': value['organizationId'],
|
|
72
64
|
'client': value['client'],
|
|
73
|
-
'
|
|
74
|
-
'
|
|
75
|
-
'sampleUrl': value['sampleUrl'],
|
|
76
|
-
'voiceId': value['voiceId'],
|
|
65
|
+
'identity': value['identity'],
|
|
66
|
+
'instructions': value['instructions'],
|
|
77
67
|
'createdAt': value['createdAt'].toISOString(),
|
|
78
68
|
'updatedAt': value['updatedAt'].toISOString(),
|
|
79
69
|
};
|
|
@@ -23,28 +23,28 @@ export interface UpdateEquosCharacterRequest {
|
|
|
23
23
|
name?: string;
|
|
24
24
|
/**
|
|
25
25
|
*
|
|
26
|
-
* @type {
|
|
26
|
+
* @type {string}
|
|
27
27
|
* @memberof UpdateEquosCharacterRequest
|
|
28
28
|
*/
|
|
29
|
-
faceId?:
|
|
29
|
+
faceId?: string | null;
|
|
30
30
|
/**
|
|
31
31
|
*
|
|
32
|
-
* @type {
|
|
32
|
+
* @type {string}
|
|
33
33
|
* @memberof UpdateEquosCharacterRequest
|
|
34
34
|
*/
|
|
35
|
-
voiceId?:
|
|
35
|
+
voiceId?: string | null;
|
|
36
36
|
/**
|
|
37
37
|
*
|
|
38
|
-
* @type {
|
|
38
|
+
* @type {string}
|
|
39
39
|
* @memberof UpdateEquosCharacterRequest
|
|
40
40
|
*/
|
|
41
|
-
brainId?:
|
|
41
|
+
brainId?: string | null;
|
|
42
42
|
/**
|
|
43
43
|
*
|
|
44
|
-
* @type {
|
|
44
|
+
* @type {string}
|
|
45
45
|
* @memberof UpdateEquosCharacterRequest
|
|
46
46
|
*/
|
|
47
|
-
knowledgeBaseId?:
|
|
47
|
+
knowledgeBaseId?: string | null;
|
|
48
48
|
/**
|
|
49
49
|
*
|
|
50
50
|
* @type {boolean}
|
|
@@ -53,10 +53,10 @@ export interface UpdateEquosCharacterRequest {
|
|
|
53
53
|
search?: boolean;
|
|
54
54
|
/**
|
|
55
55
|
*
|
|
56
|
-
* @type {
|
|
56
|
+
* @type {string}
|
|
57
57
|
* @memberof UpdateEquosCharacterRequest
|
|
58
58
|
*/
|
|
59
|
-
elevenlabsAgentId?:
|
|
59
|
+
elevenlabsAgentId?: string | null;
|
|
60
60
|
}
|
|
61
61
|
/**
|
|
62
62
|
* Check if a given object implements the UpdateEquosCharacterRequest interface.
|