@emilgroup/partner-sdk 1.13.1-beta.2 → 1.13.1-beta.3

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.
@@ -39,7 +39,7 @@ import { UpdateTagResponseClass } from '../models';
39
39
  export const PartnerTagsApiAxiosParamCreator = function (configuration?: Configuration) {
40
40
  return {
41
41
  /**
42
- * This will create a tag that can be used tag partners. Tags can be used to categorize partners and to apply specific rules to them.
42
+ * This will create a tag that can be used tag partners. Tags can be used to categorize partners and to apply specific rules to them. **Required Permissions** \"partner-management.partners.create\"
43
43
  * @summary Create the partner tag
44
44
  * @param {CreateTagRequestDto} createTagRequestDto
45
45
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -86,9 +86,9 @@ export const PartnerTagsApiAxiosParamCreator = function (configuration?: Configu
86
86
  };
87
87
  },
88
88
  /**
89
- * Permanently deletes the partner tag. Supply the unique code that was returned when you created the partner tag and this will delete it.
89
+ * Permanently deletes the partner tag. Supply the unique code that was returned when you created the partner tag and this will delete it. **Required Permissions** \"partner-management.partners.delete\"
90
90
  * @summary Delete the partner tag
91
- * @param {string} code
91
+ * @param {string} code Unique identifier for the object.
92
92
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
93
93
  * @param {*} [options] Override http request option.
94
94
  * @throws {RequiredError}
@@ -131,7 +131,7 @@ export const PartnerTagsApiAxiosParamCreator = function (configuration?: Configu
131
131
  };
132
132
  },
133
133
  /**
134
- * Retrieves the details of the partner tag that was previously created. Supply the unique partner tag code that was returned when you created it and Emil Api will return the corresponding partner tag information.
134
+ * Retrieves the details of the partner tag that was previously created. Supply the unique partner tag code that was returned when you created it and Emil Api will return the corresponding partner tag information. **Required Permissions** \"partner-management.partners.view\"
135
135
  * @summary Retrieve the partner tag
136
136
  * @param {string} code Unique identifier for the object.
137
137
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -176,20 +176,20 @@ export const PartnerTagsApiAxiosParamCreator = function (configuration?: Configu
176
176
  };
177
177
  },
178
178
  /**
179
- * Returns a list of partner tags you have previously created. The partner tags are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
179
+ * Returns a list of partner tags you have previously created. The partner tags are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"partner-management.partners.view\"
180
180
  * @summary List partner tags
181
181
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
182
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
183
- * @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
182
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
183
+ * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
184
184
  * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: code, slug, label</i>
185
- * @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
185
+ * @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
186
186
  * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: code, slug, label, createdAt, updatedAt</i>
187
187
  * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/>
188
188
  * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: code, slug, label</i>
189
189
  * @param {*} [options] Override http request option.
190
190
  * @throws {RequiredError}
191
191
  */
192
- listTags: async (authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
192
+ listTags: async (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
193
193
  const localVarPath = `/partnerservice/v1/tags`;
194
194
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
195
195
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -252,7 +252,7 @@ export const PartnerTagsApiAxiosParamCreator = function (configuration?: Configu
252
252
  };
253
253
  },
254
254
  /**
255
- * Updates the specified partner tag by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
255
+ * Updates the specified partner tag by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"partner-management.partners.update\"
256
256
  * @summary Update the partner tag
257
257
  * @param {string} code
258
258
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -307,7 +307,7 @@ export const PartnerTagsApiFp = function(configuration?: Configuration) {
307
307
  const localVarAxiosParamCreator = PartnerTagsApiAxiosParamCreator(configuration)
308
308
  return {
309
309
  /**
310
- * This will create a tag that can be used tag partners. Tags can be used to categorize partners and to apply specific rules to them.
310
+ * This will create a tag that can be used tag partners. Tags can be used to categorize partners and to apply specific rules to them. **Required Permissions** \"partner-management.partners.create\"
311
311
  * @summary Create the partner tag
312
312
  * @param {CreateTagRequestDto} createTagRequestDto
313
313
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -319,9 +319,9 @@ export const PartnerTagsApiFp = function(configuration?: Configuration) {
319
319
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
320
320
  },
321
321
  /**
322
- * Permanently deletes the partner tag. Supply the unique code that was returned when you created the partner tag and this will delete it.
322
+ * Permanently deletes the partner tag. Supply the unique code that was returned when you created the partner tag and this will delete it. **Required Permissions** \"partner-management.partners.delete\"
323
323
  * @summary Delete the partner tag
324
- * @param {string} code
324
+ * @param {string} code Unique identifier for the object.
325
325
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
326
326
  * @param {*} [options] Override http request option.
327
327
  * @throws {RequiredError}
@@ -331,7 +331,7 @@ export const PartnerTagsApiFp = function(configuration?: Configuration) {
331
331
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
332
332
  },
333
333
  /**
334
- * Retrieves the details of the partner tag that was previously created. Supply the unique partner tag code that was returned when you created it and Emil Api will return the corresponding partner tag information.
334
+ * Retrieves the details of the partner tag that was previously created. Supply the unique partner tag code that was returned when you created it and Emil Api will return the corresponding partner tag information. **Required Permissions** \"partner-management.partners.view\"
335
335
  * @summary Retrieve the partner tag
336
336
  * @param {string} code Unique identifier for the object.
337
337
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -343,25 +343,25 @@ export const PartnerTagsApiFp = function(configuration?: Configuration) {
343
343
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
344
344
  },
345
345
  /**
346
- * Returns a list of partner tags you have previously created. The partner tags are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
346
+ * Returns a list of partner tags you have previously created. The partner tags are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"partner-management.partners.view\"
347
347
  * @summary List partner tags
348
348
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
349
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
350
- * @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
349
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
350
+ * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
351
351
  * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, slug, label&lt;/i&gt;
352
- * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
352
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
353
353
  * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, slug, label, createdAt, updatedAt&lt;/i&gt;
354
354
  * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt;
355
355
  * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, slug, label&lt;/i&gt;
356
356
  * @param {*} [options] Override http request option.
357
357
  * @throws {RequiredError}
358
358
  */
359
- async listTags(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListTagsResponseClass>> {
359
+ async listTags(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListTagsResponseClass>> {
360
360
  const localVarAxiosArgs = await localVarAxiosParamCreator.listTags(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
361
361
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
362
362
  },
363
363
  /**
364
- * Updates the specified partner tag by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
364
+ * Updates the specified partner tag by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"partner-management.partners.update\"
365
365
  * @summary Update the partner tag
366
366
  * @param {string} code
367
367
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -383,7 +383,7 @@ export const PartnerTagsApiFactory = function (configuration?: Configuration, ba
383
383
  const localVarFp = PartnerTagsApiFp(configuration)
384
384
  return {
385
385
  /**
386
- * This will create a tag that can be used tag partners. Tags can be used to categorize partners and to apply specific rules to them.
386
+ * This will create a tag that can be used tag partners. Tags can be used to categorize partners and to apply specific rules to them. **Required Permissions** \"partner-management.partners.create\"
387
387
  * @summary Create the partner tag
388
388
  * @param {CreateTagRequestDto} createTagRequestDto
389
389
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -394,9 +394,9 @@ export const PartnerTagsApiFactory = function (configuration?: Configuration, ba
394
394
  return localVarFp.createTag(createTagRequestDto, authorization, options).then((request) => request(axios, basePath));
395
395
  },
396
396
  /**
397
- * Permanently deletes the partner tag. Supply the unique code that was returned when you created the partner tag and this will delete it.
397
+ * Permanently deletes the partner tag. Supply the unique code that was returned when you created the partner tag and this will delete it. **Required Permissions** \"partner-management.partners.delete\"
398
398
  * @summary Delete the partner tag
399
- * @param {string} code
399
+ * @param {string} code Unique identifier for the object.
400
400
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
401
401
  * @param {*} [options] Override http request option.
402
402
  * @throws {RequiredError}
@@ -405,7 +405,7 @@ export const PartnerTagsApiFactory = function (configuration?: Configuration, ba
405
405
  return localVarFp.deleteTag(code, authorization, options).then((request) => request(axios, basePath));
406
406
  },
407
407
  /**
408
- * Retrieves the details of the partner tag that was previously created. Supply the unique partner tag code that was returned when you created it and Emil Api will return the corresponding partner tag information.
408
+ * Retrieves the details of the partner tag that was previously created. Supply the unique partner tag code that was returned when you created it and Emil Api will return the corresponding partner tag information. **Required Permissions** \"partner-management.partners.view\"
409
409
  * @summary Retrieve the partner tag
410
410
  * @param {string} code Unique identifier for the object.
411
411
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -416,24 +416,24 @@ export const PartnerTagsApiFactory = function (configuration?: Configuration, ba
416
416
  return localVarFp.getTag(code, authorization, options).then((request) => request(axios, basePath));
417
417
  },
418
418
  /**
419
- * Returns a list of partner tags you have previously created. The partner tags are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
419
+ * Returns a list of partner tags you have previously created. The partner tags are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"partner-management.partners.view\"
420
420
  * @summary List partner tags
421
421
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
422
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
423
- * @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
422
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
423
+ * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
424
424
  * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, slug, label&lt;/i&gt;
425
- * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
425
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
426
426
  * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, slug, label, createdAt, updatedAt&lt;/i&gt;
427
427
  * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt;
428
428
  * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, slug, label&lt;/i&gt;
429
429
  * @param {*} [options] Override http request option.
430
430
  * @throws {RequiredError}
431
431
  */
432
- listTags(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListTagsResponseClass> {
432
+ listTags(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListTagsResponseClass> {
433
433
  return localVarFp.listTags(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
434
434
  },
435
435
  /**
436
- * Updates the specified partner tag by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
436
+ * Updates the specified partner tag by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"partner-management.partners.update\"
437
437
  * @summary Update the partner tag
438
438
  * @param {string} code
439
439
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -474,7 +474,7 @@ export interface PartnerTagsApiCreateTagRequest {
474
474
  */
475
475
  export interface PartnerTagsApiDeleteTagRequest {
476
476
  /**
477
- *
477
+ * Unique identifier for the object.
478
478
  * @type {string}
479
479
  * @memberof PartnerTagsApiDeleteTag
480
480
  */
@@ -524,17 +524,17 @@ export interface PartnerTagsApiListTagsRequest {
524
524
 
525
525
  /**
526
526
  * A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
527
- * @type {any}
527
+ * @type {number}
528
528
  * @memberof PartnerTagsApiListTags
529
529
  */
530
- readonly pageSize?: any
530
+ readonly pageSize?: number
531
531
 
532
532
  /**
533
- * A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
534
- * @type {any}
533
+ * A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
534
+ * @type {string}
535
535
  * @memberof PartnerTagsApiListTags
536
536
  */
537
- readonly pageToken?: any
537
+ readonly pageToken?: string
538
538
 
539
539
  /**
540
540
  * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, slug, label&lt;/i&gt;
@@ -545,10 +545,10 @@ export interface PartnerTagsApiListTagsRequest {
545
545
 
546
546
  /**
547
547
  * To search the list by any field, pass search&#x3D;xxx to fetch the result.
548
- * @type {any}
548
+ * @type {string}
549
549
  * @memberof PartnerTagsApiListTags
550
550
  */
551
- readonly search?: any
551
+ readonly search?: string
552
552
 
553
553
  /**
554
554
  * Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, slug, label, createdAt, updatedAt&lt;/i&gt;
@@ -601,7 +601,7 @@ export interface PartnerTagsApiUpdateTagRequest {
601
601
  */
602
602
  export class PartnerTagsApi extends BaseAPI {
603
603
  /**
604
- * This will create a tag that can be used tag partners. Tags can be used to categorize partners and to apply specific rules to them.
604
+ * This will create a tag that can be used tag partners. Tags can be used to categorize partners and to apply specific rules to them. **Required Permissions** \"partner-management.partners.create\"
605
605
  * @summary Create the partner tag
606
606
  * @param {PartnerTagsApiCreateTagRequest} requestParameters Request parameters.
607
607
  * @param {*} [options] Override http request option.
@@ -613,7 +613,7 @@ export class PartnerTagsApi extends BaseAPI {
613
613
  }
614
614
 
615
615
  /**
616
- * Permanently deletes the partner tag. Supply the unique code that was returned when you created the partner tag and this will delete it.
616
+ * Permanently deletes the partner tag. Supply the unique code that was returned when you created the partner tag and this will delete it. **Required Permissions** \"partner-management.partners.delete\"
617
617
  * @summary Delete the partner tag
618
618
  * @param {PartnerTagsApiDeleteTagRequest} requestParameters Request parameters.
619
619
  * @param {*} [options] Override http request option.
@@ -625,7 +625,7 @@ export class PartnerTagsApi extends BaseAPI {
625
625
  }
626
626
 
627
627
  /**
628
- * Retrieves the details of the partner tag that was previously created. Supply the unique partner tag code that was returned when you created it and Emil Api will return the corresponding partner tag information.
628
+ * Retrieves the details of the partner tag that was previously created. Supply the unique partner tag code that was returned when you created it and Emil Api will return the corresponding partner tag information. **Required Permissions** \"partner-management.partners.view\"
629
629
  * @summary Retrieve the partner tag
630
630
  * @param {PartnerTagsApiGetTagRequest} requestParameters Request parameters.
631
631
  * @param {*} [options] Override http request option.
@@ -637,7 +637,7 @@ export class PartnerTagsApi extends BaseAPI {
637
637
  }
638
638
 
639
639
  /**
640
- * Returns a list of partner tags you have previously created. The partner tags are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
640
+ * Returns a list of partner tags you have previously created. The partner tags are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"partner-management.partners.view\"
641
641
  * @summary List partner tags
642
642
  * @param {PartnerTagsApiListTagsRequest} requestParameters Request parameters.
643
643
  * @param {*} [options] Override http request option.
@@ -649,7 +649,7 @@ export class PartnerTagsApi extends BaseAPI {
649
649
  }
650
650
 
651
651
  /**
652
- * Updates the specified partner tag by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
652
+ * Updates the specified partner tag by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"partner-management.partners.update\"
653
653
  * @summary Update the partner tag
654
654
  * @param {PartnerTagsApiUpdateTagRequest} requestParameters Request parameters.
655
655
  * @param {*} [options] Override http request option.
@@ -41,7 +41,7 @@ import { UpdatePartnerTypeResponseClass } from '../models';
41
41
  export const PartnerTypesApiAxiosParamCreator = function (configuration?: Configuration) {
42
42
  return {
43
43
  /**
44
- * This will create a partner type.
44
+ * This will create a partner type. **Required Permissions** \"partner-management.partners.create\"
45
45
  * @summary Create the partner-types
46
46
  * @param {CreatePartnerTypeRequestDto} createPartnerTypeRequestDto
47
47
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -88,7 +88,7 @@ export const PartnerTypesApiAxiosParamCreator = function (configuration?: Config
88
88
  };
89
89
  },
90
90
  /**
91
- * Permanently deletes the partner-types. Supply the unique code that was returned when you created the partner-types and this will delete it.
91
+ * Permanently deletes the partner-types. Supply the unique code that was returned when you created the partner-types and this will delete it. **Required Permissions** \"partner-management.partners.delete\"
92
92
  * @summary Delete the partner-types
93
93
  * @param {string} code
94
94
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -133,7 +133,7 @@ export const PartnerTypesApiAxiosParamCreator = function (configuration?: Config
133
133
  };
134
134
  },
135
135
  /**
136
- * Retrieves the details of the partner-types that was previously created. Supply the unique partner-types code that was returned when you created it and Emil Api will return the corresponding partner-types information.
136
+ * Retrieves the details of the partner-types that was previously created. Supply the unique partner-types code that was returned when you created it and Emil Api will return the corresponding partner-types information. **Required Permissions** \"partner-management.partners.view\"
137
137
  * @summary Retrieve the partner-types
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.
@@ -183,20 +183,20 @@ export const PartnerTypesApiAxiosParamCreator = function (configuration?: Config
183
183
  };
184
184
  },
185
185
  /**
186
- * Returns a list of partner-types you have previously created. The partner-types are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
186
+ * Returns a list of partner-types you have previously created. The partner-types are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"partner-management.partners.view\"
187
187
  * @summary List partner-types
188
188
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
189
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
190
- * @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
191
- * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
192
- * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
193
- * @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
194
- * @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
195
- * @param {any} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
189
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
190
+ * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
191
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
192
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
193
+ * @param {string} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
194
+ * @param {string} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
195
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
196
196
  * @param {*} [options] Override http request option.
197
197
  * @throws {RequiredError}
198
198
  */
199
- listPartnerTypes: async (authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
199
+ listPartnerTypes: async (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
200
200
  const localVarPath = `/partnerservice/v1/partner-types`;
201
201
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
202
202
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -259,7 +259,7 @@ export const PartnerTypesApiAxiosParamCreator = function (configuration?: Config
259
259
  };
260
260
  },
261
261
  /**
262
- * Updates the specified partner-types by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
262
+ * Updates the specified partner-types by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"partner-management.partners.update\"
263
263
  * @summary Update the partner-types
264
264
  * @param {string} code Unique identifier for the object.
265
265
  * @param {UpdatePartnerTypeRequestDto} updatePartnerTypeRequestDto
@@ -320,7 +320,7 @@ export const PartnerTypesApiFp = function(configuration?: Configuration) {
320
320
  const localVarAxiosParamCreator = PartnerTypesApiAxiosParamCreator(configuration)
321
321
  return {
322
322
  /**
323
- * This will create a partner type.
323
+ * This will create a partner type. **Required Permissions** \"partner-management.partners.create\"
324
324
  * @summary Create the partner-types
325
325
  * @param {CreatePartnerTypeRequestDto} createPartnerTypeRequestDto
326
326
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -332,7 +332,7 @@ export const PartnerTypesApiFp = function(configuration?: Configuration) {
332
332
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
333
333
  },
334
334
  /**
335
- * Permanently deletes the partner-types. Supply the unique code that was returned when you created the partner-types and this will delete it.
335
+ * Permanently deletes the partner-types. Supply the unique code that was returned when you created the partner-types and this will delete it. **Required Permissions** \"partner-management.partners.delete\"
336
336
  * @summary Delete the partner-types
337
337
  * @param {string} code
338
338
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -344,7 +344,7 @@ export const PartnerTypesApiFp = function(configuration?: Configuration) {
344
344
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
345
345
  },
346
346
  /**
347
- * Retrieves the details of the partner-types that was previously created. Supply the unique partner-types code that was returned when you created it and Emil Api will return the corresponding partner-types information.
347
+ * Retrieves the details of the partner-types that was previously created. Supply the unique partner-types code that was returned when you created it and Emil Api will return the corresponding partner-types information. **Required Permissions** \"partner-management.partners.view\"
348
348
  * @summary Retrieve the partner-types
349
349
  * @param {string} code Unique identifier for the object.
350
350
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -357,25 +357,25 @@ export const PartnerTypesApiFp = function(configuration?: Configuration) {
357
357
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
358
358
  },
359
359
  /**
360
- * Returns a list of partner-types you have previously created. The partner-types 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 partner-types you have previously created. The partner-types are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"partner-management.partners.view\"
361
361
  * @summary List partner-types
362
362
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
363
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
364
- * @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
365
- * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
366
- * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
367
- * @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
368
- * @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
369
- * @param {any} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
363
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
364
+ * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
365
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
366
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
367
+ * @param {string} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
368
+ * @param {string} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
369
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
370
370
  * @param {*} [options] Override http request option.
371
371
  * @throws {RequiredError}
372
372
  */
373
- async listPartnerTypes(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListPartnerTypesResponseClass>> {
373
+ async listPartnerTypes(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListPartnerTypesResponseClass>> {
374
374
  const localVarAxiosArgs = await localVarAxiosParamCreator.listPartnerTypes(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
375
375
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
376
376
  },
377
377
  /**
378
- * Updates the specified partner-types by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
378
+ * Updates the specified partner-types by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"partner-management.partners.update\"
379
379
  * @summary Update the partner-types
380
380
  * @param {string} code Unique identifier for the object.
381
381
  * @param {UpdatePartnerTypeRequestDto} updatePartnerTypeRequestDto
@@ -398,7 +398,7 @@ export const PartnerTypesApiFactory = function (configuration?: Configuration, b
398
398
  const localVarFp = PartnerTypesApiFp(configuration)
399
399
  return {
400
400
  /**
401
- * This will create a partner type.
401
+ * This will create a partner type. **Required Permissions** \"partner-management.partners.create\"
402
402
  * @summary Create the partner-types
403
403
  * @param {CreatePartnerTypeRequestDto} createPartnerTypeRequestDto
404
404
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -409,7 +409,7 @@ export const PartnerTypesApiFactory = function (configuration?: Configuration, b
409
409
  return localVarFp.createPartnerType(createPartnerTypeRequestDto, authorization, options).then((request) => request(axios, basePath));
410
410
  },
411
411
  /**
412
- * Permanently deletes the partner-types. Supply the unique code that was returned when you created the partner-types and this will delete it.
412
+ * Permanently deletes the partner-types. Supply the unique code that was returned when you created the partner-types and this will delete it. **Required Permissions** \"partner-management.partners.delete\"
413
413
  * @summary Delete the partner-types
414
414
  * @param {string} code
415
415
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -420,7 +420,7 @@ export const PartnerTypesApiFactory = function (configuration?: Configuration, b
420
420
  return localVarFp.deletePartnerType(code, authorization, options).then((request) => request(axios, basePath));
421
421
  },
422
422
  /**
423
- * Retrieves the details of the partner-types that was previously created. Supply the unique partner-types code that was returned when you created it and Emil Api will return the corresponding partner-types information.
423
+ * Retrieves the details of the partner-types that was previously created. Supply the unique partner-types code that was returned when you created it and Emil Api will return the corresponding partner-types information. **Required Permissions** \"partner-management.partners.view\"
424
424
  * @summary Retrieve the partner-types
425
425
  * @param {string} code Unique identifier for the object.
426
426
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -432,24 +432,24 @@ export const PartnerTypesApiFactory = function (configuration?: Configuration, b
432
432
  return localVarFp.getPartnerType(code, authorization, expand, options).then((request) => request(axios, basePath));
433
433
  },
434
434
  /**
435
- * Returns a list of partner-types you have previously created. The partner-types are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
435
+ * Returns a list of partner-types you have previously created. The partner-types are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"partner-management.partners.view\"
436
436
  * @summary List partner-types
437
437
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
438
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
439
- * @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
440
- * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
441
- * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
442
- * @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
443
- * @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
444
- * @param {any} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
438
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
439
+ * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
440
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
441
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
442
+ * @param {string} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
443
+ * @param {string} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
444
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
445
445
  * @param {*} [options] Override http request option.
446
446
  * @throws {RequiredError}
447
447
  */
448
- listPartnerTypes(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options?: any): AxiosPromise<ListPartnerTypesResponseClass> {
448
+ listPartnerTypes(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListPartnerTypesResponseClass> {
449
449
  return localVarFp.listPartnerTypes(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
450
450
  },
451
451
  /**
452
- * Updates the specified partner-types by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
452
+ * Updates the specified partner-types by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"partner-management.partners.update\"
453
453
  * @summary Update the partner-types
454
454
  * @param {string} code Unique identifier for the object.
455
455
  * @param {UpdatePartnerTypeRequestDto} updatePartnerTypeRequestDto
@@ -548,52 +548,52 @@ export interface PartnerTypesApiListPartnerTypesRequest {
548
548
 
549
549
  /**
550
550
  * A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
551
- * @type {any}
551
+ * @type {number}
552
552
  * @memberof PartnerTypesApiListPartnerTypes
553
553
  */
554
- readonly pageSize?: any
554
+ readonly pageSize?: number
555
555
 
556
556
  /**
557
- * A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
558
- * @type {any}
557
+ * A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
558
+ * @type {string}
559
559
  * @memberof PartnerTypesApiListPartnerTypes
560
560
  */
561
- readonly pageToken?: any
561
+ readonly pageToken?: string
562
562
 
563
563
  /**
564
564
  * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
565
- * @type {any}
565
+ * @type {string}
566
566
  * @memberof PartnerTypesApiListPartnerTypes
567
567
  */
568
- readonly filter?: any
568
+ readonly filter?: string
569
569
 
570
570
  /**
571
571
  * To search the list by any field, pass search&#x3D;xxx to fetch the result.
572
- * @type {any}
572
+ * @type {string}
573
573
  * @memberof PartnerTypesApiListPartnerTypes
574
574
  */
575
- readonly search?: any
575
+ readonly search?: string
576
576
 
577
577
  /**
578
578
  * The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
579
- * @type {any}
579
+ * @type {string}
580
580
  * @memberof PartnerTypesApiListPartnerTypes
581
581
  */
582
- readonly order?: any
582
+ readonly order?: string
583
583
 
584
584
  /**
585
- * Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
586
- * @type {any}
585
+ * Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
586
+ * @type {string}
587
587
  * @memberof PartnerTypesApiListPartnerTypes
588
588
  */
589
- readonly expand?: any
589
+ readonly expand?: string
590
590
 
591
591
  /**
592
592
  * Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
593
- * @type {any}
593
+ * @type {string}
594
594
  * @memberof PartnerTypesApiListPartnerTypes
595
595
  */
596
- readonly filters?: any
596
+ readonly filters?: string
597
597
  }
598
598
 
599
599
  /**
@@ -632,7 +632,7 @@ export interface PartnerTypesApiUpdatePartnerTypeRequest {
632
632
  */
633
633
  export class PartnerTypesApi extends BaseAPI {
634
634
  /**
635
- * This will create a partner type.
635
+ * This will create a partner type. **Required Permissions** \"partner-management.partners.create\"
636
636
  * @summary Create the partner-types
637
637
  * @param {PartnerTypesApiCreatePartnerTypeRequest} requestParameters Request parameters.
638
638
  * @param {*} [options] Override http request option.
@@ -644,7 +644,7 @@ export class PartnerTypesApi extends BaseAPI {
644
644
  }
645
645
 
646
646
  /**
647
- * Permanently deletes the partner-types. Supply the unique code that was returned when you created the partner-types and this will delete it.
647
+ * Permanently deletes the partner-types. Supply the unique code that was returned when you created the partner-types and this will delete it. **Required Permissions** \"partner-management.partners.delete\"
648
648
  * @summary Delete the partner-types
649
649
  * @param {PartnerTypesApiDeletePartnerTypeRequest} requestParameters Request parameters.
650
650
  * @param {*} [options] Override http request option.
@@ -656,7 +656,7 @@ export class PartnerTypesApi extends BaseAPI {
656
656
  }
657
657
 
658
658
  /**
659
- * Retrieves the details of the partner-types that was previously created. Supply the unique partner-types code that was returned when you created it and Emil Api will return the corresponding partner-types information.
659
+ * Retrieves the details of the partner-types that was previously created. Supply the unique partner-types code that was returned when you created it and Emil Api will return the corresponding partner-types information. **Required Permissions** \"partner-management.partners.view\"
660
660
  * @summary Retrieve the partner-types
661
661
  * @param {PartnerTypesApiGetPartnerTypeRequest} requestParameters Request parameters.
662
662
  * @param {*} [options] Override http request option.
@@ -668,7 +668,7 @@ export class PartnerTypesApi extends BaseAPI {
668
668
  }
669
669
 
670
670
  /**
671
- * Returns a list of partner-types you have previously created. The partner-types are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
671
+ * Returns a list of partner-types you have previously created. The partner-types are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"partner-management.partners.view\"
672
672
  * @summary List partner-types
673
673
  * @param {PartnerTypesApiListPartnerTypesRequest} requestParameters Request parameters.
674
674
  * @param {*} [options] Override http request option.
@@ -680,7 +680,7 @@ export class PartnerTypesApi extends BaseAPI {
680
680
  }
681
681
 
682
682
  /**
683
- * Updates the specified partner-types by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
683
+ * Updates the specified partner-types by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"partner-management.partners.update\"
684
684
  * @summary Update the partner-types
685
685
  * @param {PartnerTypesApiUpdatePartnerTypeRequest} requestParameters Request parameters.
686
686
  * @param {*} [options] Override http request option.