@emilgroup/document-sdk 1.46.1-beta.16 → 1.46.1-beta.18
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/documents-api.ts +4 -2
- package/dist/api/documents-api.d.ts +4 -3
- package/dist/models/create-qr-bill-document-response-class.d.ts +25 -0
- package/dist/models/create-qr-bill-document-response-class.js +15 -0
- package/dist/models/index.d.ts +1 -0
- package/dist/models/index.js +1 -0
- package/models/create-qr-bill-document-response-class.ts +31 -0
- package/models/index.ts +1 -0
- package/package.json +1 -1
package/.openapi-generator/FILES
CHANGED
|
@@ -27,6 +27,7 @@ models/create-layout-response-class.ts
|
|
|
27
27
|
models/create-presigned-post-request-dto.ts
|
|
28
28
|
models/create-presigned-post-response-class.ts
|
|
29
29
|
models/create-qr-bill-document-request-dto.ts
|
|
30
|
+
models/create-qr-bill-document-response-class.ts
|
|
30
31
|
models/delete-layout-request-dto.ts
|
|
31
32
|
models/delete-product-document-request-dto.ts
|
|
32
33
|
models/delete-request-dto.ts
|
package/README.md
CHANGED
|
@@ -17,11 +17,11 @@ Although this package can be used in both TypeScript and JavaScript, it is inten
|
|
|
17
17
|
Navigate to the folder of your consuming project and run one of the following commands:
|
|
18
18
|
|
|
19
19
|
```
|
|
20
|
-
npm install @emilgroup/document-sdk@1.46.1-beta.
|
|
20
|
+
npm install @emilgroup/document-sdk@1.46.1-beta.18 --save
|
|
21
21
|
```
|
|
22
22
|
or
|
|
23
23
|
```
|
|
24
|
-
yarn add @emilgroup/document-sdk@1.46.1-beta.
|
|
24
|
+
yarn add @emilgroup/document-sdk@1.46.1-beta.18
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
And then you can import `DocumentsApi`.
|
package/api/documents-api.ts
CHANGED
|
@@ -31,6 +31,8 @@ import { CreatePresignedPostResponseClass } from '../models';
|
|
|
31
31
|
// @ts-ignore
|
|
32
32
|
import { CreateQrBillDocumentRequestDto } from '../models';
|
|
33
33
|
// @ts-ignore
|
|
34
|
+
import { CreateQrBillDocumentResponseClass } from '../models';
|
|
35
|
+
// @ts-ignore
|
|
34
36
|
import { ExportDocumentRequestDto } from '../models';
|
|
35
37
|
// @ts-ignore
|
|
36
38
|
import { ExportDocumentResponseClass } from '../models';
|
|
@@ -661,7 +663,7 @@ export const DocumentsApiFp = function(configuration?: Configuration) {
|
|
|
661
663
|
* @param {*} [options] Override http request option.
|
|
662
664
|
* @throws {RequiredError}
|
|
663
665
|
*/
|
|
664
|
-
async createQrBillDocument(createQrBillDocumentRequestDto: CreateQrBillDocumentRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
666
|
+
async createQrBillDocument(createQrBillDocumentRequestDto: CreateQrBillDocumentRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateQrBillDocumentResponseClass>> {
|
|
665
667
|
const localVarAxiosArgs = await localVarAxiosParamCreator.createQrBillDocument(createQrBillDocumentRequestDto, authorization, options);
|
|
666
668
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
667
669
|
},
|
|
@@ -811,7 +813,7 @@ export const DocumentsApiFactory = function (configuration?: Configuration, base
|
|
|
811
813
|
* @param {*} [options] Override http request option.
|
|
812
814
|
* @throws {RequiredError}
|
|
813
815
|
*/
|
|
814
|
-
createQrBillDocument(createQrBillDocumentRequestDto: CreateQrBillDocumentRequestDto, authorization?: string, options?: any): AxiosPromise<
|
|
816
|
+
createQrBillDocument(createQrBillDocumentRequestDto: CreateQrBillDocumentRequestDto, authorization?: string, options?: any): AxiosPromise<CreateQrBillDocumentResponseClass> {
|
|
815
817
|
return localVarFp.createQrBillDocument(createQrBillDocumentRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
816
818
|
},
|
|
817
819
|
/**
|
|
@@ -17,6 +17,7 @@ import { CreateDocumentSyncResponseClass } from '../models';
|
|
|
17
17
|
import { CreatePresignedPostRequestDto } from '../models';
|
|
18
18
|
import { CreatePresignedPostResponseClass } from '../models';
|
|
19
19
|
import { CreateQrBillDocumentRequestDto } from '../models';
|
|
20
|
+
import { CreateQrBillDocumentResponseClass } from '../models';
|
|
20
21
|
import { ExportDocumentRequestDto } from '../models';
|
|
21
22
|
import { ExportDocumentResponseClass } from '../models';
|
|
22
23
|
import { GetDocumentDownloadUrlResponseClass } from '../models';
|
|
@@ -174,7 +175,7 @@ export declare const DocumentsApiFp: (configuration?: Configuration) => {
|
|
|
174
175
|
* @param {*} [options] Override http request option.
|
|
175
176
|
* @throws {RequiredError}
|
|
176
177
|
*/
|
|
177
|
-
createQrBillDocument(createQrBillDocumentRequestDto: CreateQrBillDocumentRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
178
|
+
createQrBillDocument(createQrBillDocumentRequestDto: CreateQrBillDocumentRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateQrBillDocumentResponseClass>>;
|
|
178
179
|
/**
|
|
179
180
|
* Permanently deletes the document. Supply the unique code that was returned when you created the document and this will delete it. **Required Permissions** \"document-management.documents.delete\"
|
|
180
181
|
* @summary Delete the document
|
|
@@ -289,7 +290,7 @@ export declare const DocumentsApiFactory: (configuration?: Configuration, basePa
|
|
|
289
290
|
* @param {*} [options] Override http request option.
|
|
290
291
|
* @throws {RequiredError}
|
|
291
292
|
*/
|
|
292
|
-
createQrBillDocument(createQrBillDocumentRequestDto: CreateQrBillDocumentRequestDto, authorization?: string, options?: any): AxiosPromise<
|
|
293
|
+
createQrBillDocument(createQrBillDocumentRequestDto: CreateQrBillDocumentRequestDto, authorization?: string, options?: any): AxiosPromise<CreateQrBillDocumentResponseClass>;
|
|
293
294
|
/**
|
|
294
295
|
* Permanently deletes the document. Supply the unique code that was returned when you created the document and this will delete it. **Required Permissions** \"document-management.documents.delete\"
|
|
295
296
|
* @summary Delete the document
|
|
@@ -675,7 +676,7 @@ export declare class DocumentsApi extends BaseAPI {
|
|
|
675
676
|
* @throws {RequiredError}
|
|
676
677
|
* @memberof DocumentsApi
|
|
677
678
|
*/
|
|
678
|
-
createQrBillDocument(requestParameters: DocumentsApiCreateQrBillDocumentRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
679
|
+
createQrBillDocument(requestParameters: DocumentsApiCreateQrBillDocumentRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateQrBillDocumentResponseClass, any, {}>>;
|
|
679
680
|
/**
|
|
680
681
|
* Permanently deletes the document. Supply the unique code that was returned when you created the document and this will delete it. **Required Permissions** \"document-management.documents.delete\"
|
|
681
682
|
* @summary Delete the document
|
|
@@ -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
|
+
* 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 { DocumentClass } from './document-class';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface CreateQrBillDocumentResponseClass
|
|
17
|
+
*/
|
|
18
|
+
export interface CreateQrBillDocumentResponseClass {
|
|
19
|
+
/**
|
|
20
|
+
* The generated QR bill PDF document
|
|
21
|
+
* @type {DocumentClass}
|
|
22
|
+
* @memberof CreateQrBillDocumentResponseClass
|
|
23
|
+
*/
|
|
24
|
+
'document': DocumentClass;
|
|
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
|
+
* Contact: kontakt@emil.de
|
|
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 });
|
package/dist/models/index.d.ts
CHANGED
|
@@ -8,6 +8,7 @@ export * from './create-layout-response-class';
|
|
|
8
8
|
export * from './create-presigned-post-request-dto';
|
|
9
9
|
export * from './create-presigned-post-response-class';
|
|
10
10
|
export * from './create-qr-bill-document-request-dto';
|
|
11
|
+
export * from './create-qr-bill-document-response-class';
|
|
11
12
|
export * from './delete-layout-request-dto';
|
|
12
13
|
export * from './delete-product-document-request-dto';
|
|
13
14
|
export * from './delete-request-dto';
|
package/dist/models/index.js
CHANGED
|
@@ -24,6 +24,7 @@ __exportStar(require("./create-layout-response-class"), exports);
|
|
|
24
24
|
__exportStar(require("./create-presigned-post-request-dto"), exports);
|
|
25
25
|
__exportStar(require("./create-presigned-post-response-class"), exports);
|
|
26
26
|
__exportStar(require("./create-qr-bill-document-request-dto"), exports);
|
|
27
|
+
__exportStar(require("./create-qr-bill-document-response-class"), exports);
|
|
27
28
|
__exportStar(require("./delete-layout-request-dto"), exports);
|
|
28
29
|
__exportStar(require("./delete-product-document-request-dto"), exports);
|
|
29
30
|
__exportStar(require("./delete-request-dto"), exports);
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL DocumentService
|
|
5
|
+
* The EMIL DocumentService API description
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
import { DocumentClass } from './document-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface CreateQrBillDocumentResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface CreateQrBillDocumentResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* The generated QR bill PDF document
|
|
26
|
+
* @type {DocumentClass}
|
|
27
|
+
* @memberof CreateQrBillDocumentResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'document': DocumentClass;
|
|
30
|
+
}
|
|
31
|
+
|
package/models/index.ts
CHANGED
|
@@ -8,6 +8,7 @@ export * from './create-layout-response-class';
|
|
|
8
8
|
export * from './create-presigned-post-request-dto';
|
|
9
9
|
export * from './create-presigned-post-response-class';
|
|
10
10
|
export * from './create-qr-bill-document-request-dto';
|
|
11
|
+
export * from './create-qr-bill-document-response-class';
|
|
11
12
|
export * from './delete-layout-request-dto';
|
|
12
13
|
export * from './delete-product-document-request-dto';
|
|
13
14
|
export * from './delete-request-dto';
|