@equos/node-sdk 3.0.2-rc.0 → 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 (110) hide show
  1. package/README.md +27 -28
  2. package/dist/index.d.ts +1 -3
  3. package/dist/index.js +1 -7
  4. package/package.json +3 -4
  5. package/dist/api/apis/AgentApi.d.ts +0 -86
  6. package/dist/api/apis/AgentApi.js +0 -223
  7. package/dist/api/apis/AvatarApi.d.ts +0 -86
  8. package/dist/api/apis/AvatarApi.js +0 -223
  9. package/dist/api/apis/BrainApi.d.ts +0 -64
  10. package/dist/api/apis/BrainApi.js +0 -179
  11. package/dist/api/apis/CharacterApi.d.ts +0 -76
  12. package/dist/api/apis/CharacterApi.js +0 -213
  13. package/dist/api/apis/FaceApi.d.ts +0 -64
  14. package/dist/api/apis/FaceApi.js +0 -179
  15. package/dist/api/apis/HealthApi.d.ts +0 -26
  16. package/dist/api/apis/HealthApi.js +0 -79
  17. package/dist/api/apis/KnowledgeBaseApi.d.ts +0 -84
  18. package/dist/api/apis/KnowledgeBaseApi.js +0 -260
  19. package/dist/api/apis/LimitsApi.d.ts +0 -26
  20. package/dist/api/apis/LimitsApi.js +0 -82
  21. package/dist/api/apis/SessionPassesApi.d.ts +0 -44
  22. package/dist/api/apis/SessionPassesApi.js +0 -128
  23. package/dist/api/apis/SessionsApi.d.ts +0 -72
  24. package/dist/api/apis/SessionsApi.js +0 -187
  25. package/dist/api/apis/VoiceApi.d.ts +0 -64
  26. package/dist/api/apis/VoiceApi.js +0 -179
  27. package/dist/api/apis/index.d.ts +0 -11
  28. package/dist/api/apis/index.js +0 -29
  29. package/dist/api/index.d.ts +0 -3
  30. package/dist/api/index.js +0 -21
  31. package/dist/api/models/CreateEquosAgentRequest.d.ts +0 -144
  32. package/dist/api/models/CreateEquosAgentRequest.js +0 -120
  33. package/dist/api/models/CreateEquosAvatarRequest.d.ts +0 -56
  34. package/dist/api/models/CreateEquosAvatarRequest.js +0 -64
  35. package/dist/api/models/CreateEquosBrainRequest.d.ts +0 -56
  36. package/dist/api/models/CreateEquosBrainRequest.js +0 -64
  37. package/dist/api/models/CreateEquosCharacterRequest.d.ts +0 -80
  38. package/dist/api/models/CreateEquosCharacterRequest.js +0 -68
  39. package/dist/api/models/CreateEquosFaceRequest.d.ts +0 -46
  40. package/dist/api/models/CreateEquosFaceRequest.js +0 -60
  41. package/dist/api/models/CreateEquosSessionRequest.d.ts +0 -90
  42. package/dist/api/models/CreateEquosSessionRequest.js +0 -74
  43. package/dist/api/models/CreateEquosSessionRequestAgent.d.ts +0 -23
  44. package/dist/api/models/CreateEquosSessionRequestAgent.js +0 -57
  45. package/dist/api/models/CreateEquosSessionRequestAvatar.d.ts +0 -23
  46. package/dist/api/models/CreateEquosSessionRequestAvatar.js +0 -57
  47. package/dist/api/models/CreateEquosSessionResponse.d.ts +0 -45
  48. package/dist/api/models/CreateEquosSessionResponse.js +0 -55
  49. package/dist/api/models/CreateEquosVoiceRequest.d.ts +0 -56
  50. package/dist/api/models/CreateEquosVoiceRequest.js +0 -64
  51. package/dist/api/models/CreateSessionPassRequest.d.ts +0 -76
  52. package/dist/api/models/CreateSessionPassRequest.js +0 -72
  53. package/dist/api/models/EquosAgent.d.ts +0 -180
  54. package/dist/api/models/EquosAgent.js +0 -154
  55. package/dist/api/models/EquosAvatar.d.ts +0 -92
  56. package/dist/api/models/EquosAvatar.js +0 -84
  57. package/dist/api/models/EquosBrain.d.ts +0 -74
  58. package/dist/api/models/EquosBrain.js +0 -76
  59. package/dist/api/models/EquosCharacter.d.ts +0 -132
  60. package/dist/api/models/EquosCharacter.js +0 -98
  61. package/dist/api/models/EquosDocument.d.ts +0 -74
  62. package/dist/api/models/EquosDocument.js +0 -78
  63. package/dist/api/models/EquosFace.d.ts +0 -107
  64. package/dist/api/models/EquosFace.js +0 -89
  65. package/dist/api/models/EquosKnowledgeBase.d.ts +0 -75
  66. package/dist/api/models/EquosKnowledgeBase.js +0 -77
  67. package/dist/api/models/EquosLimitResponse.d.ts +0 -68
  68. package/dist/api/models/EquosLimitResponse.js +0 -72
  69. package/dist/api/models/EquosParticipantIdentity.d.ts +0 -38
  70. package/dist/api/models/EquosParticipantIdentity.js +0 -54
  71. package/dist/api/models/EquosResourceReference.d.ts +0 -32
  72. package/dist/api/models/EquosResourceReference.js +0 -50
  73. package/dist/api/models/EquosSession.d.ts +0 -168
  74. package/dist/api/models/EquosSession.js +0 -118
  75. package/dist/api/models/EquosSessionHost.d.ts +0 -38
  76. package/dist/api/models/EquosSessionHost.js +0 -54
  77. package/dist/api/models/EquosSessionServer.d.ts +0 -32
  78. package/dist/api/models/EquosSessionServer.js +0 -50
  79. package/dist/api/models/EquosVoice.d.ts +0 -80
  80. package/dist/api/models/EquosVoice.js +0 -80
  81. package/dist/api/models/HealthResponse.d.ts +0 -38
  82. package/dist/api/models/HealthResponse.js +0 -54
  83. package/dist/api/models/ListEquosAgentsResponse.d.ts +0 -51
  84. package/dist/api/models/ListEquosAgentsResponse.js +0 -63
  85. package/dist/api/models/ListEquosAvatarsResponse.d.ts +0 -51
  86. package/dist/api/models/ListEquosAvatarsResponse.js +0 -63
  87. package/dist/api/models/ListEquosBrainsResponse.d.ts +0 -51
  88. package/dist/api/models/ListEquosBrainsResponse.js +0 -63
  89. package/dist/api/models/ListEquosCharactersResponse.d.ts +0 -51
  90. package/dist/api/models/ListEquosCharactersResponse.js +0 -63
  91. package/dist/api/models/ListEquosFacesResponse.d.ts +0 -51
  92. package/dist/api/models/ListEquosFacesResponse.js +0 -63
  93. package/dist/api/models/ListEquosSessionsResponse.d.ts +0 -51
  94. package/dist/api/models/ListEquosSessionsResponse.js +0 -63
  95. package/dist/api/models/ListEquosVoicesResponse.d.ts +0 -51
  96. package/dist/api/models/ListEquosVoicesResponse.js +0 -63
  97. package/dist/api/models/UpdateEquosAgentRequest.d.ts +0 -156
  98. package/dist/api/models/UpdateEquosAgentRequest.js +0 -128
  99. package/dist/api/models/UpdateEquosAvatarRequest.d.ts +0 -68
  100. package/dist/api/models/UpdateEquosAvatarRequest.js +0 -72
  101. package/dist/api/models/UpdateEquosCharacterRequest.d.ts +0 -68
  102. package/dist/api/models/UpdateEquosCharacterRequest.js +0 -60
  103. package/dist/api/models/index.d.ts +0 -36
  104. package/dist/api/models/index.js +0 -54
  105. package/dist/api/runtime.d.ts +0 -184
  106. package/dist/api/runtime.js +0 -349
  107. package/dist/client.d.ts +0 -38
  108. package/dist/client.js +0 -62
  109. package/dist/options.d.ts +0 -7
  110. package/dist/options.js +0 -2
@@ -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;
@@ -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.instanceOfHealthResponse = instanceOfHealthResponse;
17
- exports.HealthResponseFromJSON = HealthResponseFromJSON;
18
- exports.HealthResponseFromJSONTyped = HealthResponseFromJSONTyped;
19
- exports.HealthResponseToJSON = HealthResponseToJSON;
20
- exports.HealthResponseToJSONTyped = HealthResponseToJSONTyped;
21
- /**
22
- * Check if a given object implements the HealthResponse interface.
23
- */
24
- function instanceOfHealthResponse(value) {
25
- if (!('status' in value) || value['status'] === undefined)
26
- return false;
27
- if (!('version' in value) || value['version'] === undefined)
28
- return false;
29
- return true;
30
- }
31
- function HealthResponseFromJSON(json) {
32
- return HealthResponseFromJSONTyped(json, false);
33
- }
34
- function HealthResponseFromJSONTyped(json, ignoreDiscriminator) {
35
- if (json == null) {
36
- return json;
37
- }
38
- return {
39
- 'status': json['status'],
40
- 'version': json['version'],
41
- };
42
- }
43
- function HealthResponseToJSON(json) {
44
- return HealthResponseToJSONTyped(json, false);
45
- }
46
- function HealthResponseToJSONTyped(value, ignoreDiscriminator = false) {
47
- if (value == null) {
48
- return value;
49
- }
50
- return {
51
- 'status': value['status'],
52
- 'version': value['version'],
53
- };
54
- }
@@ -1,51 +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 { EquosAgent } from './EquosAgent';
13
- /**
14
- *
15
- * @export
16
- * @interface ListEquosAgentsResponse
17
- */
18
- export interface ListEquosAgentsResponse {
19
- /**
20
- *
21
- * @type {number}
22
- * @memberof ListEquosAgentsResponse
23
- */
24
- skip: number;
25
- /**
26
- *
27
- * @type {number}
28
- * @memberof ListEquosAgentsResponse
29
- */
30
- take: number;
31
- /**
32
- *
33
- * @type {number}
34
- * @memberof ListEquosAgentsResponse
35
- */
36
- total: number;
37
- /**
38
- *
39
- * @type {Array<EquosAgent>}
40
- * @memberof ListEquosAgentsResponse
41
- */
42
- agents: Array<EquosAgent>;
43
- }
44
- /**
45
- * Check if a given object implements the ListEquosAgentsResponse interface.
46
- */
47
- export declare function instanceOfListEquosAgentsResponse(value: object): value is ListEquosAgentsResponse;
48
- export declare function ListEquosAgentsResponseFromJSON(json: any): ListEquosAgentsResponse;
49
- export declare function ListEquosAgentsResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ListEquosAgentsResponse;
50
- export declare function ListEquosAgentsResponseToJSON(json: any): ListEquosAgentsResponse;
51
- export declare function ListEquosAgentsResponseToJSONTyped(value?: ListEquosAgentsResponse | null, ignoreDiscriminator?: boolean): any;
@@ -1,63 +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.instanceOfListEquosAgentsResponse = instanceOfListEquosAgentsResponse;
17
- exports.ListEquosAgentsResponseFromJSON = ListEquosAgentsResponseFromJSON;
18
- exports.ListEquosAgentsResponseFromJSONTyped = ListEquosAgentsResponseFromJSONTyped;
19
- exports.ListEquosAgentsResponseToJSON = ListEquosAgentsResponseToJSON;
20
- exports.ListEquosAgentsResponseToJSONTyped = ListEquosAgentsResponseToJSONTyped;
21
- const EquosAgent_1 = require("./EquosAgent");
22
- /**
23
- * Check if a given object implements the ListEquosAgentsResponse interface.
24
- */
25
- function instanceOfListEquosAgentsResponse(value) {
26
- if (!('skip' in value) || value['skip'] === undefined)
27
- return false;
28
- if (!('take' in value) || value['take'] === undefined)
29
- return false;
30
- if (!('total' in value) || value['total'] === undefined)
31
- return false;
32
- if (!('agents' in value) || value['agents'] === undefined)
33
- return false;
34
- return true;
35
- }
36
- function ListEquosAgentsResponseFromJSON(json) {
37
- return ListEquosAgentsResponseFromJSONTyped(json, false);
38
- }
39
- function ListEquosAgentsResponseFromJSONTyped(json, ignoreDiscriminator) {
40
- if (json == null) {
41
- return json;
42
- }
43
- return {
44
- 'skip': json['skip'],
45
- 'take': json['take'],
46
- 'total': json['total'],
47
- 'agents': (json['agents'].map(EquosAgent_1.EquosAgentFromJSON)),
48
- };
49
- }
50
- function ListEquosAgentsResponseToJSON(json) {
51
- return ListEquosAgentsResponseToJSONTyped(json, false);
52
- }
53
- function ListEquosAgentsResponseToJSONTyped(value, ignoreDiscriminator = false) {
54
- if (value == null) {
55
- return value;
56
- }
57
- return {
58
- 'skip': value['skip'],
59
- 'take': value['take'],
60
- 'total': value['total'],
61
- 'agents': (value['agents'].map(EquosAgent_1.EquosAgentToJSON)),
62
- };
63
- }