@meeco/svx-api-sdk 1.0.0-stage.20231129111134.b1ab71a → 1.0.0-stage.20231211153548.58a6d84
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 +4 -0
- package/lib/esm/apis/ConnectionsApi.js +5 -2
- package/lib/esm/models/ATOMCreateOrUpdateOrgRequest.js +2 -0
- package/lib/esm/models/ATOMOrg.js +2 -0
- package/lib/esm/models/IDPClientModelDto.js +6 -0
- package/lib/esm/models/IDPCreateClientDto.js +85 -0
- package/lib/esm/models/IDPCreateClientPayloadDto.js +44 -0
- package/lib/esm/models/IDPUpdateClientDto.js +61 -0
- package/lib/esm/models/IDPUpdateClientPayloadDto.js +44 -0
- package/lib/esm/models/index.js +4 -0
- package/lib/types/apis/ConnectionsApi.d.ts +2 -1
- package/lib/types/models/ATOMCreateOrUpdateOrgRequest.d.ts +6 -0
- package/lib/types/models/ATOMOrg.d.ts +6 -0
- package/lib/types/models/IDPClientModelDto.d.ts +12 -0
- package/lib/types/models/IDPCreateClientDto.d.ts +102 -0
- package/lib/types/models/IDPCreateClientPayloadDto.d.ts +32 -0
- package/lib/types/models/IDPUpdateClientDto.d.ts +70 -0
- package/lib/types/models/IDPUpdateClientPayloadDto.d.ts +32 -0
- package/lib/types/models/index.d.ts +4 -0
- package/lib/umd/apis/ConnectionsApi.js +5 -2
- package/lib/umd/models/ATOMCreateOrUpdateOrgRequest.js +2 -0
- package/lib/umd/models/ATOMOrg.js +2 -0
- package/lib/umd/models/IDPClientModelDto.js +6 -0
- package/lib/umd/models/IDPCreateClientDto.js +92 -0
- package/lib/umd/models/IDPCreateClientPayloadDto.js +51 -0
- package/lib/umd/models/IDPUpdateClientDto.js +68 -0
- package/lib/umd/models/IDPUpdateClientPayloadDto.js +51 -0
- package/lib/umd/models/index.js +4 -0
- package/package.json +1 -1
package/.openapi-generator/FILES
CHANGED
|
@@ -156,6 +156,8 @@ models/IDPAuthorisationSiopSessionRequestPayloadDto.ts
|
|
|
156
156
|
models/IDPClientModelDto.ts
|
|
157
157
|
models/IDPClientResponseDto.ts
|
|
158
158
|
models/IDPClientsResponseDto.ts
|
|
159
|
+
models/IDPCreateClientDto.ts
|
|
160
|
+
models/IDPCreateClientPayloadDto.ts
|
|
159
161
|
models/IDPCreateInvitationDto.ts
|
|
160
162
|
models/IDPCreateInvitationPayloadDto.ts
|
|
161
163
|
models/IDPEndUserInvitationResponseDto.ts
|
|
@@ -176,6 +178,8 @@ models/IDPJwtIssuerJWKSKeys.ts
|
|
|
176
178
|
models/IDPJwtIssuerResponseDto.ts
|
|
177
179
|
models/IDPLoginRequestDto.ts
|
|
178
180
|
models/IDPMeta.ts
|
|
181
|
+
models/IDPUpdateClientDto.ts
|
|
182
|
+
models/IDPUpdateClientPayloadDto.ts
|
|
179
183
|
models/IDPUserDto.ts
|
|
180
184
|
models/IDPUserResponseDto.ts
|
|
181
185
|
models/IDPWhoAmIResponseModelDto.ts
|
|
@@ -217,6 +217,9 @@ export class ConnectionsApi extends runtime.BaseAPI {
|
|
|
217
217
|
if (requestParameters.perPage !== undefined) {
|
|
218
218
|
queryParameters['per_page'] = requestParameters.perPage;
|
|
219
219
|
}
|
|
220
|
+
if (requestParameters.page !== undefined) {
|
|
221
|
+
queryParameters['page'] = requestParameters.page;
|
|
222
|
+
}
|
|
220
223
|
const headerParameters = {};
|
|
221
224
|
if (requestParameters.meecoDelegationId !== undefined && requestParameters.meecoDelegationId !== null) {
|
|
222
225
|
headerParameters['Meeco-Delegation-Id'] = String(requestParameters.meecoDelegationId);
|
|
@@ -244,9 +247,9 @@ export class ConnectionsApi extends runtime.BaseAPI {
|
|
|
244
247
|
* Retrieves invitations that the current user has created. Parameter `state` fetches invitations with a certain state. Currenty there are 6 states: * `new` * `connected` * `rejected` * `accepted` * `cancelled` * `expired` If parameter `state` is not submitted, only invitations with states `new`, `accepted` and `rejected` are fetched.
|
|
245
248
|
* List invitations
|
|
246
249
|
*/
|
|
247
|
-
invitationsGet(state, nextPageAfter, perPage, meecoDelegationId, meecoOrganisationId, initOverrides) {
|
|
250
|
+
invitationsGet(state, nextPageAfter, perPage, page, meecoDelegationId, meecoOrganisationId, initOverrides) {
|
|
248
251
|
return __awaiter(this, void 0, void 0, function* () {
|
|
249
|
-
const response = yield this.invitationsGetRaw({ state: state, nextPageAfter: nextPageAfter, perPage: perPage, meecoDelegationId: meecoDelegationId, meecoOrganisationId: meecoOrganisationId }, initOverrides);
|
|
252
|
+
const response = yield this.invitationsGetRaw({ state: state, nextPageAfter: nextPageAfter, perPage: perPage, page: page, meecoDelegationId: meecoDelegationId, meecoOrganisationId: meecoOrganisationId }, initOverrides);
|
|
250
253
|
return yield response.value();
|
|
251
254
|
});
|
|
252
255
|
}
|
|
@@ -34,6 +34,7 @@ export function ATOMCreateOrUpdateOrgRequestFromJSONTyped(json, ignoreDiscrimina
|
|
|
34
34
|
'business_address': !exists(json, 'business_address') ? undefined : json['business_address'],
|
|
35
35
|
'color': !exists(json, 'color') ? undefined : json['color'],
|
|
36
36
|
'company_number': !exists(json, 'company_number') ? undefined : json['company_number'],
|
|
37
|
+
'company_url': !exists(json, 'company_url') ? undefined : json['company_url'],
|
|
37
38
|
'legal_name': !exists(json, 'legal_name') ? undefined : json['legal_name'],
|
|
38
39
|
'lei_number': !exists(json, 'lei_number') ? undefined : json['lei_number'],
|
|
39
40
|
'logo_url': !exists(json, 'logo_url') ? undefined : json['logo_url'],
|
|
@@ -56,6 +57,7 @@ export function ATOMCreateOrUpdateOrgRequestToJSON(value) {
|
|
|
56
57
|
'business_address': value.business_address,
|
|
57
58
|
'color': value.color,
|
|
58
59
|
'company_number': value.company_number,
|
|
60
|
+
'company_url': value.company_url,
|
|
59
61
|
'legal_name': value.legal_name,
|
|
60
62
|
'lei_number': value.lei_number,
|
|
61
63
|
'logo_url': value.logo_url,
|
|
@@ -38,6 +38,7 @@ export function ATOMOrgFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
38
38
|
'business_address': !exists(json, 'business_address') ? undefined : json['business_address'],
|
|
39
39
|
'color': !exists(json, 'color') ? undefined : json['color'],
|
|
40
40
|
'company_number': !exists(json, 'company_number') ? undefined : json['company_number'],
|
|
41
|
+
'company_url': !exists(json, 'company_url') ? undefined : json['company_url'],
|
|
41
42
|
'created_at': !exists(json, 'created_at') ? undefined : (new Date(json['created_at'])),
|
|
42
43
|
'id': json['id'],
|
|
43
44
|
'legal_name': !exists(json, 'legal_name') ? undefined : json['legal_name'],
|
|
@@ -66,6 +67,7 @@ export function ATOMOrgToJSON(value) {
|
|
|
66
67
|
'business_address': value.business_address,
|
|
67
68
|
'color': value.color,
|
|
68
69
|
'company_number': value.company_number,
|
|
70
|
+
'company_url': value.company_url,
|
|
69
71
|
'created_at': value.created_at === undefined ? undefined : (value.created_at.toISOString()),
|
|
70
72
|
'id': value.id,
|
|
71
73
|
'legal_name': value.legal_name,
|
|
@@ -27,6 +27,8 @@ export function instanceOfIDPClientModelDto(value) {
|
|
|
27
27
|
isInstance = isInstance && "is_active" in value;
|
|
28
28
|
isInstance = isInstance && "created_at" in value;
|
|
29
29
|
isInstance = isInstance && "updated_at" in value;
|
|
30
|
+
isInstance = isInstance && "auth_method" in value;
|
|
31
|
+
isInstance = isInstance && "application_base_url" in value;
|
|
30
32
|
return isInstance;
|
|
31
33
|
}
|
|
32
34
|
export function IDPClientModelDtoFromJSON(json) {
|
|
@@ -48,6 +50,8 @@ export function IDPClientModelDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
48
50
|
'is_active': json['is_active'],
|
|
49
51
|
'created_at': (new Date(json['created_at'])),
|
|
50
52
|
'updated_at': (new Date(json['updated_at'])),
|
|
53
|
+
'auth_method': json['auth_method'],
|
|
54
|
+
'application_base_url': json['application_base_url'],
|
|
51
55
|
};
|
|
52
56
|
}
|
|
53
57
|
export function IDPClientModelDtoToJSON(value) {
|
|
@@ -69,5 +73,7 @@ export function IDPClientModelDtoToJSON(value) {
|
|
|
69
73
|
'is_active': value.is_active,
|
|
70
74
|
'created_at': (value.created_at.toISOString()),
|
|
71
75
|
'updated_at': (value.updated_at.toISOString()),
|
|
76
|
+
'auth_method': value.auth_method,
|
|
77
|
+
'application_base_url': value.application_base_url,
|
|
72
78
|
};
|
|
73
79
|
}
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* SVX API
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.3.1
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
* @export
|
|
16
|
+
*/
|
|
17
|
+
export const IDPCreateClientDtoTypeEnum = {
|
|
18
|
+
User: 'user',
|
|
19
|
+
Agent: 'agent'
|
|
20
|
+
};
|
|
21
|
+
/**
|
|
22
|
+
* @export
|
|
23
|
+
*/
|
|
24
|
+
export const IDPCreateClientDtoTokenEndpointAuthMethodEnum = {
|
|
25
|
+
ClientSecretBasic: 'client_secret_basic',
|
|
26
|
+
ClientSecretPost: 'client_secret_post',
|
|
27
|
+
None: 'none'
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Check if a given object implements the IDPCreateClientDto interface.
|
|
31
|
+
*/
|
|
32
|
+
export function instanceOfIDPCreateClientDto(value) {
|
|
33
|
+
let isInstance = true;
|
|
34
|
+
isInstance = isInstance && "id" in value;
|
|
35
|
+
isInstance = isInstance && "name" in value;
|
|
36
|
+
isInstance = isInstance && "description" in value;
|
|
37
|
+
isInstance = isInstance && "scopes" in value;
|
|
38
|
+
isInstance = isInstance && "redirects" in value;
|
|
39
|
+
isInstance = isInstance && "logout_redirects" in value;
|
|
40
|
+
isInstance = isInstance && "type" in value;
|
|
41
|
+
isInstance = isInstance && "is_active" in value;
|
|
42
|
+
isInstance = isInstance && "application_base_url" in value;
|
|
43
|
+
isInstance = isInstance && "token_endpoint_auth_method" in value;
|
|
44
|
+
return isInstance;
|
|
45
|
+
}
|
|
46
|
+
export function IDPCreateClientDtoFromJSON(json) {
|
|
47
|
+
return IDPCreateClientDtoFromJSONTyped(json, false);
|
|
48
|
+
}
|
|
49
|
+
export function IDPCreateClientDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
50
|
+
if ((json === undefined) || (json === null)) {
|
|
51
|
+
return json;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
'id': json['id'],
|
|
55
|
+
'name': json['name'],
|
|
56
|
+
'description': json['description'],
|
|
57
|
+
'scopes': json['scopes'],
|
|
58
|
+
'redirects': json['redirects'],
|
|
59
|
+
'logout_redirects': json['logout_redirects'],
|
|
60
|
+
'type': json['type'],
|
|
61
|
+
'is_active': json['is_active'],
|
|
62
|
+
'application_base_url': json['application_base_url'],
|
|
63
|
+
'token_endpoint_auth_method': json['token_endpoint_auth_method'],
|
|
64
|
+
};
|
|
65
|
+
}
|
|
66
|
+
export function IDPCreateClientDtoToJSON(value) {
|
|
67
|
+
if (value === undefined) {
|
|
68
|
+
return undefined;
|
|
69
|
+
}
|
|
70
|
+
if (value === null) {
|
|
71
|
+
return null;
|
|
72
|
+
}
|
|
73
|
+
return {
|
|
74
|
+
'id': value.id,
|
|
75
|
+
'name': value.name,
|
|
76
|
+
'description': value.description,
|
|
77
|
+
'scopes': value.scopes,
|
|
78
|
+
'redirects': value.redirects,
|
|
79
|
+
'logout_redirects': value.logout_redirects,
|
|
80
|
+
'type': value.type,
|
|
81
|
+
'is_active': value.is_active,
|
|
82
|
+
'application_base_url': value.application_base_url,
|
|
83
|
+
'token_endpoint_auth_method': value.token_endpoint_auth_method,
|
|
84
|
+
};
|
|
85
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* SVX API
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.3.1
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
import { IDPCreateClientDtoFromJSON, IDPCreateClientDtoToJSON, } from './IDPCreateClientDto';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the IDPCreateClientPayloadDto interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfIDPCreateClientPayloadDto(value) {
|
|
19
|
+
let isInstance = true;
|
|
20
|
+
isInstance = isInstance && "client" in value;
|
|
21
|
+
return isInstance;
|
|
22
|
+
}
|
|
23
|
+
export function IDPCreateClientPayloadDtoFromJSON(json) {
|
|
24
|
+
return IDPCreateClientPayloadDtoFromJSONTyped(json, false);
|
|
25
|
+
}
|
|
26
|
+
export function IDPCreateClientPayloadDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
27
|
+
if ((json === undefined) || (json === null)) {
|
|
28
|
+
return json;
|
|
29
|
+
}
|
|
30
|
+
return {
|
|
31
|
+
'client': IDPCreateClientDtoFromJSON(json['client']),
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
export function IDPCreateClientPayloadDtoToJSON(value) {
|
|
35
|
+
if (value === undefined) {
|
|
36
|
+
return undefined;
|
|
37
|
+
}
|
|
38
|
+
if (value === null) {
|
|
39
|
+
return null;
|
|
40
|
+
}
|
|
41
|
+
return {
|
|
42
|
+
'client': IDPCreateClientDtoToJSON(value.client),
|
|
43
|
+
};
|
|
44
|
+
}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* SVX API
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.3.1
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
import { exists } from '../runtime';
|
|
15
|
+
/**
|
|
16
|
+
* @export
|
|
17
|
+
*/
|
|
18
|
+
export const IDPUpdateClientDtoTokenEndpointAuthMethodEnum = {
|
|
19
|
+
ClientSecretBasic: 'client_secret_basic',
|
|
20
|
+
ClientSecretPost: 'client_secret_post',
|
|
21
|
+
None: 'none'
|
|
22
|
+
};
|
|
23
|
+
/**
|
|
24
|
+
* Check if a given object implements the IDPUpdateClientDto interface.
|
|
25
|
+
*/
|
|
26
|
+
export function instanceOfIDPUpdateClientDto(value) {
|
|
27
|
+
let isInstance = true;
|
|
28
|
+
return isInstance;
|
|
29
|
+
}
|
|
30
|
+
export function IDPUpdateClientDtoFromJSON(json) {
|
|
31
|
+
return IDPUpdateClientDtoFromJSONTyped(json, false);
|
|
32
|
+
}
|
|
33
|
+
export function IDPUpdateClientDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
34
|
+
if ((json === undefined) || (json === null)) {
|
|
35
|
+
return json;
|
|
36
|
+
}
|
|
37
|
+
return {
|
|
38
|
+
'scopes': !exists(json, 'scopes') ? undefined : json['scopes'],
|
|
39
|
+
'redirects': !exists(json, 'redirects') ? undefined : json['redirects'],
|
|
40
|
+
'logout_redirects': !exists(json, 'logout_redirects') ? undefined : json['logout_redirects'],
|
|
41
|
+
'is_active': !exists(json, 'is_active') ? undefined : json['is_active'],
|
|
42
|
+
'application_base_url': !exists(json, 'application_base_url') ? undefined : json['application_base_url'],
|
|
43
|
+
'token_endpoint_auth_method': !exists(json, 'token_endpoint_auth_method') ? undefined : json['token_endpoint_auth_method'],
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
export function IDPUpdateClientDtoToJSON(value) {
|
|
47
|
+
if (value === undefined) {
|
|
48
|
+
return undefined;
|
|
49
|
+
}
|
|
50
|
+
if (value === null) {
|
|
51
|
+
return null;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
'scopes': value.scopes,
|
|
55
|
+
'redirects': value.redirects,
|
|
56
|
+
'logout_redirects': value.logout_redirects,
|
|
57
|
+
'is_active': value.is_active,
|
|
58
|
+
'application_base_url': value.application_base_url,
|
|
59
|
+
'token_endpoint_auth_method': value.token_endpoint_auth_method,
|
|
60
|
+
};
|
|
61
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* SVX API
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.3.1
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
import { IDPUpdateClientDtoFromJSON, IDPUpdateClientDtoToJSON, } from './IDPUpdateClientDto';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the IDPUpdateClientPayloadDto interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfIDPUpdateClientPayloadDto(value) {
|
|
19
|
+
let isInstance = true;
|
|
20
|
+
isInstance = isInstance && "client" in value;
|
|
21
|
+
return isInstance;
|
|
22
|
+
}
|
|
23
|
+
export function IDPUpdateClientPayloadDtoFromJSON(json) {
|
|
24
|
+
return IDPUpdateClientPayloadDtoFromJSONTyped(json, false);
|
|
25
|
+
}
|
|
26
|
+
export function IDPUpdateClientPayloadDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
27
|
+
if ((json === undefined) || (json === null)) {
|
|
28
|
+
return json;
|
|
29
|
+
}
|
|
30
|
+
return {
|
|
31
|
+
'client': IDPUpdateClientDtoFromJSON(json['client']),
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
export function IDPUpdateClientPayloadDtoToJSON(value) {
|
|
35
|
+
if (value === undefined) {
|
|
36
|
+
return undefined;
|
|
37
|
+
}
|
|
38
|
+
if (value === null) {
|
|
39
|
+
return null;
|
|
40
|
+
}
|
|
41
|
+
return {
|
|
42
|
+
'client': IDPUpdateClientDtoToJSON(value.client),
|
|
43
|
+
};
|
|
44
|
+
}
|
package/lib/esm/models/index.js
CHANGED
|
@@ -139,6 +139,8 @@ export * from './IDPAuthorisationSiopSessionRequestPayloadDto';
|
|
|
139
139
|
export * from './IDPClientModelDto';
|
|
140
140
|
export * from './IDPClientResponseDto';
|
|
141
141
|
export * from './IDPClientsResponseDto';
|
|
142
|
+
export * from './IDPCreateClientDto';
|
|
143
|
+
export * from './IDPCreateClientPayloadDto';
|
|
142
144
|
export * from './IDPCreateInvitationDto';
|
|
143
145
|
export * from './IDPCreateInvitationPayloadDto';
|
|
144
146
|
export * from './IDPEndUserInvitationResponseDto';
|
|
@@ -159,6 +161,8 @@ export * from './IDPJwtIssuerJWKSKeys';
|
|
|
159
161
|
export * from './IDPJwtIssuerResponseDto';
|
|
160
162
|
export * from './IDPLoginRequestDto';
|
|
161
163
|
export * from './IDPMeta';
|
|
164
|
+
export * from './IDPUpdateClientDto';
|
|
165
|
+
export * from './IDPUpdateClientPayloadDto';
|
|
162
166
|
export * from './IDPUserDto';
|
|
163
167
|
export * from './IDPUserResponseDto';
|
|
164
168
|
export * from './IDPWhoAmIResponseModelDto';
|
|
@@ -38,6 +38,7 @@ export interface InvitationsGetRequest {
|
|
|
38
38
|
state?: string;
|
|
39
39
|
nextPageAfter?: string;
|
|
40
40
|
perPage?: number;
|
|
41
|
+
page?: number;
|
|
41
42
|
meecoDelegationId?: string;
|
|
42
43
|
meecoOrganisationId?: string;
|
|
43
44
|
}
|
|
@@ -127,7 +128,7 @@ export declare class ConnectionsApi extends runtime.BaseAPI {
|
|
|
127
128
|
* Retrieves invitations that the current user has created. Parameter `state` fetches invitations with a certain state. Currenty there are 6 states: * `new` * `connected` * `rejected` * `accepted` * `cancelled` * `expired` If parameter `state` is not submitted, only invitations with states `new`, `accepted` and `rejected` are fetched.
|
|
128
129
|
* List invitations
|
|
129
130
|
*/
|
|
130
|
-
invitationsGet(state?: string, nextPageAfter?: string, perPage?: number, meecoDelegationId?: string, meecoOrganisationId?: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<InvitationsResponse>;
|
|
131
|
+
invitationsGet(state?: string, nextPageAfter?: string, perPage?: number, page?: number, meecoDelegationId?: string, meecoOrganisationId?: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<InvitationsResponse>;
|
|
131
132
|
/**
|
|
132
133
|
* Delete an invitation by its token or ID. Only the user who created the invitation may delete it.
|
|
133
134
|
* Delete an invitation
|
|
@@ -51,6 +51,12 @@ export interface ATOMCreateOrUpdateOrgRequest {
|
|
|
51
51
|
* @memberof ATOMCreateOrUpdateOrgRequest
|
|
52
52
|
*/
|
|
53
53
|
company_number?: string;
|
|
54
|
+
/**
|
|
55
|
+
* URL of the company
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof ATOMCreateOrUpdateOrgRequest
|
|
58
|
+
*/
|
|
59
|
+
company_url?: string | null;
|
|
54
60
|
/**
|
|
55
61
|
* Legal number
|
|
56
62
|
* @type {string}
|
|
@@ -57,6 +57,12 @@ export interface ATOMOrg {
|
|
|
57
57
|
* @memberof ATOMOrg
|
|
58
58
|
*/
|
|
59
59
|
company_number?: string | null;
|
|
60
|
+
/**
|
|
61
|
+
* URL of the company
|
|
62
|
+
* @type {string}
|
|
63
|
+
* @memberof ATOMOrg
|
|
64
|
+
*/
|
|
65
|
+
company_url?: string | null;
|
|
60
66
|
/**
|
|
61
67
|
* When the organisation was created
|
|
62
68
|
* @type {Date}
|
|
@@ -81,6 +81,18 @@ export interface IDPClientModelDto {
|
|
|
81
81
|
* @memberof IDPClientModelDto
|
|
82
82
|
*/
|
|
83
83
|
updated_at: Date;
|
|
84
|
+
/**
|
|
85
|
+
*
|
|
86
|
+
* @type {string}
|
|
87
|
+
* @memberof IDPClientModelDto
|
|
88
|
+
*/
|
|
89
|
+
auth_method: string;
|
|
90
|
+
/**
|
|
91
|
+
*
|
|
92
|
+
* @type {string}
|
|
93
|
+
* @memberof IDPClientModelDto
|
|
94
|
+
*/
|
|
95
|
+
application_base_url: string;
|
|
84
96
|
}
|
|
85
97
|
/**
|
|
86
98
|
* Check if a given object implements the IDPClientModelDto interface.
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* SVX API
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.3.1
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface IDPCreateClientDto
|
|
16
|
+
*/
|
|
17
|
+
export interface IDPCreateClientDto {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof IDPCreateClientDto
|
|
22
|
+
*/
|
|
23
|
+
id: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof IDPCreateClientDto
|
|
28
|
+
*/
|
|
29
|
+
name: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof IDPCreateClientDto
|
|
34
|
+
*/
|
|
35
|
+
description: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof IDPCreateClientDto
|
|
40
|
+
*/
|
|
41
|
+
scopes: string;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {Array<string>}
|
|
45
|
+
* @memberof IDPCreateClientDto
|
|
46
|
+
*/
|
|
47
|
+
redirects: Array<string>;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {Array<string>}
|
|
51
|
+
* @memberof IDPCreateClientDto
|
|
52
|
+
*/
|
|
53
|
+
logout_redirects: Array<string>;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof IDPCreateClientDto
|
|
58
|
+
*/
|
|
59
|
+
type: IDPCreateClientDtoTypeEnum;
|
|
60
|
+
/**
|
|
61
|
+
*
|
|
62
|
+
* @type {boolean}
|
|
63
|
+
* @memberof IDPCreateClientDto
|
|
64
|
+
*/
|
|
65
|
+
is_active: boolean;
|
|
66
|
+
/**
|
|
67
|
+
*
|
|
68
|
+
* @type {string}
|
|
69
|
+
* @memberof IDPCreateClientDto
|
|
70
|
+
*/
|
|
71
|
+
application_base_url: string;
|
|
72
|
+
/**
|
|
73
|
+
*
|
|
74
|
+
* @type {string}
|
|
75
|
+
* @memberof IDPCreateClientDto
|
|
76
|
+
*/
|
|
77
|
+
token_endpoint_auth_method: IDPCreateClientDtoTokenEndpointAuthMethodEnum;
|
|
78
|
+
}
|
|
79
|
+
/**
|
|
80
|
+
* @export
|
|
81
|
+
*/
|
|
82
|
+
export declare const IDPCreateClientDtoTypeEnum: {
|
|
83
|
+
readonly User: "user";
|
|
84
|
+
readonly Agent: "agent";
|
|
85
|
+
};
|
|
86
|
+
export type IDPCreateClientDtoTypeEnum = typeof IDPCreateClientDtoTypeEnum[keyof typeof IDPCreateClientDtoTypeEnum];
|
|
87
|
+
/**
|
|
88
|
+
* @export
|
|
89
|
+
*/
|
|
90
|
+
export declare const IDPCreateClientDtoTokenEndpointAuthMethodEnum: {
|
|
91
|
+
readonly ClientSecretBasic: "client_secret_basic";
|
|
92
|
+
readonly ClientSecretPost: "client_secret_post";
|
|
93
|
+
readonly None: "none";
|
|
94
|
+
};
|
|
95
|
+
export type IDPCreateClientDtoTokenEndpointAuthMethodEnum = typeof IDPCreateClientDtoTokenEndpointAuthMethodEnum[keyof typeof IDPCreateClientDtoTokenEndpointAuthMethodEnum];
|
|
96
|
+
/**
|
|
97
|
+
* Check if a given object implements the IDPCreateClientDto interface.
|
|
98
|
+
*/
|
|
99
|
+
export declare function instanceOfIDPCreateClientDto(value: object): boolean;
|
|
100
|
+
export declare function IDPCreateClientDtoFromJSON(json: any): IDPCreateClientDto;
|
|
101
|
+
export declare function IDPCreateClientDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): IDPCreateClientDto;
|
|
102
|
+
export declare function IDPCreateClientDtoToJSON(value?: IDPCreateClientDto | null): any;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* SVX API
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.3.1
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { IDPCreateClientDto } from './IDPCreateClientDto';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface IDPCreateClientPayloadDto
|
|
17
|
+
*/
|
|
18
|
+
export interface IDPCreateClientPayloadDto {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {IDPCreateClientDto}
|
|
22
|
+
* @memberof IDPCreateClientPayloadDto
|
|
23
|
+
*/
|
|
24
|
+
client: IDPCreateClientDto;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Check if a given object implements the IDPCreateClientPayloadDto interface.
|
|
28
|
+
*/
|
|
29
|
+
export declare function instanceOfIDPCreateClientPayloadDto(value: object): boolean;
|
|
30
|
+
export declare function IDPCreateClientPayloadDtoFromJSON(json: any): IDPCreateClientPayloadDto;
|
|
31
|
+
export declare function IDPCreateClientPayloadDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): IDPCreateClientPayloadDto;
|
|
32
|
+
export declare function IDPCreateClientPayloadDtoToJSON(value?: IDPCreateClientPayloadDto | null): any;
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* SVX API
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.3.1
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface IDPUpdateClientDto
|
|
16
|
+
*/
|
|
17
|
+
export interface IDPUpdateClientDto {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof IDPUpdateClientDto
|
|
22
|
+
*/
|
|
23
|
+
scopes?: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {Array<string>}
|
|
27
|
+
* @memberof IDPUpdateClientDto
|
|
28
|
+
*/
|
|
29
|
+
redirects?: Array<string>;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {Array<string>}
|
|
33
|
+
* @memberof IDPUpdateClientDto
|
|
34
|
+
*/
|
|
35
|
+
logout_redirects?: Array<string>;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {boolean}
|
|
39
|
+
* @memberof IDPUpdateClientDto
|
|
40
|
+
*/
|
|
41
|
+
is_active?: boolean;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof IDPUpdateClientDto
|
|
46
|
+
*/
|
|
47
|
+
application_base_url?: string;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof IDPUpdateClientDto
|
|
52
|
+
*/
|
|
53
|
+
token_endpoint_auth_method?: IDPUpdateClientDtoTokenEndpointAuthMethodEnum;
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* @export
|
|
57
|
+
*/
|
|
58
|
+
export declare const IDPUpdateClientDtoTokenEndpointAuthMethodEnum: {
|
|
59
|
+
readonly ClientSecretBasic: "client_secret_basic";
|
|
60
|
+
readonly ClientSecretPost: "client_secret_post";
|
|
61
|
+
readonly None: "none";
|
|
62
|
+
};
|
|
63
|
+
export type IDPUpdateClientDtoTokenEndpointAuthMethodEnum = typeof IDPUpdateClientDtoTokenEndpointAuthMethodEnum[keyof typeof IDPUpdateClientDtoTokenEndpointAuthMethodEnum];
|
|
64
|
+
/**
|
|
65
|
+
* Check if a given object implements the IDPUpdateClientDto interface.
|
|
66
|
+
*/
|
|
67
|
+
export declare function instanceOfIDPUpdateClientDto(value: object): boolean;
|
|
68
|
+
export declare function IDPUpdateClientDtoFromJSON(json: any): IDPUpdateClientDto;
|
|
69
|
+
export declare function IDPUpdateClientDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): IDPUpdateClientDto;
|
|
70
|
+
export declare function IDPUpdateClientDtoToJSON(value?: IDPUpdateClientDto | null): any;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* SVX API
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.3.1
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { IDPUpdateClientDto } from './IDPUpdateClientDto';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface IDPUpdateClientPayloadDto
|
|
17
|
+
*/
|
|
18
|
+
export interface IDPUpdateClientPayloadDto {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {IDPUpdateClientDto}
|
|
22
|
+
* @memberof IDPUpdateClientPayloadDto
|
|
23
|
+
*/
|
|
24
|
+
client: IDPUpdateClientDto;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Check if a given object implements the IDPUpdateClientPayloadDto interface.
|
|
28
|
+
*/
|
|
29
|
+
export declare function instanceOfIDPUpdateClientPayloadDto(value: object): boolean;
|
|
30
|
+
export declare function IDPUpdateClientPayloadDtoFromJSON(json: any): IDPUpdateClientPayloadDto;
|
|
31
|
+
export declare function IDPUpdateClientPayloadDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): IDPUpdateClientPayloadDto;
|
|
32
|
+
export declare function IDPUpdateClientPayloadDtoToJSON(value?: IDPUpdateClientPayloadDto | null): any;
|
|
@@ -137,6 +137,8 @@ export * from './IDPAuthorisationSiopSessionRequestPayloadDto';
|
|
|
137
137
|
export * from './IDPClientModelDto';
|
|
138
138
|
export * from './IDPClientResponseDto';
|
|
139
139
|
export * from './IDPClientsResponseDto';
|
|
140
|
+
export * from './IDPCreateClientDto';
|
|
141
|
+
export * from './IDPCreateClientPayloadDto';
|
|
140
142
|
export * from './IDPCreateInvitationDto';
|
|
141
143
|
export * from './IDPCreateInvitationPayloadDto';
|
|
142
144
|
export * from './IDPEndUserInvitationResponseDto';
|
|
@@ -157,6 +159,8 @@ export * from './IDPJwtIssuerJWKSKeys';
|
|
|
157
159
|
export * from './IDPJwtIssuerResponseDto';
|
|
158
160
|
export * from './IDPLoginRequestDto';
|
|
159
161
|
export * from './IDPMeta';
|
|
162
|
+
export * from './IDPUpdateClientDto';
|
|
163
|
+
export * from './IDPUpdateClientPayloadDto';
|
|
160
164
|
export * from './IDPUserDto';
|
|
161
165
|
export * from './IDPUserResponseDto';
|
|
162
166
|
export * from './IDPWhoAmIResponseModelDto';
|
|
@@ -243,6 +243,9 @@ class ConnectionsApi extends runtime.BaseAPI {
|
|
|
243
243
|
if (requestParameters.perPage !== undefined) {
|
|
244
244
|
queryParameters['per_page'] = requestParameters.perPage;
|
|
245
245
|
}
|
|
246
|
+
if (requestParameters.page !== undefined) {
|
|
247
|
+
queryParameters['page'] = requestParameters.page;
|
|
248
|
+
}
|
|
246
249
|
const headerParameters = {};
|
|
247
250
|
if (requestParameters.meecoDelegationId !== undefined && requestParameters.meecoDelegationId !== null) {
|
|
248
251
|
headerParameters['Meeco-Delegation-Id'] = String(requestParameters.meecoDelegationId);
|
|
@@ -270,9 +273,9 @@ class ConnectionsApi extends runtime.BaseAPI {
|
|
|
270
273
|
* Retrieves invitations that the current user has created. Parameter `state` fetches invitations with a certain state. Currenty there are 6 states: * `new` * `connected` * `rejected` * `accepted` * `cancelled` * `expired` If parameter `state` is not submitted, only invitations with states `new`, `accepted` and `rejected` are fetched.
|
|
271
274
|
* List invitations
|
|
272
275
|
*/
|
|
273
|
-
invitationsGet(state, nextPageAfter, perPage, meecoDelegationId, meecoOrganisationId, initOverrides) {
|
|
276
|
+
invitationsGet(state, nextPageAfter, perPage, page, meecoDelegationId, meecoOrganisationId, initOverrides) {
|
|
274
277
|
return __awaiter(this, void 0, void 0, function* () {
|
|
275
|
-
const response = yield this.invitationsGetRaw({ state: state, nextPageAfter: nextPageAfter, perPage: perPage, meecoDelegationId: meecoDelegationId, meecoOrganisationId: meecoOrganisationId }, initOverrides);
|
|
278
|
+
const response = yield this.invitationsGetRaw({ state: state, nextPageAfter: nextPageAfter, perPage: perPage, page: page, meecoDelegationId: meecoDelegationId, meecoOrganisationId: meecoOrganisationId }, initOverrides);
|
|
276
279
|
return yield response.value();
|
|
277
280
|
});
|
|
278
281
|
}
|
|
@@ -39,6 +39,7 @@ function ATOMCreateOrUpdateOrgRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
39
39
|
'business_address': !(0, runtime_1.exists)(json, 'business_address') ? undefined : json['business_address'],
|
|
40
40
|
'color': !(0, runtime_1.exists)(json, 'color') ? undefined : json['color'],
|
|
41
41
|
'company_number': !(0, runtime_1.exists)(json, 'company_number') ? undefined : json['company_number'],
|
|
42
|
+
'company_url': !(0, runtime_1.exists)(json, 'company_url') ? undefined : json['company_url'],
|
|
42
43
|
'legal_name': !(0, runtime_1.exists)(json, 'legal_name') ? undefined : json['legal_name'],
|
|
43
44
|
'lei_number': !(0, runtime_1.exists)(json, 'lei_number') ? undefined : json['lei_number'],
|
|
44
45
|
'logo_url': !(0, runtime_1.exists)(json, 'logo_url') ? undefined : json['logo_url'],
|
|
@@ -62,6 +63,7 @@ function ATOMCreateOrUpdateOrgRequestToJSON(value) {
|
|
|
62
63
|
'business_address': value.business_address,
|
|
63
64
|
'color': value.color,
|
|
64
65
|
'company_number': value.company_number,
|
|
66
|
+
'company_url': value.company_url,
|
|
65
67
|
'legal_name': value.legal_name,
|
|
66
68
|
'lei_number': value.lei_number,
|
|
67
69
|
'logo_url': value.logo_url,
|
|
@@ -43,6 +43,7 @@ function ATOMOrgFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
43
43
|
'business_address': !(0, runtime_1.exists)(json, 'business_address') ? undefined : json['business_address'],
|
|
44
44
|
'color': !(0, runtime_1.exists)(json, 'color') ? undefined : json['color'],
|
|
45
45
|
'company_number': !(0, runtime_1.exists)(json, 'company_number') ? undefined : json['company_number'],
|
|
46
|
+
'company_url': !(0, runtime_1.exists)(json, 'company_url') ? undefined : json['company_url'],
|
|
46
47
|
'created_at': !(0, runtime_1.exists)(json, 'created_at') ? undefined : (new Date(json['created_at'])),
|
|
47
48
|
'id': json['id'],
|
|
48
49
|
'legal_name': !(0, runtime_1.exists)(json, 'legal_name') ? undefined : json['legal_name'],
|
|
@@ -72,6 +73,7 @@ function ATOMOrgToJSON(value) {
|
|
|
72
73
|
'business_address': value.business_address,
|
|
73
74
|
'color': value.color,
|
|
74
75
|
'company_number': value.company_number,
|
|
76
|
+
'company_url': value.company_url,
|
|
75
77
|
'created_at': value.created_at === undefined ? undefined : (value.created_at.toISOString()),
|
|
76
78
|
'id': value.id,
|
|
77
79
|
'legal_name': value.legal_name,
|
|
@@ -30,6 +30,8 @@ function instanceOfIDPClientModelDto(value) {
|
|
|
30
30
|
isInstance = isInstance && "is_active" in value;
|
|
31
31
|
isInstance = isInstance && "created_at" in value;
|
|
32
32
|
isInstance = isInstance && "updated_at" in value;
|
|
33
|
+
isInstance = isInstance && "auth_method" in value;
|
|
34
|
+
isInstance = isInstance && "application_base_url" in value;
|
|
33
35
|
return isInstance;
|
|
34
36
|
}
|
|
35
37
|
exports.instanceOfIDPClientModelDto = instanceOfIDPClientModelDto;
|
|
@@ -53,6 +55,8 @@ function IDPClientModelDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
53
55
|
'is_active': json['is_active'],
|
|
54
56
|
'created_at': (new Date(json['created_at'])),
|
|
55
57
|
'updated_at': (new Date(json['updated_at'])),
|
|
58
|
+
'auth_method': json['auth_method'],
|
|
59
|
+
'application_base_url': json['application_base_url'],
|
|
56
60
|
};
|
|
57
61
|
}
|
|
58
62
|
exports.IDPClientModelDtoFromJSONTyped = IDPClientModelDtoFromJSONTyped;
|
|
@@ -75,6 +79,8 @@ function IDPClientModelDtoToJSON(value) {
|
|
|
75
79
|
'is_active': value.is_active,
|
|
76
80
|
'created_at': (value.created_at.toISOString()),
|
|
77
81
|
'updated_at': (value.updated_at.toISOString()),
|
|
82
|
+
'auth_method': value.auth_method,
|
|
83
|
+
'application_base_url': value.application_base_url,
|
|
78
84
|
};
|
|
79
85
|
}
|
|
80
86
|
exports.IDPClientModelDtoToJSON = IDPClientModelDtoToJSON;
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* SVX API
|
|
6
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.3.1
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.IDPCreateClientDtoToJSON = exports.IDPCreateClientDtoFromJSONTyped = exports.IDPCreateClientDtoFromJSON = exports.instanceOfIDPCreateClientDto = exports.IDPCreateClientDtoTokenEndpointAuthMethodEnum = exports.IDPCreateClientDtoTypeEnum = void 0;
|
|
17
|
+
/**
|
|
18
|
+
* @export
|
|
19
|
+
*/
|
|
20
|
+
exports.IDPCreateClientDtoTypeEnum = {
|
|
21
|
+
User: 'user',
|
|
22
|
+
Agent: 'agent'
|
|
23
|
+
};
|
|
24
|
+
/**
|
|
25
|
+
* @export
|
|
26
|
+
*/
|
|
27
|
+
exports.IDPCreateClientDtoTokenEndpointAuthMethodEnum = {
|
|
28
|
+
ClientSecretBasic: 'client_secret_basic',
|
|
29
|
+
ClientSecretPost: 'client_secret_post',
|
|
30
|
+
None: 'none'
|
|
31
|
+
};
|
|
32
|
+
/**
|
|
33
|
+
* Check if a given object implements the IDPCreateClientDto interface.
|
|
34
|
+
*/
|
|
35
|
+
function instanceOfIDPCreateClientDto(value) {
|
|
36
|
+
let isInstance = true;
|
|
37
|
+
isInstance = isInstance && "id" in value;
|
|
38
|
+
isInstance = isInstance && "name" in value;
|
|
39
|
+
isInstance = isInstance && "description" in value;
|
|
40
|
+
isInstance = isInstance && "scopes" in value;
|
|
41
|
+
isInstance = isInstance && "redirects" in value;
|
|
42
|
+
isInstance = isInstance && "logout_redirects" in value;
|
|
43
|
+
isInstance = isInstance && "type" in value;
|
|
44
|
+
isInstance = isInstance && "is_active" in value;
|
|
45
|
+
isInstance = isInstance && "application_base_url" in value;
|
|
46
|
+
isInstance = isInstance && "token_endpoint_auth_method" in value;
|
|
47
|
+
return isInstance;
|
|
48
|
+
}
|
|
49
|
+
exports.instanceOfIDPCreateClientDto = instanceOfIDPCreateClientDto;
|
|
50
|
+
function IDPCreateClientDtoFromJSON(json) {
|
|
51
|
+
return IDPCreateClientDtoFromJSONTyped(json, false);
|
|
52
|
+
}
|
|
53
|
+
exports.IDPCreateClientDtoFromJSON = IDPCreateClientDtoFromJSON;
|
|
54
|
+
function IDPCreateClientDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
55
|
+
if ((json === undefined) || (json === null)) {
|
|
56
|
+
return json;
|
|
57
|
+
}
|
|
58
|
+
return {
|
|
59
|
+
'id': json['id'],
|
|
60
|
+
'name': json['name'],
|
|
61
|
+
'description': json['description'],
|
|
62
|
+
'scopes': json['scopes'],
|
|
63
|
+
'redirects': json['redirects'],
|
|
64
|
+
'logout_redirects': json['logout_redirects'],
|
|
65
|
+
'type': json['type'],
|
|
66
|
+
'is_active': json['is_active'],
|
|
67
|
+
'application_base_url': json['application_base_url'],
|
|
68
|
+
'token_endpoint_auth_method': json['token_endpoint_auth_method'],
|
|
69
|
+
};
|
|
70
|
+
}
|
|
71
|
+
exports.IDPCreateClientDtoFromJSONTyped = IDPCreateClientDtoFromJSONTyped;
|
|
72
|
+
function IDPCreateClientDtoToJSON(value) {
|
|
73
|
+
if (value === undefined) {
|
|
74
|
+
return undefined;
|
|
75
|
+
}
|
|
76
|
+
if (value === null) {
|
|
77
|
+
return null;
|
|
78
|
+
}
|
|
79
|
+
return {
|
|
80
|
+
'id': value.id,
|
|
81
|
+
'name': value.name,
|
|
82
|
+
'description': value.description,
|
|
83
|
+
'scopes': value.scopes,
|
|
84
|
+
'redirects': value.redirects,
|
|
85
|
+
'logout_redirects': value.logout_redirects,
|
|
86
|
+
'type': value.type,
|
|
87
|
+
'is_active': value.is_active,
|
|
88
|
+
'application_base_url': value.application_base_url,
|
|
89
|
+
'token_endpoint_auth_method': value.token_endpoint_auth_method,
|
|
90
|
+
};
|
|
91
|
+
}
|
|
92
|
+
exports.IDPCreateClientDtoToJSON = IDPCreateClientDtoToJSON;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* SVX API
|
|
6
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.3.1
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.IDPCreateClientPayloadDtoToJSON = exports.IDPCreateClientPayloadDtoFromJSONTyped = exports.IDPCreateClientPayloadDtoFromJSON = exports.instanceOfIDPCreateClientPayloadDto = void 0;
|
|
17
|
+
const IDPCreateClientDto_1 = require("./IDPCreateClientDto");
|
|
18
|
+
/**
|
|
19
|
+
* Check if a given object implements the IDPCreateClientPayloadDto interface.
|
|
20
|
+
*/
|
|
21
|
+
function instanceOfIDPCreateClientPayloadDto(value) {
|
|
22
|
+
let isInstance = true;
|
|
23
|
+
isInstance = isInstance && "client" in value;
|
|
24
|
+
return isInstance;
|
|
25
|
+
}
|
|
26
|
+
exports.instanceOfIDPCreateClientPayloadDto = instanceOfIDPCreateClientPayloadDto;
|
|
27
|
+
function IDPCreateClientPayloadDtoFromJSON(json) {
|
|
28
|
+
return IDPCreateClientPayloadDtoFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
exports.IDPCreateClientPayloadDtoFromJSON = IDPCreateClientPayloadDtoFromJSON;
|
|
31
|
+
function IDPCreateClientPayloadDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
+
if ((json === undefined) || (json === null)) {
|
|
33
|
+
return json;
|
|
34
|
+
}
|
|
35
|
+
return {
|
|
36
|
+
'client': (0, IDPCreateClientDto_1.IDPCreateClientDtoFromJSON)(json['client']),
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
exports.IDPCreateClientPayloadDtoFromJSONTyped = IDPCreateClientPayloadDtoFromJSONTyped;
|
|
40
|
+
function IDPCreateClientPayloadDtoToJSON(value) {
|
|
41
|
+
if (value === undefined) {
|
|
42
|
+
return undefined;
|
|
43
|
+
}
|
|
44
|
+
if (value === null) {
|
|
45
|
+
return null;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
'client': (0, IDPCreateClientDto_1.IDPCreateClientDtoToJSON)(value.client),
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
exports.IDPCreateClientPayloadDtoToJSON = IDPCreateClientPayloadDtoToJSON;
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* SVX API
|
|
6
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.3.1
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.IDPUpdateClientDtoToJSON = exports.IDPUpdateClientDtoFromJSONTyped = exports.IDPUpdateClientDtoFromJSON = exports.instanceOfIDPUpdateClientDto = exports.IDPUpdateClientDtoTokenEndpointAuthMethodEnum = void 0;
|
|
17
|
+
const runtime_1 = require("../runtime");
|
|
18
|
+
/**
|
|
19
|
+
* @export
|
|
20
|
+
*/
|
|
21
|
+
exports.IDPUpdateClientDtoTokenEndpointAuthMethodEnum = {
|
|
22
|
+
ClientSecretBasic: 'client_secret_basic',
|
|
23
|
+
ClientSecretPost: 'client_secret_post',
|
|
24
|
+
None: 'none'
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* Check if a given object implements the IDPUpdateClientDto interface.
|
|
28
|
+
*/
|
|
29
|
+
function instanceOfIDPUpdateClientDto(value) {
|
|
30
|
+
let isInstance = true;
|
|
31
|
+
return isInstance;
|
|
32
|
+
}
|
|
33
|
+
exports.instanceOfIDPUpdateClientDto = instanceOfIDPUpdateClientDto;
|
|
34
|
+
function IDPUpdateClientDtoFromJSON(json) {
|
|
35
|
+
return IDPUpdateClientDtoFromJSONTyped(json, false);
|
|
36
|
+
}
|
|
37
|
+
exports.IDPUpdateClientDtoFromJSON = IDPUpdateClientDtoFromJSON;
|
|
38
|
+
function IDPUpdateClientDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
39
|
+
if ((json === undefined) || (json === null)) {
|
|
40
|
+
return json;
|
|
41
|
+
}
|
|
42
|
+
return {
|
|
43
|
+
'scopes': !(0, runtime_1.exists)(json, 'scopes') ? undefined : json['scopes'],
|
|
44
|
+
'redirects': !(0, runtime_1.exists)(json, 'redirects') ? undefined : json['redirects'],
|
|
45
|
+
'logout_redirects': !(0, runtime_1.exists)(json, 'logout_redirects') ? undefined : json['logout_redirects'],
|
|
46
|
+
'is_active': !(0, runtime_1.exists)(json, 'is_active') ? undefined : json['is_active'],
|
|
47
|
+
'application_base_url': !(0, runtime_1.exists)(json, 'application_base_url') ? undefined : json['application_base_url'],
|
|
48
|
+
'token_endpoint_auth_method': !(0, runtime_1.exists)(json, 'token_endpoint_auth_method') ? undefined : json['token_endpoint_auth_method'],
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
exports.IDPUpdateClientDtoFromJSONTyped = IDPUpdateClientDtoFromJSONTyped;
|
|
52
|
+
function IDPUpdateClientDtoToJSON(value) {
|
|
53
|
+
if (value === undefined) {
|
|
54
|
+
return undefined;
|
|
55
|
+
}
|
|
56
|
+
if (value === null) {
|
|
57
|
+
return null;
|
|
58
|
+
}
|
|
59
|
+
return {
|
|
60
|
+
'scopes': value.scopes,
|
|
61
|
+
'redirects': value.redirects,
|
|
62
|
+
'logout_redirects': value.logout_redirects,
|
|
63
|
+
'is_active': value.is_active,
|
|
64
|
+
'application_base_url': value.application_base_url,
|
|
65
|
+
'token_endpoint_auth_method': value.token_endpoint_auth_method,
|
|
66
|
+
};
|
|
67
|
+
}
|
|
68
|
+
exports.IDPUpdateClientDtoToJSON = IDPUpdateClientDtoToJSON;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* SVX API
|
|
6
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.3.1
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.IDPUpdateClientPayloadDtoToJSON = exports.IDPUpdateClientPayloadDtoFromJSONTyped = exports.IDPUpdateClientPayloadDtoFromJSON = exports.instanceOfIDPUpdateClientPayloadDto = void 0;
|
|
17
|
+
const IDPUpdateClientDto_1 = require("./IDPUpdateClientDto");
|
|
18
|
+
/**
|
|
19
|
+
* Check if a given object implements the IDPUpdateClientPayloadDto interface.
|
|
20
|
+
*/
|
|
21
|
+
function instanceOfIDPUpdateClientPayloadDto(value) {
|
|
22
|
+
let isInstance = true;
|
|
23
|
+
isInstance = isInstance && "client" in value;
|
|
24
|
+
return isInstance;
|
|
25
|
+
}
|
|
26
|
+
exports.instanceOfIDPUpdateClientPayloadDto = instanceOfIDPUpdateClientPayloadDto;
|
|
27
|
+
function IDPUpdateClientPayloadDtoFromJSON(json) {
|
|
28
|
+
return IDPUpdateClientPayloadDtoFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
exports.IDPUpdateClientPayloadDtoFromJSON = IDPUpdateClientPayloadDtoFromJSON;
|
|
31
|
+
function IDPUpdateClientPayloadDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
+
if ((json === undefined) || (json === null)) {
|
|
33
|
+
return json;
|
|
34
|
+
}
|
|
35
|
+
return {
|
|
36
|
+
'client': (0, IDPUpdateClientDto_1.IDPUpdateClientDtoFromJSON)(json['client']),
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
exports.IDPUpdateClientPayloadDtoFromJSONTyped = IDPUpdateClientPayloadDtoFromJSONTyped;
|
|
40
|
+
function IDPUpdateClientPayloadDtoToJSON(value) {
|
|
41
|
+
if (value === undefined) {
|
|
42
|
+
return undefined;
|
|
43
|
+
}
|
|
44
|
+
if (value === null) {
|
|
45
|
+
return null;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
'client': (0, IDPUpdateClientDto_1.IDPUpdateClientDtoToJSON)(value.client),
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
exports.IDPUpdateClientPayloadDtoToJSON = IDPUpdateClientPayloadDtoToJSON;
|
package/lib/umd/models/index.js
CHANGED
|
@@ -155,6 +155,8 @@ __exportStar(require("./IDPAuthorisationSiopSessionRequestPayloadDto"), exports)
|
|
|
155
155
|
__exportStar(require("./IDPClientModelDto"), exports);
|
|
156
156
|
__exportStar(require("./IDPClientResponseDto"), exports);
|
|
157
157
|
__exportStar(require("./IDPClientsResponseDto"), exports);
|
|
158
|
+
__exportStar(require("./IDPCreateClientDto"), exports);
|
|
159
|
+
__exportStar(require("./IDPCreateClientPayloadDto"), exports);
|
|
158
160
|
__exportStar(require("./IDPCreateInvitationDto"), exports);
|
|
159
161
|
__exportStar(require("./IDPCreateInvitationPayloadDto"), exports);
|
|
160
162
|
__exportStar(require("./IDPEndUserInvitationResponseDto"), exports);
|
|
@@ -175,6 +177,8 @@ __exportStar(require("./IDPJwtIssuerJWKSKeys"), exports);
|
|
|
175
177
|
__exportStar(require("./IDPJwtIssuerResponseDto"), exports);
|
|
176
178
|
__exportStar(require("./IDPLoginRequestDto"), exports);
|
|
177
179
|
__exportStar(require("./IDPMeta"), exports);
|
|
180
|
+
__exportStar(require("./IDPUpdateClientDto"), exports);
|
|
181
|
+
__exportStar(require("./IDPUpdateClientPayloadDto"), exports);
|
|
178
182
|
__exportStar(require("./IDPUserDto"), exports);
|
|
179
183
|
__exportStar(require("./IDPUserResponseDto"), exports);
|
|
180
184
|
__exportStar(require("./IDPWhoAmIResponseModelDto"), exports);
|
package/package.json
CHANGED