@equos/node-sdk 3.0.2-rc.9 → 3.1.1-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 (127) hide show
  1. package/dist/client.d.ts +3 -5
  2. package/dist/client.js +12 -17
  3. package/dist/index.d.ts +1 -2
  4. package/dist/index.js +1 -2
  5. package/package.json +3 -4
  6. package/dist/api/apis/AgentApi.d.ts +0 -86
  7. package/dist/api/apis/AgentApi.js +0 -223
  8. package/dist/api/apis/AvatarApi.d.ts +0 -86
  9. package/dist/api/apis/AvatarApi.js +0 -223
  10. package/dist/api/apis/BrainApi.d.ts +0 -64
  11. package/dist/api/apis/BrainApi.js +0 -179
  12. package/dist/api/apis/CharacterApi.d.ts +0 -76
  13. package/dist/api/apis/CharacterApi.js +0 -213
  14. package/dist/api/apis/ConversationApi.d.ts +0 -64
  15. package/dist/api/apis/ConversationApi.js +0 -179
  16. package/dist/api/apis/FaceApi.d.ts +0 -64
  17. package/dist/api/apis/FaceApi.js +0 -179
  18. package/dist/api/apis/HealthApi.d.ts +0 -26
  19. package/dist/api/apis/HealthApi.js +0 -79
  20. package/dist/api/apis/KnowledgeBaseApi.d.ts +0 -100
  21. package/dist/api/apis/KnowledgeBaseApi.js +0 -279
  22. package/dist/api/apis/SessionPassesApi.d.ts +0 -44
  23. package/dist/api/apis/SessionPassesApi.js +0 -128
  24. package/dist/api/apis/SessionsApi.d.ts +0 -72
  25. package/dist/api/apis/SessionsApi.js +0 -187
  26. package/dist/api/apis/VoiceApi.d.ts +0 -64
  27. package/dist/api/apis/VoiceApi.js +0 -179
  28. package/dist/api/apis/index.d.ts +0 -11
  29. package/dist/api/apis/index.js +0 -29
  30. package/dist/api/index.d.ts +0 -3
  31. package/dist/api/index.js +0 -21
  32. package/dist/api/models/CreateDocumentRequest.d.ts +0 -44
  33. package/dist/api/models/CreateDocumentRequest.js +0 -58
  34. package/dist/api/models/CreateDocumentResponse.d.ts +0 -45
  35. package/dist/api/models/CreateDocumentResponse.js +0 -59
  36. package/dist/api/models/CreateEquosAgentRequest.d.ts +0 -144
  37. package/dist/api/models/CreateEquosAgentRequest.js +0 -120
  38. package/dist/api/models/CreateEquosAvatarRequest.d.ts +0 -56
  39. package/dist/api/models/CreateEquosAvatarRequest.js +0 -64
  40. package/dist/api/models/CreateEquosBrainRequest.d.ts +0 -50
  41. package/dist/api/models/CreateEquosBrainRequest.js +0 -60
  42. package/dist/api/models/CreateEquosCharacterRequest.d.ts +0 -80
  43. package/dist/api/models/CreateEquosCharacterRequest.js +0 -68
  44. package/dist/api/models/CreateEquosConversationRequest.d.ts +0 -84
  45. package/dist/api/models/CreateEquosConversationRequest.js +0 -70
  46. package/dist/api/models/CreateEquosConversationResponse.d.ts +0 -45
  47. package/dist/api/models/CreateEquosConversationResponse.js +0 -55
  48. package/dist/api/models/CreateEquosFaceRequest.d.ts +0 -53
  49. package/dist/api/models/CreateEquosFaceRequest.js +0 -67
  50. package/dist/api/models/CreateEquosSessionRequest.d.ts +0 -90
  51. package/dist/api/models/CreateEquosSessionRequest.js +0 -74
  52. package/dist/api/models/CreateEquosSessionRequestAgent.d.ts +0 -23
  53. package/dist/api/models/CreateEquosSessionRequestAgent.js +0 -57
  54. package/dist/api/models/CreateEquosSessionRequestAvatar.d.ts +0 -23
  55. package/dist/api/models/CreateEquosSessionRequestAvatar.js +0 -57
  56. package/dist/api/models/CreateEquosSessionResponse.d.ts +0 -45
  57. package/dist/api/models/CreateEquosSessionResponse.js +0 -55
  58. package/dist/api/models/CreateEquosVoiceRequest.d.ts +0 -80
  59. package/dist/api/models/CreateEquosVoiceRequest.js +0 -90
  60. package/dist/api/models/CreateKnowledgeBaseRequest.d.ts +0 -44
  61. package/dist/api/models/CreateKnowledgeBaseRequest.js +0 -56
  62. package/dist/api/models/CreateSessionPassRequest.d.ts +0 -76
  63. package/dist/api/models/CreateSessionPassRequest.js +0 -72
  64. package/dist/api/models/EquosAgent.d.ts +0 -180
  65. package/dist/api/models/EquosAgent.js +0 -154
  66. package/dist/api/models/EquosAvatar.d.ts +0 -92
  67. package/dist/api/models/EquosAvatar.js +0 -84
  68. package/dist/api/models/EquosBrain.d.ts +0 -68
  69. package/dist/api/models/EquosBrain.js +0 -72
  70. package/dist/api/models/EquosCharacter.d.ts +0 -132
  71. package/dist/api/models/EquosCharacter.js +0 -98
  72. package/dist/api/models/EquosConversation.d.ts +0 -177
  73. package/dist/api/models/EquosConversation.js +0 -129
  74. package/dist/api/models/EquosConversationHost.d.ts +0 -38
  75. package/dist/api/models/EquosConversationHost.js +0 -54
  76. package/dist/api/models/EquosConversationTranscriptMessage.d.ts +0 -58
  77. package/dist/api/models/EquosConversationTranscriptMessage.js +0 -70
  78. package/dist/api/models/EquosDocument.d.ts +0 -74
  79. package/dist/api/models/EquosDocument.js +0 -78
  80. package/dist/api/models/EquosFace.d.ts +0 -95
  81. package/dist/api/models/EquosFace.js +0 -89
  82. package/dist/api/models/EquosKnowledgeBase.d.ts +0 -75
  83. package/dist/api/models/EquosKnowledgeBase.js +0 -77
  84. package/dist/api/models/EquosParticipantIdentity.d.ts +0 -38
  85. package/dist/api/models/EquosParticipantIdentity.js +0 -54
  86. package/dist/api/models/EquosResourceReference.d.ts +0 -32
  87. package/dist/api/models/EquosResourceReference.js +0 -50
  88. package/dist/api/models/EquosSession.d.ts +0 -168
  89. package/dist/api/models/EquosSession.js +0 -118
  90. package/dist/api/models/EquosSessionHost.d.ts +0 -38
  91. package/dist/api/models/EquosSessionHost.js +0 -54
  92. package/dist/api/models/EquosSessionServer.d.ts +0 -32
  93. package/dist/api/models/EquosSessionServer.js +0 -50
  94. package/dist/api/models/EquosVoice.d.ts +0 -104
  95. package/dist/api/models/EquosVoice.js +0 -106
  96. package/dist/api/models/HealthResponse.d.ts +0 -38
  97. package/dist/api/models/HealthResponse.js +0 -54
  98. package/dist/api/models/ListEquosAgentsResponse.d.ts +0 -51
  99. package/dist/api/models/ListEquosAgentsResponse.js +0 -63
  100. package/dist/api/models/ListEquosAvatarsResponse.d.ts +0 -51
  101. package/dist/api/models/ListEquosAvatarsResponse.js +0 -63
  102. package/dist/api/models/ListEquosBrainsResponse.d.ts +0 -51
  103. package/dist/api/models/ListEquosBrainsResponse.js +0 -63
  104. package/dist/api/models/ListEquosCharactersResponse.d.ts +0 -51
  105. package/dist/api/models/ListEquosCharactersResponse.js +0 -63
  106. package/dist/api/models/ListEquosConversationsResponse.d.ts +0 -51
  107. package/dist/api/models/ListEquosConversationsResponse.js +0 -63
  108. package/dist/api/models/ListEquosFacesResponse.d.ts +0 -51
  109. package/dist/api/models/ListEquosFacesResponse.js +0 -63
  110. package/dist/api/models/ListEquosKnowledgeBasesResponse.d.ts +0 -51
  111. package/dist/api/models/ListEquosKnowledgeBasesResponse.js +0 -63
  112. package/dist/api/models/ListEquosSessionsResponse.d.ts +0 -51
  113. package/dist/api/models/ListEquosSessionsResponse.js +0 -63
  114. package/dist/api/models/ListEquosVoicesResponse.d.ts +0 -51
  115. package/dist/api/models/ListEquosVoicesResponse.js +0 -63
  116. package/dist/api/models/UpdateEquosAgentRequest.d.ts +0 -156
  117. package/dist/api/models/UpdateEquosAgentRequest.js +0 -128
  118. package/dist/api/models/UpdateEquosAvatarRequest.d.ts +0 -68
  119. package/dist/api/models/UpdateEquosAvatarRequest.js +0 -72
  120. package/dist/api/models/UpdateEquosCharacterRequest.d.ts +0 -68
  121. package/dist/api/models/UpdateEquosCharacterRequest.js +0 -60
  122. package/dist/api/models/index.d.ts +0 -45
  123. package/dist/api/models/index.js +0 -63
  124. package/dist/api/runtime.d.ts +0 -184
  125. package/dist/api/runtime.js +0 -349
  126. package/dist/options.d.ts +0 -7
  127. package/dist/options.js +0 -2
@@ -1,84 +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.instanceOfEquosAvatar = instanceOfEquosAvatar;
17
- exports.EquosAvatarFromJSON = EquosAvatarFromJSON;
18
- exports.EquosAvatarFromJSONTyped = EquosAvatarFromJSONTyped;
19
- exports.EquosAvatarToJSON = EquosAvatarToJSON;
20
- exports.EquosAvatarToJSONTyped = EquosAvatarToJSONTyped;
21
- /**
22
- * Check if a given object implements the EquosAvatar interface.
23
- */
24
- function instanceOfEquosAvatar(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 (!('identity' in value) || value['identity'] === undefined)
30
- return false;
31
- if (!('name' in value) || value['name'] === undefined)
32
- return false;
33
- if (!('description' in value) || value['description'] === undefined)
34
- return false;
35
- if (!('thumbnailUrl' in value) || value['thumbnailUrl'] === 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 EquosAvatarFromJSON(json) {
44
- return EquosAvatarFromJSONTyped(json, false);
45
- }
46
- function EquosAvatarFromJSONTyped(json, ignoreDiscriminator) {
47
- if (json == null) {
48
- return json;
49
- }
50
- return {
51
- 'id': json['id'],
52
- 'organizationId': json['organizationId'],
53
- 'identity': json['identity'],
54
- 'name': json['name'],
55
- 'description': json['description'],
56
- 'client': json['client'] == null ? undefined : json['client'],
57
- 'thumbnailUrl': json['thumbnailUrl'],
58
- 'agentId': json['agentId'] == null ? undefined : json['agentId'],
59
- 'agent': json['agent'] == null ? undefined : json['agent'],
60
- 'createdAt': (new Date(json['createdAt'])),
61
- 'updatedAt': (new Date(json['updatedAt'])),
62
- };
63
- }
64
- function EquosAvatarToJSON(json) {
65
- return EquosAvatarToJSONTyped(json, false);
66
- }
67
- function EquosAvatarToJSONTyped(value, ignoreDiscriminator = false) {
68
- if (value == null) {
69
- return value;
70
- }
71
- return {
72
- 'id': value['id'],
73
- 'organizationId': value['organizationId'],
74
- 'identity': value['identity'],
75
- 'name': value['name'],
76
- 'description': value['description'],
77
- 'client': value['client'],
78
- 'thumbnailUrl': value['thumbnailUrl'],
79
- 'agentId': value['agentId'],
80
- 'agent': value['agent'],
81
- 'createdAt': value['createdAt'].toISOString(),
82
- 'updatedAt': value['updatedAt'].toISOString(),
83
- };
84
- }
@@ -1,68 +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 EquosBrain
16
- */
17
- export interface EquosBrain {
18
- /**
19
- *
20
- * @type {string}
21
- * @memberof EquosBrain
22
- */
23
- id: string;
24
- /**
25
- *
26
- * @type {string}
27
- * @memberof EquosBrain
28
- */
29
- organizationId: string;
30
- /**
31
- *
32
- * @type {string}
33
- * @memberof EquosBrain
34
- */
35
- client?: string | null;
36
- /**
37
- *
38
- * @type {string}
39
- * @memberof EquosBrain
40
- */
41
- instructions: string;
42
- /**
43
- *
44
- * @type {string}
45
- * @memberof EquosBrain
46
- */
47
- greetingMessage: string;
48
- /**
49
- *
50
- * @type {Date}
51
- * @memberof EquosBrain
52
- */
53
- createdAt: Date;
54
- /**
55
- *
56
- * @type {Date}
57
- * @memberof EquosBrain
58
- */
59
- updatedAt: Date;
60
- }
61
- /**
62
- * Check if a given object implements the EquosBrain interface.
63
- */
64
- export declare function instanceOfEquosBrain(value: object): value is EquosBrain;
65
- export declare function EquosBrainFromJSON(json: any): EquosBrain;
66
- export declare function EquosBrainFromJSONTyped(json: any, ignoreDiscriminator: boolean): EquosBrain;
67
- export declare function EquosBrainToJSON(json: any): EquosBrain;
68
- export declare function EquosBrainToJSONTyped(value?: EquosBrain | null, ignoreDiscriminator?: boolean): any;
@@ -1,72 +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.instanceOfEquosBrain = instanceOfEquosBrain;
17
- exports.EquosBrainFromJSON = EquosBrainFromJSON;
18
- exports.EquosBrainFromJSONTyped = EquosBrainFromJSONTyped;
19
- exports.EquosBrainToJSON = EquosBrainToJSON;
20
- exports.EquosBrainToJSONTyped = EquosBrainToJSONTyped;
21
- /**
22
- * Check if a given object implements the EquosBrain interface.
23
- */
24
- function instanceOfEquosBrain(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 (!('instructions' in value) || value['instructions'] === undefined)
30
- return false;
31
- if (!('greetingMessage' in value) || value['greetingMessage'] === undefined)
32
- return false;
33
- if (!('createdAt' in value) || value['createdAt'] === undefined)
34
- return false;
35
- if (!('updatedAt' in value) || value['updatedAt'] === undefined)
36
- return false;
37
- return true;
38
- }
39
- function EquosBrainFromJSON(json) {
40
- return EquosBrainFromJSONTyped(json, false);
41
- }
42
- function EquosBrainFromJSONTyped(json, ignoreDiscriminator) {
43
- if (json == null) {
44
- return json;
45
- }
46
- return {
47
- 'id': json['id'],
48
- 'organizationId': json['organizationId'],
49
- 'client': json['client'] == null ? undefined : json['client'],
50
- 'instructions': json['instructions'],
51
- 'greetingMessage': json['greetingMessage'],
52
- 'createdAt': (new Date(json['createdAt'])),
53
- 'updatedAt': (new Date(json['updatedAt'])),
54
- };
55
- }
56
- function EquosBrainToJSON(json) {
57
- return EquosBrainToJSONTyped(json, false);
58
- }
59
- function EquosBrainToJSONTyped(value, ignoreDiscriminator = false) {
60
- if (value == null) {
61
- return value;
62
- }
63
- return {
64
- 'id': value['id'],
65
- 'organizationId': value['organizationId'],
66
- 'client': value['client'],
67
- 'instructions': value['instructions'],
68
- 'greetingMessage': value['greetingMessage'],
69
- 'createdAt': value['createdAt'].toISOString(),
70
- 'updatedAt': value['updatedAt'].toISOString(),
71
- };
72
- }
@@ -1,132 +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 { EquosFace } from './EquosFace';
13
- import type { EquosKnowledgeBase } from './EquosKnowledgeBase';
14
- import type { EquosBrain } from './EquosBrain';
15
- import type { EquosVoice } from './EquosVoice';
16
- /**
17
- *
18
- * @export
19
- * @interface EquosCharacter
20
- */
21
- export interface EquosCharacter {
22
- /**
23
- *
24
- * @type {string}
25
- * @memberof EquosCharacter
26
- */
27
- id: string;
28
- /**
29
- *
30
- * @type {string}
31
- * @memberof EquosCharacter
32
- */
33
- organizationId: string;
34
- /**
35
- *
36
- * @type {string}
37
- * @memberof EquosCharacter
38
- */
39
- client?: string | null;
40
- /**
41
- *
42
- * @type {string}
43
- * @memberof EquosCharacter
44
- */
45
- name: string;
46
- /**
47
- *
48
- * @type {string}
49
- * @memberof EquosCharacter
50
- */
51
- livekitIdentity: string;
52
- /**
53
- *
54
- * @type {boolean}
55
- * @memberof EquosCharacter
56
- */
57
- search: boolean;
58
- /**
59
- *
60
- * @type {string}
61
- * @memberof EquosCharacter
62
- */
63
- elevenlabsAgentId?: string | null;
64
- /**
65
- *
66
- * @type {string}
67
- * @memberof EquosCharacter
68
- */
69
- faceId?: string | null;
70
- /**
71
- *
72
- * @type {string}
73
- * @memberof EquosCharacter
74
- */
75
- voiceId?: string | null;
76
- /**
77
- *
78
- * @type {string}
79
- * @memberof EquosCharacter
80
- */
81
- brainId?: string | null;
82
- /**
83
- *
84
- * @type {string}
85
- * @memberof EquosCharacter
86
- */
87
- knowledgeBaseId?: string | null;
88
- /**
89
- *
90
- * @type {EquosFace}
91
- * @memberof EquosCharacter
92
- */
93
- face?: EquosFace | null;
94
- /**
95
- *
96
- * @type {EquosVoice}
97
- * @memberof EquosCharacter
98
- */
99
- voice?: EquosVoice | null;
100
- /**
101
- *
102
- * @type {EquosBrain}
103
- * @memberof EquosCharacter
104
- */
105
- brain?: EquosBrain | null;
106
- /**
107
- *
108
- * @type {EquosKnowledgeBase}
109
- * @memberof EquosCharacter
110
- */
111
- knowledgeBase?: EquosKnowledgeBase | null;
112
- /**
113
- *
114
- * @type {Date}
115
- * @memberof EquosCharacter
116
- */
117
- createdAt: Date;
118
- /**
119
- *
120
- * @type {Date}
121
- * @memberof EquosCharacter
122
- */
123
- updatedAt: Date;
124
- }
125
- /**
126
- * Check if a given object implements the EquosCharacter interface.
127
- */
128
- export declare function instanceOfEquosCharacter(value: object): value is EquosCharacter;
129
- export declare function EquosCharacterFromJSON(json: any): EquosCharacter;
130
- export declare function EquosCharacterFromJSONTyped(json: any, ignoreDiscriminator: boolean): EquosCharacter;
131
- export declare function EquosCharacterToJSON(json: any): EquosCharacter;
132
- export declare function EquosCharacterToJSONTyped(value?: EquosCharacter | null, ignoreDiscriminator?: boolean): any;
@@ -1,98 +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.instanceOfEquosCharacter = instanceOfEquosCharacter;
17
- exports.EquosCharacterFromJSON = EquosCharacterFromJSON;
18
- exports.EquosCharacterFromJSONTyped = EquosCharacterFromJSONTyped;
19
- exports.EquosCharacterToJSON = EquosCharacterToJSON;
20
- exports.EquosCharacterToJSONTyped = EquosCharacterToJSONTyped;
21
- const EquosFace_1 = require("./EquosFace");
22
- const EquosKnowledgeBase_1 = require("./EquosKnowledgeBase");
23
- const EquosBrain_1 = require("./EquosBrain");
24
- const EquosVoice_1 = require("./EquosVoice");
25
- /**
26
- * Check if a given object implements the EquosCharacter interface.
27
- */
28
- function instanceOfEquosCharacter(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 (!('name' in value) || value['name'] === undefined)
34
- return false;
35
- if (!('livekitIdentity' in value) || value['livekitIdentity'] === undefined)
36
- return false;
37
- if (!('search' in value) || value['search'] === undefined)
38
- return false;
39
- if (!('createdAt' in value) || value['createdAt'] === undefined)
40
- return false;
41
- if (!('updatedAt' in value) || value['updatedAt'] === undefined)
42
- return false;
43
- return true;
44
- }
45
- function EquosCharacterFromJSON(json) {
46
- return EquosCharacterFromJSONTyped(json, false);
47
- }
48
- function EquosCharacterFromJSONTyped(json, ignoreDiscriminator) {
49
- if (json == null) {
50
- return json;
51
- }
52
- return {
53
- 'id': json['id'],
54
- 'organizationId': json['organizationId'],
55
- 'client': json['client'] == null ? undefined : json['client'],
56
- 'name': json['name'],
57
- 'livekitIdentity': json['livekitIdentity'],
58
- 'search': json['search'],
59
- 'elevenlabsAgentId': json['elevenlabsAgentId'] == null ? undefined : json['elevenlabsAgentId'],
60
- 'faceId': json['faceId'] == null ? undefined : json['faceId'],
61
- 'voiceId': json['voiceId'] == null ? undefined : json['voiceId'],
62
- 'brainId': json['brainId'] == null ? undefined : json['brainId'],
63
- 'knowledgeBaseId': json['knowledgeBaseId'] == null ? undefined : json['knowledgeBaseId'],
64
- 'face': json['face'] == null ? undefined : (0, EquosFace_1.EquosFaceFromJSON)(json['face']),
65
- 'voice': json['voice'] == null ? undefined : (0, EquosVoice_1.EquosVoiceFromJSON)(json['voice']),
66
- 'brain': json['brain'] == null ? undefined : (0, EquosBrain_1.EquosBrainFromJSON)(json['brain']),
67
- 'knowledgeBase': json['knowledgeBase'] == null ? undefined : (0, EquosKnowledgeBase_1.EquosKnowledgeBaseFromJSON)(json['knowledgeBase']),
68
- 'createdAt': (new Date(json['createdAt'])),
69
- 'updatedAt': (new Date(json['updatedAt'])),
70
- };
71
- }
72
- function EquosCharacterToJSON(json) {
73
- return EquosCharacterToJSONTyped(json, false);
74
- }
75
- function EquosCharacterToJSONTyped(value, ignoreDiscriminator = false) {
76
- if (value == null) {
77
- return value;
78
- }
79
- return {
80
- 'id': value['id'],
81
- 'organizationId': value['organizationId'],
82
- 'client': value['client'],
83
- 'name': value['name'],
84
- 'livekitIdentity': value['livekitIdentity'],
85
- 'search': value['search'],
86
- 'elevenlabsAgentId': value['elevenlabsAgentId'],
87
- 'faceId': value['faceId'],
88
- 'voiceId': value['voiceId'],
89
- 'brainId': value['brainId'],
90
- 'knowledgeBaseId': value['knowledgeBaseId'],
91
- 'face': (0, EquosFace_1.EquosFaceToJSON)(value['face']),
92
- 'voice': (0, EquosVoice_1.EquosVoiceToJSON)(value['voice']),
93
- 'brain': (0, EquosBrain_1.EquosBrainToJSON)(value['brain']),
94
- 'knowledgeBase': (0, EquosKnowledgeBase_1.EquosKnowledgeBaseToJSON)(value['knowledgeBase']),
95
- 'createdAt': value['createdAt'].toISOString(),
96
- 'updatedAt': value['updatedAt'].toISOString(),
97
- };
98
- }
@@ -1,177 +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 { 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;