@emilgroup/partner-portal-sdk 1.5.0 → 1.6.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/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/partner-portal-sdk@1.5.0 --save
20
+ npm install @emilgroup/partner-portal-sdk@1.6.1-beta.15 --save
21
21
  ```
22
22
  or
23
23
  ```
24
- yarn add @emilgroup/partner-portal-sdk@1.5.0
24
+ yarn add @emilgroup/partner-portal-sdk@1.6.1-beta.15
25
25
  ```
26
26
 
27
27
  And then you can import `IntermediaryApi`.
@@ -43,7 +43,7 @@ import { PolicyClass } from '../models';
43
43
  export const IntermediaryApiAxiosParamCreator = function (configuration?: Configuration) {
44
44
  return {
45
45
  /**
46
- * Retrieves the details of a lead associated with the logged-in partner. Supply the unique lead code, and Emil API will return the corresponding lead information.
46
+ * Retrieves the details of a lead associated with the logged-in partner. Supply the unique lead code, and Emil API will return the corresponding lead information. **Required Permissions** none
47
47
  * @summary Retrieve the lead
48
48
  * @param {string} code Unique identifier for the object.
49
49
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -88,7 +88,7 @@ export const IntermediaryApiAxiosParamCreator = function (configuration?: Config
88
88
  };
89
89
  },
90
90
  /**
91
- * Retrieves the details of a related partner or the logged-in partner if their code or \'me\' is provided. Supply the unique partner code, and Emil API will return the corresponding partner information.
91
+ * Retrieves the details of a related partner or the logged-in partner if their code or \'me\' is provided. Supply the unique partner code, and Emil API will return the corresponding partner information. **Required Permissions** none
92
92
  * @summary Retrieve the partner
93
93
  * @param {string} code The partner code or \"me\" for the currently logged in partner.
94
94
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -133,7 +133,7 @@ export const IntermediaryApiAxiosParamCreator = function (configuration?: Config
133
133
  };
134
134
  },
135
135
  /**
136
- * Retrieves the details of a policy associated with the logged-in partner. Supply the unique policy code, and Emil API will return the corresponding policy information.
136
+ * Retrieves the details of a policy associated with the logged-in partner. Supply the unique policy code, and Emil API will return the corresponding policy information. **Required Permissions** none
137
137
  * @summary Retrieve the policy
138
138
  * @param {string} code Unique identifier for the object.
139
139
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -178,7 +178,7 @@ export const IntermediaryApiAxiosParamCreator = function (configuration?: Config
178
178
  };
179
179
  },
180
180
  /**
181
- * Retrieves the details of a policyholder linked to the leads and policies the logged-in partner is associated with. Supply the unique policyholder code, and Emil API will return the corresponding policyholder information.
181
+ * Retrieves the details of a policyholder linked to the leads and policies the logged-in partner is associated with. Supply the unique policyholder code, and Emil API will return the corresponding policyholder information. **Required Permissions** none
182
182
  * @summary Retrieve the policyholder
183
183
  * @param {string} code Unique identifier for the object.
184
184
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -223,16 +223,16 @@ export const IntermediaryApiAxiosParamCreator = function (configuration?: Config
223
223
  };
224
224
  },
225
225
  /**
226
- * Returns a list of leads associated with the logged-in partner. The leads are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
226
+ * Returns a list of leads associated with the logged-in partner. The leads are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** none
227
227
  * @summary List leads
228
228
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
229
229
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
230
230
  * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
231
- * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, status, leadNumber, accountCode, productSlug, ern, createdAt, updatedAt, partnerCode</i>
231
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, status, leadNumber, accountCode, productSlug, ern, createdAt, updatedAt, partnerCode</i>
232
232
  * @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
233
233
  * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt, code, status, leadNumber, updatedAt</i>
234
234
  * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: partnerLinks<i>
235
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, status, leadNumber, accountCode, productSlug, ern, createdAt, updatedAt, partnerCode</i>
235
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, status, leadNumber, accountCode, productSlug, ern, createdAt, updatedAt, partnerCode</i>
236
236
  * @param {*} [options] Override http request option.
237
237
  * @throws {RequiredError}
238
238
  */
@@ -299,16 +299,16 @@ export const IntermediaryApiAxiosParamCreator = function (configuration?: Config
299
299
  };
300
300
  },
301
301
  /**
302
- * Returns a list of partners related to the logged-in partner. The partners are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
302
+ * Returns a list of partners related to the logged-in partner. The partners are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** none
303
303
  * @summary List partners
304
304
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
305
305
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
306
306
  * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
307
- * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, displayName, createdAt, updatedAt, tags, tagSlugs, partnerTypeId, tenantUserCode, partnerNumber</i>
307
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, displayName, createdAt, updatedAt, tags, tagSlugs, partnerTypeId, tenantUserCode, partnerNumber</i>
308
308
  * @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
309
309
  * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, code, displayName, createdAt, updatedAt, version, tagSlugs</i>
310
310
  * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: partner<i>
311
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, displayName, createdAt, updatedAt, tags, tagSlugs, partnerTypeId, tenantUserCode, partnerNumber</i>
311
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, displayName, createdAt, updatedAt, tags, tagSlugs, partnerTypeId, tenantUserCode, partnerNumber</i>
312
312
  * @param {*} [options] Override http request option.
313
313
  * @throws {RequiredError}
314
314
  */
@@ -375,16 +375,16 @@ export const IntermediaryApiAxiosParamCreator = function (configuration?: Config
375
375
  };
376
376
  },
377
377
  /**
378
- * Returns a list of policies associated with the logged-in partner. The policies are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
378
+ * Returns a list of policies associated with the logged-in partner. The policies are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** none
379
379
  * @summary List policies
380
380
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
381
381
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
382
382
  * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
383
- * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, leadCode, policyNumber, holder, policyStartDate, productSlug, productVersionId, productId, accountCode, productName, status, statuses, createdAt, policyData, partnerCode</i>
383
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, leadCode, policyNumber, holder, policyStartDate, productSlug, productVersionId, productId, accountCode, productName, status, statuses, createdAt, policyData, partnerCode</i>
384
384
  * @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
385
385
  * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, policyNumber, createdAt, updatedAt, policyStartDate, productVersionId, productId</i>
386
386
  * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: currentVersion, partnerLinks<i>
387
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, leadCode, policyNumber, holder, policyStartDate, productSlug, productVersionId, productId, accountCode, productName, status, statuses, createdAt, policyData, partnerCode</i>
387
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, leadCode, policyNumber, holder, policyStartDate, productSlug, productVersionId, productId, accountCode, productName, status, statuses, createdAt, policyData, partnerCode</i>
388
388
  * @param {*} [options] Override http request option.
389
389
  * @throws {RequiredError}
390
390
  */
@@ -451,16 +451,16 @@ export const IntermediaryApiAxiosParamCreator = function (configuration?: Config
451
451
  };
452
452
  },
453
453
  /**
454
- * Returns a list of policyholders linked to the leads and policies the logged-in partner is associated with. The policyholders are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
454
+ * Returns a list of policyholders linked to the leads and policies the logged-in partner is associated with. The policyholders are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** none
455
455
  * @summary List policyholders
456
456
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
457
457
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
458
458
  * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
459
- * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: firstName, code, email, createdAt, birthDate, accountNumber, title, lastName, gender, street, zipCode, city, houseNumber, phone, type, companyName</i>
459
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: firstName, code, email, createdAt, birthDate, accountNumber, title, lastName, gender, street, zipCode, city, houseNumber, phone, type, companyName</i>
460
460
  * @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
461
461
  * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, firstName, lastName, email, createdAt, accountNumber</i>
462
462
  * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/>
463
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: firstName, code, email, createdAt, birthDate, accountNumber, title, lastName, gender, street, zipCode, city, houseNumber, phone, type, companyName</i>
463
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: firstName, code, email, createdAt, birthDate, accountNumber, title, lastName, gender, street, zipCode, city, houseNumber, phone, type, companyName</i>
464
464
  * @param {*} [options] Override http request option.
465
465
  * @throws {RequiredError}
466
466
  */
@@ -537,7 +537,7 @@ export const IntermediaryApiFp = function(configuration?: Configuration) {
537
537
  const localVarAxiosParamCreator = IntermediaryApiAxiosParamCreator(configuration)
538
538
  return {
539
539
  /**
540
- * Retrieves the details of a lead associated with the logged-in partner. Supply the unique lead code, and Emil API will return the corresponding lead information.
540
+ * Retrieves the details of a lead associated with the logged-in partner. Supply the unique lead code, and Emil API will return the corresponding lead information. **Required Permissions** none
541
541
  * @summary Retrieve the lead
542
542
  * @param {string} code Unique identifier for the object.
543
543
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -549,7 +549,7 @@ export const IntermediaryApiFp = function(configuration?: Configuration) {
549
549
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
550
550
  },
551
551
  /**
552
- * Retrieves the details of a related partner or the logged-in partner if their code or \'me\' is provided. Supply the unique partner code, and Emil API will return the corresponding partner information.
552
+ * Retrieves the details of a related partner or the logged-in partner if their code or \'me\' is provided. Supply the unique partner code, and Emil API will return the corresponding partner information. **Required Permissions** none
553
553
  * @summary Retrieve the partner
554
554
  * @param {string} code The partner code or \"me\" for the currently logged in partner.
555
555
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -561,7 +561,7 @@ export const IntermediaryApiFp = function(configuration?: Configuration) {
561
561
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
562
562
  },
563
563
  /**
564
- * Retrieves the details of a policy associated with the logged-in partner. Supply the unique policy code, and Emil API will return the corresponding policy information.
564
+ * Retrieves the details of a policy associated with the logged-in partner. Supply the unique policy code, and Emil API will return the corresponding policy information. **Required Permissions** none
565
565
  * @summary Retrieve the policy
566
566
  * @param {string} code Unique identifier for the object.
567
567
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -573,7 +573,7 @@ export const IntermediaryApiFp = function(configuration?: Configuration) {
573
573
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
574
574
  },
575
575
  /**
576
- * Retrieves the details of a policyholder linked to the leads and policies the logged-in partner is associated with. Supply the unique policyholder code, and Emil API will return the corresponding policyholder information.
576
+ * Retrieves the details of a policyholder linked to the leads and policies the logged-in partner is associated with. Supply the unique policyholder code, and Emil API will return the corresponding policyholder information. **Required Permissions** none
577
577
  * @summary Retrieve the policyholder
578
578
  * @param {string} code Unique identifier for the object.
579
579
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -585,16 +585,16 @@ export const IntermediaryApiFp = function(configuration?: Configuration) {
585
585
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
586
586
  },
587
587
  /**
588
- * Returns a list of leads associated with the logged-in partner. The leads are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
588
+ * Returns a list of leads associated with the logged-in partner. The leads are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** none
589
589
  * @summary List leads
590
590
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
591
591
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
592
592
  * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
593
- * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, status, leadNumber, accountCode, productSlug, ern, createdAt, updatedAt, partnerCode</i>
593
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, status, leadNumber, accountCode, productSlug, ern, createdAt, updatedAt, partnerCode</i>
594
594
  * @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
595
595
  * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt, code, status, leadNumber, updatedAt</i>
596
596
  * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: partnerLinks<i>
597
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, status, leadNumber, accountCode, productSlug, ern, createdAt, updatedAt, partnerCode</i>
597
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, status, leadNumber, accountCode, productSlug, ern, createdAt, updatedAt, partnerCode</i>
598
598
  * @param {*} [options] Override http request option.
599
599
  * @throws {RequiredError}
600
600
  */
@@ -603,16 +603,16 @@ export const IntermediaryApiFp = function(configuration?: Configuration) {
603
603
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
604
604
  },
605
605
  /**
606
- * Returns a list of partners related to the logged-in partner. The partners are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
606
+ * Returns a list of partners related to the logged-in partner. The partners are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** none
607
607
  * @summary List partners
608
608
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
609
609
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
610
610
  * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
611
- * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, displayName, createdAt, updatedAt, tags, tagSlugs, partnerTypeId, tenantUserCode, partnerNumber</i>
611
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, displayName, createdAt, updatedAt, tags, tagSlugs, partnerTypeId, tenantUserCode, partnerNumber</i>
612
612
  * @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
613
613
  * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, code, displayName, createdAt, updatedAt, version, tagSlugs</i>
614
614
  * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: partner<i>
615
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, displayName, createdAt, updatedAt, tags, tagSlugs, partnerTypeId, tenantUserCode, partnerNumber</i>
615
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, displayName, createdAt, updatedAt, tags, tagSlugs, partnerTypeId, tenantUserCode, partnerNumber</i>
616
616
  * @param {*} [options] Override http request option.
617
617
  * @throws {RequiredError}
618
618
  */
@@ -621,16 +621,16 @@ export const IntermediaryApiFp = function(configuration?: Configuration) {
621
621
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
622
622
  },
623
623
  /**
624
- * Returns a list of policies associated with the logged-in partner. The policies are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
624
+ * Returns a list of policies associated with the logged-in partner. The policies are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** none
625
625
  * @summary List policies
626
626
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
627
627
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
628
628
  * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
629
- * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, leadCode, policyNumber, holder, policyStartDate, productSlug, productVersionId, productId, accountCode, productName, status, statuses, createdAt, policyData, partnerCode</i>
629
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, leadCode, policyNumber, holder, policyStartDate, productSlug, productVersionId, productId, accountCode, productName, status, statuses, createdAt, policyData, partnerCode</i>
630
630
  * @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
631
631
  * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, policyNumber, createdAt, updatedAt, policyStartDate, productVersionId, productId</i>
632
632
  * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: currentVersion, partnerLinks<i>
633
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, leadCode, policyNumber, holder, policyStartDate, productSlug, productVersionId, productId, accountCode, productName, status, statuses, createdAt, policyData, partnerCode</i>
633
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, leadCode, policyNumber, holder, policyStartDate, productSlug, productVersionId, productId, accountCode, productName, status, statuses, createdAt, policyData, partnerCode</i>
634
634
  * @param {*} [options] Override http request option.
635
635
  * @throws {RequiredError}
636
636
  */
@@ -639,16 +639,16 @@ export const IntermediaryApiFp = function(configuration?: Configuration) {
639
639
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
640
640
  },
641
641
  /**
642
- * Returns a list of policyholders linked to the leads and policies the logged-in partner is associated with. The policyholders are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
642
+ * Returns a list of policyholders linked to the leads and policies the logged-in partner is associated with. The policyholders are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** none
643
643
  * @summary List policyholders
644
644
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
645
645
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
646
646
  * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
647
- * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: firstName, code, email, createdAt, birthDate, accountNumber, title, lastName, gender, street, zipCode, city, houseNumber, phone, type, companyName</i>
647
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: firstName, code, email, createdAt, birthDate, accountNumber, title, lastName, gender, street, zipCode, city, houseNumber, phone, type, companyName</i>
648
648
  * @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
649
649
  * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, firstName, lastName, email, createdAt, accountNumber</i>
650
650
  * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/>
651
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: firstName, code, email, createdAt, birthDate, accountNumber, title, lastName, gender, street, zipCode, city, houseNumber, phone, type, companyName</i>
651
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: firstName, code, email, createdAt, birthDate, accountNumber, title, lastName, gender, street, zipCode, city, houseNumber, phone, type, companyName</i>
652
652
  * @param {*} [options] Override http request option.
653
653
  * @throws {RequiredError}
654
654
  */
@@ -667,7 +667,7 @@ export const IntermediaryApiFactory = function (configuration?: Configuration, b
667
667
  const localVarFp = IntermediaryApiFp(configuration)
668
668
  return {
669
669
  /**
670
- * Retrieves the details of a lead associated with the logged-in partner. Supply the unique lead code, and Emil API will return the corresponding lead information.
670
+ * Retrieves the details of a lead associated with the logged-in partner. Supply the unique lead code, and Emil API will return the corresponding lead information. **Required Permissions** none
671
671
  * @summary Retrieve the lead
672
672
  * @param {string} code Unique identifier for the object.
673
673
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -678,7 +678,7 @@ export const IntermediaryApiFactory = function (configuration?: Configuration, b
678
678
  return localVarFp.getLead(code, authorization, options).then((request) => request(axios, basePath));
679
679
  },
680
680
  /**
681
- * Retrieves the details of a related partner or the logged-in partner if their code or \'me\' is provided. Supply the unique partner code, and Emil API will return the corresponding partner information.
681
+ * Retrieves the details of a related partner or the logged-in partner if their code or \'me\' is provided. Supply the unique partner code, and Emil API will return the corresponding partner information. **Required Permissions** none
682
682
  * @summary Retrieve the partner
683
683
  * @param {string} code The partner code or \"me\" for the currently logged in partner.
684
684
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -689,7 +689,7 @@ export const IntermediaryApiFactory = function (configuration?: Configuration, b
689
689
  return localVarFp.getPartner(code, authorization, options).then((request) => request(axios, basePath));
690
690
  },
691
691
  /**
692
- * Retrieves the details of a policy associated with the logged-in partner. Supply the unique policy code, and Emil API will return the corresponding policy information.
692
+ * Retrieves the details of a policy associated with the logged-in partner. Supply the unique policy code, and Emil API will return the corresponding policy information. **Required Permissions** none
693
693
  * @summary Retrieve the policy
694
694
  * @param {string} code Unique identifier for the object.
695
695
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -700,7 +700,7 @@ export const IntermediaryApiFactory = function (configuration?: Configuration, b
700
700
  return localVarFp.getPolicy(code, authorization, options).then((request) => request(axios, basePath));
701
701
  },
702
702
  /**
703
- * Retrieves the details of a policyholder linked to the leads and policies the logged-in partner is associated with. Supply the unique policyholder code, and Emil API will return the corresponding policyholder information.
703
+ * Retrieves the details of a policyholder linked to the leads and policies the logged-in partner is associated with. Supply the unique policyholder code, and Emil API will return the corresponding policyholder information. **Required Permissions** none
704
704
  * @summary Retrieve the policyholder
705
705
  * @param {string} code Unique identifier for the object.
706
706
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -711,16 +711,16 @@ export const IntermediaryApiFactory = function (configuration?: Configuration, b
711
711
  return localVarFp.getPolicyholder(code, authorization, options).then((request) => request(axios, basePath));
712
712
  },
713
713
  /**
714
- * Returns a list of leads associated with the logged-in partner. The leads are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
714
+ * Returns a list of leads associated with the logged-in partner. The leads are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** none
715
715
  * @summary List leads
716
716
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
717
717
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
718
718
  * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
719
- * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, status, leadNumber, accountCode, productSlug, ern, createdAt, updatedAt, partnerCode</i>
719
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, status, leadNumber, accountCode, productSlug, ern, createdAt, updatedAt, partnerCode</i>
720
720
  * @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
721
721
  * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt, code, status, leadNumber, updatedAt</i>
722
722
  * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: partnerLinks<i>
723
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, status, leadNumber, accountCode, productSlug, ern, createdAt, updatedAt, partnerCode</i>
723
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, status, leadNumber, accountCode, productSlug, ern, createdAt, updatedAt, partnerCode</i>
724
724
  * @param {*} [options] Override http request option.
725
725
  * @throws {RequiredError}
726
726
  */
@@ -728,16 +728,16 @@ export const IntermediaryApiFactory = function (configuration?: Configuration, b
728
728
  return localVarFp.listLeads(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
729
729
  },
730
730
  /**
731
- * Returns a list of partners related to the logged-in partner. The partners are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
731
+ * Returns a list of partners related to the logged-in partner. The partners are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** none
732
732
  * @summary List partners
733
733
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
734
734
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
735
735
  * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
736
- * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, displayName, createdAt, updatedAt, tags, tagSlugs, partnerTypeId, tenantUserCode, partnerNumber</i>
736
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, displayName, createdAt, updatedAt, tags, tagSlugs, partnerTypeId, tenantUserCode, partnerNumber</i>
737
737
  * @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
738
738
  * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, code, displayName, createdAt, updatedAt, version, tagSlugs</i>
739
739
  * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: partner<i>
740
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, displayName, createdAt, updatedAt, tags, tagSlugs, partnerTypeId, tenantUserCode, partnerNumber</i>
740
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, displayName, createdAt, updatedAt, tags, tagSlugs, partnerTypeId, tenantUserCode, partnerNumber</i>
741
741
  * @param {*} [options] Override http request option.
742
742
  * @throws {RequiredError}
743
743
  */
@@ -745,16 +745,16 @@ export const IntermediaryApiFactory = function (configuration?: Configuration, b
745
745
  return localVarFp.listPartners(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
746
746
  },
747
747
  /**
748
- * Returns a list of policies associated with the logged-in partner. The policies are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
748
+ * Returns a list of policies associated with the logged-in partner. The policies are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** none
749
749
  * @summary List policies
750
750
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
751
751
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
752
752
  * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
753
- * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, leadCode, policyNumber, holder, policyStartDate, productSlug, productVersionId, productId, accountCode, productName, status, statuses, createdAt, policyData, partnerCode</i>
753
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, leadCode, policyNumber, holder, policyStartDate, productSlug, productVersionId, productId, accountCode, productName, status, statuses, createdAt, policyData, partnerCode</i>
754
754
  * @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
755
755
  * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, policyNumber, createdAt, updatedAt, policyStartDate, productVersionId, productId</i>
756
756
  * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: currentVersion, partnerLinks<i>
757
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, leadCode, policyNumber, holder, policyStartDate, productSlug, productVersionId, productId, accountCode, productName, status, statuses, createdAt, policyData, partnerCode</i>
757
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, leadCode, policyNumber, holder, policyStartDate, productSlug, productVersionId, productId, accountCode, productName, status, statuses, createdAt, policyData, partnerCode</i>
758
758
  * @param {*} [options] Override http request option.
759
759
  * @throws {RequiredError}
760
760
  */
@@ -762,16 +762,16 @@ export const IntermediaryApiFactory = function (configuration?: Configuration, b
762
762
  return localVarFp.listPolicies(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
763
763
  },
764
764
  /**
765
- * Returns a list of policyholders linked to the leads and policies the logged-in partner is associated with. The policyholders are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
765
+ * Returns a list of policyholders linked to the leads and policies the logged-in partner is associated with. The policyholders are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** none
766
766
  * @summary List policyholders
767
767
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
768
768
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
769
769
  * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
770
- * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: firstName, code, email, createdAt, birthDate, accountNumber, title, lastName, gender, street, zipCode, city, houseNumber, phone, type, companyName</i>
770
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: firstName, code, email, createdAt, birthDate, accountNumber, title, lastName, gender, street, zipCode, city, houseNumber, phone, type, companyName</i>
771
771
  * @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
772
772
  * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, firstName, lastName, email, createdAt, accountNumber</i>
773
773
  * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/>
774
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: firstName, code, email, createdAt, birthDate, accountNumber, title, lastName, gender, street, zipCode, city, houseNumber, phone, type, companyName</i>
774
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: firstName, code, email, createdAt, birthDate, accountNumber, title, lastName, gender, street, zipCode, city, houseNumber, phone, type, companyName</i>
775
775
  * @param {*} [options] Override http request option.
776
776
  * @throws {RequiredError}
777
777
  */
@@ -893,7 +893,7 @@ export interface IntermediaryApiListLeadsRequest {
893
893
  readonly pageToken?: string
894
894
 
895
895
  /**
896
- * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, status, leadNumber, accountCode, productSlug, ern, createdAt, updatedAt, partnerCode</i>
896
+ * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, status, leadNumber, accountCode, productSlug, ern, createdAt, updatedAt, partnerCode</i>
897
897
  * @type {string}
898
898
  * @memberof IntermediaryApiListLeads
899
899
  */
@@ -921,7 +921,7 @@ export interface IntermediaryApiListLeadsRequest {
921
921
  readonly expand?: string
922
922
 
923
923
  /**
924
- * Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, status, leadNumber, accountCode, productSlug, ern, createdAt, updatedAt, partnerCode</i>
924
+ * Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, status, leadNumber, accountCode, productSlug, ern, createdAt, updatedAt, partnerCode</i>
925
925
  * @type {string}
926
926
  * @memberof IntermediaryApiListLeads
927
927
  */
@@ -956,7 +956,7 @@ export interface IntermediaryApiListPartnersRequest {
956
956
  readonly pageToken?: string
957
957
 
958
958
  /**
959
- * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, displayName, createdAt, updatedAt, tags, tagSlugs, partnerTypeId, tenantUserCode, partnerNumber</i>
959
+ * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, displayName, createdAt, updatedAt, tags, tagSlugs, partnerTypeId, tenantUserCode, partnerNumber</i>
960
960
  * @type {string}
961
961
  * @memberof IntermediaryApiListPartners
962
962
  */
@@ -984,7 +984,7 @@ export interface IntermediaryApiListPartnersRequest {
984
984
  readonly expand?: string
985
985
 
986
986
  /**
987
- * Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, displayName, createdAt, updatedAt, tags, tagSlugs, partnerTypeId, tenantUserCode, partnerNumber</i>
987
+ * Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, displayName, createdAt, updatedAt, tags, tagSlugs, partnerTypeId, tenantUserCode, partnerNumber</i>
988
988
  * @type {string}
989
989
  * @memberof IntermediaryApiListPartners
990
990
  */
@@ -1019,7 +1019,7 @@ export interface IntermediaryApiListPoliciesRequest {
1019
1019
  readonly pageToken?: string
1020
1020
 
1021
1021
  /**
1022
- * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, leadCode, policyNumber, holder, policyStartDate, productSlug, productVersionId, productId, accountCode, productName, status, statuses, createdAt, policyData, partnerCode</i>
1022
+ * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, leadCode, policyNumber, holder, policyStartDate, productSlug, productVersionId, productId, accountCode, productName, status, statuses, createdAt, policyData, partnerCode</i>
1023
1023
  * @type {string}
1024
1024
  * @memberof IntermediaryApiListPolicies
1025
1025
  */
@@ -1047,7 +1047,7 @@ export interface IntermediaryApiListPoliciesRequest {
1047
1047
  readonly expand?: string
1048
1048
 
1049
1049
  /**
1050
- * Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, leadCode, policyNumber, holder, policyStartDate, productSlug, productVersionId, productId, accountCode, productName, status, statuses, createdAt, policyData, partnerCode</i>
1050
+ * Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, leadCode, policyNumber, holder, policyStartDate, productSlug, productVersionId, productId, accountCode, productName, status, statuses, createdAt, policyData, partnerCode</i>
1051
1051
  * @type {string}
1052
1052
  * @memberof IntermediaryApiListPolicies
1053
1053
  */
@@ -1082,7 +1082,7 @@ export interface IntermediaryApiListPolicyholdersRequest {
1082
1082
  readonly pageToken?: string
1083
1083
 
1084
1084
  /**
1085
- * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: firstName, code, email, createdAt, birthDate, accountNumber, title, lastName, gender, street, zipCode, city, houseNumber, phone, type, companyName</i>
1085
+ * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: firstName, code, email, createdAt, birthDate, accountNumber, title, lastName, gender, street, zipCode, city, houseNumber, phone, type, companyName</i>
1086
1086
  * @type {string}
1087
1087
  * @memberof IntermediaryApiListPolicyholders
1088
1088
  */
@@ -1110,7 +1110,7 @@ export interface IntermediaryApiListPolicyholdersRequest {
1110
1110
  readonly expand?: string
1111
1111
 
1112
1112
  /**
1113
- * Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: firstName, code, email, createdAt, birthDate, accountNumber, title, lastName, gender, street, zipCode, city, houseNumber, phone, type, companyName</i>
1113
+ * Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: firstName, code, email, createdAt, birthDate, accountNumber, title, lastName, gender, street, zipCode, city, houseNumber, phone, type, companyName</i>
1114
1114
  * @type {string}
1115
1115
  * @memberof IntermediaryApiListPolicyholders
1116
1116
  */
@@ -1125,7 +1125,7 @@ export interface IntermediaryApiListPolicyholdersRequest {
1125
1125
  */
1126
1126
  export class IntermediaryApi extends BaseAPI {
1127
1127
  /**
1128
- * Retrieves the details of a lead associated with the logged-in partner. Supply the unique lead code, and Emil API will return the corresponding lead information.
1128
+ * Retrieves the details of a lead associated with the logged-in partner. Supply the unique lead code, and Emil API will return the corresponding lead information. **Required Permissions** none
1129
1129
  * @summary Retrieve the lead
1130
1130
  * @param {IntermediaryApiGetLeadRequest} requestParameters Request parameters.
1131
1131
  * @param {*} [options] Override http request option.
@@ -1137,7 +1137,7 @@ export class IntermediaryApi extends BaseAPI {
1137
1137
  }
1138
1138
 
1139
1139
  /**
1140
- * Retrieves the details of a related partner or the logged-in partner if their code or \'me\' is provided. Supply the unique partner code, and Emil API will return the corresponding partner information.
1140
+ * Retrieves the details of a related partner or the logged-in partner if their code or \'me\' is provided. Supply the unique partner code, and Emil API will return the corresponding partner information. **Required Permissions** none
1141
1141
  * @summary Retrieve the partner
1142
1142
  * @param {IntermediaryApiGetPartnerRequest} requestParameters Request parameters.
1143
1143
  * @param {*} [options] Override http request option.
@@ -1149,7 +1149,7 @@ export class IntermediaryApi extends BaseAPI {
1149
1149
  }
1150
1150
 
1151
1151
  /**
1152
- * Retrieves the details of a policy associated with the logged-in partner. Supply the unique policy code, and Emil API will return the corresponding policy information.
1152
+ * Retrieves the details of a policy associated with the logged-in partner. Supply the unique policy code, and Emil API will return the corresponding policy information. **Required Permissions** none
1153
1153
  * @summary Retrieve the policy
1154
1154
  * @param {IntermediaryApiGetPolicyRequest} requestParameters Request parameters.
1155
1155
  * @param {*} [options] Override http request option.
@@ -1161,7 +1161,7 @@ export class IntermediaryApi extends BaseAPI {
1161
1161
  }
1162
1162
 
1163
1163
  /**
1164
- * Retrieves the details of a policyholder linked to the leads and policies the logged-in partner is associated with. Supply the unique policyholder code, and Emil API will return the corresponding policyholder information.
1164
+ * Retrieves the details of a policyholder linked to the leads and policies the logged-in partner is associated with. Supply the unique policyholder code, and Emil API will return the corresponding policyholder information. **Required Permissions** none
1165
1165
  * @summary Retrieve the policyholder
1166
1166
  * @param {IntermediaryApiGetPolicyholderRequest} requestParameters Request parameters.
1167
1167
  * @param {*} [options] Override http request option.
@@ -1173,7 +1173,7 @@ export class IntermediaryApi extends BaseAPI {
1173
1173
  }
1174
1174
 
1175
1175
  /**
1176
- * Returns a list of leads associated with the logged-in partner. The leads are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
1176
+ * Returns a list of leads associated with the logged-in partner. The leads are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** none
1177
1177
  * @summary List leads
1178
1178
  * @param {IntermediaryApiListLeadsRequest} requestParameters Request parameters.
1179
1179
  * @param {*} [options] Override http request option.
@@ -1185,7 +1185,7 @@ export class IntermediaryApi extends BaseAPI {
1185
1185
  }
1186
1186
 
1187
1187
  /**
1188
- * Returns a list of partners related to the logged-in partner. The partners are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
1188
+ * Returns a list of partners related to the logged-in partner. The partners are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** none
1189
1189
  * @summary List partners
1190
1190
  * @param {IntermediaryApiListPartnersRequest} requestParameters Request parameters.
1191
1191
  * @param {*} [options] Override http request option.
@@ -1197,7 +1197,7 @@ export class IntermediaryApi extends BaseAPI {
1197
1197
  }
1198
1198
 
1199
1199
  /**
1200
- * Returns a list of policies associated with the logged-in partner. The policies are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
1200
+ * Returns a list of policies associated with the logged-in partner. The policies are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** none
1201
1201
  * @summary List policies
1202
1202
  * @param {IntermediaryApiListPoliciesRequest} requestParameters Request parameters.
1203
1203
  * @param {*} [options] Override http request option.
@@ -1209,7 +1209,7 @@ export class IntermediaryApi extends BaseAPI {
1209
1209
  }
1210
1210
 
1211
1211
  /**
1212
- * Returns a list of policyholders linked to the leads and policies the logged-in partner is associated with. The policyholders are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
1212
+ * Returns a list of policyholders linked to the leads and policies the logged-in partner is associated with. The policyholders are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** none
1213
1213
  * @summary List policyholders
1214
1214
  * @param {IntermediaryApiListPolicyholdersRequest} requestParameters Request parameters.
1215
1215
  * @param {*} [options] Override http request option.
package/base.ts CHANGED
@@ -53,6 +53,7 @@ export enum Environment {
53
53
  Staging = 'https://apiv2-staging.emil.de',
54
54
  Development = 'https://apiv2-dev.emil.de',
55
55
  ProductionZurich = 'https://eu-central-2.apiv2.emil.de',
56
+ StagingZurich = 'https://eu-central-2.apiv2-staging.emil.de',
56
57
  }
57
58
 
58
59
  let _retry_count = 0