@emilgroup/document-sdk-node 1.10.0 → 1.11.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 (157) hide show
  1. package/README.md +2 -2
  2. package/api/product-documents-api.ts +8 -21
  3. package/models/create-doc-template-request-dto.ts +2 -2
  4. package/models/create-document-request-dto.ts +2 -2
  5. package/models/create-layout-request-dto.ts +1 -1
  6. package/models/create-presigned-post-request-dto.ts +2 -2
  7. package/models/delete-product-document-request-dto.ts +1 -1
  8. package/models/doc-template-class.ts +2 -2
  9. package/models/document-class.ts +8 -2
  10. package/models/layout-class.ts +1 -1
  11. package/models/product-document-class.ts +2 -2
  12. package/models/update-doc-template-request-dto.ts +2 -2
  13. package/models/update-layout-request-dto.ts +1 -1
  14. package/models/upload-product-document-request-dto.ts +1 -1
  15. package/package.json +2 -2
  16. package/dist/api/default-api.d.ts +0 -66
  17. package/dist/api/default-api.js +0 -200
  18. package/dist/api/document-templates-api.d.ts +0 -385
  19. package/dist/api/document-templates-api.js +0 -640
  20. package/dist/api/documents-api.d.ts +0 -488
  21. package/dist/api/documents-api.js +0 -821
  22. package/dist/api/docx-templates-api.d.ts +0 -428
  23. package/dist/api/docx-templates-api.js +0 -726
  24. package/dist/api/layouts-api.d.ts +0 -385
  25. package/dist/api/layouts-api.js +0 -642
  26. package/dist/api/product-documents-api.d.ts +0 -410
  27. package/dist/api/product-documents-api.js +0 -656
  28. package/dist/api/search-keywords-api.d.ts +0 -96
  29. package/dist/api/search-keywords-api.js +0 -229
  30. package/dist/api/searchable-document-owners-api.d.ts +0 -141
  31. package/dist/api/searchable-document-owners-api.js +0 -258
  32. package/dist/api/searchable-documents-api.d.ts +0 -114
  33. package/dist/api/searchable-documents-api.js +0 -243
  34. package/dist/api.d.ts +0 -20
  35. package/dist/api.js +0 -38
  36. package/dist/base.d.ts +0 -78
  37. package/dist/base.js +0 -394
  38. package/dist/common.d.ts +0 -92
  39. package/dist/common.js +0 -277
  40. package/dist/configuration.d.ts +0 -90
  41. package/dist/configuration.js +0 -44
  42. package/dist/index.d.ts +0 -15
  43. package/dist/index.js +0 -36
  44. package/dist/models/create-doc-template-request-dto.d.ts +0 -55
  45. package/dist/models/create-doc-template-request-dto.js +0 -15
  46. package/dist/models/create-doc-template-response-class.d.ts +0 -25
  47. package/dist/models/create-doc-template-response-class.js +0 -15
  48. package/dist/models/create-document-request-dto.d.ts +0 -173
  49. package/dist/models/create-document-request-dto.js +0 -70
  50. package/dist/models/create-document-sync-response-class.d.ts +0 -25
  51. package/dist/models/create-document-sync-response-class.js +0 -15
  52. package/dist/models/create-html-template-dto.d.ts +0 -24
  53. package/dist/models/create-html-template-dto.js +0 -15
  54. package/dist/models/create-layout-request-dto.d.ts +0 -49
  55. package/dist/models/create-layout-request-dto.js +0 -15
  56. package/dist/models/create-layout-response-class.d.ts +0 -25
  57. package/dist/models/create-layout-response-class.js +0 -15
  58. package/dist/models/create-presigned-post-request-dto.d.ts +0 -134
  59. package/dist/models/create-presigned-post-request-dto.js +0 -52
  60. package/dist/models/create-presigned-post-response-class.d.ts +0 -30
  61. package/dist/models/create-presigned-post-response-class.js +0 -15
  62. package/dist/models/delete-layout-request-dto.d.ts +0 -24
  63. package/dist/models/delete-layout-request-dto.js +0 -15
  64. package/dist/models/delete-product-document-request-dto.d.ts +0 -30
  65. package/dist/models/delete-product-document-request-dto.js +0 -15
  66. package/dist/models/delete-request-dto.d.ts +0 -24
  67. package/dist/models/delete-request-dto.js +0 -15
  68. package/dist/models/delete-response-class.d.ts +0 -24
  69. package/dist/models/delete-response-class.js +0 -15
  70. package/dist/models/doc-template-class.d.ts +0 -92
  71. package/dist/models/doc-template-class.js +0 -15
  72. package/dist/models/document-class.d.ts +0 -163
  73. package/dist/models/document-class.js +0 -62
  74. package/dist/models/download-document-request-dto.d.ts +0 -30
  75. package/dist/models/download-document-request-dto.js +0 -15
  76. package/dist/models/get-doc-template-request-dto.d.ts +0 -30
  77. package/dist/models/get-doc-template-request-dto.js +0 -15
  78. package/dist/models/get-doc-template-response-class.d.ts +0 -25
  79. package/dist/models/get-doc-template-response-class.js +0 -15
  80. package/dist/models/get-document-download-url-response-class.d.ts +0 -24
  81. package/dist/models/get-document-download-url-response-class.js +0 -15
  82. package/dist/models/get-docx-template-download-url-response-class.d.ts +0 -24
  83. package/dist/models/get-docx-template-download-url-response-class.js +0 -15
  84. package/dist/models/get-layout-request-dto.d.ts +0 -24
  85. package/dist/models/get-layout-request-dto.js +0 -15
  86. package/dist/models/get-layout-response-class.d.ts +0 -25
  87. package/dist/models/get-layout-response-class.js +0 -15
  88. package/dist/models/get-product-document-download-url-response-class.d.ts +0 -24
  89. package/dist/models/get-product-document-download-url-response-class.js +0 -15
  90. package/dist/models/get-product-document-response-class.d.ts +0 -25
  91. package/dist/models/get-product-document-response-class.js +0 -15
  92. package/dist/models/get-signed-s3-key-url-response-class.d.ts +0 -24
  93. package/dist/models/get-signed-s3-key-url-response-class.js +0 -15
  94. package/dist/models/grpc-create-doc-template-request-dto.d.ts +0 -55
  95. package/dist/models/grpc-create-doc-template-request-dto.js +0 -15
  96. package/dist/models/grpc-update-doc-template-request-dto.d.ts +0 -61
  97. package/dist/models/grpc-update-doc-template-request-dto.js +0 -15
  98. package/dist/models/html-template-class.d.ts +0 -66
  99. package/dist/models/html-template-class.js +0 -21
  100. package/dist/models/index.d.ts +0 -56
  101. package/dist/models/index.js +0 -72
  102. package/dist/models/inline-response200.d.ts +0 -54
  103. package/dist/models/inline-response200.js +0 -15
  104. package/dist/models/inline-response503.d.ts +0 -54
  105. package/dist/models/inline-response503.js +0 -15
  106. package/dist/models/layout-class.d.ts +0 -79
  107. package/dist/models/layout-class.js +0 -15
  108. package/dist/models/list-doc-template-request-dto.d.ts +0 -54
  109. package/dist/models/list-doc-template-request-dto.js +0 -15
  110. package/dist/models/list-doc-templates-response-class.d.ts +0 -31
  111. package/dist/models/list-doc-templates-response-class.js +0 -15
  112. package/dist/models/list-documents-response-class.d.ts +0 -31
  113. package/dist/models/list-documents-response-class.js +0 -15
  114. package/dist/models/list-layouts-response-class.d.ts +0 -31
  115. package/dist/models/list-layouts-response-class.js +0 -15
  116. package/dist/models/list-product-documents-response-class.d.ts +0 -31
  117. package/dist/models/list-product-documents-response-class.js +0 -15
  118. package/dist/models/list-request-dto.d.ts +0 -54
  119. package/dist/models/list-request-dto.js +0 -15
  120. package/dist/models/list-search-keywords-request-dto.d.ts +0 -24
  121. package/dist/models/list-search-keywords-request-dto.js +0 -15
  122. package/dist/models/list-search-keywords-response-class.d.ts +0 -24
  123. package/dist/models/list-search-keywords-response-class.js +0 -15
  124. package/dist/models/list-searchable-document-owners-request-dto.d.ts +0 -31
  125. package/dist/models/list-searchable-document-owners-request-dto.js +0 -22
  126. package/dist/models/list-searchable-document-owners-response-class.d.ts +0 -25
  127. package/dist/models/list-searchable-document-owners-response-class.js +0 -15
  128. package/dist/models/list-searchable-documents-request-dto.d.ts +0 -43
  129. package/dist/models/list-searchable-documents-request-dto.js +0 -22
  130. package/dist/models/list-searchable-documents-response-class.d.ts +0 -31
  131. package/dist/models/list-searchable-documents-response-class.js +0 -15
  132. package/dist/models/product-document-class.d.ts +0 -134
  133. package/dist/models/product-document-class.js +0 -46
  134. package/dist/models/searchable-document-class.d.ts +0 -66
  135. package/dist/models/searchable-document-class.js +0 -15
  136. package/dist/models/searchable-document-owner-class.d.ts +0 -30
  137. package/dist/models/searchable-document-owner-class.js +0 -15
  138. package/dist/models/shared-update-docx-template-request-dto.d.ts +0 -36
  139. package/dist/models/shared-update-docx-template-request-dto.js +0 -15
  140. package/dist/models/update-doc-template-request-dto.d.ts +0 -61
  141. package/dist/models/update-doc-template-request-dto.js +0 -15
  142. package/dist/models/update-doc-template-response-class.d.ts +0 -25
  143. package/dist/models/update-doc-template-response-class.js +0 -15
  144. package/dist/models/update-document-request-dto.d.ts +0 -54
  145. package/dist/models/update-document-request-dto.js +0 -15
  146. package/dist/models/update-document-response-class.d.ts +0 -25
  147. package/dist/models/update-document-response-class.js +0 -15
  148. package/dist/models/update-html-template-dto.d.ts +0 -42
  149. package/dist/models/update-html-template-dto.js +0 -21
  150. package/dist/models/update-layout-request-dto.d.ts +0 -55
  151. package/dist/models/update-layout-request-dto.js +0 -15
  152. package/dist/models/update-layout-response-class.d.ts +0 -25
  153. package/dist/models/update-layout-response-class.js +0 -15
  154. package/dist/models/upload-docx-template-request-dto.d.ts +0 -54
  155. package/dist/models/upload-docx-template-request-dto.js +0 -15
  156. package/dist/models/upload-product-document-request-dto.d.ts +0 -75
  157. package/dist/models/upload-product-document-request-dto.js +0 -24
@@ -1,96 +0,0 @@
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 { ListSearchKeywordsResponseClass } from '../models';
16
- /**
17
- * SearchKeywordsApi - axios parameter creator
18
- * @export
19
- */
20
- export declare const SearchKeywordsApiAxiosParamCreator: (configuration?: Configuration) => {
21
- /**
22
- * Returns a list of search keywords, including synonyms, used to search and browse documents based on user-entered text.
23
- * @summary List keywords
24
- * @param {string} searchText Text to search in the documents.
25
- * @param {string} [authorization] Bearer Token
26
- * @param {*} [options] Override http request option.
27
- * @throws {RequiredError}
28
- */
29
- listSearchKeywords: (searchText: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
30
- };
31
- /**
32
- * SearchKeywordsApi - functional programming interface
33
- * @export
34
- */
35
- export declare const SearchKeywordsApiFp: (configuration?: Configuration) => {
36
- /**
37
- * Returns a list of search keywords, including synonyms, used to search and browse documents based on user-entered text.
38
- * @summary List keywords
39
- * @param {string} searchText Text to search in the documents.
40
- * @param {string} [authorization] Bearer Token
41
- * @param {*} [options] Override http request option.
42
- * @throws {RequiredError}
43
- */
44
- listSearchKeywords(searchText: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListSearchKeywordsResponseClass>>;
45
- };
46
- /**
47
- * SearchKeywordsApi - factory interface
48
- * @export
49
- */
50
- export declare const SearchKeywordsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
51
- /**
52
- * Returns a list of search keywords, including synonyms, used to search and browse documents based on user-entered text.
53
- * @summary List keywords
54
- * @param {string} searchText Text to search in the documents.
55
- * @param {string} [authorization] Bearer Token
56
- * @param {*} [options] Override http request option.
57
- * @throws {RequiredError}
58
- */
59
- listSearchKeywords(searchText: string, authorization?: string, options?: any): AxiosPromise<ListSearchKeywordsResponseClass>;
60
- };
61
- /**
62
- * Request parameters for listSearchKeywords operation in SearchKeywordsApi.
63
- * @export
64
- * @interface SearchKeywordsApiListSearchKeywordsRequest
65
- */
66
- export interface SearchKeywordsApiListSearchKeywordsRequest {
67
- /**
68
- * Text to search in the documents.
69
- * @type {string}
70
- * @memberof SearchKeywordsApiListSearchKeywords
71
- */
72
- readonly searchText: string;
73
- /**
74
- * Bearer Token
75
- * @type {string}
76
- * @memberof SearchKeywordsApiListSearchKeywords
77
- */
78
- readonly authorization?: string;
79
- }
80
- /**
81
- * SearchKeywordsApi - object-oriented interface
82
- * @export
83
- * @class SearchKeywordsApi
84
- * @extends {BaseAPI}
85
- */
86
- export declare class SearchKeywordsApi extends BaseAPI {
87
- /**
88
- * Returns a list of search keywords, including synonyms, used to search and browse documents based on user-entered text.
89
- * @summary List keywords
90
- * @param {SearchKeywordsApiListSearchKeywordsRequest} requestParameters Request parameters.
91
- * @param {*} [options] Override http request option.
92
- * @throws {RequiredError}
93
- * @memberof SearchKeywordsApi
94
- */
95
- listSearchKeywords(requestParameters: SearchKeywordsApiListSearchKeywordsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListSearchKeywordsResponseClass, any>>;
96
- }
@@ -1,229 +0,0 @@
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
- var __extends = (this && this.__extends) || (function () {
16
- var extendStatics = function (d, b) {
17
- extendStatics = Object.setPrototypeOf ||
18
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
19
- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
20
- return extendStatics(d, b);
21
- };
22
- return function (d, b) {
23
- if (typeof b !== "function" && b !== null)
24
- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
25
- extendStatics(d, b);
26
- function __() { this.constructor = d; }
27
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
28
- };
29
- })();
30
- var __assign = (this && this.__assign) || function () {
31
- __assign = Object.assign || function(t) {
32
- for (var s, i = 1, n = arguments.length; i < n; i++) {
33
- s = arguments[i];
34
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
35
- t[p] = s[p];
36
- }
37
- return t;
38
- };
39
- return __assign.apply(this, arguments);
40
- };
41
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
42
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
43
- return new (P || (P = Promise))(function (resolve, reject) {
44
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
45
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
46
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
47
- step((generator = generator.apply(thisArg, _arguments || [])).next());
48
- });
49
- };
50
- var __generator = (this && this.__generator) || function (thisArg, body) {
51
- var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
52
- return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
53
- function verb(n) { return function (v) { return step([n, v]); }; }
54
- function step(op) {
55
- if (f) throw new TypeError("Generator is already executing.");
56
- while (g && (g = 0, op[0] && (_ = 0)), _) try {
57
- if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
58
- if (y = 0, t) op = [op[0] & 2, t.value];
59
- switch (op[0]) {
60
- case 0: case 1: t = op; break;
61
- case 4: _.label++; return { value: op[1], done: false };
62
- case 5: _.label++; y = op[1]; op = [0]; continue;
63
- case 7: op = _.ops.pop(); _.trys.pop(); continue;
64
- default:
65
- if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
66
- if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
67
- if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
68
- if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
69
- if (t[2]) _.ops.pop();
70
- _.trys.pop(); continue;
71
- }
72
- op = body.call(thisArg, _);
73
- } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
74
- if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
75
- }
76
- };
77
- var __importDefault = (this && this.__importDefault) || function (mod) {
78
- return (mod && mod.__esModule) ? mod : { "default": mod };
79
- };
80
- Object.defineProperty(exports, "__esModule", { value: true });
81
- exports.SearchKeywordsApi = exports.SearchKeywordsApiFactory = exports.SearchKeywordsApiFp = exports.SearchKeywordsApiAxiosParamCreator = void 0;
82
- var axios_1 = __importDefault(require("axios"));
83
- // Some imports not used depending on template conditions
84
- // @ts-ignore
85
- var common_1 = require("../common");
86
- // @ts-ignore
87
- var base_1 = require("../base");
88
- // URLSearchParams not necessarily used
89
- // @ts-ignore
90
- var url_1 = require("url");
91
- var FormData = require('form-data');
92
- /**
93
- * SearchKeywordsApi - axios parameter creator
94
- * @export
95
- */
96
- var SearchKeywordsApiAxiosParamCreator = function (configuration) {
97
- var _this = this;
98
- return {
99
- /**
100
- * Returns a list of search keywords, including synonyms, used to search and browse documents based on user-entered text.
101
- * @summary List keywords
102
- * @param {string} searchText Text to search in the documents.
103
- * @param {string} [authorization] Bearer Token
104
- * @param {*} [options] Override http request option.
105
- * @throws {RequiredError}
106
- */
107
- listSearchKeywords: function (searchText, authorization, options) {
108
- if (options === void 0) { options = {}; }
109
- return __awaiter(_this, void 0, void 0, function () {
110
- var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
111
- return __generator(this, function (_a) {
112
- switch (_a.label) {
113
- case 0:
114
- // verify required parameter 'searchText' is not null or undefined
115
- (0, common_1.assertParamExists)('listSearchKeywords', 'searchText', searchText);
116
- localVarPath = "/documentservice/v1/search-keywords";
117
- localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
118
- if (configuration) {
119
- baseOptions = configuration.baseOptions;
120
- baseAccessToken = configuration.accessToken;
121
- }
122
- localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
123
- localVarHeaderParameter = {};
124
- localVarQueryParameter = {};
125
- // authentication bearer required
126
- // http bearer authentication required
127
- return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
128
- case 1:
129
- // authentication bearer required
130
- // http bearer authentication required
131
- _a.sent();
132
- if (searchText !== undefined) {
133
- localVarQueryParameter['searchText'] = searchText;
134
- }
135
- if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
136
- localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
137
- }
138
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
139
- headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
140
- localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
141
- return [2 /*return*/, {
142
- url: (0, common_1.toPathString)(localVarUrlObj),
143
- options: localVarRequestOptions,
144
- }];
145
- }
146
- });
147
- });
148
- },
149
- };
150
- };
151
- exports.SearchKeywordsApiAxiosParamCreator = SearchKeywordsApiAxiosParamCreator;
152
- /**
153
- * SearchKeywordsApi - functional programming interface
154
- * @export
155
- */
156
- var SearchKeywordsApiFp = function (configuration) {
157
- var localVarAxiosParamCreator = (0, exports.SearchKeywordsApiAxiosParamCreator)(configuration);
158
- return {
159
- /**
160
- * Returns a list of search keywords, including synonyms, used to search and browse documents based on user-entered text.
161
- * @summary List keywords
162
- * @param {string} searchText Text to search in the documents.
163
- * @param {string} [authorization] Bearer Token
164
- * @param {*} [options] Override http request option.
165
- * @throws {RequiredError}
166
- */
167
- listSearchKeywords: function (searchText, authorization, options) {
168
- return __awaiter(this, void 0, void 0, function () {
169
- var localVarAxiosArgs;
170
- return __generator(this, function (_a) {
171
- switch (_a.label) {
172
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.listSearchKeywords(searchText, authorization, options)];
173
- case 1:
174
- localVarAxiosArgs = _a.sent();
175
- return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
176
- }
177
- });
178
- });
179
- },
180
- };
181
- };
182
- exports.SearchKeywordsApiFp = SearchKeywordsApiFp;
183
- /**
184
- * SearchKeywordsApi - factory interface
185
- * @export
186
- */
187
- var SearchKeywordsApiFactory = function (configuration, basePath, axios) {
188
- var localVarFp = (0, exports.SearchKeywordsApiFp)(configuration);
189
- return {
190
- /**
191
- * Returns a list of search keywords, including synonyms, used to search and browse documents based on user-entered text.
192
- * @summary List keywords
193
- * @param {string} searchText Text to search in the documents.
194
- * @param {string} [authorization] Bearer Token
195
- * @param {*} [options] Override http request option.
196
- * @throws {RequiredError}
197
- */
198
- listSearchKeywords: function (searchText, authorization, options) {
199
- return localVarFp.listSearchKeywords(searchText, authorization, options).then(function (request) { return request(axios, basePath); });
200
- },
201
- };
202
- };
203
- exports.SearchKeywordsApiFactory = SearchKeywordsApiFactory;
204
- /**
205
- * SearchKeywordsApi - object-oriented interface
206
- * @export
207
- * @class SearchKeywordsApi
208
- * @extends {BaseAPI}
209
- */
210
- var SearchKeywordsApi = /** @class */ (function (_super) {
211
- __extends(SearchKeywordsApi, _super);
212
- function SearchKeywordsApi() {
213
- return _super !== null && _super.apply(this, arguments) || this;
214
- }
215
- /**
216
- * Returns a list of search keywords, including synonyms, used to search and browse documents based on user-entered text.
217
- * @summary List keywords
218
- * @param {SearchKeywordsApiListSearchKeywordsRequest} requestParameters Request parameters.
219
- * @param {*} [options] Override http request option.
220
- * @throws {RequiredError}
221
- * @memberof SearchKeywordsApi
222
- */
223
- SearchKeywordsApi.prototype.listSearchKeywords = function (requestParameters, options) {
224
- var _this = this;
225
- return (0, exports.SearchKeywordsApiFp)(this.configuration).listSearchKeywords(requestParameters.searchText, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
226
- };
227
- return SearchKeywordsApi;
228
- }(base_1.BaseAPI));
229
- exports.SearchKeywordsApi = SearchKeywordsApi;
@@ -1,141 +0,0 @@
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 { ListSearchableDocumentOwnersResponseClass } from '../models';
16
- /**
17
- * SearchableDocumentOwnersApi - axios parameter creator
18
- * @export
19
- */
20
- export declare const SearchableDocumentOwnersApiAxiosParamCreator: (configuration?: Configuration) => {
21
- /**
22
- * Returns the list of the searchable document owners.
23
- * @summary List searchable document owners
24
- * @param {string} [authorization] Bearer Token
25
- * @param {number} [pageSize] Page size
26
- * @param {string} [pageToken] Page token
27
- * @param {string} [filter] List filter
28
- * @param {string} [search] Search query
29
- * @param {string} [order] Ordering criteria
30
- * @param {string} [expand] Extra fields to fetch
31
- * @param {*} [options] Override http request option.
32
- * @throws {RequiredError}
33
- */
34
- listSearchableDocumentOwners: (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
35
- };
36
- /**
37
- * SearchableDocumentOwnersApi - functional programming interface
38
- * @export
39
- */
40
- export declare const SearchableDocumentOwnersApiFp: (configuration?: Configuration) => {
41
- /**
42
- * Returns the list of the searchable document owners.
43
- * @summary List searchable document owners
44
- * @param {string} [authorization] Bearer Token
45
- * @param {number} [pageSize] Page size
46
- * @param {string} [pageToken] Page token
47
- * @param {string} [filter] List filter
48
- * @param {string} [search] Search query
49
- * @param {string} [order] Ordering criteria
50
- * @param {string} [expand] Extra fields to fetch
51
- * @param {*} [options] Override http request option.
52
- * @throws {RequiredError}
53
- */
54
- listSearchableDocumentOwners(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListSearchableDocumentOwnersResponseClass>>;
55
- };
56
- /**
57
- * SearchableDocumentOwnersApi - factory interface
58
- * @export
59
- */
60
- export declare const SearchableDocumentOwnersApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
61
- /**
62
- * Returns the list of the searchable document owners.
63
- * @summary List searchable document owners
64
- * @param {string} [authorization] Bearer Token
65
- * @param {number} [pageSize] Page size
66
- * @param {string} [pageToken] Page token
67
- * @param {string} [filter] List filter
68
- * @param {string} [search] Search query
69
- * @param {string} [order] Ordering criteria
70
- * @param {string} [expand] Extra fields to fetch
71
- * @param {*} [options] Override http request option.
72
- * @throws {RequiredError}
73
- */
74
- listSearchableDocumentOwners(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, options?: any): AxiosPromise<ListSearchableDocumentOwnersResponseClass>;
75
- };
76
- /**
77
- * Request parameters for listSearchableDocumentOwners operation in SearchableDocumentOwnersApi.
78
- * @export
79
- * @interface SearchableDocumentOwnersApiListSearchableDocumentOwnersRequest
80
- */
81
- export interface SearchableDocumentOwnersApiListSearchableDocumentOwnersRequest {
82
- /**
83
- * Bearer Token
84
- * @type {string}
85
- * @memberof SearchableDocumentOwnersApiListSearchableDocumentOwners
86
- */
87
- readonly authorization?: string;
88
- /**
89
- * Page size
90
- * @type {number}
91
- * @memberof SearchableDocumentOwnersApiListSearchableDocumentOwners
92
- */
93
- readonly pageSize?: number;
94
- /**
95
- * Page token
96
- * @type {string}
97
- * @memberof SearchableDocumentOwnersApiListSearchableDocumentOwners
98
- */
99
- readonly pageToken?: string;
100
- /**
101
- * List filter
102
- * @type {string}
103
- * @memberof SearchableDocumentOwnersApiListSearchableDocumentOwners
104
- */
105
- readonly filter?: string;
106
- /**
107
- * Search query
108
- * @type {string}
109
- * @memberof SearchableDocumentOwnersApiListSearchableDocumentOwners
110
- */
111
- readonly search?: string;
112
- /**
113
- * Ordering criteria
114
- * @type {string}
115
- * @memberof SearchableDocumentOwnersApiListSearchableDocumentOwners
116
- */
117
- readonly order?: string;
118
- /**
119
- * Extra fields to fetch
120
- * @type {string}
121
- * @memberof SearchableDocumentOwnersApiListSearchableDocumentOwners
122
- */
123
- readonly expand?: string;
124
- }
125
- /**
126
- * SearchableDocumentOwnersApi - object-oriented interface
127
- * @export
128
- * @class SearchableDocumentOwnersApi
129
- * @extends {BaseAPI}
130
- */
131
- export declare class SearchableDocumentOwnersApi extends BaseAPI {
132
- /**
133
- * Returns the list of the searchable document owners.
134
- * @summary List searchable document owners
135
- * @param {SearchableDocumentOwnersApiListSearchableDocumentOwnersRequest} requestParameters Request parameters.
136
- * @param {*} [options] Override http request option.
137
- * @throws {RequiredError}
138
- * @memberof SearchableDocumentOwnersApi
139
- */
140
- listSearchableDocumentOwners(requestParameters?: SearchableDocumentOwnersApiListSearchableDocumentOwnersRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListSearchableDocumentOwnersResponseClass, any>>;
141
- }