@breign/client 1.0.81 → 1.0.83

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.
@@ -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 SkillCreateRequestUio
16
+ */
17
+ export interface SkillCreateRequestUio {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof SkillCreateRequestUio
22
+ */
23
+ orgId: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof SkillCreateRequestUio
28
+ */
29
+ name: string;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof SkillCreateRequestUio
34
+ */
35
+ slug: string;
36
+ /**
37
+ *
38
+ * @type {string}
39
+ * @memberof SkillCreateRequestUio
40
+ */
41
+ description: string;
42
+ /**
43
+ *
44
+ * @type {string}
45
+ * @memberof SkillCreateRequestUio
46
+ */
47
+ content: string;
48
+ }
49
+ /**
50
+ * Check if a given object implements the SkillCreateRequestUio interface.
51
+ */
52
+ export declare function instanceOfSkillCreateRequestUio(value: object): value is SkillCreateRequestUio;
53
+ export declare function SkillCreateRequestUioFromJSON(json: any): SkillCreateRequestUio;
54
+ export declare function SkillCreateRequestUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): SkillCreateRequestUio;
55
+ export declare function SkillCreateRequestUioToJSON(json: any): SkillCreateRequestUio;
56
+ export declare function SkillCreateRequestUioToJSONTyped(value?: SkillCreateRequestUio | 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.instanceOfSkillCreateRequestUio = instanceOfSkillCreateRequestUio;
17
+ exports.SkillCreateRequestUioFromJSON = SkillCreateRequestUioFromJSON;
18
+ exports.SkillCreateRequestUioFromJSONTyped = SkillCreateRequestUioFromJSONTyped;
19
+ exports.SkillCreateRequestUioToJSON = SkillCreateRequestUioToJSON;
20
+ exports.SkillCreateRequestUioToJSONTyped = SkillCreateRequestUioToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the SkillCreateRequestUio interface.
23
+ */
24
+ function instanceOfSkillCreateRequestUio(value) {
25
+ if (!('orgId' in value) || value['orgId'] === undefined)
26
+ return false;
27
+ if (!('name' in value) || value['name'] === undefined)
28
+ return false;
29
+ if (!('slug' in value) || value['slug'] === undefined)
30
+ return false;
31
+ if (!('description' in value) || value['description'] === undefined)
32
+ return false;
33
+ if (!('content' in value) || value['content'] === undefined)
34
+ return false;
35
+ return true;
36
+ }
37
+ function SkillCreateRequestUioFromJSON(json) {
38
+ return SkillCreateRequestUioFromJSONTyped(json, false);
39
+ }
40
+ function SkillCreateRequestUioFromJSONTyped(json, ignoreDiscriminator) {
41
+ if (json == null) {
42
+ return json;
43
+ }
44
+ return {
45
+ 'orgId': json['orgId'],
46
+ 'name': json['name'],
47
+ 'slug': json['slug'],
48
+ 'description': json['description'],
49
+ 'content': json['content'],
50
+ };
51
+ }
52
+ function SkillCreateRequestUioToJSON(json) {
53
+ return SkillCreateRequestUioToJSONTyped(json, false);
54
+ }
55
+ function SkillCreateRequestUioToJSONTyped(value, ignoreDiscriminator = false) {
56
+ if (value == null) {
57
+ return value;
58
+ }
59
+ return {
60
+ 'orgId': value['orgId'],
61
+ 'name': value['name'],
62
+ 'slug': value['slug'],
63
+ 'description': value['description'],
64
+ 'content': value['content'],
65
+ };
66
+ }
@@ -0,0 +1,86 @@
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 SkillUio
16
+ */
17
+ export interface SkillUio {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof SkillUio
22
+ */
23
+ id: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof SkillUio
28
+ */
29
+ orgId: string;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof SkillUio
34
+ */
35
+ name: string;
36
+ /**
37
+ *
38
+ * @type {string}
39
+ * @memberof SkillUio
40
+ */
41
+ slug: string;
42
+ /**
43
+ *
44
+ * @type {string}
45
+ * @memberof SkillUio
46
+ */
47
+ description: string;
48
+ /**
49
+ *
50
+ * @type {string}
51
+ * @memberof SkillUio
52
+ */
53
+ content: string;
54
+ /**
55
+ *
56
+ * @type {boolean}
57
+ * @memberof SkillUio
58
+ */
59
+ isActive: boolean;
60
+ /**
61
+ *
62
+ * @type {string}
63
+ * @memberof SkillUio
64
+ */
65
+ createdBy?: string | null;
66
+ /**
67
+ *
68
+ * @type {Date}
69
+ * @memberof SkillUio
70
+ */
71
+ createdAt?: Date;
72
+ /**
73
+ *
74
+ * @type {Date}
75
+ * @memberof SkillUio
76
+ */
77
+ updatedAt?: Date;
78
+ }
79
+ /**
80
+ * Check if a given object implements the SkillUio interface.
81
+ */
82
+ export declare function instanceOfSkillUio(value: object): value is SkillUio;
83
+ export declare function SkillUioFromJSON(json: any): SkillUio;
84
+ export declare function SkillUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): SkillUio;
85
+ export declare function SkillUioToJSON(json: any): SkillUio;
86
+ export declare function SkillUioToJSONTyped(value?: SkillUio | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,80 @@
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.instanceOfSkillUio = instanceOfSkillUio;
17
+ exports.SkillUioFromJSON = SkillUioFromJSON;
18
+ exports.SkillUioFromJSONTyped = SkillUioFromJSONTyped;
19
+ exports.SkillUioToJSON = SkillUioToJSON;
20
+ exports.SkillUioToJSONTyped = SkillUioToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the SkillUio interface.
23
+ */
24
+ function instanceOfSkillUio(value) {
25
+ if (!('id' in value) || value['id'] === undefined)
26
+ return false;
27
+ if (!('orgId' in value) || value['orgId'] === undefined)
28
+ return false;
29
+ if (!('name' in value) || value['name'] === undefined)
30
+ return false;
31
+ if (!('slug' in value) || value['slug'] === undefined)
32
+ return false;
33
+ if (!('description' in value) || value['description'] === undefined)
34
+ return false;
35
+ if (!('content' in value) || value['content'] === undefined)
36
+ return false;
37
+ if (!('isActive' in value) || value['isActive'] === undefined)
38
+ return false;
39
+ return true;
40
+ }
41
+ function SkillUioFromJSON(json) {
42
+ return SkillUioFromJSONTyped(json, false);
43
+ }
44
+ function SkillUioFromJSONTyped(json, ignoreDiscriminator) {
45
+ if (json == null) {
46
+ return json;
47
+ }
48
+ return {
49
+ 'id': json['id'],
50
+ 'orgId': json['orgId'],
51
+ 'name': json['name'],
52
+ 'slug': json['slug'],
53
+ 'description': json['description'],
54
+ 'content': json['content'],
55
+ 'isActive': json['isActive'],
56
+ 'createdBy': json['createdBy'] == null ? undefined : json['createdBy'],
57
+ 'createdAt': json['createdAt'] == null ? undefined : (new Date(json['createdAt'])),
58
+ 'updatedAt': json['updatedAt'] == null ? undefined : (new Date(json['updatedAt'])),
59
+ };
60
+ }
61
+ function SkillUioToJSON(json) {
62
+ return SkillUioToJSONTyped(json, false);
63
+ }
64
+ function SkillUioToJSONTyped(value, ignoreDiscriminator = false) {
65
+ if (value == null) {
66
+ return value;
67
+ }
68
+ return {
69
+ 'id': value['id'],
70
+ 'orgId': value['orgId'],
71
+ 'name': value['name'],
72
+ 'slug': value['slug'],
73
+ 'description': value['description'],
74
+ 'content': value['content'],
75
+ 'isActive': value['isActive'],
76
+ 'createdBy': value['createdBy'],
77
+ 'createdAt': value['createdAt'] == null ? undefined : ((value['createdAt']).toISOString()),
78
+ 'updatedAt': value['updatedAt'] == null ? undefined : ((value['updatedAt']).toISOString()),
79
+ };
80
+ }
@@ -0,0 +1,50 @@
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 SkillUpdateRequestUio
16
+ */
17
+ export interface SkillUpdateRequestUio {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof SkillUpdateRequestUio
22
+ */
23
+ name?: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof SkillUpdateRequestUio
28
+ */
29
+ description?: string;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof SkillUpdateRequestUio
34
+ */
35
+ content?: string;
36
+ /**
37
+ *
38
+ * @type {boolean}
39
+ * @memberof SkillUpdateRequestUio
40
+ */
41
+ isActive?: boolean;
42
+ }
43
+ /**
44
+ * Check if a given object implements the SkillUpdateRequestUio interface.
45
+ */
46
+ export declare function instanceOfSkillUpdateRequestUio(value: object): value is SkillUpdateRequestUio;
47
+ export declare function SkillUpdateRequestUioFromJSON(json: any): SkillUpdateRequestUio;
48
+ export declare function SkillUpdateRequestUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): SkillUpdateRequestUio;
49
+ export declare function SkillUpdateRequestUioToJSON(json: any): SkillUpdateRequestUio;
50
+ export declare function SkillUpdateRequestUioToJSONTyped(value?: SkillUpdateRequestUio | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,54 @@
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.instanceOfSkillUpdateRequestUio = instanceOfSkillUpdateRequestUio;
17
+ exports.SkillUpdateRequestUioFromJSON = SkillUpdateRequestUioFromJSON;
18
+ exports.SkillUpdateRequestUioFromJSONTyped = SkillUpdateRequestUioFromJSONTyped;
19
+ exports.SkillUpdateRequestUioToJSON = SkillUpdateRequestUioToJSON;
20
+ exports.SkillUpdateRequestUioToJSONTyped = SkillUpdateRequestUioToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the SkillUpdateRequestUio interface.
23
+ */
24
+ function instanceOfSkillUpdateRequestUio(value) {
25
+ return true;
26
+ }
27
+ function SkillUpdateRequestUioFromJSON(json) {
28
+ return SkillUpdateRequestUioFromJSONTyped(json, false);
29
+ }
30
+ function SkillUpdateRequestUioFromJSONTyped(json, ignoreDiscriminator) {
31
+ if (json == null) {
32
+ return json;
33
+ }
34
+ return {
35
+ 'name': json['name'] == null ? undefined : json['name'],
36
+ 'description': json['description'] == null ? undefined : json['description'],
37
+ 'content': json['content'] == null ? undefined : json['content'],
38
+ 'isActive': json['isActive'] == null ? undefined : json['isActive'],
39
+ };
40
+ }
41
+ function SkillUpdateRequestUioToJSON(json) {
42
+ return SkillUpdateRequestUioToJSONTyped(json, false);
43
+ }
44
+ function SkillUpdateRequestUioToJSONTyped(value, ignoreDiscriminator = false) {
45
+ if (value == null) {
46
+ return value;
47
+ }
48
+ return {
49
+ 'name': value['name'],
50
+ 'description': value['description'],
51
+ 'content': value['content'],
52
+ 'isActive': value['isActive'],
53
+ };
54
+ }
@@ -210,6 +210,10 @@ export * from './SequenceCreateRequestUio';
210
210
  export * from './SequenceUio';
211
211
  export * from './SetTokenRequestUio';
212
212
  export * from './SimpleAgentUio';
213
+ export * from './SkillAssignRequestUio';
214
+ export * from './SkillCreateRequestUio';
215
+ export * from './SkillUio';
216
+ export * from './SkillUpdateRequestUio';
213
217
  export * from './SubscriptionMetricUio';
214
218
  export * from './SuggestionUio';
215
219
  export * from './TTSRequestUio';
@@ -228,6 +228,10 @@ __exportStar(require("./SequenceCreateRequestUio"), exports);
228
228
  __exportStar(require("./SequenceUio"), exports);
229
229
  __exportStar(require("./SetTokenRequestUio"), exports);
230
230
  __exportStar(require("./SimpleAgentUio"), exports);
231
+ __exportStar(require("./SkillAssignRequestUio"), exports);
232
+ __exportStar(require("./SkillCreateRequestUio"), exports);
233
+ __exportStar(require("./SkillUio"), exports);
234
+ __exportStar(require("./SkillUpdateRequestUio"), exports);
231
235
  __exportStar(require("./SubscriptionMetricUio"), exports);
232
236
  __exportStar(require("./SuggestionUio"), exports);
233
237
  __exportStar(require("./TTSRequestUio"), exports);