@emilgroup/document-sdk 1.12.2 → 1.12.3
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.
- package/.openapi-generator/FILES +1 -0
- package/README.md +2 -2
- package/api/docx-templates-api.ts +4 -4
- package/api/product-documents-api.ts +12 -210
- package/dist/api/default-api.d.ts +66 -0
- package/dist/api/default-api.js +196 -0
- package/dist/api/document-templates-api.d.ts +385 -0
- package/dist/api/document-templates-api.js +636 -0
- package/dist/api/documents-api.d.ts +488 -0
- package/dist/api/documents-api.js +817 -0
- package/dist/api/docx-templates-api.d.ts +432 -0
- package/dist/api/docx-templates-api.js +722 -0
- package/dist/api/layouts-api.d.ts +385 -0
- package/dist/api/layouts-api.js +638 -0
- package/dist/api/product-documents-api.d.ts +401 -0
- package/dist/api/product-documents-api.js +647 -0
- package/dist/api/search-keywords-api.d.ts +96 -0
- package/dist/api/search-keywords-api.js +225 -0
- package/dist/api/searchable-document-owners-api.d.ts +141 -0
- package/dist/api/searchable-document-owners-api.js +254 -0
- package/dist/api/searchable-documents-api.d.ts +114 -0
- package/dist/api/searchable-documents-api.js +239 -0
- package/dist/api.d.ts +20 -0
- package/dist/api.js +38 -0
- package/dist/base.d.ts +74 -0
- package/dist/base.js +298 -0
- package/dist/common.d.ts +91 -0
- package/dist/common.js +276 -0
- package/dist/configuration.d.ts +83 -0
- package/dist/configuration.js +44 -0
- package/dist/index.d.ts +15 -0
- package/dist/index.js +36 -0
- package/dist/models/create-doc-template-request-dto.d.ts +55 -0
- package/dist/models/create-doc-template-request-dto.js +15 -0
- package/dist/models/create-doc-template-response-class.d.ts +25 -0
- package/dist/models/create-doc-template-response-class.js +15 -0
- package/dist/models/create-document-request-dto.d.ts +173 -0
- package/dist/models/create-document-request-dto.js +70 -0
- package/dist/models/create-document-sync-response-class.d.ts +25 -0
- package/dist/models/create-document-sync-response-class.js +15 -0
- package/dist/models/create-html-template-dto.d.ts +24 -0
- package/dist/models/create-html-template-dto.js +15 -0
- package/dist/models/create-layout-request-dto.d.ts +49 -0
- package/dist/models/create-layout-request-dto.js +15 -0
- package/dist/models/create-layout-response-class.d.ts +25 -0
- package/dist/models/create-layout-response-class.js +15 -0
- package/dist/models/create-presigned-post-request-dto.d.ts +134 -0
- package/dist/models/create-presigned-post-request-dto.js +52 -0
- package/dist/models/create-presigned-post-response-class.d.ts +30 -0
- package/dist/models/create-presigned-post-response-class.js +15 -0
- package/dist/models/delete-layout-request-dto.d.ts +24 -0
- package/dist/models/delete-layout-request-dto.js +15 -0
- package/dist/models/delete-product-document-request-dto.d.ts +30 -0
- package/dist/models/delete-product-document-request-dto.js +15 -0
- package/dist/models/delete-request-dto.d.ts +24 -0
- package/dist/models/delete-request-dto.js +15 -0
- package/dist/models/delete-response-class.d.ts +24 -0
- package/dist/models/delete-response-class.js +15 -0
- package/dist/models/doc-template-class.d.ts +92 -0
- package/dist/models/doc-template-class.js +15 -0
- package/dist/models/document-class.d.ts +169 -0
- package/dist/models/document-class.js +62 -0
- package/dist/models/docx-template-class.d.ts +101 -0
- package/dist/models/docx-template-class.js +26 -0
- package/dist/models/download-document-request-dto.d.ts +30 -0
- package/dist/models/download-document-request-dto.js +15 -0
- package/dist/models/get-doc-template-request-dto.d.ts +30 -0
- package/dist/models/get-doc-template-request-dto.js +15 -0
- package/dist/models/get-doc-template-response-class.d.ts +25 -0
- package/dist/models/get-doc-template-response-class.js +15 -0
- package/dist/models/get-document-download-url-response-class.d.ts +24 -0
- package/dist/models/get-document-download-url-response-class.js +15 -0
- package/dist/models/get-docx-template-download-url-response-class.d.ts +24 -0
- package/dist/models/get-docx-template-download-url-response-class.js +15 -0
- package/dist/models/get-docx-template-response-class.d.ts +25 -0
- package/dist/models/get-docx-template-response-class.js +15 -0
- package/dist/models/get-layout-request-dto.d.ts +24 -0
- package/dist/models/get-layout-request-dto.js +15 -0
- package/dist/models/get-layout-response-class.d.ts +25 -0
- package/dist/models/get-layout-response-class.js +15 -0
- package/dist/models/get-product-document-download-url-response-class.d.ts +24 -0
- package/dist/models/get-product-document-download-url-response-class.js +15 -0
- package/dist/models/get-product-document-response-class.d.ts +25 -0
- package/dist/models/get-product-document-response-class.js +15 -0
- package/dist/models/get-signed-s3-key-url-response-class.d.ts +24 -0
- package/dist/models/get-signed-s3-key-url-response-class.js +15 -0
- package/dist/models/grpc-create-doc-template-request-dto.d.ts +55 -0
- package/dist/models/grpc-create-doc-template-request-dto.js +15 -0
- package/dist/models/grpc-update-doc-template-request-dto.d.ts +61 -0
- package/dist/models/grpc-update-doc-template-request-dto.js +15 -0
- package/dist/models/html-template-class.d.ts +66 -0
- package/dist/models/html-template-class.js +21 -0
- package/dist/models/index.d.ts +61 -0
- package/dist/models/index.js +77 -0
- package/dist/models/inline-response200.d.ts +54 -0
- package/dist/models/inline-response200.js +15 -0
- package/dist/models/inline-response503.d.ts +54 -0
- package/dist/models/inline-response503.js +15 -0
- package/dist/models/layout-class.d.ts +79 -0
- package/dist/models/layout-class.js +15 -0
- package/dist/models/list-doc-template-request-dto.d.ts +54 -0
- package/dist/models/list-doc-template-request-dto.js +15 -0
- package/dist/models/list-doc-templates-response-class.d.ts +31 -0
- package/dist/models/list-doc-templates-response-class.js +15 -0
- package/dist/models/list-documents-response-class.d.ts +31 -0
- package/dist/models/list-documents-response-class.js +15 -0
- package/dist/models/list-docx-templates-response-class.d.ts +31 -0
- package/dist/models/list-docx-templates-response-class.js +15 -0
- package/dist/models/list-layouts-response-class.d.ts +31 -0
- package/dist/models/list-layouts-response-class.js +15 -0
- package/dist/models/list-product-documents-response-class.d.ts +31 -0
- package/dist/models/list-product-documents-response-class.js +15 -0
- package/dist/models/list-request-dto.d.ts +54 -0
- package/dist/models/list-request-dto.js +15 -0
- package/dist/models/list-search-keywords-request-dto.d.ts +24 -0
- package/dist/models/list-search-keywords-request-dto.js +15 -0
- package/dist/models/list-search-keywords-response-class.d.ts +24 -0
- package/dist/models/list-search-keywords-response-class.js +15 -0
- package/dist/models/list-searchable-document-owners-request-dto.d.ts +31 -0
- package/dist/models/list-searchable-document-owners-request-dto.js +22 -0
- package/dist/models/list-searchable-document-owners-response-class.d.ts +25 -0
- package/dist/models/list-searchable-document-owners-response-class.js +15 -0
- package/dist/models/list-searchable-documents-request-dto.d.ts +43 -0
- package/dist/models/list-searchable-documents-request-dto.js +22 -0
- package/dist/models/list-searchable-documents-response-class.d.ts +31 -0
- package/dist/models/list-searchable-documents-response-class.js +15 -0
- package/dist/models/product-document-class.d.ts +134 -0
- package/dist/models/product-document-class.js +46 -0
- package/dist/models/searchable-document-class.d.ts +66 -0
- package/dist/models/searchable-document-class.js +15 -0
- package/dist/models/searchable-document-owner-class.d.ts +30 -0
- package/dist/models/searchable-document-owner-class.js +15 -0
- package/dist/models/shared-update-docx-template-request-dto.d.ts +36 -0
- package/dist/models/shared-update-docx-template-request-dto.js +15 -0
- package/dist/models/update-doc-template-request-dto.d.ts +61 -0
- package/dist/models/update-doc-template-request-dto.js +15 -0
- package/dist/models/update-doc-template-response-class.d.ts +25 -0
- package/dist/models/update-doc-template-response-class.js +15 -0
- package/dist/models/update-document-request-dto.d.ts +54 -0
- package/dist/models/update-document-request-dto.js +15 -0
- package/dist/models/update-document-response-class.d.ts +25 -0
- package/dist/models/update-document-response-class.js +15 -0
- package/dist/models/update-docx-template-response-class.d.ts +25 -0
- package/dist/models/update-docx-template-response-class.js +15 -0
- package/dist/models/update-html-template-dto.d.ts +42 -0
- package/dist/models/update-html-template-dto.js +21 -0
- package/dist/models/update-layout-request-dto.d.ts +55 -0
- package/dist/models/update-layout-request-dto.js +15 -0
- package/dist/models/update-layout-response-class.d.ts +25 -0
- package/dist/models/update-layout-response-class.js +15 -0
- package/dist/models/upload-docx-template-request-dto.d.ts +54 -0
- package/dist/models/upload-docx-template-request-dto.js +15 -0
- package/dist/models/upload-docx-template-response-class.d.ts +30 -0
- package/dist/models/upload-docx-template-response-class.js +15 -0
- package/dist/models/upload-product-document-request-dto.d.ts +75 -0
- package/dist/models/upload-product-document-request-dto.js +24 -0
- package/models/create-document-request-dto.ts +13 -1
- package/models/document-class.ts +13 -1
- package/models/docx-template-class.ts +15 -1
- package/models/index.ts +1 -0
- package/models/inline-response200.ts +6 -6
- package/models/inline-response503.ts +6 -6
- package/models/product-document-class.ts +27 -9
- package/models/upload-docx-template-response-class.ts +36 -0
- package/package.json +1 -1
|
@@ -0,0 +1,385 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* EMIL DocumentService
|
|
3
|
+
* The EMIL DocumentService API description
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
* Contact: kontakt@emil.de
|
|
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 { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
|
|
13
|
+
import { Configuration } from '../configuration';
|
|
14
|
+
import { RequestArgs, BaseAPI } from '../base';
|
|
15
|
+
import { CreateLayoutRequestDto } from '../models';
|
|
16
|
+
import { CreateLayoutResponseClass } from '../models';
|
|
17
|
+
import { DeleteResponseClass } from '../models';
|
|
18
|
+
import { GetLayoutResponseClass } from '../models';
|
|
19
|
+
import { ListLayoutsResponseClass } from '../models';
|
|
20
|
+
import { UpdateLayoutRequestDto } from '../models';
|
|
21
|
+
import { UpdateLayoutResponseClass } from '../models';
|
|
22
|
+
/**
|
|
23
|
+
* LayoutsApi - axios parameter creator
|
|
24
|
+
* @export
|
|
25
|
+
*/
|
|
26
|
+
export declare const LayoutsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
27
|
+
/**
|
|
28
|
+
* This will create a layout.
|
|
29
|
+
* @summary Create the layout
|
|
30
|
+
* @param {CreateLayoutRequestDto} createLayoutRequestDto
|
|
31
|
+
* @param {string} [authorization] Bearer Token
|
|
32
|
+
* @param {*} [options] Override http request option.
|
|
33
|
+
* @throws {RequiredError}
|
|
34
|
+
*/
|
|
35
|
+
createLayout: (createLayoutRequestDto: CreateLayoutRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
36
|
+
/**
|
|
37
|
+
* Permanently deletes the layout. Supply the unique code that was returned when you created the layout and this will delete it.
|
|
38
|
+
* @summary Delete the layout
|
|
39
|
+
* @param {number} id
|
|
40
|
+
* @param {string} [authorization] Bearer Token
|
|
41
|
+
* @param {*} [options] Override http request option.
|
|
42
|
+
* @throws {RequiredError}
|
|
43
|
+
*/
|
|
44
|
+
deleteLayout: (id: number, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
45
|
+
/**
|
|
46
|
+
* Retrieves the details of the layout that was previously created. Supply the unique layout id that was returned when you created it and Emil Api will return the corresponding layout information.
|
|
47
|
+
* @summary Retrieve the layout
|
|
48
|
+
* @param {string} id
|
|
49
|
+
* @param {number} id2 Internal unique identifier for the object. You should not have to use this, use code instead.
|
|
50
|
+
* @param {string} [authorization] Bearer Token
|
|
51
|
+
* @param {*} [options] Override http request option.
|
|
52
|
+
* @throws {RequiredError}
|
|
53
|
+
*/
|
|
54
|
+
getLayout: (id: string, id2: number, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
55
|
+
/**
|
|
56
|
+
* Returns a list of layouts you have previously created. The layouts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
57
|
+
* @summary List layouts
|
|
58
|
+
* @param {string} [authorization] Bearer Token
|
|
59
|
+
* @param {number} [pageSize] Page size
|
|
60
|
+
* @param {string} [pageToken] Page token
|
|
61
|
+
* @param {string} [filter] List filter
|
|
62
|
+
* @param {string} [search] Search query
|
|
63
|
+
* @param {string} [order] Ordering criteria
|
|
64
|
+
* @param {string} [expand] Extra fields to fetch
|
|
65
|
+
* @param {*} [options] Override http request option.
|
|
66
|
+
* @throws {RequiredError}
|
|
67
|
+
*/
|
|
68
|
+
listLayouts: (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
69
|
+
/**
|
|
70
|
+
* Updates the specified layout by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
71
|
+
* @summary Update the layout
|
|
72
|
+
* @param {number} id
|
|
73
|
+
* @param {UpdateLayoutRequestDto} updateLayoutRequestDto
|
|
74
|
+
* @param {string} [authorization] Bearer Token
|
|
75
|
+
* @param {*} [options] Override http request option.
|
|
76
|
+
* @throws {RequiredError}
|
|
77
|
+
*/
|
|
78
|
+
updateLayout: (id: number, updateLayoutRequestDto: UpdateLayoutRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
79
|
+
};
|
|
80
|
+
/**
|
|
81
|
+
* LayoutsApi - functional programming interface
|
|
82
|
+
* @export
|
|
83
|
+
*/
|
|
84
|
+
export declare const LayoutsApiFp: (configuration?: Configuration) => {
|
|
85
|
+
/**
|
|
86
|
+
* This will create a layout.
|
|
87
|
+
* @summary Create the layout
|
|
88
|
+
* @param {CreateLayoutRequestDto} createLayoutRequestDto
|
|
89
|
+
* @param {string} [authorization] Bearer Token
|
|
90
|
+
* @param {*} [options] Override http request option.
|
|
91
|
+
* @throws {RequiredError}
|
|
92
|
+
*/
|
|
93
|
+
createLayout(createLayoutRequestDto: CreateLayoutRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateLayoutResponseClass>>;
|
|
94
|
+
/**
|
|
95
|
+
* Permanently deletes the layout. Supply the unique code that was returned when you created the layout and this will delete it.
|
|
96
|
+
* @summary Delete the layout
|
|
97
|
+
* @param {number} id
|
|
98
|
+
* @param {string} [authorization] Bearer Token
|
|
99
|
+
* @param {*} [options] Override http request option.
|
|
100
|
+
* @throws {RequiredError}
|
|
101
|
+
*/
|
|
102
|
+
deleteLayout(id: number, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeleteResponseClass>>;
|
|
103
|
+
/**
|
|
104
|
+
* Retrieves the details of the layout that was previously created. Supply the unique layout id that was returned when you created it and Emil Api will return the corresponding layout information.
|
|
105
|
+
* @summary Retrieve the layout
|
|
106
|
+
* @param {string} id
|
|
107
|
+
* @param {number} id2 Internal unique identifier for the object. You should not have to use this, use code instead.
|
|
108
|
+
* @param {string} [authorization] Bearer Token
|
|
109
|
+
* @param {*} [options] Override http request option.
|
|
110
|
+
* @throws {RequiredError}
|
|
111
|
+
*/
|
|
112
|
+
getLayout(id: string, id2: number, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetLayoutResponseClass>>;
|
|
113
|
+
/**
|
|
114
|
+
* Returns a list of layouts you have previously created. The layouts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
115
|
+
* @summary List layouts
|
|
116
|
+
* @param {string} [authorization] Bearer Token
|
|
117
|
+
* @param {number} [pageSize] Page size
|
|
118
|
+
* @param {string} [pageToken] Page token
|
|
119
|
+
* @param {string} [filter] List filter
|
|
120
|
+
* @param {string} [search] Search query
|
|
121
|
+
* @param {string} [order] Ordering criteria
|
|
122
|
+
* @param {string} [expand] Extra fields to fetch
|
|
123
|
+
* @param {*} [options] Override http request option.
|
|
124
|
+
* @throws {RequiredError}
|
|
125
|
+
*/
|
|
126
|
+
listLayouts(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListLayoutsResponseClass>>;
|
|
127
|
+
/**
|
|
128
|
+
* Updates the specified layout by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
129
|
+
* @summary Update the layout
|
|
130
|
+
* @param {number} id
|
|
131
|
+
* @param {UpdateLayoutRequestDto} updateLayoutRequestDto
|
|
132
|
+
* @param {string} [authorization] Bearer Token
|
|
133
|
+
* @param {*} [options] Override http request option.
|
|
134
|
+
* @throws {RequiredError}
|
|
135
|
+
*/
|
|
136
|
+
updateLayout(id: number, updateLayoutRequestDto: UpdateLayoutRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateLayoutResponseClass>>;
|
|
137
|
+
};
|
|
138
|
+
/**
|
|
139
|
+
* LayoutsApi - factory interface
|
|
140
|
+
* @export
|
|
141
|
+
*/
|
|
142
|
+
export declare const LayoutsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
143
|
+
/**
|
|
144
|
+
* This will create a layout.
|
|
145
|
+
* @summary Create the layout
|
|
146
|
+
* @param {CreateLayoutRequestDto} createLayoutRequestDto
|
|
147
|
+
* @param {string} [authorization] Bearer Token
|
|
148
|
+
* @param {*} [options] Override http request option.
|
|
149
|
+
* @throws {RequiredError}
|
|
150
|
+
*/
|
|
151
|
+
createLayout(createLayoutRequestDto: CreateLayoutRequestDto, authorization?: string, options?: any): AxiosPromise<CreateLayoutResponseClass>;
|
|
152
|
+
/**
|
|
153
|
+
* Permanently deletes the layout. Supply the unique code that was returned when you created the layout and this will delete it.
|
|
154
|
+
* @summary Delete the layout
|
|
155
|
+
* @param {number} id
|
|
156
|
+
* @param {string} [authorization] Bearer Token
|
|
157
|
+
* @param {*} [options] Override http request option.
|
|
158
|
+
* @throws {RequiredError}
|
|
159
|
+
*/
|
|
160
|
+
deleteLayout(id: number, authorization?: string, options?: any): AxiosPromise<DeleteResponseClass>;
|
|
161
|
+
/**
|
|
162
|
+
* Retrieves the details of the layout that was previously created. Supply the unique layout id that was returned when you created it and Emil Api will return the corresponding layout information.
|
|
163
|
+
* @summary Retrieve the layout
|
|
164
|
+
* @param {string} id
|
|
165
|
+
* @param {number} id2 Internal unique identifier for the object. You should not have to use this, use code instead.
|
|
166
|
+
* @param {string} [authorization] Bearer Token
|
|
167
|
+
* @param {*} [options] Override http request option.
|
|
168
|
+
* @throws {RequiredError}
|
|
169
|
+
*/
|
|
170
|
+
getLayout(id: string, id2: number, authorization?: string, options?: any): AxiosPromise<GetLayoutResponseClass>;
|
|
171
|
+
/**
|
|
172
|
+
* Returns a list of layouts you have previously created. The layouts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
173
|
+
* @summary List layouts
|
|
174
|
+
* @param {string} [authorization] Bearer Token
|
|
175
|
+
* @param {number} [pageSize] Page size
|
|
176
|
+
* @param {string} [pageToken] Page token
|
|
177
|
+
* @param {string} [filter] List filter
|
|
178
|
+
* @param {string} [search] Search query
|
|
179
|
+
* @param {string} [order] Ordering criteria
|
|
180
|
+
* @param {string} [expand] Extra fields to fetch
|
|
181
|
+
* @param {*} [options] Override http request option.
|
|
182
|
+
* @throws {RequiredError}
|
|
183
|
+
*/
|
|
184
|
+
listLayouts(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, options?: any): AxiosPromise<ListLayoutsResponseClass>;
|
|
185
|
+
/**
|
|
186
|
+
* Updates the specified layout by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
187
|
+
* @summary Update the layout
|
|
188
|
+
* @param {number} id
|
|
189
|
+
* @param {UpdateLayoutRequestDto} updateLayoutRequestDto
|
|
190
|
+
* @param {string} [authorization] Bearer Token
|
|
191
|
+
* @param {*} [options] Override http request option.
|
|
192
|
+
* @throws {RequiredError}
|
|
193
|
+
*/
|
|
194
|
+
updateLayout(id: number, updateLayoutRequestDto: UpdateLayoutRequestDto, authorization?: string, options?: any): AxiosPromise<UpdateLayoutResponseClass>;
|
|
195
|
+
};
|
|
196
|
+
/**
|
|
197
|
+
* Request parameters for createLayout operation in LayoutsApi.
|
|
198
|
+
* @export
|
|
199
|
+
* @interface LayoutsApiCreateLayoutRequest
|
|
200
|
+
*/
|
|
201
|
+
export interface LayoutsApiCreateLayoutRequest {
|
|
202
|
+
/**
|
|
203
|
+
*
|
|
204
|
+
* @type {CreateLayoutRequestDto}
|
|
205
|
+
* @memberof LayoutsApiCreateLayout
|
|
206
|
+
*/
|
|
207
|
+
readonly createLayoutRequestDto: CreateLayoutRequestDto;
|
|
208
|
+
/**
|
|
209
|
+
* Bearer Token
|
|
210
|
+
* @type {string}
|
|
211
|
+
* @memberof LayoutsApiCreateLayout
|
|
212
|
+
*/
|
|
213
|
+
readonly authorization?: string;
|
|
214
|
+
}
|
|
215
|
+
/**
|
|
216
|
+
* Request parameters for deleteLayout operation in LayoutsApi.
|
|
217
|
+
* @export
|
|
218
|
+
* @interface LayoutsApiDeleteLayoutRequest
|
|
219
|
+
*/
|
|
220
|
+
export interface LayoutsApiDeleteLayoutRequest {
|
|
221
|
+
/**
|
|
222
|
+
*
|
|
223
|
+
* @type {number}
|
|
224
|
+
* @memberof LayoutsApiDeleteLayout
|
|
225
|
+
*/
|
|
226
|
+
readonly id: number;
|
|
227
|
+
/**
|
|
228
|
+
* Bearer Token
|
|
229
|
+
* @type {string}
|
|
230
|
+
* @memberof LayoutsApiDeleteLayout
|
|
231
|
+
*/
|
|
232
|
+
readonly authorization?: string;
|
|
233
|
+
}
|
|
234
|
+
/**
|
|
235
|
+
* Request parameters for getLayout operation in LayoutsApi.
|
|
236
|
+
* @export
|
|
237
|
+
* @interface LayoutsApiGetLayoutRequest
|
|
238
|
+
*/
|
|
239
|
+
export interface LayoutsApiGetLayoutRequest {
|
|
240
|
+
/**
|
|
241
|
+
*
|
|
242
|
+
* @type {string}
|
|
243
|
+
* @memberof LayoutsApiGetLayout
|
|
244
|
+
*/
|
|
245
|
+
readonly id: string;
|
|
246
|
+
/**
|
|
247
|
+
* Internal unique identifier for the object. You should not have to use this, use code instead.
|
|
248
|
+
* @type {number}
|
|
249
|
+
* @memberof LayoutsApiGetLayout
|
|
250
|
+
*/
|
|
251
|
+
readonly id2: number;
|
|
252
|
+
/**
|
|
253
|
+
* Bearer Token
|
|
254
|
+
* @type {string}
|
|
255
|
+
* @memberof LayoutsApiGetLayout
|
|
256
|
+
*/
|
|
257
|
+
readonly authorization?: string;
|
|
258
|
+
}
|
|
259
|
+
/**
|
|
260
|
+
* Request parameters for listLayouts operation in LayoutsApi.
|
|
261
|
+
* @export
|
|
262
|
+
* @interface LayoutsApiListLayoutsRequest
|
|
263
|
+
*/
|
|
264
|
+
export interface LayoutsApiListLayoutsRequest {
|
|
265
|
+
/**
|
|
266
|
+
* Bearer Token
|
|
267
|
+
* @type {string}
|
|
268
|
+
* @memberof LayoutsApiListLayouts
|
|
269
|
+
*/
|
|
270
|
+
readonly authorization?: string;
|
|
271
|
+
/**
|
|
272
|
+
* Page size
|
|
273
|
+
* @type {number}
|
|
274
|
+
* @memberof LayoutsApiListLayouts
|
|
275
|
+
*/
|
|
276
|
+
readonly pageSize?: number;
|
|
277
|
+
/**
|
|
278
|
+
* Page token
|
|
279
|
+
* @type {string}
|
|
280
|
+
* @memberof LayoutsApiListLayouts
|
|
281
|
+
*/
|
|
282
|
+
readonly pageToken?: string;
|
|
283
|
+
/**
|
|
284
|
+
* List filter
|
|
285
|
+
* @type {string}
|
|
286
|
+
* @memberof LayoutsApiListLayouts
|
|
287
|
+
*/
|
|
288
|
+
readonly filter?: string;
|
|
289
|
+
/**
|
|
290
|
+
* Search query
|
|
291
|
+
* @type {string}
|
|
292
|
+
* @memberof LayoutsApiListLayouts
|
|
293
|
+
*/
|
|
294
|
+
readonly search?: string;
|
|
295
|
+
/**
|
|
296
|
+
* Ordering criteria
|
|
297
|
+
* @type {string}
|
|
298
|
+
* @memberof LayoutsApiListLayouts
|
|
299
|
+
*/
|
|
300
|
+
readonly order?: string;
|
|
301
|
+
/**
|
|
302
|
+
* Extra fields to fetch
|
|
303
|
+
* @type {string}
|
|
304
|
+
* @memberof LayoutsApiListLayouts
|
|
305
|
+
*/
|
|
306
|
+
readonly expand?: string;
|
|
307
|
+
}
|
|
308
|
+
/**
|
|
309
|
+
* Request parameters for updateLayout operation in LayoutsApi.
|
|
310
|
+
* @export
|
|
311
|
+
* @interface LayoutsApiUpdateLayoutRequest
|
|
312
|
+
*/
|
|
313
|
+
export interface LayoutsApiUpdateLayoutRequest {
|
|
314
|
+
/**
|
|
315
|
+
*
|
|
316
|
+
* @type {number}
|
|
317
|
+
* @memberof LayoutsApiUpdateLayout
|
|
318
|
+
*/
|
|
319
|
+
readonly id: number;
|
|
320
|
+
/**
|
|
321
|
+
*
|
|
322
|
+
* @type {UpdateLayoutRequestDto}
|
|
323
|
+
* @memberof LayoutsApiUpdateLayout
|
|
324
|
+
*/
|
|
325
|
+
readonly updateLayoutRequestDto: UpdateLayoutRequestDto;
|
|
326
|
+
/**
|
|
327
|
+
* Bearer Token
|
|
328
|
+
* @type {string}
|
|
329
|
+
* @memberof LayoutsApiUpdateLayout
|
|
330
|
+
*/
|
|
331
|
+
readonly authorization?: string;
|
|
332
|
+
}
|
|
333
|
+
/**
|
|
334
|
+
* LayoutsApi - object-oriented interface
|
|
335
|
+
* @export
|
|
336
|
+
* @class LayoutsApi
|
|
337
|
+
* @extends {BaseAPI}
|
|
338
|
+
*/
|
|
339
|
+
export declare class LayoutsApi extends BaseAPI {
|
|
340
|
+
/**
|
|
341
|
+
* This will create a layout.
|
|
342
|
+
* @summary Create the layout
|
|
343
|
+
* @param {LayoutsApiCreateLayoutRequest} requestParameters Request parameters.
|
|
344
|
+
* @param {*} [options] Override http request option.
|
|
345
|
+
* @throws {RequiredError}
|
|
346
|
+
* @memberof LayoutsApi
|
|
347
|
+
*/
|
|
348
|
+
createLayout(requestParameters: LayoutsApiCreateLayoutRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateLayoutResponseClass, any>>;
|
|
349
|
+
/**
|
|
350
|
+
* Permanently deletes the layout. Supply the unique code that was returned when you created the layout and this will delete it.
|
|
351
|
+
* @summary Delete the layout
|
|
352
|
+
* @param {LayoutsApiDeleteLayoutRequest} requestParameters Request parameters.
|
|
353
|
+
* @param {*} [options] Override http request option.
|
|
354
|
+
* @throws {RequiredError}
|
|
355
|
+
* @memberof LayoutsApi
|
|
356
|
+
*/
|
|
357
|
+
deleteLayout(requestParameters: LayoutsApiDeleteLayoutRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DeleteResponseClass, any>>;
|
|
358
|
+
/**
|
|
359
|
+
* Retrieves the details of the layout that was previously created. Supply the unique layout id that was returned when you created it and Emil Api will return the corresponding layout information.
|
|
360
|
+
* @summary Retrieve the layout
|
|
361
|
+
* @param {LayoutsApiGetLayoutRequest} requestParameters Request parameters.
|
|
362
|
+
* @param {*} [options] Override http request option.
|
|
363
|
+
* @throws {RequiredError}
|
|
364
|
+
* @memberof LayoutsApi
|
|
365
|
+
*/
|
|
366
|
+
getLayout(requestParameters: LayoutsApiGetLayoutRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetLayoutResponseClass, any>>;
|
|
367
|
+
/**
|
|
368
|
+
* Returns a list of layouts you have previously created. The layouts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
369
|
+
* @summary List layouts
|
|
370
|
+
* @param {LayoutsApiListLayoutsRequest} requestParameters Request parameters.
|
|
371
|
+
* @param {*} [options] Override http request option.
|
|
372
|
+
* @throws {RequiredError}
|
|
373
|
+
* @memberof LayoutsApi
|
|
374
|
+
*/
|
|
375
|
+
listLayouts(requestParameters?: LayoutsApiListLayoutsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListLayoutsResponseClass, any>>;
|
|
376
|
+
/**
|
|
377
|
+
* Updates the specified layout by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
378
|
+
* @summary Update the layout
|
|
379
|
+
* @param {LayoutsApiUpdateLayoutRequest} requestParameters Request parameters.
|
|
380
|
+
* @param {*} [options] Override http request option.
|
|
381
|
+
* @throws {RequiredError}
|
|
382
|
+
* @memberof LayoutsApi
|
|
383
|
+
*/
|
|
384
|
+
updateLayout(requestParameters: LayoutsApiUpdateLayoutRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateLayoutResponseClass, any>>;
|
|
385
|
+
}
|