@breign/client 1.0.91 → 1.0.92

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.
@@ -10,7 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import * as runtime from '../runtime';
13
- import type { SkillAssignRequestUio, SkillCreateRequestUio, SkillUio, SkillUpdateRequestUio } from '../models/index';
13
+ import type { SkillAssignRequestUio, SkillCreateRequestUio, SkillFileCreateRequestUio, SkillFileSummaryUio, SkillFileUio, SkillFileUpdateRequestUio, SkillUio, SkillUpdateRequestUio } from '../models/index';
14
14
  export interface AssignSkillToAgentRequest {
15
15
  agentId: string;
16
16
  skillAssignRequestUio: SkillAssignRequestUio;
@@ -18,15 +18,30 @@ export interface AssignSkillToAgentRequest {
18
18
  export interface CreateSkillRequest {
19
19
  skillCreateRequestUio: SkillCreateRequestUio;
20
20
  }
21
+ export interface CreateSkillFileRequest {
22
+ skillId: string;
23
+ skillFileCreateRequestUio: SkillFileCreateRequestUio;
24
+ }
21
25
  export interface DeleteSkillRequest {
22
26
  skillId: string;
23
27
  }
28
+ export interface DeleteSkillFileRequest {
29
+ skillId: string;
30
+ fileId: string;
31
+ }
24
32
  export interface GetAgentSkillsRequest {
25
33
  agentId: string;
26
34
  }
27
35
  export interface GetSkillRequest {
28
36
  skillId: string;
29
37
  }
38
+ export interface GetSkillFileRequest {
39
+ skillId: string;
40
+ fileId: string;
41
+ }
42
+ export interface ListSkillFilesRequest {
43
+ skillId: string;
44
+ }
30
45
  export interface ListSkillsRequest {
31
46
  organizationId: string;
32
47
  page?: number;
@@ -40,6 +55,11 @@ export interface UpdateSkillRequest {
40
55
  skillId: string;
41
56
  skillUpdateRequestUio: SkillUpdateRequestUio;
42
57
  }
58
+ export interface UpdateSkillFileRequest {
59
+ skillId: string;
60
+ fileId: string;
61
+ skillFileUpdateRequestUio: SkillFileUpdateRequestUio;
62
+ }
43
63
  /**
44
64
  *
45
65
  */
@@ -62,6 +82,14 @@ export declare class SkillsApi extends runtime.BaseAPI {
62
82
  * Create a skill
63
83
  */
64
84
  createSkill(skillCreateRequestUio: SkillCreateRequestUio, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SkillUio>;
85
+ /**
86
+ * Create a skill file
87
+ */
88
+ createSkillFileRaw(requestParameters: CreateSkillFileRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SkillFileUio>>;
89
+ /**
90
+ * Create a skill file
91
+ */
92
+ createSkillFile(skillId: string, skillFileCreateRequestUio: SkillFileCreateRequestUio, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SkillFileUio>;
65
93
  /**
66
94
  * Delete a skill
67
95
  */
@@ -70,6 +98,14 @@ export declare class SkillsApi extends runtime.BaseAPI {
70
98
  * Delete a skill
71
99
  */
72
100
  deleteSkill(skillId: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
101
+ /**
102
+ * Delete a skill file
103
+ */
104
+ deleteSkillFileRaw(requestParameters: DeleteSkillFileRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
105
+ /**
106
+ * Delete a skill file
107
+ */
108
+ deleteSkillFile(skillId: string, fileId: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
73
109
  /**
74
110
  * Get skills assigned to an agent
75
111
  */
@@ -86,6 +122,24 @@ export declare class SkillsApi extends runtime.BaseAPI {
86
122
  * Get a skill by ID
87
123
  */
88
124
  getSkill(skillId: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SkillUio>;
125
+ /**
126
+ * Get a skill file with content
127
+ */
128
+ getSkillFileRaw(requestParameters: GetSkillFileRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SkillFileUio>>;
129
+ /**
130
+ * Get a skill file with content
131
+ */
132
+ getSkillFile(skillId: string, fileId: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SkillFileUio>;
133
+ /**
134
+ * Returns all files attached to the skill — all metadata fields, no content
135
+ * List skill files
136
+ */
137
+ listSkillFilesRaw(requestParameters: ListSkillFilesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<SkillFileSummaryUio>>>;
138
+ /**
139
+ * Returns all files attached to the skill — all metadata fields, no content
140
+ * List skill files
141
+ */
142
+ listSkillFiles(skillId: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<SkillFileSummaryUio>>;
89
143
  /**
90
144
  * Returns a paginated list of skills scoped to an organization
91
145
  * List skills in an organization
@@ -112,4 +166,12 @@ export declare class SkillsApi extends runtime.BaseAPI {
112
166
  * Update a skill
113
167
  */
114
168
  updateSkill(skillId: string, skillUpdateRequestUio: SkillUpdateRequestUio, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SkillUio>;
169
+ /**
170
+ * Update a skill file
171
+ */
172
+ updateSkillFileRaw(requestParameters: UpdateSkillFileRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SkillFileUio>>;
173
+ /**
174
+ * Update a skill file
175
+ */
176
+ updateSkillFile(skillId: string, fileId: string, skillFileUpdateRequestUio: SkillFileUpdateRequestUio, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SkillFileUio>;
115
177
  }
@@ -115,6 +115,38 @@ class SkillsApi extends runtime.BaseAPI {
115
115
  const response = await this.createSkillRaw({ skillCreateRequestUio: skillCreateRequestUio }, initOverrides);
116
116
  return await response.value();
117
117
  }
118
+ /**
119
+ * Create a skill file
120
+ */
121
+ async createSkillFileRaw(requestParameters, initOverrides) {
122
+ if (requestParameters['skillId'] == null) {
123
+ throw new runtime.RequiredError('skillId', 'Required parameter "skillId" was null or undefined when calling createSkillFile().');
124
+ }
125
+ if (requestParameters['skillFileCreateRequestUio'] == null) {
126
+ throw new runtime.RequiredError('skillFileCreateRequestUio', 'Required parameter "skillFileCreateRequestUio" was null or undefined when calling createSkillFile().');
127
+ }
128
+ const queryParameters = {};
129
+ const headerParameters = {};
130
+ headerParameters['Content-Type'] = 'application/json';
131
+ if (this.configuration && this.configuration.apiKey) {
132
+ headerParameters["X-API-Key"] = await this.configuration.apiKey("X-API-Key"); // ApiKeyAuth authentication
133
+ }
134
+ const response = await this.request({
135
+ path: `/skills/{skillId}/files`.replace(`{${"skillId"}}`, encodeURIComponent(String(requestParameters['skillId']))),
136
+ method: 'POST',
137
+ headers: headerParameters,
138
+ query: queryParameters,
139
+ body: (0, index_1.SkillFileCreateRequestUioToJSON)(requestParameters['skillFileCreateRequestUio']),
140
+ }, initOverrides);
141
+ return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.SkillFileUioFromJSON)(jsonValue));
142
+ }
143
+ /**
144
+ * Create a skill file
145
+ */
146
+ async createSkillFile(skillId, skillFileCreateRequestUio, initOverrides) {
147
+ const response = await this.createSkillFileRaw({ skillId: skillId, skillFileCreateRequestUio: skillFileCreateRequestUio }, initOverrides);
148
+ return await response.value();
149
+ }
118
150
  /**
119
151
  * Delete a skill
120
152
  */
@@ -141,6 +173,35 @@ class SkillsApi extends runtime.BaseAPI {
141
173
  async deleteSkill(skillId, initOverrides) {
142
174
  await this.deleteSkillRaw({ skillId: skillId }, initOverrides);
143
175
  }
176
+ /**
177
+ * Delete a skill file
178
+ */
179
+ async deleteSkillFileRaw(requestParameters, initOverrides) {
180
+ if (requestParameters['skillId'] == null) {
181
+ throw new runtime.RequiredError('skillId', 'Required parameter "skillId" was null or undefined when calling deleteSkillFile().');
182
+ }
183
+ if (requestParameters['fileId'] == null) {
184
+ throw new runtime.RequiredError('fileId', 'Required parameter "fileId" was null or undefined when calling deleteSkillFile().');
185
+ }
186
+ const queryParameters = {};
187
+ const headerParameters = {};
188
+ if (this.configuration && this.configuration.apiKey) {
189
+ headerParameters["X-API-Key"] = await this.configuration.apiKey("X-API-Key"); // ApiKeyAuth authentication
190
+ }
191
+ const response = await this.request({
192
+ path: `/skills/{skillId}/files/{fileId}`.replace(`{${"skillId"}}`, encodeURIComponent(String(requestParameters['skillId']))).replace(`{${"fileId"}}`, encodeURIComponent(String(requestParameters['fileId']))),
193
+ method: 'DELETE',
194
+ headers: headerParameters,
195
+ query: queryParameters,
196
+ }, initOverrides);
197
+ return new runtime.VoidApiResponse(response);
198
+ }
199
+ /**
200
+ * Delete a skill file
201
+ */
202
+ async deleteSkillFile(skillId, fileId, initOverrides) {
203
+ await this.deleteSkillFileRaw({ skillId: skillId, fileId: fileId }, initOverrides);
204
+ }
144
205
  /**
145
206
  * Get skills assigned to an agent
146
207
  */
@@ -195,6 +256,65 @@ class SkillsApi extends runtime.BaseAPI {
195
256
  const response = await this.getSkillRaw({ skillId: skillId }, initOverrides);
196
257
  return await response.value();
197
258
  }
259
+ /**
260
+ * Get a skill file with content
261
+ */
262
+ async getSkillFileRaw(requestParameters, initOverrides) {
263
+ if (requestParameters['skillId'] == null) {
264
+ throw new runtime.RequiredError('skillId', 'Required parameter "skillId" was null or undefined when calling getSkillFile().');
265
+ }
266
+ if (requestParameters['fileId'] == null) {
267
+ throw new runtime.RequiredError('fileId', 'Required parameter "fileId" was null or undefined when calling getSkillFile().');
268
+ }
269
+ const queryParameters = {};
270
+ const headerParameters = {};
271
+ if (this.configuration && this.configuration.apiKey) {
272
+ headerParameters["X-API-Key"] = await this.configuration.apiKey("X-API-Key"); // ApiKeyAuth authentication
273
+ }
274
+ const response = await this.request({
275
+ path: `/skills/{skillId}/files/{fileId}`.replace(`{${"skillId"}}`, encodeURIComponent(String(requestParameters['skillId']))).replace(`{${"fileId"}}`, encodeURIComponent(String(requestParameters['fileId']))),
276
+ method: 'GET',
277
+ headers: headerParameters,
278
+ query: queryParameters,
279
+ }, initOverrides);
280
+ return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.SkillFileUioFromJSON)(jsonValue));
281
+ }
282
+ /**
283
+ * Get a skill file with content
284
+ */
285
+ async getSkillFile(skillId, fileId, initOverrides) {
286
+ const response = await this.getSkillFileRaw({ skillId: skillId, fileId: fileId }, initOverrides);
287
+ return await response.value();
288
+ }
289
+ /**
290
+ * Returns all files attached to the skill — all metadata fields, no content
291
+ * List skill files
292
+ */
293
+ async listSkillFilesRaw(requestParameters, initOverrides) {
294
+ if (requestParameters['skillId'] == null) {
295
+ throw new runtime.RequiredError('skillId', 'Required parameter "skillId" was null or undefined when calling listSkillFiles().');
296
+ }
297
+ const queryParameters = {};
298
+ const headerParameters = {};
299
+ if (this.configuration && this.configuration.apiKey) {
300
+ headerParameters["X-API-Key"] = await this.configuration.apiKey("X-API-Key"); // ApiKeyAuth authentication
301
+ }
302
+ const response = await this.request({
303
+ path: `/skills/{skillId}/files`.replace(`{${"skillId"}}`, encodeURIComponent(String(requestParameters['skillId']))),
304
+ method: 'GET',
305
+ headers: headerParameters,
306
+ query: queryParameters,
307
+ }, initOverrides);
308
+ return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(index_1.SkillFileSummaryUioFromJSON));
309
+ }
310
+ /**
311
+ * Returns all files attached to the skill — all metadata fields, no content
312
+ * List skill files
313
+ */
314
+ async listSkillFiles(skillId, initOverrides) {
315
+ const response = await this.listSkillFilesRaw({ skillId: skillId }, initOverrides);
316
+ return await response.value();
317
+ }
198
318
  /**
199
319
  * Returns a paginated list of skills scoped to an organization
200
320
  * List skills in an organization
@@ -294,5 +414,40 @@ class SkillsApi extends runtime.BaseAPI {
294
414
  const response = await this.updateSkillRaw({ skillId: skillId, skillUpdateRequestUio: skillUpdateRequestUio }, initOverrides);
295
415
  return await response.value();
296
416
  }
417
+ /**
418
+ * Update a skill file
419
+ */
420
+ async updateSkillFileRaw(requestParameters, initOverrides) {
421
+ if (requestParameters['skillId'] == null) {
422
+ throw new runtime.RequiredError('skillId', 'Required parameter "skillId" was null or undefined when calling updateSkillFile().');
423
+ }
424
+ if (requestParameters['fileId'] == null) {
425
+ throw new runtime.RequiredError('fileId', 'Required parameter "fileId" was null or undefined when calling updateSkillFile().');
426
+ }
427
+ if (requestParameters['skillFileUpdateRequestUio'] == null) {
428
+ throw new runtime.RequiredError('skillFileUpdateRequestUio', 'Required parameter "skillFileUpdateRequestUio" was null or undefined when calling updateSkillFile().');
429
+ }
430
+ const queryParameters = {};
431
+ const headerParameters = {};
432
+ headerParameters['Content-Type'] = 'application/json';
433
+ if (this.configuration && this.configuration.apiKey) {
434
+ headerParameters["X-API-Key"] = await this.configuration.apiKey("X-API-Key"); // ApiKeyAuth authentication
435
+ }
436
+ const response = await this.request({
437
+ path: `/skills/{skillId}/files/{fileId}`.replace(`{${"skillId"}}`, encodeURIComponent(String(requestParameters['skillId']))).replace(`{${"fileId"}}`, encodeURIComponent(String(requestParameters['fileId']))),
438
+ method: 'PATCH',
439
+ headers: headerParameters,
440
+ query: queryParameters,
441
+ body: (0, index_1.SkillFileUpdateRequestUioToJSON)(requestParameters['skillFileUpdateRequestUio']),
442
+ }, initOverrides);
443
+ return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.SkillFileUioFromJSON)(jsonValue));
444
+ }
445
+ /**
446
+ * Update a skill file
447
+ */
448
+ async updateSkillFile(skillId, fileId, skillFileUpdateRequestUio, initOverrides) {
449
+ const response = await this.updateSkillFileRaw({ skillId: skillId, fileId: fileId, skillFileUpdateRequestUio: skillFileUpdateRequestUio }, initOverrides);
450
+ return await response.value();
451
+ }
297
452
  }
298
453
  exports.SkillsApi = SkillsApi;
@@ -0,0 +1,44 @@
1
+ /**
2
+ * brain-client
3
+ * Api ands models for brain-app and brain-app
4
+ *
5
+ * The version of the OpenAPI document: 0.0.0-SNAPSHOT
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 SkillFileCreateRequestUio
16
+ */
17
+ export interface SkillFileCreateRequestUio {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof SkillFileCreateRequestUio
22
+ */
23
+ filename: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof SkillFileCreateRequestUio
28
+ */
29
+ content: string;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof SkillFileCreateRequestUio
34
+ */
35
+ mimeType?: string;
36
+ }
37
+ /**
38
+ * Check if a given object implements the SkillFileCreateRequestUio interface.
39
+ */
40
+ export declare function instanceOfSkillFileCreateRequestUio(value: object): value is SkillFileCreateRequestUio;
41
+ export declare function SkillFileCreateRequestUioFromJSON(json: any): SkillFileCreateRequestUio;
42
+ export declare function SkillFileCreateRequestUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): SkillFileCreateRequestUio;
43
+ export declare function SkillFileCreateRequestUioToJSON(json: any): SkillFileCreateRequestUio;
44
+ export declare function SkillFileCreateRequestUioToJSONTyped(value?: SkillFileCreateRequestUio | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,56 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * brain-client
6
+ * Api ands models for brain-app and brain-app
7
+ *
8
+ * The version of the OpenAPI document: 0.0.0-SNAPSHOT
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.instanceOfSkillFileCreateRequestUio = instanceOfSkillFileCreateRequestUio;
17
+ exports.SkillFileCreateRequestUioFromJSON = SkillFileCreateRequestUioFromJSON;
18
+ exports.SkillFileCreateRequestUioFromJSONTyped = SkillFileCreateRequestUioFromJSONTyped;
19
+ exports.SkillFileCreateRequestUioToJSON = SkillFileCreateRequestUioToJSON;
20
+ exports.SkillFileCreateRequestUioToJSONTyped = SkillFileCreateRequestUioToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the SkillFileCreateRequestUio interface.
23
+ */
24
+ function instanceOfSkillFileCreateRequestUio(value) {
25
+ if (!('filename' in value) || value['filename'] === undefined)
26
+ return false;
27
+ if (!('content' in value) || value['content'] === undefined)
28
+ return false;
29
+ return true;
30
+ }
31
+ function SkillFileCreateRequestUioFromJSON(json) {
32
+ return SkillFileCreateRequestUioFromJSONTyped(json, false);
33
+ }
34
+ function SkillFileCreateRequestUioFromJSONTyped(json, ignoreDiscriminator) {
35
+ if (json == null) {
36
+ return json;
37
+ }
38
+ return {
39
+ 'filename': json['filename'],
40
+ 'content': json['content'],
41
+ 'mimeType': json['mimeType'] == null ? undefined : json['mimeType'],
42
+ };
43
+ }
44
+ function SkillFileCreateRequestUioToJSON(json) {
45
+ return SkillFileCreateRequestUioToJSONTyped(json, false);
46
+ }
47
+ function SkillFileCreateRequestUioToJSONTyped(value, ignoreDiscriminator = false) {
48
+ if (value == null) {
49
+ return value;
50
+ }
51
+ return {
52
+ 'filename': value['filename'],
53
+ 'content': value['content'],
54
+ 'mimeType': value['mimeType'],
55
+ };
56
+ }
@@ -0,0 +1,62 @@
1
+ /**
2
+ * brain-client
3
+ * Api ands models for brain-app and brain-app
4
+ *
5
+ * The version of the OpenAPI document: 0.0.0-SNAPSHOT
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 SkillFileSummaryUio
16
+ */
17
+ export interface SkillFileSummaryUio {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof SkillFileSummaryUio
22
+ */
23
+ id: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof SkillFileSummaryUio
28
+ */
29
+ skillId: string;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof SkillFileSummaryUio
34
+ */
35
+ filename: string;
36
+ /**
37
+ *
38
+ * @type {string}
39
+ * @memberof SkillFileSummaryUio
40
+ */
41
+ mimeType: string;
42
+ /**
43
+ *
44
+ * @type {Date}
45
+ * @memberof SkillFileSummaryUio
46
+ */
47
+ createdAt: Date;
48
+ /**
49
+ *
50
+ * @type {Date}
51
+ * @memberof SkillFileSummaryUio
52
+ */
53
+ updatedAt: Date;
54
+ }
55
+ /**
56
+ * Check if a given object implements the SkillFileSummaryUio interface.
57
+ */
58
+ export declare function instanceOfSkillFileSummaryUio(value: object): value is SkillFileSummaryUio;
59
+ export declare function SkillFileSummaryUioFromJSON(json: any): SkillFileSummaryUio;
60
+ export declare function SkillFileSummaryUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): SkillFileSummaryUio;
61
+ export declare function SkillFileSummaryUioToJSON(json: any): SkillFileSummaryUio;
62
+ export declare function SkillFileSummaryUioToJSONTyped(value?: SkillFileSummaryUio | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,70 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * brain-client
6
+ * Api ands models for brain-app and brain-app
7
+ *
8
+ * The version of the OpenAPI document: 0.0.0-SNAPSHOT
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.instanceOfSkillFileSummaryUio = instanceOfSkillFileSummaryUio;
17
+ exports.SkillFileSummaryUioFromJSON = SkillFileSummaryUioFromJSON;
18
+ exports.SkillFileSummaryUioFromJSONTyped = SkillFileSummaryUioFromJSONTyped;
19
+ exports.SkillFileSummaryUioToJSON = SkillFileSummaryUioToJSON;
20
+ exports.SkillFileSummaryUioToJSONTyped = SkillFileSummaryUioToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the SkillFileSummaryUio interface.
23
+ */
24
+ function instanceOfSkillFileSummaryUio(value) {
25
+ if (!('id' in value) || value['id'] === undefined)
26
+ return false;
27
+ if (!('skillId' in value) || value['skillId'] === undefined)
28
+ return false;
29
+ if (!('filename' in value) || value['filename'] === undefined)
30
+ return false;
31
+ if (!('mimeType' in value) || value['mimeType'] === 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 SkillFileSummaryUioFromJSON(json) {
40
+ return SkillFileSummaryUioFromJSONTyped(json, false);
41
+ }
42
+ function SkillFileSummaryUioFromJSONTyped(json, ignoreDiscriminator) {
43
+ if (json == null) {
44
+ return json;
45
+ }
46
+ return {
47
+ 'id': json['id'],
48
+ 'skillId': json['skillId'],
49
+ 'filename': json['filename'],
50
+ 'mimeType': json['mimeType'],
51
+ 'createdAt': (new Date(json['createdAt'])),
52
+ 'updatedAt': (new Date(json['updatedAt'])),
53
+ };
54
+ }
55
+ function SkillFileSummaryUioToJSON(json) {
56
+ return SkillFileSummaryUioToJSONTyped(json, false);
57
+ }
58
+ function SkillFileSummaryUioToJSONTyped(value, ignoreDiscriminator = false) {
59
+ if (value == null) {
60
+ return value;
61
+ }
62
+ return {
63
+ 'id': value['id'],
64
+ 'skillId': value['skillId'],
65
+ 'filename': value['filename'],
66
+ 'mimeType': value['mimeType'],
67
+ 'createdAt': ((value['createdAt']).toISOString()),
68
+ 'updatedAt': ((value['updatedAt']).toISOString()),
69
+ };
70
+ }
@@ -0,0 +1,68 @@
1
+ /**
2
+ * brain-client
3
+ * Api ands models for brain-app and brain-app
4
+ *
5
+ * The version of the OpenAPI document: 0.0.0-SNAPSHOT
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 SkillFileUio
16
+ */
17
+ export interface SkillFileUio {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof SkillFileUio
22
+ */
23
+ id: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof SkillFileUio
28
+ */
29
+ skillId: string;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof SkillFileUio
34
+ */
35
+ filename: string;
36
+ /**
37
+ *
38
+ * @type {string}
39
+ * @memberof SkillFileUio
40
+ */
41
+ mimeType: string;
42
+ /**
43
+ *
44
+ * @type {string}
45
+ * @memberof SkillFileUio
46
+ */
47
+ content: string;
48
+ /**
49
+ *
50
+ * @type {Date}
51
+ * @memberof SkillFileUio
52
+ */
53
+ createdAt: Date;
54
+ /**
55
+ *
56
+ * @type {Date}
57
+ * @memberof SkillFileUio
58
+ */
59
+ updatedAt: Date;
60
+ }
61
+ /**
62
+ * Check if a given object implements the SkillFileUio interface.
63
+ */
64
+ export declare function instanceOfSkillFileUio(value: object): value is SkillFileUio;
65
+ export declare function SkillFileUioFromJSON(json: any): SkillFileUio;
66
+ export declare function SkillFileUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): SkillFileUio;
67
+ export declare function SkillFileUioToJSON(json: any): SkillFileUio;
68
+ export declare function SkillFileUioToJSONTyped(value?: SkillFileUio | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,74 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * brain-client
6
+ * Api ands models for brain-app and brain-app
7
+ *
8
+ * The version of the OpenAPI document: 0.0.0-SNAPSHOT
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.instanceOfSkillFileUio = instanceOfSkillFileUio;
17
+ exports.SkillFileUioFromJSON = SkillFileUioFromJSON;
18
+ exports.SkillFileUioFromJSONTyped = SkillFileUioFromJSONTyped;
19
+ exports.SkillFileUioToJSON = SkillFileUioToJSON;
20
+ exports.SkillFileUioToJSONTyped = SkillFileUioToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the SkillFileUio interface.
23
+ */
24
+ function instanceOfSkillFileUio(value) {
25
+ if (!('id' in value) || value['id'] === undefined)
26
+ return false;
27
+ if (!('skillId' in value) || value['skillId'] === undefined)
28
+ return false;
29
+ if (!('filename' in value) || value['filename'] === undefined)
30
+ return false;
31
+ if (!('mimeType' in value) || value['mimeType'] === undefined)
32
+ return false;
33
+ if (!('content' in value) || value['content'] === 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 SkillFileUioFromJSON(json) {
42
+ return SkillFileUioFromJSONTyped(json, false);
43
+ }
44
+ function SkillFileUioFromJSONTyped(json, ignoreDiscriminator) {
45
+ if (json == null) {
46
+ return json;
47
+ }
48
+ return {
49
+ 'id': json['id'],
50
+ 'skillId': json['skillId'],
51
+ 'filename': json['filename'],
52
+ 'mimeType': json['mimeType'],
53
+ 'content': json['content'],
54
+ 'createdAt': (new Date(json['createdAt'])),
55
+ 'updatedAt': (new Date(json['updatedAt'])),
56
+ };
57
+ }
58
+ function SkillFileUioToJSON(json) {
59
+ return SkillFileUioToJSONTyped(json, false);
60
+ }
61
+ function SkillFileUioToJSONTyped(value, ignoreDiscriminator = false) {
62
+ if (value == null) {
63
+ return value;
64
+ }
65
+ return {
66
+ 'id': value['id'],
67
+ 'skillId': value['skillId'],
68
+ 'filename': value['filename'],
69
+ 'mimeType': value['mimeType'],
70
+ 'content': value['content'],
71
+ 'createdAt': ((value['createdAt']).toISOString()),
72
+ 'updatedAt': ((value['updatedAt']).toISOString()),
73
+ };
74
+ }
@@ -0,0 +1,38 @@
1
+ /**
2
+ * brain-client
3
+ * Api ands models for brain-app and brain-app
4
+ *
5
+ * The version of the OpenAPI document: 0.0.0-SNAPSHOT
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 SkillFileUpdateRequestUio
16
+ */
17
+ export interface SkillFileUpdateRequestUio {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof SkillFileUpdateRequestUio
22
+ */
23
+ filename?: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof SkillFileUpdateRequestUio
28
+ */
29
+ content?: string;
30
+ }
31
+ /**
32
+ * Check if a given object implements the SkillFileUpdateRequestUio interface.
33
+ */
34
+ export declare function instanceOfSkillFileUpdateRequestUio(value: object): value is SkillFileUpdateRequestUio;
35
+ export declare function SkillFileUpdateRequestUioFromJSON(json: any): SkillFileUpdateRequestUio;
36
+ export declare function SkillFileUpdateRequestUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): SkillFileUpdateRequestUio;
37
+ export declare function SkillFileUpdateRequestUioToJSON(json: any): SkillFileUpdateRequestUio;
38
+ export declare function SkillFileUpdateRequestUioToJSONTyped(value?: SkillFileUpdateRequestUio | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,50 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * brain-client
6
+ * Api ands models for brain-app and brain-app
7
+ *
8
+ * The version of the OpenAPI document: 0.0.0-SNAPSHOT
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.instanceOfSkillFileUpdateRequestUio = instanceOfSkillFileUpdateRequestUio;
17
+ exports.SkillFileUpdateRequestUioFromJSON = SkillFileUpdateRequestUioFromJSON;
18
+ exports.SkillFileUpdateRequestUioFromJSONTyped = SkillFileUpdateRequestUioFromJSONTyped;
19
+ exports.SkillFileUpdateRequestUioToJSON = SkillFileUpdateRequestUioToJSON;
20
+ exports.SkillFileUpdateRequestUioToJSONTyped = SkillFileUpdateRequestUioToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the SkillFileUpdateRequestUio interface.
23
+ */
24
+ function instanceOfSkillFileUpdateRequestUio(value) {
25
+ return true;
26
+ }
27
+ function SkillFileUpdateRequestUioFromJSON(json) {
28
+ return SkillFileUpdateRequestUioFromJSONTyped(json, false);
29
+ }
30
+ function SkillFileUpdateRequestUioFromJSONTyped(json, ignoreDiscriminator) {
31
+ if (json == null) {
32
+ return json;
33
+ }
34
+ return {
35
+ 'filename': json['filename'] == null ? undefined : json['filename'],
36
+ 'content': json['content'] == null ? undefined : json['content'],
37
+ };
38
+ }
39
+ function SkillFileUpdateRequestUioToJSON(json) {
40
+ return SkillFileUpdateRequestUioToJSONTyped(json, false);
41
+ }
42
+ function SkillFileUpdateRequestUioToJSONTyped(value, ignoreDiscriminator = false) {
43
+ if (value == null) {
44
+ return value;
45
+ }
46
+ return {
47
+ 'filename': value['filename'],
48
+ 'content': value['content'],
49
+ };
50
+ }
@@ -226,6 +226,10 @@ export * from './SetupToolRequestUio';
226
226
  export * from './SimpleAgentUio';
227
227
  export * from './SkillAssignRequestUio';
228
228
  export * from './SkillCreateRequestUio';
229
+ export * from './SkillFileCreateRequestUio';
230
+ export * from './SkillFileSummaryUio';
231
+ export * from './SkillFileUio';
232
+ export * from './SkillFileUpdateRequestUio';
229
233
  export * from './SkillUio';
230
234
  export * from './SkillUpdateRequestUio';
231
235
  export * from './SubscriptionMetricUio';
@@ -244,6 +244,10 @@ __exportStar(require("./SetupToolRequestUio"), exports);
244
244
  __exportStar(require("./SimpleAgentUio"), exports);
245
245
  __exportStar(require("./SkillAssignRequestUio"), exports);
246
246
  __exportStar(require("./SkillCreateRequestUio"), exports);
247
+ __exportStar(require("./SkillFileCreateRequestUio"), exports);
248
+ __exportStar(require("./SkillFileSummaryUio"), exports);
249
+ __exportStar(require("./SkillFileUio"), exports);
250
+ __exportStar(require("./SkillFileUpdateRequestUio"), exports);
247
251
  __exportStar(require("./SkillUio"), exports);
248
252
  __exportStar(require("./SkillUpdateRequestUio"), exports);
249
253
  __exportStar(require("./SubscriptionMetricUio"), exports);
package/dist/openapi.json CHANGED
@@ -7448,6 +7448,237 @@
7448
7448
  "tags" : [ "skills" ]
7449
7449
  }
7450
7450
  },
7451
+ "/skills/{skillId}/files" : {
7452
+ "get" : {
7453
+ "description" : "Returns all files attached to the skill — all metadata fields, no content",
7454
+ "operationId" : "listSkillFiles",
7455
+ "parameters" : [ {
7456
+ "description" : "Skill identifier",
7457
+ "in" : "path",
7458
+ "name" : "skillId",
7459
+ "required" : true,
7460
+ "schema" : {
7461
+ "format" : "uuid",
7462
+ "type" : "string"
7463
+ }
7464
+ } ],
7465
+ "responses" : {
7466
+ "200" : {
7467
+ "content" : {
7468
+ "application/json" : {
7469
+ "schema" : {
7470
+ "items" : {
7471
+ "$ref" : "#/components/schemas/SkillFileSummary"
7472
+ },
7473
+ "type" : "array"
7474
+ }
7475
+ }
7476
+ },
7477
+ "description" : "List of skill files without content"
7478
+ },
7479
+ "401" : {
7480
+ "description" : "Unauthorized"
7481
+ },
7482
+ "403" : {
7483
+ "description" : "Forbidden"
7484
+ },
7485
+ "404" : {
7486
+ "description" : "SKILL_NOT_FOUND"
7487
+ }
7488
+ },
7489
+ "summary" : "List skill files",
7490
+ "tags" : [ "skills" ]
7491
+ },
7492
+ "post" : {
7493
+ "operationId" : "createSkillFile",
7494
+ "parameters" : [ {
7495
+ "description" : "Skill identifier",
7496
+ "in" : "path",
7497
+ "name" : "skillId",
7498
+ "required" : true,
7499
+ "schema" : {
7500
+ "format" : "uuid",
7501
+ "type" : "string"
7502
+ }
7503
+ } ],
7504
+ "requestBody" : {
7505
+ "content" : {
7506
+ "application/json" : {
7507
+ "schema" : {
7508
+ "$ref" : "#/components/schemas/SkillFileCreateRequest"
7509
+ }
7510
+ }
7511
+ },
7512
+ "required" : true
7513
+ },
7514
+ "responses" : {
7515
+ "201" : {
7516
+ "content" : {
7517
+ "application/json" : {
7518
+ "schema" : {
7519
+ "$ref" : "#/components/schemas/SkillFile"
7520
+ }
7521
+ }
7522
+ },
7523
+ "description" : "File created"
7524
+ },
7525
+ "401" : {
7526
+ "description" : "Unauthorized"
7527
+ },
7528
+ "403" : {
7529
+ "description" : "Forbidden"
7530
+ },
7531
+ "404" : {
7532
+ "description" : "SKILL_NOT_FOUND"
7533
+ },
7534
+ "422" : {
7535
+ "description" : "Validation error — SKILL_FILE_INVALID_FILENAME, SKILL_FILE_CONTENT_TOO_LARGE, or SKILL_FILE_LIMIT_REACHED (max 15 files per skill)\n"
7536
+ }
7537
+ },
7538
+ "summary" : "Create a skill file",
7539
+ "tags" : [ "skills" ]
7540
+ }
7541
+ },
7542
+ "/skills/{skillId}/files/{fileId}" : {
7543
+ "delete" : {
7544
+ "operationId" : "deleteSkillFile",
7545
+ "parameters" : [ {
7546
+ "description" : "Skill identifier",
7547
+ "in" : "path",
7548
+ "name" : "skillId",
7549
+ "required" : true,
7550
+ "schema" : {
7551
+ "format" : "uuid",
7552
+ "type" : "string"
7553
+ }
7554
+ }, {
7555
+ "description" : "The ID of the file",
7556
+ "in" : "path",
7557
+ "name" : "fileId",
7558
+ "required" : true,
7559
+ "schema" : {
7560
+ "type" : "string"
7561
+ }
7562
+ } ],
7563
+ "responses" : {
7564
+ "204" : {
7565
+ "description" : "File deleted"
7566
+ },
7567
+ "401" : {
7568
+ "description" : "Unauthorized"
7569
+ },
7570
+ "403" : {
7571
+ "description" : "Forbidden"
7572
+ },
7573
+ "404" : {
7574
+ "description" : "SKILL_NOT_FOUND or SKILL_FILE_NOT_FOUND"
7575
+ }
7576
+ },
7577
+ "summary" : "Delete a skill file",
7578
+ "tags" : [ "skills" ]
7579
+ },
7580
+ "get" : {
7581
+ "operationId" : "getSkillFile",
7582
+ "parameters" : [ {
7583
+ "description" : "Skill identifier",
7584
+ "in" : "path",
7585
+ "name" : "skillId",
7586
+ "required" : true,
7587
+ "schema" : {
7588
+ "format" : "uuid",
7589
+ "type" : "string"
7590
+ }
7591
+ }, {
7592
+ "description" : "The ID of the file",
7593
+ "in" : "path",
7594
+ "name" : "fileId",
7595
+ "required" : true,
7596
+ "schema" : {
7597
+ "type" : "string"
7598
+ }
7599
+ } ],
7600
+ "responses" : {
7601
+ "200" : {
7602
+ "content" : {
7603
+ "application/json" : {
7604
+ "schema" : {
7605
+ "$ref" : "#/components/schemas/SkillFile"
7606
+ }
7607
+ }
7608
+ },
7609
+ "description" : "Skill file with full content"
7610
+ },
7611
+ "401" : {
7612
+ "description" : "Unauthorized"
7613
+ },
7614
+ "403" : {
7615
+ "description" : "Forbidden"
7616
+ },
7617
+ "404" : {
7618
+ "description" : "SKILL_NOT_FOUND or SKILL_FILE_NOT_FOUND"
7619
+ }
7620
+ },
7621
+ "summary" : "Get a skill file with content",
7622
+ "tags" : [ "skills" ]
7623
+ },
7624
+ "patch" : {
7625
+ "operationId" : "updateSkillFile",
7626
+ "parameters" : [ {
7627
+ "description" : "Skill identifier",
7628
+ "in" : "path",
7629
+ "name" : "skillId",
7630
+ "required" : true,
7631
+ "schema" : {
7632
+ "format" : "uuid",
7633
+ "type" : "string"
7634
+ }
7635
+ }, {
7636
+ "description" : "The ID of the file",
7637
+ "in" : "path",
7638
+ "name" : "fileId",
7639
+ "required" : true,
7640
+ "schema" : {
7641
+ "type" : "string"
7642
+ }
7643
+ } ],
7644
+ "requestBody" : {
7645
+ "content" : {
7646
+ "application/json" : {
7647
+ "schema" : {
7648
+ "$ref" : "#/components/schemas/SkillFileUpdateRequest"
7649
+ }
7650
+ }
7651
+ },
7652
+ "required" : true
7653
+ },
7654
+ "responses" : {
7655
+ "200" : {
7656
+ "content" : {
7657
+ "application/json" : {
7658
+ "schema" : {
7659
+ "$ref" : "#/components/schemas/SkillFile"
7660
+ }
7661
+ }
7662
+ },
7663
+ "description" : "File updated"
7664
+ },
7665
+ "401" : {
7666
+ "description" : "Unauthorized"
7667
+ },
7668
+ "403" : {
7669
+ "description" : "Forbidden"
7670
+ },
7671
+ "404" : {
7672
+ "description" : "SKILL_NOT_FOUND or SKILL_FILE_NOT_FOUND"
7673
+ },
7674
+ "422" : {
7675
+ "description" : "Validation error — SKILL_FILE_DESC_TOO_SHORT, SKILL_FILE_DESC_TOO_LONG, SKILL_FILE_INVALID_FILENAME or SKILL_FILE_CONTENT_TOO_LARGE"
7676
+ }
7677
+ },
7678
+ "summary" : "Update a skill file",
7679
+ "tags" : [ "skills" ]
7680
+ }
7681
+ },
7451
7682
  "/agents/{agentId}/skills" : {
7452
7683
  "get" : {
7453
7684
  "operationId" : "getAgentSkills",
@@ -12142,13 +12373,18 @@
12142
12373
  "type" : "string"
12143
12374
  },
12144
12375
  "slug" : {
12376
+ "maxLength" : 64,
12377
+ "minLength" : 1,
12145
12378
  "pattern" : "^[a-z0-9]+(?:-[a-z0-9]+)*$",
12146
12379
  "type" : "string"
12147
12380
  },
12148
12381
  "description" : {
12382
+ "maxLength" : 1024,
12383
+ "minLength" : 1,
12149
12384
  "type" : "string"
12150
12385
  },
12151
12386
  "content" : {
12387
+ "minLength" : 1,
12152
12388
  "type" : "string"
12153
12389
  }
12154
12390
  },
@@ -12157,6 +12393,7 @@
12157
12393
  },
12158
12394
  "SkillUpdateRequest" : {
12159
12395
  "additionalProperties" : false,
12396
+ "minProperties" : 1,
12160
12397
  "properties" : {
12161
12398
  "name" : {
12162
12399
  "maxLength" : 255,
@@ -12164,9 +12401,12 @@
12164
12401
  "type" : "string"
12165
12402
  },
12166
12403
  "description" : {
12404
+ "maxLength" : 1024,
12405
+ "minLength" : 1,
12167
12406
  "type" : "string"
12168
12407
  },
12169
12408
  "content" : {
12409
+ "minLength" : 1,
12170
12410
  "type" : "string"
12171
12411
  },
12172
12412
  "isActive" : {
@@ -12175,6 +12415,103 @@
12175
12415
  },
12176
12416
  "type" : "object"
12177
12417
  },
12418
+ "SkillFileSummary" : {
12419
+ "properties" : {
12420
+ "id" : {
12421
+ "format" : "uuid",
12422
+ "type" : "string"
12423
+ },
12424
+ "skillId" : {
12425
+ "format" : "uuid",
12426
+ "type" : "string"
12427
+ },
12428
+ "filename" : {
12429
+ "type" : "string"
12430
+ },
12431
+ "mimeType" : {
12432
+ "type" : "string"
12433
+ },
12434
+ "createdAt" : {
12435
+ "format" : "date-time",
12436
+ "type" : "string"
12437
+ },
12438
+ "updatedAt" : {
12439
+ "format" : "date-time",
12440
+ "type" : "string"
12441
+ }
12442
+ },
12443
+ "required" : [ "createdAt", "filename", "id", "mimeType", "skillId", "updatedAt" ],
12444
+ "type" : "object"
12445
+ },
12446
+ "SkillFileCreateRequest" : {
12447
+ "additionalProperties" : false,
12448
+ "properties" : {
12449
+ "filename" : {
12450
+ "maxLength" : 255,
12451
+ "minLength" : 1,
12452
+ "pattern" : "^[a-zA-Z0-9._\\-/]+$",
12453
+ "type" : "string"
12454
+ },
12455
+ "content" : {
12456
+ "minLength" : 1,
12457
+ "type" : "string"
12458
+ },
12459
+ "mimeType" : {
12460
+ "type" : "string"
12461
+ }
12462
+ },
12463
+ "required" : [ "content", "filename" ],
12464
+ "type" : "object"
12465
+ },
12466
+ "SkillFile" : {
12467
+ "properties" : {
12468
+ "id" : {
12469
+ "format" : "uuid",
12470
+ "type" : "string"
12471
+ },
12472
+ "skillId" : {
12473
+ "format" : "uuid",
12474
+ "type" : "string"
12475
+ },
12476
+ "filename" : {
12477
+ "maxLength" : 255,
12478
+ "type" : "string"
12479
+ },
12480
+ "mimeType" : {
12481
+ "maxLength" : 100,
12482
+ "type" : "string"
12483
+ },
12484
+ "content" : {
12485
+ "type" : "string"
12486
+ },
12487
+ "createdAt" : {
12488
+ "format" : "date-time",
12489
+ "type" : "string"
12490
+ },
12491
+ "updatedAt" : {
12492
+ "format" : "date-time",
12493
+ "type" : "string"
12494
+ }
12495
+ },
12496
+ "required" : [ "content", "createdAt", "filename", "id", "mimeType", "skillId", "updatedAt" ],
12497
+ "type" : "object"
12498
+ },
12499
+ "SkillFileUpdateRequest" : {
12500
+ "additionalProperties" : false,
12501
+ "minProperties" : 1,
12502
+ "properties" : {
12503
+ "filename" : {
12504
+ "maxLength" : 255,
12505
+ "minLength" : 1,
12506
+ "type" : "string"
12507
+ },
12508
+ "content" : {
12509
+ "minLength" : 1,
12510
+ "type" : "string"
12511
+ }
12512
+ },
12513
+ "type" : "object"
12514
+ },
12178
12515
  "SkillAssignRequest" : {
12179
12516
  "additionalProperties" : false,
12180
12517
  "properties" : {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@breign/client",
3
- "version": "1.0.91",
3
+ "version": "1.0.92",
4
4
  "main": "dist/index.js",
5
5
  "exports": {
6
6
  ".": "./dist/index.js",