@equisoft/account-service-sdk-typescript 10.1.1-snapshot.20251003124210 → 10.1.1-snapshot.20251010122747
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/dist/apis/OAuthApi.d.ts +15 -4
- package/dist/apis/OAuthApi.js +39 -4
- package/dist/apis/OrganizationApi.d.ts +3 -3
- package/dist/apis/OrganizationApi.js +4 -4
- package/dist/esm/apis/OAuthApi.d.ts +15 -4
- package/dist/esm/apis/OAuthApi.js +39 -4
- package/dist/esm/apis/OrganizationApi.d.ts +3 -3
- package/dist/esm/apis/OrganizationApi.js +4 -4
- package/package.json +1 -1
- package/src/apis/OAuthApi.ts +49 -4
- package/src/apis/OrganizationApi.ts +5 -5
package/dist/apis/OAuthApi.d.ts
CHANGED
|
@@ -11,6 +11,9 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
13
|
import type { OAuthClient, OAuthClientListItem, OAuthClientLoginPayload, OAuthClientUpdated, UpdateOAuthClientPayload } from '../models/index';
|
|
14
|
+
export interface DeleteOrganizationRequest {
|
|
15
|
+
clientId: string;
|
|
16
|
+
}
|
|
14
17
|
export interface GetOAuthClientRequest {
|
|
15
18
|
clientId: string;
|
|
16
19
|
}
|
|
@@ -27,11 +30,19 @@ export interface UpdateOAuthClientRequest {
|
|
|
27
30
|
*/
|
|
28
31
|
export declare class OAuthApi extends runtime.BaseAPI {
|
|
29
32
|
/**
|
|
30
|
-
*
|
|
33
|
+
* Delete OAuth client
|
|
34
|
+
*/
|
|
35
|
+
deleteOrganizationRaw(requestParameters: DeleteOrganizationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
36
|
+
/**
|
|
37
|
+
* Delete OAuth client
|
|
38
|
+
*/
|
|
39
|
+
deleteOrganization(requestParameters: DeleteOrganizationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
40
|
+
/**
|
|
41
|
+
* Get detailed information about an OAuth client.
|
|
31
42
|
*/
|
|
32
43
|
getOAuthClientRaw(requestParameters: GetOAuthClientRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<OAuthClient>>;
|
|
33
44
|
/**
|
|
34
|
-
* Get detailed information about an
|
|
45
|
+
* Get detailed information about an OAuth client.
|
|
35
46
|
*/
|
|
36
47
|
getOAuthClient(requestParameters: GetOAuthClientRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<OAuthClient>;
|
|
37
48
|
/**
|
|
@@ -51,11 +62,11 @@ export declare class OAuthApi extends runtime.BaseAPI {
|
|
|
51
62
|
*/
|
|
52
63
|
loginOAuthClient(requestParameters: LoginOAuthClientRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<OAuthClient>;
|
|
53
64
|
/**
|
|
54
|
-
* Update an
|
|
65
|
+
* Update an OAuth client
|
|
55
66
|
*/
|
|
56
67
|
updateOAuthClientRaw(requestParameters: UpdateOAuthClientRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<OAuthClientUpdated>>;
|
|
57
68
|
/**
|
|
58
|
-
* Update an
|
|
69
|
+
* Update an OAuth client
|
|
59
70
|
*/
|
|
60
71
|
updateOAuthClient(requestParameters: UpdateOAuthClientRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<OAuthClientUpdated>;
|
|
61
72
|
}
|
package/dist/apis/OAuthApi.js
CHANGED
|
@@ -30,7 +30,42 @@ const index_1 = require("../models/index");
|
|
|
30
30
|
*/
|
|
31
31
|
class OAuthApi extends runtime.BaseAPI {
|
|
32
32
|
/**
|
|
33
|
-
*
|
|
33
|
+
* Delete OAuth client
|
|
34
|
+
*/
|
|
35
|
+
deleteOrganizationRaw(requestParameters, initOverrides) {
|
|
36
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
37
|
+
if (requestParameters['clientId'] == null) {
|
|
38
|
+
throw new runtime.RequiredError('clientId', 'Required parameter "clientId" was null or undefined when calling deleteOrganization().');
|
|
39
|
+
}
|
|
40
|
+
const queryParameters = {};
|
|
41
|
+
const headerParameters = {};
|
|
42
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
43
|
+
// oauth required
|
|
44
|
+
const token = this.configuration.accessToken;
|
|
45
|
+
const tokenString = yield token("OAuth2", ["account:oauthClient"]);
|
|
46
|
+
if (tokenString) {
|
|
47
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
const response = yield this.request({
|
|
51
|
+
path: `/oauthClients/{clientId}`.replace(`{${"clientId"}}`, encodeURIComponent(String(requestParameters['clientId']))),
|
|
52
|
+
method: 'DELETE',
|
|
53
|
+
headers: headerParameters,
|
|
54
|
+
query: queryParameters,
|
|
55
|
+
}, initOverrides);
|
|
56
|
+
return new runtime.VoidApiResponse(response);
|
|
57
|
+
});
|
|
58
|
+
}
|
|
59
|
+
/**
|
|
60
|
+
* Delete OAuth client
|
|
61
|
+
*/
|
|
62
|
+
deleteOrganization(requestParameters, initOverrides) {
|
|
63
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
64
|
+
yield this.deleteOrganizationRaw(requestParameters, initOverrides);
|
|
65
|
+
});
|
|
66
|
+
}
|
|
67
|
+
/**
|
|
68
|
+
* Get detailed information about an OAuth client.
|
|
34
69
|
*/
|
|
35
70
|
getOAuthClientRaw(requestParameters, initOverrides) {
|
|
36
71
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -57,7 +92,7 @@ class OAuthApi extends runtime.BaseAPI {
|
|
|
57
92
|
});
|
|
58
93
|
}
|
|
59
94
|
/**
|
|
60
|
-
* Get detailed information about an
|
|
95
|
+
* Get detailed information about an OAuth client.
|
|
61
96
|
*/
|
|
62
97
|
getOAuthClient(requestParameters, initOverrides) {
|
|
63
98
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -140,7 +175,7 @@ class OAuthApi extends runtime.BaseAPI {
|
|
|
140
175
|
});
|
|
141
176
|
}
|
|
142
177
|
/**
|
|
143
|
-
* Update an
|
|
178
|
+
* Update an OAuth client
|
|
144
179
|
*/
|
|
145
180
|
updateOAuthClientRaw(requestParameters, initOverrides) {
|
|
146
181
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -172,7 +207,7 @@ class OAuthApi extends runtime.BaseAPI {
|
|
|
172
207
|
});
|
|
173
208
|
}
|
|
174
209
|
/**
|
|
175
|
-
* Update an
|
|
210
|
+
* Update an OAuth client
|
|
176
211
|
*/
|
|
177
212
|
updateOAuthClient(requestParameters, initOverrides) {
|
|
178
213
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -48,7 +48,7 @@ export interface DeactivateUserServiceRequest {
|
|
|
48
48
|
userUuid: string;
|
|
49
49
|
serviceCode: string;
|
|
50
50
|
}
|
|
51
|
-
export interface
|
|
51
|
+
export interface DeleteOrganization1Request {
|
|
52
52
|
uuid: string;
|
|
53
53
|
}
|
|
54
54
|
export interface GetApplicableServiceProfilesRequest {
|
|
@@ -193,11 +193,11 @@ export declare class OrganizationApi extends runtime.BaseAPI {
|
|
|
193
193
|
/**
|
|
194
194
|
* Delete organization
|
|
195
195
|
*/
|
|
196
|
-
|
|
196
|
+
deleteOrganization1Raw(requestParameters: DeleteOrganization1Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
197
197
|
/**
|
|
198
198
|
* Delete organization
|
|
199
199
|
*/
|
|
200
|
-
|
|
200
|
+
deleteOrganization1(requestParameters: DeleteOrganization1Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
201
201
|
/**
|
|
202
202
|
* Get applicable service profiles for an organization.
|
|
203
203
|
*/
|
|
@@ -367,10 +367,10 @@ class OrganizationApi extends runtime.BaseAPI {
|
|
|
367
367
|
/**
|
|
368
368
|
* Delete organization
|
|
369
369
|
*/
|
|
370
|
-
|
|
370
|
+
deleteOrganization1Raw(requestParameters, initOverrides) {
|
|
371
371
|
return __awaiter(this, void 0, void 0, function* () {
|
|
372
372
|
if (requestParameters['uuid'] == null) {
|
|
373
|
-
throw new runtime.RequiredError('uuid', 'Required parameter "uuid" was null or undefined when calling
|
|
373
|
+
throw new runtime.RequiredError('uuid', 'Required parameter "uuid" was null or undefined when calling deleteOrganization1().');
|
|
374
374
|
}
|
|
375
375
|
const queryParameters = {};
|
|
376
376
|
const headerParameters = {};
|
|
@@ -394,9 +394,9 @@ class OrganizationApi extends runtime.BaseAPI {
|
|
|
394
394
|
/**
|
|
395
395
|
* Delete organization
|
|
396
396
|
*/
|
|
397
|
-
|
|
397
|
+
deleteOrganization1(requestParameters, initOverrides) {
|
|
398
398
|
return __awaiter(this, void 0, void 0, function* () {
|
|
399
|
-
yield this.
|
|
399
|
+
yield this.deleteOrganization1Raw(requestParameters, initOverrides);
|
|
400
400
|
});
|
|
401
401
|
}
|
|
402
402
|
/**
|
|
@@ -11,6 +11,9 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
13
|
import type { OAuthClient, OAuthClientListItem, OAuthClientLoginPayload, OAuthClientUpdated, UpdateOAuthClientPayload } from '../models/index';
|
|
14
|
+
export interface DeleteOrganizationRequest {
|
|
15
|
+
clientId: string;
|
|
16
|
+
}
|
|
14
17
|
export interface GetOAuthClientRequest {
|
|
15
18
|
clientId: string;
|
|
16
19
|
}
|
|
@@ -27,11 +30,19 @@ export interface UpdateOAuthClientRequest {
|
|
|
27
30
|
*/
|
|
28
31
|
export declare class OAuthApi extends runtime.BaseAPI {
|
|
29
32
|
/**
|
|
30
|
-
*
|
|
33
|
+
* Delete OAuth client
|
|
34
|
+
*/
|
|
35
|
+
deleteOrganizationRaw(requestParameters: DeleteOrganizationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
36
|
+
/**
|
|
37
|
+
* Delete OAuth client
|
|
38
|
+
*/
|
|
39
|
+
deleteOrganization(requestParameters: DeleteOrganizationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
40
|
+
/**
|
|
41
|
+
* Get detailed information about an OAuth client.
|
|
31
42
|
*/
|
|
32
43
|
getOAuthClientRaw(requestParameters: GetOAuthClientRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<OAuthClient>>;
|
|
33
44
|
/**
|
|
34
|
-
* Get detailed information about an
|
|
45
|
+
* Get detailed information about an OAuth client.
|
|
35
46
|
*/
|
|
36
47
|
getOAuthClient(requestParameters: GetOAuthClientRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<OAuthClient>;
|
|
37
48
|
/**
|
|
@@ -51,11 +62,11 @@ export declare class OAuthApi extends runtime.BaseAPI {
|
|
|
51
62
|
*/
|
|
52
63
|
loginOAuthClient(requestParameters: LoginOAuthClientRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<OAuthClient>;
|
|
53
64
|
/**
|
|
54
|
-
* Update an
|
|
65
|
+
* Update an OAuth client
|
|
55
66
|
*/
|
|
56
67
|
updateOAuthClientRaw(requestParameters: UpdateOAuthClientRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<OAuthClientUpdated>>;
|
|
57
68
|
/**
|
|
58
|
-
* Update an
|
|
69
|
+
* Update an OAuth client
|
|
59
70
|
*/
|
|
60
71
|
updateOAuthClient(requestParameters: UpdateOAuthClientRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<OAuthClientUpdated>;
|
|
61
72
|
}
|
|
@@ -27,7 +27,42 @@ import { OAuthClientFromJSON, OAuthClientListItemFromJSON, OAuthClientLoginPaylo
|
|
|
27
27
|
*/
|
|
28
28
|
export class OAuthApi extends runtime.BaseAPI {
|
|
29
29
|
/**
|
|
30
|
-
*
|
|
30
|
+
* Delete OAuth client
|
|
31
|
+
*/
|
|
32
|
+
deleteOrganizationRaw(requestParameters, initOverrides) {
|
|
33
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
34
|
+
if (requestParameters['clientId'] == null) {
|
|
35
|
+
throw new runtime.RequiredError('clientId', 'Required parameter "clientId" was null or undefined when calling deleteOrganization().');
|
|
36
|
+
}
|
|
37
|
+
const queryParameters = {};
|
|
38
|
+
const headerParameters = {};
|
|
39
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
40
|
+
// oauth required
|
|
41
|
+
const token = this.configuration.accessToken;
|
|
42
|
+
const tokenString = yield token("OAuth2", ["account:oauthClient"]);
|
|
43
|
+
if (tokenString) {
|
|
44
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
const response = yield this.request({
|
|
48
|
+
path: `/oauthClients/{clientId}`.replace(`{${"clientId"}}`, encodeURIComponent(String(requestParameters['clientId']))),
|
|
49
|
+
method: 'DELETE',
|
|
50
|
+
headers: headerParameters,
|
|
51
|
+
query: queryParameters,
|
|
52
|
+
}, initOverrides);
|
|
53
|
+
return new runtime.VoidApiResponse(response);
|
|
54
|
+
});
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* Delete OAuth client
|
|
58
|
+
*/
|
|
59
|
+
deleteOrganization(requestParameters, initOverrides) {
|
|
60
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
61
|
+
yield this.deleteOrganizationRaw(requestParameters, initOverrides);
|
|
62
|
+
});
|
|
63
|
+
}
|
|
64
|
+
/**
|
|
65
|
+
* Get detailed information about an OAuth client.
|
|
31
66
|
*/
|
|
32
67
|
getOAuthClientRaw(requestParameters, initOverrides) {
|
|
33
68
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -54,7 +89,7 @@ export class OAuthApi extends runtime.BaseAPI {
|
|
|
54
89
|
});
|
|
55
90
|
}
|
|
56
91
|
/**
|
|
57
|
-
* Get detailed information about an
|
|
92
|
+
* Get detailed information about an OAuth client.
|
|
58
93
|
*/
|
|
59
94
|
getOAuthClient(requestParameters, initOverrides) {
|
|
60
95
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -137,7 +172,7 @@ export class OAuthApi extends runtime.BaseAPI {
|
|
|
137
172
|
});
|
|
138
173
|
}
|
|
139
174
|
/**
|
|
140
|
-
* Update an
|
|
175
|
+
* Update an OAuth client
|
|
141
176
|
*/
|
|
142
177
|
updateOAuthClientRaw(requestParameters, initOverrides) {
|
|
143
178
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -169,7 +204,7 @@ export class OAuthApi extends runtime.BaseAPI {
|
|
|
169
204
|
});
|
|
170
205
|
}
|
|
171
206
|
/**
|
|
172
|
-
* Update an
|
|
207
|
+
* Update an OAuth client
|
|
173
208
|
*/
|
|
174
209
|
updateOAuthClient(requestParameters, initOverrides) {
|
|
175
210
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -48,7 +48,7 @@ export interface DeactivateUserServiceRequest {
|
|
|
48
48
|
userUuid: string;
|
|
49
49
|
serviceCode: string;
|
|
50
50
|
}
|
|
51
|
-
export interface
|
|
51
|
+
export interface DeleteOrganization1Request {
|
|
52
52
|
uuid: string;
|
|
53
53
|
}
|
|
54
54
|
export interface GetApplicableServiceProfilesRequest {
|
|
@@ -193,11 +193,11 @@ export declare class OrganizationApi extends runtime.BaseAPI {
|
|
|
193
193
|
/**
|
|
194
194
|
* Delete organization
|
|
195
195
|
*/
|
|
196
|
-
|
|
196
|
+
deleteOrganization1Raw(requestParameters: DeleteOrganization1Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
197
197
|
/**
|
|
198
198
|
* Delete organization
|
|
199
199
|
*/
|
|
200
|
-
|
|
200
|
+
deleteOrganization1(requestParameters: DeleteOrganization1Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
201
201
|
/**
|
|
202
202
|
* Get applicable service profiles for an organization.
|
|
203
203
|
*/
|
|
@@ -364,10 +364,10 @@ export class OrganizationApi extends runtime.BaseAPI {
|
|
|
364
364
|
/**
|
|
365
365
|
* Delete organization
|
|
366
366
|
*/
|
|
367
|
-
|
|
367
|
+
deleteOrganization1Raw(requestParameters, initOverrides) {
|
|
368
368
|
return __awaiter(this, void 0, void 0, function* () {
|
|
369
369
|
if (requestParameters['uuid'] == null) {
|
|
370
|
-
throw new runtime.RequiredError('uuid', 'Required parameter "uuid" was null or undefined when calling
|
|
370
|
+
throw new runtime.RequiredError('uuid', 'Required parameter "uuid" was null or undefined when calling deleteOrganization1().');
|
|
371
371
|
}
|
|
372
372
|
const queryParameters = {};
|
|
373
373
|
const headerParameters = {};
|
|
@@ -391,9 +391,9 @@ export class OrganizationApi extends runtime.BaseAPI {
|
|
|
391
391
|
/**
|
|
392
392
|
* Delete organization
|
|
393
393
|
*/
|
|
394
|
-
|
|
394
|
+
deleteOrganization1(requestParameters, initOverrides) {
|
|
395
395
|
return __awaiter(this, void 0, void 0, function* () {
|
|
396
|
-
yield this.
|
|
396
|
+
yield this.deleteOrganization1Raw(requestParameters, initOverrides);
|
|
397
397
|
});
|
|
398
398
|
}
|
|
399
399
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@equisoft/account-service-sdk-typescript",
|
|
3
|
-
"version": "10.1.1-snapshot.
|
|
3
|
+
"version": "10.1.1-snapshot.20251010122747",
|
|
4
4
|
"description": "OpenAPI client for @equisoft/account-service-sdk-typescript",
|
|
5
5
|
"author": "OpenAPI-Generator",
|
|
6
6
|
"repository": {
|
package/src/apis/OAuthApi.ts
CHANGED
|
@@ -37,6 +37,10 @@ import {
|
|
|
37
37
|
UpdateOAuthClientPayloadToJSON,
|
|
38
38
|
} from '../models/index';
|
|
39
39
|
|
|
40
|
+
export interface DeleteOrganizationRequest {
|
|
41
|
+
clientId: string;
|
|
42
|
+
}
|
|
43
|
+
|
|
40
44
|
export interface GetOAuthClientRequest {
|
|
41
45
|
clientId: string;
|
|
42
46
|
}
|
|
@@ -57,7 +61,48 @@ export interface UpdateOAuthClientRequest {
|
|
|
57
61
|
export class OAuthApi extends runtime.BaseAPI {
|
|
58
62
|
|
|
59
63
|
/**
|
|
60
|
-
*
|
|
64
|
+
* Delete OAuth client
|
|
65
|
+
*/
|
|
66
|
+
async deleteOrganizationRaw(requestParameters: DeleteOrganizationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>> {
|
|
67
|
+
if (requestParameters['clientId'] == null) {
|
|
68
|
+
throw new runtime.RequiredError(
|
|
69
|
+
'clientId',
|
|
70
|
+
'Required parameter "clientId" was null or undefined when calling deleteOrganization().'
|
|
71
|
+
);
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
const queryParameters: any = {};
|
|
75
|
+
|
|
76
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
77
|
+
|
|
78
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
79
|
+
// oauth required
|
|
80
|
+
const token = this.configuration.accessToken;
|
|
81
|
+
const tokenString = await token("OAuth2", ["account:oauthClient"]);
|
|
82
|
+
if (tokenString) {
|
|
83
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
const response = await this.request({
|
|
88
|
+
path: `/oauthClients/{clientId}`.replace(`{${"clientId"}}`, encodeURIComponent(String(requestParameters['clientId']))),
|
|
89
|
+
method: 'DELETE',
|
|
90
|
+
headers: headerParameters,
|
|
91
|
+
query: queryParameters,
|
|
92
|
+
}, initOverrides);
|
|
93
|
+
|
|
94
|
+
return new runtime.VoidApiResponse(response);
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
/**
|
|
98
|
+
* Delete OAuth client
|
|
99
|
+
*/
|
|
100
|
+
async deleteOrganization(requestParameters: DeleteOrganizationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void> {
|
|
101
|
+
await this.deleteOrganizationRaw(requestParameters, initOverrides);
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
/**
|
|
105
|
+
* Get detailed information about an OAuth client.
|
|
61
106
|
*/
|
|
62
107
|
async getOAuthClientRaw(requestParameters: GetOAuthClientRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<OAuthClient>> {
|
|
63
108
|
if (requestParameters['clientId'] == null) {
|
|
@@ -91,7 +136,7 @@ export class OAuthApi extends runtime.BaseAPI {
|
|
|
91
136
|
}
|
|
92
137
|
|
|
93
138
|
/**
|
|
94
|
-
* Get detailed information about an
|
|
139
|
+
* Get detailed information about an OAuth client.
|
|
95
140
|
*/
|
|
96
141
|
async getOAuthClient(requestParameters: GetOAuthClientRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<OAuthClient> {
|
|
97
142
|
const response = await this.getOAuthClientRaw(requestParameters, initOverrides);
|
|
@@ -186,7 +231,7 @@ export class OAuthApi extends runtime.BaseAPI {
|
|
|
186
231
|
}
|
|
187
232
|
|
|
188
233
|
/**
|
|
189
|
-
* Update an
|
|
234
|
+
* Update an OAuth client
|
|
190
235
|
*/
|
|
191
236
|
async updateOAuthClientRaw(requestParameters: UpdateOAuthClientRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<OAuthClientUpdated>> {
|
|
192
237
|
if (requestParameters['clientId'] == null) {
|
|
@@ -230,7 +275,7 @@ export class OAuthApi extends runtime.BaseAPI {
|
|
|
230
275
|
}
|
|
231
276
|
|
|
232
277
|
/**
|
|
233
|
-
* Update an
|
|
278
|
+
* Update an OAuth client
|
|
234
279
|
*/
|
|
235
280
|
async updateOAuthClient(requestParameters: UpdateOAuthClientRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<OAuthClientUpdated> {
|
|
236
281
|
const response = await this.updateOAuthClientRaw(requestParameters, initOverrides);
|
|
@@ -118,7 +118,7 @@ export interface DeactivateUserServiceRequest {
|
|
|
118
118
|
serviceCode: string;
|
|
119
119
|
}
|
|
120
120
|
|
|
121
|
-
export interface
|
|
121
|
+
export interface DeleteOrganization1Request {
|
|
122
122
|
uuid: string;
|
|
123
123
|
}
|
|
124
124
|
|
|
@@ -658,11 +658,11 @@ export class OrganizationApi extends runtime.BaseAPI {
|
|
|
658
658
|
/**
|
|
659
659
|
* Delete organization
|
|
660
660
|
*/
|
|
661
|
-
async
|
|
661
|
+
async deleteOrganization1Raw(requestParameters: DeleteOrganization1Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>> {
|
|
662
662
|
if (requestParameters['uuid'] == null) {
|
|
663
663
|
throw new runtime.RequiredError(
|
|
664
664
|
'uuid',
|
|
665
|
-
'Required parameter "uuid" was null or undefined when calling
|
|
665
|
+
'Required parameter "uuid" was null or undefined when calling deleteOrganization1().'
|
|
666
666
|
);
|
|
667
667
|
}
|
|
668
668
|
|
|
@@ -692,8 +692,8 @@ export class OrganizationApi extends runtime.BaseAPI {
|
|
|
692
692
|
/**
|
|
693
693
|
* Delete organization
|
|
694
694
|
*/
|
|
695
|
-
async
|
|
696
|
-
await this.
|
|
695
|
+
async deleteOrganization1(requestParameters: DeleteOrganization1Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void> {
|
|
696
|
+
await this.deleteOrganization1Raw(requestParameters, initOverrides);
|
|
697
697
|
}
|
|
698
698
|
|
|
699
699
|
/**
|