@equos/node-sdk 2.2.3 → 3.0.2-rc.0

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.
Files changed (135) hide show
  1. package/README.md +390 -66
  2. package/dist/api/apis/AgentApi.d.ts +86 -0
  3. package/dist/api/apis/AgentApi.js +223 -0
  4. package/dist/api/apis/AvatarApi.d.ts +86 -0
  5. package/dist/api/apis/AvatarApi.js +223 -0
  6. package/dist/api/apis/BrainApi.d.ts +64 -0
  7. package/dist/api/apis/BrainApi.js +179 -0
  8. package/dist/api/apis/CharacterApi.d.ts +76 -0
  9. package/dist/api/apis/CharacterApi.js +213 -0
  10. package/dist/api/apis/FaceApi.d.ts +64 -0
  11. package/dist/api/apis/FaceApi.js +179 -0
  12. package/dist/api/apis/HealthApi.d.ts +26 -0
  13. package/dist/api/apis/HealthApi.js +79 -0
  14. package/dist/api/apis/KnowledgeBaseApi.d.ts +84 -0
  15. package/dist/api/apis/KnowledgeBaseApi.js +260 -0
  16. package/dist/api/apis/LimitsApi.d.ts +26 -0
  17. package/dist/api/apis/LimitsApi.js +82 -0
  18. package/dist/api/apis/SessionPassesApi.d.ts +44 -0
  19. package/dist/api/apis/SessionPassesApi.js +128 -0
  20. package/dist/api/apis/SessionsApi.d.ts +72 -0
  21. package/dist/api/apis/SessionsApi.js +187 -0
  22. package/dist/api/apis/VoiceApi.d.ts +64 -0
  23. package/dist/api/apis/VoiceApi.js +179 -0
  24. package/dist/api/apis/index.d.ts +11 -0
  25. package/dist/api/apis/index.js +29 -0
  26. package/dist/api/index.d.ts +3 -0
  27. package/dist/api/index.js +21 -0
  28. package/dist/api/models/CreateEquosAgentRequest.d.ts +144 -0
  29. package/dist/api/models/CreateEquosAgentRequest.js +120 -0
  30. package/dist/api/models/CreateEquosAvatarRequest.d.ts +56 -0
  31. package/dist/api/models/CreateEquosAvatarRequest.js +64 -0
  32. package/dist/api/models/CreateEquosBrainRequest.d.ts +56 -0
  33. package/dist/api/models/CreateEquosBrainRequest.js +64 -0
  34. package/dist/api/models/CreateEquosCharacterRequest.d.ts +80 -0
  35. package/dist/api/models/CreateEquosCharacterRequest.js +68 -0
  36. package/dist/api/models/CreateEquosFaceRequest.d.ts +46 -0
  37. package/dist/api/models/CreateEquosFaceRequest.js +60 -0
  38. package/dist/api/models/CreateEquosSessionRequest.d.ts +90 -0
  39. package/dist/api/models/CreateEquosSessionRequest.js +74 -0
  40. package/dist/api/models/CreateEquosSessionRequestAgent.d.ts +23 -0
  41. package/dist/api/models/CreateEquosSessionRequestAgent.js +57 -0
  42. package/dist/api/models/CreateEquosSessionRequestAvatar.d.ts +23 -0
  43. package/dist/api/models/CreateEquosSessionRequestAvatar.js +57 -0
  44. package/dist/api/models/CreateEquosSessionResponse.d.ts +45 -0
  45. package/dist/api/models/CreateEquosSessionResponse.js +55 -0
  46. package/dist/api/models/CreateEquosVoiceRequest.d.ts +56 -0
  47. package/dist/api/models/CreateEquosVoiceRequest.js +64 -0
  48. package/dist/api/models/CreateSessionPassRequest.d.ts +76 -0
  49. package/dist/api/models/CreateSessionPassRequest.js +72 -0
  50. package/dist/api/models/EquosAgent.d.ts +180 -0
  51. package/dist/api/models/EquosAgent.js +154 -0
  52. package/dist/api/models/EquosAvatar.d.ts +92 -0
  53. package/dist/api/models/EquosAvatar.js +84 -0
  54. package/dist/api/models/EquosBrain.d.ts +74 -0
  55. package/dist/api/models/EquosBrain.js +76 -0
  56. package/dist/api/models/EquosCharacter.d.ts +132 -0
  57. package/dist/api/models/EquosCharacter.js +98 -0
  58. package/dist/api/models/EquosDocument.d.ts +74 -0
  59. package/dist/api/models/EquosDocument.js +78 -0
  60. package/dist/api/models/EquosFace.d.ts +107 -0
  61. package/dist/api/models/EquosFace.js +89 -0
  62. package/dist/api/models/EquosKnowledgeBase.d.ts +75 -0
  63. package/dist/api/models/EquosKnowledgeBase.js +77 -0
  64. package/dist/api/models/EquosLimitResponse.d.ts +68 -0
  65. package/dist/api/models/EquosLimitResponse.js +72 -0
  66. package/dist/api/models/EquosParticipantIdentity.d.ts +38 -0
  67. package/dist/api/models/EquosParticipantIdentity.js +54 -0
  68. package/dist/api/models/EquosResourceReference.d.ts +32 -0
  69. package/dist/api/models/EquosResourceReference.js +50 -0
  70. package/dist/api/models/EquosSession.d.ts +168 -0
  71. package/dist/api/models/EquosSession.js +118 -0
  72. package/dist/api/models/EquosSessionHost.d.ts +38 -0
  73. package/dist/api/models/EquosSessionHost.js +54 -0
  74. package/dist/api/models/EquosSessionServer.d.ts +32 -0
  75. package/dist/api/models/EquosSessionServer.js +50 -0
  76. package/dist/api/models/EquosVoice.d.ts +80 -0
  77. package/dist/api/models/EquosVoice.js +80 -0
  78. package/dist/api/models/HealthResponse.d.ts +38 -0
  79. package/dist/api/models/HealthResponse.js +54 -0
  80. package/dist/api/models/ListEquosAgentsResponse.d.ts +51 -0
  81. package/dist/api/models/ListEquosAgentsResponse.js +63 -0
  82. package/dist/api/models/ListEquosAvatarsResponse.d.ts +51 -0
  83. package/dist/api/models/ListEquosAvatarsResponse.js +63 -0
  84. package/dist/api/models/ListEquosBrainsResponse.d.ts +51 -0
  85. package/dist/api/models/ListEquosBrainsResponse.js +63 -0
  86. package/dist/api/models/ListEquosCharactersResponse.d.ts +51 -0
  87. package/dist/api/models/ListEquosCharactersResponse.js +63 -0
  88. package/dist/api/models/ListEquosFacesResponse.d.ts +51 -0
  89. package/dist/api/models/ListEquosFacesResponse.js +63 -0
  90. package/dist/api/models/ListEquosSessionsResponse.d.ts +51 -0
  91. package/dist/api/models/ListEquosSessionsResponse.js +63 -0
  92. package/dist/api/models/ListEquosVoicesResponse.d.ts +51 -0
  93. package/dist/api/models/ListEquosVoicesResponse.js +63 -0
  94. package/dist/api/models/UpdateEquosAgentRequest.d.ts +156 -0
  95. package/dist/api/models/UpdateEquosAgentRequest.js +128 -0
  96. package/dist/api/models/UpdateEquosAvatarRequest.d.ts +68 -0
  97. package/dist/api/models/UpdateEquosAvatarRequest.js +72 -0
  98. package/dist/api/models/UpdateEquosCharacterRequest.d.ts +68 -0
  99. package/dist/api/models/UpdateEquosCharacterRequest.js +60 -0
  100. package/dist/api/models/index.d.ts +36 -0
  101. package/dist/api/models/index.js +54 -0
  102. package/dist/api/runtime.d.ts +184 -0
  103. package/dist/api/runtime.js +349 -0
  104. package/dist/client.d.ts +38 -0
  105. package/dist/client.js +62 -0
  106. package/dist/index.d.ts +3 -10
  107. package/dist/index.js +7 -10
  108. package/dist/options.d.ts +7 -0
  109. package/package.json +4 -2
  110. package/dist/apis/agent.d.ts +0 -11
  111. package/dist/apis/agent.js +0 -40
  112. package/dist/apis/avatar.d.ts +0 -11
  113. package/dist/apis/avatar.js +0 -40
  114. package/dist/apis/knowledge-base.d.ts +0 -13
  115. package/dist/apis/knowledge-base.js +0 -50
  116. package/dist/apis/session.d.ts +0 -10
  117. package/dist/apis/session.js +0 -35
  118. package/dist/equos.d.ts +0 -32
  119. package/dist/equos.js +0 -47
  120. package/dist/types/agent.type.d.ts +0 -96
  121. package/dist/types/agent.type.js +0 -64
  122. package/dist/types/avatar.type.d.ts +0 -31
  123. package/dist/types/error.type.d.ts +0 -5
  124. package/dist/types/error.type.js +0 -14
  125. package/dist/types/knowledge-base.type.d.ts +0 -41
  126. package/dist/types/knowledge-base.type.js +0 -2
  127. package/dist/types/session.type.d.ts +0 -73
  128. package/dist/types/session.type.js +0 -2
  129. package/dist/utils/constants.utils.d.ts +0 -4
  130. package/dist/utils/constants.utils.js +0 -8
  131. package/dist/utils/error.utils.d.ts +0 -5
  132. package/dist/utils/error.utils.js +0 -11
  133. package/dist/utils/http.utils.d.ts +0 -12
  134. package/dist/utils/http.utils.js +0 -126
  135. /package/dist/{types/avatar.type.js → options.js} +0 -0
@@ -0,0 +1,179 @@
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
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
16
+ if (k2 === undefined) k2 = k;
17
+ var desc = Object.getOwnPropertyDescriptor(m, k);
18
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
19
+ desc = { enumerable: true, get: function() { return m[k]; } };
20
+ }
21
+ Object.defineProperty(o, k2, desc);
22
+ }) : (function(o, m, k, k2) {
23
+ if (k2 === undefined) k2 = k;
24
+ o[k2] = m[k];
25
+ }));
26
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
27
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
28
+ }) : function(o, v) {
29
+ o["default"] = v;
30
+ });
31
+ var __importStar = (this && this.__importStar) || (function () {
32
+ var ownKeys = function(o) {
33
+ ownKeys = Object.getOwnPropertyNames || function (o) {
34
+ var ar = [];
35
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
36
+ return ar;
37
+ };
38
+ return ownKeys(o);
39
+ };
40
+ return function (mod) {
41
+ if (mod && mod.__esModule) return mod;
42
+ var result = {};
43
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
44
+ __setModuleDefault(result, mod);
45
+ return result;
46
+ };
47
+ })();
48
+ Object.defineProperty(exports, "__esModule", { value: true });
49
+ exports.VoiceApi = void 0;
50
+ const runtime = __importStar(require("../runtime"));
51
+ const index_1 = require("../models/index");
52
+ /**
53
+ *
54
+ */
55
+ class VoiceApi extends runtime.BaseAPI {
56
+ /**
57
+ * Create a new Equos Voice.
58
+ */
59
+ async voiceControllerCreateV3Raw(requestParameters, initOverrides) {
60
+ if (requestParameters['createEquosVoiceRequest'] == null) {
61
+ throw new runtime.RequiredError('createEquosVoiceRequest', 'Required parameter "createEquosVoiceRequest" was null or undefined when calling voiceControllerCreateV3().');
62
+ }
63
+ const queryParameters = {};
64
+ const headerParameters = {};
65
+ headerParameters['Content-Type'] = 'application/json';
66
+ if (this.configuration && this.configuration.apiKey) {
67
+ headerParameters["x-api-key"] = await this.configuration.apiKey("x-api-key"); // x-api-key authentication
68
+ }
69
+ let urlPath = `/v3/voices`;
70
+ const response = await this.request({
71
+ path: urlPath,
72
+ method: 'POST',
73
+ headers: headerParameters,
74
+ query: queryParameters,
75
+ body: (0, index_1.CreateEquosVoiceRequestToJSON)(requestParameters['createEquosVoiceRequest']),
76
+ }, initOverrides);
77
+ return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.EquosVoiceFromJSON)(jsonValue));
78
+ }
79
+ /**
80
+ * Create a new Equos Voice.
81
+ */
82
+ async voiceControllerCreateV3(requestParameters, initOverrides) {
83
+ const response = await this.voiceControllerCreateV3Raw(requestParameters, initOverrides);
84
+ return await response.value();
85
+ }
86
+ /**
87
+ * Get Equos Voice by ID.
88
+ */
89
+ async voiceControllerGetByIdV3Raw(requestParameters, initOverrides) {
90
+ if (requestParameters['id'] == null) {
91
+ throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling voiceControllerGetByIdV3().');
92
+ }
93
+ const queryParameters = {};
94
+ const headerParameters = {};
95
+ if (this.configuration && this.configuration.apiKey) {
96
+ headerParameters["x-api-key"] = await this.configuration.apiKey("x-api-key"); // x-api-key authentication
97
+ }
98
+ let urlPath = `/v3/voices/{id}`;
99
+ urlPath = urlPath.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id'])));
100
+ const response = await this.request({
101
+ path: urlPath,
102
+ method: 'GET',
103
+ headers: headerParameters,
104
+ query: queryParameters,
105
+ }, initOverrides);
106
+ return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.EquosVoiceFromJSON)(jsonValue));
107
+ }
108
+ /**
109
+ * Get Equos Voice by ID.
110
+ */
111
+ async voiceControllerGetByIdV3(requestParameters, initOverrides) {
112
+ const response = await this.voiceControllerGetByIdV3Raw(requestParameters, initOverrides);
113
+ return await response.value();
114
+ }
115
+ /**
116
+ * List Equos Voices.
117
+ */
118
+ async voiceControllerListV3Raw(requestParameters, initOverrides) {
119
+ const queryParameters = {};
120
+ if (requestParameters['take'] != null) {
121
+ queryParameters['take'] = requestParameters['take'];
122
+ }
123
+ if (requestParameters['skip'] != null) {
124
+ queryParameters['skip'] = requestParameters['skip'];
125
+ }
126
+ if (requestParameters['client'] != null) {
127
+ queryParameters['client'] = requestParameters['client'];
128
+ }
129
+ const headerParameters = {};
130
+ if (this.configuration && this.configuration.apiKey) {
131
+ headerParameters["x-api-key"] = await this.configuration.apiKey("x-api-key"); // x-api-key authentication
132
+ }
133
+ let urlPath = `/v3/voices`;
134
+ const response = await this.request({
135
+ path: urlPath,
136
+ method: 'GET',
137
+ headers: headerParameters,
138
+ query: queryParameters,
139
+ }, initOverrides);
140
+ return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.ListEquosVoicesResponseFromJSON)(jsonValue));
141
+ }
142
+ /**
143
+ * List Equos Voices.
144
+ */
145
+ async voiceControllerListV3(requestParameters = {}, initOverrides) {
146
+ const response = await this.voiceControllerListV3Raw(requestParameters, initOverrides);
147
+ return await response.value();
148
+ }
149
+ /**
150
+ * Delete an Equos Voice. This action is irreversible.
151
+ */
152
+ async voiceControllerSoftDeleteV3Raw(requestParameters, initOverrides) {
153
+ if (requestParameters['id'] == null) {
154
+ throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling voiceControllerSoftDeleteV3().');
155
+ }
156
+ const queryParameters = {};
157
+ const headerParameters = {};
158
+ if (this.configuration && this.configuration.apiKey) {
159
+ headerParameters["x-api-key"] = await this.configuration.apiKey("x-api-key"); // x-api-key authentication
160
+ }
161
+ let urlPath = `/v3/voices/{id}`;
162
+ urlPath = urlPath.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id'])));
163
+ const response = await this.request({
164
+ path: urlPath,
165
+ method: 'DELETE',
166
+ headers: headerParameters,
167
+ query: queryParameters,
168
+ }, initOverrides);
169
+ return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.EquosVoiceFromJSON)(jsonValue));
170
+ }
171
+ /**
172
+ * Delete an Equos Voice. This action is irreversible.
173
+ */
174
+ async voiceControllerSoftDeleteV3(requestParameters, initOverrides) {
175
+ const response = await this.voiceControllerSoftDeleteV3Raw(requestParameters, initOverrides);
176
+ return await response.value();
177
+ }
178
+ }
179
+ exports.VoiceApi = VoiceApi;
@@ -0,0 +1,11 @@
1
+ export * from './AgentApi';
2
+ export * from './AvatarApi';
3
+ export * from './BrainApi';
4
+ export * from './CharacterApi';
5
+ export * from './FaceApi';
6
+ export * from './HealthApi';
7
+ export * from './KnowledgeBaseApi';
8
+ export * from './LimitsApi';
9
+ export * from './SessionPassesApi';
10
+ export * from './SessionsApi';
11
+ export * from './VoiceApi';
@@ -0,0 +1,29 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ /* tslint:disable */
18
+ /* eslint-disable */
19
+ __exportStar(require("./AgentApi"), exports);
20
+ __exportStar(require("./AvatarApi"), exports);
21
+ __exportStar(require("./BrainApi"), exports);
22
+ __exportStar(require("./CharacterApi"), exports);
23
+ __exportStar(require("./FaceApi"), exports);
24
+ __exportStar(require("./HealthApi"), exports);
25
+ __exportStar(require("./KnowledgeBaseApi"), exports);
26
+ __exportStar(require("./LimitsApi"), exports);
27
+ __exportStar(require("./SessionPassesApi"), exports);
28
+ __exportStar(require("./SessionsApi"), exports);
29
+ __exportStar(require("./VoiceApi"), exports);
@@ -0,0 +1,3 @@
1
+ export * from './runtime';
2
+ export * from './apis/index';
3
+ export * from './models/index';
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ /* tslint:disable */
18
+ /* eslint-disable */
19
+ __exportStar(require("./runtime"), exports);
20
+ __exportStar(require("./apis/index"), exports);
21
+ __exportStar(require("./models/index"), exports);
@@ -0,0 +1,144 @@
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 CreateEquosAgentRequest
16
+ */
17
+ export interface CreateEquosAgentRequest {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof CreateEquosAgentRequest
22
+ */
23
+ name?: string;
24
+ /**
25
+ *
26
+ * @type {object}
27
+ * @memberof CreateEquosAgentRequest
28
+ */
29
+ client?: object | null;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof CreateEquosAgentRequest
34
+ */
35
+ provider: CreateEquosAgentRequestProviderEnum;
36
+ /**
37
+ *
38
+ * @type {string}
39
+ * @memberof CreateEquosAgentRequest
40
+ */
41
+ model?: CreateEquosAgentRequestModelEnum;
42
+ /**
43
+ *
44
+ * @type {string}
45
+ * @memberof CreateEquosAgentRequest
46
+ */
47
+ voice?: CreateEquosAgentRequestVoiceEnum;
48
+ /**
49
+ *
50
+ * @type {string}
51
+ * @memberof CreateEquosAgentRequest
52
+ */
53
+ instructions?: string;
54
+ /**
55
+ *
56
+ * @type {string}
57
+ * @memberof CreateEquosAgentRequest
58
+ */
59
+ greetingMsg?: string;
60
+ /**
61
+ *
62
+ * @type {string}
63
+ * @memberof CreateEquosAgentRequest
64
+ */
65
+ remoteId?: string;
66
+ /**
67
+ *
68
+ * @type {boolean}
69
+ * @memberof CreateEquosAgentRequest
70
+ */
71
+ search?: boolean;
72
+ /**
73
+ *
74
+ * @type {boolean}
75
+ * @memberof CreateEquosAgentRequest
76
+ */
77
+ emotions?: boolean;
78
+ /**
79
+ *
80
+ * @type {boolean}
81
+ * @memberof CreateEquosAgentRequest
82
+ */
83
+ memory?: boolean;
84
+ }
85
+ /**
86
+ * @export
87
+ */
88
+ export declare const CreateEquosAgentRequestProviderEnum: {
89
+ readonly Openai: "openai";
90
+ readonly Gemini: "gemini";
91
+ readonly Elevenlabs: "elevenlabs";
92
+ };
93
+ export type CreateEquosAgentRequestProviderEnum = typeof CreateEquosAgentRequestProviderEnum[keyof typeof CreateEquosAgentRequestProviderEnum];
94
+ /**
95
+ * @export
96
+ */
97
+ export declare const CreateEquosAgentRequestModelEnum: {
98
+ readonly Gemini25FlashNativeAudioPreview092025: "gemini-2.5-flash-native-audio-preview-09-2025";
99
+ };
100
+ export type CreateEquosAgentRequestModelEnum = typeof CreateEquosAgentRequestModelEnum[keyof typeof CreateEquosAgentRequestModelEnum];
101
+ /**
102
+ * @export
103
+ */
104
+ export declare const CreateEquosAgentRequestVoiceEnum: {
105
+ readonly Puck: "Puck";
106
+ readonly Charon: "Charon";
107
+ readonly Kore: "Kore";
108
+ readonly Fenrir: "Fenrir";
109
+ readonly Aoede: "Aoede";
110
+ readonly Leda: "Leda";
111
+ readonly Orus: "Orus";
112
+ readonly Zephyr: "Zephyr";
113
+ readonly Sulafat: "Sulafat";
114
+ readonly Sadachbia: "Sadachbia";
115
+ readonly Sadaltager: "Sadaltager";
116
+ readonly Vindemiatrix: "Vindemiatrix";
117
+ readonly Zubenelgenubi: "Zubenelgenubi";
118
+ readonly Achird: "Achird";
119
+ readonly Pulcherrima: "Pulcherrima";
120
+ readonly Gacrux: "Gacrux";
121
+ readonly Schedar: "Schedar";
122
+ readonly Alnilam: "Alnilam";
123
+ readonly Achernar: "Achernar";
124
+ readonly Laomedeia: "Laomedeia";
125
+ readonly Rasalgethi: "Rasalgethi";
126
+ readonly Algenib: "Algenib";
127
+ readonly Erinome: "Erinome";
128
+ readonly Despina: "Despina";
129
+ readonly Algieba: "Algieba";
130
+ readonly Umbriel: "Umbriel";
131
+ readonly Iapetus: "Iapetus";
132
+ readonly Enceladus: "Enceladus";
133
+ readonly Autonoe: "Autonoe";
134
+ readonly Callirrhoe: "Callirrhoe";
135
+ };
136
+ export type CreateEquosAgentRequestVoiceEnum = typeof CreateEquosAgentRequestVoiceEnum[keyof typeof CreateEquosAgentRequestVoiceEnum];
137
+ /**
138
+ * Check if a given object implements the CreateEquosAgentRequest interface.
139
+ */
140
+ export declare function instanceOfCreateEquosAgentRequest(value: object): value is CreateEquosAgentRequest;
141
+ export declare function CreateEquosAgentRequestFromJSON(json: any): CreateEquosAgentRequest;
142
+ export declare function CreateEquosAgentRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateEquosAgentRequest;
143
+ export declare function CreateEquosAgentRequestToJSON(json: any): CreateEquosAgentRequest;
144
+ export declare function CreateEquosAgentRequestToJSONTyped(value?: CreateEquosAgentRequest | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,120 @@
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.CreateEquosAgentRequestVoiceEnum = exports.CreateEquosAgentRequestModelEnum = exports.CreateEquosAgentRequestProviderEnum = void 0;
17
+ exports.instanceOfCreateEquosAgentRequest = instanceOfCreateEquosAgentRequest;
18
+ exports.CreateEquosAgentRequestFromJSON = CreateEquosAgentRequestFromJSON;
19
+ exports.CreateEquosAgentRequestFromJSONTyped = CreateEquosAgentRequestFromJSONTyped;
20
+ exports.CreateEquosAgentRequestToJSON = CreateEquosAgentRequestToJSON;
21
+ exports.CreateEquosAgentRequestToJSONTyped = CreateEquosAgentRequestToJSONTyped;
22
+ /**
23
+ * @export
24
+ */
25
+ exports.CreateEquosAgentRequestProviderEnum = {
26
+ Openai: 'openai',
27
+ Gemini: 'gemini',
28
+ Elevenlabs: 'elevenlabs'
29
+ };
30
+ /**
31
+ * @export
32
+ */
33
+ exports.CreateEquosAgentRequestModelEnum = {
34
+ Gemini25FlashNativeAudioPreview092025: 'gemini-2.5-flash-native-audio-preview-09-2025'
35
+ };
36
+ /**
37
+ * @export
38
+ */
39
+ exports.CreateEquosAgentRequestVoiceEnum = {
40
+ Puck: 'Puck',
41
+ Charon: 'Charon',
42
+ Kore: 'Kore',
43
+ Fenrir: 'Fenrir',
44
+ Aoede: 'Aoede',
45
+ Leda: 'Leda',
46
+ Orus: 'Orus',
47
+ Zephyr: 'Zephyr',
48
+ Sulafat: 'Sulafat',
49
+ Sadachbia: 'Sadachbia',
50
+ Sadaltager: 'Sadaltager',
51
+ Vindemiatrix: 'Vindemiatrix',
52
+ Zubenelgenubi: 'Zubenelgenubi',
53
+ Achird: 'Achird',
54
+ Pulcherrima: 'Pulcherrima',
55
+ Gacrux: 'Gacrux',
56
+ Schedar: 'Schedar',
57
+ Alnilam: 'Alnilam',
58
+ Achernar: 'Achernar',
59
+ Laomedeia: 'Laomedeia',
60
+ Rasalgethi: 'Rasalgethi',
61
+ Algenib: 'Algenib',
62
+ Erinome: 'Erinome',
63
+ Despina: 'Despina',
64
+ Algieba: 'Algieba',
65
+ Umbriel: 'Umbriel',
66
+ Iapetus: 'Iapetus',
67
+ Enceladus: 'Enceladus',
68
+ Autonoe: 'Autonoe',
69
+ Callirrhoe: 'Callirrhoe'
70
+ };
71
+ /**
72
+ * Check if a given object implements the CreateEquosAgentRequest interface.
73
+ */
74
+ function instanceOfCreateEquosAgentRequest(value) {
75
+ if (!('provider' in value) || value['provider'] === undefined)
76
+ return false;
77
+ return true;
78
+ }
79
+ function CreateEquosAgentRequestFromJSON(json) {
80
+ return CreateEquosAgentRequestFromJSONTyped(json, false);
81
+ }
82
+ function CreateEquosAgentRequestFromJSONTyped(json, ignoreDiscriminator) {
83
+ if (json == null) {
84
+ return json;
85
+ }
86
+ return {
87
+ 'name': json['name'] == null ? undefined : json['name'],
88
+ 'client': json['client'] == null ? undefined : json['client'],
89
+ 'provider': json['provider'],
90
+ 'model': json['model'] == null ? undefined : json['model'],
91
+ 'voice': json['voice'] == null ? undefined : json['voice'],
92
+ 'instructions': json['instructions'] == null ? undefined : json['instructions'],
93
+ 'greetingMsg': json['greetingMsg'] == null ? undefined : json['greetingMsg'],
94
+ 'remoteId': json['remoteId'] == null ? undefined : json['remoteId'],
95
+ 'search': json['search'] == null ? undefined : json['search'],
96
+ 'emotions': json['emotions'] == null ? undefined : json['emotions'],
97
+ 'memory': json['memory'] == null ? undefined : json['memory'],
98
+ };
99
+ }
100
+ function CreateEquosAgentRequestToJSON(json) {
101
+ return CreateEquosAgentRequestToJSONTyped(json, false);
102
+ }
103
+ function CreateEquosAgentRequestToJSONTyped(value, ignoreDiscriminator = false) {
104
+ if (value == null) {
105
+ return value;
106
+ }
107
+ return {
108
+ 'name': value['name'],
109
+ 'client': value['client'],
110
+ 'provider': value['provider'],
111
+ 'model': value['model'],
112
+ 'voice': value['voice'],
113
+ 'instructions': value['instructions'],
114
+ 'greetingMsg': value['greetingMsg'],
115
+ 'remoteId': value['remoteId'],
116
+ 'search': value['search'],
117
+ 'emotions': value['emotions'],
118
+ 'memory': value['memory'],
119
+ };
120
+ }
@@ -0,0 +1,56 @@
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 CreateEquosAvatarRequest
16
+ */
17
+ export interface CreateEquosAvatarRequest {
18
+ /**
19
+ * Livekit identity of the avatar.
20
+ * @type {string}
21
+ * @memberof CreateEquosAvatarRequest
22
+ */
23
+ identity: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof CreateEquosAvatarRequest
28
+ */
29
+ name: string;
30
+ /**
31
+ * Base64 data URL of the reference image.
32
+ * @type {string}
33
+ * @memberof CreateEquosAvatarRequest
34
+ */
35
+ refImage: string;
36
+ /**
37
+ * Optional agent ID to link with the avatar.
38
+ * @type {object}
39
+ * @memberof CreateEquosAvatarRequest
40
+ */
41
+ agentId: object;
42
+ /**
43
+ *
44
+ * @type {object}
45
+ * @memberof CreateEquosAvatarRequest
46
+ */
47
+ client?: object;
48
+ }
49
+ /**
50
+ * Check if a given object implements the CreateEquosAvatarRequest interface.
51
+ */
52
+ export declare function instanceOfCreateEquosAvatarRequest(value: object): value is CreateEquosAvatarRequest;
53
+ export declare function CreateEquosAvatarRequestFromJSON(json: any): CreateEquosAvatarRequest;
54
+ export declare function CreateEquosAvatarRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateEquosAvatarRequest;
55
+ export declare function CreateEquosAvatarRequestToJSON(json: any): CreateEquosAvatarRequest;
56
+ export declare function CreateEquosAvatarRequestToJSONTyped(value?: CreateEquosAvatarRequest | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,64 @@
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.instanceOfCreateEquosAvatarRequest = instanceOfCreateEquosAvatarRequest;
17
+ exports.CreateEquosAvatarRequestFromJSON = CreateEquosAvatarRequestFromJSON;
18
+ exports.CreateEquosAvatarRequestFromJSONTyped = CreateEquosAvatarRequestFromJSONTyped;
19
+ exports.CreateEquosAvatarRequestToJSON = CreateEquosAvatarRequestToJSON;
20
+ exports.CreateEquosAvatarRequestToJSONTyped = CreateEquosAvatarRequestToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the CreateEquosAvatarRequest interface.
23
+ */
24
+ function instanceOfCreateEquosAvatarRequest(value) {
25
+ if (!('identity' in value) || value['identity'] === undefined)
26
+ return false;
27
+ if (!('name' in value) || value['name'] === undefined)
28
+ return false;
29
+ if (!('refImage' in value) || value['refImage'] === undefined)
30
+ return false;
31
+ if (!('agentId' in value) || value['agentId'] === undefined)
32
+ return false;
33
+ return true;
34
+ }
35
+ function CreateEquosAvatarRequestFromJSON(json) {
36
+ return CreateEquosAvatarRequestFromJSONTyped(json, false);
37
+ }
38
+ function CreateEquosAvatarRequestFromJSONTyped(json, ignoreDiscriminator) {
39
+ if (json == null) {
40
+ return json;
41
+ }
42
+ return {
43
+ 'identity': json['identity'],
44
+ 'name': json['name'],
45
+ 'refImage': json['refImage'],
46
+ 'agentId': json['agentId'],
47
+ 'client': json['client'] == null ? undefined : json['client'],
48
+ };
49
+ }
50
+ function CreateEquosAvatarRequestToJSON(json) {
51
+ return CreateEquosAvatarRequestToJSONTyped(json, false);
52
+ }
53
+ function CreateEquosAvatarRequestToJSONTyped(value, ignoreDiscriminator = false) {
54
+ if (value == null) {
55
+ return value;
56
+ }
57
+ return {
58
+ 'identity': value['identity'],
59
+ 'name': value['name'],
60
+ 'refImage': value['refImage'],
61
+ 'agentId': value['agentId'],
62
+ 'client': value['client'],
63
+ };
64
+ }
@@ -0,0 +1,56 @@
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 CreateEquosBrainRequest
16
+ */
17
+ export interface CreateEquosBrainRequest {
18
+ /**
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
+ * @type {string}
27
+ * @memberof CreateEquosBrainRequest
28
+ */
29
+ name: string;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof CreateEquosBrainRequest
34
+ */
35
+ instructions: string;
36
+ /**
37
+ *
38
+ * @type {string}
39
+ * @memberof CreateEquosBrainRequest
40
+ */
41
+ greetingMessage: string;
42
+ /**
43
+ *
44
+ * @type {string}
45
+ * @memberof CreateEquosBrainRequest
46
+ */
47
+ model: string;
48
+ }
49
+ /**
50
+ * Check if a given object implements the CreateEquosBrainRequest interface.
51
+ */
52
+ export declare function instanceOfCreateEquosBrainRequest(value: object): value is CreateEquosBrainRequest;
53
+ export declare function CreateEquosBrainRequestFromJSON(json: any): CreateEquosBrainRequest;
54
+ export declare function CreateEquosBrainRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateEquosBrainRequest;
55
+ export declare function CreateEquosBrainRequestToJSON(json: any): CreateEquosBrainRequest;
56
+ export declare function CreateEquosBrainRequestToJSONTyped(value?: CreateEquosBrainRequest | null, ignoreDiscriminator?: boolean): any;