@emilgroup/partner-sdk 1.22.1-beta.1 → 1.22.1-beta.11
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.
- package/.openapi-generator/FILES +9 -1
- package/README.md +2 -2
- package/api/blacklist-api.ts +662 -0
- package/api/blacklist-reasons-api.ts +23 -6
- package/api/{default-api.ts → health-api.ts} +13 -13
- package/api.ts +4 -2
- package/base.ts +1 -0
- package/dist/api/blacklist-api.d.ts +375 -0
- package/dist/api/blacklist-api.js +629 -0
- package/dist/api/blacklist-reasons-api.d.ts +13 -3
- package/dist/api/blacklist-reasons-api.js +13 -6
- package/dist/api/{default-api.d.ts → health-api.d.ts} +10 -10
- package/dist/api/{default-api.js → health-api.js} +22 -22
- package/dist/api.d.ts +2 -1
- package/dist/api.js +2 -1
- package/dist/base.d.ts +2 -1
- package/dist/base.js +1 -0
- package/dist/models/blacklist-item-class.d.ts +78 -0
- package/dist/models/blacklist-item-class.js +15 -0
- package/dist/models/create-blacklist-item-request-dto.d.ts +36 -0
- package/dist/models/create-blacklist-item-request-dto.js +15 -0
- package/dist/models/create-blacklist-item-response-class.d.ts +25 -0
- package/dist/models/create-blacklist-item-response-class.js +15 -0
- package/dist/models/get-blacklist-item-response-class.d.ts +25 -0
- package/dist/models/get-blacklist-item-response-class.js +15 -0
- package/dist/models/index.d.ts +7 -0
- package/dist/models/index.js +7 -0
- package/dist/models/is-blacklisted-response-class.d.ts +54 -0
- package/dist/models/is-blacklisted-response-class.js +15 -0
- package/dist/models/list-blacklist-items-response-class.d.ts +43 -0
- package/dist/models/list-blacklist-items-response-class.js +15 -0
- package/dist/models/list-partner-relation-class.d.ts +18 -6
- package/dist/models/list-partner-relation-types-class.d.ts +18 -6
- package/dist/models/list-partner-types-response-class.d.ts +18 -6
- package/dist/models/list-partner-versions-response-class.d.ts +18 -6
- package/dist/models/list-partners-response-class.d.ts +18 -6
- package/dist/models/list-related-partners-response-class.d.ts +18 -6
- package/dist/models/list-tags-response-class.d.ts +18 -6
- package/dist/models/update-blacklist-reason-status-request-dto.d.ts +24 -0
- package/dist/models/update-blacklist-reason-status-request-dto.js +15 -0
- package/models/blacklist-item-class.ts +84 -0
- package/models/create-blacklist-item-request-dto.ts +42 -0
- package/models/create-blacklist-item-response-class.ts +31 -0
- package/models/get-blacklist-item-response-class.ts +31 -0
- package/models/index.ts +7 -0
- package/models/is-blacklisted-response-class.ts +60 -0
- package/models/list-blacklist-items-response-class.ts +49 -0
- package/models/list-partner-relation-class.ts +18 -6
- package/models/list-partner-relation-types-class.ts +18 -6
- package/models/list-partner-types-response-class.ts +18 -6
- package/models/list-partner-versions-response-class.ts +18 -6
- package/models/list-partners-response-class.ts +18 -6
- package/models/list-related-partners-response-class.ts +18 -6
- package/models/list-tags-response-class.ts +18 -6
- package/models/update-blacklist-reason-status-request-dto.ts +30 -0
- package/package.json +1 -1
|
@@ -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));
|
|
@@ -14,10 +14,10 @@ import { Configuration } from '../configuration';
|
|
|
14
14
|
import { RequestArgs, BaseAPI } from '../base';
|
|
15
15
|
import { InlineResponse200 } from '../models';
|
|
16
16
|
/**
|
|
17
|
-
*
|
|
17
|
+
* HealthApi - axios parameter creator
|
|
18
18
|
* @export
|
|
19
19
|
*/
|
|
20
|
-
export declare const
|
|
20
|
+
export declare const HealthApiAxiosParamCreator: (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 DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
27
27
|
check: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
*
|
|
30
|
+
* HealthApi - functional programming interface
|
|
31
31
|
* @export
|
|
32
32
|
*/
|
|
33
|
-
export declare const
|
|
33
|
+
export declare const HealthApiFp: (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 DefaultApiFp: (configuration?: Configuration) => {
|
|
|
40
40
|
check(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InlineResponse200>>;
|
|
41
41
|
};
|
|
42
42
|
/**
|
|
43
|
-
*
|
|
43
|
+
* HealthApi - factory interface
|
|
44
44
|
* @export
|
|
45
45
|
*/
|
|
46
|
-
export declare const
|
|
46
|
+
export declare const HealthApiFactory: (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 DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
53
53
|
check(options?: any): AxiosPromise<InlineResponse200>;
|
|
54
54
|
};
|
|
55
55
|
/**
|
|
56
|
-
*
|
|
56
|
+
* HealthApi - object-oriented interface
|
|
57
57
|
* @export
|
|
58
|
-
* @class
|
|
58
|
+
* @class HealthApi
|
|
59
59
|
* @extends {BaseAPI}
|
|
60
60
|
*/
|
|
61
|
-
export declare class
|
|
61
|
+
export declare class HealthApi 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
|
|
67
|
+
* @memberof HealthApi
|
|
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.
|
|
81
|
+
exports.HealthApi = exports.HealthApiFactory = exports.HealthApiFp = exports.HealthApiAxiosParamCreator = void 0;
|
|
82
82
|
var axios_1 = __importDefault(require("axios"));
|
|
83
83
|
// Some imports not used depending on template conditions
|
|
84
84
|
// @ts-ignore
|
|
@@ -86,10 +86,10 @@ var common_1 = require("../common");
|
|
|
86
86
|
// @ts-ignore
|
|
87
87
|
var base_1 = require("../base");
|
|
88
88
|
/**
|
|
89
|
-
*
|
|
89
|
+
* HealthApi - axios parameter creator
|
|
90
90
|
* @export
|
|
91
91
|
*/
|
|
92
|
-
var
|
|
92
|
+
var HealthApiAxiosParamCreator = function (configuration) {
|
|
93
93
|
var _this = this;
|
|
94
94
|
return {
|
|
95
95
|
/**
|
|
@@ -124,13 +124,13 @@ var DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
124
124
|
},
|
|
125
125
|
};
|
|
126
126
|
};
|
|
127
|
-
exports.
|
|
127
|
+
exports.HealthApiAxiosParamCreator = HealthApiAxiosParamCreator;
|
|
128
128
|
/**
|
|
129
|
-
*
|
|
129
|
+
* HealthApi - functional programming interface
|
|
130
130
|
* @export
|
|
131
131
|
*/
|
|
132
|
-
var
|
|
133
|
-
var localVarAxiosParamCreator = (0, exports.
|
|
132
|
+
var HealthApiFp = function (configuration) {
|
|
133
|
+
var localVarAxiosParamCreator = (0, exports.HealthApiAxiosParamCreator)(configuration);
|
|
134
134
|
return {
|
|
135
135
|
/**
|
|
136
136
|
* 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.
|
|
@@ -153,13 +153,13 @@ var DefaultApiFp = function (configuration) {
|
|
|
153
153
|
},
|
|
154
154
|
};
|
|
155
155
|
};
|
|
156
|
-
exports.
|
|
156
|
+
exports.HealthApiFp = HealthApiFp;
|
|
157
157
|
/**
|
|
158
|
-
*
|
|
158
|
+
* HealthApi - factory interface
|
|
159
159
|
* @export
|
|
160
160
|
*/
|
|
161
|
-
var
|
|
162
|
-
var localVarFp = (0, exports.
|
|
161
|
+
var HealthApiFactory = function (configuration, basePath, axios) {
|
|
162
|
+
var localVarFp = (0, exports.HealthApiFp)(configuration);
|
|
163
163
|
return {
|
|
164
164
|
/**
|
|
165
165
|
* 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.
|
|
@@ -172,16 +172,16 @@ var DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
172
172
|
},
|
|
173
173
|
};
|
|
174
174
|
};
|
|
175
|
-
exports.
|
|
175
|
+
exports.HealthApiFactory = HealthApiFactory;
|
|
176
176
|
/**
|
|
177
|
-
*
|
|
177
|
+
* HealthApi - object-oriented interface
|
|
178
178
|
* @export
|
|
179
|
-
* @class
|
|
179
|
+
* @class HealthApi
|
|
180
180
|
* @extends {BaseAPI}
|
|
181
181
|
*/
|
|
182
|
-
var
|
|
183
|
-
__extends(
|
|
184
|
-
function
|
|
182
|
+
var HealthApi = /** @class */ (function (_super) {
|
|
183
|
+
__extends(HealthApi, _super);
|
|
184
|
+
function HealthApi() {
|
|
185
185
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
186
186
|
}
|
|
187
187
|
/**
|
|
@@ -189,12 +189,12 @@ var DefaultApi = /** @class */ (function (_super) {
|
|
|
189
189
|
* @summary Health Check
|
|
190
190
|
* @param {*} [options] Override http request option.
|
|
191
191
|
* @throws {RequiredError}
|
|
192
|
-
* @memberof
|
|
192
|
+
* @memberof HealthApi
|
|
193
193
|
*/
|
|
194
|
-
|
|
194
|
+
HealthApi.prototype.check = function (options) {
|
|
195
195
|
var _this = this;
|
|
196
|
-
return (0, exports.
|
|
196
|
+
return (0, exports.HealthApiFp)(this.configuration).check(options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
197
197
|
};
|
|
198
|
-
return
|
|
198
|
+
return HealthApi;
|
|
199
199
|
}(base_1.BaseAPI));
|
|
200
|
-
exports.
|
|
200
|
+
exports.HealthApi = HealthApi;
|
package/dist/api.d.ts
CHANGED
|
@@ -9,8 +9,9 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
export * from './api/blacklist-api';
|
|
12
13
|
export * from './api/blacklist-reasons-api';
|
|
13
|
-
export * from './api/
|
|
14
|
+
export * from './api/health-api';
|
|
14
15
|
export * from './api/partner-invitations-api';
|
|
15
16
|
export * from './api/partner-relations-api';
|
|
16
17
|
export * from './api/partner-tags-api';
|
package/dist/api.js
CHANGED
|
@@ -27,8 +27,9 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
27
27
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
28
28
|
};
|
|
29
29
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
30
|
+
__exportStar(require("./api/blacklist-api"), exports);
|
|
30
31
|
__exportStar(require("./api/blacklist-reasons-api"), exports);
|
|
31
|
-
__exportStar(require("./api/
|
|
32
|
+
__exportStar(require("./api/health-api"), exports);
|
|
32
33
|
__exportStar(require("./api/partner-invitations-api"), exports);
|
|
33
34
|
__exportStar(require("./api/partner-relations-api"), exports);
|
|
34
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
|
@@ -102,6 +102,7 @@ var Environment;
|
|
|
102
102
|
Environment["Staging"] = "https://apiv2-staging.emil.de";
|
|
103
103
|
Environment["Development"] = "https://apiv2-dev.emil.de";
|
|
104
104
|
Environment["ProductionZurich"] = "https://eu-central-2.apiv2.emil.de";
|
|
105
|
+
Environment["StagingZurich"] = "https://eu-central-2.apiv2-staging.emil.de";
|
|
105
106
|
})(Environment = exports.Environment || (exports.Environment = {}));
|
|
106
107
|
var _retry_count = 0;
|
|
107
108
|
var _retry = null;
|
|
@@ -0,0 +1,78 @@
|
|
|
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 BlacklistItemClass
|
|
16
|
+
*/
|
|
17
|
+
export interface BlacklistItemClass {
|
|
18
|
+
/**
|
|
19
|
+
* The id of the blacklist item
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof BlacklistItemClass
|
|
22
|
+
*/
|
|
23
|
+
'id': number;
|
|
24
|
+
/**
|
|
25
|
+
* Unique identifier for the object.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof BlacklistItemClass
|
|
28
|
+
*/
|
|
29
|
+
'code': string;
|
|
30
|
+
/**
|
|
31
|
+
* The code of the blacklisted partner
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof BlacklistItemClass
|
|
34
|
+
*/
|
|
35
|
+
'partnerCode': string;
|
|
36
|
+
/**
|
|
37
|
+
* The reason code for blacklisting
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof BlacklistItemClass
|
|
40
|
+
*/
|
|
41
|
+
'reasonCode': string;
|
|
42
|
+
/**
|
|
43
|
+
* Snapshot of the reason label at the time of blacklisting
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof BlacklistItemClass
|
|
46
|
+
*/
|
|
47
|
+
'reasonValue': string;
|
|
48
|
+
/**
|
|
49
|
+
* The date from which the blacklist becomes active
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof BlacklistItemClass
|
|
52
|
+
*/
|
|
53
|
+
'blockedFrom'?: string;
|
|
54
|
+
/**
|
|
55
|
+
* Time at which the object was created.
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof BlacklistItemClass
|
|
58
|
+
*/
|
|
59
|
+
'createdAt': string;
|
|
60
|
+
/**
|
|
61
|
+
* Time at which the object was updated.
|
|
62
|
+
* @type {string}
|
|
63
|
+
* @memberof BlacklistItemClass
|
|
64
|
+
*/
|
|
65
|
+
'updatedAt': string;
|
|
66
|
+
/**
|
|
67
|
+
* Identifier of the user who created the record.
|
|
68
|
+
* @type {string}
|
|
69
|
+
* @memberof BlacklistItemClass
|
|
70
|
+
*/
|
|
71
|
+
'createdBy': string;
|
|
72
|
+
/**
|
|
73
|
+
* Identifier of the user who last updated the record.
|
|
74
|
+
* @type {string}
|
|
75
|
+
* @memberof BlacklistItemClass
|
|
76
|
+
*/
|
|
77
|
+
'updatedBy': string;
|
|
78
|
+
}
|
|
@@ -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 });
|
|
@@ -0,0 +1,36 @@
|
|
|
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 CreateBlacklistItemRequestDto
|
|
16
|
+
*/
|
|
17
|
+
export interface CreateBlacklistItemRequestDto {
|
|
18
|
+
/**
|
|
19
|
+
* The code of the partner to blacklist
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof CreateBlacklistItemRequestDto
|
|
22
|
+
*/
|
|
23
|
+
'partnerCode': string;
|
|
24
|
+
/**
|
|
25
|
+
* The reason code for blacklisting
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof CreateBlacklistItemRequestDto
|
|
28
|
+
*/
|
|
29
|
+
'reasonCode': string;
|
|
30
|
+
/**
|
|
31
|
+
* Date from which the blacklist becomes active (must be today or a future date)
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof CreateBlacklistItemRequestDto
|
|
34
|
+
*/
|
|
35
|
+
'blockedFrom': string;
|
|
36
|
+
}
|
|
@@ -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 });
|
|
@@ -0,0 +1,25 @@
|
|
|
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
|
+
import { BlacklistItemClass } from './blacklist-item-class';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface CreateBlacklistItemResponseClass
|
|
17
|
+
*/
|
|
18
|
+
export interface CreateBlacklistItemResponseClass {
|
|
19
|
+
/**
|
|
20
|
+
* The blacklist item response.
|
|
21
|
+
* @type {BlacklistItemClass}
|
|
22
|
+
* @memberof CreateBlacklistItemResponseClass
|
|
23
|
+
*/
|
|
24
|
+
'blacklistItem': BlacklistItemClass;
|
|
25
|
+
}
|
|
@@ -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 });
|
|
@@ -0,0 +1,25 @@
|
|
|
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
|
+
import { BlacklistItemClass } from './blacklist-item-class';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface GetBlacklistItemResponseClass
|
|
17
|
+
*/
|
|
18
|
+
export interface GetBlacklistItemResponseClass {
|
|
19
|
+
/**
|
|
20
|
+
* The blacklist item response.
|
|
21
|
+
* @type {BlacklistItemClass}
|
|
22
|
+
* @memberof GetBlacklistItemResponseClass
|
|
23
|
+
*/
|
|
24
|
+
'blacklistItem': BlacklistItemClass;
|
|
25
|
+
}
|
|
@@ -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/dist/models/index.d.ts
CHANGED
|
@@ -1,4 +1,7 @@
|
|
|
1
|
+
export * from './blacklist-item-class';
|
|
1
2
|
export * from './blacklist-reason-class';
|
|
3
|
+
export * from './create-blacklist-item-request-dto';
|
|
4
|
+
export * from './create-blacklist-item-response-class';
|
|
2
5
|
export * from './create-blacklist-reason-request-dto';
|
|
3
6
|
export * from './create-blacklist-reason-response-class';
|
|
4
7
|
export * from './create-or-update-partner-from-account-request-dto';
|
|
@@ -12,6 +15,7 @@ export * from './create-partner-type-response-class';
|
|
|
12
15
|
export * from './create-tag-request-dto';
|
|
13
16
|
export * from './create-tag-response-class';
|
|
14
17
|
export * from './delete-response-class';
|
|
18
|
+
export * from './get-blacklist-item-response-class';
|
|
15
19
|
export * from './get-blacklist-reason-response-class';
|
|
16
20
|
export * from './get-partner-relation-class';
|
|
17
21
|
export * from './get-partner-relation-type-class';
|
|
@@ -25,6 +29,8 @@ export * from './inline-response503';
|
|
|
25
29
|
export * from './invite-class';
|
|
26
30
|
export * from './invite-partner-to-eisrequest-dto';
|
|
27
31
|
export * from './invite-partner-to-eis-response-class';
|
|
32
|
+
export * from './is-blacklisted-response-class';
|
|
33
|
+
export * from './list-blacklist-items-response-class';
|
|
28
34
|
export * from './list-blacklist-reasons-response-class';
|
|
29
35
|
export * from './list-partner-relation-class';
|
|
30
36
|
export * from './list-partner-relation-types-class';
|
|
@@ -49,6 +55,7 @@ export * from './tag-class';
|
|
|
49
55
|
export * from './tag-partner-request-dto-rest';
|
|
50
56
|
export * from './update-blacklist-reason-request-dto';
|
|
51
57
|
export * from './update-blacklist-reason-response-class';
|
|
58
|
+
export * from './update-blacklist-reason-status-request-dto';
|
|
52
59
|
export * from './update-partner-relation-request-dto-rest';
|
|
53
60
|
export * from './update-partner-request-dto';
|
|
54
61
|
export * from './update-partner-response-class';
|
package/dist/models/index.js
CHANGED
|
@@ -14,7 +14,10 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./blacklist-item-class"), exports);
|
|
17
18
|
__exportStar(require("./blacklist-reason-class"), exports);
|
|
19
|
+
__exportStar(require("./create-blacklist-item-request-dto"), exports);
|
|
20
|
+
__exportStar(require("./create-blacklist-item-response-class"), exports);
|
|
18
21
|
__exportStar(require("./create-blacklist-reason-request-dto"), exports);
|
|
19
22
|
__exportStar(require("./create-blacklist-reason-response-class"), exports);
|
|
20
23
|
__exportStar(require("./create-or-update-partner-from-account-request-dto"), exports);
|
|
@@ -28,6 +31,7 @@ __exportStar(require("./create-partner-type-response-class"), exports);
|
|
|
28
31
|
__exportStar(require("./create-tag-request-dto"), exports);
|
|
29
32
|
__exportStar(require("./create-tag-response-class"), exports);
|
|
30
33
|
__exportStar(require("./delete-response-class"), exports);
|
|
34
|
+
__exportStar(require("./get-blacklist-item-response-class"), exports);
|
|
31
35
|
__exportStar(require("./get-blacklist-reason-response-class"), exports);
|
|
32
36
|
__exportStar(require("./get-partner-relation-class"), exports);
|
|
33
37
|
__exportStar(require("./get-partner-relation-type-class"), exports);
|
|
@@ -41,6 +45,8 @@ __exportStar(require("./inline-response503"), exports);
|
|
|
41
45
|
__exportStar(require("./invite-class"), exports);
|
|
42
46
|
__exportStar(require("./invite-partner-to-eisrequest-dto"), exports);
|
|
43
47
|
__exportStar(require("./invite-partner-to-eis-response-class"), exports);
|
|
48
|
+
__exportStar(require("./is-blacklisted-response-class"), exports);
|
|
49
|
+
__exportStar(require("./list-blacklist-items-response-class"), exports);
|
|
44
50
|
__exportStar(require("./list-blacklist-reasons-response-class"), exports);
|
|
45
51
|
__exportStar(require("./list-partner-relation-class"), exports);
|
|
46
52
|
__exportStar(require("./list-partner-relation-types-class"), exports);
|
|
@@ -65,6 +71,7 @@ __exportStar(require("./tag-class"), exports);
|
|
|
65
71
|
__exportStar(require("./tag-partner-request-dto-rest"), exports);
|
|
66
72
|
__exportStar(require("./update-blacklist-reason-request-dto"), exports);
|
|
67
73
|
__exportStar(require("./update-blacklist-reason-response-class"), exports);
|
|
74
|
+
__exportStar(require("./update-blacklist-reason-status-request-dto"), exports);
|
|
68
75
|
__exportStar(require("./update-partner-relation-request-dto-rest"), exports);
|
|
69
76
|
__exportStar(require("./update-partner-request-dto"), exports);
|
|
70
77
|
__exportStar(require("./update-partner-response-class"), exports);
|