@emilgroup/partner-sdk 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.
@@ -93,7 +93,7 @@ var PartnerRelationsApiAxiosParamCreator = function (configuration) {
93
93
  var _this = this;
94
94
  return {
95
95
  /**
96
- * This will create a relationship between two partners. For example a parent-child relationship, or a partnership agreement.
96
+ * This will create a relationship between two partners. For example a parent-child relationship, or a partnership agreement. **Required Permissions** \"partner-management.partners.create\"
97
97
  * @summary Create the partner relation
98
98
  * @param {CreatePartnerRelationRequestDtoRest} createPartnerRelationRequestDtoRest
99
99
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -142,7 +142,7 @@ var PartnerRelationsApiAxiosParamCreator = function (configuration) {
142
142
  });
143
143
  },
144
144
  /**
145
- * Permanently deletes the partner-relation. Supply the unique code that was returned when you created the partner-relation and this will delete it.
145
+ * Permanently deletes the partner-relation. Supply the unique code that was returned when you created the partner-relation and this will delete it. **Required Permissions** \"partner-management.partners.delete\"
146
146
  * @summary Delete the partner-relation
147
147
  * @param {number} id
148
148
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -190,7 +190,7 @@ var PartnerRelationsApiAxiosParamCreator = function (configuration) {
190
190
  });
191
191
  },
192
192
  /**
193
- * Retrieve a single partner relation identified by its id
193
+ * Retrieve a single partner relation identified by its id **Required Permissions** \"partner-management.partners.view\"
194
194
  * @summary Retrieve the partner relation
195
195
  * @param {number} id Id of the partner relation
196
196
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -238,7 +238,7 @@ var PartnerRelationsApiAxiosParamCreator = function (configuration) {
238
238
  });
239
239
  },
240
240
  /**
241
- * Retrieve a single partner relation type identified with a slug - can be used to create partner relations
241
+ * Retrieve a single partner relation type identified with a slug - can be used to create partner relations **Required Permissions** \"partner-management.partners.view\"
242
242
  * @summary Retrieve the partner relation type
243
243
  * @param {string} slug Identifying slug of the partner relation type
244
244
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -286,13 +286,13 @@ var PartnerRelationsApiAxiosParamCreator = function (configuration) {
286
286
  });
287
287
  },
288
288
  /**
289
- * List all partner relation types - is used to create partner relations
289
+ * List all partner relation types - is used to create partner relations **Required Permissions** \"partner-management.partners.view\"
290
290
  * @summary List partner relation types
291
291
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
292
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
293
- * @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.
292
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
293
+ * @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.
294
294
  * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, slug, relationName, maxCardinality, inverseMaxCardinality, partnerName</i>
295
- * @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
295
+ * @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
296
296
  * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, slug, maxCardinality, inverseMaxCardinality, createdAt, updatedAt</i>
297
297
  * @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/>
298
298
  * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, slug, relationName, maxCardinality, inverseMaxCardinality, partnerName</i>
@@ -358,13 +358,13 @@ var PartnerRelationsApiAxiosParamCreator = function (configuration) {
358
358
  });
359
359
  },
360
360
  /**
361
- * List all partner relations
361
+ * List all partner relations **Required Permissions** \"partner-management.partners.view\"
362
362
  * @summary List partner relations
363
363
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
364
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
365
- * @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.
364
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
365
+ * @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.
366
366
  * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, partner1Id, partner2Id, partnerRelationTypeSlug, partnerRelationTypeId</i>
367
- * @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
367
+ * @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
368
368
  * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, partnerRelationTypeId, startDate, endDate, createdAt, updatedAt</i>
369
369
  * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: partner1, partner2, partnerRelationType<i>
370
370
  * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, partner1Id, partner2Id, partnerRelationTypeSlug, partnerRelationTypeId</i>
@@ -430,7 +430,7 @@ var PartnerRelationsApiAxiosParamCreator = function (configuration) {
430
430
  });
431
431
  },
432
432
  /**
433
- * Update a partner relation identified by its id
433
+ * Update a partner relation identified by its id **Required Permissions** \"partner-management.partners.update\"
434
434
  * @summary Update the partner relation
435
435
  * @param {number} id Id of the partner relation
436
436
  * @param {UpdatePartnerRelationRequestDtoRest} updatePartnerRelationRequestDtoRest
@@ -493,7 +493,7 @@ var PartnerRelationsApiFp = function (configuration) {
493
493
  var localVarAxiosParamCreator = (0, exports.PartnerRelationsApiAxiosParamCreator)(configuration);
494
494
  return {
495
495
  /**
496
- * This will create a relationship between two partners. For example a parent-child relationship, or a partnership agreement.
496
+ * This will create a relationship between two partners. For example a parent-child relationship, or a partnership agreement. **Required Permissions** \"partner-management.partners.create\"
497
497
  * @summary Create the partner relation
498
498
  * @param {CreatePartnerRelationRequestDtoRest} createPartnerRelationRequestDtoRest
499
499
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -514,7 +514,7 @@ var PartnerRelationsApiFp = function (configuration) {
514
514
  });
515
515
  },
516
516
  /**
517
- * Permanently deletes the partner-relation. Supply the unique code that was returned when you created the partner-relation and this will delete it.
517
+ * Permanently deletes the partner-relation. Supply the unique code that was returned when you created the partner-relation and this will delete it. **Required Permissions** \"partner-management.partners.delete\"
518
518
  * @summary Delete the partner-relation
519
519
  * @param {number} id
520
520
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -535,7 +535,7 @@ var PartnerRelationsApiFp = function (configuration) {
535
535
  });
536
536
  },
537
537
  /**
538
- * Retrieve a single partner relation identified by its id
538
+ * Retrieve a single partner relation identified by its id **Required Permissions** \"partner-management.partners.view\"
539
539
  * @summary Retrieve the partner relation
540
540
  * @param {number} id Id of the partner relation
541
541
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -556,7 +556,7 @@ var PartnerRelationsApiFp = function (configuration) {
556
556
  });
557
557
  },
558
558
  /**
559
- * Retrieve a single partner relation type identified with a slug - can be used to create partner relations
559
+ * Retrieve a single partner relation type identified with a slug - can be used to create partner relations **Required Permissions** \"partner-management.partners.view\"
560
560
  * @summary Retrieve the partner relation type
561
561
  * @param {string} slug Identifying slug of the partner relation type
562
562
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -577,13 +577,13 @@ var PartnerRelationsApiFp = function (configuration) {
577
577
  });
578
578
  },
579
579
  /**
580
- * List all partner relation types - is used to create partner relations
580
+ * List all partner relation types - is used to create partner relations **Required Permissions** \"partner-management.partners.view\"
581
581
  * @summary List partner relation types
582
582
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
583
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
584
- * @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.
583
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
584
+ * @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.
585
585
  * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, slug, relationName, maxCardinality, inverseMaxCardinality, partnerName</i>
586
- * @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
586
+ * @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
587
587
  * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, slug, maxCardinality, inverseMaxCardinality, createdAt, updatedAt</i>
588
588
  * @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/>
589
589
  * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, slug, relationName, maxCardinality, inverseMaxCardinality, partnerName</i>
@@ -604,13 +604,13 @@ var PartnerRelationsApiFp = function (configuration) {
604
604
  });
605
605
  },
606
606
  /**
607
- * List all partner relations
607
+ * List all partner relations **Required Permissions** \"partner-management.partners.view\"
608
608
  * @summary List partner relations
609
609
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
610
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
611
- * @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.
610
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
611
+ * @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.
612
612
  * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, partner1Id, partner2Id, partnerRelationTypeSlug, partnerRelationTypeId</i>
613
- * @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
613
+ * @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
614
614
  * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, partnerRelationTypeId, startDate, endDate, createdAt, updatedAt</i>
615
615
  * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: partner1, partner2, partnerRelationType<i>
616
616
  * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, partner1Id, partner2Id, partnerRelationTypeSlug, partnerRelationTypeId</i>
@@ -631,7 +631,7 @@ var PartnerRelationsApiFp = function (configuration) {
631
631
  });
632
632
  },
633
633
  /**
634
- * Update a partner relation identified by its id
634
+ * Update a partner relation identified by its id **Required Permissions** \"partner-management.partners.update\"
635
635
  * @summary Update the partner relation
636
636
  * @param {number} id Id of the partner relation
637
637
  * @param {UpdatePartnerRelationRequestDtoRest} updatePartnerRelationRequestDtoRest
@@ -663,7 +663,7 @@ var PartnerRelationsApiFactory = function (configuration, basePath, axios) {
663
663
  var localVarFp = (0, exports.PartnerRelationsApiFp)(configuration);
664
664
  return {
665
665
  /**
666
- * This will create a relationship between two partners. For example a parent-child relationship, or a partnership agreement.
666
+ * This will create a relationship between two partners. For example a parent-child relationship, or a partnership agreement. **Required Permissions** \"partner-management.partners.create\"
667
667
  * @summary Create the partner relation
668
668
  * @param {CreatePartnerRelationRequestDtoRest} createPartnerRelationRequestDtoRest
669
669
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -674,7 +674,7 @@ var PartnerRelationsApiFactory = function (configuration, basePath, axios) {
674
674
  return localVarFp.createPartnerRelation(createPartnerRelationRequestDtoRest, authorization, options).then(function (request) { return request(axios, basePath); });
675
675
  },
676
676
  /**
677
- * Permanently deletes the partner-relation. Supply the unique code that was returned when you created the partner-relation and this will delete it.
677
+ * Permanently deletes the partner-relation. Supply the unique code that was returned when you created the partner-relation and this will delete it. **Required Permissions** \"partner-management.partners.delete\"
678
678
  * @summary Delete the partner-relation
679
679
  * @param {number} id
680
680
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -685,7 +685,7 @@ var PartnerRelationsApiFactory = function (configuration, basePath, axios) {
685
685
  return localVarFp.deletePartnerRelation(id, authorization, options).then(function (request) { return request(axios, basePath); });
686
686
  },
687
687
  /**
688
- * Retrieve a single partner relation identified by its id
688
+ * Retrieve a single partner relation identified by its id **Required Permissions** \"partner-management.partners.view\"
689
689
  * @summary Retrieve the partner relation
690
690
  * @param {number} id Id of the partner relation
691
691
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -696,7 +696,7 @@ var PartnerRelationsApiFactory = function (configuration, basePath, axios) {
696
696
  return localVarFp.getPartnerRelation(id, authorization, options).then(function (request) { return request(axios, basePath); });
697
697
  },
698
698
  /**
699
- * Retrieve a single partner relation type identified with a slug - can be used to create partner relations
699
+ * Retrieve a single partner relation type identified with a slug - can be used to create partner relations **Required Permissions** \"partner-management.partners.view\"
700
700
  * @summary Retrieve the partner relation type
701
701
  * @param {string} slug Identifying slug of the partner relation type
702
702
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -707,13 +707,13 @@ var PartnerRelationsApiFactory = function (configuration, basePath, axios) {
707
707
  return localVarFp.getPartnerRelationType(slug, authorization, options).then(function (request) { return request(axios, basePath); });
708
708
  },
709
709
  /**
710
- * List all partner relation types - is used to create partner relations
710
+ * List all partner relation types - is used to create partner relations **Required Permissions** \"partner-management.partners.view\"
711
711
  * @summary List partner relation types
712
712
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
713
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
714
- * @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.
713
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
714
+ * @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.
715
715
  * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, slug, relationName, maxCardinality, inverseMaxCardinality, partnerName</i>
716
- * @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
716
+ * @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
717
717
  * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, slug, maxCardinality, inverseMaxCardinality, createdAt, updatedAt</i>
718
718
  * @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/>
719
719
  * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, slug, relationName, maxCardinality, inverseMaxCardinality, partnerName</i>
@@ -724,13 +724,13 @@ var PartnerRelationsApiFactory = function (configuration, basePath, axios) {
724
724
  return localVarFp.listPartnerRelationTypes(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
725
725
  },
726
726
  /**
727
- * List all partner relations
727
+ * List all partner relations **Required Permissions** \"partner-management.partners.view\"
728
728
  * @summary List partner relations
729
729
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
730
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
731
- * @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.
730
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
731
+ * @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.
732
732
  * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, partner1Id, partner2Id, partnerRelationTypeSlug, partnerRelationTypeId</i>
733
- * @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
733
+ * @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
734
734
  * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, partnerRelationTypeId, startDate, endDate, createdAt, updatedAt</i>
735
735
  * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: partner1, partner2, partnerRelationType<i>
736
736
  * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, partner1Id, partner2Id, partnerRelationTypeSlug, partnerRelationTypeId</i>
@@ -741,7 +741,7 @@ var PartnerRelationsApiFactory = function (configuration, basePath, axios) {
741
741
  return localVarFp.listPartnerRelations(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
742
742
  },
743
743
  /**
744
- * Update a partner relation identified by its id
744
+ * Update a partner relation identified by its id **Required Permissions** \"partner-management.partners.update\"
745
745
  * @summary Update the partner relation
746
746
  * @param {number} id Id of the partner relation
747
747
  * @param {UpdatePartnerRelationRequestDtoRest} updatePartnerRelationRequestDtoRest
@@ -767,7 +767,7 @@ var PartnerRelationsApi = /** @class */ (function (_super) {
767
767
  return _super !== null && _super.apply(this, arguments) || this;
768
768
  }
769
769
  /**
770
- * This will create a relationship between two partners. For example a parent-child relationship, or a partnership agreement.
770
+ * This will create a relationship between two partners. For example a parent-child relationship, or a partnership agreement. **Required Permissions** \"partner-management.partners.create\"
771
771
  * @summary Create the partner relation
772
772
  * @param {PartnerRelationsApiCreatePartnerRelationRequest} requestParameters Request parameters.
773
773
  * @param {*} [options] Override http request option.
@@ -779,7 +779,7 @@ var PartnerRelationsApi = /** @class */ (function (_super) {
779
779
  return (0, exports.PartnerRelationsApiFp)(this.configuration).createPartnerRelation(requestParameters.createPartnerRelationRequestDtoRest, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
780
780
  };
781
781
  /**
782
- * Permanently deletes the partner-relation. Supply the unique code that was returned when you created the partner-relation and this will delete it.
782
+ * Permanently deletes the partner-relation. Supply the unique code that was returned when you created the partner-relation and this will delete it. **Required Permissions** \"partner-management.partners.delete\"
783
783
  * @summary Delete the partner-relation
784
784
  * @param {PartnerRelationsApiDeletePartnerRelationRequest} requestParameters Request parameters.
785
785
  * @param {*} [options] Override http request option.
@@ -791,7 +791,7 @@ var PartnerRelationsApi = /** @class */ (function (_super) {
791
791
  return (0, exports.PartnerRelationsApiFp)(this.configuration).deletePartnerRelation(requestParameters.id, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
792
792
  };
793
793
  /**
794
- * Retrieve a single partner relation identified by its id
794
+ * Retrieve a single partner relation identified by its id **Required Permissions** \"partner-management.partners.view\"
795
795
  * @summary Retrieve the partner relation
796
796
  * @param {PartnerRelationsApiGetPartnerRelationRequest} requestParameters Request parameters.
797
797
  * @param {*} [options] Override http request option.
@@ -803,7 +803,7 @@ var PartnerRelationsApi = /** @class */ (function (_super) {
803
803
  return (0, exports.PartnerRelationsApiFp)(this.configuration).getPartnerRelation(requestParameters.id, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
804
804
  };
805
805
  /**
806
- * Retrieve a single partner relation type identified with a slug - can be used to create partner relations
806
+ * Retrieve a single partner relation type identified with a slug - can be used to create partner relations **Required Permissions** \"partner-management.partners.view\"
807
807
  * @summary Retrieve the partner relation type
808
808
  * @param {PartnerRelationsApiGetPartnerRelationTypeRequest} requestParameters Request parameters.
809
809
  * @param {*} [options] Override http request option.
@@ -815,7 +815,7 @@ var PartnerRelationsApi = /** @class */ (function (_super) {
815
815
  return (0, exports.PartnerRelationsApiFp)(this.configuration).getPartnerRelationType(requestParameters.slug, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
816
816
  };
817
817
  /**
818
- * List all partner relation types - is used to create partner relations
818
+ * List all partner relation types - is used to create partner relations **Required Permissions** \"partner-management.partners.view\"
819
819
  * @summary List partner relation types
820
820
  * @param {PartnerRelationsApiListPartnerRelationTypesRequest} requestParameters Request parameters.
821
821
  * @param {*} [options] Override http request option.
@@ -828,7 +828,7 @@ var PartnerRelationsApi = /** @class */ (function (_super) {
828
828
  return (0, exports.PartnerRelationsApiFp)(this.configuration).listPartnerRelationTypes(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then(function (request) { return request(_this.axios, _this.basePath); });
829
829
  };
830
830
  /**
831
- * List all partner relations
831
+ * List all partner relations **Required Permissions** \"partner-management.partners.view\"
832
832
  * @summary List partner relations
833
833
  * @param {PartnerRelationsApiListPartnerRelationsRequest} requestParameters Request parameters.
834
834
  * @param {*} [options] Override http request option.
@@ -841,7 +841,7 @@ var PartnerRelationsApi = /** @class */ (function (_super) {
841
841
  return (0, exports.PartnerRelationsApiFp)(this.configuration).listPartnerRelations(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then(function (request) { return request(_this.axios, _this.basePath); });
842
842
  };
843
843
  /**
844
- * Update a partner relation identified by its id
844
+ * Update a partner relation identified by its id **Required Permissions** \"partner-management.partners.update\"
845
845
  * @summary Update the partner relation
846
846
  * @param {PartnerRelationsApiUpdatePartnerRelationRequest} requestParameters Request parameters.
847
847
  * @param {*} [options] Override http request option.
@@ -24,7 +24,7 @@ import { UpdateTagResponseClass } from '../models';
24
24
  */
25
25
  export declare const PartnerTagsApiAxiosParamCreator: (configuration?: Configuration) => {
26
26
  /**
27
- * 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.
27
+ * 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\"
28
28
  * @summary Create the partner tag
29
29
  * @param {CreateTagRequestDto} createTagRequestDto
30
30
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -33,16 +33,16 @@ export declare const PartnerTagsApiAxiosParamCreator: (configuration?: Configura
33
33
  */
34
34
  createTag: (createTagRequestDto: CreateTagRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
35
35
  /**
36
- * Permanently deletes the partner tag. Supply the unique code that was returned when you created the partner tag and this will delete it.
36
+ * 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\"
37
37
  * @summary Delete the partner tag
38
- * @param {string} code
38
+ * @param {string} code Unique identifier for the object.
39
39
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
40
40
  * @param {*} [options] Override http request option.
41
41
  * @throws {RequiredError}
42
42
  */
43
43
  deleteTag: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
44
44
  /**
45
- * 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.
45
+ * 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\"
46
46
  * @summary Retrieve the partner tag
47
47
  * @param {string} code Unique identifier for the object.
48
48
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -51,22 +51,22 @@ export declare const PartnerTagsApiAxiosParamCreator: (configuration?: Configura
51
51
  */
52
52
  getTag: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
53
53
  /**
54
- * 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.
54
+ * 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\"
55
55
  * @summary List partner tags
56
56
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
57
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
58
- * @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.
57
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
58
+ * @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.
59
59
  * @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;
60
- * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
60
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
61
61
  * @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;
62
62
  * @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;
63
63
  * @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;
64
64
  * @param {*} [options] Override http request option.
65
65
  * @throws {RequiredError}
66
66
  */
67
- listTags: (authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
67
+ listTags: (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
68
68
  /**
69
- * Updates the specified partner tag by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
69
+ * 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\"
70
70
  * @summary Update the partner tag
71
71
  * @param {string} code
72
72
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -81,7 +81,7 @@ export declare const PartnerTagsApiAxiosParamCreator: (configuration?: Configura
81
81
  */
82
82
  export declare const PartnerTagsApiFp: (configuration?: Configuration) => {
83
83
  /**
84
- * 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.
84
+ * 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\"
85
85
  * @summary Create the partner tag
86
86
  * @param {CreateTagRequestDto} createTagRequestDto
87
87
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -90,16 +90,16 @@ export declare const PartnerTagsApiFp: (configuration?: Configuration) => {
90
90
  */
91
91
  createTag(createTagRequestDto: CreateTagRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateTagResponseClass>>;
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}
99
99
  */
100
100
  deleteTag(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeleteResponseClass>>;
101
101
  /**
102
- * 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.
102
+ * 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\"
103
103
  * @summary Retrieve the partner tag
104
104
  * @param {string} code Unique identifier for the object.
105
105
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -108,22 +108,22 @@ export declare const PartnerTagsApiFp: (configuration?: Configuration) => {
108
108
  */
109
109
  getTag(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetTagResponseClass>>;
110
110
  /**
111
- * 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.
111
+ * 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\"
112
112
  * @summary List partner tags
113
113
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
114
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
115
- * @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.
114
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
115
+ * @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.
116
116
  * @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;
117
- * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
117
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
118
118
  * @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;
119
119
  * @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;
120
120
  * @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;
121
121
  * @param {*} [options] Override http request option.
122
122
  * @throws {RequiredError}
123
123
  */
124
- 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>>;
124
+ 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>>;
125
125
  /**
126
- * Updates the specified partner tag by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
126
+ * 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\"
127
127
  * @summary Update the partner tag
128
128
  * @param {string} code
129
129
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -138,7 +138,7 @@ export declare const PartnerTagsApiFp: (configuration?: Configuration) => {
138
138
  */
139
139
  export declare const PartnerTagsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
140
140
  /**
141
- * 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.
141
+ * 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\"
142
142
  * @summary Create the partner tag
143
143
  * @param {CreateTagRequestDto} createTagRequestDto
144
144
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -147,16 +147,16 @@ export declare const PartnerTagsApiFactory: (configuration?: Configuration, base
147
147
  */
148
148
  createTag(createTagRequestDto: CreateTagRequestDto, authorization?: string, options?: any): AxiosPromise<CreateTagResponseClass>;
149
149
  /**
150
- * Permanently deletes the partner tag. Supply the unique code that was returned when you created the partner tag and this will delete it.
150
+ * 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\"
151
151
  * @summary Delete the partner tag
152
- * @param {string} code
152
+ * @param {string} code Unique identifier for the object.
153
153
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
154
154
  * @param {*} [options] Override http request option.
155
155
  * @throws {RequiredError}
156
156
  */
157
157
  deleteTag(code: string, authorization?: string, options?: any): AxiosPromise<DeleteResponseClass>;
158
158
  /**
159
- * 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.
159
+ * 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\"
160
160
  * @summary Retrieve the partner tag
161
161
  * @param {string} code Unique identifier for the object.
162
162
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -165,22 +165,22 @@ export declare const PartnerTagsApiFactory: (configuration?: Configuration, base
165
165
  */
166
166
  getTag(code: string, authorization?: string, options?: any): AxiosPromise<GetTagResponseClass>;
167
167
  /**
168
- * 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.
168
+ * 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\"
169
169
  * @summary List partner tags
170
170
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
171
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
172
- * @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.
171
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
172
+ * @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.
173
173
  * @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;
174
- * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
174
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
175
175
  * @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;
176
176
  * @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;
177
177
  * @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;
178
178
  * @param {*} [options] Override http request option.
179
179
  * @throws {RequiredError}
180
180
  */
181
- listTags(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListTagsResponseClass>;
181
+ listTags(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListTagsResponseClass>;
182
182
  /**
183
- * Updates the specified partner tag by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
183
+ * 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\"
184
184
  * @summary Update the partner tag
185
185
  * @param {string} code
186
186
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -215,7 +215,7 @@ export interface PartnerTagsApiCreateTagRequest {
215
215
  */
216
216
  export interface PartnerTagsApiDeleteTagRequest {
217
217
  /**
218
- *
218
+ * Unique identifier for the object.
219
219
  * @type {string}
220
220
  * @memberof PartnerTagsApiDeleteTag
221
221
  */
@@ -260,16 +260,16 @@ export interface PartnerTagsApiListTagsRequest {
260
260
  readonly authorization?: string;
261
261
  /**
262
262
  * A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
263
- * @type {any}
263
+ * @type {number}
264
264
  * @memberof PartnerTagsApiListTags
265
265
  */
266
- readonly pageSize?: any;
266
+ readonly pageSize?: number;
267
267
  /**
268
- * 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.
269
- * @type {any}
268
+ * 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.
269
+ * @type {string}
270
270
  * @memberof PartnerTagsApiListTags
271
271
  */
272
- readonly pageToken?: any;
272
+ readonly pageToken?: string;
273
273
  /**
274
274
  * 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;
275
275
  * @type {string}
@@ -278,10 +278,10 @@ export interface PartnerTagsApiListTagsRequest {
278
278
  readonly filter?: string;
279
279
  /**
280
280
  * To search the list by any field, pass search&#x3D;xxx to fetch the result.
281
- * @type {any}
281
+ * @type {string}
282
282
  * @memberof PartnerTagsApiListTags
283
283
  */
284
- readonly search?: any;
284
+ readonly search?: string;
285
285
  /**
286
286
  * 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;
287
287
  * @type {string}
@@ -328,7 +328,7 @@ export interface PartnerTagsApiUpdateTagRequest {
328
328
  */
329
329
  export declare class PartnerTagsApi extends BaseAPI {
330
330
  /**
331
- * 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.
331
+ * 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\"
332
332
  * @summary Create the partner tag
333
333
  * @param {PartnerTagsApiCreateTagRequest} requestParameters Request parameters.
334
334
  * @param {*} [options] Override http request option.
@@ -337,7 +337,7 @@ export declare class PartnerTagsApi extends BaseAPI {
337
337
  */
338
338
  createTag(requestParameters: PartnerTagsApiCreateTagRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateTagResponseClass, any>>;
339
339
  /**
340
- * Permanently deletes the partner tag. Supply the unique code that was returned when you created the partner tag and this will delete it.
340
+ * 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\"
341
341
  * @summary Delete the partner tag
342
342
  * @param {PartnerTagsApiDeleteTagRequest} requestParameters Request parameters.
343
343
  * @param {*} [options] Override http request option.
@@ -346,7 +346,7 @@ export declare class PartnerTagsApi extends BaseAPI {
346
346
  */
347
347
  deleteTag(requestParameters: PartnerTagsApiDeleteTagRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DeleteResponseClass, any>>;
348
348
  /**
349
- * 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.
349
+ * 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\"
350
350
  * @summary Retrieve the partner tag
351
351
  * @param {PartnerTagsApiGetTagRequest} requestParameters Request parameters.
352
352
  * @param {*} [options] Override http request option.
@@ -355,7 +355,7 @@ export declare class PartnerTagsApi extends BaseAPI {
355
355
  */
356
356
  getTag(requestParameters: PartnerTagsApiGetTagRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetTagResponseClass, any>>;
357
357
  /**
358
- * 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.
358
+ * 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\"
359
359
  * @summary List partner tags
360
360
  * @param {PartnerTagsApiListTagsRequest} requestParameters Request parameters.
361
361
  * @param {*} [options] Override http request option.
@@ -364,7 +364,7 @@ export declare class PartnerTagsApi extends BaseAPI {
364
364
  */
365
365
  listTags(requestParameters?: PartnerTagsApiListTagsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListTagsResponseClass, any>>;
366
366
  /**
367
- * Updates the specified partner tag by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
367
+ * 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\"
368
368
  * @summary Update the partner tag
369
369
  * @param {PartnerTagsApiUpdateTagRequest} requestParameters Request parameters.
370
370
  * @param {*} [options] Override http request option.