@breign/client 1.0.127 → 1.0.129

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 (40) hide show
  1. package/dist/apis/ConversationsApi.d.ts +55 -1
  2. package/dist/apis/ConversationsApi.js +127 -0
  3. package/dist/apis/GuardiansApi.d.ts +15 -1
  4. package/dist/apis/GuardiansApi.js +34 -0
  5. package/dist/models/AgentPatchUio.d.ts +7 -0
  6. package/dist/models/AgentPatchUio.js +3 -0
  7. package/dist/models/AgentSandboxConfigurationUio.d.ts +58 -0
  8. package/dist/models/AgentSandboxConfigurationUio.js +62 -0
  9. package/dist/models/AgentSandboxNetworkConfigurationUio.d.ts +57 -0
  10. package/dist/models/AgentSandboxNetworkConfigurationUio.js +65 -0
  11. package/dist/models/AgentUio.d.ts +7 -0
  12. package/dist/models/AgentUio.js +3 -0
  13. package/dist/models/AnonymizationStatusUio.d.ts +27 -0
  14. package/dist/models/AnonymizationStatusUio.js +53 -0
  15. package/dist/models/AnonymizeRequestUio.d.ts +32 -0
  16. package/dist/models/AnonymizeRequestUio.js +50 -0
  17. package/dist/models/AnonymizeResponseUio.d.ts +32 -0
  18. package/dist/models/AnonymizeResponseUio.js +48 -0
  19. package/dist/models/ChatMessageUio.d.ts +12 -0
  20. package/dist/models/ChatMessageUio.js +4 -0
  21. package/dist/models/ConversationMessagesInnerUio.d.ts +6 -0
  22. package/dist/models/ConversationMessagesInnerUio.js +2 -0
  23. package/dist/models/GuardianPutRequestUio.d.ts +13 -0
  24. package/dist/models/GuardianPutRequestUio.js +5 -0
  25. package/dist/models/GuardianRoleUio.d.ts +1 -1
  26. package/dist/models/GuardianRoleUio.js +1 -1
  27. package/dist/models/GuardianUio.d.ts +13 -0
  28. package/dist/models/GuardianUio.js +5 -0
  29. package/dist/models/MessageAnonymizationUio.d.ts +93 -0
  30. package/dist/models/MessageAnonymizationUio.js +85 -0
  31. package/dist/models/RegexPatternUio.d.ts +56 -0
  32. package/dist/models/RegexPatternUio.js +66 -0
  33. package/dist/models/WorkspaceFileContentUio.d.ts +62 -0
  34. package/dist/models/WorkspaceFileContentUio.js +70 -0
  35. package/dist/models/WorkspaceFileEntryUio.d.ts +56 -0
  36. package/dist/models/WorkspaceFileEntryUio.js +66 -0
  37. package/dist/models/index.d.ts +9 -0
  38. package/dist/models/index.js +9 -0
  39. package/dist/openapi.json +494 -1
  40. package/package.json +1 -1
@@ -0,0 +1,56 @@
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 RegexPatternUio
16
+ */
17
+ export interface RegexPatternUio {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof RegexPatternUio
22
+ */
23
+ id: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof RegexPatternUio
28
+ */
29
+ name: string;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof RegexPatternUio
34
+ */
35
+ expression: string;
36
+ /**
37
+ *
38
+ * @type {string}
39
+ * @memberof RegexPatternUio
40
+ */
41
+ entityType: string;
42
+ /**
43
+ *
44
+ * @type {boolean}
45
+ * @memberof RegexPatternUio
46
+ */
47
+ enabled: boolean;
48
+ }
49
+ /**
50
+ * Check if a given object implements the RegexPatternUio interface.
51
+ */
52
+ export declare function instanceOfRegexPatternUio(value: object): value is RegexPatternUio;
53
+ export declare function RegexPatternUioFromJSON(json: any): RegexPatternUio;
54
+ export declare function RegexPatternUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): RegexPatternUio;
55
+ export declare function RegexPatternUioToJSON(json: any): RegexPatternUio;
56
+ export declare function RegexPatternUioToJSONTyped(value?: RegexPatternUio | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,66 @@
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.instanceOfRegexPatternUio = instanceOfRegexPatternUio;
17
+ exports.RegexPatternUioFromJSON = RegexPatternUioFromJSON;
18
+ exports.RegexPatternUioFromJSONTyped = RegexPatternUioFromJSONTyped;
19
+ exports.RegexPatternUioToJSON = RegexPatternUioToJSON;
20
+ exports.RegexPatternUioToJSONTyped = RegexPatternUioToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the RegexPatternUio interface.
23
+ */
24
+ function instanceOfRegexPatternUio(value) {
25
+ if (!('id' in value) || value['id'] === undefined)
26
+ return false;
27
+ if (!('name' in value) || value['name'] === undefined)
28
+ return false;
29
+ if (!('expression' in value) || value['expression'] === undefined)
30
+ return false;
31
+ if (!('entityType' in value) || value['entityType'] === undefined)
32
+ return false;
33
+ if (!('enabled' in value) || value['enabled'] === undefined)
34
+ return false;
35
+ return true;
36
+ }
37
+ function RegexPatternUioFromJSON(json) {
38
+ return RegexPatternUioFromJSONTyped(json, false);
39
+ }
40
+ function RegexPatternUioFromJSONTyped(json, ignoreDiscriminator) {
41
+ if (json == null) {
42
+ return json;
43
+ }
44
+ return {
45
+ 'id': json['id'],
46
+ 'name': json['name'],
47
+ 'expression': json['expression'],
48
+ 'entityType': json['entityType'],
49
+ 'enabled': json['enabled'],
50
+ };
51
+ }
52
+ function RegexPatternUioToJSON(json) {
53
+ return RegexPatternUioToJSONTyped(json, false);
54
+ }
55
+ function RegexPatternUioToJSONTyped(value, ignoreDiscriminator = false) {
56
+ if (value == null) {
57
+ return value;
58
+ }
59
+ return {
60
+ 'id': value['id'],
61
+ 'name': value['name'],
62
+ 'expression': value['expression'],
63
+ 'entityType': value['entityType'],
64
+ 'enabled': value['enabled'],
65
+ };
66
+ }
@@ -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
+ * The current state of a workspace file. There is no versioning: consulting an older message still returns the file as it is now.
14
+ * @export
15
+ * @interface WorkspaceFileContentUio
16
+ */
17
+ export interface WorkspaceFileContentUio {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof WorkspaceFileContentUio
22
+ */
23
+ path: string;
24
+ /**
25
+ * UTF-8 text. Binary is never stored in a workspace.
26
+ * @type {string}
27
+ * @memberof WorkspaceFileContentUio
28
+ */
29
+ content: string;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof WorkspaceFileContentUio
34
+ */
35
+ mimeType: string;
36
+ /**
37
+ *
38
+ * @type {number}
39
+ * @memberof WorkspaceFileContentUio
40
+ */
41
+ size: number;
42
+ /**
43
+ *
44
+ * @type {number}
45
+ * @memberof WorkspaceFileContentUio
46
+ */
47
+ version: number;
48
+ /**
49
+ *
50
+ * @type {string}
51
+ * @memberof WorkspaceFileContentUio
52
+ */
53
+ updatedAt: string;
54
+ }
55
+ /**
56
+ * Check if a given object implements the WorkspaceFileContentUio interface.
57
+ */
58
+ export declare function instanceOfWorkspaceFileContentUio(value: object): value is WorkspaceFileContentUio;
59
+ export declare function WorkspaceFileContentUioFromJSON(json: any): WorkspaceFileContentUio;
60
+ export declare function WorkspaceFileContentUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): WorkspaceFileContentUio;
61
+ export declare function WorkspaceFileContentUioToJSON(json: any): WorkspaceFileContentUio;
62
+ export declare function WorkspaceFileContentUioToJSONTyped(value?: WorkspaceFileContentUio | 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.instanceOfWorkspaceFileContentUio = instanceOfWorkspaceFileContentUio;
17
+ exports.WorkspaceFileContentUioFromJSON = WorkspaceFileContentUioFromJSON;
18
+ exports.WorkspaceFileContentUioFromJSONTyped = WorkspaceFileContentUioFromJSONTyped;
19
+ exports.WorkspaceFileContentUioToJSON = WorkspaceFileContentUioToJSON;
20
+ exports.WorkspaceFileContentUioToJSONTyped = WorkspaceFileContentUioToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the WorkspaceFileContentUio interface.
23
+ */
24
+ function instanceOfWorkspaceFileContentUio(value) {
25
+ if (!('path' in value) || value['path'] === undefined)
26
+ return false;
27
+ if (!('content' in value) || value['content'] === undefined)
28
+ return false;
29
+ if (!('mimeType' in value) || value['mimeType'] === undefined)
30
+ return false;
31
+ if (!('size' in value) || value['size'] === undefined)
32
+ return false;
33
+ if (!('version' in value) || value['version'] === undefined)
34
+ return false;
35
+ if (!('updatedAt' in value) || value['updatedAt'] === undefined)
36
+ return false;
37
+ return true;
38
+ }
39
+ function WorkspaceFileContentUioFromJSON(json) {
40
+ return WorkspaceFileContentUioFromJSONTyped(json, false);
41
+ }
42
+ function WorkspaceFileContentUioFromJSONTyped(json, ignoreDiscriminator) {
43
+ if (json == null) {
44
+ return json;
45
+ }
46
+ return {
47
+ 'path': json['path'],
48
+ 'content': json['content'],
49
+ 'mimeType': json['mimeType'],
50
+ 'size': json['size'],
51
+ 'version': json['version'],
52
+ 'updatedAt': json['updatedAt'],
53
+ };
54
+ }
55
+ function WorkspaceFileContentUioToJSON(json) {
56
+ return WorkspaceFileContentUioToJSONTyped(json, false);
57
+ }
58
+ function WorkspaceFileContentUioToJSONTyped(value, ignoreDiscriminator = false) {
59
+ if (value == null) {
60
+ return value;
61
+ }
62
+ return {
63
+ 'path': value['path'],
64
+ 'content': value['content'],
65
+ 'mimeType': value['mimeType'],
66
+ 'size': value['size'],
67
+ 'version': value['version'],
68
+ 'updatedAt': value['updatedAt'],
69
+ };
70
+ }
@@ -0,0 +1,56 @@
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
+ * One file of a persisted agent workspace. Listing entry only — it never carries the content.
14
+ * @export
15
+ * @interface WorkspaceFileEntryUio
16
+ */
17
+ export interface WorkspaceFileEntryUio {
18
+ /**
19
+ * Absolute path inside the sandbox, always under /home/user.
20
+ * @type {string}
21
+ * @memberof WorkspaceFileEntryUio
22
+ */
23
+ path: string;
24
+ /**
25
+ * UTF-8 byte length of the content.
26
+ * @type {number}
27
+ * @memberof WorkspaceFileEntryUio
28
+ */
29
+ size: number;
30
+ /**
31
+ * Derived from the extension. Always a text type.
32
+ * @type {string}
33
+ * @memberof WorkspaceFileEntryUio
34
+ */
35
+ mimeType: string;
36
+ /**
37
+ * Incremented on every write. Doubles as an ETag: a client already holding this version does not need to fetch the content again.
38
+ * @type {number}
39
+ * @memberof WorkspaceFileEntryUio
40
+ */
41
+ version: number;
42
+ /**
43
+ *
44
+ * @type {string}
45
+ * @memberof WorkspaceFileEntryUio
46
+ */
47
+ updatedAt: string;
48
+ }
49
+ /**
50
+ * Check if a given object implements the WorkspaceFileEntryUio interface.
51
+ */
52
+ export declare function instanceOfWorkspaceFileEntryUio(value: object): value is WorkspaceFileEntryUio;
53
+ export declare function WorkspaceFileEntryUioFromJSON(json: any): WorkspaceFileEntryUio;
54
+ export declare function WorkspaceFileEntryUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): WorkspaceFileEntryUio;
55
+ export declare function WorkspaceFileEntryUioToJSON(json: any): WorkspaceFileEntryUio;
56
+ export declare function WorkspaceFileEntryUioToJSONTyped(value?: WorkspaceFileEntryUio | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,66 @@
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.instanceOfWorkspaceFileEntryUio = instanceOfWorkspaceFileEntryUio;
17
+ exports.WorkspaceFileEntryUioFromJSON = WorkspaceFileEntryUioFromJSON;
18
+ exports.WorkspaceFileEntryUioFromJSONTyped = WorkspaceFileEntryUioFromJSONTyped;
19
+ exports.WorkspaceFileEntryUioToJSON = WorkspaceFileEntryUioToJSON;
20
+ exports.WorkspaceFileEntryUioToJSONTyped = WorkspaceFileEntryUioToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the WorkspaceFileEntryUio interface.
23
+ */
24
+ function instanceOfWorkspaceFileEntryUio(value) {
25
+ if (!('path' in value) || value['path'] === undefined)
26
+ return false;
27
+ if (!('size' in value) || value['size'] === undefined)
28
+ return false;
29
+ if (!('mimeType' in value) || value['mimeType'] === undefined)
30
+ return false;
31
+ if (!('version' in value) || value['version'] === undefined)
32
+ return false;
33
+ if (!('updatedAt' in value) || value['updatedAt'] === undefined)
34
+ return false;
35
+ return true;
36
+ }
37
+ function WorkspaceFileEntryUioFromJSON(json) {
38
+ return WorkspaceFileEntryUioFromJSONTyped(json, false);
39
+ }
40
+ function WorkspaceFileEntryUioFromJSONTyped(json, ignoreDiscriminator) {
41
+ if (json == null) {
42
+ return json;
43
+ }
44
+ return {
45
+ 'path': json['path'],
46
+ 'size': json['size'],
47
+ 'mimeType': json['mimeType'],
48
+ 'version': json['version'],
49
+ 'updatedAt': json['updatedAt'],
50
+ };
51
+ }
52
+ function WorkspaceFileEntryUioToJSON(json) {
53
+ return WorkspaceFileEntryUioToJSONTyped(json, false);
54
+ }
55
+ function WorkspaceFileEntryUioToJSONTyped(value, ignoreDiscriminator = false) {
56
+ if (value == null) {
57
+ return value;
58
+ }
59
+ return {
60
+ 'path': value['path'],
61
+ 'size': value['size'],
62
+ 'mimeType': value['mimeType'],
63
+ 'version': value['version'],
64
+ 'updatedAt': value['updatedAt'],
65
+ };
66
+ }
@@ -39,6 +39,8 @@ export * from './AgentPatchUio';
39
39
  export * from './AgentRefUio';
40
40
  export * from './AgentRequestUio';
41
41
  export * from './AgentRoleDetailsUio';
42
+ export * from './AgentSandboxConfigurationUio';
43
+ export * from './AgentSandboxNetworkConfigurationUio';
42
44
  export * from './AgentSubscriptionTextInteractionsUio';
43
45
  export * from './AgentSubscriptionUio';
44
46
  export * from './AgentTokenBreakdownUio';
@@ -61,6 +63,9 @@ export * from './AiGatewayModelListUio';
61
63
  export * from './AiGatewayModelUio';
62
64
  export * from './AnimationCreateRequestUio';
63
65
  export * from './AnimationUio';
66
+ export * from './AnonymizationStatusUio';
67
+ export * from './AnonymizeRequestUio';
68
+ export * from './AnonymizeResponseUio';
64
69
  export * from './ApiKeyCreateRequestUio';
65
70
  export * from './ApiKeyCreatedUio';
66
71
  export * from './ApiKeyRefUio';
@@ -245,6 +250,7 @@ export * from './LipsyncUio';
245
250
  export * from './ManifestCreateRequestUio';
246
251
  export * from './ManifestUio';
247
252
  export * from './MarkAttachmentProcessed400ResponseUio';
253
+ export * from './MessageAnonymizationUio';
248
254
  export * from './MessageAudioDownloadUrlUio';
249
255
  export * from './MessageStatusErrorUio';
250
256
  export * from './MessageStatusToolCallUio';
@@ -297,6 +303,7 @@ export * from './ProviderCreateRequestUio';
297
303
  export * from './ProviderTypeUio';
298
304
  export * from './ProviderUio';
299
305
  export * from './ProviderValiationRequestUio';
306
+ export * from './RegexPatternUio';
300
307
  export * from './RevealTokenRequestUio';
301
308
  export * from './RevealTokenResponseUio';
302
309
  export * from './RoleCreateRequestUio';
@@ -380,3 +387,5 @@ export * from './UserIdentifierRequestUio';
380
387
  export * from './UserIdentifierUio';
381
388
  export * from './UserLockRequestUio';
382
389
  export * from './UserUpdateRequestUio';
390
+ export * from './WorkspaceFileContentUio';
391
+ export * from './WorkspaceFileEntryUio';
@@ -57,6 +57,8 @@ __exportStar(require("./AgentPatchUio"), exports);
57
57
  __exportStar(require("./AgentRefUio"), exports);
58
58
  __exportStar(require("./AgentRequestUio"), exports);
59
59
  __exportStar(require("./AgentRoleDetailsUio"), exports);
60
+ __exportStar(require("./AgentSandboxConfigurationUio"), exports);
61
+ __exportStar(require("./AgentSandboxNetworkConfigurationUio"), exports);
60
62
  __exportStar(require("./AgentSubscriptionTextInteractionsUio"), exports);
61
63
  __exportStar(require("./AgentSubscriptionUio"), exports);
62
64
  __exportStar(require("./AgentTokenBreakdownUio"), exports);
@@ -79,6 +81,9 @@ __exportStar(require("./AiGatewayModelListUio"), exports);
79
81
  __exportStar(require("./AiGatewayModelUio"), exports);
80
82
  __exportStar(require("./AnimationCreateRequestUio"), exports);
81
83
  __exportStar(require("./AnimationUio"), exports);
84
+ __exportStar(require("./AnonymizationStatusUio"), exports);
85
+ __exportStar(require("./AnonymizeRequestUio"), exports);
86
+ __exportStar(require("./AnonymizeResponseUio"), exports);
82
87
  __exportStar(require("./ApiKeyCreateRequestUio"), exports);
83
88
  __exportStar(require("./ApiKeyCreatedUio"), exports);
84
89
  __exportStar(require("./ApiKeyRefUio"), exports);
@@ -263,6 +268,7 @@ __exportStar(require("./LipsyncUio"), exports);
263
268
  __exportStar(require("./ManifestCreateRequestUio"), exports);
264
269
  __exportStar(require("./ManifestUio"), exports);
265
270
  __exportStar(require("./MarkAttachmentProcessed400ResponseUio"), exports);
271
+ __exportStar(require("./MessageAnonymizationUio"), exports);
266
272
  __exportStar(require("./MessageAudioDownloadUrlUio"), exports);
267
273
  __exportStar(require("./MessageStatusErrorUio"), exports);
268
274
  __exportStar(require("./MessageStatusToolCallUio"), exports);
@@ -315,6 +321,7 @@ __exportStar(require("./ProviderCreateRequestUio"), exports);
315
321
  __exportStar(require("./ProviderTypeUio"), exports);
316
322
  __exportStar(require("./ProviderUio"), exports);
317
323
  __exportStar(require("./ProviderValiationRequestUio"), exports);
324
+ __exportStar(require("./RegexPatternUio"), exports);
318
325
  __exportStar(require("./RevealTokenRequestUio"), exports);
319
326
  __exportStar(require("./RevealTokenResponseUio"), exports);
320
327
  __exportStar(require("./RoleCreateRequestUio"), exports);
@@ -398,3 +405,5 @@ __exportStar(require("./UserIdentifierRequestUio"), exports);
398
405
  __exportStar(require("./UserIdentifierUio"), exports);
399
406
  __exportStar(require("./UserLockRequestUio"), exports);
400
407
  __exportStar(require("./UserUpdateRequestUio"), exports);
408
+ __exportStar(require("./WorkspaceFileContentUio"), exports);
409
+ __exportStar(require("./WorkspaceFileEntryUio"), exports);