@emilgroup/customer-sdk-node 1.33.0 → 1.34.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.
@@ -71,6 +71,7 @@ models/list-invoices-response-class.ts
71
71
  models/list-leads-response-class.ts
72
72
  models/list-policies-response-class.ts
73
73
  models/list-products-response-class.ts
74
+ models/partner-link-class.ts
74
75
  models/policy-class.ts
75
76
  models/policy-object-class.ts
76
77
  models/policy-object-dto.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.33.0 --save
20
+ npm install @emilgroup/customer-sdk-node@1.34.0 --save
21
21
  ```
22
22
  or
23
23
  ```
24
- yarn add @emilgroup/customer-sdk-node@1.33.0
24
+ yarn add @emilgroup/customer-sdk-node@1.34.0
25
25
  ```
26
26
 
27
27
  And then you can import `CustomersApi`.
@@ -41,11 +41,12 @@ export const DocumentsApiAxiosParamCreator = function (configuration?: Configura
41
41
  * @summary Get a download url for document
42
42
  * @param {string} documentCode The document code.
43
43
  * @param {string} customerCode
44
+ * @param {'attachment' | 'inline'} [contentDisposition] Content disposition override. Default will be depending on the document type.
44
45
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
45
46
  * @param {*} [options] Override http request option.
46
47
  * @throws {RequiredError}
47
48
  */
48
- getCustomerDocumentDownloadUrl: async (documentCode: string, customerCode: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
49
+ getCustomerDocumentDownloadUrl: async (documentCode: string, customerCode: string, contentDisposition?: 'attachment' | 'inline', authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
49
50
  // verify required parameter 'documentCode' is not null or undefined
50
51
  assertParamExists('getCustomerDocumentDownloadUrl', 'documentCode', documentCode)
51
52
  // verify required parameter 'customerCode' is not null or undefined
@@ -66,6 +67,10 @@ export const DocumentsApiAxiosParamCreator = function (configuration?: Configura
66
67
  const localVarHeaderParameter = {} as any;
67
68
  const localVarQueryParameter = {} as any;
68
69
 
70
+ if (contentDisposition !== undefined) {
71
+ localVarQueryParameter['contentDisposition'] = contentDisposition;
72
+ }
73
+
69
74
  if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
70
75
  localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
71
76
  }
@@ -208,12 +213,13 @@ export const DocumentsApiFp = function(configuration?: Configuration) {
208
213
  * @summary Get a download url for document
209
214
  * @param {string} documentCode The document code.
210
215
  * @param {string} customerCode
216
+ * @param {'attachment' | 'inline'} [contentDisposition] Content disposition override. Default will be depending on the document type.
211
217
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
212
218
  * @param {*} [options] Override http request option.
213
219
  * @throws {RequiredError}
214
220
  */
215
- async getCustomerDocumentDownloadUrl(documentCode: string, customerCode: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetCustomerDocumentDownloadUrlResponseClass>> {
216
- const localVarAxiosArgs = await localVarAxiosParamCreator.getCustomerDocumentDownloadUrl(documentCode, customerCode, authorization, options);
221
+ async getCustomerDocumentDownloadUrl(documentCode: string, customerCode: string, contentDisposition?: 'attachment' | 'inline', authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetCustomerDocumentDownloadUrlResponseClass>> {
222
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getCustomerDocumentDownloadUrl(documentCode, customerCode, contentDisposition, authorization, options);
217
223
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
218
224
  },
219
225
  /**
@@ -261,12 +267,13 @@ export const DocumentsApiFactory = function (configuration?: Configuration, base
261
267
  * @summary Get a download url for document
262
268
  * @param {string} documentCode The document code.
263
269
  * @param {string} customerCode
270
+ * @param {'attachment' | 'inline'} [contentDisposition] Content disposition override. Default will be depending on the document type.
264
271
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
265
272
  * @param {*} [options] Override http request option.
266
273
  * @throws {RequiredError}
267
274
  */
268
- getCustomerDocumentDownloadUrl(documentCode: string, customerCode: string, authorization?: string, options?: any): AxiosPromise<GetCustomerDocumentDownloadUrlResponseClass> {
269
- return localVarFp.getCustomerDocumentDownloadUrl(documentCode, customerCode, authorization, options).then((request) => request(axios, basePath));
275
+ getCustomerDocumentDownloadUrl(documentCode: string, customerCode: string, contentDisposition?: 'attachment' | 'inline', authorization?: string, options?: any): AxiosPromise<GetCustomerDocumentDownloadUrlResponseClass> {
276
+ return localVarFp.getCustomerDocumentDownloadUrl(documentCode, customerCode, contentDisposition, authorization, options).then((request) => request(axios, basePath));
270
277
  },
271
278
  /**
272
279
  * List all the documents of a customer.
@@ -319,6 +326,13 @@ export interface DocumentsApiGetCustomerDocumentDownloadUrlRequest {
319
326
  */
320
327
  readonly customerCode: string
321
328
 
329
+ /**
330
+ * Content disposition override. Default will be depending on the document type.
331
+ * @type {'attachment' | 'inline'}
332
+ * @memberof DocumentsApiGetCustomerDocumentDownloadUrl
333
+ */
334
+ readonly contentDisposition?: 'attachment' | 'inline'
335
+
322
336
  /**
323
337
  * Bearer Token: provided by the login endpoint under the name accessToken.
324
338
  * @type {string}
@@ -427,7 +441,7 @@ export class DocumentsApi extends BaseAPI {
427
441
  * @memberof DocumentsApi
428
442
  */
429
443
  public getCustomerDocumentDownloadUrl(requestParameters: DocumentsApiGetCustomerDocumentDownloadUrlRequest, options?: AxiosRequestConfig) {
430
- return DocumentsApiFp(this.configuration).getCustomerDocumentDownloadUrl(requestParameters.documentCode, requestParameters.customerCode, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
444
+ return DocumentsApiFp(this.configuration).getCustomerDocumentDownloadUrl(requestParameters.documentCode, requestParameters.customerCode, requestParameters.contentDisposition, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
431
445
  }
432
446
 
433
447
  /**
@@ -25,11 +25,12 @@ export declare const DocumentsApiAxiosParamCreator: (configuration?: Configurati
25
25
  * @summary Get a download url for document
26
26
  * @param {string} documentCode The document code.
27
27
  * @param {string} customerCode
28
+ * @param {'attachment' | 'inline'} [contentDisposition] Content disposition override. Default will be depending on the document type.
28
29
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
29
30
  * @param {*} [options] Override http request option.
30
31
  * @throws {RequiredError}
31
32
  */
32
- getCustomerDocumentDownloadUrl: (documentCode: string, customerCode: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
33
+ getCustomerDocumentDownloadUrl: (documentCode: string, customerCode: string, contentDisposition?: 'attachment' | 'inline', authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
33
34
  /**
34
35
  * List all the documents of a customer.
35
36
  * @summary List documents of a customer
@@ -65,11 +66,12 @@ export declare const DocumentsApiFp: (configuration?: Configuration) => {
65
66
  * @summary Get a download url for document
66
67
  * @param {string} documentCode The document code.
67
68
  * @param {string} customerCode
69
+ * @param {'attachment' | 'inline'} [contentDisposition] Content disposition override. Default will be depending on the document type.
68
70
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
69
71
  * @param {*} [options] Override http request option.
70
72
  * @throws {RequiredError}
71
73
  */
72
- getCustomerDocumentDownloadUrl(documentCode: string, customerCode: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetCustomerDocumentDownloadUrlResponseClass>>;
74
+ getCustomerDocumentDownloadUrl(documentCode: string, customerCode: string, contentDisposition?: 'attachment' | 'inline', authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetCustomerDocumentDownloadUrlResponseClass>>;
73
75
  /**
74
76
  * List all the documents of a customer.
75
77
  * @summary List documents of a customer
@@ -105,11 +107,12 @@ export declare const DocumentsApiFactory: (configuration?: Configuration, basePa
105
107
  * @summary Get a download url for document
106
108
  * @param {string} documentCode The document code.
107
109
  * @param {string} customerCode
110
+ * @param {'attachment' | 'inline'} [contentDisposition] Content disposition override. Default will be depending on the document type.
108
111
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
109
112
  * @param {*} [options] Override http request option.
110
113
  * @throws {RequiredError}
111
114
  */
112
- getCustomerDocumentDownloadUrl(documentCode: string, customerCode: string, authorization?: string, options?: any): AxiosPromise<GetCustomerDocumentDownloadUrlResponseClass>;
115
+ getCustomerDocumentDownloadUrl(documentCode: string, customerCode: string, contentDisposition?: 'attachment' | 'inline', authorization?: string, options?: any): AxiosPromise<GetCustomerDocumentDownloadUrlResponseClass>;
113
116
  /**
114
117
  * List all the documents of a customer.
115
118
  * @summary List documents of a customer
@@ -153,6 +156,12 @@ export interface DocumentsApiGetCustomerDocumentDownloadUrlRequest {
153
156
  * @memberof DocumentsApiGetCustomerDocumentDownloadUrl
154
157
  */
155
158
  readonly customerCode: string;
159
+ /**
160
+ * Content disposition override. Default will be depending on the document type.
161
+ * @type {'attachment' | 'inline'}
162
+ * @memberof DocumentsApiGetCustomerDocumentDownloadUrl
163
+ */
164
+ readonly contentDisposition?: 'attachment' | 'inline';
156
165
  /**
157
166
  * Bearer Token: provided by the login endpoint under the name accessToken.
158
167
  * @type {string}
@@ -101,11 +101,12 @@ 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 {'attachment' | 'inline'} [contentDisposition] Content disposition override. Default will be depending on the document type.
104
105
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
105
106
  * @param {*} [options] Override http request option.
106
107
  * @throws {RequiredError}
107
108
  */
108
- getCustomerDocumentDownloadUrl: function (documentCode, customerCode, authorization, options) {
109
+ getCustomerDocumentDownloadUrl: function (documentCode, customerCode, contentDisposition, authorization, options) {
109
110
  if (options === void 0) { options = {}; }
110
111
  return __awaiter(_this, void 0, void 0, function () {
111
112
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -125,6 +126,9 @@ var DocumentsApiAxiosParamCreator = function (configuration) {
125
126
  localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
126
127
  localVarHeaderParameter = {};
127
128
  localVarQueryParameter = {};
129
+ if (contentDisposition !== undefined) {
130
+ localVarQueryParameter['contentDisposition'] = contentDisposition;
131
+ }
128
132
  if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
129
133
  localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
130
134
  }
@@ -253,16 +257,17 @@ var DocumentsApiFp = function (configuration) {
253
257
  * @summary Get a download url for document
254
258
  * @param {string} documentCode The document code.
255
259
  * @param {string} customerCode
260
+ * @param {'attachment' | 'inline'} [contentDisposition] Content disposition override. Default will be depending on the document type.
256
261
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
257
262
  * @param {*} [options] Override http request option.
258
263
  * @throws {RequiredError}
259
264
  */
260
- getCustomerDocumentDownloadUrl: function (documentCode, customerCode, authorization, options) {
265
+ getCustomerDocumentDownloadUrl: function (documentCode, customerCode, contentDisposition, authorization, options) {
261
266
  return __awaiter(this, void 0, void 0, function () {
262
267
  var localVarAxiosArgs;
263
268
  return __generator(this, function (_a) {
264
269
  switch (_a.label) {
265
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.getCustomerDocumentDownloadUrl(documentCode, customerCode, authorization, options)];
270
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.getCustomerDocumentDownloadUrl(documentCode, customerCode, contentDisposition, authorization, options)];
266
271
  case 1:
267
272
  localVarAxiosArgs = _a.sent();
268
273
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -333,12 +338,13 @@ var DocumentsApiFactory = function (configuration, basePath, axios) {
333
338
  * @summary Get a download url for document
334
339
  * @param {string} documentCode The document code.
335
340
  * @param {string} customerCode
341
+ * @param {'attachment' | 'inline'} [contentDisposition] Content disposition override. Default will be depending on the document type.
336
342
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
337
343
  * @param {*} [options] Override http request option.
338
344
  * @throws {RequiredError}
339
345
  */
340
- getCustomerDocumentDownloadUrl: function (documentCode, customerCode, authorization, options) {
341
- return localVarFp.getCustomerDocumentDownloadUrl(documentCode, customerCode, authorization, options).then(function (request) { return request(axios, basePath); });
346
+ getCustomerDocumentDownloadUrl: function (documentCode, customerCode, contentDisposition, authorization, options) {
347
+ return localVarFp.getCustomerDocumentDownloadUrl(documentCode, customerCode, contentDisposition, authorization, options).then(function (request) { return request(axios, basePath); });
342
348
  },
343
349
  /**
344
350
  * List all the documents of a customer.
@@ -392,7 +398,7 @@ var DocumentsApi = /** @class */ (function (_super) {
392
398
  */
393
399
  DocumentsApi.prototype.getCustomerDocumentDownloadUrl = function (requestParameters, options) {
394
400
  var _this = this;
395
- return (0, exports.DocumentsApiFp)(this.configuration).getCustomerDocumentDownloadUrl(requestParameters.documentCode, requestParameters.customerCode, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
401
+ return (0, exports.DocumentsApiFp)(this.configuration).getCustomerDocumentDownloadUrl(requestParameters.documentCode, requestParameters.customerCode, requestParameters.contentDisposition, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
396
402
  };
397
403
  /**
398
404
  * List all the documents of a customer.
@@ -27,4 +27,10 @@ export interface CreateBankAccountRequestDto {
27
27
  * @memberof CreateBankAccountRequestDto
28
28
  */
29
29
  'iban': string;
30
+ /**
31
+ * Bank account holder
32
+ * @type {string}
33
+ * @memberof CreateBankAccountRequestDto
34
+ */
35
+ 'accountHolder': string;
30
36
  }
@@ -80,4 +80,16 @@ export interface CreateLeadRequestDto {
80
80
  * @memberof CreateLeadRequestDto
81
81
  */
82
82
  'paymentMethod': CreatePaymentMethodRequestDto;
83
+ /**
84
+ * Unique identifier of the partner that this object belongs to.
85
+ * @type {string}
86
+ * @memberof CreateLeadRequestDto
87
+ */
88
+ 'partnerCode'?: string;
89
+ /**
90
+ * Unique identifier of the partner role that this object belongs to.
91
+ * @type {string}
92
+ * @memberof CreateLeadRequestDto
93
+ */
94
+ 'partnerRoleCode'?: string;
83
95
  }
@@ -49,6 +49,7 @@ export * from './list-invoices-response-class';
49
49
  export * from './list-leads-response-class';
50
50
  export * from './list-policies-response-class';
51
51
  export * from './list-products-response-class';
52
+ export * from './partner-link-class';
52
53
  export * from './policy-class';
53
54
  export * from './policy-object-class';
54
55
  export * from './policy-object-dto';
@@ -65,6 +65,7 @@ __exportStar(require("./list-invoices-response-class"), exports);
65
65
  __exportStar(require("./list-leads-response-class"), exports);
66
66
  __exportStar(require("./list-policies-response-class"), exports);
67
67
  __exportStar(require("./list-products-response-class"), exports);
68
+ __exportStar(require("./partner-link-class"), exports);
68
69
  __exportStar(require("./policy-class"), exports);
69
70
  __exportStar(require("./policy-object-class"), exports);
70
71
  __exportStar(require("./policy-object-dto"), exports);
@@ -27,4 +27,10 @@ export interface LeadBankAccountClass {
27
27
  * @memberof LeadBankAccountClass
28
28
  */
29
29
  'iban': string;
30
+ /**
31
+ * Bank account holder
32
+ * @type {string}
33
+ * @memberof LeadBankAccountClass
34
+ */
35
+ 'accountHolder': string;
30
36
  }
@@ -14,6 +14,7 @@ import { CreatePaymentMethodRequestDto } from './create-payment-method-request-d
14
14
  import { CreatePolicyRequestDto } from './create-policy-request-dto';
15
15
  import { InvoiceClass } from './invoice-class';
16
16
  import { LeadBankAccountClass } from './lead-bank-account-class';
17
+ import { PartnerLinkClass } from './partner-link-class';
17
18
  import { PremiumOverrideRequestClass } from './premium-override-request-class';
18
19
  import { UploadedDocumentDto } from './uploaded-document-dto';
19
20
  /**
@@ -118,6 +119,12 @@ export interface LeadClass {
118
119
  * @memberof LeadClass
119
120
  */
120
121
  'updatedAt': string;
122
+ /**
123
+ * Partner links.
124
+ * @type {Array<PartnerLinkClass>}
125
+ * @memberof LeadClass
126
+ */
127
+ 'partnerLinks': Array<PartnerLinkClass>;
121
128
  /**
122
129
  * Organization name.
123
130
  * @type {string}
@@ -0,0 +1,72 @@
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 PartnerLinkClass
16
+ */
17
+ export interface PartnerLinkClass {
18
+ /**
19
+ * Internal unique identifier for the object. You should not have to use this, use code instead.
20
+ * @type {number}
21
+ * @memberof PartnerLinkClass
22
+ */
23
+ 'id': number;
24
+ /**
25
+ * Unique identifier of the partner that this object belongs to.
26
+ * @type {string}
27
+ * @memberof PartnerLinkClass
28
+ */
29
+ 'partnerCode': string;
30
+ /**
31
+ * Unique identifier of the partner role that this object belongs to.
32
+ * @type {string}
33
+ * @memberof PartnerLinkClass
34
+ */
35
+ 'partnerRoleCode': string;
36
+ /**
37
+ * Unique identifier of the policy that this object belongs to.
38
+ * @type {string}
39
+ * @memberof PartnerLinkClass
40
+ */
41
+ 'policyCode'?: string;
42
+ /**
43
+ * Unique identifier of the lead that this object belongs to.
44
+ * @type {string}
45
+ * @memberof PartnerLinkClass
46
+ */
47
+ 'leadCode'?: string;
48
+ /**
49
+ * Date from which the partner should be linked.
50
+ * @type {string}
51
+ * @memberof PartnerLinkClass
52
+ */
53
+ 'startDate': string;
54
+ /**
55
+ * Date to which the partner should be linked.
56
+ * @type {string}
57
+ * @memberof PartnerLinkClass
58
+ */
59
+ 'endDate'?: string;
60
+ /**
61
+ * Time at which the object was created.
62
+ * @type {string}
63
+ * @memberof PartnerLinkClass
64
+ */
65
+ 'createdAt': string;
66
+ /**
67
+ * Time at which the object was updated.
68
+ * @type {string}
69
+ * @memberof PartnerLinkClass
70
+ */
71
+ 'updatedAt': string;
72
+ }
@@ -0,0 +1,15 @@
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 });
@@ -71,6 +71,12 @@ export interface PolicyClass {
71
71
  * @memberof PolicyClass
72
72
  */
73
73
  'ern': string;
74
+ /**
75
+ * Unique identifier of the lead that this object belongs to.
76
+ * @type {string}
77
+ * @memberof PolicyClass
78
+ */
79
+ 'leadCode'?: string;
74
80
  /**
75
81
  * Organization name.
76
82
  * @type {string}
@@ -32,5 +32,11 @@ export interface CreateBankAccountRequestDto {
32
32
  * @memberof CreateBankAccountRequestDto
33
33
  */
34
34
  'iban': string;
35
+ /**
36
+ * Bank account holder
37
+ * @type {string}
38
+ * @memberof CreateBankAccountRequestDto
39
+ */
40
+ 'accountHolder': string;
35
41
  }
36
42
 
@@ -85,5 +85,17 @@ export interface CreateLeadRequestDto {
85
85
  * @memberof CreateLeadRequestDto
86
86
  */
87
87
  'paymentMethod': CreatePaymentMethodRequestDto;
88
+ /**
89
+ * Unique identifier of the partner that this object belongs to.
90
+ * @type {string}
91
+ * @memberof CreateLeadRequestDto
92
+ */
93
+ 'partnerCode'?: string;
94
+ /**
95
+ * Unique identifier of the partner role that this object belongs to.
96
+ * @type {string}
97
+ * @memberof CreateLeadRequestDto
98
+ */
99
+ 'partnerRoleCode'?: string;
88
100
  }
89
101
 
package/models/index.ts CHANGED
@@ -49,6 +49,7 @@ export * from './list-invoices-response-class';
49
49
  export * from './list-leads-response-class';
50
50
  export * from './list-policies-response-class';
51
51
  export * from './list-products-response-class';
52
+ export * from './partner-link-class';
52
53
  export * from './policy-class';
53
54
  export * from './policy-object-class';
54
55
  export * from './policy-object-dto';
@@ -32,5 +32,11 @@ export interface LeadBankAccountClass {
32
32
  * @memberof LeadBankAccountClass
33
33
  */
34
34
  'iban': string;
35
+ /**
36
+ * Bank account holder
37
+ * @type {string}
38
+ * @memberof LeadBankAccountClass
39
+ */
40
+ 'accountHolder': string;
35
41
  }
36
42
 
@@ -18,6 +18,7 @@ import { CreatePaymentMethodRequestDto } from './create-payment-method-request-d
18
18
  import { CreatePolicyRequestDto } from './create-policy-request-dto';
19
19
  import { InvoiceClass } from './invoice-class';
20
20
  import { LeadBankAccountClass } from './lead-bank-account-class';
21
+ import { PartnerLinkClass } from './partner-link-class';
21
22
  import { PremiumOverrideRequestClass } from './premium-override-request-class';
22
23
  import { UploadedDocumentDto } from './uploaded-document-dto';
23
24
 
@@ -123,6 +124,12 @@ export interface LeadClass {
123
124
  * @memberof LeadClass
124
125
  */
125
126
  'updatedAt': string;
127
+ /**
128
+ * Partner links.
129
+ * @type {Array<PartnerLinkClass>}
130
+ * @memberof LeadClass
131
+ */
132
+ 'partnerLinks': Array<PartnerLinkClass>;
126
133
  /**
127
134
  * Organization name.
128
135
  * @type {string}
@@ -0,0 +1,78 @@
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 PartnerLinkClass
21
+ */
22
+ export interface PartnerLinkClass {
23
+ /**
24
+ * Internal unique identifier for the object. You should not have to use this, use code instead.
25
+ * @type {number}
26
+ * @memberof PartnerLinkClass
27
+ */
28
+ 'id': number;
29
+ /**
30
+ * Unique identifier of the partner that this object belongs to.
31
+ * @type {string}
32
+ * @memberof PartnerLinkClass
33
+ */
34
+ 'partnerCode': string;
35
+ /**
36
+ * Unique identifier of the partner role that this object belongs to.
37
+ * @type {string}
38
+ * @memberof PartnerLinkClass
39
+ */
40
+ 'partnerRoleCode': string;
41
+ /**
42
+ * Unique identifier of the policy that this object belongs to.
43
+ * @type {string}
44
+ * @memberof PartnerLinkClass
45
+ */
46
+ 'policyCode'?: string;
47
+ /**
48
+ * Unique identifier of the lead that this object belongs to.
49
+ * @type {string}
50
+ * @memberof PartnerLinkClass
51
+ */
52
+ 'leadCode'?: string;
53
+ /**
54
+ * Date from which the partner should be linked.
55
+ * @type {string}
56
+ * @memberof PartnerLinkClass
57
+ */
58
+ 'startDate': string;
59
+ /**
60
+ * Date to which the partner should be linked.
61
+ * @type {string}
62
+ * @memberof PartnerLinkClass
63
+ */
64
+ 'endDate'?: string;
65
+ /**
66
+ * Time at which the object was created.
67
+ * @type {string}
68
+ * @memberof PartnerLinkClass
69
+ */
70
+ 'createdAt': string;
71
+ /**
72
+ * Time at which the object was updated.
73
+ * @type {string}
74
+ * @memberof PartnerLinkClass
75
+ */
76
+ 'updatedAt': string;
77
+ }
78
+
@@ -76,6 +76,12 @@ export interface PolicyClass {
76
76
  * @memberof PolicyClass
77
77
  */
78
78
  'ern': string;
79
+ /**
80
+ * Unique identifier of the lead that this object belongs to.
81
+ * @type {string}
82
+ * @memberof PolicyClass
83
+ */
84
+ 'leadCode'?: string;
79
85
  /**
80
86
  * Organization name.
81
87
  * @type {string}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emilgroup/customer-sdk-node",
3
- "version": "1.33.0",
3
+ "version": "1.34.0",
4
4
  "description": "OpenAPI client for @emilgroup/customer-sdk-node",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [
@@ -23,7 +23,7 @@
23
23
  "url": "^0.11.0"
24
24
  },
25
25
  "devDependencies": {
26
- "@types/node": "^12.11.5",
26
+ "@types/node": "^12.11.5",
27
27
  "typescript": "^4.0"
28
28
  }
29
29
  }