@emilgroup/customer-sdk-node 1.57.1-beta.15 → 1.57.1-beta.17

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.
@@ -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-node@1.57.1-beta.15 --save
20
+ npm install @emilgroup/customer-sdk-node@1.57.1-beta.17 --save
21
21
  ```
22
22
  or
23
23
  ```
24
- yarn add @emilgroup/customer-sdk-node@1.57.1-beta.15
24
+ yarn add @emilgroup/customer-sdk-node@1.57.1-beta.17
25
25
  ```
26
26
 
27
27
  And then you can import `CustomersApi`.
@@ -29,10 +29,10 @@ import { InlineResponse503 } from '../models';
29
29
  import { URL, URLSearchParams } from 'url';
30
30
  const FormData = require('form-data');
31
31
  /**
32
- * HealthApi - axios parameter creator
32
+ * DefaultApi - axios parameter creator
33
33
  * @export
34
34
  */
35
- export const HealthApiAxiosParamCreator = function (configuration?: Configuration) {
35
+ export const DefaultApiAxiosParamCreator = function (configuration?: Configuration) {
36
36
  return {
37
37
  /**
38
38
  *
@@ -69,11 +69,11 @@ export const HealthApiAxiosParamCreator = function (configuration?: Configuratio
69
69
  };
70
70
 
71
71
  /**
72
- * HealthApi - functional programming interface
72
+ * DefaultApi - functional programming interface
73
73
  * @export
74
74
  */
75
- export const HealthApiFp = function(configuration?: Configuration) {
76
- const localVarAxiosParamCreator = HealthApiAxiosParamCreator(configuration)
75
+ export const DefaultApiFp = function(configuration?: Configuration) {
76
+ const localVarAxiosParamCreator = DefaultApiAxiosParamCreator(configuration)
77
77
  return {
78
78
  /**
79
79
  *
@@ -88,11 +88,11 @@ export const HealthApiFp = function(configuration?: Configuration) {
88
88
  };
89
89
 
90
90
  /**
91
- * HealthApi - factory interface
91
+ * DefaultApi - factory interface
92
92
  * @export
93
93
  */
94
- export const HealthApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
95
- const localVarFp = HealthApiFp(configuration)
94
+ export const DefaultApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
95
+ const localVarFp = DefaultApiFp(configuration)
96
96
  return {
97
97
  /**
98
98
  *
@@ -106,19 +106,19 @@ export const HealthApiFactory = function (configuration?: Configuration, basePat
106
106
  };
107
107
 
108
108
  /**
109
- * HealthApi - object-oriented interface
109
+ * DefaultApi - object-oriented interface
110
110
  * @export
111
- * @class HealthApi
111
+ * @class DefaultApi
112
112
  * @extends {BaseAPI}
113
113
  */
114
- export class HealthApi extends BaseAPI {
114
+ export class DefaultApi extends BaseAPI {
115
115
  /**
116
116
  *
117
117
  * @param {*} [options] Override http request option.
118
118
  * @throws {RequiredError}
119
- * @memberof HealthApi
119
+ * @memberof DefaultApi
120
120
  */
121
121
  public check(options?: AxiosRequestConfig) {
122
- return HealthApiFp(this.configuration).check(options).then((request) => request(this.axios, this.basePath));
122
+ return DefaultApiFp(this.configuration).check(options).then((request) => request(this.axios, this.basePath));
123
123
  }
124
124
  }
@@ -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';
@@ -45,12 +43,12 @@ export const DocumentsApiAxiosParamCreator = function (configuration?: Configura
45
43
  * @summary Get a download url for document
46
44
  * @param {string} documentCode The document code.
47
45
  * @param {string} customerCode
48
- * @param {GetCustomerDocumentDownloadUrlRequestDto} [contentDisposition] Content disposition override. Default will be depending on the document type.
46
+ * @param {'attachment' | 'inline'} [contentDisposition] Content disposition override. Default will be depending on the document type.
49
47
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
50
48
  * @param {*} [options] Override http request option.
51
49
  * @throws {RequiredError}
52
50
  */
53
- getCustomerDocumentDownloadUrl: async (documentCode: string, customerCode: string, contentDisposition?: GetCustomerDocumentDownloadUrlRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
51
+ getCustomerDocumentDownloadUrl: async (documentCode: string, customerCode: string, contentDisposition?: 'attachment' | 'inline', authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
54
52
  // verify required parameter 'documentCode' is not null or undefined
55
53
  assertParamExists('getCustomerDocumentDownloadUrl', 'documentCode', documentCode)
56
54
  // verify required parameter 'customerCode' is not null or undefined
@@ -223,12 +221,12 @@ export const DocumentsApiFp = function(configuration?: Configuration) {
223
221
  * @summary Get a download url for document
224
222
  * @param {string} documentCode The document code.
225
223
  * @param {string} customerCode
226
- * @param {GetCustomerDocumentDownloadUrlRequestDto} [contentDisposition] Content disposition override. Default will be depending on the document type.
224
+ * @param {'attachment' | 'inline'} [contentDisposition] Content disposition override. Default will be depending on the document type.
227
225
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
228
226
  * @param {*} [options] Override http request option.
229
227
  * @throws {RequiredError}
230
228
  */
231
- async getCustomerDocumentDownloadUrl(documentCode: string, customerCode: string, contentDisposition?: GetCustomerDocumentDownloadUrlRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetCustomerDocumentDownloadUrlResponseClass>> {
229
+ async getCustomerDocumentDownloadUrl(documentCode: string, customerCode: string, contentDisposition?: 'attachment' | 'inline', authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetCustomerDocumentDownloadUrlResponseClass>> {
232
230
  const localVarAxiosArgs = await localVarAxiosParamCreator.getCustomerDocumentDownloadUrl(documentCode, customerCode, contentDisposition, authorization, options);
233
231
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
234
232
  },
@@ -278,12 +276,12 @@ export const DocumentsApiFactory = function (configuration?: Configuration, base
278
276
  * @summary Get a download url for document
279
277
  * @param {string} documentCode The document code.
280
278
  * @param {string} customerCode
281
- * @param {GetCustomerDocumentDownloadUrlRequestDto} [contentDisposition] Content disposition override. Default will be depending on the document type.
279
+ * @param {'attachment' | 'inline'} [contentDisposition] Content disposition override. Default will be depending on the document type.
282
280
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
283
281
  * @param {*} [options] Override http request option.
284
282
  * @throws {RequiredError}
285
283
  */
286
- getCustomerDocumentDownloadUrl(documentCode: string, customerCode: string, contentDisposition?: GetCustomerDocumentDownloadUrlRequestDto, authorization?: string, options?: any): AxiosPromise<GetCustomerDocumentDownloadUrlResponseClass> {
284
+ getCustomerDocumentDownloadUrl(documentCode: string, customerCode: string, contentDisposition?: 'attachment' | 'inline', authorization?: string, options?: any): AxiosPromise<GetCustomerDocumentDownloadUrlResponseClass> {
287
285
  return localVarFp.getCustomerDocumentDownloadUrl(documentCode, customerCode, contentDisposition, authorization, options).then((request) => request(axios, basePath));
288
286
  },
289
287
  /**
@@ -340,10 +338,10 @@ export interface DocumentsApiGetCustomerDocumentDownloadUrlRequest {
340
338
 
341
339
  /**
342
340
  * Content disposition override. Default will be depending on the document type.
343
- * @type {GetCustomerDocumentDownloadUrlRequestDto}
341
+ * @type {'attachment' | 'inline'}
344
342
  * @memberof DocumentsApiGetCustomerDocumentDownloadUrl
345
343
  */
346
- readonly contentDisposition?: GetCustomerDocumentDownloadUrlRequestDto
344
+ readonly contentDisposition?: 'attachment' | 'inline'
347
345
 
348
346
  /**
349
347
  * Bearer Token: provided by the login endpoint under the name accessToken.
package/api.ts CHANGED
@@ -26,10 +26,9 @@ import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObj
26
26
  import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from './base';
27
27
  import { AuthenticationApi } from './api';
28
28
  import { ClaimsApi } from './api';
29
- import { CustomerControllerRestApi } from './api';
30
29
  import { CustomersApi } from './api';
30
+ import { DefaultApi } from './api';
31
31
  import { DocumentsApi } from './api';
32
- import { HealthApi } from './api';
33
32
  import { InvitesApi } from './api';
34
33
  import { InvoicesApi } from './api';
35
34
  import { LeadsApi } from './api';
@@ -40,10 +39,9 @@ import { ProductsApi } from './api';
40
39
 
41
40
  export * from './api/authentication-api';
42
41
  export * from './api/claims-api';
43
- export * from './api/customer-controller-rest-api';
44
42
  export * from './api/customers-api';
43
+ export * from './api/default-api';
45
44
  export * from './api/documents-api';
46
- export * from './api/health-api';
47
45
  export * from './api/invites-api';
48
46
  export * from './api/invoices-api';
49
47
  export * from './api/leads-api';
package/base.ts CHANGED
@@ -51,7 +51,6 @@ export enum Environment {
51
51
  Staging = 'https://apiv2-staging.emil.de',
52
52
  Development = 'https://apiv2-dev.emil.de',
53
53
  ProductionZurich = 'https://eu-central-2.apiv2.emil.de',
54
- StagingZurich = 'https://eu-central-2.apiv2-staging.emil.de',
55
54
  }
56
55
 
57
56
  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
- * HealthApi - axios parameter creator
17
+ * DefaultApi - axios parameter creator
18
18
  * @export
19
19
  */
20
- export declare const HealthApiAxiosParamCreator: (configuration?: Configuration) => {
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
- * HealthApi - functional programming interface
29
+ * DefaultApi - functional programming interface
30
30
  * @export
31
31
  */
32
- export declare const HealthApiFp: (configuration?: Configuration) => {
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
- * HealthApi - factory interface
41
+ * DefaultApi - factory interface
42
42
  * @export
43
43
  */
44
- export declare const HealthApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
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
- * HealthApi - object-oriented interface
53
+ * DefaultApi - object-oriented interface
54
54
  * @export
55
- * @class HealthApi
55
+ * @class DefaultApi
56
56
  * @extends {BaseAPI}
57
57
  */
58
- export declare class HealthApi extends BaseAPI {
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 HealthApi
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.HealthApi = exports.HealthApiFactory = exports.HealthApiFp = exports.HealthApiAxiosParamCreator = void 0;
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
@@ -90,10 +90,10 @@ var base_1 = require("../base");
90
90
  var url_1 = require("url");
91
91
  var FormData = require('form-data');
92
92
  /**
93
- * HealthApi - axios parameter creator
93
+ * DefaultApi - axios parameter creator
94
94
  * @export
95
95
  */
96
- var HealthApiAxiosParamCreator = function (configuration) {
96
+ var DefaultApiAxiosParamCreator = function (configuration) {
97
97
  var _this = this;
98
98
  return {
99
99
  /**
@@ -127,13 +127,13 @@ var HealthApiAxiosParamCreator = function (configuration) {
127
127
  },
128
128
  };
129
129
  };
130
- exports.HealthApiAxiosParamCreator = HealthApiAxiosParamCreator;
130
+ exports.DefaultApiAxiosParamCreator = DefaultApiAxiosParamCreator;
131
131
  /**
132
- * HealthApi - functional programming interface
132
+ * DefaultApi - functional programming interface
133
133
  * @export
134
134
  */
135
- var HealthApiFp = function (configuration) {
136
- var localVarAxiosParamCreator = (0, exports.HealthApiAxiosParamCreator)(configuration);
135
+ var DefaultApiFp = function (configuration) {
136
+ var localVarAxiosParamCreator = (0, exports.DefaultApiAxiosParamCreator)(configuration);
137
137
  return {
138
138
  /**
139
139
  *
@@ -155,13 +155,13 @@ var HealthApiFp = function (configuration) {
155
155
  },
156
156
  };
157
157
  };
158
- exports.HealthApiFp = HealthApiFp;
158
+ exports.DefaultApiFp = DefaultApiFp;
159
159
  /**
160
- * HealthApi - factory interface
160
+ * DefaultApi - factory interface
161
161
  * @export
162
162
  */
163
- var HealthApiFactory = function (configuration, basePath, axios) {
164
- var localVarFp = (0, exports.HealthApiFp)(configuration);
163
+ var DefaultApiFactory = function (configuration, basePath, axios) {
164
+ var localVarFp = (0, exports.DefaultApiFp)(configuration);
165
165
  return {
166
166
  /**
167
167
  *
@@ -173,28 +173,28 @@ var HealthApiFactory = function (configuration, basePath, axios) {
173
173
  },
174
174
  };
175
175
  };
176
- exports.HealthApiFactory = HealthApiFactory;
176
+ exports.DefaultApiFactory = DefaultApiFactory;
177
177
  /**
178
- * HealthApi - object-oriented interface
178
+ * DefaultApi - object-oriented interface
179
179
  * @export
180
- * @class HealthApi
180
+ * @class DefaultApi
181
181
  * @extends {BaseAPI}
182
182
  */
183
- var HealthApi = /** @class */ (function (_super) {
184
- __extends(HealthApi, _super);
185
- function HealthApi() {
183
+ var DefaultApi = /** @class */ (function (_super) {
184
+ __extends(DefaultApi, _super);
185
+ function DefaultApi() {
186
186
  return _super !== null && _super.apply(this, arguments) || this;
187
187
  }
188
188
  /**
189
189
  *
190
190
  * @param {*} [options] Override http request option.
191
191
  * @throws {RequiredError}
192
- * @memberof HealthApi
192
+ * @memberof DefaultApi
193
193
  */
194
- HealthApi.prototype.check = function (options) {
194
+ DefaultApi.prototype.check = function (options) {
195
195
  var _this = this;
196
- return (0, exports.HealthApiFp)(this.configuration).check(options).then(function (request) { return request(_this.axios, _this.basePath); });
196
+ return (0, exports.DefaultApiFp)(this.configuration).check(options).then(function (request) { return request(_this.axios, _this.basePath); });
197
197
  };
198
- return HealthApi;
198
+ return DefaultApi;
199
199
  }(base_1.BaseAPI));
200
- exports.HealthApi = HealthApi;
200
+ 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 {GetCustomerDocumentDownloadUrlRequestDto} [contentDisposition] Content disposition override. Default will be depending on the document type.
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?: GetCustomerDocumentDownloadUrlRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
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 {GetCustomerDocumentDownloadUrlRequestDto} [contentDisposition] Content disposition override. Default will be depending on the document type.
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?: GetCustomerDocumentDownloadUrlRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetCustomerDocumentDownloadUrlResponseClass>>;
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 {GetCustomerDocumentDownloadUrlRequestDto} [contentDisposition] Content disposition override. Default will be depending on the document type.
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?: GetCustomerDocumentDownloadUrlRequestDto, authorization?: string, options?: any): AxiosPromise<GetCustomerDocumentDownloadUrlResponseClass>;
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 {GetCustomerDocumentDownloadUrlRequestDto}
165
+ * @type {'attachment' | 'inline'}
167
166
  * @memberof DocumentsApiGetCustomerDocumentDownloadUrl
168
167
  */
169
- readonly contentDisposition?: GetCustomerDocumentDownloadUrlRequestDto;
168
+ readonly contentDisposition?: 'attachment' | 'inline';
170
169
  /**
171
170
  * Bearer Token: provided by the login endpoint under the name accessToken.
172
171
  * @type {string}
@@ -101,7 +101,7 @@ var DocumentsApiAxiosParamCreator = function (configuration) {
101
101
  * @summary Get a download url for document
102
102
  * @param {string} documentCode The document code.
103
103
  * @param {string} customerCode
104
- * @param {GetCustomerDocumentDownloadUrlRequestDto} [contentDisposition] Content disposition override. Default will be depending on the document type.
104
+ * @param {'attachment' | 'inline'} [contentDisposition] Content disposition override. Default will be depending on the document type.
105
105
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
106
106
  * @param {*} [options] Override http request option.
107
107
  * @throws {RequiredError}
@@ -262,7 +262,7 @@ var DocumentsApiFp = function (configuration) {
262
262
  * @summary Get a download url for document
263
263
  * @param {string} documentCode The document code.
264
264
  * @param {string} customerCode
265
- * @param {GetCustomerDocumentDownloadUrlRequestDto} [contentDisposition] Content disposition override. Default will be depending on the document type.
265
+ * @param {'attachment' | 'inline'} [contentDisposition] Content disposition override. Default will be depending on the document type.
266
266
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
267
267
  * @param {*} [options] Override http request option.
268
268
  * @throws {RequiredError}
@@ -344,7 +344,7 @@ var DocumentsApiFactory = function (configuration, basePath, axios) {
344
344
  * @summary Get a download url for document
345
345
  * @param {string} documentCode The document code.
346
346
  * @param {string} customerCode
347
- * @param {GetCustomerDocumentDownloadUrlRequestDto} [contentDisposition] Content disposition override. Default will be depending on the document type.
347
+ * @param {'attachment' | 'inline'} [contentDisposition] Content disposition override. Default will be depending on the document type.
348
348
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
349
349
  * @param {*} [options] Override http request option.
350
350
  * @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
@@ -132,7 +132,6 @@ var Environment;
132
132
  Environment["Staging"] = "https://apiv2-staging.emil.de";
133
133
  Environment["Development"] = "https://apiv2-dev.emil.de";
134
134
  Environment["ProductionZurich"] = "https://eu-central-2.apiv2.emil.de";
135
- Environment["StagingZurich"] = "https://eu-central-2.apiv2-staging.emil.de";
136
135
  })(Environment = exports.Environment || (exports.Environment = {}));
137
136
  var _retry_count = 0;
138
137
  var _retry = null;
@@ -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';
@@ -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 {string}
34
+ * @type {object}
35
35
  * @memberof TimesliceClass
36
36
  */
37
- 'to': string;
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 {string}
39
+ * @type {object}
40
40
  * @memberof TimesliceClass
41
41
  */
42
- 'to': string;
42
+ 'to': object;
43
43
  /**
44
44
  * Timeslice premium
45
45
  * @type {PolicyPremiumClass}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emilgroup/customer-sdk-node",
3
- "version": "1.57.1-beta.15",
3
+ "version": "1.57.1-beta.17",
4
4
  "description": "OpenAPI client for @emilgroup/customer-sdk-node",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [