@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,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;
@@ -1,78 +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.instanceOfEquosDocument = instanceOfEquosDocument;
17
- exports.EquosDocumentFromJSON = EquosDocumentFromJSON;
18
- exports.EquosDocumentFromJSONTyped = EquosDocumentFromJSONTyped;
19
- exports.EquosDocumentToJSON = EquosDocumentToJSON;
20
- exports.EquosDocumentToJSONTyped = EquosDocumentToJSONTyped;
21
- /**
22
- * Check if a given object implements the EquosDocument interface.
23
- */
24
- function instanceOfEquosDocument(value) {
25
- if (!('id' in value) || value['id'] === undefined)
26
- return false;
27
- if (!('knowledgeBaseId' in value) || value['knowledgeBaseId'] === 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 (!('size' in value) || value['size'] === undefined)
34
- return false;
35
- if (!('status' in value) || value['status'] === 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 EquosDocumentFromJSON(json) {
44
- return EquosDocumentFromJSONTyped(json, false);
45
- }
46
- function EquosDocumentFromJSONTyped(json, ignoreDiscriminator) {
47
- if (json == null) {
48
- return json;
49
- }
50
- return {
51
- 'id': json['id'],
52
- 'knowledgeBaseId': json['knowledgeBaseId'],
53
- 'name': json['name'],
54
- 'description': json['description'],
55
- 'size': json['size'],
56
- 'status': json['status'],
57
- 'createdAt': (new Date(json['createdAt'])),
58
- 'updatedAt': (new Date(json['updatedAt'])),
59
- };
60
- }
61
- function EquosDocumentToJSON(json) {
62
- return EquosDocumentToJSONTyped(json, false);
63
- }
64
- function EquosDocumentToJSONTyped(value, ignoreDiscriminator = false) {
65
- if (value == null) {
66
- return value;
67
- }
68
- return {
69
- 'id': value['id'],
70
- 'knowledgeBaseId': value['knowledgeBaseId'],
71
- 'name': value['name'],
72
- 'description': value['description'],
73
- 'size': value['size'],
74
- 'status': value['status'],
75
- 'createdAt': value['createdAt'].toISOString(),
76
- 'updatedAt': value['updatedAt'].toISOString(),
77
- };
78
- }
@@ -1,107 +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 EquosFace
16
- */
17
- export interface EquosFace {
18
- /**
19
- *
20
- * @type {string}
21
- * @memberof EquosFace
22
- */
23
- id: string;
24
- /**
25
- *
26
- * @type {string}
27
- * @memberof EquosFace
28
- */
29
- status: EquosFaceStatusEnum;
30
- /**
31
- *
32
- * @type {string}
33
- * @memberof EquosFace
34
- */
35
- organizationId: string;
36
- /**
37
- *
38
- * @type {object}
39
- * @memberof EquosFace
40
- */
41
- client?: object | null;
42
- /**
43
- *
44
- * @type {object}
45
- * @memberof EquosFace
46
- */
47
- description?: object | null;
48
- /**
49
- *
50
- * @type {object}
51
- * @memberof EquosFace
52
- */
53
- thumbnailUrl?: object | null;
54
- /**
55
- *
56
- * @type {object}
57
- * @memberof EquosFace
58
- */
59
- thumbnailNoBgUrl?: object | null;
60
- /**
61
- *
62
- * @type {object}
63
- * @memberof EquosFace
64
- */
65
- referenceImgUrl?: object | null;
66
- /**
67
- *
68
- * @type {object}
69
- * @memberof EquosFace
70
- */
71
- referenceImgNoBgUrl?: object | null;
72
- /**
73
- *
74
- * @type {object}
75
- * @memberof EquosFace
76
- */
77
- videoUrl?: object | null;
78
- /**
79
- *
80
- * @type {Date}
81
- * @memberof EquosFace
82
- */
83
- createdAt: Date;
84
- /**
85
- *
86
- * @type {Date}
87
- * @memberof EquosFace
88
- */
89
- updatedAt: Date;
90
- }
91
- /**
92
- * @export
93
- */
94
- export declare const EquosFaceStatusEnum: {
95
- readonly Processing: "processing";
96
- readonly Ready: "ready";
97
- readonly Error: "error";
98
- };
99
- export type EquosFaceStatusEnum = typeof EquosFaceStatusEnum[keyof typeof EquosFaceStatusEnum];
100
- /**
101
- * Check if a given object implements the EquosFace interface.
102
- */
103
- export declare function instanceOfEquosFace(value: object): value is EquosFace;
104
- export declare function EquosFaceFromJSON(json: any): EquosFace;
105
- export declare function EquosFaceFromJSONTyped(json: any, ignoreDiscriminator: boolean): EquosFace;
106
- export declare function EquosFaceToJSON(json: any): EquosFace;
107
- export declare function EquosFaceToJSONTyped(value?: EquosFace | null, ignoreDiscriminator?: boolean): any;
@@ -1,89 +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.EquosFaceStatusEnum = void 0;
17
- exports.instanceOfEquosFace = instanceOfEquosFace;
18
- exports.EquosFaceFromJSON = EquosFaceFromJSON;
19
- exports.EquosFaceFromJSONTyped = EquosFaceFromJSONTyped;
20
- exports.EquosFaceToJSON = EquosFaceToJSON;
21
- exports.EquosFaceToJSONTyped = EquosFaceToJSONTyped;
22
- /**
23
- * @export
24
- */
25
- exports.EquosFaceStatusEnum = {
26
- Processing: 'processing',
27
- Ready: 'ready',
28
- Error: 'error'
29
- };
30
- /**
31
- * Check if a given object implements the EquosFace interface.
32
- */
33
- function instanceOfEquosFace(value) {
34
- if (!('id' in value) || value['id'] === undefined)
35
- return false;
36
- if (!('status' in value) || value['status'] === undefined)
37
- return false;
38
- if (!('organizationId' in value) || value['organizationId'] === undefined)
39
- return false;
40
- if (!('createdAt' in value) || value['createdAt'] === undefined)
41
- return false;
42
- if (!('updatedAt' in value) || value['updatedAt'] === undefined)
43
- return false;
44
- return true;
45
- }
46
- function EquosFaceFromJSON(json) {
47
- return EquosFaceFromJSONTyped(json, false);
48
- }
49
- function EquosFaceFromJSONTyped(json, ignoreDiscriminator) {
50
- if (json == null) {
51
- return json;
52
- }
53
- return {
54
- 'id': json['id'],
55
- 'status': json['status'],
56
- 'organizationId': json['organizationId'],
57
- 'client': json['client'] == null ? undefined : json['client'],
58
- 'description': json['description'] == null ? undefined : json['description'],
59
- 'thumbnailUrl': json['thumbnailUrl'] == null ? undefined : json['thumbnailUrl'],
60
- 'thumbnailNoBgUrl': json['thumbnailNoBgUrl'] == null ? undefined : json['thumbnailNoBgUrl'],
61
- 'referenceImgUrl': json['referenceImgUrl'] == null ? undefined : json['referenceImgUrl'],
62
- 'referenceImgNoBgUrl': json['referenceImgNoBgUrl'] == null ? undefined : json['referenceImgNoBgUrl'],
63
- 'videoUrl': json['videoUrl'] == null ? undefined : json['videoUrl'],
64
- 'createdAt': (new Date(json['createdAt'])),
65
- 'updatedAt': (new Date(json['updatedAt'])),
66
- };
67
- }
68
- function EquosFaceToJSON(json) {
69
- return EquosFaceToJSONTyped(json, false);
70
- }
71
- function EquosFaceToJSONTyped(value, ignoreDiscriminator = false) {
72
- if (value == null) {
73
- return value;
74
- }
75
- return {
76
- 'id': value['id'],
77
- 'status': value['status'],
78
- 'organizationId': value['organizationId'],
79
- 'client': value['client'],
80
- 'description': value['description'],
81
- 'thumbnailUrl': value['thumbnailUrl'],
82
- 'thumbnailNoBgUrl': value['thumbnailNoBgUrl'],
83
- 'referenceImgUrl': value['referenceImgUrl'],
84
- 'referenceImgNoBgUrl': value['referenceImgNoBgUrl'],
85
- 'videoUrl': value['videoUrl'],
86
- 'createdAt': value['createdAt'].toISOString(),
87
- 'updatedAt': value['updatedAt'].toISOString(),
88
- };
89
- }