@equisoft/account-service-sdk-typescript 9.9.1-snapshot.20250728203919 → 9.9.1-snapshot.20250805184627
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 +2 -2
- package/dist/apis/OAuthApi.d.ts +12 -12
- package/dist/apis/OAuthApi.js +31 -31
- package/dist/esm/apis/OAuthApi.d.ts +12 -12
- package/dist/esm/apis/OAuthApi.js +32 -32
- package/dist/esm/models/OAuthClient.d.ts +6 -0
- package/dist/esm/models/OAuthClient.js +4 -0
- package/dist/esm/models/OAuthClientListItem.d.ts +12 -0
- package/dist/esm/models/OAuthClientListItem.js +8 -0
- package/dist/esm/models/OAuthClientUpdated.d.ts +32 -0
- package/dist/esm/models/{OAuthClientCreated.js → OAuthClientUpdated.js} +8 -8
- package/dist/esm/models/UpdateOAuthClientPayload.d.ts +101 -0
- package/dist/esm/models/{CreateOrUpdateOAuthClientPayload.js → UpdateOAuthClientPayload.js} +8 -10
- package/dist/esm/models/index.d.ts +2 -2
- package/dist/esm/models/index.js +2 -2
- package/dist/models/OAuthClient.d.ts +6 -0
- package/dist/models/OAuthClient.js +4 -0
- package/dist/models/OAuthClientListItem.d.ts +12 -0
- package/dist/models/OAuthClientListItem.js +8 -0
- package/dist/models/OAuthClientUpdated.d.ts +32 -0
- package/dist/models/{OAuthClientCreated.js → OAuthClientUpdated.js} +13 -13
- package/dist/models/UpdateOAuthClientPayload.d.ts +101 -0
- package/dist/models/{CreateOrUpdateOAuthClientPayload.js → UpdateOAuthClientPayload.js} +13 -15
- package/dist/models/index.d.ts +2 -2
- package/dist/models/index.js +2 -2
- package/package.json +1 -1
- package/src/apis/OAuthApi.ts +49 -49
- package/src/models/OAuthClient.ts +9 -0
- package/src/models/OAuthClientListItem.ts +18 -0
- package/src/models/{OAuthClientCreated.ts → OAuthClientUpdated.ts} +12 -12
- package/src/models/{CreateOrUpdateOAuthClientPayload.ts → UpdateOAuthClientPayload.ts} +23 -31
- package/src/models/index.ts +2 -2
- package/dist/esm/models/CreateOrUpdateOAuthClientPayload.d.ts +0 -107
- package/dist/esm/models/OAuthClientCreated.d.ts +0 -32
- package/dist/models/CreateOrUpdateOAuthClientPayload.d.ts +0 -107
- package/dist/models/OAuthClientCreated.d.ts +0 -32
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* User account and session management
|
|
3
|
+
* Provides HTTP endpoints to manage User Accounts and User Sessions.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 9.9.1-SNAPSHOT
|
|
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 { OAuthClientPublicKey } from './OAuthClientPublicKey';
|
|
13
|
+
/**
|
|
14
|
+
* A request to update an oauth client
|
|
15
|
+
* @export
|
|
16
|
+
* @interface UpdateOAuthClientPayload
|
|
17
|
+
*/
|
|
18
|
+
export interface UpdateOAuthClientPayload {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof UpdateOAuthClientPayload
|
|
23
|
+
*/
|
|
24
|
+
name: string;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {boolean}
|
|
28
|
+
* @memberof UpdateOAuthClientPayload
|
|
29
|
+
*/
|
|
30
|
+
trusted?: boolean | null;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {Array<string>}
|
|
34
|
+
* @memberof UpdateOAuthClientPayload
|
|
35
|
+
*/
|
|
36
|
+
audiences?: Array<string> | null;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {Array<string>}
|
|
40
|
+
* @memberof UpdateOAuthClientPayload
|
|
41
|
+
*/
|
|
42
|
+
redirectUris?: Array<string> | null;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {Array<string>}
|
|
46
|
+
* @memberof UpdateOAuthClientPayload
|
|
47
|
+
*/
|
|
48
|
+
grantTypes?: Array<string> | null;
|
|
49
|
+
/**
|
|
50
|
+
*
|
|
51
|
+
* @type {Array<string>}
|
|
52
|
+
* @memberof UpdateOAuthClientPayload
|
|
53
|
+
*/
|
|
54
|
+
scopes?: Array<string> | null;
|
|
55
|
+
/**
|
|
56
|
+
*
|
|
57
|
+
* @type {string}
|
|
58
|
+
* @memberof UpdateOAuthClientPayload
|
|
59
|
+
*/
|
|
60
|
+
jwksUri?: string | null;
|
|
61
|
+
/**
|
|
62
|
+
*
|
|
63
|
+
* @type {OAuthClientPublicKey}
|
|
64
|
+
* @memberof UpdateOAuthClientPayload
|
|
65
|
+
*/
|
|
66
|
+
publicKey?: OAuthClientPublicKey | null;
|
|
67
|
+
/**
|
|
68
|
+
*
|
|
69
|
+
* @type {boolean}
|
|
70
|
+
* @memberof UpdateOAuthClientPayload
|
|
71
|
+
*/
|
|
72
|
+
serviceAccount?: boolean | null;
|
|
73
|
+
/**
|
|
74
|
+
*
|
|
75
|
+
* @type {boolean}
|
|
76
|
+
* @memberof UpdateOAuthClientPayload
|
|
77
|
+
*/
|
|
78
|
+
serviceAccountDelegation?: boolean | null;
|
|
79
|
+
/**
|
|
80
|
+
*
|
|
81
|
+
* @type {{ [key: string]: any; }}
|
|
82
|
+
* @memberof UpdateOAuthClientPayload
|
|
83
|
+
*/
|
|
84
|
+
additionalTokenFields?: {
|
|
85
|
+
[key: string]: any;
|
|
86
|
+
} | null;
|
|
87
|
+
/**
|
|
88
|
+
*
|
|
89
|
+
* @type {string}
|
|
90
|
+
* @memberof UpdateOAuthClientPayload
|
|
91
|
+
*/
|
|
92
|
+
ssoProvider?: string | null;
|
|
93
|
+
}
|
|
94
|
+
/**
|
|
95
|
+
* Check if a given object implements the UpdateOAuthClientPayload interface.
|
|
96
|
+
*/
|
|
97
|
+
export declare function instanceOfUpdateOAuthClientPayload(value: object): value is UpdateOAuthClientPayload;
|
|
98
|
+
export declare function UpdateOAuthClientPayloadFromJSON(json: any): UpdateOAuthClientPayload;
|
|
99
|
+
export declare function UpdateOAuthClientPayloadFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateOAuthClientPayload;
|
|
100
|
+
export declare function UpdateOAuthClientPayloadToJSON(json: any): UpdateOAuthClientPayload;
|
|
101
|
+
export declare function UpdateOAuthClientPayloadToJSONTyped(value?: UpdateOAuthClientPayload | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -13,23 +13,22 @@
|
|
|
13
13
|
*/
|
|
14
14
|
import { OAuthClientPublicKeyFromJSON, OAuthClientPublicKeyToJSON, } from './OAuthClientPublicKey';
|
|
15
15
|
/**
|
|
16
|
-
* Check if a given object implements the
|
|
16
|
+
* Check if a given object implements the UpdateOAuthClientPayload interface.
|
|
17
17
|
*/
|
|
18
|
-
export function
|
|
18
|
+
export function instanceOfUpdateOAuthClientPayload(value) {
|
|
19
19
|
if (!('name' in value) || value['name'] === undefined)
|
|
20
20
|
return false;
|
|
21
21
|
return true;
|
|
22
22
|
}
|
|
23
|
-
export function
|
|
24
|
-
return
|
|
23
|
+
export function UpdateOAuthClientPayloadFromJSON(json) {
|
|
24
|
+
return UpdateOAuthClientPayloadFromJSONTyped(json, false);
|
|
25
25
|
}
|
|
26
|
-
export function
|
|
26
|
+
export function UpdateOAuthClientPayloadFromJSONTyped(json, ignoreDiscriminator) {
|
|
27
27
|
if (json == null) {
|
|
28
28
|
return json;
|
|
29
29
|
}
|
|
30
30
|
return {
|
|
31
31
|
'name': json['name'],
|
|
32
|
-
'clientSecret': json['clientSecret'] == null ? undefined : json['clientSecret'],
|
|
33
32
|
'trusted': json['trusted'] == null ? undefined : json['trusted'],
|
|
34
33
|
'audiences': json['audiences'] == null ? undefined : json['audiences'],
|
|
35
34
|
'redirectUris': json['redirectUris'] == null ? undefined : json['redirectUris'],
|
|
@@ -43,16 +42,15 @@ export function CreateOrUpdateOAuthClientPayloadFromJSONTyped(json, ignoreDiscri
|
|
|
43
42
|
'ssoProvider': json['ssoProvider'] == null ? undefined : json['ssoProvider'],
|
|
44
43
|
};
|
|
45
44
|
}
|
|
46
|
-
export function
|
|
47
|
-
return
|
|
45
|
+
export function UpdateOAuthClientPayloadToJSON(json) {
|
|
46
|
+
return UpdateOAuthClientPayloadToJSONTyped(json, false);
|
|
48
47
|
}
|
|
49
|
-
export function
|
|
48
|
+
export function UpdateOAuthClientPayloadToJSONTyped(value, ignoreDiscriminator = false) {
|
|
50
49
|
if (value == null) {
|
|
51
50
|
return value;
|
|
52
51
|
}
|
|
53
52
|
return {
|
|
54
53
|
'name': value['name'],
|
|
55
|
-
'clientSecret': value['clientSecret'],
|
|
56
54
|
'trusted': value['trusted'],
|
|
57
55
|
'audiences': value['audiences'],
|
|
58
56
|
'redirectUris': value['redirectUris'],
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
export * from './ApplyPermissionsPayload';
|
|
2
2
|
export * from './AuthenticationUserAccount';
|
|
3
|
-
export * from './CreateOrUpdateOAuthClientPayload';
|
|
4
3
|
export * from './CreateOrUpdateOrganizationPayload';
|
|
5
4
|
export * from './CreateOrUpdatePermissionPayload';
|
|
6
5
|
export * from './CreateOrganizationPayload';
|
|
@@ -20,9 +19,9 @@ export * from './LocalizedString';
|
|
|
20
19
|
export * from './LoginPayload';
|
|
21
20
|
export * from './NewPasswordPayload';
|
|
22
21
|
export * from './OAuthClient';
|
|
23
|
-
export * from './OAuthClientCreated';
|
|
24
22
|
export * from './OAuthClientListItem';
|
|
25
23
|
export * from './OAuthClientPublicKey';
|
|
24
|
+
export * from './OAuthClientUpdated';
|
|
26
25
|
export * from './Organization';
|
|
27
26
|
export * from './OrganizationApplicableServiceProfiles';
|
|
28
27
|
export * from './OrganizationCreated';
|
|
@@ -62,6 +61,7 @@ export * from './SetPasswordByConfirmationHashPayload';
|
|
|
62
61
|
export * from './SetUserAccountPasswordPayload';
|
|
63
62
|
export * from './SsoProvider';
|
|
64
63
|
export * from './SsoToken';
|
|
64
|
+
export * from './UpdateOAuthClientPayload';
|
|
65
65
|
export * from './UpdateOwnerOrganizationPayload';
|
|
66
66
|
export * from './UpdateParentOrganizationPayload';
|
|
67
67
|
export * from './UpdateUserAccountPayload';
|
package/dist/esm/models/index.js
CHANGED
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
export * from './ApplyPermissionsPayload';
|
|
4
4
|
export * from './AuthenticationUserAccount';
|
|
5
|
-
export * from './CreateOrUpdateOAuthClientPayload';
|
|
6
5
|
export * from './CreateOrUpdateOrganizationPayload';
|
|
7
6
|
export * from './CreateOrUpdatePermissionPayload';
|
|
8
7
|
export * from './CreateOrganizationPayload';
|
|
@@ -22,9 +21,9 @@ export * from './LocalizedString';
|
|
|
22
21
|
export * from './LoginPayload';
|
|
23
22
|
export * from './NewPasswordPayload';
|
|
24
23
|
export * from './OAuthClient';
|
|
25
|
-
export * from './OAuthClientCreated';
|
|
26
24
|
export * from './OAuthClientListItem';
|
|
27
25
|
export * from './OAuthClientPublicKey';
|
|
26
|
+
export * from './OAuthClientUpdated';
|
|
28
27
|
export * from './Organization';
|
|
29
28
|
export * from './OrganizationApplicableServiceProfiles';
|
|
30
29
|
export * from './OrganizationCreated';
|
|
@@ -64,6 +63,7 @@ export * from './SetPasswordByConfirmationHashPayload';
|
|
|
64
63
|
export * from './SetUserAccountPasswordPayload';
|
|
65
64
|
export * from './SsoProvider';
|
|
66
65
|
export * from './SsoToken';
|
|
66
|
+
export * from './UpdateOAuthClientPayload';
|
|
67
67
|
export * from './UpdateOwnerOrganizationPayload';
|
|
68
68
|
export * from './UpdateParentOrganizationPayload';
|
|
69
69
|
export * from './UpdateUserAccountPayload';
|
|
@@ -31,6 +31,8 @@ function instanceOfOAuthClient(value) {
|
|
|
31
31
|
return false;
|
|
32
32
|
if (!('trusted' in value) || value['trusted'] === undefined)
|
|
33
33
|
return false;
|
|
34
|
+
if (!('system' in value) || value['system'] === undefined)
|
|
35
|
+
return false;
|
|
34
36
|
if (!('audiences' in value) || value['audiences'] === undefined)
|
|
35
37
|
return false;
|
|
36
38
|
if (!('redirectUris' in value) || value['redirectUris'] === undefined)
|
|
@@ -57,6 +59,7 @@ function OAuthClientFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
57
59
|
'name': json['name'],
|
|
58
60
|
'clientSecret': json['clientSecret'],
|
|
59
61
|
'trusted': json['trusted'],
|
|
62
|
+
'system': json['system'],
|
|
60
63
|
'audiences': json['audiences'],
|
|
61
64
|
'redirectUris': json['redirectUris'],
|
|
62
65
|
'grantTypes': json['grantTypes'],
|
|
@@ -81,6 +84,7 @@ function OAuthClientToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
81
84
|
'name': value['name'],
|
|
82
85
|
'clientSecret': value['clientSecret'],
|
|
83
86
|
'trusted': value['trusted'],
|
|
87
|
+
'system': value['system'],
|
|
84
88
|
'audiences': value['audiences'],
|
|
85
89
|
'redirectUris': value['redirectUris'],
|
|
86
90
|
'grantTypes': value['grantTypes'],
|
|
@@ -15,6 +15,12 @@
|
|
|
15
15
|
* @interface OAuthClientListItem
|
|
16
16
|
*/
|
|
17
17
|
export interface OAuthClientListItem {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof OAuthClientListItem
|
|
22
|
+
*/
|
|
23
|
+
clientId: string;
|
|
18
24
|
/**
|
|
19
25
|
*
|
|
20
26
|
* @type {string}
|
|
@@ -33,6 +39,12 @@ export interface OAuthClientListItem {
|
|
|
33
39
|
* @memberof OAuthClientListItem
|
|
34
40
|
*/
|
|
35
41
|
redirectUris: Array<string>;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {Array<string>}
|
|
45
|
+
* @memberof OAuthClientListItem
|
|
46
|
+
*/
|
|
47
|
+
grantTypes: Array<string>;
|
|
36
48
|
/**
|
|
37
49
|
*
|
|
38
50
|
* @type {Array<string>}
|
|
@@ -22,12 +22,16 @@ exports.OAuthClientListItemToJSONTyped = OAuthClientListItemToJSONTyped;
|
|
|
22
22
|
* Check if a given object implements the OAuthClientListItem interface.
|
|
23
23
|
*/
|
|
24
24
|
function instanceOfOAuthClientListItem(value) {
|
|
25
|
+
if (!('clientId' in value) || value['clientId'] === undefined)
|
|
26
|
+
return false;
|
|
25
27
|
if (!('name' in value) || value['name'] === undefined)
|
|
26
28
|
return false;
|
|
27
29
|
if (!('audiences' in value) || value['audiences'] === undefined)
|
|
28
30
|
return false;
|
|
29
31
|
if (!('redirectUris' in value) || value['redirectUris'] === undefined)
|
|
30
32
|
return false;
|
|
33
|
+
if (!('grantTypes' in value) || value['grantTypes'] === undefined)
|
|
34
|
+
return false;
|
|
31
35
|
if (!('scopes' in value) || value['scopes'] === undefined)
|
|
32
36
|
return false;
|
|
33
37
|
return true;
|
|
@@ -40,9 +44,11 @@ function OAuthClientListItemFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
40
44
|
return json;
|
|
41
45
|
}
|
|
42
46
|
return {
|
|
47
|
+
'clientId': json['clientId'],
|
|
43
48
|
'name': json['name'],
|
|
44
49
|
'audiences': json['audiences'],
|
|
45
50
|
'redirectUris': json['redirectUris'],
|
|
51
|
+
'grantTypes': json['grantTypes'],
|
|
46
52
|
'scopes': json['scopes'],
|
|
47
53
|
};
|
|
48
54
|
}
|
|
@@ -54,9 +60,11 @@ function OAuthClientListItemToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
54
60
|
return value;
|
|
55
61
|
}
|
|
56
62
|
return {
|
|
63
|
+
'clientId': value['clientId'],
|
|
57
64
|
'name': value['name'],
|
|
58
65
|
'audiences': value['audiences'],
|
|
59
66
|
'redirectUris': value['redirectUris'],
|
|
67
|
+
'grantTypes': value['grantTypes'],
|
|
60
68
|
'scopes': value['scopes'],
|
|
61
69
|
};
|
|
62
70
|
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* User account and session management
|
|
3
|
+
* Provides HTTP endpoints to manage User Accounts and User Sessions.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 9.9.1-SNAPSHOT
|
|
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
|
+
* Information about the updated oauth client
|
|
14
|
+
* @export
|
|
15
|
+
* @interface OAuthClientUpdated
|
|
16
|
+
*/
|
|
17
|
+
export interface OAuthClientUpdated {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof OAuthClientUpdated
|
|
22
|
+
*/
|
|
23
|
+
clientId: string;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the OAuthClientUpdated interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfOAuthClientUpdated(value: object): value is OAuthClientUpdated;
|
|
29
|
+
export declare function OAuthClientUpdatedFromJSON(json: any): OAuthClientUpdated;
|
|
30
|
+
export declare function OAuthClientUpdatedFromJSONTyped(json: any, ignoreDiscriminator: boolean): OAuthClientUpdated;
|
|
31
|
+
export declare function OAuthClientUpdatedToJSON(json: any): OAuthClientUpdated;
|
|
32
|
+
export declare function OAuthClientUpdatedToJSONTyped(value?: OAuthClientUpdated | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -13,23 +13,23 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.
|
|
17
|
-
exports.
|
|
18
|
-
exports.
|
|
19
|
-
exports.
|
|
20
|
-
exports.
|
|
16
|
+
exports.instanceOfOAuthClientUpdated = instanceOfOAuthClientUpdated;
|
|
17
|
+
exports.OAuthClientUpdatedFromJSON = OAuthClientUpdatedFromJSON;
|
|
18
|
+
exports.OAuthClientUpdatedFromJSONTyped = OAuthClientUpdatedFromJSONTyped;
|
|
19
|
+
exports.OAuthClientUpdatedToJSON = OAuthClientUpdatedToJSON;
|
|
20
|
+
exports.OAuthClientUpdatedToJSONTyped = OAuthClientUpdatedToJSONTyped;
|
|
21
21
|
/**
|
|
22
|
-
* Check if a given object implements the
|
|
22
|
+
* Check if a given object implements the OAuthClientUpdated interface.
|
|
23
23
|
*/
|
|
24
|
-
function
|
|
24
|
+
function instanceOfOAuthClientUpdated(value) {
|
|
25
25
|
if (!('clientId' in value) || value['clientId'] === undefined)
|
|
26
26
|
return false;
|
|
27
27
|
return true;
|
|
28
28
|
}
|
|
29
|
-
function
|
|
30
|
-
return
|
|
29
|
+
function OAuthClientUpdatedFromJSON(json) {
|
|
30
|
+
return OAuthClientUpdatedFromJSONTyped(json, false);
|
|
31
31
|
}
|
|
32
|
-
function
|
|
32
|
+
function OAuthClientUpdatedFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
33
|
if (json == null) {
|
|
34
34
|
return json;
|
|
35
35
|
}
|
|
@@ -37,10 +37,10 @@ function OAuthClientCreatedFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
37
37
|
'clientId': json['clientId'],
|
|
38
38
|
};
|
|
39
39
|
}
|
|
40
|
-
function
|
|
41
|
-
return
|
|
40
|
+
function OAuthClientUpdatedToJSON(json) {
|
|
41
|
+
return OAuthClientUpdatedToJSONTyped(json, false);
|
|
42
42
|
}
|
|
43
|
-
function
|
|
43
|
+
function OAuthClientUpdatedToJSONTyped(value, ignoreDiscriminator = false) {
|
|
44
44
|
if (value == null) {
|
|
45
45
|
return value;
|
|
46
46
|
}
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* User account and session management
|
|
3
|
+
* Provides HTTP endpoints to manage User Accounts and User Sessions.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 9.9.1-SNAPSHOT
|
|
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 { OAuthClientPublicKey } from './OAuthClientPublicKey';
|
|
13
|
+
/**
|
|
14
|
+
* A request to update an oauth client
|
|
15
|
+
* @export
|
|
16
|
+
* @interface UpdateOAuthClientPayload
|
|
17
|
+
*/
|
|
18
|
+
export interface UpdateOAuthClientPayload {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof UpdateOAuthClientPayload
|
|
23
|
+
*/
|
|
24
|
+
name: string;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {boolean}
|
|
28
|
+
* @memberof UpdateOAuthClientPayload
|
|
29
|
+
*/
|
|
30
|
+
trusted?: boolean | null;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {Array<string>}
|
|
34
|
+
* @memberof UpdateOAuthClientPayload
|
|
35
|
+
*/
|
|
36
|
+
audiences?: Array<string> | null;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {Array<string>}
|
|
40
|
+
* @memberof UpdateOAuthClientPayload
|
|
41
|
+
*/
|
|
42
|
+
redirectUris?: Array<string> | null;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {Array<string>}
|
|
46
|
+
* @memberof UpdateOAuthClientPayload
|
|
47
|
+
*/
|
|
48
|
+
grantTypes?: Array<string> | null;
|
|
49
|
+
/**
|
|
50
|
+
*
|
|
51
|
+
* @type {Array<string>}
|
|
52
|
+
* @memberof UpdateOAuthClientPayload
|
|
53
|
+
*/
|
|
54
|
+
scopes?: Array<string> | null;
|
|
55
|
+
/**
|
|
56
|
+
*
|
|
57
|
+
* @type {string}
|
|
58
|
+
* @memberof UpdateOAuthClientPayload
|
|
59
|
+
*/
|
|
60
|
+
jwksUri?: string | null;
|
|
61
|
+
/**
|
|
62
|
+
*
|
|
63
|
+
* @type {OAuthClientPublicKey}
|
|
64
|
+
* @memberof UpdateOAuthClientPayload
|
|
65
|
+
*/
|
|
66
|
+
publicKey?: OAuthClientPublicKey | null;
|
|
67
|
+
/**
|
|
68
|
+
*
|
|
69
|
+
* @type {boolean}
|
|
70
|
+
* @memberof UpdateOAuthClientPayload
|
|
71
|
+
*/
|
|
72
|
+
serviceAccount?: boolean | null;
|
|
73
|
+
/**
|
|
74
|
+
*
|
|
75
|
+
* @type {boolean}
|
|
76
|
+
* @memberof UpdateOAuthClientPayload
|
|
77
|
+
*/
|
|
78
|
+
serviceAccountDelegation?: boolean | null;
|
|
79
|
+
/**
|
|
80
|
+
*
|
|
81
|
+
* @type {{ [key: string]: any; }}
|
|
82
|
+
* @memberof UpdateOAuthClientPayload
|
|
83
|
+
*/
|
|
84
|
+
additionalTokenFields?: {
|
|
85
|
+
[key: string]: any;
|
|
86
|
+
} | null;
|
|
87
|
+
/**
|
|
88
|
+
*
|
|
89
|
+
* @type {string}
|
|
90
|
+
* @memberof UpdateOAuthClientPayload
|
|
91
|
+
*/
|
|
92
|
+
ssoProvider?: string | null;
|
|
93
|
+
}
|
|
94
|
+
/**
|
|
95
|
+
* Check if a given object implements the UpdateOAuthClientPayload interface.
|
|
96
|
+
*/
|
|
97
|
+
export declare function instanceOfUpdateOAuthClientPayload(value: object): value is UpdateOAuthClientPayload;
|
|
98
|
+
export declare function UpdateOAuthClientPayloadFromJSON(json: any): UpdateOAuthClientPayload;
|
|
99
|
+
export declare function UpdateOAuthClientPayloadFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateOAuthClientPayload;
|
|
100
|
+
export declare function UpdateOAuthClientPayloadToJSON(json: any): UpdateOAuthClientPayload;
|
|
101
|
+
export declare function UpdateOAuthClientPayloadToJSONTyped(value?: UpdateOAuthClientPayload | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -13,30 +13,29 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.
|
|
17
|
-
exports.
|
|
18
|
-
exports.
|
|
19
|
-
exports.
|
|
20
|
-
exports.
|
|
16
|
+
exports.instanceOfUpdateOAuthClientPayload = instanceOfUpdateOAuthClientPayload;
|
|
17
|
+
exports.UpdateOAuthClientPayloadFromJSON = UpdateOAuthClientPayloadFromJSON;
|
|
18
|
+
exports.UpdateOAuthClientPayloadFromJSONTyped = UpdateOAuthClientPayloadFromJSONTyped;
|
|
19
|
+
exports.UpdateOAuthClientPayloadToJSON = UpdateOAuthClientPayloadToJSON;
|
|
20
|
+
exports.UpdateOAuthClientPayloadToJSONTyped = UpdateOAuthClientPayloadToJSONTyped;
|
|
21
21
|
const OAuthClientPublicKey_1 = require("./OAuthClientPublicKey");
|
|
22
22
|
/**
|
|
23
|
-
* Check if a given object implements the
|
|
23
|
+
* Check if a given object implements the UpdateOAuthClientPayload interface.
|
|
24
24
|
*/
|
|
25
|
-
function
|
|
25
|
+
function instanceOfUpdateOAuthClientPayload(value) {
|
|
26
26
|
if (!('name' in value) || value['name'] === undefined)
|
|
27
27
|
return false;
|
|
28
28
|
return true;
|
|
29
29
|
}
|
|
30
|
-
function
|
|
31
|
-
return
|
|
30
|
+
function UpdateOAuthClientPayloadFromJSON(json) {
|
|
31
|
+
return UpdateOAuthClientPayloadFromJSONTyped(json, false);
|
|
32
32
|
}
|
|
33
|
-
function
|
|
33
|
+
function UpdateOAuthClientPayloadFromJSONTyped(json, ignoreDiscriminator) {
|
|
34
34
|
if (json == null) {
|
|
35
35
|
return json;
|
|
36
36
|
}
|
|
37
37
|
return {
|
|
38
38
|
'name': json['name'],
|
|
39
|
-
'clientSecret': json['clientSecret'] == null ? undefined : json['clientSecret'],
|
|
40
39
|
'trusted': json['trusted'] == null ? undefined : json['trusted'],
|
|
41
40
|
'audiences': json['audiences'] == null ? undefined : json['audiences'],
|
|
42
41
|
'redirectUris': json['redirectUris'] == null ? undefined : json['redirectUris'],
|
|
@@ -50,16 +49,15 @@ function CreateOrUpdateOAuthClientPayloadFromJSONTyped(json, ignoreDiscriminator
|
|
|
50
49
|
'ssoProvider': json['ssoProvider'] == null ? undefined : json['ssoProvider'],
|
|
51
50
|
};
|
|
52
51
|
}
|
|
53
|
-
function
|
|
54
|
-
return
|
|
52
|
+
function UpdateOAuthClientPayloadToJSON(json) {
|
|
53
|
+
return UpdateOAuthClientPayloadToJSONTyped(json, false);
|
|
55
54
|
}
|
|
56
|
-
function
|
|
55
|
+
function UpdateOAuthClientPayloadToJSONTyped(value, ignoreDiscriminator = false) {
|
|
57
56
|
if (value == null) {
|
|
58
57
|
return value;
|
|
59
58
|
}
|
|
60
59
|
return {
|
|
61
60
|
'name': value['name'],
|
|
62
|
-
'clientSecret': value['clientSecret'],
|
|
63
61
|
'trusted': value['trusted'],
|
|
64
62
|
'audiences': value['audiences'],
|
|
65
63
|
'redirectUris': value['redirectUris'],
|
package/dist/models/index.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
export * from './ApplyPermissionsPayload';
|
|
2
2
|
export * from './AuthenticationUserAccount';
|
|
3
|
-
export * from './CreateOrUpdateOAuthClientPayload';
|
|
4
3
|
export * from './CreateOrUpdateOrganizationPayload';
|
|
5
4
|
export * from './CreateOrUpdatePermissionPayload';
|
|
6
5
|
export * from './CreateOrganizationPayload';
|
|
@@ -20,9 +19,9 @@ export * from './LocalizedString';
|
|
|
20
19
|
export * from './LoginPayload';
|
|
21
20
|
export * from './NewPasswordPayload';
|
|
22
21
|
export * from './OAuthClient';
|
|
23
|
-
export * from './OAuthClientCreated';
|
|
24
22
|
export * from './OAuthClientListItem';
|
|
25
23
|
export * from './OAuthClientPublicKey';
|
|
24
|
+
export * from './OAuthClientUpdated';
|
|
26
25
|
export * from './Organization';
|
|
27
26
|
export * from './OrganizationApplicableServiceProfiles';
|
|
28
27
|
export * from './OrganizationCreated';
|
|
@@ -62,6 +61,7 @@ export * from './SetPasswordByConfirmationHashPayload';
|
|
|
62
61
|
export * from './SetUserAccountPasswordPayload';
|
|
63
62
|
export * from './SsoProvider';
|
|
64
63
|
export * from './SsoToken';
|
|
64
|
+
export * from './UpdateOAuthClientPayload';
|
|
65
65
|
export * from './UpdateOwnerOrganizationPayload';
|
|
66
66
|
export * from './UpdateParentOrganizationPayload';
|
|
67
67
|
export * from './UpdateUserAccountPayload';
|
package/dist/models/index.js
CHANGED
|
@@ -18,7 +18,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
18
18
|
/* eslint-disable */
|
|
19
19
|
__exportStar(require("./ApplyPermissionsPayload"), exports);
|
|
20
20
|
__exportStar(require("./AuthenticationUserAccount"), exports);
|
|
21
|
-
__exportStar(require("./CreateOrUpdateOAuthClientPayload"), exports);
|
|
22
21
|
__exportStar(require("./CreateOrUpdateOrganizationPayload"), exports);
|
|
23
22
|
__exportStar(require("./CreateOrUpdatePermissionPayload"), exports);
|
|
24
23
|
__exportStar(require("./CreateOrganizationPayload"), exports);
|
|
@@ -38,9 +37,9 @@ __exportStar(require("./LocalizedString"), exports);
|
|
|
38
37
|
__exportStar(require("./LoginPayload"), exports);
|
|
39
38
|
__exportStar(require("./NewPasswordPayload"), exports);
|
|
40
39
|
__exportStar(require("./OAuthClient"), exports);
|
|
41
|
-
__exportStar(require("./OAuthClientCreated"), exports);
|
|
42
40
|
__exportStar(require("./OAuthClientListItem"), exports);
|
|
43
41
|
__exportStar(require("./OAuthClientPublicKey"), exports);
|
|
42
|
+
__exportStar(require("./OAuthClientUpdated"), exports);
|
|
44
43
|
__exportStar(require("./Organization"), exports);
|
|
45
44
|
__exportStar(require("./OrganizationApplicableServiceProfiles"), exports);
|
|
46
45
|
__exportStar(require("./OrganizationCreated"), exports);
|
|
@@ -80,6 +79,7 @@ __exportStar(require("./SetPasswordByConfirmationHashPayload"), exports);
|
|
|
80
79
|
__exportStar(require("./SetUserAccountPasswordPayload"), exports);
|
|
81
80
|
__exportStar(require("./SsoProvider"), exports);
|
|
82
81
|
__exportStar(require("./SsoToken"), exports);
|
|
82
|
+
__exportStar(require("./UpdateOAuthClientPayload"), exports);
|
|
83
83
|
__exportStar(require("./UpdateOwnerOrganizationPayload"), exports);
|
|
84
84
|
__exportStar(require("./UpdateParentOrganizationPayload"), exports);
|
|
85
85
|
__exportStar(require("./UpdateUserAccountPayload"), exports);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@equisoft/account-service-sdk-typescript",
|
|
3
|
-
"version": "9.9.1-snapshot.
|
|
3
|
+
"version": "9.9.1-snapshot.20250805184627",
|
|
4
4
|
"description": "OpenAPI client for @equisoft/account-service-sdk-typescript",
|
|
5
5
|
"author": "OpenAPI-Generator",
|
|
6
6
|
"repository": {
|