@emilgroup/partner-sdk-node 1.22.1-beta.21 → 1.22.1-beta.22
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 +1 -42
- package/README.md +2 -2
- package/api/blacklist-api.ts +3 -3
- package/api/blacklist-reasons-api.ts +3 -3
- package/api/{health-api.ts → default-api.ts} +13 -13
- package/api/partners-api.ts +12 -119
- package/api.ts +2 -8
- package/base.ts +0 -1
- package/dist/api/blacklist-api.d.ts +4 -4
- package/dist/api/blacklist-reasons-api.d.ts +4 -4
- package/dist/api/{health-api.d.ts → default-api.d.ts} +10 -10
- package/dist/api/{health-api.js → default-api.js} +22 -22
- package/dist/api/partners-api.d.ts +12 -69
- package/dist/api/partners-api.js +9 -102
- package/dist/api.d.ts +1 -4
- package/dist/api.js +1 -4
- package/dist/base.d.ts +1 -2
- package/dist/base.js +0 -1
- package/dist/models/index.d.ts +0 -38
- package/dist/models/index.js +0 -38
- package/dist/models/list-blacklist-items-response-class.d.ts +0 -12
- package/dist/models/list-partner-relation-class.d.ts +6 -18
- package/dist/models/list-partner-relation-types-class.d.ts +6 -18
- package/dist/models/list-partner-types-response-class.d.ts +6 -18
- package/dist/models/list-partner-versions-response-class.d.ts +6 -18
- package/dist/models/list-partners-response-class.d.ts +6 -18
- package/dist/models/list-related-partners-response-class.d.ts +6 -18
- package/dist/models/list-tags-response-class.d.ts +6 -18
- package/dist/models/update-blacklist-reason-status-request-dto.d.ts +1 -1
- package/models/index.ts +0 -38
- package/models/list-blacklist-items-response-class.ts +0 -12
- package/models/list-partner-relation-class.ts +6 -18
- package/models/list-partner-relation-types-class.ts +6 -18
- package/models/list-partner-types-response-class.ts +6 -18
- package/models/list-partner-versions-response-class.ts +6 -18
- package/models/list-partners-response-class.ts +6 -18
- package/models/list-related-partners-response-class.ts +6 -18
- package/models/list-tags-response-class.ts +6 -18
- package/models/update-blacklist-reason-status-request-dto.ts +1 -1
- package/package.json +1 -1
- package/api/partner-hierarchies-api.ts +0 -1371
- package/api/partner-hierarchy-nodes-api.ts +0 -1201
- package/api/partner-hierarchy-types-api.ts +0 -683
- package/dist/api/partner-hierarchies-api.d.ts +0 -774
- package/dist/api/partner-hierarchies-api.js +0 -1175
- package/dist/api/partner-hierarchy-nodes-api.d.ts +0 -674
- package/dist/api/partner-hierarchy-nodes-api.js +0 -1053
- package/dist/api/partner-hierarchy-types-api.d.ts +0 -385
- package/dist/api/partner-hierarchy-types-api.js +0 -640
- package/dist/models/batch-create-partner-hierarchy-nodes-request-dto.d.ts +0 -30
- package/dist/models/batch-create-partner-hierarchy-nodes-request-dto.js +0 -15
- package/dist/models/create-partner-hierarchy-node-request-dto.d.ts +0 -42
- package/dist/models/create-partner-hierarchy-node-request-dto.js +0 -15
- package/dist/models/create-partner-hierarchy-node-response-class.d.ts +0 -25
- package/dist/models/create-partner-hierarchy-node-response-class.js +0 -15
- package/dist/models/create-partner-hierarchy-request-dto.d.ts +0 -30
- package/dist/models/create-partner-hierarchy-request-dto.js +0 -15
- package/dist/models/create-partner-hierarchy-response-class.d.ts +0 -25
- package/dist/models/create-partner-hierarchy-response-class.js +0 -15
- package/dist/models/create-partner-hierarchy-type-request-dto.d.ts +0 -30
- package/dist/models/create-partner-hierarchy-type-request-dto.js +0 -15
- package/dist/models/create-partner-hierarchy-type-response-class.d.ts +0 -25
- package/dist/models/create-partner-hierarchy-type-response-class.js +0 -15
- package/dist/models/delete-by-code-response-class.d.ts +0 -24
- package/dist/models/delete-by-code-response-class.js +0 -15
- package/dist/models/generate-upload-url-response-class.d.ts +0 -36
- package/dist/models/generate-upload-url-response-class.js +0 -15
- package/dist/models/get-partner-hierarchy-node-response-class.d.ts +0 -25
- package/dist/models/get-partner-hierarchy-node-response-class.js +0 -15
- package/dist/models/get-partner-hierarchy-response-class.d.ts +0 -25
- package/dist/models/get-partner-hierarchy-response-class.js +0 -15
- package/dist/models/get-partner-hierarchy-tree-file-response-class.d.ts +0 -42
- package/dist/models/get-partner-hierarchy-tree-file-response-class.js +0 -15
- package/dist/models/get-partner-hierarchy-tree-response-class.d.ts +0 -25
- package/dist/models/get-partner-hierarchy-tree-response-class.js +0 -15
- package/dist/models/get-partner-hierarchy-type-response-class.d.ts +0 -25
- package/dist/models/get-partner-hierarchy-type-response-class.js +0 -15
- package/dist/models/list-partner-hierarchies-response-class.d.ts +0 -43
- package/dist/models/list-partner-hierarchies-response-class.js +0 -15
- package/dist/models/list-partner-hierarchy-node-history-response-class.d.ts +0 -43
- package/dist/models/list-partner-hierarchy-node-history-response-class.js +0 -15
- package/dist/models/list-partner-hierarchy-nodes-response-class.d.ts +0 -43
- package/dist/models/list-partner-hierarchy-nodes-response-class.js +0 -15
- package/dist/models/list-partner-hierarchy-operations-response-class.d.ts +0 -43
- package/dist/models/list-partner-hierarchy-operations-response-class.js +0 -15
- package/dist/models/list-partner-hierarchy-types-response-class.d.ts +0 -43
- package/dist/models/list-partner-hierarchy-types-response-class.js +0 -15
- package/dist/models/move-partner-hierarchy-node-request-dto.d.ts +0 -30
- package/dist/models/move-partner-hierarchy-node-request-dto.js +0 -15
- package/dist/models/move-partner-hierarchy-node-response-class.d.ts +0 -25
- package/dist/models/move-partner-hierarchy-node-response-class.js +0 -15
- package/dist/models/partner-hierarchy-async-operation-response-class.d.ts +0 -30
- package/dist/models/partner-hierarchy-async-operation-response-class.js +0 -15
- package/dist/models/partner-hierarchy-class.d.ts +0 -78
- package/dist/models/partner-hierarchy-class.js +0 -15
- package/dist/models/partner-hierarchy-node-class.d.ts +0 -109
- package/dist/models/partner-hierarchy-node-class.js +0 -15
- package/dist/models/partner-hierarchy-node-history-class.d.ts +0 -97
- package/dist/models/partner-hierarchy-node-history-class.js +0 -15
- package/dist/models/partner-hierarchy-node-tree-class.d.ts +0 -96
- package/dist/models/partner-hierarchy-node-tree-class.js +0 -15
- package/dist/models/partner-hierarchy-operation-class.d.ts +0 -90
- package/dist/models/partner-hierarchy-operation-class.js +0 -15
- package/dist/models/partner-hierarchy-type-class.d.ts +0 -66
- package/dist/models/partner-hierarchy-type-class.js +0 -15
- package/dist/models/unassign-partner-hierarchy-node-response-class.d.ts +0 -25
- package/dist/models/unassign-partner-hierarchy-node-response-class.js +0 -15
- package/dist/models/update-partner-hierarchy-node-request-dto.d.ts +0 -30
- package/dist/models/update-partner-hierarchy-node-request-dto.js +0 -15
- package/dist/models/update-partner-hierarchy-node-response-class.d.ts +0 -25
- package/dist/models/update-partner-hierarchy-node-response-class.js +0 -15
- package/dist/models/update-partner-hierarchy-request-dto.d.ts +0 -24
- package/dist/models/update-partner-hierarchy-request-dto.js +0 -15
- package/dist/models/update-partner-hierarchy-response-class.d.ts +0 -25
- package/dist/models/update-partner-hierarchy-response-class.js +0 -15
- package/dist/models/update-partner-hierarchy-tree-request-body-dto.d.ts +0 -24
- package/dist/models/update-partner-hierarchy-tree-request-body-dto.js +0 -15
- package/dist/models/update-partner-hierarchy-type-request-dto.d.ts +0 -30
- package/dist/models/update-partner-hierarchy-type-request-dto.js +0 -15
- package/dist/models/update-partner-hierarchy-type-response-class.d.ts +0 -25
- package/dist/models/update-partner-hierarchy-type-response-class.js +0 -15
- package/dist/models/validate-partner-request-dto.d.ts +0 -30
- package/dist/models/validate-partner-request-dto.js +0 -15
- package/dist/models/validate-partner-response-class.d.ts +0 -30
- package/dist/models/validate-partner-response-class.js +0 -15
- package/models/batch-create-partner-hierarchy-nodes-request-dto.ts +0 -36
- package/models/create-partner-hierarchy-node-request-dto.ts +0 -48
- package/models/create-partner-hierarchy-node-response-class.ts +0 -31
- package/models/create-partner-hierarchy-request-dto.ts +0 -36
- package/models/create-partner-hierarchy-response-class.ts +0 -31
- package/models/create-partner-hierarchy-type-request-dto.ts +0 -36
- package/models/create-partner-hierarchy-type-response-class.ts +0 -31
- package/models/delete-by-code-response-class.ts +0 -30
- package/models/generate-upload-url-response-class.ts +0 -42
- package/models/get-partner-hierarchy-node-response-class.ts +0 -31
- package/models/get-partner-hierarchy-response-class.ts +0 -31
- package/models/get-partner-hierarchy-tree-file-response-class.ts +0 -48
- package/models/get-partner-hierarchy-tree-response-class.ts +0 -31
- package/models/get-partner-hierarchy-type-response-class.ts +0 -31
- package/models/list-partner-hierarchies-response-class.ts +0 -49
- package/models/list-partner-hierarchy-node-history-response-class.ts +0 -49
- package/models/list-partner-hierarchy-nodes-response-class.ts +0 -49
- package/models/list-partner-hierarchy-operations-response-class.ts +0 -49
- package/models/list-partner-hierarchy-types-response-class.ts +0 -49
- package/models/move-partner-hierarchy-node-request-dto.ts +0 -36
- package/models/move-partner-hierarchy-node-response-class.ts +0 -31
- package/models/partner-hierarchy-async-operation-response-class.ts +0 -36
- package/models/partner-hierarchy-class.ts +0 -84
- package/models/partner-hierarchy-node-class.ts +0 -115
- package/models/partner-hierarchy-node-history-class.ts +0 -103
- package/models/partner-hierarchy-node-tree-class.ts +0 -102
- package/models/partner-hierarchy-operation-class.ts +0 -96
- package/models/partner-hierarchy-type-class.ts +0 -72
- package/models/unassign-partner-hierarchy-node-response-class.ts +0 -31
- package/models/update-partner-hierarchy-node-request-dto.ts +0 -36
- package/models/update-partner-hierarchy-node-response-class.ts +0 -31
- package/models/update-partner-hierarchy-request-dto.ts +0 -30
- package/models/update-partner-hierarchy-response-class.ts +0 -31
- package/models/update-partner-hierarchy-tree-request-body-dto.ts +0 -30
- package/models/update-partner-hierarchy-type-request-dto.ts +0 -36
- package/models/update-partner-hierarchy-type-response-class.ts +0 -31
- package/models/validate-partner-request-dto.ts +0 -36
- package/models/validate-partner-response-class.ts +0 -36
package/.openapi-generator/FILES
CHANGED
|
@@ -5,10 +5,7 @@ README.md
|
|
|
5
5
|
api.ts
|
|
6
6
|
api/blacklist-api.ts
|
|
7
7
|
api/blacklist-reasons-api.ts
|
|
8
|
-
api/
|
|
9
|
-
api/partner-hierarchies-api.ts
|
|
10
|
-
api/partner-hierarchy-nodes-api.ts
|
|
11
|
-
api/partner-hierarchy-types-api.ts
|
|
8
|
+
api/default-api.ts
|
|
12
9
|
api/partner-invitations-api.ts
|
|
13
10
|
api/partner-relations-api.ts
|
|
14
11
|
api/partner-tags-api.ts
|
|
@@ -20,7 +17,6 @@ common.ts
|
|
|
20
17
|
configuration.ts
|
|
21
18
|
git_push.sh
|
|
22
19
|
index.ts
|
|
23
|
-
models/batch-create-partner-hierarchy-nodes-request-dto.ts
|
|
24
20
|
models/blacklist-item-class.ts
|
|
25
21
|
models/blacklist-reason-class.ts
|
|
26
22
|
models/create-blacklist-item-request-dto.ts
|
|
@@ -29,12 +25,6 @@ models/create-blacklist-reason-request-dto.ts
|
|
|
29
25
|
models/create-blacklist-reason-response-class.ts
|
|
30
26
|
models/create-or-update-partner-from-account-request-dto.ts
|
|
31
27
|
models/create-or-update-partner-from-account-response-class.ts
|
|
32
|
-
models/create-partner-hierarchy-node-request-dto.ts
|
|
33
|
-
models/create-partner-hierarchy-node-response-class.ts
|
|
34
|
-
models/create-partner-hierarchy-request-dto.ts
|
|
35
|
-
models/create-partner-hierarchy-response-class.ts
|
|
36
|
-
models/create-partner-hierarchy-type-request-dto.ts
|
|
37
|
-
models/create-partner-hierarchy-type-response-class.ts
|
|
38
28
|
models/create-partner-relation-request-dto-rest.ts
|
|
39
29
|
models/create-partner-relation-response-class.ts
|
|
40
30
|
models/create-partner-request-dto.ts
|
|
@@ -43,16 +33,9 @@ models/create-partner-type-request-dto.ts
|
|
|
43
33
|
models/create-partner-type-response-class.ts
|
|
44
34
|
models/create-tag-request-dto.ts
|
|
45
35
|
models/create-tag-response-class.ts
|
|
46
|
-
models/delete-by-code-response-class.ts
|
|
47
36
|
models/delete-response-class.ts
|
|
48
|
-
models/generate-upload-url-response-class.ts
|
|
49
37
|
models/get-blacklist-item-response-class.ts
|
|
50
38
|
models/get-blacklist-reason-response-class.ts
|
|
51
|
-
models/get-partner-hierarchy-node-response-class.ts
|
|
52
|
-
models/get-partner-hierarchy-response-class.ts
|
|
53
|
-
models/get-partner-hierarchy-tree-file-response-class.ts
|
|
54
|
-
models/get-partner-hierarchy-tree-response-class.ts
|
|
55
|
-
models/get-partner-hierarchy-type-response-class.ts
|
|
56
39
|
models/get-partner-relation-class.ts
|
|
57
40
|
models/get-partner-relation-type-class.ts
|
|
58
41
|
models/get-partner-response-class.ts
|
|
@@ -69,11 +52,6 @@ models/invite-partner-to-eisrequest-dto.ts
|
|
|
69
52
|
models/is-blacklisted-response-class.ts
|
|
70
53
|
models/list-blacklist-items-response-class.ts
|
|
71
54
|
models/list-blacklist-reasons-response-class.ts
|
|
72
|
-
models/list-partner-hierarchies-response-class.ts
|
|
73
|
-
models/list-partner-hierarchy-node-history-response-class.ts
|
|
74
|
-
models/list-partner-hierarchy-nodes-response-class.ts
|
|
75
|
-
models/list-partner-hierarchy-operations-response-class.ts
|
|
76
|
-
models/list-partner-hierarchy-types-response-class.ts
|
|
77
55
|
models/list-partner-relation-class.ts
|
|
78
56
|
models/list-partner-relation-types-class.ts
|
|
79
57
|
models/list-partner-types-response-class.ts
|
|
@@ -85,16 +63,7 @@ models/map-partner-to-account-response-class.ts
|
|
|
85
63
|
models/mapped-account-from-partner-class.ts
|
|
86
64
|
models/merge-partners-request-dto.ts
|
|
87
65
|
models/merge-partners-response-class.ts
|
|
88
|
-
models/move-partner-hierarchy-node-request-dto.ts
|
|
89
|
-
models/move-partner-hierarchy-node-response-class.ts
|
|
90
66
|
models/partner-class.ts
|
|
91
|
-
models/partner-hierarchy-async-operation-response-class.ts
|
|
92
|
-
models/partner-hierarchy-class.ts
|
|
93
|
-
models/partner-hierarchy-node-class.ts
|
|
94
|
-
models/partner-hierarchy-node-history-class.ts
|
|
95
|
-
models/partner-hierarchy-node-tree-class.ts
|
|
96
|
-
models/partner-hierarchy-operation-class.ts
|
|
97
|
-
models/partner-hierarchy-type-class.ts
|
|
98
67
|
models/partner-relation-class.ts
|
|
99
68
|
models/partner-relation-type-class.ts
|
|
100
69
|
models/partner-type-class.ts
|
|
@@ -104,24 +73,14 @@ models/related-partner-data-class.ts
|
|
|
104
73
|
models/role-class.ts
|
|
105
74
|
models/tag-class.ts
|
|
106
75
|
models/tag-partner-request-dto-rest.ts
|
|
107
|
-
models/unassign-partner-hierarchy-node-response-class.ts
|
|
108
76
|
models/update-blacklist-reason-request-dto.ts
|
|
109
77
|
models/update-blacklist-reason-response-class.ts
|
|
110
78
|
models/update-blacklist-reason-status-request-dto.ts
|
|
111
|
-
models/update-partner-hierarchy-node-request-dto.ts
|
|
112
|
-
models/update-partner-hierarchy-node-response-class.ts
|
|
113
|
-
models/update-partner-hierarchy-request-dto.ts
|
|
114
|
-
models/update-partner-hierarchy-response-class.ts
|
|
115
|
-
models/update-partner-hierarchy-tree-request-body-dto.ts
|
|
116
|
-
models/update-partner-hierarchy-type-request-dto.ts
|
|
117
|
-
models/update-partner-hierarchy-type-response-class.ts
|
|
118
79
|
models/update-partner-relation-request-dto-rest.ts
|
|
119
80
|
models/update-partner-request-dto.ts
|
|
120
81
|
models/update-partner-response-class.ts
|
|
121
82
|
models/update-partner-type-request-dto.ts
|
|
122
83
|
models/update-partner-type-response-class.ts
|
|
123
84
|
models/update-tag-response-class.ts
|
|
124
|
-
models/validate-partner-request-dto.ts
|
|
125
|
-
models/validate-partner-response-class.ts
|
|
126
85
|
package.json
|
|
127
86
|
tsconfig.json
|
package/README.md
CHANGED
|
@@ -17,11 +17,11 @@ Although this package can be used in both TypeScript and JavaScript, it is inten
|
|
|
17
17
|
Navigate to the folder of your consuming project and run one of the following commands:
|
|
18
18
|
|
|
19
19
|
```
|
|
20
|
-
npm install @emilgroup/partner-sdk-node@1.22.1-beta.
|
|
20
|
+
npm install @emilgroup/partner-sdk-node@1.22.1-beta.22 --save
|
|
21
21
|
```
|
|
22
22
|
or
|
|
23
23
|
```
|
|
24
|
-
yarn add @emilgroup/partner-sdk-node@1.22.1-beta.
|
|
24
|
+
yarn add @emilgroup/partner-sdk-node@1.22.1-beta.22
|
|
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 { DeleteResponseClass } from '../models';
|
|
29
29
|
// @ts-ignore
|
|
30
30
|
import { GetBlacklistItemResponseClass } from '../models';
|
|
31
31
|
// @ts-ignore
|
|
@@ -330,7 +330,7 @@ export const BlacklistApiFp = function(configuration?: Configuration) {
|
|
|
330
330
|
* @param {*} [options] Override http request option.
|
|
331
331
|
* @throws {RequiredError}
|
|
332
332
|
*/
|
|
333
|
-
async deleteBlacklistItem(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
333
|
+
async deleteBlacklistItem(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeleteResponseClass>> {
|
|
334
334
|
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteBlacklistItem(code, authorization, options);
|
|
335
335
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
336
336
|
},
|
|
@@ -405,7 +405,7 @@ export const BlacklistApiFactory = function (configuration?: Configuration, base
|
|
|
405
405
|
* @param {*} [options] Override http request option.
|
|
406
406
|
* @throws {RequiredError}
|
|
407
407
|
*/
|
|
408
|
-
deleteBlacklistItem(code: string, authorization?: string, options?: any): AxiosPromise<
|
|
408
|
+
deleteBlacklistItem(code: string, authorization?: string, options?: any): AxiosPromise<DeleteResponseClass> {
|
|
409
409
|
return localVarFp.deleteBlacklistItem(code, authorization, options).then((request) => request(axios, basePath));
|
|
410
410
|
},
|
|
411
411
|
/**
|
|
@@ -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 { DeleteResponseClass } from '../models';
|
|
29
29
|
// @ts-ignore
|
|
30
30
|
import { GetBlacklistReasonResponseClass } from '../models';
|
|
31
31
|
// @ts-ignore
|
|
@@ -391,7 +391,7 @@ export const BlacklistReasonsApiFp = function(configuration?: Configuration) {
|
|
|
391
391
|
* @param {*} [options] Override http request option.
|
|
392
392
|
* @throws {RequiredError}
|
|
393
393
|
*/
|
|
394
|
-
async deleteBlacklistReason(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
394
|
+
async deleteBlacklistReason(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeleteResponseClass>> {
|
|
395
395
|
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteBlacklistReason(code, authorization, options);
|
|
396
396
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
397
397
|
},
|
|
@@ -480,7 +480,7 @@ export const BlacklistReasonsApiFactory = function (configuration?: Configuratio
|
|
|
480
480
|
* @param {*} [options] Override http request option.
|
|
481
481
|
* @throws {RequiredError}
|
|
482
482
|
*/
|
|
483
|
-
deleteBlacklistReason(code: string, authorization?: string, options?: any): AxiosPromise<
|
|
483
|
+
deleteBlacklistReason(code: string, authorization?: string, options?: any): AxiosPromise<DeleteResponseClass> {
|
|
484
484
|
return localVarFp.deleteBlacklistReason(code, authorization, options).then((request) => request(axios, basePath));
|
|
485
485
|
},
|
|
486
486
|
/**
|
|
@@ -29,10 +29,10 @@ import { InlineResponse503 } from '../models';
|
|
|
29
29
|
import { URL, URLSearchParams } from 'url';
|
|
30
30
|
const FormData = require('form-data');
|
|
31
31
|
/**
|
|
32
|
-
*
|
|
32
|
+
* DefaultApi - axios parameter creator
|
|
33
33
|
* @export
|
|
34
34
|
*/
|
|
35
|
-
export const
|
|
35
|
+
export const DefaultApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
36
36
|
return {
|
|
37
37
|
/**
|
|
38
38
|
* Returns the health status of the partner service. This endpoint is used to monitor the operational status of the partner service. It typically returns a simple status indicator, such as \'UP\' or \'OK\', confirming that the service is operational and available.
|
|
@@ -70,11 +70,11 @@ export const HealthApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
70
70
|
};
|
|
71
71
|
|
|
72
72
|
/**
|
|
73
|
-
*
|
|
73
|
+
* DefaultApi - functional programming interface
|
|
74
74
|
* @export
|
|
75
75
|
*/
|
|
76
|
-
export const
|
|
77
|
-
const localVarAxiosParamCreator =
|
|
76
|
+
export const DefaultApiFp = function(configuration?: Configuration) {
|
|
77
|
+
const localVarAxiosParamCreator = DefaultApiAxiosParamCreator(configuration)
|
|
78
78
|
return {
|
|
79
79
|
/**
|
|
80
80
|
* Returns the health status of the partner service. This endpoint is used to monitor the operational status of the partner service. It typically returns a simple status indicator, such as \'UP\' or \'OK\', confirming that the service is operational and available.
|
|
@@ -90,11 +90,11 @@ export const HealthApiFp = function(configuration?: Configuration) {
|
|
|
90
90
|
};
|
|
91
91
|
|
|
92
92
|
/**
|
|
93
|
-
*
|
|
93
|
+
* DefaultApi - factory interface
|
|
94
94
|
* @export
|
|
95
95
|
*/
|
|
96
|
-
export const
|
|
97
|
-
const localVarFp =
|
|
96
|
+
export const DefaultApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
97
|
+
const localVarFp = DefaultApiFp(configuration)
|
|
98
98
|
return {
|
|
99
99
|
/**
|
|
100
100
|
* Returns the health status of the partner service. This endpoint is used to monitor the operational status of the partner service. It typically returns a simple status indicator, such as \'UP\' or \'OK\', confirming that the service is operational and available.
|
|
@@ -109,20 +109,20 @@ export const HealthApiFactory = function (configuration?: Configuration, basePat
|
|
|
109
109
|
};
|
|
110
110
|
|
|
111
111
|
/**
|
|
112
|
-
*
|
|
112
|
+
* DefaultApi - object-oriented interface
|
|
113
113
|
* @export
|
|
114
|
-
* @class
|
|
114
|
+
* @class DefaultApi
|
|
115
115
|
* @extends {BaseAPI}
|
|
116
116
|
*/
|
|
117
|
-
export class
|
|
117
|
+
export class DefaultApi extends BaseAPI {
|
|
118
118
|
/**
|
|
119
119
|
* Returns the health status of the partner service. This endpoint is used to monitor the operational status of the partner service. It typically returns a simple status indicator, such as \'UP\' or \'OK\', confirming that the service is operational and available.
|
|
120
120
|
* @summary Health Check
|
|
121
121
|
* @param {*} [options] Override http request option.
|
|
122
122
|
* @throws {RequiredError}
|
|
123
|
-
* @memberof
|
|
123
|
+
* @memberof DefaultApi
|
|
124
124
|
*/
|
|
125
125
|
public check(options?: AxiosRequestConfig) {
|
|
126
|
-
return
|
|
126
|
+
return DefaultApiFp(this.configuration).check(options).then((request) => request(this.axios, this.basePath));
|
|
127
127
|
}
|
|
128
128
|
}
|
package/api/partners-api.ts
CHANGED
|
@@ -48,10 +48,6 @@ import { TagPartnerRequestDtoRest } from '../models';
|
|
|
48
48
|
import { UpdatePartnerRequestDto } from '../models';
|
|
49
49
|
// @ts-ignore
|
|
50
50
|
import { UpdatePartnerResponseClass } from '../models';
|
|
51
|
-
// @ts-ignore
|
|
52
|
-
import { ValidatePartnerRequestDto } from '../models';
|
|
53
|
-
// @ts-ignore
|
|
54
|
-
import { ValidatePartnerResponseClass } from '../models';
|
|
55
51
|
// URLSearchParams not necessarily used
|
|
56
52
|
// @ts-ignore
|
|
57
53
|
import { URL, URLSearchParams } from 'url';
|
|
@@ -302,11 +298,11 @@ export const PartnersApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
302
298
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
303
299
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
304
300
|
* @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
305
|
-
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, displayName, createdAt, updatedAt, tags, tagSlugs, partnerTypeCodes, partnerTypeId, tenantUserCode, partnerNumber, accountCode
|
|
301
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, displayName, createdAt, updatedAt, tags, tagSlugs, partnerTypeCodes, partnerTypeId, tenantUserCode, partnerNumber, accountCode</i>
|
|
306
302
|
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
307
|
-
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, code, displayName, createdAt, updatedAt, version, tags, tagSlugs, partnerNumber, partnerType.name, partnerTagLabels.tagLabels
|
|
303
|
+
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, code, displayName, createdAt, updatedAt, version, tags, tagSlugs, partnerNumber, partnerType.name, partnerTagLabels.tagLabels</i>
|
|
308
304
|
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: partnerType, tags, partnerTagLabels<i>
|
|
309
|
-
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, displayName, createdAt, updatedAt, tags, tagSlugs, partnerTypeCodes, partnerTypeId, tenantUserCode, partnerNumber, accountCode
|
|
305
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, displayName, createdAt, updatedAt, tags, tagSlugs, partnerTypeCodes, partnerTypeId, tenantUserCode, partnerNumber, accountCode</i>
|
|
310
306
|
* @param {*} [options] Override http request option.
|
|
311
307
|
* @throws {RequiredError}
|
|
312
308
|
*/
|
|
@@ -600,53 +596,6 @@ export const PartnersApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
600
596
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
601
597
|
localVarRequestOptions.data = serializeDataIfNeeded(updatePartnerRequestDto, localVarRequestOptions, configuration)
|
|
602
598
|
|
|
603
|
-
return {
|
|
604
|
-
url: toPathString(localVarUrlObj),
|
|
605
|
-
options: localVarRequestOptions,
|
|
606
|
-
};
|
|
607
|
-
},
|
|
608
|
-
/**
|
|
609
|
-
* Validates a partner identity by partnerNumber and optional custom field values. All provided validationFields must match (AND logic). If validationFields is omitted the call succeeds as long as the partner exists. Never returns partner data — only isValid and an optional error message. **Required Permissions** none
|
|
610
|
-
* @summary Validate a partner
|
|
611
|
-
* @param {ValidatePartnerRequestDto} validatePartnerRequestDto
|
|
612
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
613
|
-
* @param {*} [options] Override http request option.
|
|
614
|
-
* @throws {RequiredError}
|
|
615
|
-
*/
|
|
616
|
-
validatePartner: async (validatePartnerRequestDto: ValidatePartnerRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
617
|
-
// verify required parameter 'validatePartnerRequestDto' is not null or undefined
|
|
618
|
-
assertParamExists('validatePartner', 'validatePartnerRequestDto', validatePartnerRequestDto)
|
|
619
|
-
const localVarPath = `/partnerservice/v1/partners/validate`;
|
|
620
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
621
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
622
|
-
let baseOptions;
|
|
623
|
-
let baseAccessToken;
|
|
624
|
-
if (configuration) {
|
|
625
|
-
baseOptions = configuration.baseOptions;
|
|
626
|
-
baseAccessToken = configuration.accessToken;
|
|
627
|
-
}
|
|
628
|
-
|
|
629
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
630
|
-
const localVarHeaderParameter = {} as any;
|
|
631
|
-
const localVarQueryParameter = {} as any;
|
|
632
|
-
|
|
633
|
-
// authentication bearer required
|
|
634
|
-
// http bearer authentication required
|
|
635
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
636
|
-
|
|
637
|
-
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
638
|
-
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
639
|
-
}
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
644
|
-
|
|
645
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
646
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
647
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
648
|
-
localVarRequestOptions.data = serializeDataIfNeeded(validatePartnerRequestDto, localVarRequestOptions, configuration)
|
|
649
|
-
|
|
650
599
|
return {
|
|
651
600
|
url: toPathString(localVarUrlObj),
|
|
652
601
|
options: localVarRequestOptions,
|
|
@@ -729,11 +678,11 @@ export const PartnersApiFp = function(configuration?: Configuration) {
|
|
|
729
678
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
730
679
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
731
680
|
* @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
732
|
-
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, displayName, createdAt, updatedAt, tags, tagSlugs, partnerTypeCodes, partnerTypeId, tenantUserCode, partnerNumber, accountCode
|
|
681
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, displayName, createdAt, updatedAt, tags, tagSlugs, partnerTypeCodes, partnerTypeId, tenantUserCode, partnerNumber, accountCode</i>
|
|
733
682
|
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
734
|
-
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, code, displayName, createdAt, updatedAt, version, tags, tagSlugs, partnerNumber, partnerType.name, partnerTagLabels.tagLabels
|
|
683
|
+
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, code, displayName, createdAt, updatedAt, version, tags, tagSlugs, partnerNumber, partnerType.name, partnerTagLabels.tagLabels</i>
|
|
735
684
|
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: partnerType, tags, partnerTagLabels<i>
|
|
736
|
-
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, displayName, createdAt, updatedAt, tags, tagSlugs, partnerTypeCodes, partnerTypeId, tenantUserCode, partnerNumber, accountCode
|
|
685
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, displayName, createdAt, updatedAt, tags, tagSlugs, partnerTypeCodes, partnerTypeId, tenantUserCode, partnerNumber, accountCode</i>
|
|
737
686
|
* @param {*} [options] Override http request option.
|
|
738
687
|
* @throws {RequiredError}
|
|
739
688
|
*/
|
|
@@ -799,18 +748,6 @@ export const PartnersApiFp = function(configuration?: Configuration) {
|
|
|
799
748
|
const localVarAxiosArgs = await localVarAxiosParamCreator.updatePartner(code, updatePartnerRequestDto, authorization, options);
|
|
800
749
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
801
750
|
},
|
|
802
|
-
/**
|
|
803
|
-
* Validates a partner identity by partnerNumber and optional custom field values. All provided validationFields must match (AND logic). If validationFields is omitted the call succeeds as long as the partner exists. Never returns partner data — only isValid and an optional error message. **Required Permissions** none
|
|
804
|
-
* @summary Validate a partner
|
|
805
|
-
* @param {ValidatePartnerRequestDto} validatePartnerRequestDto
|
|
806
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
807
|
-
* @param {*} [options] Override http request option.
|
|
808
|
-
* @throws {RequiredError}
|
|
809
|
-
*/
|
|
810
|
-
async validatePartner(validatePartnerRequestDto: ValidatePartnerRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ValidatePartnerResponseClass>> {
|
|
811
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.validatePartner(validatePartnerRequestDto, authorization, options);
|
|
812
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
813
|
-
},
|
|
814
751
|
}
|
|
815
752
|
};
|
|
816
753
|
|
|
@@ -883,11 +820,11 @@ export const PartnersApiFactory = function (configuration?: Configuration, baseP
|
|
|
883
820
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
884
821
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
885
822
|
* @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
886
|
-
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, displayName, createdAt, updatedAt, tags, tagSlugs, partnerTypeCodes, partnerTypeId, tenantUserCode, partnerNumber, accountCode
|
|
823
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, displayName, createdAt, updatedAt, tags, tagSlugs, partnerTypeCodes, partnerTypeId, tenantUserCode, partnerNumber, accountCode</i>
|
|
887
824
|
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
888
|
-
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, code, displayName, createdAt, updatedAt, version, tags, tagSlugs, partnerNumber, partnerType.name, partnerTagLabels.tagLabels
|
|
825
|
+
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, code, displayName, createdAt, updatedAt, version, tags, tagSlugs, partnerNumber, partnerType.name, partnerTagLabels.tagLabels</i>
|
|
889
826
|
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: partnerType, tags, partnerTagLabels<i>
|
|
890
|
-
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, displayName, createdAt, updatedAt, tags, tagSlugs, partnerTypeCodes, partnerTypeId, tenantUserCode, partnerNumber, accountCode
|
|
827
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, displayName, createdAt, updatedAt, tags, tagSlugs, partnerTypeCodes, partnerTypeId, tenantUserCode, partnerNumber, accountCode</i>
|
|
891
828
|
* @param {*} [options] Override http request option.
|
|
892
829
|
* @throws {RequiredError}
|
|
893
830
|
*/
|
|
@@ -948,17 +885,6 @@ export const PartnersApiFactory = function (configuration?: Configuration, baseP
|
|
|
948
885
|
updatePartner(code: string, updatePartnerRequestDto: UpdatePartnerRequestDto, authorization?: string, options?: any): AxiosPromise<UpdatePartnerResponseClass> {
|
|
949
886
|
return localVarFp.updatePartner(code, updatePartnerRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
950
887
|
},
|
|
951
|
-
/**
|
|
952
|
-
* Validates a partner identity by partnerNumber and optional custom field values. All provided validationFields must match (AND logic). If validationFields is omitted the call succeeds as long as the partner exists. Never returns partner data — only isValid and an optional error message. **Required Permissions** none
|
|
953
|
-
* @summary Validate a partner
|
|
954
|
-
* @param {ValidatePartnerRequestDto} validatePartnerRequestDto
|
|
955
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
956
|
-
* @param {*} [options] Override http request option.
|
|
957
|
-
* @throws {RequiredError}
|
|
958
|
-
*/
|
|
959
|
-
validatePartner(validatePartnerRequestDto: ValidatePartnerRequestDto, authorization?: string, options?: any): AxiosPromise<ValidatePartnerResponseClass> {
|
|
960
|
-
return localVarFp.validatePartner(validatePartnerRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
961
|
-
},
|
|
962
888
|
};
|
|
963
889
|
};
|
|
964
890
|
|
|
@@ -1102,7 +1028,7 @@ export interface PartnersApiListPartnersRequest {
|
|
|
1102
1028
|
readonly pageToken?: string
|
|
1103
1029
|
|
|
1104
1030
|
/**
|
|
1105
|
-
* Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, displayName, createdAt, updatedAt, tags, tagSlugs, partnerTypeCodes, partnerTypeId, tenantUserCode, partnerNumber, accountCode
|
|
1031
|
+
* Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, displayName, createdAt, updatedAt, tags, tagSlugs, partnerTypeCodes, partnerTypeId, tenantUserCode, partnerNumber, accountCode</i>
|
|
1106
1032
|
* @type {string}
|
|
1107
1033
|
* @memberof PartnersApiListPartners
|
|
1108
1034
|
*/
|
|
@@ -1116,7 +1042,7 @@ export interface PartnersApiListPartnersRequest {
|
|
|
1116
1042
|
readonly search?: string
|
|
1117
1043
|
|
|
1118
1044
|
/**
|
|
1119
|
-
* Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, code, displayName, createdAt, updatedAt, version, tags, tagSlugs, partnerNumber, partnerType.name, partnerTagLabels.tagLabels
|
|
1045
|
+
* Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, code, displayName, createdAt, updatedAt, version, tags, tagSlugs, partnerNumber, partnerType.name, partnerTagLabels.tagLabels</i>
|
|
1120
1046
|
* @type {string}
|
|
1121
1047
|
* @memberof PartnersApiListPartners
|
|
1122
1048
|
*/
|
|
@@ -1130,7 +1056,7 @@ export interface PartnersApiListPartnersRequest {
|
|
|
1130
1056
|
readonly expand?: string
|
|
1131
1057
|
|
|
1132
1058
|
/**
|
|
1133
|
-
* Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, displayName, createdAt, updatedAt, tags, tagSlugs, partnerTypeCodes, partnerTypeId, tenantUserCode, partnerNumber, accountCode
|
|
1059
|
+
* Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, displayName, createdAt, updatedAt, tags, tagSlugs, partnerTypeCodes, partnerTypeId, tenantUserCode, partnerNumber, accountCode</i>
|
|
1134
1060
|
* @type {string}
|
|
1135
1061
|
* @memberof PartnersApiListPartners
|
|
1136
1062
|
*/
|
|
@@ -1291,27 +1217,6 @@ export interface PartnersApiUpdatePartnerRequest {
|
|
|
1291
1217
|
readonly authorization?: string
|
|
1292
1218
|
}
|
|
1293
1219
|
|
|
1294
|
-
/**
|
|
1295
|
-
* Request parameters for validatePartner operation in PartnersApi.
|
|
1296
|
-
* @export
|
|
1297
|
-
* @interface PartnersApiValidatePartnerRequest
|
|
1298
|
-
*/
|
|
1299
|
-
export interface PartnersApiValidatePartnerRequest {
|
|
1300
|
-
/**
|
|
1301
|
-
*
|
|
1302
|
-
* @type {ValidatePartnerRequestDto}
|
|
1303
|
-
* @memberof PartnersApiValidatePartner
|
|
1304
|
-
*/
|
|
1305
|
-
readonly validatePartnerRequestDto: ValidatePartnerRequestDto
|
|
1306
|
-
|
|
1307
|
-
/**
|
|
1308
|
-
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1309
|
-
* @type {string}
|
|
1310
|
-
* @memberof PartnersApiValidatePartner
|
|
1311
|
-
*/
|
|
1312
|
-
readonly authorization?: string
|
|
1313
|
-
}
|
|
1314
|
-
|
|
1315
1220
|
/**
|
|
1316
1221
|
* PartnersApi - object-oriented interface
|
|
1317
1222
|
* @export
|
|
@@ -1438,16 +1343,4 @@ export class PartnersApi extends BaseAPI {
|
|
|
1438
1343
|
public updatePartner(requestParameters: PartnersApiUpdatePartnerRequest, options?: AxiosRequestConfig) {
|
|
1439
1344
|
return PartnersApiFp(this.configuration).updatePartner(requestParameters.code, requestParameters.updatePartnerRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
1440
1345
|
}
|
|
1441
|
-
|
|
1442
|
-
/**
|
|
1443
|
-
* Validates a partner identity by partnerNumber and optional custom field values. All provided validationFields must match (AND logic). If validationFields is omitted the call succeeds as long as the partner exists. Never returns partner data — only isValid and an optional error message. **Required Permissions** none
|
|
1444
|
-
* @summary Validate a partner
|
|
1445
|
-
* @param {PartnersApiValidatePartnerRequest} requestParameters Request parameters.
|
|
1446
|
-
* @param {*} [options] Override http request option.
|
|
1447
|
-
* @throws {RequiredError}
|
|
1448
|
-
* @memberof PartnersApi
|
|
1449
|
-
*/
|
|
1450
|
-
public validatePartner(requestParameters: PartnersApiValidatePartnerRequest, options?: AxiosRequestConfig) {
|
|
1451
|
-
return PartnersApiFp(this.configuration).validatePartner(requestParameters.validatePartnerRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
1452
|
-
}
|
|
1453
1346
|
}
|
package/api.ts
CHANGED
|
@@ -26,10 +26,7 @@ import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObj
|
|
|
26
26
|
import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from './base';
|
|
27
27
|
import { BlacklistApi } from './api';
|
|
28
28
|
import { BlacklistReasonsApi } from './api';
|
|
29
|
-
import {
|
|
30
|
-
import { PartnerHierarchiesApi } from './api';
|
|
31
|
-
import { PartnerHierarchyNodesApi } from './api';
|
|
32
|
-
import { PartnerHierarchyTypesApi } from './api';
|
|
29
|
+
import { DefaultApi } from './api';
|
|
33
30
|
import { PartnerInvitationsApi } from './api';
|
|
34
31
|
import { PartnerRelationsApi } from './api';
|
|
35
32
|
import { PartnerTagsApi } from './api';
|
|
@@ -40,10 +37,7 @@ import { PartnersApi } from './api';
|
|
|
40
37
|
|
|
41
38
|
export * from './api/blacklist-api';
|
|
42
39
|
export * from './api/blacklist-reasons-api';
|
|
43
|
-
export * from './api/
|
|
44
|
-
export * from './api/partner-hierarchies-api';
|
|
45
|
-
export * from './api/partner-hierarchy-nodes-api';
|
|
46
|
-
export * from './api/partner-hierarchy-types-api';
|
|
40
|
+
export * from './api/default-api';
|
|
47
41
|
export * from './api/partner-invitations-api';
|
|
48
42
|
export * from './api/partner-relations-api';
|
|
49
43
|
export * from './api/partner-tags-api';
|
package/base.ts
CHANGED
|
@@ -60,7 +60,6 @@ export enum Environment {
|
|
|
60
60
|
Staging = 'https://apiv2-staging.emil.de',
|
|
61
61
|
Development = 'https://apiv2-dev.emil.de',
|
|
62
62
|
ProductionZurich = 'https://eu-central-2.apiv2.emil.de',
|
|
63
|
-
StagingZurich = 'https://eu-central-2.apiv2-staging.emil.de',
|
|
64
63
|
}
|
|
65
64
|
|
|
66
65
|
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 { DeleteResponseClass } 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<DeleteResponseClass>>;
|
|
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<DeleteResponseClass>;
|
|
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<DeleteResponseClass, 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 { DeleteResponseClass } 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<DeleteResponseClass>>;
|
|
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<DeleteResponseClass>;
|
|
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<DeleteResponseClass, 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
|