@emilgroup/partner-sdk 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.
@@ -41,7 +41,7 @@ import { UpdatePartnerTypeResponseClass } from '../models';
41
41
  export const PartnerTypesApiAxiosParamCreator = function (configuration?: Configuration) {
42
42
  return {
43
43
  /**
44
- * This will create a partner type.
44
+ * This will create a partner type. **Required Permissions** \"partner-management.partners.create\"
45
45
  * @summary Create the partner-types
46
46
  * @param {CreatePartnerTypeRequestDto} createPartnerTypeRequestDto
47
47
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -88,7 +88,7 @@ export const PartnerTypesApiAxiosParamCreator = function (configuration?: Config
88
88
  };
89
89
  },
90
90
  /**
91
- * Permanently deletes the partner-types. Supply the unique code that was returned when you created the partner-types and this will delete it.
91
+ * Permanently deletes the partner-types. Supply the unique code that was returned when you created the partner-types and this will delete it. **Required Permissions** \"partner-management.partners.delete\"
92
92
  * @summary Delete the partner-types
93
93
  * @param {string} code
94
94
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -133,7 +133,7 @@ export const PartnerTypesApiAxiosParamCreator = function (configuration?: Config
133
133
  };
134
134
  },
135
135
  /**
136
- * Retrieves the details of the partner-types that was previously created. Supply the unique partner-types code that was returned when you created it and Emil Api will return the corresponding partner-types information.
136
+ * Retrieves the details of the partner-types that was previously created. Supply the unique partner-types code that was returned when you created it and Emil Api will return the corresponding partner-types information. **Required Permissions** \"partner-management.partners.view\"
137
137
  * @summary Retrieve the partner-types
138
138
  * @param {string} code Unique identifier for the object.
139
139
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -183,7 +183,7 @@ export const PartnerTypesApiAxiosParamCreator = function (configuration?: Config
183
183
  };
184
184
  },
185
185
  /**
186
- * Returns a list of partner-types you have previously created. The partner-types are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
186
+ * Returns a list of partner-types you have previously created. The partner-types are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"partner-management.partners.view\"
187
187
  * @summary List partner-types
188
188
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
189
189
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
@@ -259,7 +259,7 @@ export const PartnerTypesApiAxiosParamCreator = function (configuration?: Config
259
259
  };
260
260
  },
261
261
  /**
262
- * Updates the specified partner-types by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
262
+ * Updates the specified partner-types by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"partner-management.partners.update\"
263
263
  * @summary Update the partner-types
264
264
  * @param {string} code Unique identifier for the object.
265
265
  * @param {UpdatePartnerTypeRequestDto} updatePartnerTypeRequestDto
@@ -320,7 +320,7 @@ export const PartnerTypesApiFp = function(configuration?: Configuration) {
320
320
  const localVarAxiosParamCreator = PartnerTypesApiAxiosParamCreator(configuration)
321
321
  return {
322
322
  /**
323
- * This will create a partner type.
323
+ * This will create a partner type. **Required Permissions** \"partner-management.partners.create\"
324
324
  * @summary Create the partner-types
325
325
  * @param {CreatePartnerTypeRequestDto} createPartnerTypeRequestDto
326
326
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -332,7 +332,7 @@ export const PartnerTypesApiFp = function(configuration?: Configuration) {
332
332
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
333
333
  },
334
334
  /**
335
- * Permanently deletes the partner-types. Supply the unique code that was returned when you created the partner-types and this will delete it.
335
+ * Permanently deletes the partner-types. Supply the unique code that was returned when you created the partner-types and this will delete it. **Required Permissions** \"partner-management.partners.delete\"
336
336
  * @summary Delete the partner-types
337
337
  * @param {string} code
338
338
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -344,7 +344,7 @@ export const PartnerTypesApiFp = function(configuration?: Configuration) {
344
344
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
345
345
  },
346
346
  /**
347
- * Retrieves the details of the partner-types that was previously created. Supply the unique partner-types code that was returned when you created it and Emil Api will return the corresponding partner-types information.
347
+ * Retrieves the details of the partner-types that was previously created. Supply the unique partner-types code that was returned when you created it and Emil Api will return the corresponding partner-types information. **Required Permissions** \"partner-management.partners.view\"
348
348
  * @summary Retrieve the partner-types
349
349
  * @param {string} code Unique identifier for the object.
350
350
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -357,7 +357,7 @@ export const PartnerTypesApiFp = function(configuration?: Configuration) {
357
357
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
358
358
  },
359
359
  /**
360
- * Returns a list of partner-types you have previously created. The partner-types are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
360
+ * Returns a list of partner-types you have previously created. The partner-types are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"partner-management.partners.view\"
361
361
  * @summary List partner-types
362
362
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
363
363
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
@@ -375,7 +375,7 @@ export const PartnerTypesApiFp = function(configuration?: Configuration) {
375
375
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
376
376
  },
377
377
  /**
378
- * Updates the specified partner-types by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
378
+ * Updates the specified partner-types by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"partner-management.partners.update\"
379
379
  * @summary Update the partner-types
380
380
  * @param {string} code Unique identifier for the object.
381
381
  * @param {UpdatePartnerTypeRequestDto} updatePartnerTypeRequestDto
@@ -398,7 +398,7 @@ export const PartnerTypesApiFactory = function (configuration?: Configuration, b
398
398
  const localVarFp = PartnerTypesApiFp(configuration)
399
399
  return {
400
400
  /**
401
- * This will create a partner type.
401
+ * This will create a partner type. **Required Permissions** \"partner-management.partners.create\"
402
402
  * @summary Create the partner-types
403
403
  * @param {CreatePartnerTypeRequestDto} createPartnerTypeRequestDto
404
404
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -409,7 +409,7 @@ export const PartnerTypesApiFactory = function (configuration?: Configuration, b
409
409
  return localVarFp.createPartnerType(createPartnerTypeRequestDto, authorization, options).then((request) => request(axios, basePath));
410
410
  },
411
411
  /**
412
- * Permanently deletes the partner-types. Supply the unique code that was returned when you created the partner-types and this will delete it.
412
+ * Permanently deletes the partner-types. Supply the unique code that was returned when you created the partner-types and this will delete it. **Required Permissions** \"partner-management.partners.delete\"
413
413
  * @summary Delete the partner-types
414
414
  * @param {string} code
415
415
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -420,7 +420,7 @@ export const PartnerTypesApiFactory = function (configuration?: Configuration, b
420
420
  return localVarFp.deletePartnerType(code, authorization, options).then((request) => request(axios, basePath));
421
421
  },
422
422
  /**
423
- * Retrieves the details of the partner-types that was previously created. Supply the unique partner-types code that was returned when you created it and Emil Api will return the corresponding partner-types information.
423
+ * Retrieves the details of the partner-types that was previously created. Supply the unique partner-types code that was returned when you created it and Emil Api will return the corresponding partner-types information. **Required Permissions** \"partner-management.partners.view\"
424
424
  * @summary Retrieve the partner-types
425
425
  * @param {string} code Unique identifier for the object.
426
426
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -432,7 +432,7 @@ export const PartnerTypesApiFactory = function (configuration?: Configuration, b
432
432
  return localVarFp.getPartnerType(code, authorization, expand, options).then((request) => request(axios, basePath));
433
433
  },
434
434
  /**
435
- * Returns a list of partner-types you have previously created. The partner-types are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
435
+ * Returns a list of partner-types you have previously created. The partner-types are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"partner-management.partners.view\"
436
436
  * @summary List partner-types
437
437
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
438
438
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
@@ -449,7 +449,7 @@ export const PartnerTypesApiFactory = function (configuration?: Configuration, b
449
449
  return localVarFp.listPartnerTypes(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
450
450
  },
451
451
  /**
452
- * Updates the specified partner-types by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
452
+ * Updates the specified partner-types by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"partner-management.partners.update\"
453
453
  * @summary Update the partner-types
454
454
  * @param {string} code Unique identifier for the object.
455
455
  * @param {UpdatePartnerTypeRequestDto} updatePartnerTypeRequestDto
@@ -632,7 +632,7 @@ export interface PartnerTypesApiUpdatePartnerTypeRequest {
632
632
  */
633
633
  export class PartnerTypesApi extends BaseAPI {
634
634
  /**
635
- * This will create a partner type.
635
+ * This will create a partner type. **Required Permissions** \"partner-management.partners.create\"
636
636
  * @summary Create the partner-types
637
637
  * @param {PartnerTypesApiCreatePartnerTypeRequest} requestParameters Request parameters.
638
638
  * @param {*} [options] Override http request option.
@@ -644,7 +644,7 @@ export class PartnerTypesApi extends BaseAPI {
644
644
  }
645
645
 
646
646
  /**
647
- * Permanently deletes the partner-types. Supply the unique code that was returned when you created the partner-types and this will delete it.
647
+ * Permanently deletes the partner-types. Supply the unique code that was returned when you created the partner-types and this will delete it. **Required Permissions** \"partner-management.partners.delete\"
648
648
  * @summary Delete the partner-types
649
649
  * @param {PartnerTypesApiDeletePartnerTypeRequest} requestParameters Request parameters.
650
650
  * @param {*} [options] Override http request option.
@@ -656,7 +656,7 @@ export class PartnerTypesApi extends BaseAPI {
656
656
  }
657
657
 
658
658
  /**
659
- * Retrieves the details of the partner-types that was previously created. Supply the unique partner-types code that was returned when you created it and Emil Api will return the corresponding partner-types information.
659
+ * Retrieves the details of the partner-types that was previously created. Supply the unique partner-types code that was returned when you created it and Emil Api will return the corresponding partner-types information. **Required Permissions** \"partner-management.partners.view\"
660
660
  * @summary Retrieve the partner-types
661
661
  * @param {PartnerTypesApiGetPartnerTypeRequest} requestParameters Request parameters.
662
662
  * @param {*} [options] Override http request option.
@@ -668,7 +668,7 @@ export class PartnerTypesApi extends BaseAPI {
668
668
  }
669
669
 
670
670
  /**
671
- * Returns a list of partner-types you have previously created. The partner-types are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
671
+ * Returns a list of partner-types you have previously created. The partner-types are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"partner-management.partners.view\"
672
672
  * @summary List partner-types
673
673
  * @param {PartnerTypesApiListPartnerTypesRequest} requestParameters Request parameters.
674
674
  * @param {*} [options] Override http request option.
@@ -680,7 +680,7 @@ export class PartnerTypesApi extends BaseAPI {
680
680
  }
681
681
 
682
682
  /**
683
- * Updates the specified partner-types by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
683
+ * Updates the specified partner-types by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"partner-management.partners.update\"
684
684
  * @summary Update the partner-types
685
685
  * @param {PartnerTypesApiUpdatePartnerTypeRequest} requestParameters Request parameters.
686
686
  * @param {*} [options] Override http request option.
@@ -31,7 +31,7 @@ import { ListPartnerVersionsResponseClass } from '../models';
31
31
  export const PartnerVersionsApiAxiosParamCreator = function (configuration?: Configuration) {
32
32
  return {
33
33
  /**
34
- * Retrieve a partner version by providing partner code and version number
34
+ * Retrieve a partner version by providing partner code and version number **Required Permissions** \"partner-management.partners.view\"
35
35
  * @summary Retrieve the partner version
36
36
  * @param {string} code Unique identifier for the object.
37
37
  * @param {number} version
@@ -80,7 +80,7 @@ export const PartnerVersionsApiAxiosParamCreator = function (configuration?: Con
80
80
  };
81
81
  },
82
82
  /**
83
- * 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.
83
+ * 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\"
84
84
  * @summary List partner versions
85
85
  * @param {string} code
86
86
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -170,7 +170,7 @@ export const PartnerVersionsApiFp = function(configuration?: Configuration) {
170
170
  const localVarAxiosParamCreator = PartnerVersionsApiAxiosParamCreator(configuration)
171
171
  return {
172
172
  /**
173
- * Retrieve a partner version by providing partner code and version number
173
+ * Retrieve a partner version by providing partner code and version number **Required Permissions** \"partner-management.partners.view\"
174
174
  * @summary Retrieve the partner version
175
175
  * @param {string} code Unique identifier for the object.
176
176
  * @param {number} version
@@ -183,7 +183,7 @@ export const PartnerVersionsApiFp = function(configuration?: Configuration) {
183
183
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
184
184
  },
185
185
  /**
186
- * 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.
186
+ * 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\"
187
187
  * @summary List partner versions
188
188
  * @param {string} code
189
189
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -212,7 +212,7 @@ export const PartnerVersionsApiFactory = function (configuration?: Configuration
212
212
  const localVarFp = PartnerVersionsApiFp(configuration)
213
213
  return {
214
214
  /**
215
- * Retrieve a partner version by providing partner code and version number
215
+ * Retrieve a partner version by providing partner code and version number **Required Permissions** \"partner-management.partners.view\"
216
216
  * @summary Retrieve the partner version
217
217
  * @param {string} code Unique identifier for the object.
218
218
  * @param {number} version
@@ -224,7 +224,7 @@ export const PartnerVersionsApiFactory = function (configuration?: Configuration
224
224
  return localVarFp.getPartnerVersion(code, version, authorization, options).then((request) => request(axios, basePath));
225
225
  },
226
226
  /**
227
- * 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.
227
+ * 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\"
228
228
  * @summary List partner versions
229
229
  * @param {string} code
230
230
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -350,7 +350,7 @@ export interface PartnerVersionsApiListPartnerVersionRequest {
350
350
  */
351
351
  export class PartnerVersionsApi extends BaseAPI {
352
352
  /**
353
- * Retrieve a partner version by providing partner code and version number
353
+ * Retrieve a partner version by providing partner code and version number **Required Permissions** \"partner-management.partners.view\"
354
354
  * @summary Retrieve the partner version
355
355
  * @param {PartnerVersionsApiGetPartnerVersionRequest} requestParameters Request parameters.
356
356
  * @param {*} [options] Override http request option.
@@ -362,7 +362,7 @@ export class PartnerVersionsApi extends BaseAPI {
362
362
  }
363
363
 
364
364
  /**
365
- * 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.
365
+ * 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\"
366
366
  * @summary List partner versions
367
367
  * @param {PartnerVersionsApiListPartnerVersionRequest} requestParameters Request parameters.
368
368
  * @param {*} [options] Override http request option.
@@ -45,7 +45,7 @@ import { UpdatePartnerResponseClass } from '../models';
45
45
  export const PartnersApiAxiosParamCreator = function (configuration?: Configuration) {
46
46
  return {
47
47
  /**
48
- * This will create a partner.
48
+ * This will create a partner. **Required Permissions** \"partner-management.partners.create\"
49
49
  * @summary Create the partner
50
50
  * @param {CreatePartnerRequestDto} createPartnerRequestDto
51
51
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -92,7 +92,7 @@ export const PartnersApiAxiosParamCreator = function (configuration?: Configurat
92
92
  };
93
93
  },
94
94
  /**
95
- * Permanently deletes the partner. Supply the unique code that was returned when you created the partner and this will delete it.
95
+ * 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\"
96
96
  * @summary Delete the partner
97
97
  * @param {string} code
98
98
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -137,7 +137,7 @@ export const PartnersApiAxiosParamCreator = function (configuration?: Configurat
137
137
  };
138
138
  },
139
139
  /**
140
- * 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.
140
+ * 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\"
141
141
  * @summary Retrieve the partner
142
142
  * @param {string} code Unique identifier for the object.
143
143
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -187,7 +187,7 @@ export const PartnersApiAxiosParamCreator = function (configuration?: Configurat
187
187
  };
188
188
  },
189
189
  /**
190
- * 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.
190
+ * 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\"
191
191
  * @summary List partners
192
192
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
193
193
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
@@ -263,7 +263,7 @@ export const PartnersApiAxiosParamCreator = function (configuration?: Configurat
263
263
  };
264
264
  },
265
265
  /**
266
- * 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.
266
+ * 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\"
267
267
  * @summary List grouped relations for partner
268
268
  * @param {string} code
269
269
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -343,7 +343,7 @@ export const PartnersApiAxiosParamCreator = function (configuration?: Configurat
343
343
  };
344
344
  },
345
345
  /**
346
- * Updates the specified partner by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
346
+ * 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\"
347
347
  * @summary Update the partner
348
348
  * @param {string} code
349
349
  * @param {TagPartnerRequestDtoRest} tagPartnerRequestDtoRest
@@ -394,7 +394,7 @@ export const PartnersApiAxiosParamCreator = function (configuration?: Configurat
394
394
  };
395
395
  },
396
396
  /**
397
- * Updates the specified partner by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
397
+ * 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\"
398
398
  * @summary Update the partner
399
399
  * @param {string} code Unique identifier for the object.
400
400
  * @param {UpdatePartnerRequestDto} updatePartnerRequestDto
@@ -455,7 +455,7 @@ export const PartnersApiFp = function(configuration?: Configuration) {
455
455
  const localVarAxiosParamCreator = PartnersApiAxiosParamCreator(configuration)
456
456
  return {
457
457
  /**
458
- * This will create a partner.
458
+ * This will create a partner. **Required Permissions** \"partner-management.partners.create\"
459
459
  * @summary Create the partner
460
460
  * @param {CreatePartnerRequestDto} createPartnerRequestDto
461
461
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -467,7 +467,7 @@ export const PartnersApiFp = function(configuration?: Configuration) {
467
467
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
468
468
  },
469
469
  /**
470
- * Permanently deletes the partner. Supply the unique code that was returned when you created the partner and this will delete it.
470
+ * 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\"
471
471
  * @summary Delete the partner
472
472
  * @param {string} code
473
473
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -479,7 +479,7 @@ export const PartnersApiFp = function(configuration?: Configuration) {
479
479
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
480
480
  },
481
481
  /**
482
- * 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.
482
+ * 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\"
483
483
  * @summary Retrieve the partner
484
484
  * @param {string} code Unique identifier for the object.
485
485
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -492,7 +492,7 @@ export const PartnersApiFp = function(configuration?: Configuration) {
492
492
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
493
493
  },
494
494
  /**
495
- * 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.
495
+ * 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\"
496
496
  * @summary List partners
497
497
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
498
498
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
@@ -510,7 +510,7 @@ export const PartnersApiFp = function(configuration?: Configuration) {
510
510
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
511
511
  },
512
512
  /**
513
- * 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.
513
+ * 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\"
514
514
  * @summary List grouped relations for partner
515
515
  * @param {string} code
516
516
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -529,7 +529,7 @@ export const PartnersApiFp = function(configuration?: Configuration) {
529
529
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
530
530
  },
531
531
  /**
532
- * Updates the specified partner by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
532
+ * 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\"
533
533
  * @summary Update the partner
534
534
  * @param {string} code
535
535
  * @param {TagPartnerRequestDtoRest} tagPartnerRequestDtoRest
@@ -542,7 +542,7 @@ export const PartnersApiFp = function(configuration?: Configuration) {
542
542
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
543
543
  },
544
544
  /**
545
- * Updates the specified partner by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
545
+ * 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\"
546
546
  * @summary Update the partner
547
547
  * @param {string} code Unique identifier for the object.
548
548
  * @param {UpdatePartnerRequestDto} updatePartnerRequestDto
@@ -565,7 +565,7 @@ export const PartnersApiFactory = function (configuration?: Configuration, baseP
565
565
  const localVarFp = PartnersApiFp(configuration)
566
566
  return {
567
567
  /**
568
- * This will create a partner.
568
+ * This will create a partner. **Required Permissions** \"partner-management.partners.create\"
569
569
  * @summary Create the partner
570
570
  * @param {CreatePartnerRequestDto} createPartnerRequestDto
571
571
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -576,7 +576,7 @@ export const PartnersApiFactory = function (configuration?: Configuration, baseP
576
576
  return localVarFp.createPartner(createPartnerRequestDto, authorization, options).then((request) => request(axios, basePath));
577
577
  },
578
578
  /**
579
- * Permanently deletes the partner. Supply the unique code that was returned when you created the partner and this will delete it.
579
+ * 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\"
580
580
  * @summary Delete the partner
581
581
  * @param {string} code
582
582
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -587,7 +587,7 @@ export const PartnersApiFactory = function (configuration?: Configuration, baseP
587
587
  return localVarFp.deletePartner(code, authorization, options).then((request) => request(axios, basePath));
588
588
  },
589
589
  /**
590
- * 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.
590
+ * 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\"
591
591
  * @summary Retrieve the partner
592
592
  * @param {string} code Unique identifier for the object.
593
593
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -599,7 +599,7 @@ export const PartnersApiFactory = function (configuration?: Configuration, baseP
599
599
  return localVarFp.getPartner(code, authorization, expand, options).then((request) => request(axios, basePath));
600
600
  },
601
601
  /**
602
- * 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.
602
+ * 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\"
603
603
  * @summary List partners
604
604
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
605
605
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
@@ -616,7 +616,7 @@ export const PartnersApiFactory = function (configuration?: Configuration, baseP
616
616
  return localVarFp.listPartners(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
617
617
  },
618
618
  /**
619
- * 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.
619
+ * 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\"
620
620
  * @summary List grouped relations for partner
621
621
  * @param {string} code
622
622
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -634,7 +634,7 @@ export const PartnersApiFactory = function (configuration?: Configuration, baseP
634
634
  return localVarFp.listRelationsForPartner(code, authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
635
635
  },
636
636
  /**
637
- * Updates the specified partner by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
637
+ * 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\"
638
638
  * @summary Update the partner
639
639
  * @param {string} code
640
640
  * @param {TagPartnerRequestDtoRest} tagPartnerRequestDtoRest
@@ -646,7 +646,7 @@ export const PartnersApiFactory = function (configuration?: Configuration, baseP
646
646
  return localVarFp.tagPartner(code, tagPartnerRequestDtoRest, authorization, options).then((request) => request(axios, basePath));
647
647
  },
648
648
  /**
649
- * Updates the specified partner by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
649
+ * 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\"
650
650
  * @summary Update the partner
651
651
  * @param {string} code Unique identifier for the object.
652
652
  * @param {UpdatePartnerRequestDto} updatePartnerRequestDto
@@ -927,7 +927,7 @@ export interface PartnersApiUpdatePartnerRequest {
927
927
  */
928
928
  export class PartnersApi extends BaseAPI {
929
929
  /**
930
- * This will create a partner.
930
+ * This will create a partner. **Required Permissions** \"partner-management.partners.create\"
931
931
  * @summary Create the partner
932
932
  * @param {PartnersApiCreatePartnerRequest} requestParameters Request parameters.
933
933
  * @param {*} [options] Override http request option.
@@ -939,7 +939,7 @@ export class PartnersApi extends BaseAPI {
939
939
  }
940
940
 
941
941
  /**
942
- * Permanently deletes the partner. Supply the unique code that was returned when you created the partner and this will delete it.
942
+ * 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\"
943
943
  * @summary Delete the partner
944
944
  * @param {PartnersApiDeletePartnerRequest} requestParameters Request parameters.
945
945
  * @param {*} [options] Override http request option.
@@ -951,7 +951,7 @@ export class PartnersApi extends BaseAPI {
951
951
  }
952
952
 
953
953
  /**
954
- * 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.
954
+ * 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\"
955
955
  * @summary Retrieve the partner
956
956
  * @param {PartnersApiGetPartnerRequest} requestParameters Request parameters.
957
957
  * @param {*} [options] Override http request option.
@@ -963,7 +963,7 @@ export class PartnersApi extends BaseAPI {
963
963
  }
964
964
 
965
965
  /**
966
- * 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.
966
+ * 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\"
967
967
  * @summary List partners
968
968
  * @param {PartnersApiListPartnersRequest} requestParameters Request parameters.
969
969
  * @param {*} [options] Override http request option.
@@ -975,7 +975,7 @@ export class PartnersApi extends BaseAPI {
975
975
  }
976
976
 
977
977
  /**
978
- * 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.
978
+ * 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\"
979
979
  * @summary List grouped relations for partner
980
980
  * @param {PartnersApiListRelationsForPartnerRequest} requestParameters Request parameters.
981
981
  * @param {*} [options] Override http request option.
@@ -987,7 +987,7 @@ export class PartnersApi extends BaseAPI {
987
987
  }
988
988
 
989
989
  /**
990
- * Updates the specified partner by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
990
+ * 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\"
991
991
  * @summary Update the partner
992
992
  * @param {PartnersApiTagPartnerRequest} requestParameters Request parameters.
993
993
  * @param {*} [options] Override http request option.
@@ -999,7 +999,7 @@ export class PartnersApi extends BaseAPI {
999
999
  }
1000
1000
 
1001
1001
  /**
1002
- * Updates the specified partner by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
1002
+ * 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\"
1003
1003
  * @summary Update the partner
1004
1004
  * @param {PartnersApiUpdatePartnerRequest} requestParameters Request parameters.
1005
1005
  * @param {*} [options] Override http request option.
package/base.ts CHANGED
@@ -40,6 +40,7 @@ export interface LoginClass {
40
40
  export enum Environment {
41
41
  Production = 'https://apiv2.emil.de',
42
42
  Test = 'https://apiv2-test.emil.de',
43
+ Staging = 'https://apiv2-staging.emil.de',
43
44
  Development = 'https://apiv2-dev.emil.de',
44
45
  ProductionZurich = 'https://eu-central-2.apiv2.emil.de',
45
46
  }
@@ -20,7 +20,7 @@ import { InvitePartnerToEisResponseClass } from '../models';
20
20
  */
21
21
  export declare const PartnerInvitationsApiAxiosParamCreator: (configuration?: Configuration) => {
22
22
  /**
23
- * Invites a partner to EIS Platform - partner must have one of vermittler,intermediary to be eligible for invitation.
23
+ * Invites a partner to EIS Platform - partner must have one of vermittler,intermediary to be eligible for invitation. **Required Permissions** \"partner-management.partners.create\"
24
24
  * @summary Create the Partner Invitation
25
25
  * @param {InvitePartnerToEISRequestDto} invitePartnerToEISRequestDto
26
26
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -35,7 +35,7 @@ export declare const PartnerInvitationsApiAxiosParamCreator: (configuration?: Co
35
35
  */
36
36
  export declare const PartnerInvitationsApiFp: (configuration?: Configuration) => {
37
37
  /**
38
- * Invites a partner to EIS Platform - partner must have one of vermittler,intermediary to be eligible for invitation.
38
+ * Invites a partner to EIS Platform - partner must have one of vermittler,intermediary to be eligible for invitation. **Required Permissions** \"partner-management.partners.create\"
39
39
  * @summary Create the Partner Invitation
40
40
  * @param {InvitePartnerToEISRequestDto} invitePartnerToEISRequestDto
41
41
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -50,7 +50,7 @@ export declare const PartnerInvitationsApiFp: (configuration?: Configuration) =>
50
50
  */
51
51
  export declare const PartnerInvitationsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
52
52
  /**
53
- * Invites a partner to EIS Platform - partner must have one of vermittler,intermediary to be eligible for invitation.
53
+ * Invites a partner to EIS Platform - partner must have one of vermittler,intermediary to be eligible for invitation. **Required Permissions** \"partner-management.partners.create\"
54
54
  * @summary Create the Partner Invitation
55
55
  * @param {InvitePartnerToEISRequestDto} invitePartnerToEISRequestDto
56
56
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -86,7 +86,7 @@ export interface PartnerInvitationsApiInvitePartnerToEISRequest {
86
86
  */
87
87
  export declare class PartnerInvitationsApi extends BaseAPI {
88
88
  /**
89
- * Invites a partner to EIS Platform - partner must have one of vermittler,intermediary to be eligible for invitation.
89
+ * Invites a partner to EIS Platform - partner must have one of vermittler,intermediary to be eligible for invitation. **Required Permissions** \"partner-management.partners.create\"
90
90
  * @summary Create the Partner Invitation
91
91
  * @param {PartnerInvitationsApiInvitePartnerToEISRequest} requestParameters Request parameters.
92
92
  * @param {*} [options] Override http request option.
@@ -93,7 +93,7 @@ var PartnerInvitationsApiAxiosParamCreator = function (configuration) {
93
93
  var _this = this;
94
94
  return {
95
95
  /**
96
- * Invites a partner to EIS Platform - partner must have one of vermittler,intermediary to be eligible for invitation.
96
+ * Invites a partner to EIS Platform - partner must have one of vermittler,intermediary to be eligible for invitation. **Required Permissions** \"partner-management.partners.create\"
97
97
  * @summary Create the Partner Invitation
98
98
  * @param {InvitePartnerToEISRequestDto} invitePartnerToEISRequestDto
99
99
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -152,7 +152,7 @@ var PartnerInvitationsApiFp = function (configuration) {
152
152
  var localVarAxiosParamCreator = (0, exports.PartnerInvitationsApiAxiosParamCreator)(configuration);
153
153
  return {
154
154
  /**
155
- * Invites a partner to EIS Platform - partner must have one of vermittler,intermediary to be eligible for invitation.
155
+ * Invites a partner to EIS Platform - partner must have one of vermittler,intermediary to be eligible for invitation. **Required Permissions** \"partner-management.partners.create\"
156
156
  * @summary Create the Partner Invitation
157
157
  * @param {InvitePartnerToEISRequestDto} invitePartnerToEISRequestDto
158
158
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -183,7 +183,7 @@ var PartnerInvitationsApiFactory = function (configuration, basePath, axios) {
183
183
  var localVarFp = (0, exports.PartnerInvitationsApiFp)(configuration);
184
184
  return {
185
185
  /**
186
- * Invites a partner to EIS Platform - partner must have one of vermittler,intermediary to be eligible for invitation.
186
+ * Invites a partner to EIS Platform - partner must have one of vermittler,intermediary to be eligible for invitation. **Required Permissions** \"partner-management.partners.create\"
187
187
  * @summary Create the Partner Invitation
188
188
  * @param {InvitePartnerToEISRequestDto} invitePartnerToEISRequestDto
189
189
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -208,7 +208,7 @@ var PartnerInvitationsApi = /** @class */ (function (_super) {
208
208
  return _super !== null && _super.apply(this, arguments) || this;
209
209
  }
210
210
  /**
211
- * Invites a partner to EIS Platform - partner must have one of vermittler,intermediary to be eligible for invitation.
211
+ * Invites a partner to EIS Platform - partner must have one of vermittler,intermediary to be eligible for invitation. **Required Permissions** \"partner-management.partners.create\"
212
212
  * @summary Create the Partner Invitation
213
213
  * @param {PartnerInvitationsApiInvitePartnerToEISRequest} requestParameters Request parameters.
214
214
  * @param {*} [options] Override http request option.