@breign/client 1.0.57 → 1.0.59

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 (41) hide show
  1. package/dist/apis/AppApi.d.ts +48 -1
  2. package/dist/apis/AppApi.js +110 -0
  3. package/dist/apis/ConversationsApi.d.ts +5 -5
  4. package/dist/apis/ConversationsApi.js +4 -3
  5. package/dist/models/AttachmentCreateRequestUio.d.ts +5 -39
  6. package/dist/models/AttachmentCreateRequestUio.js +22 -32
  7. package/dist/models/AttachmentCreateResponseUio.d.ts +24 -0
  8. package/dist/models/AttachmentCreateResponseUio.js +64 -0
  9. package/dist/models/AttachmentDetailsResponseUio.d.ts +23 -0
  10. package/dist/models/AttachmentDetailsResponseUio.js +57 -0
  11. package/dist/models/AttachmentTypeUio.d.ts +1 -0
  12. package/dist/models/AttachmentTypeUio.js +2 -1
  13. package/dist/models/AudioFillerExistsResponseUio.d.ts +32 -0
  14. package/dist/models/AudioFillerExistsResponseUio.js +50 -0
  15. package/dist/models/ChatContextAttachmentUio.d.ts +23 -0
  16. package/dist/models/ChatContextAttachmentUio.js +57 -0
  17. package/dist/models/ContextUio.d.ts +3 -3
  18. package/dist/models/ContextUio.js +3 -3
  19. package/dist/models/FileAttachmentCreateRequestUio.d.ts +63 -0
  20. package/dist/models/FileAttachmentCreateRequestUio.js +73 -0
  21. package/dist/models/FileAttachmentDetailsResponseUio.d.ts +89 -0
  22. package/dist/models/FileAttachmentDetailsResponseUio.js +85 -0
  23. package/dist/models/FileAttachmentProcessedOneOfUio.d.ts +9 -3
  24. package/dist/models/FileAttachmentProcessedOneOfUio.js +9 -3
  25. package/dist/models/FileAttachmentUio.d.ts +1 -1
  26. package/dist/models/FileAttachmentUploadResponseUio.d.ts +103 -0
  27. package/dist/models/FileAttachmentUploadResponseUio.js +93 -0
  28. package/dist/models/ImageAttachment1Uio.d.ts +94 -0
  29. package/dist/models/ImageAttachment1Uio.js +90 -0
  30. package/dist/models/ImageAttachmentCreateRequestUio.d.ts +69 -0
  31. package/dist/models/ImageAttachmentCreateRequestUio.js +75 -0
  32. package/dist/models/ImageAttachmentDetailsResponseUio.d.ts +94 -0
  33. package/dist/models/ImageAttachmentDetailsResponseUio.js +90 -0
  34. package/dist/models/ImageAttachmentUio.d.ts +94 -0
  35. package/dist/models/ImageAttachmentUio.js +90 -0
  36. package/dist/models/ImageAttachmentUploadResponseUio.d.ts +108 -0
  37. package/dist/models/ImageAttachmentUploadResponseUio.js +98 -0
  38. package/dist/models/index.d.ts +12 -0
  39. package/dist/models/index.js +12 -0
  40. package/dist/openapi.json +425 -6
  41. package/package.json +1 -1
@@ -0,0 +1,93 @@
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.instanceOfFileAttachmentUploadResponseUio = instanceOfFileAttachmentUploadResponseUio;
17
+ exports.FileAttachmentUploadResponseUioFromJSON = FileAttachmentUploadResponseUioFromJSON;
18
+ exports.FileAttachmentUploadResponseUioFromJSONTyped = FileAttachmentUploadResponseUioFromJSONTyped;
19
+ exports.FileAttachmentUploadResponseUioToJSON = FileAttachmentUploadResponseUioToJSON;
20
+ exports.FileAttachmentUploadResponseUioToJSONTyped = FileAttachmentUploadResponseUioToJSONTyped;
21
+ const AttachmentTypeUio_1 = require("./AttachmentTypeUio");
22
+ const FileAttachmentProcessedUio_1 = require("./FileAttachmentProcessedUio");
23
+ const FileAttachmentStatusUio_1 = require("./FileAttachmentStatusUio");
24
+ /**
25
+ * Check if a given object implements the FileAttachmentUploadResponseUio interface.
26
+ */
27
+ function instanceOfFileAttachmentUploadResponseUio(value) {
28
+ if (!('type' in value) || value['type'] === undefined)
29
+ return false;
30
+ if (!('id' in value) || value['id'] === undefined)
31
+ return false;
32
+ if (!('name' in value) || value['name'] === undefined)
33
+ return false;
34
+ if (!('mimeType' in value) || value['mimeType'] === undefined)
35
+ return false;
36
+ if (!('ext' in value) || value['ext'] === undefined)
37
+ return false;
38
+ if (!('size' in value) || value['size'] === undefined)
39
+ return false;
40
+ if (!('key' in value) || value['key'] === undefined)
41
+ return false;
42
+ if (!('status' in value) || value['status'] === undefined)
43
+ return false;
44
+ if (!('postURL' in value) || value['postURL'] === undefined)
45
+ return false;
46
+ if (!('formData' in value) || value['formData'] === undefined)
47
+ return false;
48
+ return true;
49
+ }
50
+ function FileAttachmentUploadResponseUioFromJSON(json) {
51
+ return FileAttachmentUploadResponseUioFromJSONTyped(json, false);
52
+ }
53
+ function FileAttachmentUploadResponseUioFromJSONTyped(json, ignoreDiscriminator) {
54
+ if (json == null) {
55
+ return json;
56
+ }
57
+ return {
58
+ 'type': (0, AttachmentTypeUio_1.AttachmentTypeUioFromJSON)(json['type']),
59
+ 'id': json['id'],
60
+ 'name': json['name'],
61
+ 'mimeType': json['mimeType'],
62
+ 'ext': json['ext'],
63
+ 'size': json['size'],
64
+ 'key': json['key'],
65
+ 'url': json['url'] == null ? undefined : json['url'],
66
+ 'status': (0, FileAttachmentStatusUio_1.FileAttachmentStatusUioFromJSON)(json['status']),
67
+ 'processed': json['processed'] == null ? undefined : (0, FileAttachmentProcessedUio_1.FileAttachmentProcessedUioFromJSON)(json['processed']),
68
+ 'postURL': json['postURL'],
69
+ 'formData': json['formData'],
70
+ };
71
+ }
72
+ function FileAttachmentUploadResponseUioToJSON(json) {
73
+ return FileAttachmentUploadResponseUioToJSONTyped(json, false);
74
+ }
75
+ function FileAttachmentUploadResponseUioToJSONTyped(value, ignoreDiscriminator = false) {
76
+ if (value == null) {
77
+ return value;
78
+ }
79
+ return {
80
+ 'type': (0, AttachmentTypeUio_1.AttachmentTypeUioToJSON)(value['type']),
81
+ 'id': value['id'],
82
+ 'name': value['name'],
83
+ 'mimeType': value['mimeType'],
84
+ 'ext': value['ext'],
85
+ 'size': value['size'],
86
+ 'key': value['key'],
87
+ 'url': value['url'],
88
+ 'status': (0, FileAttachmentStatusUio_1.FileAttachmentStatusUioToJSON)(value['status']),
89
+ 'processed': (0, FileAttachmentProcessedUio_1.FileAttachmentProcessedUioToJSON)(value['processed']),
90
+ 'postURL': value['postURL'],
91
+ 'formData': value['formData'],
92
+ };
93
+ }
@@ -0,0 +1,94 @@
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
+ import type { FileAttachmentStatusUio } from './FileAttachmentStatusUio';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface ImageAttachment1Uio
17
+ */
18
+ export interface ImageAttachment1Uio {
19
+ /**
20
+ *
21
+ * @type {string}
22
+ * @memberof ImageAttachment1Uio
23
+ */
24
+ type: ImageAttachment1UioTypeEnum;
25
+ /**
26
+ *
27
+ * @type {string}
28
+ * @memberof ImageAttachment1Uio
29
+ */
30
+ id: string;
31
+ /**
32
+ *
33
+ * @type {string}
34
+ * @memberof ImageAttachment1Uio
35
+ */
36
+ name: string;
37
+ /**
38
+ *
39
+ * @type {string}
40
+ * @memberof ImageAttachment1Uio
41
+ */
42
+ mimeType: string;
43
+ /**
44
+ *
45
+ * @type {string}
46
+ * @memberof ImageAttachment1Uio
47
+ */
48
+ ext: string;
49
+ /**
50
+ *
51
+ * @type {number}
52
+ * @memberof ImageAttachment1Uio
53
+ */
54
+ size: number;
55
+ /**
56
+ *
57
+ * @type {string}
58
+ * @memberof ImageAttachment1Uio
59
+ */
60
+ key: string;
61
+ /**
62
+ * Presigned URL to access the image
63
+ * @type {string}
64
+ * @memberof ImageAttachment1Uio
65
+ */
66
+ url?: string;
67
+ /**
68
+ * Base64 inline data URL (optional)
69
+ * @type {string}
70
+ * @memberof ImageAttachment1Uio
71
+ */
72
+ inlineDataUrl?: string;
73
+ /**
74
+ *
75
+ * @type {FileAttachmentStatusUio}
76
+ * @memberof ImageAttachment1Uio
77
+ */
78
+ status: FileAttachmentStatusUio;
79
+ }
80
+ /**
81
+ * @export
82
+ */
83
+ export declare const ImageAttachment1UioTypeEnum: {
84
+ readonly Image: "image";
85
+ };
86
+ export type ImageAttachment1UioTypeEnum = typeof ImageAttachment1UioTypeEnum[keyof typeof ImageAttachment1UioTypeEnum];
87
+ /**
88
+ * Check if a given object implements the ImageAttachment1Uio interface.
89
+ */
90
+ export declare function instanceOfImageAttachment1Uio(value: object): value is ImageAttachment1Uio;
91
+ export declare function ImageAttachment1UioFromJSON(json: any): ImageAttachment1Uio;
92
+ export declare function ImageAttachment1UioFromJSONTyped(json: any, ignoreDiscriminator: boolean): ImageAttachment1Uio;
93
+ export declare function ImageAttachment1UioToJSON(json: any): ImageAttachment1Uio;
94
+ export declare function ImageAttachment1UioToJSONTyped(value?: ImageAttachment1Uio | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,90 @@
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.ImageAttachment1UioTypeEnum = void 0;
17
+ exports.instanceOfImageAttachment1Uio = instanceOfImageAttachment1Uio;
18
+ exports.ImageAttachment1UioFromJSON = ImageAttachment1UioFromJSON;
19
+ exports.ImageAttachment1UioFromJSONTyped = ImageAttachment1UioFromJSONTyped;
20
+ exports.ImageAttachment1UioToJSON = ImageAttachment1UioToJSON;
21
+ exports.ImageAttachment1UioToJSONTyped = ImageAttachment1UioToJSONTyped;
22
+ const FileAttachmentStatusUio_1 = require("./FileAttachmentStatusUio");
23
+ /**
24
+ * @export
25
+ */
26
+ exports.ImageAttachment1UioTypeEnum = {
27
+ Image: 'image'
28
+ };
29
+ /**
30
+ * Check if a given object implements the ImageAttachment1Uio interface.
31
+ */
32
+ function instanceOfImageAttachment1Uio(value) {
33
+ if (!('type' in value) || value['type'] === undefined)
34
+ return false;
35
+ if (!('id' in value) || value['id'] === undefined)
36
+ return false;
37
+ if (!('name' in value) || value['name'] === undefined)
38
+ return false;
39
+ if (!('mimeType' in value) || value['mimeType'] === undefined)
40
+ return false;
41
+ if (!('ext' in value) || value['ext'] === undefined)
42
+ return false;
43
+ if (!('size' in value) || value['size'] === undefined)
44
+ return false;
45
+ if (!('key' in value) || value['key'] === undefined)
46
+ return false;
47
+ if (!('status' in value) || value['status'] === undefined)
48
+ return false;
49
+ return true;
50
+ }
51
+ function ImageAttachment1UioFromJSON(json) {
52
+ return ImageAttachment1UioFromJSONTyped(json, false);
53
+ }
54
+ function ImageAttachment1UioFromJSONTyped(json, ignoreDiscriminator) {
55
+ if (json == null) {
56
+ return json;
57
+ }
58
+ return {
59
+ 'type': json['type'],
60
+ 'id': json['id'],
61
+ 'name': json['name'],
62
+ 'mimeType': json['mimeType'],
63
+ 'ext': json['ext'],
64
+ 'size': json['size'],
65
+ 'key': json['key'],
66
+ 'url': json['url'] == null ? undefined : json['url'],
67
+ 'inlineDataUrl': json['inlineDataUrl'] == null ? undefined : json['inlineDataUrl'],
68
+ 'status': (0, FileAttachmentStatusUio_1.FileAttachmentStatusUioFromJSON)(json['status']),
69
+ };
70
+ }
71
+ function ImageAttachment1UioToJSON(json) {
72
+ return ImageAttachment1UioToJSONTyped(json, false);
73
+ }
74
+ function ImageAttachment1UioToJSONTyped(value, ignoreDiscriminator = false) {
75
+ if (value == null) {
76
+ return value;
77
+ }
78
+ return {
79
+ 'type': value['type'],
80
+ 'id': value['id'],
81
+ 'name': value['name'],
82
+ 'mimeType': value['mimeType'],
83
+ 'ext': value['ext'],
84
+ 'size': value['size'],
85
+ 'key': value['key'],
86
+ 'url': value['url'],
87
+ 'inlineDataUrl': value['inlineDataUrl'],
88
+ 'status': (0, FileAttachmentStatusUio_1.FileAttachmentStatusUioToJSON)(value['status']),
89
+ };
90
+ }
@@ -0,0 +1,69 @@
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 ImageAttachmentCreateRequestUio
16
+ */
17
+ export interface ImageAttachmentCreateRequestUio {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof ImageAttachmentCreateRequestUio
22
+ */
23
+ type: ImageAttachmentCreateRequestUioTypeEnum;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof ImageAttachmentCreateRequestUio
28
+ */
29
+ name: string;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof ImageAttachmentCreateRequestUio
34
+ */
35
+ mimeType: string;
36
+ /**
37
+ *
38
+ * @type {string}
39
+ * @memberof ImageAttachmentCreateRequestUio
40
+ */
41
+ ext: string;
42
+ /**
43
+ *
44
+ * @type {number}
45
+ * @memberof ImageAttachmentCreateRequestUio
46
+ */
47
+ size: number;
48
+ /**
49
+ * Optional inline base64 image data
50
+ * @type {string}
51
+ * @memberof ImageAttachmentCreateRequestUio
52
+ */
53
+ dataUrl?: string;
54
+ }
55
+ /**
56
+ * @export
57
+ */
58
+ export declare const ImageAttachmentCreateRequestUioTypeEnum: {
59
+ readonly Image: "image";
60
+ };
61
+ export type ImageAttachmentCreateRequestUioTypeEnum = typeof ImageAttachmentCreateRequestUioTypeEnum[keyof typeof ImageAttachmentCreateRequestUioTypeEnum];
62
+ /**
63
+ * Check if a given object implements the ImageAttachmentCreateRequestUio interface.
64
+ */
65
+ export declare function instanceOfImageAttachmentCreateRequestUio(value: object): value is ImageAttachmentCreateRequestUio;
66
+ export declare function ImageAttachmentCreateRequestUioFromJSON(json: any): ImageAttachmentCreateRequestUio;
67
+ export declare function ImageAttachmentCreateRequestUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): ImageAttachmentCreateRequestUio;
68
+ export declare function ImageAttachmentCreateRequestUioToJSON(json: any): ImageAttachmentCreateRequestUio;
69
+ export declare function ImageAttachmentCreateRequestUioToJSONTyped(value?: ImageAttachmentCreateRequestUio | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,75 @@
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.ImageAttachmentCreateRequestUioTypeEnum = void 0;
17
+ exports.instanceOfImageAttachmentCreateRequestUio = instanceOfImageAttachmentCreateRequestUio;
18
+ exports.ImageAttachmentCreateRequestUioFromJSON = ImageAttachmentCreateRequestUioFromJSON;
19
+ exports.ImageAttachmentCreateRequestUioFromJSONTyped = ImageAttachmentCreateRequestUioFromJSONTyped;
20
+ exports.ImageAttachmentCreateRequestUioToJSON = ImageAttachmentCreateRequestUioToJSON;
21
+ exports.ImageAttachmentCreateRequestUioToJSONTyped = ImageAttachmentCreateRequestUioToJSONTyped;
22
+ /**
23
+ * @export
24
+ */
25
+ exports.ImageAttachmentCreateRequestUioTypeEnum = {
26
+ Image: 'image'
27
+ };
28
+ /**
29
+ * Check if a given object implements the ImageAttachmentCreateRequestUio interface.
30
+ */
31
+ function instanceOfImageAttachmentCreateRequestUio(value) {
32
+ if (!('type' in value) || value['type'] === undefined)
33
+ return false;
34
+ if (!('name' in value) || value['name'] === undefined)
35
+ return false;
36
+ if (!('mimeType' in value) || value['mimeType'] === undefined)
37
+ return false;
38
+ if (!('ext' in value) || value['ext'] === undefined)
39
+ return false;
40
+ if (!('size' in value) || value['size'] === undefined)
41
+ return false;
42
+ return true;
43
+ }
44
+ function ImageAttachmentCreateRequestUioFromJSON(json) {
45
+ return ImageAttachmentCreateRequestUioFromJSONTyped(json, false);
46
+ }
47
+ function ImageAttachmentCreateRequestUioFromJSONTyped(json, ignoreDiscriminator) {
48
+ if (json == null) {
49
+ return json;
50
+ }
51
+ return {
52
+ 'type': json['type'],
53
+ 'name': json['name'],
54
+ 'mimeType': json['mimeType'],
55
+ 'ext': json['ext'],
56
+ 'size': json['size'],
57
+ 'dataUrl': json['dataUrl'] == null ? undefined : json['dataUrl'],
58
+ };
59
+ }
60
+ function ImageAttachmentCreateRequestUioToJSON(json) {
61
+ return ImageAttachmentCreateRequestUioToJSONTyped(json, false);
62
+ }
63
+ function ImageAttachmentCreateRequestUioToJSONTyped(value, ignoreDiscriminator = false) {
64
+ if (value == null) {
65
+ return value;
66
+ }
67
+ return {
68
+ 'type': value['type'],
69
+ 'name': value['name'],
70
+ 'mimeType': value['mimeType'],
71
+ 'ext': value['ext'],
72
+ 'size': value['size'],
73
+ 'dataUrl': value['dataUrl'],
74
+ };
75
+ }
@@ -0,0 +1,94 @@
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
+ import type { FileAttachmentStatusUio } from './FileAttachmentStatusUio';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface ImageAttachmentDetailsResponseUio
17
+ */
18
+ export interface ImageAttachmentDetailsResponseUio {
19
+ /**
20
+ *
21
+ * @type {string}
22
+ * @memberof ImageAttachmentDetailsResponseUio
23
+ */
24
+ type: ImageAttachmentDetailsResponseUioTypeEnum;
25
+ /**
26
+ *
27
+ * @type {string}
28
+ * @memberof ImageAttachmentDetailsResponseUio
29
+ */
30
+ id: string;
31
+ /**
32
+ *
33
+ * @type {string}
34
+ * @memberof ImageAttachmentDetailsResponseUio
35
+ */
36
+ name: string;
37
+ /**
38
+ *
39
+ * @type {string}
40
+ * @memberof ImageAttachmentDetailsResponseUio
41
+ */
42
+ mimeType: string;
43
+ /**
44
+ *
45
+ * @type {string}
46
+ * @memberof ImageAttachmentDetailsResponseUio
47
+ */
48
+ ext: string;
49
+ /**
50
+ *
51
+ * @type {number}
52
+ * @memberof ImageAttachmentDetailsResponseUio
53
+ */
54
+ size: number;
55
+ /**
56
+ *
57
+ * @type {string}
58
+ * @memberof ImageAttachmentDetailsResponseUio
59
+ */
60
+ key: string;
61
+ /**
62
+ * Presigned download URL (if available)
63
+ * @type {string}
64
+ * @memberof ImageAttachmentDetailsResponseUio
65
+ */
66
+ url?: string;
67
+ /**
68
+ * Base64 inline data URL (optional)
69
+ * @type {string}
70
+ * @memberof ImageAttachmentDetailsResponseUio
71
+ */
72
+ inlineDataUrl?: string;
73
+ /**
74
+ *
75
+ * @type {FileAttachmentStatusUio}
76
+ * @memberof ImageAttachmentDetailsResponseUio
77
+ */
78
+ status: FileAttachmentStatusUio;
79
+ }
80
+ /**
81
+ * @export
82
+ */
83
+ export declare const ImageAttachmentDetailsResponseUioTypeEnum: {
84
+ readonly Image: "image";
85
+ };
86
+ export type ImageAttachmentDetailsResponseUioTypeEnum = typeof ImageAttachmentDetailsResponseUioTypeEnum[keyof typeof ImageAttachmentDetailsResponseUioTypeEnum];
87
+ /**
88
+ * Check if a given object implements the ImageAttachmentDetailsResponseUio interface.
89
+ */
90
+ export declare function instanceOfImageAttachmentDetailsResponseUio(value: object): value is ImageAttachmentDetailsResponseUio;
91
+ export declare function ImageAttachmentDetailsResponseUioFromJSON(json: any): ImageAttachmentDetailsResponseUio;
92
+ export declare function ImageAttachmentDetailsResponseUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): ImageAttachmentDetailsResponseUio;
93
+ export declare function ImageAttachmentDetailsResponseUioToJSON(json: any): ImageAttachmentDetailsResponseUio;
94
+ export declare function ImageAttachmentDetailsResponseUioToJSONTyped(value?: ImageAttachmentDetailsResponseUio | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,90 @@
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.ImageAttachmentDetailsResponseUioTypeEnum = void 0;
17
+ exports.instanceOfImageAttachmentDetailsResponseUio = instanceOfImageAttachmentDetailsResponseUio;
18
+ exports.ImageAttachmentDetailsResponseUioFromJSON = ImageAttachmentDetailsResponseUioFromJSON;
19
+ exports.ImageAttachmentDetailsResponseUioFromJSONTyped = ImageAttachmentDetailsResponseUioFromJSONTyped;
20
+ exports.ImageAttachmentDetailsResponseUioToJSON = ImageAttachmentDetailsResponseUioToJSON;
21
+ exports.ImageAttachmentDetailsResponseUioToJSONTyped = ImageAttachmentDetailsResponseUioToJSONTyped;
22
+ const FileAttachmentStatusUio_1 = require("./FileAttachmentStatusUio");
23
+ /**
24
+ * @export
25
+ */
26
+ exports.ImageAttachmentDetailsResponseUioTypeEnum = {
27
+ Image: 'image'
28
+ };
29
+ /**
30
+ * Check if a given object implements the ImageAttachmentDetailsResponseUio interface.
31
+ */
32
+ function instanceOfImageAttachmentDetailsResponseUio(value) {
33
+ if (!('type' in value) || value['type'] === undefined)
34
+ return false;
35
+ if (!('id' in value) || value['id'] === undefined)
36
+ return false;
37
+ if (!('name' in value) || value['name'] === undefined)
38
+ return false;
39
+ if (!('mimeType' in value) || value['mimeType'] === undefined)
40
+ return false;
41
+ if (!('ext' in value) || value['ext'] === undefined)
42
+ return false;
43
+ if (!('size' in value) || value['size'] === undefined)
44
+ return false;
45
+ if (!('key' in value) || value['key'] === undefined)
46
+ return false;
47
+ if (!('status' in value) || value['status'] === undefined)
48
+ return false;
49
+ return true;
50
+ }
51
+ function ImageAttachmentDetailsResponseUioFromJSON(json) {
52
+ return ImageAttachmentDetailsResponseUioFromJSONTyped(json, false);
53
+ }
54
+ function ImageAttachmentDetailsResponseUioFromJSONTyped(json, ignoreDiscriminator) {
55
+ if (json == null) {
56
+ return json;
57
+ }
58
+ return {
59
+ 'type': json['type'],
60
+ 'id': json['id'],
61
+ 'name': json['name'],
62
+ 'mimeType': json['mimeType'],
63
+ 'ext': json['ext'],
64
+ 'size': json['size'],
65
+ 'key': json['key'],
66
+ 'url': json['url'] == null ? undefined : json['url'],
67
+ 'inlineDataUrl': json['inlineDataUrl'] == null ? undefined : json['inlineDataUrl'],
68
+ 'status': (0, FileAttachmentStatusUio_1.FileAttachmentStatusUioFromJSON)(json['status']),
69
+ };
70
+ }
71
+ function ImageAttachmentDetailsResponseUioToJSON(json) {
72
+ return ImageAttachmentDetailsResponseUioToJSONTyped(json, false);
73
+ }
74
+ function ImageAttachmentDetailsResponseUioToJSONTyped(value, ignoreDiscriminator = false) {
75
+ if (value == null) {
76
+ return value;
77
+ }
78
+ return {
79
+ 'type': value['type'],
80
+ 'id': value['id'],
81
+ 'name': value['name'],
82
+ 'mimeType': value['mimeType'],
83
+ 'ext': value['ext'],
84
+ 'size': value['size'],
85
+ 'key': value['key'],
86
+ 'url': value['url'],
87
+ 'inlineDataUrl': value['inlineDataUrl'],
88
+ 'status': (0, FileAttachmentStatusUio_1.FileAttachmentStatusUioToJSON)(value['status']),
89
+ };
90
+ }