@equos/node-sdk 3.0.2-rc.3 → 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/CreateEquosBrainRequest.d.ts +0 -6
- package/dist/api/models/CreateEquosBrainRequest.js +0 -4
- package/dist/api/models/CreateEquosVoiceRequest.d.ts +39 -15
- package/dist/api/models/CreateEquosVoiceRequest.js +41 -15
- package/dist/api/models/EquosBrain.d.ts +0 -6
- package/dist/api/models/EquosBrain.js +0 -4
- package/dist/api/models/EquosFace.d.ts +12 -12
- package/dist/api/models/EquosFace.js +14 -10
- package/dist/api/models/EquosVoice.d.ts +2 -14
- package/dist/api/models/EquosVoice.js +5 -15
- package/package.json +1 -1
|
@@ -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'],
|
|
@@ -26,26 +26,50 @@ export interface CreateEquosVoiceRequest {
|
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof CreateEquosVoiceRequest
|
|
28
28
|
*/
|
|
29
|
-
|
|
29
|
+
identity: CreateEquosVoiceRequestIdentityEnum;
|
|
30
30
|
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof CreateEquosVoiceRequest
|
|
34
|
-
*/
|
|
35
|
-
description: string;
|
|
36
|
-
/**
|
|
37
|
-
*
|
|
38
|
-
* @type {string}
|
|
39
|
-
* @memberof CreateEquosVoiceRequest
|
|
40
|
-
*/
|
|
41
|
-
sampleUrl: string;
|
|
42
|
-
/**
|
|
43
|
-
*
|
|
31
|
+
* Instructions for the voice such as tone, rythm, etc.
|
|
44
32
|
* @type {string}
|
|
45
33
|
* @memberof CreateEquosVoiceRequest
|
|
46
34
|
*/
|
|
47
|
-
|
|
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
|
}
|
|
@@ -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(),
|
|
@@ -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}
|
|
@@ -57,12 +57,6 @@ export interface EquosFace {
|
|
|
57
57
|
* @memberof EquosFace
|
|
58
58
|
*/
|
|
59
59
|
referenceImgUrl?: string | null;
|
|
60
|
-
/**
|
|
61
|
-
*
|
|
62
|
-
* @type {string}
|
|
63
|
-
* @memberof EquosFace
|
|
64
|
-
*/
|
|
65
|
-
videoUrl?: string | null;
|
|
66
60
|
/**
|
|
67
61
|
*
|
|
68
62
|
* @type {Date}
|
|
@@ -79,12 +73,18 @@ export interface EquosFace {
|
|
|
79
73
|
/**
|
|
80
74
|
* @export
|
|
81
75
|
*/
|
|
82
|
-
export declare const
|
|
83
|
-
readonly
|
|
84
|
-
readonly
|
|
85
|
-
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";
|
|
86
86
|
};
|
|
87
|
-
export type
|
|
87
|
+
export type EquosFaceIdentityEnum = typeof EquosFaceIdentityEnum[keyof typeof EquosFaceIdentityEnum];
|
|
88
88
|
/**
|
|
89
89
|
* Check if a given object implements the EquosFace interface.
|
|
90
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,13 +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
66
|
'referenceImgUrl': json['referenceImgUrl'] == null ? undefined : json['referenceImgUrl'],
|
|
61
|
-
'videoUrl': json['videoUrl'] == null ? undefined : json['videoUrl'],
|
|
62
67
|
'createdAt': (new Date(json['createdAt'])),
|
|
63
68
|
'updatedAt': (new Date(json['updatedAt'])),
|
|
64
69
|
};
|
|
@@ -72,13 +77,12 @@ function EquosFaceToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
72
77
|
}
|
|
73
78
|
return {
|
|
74
79
|
'id': value['id'],
|
|
75
|
-
'
|
|
80
|
+
'identity': value['identity'],
|
|
76
81
|
'organizationId': value['organizationId'],
|
|
77
82
|
'client': value['client'],
|
|
78
83
|
'description': value['description'],
|
|
79
84
|
'thumbnailUrl': value['thumbnailUrl'],
|
|
80
85
|
'referenceImgUrl': value['referenceImgUrl'],
|
|
81
|
-
'videoUrl': value['videoUrl'],
|
|
82
86
|
'createdAt': value['createdAt'].toISOString(),
|
|
83
87
|
'updatedAt': value['updatedAt'].toISOString(),
|
|
84
88
|
};
|
|
@@ -38,25 +38,13 @@ export interface EquosVoice {
|
|
|
38
38
|
* @type {string}
|
|
39
39
|
* @memberof EquosVoice
|
|
40
40
|
*/
|
|
41
|
-
|
|
41
|
+
identity: string;
|
|
42
42
|
/**
|
|
43
43
|
*
|
|
44
44
|
* @type {string}
|
|
45
45
|
* @memberof EquosVoice
|
|
46
46
|
*/
|
|
47
|
-
|
|
48
|
-
/**
|
|
49
|
-
*
|
|
50
|
-
* @type {string}
|
|
51
|
-
* @memberof EquosVoice
|
|
52
|
-
*/
|
|
53
|
-
sampleUrl: string;
|
|
54
|
-
/**
|
|
55
|
-
*
|
|
56
|
-
* @type {string}
|
|
57
|
-
* @memberof EquosVoice
|
|
58
|
-
*/
|
|
59
|
-
voiceId: string;
|
|
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
|
};
|