@emilgroup/customer-sdk 1.56.1-beta.14 → 1.56.1-beta.15
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 -3
- package/README.md +2 -2
- package/api/{health-api.ts → default-api.ts} +13 -13
- package/api/documents-api.ts +8 -10
- package/api.ts +2 -4
- package/base.ts +0 -1
- package/dist/api/{health-api.d.ts → default-api.d.ts} +10 -10
- package/dist/api/{health-api.js → default-api.js} +22 -22
- package/dist/api/documents-api.d.ts +8 -9
- package/dist/api/documents-api.js +3 -3
- package/dist/api.d.ts +1 -2
- package/dist/api.js +1 -2
- package/dist/base.d.ts +1 -2
- package/dist/base.js +0 -1
- package/dist/models/index.d.ts +0 -1
- package/dist/models/index.js +0 -1
- package/dist/models/timeslice-class.d.ts +2 -2
- package/models/index.ts +0 -1
- package/models/timeslice-class.ts +2 -2
- package/package.json +1 -1
- package/api/customer-controller-rest-api.ts +0 -2686
- package/dist/api/customer-controller-rest-api.d.ts +0 -1529
- package/dist/api/customer-controller-rest-api.js +0 -2165
- package/dist/models/get-customer-document-download-url-request-dto.d.ts +0 -29
- package/dist/models/get-customer-document-download-url-request-dto.js +0 -20
- package/models/get-customer-document-download-url-request-dto.ts +0 -38
package/.openapi-generator/FILES
CHANGED
|
@@ -5,10 +5,9 @@ README.md
|
|
|
5
5
|
api.ts
|
|
6
6
|
api/authentication-api.ts
|
|
7
7
|
api/claims-api.ts
|
|
8
|
-
api/customer-controller-rest-api.ts
|
|
9
8
|
api/customers-api.ts
|
|
9
|
+
api/default-api.ts
|
|
10
10
|
api/documents-api.ts
|
|
11
|
-
api/health-api.ts
|
|
12
11
|
api/invites-api.ts
|
|
13
12
|
api/invoices-api.ts
|
|
14
13
|
api/leads-api.ts
|
|
@@ -51,7 +50,6 @@ models/customer-document-class.ts
|
|
|
51
50
|
models/customer-product-class.ts
|
|
52
51
|
models/forgot-password-request-dto.ts
|
|
53
52
|
models/get-customer-claim-response-class.ts
|
|
54
|
-
models/get-customer-document-download-url-request-dto.ts
|
|
55
53
|
models/get-customer-document-download-url-response-class.ts
|
|
56
54
|
models/get-customer-response-class.ts
|
|
57
55
|
models/get-lead-response-class.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/customer-sdk@1.56.1-beta.
|
|
20
|
+
npm install @emilgroup/customer-sdk@1.56.1-beta.15 --save
|
|
21
21
|
```
|
|
22
22
|
or
|
|
23
23
|
```
|
|
24
|
-
yarn add @emilgroup/customer-sdk@1.56.1-beta.
|
|
24
|
+
yarn add @emilgroup/customer-sdk@1.56.1-beta.15
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
And then you can import `CustomersApi`.
|
|
@@ -26,10 +26,10 @@ import { InlineResponse200 } from '../models';
|
|
|
26
26
|
import { InlineResponse503 } from '../models';
|
|
27
27
|
// URLSearchParams not necessarily used
|
|
28
28
|
/**
|
|
29
|
-
*
|
|
29
|
+
* DefaultApi - axios parameter creator
|
|
30
30
|
* @export
|
|
31
31
|
*/
|
|
32
|
-
export const
|
|
32
|
+
export const DefaultApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
33
33
|
return {
|
|
34
34
|
/**
|
|
35
35
|
*
|
|
@@ -66,11 +66,11 @@ export const HealthApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
66
66
|
};
|
|
67
67
|
|
|
68
68
|
/**
|
|
69
|
-
*
|
|
69
|
+
* DefaultApi - functional programming interface
|
|
70
70
|
* @export
|
|
71
71
|
*/
|
|
72
|
-
export const
|
|
73
|
-
const localVarAxiosParamCreator =
|
|
72
|
+
export const DefaultApiFp = function(configuration?: Configuration) {
|
|
73
|
+
const localVarAxiosParamCreator = DefaultApiAxiosParamCreator(configuration)
|
|
74
74
|
return {
|
|
75
75
|
/**
|
|
76
76
|
*
|
|
@@ -85,11 +85,11 @@ export const HealthApiFp = function(configuration?: Configuration) {
|
|
|
85
85
|
};
|
|
86
86
|
|
|
87
87
|
/**
|
|
88
|
-
*
|
|
88
|
+
* DefaultApi - factory interface
|
|
89
89
|
* @export
|
|
90
90
|
*/
|
|
91
|
-
export const
|
|
92
|
-
const localVarFp =
|
|
91
|
+
export const DefaultApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
92
|
+
const localVarFp = DefaultApiFp(configuration)
|
|
93
93
|
return {
|
|
94
94
|
/**
|
|
95
95
|
*
|
|
@@ -103,19 +103,19 @@ export const HealthApiFactory = function (configuration?: Configuration, basePat
|
|
|
103
103
|
};
|
|
104
104
|
|
|
105
105
|
/**
|
|
106
|
-
*
|
|
106
|
+
* DefaultApi - object-oriented interface
|
|
107
107
|
* @export
|
|
108
|
-
* @class
|
|
108
|
+
* @class DefaultApi
|
|
109
109
|
* @extends {BaseAPI}
|
|
110
110
|
*/
|
|
111
|
-
export class
|
|
111
|
+
export class DefaultApi extends BaseAPI {
|
|
112
112
|
/**
|
|
113
113
|
*
|
|
114
114
|
* @param {*} [options] Override http request option.
|
|
115
115
|
* @throws {RequiredError}
|
|
116
|
-
* @memberof
|
|
116
|
+
* @memberof DefaultApi
|
|
117
117
|
*/
|
|
118
118
|
public check(options?: AxiosRequestConfig) {
|
|
119
|
-
return
|
|
119
|
+
return DefaultApiFp(this.configuration).check(options).then((request) => request(this.axios, this.basePath));
|
|
120
120
|
}
|
|
121
121
|
}
|
package/api/documents-api.ts
CHANGED
|
@@ -23,8 +23,6 @@ import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } fr
|
|
|
23
23
|
// @ts-ignore
|
|
24
24
|
import { CreatePresignedPostResponseClass } from '../models';
|
|
25
25
|
// @ts-ignore
|
|
26
|
-
import { GetCustomerDocumentDownloadUrlRequestDto } from '../models';
|
|
27
|
-
// @ts-ignore
|
|
28
26
|
import { GetCustomerDocumentDownloadUrlResponseClass } from '../models';
|
|
29
27
|
// @ts-ignore
|
|
30
28
|
import { ListDocumentsResponseClass } from '../models';
|
|
@@ -42,12 +40,12 @@ export const DocumentsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
42
40
|
* @summary Get a download url for document
|
|
43
41
|
* @param {string} documentCode The document code.
|
|
44
42
|
* @param {string} customerCode
|
|
45
|
-
* @param {
|
|
43
|
+
* @param {'attachment' | 'inline'} [contentDisposition] Content disposition override. Default will be depending on the document type.
|
|
46
44
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
47
45
|
* @param {*} [options] Override http request option.
|
|
48
46
|
* @throws {RequiredError}
|
|
49
47
|
*/
|
|
50
|
-
getCustomerDocumentDownloadUrl: async (documentCode: string, customerCode: string, contentDisposition?:
|
|
48
|
+
getCustomerDocumentDownloadUrl: async (documentCode: string, customerCode: string, contentDisposition?: 'attachment' | 'inline', authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
51
49
|
// verify required parameter 'documentCode' is not null or undefined
|
|
52
50
|
assertParamExists('getCustomerDocumentDownloadUrl', 'documentCode', documentCode)
|
|
53
51
|
// verify required parameter 'customerCode' is not null or undefined
|
|
@@ -220,12 +218,12 @@ export const DocumentsApiFp = function(configuration?: Configuration) {
|
|
|
220
218
|
* @summary Get a download url for document
|
|
221
219
|
* @param {string} documentCode The document code.
|
|
222
220
|
* @param {string} customerCode
|
|
223
|
-
* @param {
|
|
221
|
+
* @param {'attachment' | 'inline'} [contentDisposition] Content disposition override. Default will be depending on the document type.
|
|
224
222
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
225
223
|
* @param {*} [options] Override http request option.
|
|
226
224
|
* @throws {RequiredError}
|
|
227
225
|
*/
|
|
228
|
-
async getCustomerDocumentDownloadUrl(documentCode: string, customerCode: string, contentDisposition?:
|
|
226
|
+
async getCustomerDocumentDownloadUrl(documentCode: string, customerCode: string, contentDisposition?: 'attachment' | 'inline', authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetCustomerDocumentDownloadUrlResponseClass>> {
|
|
229
227
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getCustomerDocumentDownloadUrl(documentCode, customerCode, contentDisposition, authorization, options);
|
|
230
228
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
231
229
|
},
|
|
@@ -275,12 +273,12 @@ export const DocumentsApiFactory = function (configuration?: Configuration, base
|
|
|
275
273
|
* @summary Get a download url for document
|
|
276
274
|
* @param {string} documentCode The document code.
|
|
277
275
|
* @param {string} customerCode
|
|
278
|
-
* @param {
|
|
276
|
+
* @param {'attachment' | 'inline'} [contentDisposition] Content disposition override. Default will be depending on the document type.
|
|
279
277
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
280
278
|
* @param {*} [options] Override http request option.
|
|
281
279
|
* @throws {RequiredError}
|
|
282
280
|
*/
|
|
283
|
-
getCustomerDocumentDownloadUrl(documentCode: string, customerCode: string, contentDisposition?:
|
|
281
|
+
getCustomerDocumentDownloadUrl(documentCode: string, customerCode: string, contentDisposition?: 'attachment' | 'inline', authorization?: string, options?: any): AxiosPromise<GetCustomerDocumentDownloadUrlResponseClass> {
|
|
284
282
|
return localVarFp.getCustomerDocumentDownloadUrl(documentCode, customerCode, contentDisposition, authorization, options).then((request) => request(axios, basePath));
|
|
285
283
|
},
|
|
286
284
|
/**
|
|
@@ -337,10 +335,10 @@ export interface DocumentsApiGetCustomerDocumentDownloadUrlRequest {
|
|
|
337
335
|
|
|
338
336
|
/**
|
|
339
337
|
* Content disposition override. Default will be depending on the document type.
|
|
340
|
-
* @type {
|
|
338
|
+
* @type {'attachment' | 'inline'}
|
|
341
339
|
* @memberof DocumentsApiGetCustomerDocumentDownloadUrl
|
|
342
340
|
*/
|
|
343
|
-
readonly contentDisposition?:
|
|
341
|
+
readonly contentDisposition?: 'attachment' | 'inline'
|
|
344
342
|
|
|
345
343
|
/**
|
|
346
344
|
* Bearer Token: provided by the login endpoint under the name accessToken.
|
package/api.ts
CHANGED
|
@@ -22,10 +22,9 @@ import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObj
|
|
|
22
22
|
import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from './base';
|
|
23
23
|
import { AuthenticationApi } from './api';
|
|
24
24
|
import { ClaimsApi } from './api';
|
|
25
|
-
import { CustomerControllerRestApi } from './api';
|
|
26
25
|
import { CustomersApi } from './api';
|
|
26
|
+
import { DefaultApi } from './api';
|
|
27
27
|
import { DocumentsApi } from './api';
|
|
28
|
-
import { HealthApi } from './api';
|
|
29
28
|
import { InvitesApi } from './api';
|
|
30
29
|
import { InvoicesApi } from './api';
|
|
31
30
|
import { LeadsApi } from './api';
|
|
@@ -36,10 +35,9 @@ import { ProductsApi } from './api';
|
|
|
36
35
|
|
|
37
36
|
export * from './api/authentication-api';
|
|
38
37
|
export * from './api/claims-api';
|
|
39
|
-
export * from './api/customer-controller-rest-api';
|
|
40
38
|
export * from './api/customers-api';
|
|
39
|
+
export * from './api/default-api';
|
|
41
40
|
export * from './api/documents-api';
|
|
42
|
-
export * from './api/health-api';
|
|
43
41
|
export * from './api/invites-api';
|
|
44
42
|
export * from './api/invoices-api';
|
|
45
43
|
export * from './api/leads-api';
|
package/base.ts
CHANGED
|
@@ -43,7 +43,6 @@ export enum Environment {
|
|
|
43
43
|
Staging = 'https://apiv2-staging.emil.de',
|
|
44
44
|
Development = 'https://apiv2-dev.emil.de',
|
|
45
45
|
ProductionZurich = 'https://eu-central-2.apiv2.emil.de',
|
|
46
|
-
StagingZurich = 'https://eu-central-2.apiv2-staging.emil.de',
|
|
47
46
|
}
|
|
48
47
|
|
|
49
48
|
let _retry_count = 0
|
|
@@ -14,10 +14,10 @@ import { Configuration } from '../configuration';
|
|
|
14
14
|
import { RequestArgs, BaseAPI } from '../base';
|
|
15
15
|
import { InlineResponse200 } from '../models';
|
|
16
16
|
/**
|
|
17
|
-
*
|
|
17
|
+
* DefaultApi - axios parameter creator
|
|
18
18
|
* @export
|
|
19
19
|
*/
|
|
20
|
-
export declare const
|
|
20
|
+
export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
21
21
|
/**
|
|
22
22
|
*
|
|
23
23
|
* @param {*} [options] Override http request option.
|
|
@@ -26,10 +26,10 @@ export declare const HealthApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
26
26
|
check: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
27
27
|
};
|
|
28
28
|
/**
|
|
29
|
-
*
|
|
29
|
+
* DefaultApi - functional programming interface
|
|
30
30
|
* @export
|
|
31
31
|
*/
|
|
32
|
-
export declare const
|
|
32
|
+
export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
33
33
|
/**
|
|
34
34
|
*
|
|
35
35
|
* @param {*} [options] Override http request option.
|
|
@@ -38,10 +38,10 @@ export declare const HealthApiFp: (configuration?: Configuration) => {
|
|
|
38
38
|
check(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InlineResponse200>>;
|
|
39
39
|
};
|
|
40
40
|
/**
|
|
41
|
-
*
|
|
41
|
+
* DefaultApi - factory interface
|
|
42
42
|
* @export
|
|
43
43
|
*/
|
|
44
|
-
export declare const
|
|
44
|
+
export declare const DefaultApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
45
45
|
/**
|
|
46
46
|
*
|
|
47
47
|
* @param {*} [options] Override http request option.
|
|
@@ -50,17 +50,17 @@ export declare const HealthApiFactory: (configuration?: Configuration, basePath?
|
|
|
50
50
|
check(options?: any): AxiosPromise<InlineResponse200>;
|
|
51
51
|
};
|
|
52
52
|
/**
|
|
53
|
-
*
|
|
53
|
+
* DefaultApi - object-oriented interface
|
|
54
54
|
* @export
|
|
55
|
-
* @class
|
|
55
|
+
* @class DefaultApi
|
|
56
56
|
* @extends {BaseAPI}
|
|
57
57
|
*/
|
|
58
|
-
export declare class
|
|
58
|
+
export declare class DefaultApi extends BaseAPI {
|
|
59
59
|
/**
|
|
60
60
|
*
|
|
61
61
|
* @param {*} [options] Override http request option.
|
|
62
62
|
* @throws {RequiredError}
|
|
63
|
-
* @memberof
|
|
63
|
+
* @memberof DefaultApi
|
|
64
64
|
*/
|
|
65
65
|
check(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<InlineResponse200, any, {}>>;
|
|
66
66
|
}
|
|
@@ -78,7 +78,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
78
78
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
79
79
|
};
|
|
80
80
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
81
|
-
exports.
|
|
81
|
+
exports.DefaultApi = exports.DefaultApiFactory = exports.DefaultApiFp = exports.DefaultApiAxiosParamCreator = void 0;
|
|
82
82
|
var axios_1 = __importDefault(require("axios"));
|
|
83
83
|
// Some imports not used depending on template conditions
|
|
84
84
|
// @ts-ignore
|
|
@@ -87,10 +87,10 @@ var common_1 = require("../common");
|
|
|
87
87
|
var base_1 = require("../base");
|
|
88
88
|
// URLSearchParams not necessarily used
|
|
89
89
|
/**
|
|
90
|
-
*
|
|
90
|
+
* DefaultApi - axios parameter creator
|
|
91
91
|
* @export
|
|
92
92
|
*/
|
|
93
|
-
var
|
|
93
|
+
var DefaultApiAxiosParamCreator = function (configuration) {
|
|
94
94
|
var _this = this;
|
|
95
95
|
return {
|
|
96
96
|
/**
|
|
@@ -124,13 +124,13 @@ var HealthApiAxiosParamCreator = function (configuration) {
|
|
|
124
124
|
},
|
|
125
125
|
};
|
|
126
126
|
};
|
|
127
|
-
exports.
|
|
127
|
+
exports.DefaultApiAxiosParamCreator = DefaultApiAxiosParamCreator;
|
|
128
128
|
/**
|
|
129
|
-
*
|
|
129
|
+
* DefaultApi - functional programming interface
|
|
130
130
|
* @export
|
|
131
131
|
*/
|
|
132
|
-
var
|
|
133
|
-
var localVarAxiosParamCreator = (0, exports.
|
|
132
|
+
var DefaultApiFp = function (configuration) {
|
|
133
|
+
var localVarAxiosParamCreator = (0, exports.DefaultApiAxiosParamCreator)(configuration);
|
|
134
134
|
return {
|
|
135
135
|
/**
|
|
136
136
|
*
|
|
@@ -152,13 +152,13 @@ var HealthApiFp = function (configuration) {
|
|
|
152
152
|
},
|
|
153
153
|
};
|
|
154
154
|
};
|
|
155
|
-
exports.
|
|
155
|
+
exports.DefaultApiFp = DefaultApiFp;
|
|
156
156
|
/**
|
|
157
|
-
*
|
|
157
|
+
* DefaultApi - factory interface
|
|
158
158
|
* @export
|
|
159
159
|
*/
|
|
160
|
-
var
|
|
161
|
-
var localVarFp = (0, exports.
|
|
160
|
+
var DefaultApiFactory = function (configuration, basePath, axios) {
|
|
161
|
+
var localVarFp = (0, exports.DefaultApiFp)(configuration);
|
|
162
162
|
return {
|
|
163
163
|
/**
|
|
164
164
|
*
|
|
@@ -170,28 +170,28 @@ var HealthApiFactory = function (configuration, basePath, axios) {
|
|
|
170
170
|
},
|
|
171
171
|
};
|
|
172
172
|
};
|
|
173
|
-
exports.
|
|
173
|
+
exports.DefaultApiFactory = DefaultApiFactory;
|
|
174
174
|
/**
|
|
175
|
-
*
|
|
175
|
+
* DefaultApi - object-oriented interface
|
|
176
176
|
* @export
|
|
177
|
-
* @class
|
|
177
|
+
* @class DefaultApi
|
|
178
178
|
* @extends {BaseAPI}
|
|
179
179
|
*/
|
|
180
|
-
var
|
|
181
|
-
__extends(
|
|
182
|
-
function
|
|
180
|
+
var DefaultApi = /** @class */ (function (_super) {
|
|
181
|
+
__extends(DefaultApi, _super);
|
|
182
|
+
function DefaultApi() {
|
|
183
183
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
184
184
|
}
|
|
185
185
|
/**
|
|
186
186
|
*
|
|
187
187
|
* @param {*} [options] Override http request option.
|
|
188
188
|
* @throws {RequiredError}
|
|
189
|
-
* @memberof
|
|
189
|
+
* @memberof DefaultApi
|
|
190
190
|
*/
|
|
191
|
-
|
|
191
|
+
DefaultApi.prototype.check = function (options) {
|
|
192
192
|
var _this = this;
|
|
193
|
-
return (0, exports.
|
|
193
|
+
return (0, exports.DefaultApiFp)(this.configuration).check(options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
194
194
|
};
|
|
195
|
-
return
|
|
195
|
+
return DefaultApi;
|
|
196
196
|
}(base_1.BaseAPI));
|
|
197
|
-
exports.
|
|
197
|
+
exports.DefaultApi = DefaultApi;
|
|
@@ -13,7 +13,6 @@ import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
|
|
|
13
13
|
import { Configuration } from '../configuration';
|
|
14
14
|
import { RequestArgs, BaseAPI } from '../base';
|
|
15
15
|
import { CreatePresignedPostResponseClass } from '../models';
|
|
16
|
-
import { GetCustomerDocumentDownloadUrlRequestDto } from '../models';
|
|
17
16
|
import { GetCustomerDocumentDownloadUrlResponseClass } from '../models';
|
|
18
17
|
import { ListDocumentsResponseClass } from '../models';
|
|
19
18
|
import { UploadAccountDocumentsRequestDto } from '../models';
|
|
@@ -27,12 +26,12 @@ export declare const DocumentsApiAxiosParamCreator: (configuration?: Configurati
|
|
|
27
26
|
* @summary Get a download url for document
|
|
28
27
|
* @param {string} documentCode The document code.
|
|
29
28
|
* @param {string} customerCode
|
|
30
|
-
* @param {
|
|
29
|
+
* @param {'attachment' | 'inline'} [contentDisposition] Content disposition override. Default will be depending on the document type.
|
|
31
30
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
32
31
|
* @param {*} [options] Override http request option.
|
|
33
32
|
* @throws {RequiredError}
|
|
34
33
|
*/
|
|
35
|
-
getCustomerDocumentDownloadUrl: (documentCode: string, customerCode: string, contentDisposition?:
|
|
34
|
+
getCustomerDocumentDownloadUrl: (documentCode: string, customerCode: string, contentDisposition?: 'attachment' | 'inline', authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
36
35
|
/**
|
|
37
36
|
* List all the documents of a customer.
|
|
38
37
|
* @summary List documents of a customer
|
|
@@ -69,12 +68,12 @@ export declare const DocumentsApiFp: (configuration?: Configuration) => {
|
|
|
69
68
|
* @summary Get a download url for document
|
|
70
69
|
* @param {string} documentCode The document code.
|
|
71
70
|
* @param {string} customerCode
|
|
72
|
-
* @param {
|
|
71
|
+
* @param {'attachment' | 'inline'} [contentDisposition] Content disposition override. Default will be depending on the document type.
|
|
73
72
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
74
73
|
* @param {*} [options] Override http request option.
|
|
75
74
|
* @throws {RequiredError}
|
|
76
75
|
*/
|
|
77
|
-
getCustomerDocumentDownloadUrl(documentCode: string, customerCode: string, contentDisposition?:
|
|
76
|
+
getCustomerDocumentDownloadUrl(documentCode: string, customerCode: string, contentDisposition?: 'attachment' | 'inline', authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetCustomerDocumentDownloadUrlResponseClass>>;
|
|
78
77
|
/**
|
|
79
78
|
* List all the documents of a customer.
|
|
80
79
|
* @summary List documents of a customer
|
|
@@ -111,12 +110,12 @@ export declare const DocumentsApiFactory: (configuration?: Configuration, basePa
|
|
|
111
110
|
* @summary Get a download url for document
|
|
112
111
|
* @param {string} documentCode The document code.
|
|
113
112
|
* @param {string} customerCode
|
|
114
|
-
* @param {
|
|
113
|
+
* @param {'attachment' | 'inline'} [contentDisposition] Content disposition override. Default will be depending on the document type.
|
|
115
114
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
116
115
|
* @param {*} [options] Override http request option.
|
|
117
116
|
* @throws {RequiredError}
|
|
118
117
|
*/
|
|
119
|
-
getCustomerDocumentDownloadUrl(documentCode: string, customerCode: string, contentDisposition?:
|
|
118
|
+
getCustomerDocumentDownloadUrl(documentCode: string, customerCode: string, contentDisposition?: 'attachment' | 'inline', authorization?: string, options?: any): AxiosPromise<GetCustomerDocumentDownloadUrlResponseClass>;
|
|
120
119
|
/**
|
|
121
120
|
* List all the documents of a customer.
|
|
122
121
|
* @summary List documents of a customer
|
|
@@ -163,10 +162,10 @@ export interface DocumentsApiGetCustomerDocumentDownloadUrlRequest {
|
|
|
163
162
|
readonly customerCode: string;
|
|
164
163
|
/**
|
|
165
164
|
* Content disposition override. Default will be depending on the document type.
|
|
166
|
-
* @type {
|
|
165
|
+
* @type {'attachment' | 'inline'}
|
|
167
166
|
* @memberof DocumentsApiGetCustomerDocumentDownloadUrl
|
|
168
167
|
*/
|
|
169
|
-
readonly contentDisposition?:
|
|
168
|
+
readonly contentDisposition?: 'attachment' | 'inline';
|
|
170
169
|
/**
|
|
171
170
|
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
172
171
|
* @type {string}
|
|
@@ -98,7 +98,7 @@ var DocumentsApiAxiosParamCreator = function (configuration) {
|
|
|
98
98
|
* @summary Get a download url for document
|
|
99
99
|
* @param {string} documentCode The document code.
|
|
100
100
|
* @param {string} customerCode
|
|
101
|
-
* @param {
|
|
101
|
+
* @param {'attachment' | 'inline'} [contentDisposition] Content disposition override. Default will be depending on the document type.
|
|
102
102
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
103
103
|
* @param {*} [options] Override http request option.
|
|
104
104
|
* @throws {RequiredError}
|
|
@@ -259,7 +259,7 @@ var DocumentsApiFp = function (configuration) {
|
|
|
259
259
|
* @summary Get a download url for document
|
|
260
260
|
* @param {string} documentCode The document code.
|
|
261
261
|
* @param {string} customerCode
|
|
262
|
-
* @param {
|
|
262
|
+
* @param {'attachment' | 'inline'} [contentDisposition] Content disposition override. Default will be depending on the document type.
|
|
263
263
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
264
264
|
* @param {*} [options] Override http request option.
|
|
265
265
|
* @throws {RequiredError}
|
|
@@ -341,7 +341,7 @@ var DocumentsApiFactory = function (configuration, basePath, axios) {
|
|
|
341
341
|
* @summary Get a download url for document
|
|
342
342
|
* @param {string} documentCode The document code.
|
|
343
343
|
* @param {string} customerCode
|
|
344
|
-
* @param {
|
|
344
|
+
* @param {'attachment' | 'inline'} [contentDisposition] Content disposition override. Default will be depending on the document type.
|
|
345
345
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
346
346
|
* @param {*} [options] Override http request option.
|
|
347
347
|
* @throws {RequiredError}
|
package/dist/api.d.ts
CHANGED
|
@@ -11,10 +11,9 @@
|
|
|
11
11
|
*/
|
|
12
12
|
export * from './api/authentication-api';
|
|
13
13
|
export * from './api/claims-api';
|
|
14
|
-
export * from './api/customer-controller-rest-api';
|
|
15
14
|
export * from './api/customers-api';
|
|
15
|
+
export * from './api/default-api';
|
|
16
16
|
export * from './api/documents-api';
|
|
17
|
-
export * from './api/health-api';
|
|
18
17
|
export * from './api/invites-api';
|
|
19
18
|
export * from './api/invoices-api';
|
|
20
19
|
export * from './api/leads-api';
|
package/dist/api.js
CHANGED
|
@@ -29,10 +29,9 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
29
29
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
30
30
|
__exportStar(require("./api/authentication-api"), exports);
|
|
31
31
|
__exportStar(require("./api/claims-api"), exports);
|
|
32
|
-
__exportStar(require("./api/customer-controller-rest-api"), exports);
|
|
33
32
|
__exportStar(require("./api/customers-api"), exports);
|
|
33
|
+
__exportStar(require("./api/default-api"), exports);
|
|
34
34
|
__exportStar(require("./api/documents-api"), exports);
|
|
35
|
-
__exportStar(require("./api/health-api"), exports);
|
|
36
35
|
__exportStar(require("./api/invites-api"), exports);
|
|
37
36
|
__exportStar(require("./api/invoices-api"), exports);
|
|
38
37
|
__exportStar(require("./api/leads-api"), exports);
|
package/dist/base.d.ts
CHANGED
|
@@ -32,8 +32,7 @@ export declare enum Environment {
|
|
|
32
32
|
Test = "https://apiv2-test.emil.de",
|
|
33
33
|
Staging = "https://apiv2-staging.emil.de",
|
|
34
34
|
Development = "https://apiv2-dev.emil.de",
|
|
35
|
-
ProductionZurich = "https://eu-central-2.apiv2.emil.de"
|
|
36
|
-
StagingZurich = "https://eu-central-2.apiv2-staging.emil.de"
|
|
35
|
+
ProductionZurich = "https://eu-central-2.apiv2.emil.de"
|
|
37
36
|
}
|
|
38
37
|
export declare function resetRetry(): void;
|
|
39
38
|
/**
|
package/dist/base.js
CHANGED
|
@@ -102,7 +102,6 @@ var Environment;
|
|
|
102
102
|
Environment["Staging"] = "https://apiv2-staging.emil.de";
|
|
103
103
|
Environment["Development"] = "https://apiv2-dev.emil.de";
|
|
104
104
|
Environment["ProductionZurich"] = "https://eu-central-2.apiv2.emil.de";
|
|
105
|
-
Environment["StagingZurich"] = "https://eu-central-2.apiv2-staging.emil.de";
|
|
106
105
|
})(Environment = exports.Environment || (exports.Environment = {}));
|
|
107
106
|
var _retry_count = 0;
|
|
108
107
|
var _retry = null;
|
package/dist/models/index.d.ts
CHANGED
|
@@ -29,7 +29,6 @@ export * from './customer-document-class';
|
|
|
29
29
|
export * from './customer-product-class';
|
|
30
30
|
export * from './forgot-password-request-dto';
|
|
31
31
|
export * from './get-customer-claim-response-class';
|
|
32
|
-
export * from './get-customer-document-download-url-request-dto';
|
|
33
32
|
export * from './get-customer-document-download-url-response-class';
|
|
34
33
|
export * from './get-customer-response-class';
|
|
35
34
|
export * from './get-lead-response-class';
|
package/dist/models/index.js
CHANGED
|
@@ -45,7 +45,6 @@ __exportStar(require("./customer-document-class"), exports);
|
|
|
45
45
|
__exportStar(require("./customer-product-class"), exports);
|
|
46
46
|
__exportStar(require("./forgot-password-request-dto"), exports);
|
|
47
47
|
__exportStar(require("./get-customer-claim-response-class"), exports);
|
|
48
|
-
__exportStar(require("./get-customer-document-download-url-request-dto"), exports);
|
|
49
48
|
__exportStar(require("./get-customer-document-download-url-response-class"), exports);
|
|
50
49
|
__exportStar(require("./get-customer-response-class"), exports);
|
|
51
50
|
__exportStar(require("./get-lead-response-class"), exports);
|
|
@@ -31,10 +31,10 @@ export interface TimesliceClass {
|
|
|
31
31
|
'from': string;
|
|
32
32
|
/**
|
|
33
33
|
* Timeslice validity end
|
|
34
|
-
* @type {
|
|
34
|
+
* @type {object}
|
|
35
35
|
* @memberof TimesliceClass
|
|
36
36
|
*/
|
|
37
|
-
'to':
|
|
37
|
+
'to': object;
|
|
38
38
|
/**
|
|
39
39
|
* Timeslice premium
|
|
40
40
|
* @type {PolicyPremiumClass}
|
package/models/index.ts
CHANGED
|
@@ -29,7 +29,6 @@ export * from './customer-document-class';
|
|
|
29
29
|
export * from './customer-product-class';
|
|
30
30
|
export * from './forgot-password-request-dto';
|
|
31
31
|
export * from './get-customer-claim-response-class';
|
|
32
|
-
export * from './get-customer-document-download-url-request-dto';
|
|
33
32
|
export * from './get-customer-document-download-url-response-class';
|
|
34
33
|
export * from './get-customer-response-class';
|
|
35
34
|
export * from './get-lead-response-class';
|
|
@@ -36,10 +36,10 @@ export interface TimesliceClass {
|
|
|
36
36
|
'from': string;
|
|
37
37
|
/**
|
|
38
38
|
* Timeslice validity end
|
|
39
|
-
* @type {
|
|
39
|
+
* @type {object}
|
|
40
40
|
* @memberof TimesliceClass
|
|
41
41
|
*/
|
|
42
|
-
'to':
|
|
42
|
+
'to': object;
|
|
43
43
|
/**
|
|
44
44
|
* Timeslice premium
|
|
45
45
|
* @type {PolicyPremiumClass}
|