@breign/client 1.0.82 → 1.0.84

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,98 @@
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.KnowledgeBaseConfigurationUioFusionTypeEnum = exports.KnowledgeBaseConfigurationUioSchemeEnum = void 0;
17
+ exports.instanceOfKnowledgeBaseConfigurationUio = instanceOfKnowledgeBaseConfigurationUio;
18
+ exports.KnowledgeBaseConfigurationUioFromJSON = KnowledgeBaseConfigurationUioFromJSON;
19
+ exports.KnowledgeBaseConfigurationUioFromJSONTyped = KnowledgeBaseConfigurationUioFromJSONTyped;
20
+ exports.KnowledgeBaseConfigurationUioToJSON = KnowledgeBaseConfigurationUioToJSON;
21
+ exports.KnowledgeBaseConfigurationUioToJSONTyped = KnowledgeBaseConfigurationUioToJSONTyped;
22
+ const KnowledgeBaseConfigurationAuthenticationUio_1 = require("./KnowledgeBaseConfigurationAuthenticationUio");
23
+ /**
24
+ * @export
25
+ */
26
+ exports.KnowledgeBaseConfigurationUioSchemeEnum = {
27
+ Http: 'http',
28
+ Https: 'https'
29
+ };
30
+ /**
31
+ * @export
32
+ */
33
+ exports.KnowledgeBaseConfigurationUioFusionTypeEnum = {
34
+ RankedFusion: 'rankedFusion',
35
+ RelativeScoreFusion: 'relativeScoreFusion'
36
+ };
37
+ /**
38
+ * Check if a given object implements the KnowledgeBaseConfigurationUio interface.
39
+ */
40
+ function instanceOfKnowledgeBaseConfigurationUio(value) {
41
+ return true;
42
+ }
43
+ function KnowledgeBaseConfigurationUioFromJSON(json) {
44
+ return KnowledgeBaseConfigurationUioFromJSONTyped(json, false);
45
+ }
46
+ function KnowledgeBaseConfigurationUioFromJSONTyped(json, ignoreDiscriminator) {
47
+ if (json == null) {
48
+ return json;
49
+ }
50
+ return {
51
+ 'host': json['host'] == null ? undefined : json['host'],
52
+ 'scheme': json['scheme'] == null ? undefined : json['scheme'],
53
+ 'authentication': json['authentication'] == null ? undefined : (0, KnowledgeBaseConfigurationAuthenticationUio_1.KnowledgeBaseConfigurationAuthenticationUioFromJSON)(json['authentication']),
54
+ 'indexName': json['indexName'] == null ? undefined : json['indexName'],
55
+ 'colpaliKnowledgeBaseId': json['colpaliKnowledgeBaseId'] == null ? undefined : json['colpaliKnowledgeBaseId'],
56
+ 'emptyKnowledgeResult': json['emptyKnowledgeResult'] == null ? undefined : json['emptyKnowledgeResult'],
57
+ 'additionalInstructions': json['additionalInstructions'] == null ? undefined : json['additionalInstructions'],
58
+ 'fusionType': json['fusionType'] == null ? undefined : json['fusionType'],
59
+ 'toolDescription': json['toolDescription'] == null ? undefined : json['toolDescription'],
60
+ 'toolParametersQueryDescription': json['toolParametersQueryDescription'] == null ? undefined : json['toolParametersQueryDescription'],
61
+ 'scoreThreshold': json['scoreThreshold'] == null ? undefined : json['scoreThreshold'],
62
+ 'maxDocuments': json['maxDocuments'] == null ? undefined : json['maxDocuments'],
63
+ 'maxRetrievalLength': json['maxRetrievalLength'] == null ? undefined : json['maxRetrievalLength'],
64
+ 'vectorizerModel': json['vectorizerModel'] == null ? undefined : json['vectorizerModel'],
65
+ 'vectorizerModelDimensions': json['vectorizerModelDimensions'] == null ? undefined : json['vectorizerModelDimensions'],
66
+ 'embeddingProviderId': json['embeddingProviderId'] == null ? undefined : json['embeddingProviderId'],
67
+ 'embeddingModelId': json['embeddingModelId'] == null ? undefined : json['embeddingModelId'],
68
+ 'embeddingDimensions': json['embeddingDimensions'] == null ? undefined : json['embeddingDimensions'],
69
+ };
70
+ }
71
+ function KnowledgeBaseConfigurationUioToJSON(json) {
72
+ return KnowledgeBaseConfigurationUioToJSONTyped(json, false);
73
+ }
74
+ function KnowledgeBaseConfigurationUioToJSONTyped(value, ignoreDiscriminator = false) {
75
+ if (value == null) {
76
+ return value;
77
+ }
78
+ return {
79
+ 'host': value['host'],
80
+ 'scheme': value['scheme'],
81
+ 'authentication': (0, KnowledgeBaseConfigurationAuthenticationUio_1.KnowledgeBaseConfigurationAuthenticationUioToJSON)(value['authentication']),
82
+ 'indexName': value['indexName'],
83
+ 'colpaliKnowledgeBaseId': value['colpaliKnowledgeBaseId'],
84
+ 'emptyKnowledgeResult': value['emptyKnowledgeResult'],
85
+ 'additionalInstructions': value['additionalInstructions'],
86
+ 'fusionType': value['fusionType'],
87
+ 'toolDescription': value['toolDescription'],
88
+ 'toolParametersQueryDescription': value['toolParametersQueryDescription'],
89
+ 'scoreThreshold': value['scoreThreshold'],
90
+ 'maxDocuments': value['maxDocuments'],
91
+ 'maxRetrievalLength': value['maxRetrievalLength'],
92
+ 'vectorizerModel': value['vectorizerModel'],
93
+ 'vectorizerModelDimensions': value['vectorizerModelDimensions'],
94
+ 'embeddingProviderId': value['embeddingProviderId'],
95
+ 'embeddingModelId': value['embeddingModelId'],
96
+ 'embeddingDimensions': value['embeddingDimensions'],
97
+ };
98
+ }
@@ -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 KnowledgeFilePagePreviewUio
16
+ */
17
+ export interface KnowledgeFilePagePreviewUio {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof KnowledgeFilePagePreviewUio
22
+ */
23
+ url: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof KnowledgeFilePagePreviewUio
28
+ */
29
+ key?: string;
30
+ /**
31
+ *
32
+ * @type {number}
33
+ * @memberof KnowledgeFilePagePreviewUio
34
+ */
35
+ pageIndex: number;
36
+ }
37
+ /**
38
+ * Check if a given object implements the KnowledgeFilePagePreviewUio interface.
39
+ */
40
+ export declare function instanceOfKnowledgeFilePagePreviewUio(value: object): value is KnowledgeFilePagePreviewUio;
41
+ export declare function KnowledgeFilePagePreviewUioFromJSON(json: any): KnowledgeFilePagePreviewUio;
42
+ export declare function KnowledgeFilePagePreviewUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): KnowledgeFilePagePreviewUio;
43
+ export declare function KnowledgeFilePagePreviewUioToJSON(json: any): KnowledgeFilePagePreviewUio;
44
+ export declare function KnowledgeFilePagePreviewUioToJSONTyped(value?: KnowledgeFilePagePreviewUio | 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.instanceOfKnowledgeFilePagePreviewUio = instanceOfKnowledgeFilePagePreviewUio;
17
+ exports.KnowledgeFilePagePreviewUioFromJSON = KnowledgeFilePagePreviewUioFromJSON;
18
+ exports.KnowledgeFilePagePreviewUioFromJSONTyped = KnowledgeFilePagePreviewUioFromJSONTyped;
19
+ exports.KnowledgeFilePagePreviewUioToJSON = KnowledgeFilePagePreviewUioToJSON;
20
+ exports.KnowledgeFilePagePreviewUioToJSONTyped = KnowledgeFilePagePreviewUioToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the KnowledgeFilePagePreviewUio interface.
23
+ */
24
+ function instanceOfKnowledgeFilePagePreviewUio(value) {
25
+ if (!('url' in value) || value['url'] === undefined)
26
+ return false;
27
+ if (!('pageIndex' in value) || value['pageIndex'] === undefined)
28
+ return false;
29
+ return true;
30
+ }
31
+ function KnowledgeFilePagePreviewUioFromJSON(json) {
32
+ return KnowledgeFilePagePreviewUioFromJSONTyped(json, false);
33
+ }
34
+ function KnowledgeFilePagePreviewUioFromJSONTyped(json, ignoreDiscriminator) {
35
+ if (json == null) {
36
+ return json;
37
+ }
38
+ return {
39
+ 'url': json['url'],
40
+ 'key': json['key'] == null ? undefined : json['key'],
41
+ 'pageIndex': json['pageIndex'],
42
+ };
43
+ }
44
+ function KnowledgeFilePagePreviewUioToJSON(json) {
45
+ return KnowledgeFilePagePreviewUioToJSONTyped(json, false);
46
+ }
47
+ function KnowledgeFilePagePreviewUioToJSONTyped(value, ignoreDiscriminator = false) {
48
+ if (value == null) {
49
+ return value;
50
+ }
51
+ return {
52
+ 'url': value['url'],
53
+ 'key': value['key'],
54
+ 'pageIndex': value['pageIndex'],
55
+ };
56
+ }
@@ -0,0 +1,32 @@
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 SkillAssignRequestUio
16
+ */
17
+ export interface SkillAssignRequestUio {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof SkillAssignRequestUio
22
+ */
23
+ skillId: string;
24
+ }
25
+ /**
26
+ * Check if a given object implements the SkillAssignRequestUio interface.
27
+ */
28
+ export declare function instanceOfSkillAssignRequestUio(value: object): value is SkillAssignRequestUio;
29
+ export declare function SkillAssignRequestUioFromJSON(json: any): SkillAssignRequestUio;
30
+ export declare function SkillAssignRequestUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): SkillAssignRequestUio;
31
+ export declare function SkillAssignRequestUioToJSON(json: any): SkillAssignRequestUio;
32
+ export declare function SkillAssignRequestUioToJSONTyped(value?: SkillAssignRequestUio | 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.instanceOfSkillAssignRequestUio = instanceOfSkillAssignRequestUio;
17
+ exports.SkillAssignRequestUioFromJSON = SkillAssignRequestUioFromJSON;
18
+ exports.SkillAssignRequestUioFromJSONTyped = SkillAssignRequestUioFromJSONTyped;
19
+ exports.SkillAssignRequestUioToJSON = SkillAssignRequestUioToJSON;
20
+ exports.SkillAssignRequestUioToJSONTyped = SkillAssignRequestUioToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the SkillAssignRequestUio interface.
23
+ */
24
+ function instanceOfSkillAssignRequestUio(value) {
25
+ if (!('skillId' in value) || value['skillId'] === undefined)
26
+ return false;
27
+ return true;
28
+ }
29
+ function SkillAssignRequestUioFromJSON(json) {
30
+ return SkillAssignRequestUioFromJSONTyped(json, false);
31
+ }
32
+ function SkillAssignRequestUioFromJSONTyped(json, ignoreDiscriminator) {
33
+ if (json == null) {
34
+ return json;
35
+ }
36
+ return {
37
+ 'skillId': json['skill_id'],
38
+ };
39
+ }
40
+ function SkillAssignRequestUioToJSON(json) {
41
+ return SkillAssignRequestUioToJSONTyped(json, false);
42
+ }
43
+ function SkillAssignRequestUioToJSONTyped(value, ignoreDiscriminator = false) {
44
+ if (value == null) {
45
+ return value;
46
+ }
47
+ return {
48
+ 'skill_id': value['skillId'],
49
+ };
50
+ }
@@ -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
+ }