@emilgroup/partner-sdk-node 1.13.1-beta.2 → 1.14.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -43,7 +43,7 @@ const FormData = require('form-data');
43
43
  export const PartnerTagsApiAxiosParamCreator = function (configuration?: Configuration) {
44
44
  return {
45
45
  /**
46
- * 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.
46
+ * 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\"
47
47
  * @summary Create the partner tag
48
48
  * @param {CreateTagRequestDto} createTagRequestDto
49
49
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -90,9 +90,9 @@ export const PartnerTagsApiAxiosParamCreator = function (configuration?: Configu
90
90
  };
91
91
  },
92
92
  /**
93
- * Permanently deletes the partner tag. Supply the unique code that was returned when you created the partner tag and this will delete it.
93
+ * 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\"
94
94
  * @summary Delete the partner tag
95
- * @param {string} code
95
+ * @param {string} code Unique identifier for the object.
96
96
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
97
97
  * @param {*} [options] Override http request option.
98
98
  * @throws {RequiredError}
@@ -135,7 +135,7 @@ export const PartnerTagsApiAxiosParamCreator = function (configuration?: Configu
135
135
  };
136
136
  },
137
137
  /**
138
- * 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.
138
+ * 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\"
139
139
  * @summary Retrieve the partner tag
140
140
  * @param {string} code Unique identifier for the object.
141
141
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -180,20 +180,20 @@ export const PartnerTagsApiAxiosParamCreator = function (configuration?: Configu
180
180
  };
181
181
  },
182
182
  /**
183
- * 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.
183
+ * 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\"
184
184
  * @summary List partner tags
185
185
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
186
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
187
- * @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.
186
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
187
+ * @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.
188
188
  * @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>
189
- * @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
189
+ * @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
190
190
  * @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>
191
191
  * @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/>
192
192
  * @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>
193
193
  * @param {*} [options] Override http request option.
194
194
  * @throws {RequiredError}
195
195
  */
196
- listTags: async (authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
196
+ listTags: async (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
197
197
  const localVarPath = `/partnerservice/v1/tags`;
198
198
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
199
199
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -256,7 +256,7 @@ export const PartnerTagsApiAxiosParamCreator = function (configuration?: Configu
256
256
  };
257
257
  },
258
258
  /**
259
- * Updates the specified partner tag by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
259
+ * 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\"
260
260
  * @summary Update the partner tag
261
261
  * @param {string} code
262
262
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -311,7 +311,7 @@ export const PartnerTagsApiFp = function(configuration?: Configuration) {
311
311
  const localVarAxiosParamCreator = PartnerTagsApiAxiosParamCreator(configuration)
312
312
  return {
313
313
  /**
314
- * 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.
314
+ * 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\"
315
315
  * @summary Create the partner tag
316
316
  * @param {CreateTagRequestDto} createTagRequestDto
317
317
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -323,9 +323,9 @@ export const PartnerTagsApiFp = function(configuration?: Configuration) {
323
323
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
324
324
  },
325
325
  /**
326
- * Permanently deletes the partner tag. Supply the unique code that was returned when you created the partner tag and this will delete it.
326
+ * 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\"
327
327
  * @summary Delete the partner tag
328
- * @param {string} code
328
+ * @param {string} code Unique identifier for the object.
329
329
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
330
330
  * @param {*} [options] Override http request option.
331
331
  * @throws {RequiredError}
@@ -335,7 +335,7 @@ export const PartnerTagsApiFp = function(configuration?: Configuration) {
335
335
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
336
336
  },
337
337
  /**
338
- * 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.
338
+ * 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\"
339
339
  * @summary Retrieve the partner tag
340
340
  * @param {string} code Unique identifier for the object.
341
341
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -347,25 +347,25 @@ export const PartnerTagsApiFp = function(configuration?: Configuration) {
347
347
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
348
348
  },
349
349
  /**
350
- * 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.
350
+ * 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\"
351
351
  * @summary List partner tags
352
352
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
353
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
354
- * @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.
353
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
354
+ * @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.
355
355
  * @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;
356
- * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
356
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
357
357
  * @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;
358
358
  * @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;
359
359
  * @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;
360
360
  * @param {*} [options] Override http request option.
361
361
  * @throws {RequiredError}
362
362
  */
363
- 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>> {
363
+ 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>> {
364
364
  const localVarAxiosArgs = await localVarAxiosParamCreator.listTags(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
365
365
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
366
366
  },
367
367
  /**
368
- * Updates the specified partner tag by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
368
+ * 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\"
369
369
  * @summary Update the partner tag
370
370
  * @param {string} code
371
371
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -387,7 +387,7 @@ export const PartnerTagsApiFactory = function (configuration?: Configuration, ba
387
387
  const localVarFp = PartnerTagsApiFp(configuration)
388
388
  return {
389
389
  /**
390
- * 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.
390
+ * 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\"
391
391
  * @summary Create the partner tag
392
392
  * @param {CreateTagRequestDto} createTagRequestDto
393
393
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -398,9 +398,9 @@ export const PartnerTagsApiFactory = function (configuration?: Configuration, ba
398
398
  return localVarFp.createTag(createTagRequestDto, authorization, options).then((request) => request(axios, basePath));
399
399
  },
400
400
  /**
401
- * Permanently deletes the partner tag. Supply the unique code that was returned when you created the partner tag and this will delete it.
401
+ * 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\"
402
402
  * @summary Delete the partner tag
403
- * @param {string} code
403
+ * @param {string} code Unique identifier for the object.
404
404
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
405
405
  * @param {*} [options] Override http request option.
406
406
  * @throws {RequiredError}
@@ -409,7 +409,7 @@ export const PartnerTagsApiFactory = function (configuration?: Configuration, ba
409
409
  return localVarFp.deleteTag(code, authorization, options).then((request) => request(axios, basePath));
410
410
  },
411
411
  /**
412
- * 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.
412
+ * 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\"
413
413
  * @summary Retrieve the partner tag
414
414
  * @param {string} code Unique identifier for the object.
415
415
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -420,24 +420,24 @@ export const PartnerTagsApiFactory = function (configuration?: Configuration, ba
420
420
  return localVarFp.getTag(code, authorization, options).then((request) => request(axios, basePath));
421
421
  },
422
422
  /**
423
- * 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.
423
+ * 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\"
424
424
  * @summary List partner tags
425
425
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
426
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
427
- * @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.
426
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
427
+ * @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.
428
428
  * @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;
429
- * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
429
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
430
430
  * @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;
431
431
  * @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;
432
432
  * @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;
433
433
  * @param {*} [options] Override http request option.
434
434
  * @throws {RequiredError}
435
435
  */
436
- listTags(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListTagsResponseClass> {
436
+ listTags(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListTagsResponseClass> {
437
437
  return localVarFp.listTags(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
438
438
  },
439
439
  /**
440
- * Updates the specified partner tag by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
440
+ * 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\"
441
441
  * @summary Update the partner tag
442
442
  * @param {string} code
443
443
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -478,7 +478,7 @@ export interface PartnerTagsApiCreateTagRequest {
478
478
  */
479
479
  export interface PartnerTagsApiDeleteTagRequest {
480
480
  /**
481
- *
481
+ * Unique identifier for the object.
482
482
  * @type {string}
483
483
  * @memberof PartnerTagsApiDeleteTag
484
484
  */
@@ -528,17 +528,17 @@ export interface PartnerTagsApiListTagsRequest {
528
528
 
529
529
  /**
530
530
  * A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
531
- * @type {any}
531
+ * @type {number}
532
532
  * @memberof PartnerTagsApiListTags
533
533
  */
534
- readonly pageSize?: any
534
+ readonly pageSize?: number
535
535
 
536
536
  /**
537
- * 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.
538
- * @type {any}
537
+ * 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.
538
+ * @type {string}
539
539
  * @memberof PartnerTagsApiListTags
540
540
  */
541
- readonly pageToken?: any
541
+ readonly pageToken?: string
542
542
 
543
543
  /**
544
544
  * 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;
@@ -549,10 +549,10 @@ export interface PartnerTagsApiListTagsRequest {
549
549
 
550
550
  /**
551
551
  * To search the list by any field, pass search&#x3D;xxx to fetch the result.
552
- * @type {any}
552
+ * @type {string}
553
553
  * @memberof PartnerTagsApiListTags
554
554
  */
555
- readonly search?: any
555
+ readonly search?: string
556
556
 
557
557
  /**
558
558
  * 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;
@@ -605,7 +605,7 @@ export interface PartnerTagsApiUpdateTagRequest {
605
605
  */
606
606
  export class PartnerTagsApi extends BaseAPI {
607
607
  /**
608
- * 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.
608
+ * 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\"
609
609
  * @summary Create the partner tag
610
610
  * @param {PartnerTagsApiCreateTagRequest} requestParameters Request parameters.
611
611
  * @param {*} [options] Override http request option.
@@ -617,7 +617,7 @@ export class PartnerTagsApi extends BaseAPI {
617
617
  }
618
618
 
619
619
  /**
620
- * Permanently deletes the partner tag. Supply the unique code that was returned when you created the partner tag and this will delete it.
620
+ * 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\"
621
621
  * @summary Delete the partner tag
622
622
  * @param {PartnerTagsApiDeleteTagRequest} requestParameters Request parameters.
623
623
  * @param {*} [options] Override http request option.
@@ -629,7 +629,7 @@ export class PartnerTagsApi extends BaseAPI {
629
629
  }
630
630
 
631
631
  /**
632
- * 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.
632
+ * 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\"
633
633
  * @summary Retrieve the partner tag
634
634
  * @param {PartnerTagsApiGetTagRequest} requestParameters Request parameters.
635
635
  * @param {*} [options] Override http request option.
@@ -641,7 +641,7 @@ export class PartnerTagsApi extends BaseAPI {
641
641
  }
642
642
 
643
643
  /**
644
- * 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.
644
+ * 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\"
645
645
  * @summary List partner tags
646
646
  * @param {PartnerTagsApiListTagsRequest} requestParameters Request parameters.
647
647
  * @param {*} [options] Override http request option.
@@ -653,7 +653,7 @@ export class PartnerTagsApi extends BaseAPI {
653
653
  }
654
654
 
655
655
  /**
656
- * Updates the specified partner tag by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
656
+ * 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\"
657
657
  * @summary Update the partner tag
658
658
  * @param {PartnerTagsApiUpdateTagRequest} requestParameters Request parameters.
659
659
  * @param {*} [options] Override http request option.
@@ -45,7 +45,7 @@ const FormData = require('form-data');
45
45
  export const PartnerTypesApiAxiosParamCreator = function (configuration?: Configuration) {
46
46
  return {
47
47
  /**
48
- * This will create a partner type.
48
+ * This will create a partner type. **Required Permissions** \"partner-management.partners.create\"
49
49
  * @summary Create the partner-types
50
50
  * @param {CreatePartnerTypeRequestDto} createPartnerTypeRequestDto
51
51
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -92,7 +92,7 @@ export const PartnerTypesApiAxiosParamCreator = function (configuration?: Config
92
92
  };
93
93
  },
94
94
  /**
95
- * Permanently deletes the partner-types. Supply the unique code that was returned when you created the partner-types and this will delete it.
95
+ * 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\"
96
96
  * @summary Delete the partner-types
97
97
  * @param {string} code
98
98
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -137,7 +137,7 @@ export const PartnerTypesApiAxiosParamCreator = function (configuration?: Config
137
137
  };
138
138
  },
139
139
  /**
140
- * 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.
140
+ * 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\"
141
141
  * @summary Retrieve the partner-types
142
142
  * @param {string} code Unique identifier for the object.
143
143
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -187,20 +187,20 @@ export const PartnerTypesApiAxiosParamCreator = function (configuration?: Config
187
187
  };
188
188
  },
189
189
  /**
190
- * 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.
190
+ * 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\"
191
191
  * @summary List partner-types
192
192
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
193
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
194
- * @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.
195
- * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
196
- * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
197
- * @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.
198
- * @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.
199
- * @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.
193
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
194
+ * @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.
195
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
196
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
197
+ * @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.
198
+ * @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.
199
+ * @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.
200
200
  * @param {*} [options] Override http request option.
201
201
  * @throws {RequiredError}
202
202
  */
203
- listPartnerTypes: async (authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
203
+ listPartnerTypes: async (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
204
204
  const localVarPath = `/partnerservice/v1/partner-types`;
205
205
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
206
206
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -263,7 +263,7 @@ export const PartnerTypesApiAxiosParamCreator = function (configuration?: Config
263
263
  };
264
264
  },
265
265
  /**
266
- * Updates the specified partner-types by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
266
+ * 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\"
267
267
  * @summary Update the partner-types
268
268
  * @param {string} code Unique identifier for the object.
269
269
  * @param {UpdatePartnerTypeRequestDto} updatePartnerTypeRequestDto
@@ -324,7 +324,7 @@ export const PartnerTypesApiFp = function(configuration?: Configuration) {
324
324
  const localVarAxiosParamCreator = PartnerTypesApiAxiosParamCreator(configuration)
325
325
  return {
326
326
  /**
327
- * This will create a partner type.
327
+ * This will create a partner type. **Required Permissions** \"partner-management.partners.create\"
328
328
  * @summary Create the partner-types
329
329
  * @param {CreatePartnerTypeRequestDto} createPartnerTypeRequestDto
330
330
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -336,7 +336,7 @@ export const PartnerTypesApiFp = function(configuration?: Configuration) {
336
336
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
337
337
  },
338
338
  /**
339
- * Permanently deletes the partner-types. Supply the unique code that was returned when you created the partner-types and this will delete it.
339
+ * 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\"
340
340
  * @summary Delete the partner-types
341
341
  * @param {string} code
342
342
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -348,7 +348,7 @@ export const PartnerTypesApiFp = function(configuration?: Configuration) {
348
348
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
349
349
  },
350
350
  /**
351
- * 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.
351
+ * 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\"
352
352
  * @summary Retrieve the partner-types
353
353
  * @param {string} code Unique identifier for the object.
354
354
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -361,25 +361,25 @@ export const PartnerTypesApiFp = function(configuration?: Configuration) {
361
361
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
362
362
  },
363
363
  /**
364
- * 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.
364
+ * 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\"
365
365
  * @summary List partner-types
366
366
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
367
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
368
- * @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.
369
- * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
370
- * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
371
- * @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.
372
- * @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.
373
- * @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.
367
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
368
+ * @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.
369
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
370
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
371
+ * @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.
372
+ * @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.
373
+ * @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.
374
374
  * @param {*} [options] Override http request option.
375
375
  * @throws {RequiredError}
376
376
  */
377
- 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>> {
377
+ 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>> {
378
378
  const localVarAxiosArgs = await localVarAxiosParamCreator.listPartnerTypes(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
379
379
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
380
380
  },
381
381
  /**
382
- * Updates the specified partner-types by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
382
+ * 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\"
383
383
  * @summary Update the partner-types
384
384
  * @param {string} code Unique identifier for the object.
385
385
  * @param {UpdatePartnerTypeRequestDto} updatePartnerTypeRequestDto
@@ -402,7 +402,7 @@ export const PartnerTypesApiFactory = function (configuration?: Configuration, b
402
402
  const localVarFp = PartnerTypesApiFp(configuration)
403
403
  return {
404
404
  /**
405
- * This will create a partner type.
405
+ * This will create a partner type. **Required Permissions** \"partner-management.partners.create\"
406
406
  * @summary Create the partner-types
407
407
  * @param {CreatePartnerTypeRequestDto} createPartnerTypeRequestDto
408
408
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -413,7 +413,7 @@ export const PartnerTypesApiFactory = function (configuration?: Configuration, b
413
413
  return localVarFp.createPartnerType(createPartnerTypeRequestDto, authorization, options).then((request) => request(axios, basePath));
414
414
  },
415
415
  /**
416
- * Permanently deletes the partner-types. Supply the unique code that was returned when you created the partner-types and this will delete it.
416
+ * 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\"
417
417
  * @summary Delete the partner-types
418
418
  * @param {string} code
419
419
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -424,7 +424,7 @@ export const PartnerTypesApiFactory = function (configuration?: Configuration, b
424
424
  return localVarFp.deletePartnerType(code, authorization, options).then((request) => request(axios, basePath));
425
425
  },
426
426
  /**
427
- * 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.
427
+ * 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\"
428
428
  * @summary Retrieve the partner-types
429
429
  * @param {string} code Unique identifier for the object.
430
430
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -436,24 +436,24 @@ export const PartnerTypesApiFactory = function (configuration?: Configuration, b
436
436
  return localVarFp.getPartnerType(code, authorization, expand, options).then((request) => request(axios, basePath));
437
437
  },
438
438
  /**
439
- * 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.
439
+ * 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\"
440
440
  * @summary List partner-types
441
441
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
442
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
443
- * @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.
444
- * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
445
- * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
446
- * @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.
447
- * @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.
448
- * @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.
442
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
443
+ * @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.
444
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
445
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
446
+ * @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.
447
+ * @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.
448
+ * @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.
449
449
  * @param {*} [options] Override http request option.
450
450
  * @throws {RequiredError}
451
451
  */
452
- listPartnerTypes(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options?: any): AxiosPromise<ListPartnerTypesResponseClass> {
452
+ listPartnerTypes(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListPartnerTypesResponseClass> {
453
453
  return localVarFp.listPartnerTypes(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
454
454
  },
455
455
  /**
456
- * Updates the specified partner-types by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
456
+ * 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\"
457
457
  * @summary Update the partner-types
458
458
  * @param {string} code Unique identifier for the object.
459
459
  * @param {UpdatePartnerTypeRequestDto} updatePartnerTypeRequestDto
@@ -552,52 +552,52 @@ export interface PartnerTypesApiListPartnerTypesRequest {
552
552
 
553
553
  /**
554
554
  * A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
555
- * @type {any}
555
+ * @type {number}
556
556
  * @memberof PartnerTypesApiListPartnerTypes
557
557
  */
558
- readonly pageSize?: any
558
+ readonly pageSize?: number
559
559
 
560
560
  /**
561
- * 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.
562
- * @type {any}
561
+ * 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.
562
+ * @type {string}
563
563
  * @memberof PartnerTypesApiListPartnerTypes
564
564
  */
565
- readonly pageToken?: any
565
+ readonly pageToken?: string
566
566
 
567
567
  /**
568
568
  * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
569
- * @type {any}
569
+ * @type {string}
570
570
  * @memberof PartnerTypesApiListPartnerTypes
571
571
  */
572
- readonly filter?: any
572
+ readonly filter?: string
573
573
 
574
574
  /**
575
575
  * To search the list by any field, pass search&#x3D;xxx to fetch the result.
576
- * @type {any}
576
+ * @type {string}
577
577
  * @memberof PartnerTypesApiListPartnerTypes
578
578
  */
579
- readonly search?: any
579
+ readonly search?: string
580
580
 
581
581
  /**
582
582
  * 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.
583
- * @type {any}
583
+ * @type {string}
584
584
  * @memberof PartnerTypesApiListPartnerTypes
585
585
  */
586
- readonly order?: any
586
+ readonly order?: string
587
587
 
588
588
  /**
589
- * 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.
590
- * @type {any}
589
+ * 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.
590
+ * @type {string}
591
591
  * @memberof PartnerTypesApiListPartnerTypes
592
592
  */
593
- readonly expand?: any
593
+ readonly expand?: string
594
594
 
595
595
  /**
596
596
  * 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.
597
- * @type {any}
597
+ * @type {string}
598
598
  * @memberof PartnerTypesApiListPartnerTypes
599
599
  */
600
- readonly filters?: any
600
+ readonly filters?: string
601
601
  }
602
602
 
603
603
  /**
@@ -636,7 +636,7 @@ export interface PartnerTypesApiUpdatePartnerTypeRequest {
636
636
  */
637
637
  export class PartnerTypesApi extends BaseAPI {
638
638
  /**
639
- * This will create a partner type.
639
+ * This will create a partner type. **Required Permissions** \"partner-management.partners.create\"
640
640
  * @summary Create the partner-types
641
641
  * @param {PartnerTypesApiCreatePartnerTypeRequest} requestParameters Request parameters.
642
642
  * @param {*} [options] Override http request option.
@@ -648,7 +648,7 @@ export class PartnerTypesApi extends BaseAPI {
648
648
  }
649
649
 
650
650
  /**
651
- * Permanently deletes the partner-types. Supply the unique code that was returned when you created the partner-types and this will delete it.
651
+ * 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\"
652
652
  * @summary Delete the partner-types
653
653
  * @param {PartnerTypesApiDeletePartnerTypeRequest} requestParameters Request parameters.
654
654
  * @param {*} [options] Override http request option.
@@ -660,7 +660,7 @@ export class PartnerTypesApi extends BaseAPI {
660
660
  }
661
661
 
662
662
  /**
663
- * 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.
663
+ * 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\"
664
664
  * @summary Retrieve the partner-types
665
665
  * @param {PartnerTypesApiGetPartnerTypeRequest} requestParameters Request parameters.
666
666
  * @param {*} [options] Override http request option.
@@ -672,7 +672,7 @@ export class PartnerTypesApi extends BaseAPI {
672
672
  }
673
673
 
674
674
  /**
675
- * 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.
675
+ * 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\"
676
676
  * @summary List partner-types
677
677
  * @param {PartnerTypesApiListPartnerTypesRequest} requestParameters Request parameters.
678
678
  * @param {*} [options] Override http request option.
@@ -684,7 +684,7 @@ export class PartnerTypesApi extends BaseAPI {
684
684
  }
685
685
 
686
686
  /**
687
- * Updates the specified partner-types by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
687
+ * 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\"
688
688
  * @summary Update the partner-types
689
689
  * @param {PartnerTypesApiUpdatePartnerTypeRequest} requestParameters Request parameters.
690
690
  * @param {*} [options] Override http request option.