@equos/node-sdk 3.0.2-rc.2 → 3.0.2-rc.3
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 +2 -2
- 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 +2 -2
- package/dist/api/models/EquosBrain.d.ts +2 -2
- package/dist/api/models/EquosCharacter.d.ts +12 -12
- package/dist/api/models/EquosFace.d.ts +10 -22
- package/dist/api/models/EquosFace.js +0 -4
- package/dist/api/models/EquosLimitResponse.d.ts +2 -2
- package/dist/api/models/EquosVoice.d.ts +2 -2
- 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,10 +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 {
|
|
20
|
+
* @type {string}
|
|
21
21
|
* @memberof CreateEquosBrainRequest
|
|
22
22
|
*/
|
|
23
|
-
client?:
|
|
23
|
+
client?: string | null;
|
|
24
24
|
/**
|
|
25
25
|
*
|
|
26
26
|
* @type {string}
|
|
@@ -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,10 +17,10 @@
|
|
|
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 {
|
|
20
|
+
* @type {string}
|
|
21
21
|
* @memberof CreateEquosVoiceRequest
|
|
22
22
|
*/
|
|
23
|
-
client?:
|
|
23
|
+
client?: string | null;
|
|
24
24
|
/**
|
|
25
25
|
*
|
|
26
26
|
* @type {string}
|
|
@@ -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}
|
|
@@ -35,46 +35,34 @@ 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}
|
|
38
|
+
* @type {string}
|
|
51
39
|
* @memberof EquosFace
|
|
52
40
|
*/
|
|
53
|
-
|
|
41
|
+
client?: string | null;
|
|
54
42
|
/**
|
|
55
43
|
*
|
|
56
|
-
* @type {
|
|
44
|
+
* @type {string}
|
|
57
45
|
* @memberof EquosFace
|
|
58
46
|
*/
|
|
59
|
-
|
|
47
|
+
description?: string | null;
|
|
60
48
|
/**
|
|
61
49
|
*
|
|
62
|
-
* @type {
|
|
50
|
+
* @type {string}
|
|
63
51
|
* @memberof EquosFace
|
|
64
52
|
*/
|
|
65
|
-
|
|
53
|
+
thumbnailUrl?: string | null;
|
|
66
54
|
/**
|
|
67
55
|
*
|
|
68
|
-
* @type {
|
|
56
|
+
* @type {string}
|
|
69
57
|
* @memberof EquosFace
|
|
70
58
|
*/
|
|
71
|
-
|
|
59
|
+
referenceImgUrl?: string | null;
|
|
72
60
|
/**
|
|
73
61
|
*
|
|
74
|
-
* @type {
|
|
62
|
+
* @type {string}
|
|
75
63
|
* @memberof EquosFace
|
|
76
64
|
*/
|
|
77
|
-
videoUrl?:
|
|
65
|
+
videoUrl?: string | null;
|
|
78
66
|
/**
|
|
79
67
|
*
|
|
80
68
|
* @type {Date}
|
|
@@ -57,9 +57,7 @@ function EquosFaceFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
57
57
|
'client': json['client'] == null ? undefined : json['client'],
|
|
58
58
|
'description': json['description'] == null ? undefined : json['description'],
|
|
59
59
|
'thumbnailUrl': json['thumbnailUrl'] == null ? undefined : json['thumbnailUrl'],
|
|
60
|
-
'thumbnailNoBgUrl': json['thumbnailNoBgUrl'] == null ? undefined : json['thumbnailNoBgUrl'],
|
|
61
60
|
'referenceImgUrl': json['referenceImgUrl'] == null ? undefined : json['referenceImgUrl'],
|
|
62
|
-
'referenceImgNoBgUrl': json['referenceImgNoBgUrl'] == null ? undefined : json['referenceImgNoBgUrl'],
|
|
63
61
|
'videoUrl': json['videoUrl'] == null ? undefined : json['videoUrl'],
|
|
64
62
|
'createdAt': (new Date(json['createdAt'])),
|
|
65
63
|
'updatedAt': (new Date(json['updatedAt'])),
|
|
@@ -79,9 +77,7 @@ function EquosFaceToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
79
77
|
'client': value['client'],
|
|
80
78
|
'description': value['description'],
|
|
81
79
|
'thumbnailUrl': value['thumbnailUrl'],
|
|
82
|
-
'thumbnailNoBgUrl': value['thumbnailNoBgUrl'],
|
|
83
80
|
'referenceImgUrl': value['referenceImgUrl'],
|
|
84
|
-
'referenceImgNoBgUrl': value['referenceImgNoBgUrl'],
|
|
85
81
|
'videoUrl': value['videoUrl'],
|
|
86
82
|
'createdAt': value['createdAt'].toISOString(),
|
|
87
83
|
'updatedAt': value['updatedAt'].toISOString(),
|
|
@@ -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.
|