@emilgroup/document-sdk-node 1.0.0

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 (130) hide show
  1. package/.openapi-generator/FILES +45 -0
  2. package/.openapi-generator/VERSION +1 -0
  3. package/.openapi-generator-ignore +23 -0
  4. package/README.md +68 -0
  5. package/api/document-templates-api.ts +675 -0
  6. package/api/documents-api.ts +762 -0
  7. package/api/layouts-api.ts +661 -0
  8. package/api/searchable-document-owners-api.ts +232 -0
  9. package/api/searchable-documents-api.ts +180 -0
  10. package/api.ts +44 -0
  11. package/base.ts +255 -0
  12. package/common.ts +138 -0
  13. package/configuration.ts +109 -0
  14. package/dist/api/document-templates-api.d.ts +372 -0
  15. package/dist/api/document-templates-api.js +628 -0
  16. package/dist/api/documents-api.d.ts +424 -0
  17. package/dist/api/documents-api.js +723 -0
  18. package/dist/api/layouts-api.d.ts +363 -0
  19. package/dist/api/layouts-api.js +622 -0
  20. package/dist/api/searchable-document-owners-api.d.ts +137 -0
  21. package/dist/api/searchable-document-owners-api.js +254 -0
  22. package/dist/api/searchable-documents-api.d.ts +101 -0
  23. package/dist/api/searchable-documents-api.js +233 -0
  24. package/dist/api.d.ts +20 -0
  25. package/dist/api.js +40 -0
  26. package/dist/base.d.ts +76 -0
  27. package/dist/base.js +364 -0
  28. package/dist/common.d.ts +66 -0
  29. package/dist/common.js +244 -0
  30. package/dist/configuration.d.ts +90 -0
  31. package/dist/configuration.js +44 -0
  32. package/dist/index.d.ts +15 -0
  33. package/dist/index.js +35 -0
  34. package/dist/models/create-doc-template-request-dto.d.ts +43 -0
  35. package/dist/models/create-doc-template-request-dto.js +15 -0
  36. package/dist/models/create-document-request-dto.d.ts +143 -0
  37. package/dist/models/create-document-request-dto.js +65 -0
  38. package/dist/models/create-html-template-dto.d.ts +24 -0
  39. package/dist/models/create-html-template-dto.js +15 -0
  40. package/dist/models/create-layout-request-dto.d.ts +49 -0
  41. package/dist/models/create-layout-request-dto.js +15 -0
  42. package/dist/models/create-presigned-post-request-dto.d.ts +103 -0
  43. package/dist/models/create-presigned-post-request-dto.js +51 -0
  44. package/dist/models/create-presigned-post-response-class.d.ts +30 -0
  45. package/dist/models/create-presigned-post-response-class.js +15 -0
  46. package/dist/models/delete-layout-request-dto.d.ts +24 -0
  47. package/dist/models/delete-layout-request-dto.js +15 -0
  48. package/dist/models/delete-request-dto.d.ts +24 -0
  49. package/dist/models/delete-request-dto.js +15 -0
  50. package/dist/models/doc-template-class.d.ts +80 -0
  51. package/dist/models/doc-template-class.js +15 -0
  52. package/dist/models/document-class.d.ts +150 -0
  53. package/dist/models/document-class.js +61 -0
  54. package/dist/models/download-document-request-dto.d.ts +30 -0
  55. package/dist/models/download-document-request-dto.js +15 -0
  56. package/dist/models/get-doc-template-request-dto.d.ts +30 -0
  57. package/dist/models/get-doc-template-request-dto.js +15 -0
  58. package/dist/models/get-doc-template-response-class.d.ts +25 -0
  59. package/dist/models/get-doc-template-response-class.js +15 -0
  60. package/dist/models/get-document-download-url-response-class.d.ts +24 -0
  61. package/dist/models/get-document-download-url-response-class.js +15 -0
  62. package/dist/models/get-layout-request-dto.d.ts +24 -0
  63. package/dist/models/get-layout-request-dto.js +15 -0
  64. package/dist/models/get-layout-response-class.d.ts +25 -0
  65. package/dist/models/get-layout-response-class.js +15 -0
  66. package/dist/models/html-template-class.d.ts +66 -0
  67. package/dist/models/html-template-class.js +21 -0
  68. package/dist/models/index.d.ts +28 -0
  69. package/dist/models/index.js +44 -0
  70. package/dist/models/layout-class.d.ts +79 -0
  71. package/dist/models/layout-class.js +15 -0
  72. package/dist/models/list-doc-templates-response-class.d.ts +31 -0
  73. package/dist/models/list-doc-templates-response-class.js +15 -0
  74. package/dist/models/list-documents-response-class.d.ts +31 -0
  75. package/dist/models/list-documents-response-class.js +15 -0
  76. package/dist/models/list-layouts-response-class.d.ts +31 -0
  77. package/dist/models/list-layouts-response-class.js +15 -0
  78. package/dist/models/list-request-dto.d.ts +54 -0
  79. package/dist/models/list-request-dto.js +15 -0
  80. package/dist/models/list-searchable-document-owners-response-class.d.ts +24 -0
  81. package/dist/models/list-searchable-document-owners-response-class.js +15 -0
  82. package/dist/models/list-searchable-documents-request-dto.d.ts +30 -0
  83. package/dist/models/list-searchable-documents-request-dto.js +15 -0
  84. package/dist/models/list-searchable-documents-response-class.d.ts +30 -0
  85. package/dist/models/list-searchable-documents-response-class.js +15 -0
  86. package/dist/models/update-doc-template-request-dto.d.ts +49 -0
  87. package/dist/models/update-doc-template-request-dto.js +15 -0
  88. package/dist/models/update-doc-template-response-class.d.ts +25 -0
  89. package/dist/models/update-doc-template-response-class.js +15 -0
  90. package/dist/models/update-document-request-dto.d.ts +48 -0
  91. package/dist/models/update-document-request-dto.js +15 -0
  92. package/dist/models/update-layout-request-dto.d.ts +55 -0
  93. package/dist/models/update-layout-request-dto.js +15 -0
  94. package/dist/models/update-layout-response-class.d.ts +25 -0
  95. package/dist/models/update-layout-response-class.js +15 -0
  96. package/git_push.sh +57 -0
  97. package/index.ts +19 -0
  98. package/models/create-doc-template-request-dto.ts +49 -0
  99. package/models/create-document-request-dto.ts +155 -0
  100. package/models/create-html-template-dto.ts +30 -0
  101. package/models/create-layout-request-dto.ts +55 -0
  102. package/models/create-presigned-post-request-dto.ts +113 -0
  103. package/models/create-presigned-post-response-class.ts +36 -0
  104. package/models/delete-layout-request-dto.ts +30 -0
  105. package/models/delete-request-dto.ts +30 -0
  106. package/models/doc-template-class.ts +86 -0
  107. package/models/document-class.ts +161 -0
  108. package/models/download-document-request-dto.ts +36 -0
  109. package/models/get-doc-template-request-dto.ts +36 -0
  110. package/models/get-doc-template-response-class.ts +31 -0
  111. package/models/get-document-download-url-response-class.ts +30 -0
  112. package/models/get-layout-request-dto.ts +30 -0
  113. package/models/get-layout-response-class.ts +31 -0
  114. package/models/html-template-class.ts +75 -0
  115. package/models/index.ts +28 -0
  116. package/models/layout-class.ts +85 -0
  117. package/models/list-doc-templates-response-class.ts +37 -0
  118. package/models/list-documents-response-class.ts +37 -0
  119. package/models/list-layouts-response-class.ts +37 -0
  120. package/models/list-request-dto.ts +60 -0
  121. package/models/list-searchable-document-owners-response-class.ts +30 -0
  122. package/models/list-searchable-documents-request-dto.ts +36 -0
  123. package/models/list-searchable-documents-response-class.ts +36 -0
  124. package/models/update-doc-template-request-dto.ts +55 -0
  125. package/models/update-doc-template-response-class.ts +31 -0
  126. package/models/update-document-request-dto.ts +54 -0
  127. package/models/update-layout-request-dto.ts +61 -0
  128. package/models/update-layout-response-class.ts +31 -0
  129. package/package.json +29 -0
  130. package/tsconfig.json +22 -0
@@ -0,0 +1,24 @@
1
+ /**
2
+ * EMIL DocumentService
3
+ * The EMIL DocumentService API description
4
+ *
5
+ * The version of the OpenAPI document: 1.0
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 GetLayoutRequestDto
16
+ */
17
+ export interface GetLayoutRequestDto {
18
+ /**
19
+ * Layout id
20
+ * @type {number}
21
+ * @memberof GetLayoutRequestDto
22
+ */
23
+ 'id': number;
24
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * EMIL DocumentService
6
+ * The EMIL DocumentService API description
7
+ *
8
+ * The version of the OpenAPI document: 1.0
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 });
@@ -0,0 +1,25 @@
1
+ /**
2
+ * EMIL DocumentService
3
+ * The EMIL DocumentService API description
4
+ *
5
+ * The version of the OpenAPI document: 1.0
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 { LayoutClass } from './layout-class';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface GetLayoutResponseClass
17
+ */
18
+ export interface GetLayoutResponseClass {
19
+ /**
20
+ * Layout
21
+ * @type {LayoutClass}
22
+ * @memberof GetLayoutResponseClass
23
+ */
24
+ 'layout': LayoutClass;
25
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * EMIL DocumentService
6
+ * The EMIL DocumentService API description
7
+ *
8
+ * The version of the OpenAPI document: 1.0
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 });
@@ -0,0 +1,66 @@
1
+ /**
2
+ * EMIL DocumentService
3
+ * The EMIL DocumentService API description
4
+ *
5
+ * The version of the OpenAPI document: 1.0
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 HtmlTemplateClass
16
+ */
17
+ export interface HtmlTemplateClass {
18
+ /**
19
+ * Template id
20
+ * @type {number}
21
+ * @memberof HtmlTemplateClass
22
+ */
23
+ 'id': number;
24
+ /**
25
+ * Template type
26
+ * @type {string}
27
+ * @memberof HtmlTemplateClass
28
+ */
29
+ 'type': HtmlTemplateClassTypeEnum;
30
+ /**
31
+ * Template content
32
+ * @type {string}
33
+ * @memberof HtmlTemplateClass
34
+ */
35
+ 'content': string;
36
+ /**
37
+ * Template draft content
38
+ * @type {string}
39
+ * @memberof HtmlTemplateClass
40
+ */
41
+ 'draftContent': string;
42
+ /**
43
+ * Template created at
44
+ * @type {string}
45
+ * @memberof HtmlTemplateClass
46
+ */
47
+ 'createdAt': string;
48
+ /**
49
+ * Template updated at
50
+ * @type {string}
51
+ * @memberof HtmlTemplateClass
52
+ */
53
+ 'updatedAt': string;
54
+ /**
55
+ * Template updated at
56
+ * @type {string}
57
+ * @memberof HtmlTemplateClass
58
+ */
59
+ 'deletedAt': string;
60
+ }
61
+ export declare const HtmlTemplateClassTypeEnum: {
62
+ readonly Header: "header";
63
+ readonly Footer: "footer";
64
+ readonly Body: "body";
65
+ };
66
+ export declare type HtmlTemplateClassTypeEnum = typeof HtmlTemplateClassTypeEnum[keyof typeof HtmlTemplateClassTypeEnum];
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * EMIL DocumentService
6
+ * The EMIL DocumentService API description
7
+ *
8
+ * The version of the OpenAPI document: 1.0
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.HtmlTemplateClassTypeEnum = void 0;
17
+ exports.HtmlTemplateClassTypeEnum = {
18
+ Header: 'header',
19
+ Footer: 'footer',
20
+ Body: 'body'
21
+ };
@@ -0,0 +1,28 @@
1
+ export * from './create-doc-template-request-dto';
2
+ export * from './create-document-request-dto';
3
+ export * from './create-html-template-dto';
4
+ export * from './create-layout-request-dto';
5
+ export * from './delete-layout-request-dto';
6
+ export * from './delete-request-dto';
7
+ export * from './doc-template-class';
8
+ export * from './document-class';
9
+ export * from './download-document-request-dto';
10
+ export * from './get-doc-template-request-dto';
11
+ export * from './get-doc-template-response-class';
12
+ export * from './get-document-download-url-response-class';
13
+ export * from './get-layout-request-dto';
14
+ export * from './get-layout-response-class';
15
+ export * from './html-template-class';
16
+ export * from './layout-class';
17
+ export * from './list-doc-templates-response-class';
18
+ export * from './list-documents-response-class';
19
+ export * from './list-layouts-response-class';
20
+ export * from './list-request-dto';
21
+ export * from './list-searchable-document-owners-response-class';
22
+ export * from './list-searchable-documents-request-dto';
23
+ export * from './list-searchable-documents-response-class';
24
+ export * from './update-doc-template-request-dto';
25
+ export * from './update-doc-template-response-class';
26
+ export * from './update-document-request-dto';
27
+ export * from './update-layout-request-dto';
28
+ export * from './update-layout-response-class';
@@ -0,0 +1,44 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./create-doc-template-request-dto"), exports);
18
+ __exportStar(require("./create-document-request-dto"), exports);
19
+ __exportStar(require("./create-html-template-dto"), exports);
20
+ __exportStar(require("./create-layout-request-dto"), exports);
21
+ __exportStar(require("./delete-layout-request-dto"), exports);
22
+ __exportStar(require("./delete-request-dto"), exports);
23
+ __exportStar(require("./doc-template-class"), exports);
24
+ __exportStar(require("./document-class"), exports);
25
+ __exportStar(require("./download-document-request-dto"), exports);
26
+ __exportStar(require("./get-doc-template-request-dto"), exports);
27
+ __exportStar(require("./get-doc-template-response-class"), exports);
28
+ __exportStar(require("./get-document-download-url-response-class"), exports);
29
+ __exportStar(require("./get-layout-request-dto"), exports);
30
+ __exportStar(require("./get-layout-response-class"), exports);
31
+ __exportStar(require("./html-template-class"), exports);
32
+ __exportStar(require("./layout-class"), exports);
33
+ __exportStar(require("./list-doc-templates-response-class"), exports);
34
+ __exportStar(require("./list-documents-response-class"), exports);
35
+ __exportStar(require("./list-layouts-response-class"), exports);
36
+ __exportStar(require("./list-request-dto"), exports);
37
+ __exportStar(require("./list-searchable-document-owners-response-class"), exports);
38
+ __exportStar(require("./list-searchable-documents-request-dto"), exports);
39
+ __exportStar(require("./list-searchable-documents-response-class"), exports);
40
+ __exportStar(require("./update-doc-template-request-dto"), exports);
41
+ __exportStar(require("./update-doc-template-response-class"), exports);
42
+ __exportStar(require("./update-document-request-dto"), exports);
43
+ __exportStar(require("./update-layout-request-dto"), exports);
44
+ __exportStar(require("./update-layout-response-class"), exports);
@@ -0,0 +1,79 @@
1
+ /**
2
+ * EMIL DocumentService
3
+ * The EMIL DocumentService API description
4
+ *
5
+ * The version of the OpenAPI document: 1.0
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 { HtmlTemplateClass } from './html-template-class';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface LayoutClass
17
+ */
18
+ export interface LayoutClass {
19
+ /**
20
+ * Layout id
21
+ * @type {number}
22
+ * @memberof LayoutClass
23
+ */
24
+ 'id': number;
25
+ /**
26
+ * Record owner
27
+ * @type {string}
28
+ * @memberof LayoutClass
29
+ */
30
+ 'owner': string;
31
+ /**
32
+ * Layout name
33
+ * @type {string}
34
+ * @memberof LayoutClass
35
+ */
36
+ 'name': string;
37
+ /**
38
+ * Layout slug
39
+ * @type {string}
40
+ * @memberof LayoutClass
41
+ */
42
+ 'slug': string;
43
+ /**
44
+ * Layout style
45
+ * @type {string}
46
+ * @memberof LayoutClass
47
+ */
48
+ 'style': string;
49
+ /**
50
+ * Header Template
51
+ * @type {HtmlTemplateClass}
52
+ * @memberof LayoutClass
53
+ */
54
+ 'headerTemplate': HtmlTemplateClass;
55
+ /**
56
+ * Footer Template
57
+ * @type {HtmlTemplateClass}
58
+ * @memberof LayoutClass
59
+ */
60
+ 'footerTemplate': HtmlTemplateClass;
61
+ /**
62
+ * Layout created at
63
+ * @type {string}
64
+ * @memberof LayoutClass
65
+ */
66
+ 'createdAt': string;
67
+ /**
68
+ * Layout updated at
69
+ * @type {string}
70
+ * @memberof LayoutClass
71
+ */
72
+ 'updatedAt': string;
73
+ /**
74
+ * Layout deleted at
75
+ * @type {string}
76
+ * @memberof LayoutClass
77
+ */
78
+ 'deletedAt': string;
79
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * EMIL DocumentService
6
+ * The EMIL DocumentService API description
7
+ *
8
+ * The version of the OpenAPI document: 1.0
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 });
@@ -0,0 +1,31 @@
1
+ /**
2
+ * EMIL DocumentService
3
+ * The EMIL DocumentService API description
4
+ *
5
+ * The version of the OpenAPI document: 1.0
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 { DocTemplateClass } from './doc-template-class';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface ListDocTemplatesResponseClass
17
+ */
18
+ export interface ListDocTemplatesResponseClass {
19
+ /**
20
+ * The list of document templates.
21
+ * @type {Array<DocTemplateClass>}
22
+ * @memberof ListDocTemplatesResponseClass
23
+ */
24
+ 'templates': Array<DocTemplateClass>;
25
+ /**
26
+ * Next page token
27
+ * @type {string}
28
+ * @memberof ListDocTemplatesResponseClass
29
+ */
30
+ 'nextPageToken': string;
31
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * EMIL DocumentService
6
+ * The EMIL DocumentService API description
7
+ *
8
+ * The version of the OpenAPI document: 1.0
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 });
@@ -0,0 +1,31 @@
1
+ /**
2
+ * EMIL DocumentService
3
+ * The EMIL DocumentService API description
4
+ *
5
+ * The version of the OpenAPI document: 1.0
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 { DocumentClass } from './document-class';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface ListDocumentsResponseClass
17
+ */
18
+ export interface ListDocumentsResponseClass {
19
+ /**
20
+ * The list of documents.
21
+ * @type {Array<DocumentClass>}
22
+ * @memberof ListDocumentsResponseClass
23
+ */
24
+ 'items': Array<DocumentClass>;
25
+ /**
26
+ * Next page token
27
+ * @type {string}
28
+ * @memberof ListDocumentsResponseClass
29
+ */
30
+ 'nextPageToken': string;
31
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * EMIL DocumentService
6
+ * The EMIL DocumentService API description
7
+ *
8
+ * The version of the OpenAPI document: 1.0
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 });
@@ -0,0 +1,31 @@
1
+ /**
2
+ * EMIL DocumentService
3
+ * The EMIL DocumentService API description
4
+ *
5
+ * The version of the OpenAPI document: 1.0
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 { LayoutClass } from './layout-class';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface ListLayoutsResponseClass
17
+ */
18
+ export interface ListLayoutsResponseClass {
19
+ /**
20
+ * The list of layouts.
21
+ * @type {Array<LayoutClass>}
22
+ * @memberof ListLayoutsResponseClass
23
+ */
24
+ 'layouts': Array<LayoutClass>;
25
+ /**
26
+ * Next page token
27
+ * @type {string}
28
+ * @memberof ListLayoutsResponseClass
29
+ */
30
+ 'nextPageToken': string;
31
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * EMIL DocumentService
6
+ * The EMIL DocumentService API description
7
+ *
8
+ * The version of the OpenAPI document: 1.0
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 });
@@ -0,0 +1,54 @@
1
+ /**
2
+ * EMIL DocumentService
3
+ * The EMIL DocumentService API description
4
+ *
5
+ * The version of the OpenAPI document: 1.0
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 ListRequestDto
16
+ */
17
+ export interface ListRequestDto {
18
+ /**
19
+ * Page size
20
+ * @type {number}
21
+ * @memberof ListRequestDto
22
+ */
23
+ 'pageSize'?: number;
24
+ /**
25
+ * Page token
26
+ * @type {string}
27
+ * @memberof ListRequestDto
28
+ */
29
+ 'pageToken'?: string;
30
+ /**
31
+ * List filter
32
+ * @type {string}
33
+ * @memberof ListRequestDto
34
+ */
35
+ 'filter'?: string;
36
+ /**
37
+ * Search query
38
+ * @type {string}
39
+ * @memberof ListRequestDto
40
+ */
41
+ 'search'?: string;
42
+ /**
43
+ * Ordering criteria
44
+ * @type {string}
45
+ * @memberof ListRequestDto
46
+ */
47
+ 'order'?: string;
48
+ /**
49
+ * Extra fields to fetch
50
+ * @type {string}
51
+ * @memberof ListRequestDto
52
+ */
53
+ 'expand'?: string;
54
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * EMIL DocumentService
6
+ * The EMIL DocumentService API description
7
+ *
8
+ * The version of the OpenAPI document: 1.0
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 });
@@ -0,0 +1,24 @@
1
+ /**
2
+ * EMIL DocumentService
3
+ * The EMIL DocumentService API description
4
+ *
5
+ * The version of the OpenAPI document: 1.0
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 ListSearchableDocumentOwnersResponseClass
16
+ */
17
+ export interface ListSearchableDocumentOwnersResponseClass {
18
+ /**
19
+ * Searchable document owners
20
+ * @type {Array<string>}
21
+ * @memberof ListSearchableDocumentOwnersResponseClass
22
+ */
23
+ 'owners': Array<string>;
24
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * EMIL DocumentService
6
+ * The EMIL DocumentService API description
7
+ *
8
+ * The version of the OpenAPI document: 1.0
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 });
@@ -0,0 +1,30 @@
1
+ /**
2
+ * EMIL DocumentService
3
+ * The EMIL DocumentService API description
4
+ *
5
+ * The version of the OpenAPI document: 1.0
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 ListSearchableDocumentsRequestDto
16
+ */
17
+ export interface ListSearchableDocumentsRequestDto {
18
+ /**
19
+ * Text to search in the documents
20
+ * @type {string}
21
+ * @memberof ListSearchableDocumentsRequestDto
22
+ */
23
+ 'searchText': string;
24
+ /**
25
+ * List of searched document owner IDs separated with | (search in all documents if an \'*\' list provided)
26
+ * @type {string}
27
+ * @memberof ListSearchableDocumentsRequestDto
28
+ */
29
+ 'ownerIds': string;
30
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * EMIL DocumentService
6
+ * The EMIL DocumentService API description
7
+ *
8
+ * The version of the OpenAPI document: 1.0
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 });
@@ -0,0 +1,30 @@
1
+ /**
2
+ * EMIL DocumentService
3
+ * The EMIL DocumentService API description
4
+ *
5
+ * The version of the OpenAPI document: 1.0
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 ListSearchableDocumentsResponseClass
16
+ */
17
+ export interface ListSearchableDocumentsResponseClass {
18
+ /**
19
+ * Searchable documents that match the search criteria
20
+ * @type {Array<string>}
21
+ * @memberof ListSearchableDocumentsResponseClass
22
+ */
23
+ 'documents': Array<string>;
24
+ /**
25
+ * Keywords used for search and to be highlighted in teh document preview
26
+ * @type {Array<string>}
27
+ * @memberof ListSearchableDocumentsResponseClass
28
+ */
29
+ 'keywords': Array<string>;
30
+ }