@emilgroup/customer-sdk 1.56.1-beta.11 → 1.56.1-beta.13

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.
@@ -13,6 +13,7 @@ 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';
16
17
  import { GetCustomerDocumentDownloadUrlResponseClass } from '../models';
17
18
  import { ListDocumentsResponseClass } from '../models';
18
19
  import { UploadAccountDocumentsRequestDto } from '../models';
@@ -26,12 +27,12 @@ export declare const DocumentsApiAxiosParamCreator: (configuration?: Configurati
26
27
  * @summary Get a download url for document
27
28
  * @param {string} documentCode The document code.
28
29
  * @param {string} customerCode
29
- * @param {'attachment' | 'inline'} [contentDisposition] Content disposition override. Default will be depending on the document type.
30
+ * @param {GetCustomerDocumentDownloadUrlRequestDto} [contentDisposition] Content disposition override. Default will be depending on the document type.
30
31
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
31
32
  * @param {*} [options] Override http request option.
32
33
  * @throws {RequiredError}
33
34
  */
34
- getCustomerDocumentDownloadUrl: (documentCode: string, customerCode: string, contentDisposition?: 'attachment' | 'inline', authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
35
+ getCustomerDocumentDownloadUrl: (documentCode: string, customerCode: string, contentDisposition?: GetCustomerDocumentDownloadUrlRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
35
36
  /**
36
37
  * List all the documents of a customer.
37
38
  * @summary List documents of a customer
@@ -68,12 +69,12 @@ export declare const DocumentsApiFp: (configuration?: Configuration) => {
68
69
  * @summary Get a download url for document
69
70
  * @param {string} documentCode The document code.
70
71
  * @param {string} customerCode
71
- * @param {'attachment' | 'inline'} [contentDisposition] Content disposition override. Default will be depending on the document type.
72
+ * @param {GetCustomerDocumentDownloadUrlRequestDto} [contentDisposition] Content disposition override. Default will be depending on the document type.
72
73
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
73
74
  * @param {*} [options] Override http request option.
74
75
  * @throws {RequiredError}
75
76
  */
76
- getCustomerDocumentDownloadUrl(documentCode: string, customerCode: string, contentDisposition?: 'attachment' | 'inline', authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetCustomerDocumentDownloadUrlResponseClass>>;
77
+ getCustomerDocumentDownloadUrl(documentCode: string, customerCode: string, contentDisposition?: GetCustomerDocumentDownloadUrlRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetCustomerDocumentDownloadUrlResponseClass>>;
77
78
  /**
78
79
  * List all the documents of a customer.
79
80
  * @summary List documents of a customer
@@ -110,12 +111,12 @@ export declare const DocumentsApiFactory: (configuration?: Configuration, basePa
110
111
  * @summary Get a download url for document
111
112
  * @param {string} documentCode The document code.
112
113
  * @param {string} customerCode
113
- * @param {'attachment' | 'inline'} [contentDisposition] Content disposition override. Default will be depending on the document type.
114
+ * @param {GetCustomerDocumentDownloadUrlRequestDto} [contentDisposition] Content disposition override. Default will be depending on the document type.
114
115
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
115
116
  * @param {*} [options] Override http request option.
116
117
  * @throws {RequiredError}
117
118
  */
118
- getCustomerDocumentDownloadUrl(documentCode: string, customerCode: string, contentDisposition?: 'attachment' | 'inline', authorization?: string, options?: any): AxiosPromise<GetCustomerDocumentDownloadUrlResponseClass>;
119
+ getCustomerDocumentDownloadUrl(documentCode: string, customerCode: string, contentDisposition?: GetCustomerDocumentDownloadUrlRequestDto, authorization?: string, options?: any): AxiosPromise<GetCustomerDocumentDownloadUrlResponseClass>;
119
120
  /**
120
121
  * List all the documents of a customer.
121
122
  * @summary List documents of a customer
@@ -162,10 +163,10 @@ export interface DocumentsApiGetCustomerDocumentDownloadUrlRequest {
162
163
  readonly customerCode: string;
163
164
  /**
164
165
  * Content disposition override. Default will be depending on the document type.
165
- * @type {'attachment' | 'inline'}
166
+ * @type {GetCustomerDocumentDownloadUrlRequestDto}
166
167
  * @memberof DocumentsApiGetCustomerDocumentDownloadUrl
167
168
  */
168
- readonly contentDisposition?: 'attachment' | 'inline';
169
+ readonly contentDisposition?: GetCustomerDocumentDownloadUrlRequestDto;
169
170
  /**
170
171
  * Bearer Token: provided by the login endpoint under the name accessToken.
171
172
  * @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 {'attachment' | 'inline'} [contentDisposition] Content disposition override. Default will be depending on the document type.
101
+ * @param {GetCustomerDocumentDownloadUrlRequestDto} [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 {'attachment' | 'inline'} [contentDisposition] Content disposition override. Default will be depending on the document type.
262
+ * @param {GetCustomerDocumentDownloadUrlRequestDto} [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 {'attachment' | 'inline'} [contentDisposition] Content disposition override. Default will be depending on the document type.
344
+ * @param {GetCustomerDocumentDownloadUrlRequestDto} [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}
@@ -14,10 +14,10 @@ import { Configuration } from '../configuration';
14
14
  import { RequestArgs, BaseAPI } from '../base';
15
15
  import { InlineResponse200 } from '../models';
16
16
  /**
17
- * DefaultApi - axios parameter creator
17
+ * HealthApi - axios parameter creator
18
18
  * @export
19
19
  */
20
- export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration) => {
20
+ export declare const HealthApiAxiosParamCreator: (configuration?: Configuration) => {
21
21
  /**
22
22
  *
23
23
  * @param {*} [options] Override http request option.
@@ -26,10 +26,10 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
26
26
  check: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
27
27
  };
28
28
  /**
29
- * DefaultApi - functional programming interface
29
+ * HealthApi - functional programming interface
30
30
  * @export
31
31
  */
32
- export declare const DefaultApiFp: (configuration?: Configuration) => {
32
+ export declare const HealthApiFp: (configuration?: Configuration) => {
33
33
  /**
34
34
  *
35
35
  * @param {*} [options] Override http request option.
@@ -38,10 +38,10 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
38
38
  check(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InlineResponse200>>;
39
39
  };
40
40
  /**
41
- * DefaultApi - factory interface
41
+ * HealthApi - factory interface
42
42
  * @export
43
43
  */
44
- export declare const DefaultApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
44
+ export declare const HealthApiFactory: (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 DefaultApiFactory: (configuration?: Configuration, basePath
50
50
  check(options?: any): AxiosPromise<InlineResponse200>;
51
51
  };
52
52
  /**
53
- * DefaultApi - object-oriented interface
53
+ * HealthApi - object-oriented interface
54
54
  * @export
55
- * @class DefaultApi
55
+ * @class HealthApi
56
56
  * @extends {BaseAPI}
57
57
  */
58
- export declare class DefaultApi extends BaseAPI {
58
+ export declare class HealthApi extends BaseAPI {
59
59
  /**
60
60
  *
61
61
  * @param {*} [options] Override http request option.
62
62
  * @throws {RequiredError}
63
- * @memberof DefaultApi
63
+ * @memberof HealthApi
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.DefaultApi = exports.DefaultApiFactory = exports.DefaultApiFp = exports.DefaultApiAxiosParamCreator = void 0;
81
+ exports.HealthApi = exports.HealthApiFactory = exports.HealthApiFp = exports.HealthApiAxiosParamCreator = 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
- * DefaultApi - axios parameter creator
90
+ * HealthApi - axios parameter creator
91
91
  * @export
92
92
  */
93
- var DefaultApiAxiosParamCreator = function (configuration) {
93
+ var HealthApiAxiosParamCreator = function (configuration) {
94
94
  var _this = this;
95
95
  return {
96
96
  /**
@@ -124,13 +124,13 @@ var DefaultApiAxiosParamCreator = function (configuration) {
124
124
  },
125
125
  };
126
126
  };
127
- exports.DefaultApiAxiosParamCreator = DefaultApiAxiosParamCreator;
127
+ exports.HealthApiAxiosParamCreator = HealthApiAxiosParamCreator;
128
128
  /**
129
- * DefaultApi - functional programming interface
129
+ * HealthApi - functional programming interface
130
130
  * @export
131
131
  */
132
- var DefaultApiFp = function (configuration) {
133
- var localVarAxiosParamCreator = (0, exports.DefaultApiAxiosParamCreator)(configuration);
132
+ var HealthApiFp = function (configuration) {
133
+ var localVarAxiosParamCreator = (0, exports.HealthApiAxiosParamCreator)(configuration);
134
134
  return {
135
135
  /**
136
136
  *
@@ -152,13 +152,13 @@ var DefaultApiFp = function (configuration) {
152
152
  },
153
153
  };
154
154
  };
155
- exports.DefaultApiFp = DefaultApiFp;
155
+ exports.HealthApiFp = HealthApiFp;
156
156
  /**
157
- * DefaultApi - factory interface
157
+ * HealthApi - factory interface
158
158
  * @export
159
159
  */
160
- var DefaultApiFactory = function (configuration, basePath, axios) {
161
- var localVarFp = (0, exports.DefaultApiFp)(configuration);
160
+ var HealthApiFactory = function (configuration, basePath, axios) {
161
+ var localVarFp = (0, exports.HealthApiFp)(configuration);
162
162
  return {
163
163
  /**
164
164
  *
@@ -170,28 +170,28 @@ var DefaultApiFactory = function (configuration, basePath, axios) {
170
170
  },
171
171
  };
172
172
  };
173
- exports.DefaultApiFactory = DefaultApiFactory;
173
+ exports.HealthApiFactory = HealthApiFactory;
174
174
  /**
175
- * DefaultApi - object-oriented interface
175
+ * HealthApi - object-oriented interface
176
176
  * @export
177
- * @class DefaultApi
177
+ * @class HealthApi
178
178
  * @extends {BaseAPI}
179
179
  */
180
- var DefaultApi = /** @class */ (function (_super) {
181
- __extends(DefaultApi, _super);
182
- function DefaultApi() {
180
+ var HealthApi = /** @class */ (function (_super) {
181
+ __extends(HealthApi, _super);
182
+ function HealthApi() {
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 DefaultApi
189
+ * @memberof HealthApi
190
190
  */
191
- DefaultApi.prototype.check = function (options) {
191
+ HealthApi.prototype.check = function (options) {
192
192
  var _this = this;
193
- return (0, exports.DefaultApiFp)(this.configuration).check(options).then(function (request) { return request(_this.axios, _this.basePath); });
193
+ return (0, exports.HealthApiFp)(this.configuration).check(options).then(function (request) { return request(_this.axios, _this.basePath); });
194
194
  };
195
- return DefaultApi;
195
+ return HealthApi;
196
196
  }(base_1.BaseAPI));
197
- exports.DefaultApi = DefaultApi;
197
+ exports.HealthApi = HealthApi;
package/dist/api.d.ts CHANGED
@@ -11,9 +11,10 @@
11
11
  */
12
12
  export * from './api/authentication-api';
13
13
  export * from './api/claims-api';
14
+ export * from './api/customer-controller-rest-api';
14
15
  export * from './api/customers-api';
15
- export * from './api/default-api';
16
16
  export * from './api/documents-api';
17
+ export * from './api/health-api';
17
18
  export * from './api/invites-api';
18
19
  export * from './api/invoices-api';
19
20
  export * from './api/leads-api';
package/dist/api.js CHANGED
@@ -29,9 +29,10 @@ 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);
32
33
  __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);
35
36
  __exportStar(require("./api/invites-api"), exports);
36
37
  __exportStar(require("./api/invoices-api"), exports);
37
38
  __exportStar(require("./api/leads-api"), exports);
@@ -0,0 +1,29 @@
1
+ /**
2
+ * EMIL CustomerService
3
+ * The EMIL CustomerService 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
+ /**
13
+ *
14
+ * @export
15
+ * @interface GetCustomerDocumentDownloadUrlRequestDto
16
+ */
17
+ export interface GetCustomerDocumentDownloadUrlRequestDto {
18
+ /**
19
+ * Content disposition override. Default will be depending on the document type.
20
+ * @type {string}
21
+ * @memberof GetCustomerDocumentDownloadUrlRequestDto
22
+ */
23
+ 'contentDisposition'?: GetCustomerDocumentDownloadUrlRequestDtoContentDispositionEnum;
24
+ }
25
+ export declare const GetCustomerDocumentDownloadUrlRequestDtoContentDispositionEnum: {
26
+ readonly Attachment: "attachment";
27
+ readonly Inline: "inline";
28
+ };
29
+ export type GetCustomerDocumentDownloadUrlRequestDtoContentDispositionEnum = typeof GetCustomerDocumentDownloadUrlRequestDtoContentDispositionEnum[keyof typeof GetCustomerDocumentDownloadUrlRequestDtoContentDispositionEnum];
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * EMIL CustomerService
6
+ * The EMIL CustomerService API description
7
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ * Contact: kontakt@emil.de
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.GetCustomerDocumentDownloadUrlRequestDtoContentDispositionEnum = void 0;
17
+ exports.GetCustomerDocumentDownloadUrlRequestDtoContentDispositionEnum = {
18
+ Attachment: 'attachment',
19
+ Inline: 'inline'
20
+ };
@@ -29,6 +29,7 @@ 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';
32
33
  export * from './get-customer-document-download-url-response-class';
33
34
  export * from './get-customer-response-class';
34
35
  export * from './get-lead-response-class';
@@ -45,6 +45,7 @@ __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);
48
49
  __exportStar(require("./get-customer-document-download-url-response-class"), exports);
49
50
  __exportStar(require("./get-customer-response-class"), exports);
50
51
  __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 {object}
34
+ * @type {string}
35
35
  * @memberof TimesliceClass
36
36
  */
37
- 'to': object;
37
+ 'to': string;
38
38
  /**
39
39
  * Timeslice premium
40
40
  * @type {PolicyPremiumClass}
@@ -0,0 +1,38 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * EMIL CustomerService
5
+ * The EMIL CustomerService API description
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ * Contact: kontakt@emil.de
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+
17
+ /**
18
+ *
19
+ * @export
20
+ * @interface GetCustomerDocumentDownloadUrlRequestDto
21
+ */
22
+ export interface GetCustomerDocumentDownloadUrlRequestDto {
23
+ /**
24
+ * Content disposition override. Default will be depending on the document type.
25
+ * @type {string}
26
+ * @memberof GetCustomerDocumentDownloadUrlRequestDto
27
+ */
28
+ 'contentDisposition'?: GetCustomerDocumentDownloadUrlRequestDtoContentDispositionEnum;
29
+ }
30
+
31
+ export const GetCustomerDocumentDownloadUrlRequestDtoContentDispositionEnum = {
32
+ Attachment: 'attachment',
33
+ Inline: 'inline'
34
+ } as const;
35
+
36
+ export type GetCustomerDocumentDownloadUrlRequestDtoContentDispositionEnum = typeof GetCustomerDocumentDownloadUrlRequestDtoContentDispositionEnum[keyof typeof GetCustomerDocumentDownloadUrlRequestDtoContentDispositionEnum];
37
+
38
+
package/models/index.ts CHANGED
@@ -29,6 +29,7 @@ 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';
32
33
  export * from './get-customer-document-download-url-response-class';
33
34
  export * from './get-customer-response-class';
34
35
  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 {object}
39
+ * @type {string}
40
40
  * @memberof TimesliceClass
41
41
  */
42
- 'to': object;
42
+ 'to': string;
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",
3
- "version": "1.56.1-beta.11",
3
+ "version": "1.56.1-beta.13",
4
4
  "description": "OpenAPI client for @emilgroup/customer-sdk",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [