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

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/client.d.ts +2 -6
  2. package/dist/client.js +10 -19
  3. package/dist/index.d.ts +1 -2
  4. package/dist/index.js +1 -4
  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/FaceApi.d.ts +0 -64
  15. package/dist/api/apis/FaceApi.js +0 -179
  16. package/dist/api/apis/HealthApi.d.ts +0 -26
  17. package/dist/api/apis/HealthApi.js +0 -79
  18. package/dist/api/apis/KnowledgeBaseApi.d.ts +0 -100
  19. package/dist/api/apis/KnowledgeBaseApi.js +0 -279
  20. package/dist/api/apis/LimitsApi.d.ts +0 -26
  21. package/dist/api/apis/LimitsApi.js +0 -82
  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 -33
  35. package/dist/api/models/CreateDocumentResponse.js +0 -51
  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 -56
  41. package/dist/api/models/CreateEquosBrainRequest.js +0 -64
  42. package/dist/api/models/CreateEquosCharacterRequest.d.ts +0 -80
  43. package/dist/api/models/CreateEquosCharacterRequest.js +0 -68
  44. package/dist/api/models/CreateEquosFaceRequest.d.ts +0 -46
  45. package/dist/api/models/CreateEquosFaceRequest.js +0 -60
  46. package/dist/api/models/CreateEquosSessionRequest.d.ts +0 -90
  47. package/dist/api/models/CreateEquosSessionRequest.js +0 -74
  48. package/dist/api/models/CreateEquosSessionRequestAgent.d.ts +0 -23
  49. package/dist/api/models/CreateEquosSessionRequestAgent.js +0 -57
  50. package/dist/api/models/CreateEquosSessionRequestAvatar.d.ts +0 -23
  51. package/dist/api/models/CreateEquosSessionRequestAvatar.js +0 -57
  52. package/dist/api/models/CreateEquosSessionResponse.d.ts +0 -45
  53. package/dist/api/models/CreateEquosSessionResponse.js +0 -55
  54. package/dist/api/models/CreateEquosVoiceRequest.d.ts +0 -56
  55. package/dist/api/models/CreateEquosVoiceRequest.js +0 -64
  56. package/dist/api/models/CreateKnowledgeBaseRequest.d.ts +0 -44
  57. package/dist/api/models/CreateKnowledgeBaseRequest.js +0 -56
  58. package/dist/api/models/CreateSessionPassRequest.d.ts +0 -76
  59. package/dist/api/models/CreateSessionPassRequest.js +0 -72
  60. package/dist/api/models/EquosAgent.d.ts +0 -180
  61. package/dist/api/models/EquosAgent.js +0 -154
  62. package/dist/api/models/EquosAvatar.d.ts +0 -92
  63. package/dist/api/models/EquosAvatar.js +0 -84
  64. package/dist/api/models/EquosBrain.d.ts +0 -74
  65. package/dist/api/models/EquosBrain.js +0 -76
  66. package/dist/api/models/EquosCharacter.d.ts +0 -132
  67. package/dist/api/models/EquosCharacter.js +0 -98
  68. package/dist/api/models/EquosDocument.d.ts +0 -74
  69. package/dist/api/models/EquosDocument.js +0 -78
  70. package/dist/api/models/EquosFace.d.ts +0 -107
  71. package/dist/api/models/EquosFace.js +0 -89
  72. package/dist/api/models/EquosKnowledgeBase.d.ts +0 -75
  73. package/dist/api/models/EquosKnowledgeBase.js +0 -77
  74. package/dist/api/models/EquosLimitResponse.d.ts +0 -68
  75. package/dist/api/models/EquosLimitResponse.js +0 -72
  76. package/dist/api/models/EquosParticipantIdentity.d.ts +0 -38
  77. package/dist/api/models/EquosParticipantIdentity.js +0 -54
  78. package/dist/api/models/EquosResourceReference.d.ts +0 -32
  79. package/dist/api/models/EquosResourceReference.js +0 -50
  80. package/dist/api/models/EquosSession.d.ts +0 -168
  81. package/dist/api/models/EquosSession.js +0 -118
  82. package/dist/api/models/EquosSessionHost.d.ts +0 -38
  83. package/dist/api/models/EquosSessionHost.js +0 -54
  84. package/dist/api/models/EquosSessionServer.d.ts +0 -32
  85. package/dist/api/models/EquosSessionServer.js +0 -50
  86. package/dist/api/models/EquosVoice.d.ts +0 -80
  87. package/dist/api/models/EquosVoice.js +0 -80
  88. package/dist/api/models/HealthResponse.d.ts +0 -38
  89. package/dist/api/models/HealthResponse.js +0 -54
  90. package/dist/api/models/ListEquosAgentsResponse.d.ts +0 -51
  91. package/dist/api/models/ListEquosAgentsResponse.js +0 -63
  92. package/dist/api/models/ListEquosAvatarsResponse.d.ts +0 -51
  93. package/dist/api/models/ListEquosAvatarsResponse.js +0 -63
  94. package/dist/api/models/ListEquosBrainsResponse.d.ts +0 -51
  95. package/dist/api/models/ListEquosBrainsResponse.js +0 -63
  96. package/dist/api/models/ListEquosCharactersResponse.d.ts +0 -51
  97. package/dist/api/models/ListEquosCharactersResponse.js +0 -63
  98. package/dist/api/models/ListEquosFacesResponse.d.ts +0 -51
  99. package/dist/api/models/ListEquosFacesResponse.js +0 -63
  100. package/dist/api/models/ListEquosKnowledgeBasesResponse.d.ts +0 -51
  101. package/dist/api/models/ListEquosKnowledgeBasesResponse.js +0 -63
  102. package/dist/api/models/ListEquosSessionsResponse.d.ts +0 -51
  103. package/dist/api/models/ListEquosSessionsResponse.js +0 -63
  104. package/dist/api/models/ListEquosVoicesResponse.d.ts +0 -51
  105. package/dist/api/models/ListEquosVoicesResponse.js +0 -63
  106. package/dist/api/models/UpdateEquosAgentRequest.d.ts +0 -156
  107. package/dist/api/models/UpdateEquosAgentRequest.js +0 -128
  108. package/dist/api/models/UpdateEquosAvatarRequest.d.ts +0 -68
  109. package/dist/api/models/UpdateEquosAvatarRequest.js +0 -72
  110. package/dist/api/models/UpdateEquosCharacterRequest.d.ts +0 -68
  111. package/dist/api/models/UpdateEquosCharacterRequest.js +0 -60
  112. package/dist/api/models/index.d.ts +0 -40
  113. package/dist/api/models/index.js +0 -58
  114. package/dist/api/runtime.d.ts +0 -184
  115. package/dist/api/runtime.js +0 -349
  116. package/dist/options.d.ts +0 -7
  117. package/dist/options.js +0 -2
@@ -1,92 +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 EquosAvatar
16
- */
17
- export interface EquosAvatar {
18
- /**
19
- *
20
- * @type {string}
21
- * @memberof EquosAvatar
22
- */
23
- id: string;
24
- /**
25
- *
26
- * @type {string}
27
- * @memberof EquosAvatar
28
- */
29
- organizationId: string;
30
- /**
31
- *
32
- * @type {string}
33
- * @memberof EquosAvatar
34
- */
35
- identity: string;
36
- /**
37
- *
38
- * @type {string}
39
- * @memberof EquosAvatar
40
- */
41
- name: string;
42
- /**
43
- *
44
- * @type {string}
45
- * @memberof EquosAvatar
46
- */
47
- description: string;
48
- /**
49
- *
50
- * @type {string}
51
- * @memberof EquosAvatar
52
- */
53
- client?: string;
54
- /**
55
- *
56
- * @type {string}
57
- * @memberof EquosAvatar
58
- */
59
- thumbnailUrl: string;
60
- /**
61
- *
62
- * @type {object}
63
- * @memberof EquosAvatar
64
- */
65
- agentId?: object;
66
- /**
67
- *
68
- * @type {object}
69
- * @memberof EquosAvatar
70
- */
71
- agent?: object;
72
- /**
73
- *
74
- * @type {Date}
75
- * @memberof EquosAvatar
76
- */
77
- createdAt: Date;
78
- /**
79
- *
80
- * @type {Date}
81
- * @memberof EquosAvatar
82
- */
83
- updatedAt: Date;
84
- }
85
- /**
86
- * Check if a given object implements the EquosAvatar interface.
87
- */
88
- export declare function instanceOfEquosAvatar(value: object): value is EquosAvatar;
89
- export declare function EquosAvatarFromJSON(json: any): EquosAvatar;
90
- export declare function EquosAvatarFromJSONTyped(json: any, ignoreDiscriminator: boolean): EquosAvatar;
91
- export declare function EquosAvatarToJSON(json: any): EquosAvatar;
92
- export declare function EquosAvatarToJSONTyped(value?: EquosAvatar | null, ignoreDiscriminator?: boolean): any;
@@ -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,74 +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 {object}
33
- * @memberof EquosBrain
34
- */
35
- client?: object | null;
36
- /**
37
- *
38
- * @type {string}
39
- * @memberof EquosBrain
40
- */
41
- name: string;
42
- /**
43
- *
44
- * @type {string}
45
- * @memberof EquosBrain
46
- */
47
- instructions: string;
48
- /**
49
- *
50
- * @type {string}
51
- * @memberof EquosBrain
52
- */
53
- greetingMessage: string;
54
- /**
55
- *
56
- * @type {Date}
57
- * @memberof EquosBrain
58
- */
59
- createdAt: Date;
60
- /**
61
- *
62
- * @type {Date}
63
- * @memberof EquosBrain
64
- */
65
- updatedAt: Date;
66
- }
67
- /**
68
- * Check if a given object implements the EquosBrain interface.
69
- */
70
- export declare function instanceOfEquosBrain(value: object): value is EquosBrain;
71
- export declare function EquosBrainFromJSON(json: any): EquosBrain;
72
- export declare function EquosBrainFromJSONTyped(json: any, ignoreDiscriminator: boolean): EquosBrain;
73
- export declare function EquosBrainToJSON(json: any): EquosBrain;
74
- export declare function EquosBrainToJSONTyped(value?: EquosBrain | null, ignoreDiscriminator?: boolean): any;
@@ -1,76 +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 (!('name' in value) || value['name'] === undefined)
30
- return false;
31
- if (!('instructions' in value) || value['instructions'] === undefined)
32
- return false;
33
- if (!('greetingMessage' in value) || value['greetingMessage'] === undefined)
34
- return false;
35
- if (!('createdAt' in value) || value['createdAt'] === undefined)
36
- return false;
37
- if (!('updatedAt' in value) || value['updatedAt'] === undefined)
38
- return false;
39
- return true;
40
- }
41
- function EquosBrainFromJSON(json) {
42
- return EquosBrainFromJSONTyped(json, false);
43
- }
44
- function EquosBrainFromJSONTyped(json, ignoreDiscriminator) {
45
- if (json == null) {
46
- return json;
47
- }
48
- return {
49
- 'id': json['id'],
50
- 'organizationId': json['organizationId'],
51
- 'client': json['client'] == null ? undefined : json['client'],
52
- 'name': json['name'],
53
- 'instructions': json['instructions'],
54
- 'greetingMessage': json['greetingMessage'],
55
- 'createdAt': (new Date(json['createdAt'])),
56
- 'updatedAt': (new Date(json['updatedAt'])),
57
- };
58
- }
59
- function EquosBrainToJSON(json) {
60
- return EquosBrainToJSONTyped(json, false);
61
- }
62
- function EquosBrainToJSONTyped(value, ignoreDiscriminator = false) {
63
- if (value == null) {
64
- return value;
65
- }
66
- return {
67
- 'id': value['id'],
68
- 'organizationId': value['organizationId'],
69
- 'client': value['client'],
70
- 'name': value['name'],
71
- 'instructions': value['instructions'],
72
- 'greetingMessage': value['greetingMessage'],
73
- 'createdAt': value['createdAt'].toISOString(),
74
- 'updatedAt': value['updatedAt'].toISOString(),
75
- };
76
- }
@@ -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 {object}
37
- * @memberof EquosCharacter
38
- */
39
- client?: object | 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 {object}
61
- * @memberof EquosCharacter
62
- */
63
- elevenlabsAgentId?: object | null;
64
- /**
65
- *
66
- * @type {object}
67
- * @memberof EquosCharacter
68
- */
69
- faceId?: object | null;
70
- /**
71
- *
72
- * @type {object}
73
- * @memberof EquosCharacter
74
- */
75
- voiceId?: object | null;
76
- /**
77
- *
78
- * @type {object}
79
- * @memberof EquosCharacter
80
- */
81
- brainId?: object | null;
82
- /**
83
- *
84
- * @type {object}
85
- * @memberof EquosCharacter
86
- */
87
- knowledgeBaseId?: object | 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,74 +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 EquosDocument
16
- */
17
- export interface EquosDocument {
18
- /**
19
- *
20
- * @type {string}
21
- * @memberof EquosDocument
22
- */
23
- id: string;
24
- /**
25
- *
26
- * @type {string}
27
- * @memberof EquosDocument
28
- */
29
- knowledgeBaseId: string;
30
- /**
31
- *
32
- * @type {string}
33
- * @memberof EquosDocument
34
- */
35
- name: string;
36
- /**
37
- *
38
- * @type {string}
39
- * @memberof EquosDocument
40
- */
41
- description: string;
42
- /**
43
- *
44
- * @type {number}
45
- * @memberof EquosDocument
46
- */
47
- size: number;
48
- /**
49
- *
50
- * @type {string}
51
- * @memberof EquosDocument
52
- */
53
- status: string;
54
- /**
55
- *
56
- * @type {Date}
57
- * @memberof EquosDocument
58
- */
59
- createdAt: Date;
60
- /**
61
- *
62
- * @type {Date}
63
- * @memberof EquosDocument
64
- */
65
- updatedAt: Date;
66
- }
67
- /**
68
- * Check if a given object implements the EquosDocument interface.
69
- */
70
- export declare function instanceOfEquosDocument(value: object): value is EquosDocument;
71
- export declare function EquosDocumentFromJSON(json: any): EquosDocument;
72
- export declare function EquosDocumentFromJSONTyped(json: any, ignoreDiscriminator: boolean): EquosDocument;
73
- export declare function EquosDocumentToJSON(json: any): EquosDocument;
74
- export declare function EquosDocumentToJSONTyped(value?: EquosDocument | null, ignoreDiscriminator?: boolean): any;