@emilgroup/partner-portal-sdk 1.6.1-beta.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.6.1-beta.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.6.1-beta.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,7 +223,7 @@ 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.
@@ -299,7 +299,7 @@ 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.
@@ -375,7 +375,7 @@ 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.
@@ -451,7 +451,7 @@ 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.
@@ -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,7 +585,7 @@ 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.
@@ -603,7 +603,7 @@ 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.
@@ -621,7 +621,7 @@ 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.
@@ -639,7 +639,7 @@ 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.
@@ -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,7 +711,7 @@ 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.
@@ -728,7 +728,7 @@ 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.
@@ -745,7 +745,7 @@ 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.
@@ -762,7 +762,7 @@ 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.
@@ -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
@@ -26,7 +26,7 @@ import { PolicyClass } from '../models';
26
26
  */
27
27
  export declare const IntermediaryApiAxiosParamCreator: (configuration?: Configuration) => {
28
28
  /**
29
- * 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.
29
+ * 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
30
30
  * @summary Retrieve the lead
31
31
  * @param {string} code Unique identifier for the object.
32
32
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -35,7 +35,7 @@ export declare const IntermediaryApiAxiosParamCreator: (configuration?: Configur
35
35
  */
36
36
  getLead: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
37
37
  /**
38
- * 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.
38
+ * 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
39
39
  * @summary Retrieve the partner
40
40
  * @param {string} code The partner code or \&quot;me\&quot; for the currently logged in partner.
41
41
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -44,7 +44,7 @@ export declare const IntermediaryApiAxiosParamCreator: (configuration?: Configur
44
44
  */
45
45
  getPartner: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
46
46
  /**
47
- * 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.
47
+ * 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
48
48
  * @summary Retrieve the policy
49
49
  * @param {string} code Unique identifier for the object.
50
50
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -53,7 +53,7 @@ export declare const IntermediaryApiAxiosParamCreator: (configuration?: Configur
53
53
  */
54
54
  getPolicy: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
55
55
  /**
56
- * 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.
56
+ * 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
57
57
  * @summary Retrieve the policyholder
58
58
  * @param {string} code Unique identifier for the object.
59
59
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -62,7 +62,7 @@ export declare const IntermediaryApiAxiosParamCreator: (configuration?: Configur
62
62
  */
63
63
  getPolicyholder: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
64
64
  /**
65
- * 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.
65
+ * 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
66
66
  * @summary List leads
67
67
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
68
68
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
@@ -77,7 +77,7 @@ export declare const IntermediaryApiAxiosParamCreator: (configuration?: Configur
77
77
  */
78
78
  listLeads: (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
79
79
  /**
80
- * 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.
80
+ * 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
81
81
  * @summary List partners
82
82
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
83
83
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
@@ -92,7 +92,7 @@ export declare const IntermediaryApiAxiosParamCreator: (configuration?: Configur
92
92
  */
93
93
  listPartners: (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
94
94
  /**
95
- * 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.
95
+ * 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
96
96
  * @summary List policies
97
97
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
98
98
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
@@ -107,7 +107,7 @@ export declare const IntermediaryApiAxiosParamCreator: (configuration?: Configur
107
107
  */
108
108
  listPolicies: (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
109
109
  /**
110
- * 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.
110
+ * 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
111
111
  * @summary List policyholders
112
112
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
113
113
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
@@ -128,7 +128,7 @@ export declare const IntermediaryApiAxiosParamCreator: (configuration?: Configur
128
128
  */
129
129
  export declare const IntermediaryApiFp: (configuration?: Configuration) => {
130
130
  /**
131
- * 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.
131
+ * 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
132
132
  * @summary Retrieve the lead
133
133
  * @param {string} code Unique identifier for the object.
134
134
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -137,7 +137,7 @@ export declare const IntermediaryApiFp: (configuration?: Configuration) => {
137
137
  */
138
138
  getLead(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LeadClass>>;
139
139
  /**
140
- * 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.
140
+ * 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
141
141
  * @summary Retrieve the partner
142
142
  * @param {string} code The partner code or \&quot;me\&quot; for the currently logged in partner.
143
143
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -146,7 +146,7 @@ export declare const IntermediaryApiFp: (configuration?: Configuration) => {
146
146
  */
147
147
  getPartner(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PartnerClass>>;
148
148
  /**
149
- * 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.
149
+ * 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
150
150
  * @summary Retrieve the policy
151
151
  * @param {string} code Unique identifier for the object.
152
152
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -155,7 +155,7 @@ export declare const IntermediaryApiFp: (configuration?: Configuration) => {
155
155
  */
156
156
  getPolicy(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PolicyClass>>;
157
157
  /**
158
- * 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.
158
+ * 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
159
159
  * @summary Retrieve the policyholder
160
160
  * @param {string} code Unique identifier for the object.
161
161
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -164,7 +164,7 @@ export declare const IntermediaryApiFp: (configuration?: Configuration) => {
164
164
  */
165
165
  getPolicyholder(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AccountClass>>;
166
166
  /**
167
- * 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.
167
+ * 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
168
168
  * @summary List leads
169
169
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
170
170
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
@@ -179,7 +179,7 @@ export declare const IntermediaryApiFp: (configuration?: Configuration) => {
179
179
  */
180
180
  listLeads(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListLeadsResponseClass>>;
181
181
  /**
182
- * 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.
182
+ * 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
183
183
  * @summary List partners
184
184
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
185
185
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
@@ -194,7 +194,7 @@ export declare const IntermediaryApiFp: (configuration?: Configuration) => {
194
194
  */
195
195
  listPartners(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListPartnersResponseClass>>;
196
196
  /**
197
- * 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.
197
+ * 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
198
198
  * @summary List policies
199
199
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
200
200
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
@@ -209,7 +209,7 @@ export declare const IntermediaryApiFp: (configuration?: Configuration) => {
209
209
  */
210
210
  listPolicies(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListPoliciesResponseClass>>;
211
211
  /**
212
- * 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.
212
+ * 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
213
213
  * @summary List policyholders
214
214
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
215
215
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
@@ -230,7 +230,7 @@ export declare const IntermediaryApiFp: (configuration?: Configuration) => {
230
230
  */
231
231
  export declare const IntermediaryApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
232
232
  /**
233
- * 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.
233
+ * 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
234
234
  * @summary Retrieve the lead
235
235
  * @param {string} code Unique identifier for the object.
236
236
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -239,7 +239,7 @@ export declare const IntermediaryApiFactory: (configuration?: Configuration, bas
239
239
  */
240
240
  getLead(code: string, authorization?: string, options?: any): AxiosPromise<LeadClass>;
241
241
  /**
242
- * 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.
242
+ * 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
243
243
  * @summary Retrieve the partner
244
244
  * @param {string} code The partner code or \&quot;me\&quot; for the currently logged in partner.
245
245
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -248,7 +248,7 @@ export declare const IntermediaryApiFactory: (configuration?: Configuration, bas
248
248
  */
249
249
  getPartner(code: string, authorization?: string, options?: any): AxiosPromise<PartnerClass>;
250
250
  /**
251
- * 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.
251
+ * 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
252
252
  * @summary Retrieve the policy
253
253
  * @param {string} code Unique identifier for the object.
254
254
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -257,7 +257,7 @@ export declare const IntermediaryApiFactory: (configuration?: Configuration, bas
257
257
  */
258
258
  getPolicy(code: string, authorization?: string, options?: any): AxiosPromise<PolicyClass>;
259
259
  /**
260
- * 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.
260
+ * 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
261
261
  * @summary Retrieve the policyholder
262
262
  * @param {string} code Unique identifier for the object.
263
263
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -266,7 +266,7 @@ export declare const IntermediaryApiFactory: (configuration?: Configuration, bas
266
266
  */
267
267
  getPolicyholder(code: string, authorization?: string, options?: any): AxiosPromise<AccountClass>;
268
268
  /**
269
- * 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.
269
+ * 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
270
270
  * @summary List leads
271
271
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
272
272
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
@@ -281,7 +281,7 @@ export declare const IntermediaryApiFactory: (configuration?: Configuration, bas
281
281
  */
282
282
  listLeads(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListLeadsResponseClass>;
283
283
  /**
284
- * 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.
284
+ * 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
285
285
  * @summary List partners
286
286
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
287
287
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
@@ -296,7 +296,7 @@ export declare const IntermediaryApiFactory: (configuration?: Configuration, bas
296
296
  */
297
297
  listPartners(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListPartnersResponseClass>;
298
298
  /**
299
- * 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.
299
+ * 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
300
300
  * @summary List policies
301
301
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
302
302
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
@@ -311,7 +311,7 @@ export declare const IntermediaryApiFactory: (configuration?: Configuration, bas
311
311
  */
312
312
  listPolicies(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListPoliciesResponseClass>;
313
313
  /**
314
- * 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.
314
+ * 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
315
315
  * @summary List policyholders
316
316
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
317
317
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
@@ -630,7 +630,7 @@ export interface IntermediaryApiListPolicyholdersRequest {
630
630
  */
631
631
  export declare class IntermediaryApi extends BaseAPI {
632
632
  /**
633
- * 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.
633
+ * 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
634
634
  * @summary Retrieve the lead
635
635
  * @param {IntermediaryApiGetLeadRequest} requestParameters Request parameters.
636
636
  * @param {*} [options] Override http request option.
@@ -639,7 +639,7 @@ export declare class IntermediaryApi extends BaseAPI {
639
639
  */
640
640
  getLead(requestParameters: IntermediaryApiGetLeadRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<LeadClass, any, {}>>;
641
641
  /**
642
- * 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.
642
+ * 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
643
643
  * @summary Retrieve the partner
644
644
  * @param {IntermediaryApiGetPartnerRequest} requestParameters Request parameters.
645
645
  * @param {*} [options] Override http request option.
@@ -648,7 +648,7 @@ export declare class IntermediaryApi extends BaseAPI {
648
648
  */
649
649
  getPartner(requestParameters: IntermediaryApiGetPartnerRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PartnerClass, any, {}>>;
650
650
  /**
651
- * 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.
651
+ * 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
652
652
  * @summary Retrieve the policy
653
653
  * @param {IntermediaryApiGetPolicyRequest} requestParameters Request parameters.
654
654
  * @param {*} [options] Override http request option.
@@ -657,7 +657,7 @@ export declare class IntermediaryApi extends BaseAPI {
657
657
  */
658
658
  getPolicy(requestParameters: IntermediaryApiGetPolicyRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PolicyClass, any, {}>>;
659
659
  /**
660
- * 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.
660
+ * 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
661
661
  * @summary Retrieve the policyholder
662
662
  * @param {IntermediaryApiGetPolicyholderRequest} requestParameters Request parameters.
663
663
  * @param {*} [options] Override http request option.
@@ -666,7 +666,7 @@ export declare class IntermediaryApi extends BaseAPI {
666
666
  */
667
667
  getPolicyholder(requestParameters: IntermediaryApiGetPolicyholderRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<AccountClass, any, {}>>;
668
668
  /**
669
- * 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.
669
+ * 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
670
670
  * @summary List leads
671
671
  * @param {IntermediaryApiListLeadsRequest} requestParameters Request parameters.
672
672
  * @param {*} [options] Override http request option.
@@ -675,7 +675,7 @@ export declare class IntermediaryApi extends BaseAPI {
675
675
  */
676
676
  listLeads(requestParameters?: IntermediaryApiListLeadsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListLeadsResponseClass, any, {}>>;
677
677
  /**
678
- * 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.
678
+ * 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
679
679
  * @summary List partners
680
680
  * @param {IntermediaryApiListPartnersRequest} requestParameters Request parameters.
681
681
  * @param {*} [options] Override http request option.
@@ -684,7 +684,7 @@ export declare class IntermediaryApi extends BaseAPI {
684
684
  */
685
685
  listPartners(requestParameters?: IntermediaryApiListPartnersRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListPartnersResponseClass, any, {}>>;
686
686
  /**
687
- * 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.
687
+ * 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
688
688
  * @summary List policies
689
689
  * @param {IntermediaryApiListPoliciesRequest} requestParameters Request parameters.
690
690
  * @param {*} [options] Override http request option.
@@ -693,7 +693,7 @@ export declare class IntermediaryApi extends BaseAPI {
693
693
  */
694
694
  listPolicies(requestParameters?: IntermediaryApiListPoliciesRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListPoliciesResponseClass, any, {}>>;
695
695
  /**
696
- * 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.
696
+ * 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
697
697
  * @summary List policyholders
698
698
  * @param {IntermediaryApiListPolicyholdersRequest} requestParameters Request parameters.
699
699
  * @param {*} [options] Override http request option.
@@ -93,7 +93,7 @@ var IntermediaryApiAxiosParamCreator = function (configuration) {
93
93
  var _this = this;
94
94
  return {
95
95
  /**
96
- * 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.
96
+ * 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
97
97
  * @summary Retrieve the lead
98
98
  * @param {string} code Unique identifier for the object.
99
99
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -141,7 +141,7 @@ var IntermediaryApiAxiosParamCreator = function (configuration) {
141
141
  });
142
142
  },
143
143
  /**
144
- * 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.
144
+ * 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
145
145
  * @summary Retrieve the partner
146
146
  * @param {string} code The partner code or \&quot;me\&quot; for the currently logged in partner.
147
147
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -189,7 +189,7 @@ var IntermediaryApiAxiosParamCreator = function (configuration) {
189
189
  });
190
190
  },
191
191
  /**
192
- * 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.
192
+ * 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
193
193
  * @summary Retrieve the policy
194
194
  * @param {string} code Unique identifier for the object.
195
195
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -237,7 +237,7 @@ var IntermediaryApiAxiosParamCreator = function (configuration) {
237
237
  });
238
238
  },
239
239
  /**
240
- * 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.
240
+ * 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
241
241
  * @summary Retrieve the policyholder
242
242
  * @param {string} code Unique identifier for the object.
243
243
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -285,7 +285,7 @@ var IntermediaryApiAxiosParamCreator = function (configuration) {
285
285
  });
286
286
  },
287
287
  /**
288
- * 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.
288
+ * 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
289
289
  * @summary List leads
290
290
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
291
291
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
@@ -357,7 +357,7 @@ var IntermediaryApiAxiosParamCreator = function (configuration) {
357
357
  });
358
358
  },
359
359
  /**
360
- * 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.
360
+ * 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
361
361
  * @summary List partners
362
362
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
363
363
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
@@ -429,7 +429,7 @@ var IntermediaryApiAxiosParamCreator = function (configuration) {
429
429
  });
430
430
  },
431
431
  /**
432
- * 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.
432
+ * 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
433
433
  * @summary List policies
434
434
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
435
435
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
@@ -501,7 +501,7 @@ var IntermediaryApiAxiosParamCreator = function (configuration) {
501
501
  });
502
502
  },
503
503
  /**
504
- * 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.
504
+ * 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
505
505
  * @summary List policyholders
506
506
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
507
507
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
@@ -583,7 +583,7 @@ var IntermediaryApiFp = function (configuration) {
583
583
  var localVarAxiosParamCreator = (0, exports.IntermediaryApiAxiosParamCreator)(configuration);
584
584
  return {
585
585
  /**
586
- * 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.
586
+ * 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
587
587
  * @summary Retrieve the lead
588
588
  * @param {string} code Unique identifier for the object.
589
589
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -604,7 +604,7 @@ var IntermediaryApiFp = function (configuration) {
604
604
  });
605
605
  },
606
606
  /**
607
- * 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.
607
+ * 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
608
608
  * @summary Retrieve the partner
609
609
  * @param {string} code The partner code or \&quot;me\&quot; for the currently logged in partner.
610
610
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -625,7 +625,7 @@ var IntermediaryApiFp = function (configuration) {
625
625
  });
626
626
  },
627
627
  /**
628
- * 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.
628
+ * 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
629
629
  * @summary Retrieve the policy
630
630
  * @param {string} code Unique identifier for the object.
631
631
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -646,7 +646,7 @@ var IntermediaryApiFp = function (configuration) {
646
646
  });
647
647
  },
648
648
  /**
649
- * 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.
649
+ * 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
650
650
  * @summary Retrieve the policyholder
651
651
  * @param {string} code Unique identifier for the object.
652
652
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -667,7 +667,7 @@ var IntermediaryApiFp = function (configuration) {
667
667
  });
668
668
  },
669
669
  /**
670
- * 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.
670
+ * 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
671
671
  * @summary List leads
672
672
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
673
673
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
@@ -694,7 +694,7 @@ var IntermediaryApiFp = function (configuration) {
694
694
  });
695
695
  },
696
696
  /**
697
- * 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.
697
+ * 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
698
698
  * @summary List partners
699
699
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
700
700
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
@@ -721,7 +721,7 @@ var IntermediaryApiFp = function (configuration) {
721
721
  });
722
722
  },
723
723
  /**
724
- * 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.
724
+ * 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
725
725
  * @summary List policies
726
726
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
727
727
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
@@ -748,7 +748,7 @@ var IntermediaryApiFp = function (configuration) {
748
748
  });
749
749
  },
750
750
  /**
751
- * 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.
751
+ * 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
752
752
  * @summary List policyholders
753
753
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
754
754
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
@@ -785,7 +785,7 @@ var IntermediaryApiFactory = function (configuration, basePath, axios) {
785
785
  var localVarFp = (0, exports.IntermediaryApiFp)(configuration);
786
786
  return {
787
787
  /**
788
- * 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.
788
+ * 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
789
789
  * @summary Retrieve the lead
790
790
  * @param {string} code Unique identifier for the object.
791
791
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -796,7 +796,7 @@ var IntermediaryApiFactory = function (configuration, basePath, axios) {
796
796
  return localVarFp.getLead(code, authorization, options).then(function (request) { return request(axios, basePath); });
797
797
  },
798
798
  /**
799
- * 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.
799
+ * 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
800
800
  * @summary Retrieve the partner
801
801
  * @param {string} code The partner code or \&quot;me\&quot; for the currently logged in partner.
802
802
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -807,7 +807,7 @@ var IntermediaryApiFactory = function (configuration, basePath, axios) {
807
807
  return localVarFp.getPartner(code, authorization, options).then(function (request) { return request(axios, basePath); });
808
808
  },
809
809
  /**
810
- * 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.
810
+ * 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
811
811
  * @summary Retrieve the policy
812
812
  * @param {string} code Unique identifier for the object.
813
813
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -818,7 +818,7 @@ var IntermediaryApiFactory = function (configuration, basePath, axios) {
818
818
  return localVarFp.getPolicy(code, authorization, options).then(function (request) { return request(axios, basePath); });
819
819
  },
820
820
  /**
821
- * 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.
821
+ * 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
822
822
  * @summary Retrieve the policyholder
823
823
  * @param {string} code Unique identifier for the object.
824
824
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -829,7 +829,7 @@ var IntermediaryApiFactory = function (configuration, basePath, axios) {
829
829
  return localVarFp.getPolicyholder(code, authorization, options).then(function (request) { return request(axios, basePath); });
830
830
  },
831
831
  /**
832
- * 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.
832
+ * 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
833
833
  * @summary List leads
834
834
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
835
835
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
@@ -846,7 +846,7 @@ var IntermediaryApiFactory = function (configuration, basePath, axios) {
846
846
  return localVarFp.listLeads(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
847
847
  },
848
848
  /**
849
- * 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.
849
+ * 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
850
850
  * @summary List partners
851
851
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
852
852
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
@@ -863,7 +863,7 @@ var IntermediaryApiFactory = function (configuration, basePath, axios) {
863
863
  return localVarFp.listPartners(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
864
864
  },
865
865
  /**
866
- * 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.
866
+ * 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
867
867
  * @summary List policies
868
868
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
869
869
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
@@ -880,7 +880,7 @@ var IntermediaryApiFactory = function (configuration, basePath, axios) {
880
880
  return localVarFp.listPolicies(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
881
881
  },
882
882
  /**
883
- * 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.
883
+ * 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
884
884
  * @summary List policyholders
885
885
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
886
886
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
@@ -911,7 +911,7 @@ var IntermediaryApi = /** @class */ (function (_super) {
911
911
  return _super !== null && _super.apply(this, arguments) || this;
912
912
  }
913
913
  /**
914
- * 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.
914
+ * 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
915
915
  * @summary Retrieve the lead
916
916
  * @param {IntermediaryApiGetLeadRequest} requestParameters Request parameters.
917
917
  * @param {*} [options] Override http request option.
@@ -923,7 +923,7 @@ var IntermediaryApi = /** @class */ (function (_super) {
923
923
  return (0, exports.IntermediaryApiFp)(this.configuration).getLead(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
924
924
  };
925
925
  /**
926
- * 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.
926
+ * 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
927
927
  * @summary Retrieve the partner
928
928
  * @param {IntermediaryApiGetPartnerRequest} requestParameters Request parameters.
929
929
  * @param {*} [options] Override http request option.
@@ -935,7 +935,7 @@ var IntermediaryApi = /** @class */ (function (_super) {
935
935
  return (0, exports.IntermediaryApiFp)(this.configuration).getPartner(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
936
936
  };
937
937
  /**
938
- * 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.
938
+ * 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
939
939
  * @summary Retrieve the policy
940
940
  * @param {IntermediaryApiGetPolicyRequest} requestParameters Request parameters.
941
941
  * @param {*} [options] Override http request option.
@@ -947,7 +947,7 @@ var IntermediaryApi = /** @class */ (function (_super) {
947
947
  return (0, exports.IntermediaryApiFp)(this.configuration).getPolicy(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
948
948
  };
949
949
  /**
950
- * 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.
950
+ * 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
951
951
  * @summary Retrieve the policyholder
952
952
  * @param {IntermediaryApiGetPolicyholderRequest} requestParameters Request parameters.
953
953
  * @param {*} [options] Override http request option.
@@ -959,7 +959,7 @@ var IntermediaryApi = /** @class */ (function (_super) {
959
959
  return (0, exports.IntermediaryApiFp)(this.configuration).getPolicyholder(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
960
960
  };
961
961
  /**
962
- * 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.
962
+ * 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
963
963
  * @summary List leads
964
964
  * @param {IntermediaryApiListLeadsRequest} requestParameters Request parameters.
965
965
  * @param {*} [options] Override http request option.
@@ -972,7 +972,7 @@ var IntermediaryApi = /** @class */ (function (_super) {
972
972
  return (0, exports.IntermediaryApiFp)(this.configuration).listLeads(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then(function (request) { return request(_this.axios, _this.basePath); });
973
973
  };
974
974
  /**
975
- * 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.
975
+ * 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
976
976
  * @summary List partners
977
977
  * @param {IntermediaryApiListPartnersRequest} requestParameters Request parameters.
978
978
  * @param {*} [options] Override http request option.
@@ -985,7 +985,7 @@ var IntermediaryApi = /** @class */ (function (_super) {
985
985
  return (0, exports.IntermediaryApiFp)(this.configuration).listPartners(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then(function (request) { return request(_this.axios, _this.basePath); });
986
986
  };
987
987
  /**
988
- * 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.
988
+ * 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
989
989
  * @summary List policies
990
990
  * @param {IntermediaryApiListPoliciesRequest} requestParameters Request parameters.
991
991
  * @param {*} [options] Override http request option.
@@ -998,7 +998,7 @@ var IntermediaryApi = /** @class */ (function (_super) {
998
998
  return (0, exports.IntermediaryApiFp)(this.configuration).listPolicies(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then(function (request) { return request(_this.axios, _this.basePath); });
999
999
  };
1000
1000
  /**
1001
- * 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.
1001
+ * 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
1002
1002
  * @summary List policyholders
1003
1003
  * @param {IntermediaryApiListPolicyholdersRequest} requestParameters Request parameters.
1004
1004
  * @param {*} [options] Override http request option.
package/dist/base.d.ts CHANGED
@@ -39,7 +39,8 @@ export declare enum Environment {
39
39
  Test = "https://apiv2-test.emil.de",
40
40
  Staging = "https://apiv2-staging.emil.de",
41
41
  Development = "https://apiv2-dev.emil.de",
42
- ProductionZurich = "https://eu-central-2.apiv2.emil.de"
42
+ ProductionZurich = "https://eu-central-2.apiv2.emil.de",
43
+ StagingZurich = "https://eu-central-2.apiv2-staging.emil.de"
43
44
  }
44
45
  export declare function resetRetry(): void;
45
46
  /**
package/dist/base.js CHANGED
@@ -102,6 +102,7 @@ var Environment;
102
102
  Environment["Staging"] = "https://apiv2-staging.emil.de";
103
103
  Environment["Development"] = "https://apiv2-dev.emil.de";
104
104
  Environment["ProductionZurich"] = "https://eu-central-2.apiv2.emil.de";
105
+ Environment["StagingZurich"] = "https://eu-central-2.apiv2-staging.emil.de";
105
106
  })(Environment = exports.Environment || (exports.Environment = {}));
106
107
  var _retry_count = 0;
107
108
  var _retry = null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emilgroup/partner-portal-sdk",
3
- "version": "1.6.1-beta.0",
3
+ "version": "1.6.1-beta.15",
4
4
  "description": "OpenAPI client for @emilgroup/partner-portal-sdk",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [
@@ -18,7 +18,7 @@
18
18
  "prepare": "npm run build"
19
19
  },
20
20
  "dependencies": {
21
- "axios": "^1.12.0"
21
+ "axios": "1.18.0"
22
22
  },
23
23
  "devDependencies": {
24
24