@emilgroup/partner-sdk-node 1.22.1-beta.8 → 1.23.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.
Files changed (37) hide show
  1. package/.openapi-generator/FILES +2 -1
  2. package/README.md +2 -2
  3. package/api/blacklist-reasons-api.ts +23 -6
  4. package/api/{health-api.ts → default-api.ts} +13 -13
  5. package/api.ts +2 -2
  6. package/base.ts +1 -0
  7. package/dist/api/blacklist-reasons-api.d.ts +13 -3
  8. package/dist/api/blacklist-reasons-api.js +13 -6
  9. package/dist/api/{health-api.d.ts → default-api.d.ts} +10 -10
  10. package/dist/api/{health-api.js → default-api.js} +22 -22
  11. package/dist/api.d.ts +1 -1
  12. package/dist/api.js +1 -1
  13. package/dist/base.d.ts +2 -1
  14. package/dist/base.js +1 -0
  15. package/dist/models/index.d.ts +1 -0
  16. package/dist/models/index.js +1 -0
  17. package/dist/models/list-blacklist-items-response-class.d.ts +0 -12
  18. package/dist/models/list-partner-relation-class.d.ts +6 -18
  19. package/dist/models/list-partner-relation-types-class.d.ts +6 -18
  20. package/dist/models/list-partner-types-response-class.d.ts +6 -18
  21. package/dist/models/list-partner-versions-response-class.d.ts +6 -18
  22. package/dist/models/list-partners-response-class.d.ts +6 -18
  23. package/dist/models/list-related-partners-response-class.d.ts +6 -18
  24. package/dist/models/list-tags-response-class.d.ts +6 -18
  25. package/dist/models/update-blacklist-reason-status-request-dto.d.ts +24 -0
  26. package/dist/models/update-blacklist-reason-status-request-dto.js +15 -0
  27. package/models/index.ts +1 -0
  28. package/models/list-blacklist-items-response-class.ts +0 -12
  29. package/models/list-partner-relation-class.ts +6 -18
  30. package/models/list-partner-relation-types-class.ts +6 -18
  31. package/models/list-partner-types-response-class.ts +6 -18
  32. package/models/list-partner-versions-response-class.ts +6 -18
  33. package/models/list-partners-response-class.ts +6 -18
  34. package/models/list-related-partners-response-class.ts +6 -18
  35. package/models/list-tags-response-class.ts +6 -18
  36. package/models/update-blacklist-reason-status-request-dto.ts +30 -0
  37. package/package.json +1 -1
@@ -5,7 +5,7 @@ README.md
5
5
  api.ts
6
6
  api/blacklist-api.ts
7
7
  api/blacklist-reasons-api.ts
8
- api/health-api.ts
8
+ api/default-api.ts
9
9
  api/partner-invitations-api.ts
10
10
  api/partner-relations-api.ts
11
11
  api/partner-tags-api.ts
@@ -75,6 +75,7 @@ models/tag-class.ts
75
75
  models/tag-partner-request-dto-rest.ts
76
76
  models/update-blacklist-reason-request-dto.ts
77
77
  models/update-blacklist-reason-response-class.ts
78
+ models/update-blacklist-reason-status-request-dto.ts
78
79
  models/update-partner-relation-request-dto-rest.ts
79
80
  models/update-partner-request-dto.ts
80
81
  models/update-partner-response-class.ts
package/README.md CHANGED
@@ -17,11 +17,11 @@ Although this package can be used in both TypeScript and JavaScript, it is inten
17
17
  Navigate to the folder of your consuming project and run one of the following commands:
18
18
 
19
19
  ```
20
- npm install @emilgroup/partner-sdk-node@1.22.1-beta.8 --save
20
+ npm install @emilgroup/partner-sdk-node@1.23.0 --save
21
21
  ```
22
22
  or
23
23
  ```
24
- yarn add @emilgroup/partner-sdk-node@1.22.1-beta.8
24
+ yarn add @emilgroup/partner-sdk-node@1.23.0
25
25
  ```
26
26
 
27
27
  And then you can import `PartnersApi`.
@@ -34,6 +34,8 @@ import { ListBlacklistReasonsResponseClass } from '../models';
34
34
  import { UpdateBlacklistReasonRequestDto } from '../models';
35
35
  // @ts-ignore
36
36
  import { UpdateBlacklistReasonResponseClass } from '../models';
37
+ // @ts-ignore
38
+ import { UpdateBlacklistReasonStatusRequestDto } from '../models';
37
39
  // URLSearchParams not necessarily used
38
40
  // @ts-ignore
39
41
  import { URL, URLSearchParams } from 'url';
@@ -312,13 +314,16 @@ export const BlacklistReasonsApiAxiosParamCreator = function (configuration?: Co
312
314
  * Partially updates the specified blacklist reason by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"partner-management.partners.update\"
313
315
  * @summary Update blacklist reason status
314
316
  * @param {string} code Unique identifier for the object.
317
+ * @param {UpdateBlacklistReasonStatusRequestDto} updateBlacklistReasonStatusRequestDto
315
318
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
316
319
  * @param {*} [options] Override http request option.
317
320
  * @throws {RequiredError}
318
321
  */
319
- updateBlacklistReasonStatus: async (code: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
322
+ updateBlacklistReasonStatus: async (code: string, updateBlacklistReasonStatusRequestDto: UpdateBlacklistReasonStatusRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
320
323
  // verify required parameter 'code' is not null or undefined
321
324
  assertParamExists('updateBlacklistReasonStatus', 'code', code)
325
+ // verify required parameter 'updateBlacklistReasonStatusRequestDto' is not null or undefined
326
+ assertParamExists('updateBlacklistReasonStatus', 'updateBlacklistReasonStatusRequestDto', updateBlacklistReasonStatusRequestDto)
322
327
  const localVarPath = `/partnerservice/v1/blacklist-reasons/{code}/status`
323
328
  .replace(`{${"code"}}`, encodeURIComponent(String(code)));
324
329
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -344,9 +349,12 @@ export const BlacklistReasonsApiAxiosParamCreator = function (configuration?: Co
344
349
 
345
350
 
346
351
 
352
+ localVarHeaderParameter['Content-Type'] = 'application/json';
353
+
347
354
  setSearchParams(localVarUrlObj, localVarQueryParameter);
348
355
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
349
356
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
357
+ localVarRequestOptions.data = serializeDataIfNeeded(updateBlacklistReasonStatusRequestDto, localVarRequestOptions, configuration)
350
358
 
351
359
  return {
352
360
  url: toPathString(localVarUrlObj),
@@ -434,12 +442,13 @@ export const BlacklistReasonsApiFp = function(configuration?: Configuration) {
434
442
  * Partially updates the specified blacklist reason by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"partner-management.partners.update\"
435
443
  * @summary Update blacklist reason status
436
444
  * @param {string} code Unique identifier for the object.
445
+ * @param {UpdateBlacklistReasonStatusRequestDto} updateBlacklistReasonStatusRequestDto
437
446
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
438
447
  * @param {*} [options] Override http request option.
439
448
  * @throws {RequiredError}
440
449
  */
441
- async updateBlacklistReasonStatus(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateBlacklistReasonResponseClass>> {
442
- const localVarAxiosArgs = await localVarAxiosParamCreator.updateBlacklistReasonStatus(code, authorization, options);
450
+ async updateBlacklistReasonStatus(code: string, updateBlacklistReasonStatusRequestDto: UpdateBlacklistReasonStatusRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateBlacklistReasonResponseClass>> {
451
+ const localVarAxiosArgs = await localVarAxiosParamCreator.updateBlacklistReasonStatus(code, updateBlacklistReasonStatusRequestDto, authorization, options);
443
452
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
444
453
  },
445
454
  }
@@ -518,12 +527,13 @@ export const BlacklistReasonsApiFactory = function (configuration?: Configuratio
518
527
  * Partially updates the specified blacklist reason by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"partner-management.partners.update\"
519
528
  * @summary Update blacklist reason status
520
529
  * @param {string} code Unique identifier for the object.
530
+ * @param {UpdateBlacklistReasonStatusRequestDto} updateBlacklistReasonStatusRequestDto
521
531
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
522
532
  * @param {*} [options] Override http request option.
523
533
  * @throws {RequiredError}
524
534
  */
525
- updateBlacklistReasonStatus(code: string, authorization?: string, options?: any): AxiosPromise<UpdateBlacklistReasonResponseClass> {
526
- return localVarFp.updateBlacklistReasonStatus(code, authorization, options).then((request) => request(axios, basePath));
535
+ updateBlacklistReasonStatus(code: string, updateBlacklistReasonStatusRequestDto: UpdateBlacklistReasonStatusRequestDto, authorization?: string, options?: any): AxiosPromise<UpdateBlacklistReasonResponseClass> {
536
+ return localVarFp.updateBlacklistReasonStatus(code, updateBlacklistReasonStatusRequestDto, authorization, options).then((request) => request(axios, basePath));
527
537
  },
528
538
  };
529
539
  };
@@ -695,6 +705,13 @@ export interface BlacklistReasonsApiUpdateBlacklistReasonStatusRequest {
695
705
  */
696
706
  readonly code: string
697
707
 
708
+ /**
709
+ *
710
+ * @type {UpdateBlacklistReasonStatusRequestDto}
711
+ * @memberof BlacklistReasonsApiUpdateBlacklistReasonStatus
712
+ */
713
+ readonly updateBlacklistReasonStatusRequestDto: UpdateBlacklistReasonStatusRequestDto
714
+
698
715
  /**
699
716
  * Bearer Token: provided by the login endpoint under the name accessToken.
700
717
  * @type {string}
@@ -779,6 +796,6 @@ export class BlacklistReasonsApi extends BaseAPI {
779
796
  * @memberof BlacklistReasonsApi
780
797
  */
781
798
  public updateBlacklistReasonStatus(requestParameters: BlacklistReasonsApiUpdateBlacklistReasonStatusRequest, options?: AxiosRequestConfig) {
782
- return BlacklistReasonsApiFp(this.configuration).updateBlacklistReasonStatus(requestParameters.code, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
799
+ return BlacklistReasonsApiFp(this.configuration).updateBlacklistReasonStatus(requestParameters.code, requestParameters.updateBlacklistReasonStatusRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
783
800
  }
784
801
  }
@@ -29,10 +29,10 @@ import { InlineResponse503 } from '../models';
29
29
  import { URL, URLSearchParams } from 'url';
30
30
  const FormData = require('form-data');
31
31
  /**
32
- * HealthApi - axios parameter creator
32
+ * DefaultApi - axios parameter creator
33
33
  * @export
34
34
  */
35
- export const HealthApiAxiosParamCreator = function (configuration?: Configuration) {
35
+ export const DefaultApiAxiosParamCreator = function (configuration?: Configuration) {
36
36
  return {
37
37
  /**
38
38
  * Returns the health status of the partner service. This endpoint is used to monitor the operational status of the partner service. It typically returns a simple status indicator, such as \'UP\' or \'OK\', confirming that the service is operational and available.
@@ -70,11 +70,11 @@ export const HealthApiAxiosParamCreator = function (configuration?: Configuratio
70
70
  };
71
71
 
72
72
  /**
73
- * HealthApi - functional programming interface
73
+ * DefaultApi - functional programming interface
74
74
  * @export
75
75
  */
76
- export const HealthApiFp = function(configuration?: Configuration) {
77
- const localVarAxiosParamCreator = HealthApiAxiosParamCreator(configuration)
76
+ export const DefaultApiFp = function(configuration?: Configuration) {
77
+ const localVarAxiosParamCreator = DefaultApiAxiosParamCreator(configuration)
78
78
  return {
79
79
  /**
80
80
  * Returns the health status of the partner service. This endpoint is used to monitor the operational status of the partner service. It typically returns a simple status indicator, such as \'UP\' or \'OK\', confirming that the service is operational and available.
@@ -90,11 +90,11 @@ export const HealthApiFp = function(configuration?: Configuration) {
90
90
  };
91
91
 
92
92
  /**
93
- * HealthApi - factory interface
93
+ * DefaultApi - factory interface
94
94
  * @export
95
95
  */
96
- export const HealthApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
97
- const localVarFp = HealthApiFp(configuration)
96
+ export const DefaultApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
97
+ const localVarFp = DefaultApiFp(configuration)
98
98
  return {
99
99
  /**
100
100
  * Returns the health status of the partner service. This endpoint is used to monitor the operational status of the partner service. It typically returns a simple status indicator, such as \'UP\' or \'OK\', confirming that the service is operational and available.
@@ -109,20 +109,20 @@ export const HealthApiFactory = function (configuration?: Configuration, basePat
109
109
  };
110
110
 
111
111
  /**
112
- * HealthApi - object-oriented interface
112
+ * DefaultApi - object-oriented interface
113
113
  * @export
114
- * @class HealthApi
114
+ * @class DefaultApi
115
115
  * @extends {BaseAPI}
116
116
  */
117
- export class HealthApi extends BaseAPI {
117
+ export class DefaultApi extends BaseAPI {
118
118
  /**
119
119
  * Returns the health status of the partner service. This endpoint is used to monitor the operational status of the partner service. It typically returns a simple status indicator, such as \'UP\' or \'OK\', confirming that the service is operational and available.
120
120
  * @summary Health Check
121
121
  * @param {*} [options] Override http request option.
122
122
  * @throws {RequiredError}
123
- * @memberof HealthApi
123
+ * @memberof DefaultApi
124
124
  */
125
125
  public check(options?: AxiosRequestConfig) {
126
- return HealthApiFp(this.configuration).check(options).then((request) => request(this.axios, this.basePath));
126
+ return DefaultApiFp(this.configuration).check(options).then((request) => request(this.axios, this.basePath));
127
127
  }
128
128
  }
package/api.ts CHANGED
@@ -26,7 +26,7 @@ import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObj
26
26
  import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from './base';
27
27
  import { BlacklistApi } from './api';
28
28
  import { BlacklistReasonsApi } from './api';
29
- import { HealthApi } from './api';
29
+ import { DefaultApi } from './api';
30
30
  import { PartnerInvitationsApi } from './api';
31
31
  import { PartnerRelationsApi } from './api';
32
32
  import { PartnerTagsApi } from './api';
@@ -37,7 +37,7 @@ import { PartnersApi } from './api';
37
37
 
38
38
  export * from './api/blacklist-api';
39
39
  export * from './api/blacklist-reasons-api';
40
- export * from './api/health-api';
40
+ export * from './api/default-api';
41
41
  export * from './api/partner-invitations-api';
42
42
  export * from './api/partner-relations-api';
43
43
  export * from './api/partner-tags-api';
package/base.ts CHANGED
@@ -60,6 +60,7 @@ export enum Environment {
60
60
  Staging = 'https://apiv2-staging.emil.de',
61
61
  Development = 'https://apiv2-dev.emil.de',
62
62
  ProductionZurich = 'https://eu-central-2.apiv2.emil.de',
63
+ StagingZurich = 'https://eu-central-2.apiv2-staging.emil.de',
63
64
  }
64
65
 
65
66
  let _retry_count = 0
@@ -19,6 +19,7 @@ import { GetBlacklistReasonResponseClass } from '../models';
19
19
  import { ListBlacklistReasonsResponseClass } from '../models';
20
20
  import { UpdateBlacklistReasonRequestDto } from '../models';
21
21
  import { UpdateBlacklistReasonResponseClass } from '../models';
22
+ import { UpdateBlacklistReasonStatusRequestDto } from '../models';
22
23
  /**
23
24
  * BlacklistReasonsApi - axios parameter creator
24
25
  * @export
@@ -80,11 +81,12 @@ export declare const BlacklistReasonsApiAxiosParamCreator: (configuration?: Conf
80
81
  * Partially updates the specified blacklist reason by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"partner-management.partners.update\"
81
82
  * @summary Update blacklist reason status
82
83
  * @param {string} code Unique identifier for the object.
84
+ * @param {UpdateBlacklistReasonStatusRequestDto} updateBlacklistReasonStatusRequestDto
83
85
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
84
86
  * @param {*} [options] Override http request option.
85
87
  * @throws {RequiredError}
86
88
  */
87
- updateBlacklistReasonStatus: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
89
+ updateBlacklistReasonStatus: (code: string, updateBlacklistReasonStatusRequestDto: UpdateBlacklistReasonStatusRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
88
90
  };
89
91
  /**
90
92
  * BlacklistReasonsApi - functional programming interface
@@ -147,11 +149,12 @@ export declare const BlacklistReasonsApiFp: (configuration?: Configuration) => {
147
149
  * Partially updates the specified blacklist reason by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"partner-management.partners.update\"
148
150
  * @summary Update blacklist reason status
149
151
  * @param {string} code Unique identifier for the object.
152
+ * @param {UpdateBlacklistReasonStatusRequestDto} updateBlacklistReasonStatusRequestDto
150
153
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
151
154
  * @param {*} [options] Override http request option.
152
155
  * @throws {RequiredError}
153
156
  */
154
- updateBlacklistReasonStatus(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateBlacklistReasonResponseClass>>;
157
+ updateBlacklistReasonStatus(code: string, updateBlacklistReasonStatusRequestDto: UpdateBlacklistReasonStatusRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateBlacklistReasonResponseClass>>;
155
158
  };
156
159
  /**
157
160
  * BlacklistReasonsApi - factory interface
@@ -214,11 +217,12 @@ export declare const BlacklistReasonsApiFactory: (configuration?: Configuration,
214
217
  * Partially updates the specified blacklist reason by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"partner-management.partners.update\"
215
218
  * @summary Update blacklist reason status
216
219
  * @param {string} code Unique identifier for the object.
220
+ * @param {UpdateBlacklistReasonStatusRequestDto} updateBlacklistReasonStatusRequestDto
217
221
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
218
222
  * @param {*} [options] Override http request option.
219
223
  * @throws {RequiredError}
220
224
  */
221
- updateBlacklistReasonStatus(code: string, authorization?: string, options?: any): AxiosPromise<UpdateBlacklistReasonResponseClass>;
225
+ updateBlacklistReasonStatus(code: string, updateBlacklistReasonStatusRequestDto: UpdateBlacklistReasonStatusRequestDto, authorization?: string, options?: any): AxiosPromise<UpdateBlacklistReasonResponseClass>;
222
226
  };
223
227
  /**
224
228
  * Request parameters for createBlacklistReason operation in BlacklistReasonsApi.
@@ -369,6 +373,12 @@ export interface BlacklistReasonsApiUpdateBlacklistReasonStatusRequest {
369
373
  * @memberof BlacklistReasonsApiUpdateBlacklistReasonStatus
370
374
  */
371
375
  readonly code: string;
376
+ /**
377
+ *
378
+ * @type {UpdateBlacklistReasonStatusRequestDto}
379
+ * @memberof BlacklistReasonsApiUpdateBlacklistReasonStatus
380
+ */
381
+ readonly updateBlacklistReasonStatusRequestDto: UpdateBlacklistReasonStatusRequestDto;
372
382
  /**
373
383
  * Bearer Token: provided by the login endpoint under the name accessToken.
374
384
  * @type {string}
@@ -370,11 +370,12 @@ var BlacklistReasonsApiAxiosParamCreator = function (configuration) {
370
370
  * Partially updates the specified blacklist reason by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"partner-management.partners.update\"
371
371
  * @summary Update blacklist reason status
372
372
  * @param {string} code Unique identifier for the object.
373
+ * @param {UpdateBlacklistReasonStatusRequestDto} updateBlacklistReasonStatusRequestDto
373
374
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
374
375
  * @param {*} [options] Override http request option.
375
376
  * @throws {RequiredError}
376
377
  */
377
- updateBlacklistReasonStatus: function (code, authorization, options) {
378
+ updateBlacklistReasonStatus: function (code, updateBlacklistReasonStatusRequestDto, authorization, options) {
378
379
  if (options === void 0) { options = {}; }
379
380
  return __awaiter(_this, void 0, void 0, function () {
380
381
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -383,6 +384,8 @@ var BlacklistReasonsApiAxiosParamCreator = function (configuration) {
383
384
  case 0:
384
385
  // verify required parameter 'code' is not null or undefined
385
386
  (0, common_1.assertParamExists)('updateBlacklistReasonStatus', 'code', code);
387
+ // verify required parameter 'updateBlacklistReasonStatusRequestDto' is not null or undefined
388
+ (0, common_1.assertParamExists)('updateBlacklistReasonStatus', 'updateBlacklistReasonStatusRequestDto', updateBlacklistReasonStatusRequestDto);
386
389
  localVarPath = "/partnerservice/v1/blacklist-reasons/{code}/status"
387
390
  .replace("{".concat("code", "}"), encodeURIComponent(String(code)));
388
391
  localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -403,9 +406,11 @@ var BlacklistReasonsApiAxiosParamCreator = function (configuration) {
403
406
  if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
404
407
  localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
405
408
  }
409
+ localVarHeaderParameter['Content-Type'] = 'application/json';
406
410
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
407
411
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
408
412
  localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
413
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(updateBlacklistReasonStatusRequestDto, localVarRequestOptions, configuration);
409
414
  return [2 /*return*/, {
410
415
  url: (0, common_1.toPathString)(localVarUrlObj),
411
416
  options: localVarRequestOptions,
@@ -540,16 +545,17 @@ var BlacklistReasonsApiFp = function (configuration) {
540
545
  * Partially updates the specified blacklist reason by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"partner-management.partners.update\"
541
546
  * @summary Update blacklist reason status
542
547
  * @param {string} code Unique identifier for the object.
548
+ * @param {UpdateBlacklistReasonStatusRequestDto} updateBlacklistReasonStatusRequestDto
543
549
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
544
550
  * @param {*} [options] Override http request option.
545
551
  * @throws {RequiredError}
546
552
  */
547
- updateBlacklistReasonStatus: function (code, authorization, options) {
553
+ updateBlacklistReasonStatus: function (code, updateBlacklistReasonStatusRequestDto, authorization, options) {
548
554
  return __awaiter(this, void 0, void 0, function () {
549
555
  var localVarAxiosArgs;
550
556
  return __generator(this, function (_a) {
551
557
  switch (_a.label) {
552
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.updateBlacklistReasonStatus(code, authorization, options)];
558
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.updateBlacklistReasonStatus(code, updateBlacklistReasonStatusRequestDto, authorization, options)];
553
559
  case 1:
554
560
  localVarAxiosArgs = _a.sent();
555
561
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -633,12 +639,13 @@ var BlacklistReasonsApiFactory = function (configuration, basePath, axios) {
633
639
  * Partially updates the specified blacklist reason by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"partner-management.partners.update\"
634
640
  * @summary Update blacklist reason status
635
641
  * @param {string} code Unique identifier for the object.
642
+ * @param {UpdateBlacklistReasonStatusRequestDto} updateBlacklistReasonStatusRequestDto
636
643
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
637
644
  * @param {*} [options] Override http request option.
638
645
  * @throws {RequiredError}
639
646
  */
640
- updateBlacklistReasonStatus: function (code, authorization, options) {
641
- return localVarFp.updateBlacklistReasonStatus(code, authorization, options).then(function (request) { return request(axios, basePath); });
647
+ updateBlacklistReasonStatus: function (code, updateBlacklistReasonStatusRequestDto, authorization, options) {
648
+ return localVarFp.updateBlacklistReasonStatus(code, updateBlacklistReasonStatusRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
642
649
  },
643
650
  };
644
651
  };
@@ -725,7 +732,7 @@ var BlacklistReasonsApi = /** @class */ (function (_super) {
725
732
  */
726
733
  BlacklistReasonsApi.prototype.updateBlacklistReasonStatus = function (requestParameters, options) {
727
734
  var _this = this;
728
- return (0, exports.BlacklistReasonsApiFp)(this.configuration).updateBlacklistReasonStatus(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
735
+ return (0, exports.BlacklistReasonsApiFp)(this.configuration).updateBlacklistReasonStatus(requestParameters.code, requestParameters.updateBlacklistReasonStatusRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
729
736
  };
730
737
  return BlacklistReasonsApi;
731
738
  }(base_1.BaseAPI));
@@ -14,10 +14,10 @@ import { Configuration } from '../configuration';
14
14
  import { RequestArgs, BaseAPI } from '../base';
15
15
  import { InlineResponse200 } from '../models';
16
16
  /**
17
- * HealthApi - axios parameter creator
17
+ * DefaultApi - axios parameter creator
18
18
  * @export
19
19
  */
20
- export declare const HealthApiAxiosParamCreator: (configuration?: Configuration) => {
20
+ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration) => {
21
21
  /**
22
22
  * Returns the health status of the partner service. This endpoint is used to monitor the operational status of the partner service. It typically returns a simple status indicator, such as \'UP\' or \'OK\', confirming that the service is operational and available.
23
23
  * @summary Health Check
@@ -27,10 +27,10 @@ export declare const HealthApiAxiosParamCreator: (configuration?: Configuration)
27
27
  check: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
28
28
  };
29
29
  /**
30
- * HealthApi - functional programming interface
30
+ * DefaultApi - functional programming interface
31
31
  * @export
32
32
  */
33
- export declare const HealthApiFp: (configuration?: Configuration) => {
33
+ export declare const DefaultApiFp: (configuration?: Configuration) => {
34
34
  /**
35
35
  * Returns the health status of the partner service. This endpoint is used to monitor the operational status of the partner service. It typically returns a simple status indicator, such as \'UP\' or \'OK\', confirming that the service is operational and available.
36
36
  * @summary Health Check
@@ -40,10 +40,10 @@ export declare const HealthApiFp: (configuration?: Configuration) => {
40
40
  check(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InlineResponse200>>;
41
41
  };
42
42
  /**
43
- * HealthApi - factory interface
43
+ * DefaultApi - factory interface
44
44
  * @export
45
45
  */
46
- export declare const HealthApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
46
+ export declare const DefaultApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
47
47
  /**
48
48
  * Returns the health status of the partner service. This endpoint is used to monitor the operational status of the partner service. It typically returns a simple status indicator, such as \'UP\' or \'OK\', confirming that the service is operational and available.
49
49
  * @summary Health Check
@@ -53,18 +53,18 @@ export declare const HealthApiFactory: (configuration?: Configuration, basePath?
53
53
  check(options?: any): AxiosPromise<InlineResponse200>;
54
54
  };
55
55
  /**
56
- * HealthApi - object-oriented interface
56
+ * DefaultApi - object-oriented interface
57
57
  * @export
58
- * @class HealthApi
58
+ * @class DefaultApi
59
59
  * @extends {BaseAPI}
60
60
  */
61
- export declare class HealthApi extends BaseAPI {
61
+ export declare class DefaultApi extends BaseAPI {
62
62
  /**
63
63
  * Returns the health status of the partner service. This endpoint is used to monitor the operational status of the partner service. It typically returns a simple status indicator, such as \'UP\' or \'OK\', confirming that the service is operational and available.
64
64
  * @summary Health Check
65
65
  * @param {*} [options] Override http request option.
66
66
  * @throws {RequiredError}
67
- * @memberof HealthApi
67
+ * @memberof DefaultApi
68
68
  */
69
69
  check(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<InlineResponse200, any, {}>>;
70
70
  }
@@ -78,7 +78,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
78
78
  return (mod && mod.__esModule) ? mod : { "default": mod };
79
79
  };
80
80
  Object.defineProperty(exports, "__esModule", { value: true });
81
- exports.HealthApi = exports.HealthApiFactory = exports.HealthApiFp = exports.HealthApiAxiosParamCreator = void 0;
81
+ exports.DefaultApi = exports.DefaultApiFactory = exports.DefaultApiFp = exports.DefaultApiAxiosParamCreator = void 0;
82
82
  var axios_1 = __importDefault(require("axios"));
83
83
  // Some imports not used depending on template conditions
84
84
  // @ts-ignore
@@ -90,10 +90,10 @@ var base_1 = require("../base");
90
90
  var url_1 = require("url");
91
91
  var FormData = require('form-data');
92
92
  /**
93
- * HealthApi - axios parameter creator
93
+ * DefaultApi - axios parameter creator
94
94
  * @export
95
95
  */
96
- var HealthApiAxiosParamCreator = function (configuration) {
96
+ var DefaultApiAxiosParamCreator = function (configuration) {
97
97
  var _this = this;
98
98
  return {
99
99
  /**
@@ -128,13 +128,13 @@ var HealthApiAxiosParamCreator = function (configuration) {
128
128
  },
129
129
  };
130
130
  };
131
- exports.HealthApiAxiosParamCreator = HealthApiAxiosParamCreator;
131
+ exports.DefaultApiAxiosParamCreator = DefaultApiAxiosParamCreator;
132
132
  /**
133
- * HealthApi - functional programming interface
133
+ * DefaultApi - functional programming interface
134
134
  * @export
135
135
  */
136
- var HealthApiFp = function (configuration) {
137
- var localVarAxiosParamCreator = (0, exports.HealthApiAxiosParamCreator)(configuration);
136
+ var DefaultApiFp = function (configuration) {
137
+ var localVarAxiosParamCreator = (0, exports.DefaultApiAxiosParamCreator)(configuration);
138
138
  return {
139
139
  /**
140
140
  * Returns the health status of the partner service. This endpoint is used to monitor the operational status of the partner service. It typically returns a simple status indicator, such as \'UP\' or \'OK\', confirming that the service is operational and available.
@@ -157,13 +157,13 @@ var HealthApiFp = function (configuration) {
157
157
  },
158
158
  };
159
159
  };
160
- exports.HealthApiFp = HealthApiFp;
160
+ exports.DefaultApiFp = DefaultApiFp;
161
161
  /**
162
- * HealthApi - factory interface
162
+ * DefaultApi - factory interface
163
163
  * @export
164
164
  */
165
- var HealthApiFactory = function (configuration, basePath, axios) {
166
- var localVarFp = (0, exports.HealthApiFp)(configuration);
165
+ var DefaultApiFactory = function (configuration, basePath, axios) {
166
+ var localVarFp = (0, exports.DefaultApiFp)(configuration);
167
167
  return {
168
168
  /**
169
169
  * Returns the health status of the partner service. This endpoint is used to monitor the operational status of the partner service. It typically returns a simple status indicator, such as \'UP\' or \'OK\', confirming that the service is operational and available.
@@ -176,16 +176,16 @@ var HealthApiFactory = function (configuration, basePath, axios) {
176
176
  },
177
177
  };
178
178
  };
179
- exports.HealthApiFactory = HealthApiFactory;
179
+ exports.DefaultApiFactory = DefaultApiFactory;
180
180
  /**
181
- * HealthApi - object-oriented interface
181
+ * DefaultApi - object-oriented interface
182
182
  * @export
183
- * @class HealthApi
183
+ * @class DefaultApi
184
184
  * @extends {BaseAPI}
185
185
  */
186
- var HealthApi = /** @class */ (function (_super) {
187
- __extends(HealthApi, _super);
188
- function HealthApi() {
186
+ var DefaultApi = /** @class */ (function (_super) {
187
+ __extends(DefaultApi, _super);
188
+ function DefaultApi() {
189
189
  return _super !== null && _super.apply(this, arguments) || this;
190
190
  }
191
191
  /**
@@ -193,12 +193,12 @@ var HealthApi = /** @class */ (function (_super) {
193
193
  * @summary Health Check
194
194
  * @param {*} [options] Override http request option.
195
195
  * @throws {RequiredError}
196
- * @memberof HealthApi
196
+ * @memberof DefaultApi
197
197
  */
198
- HealthApi.prototype.check = function (options) {
198
+ DefaultApi.prototype.check = function (options) {
199
199
  var _this = this;
200
- return (0, exports.HealthApiFp)(this.configuration).check(options).then(function (request) { return request(_this.axios, _this.basePath); });
200
+ return (0, exports.DefaultApiFp)(this.configuration).check(options).then(function (request) { return request(_this.axios, _this.basePath); });
201
201
  };
202
- return HealthApi;
202
+ return DefaultApi;
203
203
  }(base_1.BaseAPI));
204
- exports.HealthApi = HealthApi;
204
+ exports.DefaultApi = DefaultApi;
package/dist/api.d.ts CHANGED
@@ -11,7 +11,7 @@
11
11
  */
12
12
  export * from './api/blacklist-api';
13
13
  export * from './api/blacklist-reasons-api';
14
- export * from './api/health-api';
14
+ export * from './api/default-api';
15
15
  export * from './api/partner-invitations-api';
16
16
  export * from './api/partner-relations-api';
17
17
  export * from './api/partner-tags-api';
package/dist/api.js CHANGED
@@ -29,7 +29,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
29
29
  Object.defineProperty(exports, "__esModule", { value: true });
30
30
  __exportStar(require("./api/blacklist-api"), exports);
31
31
  __exportStar(require("./api/blacklist-reasons-api"), exports);
32
- __exportStar(require("./api/health-api"), exports);
32
+ __exportStar(require("./api/default-api"), exports);
33
33
  __exportStar(require("./api/partner-invitations-api"), exports);
34
34
  __exportStar(require("./api/partner-relations-api"), exports);
35
35
  __exportStar(require("./api/partner-tags-api"), exports);
package/dist/base.d.ts CHANGED
@@ -39,7 +39,8 @@ export declare enum Environment {
39
39
  Test = "https://apiv2-test.emil.de",
40
40
  Staging = "https://apiv2-staging.emil.de",
41
41
  Development = "https://apiv2-dev.emil.de",
42
- ProductionZurich = "https://eu-central-2.apiv2.emil.de"
42
+ ProductionZurich = "https://eu-central-2.apiv2.emil.de",
43
+ StagingZurich = "https://eu-central-2.apiv2-staging.emil.de"
43
44
  }
44
45
  export declare function resetRetry(): void;
45
46
  /**
package/dist/base.js CHANGED
@@ -132,6 +132,7 @@ var Environment;
132
132
  Environment["Staging"] = "https://apiv2-staging.emil.de";
133
133
  Environment["Development"] = "https://apiv2-dev.emil.de";
134
134
  Environment["ProductionZurich"] = "https://eu-central-2.apiv2.emil.de";
135
+ Environment["StagingZurich"] = "https://eu-central-2.apiv2-staging.emil.de";
135
136
  })(Environment = exports.Environment || (exports.Environment = {}));
136
137
  var _retry_count = 0;
137
138
  var _retry = null;
@@ -55,6 +55,7 @@ export * from './tag-class';
55
55
  export * from './tag-partner-request-dto-rest';
56
56
  export * from './update-blacklist-reason-request-dto';
57
57
  export * from './update-blacklist-reason-response-class';
58
+ export * from './update-blacklist-reason-status-request-dto';
58
59
  export * from './update-partner-relation-request-dto-rest';
59
60
  export * from './update-partner-request-dto';
60
61
  export * from './update-partner-response-class';
@@ -71,6 +71,7 @@ __exportStar(require("./tag-class"), exports);
71
71
  __exportStar(require("./tag-partner-request-dto-rest"), exports);
72
72
  __exportStar(require("./update-blacklist-reason-request-dto"), exports);
73
73
  __exportStar(require("./update-blacklist-reason-response-class"), exports);
74
+ __exportStar(require("./update-blacklist-reason-status-request-dto"), exports);
74
75
  __exportStar(require("./update-partner-relation-request-dto-rest"), exports);
75
76
  __exportStar(require("./update-partner-request-dto"), exports);
76
77
  __exportStar(require("./update-partner-response-class"), exports);
@@ -28,16 +28,4 @@ export interface ListBlacklistItemsResponseClass {
28
28
  * @memberof ListBlacklistItemsResponseClass
29
29
  */
30
30
  'nextPageToken': string;
31
- /**
32
- * Items per page.
33
- * @type {number}
34
- * @memberof ListBlacklistItemsResponseClass
35
- */
36
- 'itemsPerPage': number;
37
- /**
38
- * Total amount of items.
39
- * @type {number}
40
- * @memberof ListBlacklistItemsResponseClass
41
- */
42
- 'totalItems': number;
43
31
  }
@@ -16,28 +16,16 @@ import { PartnerRelationClass } from './partner-relation-class';
16
16
  * @interface ListPartnerRelationClass
17
17
  */
18
18
  export interface ListPartnerRelationClass {
19
- /**
20
- * Next page token.
21
- * @type {string}
22
- * @memberof ListPartnerRelationClass
23
- */
24
- 'nextPageToken': string;
25
- /**
26
- * Total amount of items.
27
- * @type {number}
28
- * @memberof ListPartnerRelationClass
29
- */
30
- 'totalItems': number;
31
- /**
32
- * Items per page.
33
- * @type {number}
34
- * @memberof ListPartnerRelationClass
35
- */
36
- 'itemsPerPage': number;
37
19
  /**
38
20
  * The list of partner relationss.
39
21
  * @type {Array<PartnerRelationClass>}
40
22
  * @memberof ListPartnerRelationClass
41
23
  */
42
24
  'items': Array<PartnerRelationClass>;
25
+ /**
26
+ * Next page token.
27
+ * @type {string}
28
+ * @memberof ListPartnerRelationClass
29
+ */
30
+ 'nextPageToken': string;
43
31
  }
@@ -16,28 +16,16 @@ import { PartnerRelationTypeClass } from './partner-relation-type-class';
16
16
  * @interface ListPartnerRelationTypesClass
17
17
  */
18
18
  export interface ListPartnerRelationTypesClass {
19
- /**
20
- * Next page token.
21
- * @type {string}
22
- * @memberof ListPartnerRelationTypesClass
23
- */
24
- 'nextPageToken': string;
25
- /**
26
- * Total amount of items.
27
- * @type {number}
28
- * @memberof ListPartnerRelationTypesClass
29
- */
30
- 'totalItems': number;
31
- /**
32
- * Items per page.
33
- * @type {number}
34
- * @memberof ListPartnerRelationTypesClass
35
- */
36
- 'itemsPerPage': number;
37
19
  /**
38
20
  * The list of partner relation typess.
39
21
  * @type {Array<PartnerRelationTypeClass>}
40
22
  * @memberof ListPartnerRelationTypesClass
41
23
  */
42
24
  'items': Array<PartnerRelationTypeClass>;
25
+ /**
26
+ * Next page token.
27
+ * @type {string}
28
+ * @memberof ListPartnerRelationTypesClass
29
+ */
30
+ 'nextPageToken': string;
43
31
  }
@@ -16,28 +16,16 @@ import { PartnerTypeClass } from './partner-type-class';
16
16
  * @interface ListPartnerTypesResponseClass
17
17
  */
18
18
  export interface ListPartnerTypesResponseClass {
19
- /**
20
- * Next page token.
21
- * @type {string}
22
- * @memberof ListPartnerTypesResponseClass
23
- */
24
- 'nextPageToken': string;
25
- /**
26
- * Total amount of items.
27
- * @type {number}
28
- * @memberof ListPartnerTypesResponseClass
29
- */
30
- 'totalItems': number;
31
- /**
32
- * Items per page.
33
- * @type {number}
34
- * @memberof ListPartnerTypesResponseClass
35
- */
36
- 'itemsPerPage': number;
37
19
  /**
38
20
  * The list of partner typess.
39
21
  * @type {Array<PartnerTypeClass>}
40
22
  * @memberof ListPartnerTypesResponseClass
41
23
  */
42
24
  'items': Array<PartnerTypeClass>;
25
+ /**
26
+ * Next page token.
27
+ * @type {string}
28
+ * @memberof ListPartnerTypesResponseClass
29
+ */
30
+ 'nextPageToken': string;
43
31
  }
@@ -16,28 +16,16 @@ import { PartnerClass } from './partner-class';
16
16
  * @interface ListPartnerVersionsResponseClass
17
17
  */
18
18
  export interface ListPartnerVersionsResponseClass {
19
- /**
20
- * Next page token.
21
- * @type {string}
22
- * @memberof ListPartnerVersionsResponseClass
23
- */
24
- 'nextPageToken': string;
25
- /**
26
- * Total amount of items.
27
- * @type {number}
28
- * @memberof ListPartnerVersionsResponseClass
29
- */
30
- 'totalItems': number;
31
- /**
32
- * Items per page.
33
- * @type {number}
34
- * @memberof ListPartnerVersionsResponseClass
35
- */
36
- 'itemsPerPage': number;
37
19
  /**
38
20
  * The list of partnerss.
39
21
  * @type {Array<PartnerClass>}
40
22
  * @memberof ListPartnerVersionsResponseClass
41
23
  */
42
24
  'items': Array<PartnerClass>;
25
+ /**
26
+ * Next page token.
27
+ * @type {string}
28
+ * @memberof ListPartnerVersionsResponseClass
29
+ */
30
+ 'nextPageToken': string;
43
31
  }
@@ -16,28 +16,16 @@ import { PartnerClass } from './partner-class';
16
16
  * @interface ListPartnersResponseClass
17
17
  */
18
18
  export interface ListPartnersResponseClass {
19
- /**
20
- * Next page token.
21
- * @type {string}
22
- * @memberof ListPartnersResponseClass
23
- */
24
- 'nextPageToken': string;
25
- /**
26
- * Total amount of items.
27
- * @type {number}
28
- * @memberof ListPartnersResponseClass
29
- */
30
- 'totalItems': number;
31
- /**
32
- * Items per page.
33
- * @type {number}
34
- * @memberof ListPartnersResponseClass
35
- */
36
- 'itemsPerPage': number;
37
19
  /**
38
20
  * The list of partnerss.
39
21
  * @type {Array<PartnerClass>}
40
22
  * @memberof ListPartnersResponseClass
41
23
  */
42
24
  'items': Array<PartnerClass>;
25
+ /**
26
+ * Next page token.
27
+ * @type {string}
28
+ * @memberof ListPartnersResponseClass
29
+ */
30
+ 'nextPageToken': string;
43
31
  }
@@ -16,28 +16,16 @@ import { GroupedRelatedPartnersClass } from './grouped-related-partners-class';
16
16
  * @interface ListRelatedPartnersResponseClass
17
17
  */
18
18
  export interface ListRelatedPartnersResponseClass {
19
- /**
20
- * Next page token.
21
- * @type {string}
22
- * @memberof ListRelatedPartnersResponseClass
23
- */
24
- 'nextPageToken': string;
25
- /**
26
- * Total amount of items.
27
- * @type {number}
28
- * @memberof ListRelatedPartnersResponseClass
29
- */
30
- 'totalItems': number;
31
- /**
32
- * Items per page.
33
- * @type {number}
34
- * @memberof ListRelatedPartnersResponseClass
35
- */
36
- 'itemsPerPage': number;
37
19
  /**
38
20
  * The list of grouped relations for partner
39
21
  * @type {Array<GroupedRelatedPartnersClass>}
40
22
  * @memberof ListRelatedPartnersResponseClass
41
23
  */
42
24
  'items': Array<GroupedRelatedPartnersClass>;
25
+ /**
26
+ * Next page token.
27
+ * @type {string}
28
+ * @memberof ListRelatedPartnersResponseClass
29
+ */
30
+ 'nextPageToken': string;
43
31
  }
@@ -16,28 +16,16 @@ import { TagClass } from './tag-class';
16
16
  * @interface ListTagsResponseClass
17
17
  */
18
18
  export interface ListTagsResponseClass {
19
- /**
20
- * Next page token.
21
- * @type {string}
22
- * @memberof ListTagsResponseClass
23
- */
24
- 'nextPageToken': string;
25
- /**
26
- * Total amount of items.
27
- * @type {number}
28
- * @memberof ListTagsResponseClass
29
- */
30
- 'totalItems': number;
31
- /**
32
- * Items per page.
33
- * @type {number}
34
- * @memberof ListTagsResponseClass
35
- */
36
- 'itemsPerPage': number;
37
19
  /**
38
20
  * The list of partner tagss.
39
21
  * @type {Array<TagClass>}
40
22
  * @memberof ListTagsResponseClass
41
23
  */
42
24
  'items': Array<TagClass>;
25
+ /**
26
+ * Next page token.
27
+ * @type {string}
28
+ * @memberof ListTagsResponseClass
29
+ */
30
+ 'nextPageToken': string;
43
31
  }
@@ -0,0 +1,24 @@
1
+ /**
2
+ * EMIL PartnerService
3
+ * The EMIL PartnerService API description
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ * Contact: kontakt@emil.de
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface UpdateBlacklistReasonStatusRequestDto
16
+ */
17
+ export interface UpdateBlacklistReasonStatusRequestDto {
18
+ /**
19
+ * New activation state for the blacklist reason.
20
+ * @type {boolean}
21
+ * @memberof UpdateBlacklistReasonStatusRequestDto
22
+ */
23
+ 'isActive': boolean;
24
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * EMIL PartnerService
6
+ * The EMIL PartnerService API description
7
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ * Contact: kontakt@emil.de
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
package/models/index.ts CHANGED
@@ -55,6 +55,7 @@ export * from './tag-class';
55
55
  export * from './tag-partner-request-dto-rest';
56
56
  export * from './update-blacklist-reason-request-dto';
57
57
  export * from './update-blacklist-reason-response-class';
58
+ export * from './update-blacklist-reason-status-request-dto';
58
59
  export * from './update-partner-relation-request-dto-rest';
59
60
  export * from './update-partner-request-dto';
60
61
  export * from './update-partner-response-class';
@@ -33,17 +33,5 @@ export interface ListBlacklistItemsResponseClass {
33
33
  * @memberof ListBlacklistItemsResponseClass
34
34
  */
35
35
  'nextPageToken': string;
36
- /**
37
- * Items per page.
38
- * @type {number}
39
- * @memberof ListBlacklistItemsResponseClass
40
- */
41
- 'itemsPerPage': number;
42
- /**
43
- * Total amount of items.
44
- * @type {number}
45
- * @memberof ListBlacklistItemsResponseClass
46
- */
47
- 'totalItems': number;
48
36
  }
49
37
 
@@ -21,29 +21,17 @@ import { PartnerRelationClass } from './partner-relation-class';
21
21
  * @interface ListPartnerRelationClass
22
22
  */
23
23
  export interface ListPartnerRelationClass {
24
- /**
25
- * Next page token.
26
- * @type {string}
27
- * @memberof ListPartnerRelationClass
28
- */
29
- 'nextPageToken': string;
30
- /**
31
- * Total amount of items.
32
- * @type {number}
33
- * @memberof ListPartnerRelationClass
34
- */
35
- 'totalItems': number;
36
- /**
37
- * Items per page.
38
- * @type {number}
39
- * @memberof ListPartnerRelationClass
40
- */
41
- 'itemsPerPage': number;
42
24
  /**
43
25
  * The list of partner relationss.
44
26
  * @type {Array<PartnerRelationClass>}
45
27
  * @memberof ListPartnerRelationClass
46
28
  */
47
29
  'items': Array<PartnerRelationClass>;
30
+ /**
31
+ * Next page token.
32
+ * @type {string}
33
+ * @memberof ListPartnerRelationClass
34
+ */
35
+ 'nextPageToken': string;
48
36
  }
49
37
 
@@ -21,29 +21,17 @@ import { PartnerRelationTypeClass } from './partner-relation-type-class';
21
21
  * @interface ListPartnerRelationTypesClass
22
22
  */
23
23
  export interface ListPartnerRelationTypesClass {
24
- /**
25
- * Next page token.
26
- * @type {string}
27
- * @memberof ListPartnerRelationTypesClass
28
- */
29
- 'nextPageToken': string;
30
- /**
31
- * Total amount of items.
32
- * @type {number}
33
- * @memberof ListPartnerRelationTypesClass
34
- */
35
- 'totalItems': number;
36
- /**
37
- * Items per page.
38
- * @type {number}
39
- * @memberof ListPartnerRelationTypesClass
40
- */
41
- 'itemsPerPage': number;
42
24
  /**
43
25
  * The list of partner relation typess.
44
26
  * @type {Array<PartnerRelationTypeClass>}
45
27
  * @memberof ListPartnerRelationTypesClass
46
28
  */
47
29
  'items': Array<PartnerRelationTypeClass>;
30
+ /**
31
+ * Next page token.
32
+ * @type {string}
33
+ * @memberof ListPartnerRelationTypesClass
34
+ */
35
+ 'nextPageToken': string;
48
36
  }
49
37
 
@@ -21,29 +21,17 @@ import { PartnerTypeClass } from './partner-type-class';
21
21
  * @interface ListPartnerTypesResponseClass
22
22
  */
23
23
  export interface ListPartnerTypesResponseClass {
24
- /**
25
- * Next page token.
26
- * @type {string}
27
- * @memberof ListPartnerTypesResponseClass
28
- */
29
- 'nextPageToken': string;
30
- /**
31
- * Total amount of items.
32
- * @type {number}
33
- * @memberof ListPartnerTypesResponseClass
34
- */
35
- 'totalItems': number;
36
- /**
37
- * Items per page.
38
- * @type {number}
39
- * @memberof ListPartnerTypesResponseClass
40
- */
41
- 'itemsPerPage': number;
42
24
  /**
43
25
  * The list of partner typess.
44
26
  * @type {Array<PartnerTypeClass>}
45
27
  * @memberof ListPartnerTypesResponseClass
46
28
  */
47
29
  'items': Array<PartnerTypeClass>;
30
+ /**
31
+ * Next page token.
32
+ * @type {string}
33
+ * @memberof ListPartnerTypesResponseClass
34
+ */
35
+ 'nextPageToken': string;
48
36
  }
49
37
 
@@ -21,29 +21,17 @@ import { PartnerClass } from './partner-class';
21
21
  * @interface ListPartnerVersionsResponseClass
22
22
  */
23
23
  export interface ListPartnerVersionsResponseClass {
24
- /**
25
- * Next page token.
26
- * @type {string}
27
- * @memberof ListPartnerVersionsResponseClass
28
- */
29
- 'nextPageToken': string;
30
- /**
31
- * Total amount of items.
32
- * @type {number}
33
- * @memberof ListPartnerVersionsResponseClass
34
- */
35
- 'totalItems': number;
36
- /**
37
- * Items per page.
38
- * @type {number}
39
- * @memberof ListPartnerVersionsResponseClass
40
- */
41
- 'itemsPerPage': number;
42
24
  /**
43
25
  * The list of partnerss.
44
26
  * @type {Array<PartnerClass>}
45
27
  * @memberof ListPartnerVersionsResponseClass
46
28
  */
47
29
  'items': Array<PartnerClass>;
30
+ /**
31
+ * Next page token.
32
+ * @type {string}
33
+ * @memberof ListPartnerVersionsResponseClass
34
+ */
35
+ 'nextPageToken': string;
48
36
  }
49
37
 
@@ -21,29 +21,17 @@ import { PartnerClass } from './partner-class';
21
21
  * @interface ListPartnersResponseClass
22
22
  */
23
23
  export interface ListPartnersResponseClass {
24
- /**
25
- * Next page token.
26
- * @type {string}
27
- * @memberof ListPartnersResponseClass
28
- */
29
- 'nextPageToken': string;
30
- /**
31
- * Total amount of items.
32
- * @type {number}
33
- * @memberof ListPartnersResponseClass
34
- */
35
- 'totalItems': number;
36
- /**
37
- * Items per page.
38
- * @type {number}
39
- * @memberof ListPartnersResponseClass
40
- */
41
- 'itemsPerPage': number;
42
24
  /**
43
25
  * The list of partnerss.
44
26
  * @type {Array<PartnerClass>}
45
27
  * @memberof ListPartnersResponseClass
46
28
  */
47
29
  'items': Array<PartnerClass>;
30
+ /**
31
+ * Next page token.
32
+ * @type {string}
33
+ * @memberof ListPartnersResponseClass
34
+ */
35
+ 'nextPageToken': string;
48
36
  }
49
37
 
@@ -21,29 +21,17 @@ import { GroupedRelatedPartnersClass } from './grouped-related-partners-class';
21
21
  * @interface ListRelatedPartnersResponseClass
22
22
  */
23
23
  export interface ListRelatedPartnersResponseClass {
24
- /**
25
- * Next page token.
26
- * @type {string}
27
- * @memberof ListRelatedPartnersResponseClass
28
- */
29
- 'nextPageToken': string;
30
- /**
31
- * Total amount of items.
32
- * @type {number}
33
- * @memberof ListRelatedPartnersResponseClass
34
- */
35
- 'totalItems': number;
36
- /**
37
- * Items per page.
38
- * @type {number}
39
- * @memberof ListRelatedPartnersResponseClass
40
- */
41
- 'itemsPerPage': number;
42
24
  /**
43
25
  * The list of grouped relations for partner
44
26
  * @type {Array<GroupedRelatedPartnersClass>}
45
27
  * @memberof ListRelatedPartnersResponseClass
46
28
  */
47
29
  'items': Array<GroupedRelatedPartnersClass>;
30
+ /**
31
+ * Next page token.
32
+ * @type {string}
33
+ * @memberof ListRelatedPartnersResponseClass
34
+ */
35
+ 'nextPageToken': string;
48
36
  }
49
37
 
@@ -21,29 +21,17 @@ import { TagClass } from './tag-class';
21
21
  * @interface ListTagsResponseClass
22
22
  */
23
23
  export interface ListTagsResponseClass {
24
- /**
25
- * Next page token.
26
- * @type {string}
27
- * @memberof ListTagsResponseClass
28
- */
29
- 'nextPageToken': string;
30
- /**
31
- * Total amount of items.
32
- * @type {number}
33
- * @memberof ListTagsResponseClass
34
- */
35
- 'totalItems': number;
36
- /**
37
- * Items per page.
38
- * @type {number}
39
- * @memberof ListTagsResponseClass
40
- */
41
- 'itemsPerPage': number;
42
24
  /**
43
25
  * The list of partner tagss.
44
26
  * @type {Array<TagClass>}
45
27
  * @memberof ListTagsResponseClass
46
28
  */
47
29
  'items': Array<TagClass>;
30
+ /**
31
+ * Next page token.
32
+ * @type {string}
33
+ * @memberof ListTagsResponseClass
34
+ */
35
+ 'nextPageToken': string;
48
36
  }
49
37
 
@@ -0,0 +1,30 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * EMIL PartnerService
5
+ * The EMIL PartnerService API description
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ * Contact: kontakt@emil.de
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+
17
+ /**
18
+ *
19
+ * @export
20
+ * @interface UpdateBlacklistReasonStatusRequestDto
21
+ */
22
+ export interface UpdateBlacklistReasonStatusRequestDto {
23
+ /**
24
+ * New activation state for the blacklist reason.
25
+ * @type {boolean}
26
+ * @memberof UpdateBlacklistReasonStatusRequestDto
27
+ */
28
+ 'isActive': boolean;
29
+ }
30
+
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emilgroup/partner-sdk-node",
3
- "version": "1.22.1-beta.8",
3
+ "version": "1.23.0",
4
4
  "description": "OpenAPI client for @emilgroup/partner-sdk-node",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [