@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/.openapi-generator/FILES
CHANGED
|
@@ -5,7 +5,8 @@ README.md
|
|
|
5
5
|
api.ts
|
|
6
6
|
api/blacklist-api.ts
|
|
7
7
|
api/blacklist-reasons-api.ts
|
|
8
|
-
api/
|
|
8
|
+
api/health-api.ts
|
|
9
|
+
api/partner-hierarchy-types-api.ts
|
|
9
10
|
api/partner-invitations-api.ts
|
|
10
11
|
api/partner-relations-api.ts
|
|
11
12
|
api/partner-tags-api.ts
|
|
@@ -25,6 +26,8 @@ models/create-blacklist-reason-request-dto.ts
|
|
|
25
26
|
models/create-blacklist-reason-response-class.ts
|
|
26
27
|
models/create-or-update-partner-from-account-request-dto.ts
|
|
27
28
|
models/create-or-update-partner-from-account-response-class.ts
|
|
29
|
+
models/create-partner-hierarchy-type-request-dto.ts
|
|
30
|
+
models/create-partner-hierarchy-type-response-class.ts
|
|
28
31
|
models/create-partner-relation-request-dto-rest.ts
|
|
29
32
|
models/create-partner-relation-response-class.ts
|
|
30
33
|
models/create-partner-request-dto.ts
|
|
@@ -33,9 +36,11 @@ models/create-partner-type-request-dto.ts
|
|
|
33
36
|
models/create-partner-type-response-class.ts
|
|
34
37
|
models/create-tag-request-dto.ts
|
|
35
38
|
models/create-tag-response-class.ts
|
|
39
|
+
models/delete-by-code-response-class.ts
|
|
36
40
|
models/delete-response-class.ts
|
|
37
41
|
models/get-blacklist-item-response-class.ts
|
|
38
42
|
models/get-blacklist-reason-response-class.ts
|
|
43
|
+
models/get-partner-hierarchy-type-response-class.ts
|
|
39
44
|
models/get-partner-relation-class.ts
|
|
40
45
|
models/get-partner-relation-type-class.ts
|
|
41
46
|
models/get-partner-response-class.ts
|
|
@@ -52,6 +57,7 @@ models/invite-partner-to-eisrequest-dto.ts
|
|
|
52
57
|
models/is-blacklisted-response-class.ts
|
|
53
58
|
models/list-blacklist-items-response-class.ts
|
|
54
59
|
models/list-blacklist-reasons-response-class.ts
|
|
60
|
+
models/list-partner-hierarchy-types-response-class.ts
|
|
55
61
|
models/list-partner-relation-class.ts
|
|
56
62
|
models/list-partner-relation-types-class.ts
|
|
57
63
|
models/list-partner-types-response-class.ts
|
|
@@ -64,6 +70,7 @@ models/mapped-account-from-partner-class.ts
|
|
|
64
70
|
models/merge-partners-request-dto.ts
|
|
65
71
|
models/merge-partners-response-class.ts
|
|
66
72
|
models/partner-class.ts
|
|
73
|
+
models/partner-hierarchy-type-class.ts
|
|
67
74
|
models/partner-relation-class.ts
|
|
68
75
|
models/partner-relation-type-class.ts
|
|
69
76
|
models/partner-type-class.ts
|
|
@@ -76,6 +83,8 @@ models/tag-partner-request-dto-rest.ts
|
|
|
76
83
|
models/update-blacklist-reason-request-dto.ts
|
|
77
84
|
models/update-blacklist-reason-response-class.ts
|
|
78
85
|
models/update-blacklist-reason-status-request-dto.ts
|
|
86
|
+
models/update-partner-hierarchy-type-request-dto.ts
|
|
87
|
+
models/update-partner-hierarchy-type-response-class.ts
|
|
79
88
|
models/update-partner-relation-request-dto-rest.ts
|
|
80
89
|
models/update-partner-request-dto.ts
|
|
81
90
|
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.
|
|
20
|
+
npm install @emilgroup/partner-sdk@1.22.1-beta.15 --save
|
|
21
21
|
```
|
|
22
22
|
or
|
|
23
23
|
```
|
|
24
|
-
yarn add @emilgroup/partner-sdk@1.22.1-beta.
|
|
24
|
+
yarn add @emilgroup/partner-sdk@1.22.1-beta.15
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
And then you can import `PartnersApi`.
|
package/api/blacklist-api.ts
CHANGED
|
@@ -25,7 +25,7 @@ import { CreateBlacklistItemRequestDto } from '../models';
|
|
|
25
25
|
// @ts-ignore
|
|
26
26
|
import { CreateBlacklistItemResponseClass } from '../models';
|
|
27
27
|
// @ts-ignore
|
|
28
|
-
import {
|
|
28
|
+
import { DeleteByCodeResponseClass } from '../models';
|
|
29
29
|
// @ts-ignore
|
|
30
30
|
import { GetBlacklistItemResponseClass } from '../models';
|
|
31
31
|
// @ts-ignore
|
|
@@ -326,7 +326,7 @@ export const BlacklistApiFp = function(configuration?: Configuration) {
|
|
|
326
326
|
* @param {*} [options] Override http request option.
|
|
327
327
|
* @throws {RequiredError}
|
|
328
328
|
*/
|
|
329
|
-
async deleteBlacklistItem(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
329
|
+
async deleteBlacklistItem(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeleteByCodeResponseClass>> {
|
|
330
330
|
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteBlacklistItem(code, authorization, options);
|
|
331
331
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
332
332
|
},
|
|
@@ -401,7 +401,7 @@ export const BlacklistApiFactory = function (configuration?: Configuration, base
|
|
|
401
401
|
* @param {*} [options] Override http request option.
|
|
402
402
|
* @throws {RequiredError}
|
|
403
403
|
*/
|
|
404
|
-
deleteBlacklistItem(code: string, authorization?: string, options?: any): AxiosPromise<
|
|
404
|
+
deleteBlacklistItem(code: string, authorization?: string, options?: any): AxiosPromise<DeleteByCodeResponseClass> {
|
|
405
405
|
return localVarFp.deleteBlacklistItem(code, authorization, options).then((request) => request(axios, basePath));
|
|
406
406
|
},
|
|
407
407
|
/**
|
|
@@ -25,7 +25,7 @@ import { CreateBlacklistReasonRequestDto } from '../models';
|
|
|
25
25
|
// @ts-ignore
|
|
26
26
|
import { CreateBlacklistReasonResponseClass } from '../models';
|
|
27
27
|
// @ts-ignore
|
|
28
|
-
import {
|
|
28
|
+
import { DeleteByCodeResponseClass } from '../models';
|
|
29
29
|
// @ts-ignore
|
|
30
30
|
import { GetBlacklistReasonResponseClass } from '../models';
|
|
31
31
|
// @ts-ignore
|
|
@@ -387,7 +387,7 @@ export const BlacklistReasonsApiFp = function(configuration?: Configuration) {
|
|
|
387
387
|
* @param {*} [options] Override http request option.
|
|
388
388
|
* @throws {RequiredError}
|
|
389
389
|
*/
|
|
390
|
-
async deleteBlacklistReason(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
390
|
+
async deleteBlacklistReason(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeleteByCodeResponseClass>> {
|
|
391
391
|
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteBlacklistReason(code, authorization, options);
|
|
392
392
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
393
393
|
},
|
|
@@ -476,7 +476,7 @@ export const BlacklistReasonsApiFactory = function (configuration?: Configuratio
|
|
|
476
476
|
* @param {*} [options] Override http request option.
|
|
477
477
|
* @throws {RequiredError}
|
|
478
478
|
*/
|
|
479
|
-
deleteBlacklistReason(code: string, authorization?: string, options?: any): AxiosPromise<
|
|
479
|
+
deleteBlacklistReason(code: string, authorization?: string, options?: any): AxiosPromise<DeleteByCodeResponseClass> {
|
|
480
480
|
return localVarFp.deleteBlacklistReason(code, authorization, options).then((request) => request(axios, basePath));
|
|
481
481
|
},
|
|
482
482
|
/**
|
|
@@ -25,10 +25,10 @@ import { InlineResponse200 } from '../models';
|
|
|
25
25
|
// @ts-ignore
|
|
26
26
|
import { InlineResponse503 } from '../models';
|
|
27
27
|
/**
|
|
28
|
-
*
|
|
28
|
+
* HealthApi - axios parameter creator
|
|
29
29
|
* @export
|
|
30
30
|
*/
|
|
31
|
-
export const
|
|
31
|
+
export const HealthApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
32
32
|
return {
|
|
33
33
|
/**
|
|
34
34
|
* 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.
|
|
@@ -66,11 +66,11 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
66
66
|
};
|
|
67
67
|
|
|
68
68
|
/**
|
|
69
|
-
*
|
|
69
|
+
* HealthApi - functional programming interface
|
|
70
70
|
* @export
|
|
71
71
|
*/
|
|
72
|
-
export const
|
|
73
|
-
const localVarAxiosParamCreator =
|
|
72
|
+
export const HealthApiFp = function(configuration?: Configuration) {
|
|
73
|
+
const localVarAxiosParamCreator = HealthApiAxiosParamCreator(configuration)
|
|
74
74
|
return {
|
|
75
75
|
/**
|
|
76
76
|
* 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.
|
|
@@ -86,11 +86,11 @@ export const DefaultApiFp = function(configuration?: Configuration) {
|
|
|
86
86
|
};
|
|
87
87
|
|
|
88
88
|
/**
|
|
89
|
-
*
|
|
89
|
+
* HealthApi - factory interface
|
|
90
90
|
* @export
|
|
91
91
|
*/
|
|
92
|
-
export const
|
|
93
|
-
const localVarFp =
|
|
92
|
+
export const HealthApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
93
|
+
const localVarFp = HealthApiFp(configuration)
|
|
94
94
|
return {
|
|
95
95
|
/**
|
|
96
96
|
* 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.
|
|
@@ -105,20 +105,20 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
|
|
|
105
105
|
};
|
|
106
106
|
|
|
107
107
|
/**
|
|
108
|
-
*
|
|
108
|
+
* HealthApi - object-oriented interface
|
|
109
109
|
* @export
|
|
110
|
-
* @class
|
|
110
|
+
* @class HealthApi
|
|
111
111
|
* @extends {BaseAPI}
|
|
112
112
|
*/
|
|
113
|
-
export class
|
|
113
|
+
export class HealthApi extends BaseAPI {
|
|
114
114
|
/**
|
|
115
115
|
* 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.
|
|
116
116
|
* @summary Health Check
|
|
117
117
|
* @param {*} [options] Override http request option.
|
|
118
118
|
* @throws {RequiredError}
|
|
119
|
-
* @memberof
|
|
119
|
+
* @memberof HealthApi
|
|
120
120
|
*/
|
|
121
121
|
public check(options?: AxiosRequestConfig) {
|
|
122
|
-
return
|
|
122
|
+
return HealthApiFp(this.configuration).check(options).then((request) => request(this.axios, this.basePath));
|
|
123
123
|
}
|
|
124
124
|
}
|