@emilgroup/partner-sdk 1.22.1-beta.7 → 1.22.1-beta.9

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.
@@ -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@1.22.1-beta.7 --save
20
+ npm install @emilgroup/partner-sdk@1.22.1-beta.9 --save
21
21
  ```
22
22
  or
23
23
  ```
24
- yarn add @emilgroup/partner-sdk@1.22.1-beta.7
24
+ yarn add @emilgroup/partner-sdk@1.22.1-beta.9
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
  /**
38
40
  * BlacklistReasonsApi - axios parameter creator
39
41
  * @export
@@ -308,13 +310,16 @@ export const BlacklistReasonsApiAxiosParamCreator = function (configuration?: Co
308
310
  * 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\"
309
311
  * @summary Update blacklist reason status
310
312
  * @param {string} code Unique identifier for the object.
313
+ * @param {UpdateBlacklistReasonStatusRequestDto} updateBlacklistReasonStatusRequestDto
311
314
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
312
315
  * @param {*} [options] Override http request option.
313
316
  * @throws {RequiredError}
314
317
  */
315
- updateBlacklistReasonStatus: async (code: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
318
+ updateBlacklistReasonStatus: async (code: string, updateBlacklistReasonStatusRequestDto: UpdateBlacklistReasonStatusRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
316
319
  // verify required parameter 'code' is not null or undefined
317
320
  assertParamExists('updateBlacklistReasonStatus', 'code', code)
321
+ // verify required parameter 'updateBlacklistReasonStatusRequestDto' is not null or undefined
322
+ assertParamExists('updateBlacklistReasonStatus', 'updateBlacklistReasonStatusRequestDto', updateBlacklistReasonStatusRequestDto)
318
323
  const localVarPath = `/partnerservice/v1/blacklist-reasons/{code}/status`
319
324
  .replace(`{${"code"}}`, encodeURIComponent(String(code)));
320
325
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -340,9 +345,12 @@ export const BlacklistReasonsApiAxiosParamCreator = function (configuration?: Co
340
345
 
341
346
 
342
347
 
348
+ localVarHeaderParameter['Content-Type'] = 'application/json';
349
+
343
350
  setSearchParams(localVarUrlObj, localVarQueryParameter);
344
351
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
345
352
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
353
+ localVarRequestOptions.data = serializeDataIfNeeded(updateBlacklistReasonStatusRequestDto, localVarRequestOptions, configuration)
346
354
 
347
355
  return {
348
356
  url: toPathString(localVarUrlObj),
@@ -430,12 +438,13 @@ export const BlacklistReasonsApiFp = function(configuration?: Configuration) {
430
438
  * 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\"
431
439
  * @summary Update blacklist reason status
432
440
  * @param {string} code Unique identifier for the object.
441
+ * @param {UpdateBlacklistReasonStatusRequestDto} updateBlacklistReasonStatusRequestDto
433
442
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
434
443
  * @param {*} [options] Override http request option.
435
444
  * @throws {RequiredError}
436
445
  */
437
- async updateBlacklistReasonStatus(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateBlacklistReasonResponseClass>> {
438
- const localVarAxiosArgs = await localVarAxiosParamCreator.updateBlacklistReasonStatus(code, authorization, options);
446
+ async updateBlacklistReasonStatus(code: string, updateBlacklistReasonStatusRequestDto: UpdateBlacklistReasonStatusRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateBlacklistReasonResponseClass>> {
447
+ const localVarAxiosArgs = await localVarAxiosParamCreator.updateBlacklistReasonStatus(code, updateBlacklistReasonStatusRequestDto, authorization, options);
439
448
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
440
449
  },
441
450
  }
@@ -514,12 +523,13 @@ export const BlacklistReasonsApiFactory = function (configuration?: Configuratio
514
523
  * 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\"
515
524
  * @summary Update blacklist reason status
516
525
  * @param {string} code Unique identifier for the object.
526
+ * @param {UpdateBlacklistReasonStatusRequestDto} updateBlacklistReasonStatusRequestDto
517
527
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
518
528
  * @param {*} [options] Override http request option.
519
529
  * @throws {RequiredError}
520
530
  */
521
- updateBlacklistReasonStatus(code: string, authorization?: string, options?: any): AxiosPromise<UpdateBlacklistReasonResponseClass> {
522
- return localVarFp.updateBlacklistReasonStatus(code, authorization, options).then((request) => request(axios, basePath));
531
+ updateBlacklistReasonStatus(code: string, updateBlacklistReasonStatusRequestDto: UpdateBlacklistReasonStatusRequestDto, authorization?: string, options?: any): AxiosPromise<UpdateBlacklistReasonResponseClass> {
532
+ return localVarFp.updateBlacklistReasonStatus(code, updateBlacklistReasonStatusRequestDto, authorization, options).then((request) => request(axios, basePath));
523
533
  },
524
534
  };
525
535
  };
@@ -691,6 +701,13 @@ export interface BlacklistReasonsApiUpdateBlacklistReasonStatusRequest {
691
701
  */
692
702
  readonly code: string
693
703
 
704
+ /**
705
+ *
706
+ * @type {UpdateBlacklistReasonStatusRequestDto}
707
+ * @memberof BlacklistReasonsApiUpdateBlacklistReasonStatus
708
+ */
709
+ readonly updateBlacklistReasonStatusRequestDto: UpdateBlacklistReasonStatusRequestDto
710
+
694
711
  /**
695
712
  * Bearer Token: provided by the login endpoint under the name accessToken.
696
713
  * @type {string}
@@ -775,6 +792,6 @@ export class BlacklistReasonsApi extends BaseAPI {
775
792
  * @memberof BlacklistReasonsApi
776
793
  */
777
794
  public updateBlacklistReasonStatus(requestParameters: BlacklistReasonsApiUpdateBlacklistReasonStatusRequest, options?: AxiosRequestConfig) {
778
- return BlacklistReasonsApiFp(this.configuration).updateBlacklistReasonStatus(requestParameters.code, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
795
+ return BlacklistReasonsApiFp(this.configuration).updateBlacklistReasonStatus(requestParameters.code, requestParameters.updateBlacklistReasonStatusRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
779
796
  }
780
797
  }
@@ -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}
@@ -366,11 +366,12 @@ var BlacklistReasonsApiAxiosParamCreator = function (configuration) {
366
366
  * 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\"
367
367
  * @summary Update blacklist reason status
368
368
  * @param {string} code Unique identifier for the object.
369
+ * @param {UpdateBlacklistReasonStatusRequestDto} updateBlacklistReasonStatusRequestDto
369
370
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
370
371
  * @param {*} [options] Override http request option.
371
372
  * @throws {RequiredError}
372
373
  */
373
- updateBlacklistReasonStatus: function (code, authorization, options) {
374
+ updateBlacklistReasonStatus: function (code, updateBlacklistReasonStatusRequestDto, authorization, options) {
374
375
  if (options === void 0) { options = {}; }
375
376
  return __awaiter(_this, void 0, void 0, function () {
376
377
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -379,6 +380,8 @@ var BlacklistReasonsApiAxiosParamCreator = function (configuration) {
379
380
  case 0:
380
381
  // verify required parameter 'code' is not null or undefined
381
382
  (0, common_1.assertParamExists)('updateBlacklistReasonStatus', 'code', code);
383
+ // verify required parameter 'updateBlacklistReasonStatusRequestDto' is not null or undefined
384
+ (0, common_1.assertParamExists)('updateBlacklistReasonStatus', 'updateBlacklistReasonStatusRequestDto', updateBlacklistReasonStatusRequestDto);
382
385
  localVarPath = "/partnerservice/v1/blacklist-reasons/{code}/status"
383
386
  .replace("{".concat("code", "}"), encodeURIComponent(String(code)));
384
387
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -399,9 +402,11 @@ var BlacklistReasonsApiAxiosParamCreator = function (configuration) {
399
402
  if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
400
403
  localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
401
404
  }
405
+ localVarHeaderParameter['Content-Type'] = 'application/json';
402
406
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
403
407
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
404
408
  localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
409
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(updateBlacklistReasonStatusRequestDto, localVarRequestOptions, configuration);
405
410
  return [2 /*return*/, {
406
411
  url: (0, common_1.toPathString)(localVarUrlObj),
407
412
  options: localVarRequestOptions,
@@ -536,16 +541,17 @@ var BlacklistReasonsApiFp = function (configuration) {
536
541
  * 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\"
537
542
  * @summary Update blacklist reason status
538
543
  * @param {string} code Unique identifier for the object.
544
+ * @param {UpdateBlacklistReasonStatusRequestDto} updateBlacklistReasonStatusRequestDto
539
545
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
540
546
  * @param {*} [options] Override http request option.
541
547
  * @throws {RequiredError}
542
548
  */
543
- updateBlacklistReasonStatus: function (code, authorization, options) {
549
+ updateBlacklistReasonStatus: function (code, updateBlacklistReasonStatusRequestDto, authorization, options) {
544
550
  return __awaiter(this, void 0, void 0, function () {
545
551
  var localVarAxiosArgs;
546
552
  return __generator(this, function (_a) {
547
553
  switch (_a.label) {
548
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.updateBlacklistReasonStatus(code, authorization, options)];
554
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.updateBlacklistReasonStatus(code, updateBlacklistReasonStatusRequestDto, authorization, options)];
549
555
  case 1:
550
556
  localVarAxiosArgs = _a.sent();
551
557
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -629,12 +635,13 @@ var BlacklistReasonsApiFactory = function (configuration, basePath, axios) {
629
635
  * 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\"
630
636
  * @summary Update blacklist reason status
631
637
  * @param {string} code Unique identifier for the object.
638
+ * @param {UpdateBlacklistReasonStatusRequestDto} updateBlacklistReasonStatusRequestDto
632
639
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
633
640
  * @param {*} [options] Override http request option.
634
641
  * @throws {RequiredError}
635
642
  */
636
- updateBlacklistReasonStatus: function (code, authorization, options) {
637
- return localVarFp.updateBlacklistReasonStatus(code, authorization, options).then(function (request) { return request(axios, basePath); });
643
+ updateBlacklistReasonStatus: function (code, updateBlacklistReasonStatusRequestDto, authorization, options) {
644
+ return localVarFp.updateBlacklistReasonStatus(code, updateBlacklistReasonStatusRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
638
645
  },
639
646
  };
640
647
  };
@@ -721,7 +728,7 @@ var BlacklistReasonsApi = /** @class */ (function (_super) {
721
728
  */
722
729
  BlacklistReasonsApi.prototype.updateBlacklistReasonStatus = function (requestParameters, options) {
723
730
  var _this = this;
724
- return (0, exports.BlacklistReasonsApiFp)(this.configuration).updateBlacklistReasonStatus(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
731
+ return (0, exports.BlacklistReasonsApiFp)(this.configuration).updateBlacklistReasonStatus(requestParameters.code, requestParameters.updateBlacklistReasonStatusRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
725
732
  };
726
733
  return BlacklistReasonsApi;
727
734
  }(base_1.BaseAPI));
@@ -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);
@@ -16,16 +16,28 @@ import { PartnerRelationClass } from './partner-relation-class';
16
16
  * @interface ListPartnerRelationClass
17
17
  */
18
18
  export interface ListPartnerRelationClass {
19
- /**
20
- * The list of partner relationss.
21
- * @type {Array<PartnerRelationClass>}
22
- * @memberof ListPartnerRelationClass
23
- */
24
- 'items': Array<PartnerRelationClass>;
25
19
  /**
26
20
  * Next page token.
27
21
  * @type {string}
28
22
  * @memberof ListPartnerRelationClass
29
23
  */
30
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
+ /**
38
+ * The list of partner relationss.
39
+ * @type {Array<PartnerRelationClass>}
40
+ * @memberof ListPartnerRelationClass
41
+ */
42
+ 'items': Array<PartnerRelationClass>;
31
43
  }
@@ -16,16 +16,28 @@ import { PartnerRelationTypeClass } from './partner-relation-type-class';
16
16
  * @interface ListPartnerRelationTypesClass
17
17
  */
18
18
  export interface ListPartnerRelationTypesClass {
19
- /**
20
- * The list of partner relation typess.
21
- * @type {Array<PartnerRelationTypeClass>}
22
- * @memberof ListPartnerRelationTypesClass
23
- */
24
- 'items': Array<PartnerRelationTypeClass>;
25
19
  /**
26
20
  * Next page token.
27
21
  * @type {string}
28
22
  * @memberof ListPartnerRelationTypesClass
29
23
  */
30
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
+ /**
38
+ * The list of partner relation typess.
39
+ * @type {Array<PartnerRelationTypeClass>}
40
+ * @memberof ListPartnerRelationTypesClass
41
+ */
42
+ 'items': Array<PartnerRelationTypeClass>;
31
43
  }
@@ -16,16 +16,28 @@ import { PartnerTypeClass } from './partner-type-class';
16
16
  * @interface ListPartnerTypesResponseClass
17
17
  */
18
18
  export interface ListPartnerTypesResponseClass {
19
- /**
20
- * The list of partner typess.
21
- * @type {Array<PartnerTypeClass>}
22
- * @memberof ListPartnerTypesResponseClass
23
- */
24
- 'items': Array<PartnerTypeClass>;
25
19
  /**
26
20
  * Next page token.
27
21
  * @type {string}
28
22
  * @memberof ListPartnerTypesResponseClass
29
23
  */
30
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
+ /**
38
+ * The list of partner typess.
39
+ * @type {Array<PartnerTypeClass>}
40
+ * @memberof ListPartnerTypesResponseClass
41
+ */
42
+ 'items': Array<PartnerTypeClass>;
31
43
  }
@@ -16,16 +16,28 @@ import { PartnerClass } from './partner-class';
16
16
  * @interface ListPartnerVersionsResponseClass
17
17
  */
18
18
  export interface ListPartnerVersionsResponseClass {
19
- /**
20
- * The list of partnerss.
21
- * @type {Array<PartnerClass>}
22
- * @memberof ListPartnerVersionsResponseClass
23
- */
24
- 'items': Array<PartnerClass>;
25
19
  /**
26
20
  * Next page token.
27
21
  * @type {string}
28
22
  * @memberof ListPartnerVersionsResponseClass
29
23
  */
30
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
+ /**
38
+ * The list of partnerss.
39
+ * @type {Array<PartnerClass>}
40
+ * @memberof ListPartnerVersionsResponseClass
41
+ */
42
+ 'items': Array<PartnerClass>;
31
43
  }
@@ -16,16 +16,28 @@ import { PartnerClass } from './partner-class';
16
16
  * @interface ListPartnersResponseClass
17
17
  */
18
18
  export interface ListPartnersResponseClass {
19
- /**
20
- * The list of partnerss.
21
- * @type {Array<PartnerClass>}
22
- * @memberof ListPartnersResponseClass
23
- */
24
- 'items': Array<PartnerClass>;
25
19
  /**
26
20
  * Next page token.
27
21
  * @type {string}
28
22
  * @memberof ListPartnersResponseClass
29
23
  */
30
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
+ /**
38
+ * The list of partnerss.
39
+ * @type {Array<PartnerClass>}
40
+ * @memberof ListPartnersResponseClass
41
+ */
42
+ 'items': Array<PartnerClass>;
31
43
  }
@@ -16,16 +16,28 @@ import { GroupedRelatedPartnersClass } from './grouped-related-partners-class';
16
16
  * @interface ListRelatedPartnersResponseClass
17
17
  */
18
18
  export interface ListRelatedPartnersResponseClass {
19
- /**
20
- * The list of grouped relations for partner
21
- * @type {Array<GroupedRelatedPartnersClass>}
22
- * @memberof ListRelatedPartnersResponseClass
23
- */
24
- 'items': Array<GroupedRelatedPartnersClass>;
25
19
  /**
26
20
  * Next page token.
27
21
  * @type {string}
28
22
  * @memberof ListRelatedPartnersResponseClass
29
23
  */
30
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
+ /**
38
+ * The list of grouped relations for partner
39
+ * @type {Array<GroupedRelatedPartnersClass>}
40
+ * @memberof ListRelatedPartnersResponseClass
41
+ */
42
+ 'items': Array<GroupedRelatedPartnersClass>;
31
43
  }
@@ -16,16 +16,28 @@ import { TagClass } from './tag-class';
16
16
  * @interface ListTagsResponseClass
17
17
  */
18
18
  export interface ListTagsResponseClass {
19
- /**
20
- * The list of partner tagss.
21
- * @type {Array<TagClass>}
22
- * @memberof ListTagsResponseClass
23
- */
24
- 'items': Array<TagClass>;
25
19
  /**
26
20
  * Next page token.
27
21
  * @type {string}
28
22
  * @memberof ListTagsResponseClass
29
23
  */
30
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
+ /**
38
+ * The list of partner tagss.
39
+ * @type {Array<TagClass>}
40
+ * @memberof ListTagsResponseClass
41
+ */
42
+ 'items': Array<TagClass>;
31
43
  }
@@ -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';
@@ -21,17 +21,29 @@ import { PartnerRelationClass } from './partner-relation-class';
21
21
  * @interface ListPartnerRelationClass
22
22
  */
23
23
  export interface ListPartnerRelationClass {
24
- /**
25
- * The list of partner relationss.
26
- * @type {Array<PartnerRelationClass>}
27
- * @memberof ListPartnerRelationClass
28
- */
29
- 'items': Array<PartnerRelationClass>;
30
24
  /**
31
25
  * Next page token.
32
26
  * @type {string}
33
27
  * @memberof ListPartnerRelationClass
34
28
  */
35
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
+ /**
43
+ * The list of partner relationss.
44
+ * @type {Array<PartnerRelationClass>}
45
+ * @memberof ListPartnerRelationClass
46
+ */
47
+ 'items': Array<PartnerRelationClass>;
36
48
  }
37
49
 
@@ -21,17 +21,29 @@ import { PartnerRelationTypeClass } from './partner-relation-type-class';
21
21
  * @interface ListPartnerRelationTypesClass
22
22
  */
23
23
  export interface ListPartnerRelationTypesClass {
24
- /**
25
- * The list of partner relation typess.
26
- * @type {Array<PartnerRelationTypeClass>}
27
- * @memberof ListPartnerRelationTypesClass
28
- */
29
- 'items': Array<PartnerRelationTypeClass>;
30
24
  /**
31
25
  * Next page token.
32
26
  * @type {string}
33
27
  * @memberof ListPartnerRelationTypesClass
34
28
  */
35
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
+ /**
43
+ * The list of partner relation typess.
44
+ * @type {Array<PartnerRelationTypeClass>}
45
+ * @memberof ListPartnerRelationTypesClass
46
+ */
47
+ 'items': Array<PartnerRelationTypeClass>;
36
48
  }
37
49
 
@@ -21,17 +21,29 @@ import { PartnerTypeClass } from './partner-type-class';
21
21
  * @interface ListPartnerTypesResponseClass
22
22
  */
23
23
  export interface ListPartnerTypesResponseClass {
24
- /**
25
- * The list of partner typess.
26
- * @type {Array<PartnerTypeClass>}
27
- * @memberof ListPartnerTypesResponseClass
28
- */
29
- 'items': Array<PartnerTypeClass>;
30
24
  /**
31
25
  * Next page token.
32
26
  * @type {string}
33
27
  * @memberof ListPartnerTypesResponseClass
34
28
  */
35
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
+ /**
43
+ * The list of partner typess.
44
+ * @type {Array<PartnerTypeClass>}
45
+ * @memberof ListPartnerTypesResponseClass
46
+ */
47
+ 'items': Array<PartnerTypeClass>;
36
48
  }
37
49
 
@@ -21,17 +21,29 @@ import { PartnerClass } from './partner-class';
21
21
  * @interface ListPartnerVersionsResponseClass
22
22
  */
23
23
  export interface ListPartnerVersionsResponseClass {
24
- /**
25
- * The list of partnerss.
26
- * @type {Array<PartnerClass>}
27
- * @memberof ListPartnerVersionsResponseClass
28
- */
29
- 'items': Array<PartnerClass>;
30
24
  /**
31
25
  * Next page token.
32
26
  * @type {string}
33
27
  * @memberof ListPartnerVersionsResponseClass
34
28
  */
35
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
+ /**
43
+ * The list of partnerss.
44
+ * @type {Array<PartnerClass>}
45
+ * @memberof ListPartnerVersionsResponseClass
46
+ */
47
+ 'items': Array<PartnerClass>;
36
48
  }
37
49
 
@@ -21,17 +21,29 @@ import { PartnerClass } from './partner-class';
21
21
  * @interface ListPartnersResponseClass
22
22
  */
23
23
  export interface ListPartnersResponseClass {
24
- /**
25
- * The list of partnerss.
26
- * @type {Array<PartnerClass>}
27
- * @memberof ListPartnersResponseClass
28
- */
29
- 'items': Array<PartnerClass>;
30
24
  /**
31
25
  * Next page token.
32
26
  * @type {string}
33
27
  * @memberof ListPartnersResponseClass
34
28
  */
35
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
+ /**
43
+ * The list of partnerss.
44
+ * @type {Array<PartnerClass>}
45
+ * @memberof ListPartnersResponseClass
46
+ */
47
+ 'items': Array<PartnerClass>;
36
48
  }
37
49
 
@@ -21,17 +21,29 @@ import { GroupedRelatedPartnersClass } from './grouped-related-partners-class';
21
21
  * @interface ListRelatedPartnersResponseClass
22
22
  */
23
23
  export interface ListRelatedPartnersResponseClass {
24
- /**
25
- * The list of grouped relations for partner
26
- * @type {Array<GroupedRelatedPartnersClass>}
27
- * @memberof ListRelatedPartnersResponseClass
28
- */
29
- 'items': Array<GroupedRelatedPartnersClass>;
30
24
  /**
31
25
  * Next page token.
32
26
  * @type {string}
33
27
  * @memberof ListRelatedPartnersResponseClass
34
28
  */
35
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
+ /**
43
+ * The list of grouped relations for partner
44
+ * @type {Array<GroupedRelatedPartnersClass>}
45
+ * @memberof ListRelatedPartnersResponseClass
46
+ */
47
+ 'items': Array<GroupedRelatedPartnersClass>;
36
48
  }
37
49
 
@@ -21,17 +21,29 @@ import { TagClass } from './tag-class';
21
21
  * @interface ListTagsResponseClass
22
22
  */
23
23
  export interface ListTagsResponseClass {
24
- /**
25
- * The list of partner tagss.
26
- * @type {Array<TagClass>}
27
- * @memberof ListTagsResponseClass
28
- */
29
- 'items': Array<TagClass>;
30
24
  /**
31
25
  * Next page token.
32
26
  * @type {string}
33
27
  * @memberof ListTagsResponseClass
34
28
  */
35
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
+ /**
43
+ * The list of partner tagss.
44
+ * @type {Array<TagClass>}
45
+ * @memberof ListTagsResponseClass
46
+ */
47
+ 'items': Array<TagClass>;
36
48
  }
37
49
 
@@ -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",
3
- "version": "1.22.1-beta.7",
3
+ "version": "1.22.1-beta.9",
4
4
  "description": "OpenAPI client for @emilgroup/partner-sdk",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [