@emilgroup/partner-sdk-node 1.12.0 → 1.13.1-beta.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.
@@ -97,7 +97,7 @@ var PartnerTypesApiAxiosParamCreator = function (configuration) {
97
97
  var _this = this;
98
98
  return {
99
99
  /**
100
- * This will create a partner type.
100
+ * This will create a partner type. **Required Permissions** \"partner-management.partners.create\"
101
101
  * @summary Create the partner-types
102
102
  * @param {CreatePartnerTypeRequestDto} createPartnerTypeRequestDto
103
103
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -146,7 +146,7 @@ var PartnerTypesApiAxiosParamCreator = function (configuration) {
146
146
  });
147
147
  },
148
148
  /**
149
- * Permanently deletes the partner-types. Supply the unique code that was returned when you created the partner-types and this will delete it.
149
+ * 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\"
150
150
  * @summary Delete the partner-types
151
151
  * @param {string} code
152
152
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -194,7 +194,7 @@ var PartnerTypesApiAxiosParamCreator = function (configuration) {
194
194
  });
195
195
  },
196
196
  /**
197
- * 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.
197
+ * 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\"
198
198
  * @summary Retrieve the partner-types
199
199
  * @param {string} code Unique identifier for the object.
200
200
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -246,7 +246,7 @@ var PartnerTypesApiAxiosParamCreator = function (configuration) {
246
246
  });
247
247
  },
248
248
  /**
249
- * 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.
249
+ * 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\"
250
250
  * @summary List partner-types
251
251
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
252
252
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
@@ -318,7 +318,7 @@ var PartnerTypesApiAxiosParamCreator = function (configuration) {
318
318
  });
319
319
  },
320
320
  /**
321
- * Updates the specified partner-types by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
321
+ * 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\"
322
322
  * @summary Update the partner-types
323
323
  * @param {string} code Unique identifier for the object.
324
324
  * @param {UpdatePartnerTypeRequestDto} updatePartnerTypeRequestDto
@@ -381,7 +381,7 @@ var PartnerTypesApiFp = function (configuration) {
381
381
  var localVarAxiosParamCreator = (0, exports.PartnerTypesApiAxiosParamCreator)(configuration);
382
382
  return {
383
383
  /**
384
- * This will create a partner type.
384
+ * This will create a partner type. **Required Permissions** \"partner-management.partners.create\"
385
385
  * @summary Create the partner-types
386
386
  * @param {CreatePartnerTypeRequestDto} createPartnerTypeRequestDto
387
387
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -402,7 +402,7 @@ var PartnerTypesApiFp = function (configuration) {
402
402
  });
403
403
  },
404
404
  /**
405
- * Permanently deletes the partner-types. Supply the unique code that was returned when you created the partner-types and this will delete it.
405
+ * 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\"
406
406
  * @summary Delete the partner-types
407
407
  * @param {string} code
408
408
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -423,7 +423,7 @@ var PartnerTypesApiFp = function (configuration) {
423
423
  });
424
424
  },
425
425
  /**
426
- * 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.
426
+ * 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\"
427
427
  * @summary Retrieve the partner-types
428
428
  * @param {string} code Unique identifier for the object.
429
429
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -445,7 +445,7 @@ var PartnerTypesApiFp = function (configuration) {
445
445
  });
446
446
  },
447
447
  /**
448
- * 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.
448
+ * 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\"
449
449
  * @summary List partner-types
450
450
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
451
451
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
@@ -472,7 +472,7 @@ var PartnerTypesApiFp = function (configuration) {
472
472
  });
473
473
  },
474
474
  /**
475
- * Updates the specified partner-types by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
475
+ * 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\"
476
476
  * @summary Update the partner-types
477
477
  * @param {string} code Unique identifier for the object.
478
478
  * @param {UpdatePartnerTypeRequestDto} updatePartnerTypeRequestDto
@@ -504,7 +504,7 @@ var PartnerTypesApiFactory = function (configuration, basePath, axios) {
504
504
  var localVarFp = (0, exports.PartnerTypesApiFp)(configuration);
505
505
  return {
506
506
  /**
507
- * This will create a partner type.
507
+ * This will create a partner type. **Required Permissions** \"partner-management.partners.create\"
508
508
  * @summary Create the partner-types
509
509
  * @param {CreatePartnerTypeRequestDto} createPartnerTypeRequestDto
510
510
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -515,7 +515,7 @@ var PartnerTypesApiFactory = function (configuration, basePath, axios) {
515
515
  return localVarFp.createPartnerType(createPartnerTypeRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
516
516
  },
517
517
  /**
518
- * Permanently deletes the partner-types. Supply the unique code that was returned when you created the partner-types and this will delete it.
518
+ * 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\"
519
519
  * @summary Delete the partner-types
520
520
  * @param {string} code
521
521
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -526,7 +526,7 @@ var PartnerTypesApiFactory = function (configuration, basePath, axios) {
526
526
  return localVarFp.deletePartnerType(code, authorization, options).then(function (request) { return request(axios, basePath); });
527
527
  },
528
528
  /**
529
- * 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.
529
+ * 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\"
530
530
  * @summary Retrieve the partner-types
531
531
  * @param {string} code Unique identifier for the object.
532
532
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -538,7 +538,7 @@ var PartnerTypesApiFactory = function (configuration, basePath, axios) {
538
538
  return localVarFp.getPartnerType(code, authorization, expand, options).then(function (request) { return request(axios, basePath); });
539
539
  },
540
540
  /**
541
- * 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.
541
+ * 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\"
542
542
  * @summary List partner-types
543
543
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
544
544
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
@@ -555,7 +555,7 @@ var PartnerTypesApiFactory = function (configuration, basePath, axios) {
555
555
  return localVarFp.listPartnerTypes(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
556
556
  },
557
557
  /**
558
- * Updates the specified partner-types by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
558
+ * 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\"
559
559
  * @summary Update the partner-types
560
560
  * @param {string} code Unique identifier for the object.
561
561
  * @param {UpdatePartnerTypeRequestDto} updatePartnerTypeRequestDto
@@ -581,7 +581,7 @@ var PartnerTypesApi = /** @class */ (function (_super) {
581
581
  return _super !== null && _super.apply(this, arguments) || this;
582
582
  }
583
583
  /**
584
- * This will create a partner type.
584
+ * This will create a partner type. **Required Permissions** \"partner-management.partners.create\"
585
585
  * @summary Create the partner-types
586
586
  * @param {PartnerTypesApiCreatePartnerTypeRequest} requestParameters Request parameters.
587
587
  * @param {*} [options] Override http request option.
@@ -593,7 +593,7 @@ var PartnerTypesApi = /** @class */ (function (_super) {
593
593
  return (0, exports.PartnerTypesApiFp)(this.configuration).createPartnerType(requestParameters.createPartnerTypeRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
594
594
  };
595
595
  /**
596
- * Permanently deletes the partner-types. Supply the unique code that was returned when you created the partner-types and this will delete it.
596
+ * 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\"
597
597
  * @summary Delete the partner-types
598
598
  * @param {PartnerTypesApiDeletePartnerTypeRequest} requestParameters Request parameters.
599
599
  * @param {*} [options] Override http request option.
@@ -605,7 +605,7 @@ var PartnerTypesApi = /** @class */ (function (_super) {
605
605
  return (0, exports.PartnerTypesApiFp)(this.configuration).deletePartnerType(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
606
606
  };
607
607
  /**
608
- * 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.
608
+ * 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\"
609
609
  * @summary Retrieve the partner-types
610
610
  * @param {PartnerTypesApiGetPartnerTypeRequest} requestParameters Request parameters.
611
611
  * @param {*} [options] Override http request option.
@@ -617,7 +617,7 @@ var PartnerTypesApi = /** @class */ (function (_super) {
617
617
  return (0, exports.PartnerTypesApiFp)(this.configuration).getPartnerType(requestParameters.code, requestParameters.authorization, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
618
618
  };
619
619
  /**
620
- * 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.
620
+ * 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\"
621
621
  * @summary List partner-types
622
622
  * @param {PartnerTypesApiListPartnerTypesRequest} requestParameters Request parameters.
623
623
  * @param {*} [options] Override http request option.
@@ -630,7 +630,7 @@ var PartnerTypesApi = /** @class */ (function (_super) {
630
630
  return (0, exports.PartnerTypesApiFp)(this.configuration).listPartnerTypes(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); });
631
631
  };
632
632
  /**
633
- * Updates the specified partner-types by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
633
+ * 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\"
634
634
  * @summary Update the partner-types
635
635
  * @param {PartnerTypesApiUpdatePartnerTypeRequest} requestParameters Request parameters.
636
636
  * @param {*} [options] Override http request option.
@@ -20,7 +20,7 @@ import { ListPartnerVersionsResponseClass } from '../models';
20
20
  */
21
21
  export declare const PartnerVersionsApiAxiosParamCreator: (configuration?: Configuration) => {
22
22
  /**
23
- * Retrieve a partner version by providing partner code and version number
23
+ * Retrieve a partner version by providing partner code and version number **Required Permissions** \"partner-management.partners.view\"
24
24
  * @summary Retrieve the partner version
25
25
  * @param {string} code Unique identifier for the object.
26
26
  * @param {number} version
@@ -30,7 +30,7 @@ export declare const PartnerVersionsApiAxiosParamCreator: (configuration?: Confi
30
30
  */
31
31
  getPartnerVersion: (code: string, version: number, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
32
32
  /**
33
- * Returns a list of partner versions you have previously created. The partner versions are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
33
+ * Returns a list of partner versions you have previously created. The partner versions 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\"
34
34
  * @summary List partner versions
35
35
  * @param {string} code
36
36
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -52,7 +52,7 @@ export declare const PartnerVersionsApiAxiosParamCreator: (configuration?: Confi
52
52
  */
53
53
  export declare const PartnerVersionsApiFp: (configuration?: Configuration) => {
54
54
  /**
55
- * Retrieve a partner version by providing partner code and version number
55
+ * Retrieve a partner version by providing partner code and version number **Required Permissions** \"partner-management.partners.view\"
56
56
  * @summary Retrieve the partner version
57
57
  * @param {string} code Unique identifier for the object.
58
58
  * @param {number} version
@@ -62,7 +62,7 @@ export declare const PartnerVersionsApiFp: (configuration?: Configuration) => {
62
62
  */
63
63
  getPartnerVersion(code: string, version: number, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetPartnerVersionResponseClass>>;
64
64
  /**
65
- * Returns a list of partner versions you have previously created. The partner versions are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
65
+ * Returns a list of partner versions you have previously created. The partner versions 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\"
66
66
  * @summary List partner versions
67
67
  * @param {string} code
68
68
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -84,7 +84,7 @@ export declare const PartnerVersionsApiFp: (configuration?: Configuration) => {
84
84
  */
85
85
  export declare const PartnerVersionsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
86
86
  /**
87
- * Retrieve a partner version by providing partner code and version number
87
+ * Retrieve a partner version by providing partner code and version number **Required Permissions** \"partner-management.partners.view\"
88
88
  * @summary Retrieve the partner version
89
89
  * @param {string} code Unique identifier for the object.
90
90
  * @param {number} version
@@ -94,7 +94,7 @@ export declare const PartnerVersionsApiFactory: (configuration?: Configuration,
94
94
  */
95
95
  getPartnerVersion(code: string, version: number, authorization?: string, options?: any): AxiosPromise<GetPartnerVersionResponseClass>;
96
96
  /**
97
- * Returns a list of partner versions you have previously created. The partner versions are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
97
+ * Returns a list of partner versions you have previously created. The partner versions 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\"
98
98
  * @summary List partner versions
99
99
  * @param {string} code
100
100
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -204,7 +204,7 @@ export interface PartnerVersionsApiListPartnerVersionRequest {
204
204
  */
205
205
  export declare class PartnerVersionsApi extends BaseAPI {
206
206
  /**
207
- * Retrieve a partner version by providing partner code and version number
207
+ * Retrieve a partner version by providing partner code and version number **Required Permissions** \"partner-management.partners.view\"
208
208
  * @summary Retrieve the partner version
209
209
  * @param {PartnerVersionsApiGetPartnerVersionRequest} requestParameters Request parameters.
210
210
  * @param {*} [options] Override http request option.
@@ -213,7 +213,7 @@ export declare class PartnerVersionsApi extends BaseAPI {
213
213
  */
214
214
  getPartnerVersion(requestParameters: PartnerVersionsApiGetPartnerVersionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetPartnerVersionResponseClass, any>>;
215
215
  /**
216
- * Returns a list of partner versions you have previously created. The partner versions are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
216
+ * Returns a list of partner versions you have previously created. The partner versions 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\"
217
217
  * @summary List partner versions
218
218
  * @param {PartnerVersionsApiListPartnerVersionRequest} requestParameters Request parameters.
219
219
  * @param {*} [options] Override http request option.
@@ -97,7 +97,7 @@ var PartnerVersionsApiAxiosParamCreator = function (configuration) {
97
97
  var _this = this;
98
98
  return {
99
99
  /**
100
- * Retrieve a partner version by providing partner code and version number
100
+ * Retrieve a partner version by providing partner code and version number **Required Permissions** \"partner-management.partners.view\"
101
101
  * @summary Retrieve the partner version
102
102
  * @param {string} code Unique identifier for the object.
103
103
  * @param {number} version
@@ -149,7 +149,7 @@ var PartnerVersionsApiAxiosParamCreator = function (configuration) {
149
149
  });
150
150
  },
151
151
  /**
152
- * Returns a list of partner versions you have previously created. The partner versions are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
152
+ * Returns a list of partner versions you have previously created. The partner versions 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\"
153
153
  * @summary List partner versions
154
154
  * @param {string} code
155
155
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -235,7 +235,7 @@ var PartnerVersionsApiFp = function (configuration) {
235
235
  var localVarAxiosParamCreator = (0, exports.PartnerVersionsApiAxiosParamCreator)(configuration);
236
236
  return {
237
237
  /**
238
- * Retrieve a partner version by providing partner code and version number
238
+ * Retrieve a partner version by providing partner code and version number **Required Permissions** \"partner-management.partners.view\"
239
239
  * @summary Retrieve the partner version
240
240
  * @param {string} code Unique identifier for the object.
241
241
  * @param {number} version
@@ -257,7 +257,7 @@ var PartnerVersionsApiFp = function (configuration) {
257
257
  });
258
258
  },
259
259
  /**
260
- * Returns a list of partner versions you have previously created. The partner versions are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
260
+ * Returns a list of partner versions you have previously created. The partner versions 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\"
261
261
  * @summary List partner versions
262
262
  * @param {string} code
263
263
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -295,7 +295,7 @@ var PartnerVersionsApiFactory = function (configuration, basePath, axios) {
295
295
  var localVarFp = (0, exports.PartnerVersionsApiFp)(configuration);
296
296
  return {
297
297
  /**
298
- * Retrieve a partner version by providing partner code and version number
298
+ * Retrieve a partner version by providing partner code and version number **Required Permissions** \"partner-management.partners.view\"
299
299
  * @summary Retrieve the partner version
300
300
  * @param {string} code Unique identifier for the object.
301
301
  * @param {number} version
@@ -307,7 +307,7 @@ var PartnerVersionsApiFactory = function (configuration, basePath, axios) {
307
307
  return localVarFp.getPartnerVersion(code, version, authorization, options).then(function (request) { return request(axios, basePath); });
308
308
  },
309
309
  /**
310
- * Returns a list of partner versions you have previously created. The partner versions are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
310
+ * Returns a list of partner versions you have previously created. The partner versions 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\"
311
311
  * @summary List partner versions
312
312
  * @param {string} code
313
313
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -339,7 +339,7 @@ var PartnerVersionsApi = /** @class */ (function (_super) {
339
339
  return _super !== null && _super.apply(this, arguments) || this;
340
340
  }
341
341
  /**
342
- * Retrieve a partner version by providing partner code and version number
342
+ * Retrieve a partner version by providing partner code and version number **Required Permissions** \"partner-management.partners.view\"
343
343
  * @summary Retrieve the partner version
344
344
  * @param {PartnerVersionsApiGetPartnerVersionRequest} requestParameters Request parameters.
345
345
  * @param {*} [options] Override http request option.
@@ -351,7 +351,7 @@ var PartnerVersionsApi = /** @class */ (function (_super) {
351
351
  return (0, exports.PartnerVersionsApiFp)(this.configuration).getPartnerVersion(requestParameters.code, requestParameters.version, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
352
352
  };
353
353
  /**
354
- * Returns a list of partner versions you have previously created. The partner versions are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
354
+ * Returns a list of partner versions you have previously created. The partner versions 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\"
355
355
  * @summary List partner versions
356
356
  * @param {PartnerVersionsApiListPartnerVersionRequest} requestParameters Request parameters.
357
357
  * @param {*} [options] Override http request option.
@@ -27,7 +27,7 @@ import { UpdatePartnerResponseClass } from '../models';
27
27
  */
28
28
  export declare const PartnersApiAxiosParamCreator: (configuration?: Configuration) => {
29
29
  /**
30
- * This will create a partner.
30
+ * This will create a partner. **Required Permissions** \"partner-management.partners.create\"
31
31
  * @summary Create the partner
32
32
  * @param {CreatePartnerRequestDto} createPartnerRequestDto
33
33
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -36,7 +36,7 @@ export declare const PartnersApiAxiosParamCreator: (configuration?: Configuratio
36
36
  */
37
37
  createPartner: (createPartnerRequestDto: CreatePartnerRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
38
38
  /**
39
- * Permanently deletes the partner. Supply the unique code that was returned when you created the partner and this will delete it.
39
+ * Permanently deletes the partner. Supply the unique code that was returned when you created the partner and this will delete it. **Required Permissions** \"partner-management.partners.delete\"
40
40
  * @summary Delete the partner
41
41
  * @param {string} code
42
42
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -45,7 +45,7 @@ export declare const PartnersApiAxiosParamCreator: (configuration?: Configuratio
45
45
  */
46
46
  deletePartner: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
47
47
  /**
48
- * Retrieves the details of the partner that was previously created. Supply the unique partner code that was returned when you created it and Emil Api will return the corresponding partner information.
48
+ * Retrieves the details of the partner that was previously created. Supply the unique partner code that was returned when you created it and Emil Api will return the corresponding partner information. **Required Permissions** \"partner-management.partners.view\"
49
49
  * @summary Retrieve the partner
50
50
  * @param {string} code Unique identifier for the object.
51
51
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -55,7 +55,7 @@ export declare const PartnersApiAxiosParamCreator: (configuration?: Configuratio
55
55
  */
56
56
  getPartner: (code: string, authorization?: string, expand?: any, options?: AxiosRequestConfig) => Promise<RequestArgs>;
57
57
  /**
58
- * Returns a list of partners you have previously created. The partners are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
58
+ * Returns a list of partners you have previously created. The partners 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\"
59
59
  * @summary List partners
60
60
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
61
61
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
@@ -70,7 +70,7 @@ export declare const PartnersApiAxiosParamCreator: (configuration?: Configuratio
70
70
  */
71
71
  listPartners: (authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
72
72
  /**
73
- * Returns a list of grouped relations for partner you have previously created. The grouped relations for partner are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
73
+ * Returns a list of grouped relations for partner you have previously created. The grouped relations for partner 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\"
74
74
  * @summary List grouped relations for partner
75
75
  * @param {string} code
76
76
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -86,7 +86,7 @@ export declare const PartnersApiAxiosParamCreator: (configuration?: Configuratio
86
86
  */
87
87
  listRelationsForPartner: (code: string, authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
88
88
  /**
89
- * Updates the specified partner by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
89
+ * Updates the specified partner by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"partner-management.partners.update\"
90
90
  * @summary Update the partner
91
91
  * @param {string} code
92
92
  * @param {TagPartnerRequestDtoRest} tagPartnerRequestDtoRest
@@ -96,7 +96,7 @@ export declare const PartnersApiAxiosParamCreator: (configuration?: Configuratio
96
96
  */
97
97
  tagPartner: (code: string, tagPartnerRequestDtoRest: TagPartnerRequestDtoRest, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
98
98
  /**
99
- * Updates the specified partner by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
99
+ * Updates the specified partner by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"partner-management.partners.update\"
100
100
  * @summary Update the partner
101
101
  * @param {string} code Unique identifier for the object.
102
102
  * @param {UpdatePartnerRequestDto} updatePartnerRequestDto
@@ -112,7 +112,7 @@ export declare const PartnersApiAxiosParamCreator: (configuration?: Configuratio
112
112
  */
113
113
  export declare const PartnersApiFp: (configuration?: Configuration) => {
114
114
  /**
115
- * This will create a partner.
115
+ * This will create a partner. **Required Permissions** \"partner-management.partners.create\"
116
116
  * @summary Create the partner
117
117
  * @param {CreatePartnerRequestDto} createPartnerRequestDto
118
118
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -121,7 +121,7 @@ export declare const PartnersApiFp: (configuration?: Configuration) => {
121
121
  */
122
122
  createPartner(createPartnerRequestDto: CreatePartnerRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreatePartnerResponseClass>>;
123
123
  /**
124
- * Permanently deletes the partner. Supply the unique code that was returned when you created the partner and this will delete it.
124
+ * Permanently deletes the partner. Supply the unique code that was returned when you created the partner and this will delete it. **Required Permissions** \"partner-management.partners.delete\"
125
125
  * @summary Delete the partner
126
126
  * @param {string} code
127
127
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -130,7 +130,7 @@ export declare const PartnersApiFp: (configuration?: Configuration) => {
130
130
  */
131
131
  deletePartner(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeleteResponseClass>>;
132
132
  /**
133
- * Retrieves the details of the partner that was previously created. Supply the unique partner code that was returned when you created it and Emil Api will return the corresponding partner information.
133
+ * Retrieves the details of the partner that was previously created. Supply the unique partner code that was returned when you created it and Emil Api will return the corresponding partner information. **Required Permissions** \"partner-management.partners.view\"
134
134
  * @summary Retrieve the partner
135
135
  * @param {string} code Unique identifier for the object.
136
136
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -140,7 +140,7 @@ export declare const PartnersApiFp: (configuration?: Configuration) => {
140
140
  */
141
141
  getPartner(code: string, authorization?: string, expand?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetPartnerResponseClass>>;
142
142
  /**
143
- * Returns a list of partners you have previously created. The partners are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
143
+ * Returns a list of partners you have previously created. The partners 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\"
144
144
  * @summary List partners
145
145
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
146
146
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
@@ -155,7 +155,7 @@ export declare const PartnersApiFp: (configuration?: Configuration) => {
155
155
  */
156
156
  listPartners(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListPartnersResponseClass>>;
157
157
  /**
158
- * Returns a list of grouped relations for partner you have previously created. The grouped relations for partner are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
158
+ * Returns a list of grouped relations for partner you have previously created. The grouped relations for partner 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\"
159
159
  * @summary List grouped relations for partner
160
160
  * @param {string} code
161
161
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -171,7 +171,7 @@ export declare const PartnersApiFp: (configuration?: Configuration) => {
171
171
  */
172
172
  listRelationsForPartner(code: string, authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListRelatedPartnersResponseClass>>;
173
173
  /**
174
- * Updates the specified partner by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
174
+ * Updates the specified partner by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"partner-management.partners.update\"
175
175
  * @summary Update the partner
176
176
  * @param {string} code
177
177
  * @param {TagPartnerRequestDtoRest} tagPartnerRequestDtoRest
@@ -181,7 +181,7 @@ export declare const PartnersApiFp: (configuration?: Configuration) => {
181
181
  */
182
182
  tagPartner(code: string, tagPartnerRequestDtoRest: TagPartnerRequestDtoRest, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetPartnerResponseClass>>;
183
183
  /**
184
- * Updates the specified partner by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
184
+ * Updates the specified partner by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"partner-management.partners.update\"
185
185
  * @summary Update the partner
186
186
  * @param {string} code Unique identifier for the object.
187
187
  * @param {UpdatePartnerRequestDto} updatePartnerRequestDto
@@ -197,7 +197,7 @@ export declare const PartnersApiFp: (configuration?: Configuration) => {
197
197
  */
198
198
  export declare const PartnersApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
199
199
  /**
200
- * This will create a partner.
200
+ * This will create a partner. **Required Permissions** \"partner-management.partners.create\"
201
201
  * @summary Create the partner
202
202
  * @param {CreatePartnerRequestDto} createPartnerRequestDto
203
203
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -206,7 +206,7 @@ export declare const PartnersApiFactory: (configuration?: Configuration, basePat
206
206
  */
207
207
  createPartner(createPartnerRequestDto: CreatePartnerRequestDto, authorization?: string, options?: any): AxiosPromise<CreatePartnerResponseClass>;
208
208
  /**
209
- * Permanently deletes the partner. Supply the unique code that was returned when you created the partner and this will delete it.
209
+ * Permanently deletes the partner. Supply the unique code that was returned when you created the partner and this will delete it. **Required Permissions** \"partner-management.partners.delete\"
210
210
  * @summary Delete the partner
211
211
  * @param {string} code
212
212
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -215,7 +215,7 @@ export declare const PartnersApiFactory: (configuration?: Configuration, basePat
215
215
  */
216
216
  deletePartner(code: string, authorization?: string, options?: any): AxiosPromise<DeleteResponseClass>;
217
217
  /**
218
- * Retrieves the details of the partner that was previously created. Supply the unique partner code that was returned when you created it and Emil Api will return the corresponding partner information.
218
+ * Retrieves the details of the partner that was previously created. Supply the unique partner code that was returned when you created it and Emil Api will return the corresponding partner information. **Required Permissions** \"partner-management.partners.view\"
219
219
  * @summary Retrieve the partner
220
220
  * @param {string} code Unique identifier for the object.
221
221
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -225,7 +225,7 @@ export declare const PartnersApiFactory: (configuration?: Configuration, basePat
225
225
  */
226
226
  getPartner(code: string, authorization?: string, expand?: any, options?: any): AxiosPromise<GetPartnerResponseClass>;
227
227
  /**
228
- * Returns a list of partners you have previously created. The partners are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
228
+ * Returns a list of partners you have previously created. The partners 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\"
229
229
  * @summary List partners
230
230
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
231
231
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
@@ -240,7 +240,7 @@ export declare const PartnersApiFactory: (configuration?: Configuration, basePat
240
240
  */
241
241
  listPartners(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListPartnersResponseClass>;
242
242
  /**
243
- * Returns a list of grouped relations for partner you have previously created. The grouped relations for partner are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
243
+ * Returns a list of grouped relations for partner you have previously created. The grouped relations for partner 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\"
244
244
  * @summary List grouped relations for partner
245
245
  * @param {string} code
246
246
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -256,7 +256,7 @@ export declare const PartnersApiFactory: (configuration?: Configuration, basePat
256
256
  */
257
257
  listRelationsForPartner(code: string, authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListRelatedPartnersResponseClass>;
258
258
  /**
259
- * Updates the specified partner by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
259
+ * Updates the specified partner 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
261
261
  * @param {string} code
262
262
  * @param {TagPartnerRequestDtoRest} tagPartnerRequestDtoRest
@@ -266,7 +266,7 @@ export declare const PartnersApiFactory: (configuration?: Configuration, basePat
266
266
  */
267
267
  tagPartner(code: string, tagPartnerRequestDtoRest: TagPartnerRequestDtoRest, authorization?: string, options?: any): AxiosPromise<GetPartnerResponseClass>;
268
268
  /**
269
- * Updates the specified partner by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
269
+ * Updates the specified partner by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"partner-management.partners.update\"
270
270
  * @summary Update the partner
271
271
  * @param {string} code Unique identifier for the object.
272
272
  * @param {UpdatePartnerRequestDto} updatePartnerRequestDto
@@ -513,7 +513,7 @@ export interface PartnersApiUpdatePartnerRequest {
513
513
  */
514
514
  export declare class PartnersApi extends BaseAPI {
515
515
  /**
516
- * This will create a partner.
516
+ * This will create a partner. **Required Permissions** \"partner-management.partners.create\"
517
517
  * @summary Create the partner
518
518
  * @param {PartnersApiCreatePartnerRequest} requestParameters Request parameters.
519
519
  * @param {*} [options] Override http request option.
@@ -522,7 +522,7 @@ export declare class PartnersApi extends BaseAPI {
522
522
  */
523
523
  createPartner(requestParameters: PartnersApiCreatePartnerRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreatePartnerResponseClass, any>>;
524
524
  /**
525
- * Permanently deletes the partner. Supply the unique code that was returned when you created the partner and this will delete it.
525
+ * Permanently deletes the partner. Supply the unique code that was returned when you created the partner and this will delete it. **Required Permissions** \"partner-management.partners.delete\"
526
526
  * @summary Delete the partner
527
527
  * @param {PartnersApiDeletePartnerRequest} requestParameters Request parameters.
528
528
  * @param {*} [options] Override http request option.
@@ -531,7 +531,7 @@ export declare class PartnersApi extends BaseAPI {
531
531
  */
532
532
  deletePartner(requestParameters: PartnersApiDeletePartnerRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DeleteResponseClass, any>>;
533
533
  /**
534
- * Retrieves the details of the partner that was previously created. Supply the unique partner code that was returned when you created it and Emil Api will return the corresponding partner information.
534
+ * Retrieves the details of the partner that was previously created. Supply the unique partner code that was returned when you created it and Emil Api will return the corresponding partner information. **Required Permissions** \"partner-management.partners.view\"
535
535
  * @summary Retrieve the partner
536
536
  * @param {PartnersApiGetPartnerRequest} requestParameters Request parameters.
537
537
  * @param {*} [options] Override http request option.
@@ -540,7 +540,7 @@ export declare class PartnersApi extends BaseAPI {
540
540
  */
541
541
  getPartner(requestParameters: PartnersApiGetPartnerRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetPartnerResponseClass, any>>;
542
542
  /**
543
- * Returns a list of partners you have previously created. The partners are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
543
+ * Returns a list of partners you have previously created. The partners 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\"
544
544
  * @summary List partners
545
545
  * @param {PartnersApiListPartnersRequest} requestParameters Request parameters.
546
546
  * @param {*} [options] Override http request option.
@@ -549,7 +549,7 @@ export declare class PartnersApi extends BaseAPI {
549
549
  */
550
550
  listPartners(requestParameters?: PartnersApiListPartnersRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListPartnersResponseClass, any>>;
551
551
  /**
552
- * Returns a list of grouped relations for partner you have previously created. The grouped relations for partner are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
552
+ * Returns a list of grouped relations for partner you have previously created. The grouped relations for partner 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\"
553
553
  * @summary List grouped relations for partner
554
554
  * @param {PartnersApiListRelationsForPartnerRequest} requestParameters Request parameters.
555
555
  * @param {*} [options] Override http request option.
@@ -558,7 +558,7 @@ export declare class PartnersApi extends BaseAPI {
558
558
  */
559
559
  listRelationsForPartner(requestParameters: PartnersApiListRelationsForPartnerRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListRelatedPartnersResponseClass, any>>;
560
560
  /**
561
- * Updates the specified partner by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
561
+ * Updates the specified partner by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"partner-management.partners.update\"
562
562
  * @summary Update the partner
563
563
  * @param {PartnersApiTagPartnerRequest} requestParameters Request parameters.
564
564
  * @param {*} [options] Override http request option.
@@ -567,7 +567,7 @@ export declare class PartnersApi extends BaseAPI {
567
567
  */
568
568
  tagPartner(requestParameters: PartnersApiTagPartnerRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetPartnerResponseClass, any>>;
569
569
  /**
570
- * Updates the specified partner by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
570
+ * Updates the specified partner by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"partner-management.partners.update\"
571
571
  * @summary Update the partner
572
572
  * @param {PartnersApiUpdatePartnerRequest} requestParameters Request parameters.
573
573
  * @param {*} [options] Override http request option.