@equos/node-sdk 3.0.2-rc.1 → 3.0.2-rc.10

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 (117) hide show
  1. package/dist/index.d.ts +1 -3
  2. package/dist/index.js +1 -7
  3. package/package.json +3 -4
  4. package/dist/api/apis/AgentApi.d.ts +0 -86
  5. package/dist/api/apis/AgentApi.js +0 -223
  6. package/dist/api/apis/AvatarApi.d.ts +0 -86
  7. package/dist/api/apis/AvatarApi.js +0 -223
  8. package/dist/api/apis/BrainApi.d.ts +0 -64
  9. package/dist/api/apis/BrainApi.js +0 -179
  10. package/dist/api/apis/CharacterApi.d.ts +0 -76
  11. package/dist/api/apis/CharacterApi.js +0 -213
  12. package/dist/api/apis/FaceApi.d.ts +0 -64
  13. package/dist/api/apis/FaceApi.js +0 -179
  14. package/dist/api/apis/HealthApi.d.ts +0 -26
  15. package/dist/api/apis/HealthApi.js +0 -79
  16. package/dist/api/apis/KnowledgeBaseApi.d.ts +0 -100
  17. package/dist/api/apis/KnowledgeBaseApi.js +0 -279
  18. package/dist/api/apis/LimitsApi.d.ts +0 -26
  19. package/dist/api/apis/LimitsApi.js +0 -82
  20. package/dist/api/apis/SessionPassesApi.d.ts +0 -44
  21. package/dist/api/apis/SessionPassesApi.js +0 -128
  22. package/dist/api/apis/SessionsApi.d.ts +0 -72
  23. package/dist/api/apis/SessionsApi.js +0 -187
  24. package/dist/api/apis/VoiceApi.d.ts +0 -64
  25. package/dist/api/apis/VoiceApi.js +0 -179
  26. package/dist/api/apis/index.d.ts +0 -11
  27. package/dist/api/apis/index.js +0 -29
  28. package/dist/api/index.d.ts +0 -3
  29. package/dist/api/index.js +0 -21
  30. package/dist/api/models/CreateDocumentRequest.d.ts +0 -44
  31. package/dist/api/models/CreateDocumentRequest.js +0 -58
  32. package/dist/api/models/CreateDocumentResponse.d.ts +0 -33
  33. package/dist/api/models/CreateDocumentResponse.js +0 -51
  34. package/dist/api/models/CreateEquosAgentRequest.d.ts +0 -144
  35. package/dist/api/models/CreateEquosAgentRequest.js +0 -120
  36. package/dist/api/models/CreateEquosAvatarRequest.d.ts +0 -56
  37. package/dist/api/models/CreateEquosAvatarRequest.js +0 -64
  38. package/dist/api/models/CreateEquosBrainRequest.d.ts +0 -56
  39. package/dist/api/models/CreateEquosBrainRequest.js +0 -64
  40. package/dist/api/models/CreateEquosCharacterRequest.d.ts +0 -80
  41. package/dist/api/models/CreateEquosCharacterRequest.js +0 -68
  42. package/dist/api/models/CreateEquosFaceRequest.d.ts +0 -46
  43. package/dist/api/models/CreateEquosFaceRequest.js +0 -60
  44. package/dist/api/models/CreateEquosSessionRequest.d.ts +0 -90
  45. package/dist/api/models/CreateEquosSessionRequest.js +0 -74
  46. package/dist/api/models/CreateEquosSessionRequestAgent.d.ts +0 -23
  47. package/dist/api/models/CreateEquosSessionRequestAgent.js +0 -57
  48. package/dist/api/models/CreateEquosSessionRequestAvatar.d.ts +0 -23
  49. package/dist/api/models/CreateEquosSessionRequestAvatar.js +0 -57
  50. package/dist/api/models/CreateEquosSessionResponse.d.ts +0 -45
  51. package/dist/api/models/CreateEquosSessionResponse.js +0 -55
  52. package/dist/api/models/CreateEquosVoiceRequest.d.ts +0 -56
  53. package/dist/api/models/CreateEquosVoiceRequest.js +0 -64
  54. package/dist/api/models/CreateKnowledgeBaseRequest.d.ts +0 -44
  55. package/dist/api/models/CreateKnowledgeBaseRequest.js +0 -56
  56. package/dist/api/models/CreateSessionPassRequest.d.ts +0 -76
  57. package/dist/api/models/CreateSessionPassRequest.js +0 -72
  58. package/dist/api/models/EquosAgent.d.ts +0 -180
  59. package/dist/api/models/EquosAgent.js +0 -154
  60. package/dist/api/models/EquosAvatar.d.ts +0 -92
  61. package/dist/api/models/EquosAvatar.js +0 -84
  62. package/dist/api/models/EquosBrain.d.ts +0 -74
  63. package/dist/api/models/EquosBrain.js +0 -76
  64. package/dist/api/models/EquosCharacter.d.ts +0 -132
  65. package/dist/api/models/EquosCharacter.js +0 -98
  66. package/dist/api/models/EquosDocument.d.ts +0 -74
  67. package/dist/api/models/EquosDocument.js +0 -78
  68. package/dist/api/models/EquosFace.d.ts +0 -107
  69. package/dist/api/models/EquosFace.js +0 -89
  70. package/dist/api/models/EquosKnowledgeBase.d.ts +0 -75
  71. package/dist/api/models/EquosKnowledgeBase.js +0 -77
  72. package/dist/api/models/EquosLimitResponse.d.ts +0 -68
  73. package/dist/api/models/EquosLimitResponse.js +0 -72
  74. package/dist/api/models/EquosParticipantIdentity.d.ts +0 -38
  75. package/dist/api/models/EquosParticipantIdentity.js +0 -54
  76. package/dist/api/models/EquosResourceReference.d.ts +0 -32
  77. package/dist/api/models/EquosResourceReference.js +0 -50
  78. package/dist/api/models/EquosSession.d.ts +0 -168
  79. package/dist/api/models/EquosSession.js +0 -118
  80. package/dist/api/models/EquosSessionHost.d.ts +0 -38
  81. package/dist/api/models/EquosSessionHost.js +0 -54
  82. package/dist/api/models/EquosSessionServer.d.ts +0 -32
  83. package/dist/api/models/EquosSessionServer.js +0 -50
  84. package/dist/api/models/EquosVoice.d.ts +0 -80
  85. package/dist/api/models/EquosVoice.js +0 -80
  86. package/dist/api/models/HealthResponse.d.ts +0 -38
  87. package/dist/api/models/HealthResponse.js +0 -54
  88. package/dist/api/models/ListEquosAgentsResponse.d.ts +0 -51
  89. package/dist/api/models/ListEquosAgentsResponse.js +0 -63
  90. package/dist/api/models/ListEquosAvatarsResponse.d.ts +0 -51
  91. package/dist/api/models/ListEquosAvatarsResponse.js +0 -63
  92. package/dist/api/models/ListEquosBrainsResponse.d.ts +0 -51
  93. package/dist/api/models/ListEquosBrainsResponse.js +0 -63
  94. package/dist/api/models/ListEquosCharactersResponse.d.ts +0 -51
  95. package/dist/api/models/ListEquosCharactersResponse.js +0 -63
  96. package/dist/api/models/ListEquosFacesResponse.d.ts +0 -51
  97. package/dist/api/models/ListEquosFacesResponse.js +0 -63
  98. package/dist/api/models/ListEquosKnowledgeBasesResponse.d.ts +0 -51
  99. package/dist/api/models/ListEquosKnowledgeBasesResponse.js +0 -63
  100. package/dist/api/models/ListEquosSessionsResponse.d.ts +0 -51
  101. package/dist/api/models/ListEquosSessionsResponse.js +0 -63
  102. package/dist/api/models/ListEquosVoicesResponse.d.ts +0 -51
  103. package/dist/api/models/ListEquosVoicesResponse.js +0 -63
  104. package/dist/api/models/UpdateEquosAgentRequest.d.ts +0 -156
  105. package/dist/api/models/UpdateEquosAgentRequest.js +0 -128
  106. package/dist/api/models/UpdateEquosAvatarRequest.d.ts +0 -68
  107. package/dist/api/models/UpdateEquosAvatarRequest.js +0 -72
  108. package/dist/api/models/UpdateEquosCharacterRequest.d.ts +0 -68
  109. package/dist/api/models/UpdateEquosCharacterRequest.js +0 -60
  110. package/dist/api/models/index.d.ts +0 -40
  111. package/dist/api/models/index.js +0 -58
  112. package/dist/api/runtime.d.ts +0 -184
  113. package/dist/api/runtime.js +0 -349
  114. package/dist/client.d.ts +0 -38
  115. package/dist/client.js +0 -62
  116. package/dist/options.d.ts +0 -7
  117. package/dist/options.js +0 -2
@@ -1,168 +0,0 @@
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 { EquosResourceReference } from './EquosResourceReference';
13
- import type { EquosAgent } from './EquosAgent';
14
- import type { EquosAvatar } from './EquosAvatar';
15
- import type { EquosSessionServer } from './EquosSessionServer';
16
- /**
17
- *
18
- * @export
19
- * @interface EquosSession
20
- */
21
- export interface EquosSession {
22
- /**
23
- *
24
- * @type {string}
25
- * @memberof EquosSession
26
- */
27
- id: string;
28
- /**
29
- *
30
- * @type {string}
31
- * @memberof EquosSession
32
- */
33
- organizationId: string;
34
- /**
35
- *
36
- * @type {boolean}
37
- * @memberof EquosSession
38
- */
39
- freemium: boolean;
40
- /**
41
- *
42
- * @type {string}
43
- * @memberof EquosSession
44
- */
45
- name: string;
46
- /**
47
- *
48
- * @type {string}
49
- * @memberof EquosSession
50
- */
51
- provider: string;
52
- /**
53
- *
54
- * @type {string}
55
- * @memberof EquosSession
56
- */
57
- client?: string;
58
- /**
59
- *
60
- * @type {string}
61
- * @memberof EquosSession
62
- */
63
- status: string;
64
- /**
65
- *
66
- * @type {number}
67
- * @memberof EquosSession
68
- */
69
- maxDuration?: number;
70
- /**
71
- *
72
- * @type {string}
73
- * @memberof EquosSession
74
- */
75
- additionalCtx?: string;
76
- /**
77
- *
78
- * @type {object}
79
- * @memberof EquosSession
80
- */
81
- templateVars?: object;
82
- /**
83
- *
84
- * @type {EquosSessionServer}
85
- * @memberof EquosSession
86
- */
87
- host: EquosSessionServer;
88
- /**
89
- *
90
- * @type {string}
91
- * @memberof EquosSession
92
- */
93
- avatarId?: string;
94
- /**
95
- *
96
- * @type {EquosAvatar}
97
- * @memberof EquosSession
98
- */
99
- avatar: EquosAvatar;
100
- /**
101
- *
102
- * @type {string}
103
- * @memberof EquosSession
104
- */
105
- agentId?: string;
106
- /**
107
- *
108
- * @type {EquosAgent}
109
- * @memberof EquosSession
110
- */
111
- agent?: EquosAgent | null;
112
- /**
113
- *
114
- * @type {string}
115
- * @memberof EquosSession
116
- */
117
- knowledgeBaseId?: string;
118
- /**
119
- *
120
- * @type {EquosResourceReference}
121
- * @memberof EquosSession
122
- */
123
- knowledgeBase?: EquosResourceReference;
124
- /**
125
- *
126
- * @type {object}
127
- * @memberof EquosSession
128
- */
129
- remoteAgentIdentity?: object;
130
- /**
131
- *
132
- * @type {object}
133
- * @memberof EquosSession
134
- */
135
- transcript?: object | null;
136
- /**
137
- *
138
- * @type {Date}
139
- * @memberof EquosSession
140
- */
141
- startedAt: Date;
142
- /**
143
- *
144
- * @type {Date}
145
- * @memberof EquosSession
146
- */
147
- endedAt?: Date;
148
- /**
149
- *
150
- * @type {Date}
151
- * @memberof EquosSession
152
- */
153
- createdAt: Date;
154
- /**
155
- *
156
- * @type {Date}
157
- * @memberof EquosSession
158
- */
159
- updatedAt: Date;
160
- }
161
- /**
162
- * Check if a given object implements the EquosSession interface.
163
- */
164
- export declare function instanceOfEquosSession(value: object): value is EquosSession;
165
- export declare function EquosSessionFromJSON(json: any): EquosSession;
166
- export declare function EquosSessionFromJSONTyped(json: any, ignoreDiscriminator: boolean): EquosSession;
167
- export declare function EquosSessionToJSON(json: any): EquosSession;
168
- export declare function EquosSessionToJSONTyped(value?: EquosSession | null, ignoreDiscriminator?: boolean): any;
@@ -1,118 +0,0 @@
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.instanceOfEquosSession = instanceOfEquosSession;
17
- exports.EquosSessionFromJSON = EquosSessionFromJSON;
18
- exports.EquosSessionFromJSONTyped = EquosSessionFromJSONTyped;
19
- exports.EquosSessionToJSON = EquosSessionToJSON;
20
- exports.EquosSessionToJSONTyped = EquosSessionToJSONTyped;
21
- const EquosResourceReference_1 = require("./EquosResourceReference");
22
- const EquosAgent_1 = require("./EquosAgent");
23
- const EquosAvatar_1 = require("./EquosAvatar");
24
- const EquosSessionServer_1 = require("./EquosSessionServer");
25
- /**
26
- * Check if a given object implements the EquosSession interface.
27
- */
28
- function instanceOfEquosSession(value) {
29
- if (!('id' in value) || value['id'] === undefined)
30
- return false;
31
- if (!('organizationId' in value) || value['organizationId'] === undefined)
32
- return false;
33
- if (!('freemium' in value) || value['freemium'] === undefined)
34
- return false;
35
- if (!('name' in value) || value['name'] === undefined)
36
- return false;
37
- if (!('provider' in value) || value['provider'] === undefined)
38
- return false;
39
- if (!('status' in value) || value['status'] === undefined)
40
- return false;
41
- if (!('host' in value) || value['host'] === undefined)
42
- return false;
43
- if (!('avatar' in value) || value['avatar'] === undefined)
44
- return false;
45
- if (!('startedAt' in value) || value['startedAt'] === undefined)
46
- return false;
47
- if (!('createdAt' in value) || value['createdAt'] === undefined)
48
- return false;
49
- if (!('updatedAt' in value) || value['updatedAt'] === undefined)
50
- return false;
51
- return true;
52
- }
53
- function EquosSessionFromJSON(json) {
54
- return EquosSessionFromJSONTyped(json, false);
55
- }
56
- function EquosSessionFromJSONTyped(json, ignoreDiscriminator) {
57
- if (json == null) {
58
- return json;
59
- }
60
- return {
61
- 'id': json['id'],
62
- 'organizationId': json['organizationId'],
63
- 'freemium': json['freemium'],
64
- 'name': json['name'],
65
- 'provider': json['provider'],
66
- 'client': json['client'] == null ? undefined : json['client'],
67
- 'status': json['status'],
68
- 'maxDuration': json['maxDuration'] == null ? undefined : json['maxDuration'],
69
- 'additionalCtx': json['additionalCtx'] == null ? undefined : json['additionalCtx'],
70
- 'templateVars': json['templateVars'] == null ? undefined : json['templateVars'],
71
- 'host': (0, EquosSessionServer_1.EquosSessionServerFromJSON)(json['host']),
72
- 'avatarId': json['avatarId'] == null ? undefined : json['avatarId'],
73
- 'avatar': (0, EquosAvatar_1.EquosAvatarFromJSON)(json['avatar']),
74
- 'agentId': json['agentId'] == null ? undefined : json['agentId'],
75
- 'agent': json['agent'] == null ? undefined : (0, EquosAgent_1.EquosAgentFromJSON)(json['agent']),
76
- 'knowledgeBaseId': json['knowledgeBaseId'] == null ? undefined : json['knowledgeBaseId'],
77
- 'knowledgeBase': json['knowledgeBase'] == null ? undefined : (0, EquosResourceReference_1.EquosResourceReferenceFromJSON)(json['knowledgeBase']),
78
- 'remoteAgentIdentity': json['remoteAgentIdentity'] == null ? undefined : json['remoteAgentIdentity'],
79
- 'transcript': json['transcript'] == null ? undefined : json['transcript'],
80
- 'startedAt': (new Date(json['startedAt'])),
81
- 'endedAt': json['endedAt'] == null ? undefined : (new Date(json['endedAt'])),
82
- 'createdAt': (new Date(json['createdAt'])),
83
- 'updatedAt': (new Date(json['updatedAt'])),
84
- };
85
- }
86
- function EquosSessionToJSON(json) {
87
- return EquosSessionToJSONTyped(json, false);
88
- }
89
- function EquosSessionToJSONTyped(value, ignoreDiscriminator = false) {
90
- if (value == null) {
91
- return value;
92
- }
93
- return {
94
- 'id': value['id'],
95
- 'organizationId': value['organizationId'],
96
- 'freemium': value['freemium'],
97
- 'name': value['name'],
98
- 'provider': value['provider'],
99
- 'client': value['client'],
100
- 'status': value['status'],
101
- 'maxDuration': value['maxDuration'],
102
- 'additionalCtx': value['additionalCtx'],
103
- 'templateVars': value['templateVars'],
104
- 'host': (0, EquosSessionServer_1.EquosSessionServerToJSON)(value['host']),
105
- 'avatarId': value['avatarId'],
106
- 'avatar': (0, EquosAvatar_1.EquosAvatarToJSON)(value['avatar']),
107
- 'agentId': value['agentId'],
108
- 'agent': (0, EquosAgent_1.EquosAgentToJSON)(value['agent']),
109
- 'knowledgeBaseId': value['knowledgeBaseId'],
110
- 'knowledgeBase': (0, EquosResourceReference_1.EquosResourceReferenceToJSON)(value['knowledgeBase']),
111
- 'remoteAgentIdentity': value['remoteAgentIdentity'],
112
- 'transcript': value['transcript'],
113
- 'startedAt': value['startedAt'].toISOString(),
114
- 'endedAt': value['endedAt'] == null ? value['endedAt'] : value['endedAt'].toISOString(),
115
- 'createdAt': value['createdAt'].toISOString(),
116
- 'updatedAt': value['updatedAt'].toISOString(),
117
- };
118
- }
@@ -1,38 +0,0 @@
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 EquosSessionHost
16
- */
17
- export interface EquosSessionHost {
18
- /**
19
- * The URL of the LiveKit server.
20
- * @type {string}
21
- * @memberof EquosSessionHost
22
- */
23
- serverUrl: string;
24
- /**
25
- * The access token for the avatar to join the room.
26
- * @type {string}
27
- * @memberof EquosSessionHost
28
- */
29
- accessToken: string;
30
- }
31
- /**
32
- * Check if a given object implements the EquosSessionHost interface.
33
- */
34
- export declare function instanceOfEquosSessionHost(value: object): value is EquosSessionHost;
35
- export declare function EquosSessionHostFromJSON(json: any): EquosSessionHost;
36
- export declare function EquosSessionHostFromJSONTyped(json: any, ignoreDiscriminator: boolean): EquosSessionHost;
37
- export declare function EquosSessionHostToJSON(json: any): EquosSessionHost;
38
- export declare function EquosSessionHostToJSONTyped(value?: EquosSessionHost | null, ignoreDiscriminator?: boolean): any;
@@ -1,54 +0,0 @@
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.instanceOfEquosSessionHost = instanceOfEquosSessionHost;
17
- exports.EquosSessionHostFromJSON = EquosSessionHostFromJSON;
18
- exports.EquosSessionHostFromJSONTyped = EquosSessionHostFromJSONTyped;
19
- exports.EquosSessionHostToJSON = EquosSessionHostToJSON;
20
- exports.EquosSessionHostToJSONTyped = EquosSessionHostToJSONTyped;
21
- /**
22
- * Check if a given object implements the EquosSessionHost interface.
23
- */
24
- function instanceOfEquosSessionHost(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 EquosSessionHostFromJSON(json) {
32
- return EquosSessionHostFromJSONTyped(json, false);
33
- }
34
- function EquosSessionHostFromJSONTyped(json, ignoreDiscriminator) {
35
- if (json == null) {
36
- return json;
37
- }
38
- return {
39
- 'serverUrl': json['serverUrl'],
40
- 'accessToken': json['accessToken'],
41
- };
42
- }
43
- function EquosSessionHostToJSON(json) {
44
- return EquosSessionHostToJSONTyped(json, false);
45
- }
46
- function EquosSessionHostToJSONTyped(value, ignoreDiscriminator = false) {
47
- if (value == null) {
48
- return value;
49
- }
50
- return {
51
- 'serverUrl': value['serverUrl'],
52
- 'accessToken': value['accessToken'],
53
- };
54
- }
@@ -1,32 +0,0 @@
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 EquosSessionServer
16
- */
17
- export interface EquosSessionServer {
18
- /**
19
- * The URL of the LiveKit server.
20
- * @type {string}
21
- * @memberof EquosSessionServer
22
- */
23
- serverUrl: string;
24
- }
25
- /**
26
- * Check if a given object implements the EquosSessionServer interface.
27
- */
28
- export declare function instanceOfEquosSessionServer(value: object): value is EquosSessionServer;
29
- export declare function EquosSessionServerFromJSON(json: any): EquosSessionServer;
30
- export declare function EquosSessionServerFromJSONTyped(json: any, ignoreDiscriminator: boolean): EquosSessionServer;
31
- export declare function EquosSessionServerToJSON(json: any): EquosSessionServer;
32
- export declare function EquosSessionServerToJSONTyped(value?: EquosSessionServer | null, ignoreDiscriminator?: boolean): any;
@@ -1,50 +0,0 @@
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.instanceOfEquosSessionServer = instanceOfEquosSessionServer;
17
- exports.EquosSessionServerFromJSON = EquosSessionServerFromJSON;
18
- exports.EquosSessionServerFromJSONTyped = EquosSessionServerFromJSONTyped;
19
- exports.EquosSessionServerToJSON = EquosSessionServerToJSON;
20
- exports.EquosSessionServerToJSONTyped = EquosSessionServerToJSONTyped;
21
- /**
22
- * Check if a given object implements the EquosSessionServer interface.
23
- */
24
- function instanceOfEquosSessionServer(value) {
25
- if (!('serverUrl' in value) || value['serverUrl'] === undefined)
26
- return false;
27
- return true;
28
- }
29
- function EquosSessionServerFromJSON(json) {
30
- return EquosSessionServerFromJSONTyped(json, false);
31
- }
32
- function EquosSessionServerFromJSONTyped(json, ignoreDiscriminator) {
33
- if (json == null) {
34
- return json;
35
- }
36
- return {
37
- 'serverUrl': json['serverUrl'],
38
- };
39
- }
40
- function EquosSessionServerToJSON(json) {
41
- return EquosSessionServerToJSONTyped(json, false);
42
- }
43
- function EquosSessionServerToJSONTyped(value, ignoreDiscriminator = false) {
44
- if (value == null) {
45
- return value;
46
- }
47
- return {
48
- 'serverUrl': value['serverUrl'],
49
- };
50
- }
@@ -1,80 +0,0 @@
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 EquosVoice
16
- */
17
- export interface EquosVoice {
18
- /**
19
- *
20
- * @type {string}
21
- * @memberof EquosVoice
22
- */
23
- id: string;
24
- /**
25
- *
26
- * @type {string}
27
- * @memberof EquosVoice
28
- */
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
- /**
43
- *
44
- * @type {string}
45
- * @memberof EquosVoice
46
- */
47
- description: string;
48
- /**
49
- *
50
- * @type {string}
51
- * @memberof EquosVoice
52
- */
53
- sampleUrl: string;
54
- /**
55
- *
56
- * @type {string}
57
- * @memberof EquosVoice
58
- */
59
- voiceId: string;
60
- /**
61
- *
62
- * @type {Date}
63
- * @memberof EquosVoice
64
- */
65
- createdAt: Date;
66
- /**
67
- *
68
- * @type {Date}
69
- * @memberof EquosVoice
70
- */
71
- updatedAt: Date;
72
- }
73
- /**
74
- * Check if a given object implements the EquosVoice interface.
75
- */
76
- export declare function instanceOfEquosVoice(value: object): value is EquosVoice;
77
- export declare function EquosVoiceFromJSON(json: any): EquosVoice;
78
- export declare function EquosVoiceFromJSONTyped(json: any, ignoreDiscriminator: boolean): EquosVoice;
79
- export declare function EquosVoiceToJSON(json: any): EquosVoice;
80
- export declare function EquosVoiceToJSONTyped(value?: EquosVoice | null, ignoreDiscriminator?: boolean): any;
@@ -1,80 +0,0 @@
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.instanceOfEquosVoice = instanceOfEquosVoice;
17
- exports.EquosVoiceFromJSON = EquosVoiceFromJSON;
18
- exports.EquosVoiceFromJSONTyped = EquosVoiceFromJSONTyped;
19
- exports.EquosVoiceToJSON = EquosVoiceToJSON;
20
- exports.EquosVoiceToJSONTyped = EquosVoiceToJSONTyped;
21
- /**
22
- * Check if a given object implements the EquosVoice interface.
23
- */
24
- function instanceOfEquosVoice(value) {
25
- if (!('id' in value) || value['id'] === undefined)
26
- return false;
27
- if (!('organizationId' in value) || value['organizationId'] === undefined)
28
- return false;
29
- if (!('name' in value) || value['name'] === undefined)
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)
36
- return false;
37
- if (!('createdAt' in value) || value['createdAt'] === undefined)
38
- return false;
39
- if (!('updatedAt' in value) || value['updatedAt'] === undefined)
40
- return false;
41
- return true;
42
- }
43
- function EquosVoiceFromJSON(json) {
44
- return EquosVoiceFromJSONTyped(json, false);
45
- }
46
- function EquosVoiceFromJSONTyped(json, ignoreDiscriminator) {
47
- if (json == null) {
48
- return json;
49
- }
50
- return {
51
- 'id': json['id'],
52
- 'organizationId': json['organizationId'],
53
- 'client': json['client'] == null ? undefined : json['client'],
54
- 'name': json['name'],
55
- 'description': json['description'],
56
- 'sampleUrl': json['sampleUrl'],
57
- 'voiceId': json['voiceId'],
58
- 'createdAt': (new Date(json['createdAt'])),
59
- 'updatedAt': (new Date(json['updatedAt'])),
60
- };
61
- }
62
- function EquosVoiceToJSON(json) {
63
- return EquosVoiceToJSONTyped(json, false);
64
- }
65
- function EquosVoiceToJSONTyped(value, ignoreDiscriminator = false) {
66
- if (value == null) {
67
- return value;
68
- }
69
- return {
70
- 'id': value['id'],
71
- 'organizationId': value['organizationId'],
72
- 'client': value['client'],
73
- 'name': value['name'],
74
- 'description': value['description'],
75
- 'sampleUrl': value['sampleUrl'],
76
- 'voiceId': value['voiceId'],
77
- 'createdAt': value['createdAt'].toISOString(),
78
- 'updatedAt': value['updatedAt'].toISOString(),
79
- };
80
- }
@@ -1,38 +0,0 @@
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 HealthResponse
16
- */
17
- export interface HealthResponse {
18
- /**
19
- *
20
- * @type {string}
21
- * @memberof HealthResponse
22
- */
23
- status: string;
24
- /**
25
- *
26
- * @type {string}
27
- * @memberof HealthResponse
28
- */
29
- version: string;
30
- }
31
- /**
32
- * Check if a given object implements the HealthResponse interface.
33
- */
34
- export declare function instanceOfHealthResponse(value: object): value is HealthResponse;
35
- export declare function HealthResponseFromJSON(json: any): HealthResponse;
36
- export declare function HealthResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): HealthResponse;
37
- export declare function HealthResponseToJSON(json: any): HealthResponse;
38
- export declare function HealthResponseToJSONTyped(value?: HealthResponse | null, ignoreDiscriminator?: boolean): any;