@emilgroup/partner-sdk 1.22.1-beta.14 → 1.22.1-beta.15
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 +10 -1
- package/README.md +2 -2
- package/api/blacklist-api.ts +3 -3
- package/api/blacklist-reasons-api.ts +3 -3
- package/api/{default-api.ts → health-api.ts} +13 -13
- package/api/partner-hierarchy-types-api.ts +679 -0
- package/api.ts +4 -2
- package/base.ts +1 -0
- package/dist/api/blacklist-api.d.ts +4 -4
- package/dist/api/blacklist-reasons-api.d.ts +4 -4
- 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/partner-hierarchy-types-api.d.ts +385 -0
- package/dist/api/partner-hierarchy-types-api.js +636 -0
- 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/create-partner-hierarchy-type-request-dto.d.ts +30 -0
- package/dist/models/create-partner-hierarchy-type-request-dto.js +15 -0
- package/dist/models/create-partner-hierarchy-type-response-class.d.ts +25 -0
- package/dist/models/create-partner-hierarchy-type-response-class.js +15 -0
- package/dist/models/delete-by-code-response-class.d.ts +24 -0
- package/dist/models/delete-by-code-response-class.js +15 -0
- package/dist/models/get-partner-hierarchy-type-response-class.d.ts +25 -0
- package/dist/models/get-partner-hierarchy-type-response-class.js +15 -0
- package/dist/models/index.d.ts +8 -0
- package/dist/models/index.js +8 -0
- package/dist/models/list-blacklist-items-response-class.d.ts +12 -0
- package/dist/models/list-partner-hierarchy-types-response-class.d.ts +43 -0
- package/dist/models/list-partner-hierarchy-types-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/partner-hierarchy-type-class.d.ts +66 -0
- package/dist/models/partner-hierarchy-type-class.js +15 -0
- package/dist/models/update-blacklist-reason-status-request-dto.d.ts +1 -1
- package/dist/models/update-partner-hierarchy-type-request-dto.d.ts +30 -0
- package/dist/models/update-partner-hierarchy-type-request-dto.js +15 -0
- package/dist/models/update-partner-hierarchy-type-response-class.d.ts +25 -0
- package/dist/models/update-partner-hierarchy-type-response-class.js +15 -0
- package/models/create-partner-hierarchy-type-request-dto.ts +36 -0
- package/models/create-partner-hierarchy-type-response-class.ts +31 -0
- package/models/delete-by-code-response-class.ts +30 -0
- package/models/get-partner-hierarchy-type-response-class.ts +31 -0
- package/models/index.ts +8 -0
- package/models/list-blacklist-items-response-class.ts +12 -0
- package/models/list-partner-hierarchy-types-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/partner-hierarchy-type-class.ts +72 -0
- package/models/update-blacklist-reason-status-request-dto.ts +1 -1
- package/models/update-partner-hierarchy-type-request-dto.ts +36 -0
- package/models/update-partner-hierarchy-type-response-class.ts +31 -0
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -22,7 +22,8 @@ import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObj
|
|
|
22
22
|
import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from './base';
|
|
23
23
|
import { BlacklistApi } from './api';
|
|
24
24
|
import { BlacklistReasonsApi } from './api';
|
|
25
|
-
import {
|
|
25
|
+
import { HealthApi } from './api';
|
|
26
|
+
import { PartnerHierarchyTypesApi } from './api';
|
|
26
27
|
import { PartnerInvitationsApi } from './api';
|
|
27
28
|
import { PartnerRelationsApi } from './api';
|
|
28
29
|
import { PartnerTagsApi } from './api';
|
|
@@ -33,7 +34,8 @@ import { PartnersApi } from './api';
|
|
|
33
34
|
|
|
34
35
|
export * from './api/blacklist-api';
|
|
35
36
|
export * from './api/blacklist-reasons-api';
|
|
36
|
-
export * from './api/
|
|
37
|
+
export * from './api/health-api';
|
|
38
|
+
export * from './api/partner-hierarchy-types-api';
|
|
37
39
|
export * from './api/partner-invitations-api';
|
|
38
40
|
export * from './api/partner-relations-api';
|
|
39
41
|
export * from './api/partner-tags-api';
|
package/base.ts
CHANGED
|
@@ -53,6 +53,7 @@ export enum Environment {
|
|
|
53
53
|
Staging = 'https://apiv2-staging.emil.de',
|
|
54
54
|
Development = 'https://apiv2-dev.emil.de',
|
|
55
55
|
ProductionZurich = 'https://eu-central-2.apiv2.emil.de',
|
|
56
|
+
StagingZurich = 'https://eu-central-2.apiv2-staging.emil.de',
|
|
56
57
|
}
|
|
57
58
|
|
|
58
59
|
let _retry_count = 0
|
|
@@ -14,7 +14,7 @@ import { Configuration } from '../configuration';
|
|
|
14
14
|
import { RequestArgs, BaseAPI } from '../base';
|
|
15
15
|
import { CreateBlacklistItemRequestDto } from '../models';
|
|
16
16
|
import { CreateBlacklistItemResponseClass } from '../models';
|
|
17
|
-
import {
|
|
17
|
+
import { DeleteByCodeResponseClass } from '../models';
|
|
18
18
|
import { GetBlacklistItemResponseClass } from '../models';
|
|
19
19
|
import { IsBlacklistedResponseClass } from '../models';
|
|
20
20
|
import { ListBlacklistItemsResponseClass } from '../models';
|
|
@@ -97,7 +97,7 @@ export declare const BlacklistApiFp: (configuration?: Configuration) => {
|
|
|
97
97
|
* @param {*} [options] Override http request option.
|
|
98
98
|
* @throws {RequiredError}
|
|
99
99
|
*/
|
|
100
|
-
deleteBlacklistItem(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
100
|
+
deleteBlacklistItem(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeleteByCodeResponseClass>>;
|
|
101
101
|
/**
|
|
102
102
|
* Retrieves the details of the blacklist item that was previously created. Supply the unique blacklist item code that was returned when you created it and Emil Api will return the corresponding blacklist item information. **Required Permissions** \"partner-management.partners.view\"
|
|
103
103
|
* @summary Retrieve the blacklist item
|
|
@@ -154,7 +154,7 @@ export declare const BlacklistApiFactory: (configuration?: Configuration, basePa
|
|
|
154
154
|
* @param {*} [options] Override http request option.
|
|
155
155
|
* @throws {RequiredError}
|
|
156
156
|
*/
|
|
157
|
-
deleteBlacklistItem(code: string, authorization?: string, options?: any): AxiosPromise<
|
|
157
|
+
deleteBlacklistItem(code: string, authorization?: string, options?: any): AxiosPromise<DeleteByCodeResponseClass>;
|
|
158
158
|
/**
|
|
159
159
|
* Retrieves the details of the blacklist item that was previously created. Supply the unique blacklist item code that was returned when you created it and Emil Api will return the corresponding blacklist item information. **Required Permissions** \"partner-management.partners.view\"
|
|
160
160
|
* @summary Retrieve the blacklist item
|
|
@@ -344,7 +344,7 @@ export declare class BlacklistApi extends BaseAPI {
|
|
|
344
344
|
* @throws {RequiredError}
|
|
345
345
|
* @memberof BlacklistApi
|
|
346
346
|
*/
|
|
347
|
-
deleteBlacklistItem(requestParameters: BlacklistApiDeleteBlacklistItemRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
347
|
+
deleteBlacklistItem(requestParameters: BlacklistApiDeleteBlacklistItemRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DeleteByCodeResponseClass, any, {}>>;
|
|
348
348
|
/**
|
|
349
349
|
* Retrieves the details of the blacklist item that was previously created. Supply the unique blacklist item code that was returned when you created it and Emil Api will return the corresponding blacklist item information. **Required Permissions** \"partner-management.partners.view\"
|
|
350
350
|
* @summary Retrieve the blacklist item
|
|
@@ -14,7 +14,7 @@ import { Configuration } from '../configuration';
|
|
|
14
14
|
import { RequestArgs, BaseAPI } from '../base';
|
|
15
15
|
import { CreateBlacklistReasonRequestDto } from '../models';
|
|
16
16
|
import { CreateBlacklistReasonResponseClass } from '../models';
|
|
17
|
-
import {
|
|
17
|
+
import { DeleteByCodeResponseClass } from '../models';
|
|
18
18
|
import { GetBlacklistReasonResponseClass } from '../models';
|
|
19
19
|
import { ListBlacklistReasonsResponseClass } from '../models';
|
|
20
20
|
import { UpdateBlacklistReasonRequestDto } from '../models';
|
|
@@ -110,7 +110,7 @@ export declare const BlacklistReasonsApiFp: (configuration?: Configuration) => {
|
|
|
110
110
|
* @param {*} [options] Override http request option.
|
|
111
111
|
* @throws {RequiredError}
|
|
112
112
|
*/
|
|
113
|
-
deleteBlacklistReason(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
113
|
+
deleteBlacklistReason(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeleteByCodeResponseClass>>;
|
|
114
114
|
/**
|
|
115
115
|
* Retrieves the details of the blacklist reason that was previously created. Supply the unique blacklist reason code that was returned when you created it and Emil Api will return the corresponding blacklist reason information. **Required Permissions** \"partner-management.partners.view\"
|
|
116
116
|
* @summary Retrieve the blacklist reason
|
|
@@ -178,7 +178,7 @@ export declare const BlacklistReasonsApiFactory: (configuration?: Configuration,
|
|
|
178
178
|
* @param {*} [options] Override http request option.
|
|
179
179
|
* @throws {RequiredError}
|
|
180
180
|
*/
|
|
181
|
-
deleteBlacklistReason(code: string, authorization?: string, options?: any): AxiosPromise<
|
|
181
|
+
deleteBlacklistReason(code: string, authorization?: string, options?: any): AxiosPromise<DeleteByCodeResponseClass>;
|
|
182
182
|
/**
|
|
183
183
|
* Retrieves the details of the blacklist reason that was previously created. Supply the unique blacklist reason code that was returned when you created it and Emil Api will return the corresponding blacklist reason information. **Required Permissions** \"partner-management.partners.view\"
|
|
184
184
|
* @summary Retrieve the blacklist reason
|
|
@@ -410,7 +410,7 @@ export declare class BlacklistReasonsApi extends BaseAPI {
|
|
|
410
410
|
* @throws {RequiredError}
|
|
411
411
|
* @memberof BlacklistReasonsApi
|
|
412
412
|
*/
|
|
413
|
-
deleteBlacklistReason(requestParameters: BlacklistReasonsApiDeleteBlacklistReasonRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
413
|
+
deleteBlacklistReason(requestParameters: BlacklistReasonsApiDeleteBlacklistReasonRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DeleteByCodeResponseClass, any, {}>>;
|
|
414
414
|
/**
|
|
415
415
|
* Retrieves the details of the blacklist reason that was previously created. Supply the unique blacklist reason code that was returned when you created it and Emil Api will return the corresponding blacklist reason information. **Required Permissions** \"partner-management.partners.view\"
|
|
416
416
|
* @summary Retrieve the blacklist reason
|
|
@@ -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;
|