@emilgroup/document-sdk-node 1.44.1-beta.8 → 1.47.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.
- package/.openapi-generator/FILES +0 -5
- package/README.md +2 -2
- package/api/documents-api.ts +0 -332
- package/api/product-documents-api.ts +41 -54
- package/dist/api/documents-api.d.ts +0 -179
- package/dist/api/documents-api.js +0 -285
- package/dist/api/product-documents-api.d.ts +33 -42
- package/dist/api/product-documents-api.js +19 -24
- package/dist/models/index.d.ts +0 -5
- package/dist/models/index.js +0 -5
- package/dist/models/layout-class.d.ts +0 -12
- package/models/index.ts +0 -5
- package/models/layout-class.ts +0 -12
- package/package.json +2 -2
- package/dist/models/create-qr-bill-document-request-dto.d.ts +0 -60
- package/dist/models/create-qr-bill-document-request-dto.js +0 -20
- package/dist/models/export-document-request-dto.d.ts +0 -54
- package/dist/models/export-document-request-dto.js +0 -15
- package/dist/models/export-document-response-class.d.ts +0 -30
- package/dist/models/export-document-response-class.js +0 -15
- package/dist/models/merge-documents-response-class.d.ts +0 -25
- package/dist/models/merge-documents-response-class.js +0 -15
- package/dist/models/qr-billing-entity-dto.d.ts +0 -60
- package/dist/models/qr-billing-entity-dto.js +0 -15
- package/models/create-qr-bill-document-request-dto.ts +0 -69
- package/models/export-document-request-dto.ts +0 -60
- package/models/export-document-response-class.ts +0 -36
- package/models/merge-documents-response-class.ts +0 -31
- package/models/qr-billing-entity-dto.ts +0 -66
|
@@ -197,7 +197,6 @@ export const ProductDocumentsApiAxiosParamCreator = function (configuration?: Co
|
|
|
197
197
|
/**
|
|
198
198
|
* Returns a list of product documents you have previously created. The product documents are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"document-management.documents.view\"
|
|
199
199
|
* @summary List product documents
|
|
200
|
-
* @param {string} productSlug
|
|
201
200
|
* @param {string} [authorization] Bearer Token
|
|
202
201
|
* @param {number} [pageSize] Page size
|
|
203
202
|
* @param {string} [pageToken] Page token
|
|
@@ -209,11 +208,8 @@ export const ProductDocumentsApiAxiosParamCreator = function (configuration?: Co
|
|
|
209
208
|
* @param {*} [options] Override http request option.
|
|
210
209
|
* @throws {RequiredError}
|
|
211
210
|
*/
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
assertParamExists('listProductDocuments0', 'productSlug', productSlug)
|
|
215
|
-
const localVarPath = `/documentservice/v1/product-documents`
|
|
216
|
-
.replace(`{${"productSlug"}}`, encodeURIComponent(String(productSlug)));
|
|
211
|
+
listProductDocuments: async (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
212
|
+
const localVarPath = `/documentservice/v1/product-documents`;
|
|
217
213
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
218
214
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
219
215
|
let baseOptions;
|
|
@@ -289,9 +285,9 @@ export const ProductDocumentsApiAxiosParamCreator = function (configuration?: Co
|
|
|
289
285
|
* @param {*} [options] Override http request option.
|
|
290
286
|
* @throws {RequiredError}
|
|
291
287
|
*/
|
|
292
|
-
|
|
288
|
+
listProductDocumentsByProduct: async (productSlug: string, authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
293
289
|
// verify required parameter 'productSlug' is not null or undefined
|
|
294
|
-
assertParamExists('
|
|
290
|
+
assertParamExists('listProductDocumentsByProduct', 'productSlug', productSlug)
|
|
295
291
|
const localVarPath = `/documentservice/v1/product-documents/{productSlug}`
|
|
296
292
|
.replace(`{${"productSlug"}}`, encodeURIComponent(String(productSlug)));
|
|
297
293
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -458,7 +454,6 @@ export const ProductDocumentsApiFp = function(configuration?: Configuration) {
|
|
|
458
454
|
/**
|
|
459
455
|
* Returns a list of product documents you have previously created. The product documents are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"document-management.documents.view\"
|
|
460
456
|
* @summary List product documents
|
|
461
|
-
* @param {string} productSlug
|
|
462
457
|
* @param {string} [authorization] Bearer Token
|
|
463
458
|
* @param {number} [pageSize] Page size
|
|
464
459
|
* @param {string} [pageToken] Page token
|
|
@@ -470,8 +465,8 @@ export const ProductDocumentsApiFp = function(configuration?: Configuration) {
|
|
|
470
465
|
* @param {*} [options] Override http request option.
|
|
471
466
|
* @throws {RequiredError}
|
|
472
467
|
*/
|
|
473
|
-
async
|
|
474
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
468
|
+
async listProductDocuments(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListProductDocumentsResponseClass>> {
|
|
469
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listProductDocuments(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
|
|
475
470
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
476
471
|
},
|
|
477
472
|
/**
|
|
@@ -489,8 +484,8 @@ export const ProductDocumentsApiFp = function(configuration?: Configuration) {
|
|
|
489
484
|
* @param {*} [options] Override http request option.
|
|
490
485
|
* @throws {RequiredError}
|
|
491
486
|
*/
|
|
492
|
-
async
|
|
493
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
487
|
+
async listProductDocumentsByProduct(productSlug: string, authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListProductDocumentsResponseClass>> {
|
|
488
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listProductDocumentsByProduct(productSlug, authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
|
|
494
489
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
495
490
|
},
|
|
496
491
|
/**
|
|
@@ -556,7 +551,6 @@ export const ProductDocumentsApiFactory = function (configuration?: Configuratio
|
|
|
556
551
|
/**
|
|
557
552
|
* Returns a list of product documents you have previously created. The product documents are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"document-management.documents.view\"
|
|
558
553
|
* @summary List product documents
|
|
559
|
-
* @param {string} productSlug
|
|
560
554
|
* @param {string} [authorization] Bearer Token
|
|
561
555
|
* @param {number} [pageSize] Page size
|
|
562
556
|
* @param {string} [pageToken] Page token
|
|
@@ -568,8 +562,8 @@ export const ProductDocumentsApiFactory = function (configuration?: Configuratio
|
|
|
568
562
|
* @param {*} [options] Override http request option.
|
|
569
563
|
* @throws {RequiredError}
|
|
570
564
|
*/
|
|
571
|
-
|
|
572
|
-
return localVarFp.
|
|
565
|
+
listProductDocuments(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListProductDocumentsResponseClass> {
|
|
566
|
+
return localVarFp.listProductDocuments(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
|
|
573
567
|
},
|
|
574
568
|
/**
|
|
575
569
|
* Returns a list of product documents you have previously created. The product documents are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"document-management.documents.view\"
|
|
@@ -586,8 +580,8 @@ export const ProductDocumentsApiFactory = function (configuration?: Configuratio
|
|
|
586
580
|
* @param {*} [options] Override http request option.
|
|
587
581
|
* @throws {RequiredError}
|
|
588
582
|
*/
|
|
589
|
-
|
|
590
|
-
return localVarFp.
|
|
583
|
+
listProductDocumentsByProduct(productSlug: string, authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListProductDocumentsResponseClass> {
|
|
584
|
+
return localVarFp.listProductDocumentsByProduct(productSlug, authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
|
|
591
585
|
},
|
|
592
586
|
/**
|
|
593
587
|
* Upload a product document. **Required Permissions** \"document-management.documents.update\"
|
|
@@ -696,141 +690,134 @@ export interface ProductDocumentsApiGetProductDocumentRequest {
|
|
|
696
690
|
}
|
|
697
691
|
|
|
698
692
|
/**
|
|
699
|
-
* Request parameters for
|
|
693
|
+
* Request parameters for listProductDocuments operation in ProductDocumentsApi.
|
|
700
694
|
* @export
|
|
701
|
-
* @interface
|
|
695
|
+
* @interface ProductDocumentsApiListProductDocumentsRequest
|
|
702
696
|
*/
|
|
703
|
-
export interface
|
|
704
|
-
/**
|
|
705
|
-
*
|
|
706
|
-
* @type {string}
|
|
707
|
-
* @memberof ProductDocumentsApiListProductDocuments0
|
|
708
|
-
*/
|
|
709
|
-
readonly productSlug: string
|
|
710
|
-
|
|
697
|
+
export interface ProductDocumentsApiListProductDocumentsRequest {
|
|
711
698
|
/**
|
|
712
699
|
* Bearer Token
|
|
713
700
|
* @type {string}
|
|
714
|
-
* @memberof
|
|
701
|
+
* @memberof ProductDocumentsApiListProductDocuments
|
|
715
702
|
*/
|
|
716
703
|
readonly authorization?: string
|
|
717
704
|
|
|
718
705
|
/**
|
|
719
706
|
* Page size
|
|
720
707
|
* @type {number}
|
|
721
|
-
* @memberof
|
|
708
|
+
* @memberof ProductDocumentsApiListProductDocuments
|
|
722
709
|
*/
|
|
723
710
|
readonly pageSize?: number
|
|
724
711
|
|
|
725
712
|
/**
|
|
726
713
|
* Page token
|
|
727
714
|
* @type {string}
|
|
728
|
-
* @memberof
|
|
715
|
+
* @memberof ProductDocumentsApiListProductDocuments
|
|
729
716
|
*/
|
|
730
717
|
readonly pageToken?: string
|
|
731
718
|
|
|
732
719
|
/**
|
|
733
720
|
* Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: code, productSlug, productCode, type, createdAt, slug</i>
|
|
734
721
|
* @type {string}
|
|
735
|
-
* @memberof
|
|
722
|
+
* @memberof ProductDocumentsApiListProductDocuments
|
|
736
723
|
*/
|
|
737
724
|
readonly filter?: string
|
|
738
725
|
|
|
739
726
|
/**
|
|
740
727
|
* Search query
|
|
741
728
|
* @type {string}
|
|
742
|
-
* @memberof
|
|
729
|
+
* @memberof ProductDocumentsApiListProductDocuments
|
|
743
730
|
*/
|
|
744
731
|
readonly search?: string
|
|
745
732
|
|
|
746
733
|
/**
|
|
747
734
|
* Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt, filename</i>
|
|
748
735
|
* @type {string}
|
|
749
|
-
* @memberof
|
|
736
|
+
* @memberof ProductDocumentsApiListProductDocuments
|
|
750
737
|
*/
|
|
751
738
|
readonly order?: string
|
|
752
739
|
|
|
753
740
|
/**
|
|
754
741
|
* Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/>
|
|
755
742
|
* @type {string}
|
|
756
|
-
* @memberof
|
|
743
|
+
* @memberof ProductDocumentsApiListProductDocuments
|
|
757
744
|
*/
|
|
758
745
|
readonly expand?: string
|
|
759
746
|
|
|
760
747
|
/**
|
|
761
748
|
* Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: code, productSlug, productCode, type, createdAt, slug</i>
|
|
762
749
|
* @type {string}
|
|
763
|
-
* @memberof
|
|
750
|
+
* @memberof ProductDocumentsApiListProductDocuments
|
|
764
751
|
*/
|
|
765
752
|
readonly filters?: string
|
|
766
753
|
}
|
|
767
754
|
|
|
768
755
|
/**
|
|
769
|
-
* Request parameters for
|
|
756
|
+
* Request parameters for listProductDocumentsByProduct operation in ProductDocumentsApi.
|
|
770
757
|
* @export
|
|
771
|
-
* @interface
|
|
758
|
+
* @interface ProductDocumentsApiListProductDocumentsByProductRequest
|
|
772
759
|
*/
|
|
773
|
-
export interface
|
|
760
|
+
export interface ProductDocumentsApiListProductDocumentsByProductRequest {
|
|
774
761
|
/**
|
|
775
762
|
*
|
|
776
763
|
* @type {string}
|
|
777
|
-
* @memberof
|
|
764
|
+
* @memberof ProductDocumentsApiListProductDocumentsByProduct
|
|
778
765
|
*/
|
|
779
766
|
readonly productSlug: string
|
|
780
767
|
|
|
781
768
|
/**
|
|
782
769
|
* Bearer Token
|
|
783
770
|
* @type {string}
|
|
784
|
-
* @memberof
|
|
771
|
+
* @memberof ProductDocumentsApiListProductDocumentsByProduct
|
|
785
772
|
*/
|
|
786
773
|
readonly authorization?: string
|
|
787
774
|
|
|
788
775
|
/**
|
|
789
776
|
* Page size
|
|
790
777
|
* @type {number}
|
|
791
|
-
* @memberof
|
|
778
|
+
* @memberof ProductDocumentsApiListProductDocumentsByProduct
|
|
792
779
|
*/
|
|
793
780
|
readonly pageSize?: number
|
|
794
781
|
|
|
795
782
|
/**
|
|
796
783
|
* Page token
|
|
797
784
|
* @type {string}
|
|
798
|
-
* @memberof
|
|
785
|
+
* @memberof ProductDocumentsApiListProductDocumentsByProduct
|
|
799
786
|
*/
|
|
800
787
|
readonly pageToken?: string
|
|
801
788
|
|
|
802
789
|
/**
|
|
803
790
|
* Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: code, productSlug, productCode, type, createdAt, slug</i>
|
|
804
791
|
* @type {string}
|
|
805
|
-
* @memberof
|
|
792
|
+
* @memberof ProductDocumentsApiListProductDocumentsByProduct
|
|
806
793
|
*/
|
|
807
794
|
readonly filter?: string
|
|
808
795
|
|
|
809
796
|
/**
|
|
810
797
|
* Search query
|
|
811
798
|
* @type {string}
|
|
812
|
-
* @memberof
|
|
799
|
+
* @memberof ProductDocumentsApiListProductDocumentsByProduct
|
|
813
800
|
*/
|
|
814
801
|
readonly search?: string
|
|
815
802
|
|
|
816
803
|
/**
|
|
817
804
|
* Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt, filename</i>
|
|
818
805
|
* @type {string}
|
|
819
|
-
* @memberof
|
|
806
|
+
* @memberof ProductDocumentsApiListProductDocumentsByProduct
|
|
820
807
|
*/
|
|
821
808
|
readonly order?: string
|
|
822
809
|
|
|
823
810
|
/**
|
|
824
811
|
* Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/>
|
|
825
812
|
* @type {string}
|
|
826
|
-
* @memberof
|
|
813
|
+
* @memberof ProductDocumentsApiListProductDocumentsByProduct
|
|
827
814
|
*/
|
|
828
815
|
readonly expand?: string
|
|
829
816
|
|
|
830
817
|
/**
|
|
831
818
|
* Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: code, productSlug, productCode, type, createdAt, slug</i>
|
|
832
819
|
* @type {string}
|
|
833
|
-
* @memberof
|
|
820
|
+
* @memberof ProductDocumentsApiListProductDocumentsByProduct
|
|
834
821
|
*/
|
|
835
822
|
readonly filters?: string
|
|
836
823
|
}
|
|
@@ -909,25 +896,25 @@ export class ProductDocumentsApi extends BaseAPI {
|
|
|
909
896
|
/**
|
|
910
897
|
* Returns a list of product documents you have previously created. The product documents are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"document-management.documents.view\"
|
|
911
898
|
* @summary List product documents
|
|
912
|
-
* @param {
|
|
899
|
+
* @param {ProductDocumentsApiListProductDocumentsRequest} requestParameters Request parameters.
|
|
913
900
|
* @param {*} [options] Override http request option.
|
|
914
901
|
* @throws {RequiredError}
|
|
915
902
|
* @memberof ProductDocumentsApi
|
|
916
903
|
*/
|
|
917
|
-
public
|
|
918
|
-
return ProductDocumentsApiFp(this.configuration).
|
|
904
|
+
public listProductDocuments(requestParameters: ProductDocumentsApiListProductDocumentsRequest = {}, options?: AxiosRequestConfig) {
|
|
905
|
+
return ProductDocumentsApiFp(this.configuration).listProductDocuments(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
|
|
919
906
|
}
|
|
920
907
|
|
|
921
908
|
/**
|
|
922
909
|
* Returns a list of product documents you have previously created. The product documents are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"document-management.documents.view\"
|
|
923
910
|
* @summary List product documents
|
|
924
|
-
* @param {
|
|
911
|
+
* @param {ProductDocumentsApiListProductDocumentsByProductRequest} requestParameters Request parameters.
|
|
925
912
|
* @param {*} [options] Override http request option.
|
|
926
913
|
* @throws {RequiredError}
|
|
927
914
|
* @memberof ProductDocumentsApi
|
|
928
915
|
*/
|
|
929
|
-
public
|
|
930
|
-
return ProductDocumentsApiFp(this.configuration).
|
|
916
|
+
public listProductDocumentsByProduct(requestParameters: ProductDocumentsApiListProductDocumentsByProductRequest, options?: AxiosRequestConfig) {
|
|
917
|
+
return ProductDocumentsApiFp(this.configuration).listProductDocumentsByProduct(requestParameters.productSlug, requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
|
|
931
918
|
}
|
|
932
919
|
|
|
933
920
|
/**
|
|
@@ -16,15 +16,10 @@ import { CreateDocumentRequestDto } from '../models';
|
|
|
16
16
|
import { CreateDocumentSyncResponseClass } from '../models';
|
|
17
17
|
import { CreatePresignedPostRequestDto } from '../models';
|
|
18
18
|
import { CreatePresignedPostResponseClass } from '../models';
|
|
19
|
-
import { CreateQrBillDocumentRequestDto } from '../models';
|
|
20
|
-
import { ExportDocumentRequestDto } from '../models';
|
|
21
|
-
import { ExportDocumentResponseClass } from '../models';
|
|
22
19
|
import { GetDocumentDownloadUrlResponseClass } from '../models';
|
|
23
20
|
import { GetProductDocumentDownloadUrlRequestRestDto } from '../models';
|
|
24
21
|
import { GetSignedS3KeyUrlResponseClass } from '../models';
|
|
25
22
|
import { ListDocumentsResponseClass } from '../models';
|
|
26
|
-
import { MergeDocumentsRequestDto } from '../models';
|
|
27
|
-
import { MergeDocumentsResponseClass } from '../models';
|
|
28
23
|
import { SaveExternalDocumentRequestDto } from '../models';
|
|
29
24
|
import { UpdateDocumentRequestDto } from '../models';
|
|
30
25
|
import { UpdateDocumentResponseClass } from '../models';
|
|
@@ -51,15 +46,6 @@ export declare const DocumentsApiAxiosParamCreator: (configuration?: Configurati
|
|
|
51
46
|
* @throws {RequiredError}
|
|
52
47
|
*/
|
|
53
48
|
createPresignedPost: (createPresignedPostRequestDto: CreatePresignedPostRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
54
|
-
/**
|
|
55
|
-
* Creates a Swiss QR bill PDF document **Required Permissions** \"document-management.documents.create\"
|
|
56
|
-
* @summary Create the QR bill document
|
|
57
|
-
* @param {CreateQrBillDocumentRequestDto} createQrBillDocumentRequestDto
|
|
58
|
-
* @param {string} [authorization] Bearer Token
|
|
59
|
-
* @param {*} [options] Override http request option.
|
|
60
|
-
* @throws {RequiredError}
|
|
61
|
-
*/
|
|
62
|
-
createQrBillDocument: (createQrBillDocumentRequestDto: CreateQrBillDocumentRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
63
49
|
/**
|
|
64
50
|
* 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\"
|
|
65
51
|
* @summary Delete the document
|
|
@@ -69,16 +55,6 @@ export declare const DocumentsApiAxiosParamCreator: (configuration?: Configurati
|
|
|
69
55
|
* @throws {RequiredError}
|
|
70
56
|
*/
|
|
71
57
|
deleteDocument: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
72
|
-
/**
|
|
73
|
-
* This will fetch an internal document and export it to a third party API **Required Permissions** \"document-management.documents.create\"
|
|
74
|
-
* @summary Export internal document
|
|
75
|
-
* @param {string} code Document code
|
|
76
|
-
* @param {ExportDocumentRequestDto} exportDocumentRequestDto
|
|
77
|
-
* @param {string} [authorization] Bearer Token
|
|
78
|
-
* @param {*} [options] Override http request option.
|
|
79
|
-
* @throws {RequiredError}
|
|
80
|
-
*/
|
|
81
|
-
exportDocument: (code: string, exportDocumentRequestDto: ExportDocumentRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
82
58
|
/**
|
|
83
59
|
* This will return a presigned URL to download the document. **Required Permissions** \"document-management.documents.view\"
|
|
84
60
|
* @summary Fetches a document download URL
|
|
@@ -114,15 +90,6 @@ export declare const DocumentsApiAxiosParamCreator: (configuration?: Configurati
|
|
|
114
90
|
* @throws {RequiredError}
|
|
115
91
|
*/
|
|
116
92
|
listDocuments: (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
117
|
-
/**
|
|
118
|
-
* Merges 2-5 PDF documents into a single PDF **Required Permissions** \"document-management.documents.delete\"
|
|
119
|
-
* @summary Create the merged document
|
|
120
|
-
* @param {MergeDocumentsRequestDto} mergeDocumentsRequestDto
|
|
121
|
-
* @param {string} [authorization] Bearer Token
|
|
122
|
-
* @param {*} [options] Override http request option.
|
|
123
|
-
* @throws {RequiredError}
|
|
124
|
-
*/
|
|
125
|
-
mergeDocuments: (mergeDocumentsRequestDto: MergeDocumentsRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
126
93
|
/**
|
|
127
94
|
* This will save an external document in the database and return it. This is useful if one needs to call a third party API and store the document in EIS and then, for instance, send it to a client. **Required Permissions** \"document-management.documents.create\"
|
|
128
95
|
* @summary Save external document
|
|
@@ -166,15 +133,6 @@ export declare const DocumentsApiFp: (configuration?: Configuration) => {
|
|
|
166
133
|
* @throws {RequiredError}
|
|
167
134
|
*/
|
|
168
135
|
createPresignedPost(createPresignedPostRequestDto: CreatePresignedPostRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreatePresignedPostResponseClass>>;
|
|
169
|
-
/**
|
|
170
|
-
* Creates a Swiss QR bill PDF document **Required Permissions** \"document-management.documents.create\"
|
|
171
|
-
* @summary Create the QR bill document
|
|
172
|
-
* @param {CreateQrBillDocumentRequestDto} createQrBillDocumentRequestDto
|
|
173
|
-
* @param {string} [authorization] Bearer Token
|
|
174
|
-
* @param {*} [options] Override http request option.
|
|
175
|
-
* @throws {RequiredError}
|
|
176
|
-
*/
|
|
177
|
-
createQrBillDocument(createQrBillDocumentRequestDto: CreateQrBillDocumentRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
|
|
178
136
|
/**
|
|
179
137
|
* 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
138
|
* @summary Delete the document
|
|
@@ -184,16 +142,6 @@ export declare const DocumentsApiFp: (configuration?: Configuration) => {
|
|
|
184
142
|
* @throws {RequiredError}
|
|
185
143
|
*/
|
|
186
144
|
deleteDocument(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
|
|
187
|
-
/**
|
|
188
|
-
* This will fetch an internal document and export it to a third party API **Required Permissions** \"document-management.documents.create\"
|
|
189
|
-
* @summary Export internal document
|
|
190
|
-
* @param {string} code Document code
|
|
191
|
-
* @param {ExportDocumentRequestDto} exportDocumentRequestDto
|
|
192
|
-
* @param {string} [authorization] Bearer Token
|
|
193
|
-
* @param {*} [options] Override http request option.
|
|
194
|
-
* @throws {RequiredError}
|
|
195
|
-
*/
|
|
196
|
-
exportDocument(code: string, exportDocumentRequestDto: ExportDocumentRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ExportDocumentResponseClass>>;
|
|
197
145
|
/**
|
|
198
146
|
* This will return a presigned URL to download the document. **Required Permissions** \"document-management.documents.view\"
|
|
199
147
|
* @summary Fetches a document download URL
|
|
@@ -229,15 +177,6 @@ export declare const DocumentsApiFp: (configuration?: Configuration) => {
|
|
|
229
177
|
* @throws {RequiredError}
|
|
230
178
|
*/
|
|
231
179
|
listDocuments(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListDocumentsResponseClass>>;
|
|
232
|
-
/**
|
|
233
|
-
* Merges 2-5 PDF documents into a single PDF **Required Permissions** \"document-management.documents.delete\"
|
|
234
|
-
* @summary Create the merged document
|
|
235
|
-
* @param {MergeDocumentsRequestDto} mergeDocumentsRequestDto
|
|
236
|
-
* @param {string} [authorization] Bearer Token
|
|
237
|
-
* @param {*} [options] Override http request option.
|
|
238
|
-
* @throws {RequiredError}
|
|
239
|
-
*/
|
|
240
|
-
mergeDocuments(mergeDocumentsRequestDto: MergeDocumentsRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MergeDocumentsResponseClass>>;
|
|
241
180
|
/**
|
|
242
181
|
* This will save an external document in the database and return it. This is useful if one needs to call a third party API and store the document in EIS and then, for instance, send it to a client. **Required Permissions** \"document-management.documents.create\"
|
|
243
182
|
* @summary Save external document
|
|
@@ -281,15 +220,6 @@ export declare const DocumentsApiFactory: (configuration?: Configuration, basePa
|
|
|
281
220
|
* @throws {RequiredError}
|
|
282
221
|
*/
|
|
283
222
|
createPresignedPost(createPresignedPostRequestDto: CreatePresignedPostRequestDto, authorization?: string, options?: any): AxiosPromise<CreatePresignedPostResponseClass>;
|
|
284
|
-
/**
|
|
285
|
-
* Creates a Swiss QR bill PDF document **Required Permissions** \"document-management.documents.create\"
|
|
286
|
-
* @summary Create the QR bill document
|
|
287
|
-
* @param {CreateQrBillDocumentRequestDto} createQrBillDocumentRequestDto
|
|
288
|
-
* @param {string} [authorization] Bearer Token
|
|
289
|
-
* @param {*} [options] Override http request option.
|
|
290
|
-
* @throws {RequiredError}
|
|
291
|
-
*/
|
|
292
|
-
createQrBillDocument(createQrBillDocumentRequestDto: CreateQrBillDocumentRequestDto, authorization?: string, options?: any): AxiosPromise<object>;
|
|
293
223
|
/**
|
|
294
224
|
* 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
225
|
* @summary Delete the document
|
|
@@ -299,16 +229,6 @@ export declare const DocumentsApiFactory: (configuration?: Configuration, basePa
|
|
|
299
229
|
* @throws {RequiredError}
|
|
300
230
|
*/
|
|
301
231
|
deleteDocument(code: string, authorization?: string, options?: any): AxiosPromise<object>;
|
|
302
|
-
/**
|
|
303
|
-
* This will fetch an internal document and export it to a third party API **Required Permissions** \"document-management.documents.create\"
|
|
304
|
-
* @summary Export internal document
|
|
305
|
-
* @param {string} code Document code
|
|
306
|
-
* @param {ExportDocumentRequestDto} exportDocumentRequestDto
|
|
307
|
-
* @param {string} [authorization] Bearer Token
|
|
308
|
-
* @param {*} [options] Override http request option.
|
|
309
|
-
* @throws {RequiredError}
|
|
310
|
-
*/
|
|
311
|
-
exportDocument(code: string, exportDocumentRequestDto: ExportDocumentRequestDto, authorization?: string, options?: any): AxiosPromise<ExportDocumentResponseClass>;
|
|
312
232
|
/**
|
|
313
233
|
* This will return a presigned URL to download the document. **Required Permissions** \"document-management.documents.view\"
|
|
314
234
|
* @summary Fetches a document download URL
|
|
@@ -344,15 +264,6 @@ export declare const DocumentsApiFactory: (configuration?: Configuration, basePa
|
|
|
344
264
|
* @throws {RequiredError}
|
|
345
265
|
*/
|
|
346
266
|
listDocuments(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListDocumentsResponseClass>;
|
|
347
|
-
/**
|
|
348
|
-
* Merges 2-5 PDF documents into a single PDF **Required Permissions** \"document-management.documents.delete\"
|
|
349
|
-
* @summary Create the merged document
|
|
350
|
-
* @param {MergeDocumentsRequestDto} mergeDocumentsRequestDto
|
|
351
|
-
* @param {string} [authorization] Bearer Token
|
|
352
|
-
* @param {*} [options] Override http request option.
|
|
353
|
-
* @throws {RequiredError}
|
|
354
|
-
*/
|
|
355
|
-
mergeDocuments(mergeDocumentsRequestDto: MergeDocumentsRequestDto, authorization?: string, options?: any): AxiosPromise<MergeDocumentsResponseClass>;
|
|
356
267
|
/**
|
|
357
268
|
* This will save an external document in the database and return it. This is useful if one needs to call a third party API and store the document in EIS and then, for instance, send it to a client. **Required Permissions** \"document-management.documents.create\"
|
|
358
269
|
* @summary Save external document
|
|
@@ -411,25 +322,6 @@ export interface DocumentsApiCreatePresignedPostRequest {
|
|
|
411
322
|
*/
|
|
412
323
|
readonly authorization?: string;
|
|
413
324
|
}
|
|
414
|
-
/**
|
|
415
|
-
* Request parameters for createQrBillDocument operation in DocumentsApi.
|
|
416
|
-
* @export
|
|
417
|
-
* @interface DocumentsApiCreateQrBillDocumentRequest
|
|
418
|
-
*/
|
|
419
|
-
export interface DocumentsApiCreateQrBillDocumentRequest {
|
|
420
|
-
/**
|
|
421
|
-
*
|
|
422
|
-
* @type {CreateQrBillDocumentRequestDto}
|
|
423
|
-
* @memberof DocumentsApiCreateQrBillDocument
|
|
424
|
-
*/
|
|
425
|
-
readonly createQrBillDocumentRequestDto: CreateQrBillDocumentRequestDto;
|
|
426
|
-
/**
|
|
427
|
-
* Bearer Token
|
|
428
|
-
* @type {string}
|
|
429
|
-
* @memberof DocumentsApiCreateQrBillDocument
|
|
430
|
-
*/
|
|
431
|
-
readonly authorization?: string;
|
|
432
|
-
}
|
|
433
325
|
/**
|
|
434
326
|
* Request parameters for deleteDocument operation in DocumentsApi.
|
|
435
327
|
* @export
|
|
@@ -449,31 +341,6 @@ export interface DocumentsApiDeleteDocumentRequest {
|
|
|
449
341
|
*/
|
|
450
342
|
readonly authorization?: string;
|
|
451
343
|
}
|
|
452
|
-
/**
|
|
453
|
-
* Request parameters for exportDocument operation in DocumentsApi.
|
|
454
|
-
* @export
|
|
455
|
-
* @interface DocumentsApiExportDocumentRequest
|
|
456
|
-
*/
|
|
457
|
-
export interface DocumentsApiExportDocumentRequest {
|
|
458
|
-
/**
|
|
459
|
-
* Document code
|
|
460
|
-
* @type {string}
|
|
461
|
-
* @memberof DocumentsApiExportDocument
|
|
462
|
-
*/
|
|
463
|
-
readonly code: string;
|
|
464
|
-
/**
|
|
465
|
-
*
|
|
466
|
-
* @type {ExportDocumentRequestDto}
|
|
467
|
-
* @memberof DocumentsApiExportDocument
|
|
468
|
-
*/
|
|
469
|
-
readonly exportDocumentRequestDto: ExportDocumentRequestDto;
|
|
470
|
-
/**
|
|
471
|
-
* Bearer Token
|
|
472
|
-
* @type {string}
|
|
473
|
-
* @memberof DocumentsApiExportDocument
|
|
474
|
-
*/
|
|
475
|
-
readonly authorization?: string;
|
|
476
|
-
}
|
|
477
344
|
/**
|
|
478
345
|
* Request parameters for getDocumentDownloadUrl operation in DocumentsApi.
|
|
479
346
|
* @export
|
|
@@ -579,25 +446,6 @@ export interface DocumentsApiListDocumentsRequest {
|
|
|
579
446
|
*/
|
|
580
447
|
readonly filters?: string;
|
|
581
448
|
}
|
|
582
|
-
/**
|
|
583
|
-
* Request parameters for mergeDocuments operation in DocumentsApi.
|
|
584
|
-
* @export
|
|
585
|
-
* @interface DocumentsApiMergeDocumentsRequest
|
|
586
|
-
*/
|
|
587
|
-
export interface DocumentsApiMergeDocumentsRequest {
|
|
588
|
-
/**
|
|
589
|
-
*
|
|
590
|
-
* @type {MergeDocumentsRequestDto}
|
|
591
|
-
* @memberof DocumentsApiMergeDocuments
|
|
592
|
-
*/
|
|
593
|
-
readonly mergeDocumentsRequestDto: MergeDocumentsRequestDto;
|
|
594
|
-
/**
|
|
595
|
-
* Bearer Token
|
|
596
|
-
* @type {string}
|
|
597
|
-
* @memberof DocumentsApiMergeDocuments
|
|
598
|
-
*/
|
|
599
|
-
readonly authorization?: string;
|
|
600
|
-
}
|
|
601
449
|
/**
|
|
602
450
|
* Request parameters for saveExternalDocument operation in DocumentsApi.
|
|
603
451
|
* @export
|
|
@@ -667,15 +515,6 @@ export declare class DocumentsApi extends BaseAPI {
|
|
|
667
515
|
* @memberof DocumentsApi
|
|
668
516
|
*/
|
|
669
517
|
createPresignedPost(requestParameters: DocumentsApiCreatePresignedPostRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreatePresignedPostResponseClass, any, {}>>;
|
|
670
|
-
/**
|
|
671
|
-
* Creates a Swiss QR bill PDF document **Required Permissions** \"document-management.documents.create\"
|
|
672
|
-
* @summary Create the QR bill document
|
|
673
|
-
* @param {DocumentsApiCreateQrBillDocumentRequest} requestParameters Request parameters.
|
|
674
|
-
* @param {*} [options] Override http request option.
|
|
675
|
-
* @throws {RequiredError}
|
|
676
|
-
* @memberof DocumentsApi
|
|
677
|
-
*/
|
|
678
|
-
createQrBillDocument(requestParameters: DocumentsApiCreateQrBillDocumentRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any, {}>>;
|
|
679
518
|
/**
|
|
680
519
|
* 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
520
|
* @summary Delete the document
|
|
@@ -685,15 +524,6 @@ export declare class DocumentsApi extends BaseAPI {
|
|
|
685
524
|
* @memberof DocumentsApi
|
|
686
525
|
*/
|
|
687
526
|
deleteDocument(requestParameters: DocumentsApiDeleteDocumentRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any, {}>>;
|
|
688
|
-
/**
|
|
689
|
-
* This will fetch an internal document and export it to a third party API **Required Permissions** \"document-management.documents.create\"
|
|
690
|
-
* @summary Export internal document
|
|
691
|
-
* @param {DocumentsApiExportDocumentRequest} requestParameters Request parameters.
|
|
692
|
-
* @param {*} [options] Override http request option.
|
|
693
|
-
* @throws {RequiredError}
|
|
694
|
-
* @memberof DocumentsApi
|
|
695
|
-
*/
|
|
696
|
-
exportDocument(requestParameters: DocumentsApiExportDocumentRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ExportDocumentResponseClass, any, {}>>;
|
|
697
527
|
/**
|
|
698
528
|
* This will return a presigned URL to download the document. **Required Permissions** \"document-management.documents.view\"
|
|
699
529
|
* @summary Fetches a document download URL
|
|
@@ -721,15 +551,6 @@ export declare class DocumentsApi extends BaseAPI {
|
|
|
721
551
|
* @memberof DocumentsApi
|
|
722
552
|
*/
|
|
723
553
|
listDocuments(requestParameters?: DocumentsApiListDocumentsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListDocumentsResponseClass, any, {}>>;
|
|
724
|
-
/**
|
|
725
|
-
* Merges 2-5 PDF documents into a single PDF **Required Permissions** \"document-management.documents.delete\"
|
|
726
|
-
* @summary Create the merged document
|
|
727
|
-
* @param {DocumentsApiMergeDocumentsRequest} requestParameters Request parameters.
|
|
728
|
-
* @param {*} [options] Override http request option.
|
|
729
|
-
* @throws {RequiredError}
|
|
730
|
-
* @memberof DocumentsApi
|
|
731
|
-
*/
|
|
732
|
-
mergeDocuments(requestParameters: DocumentsApiMergeDocumentsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<MergeDocumentsResponseClass, any, {}>>;
|
|
733
554
|
/**
|
|
734
555
|
* This will save an external document in the database and return it. This is useful if one needs to call a third party API and store the document in EIS and then, for instance, send it to a client. **Required Permissions** \"document-management.documents.create\"
|
|
735
556
|
* @summary Save external document
|