@equos/node-sdk 3.0.2-rc.4 → 3.0.2-rc.8
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/apis/ConversationApi.d.ts +64 -0
- package/dist/api/apis/ConversationApi.js +179 -0
- package/dist/api/apis/index.d.ts +1 -1
- package/dist/api/apis/index.js +1 -1
- package/dist/api/models/CreateEquosConversationRequest.d.ts +84 -0
- package/dist/api/models/CreateEquosConversationRequest.js +70 -0
- package/dist/api/models/CreateEquosConversationResponse.d.ts +45 -0
- package/dist/api/models/CreateEquosConversationResponse.js +55 -0
- package/dist/api/models/EquosConversation.d.ts +177 -0
- package/dist/api/models/EquosConversation.js +129 -0
- package/dist/api/models/EquosConversationHost.d.ts +38 -0
- package/dist/api/models/EquosConversationHost.js +54 -0
- package/dist/api/models/EquosConversationTranscriptMessage.d.ts +58 -0
- package/dist/api/models/EquosConversationTranscriptMessage.js +70 -0
- package/dist/api/models/EquosVoice.d.ts +37 -1
- package/dist/api/models/EquosVoice.js +36 -0
- package/dist/api/models/ListEquosConversationsResponse.d.ts +51 -0
- package/dist/api/models/ListEquosConversationsResponse.js +63 -0
- package/dist/api/models/index.d.ts +6 -1
- package/dist/api/models/index.js +6 -1
- package/dist/client.d.ts +1 -2
- package/dist/client.js +0 -2
- package/package.json +1 -1
- package/dist/api/apis/LimitsApi.d.ts +0 -26
- package/dist/api/apis/LimitsApi.js +0 -82
- package/dist/api/models/EquosLimitResponse.d.ts +0 -68
- package/dist/api/models/EquosLimitResponse.js +0 -72
- package/dist/index.d.ts +0 -3
- package/dist/index.js +0 -23
- package/dist/options.d.ts +0 -7
- package/dist/options.js +0 -2
|
@@ -0,0 +1,177 @@
|
|
|
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 { EquosConversationTranscriptMessage } from './EquosConversationTranscriptMessage';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface EquosConversation
|
|
17
|
+
*/
|
|
18
|
+
export interface EquosConversation {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof EquosConversation
|
|
23
|
+
*/
|
|
24
|
+
id: string;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof EquosConversation
|
|
29
|
+
*/
|
|
30
|
+
name: string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof EquosConversation
|
|
35
|
+
*/
|
|
36
|
+
client?: string | null;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof EquosConversation
|
|
41
|
+
*/
|
|
42
|
+
status: EquosConversationStatusEnum;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof EquosConversation
|
|
47
|
+
*/
|
|
48
|
+
room: string;
|
|
49
|
+
/**
|
|
50
|
+
*
|
|
51
|
+
* @type {string}
|
|
52
|
+
* @memberof EquosConversation
|
|
53
|
+
*/
|
|
54
|
+
serverUrl: string;
|
|
55
|
+
/**
|
|
56
|
+
*
|
|
57
|
+
* @type {string}
|
|
58
|
+
* @memberof EquosConversation
|
|
59
|
+
*/
|
|
60
|
+
remoteAgentName?: string | null;
|
|
61
|
+
/**
|
|
62
|
+
*
|
|
63
|
+
* @type {string}
|
|
64
|
+
* @memberof EquosConversation
|
|
65
|
+
*/
|
|
66
|
+
remoteAgentIdentity?: string | null;
|
|
67
|
+
/**
|
|
68
|
+
*
|
|
69
|
+
* @type {string}
|
|
70
|
+
* @memberof EquosConversation
|
|
71
|
+
*/
|
|
72
|
+
consumerName?: string | null;
|
|
73
|
+
/**
|
|
74
|
+
*
|
|
75
|
+
* @type {string}
|
|
76
|
+
* @memberof EquosConversation
|
|
77
|
+
*/
|
|
78
|
+
consumerIdentity?: string | null;
|
|
79
|
+
/**
|
|
80
|
+
*
|
|
81
|
+
* @type {boolean}
|
|
82
|
+
* @memberof EquosConversation
|
|
83
|
+
*/
|
|
84
|
+
charge: boolean;
|
|
85
|
+
/**
|
|
86
|
+
*
|
|
87
|
+
* @type {number}
|
|
88
|
+
* @memberof EquosConversation
|
|
89
|
+
*/
|
|
90
|
+
chargeBySecond: number;
|
|
91
|
+
/**
|
|
92
|
+
*
|
|
93
|
+
* @type {number}
|
|
94
|
+
* @memberof EquosConversation
|
|
95
|
+
*/
|
|
96
|
+
maxSeconds: number;
|
|
97
|
+
/**
|
|
98
|
+
*
|
|
99
|
+
* @type {string}
|
|
100
|
+
* @memberof EquosConversation
|
|
101
|
+
*/
|
|
102
|
+
promptCtx?: string | null;
|
|
103
|
+
/**
|
|
104
|
+
*
|
|
105
|
+
* @type {{ [key: string]: string; }}
|
|
106
|
+
* @memberof EquosConversation
|
|
107
|
+
*/
|
|
108
|
+
promptTemplateVars?: {
|
|
109
|
+
[key: string]: string;
|
|
110
|
+
} | null;
|
|
111
|
+
/**
|
|
112
|
+
*
|
|
113
|
+
* @type {Array<EquosConversationTranscriptMessage>}
|
|
114
|
+
* @memberof EquosConversation
|
|
115
|
+
*/
|
|
116
|
+
transcript?: Array<EquosConversationTranscriptMessage> | null;
|
|
117
|
+
/**
|
|
118
|
+
*
|
|
119
|
+
* @type {Date}
|
|
120
|
+
* @memberof EquosConversation
|
|
121
|
+
*/
|
|
122
|
+
startedAt: Date;
|
|
123
|
+
/**
|
|
124
|
+
*
|
|
125
|
+
* @type {Date}
|
|
126
|
+
* @memberof EquosConversation
|
|
127
|
+
*/
|
|
128
|
+
joinedAt?: Date | null;
|
|
129
|
+
/**
|
|
130
|
+
*
|
|
131
|
+
* @type {Date}
|
|
132
|
+
* @memberof EquosConversation
|
|
133
|
+
*/
|
|
134
|
+
endedAt?: Date | null;
|
|
135
|
+
/**
|
|
136
|
+
*
|
|
137
|
+
* @type {Date}
|
|
138
|
+
* @memberof EquosConversation
|
|
139
|
+
*/
|
|
140
|
+
createdAt: Date;
|
|
141
|
+
/**
|
|
142
|
+
*
|
|
143
|
+
* @type {Date}
|
|
144
|
+
* @memberof EquosConversation
|
|
145
|
+
*/
|
|
146
|
+
updatedAt: Date;
|
|
147
|
+
/**
|
|
148
|
+
*
|
|
149
|
+
* @type {string}
|
|
150
|
+
* @memberof EquosConversation
|
|
151
|
+
*/
|
|
152
|
+
characterId: string;
|
|
153
|
+
/**
|
|
154
|
+
*
|
|
155
|
+
* @type {string}
|
|
156
|
+
* @memberof EquosConversation
|
|
157
|
+
*/
|
|
158
|
+
organizationId: string;
|
|
159
|
+
}
|
|
160
|
+
/**
|
|
161
|
+
* @export
|
|
162
|
+
*/
|
|
163
|
+
export declare const EquosConversationStatusEnum: {
|
|
164
|
+
readonly Running: "running";
|
|
165
|
+
readonly Blocked: "blocked";
|
|
166
|
+
readonly Ended: "ended";
|
|
167
|
+
readonly Error: "error";
|
|
168
|
+
};
|
|
169
|
+
export type EquosConversationStatusEnum = typeof EquosConversationStatusEnum[keyof typeof EquosConversationStatusEnum];
|
|
170
|
+
/**
|
|
171
|
+
* Check if a given object implements the EquosConversation interface.
|
|
172
|
+
*/
|
|
173
|
+
export declare function instanceOfEquosConversation(value: object): value is EquosConversation;
|
|
174
|
+
export declare function EquosConversationFromJSON(json: any): EquosConversation;
|
|
175
|
+
export declare function EquosConversationFromJSONTyped(json: any, ignoreDiscriminator: boolean): EquosConversation;
|
|
176
|
+
export declare function EquosConversationToJSON(json: any): EquosConversation;
|
|
177
|
+
export declare function EquosConversationToJSONTyped(value?: EquosConversation | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,129 @@
|
|
|
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.EquosConversationStatusEnum = void 0;
|
|
17
|
+
exports.instanceOfEquosConversation = instanceOfEquosConversation;
|
|
18
|
+
exports.EquosConversationFromJSON = EquosConversationFromJSON;
|
|
19
|
+
exports.EquosConversationFromJSONTyped = EquosConversationFromJSONTyped;
|
|
20
|
+
exports.EquosConversationToJSON = EquosConversationToJSON;
|
|
21
|
+
exports.EquosConversationToJSONTyped = EquosConversationToJSONTyped;
|
|
22
|
+
const EquosConversationTranscriptMessage_1 = require("./EquosConversationTranscriptMessage");
|
|
23
|
+
/**
|
|
24
|
+
* @export
|
|
25
|
+
*/
|
|
26
|
+
exports.EquosConversationStatusEnum = {
|
|
27
|
+
Running: 'running',
|
|
28
|
+
Blocked: 'blocked',
|
|
29
|
+
Ended: 'ended',
|
|
30
|
+
Error: 'error'
|
|
31
|
+
};
|
|
32
|
+
/**
|
|
33
|
+
* Check if a given object implements the EquosConversation interface.
|
|
34
|
+
*/
|
|
35
|
+
function instanceOfEquosConversation(value) {
|
|
36
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
37
|
+
return false;
|
|
38
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
39
|
+
return false;
|
|
40
|
+
if (!('status' in value) || value['status'] === undefined)
|
|
41
|
+
return false;
|
|
42
|
+
if (!('room' in value) || value['room'] === undefined)
|
|
43
|
+
return false;
|
|
44
|
+
if (!('serverUrl' in value) || value['serverUrl'] === undefined)
|
|
45
|
+
return false;
|
|
46
|
+
if (!('charge' in value) || value['charge'] === undefined)
|
|
47
|
+
return false;
|
|
48
|
+
if (!('chargeBySecond' in value) || value['chargeBySecond'] === undefined)
|
|
49
|
+
return false;
|
|
50
|
+
if (!('maxSeconds' in value) || value['maxSeconds'] === undefined)
|
|
51
|
+
return false;
|
|
52
|
+
if (!('startedAt' in value) || value['startedAt'] === undefined)
|
|
53
|
+
return false;
|
|
54
|
+
if (!('createdAt' in value) || value['createdAt'] === undefined)
|
|
55
|
+
return false;
|
|
56
|
+
if (!('updatedAt' in value) || value['updatedAt'] === undefined)
|
|
57
|
+
return false;
|
|
58
|
+
if (!('characterId' in value) || value['characterId'] === undefined)
|
|
59
|
+
return false;
|
|
60
|
+
if (!('organizationId' in value) || value['organizationId'] === undefined)
|
|
61
|
+
return false;
|
|
62
|
+
return true;
|
|
63
|
+
}
|
|
64
|
+
function EquosConversationFromJSON(json) {
|
|
65
|
+
return EquosConversationFromJSONTyped(json, false);
|
|
66
|
+
}
|
|
67
|
+
function EquosConversationFromJSONTyped(json, ignoreDiscriminator) {
|
|
68
|
+
if (json == null) {
|
|
69
|
+
return json;
|
|
70
|
+
}
|
|
71
|
+
return {
|
|
72
|
+
'id': json['id'],
|
|
73
|
+
'name': json['name'],
|
|
74
|
+
'client': json['client'] == null ? undefined : json['client'],
|
|
75
|
+
'status': json['status'],
|
|
76
|
+
'room': json['room'],
|
|
77
|
+
'serverUrl': json['serverUrl'],
|
|
78
|
+
'remoteAgentName': json['remoteAgentName'] == null ? undefined : json['remoteAgentName'],
|
|
79
|
+
'remoteAgentIdentity': json['remoteAgentIdentity'] == null ? undefined : json['remoteAgentIdentity'],
|
|
80
|
+
'consumerName': json['consumerName'] == null ? undefined : json['consumerName'],
|
|
81
|
+
'consumerIdentity': json['consumerIdentity'] == null ? undefined : json['consumerIdentity'],
|
|
82
|
+
'charge': json['charge'],
|
|
83
|
+
'chargeBySecond': json['chargeBySecond'],
|
|
84
|
+
'maxSeconds': json['maxSeconds'],
|
|
85
|
+
'promptCtx': json['promptCtx'] == null ? undefined : json['promptCtx'],
|
|
86
|
+
'promptTemplateVars': json['promptTemplateVars'] == null ? undefined : json['promptTemplateVars'],
|
|
87
|
+
'transcript': json['transcript'] == null ? undefined : (json['transcript'].map(EquosConversationTranscriptMessage_1.EquosConversationTranscriptMessageFromJSON)),
|
|
88
|
+
'startedAt': (new Date(json['startedAt'])),
|
|
89
|
+
'joinedAt': json['joinedAt'] == null ? undefined : (new Date(json['joinedAt'])),
|
|
90
|
+
'endedAt': json['endedAt'] == null ? undefined : (new Date(json['endedAt'])),
|
|
91
|
+
'createdAt': (new Date(json['createdAt'])),
|
|
92
|
+
'updatedAt': (new Date(json['updatedAt'])),
|
|
93
|
+
'characterId': json['characterId'],
|
|
94
|
+
'organizationId': json['organizationId'],
|
|
95
|
+
};
|
|
96
|
+
}
|
|
97
|
+
function EquosConversationToJSON(json) {
|
|
98
|
+
return EquosConversationToJSONTyped(json, false);
|
|
99
|
+
}
|
|
100
|
+
function EquosConversationToJSONTyped(value, ignoreDiscriminator = false) {
|
|
101
|
+
if (value == null) {
|
|
102
|
+
return value;
|
|
103
|
+
}
|
|
104
|
+
return {
|
|
105
|
+
'id': value['id'],
|
|
106
|
+
'name': value['name'],
|
|
107
|
+
'client': value['client'],
|
|
108
|
+
'status': value['status'],
|
|
109
|
+
'room': value['room'],
|
|
110
|
+
'serverUrl': value['serverUrl'],
|
|
111
|
+
'remoteAgentName': value['remoteAgentName'],
|
|
112
|
+
'remoteAgentIdentity': value['remoteAgentIdentity'],
|
|
113
|
+
'consumerName': value['consumerName'],
|
|
114
|
+
'consumerIdentity': value['consumerIdentity'],
|
|
115
|
+
'charge': value['charge'],
|
|
116
|
+
'chargeBySecond': value['chargeBySecond'],
|
|
117
|
+
'maxSeconds': value['maxSeconds'],
|
|
118
|
+
'promptCtx': value['promptCtx'],
|
|
119
|
+
'promptTemplateVars': value['promptTemplateVars'],
|
|
120
|
+
'transcript': value['transcript'] == null ? undefined : (value['transcript'].map(EquosConversationTranscriptMessage_1.EquosConversationTranscriptMessageToJSON)),
|
|
121
|
+
'startedAt': value['startedAt'].toISOString(),
|
|
122
|
+
'joinedAt': value['joinedAt'] == null ? value['joinedAt'] : value['joinedAt'].toISOString(),
|
|
123
|
+
'endedAt': value['endedAt'] == null ? value['endedAt'] : value['endedAt'].toISOString(),
|
|
124
|
+
'createdAt': value['createdAt'].toISOString(),
|
|
125
|
+
'updatedAt': value['updatedAt'].toISOString(),
|
|
126
|
+
'characterId': value['characterId'],
|
|
127
|
+
'organizationId': value['organizationId'],
|
|
128
|
+
};
|
|
129
|
+
}
|
|
@@ -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 EquosConversationHost
|
|
16
|
+
*/
|
|
17
|
+
export interface EquosConversationHost {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof EquosConversationHost
|
|
22
|
+
*/
|
|
23
|
+
serverUrl: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof EquosConversationHost
|
|
28
|
+
*/
|
|
29
|
+
accessToken: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the EquosConversationHost interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfEquosConversationHost(value: object): value is EquosConversationHost;
|
|
35
|
+
export declare function EquosConversationHostFromJSON(json: any): EquosConversationHost;
|
|
36
|
+
export declare function EquosConversationHostFromJSONTyped(json: any, ignoreDiscriminator: boolean): EquosConversationHost;
|
|
37
|
+
export declare function EquosConversationHostToJSON(json: any): EquosConversationHost;
|
|
38
|
+
export declare function EquosConversationHostToJSONTyped(value?: EquosConversationHost | 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.instanceOfEquosConversationHost = instanceOfEquosConversationHost;
|
|
17
|
+
exports.EquosConversationHostFromJSON = EquosConversationHostFromJSON;
|
|
18
|
+
exports.EquosConversationHostFromJSONTyped = EquosConversationHostFromJSONTyped;
|
|
19
|
+
exports.EquosConversationHostToJSON = EquosConversationHostToJSON;
|
|
20
|
+
exports.EquosConversationHostToJSONTyped = EquosConversationHostToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the EquosConversationHost interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfEquosConversationHost(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 EquosConversationHostFromJSON(json) {
|
|
32
|
+
return EquosConversationHostFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
function EquosConversationHostFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if (json == null) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'serverUrl': json['serverUrl'],
|
|
40
|
+
'accessToken': json['accessToken'],
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
function EquosConversationHostToJSON(json) {
|
|
44
|
+
return EquosConversationHostToJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
function EquosConversationHostToJSONTyped(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,58 @@
|
|
|
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 EquosConversationTranscriptMessage
|
|
16
|
+
*/
|
|
17
|
+
export interface EquosConversationTranscriptMessage {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof EquosConversationTranscriptMessage
|
|
22
|
+
*/
|
|
23
|
+
id: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof EquosConversationTranscriptMessage
|
|
28
|
+
*/
|
|
29
|
+
author: EquosConversationTranscriptMessageAuthorEnum;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof EquosConversationTranscriptMessage
|
|
34
|
+
*/
|
|
35
|
+
content: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {Date}
|
|
39
|
+
* @memberof EquosConversationTranscriptMessage
|
|
40
|
+
*/
|
|
41
|
+
recordedAt: Date;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* @export
|
|
45
|
+
*/
|
|
46
|
+
export declare const EquosConversationTranscriptMessageAuthorEnum: {
|
|
47
|
+
readonly User: "user";
|
|
48
|
+
readonly Character: "character";
|
|
49
|
+
};
|
|
50
|
+
export type EquosConversationTranscriptMessageAuthorEnum = typeof EquosConversationTranscriptMessageAuthorEnum[keyof typeof EquosConversationTranscriptMessageAuthorEnum];
|
|
51
|
+
/**
|
|
52
|
+
* Check if a given object implements the EquosConversationTranscriptMessage interface.
|
|
53
|
+
*/
|
|
54
|
+
export declare function instanceOfEquosConversationTranscriptMessage(value: object): value is EquosConversationTranscriptMessage;
|
|
55
|
+
export declare function EquosConversationTranscriptMessageFromJSON(json: any): EquosConversationTranscriptMessage;
|
|
56
|
+
export declare function EquosConversationTranscriptMessageFromJSONTyped(json: any, ignoreDiscriminator: boolean): EquosConversationTranscriptMessage;
|
|
57
|
+
export declare function EquosConversationTranscriptMessageToJSON(json: any): EquosConversationTranscriptMessage;
|
|
58
|
+
export declare function EquosConversationTranscriptMessageToJSONTyped(value?: EquosConversationTranscriptMessage | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,70 @@
|
|
|
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.EquosConversationTranscriptMessageAuthorEnum = void 0;
|
|
17
|
+
exports.instanceOfEquosConversationTranscriptMessage = instanceOfEquosConversationTranscriptMessage;
|
|
18
|
+
exports.EquosConversationTranscriptMessageFromJSON = EquosConversationTranscriptMessageFromJSON;
|
|
19
|
+
exports.EquosConversationTranscriptMessageFromJSONTyped = EquosConversationTranscriptMessageFromJSONTyped;
|
|
20
|
+
exports.EquosConversationTranscriptMessageToJSON = EquosConversationTranscriptMessageToJSON;
|
|
21
|
+
exports.EquosConversationTranscriptMessageToJSONTyped = EquosConversationTranscriptMessageToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
exports.EquosConversationTranscriptMessageAuthorEnum = {
|
|
26
|
+
User: 'user',
|
|
27
|
+
Character: 'character'
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Check if a given object implements the EquosConversationTranscriptMessage interface.
|
|
31
|
+
*/
|
|
32
|
+
function instanceOfEquosConversationTranscriptMessage(value) {
|
|
33
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
if (!('author' in value) || value['author'] === undefined)
|
|
36
|
+
return false;
|
|
37
|
+
if (!('content' in value) || value['content'] === undefined)
|
|
38
|
+
return false;
|
|
39
|
+
if (!('recordedAt' in value) || value['recordedAt'] === undefined)
|
|
40
|
+
return false;
|
|
41
|
+
return true;
|
|
42
|
+
}
|
|
43
|
+
function EquosConversationTranscriptMessageFromJSON(json) {
|
|
44
|
+
return EquosConversationTranscriptMessageFromJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
function EquosConversationTranscriptMessageFromJSONTyped(json, ignoreDiscriminator) {
|
|
47
|
+
if (json == null) {
|
|
48
|
+
return json;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
'id': json['id'],
|
|
52
|
+
'author': json['author'],
|
|
53
|
+
'content': json['content'],
|
|
54
|
+
'recordedAt': (new Date(json['recordedAt'])),
|
|
55
|
+
};
|
|
56
|
+
}
|
|
57
|
+
function EquosConversationTranscriptMessageToJSON(json) {
|
|
58
|
+
return EquosConversationTranscriptMessageToJSONTyped(json, false);
|
|
59
|
+
}
|
|
60
|
+
function EquosConversationTranscriptMessageToJSONTyped(value, ignoreDiscriminator = false) {
|
|
61
|
+
if (value == null) {
|
|
62
|
+
return value;
|
|
63
|
+
}
|
|
64
|
+
return {
|
|
65
|
+
'id': value['id'],
|
|
66
|
+
'author': value['author'],
|
|
67
|
+
'content': value['content'],
|
|
68
|
+
'recordedAt': value['recordedAt'].toISOString(),
|
|
69
|
+
};
|
|
70
|
+
}
|
|
@@ -38,7 +38,7 @@ export interface EquosVoice {
|
|
|
38
38
|
* @type {string}
|
|
39
39
|
* @memberof EquosVoice
|
|
40
40
|
*/
|
|
41
|
-
identity:
|
|
41
|
+
identity: EquosVoiceIdentityEnum;
|
|
42
42
|
/**
|
|
43
43
|
*
|
|
44
44
|
* @type {string}
|
|
@@ -58,6 +58,42 @@ export interface EquosVoice {
|
|
|
58
58
|
*/
|
|
59
59
|
updatedAt: Date;
|
|
60
60
|
}
|
|
61
|
+
/**
|
|
62
|
+
* @export
|
|
63
|
+
*/
|
|
64
|
+
export declare const EquosVoiceIdentityEnum: {
|
|
65
|
+
readonly Puck: "Puck";
|
|
66
|
+
readonly Charon: "Charon";
|
|
67
|
+
readonly Kore: "Kore";
|
|
68
|
+
readonly Fenrir: "Fenrir";
|
|
69
|
+
readonly Aoede: "Aoede";
|
|
70
|
+
readonly Leda: "Leda";
|
|
71
|
+
readonly Orus: "Orus";
|
|
72
|
+
readonly Zephyr: "Zephyr";
|
|
73
|
+
readonly Sulafat: "Sulafat";
|
|
74
|
+
readonly Sadachbia: "Sadachbia";
|
|
75
|
+
readonly Sadaltager: "Sadaltager";
|
|
76
|
+
readonly Vindemiatrix: "Vindemiatrix";
|
|
77
|
+
readonly Zubenelgenubi: "Zubenelgenubi";
|
|
78
|
+
readonly Achird: "Achird";
|
|
79
|
+
readonly Pulcherrima: "Pulcherrima";
|
|
80
|
+
readonly Gacrux: "Gacrux";
|
|
81
|
+
readonly Schedar: "Schedar";
|
|
82
|
+
readonly Alnilam: "Alnilam";
|
|
83
|
+
readonly Achernar: "Achernar";
|
|
84
|
+
readonly Laomedeia: "Laomedeia";
|
|
85
|
+
readonly Rasalgethi: "Rasalgethi";
|
|
86
|
+
readonly Algenib: "Algenib";
|
|
87
|
+
readonly Erinome: "Erinome";
|
|
88
|
+
readonly Despina: "Despina";
|
|
89
|
+
readonly Algieba: "Algieba";
|
|
90
|
+
readonly Umbriel: "Umbriel";
|
|
91
|
+
readonly Iapetus: "Iapetus";
|
|
92
|
+
readonly Enceladus: "Enceladus";
|
|
93
|
+
readonly Autonoe: "Autonoe";
|
|
94
|
+
readonly Callirrhoe: "Callirrhoe";
|
|
95
|
+
};
|
|
96
|
+
export type EquosVoiceIdentityEnum = typeof EquosVoiceIdentityEnum[keyof typeof EquosVoiceIdentityEnum];
|
|
61
97
|
/**
|
|
62
98
|
* Check if a given object implements the EquosVoice interface.
|
|
63
99
|
*/
|
|
@@ -13,11 +13,47 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.EquosVoiceIdentityEnum = void 0;
|
|
16
17
|
exports.instanceOfEquosVoice = instanceOfEquosVoice;
|
|
17
18
|
exports.EquosVoiceFromJSON = EquosVoiceFromJSON;
|
|
18
19
|
exports.EquosVoiceFromJSONTyped = EquosVoiceFromJSONTyped;
|
|
19
20
|
exports.EquosVoiceToJSON = EquosVoiceToJSON;
|
|
20
21
|
exports.EquosVoiceToJSONTyped = EquosVoiceToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
exports.EquosVoiceIdentityEnum = {
|
|
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 EquosVoice interface.
|
|
23
59
|
*/
|
|
@@ -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 { EquosConversation } from './EquosConversation';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ListEquosConversationsResponse
|
|
17
|
+
*/
|
|
18
|
+
export interface ListEquosConversationsResponse {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {number}
|
|
22
|
+
* @memberof ListEquosConversationsResponse
|
|
23
|
+
*/
|
|
24
|
+
skip: number;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {number}
|
|
28
|
+
* @memberof ListEquosConversationsResponse
|
|
29
|
+
*/
|
|
30
|
+
take: number;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {number}
|
|
34
|
+
* @memberof ListEquosConversationsResponse
|
|
35
|
+
*/
|
|
36
|
+
total: number;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {Array<EquosConversation>}
|
|
40
|
+
* @memberof ListEquosConversationsResponse
|
|
41
|
+
*/
|
|
42
|
+
conversations: Array<EquosConversation>;
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Check if a given object implements the ListEquosConversationsResponse interface.
|
|
46
|
+
*/
|
|
47
|
+
export declare function instanceOfListEquosConversationsResponse(value: object): value is ListEquosConversationsResponse;
|
|
48
|
+
export declare function ListEquosConversationsResponseFromJSON(json: any): ListEquosConversationsResponse;
|
|
49
|
+
export declare function ListEquosConversationsResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ListEquosConversationsResponse;
|
|
50
|
+
export declare function ListEquosConversationsResponseToJSON(json: any): ListEquosConversationsResponse;
|
|
51
|
+
export declare function ListEquosConversationsResponseToJSONTyped(value?: ListEquosConversationsResponse | null, ignoreDiscriminator?: boolean): any;
|