@equisoft/account-service-sdk-typescript 10.2.1-snapshot.20251021132620 → 10.2.1-snapshot.20251023170305
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/esm/models/OAuthClient.d.ts +3 -2
- package/dist/esm/models/OAuthClient.js +4 -6
- package/dist/esm/models/OAuthClientListItem.d.ts +8 -1
- package/dist/esm/models/OAuthClientListItem.js +4 -0
- package/dist/esm/models/UpdateOAuthClientPayload.d.ts +4 -47
- package/dist/esm/models/UpdateOAuthClientPayload.js +12 -21
- package/dist/models/OAuthClient.d.ts +3 -2
- package/dist/models/OAuthClient.js +4 -6
- package/dist/models/OAuthClientListItem.d.ts +8 -1
- package/dist/models/OAuthClientListItem.js +4 -0
- package/dist/models/UpdateOAuthClientPayload.d.ts +4 -47
- package/dist/models/UpdateOAuthClientPayload.js +12 -21
- package/package.json +1 -1
- package/src/models/OAuthClient.ts +7 -7
- package/src/models/OAuthClientListItem.ts +11 -1
- package/src/models/UpdateOAuthClientPayload.ts +13 -74
|
@@ -26,14 +26,15 @@ export interface OAuthClient {
|
|
|
26
26
|
*
|
|
27
27
|
* @type {string}
|
|
28
28
|
* @memberof OAuthClient
|
|
29
|
+
* @deprecated
|
|
29
30
|
*/
|
|
30
|
-
name
|
|
31
|
+
name?: string | null;
|
|
31
32
|
/**
|
|
32
33
|
*
|
|
33
34
|
* @type {string}
|
|
34
35
|
* @memberof OAuthClient
|
|
35
36
|
*/
|
|
36
|
-
|
|
37
|
+
displayName: string;
|
|
37
38
|
/**
|
|
38
39
|
*
|
|
39
40
|
* @type {boolean}
|
|
@@ -18,9 +18,7 @@ import { OAuthClientPublicKeyFromJSON, OAuthClientPublicKeyToJSON, } from './OAu
|
|
|
18
18
|
export function instanceOfOAuthClient(value) {
|
|
19
19
|
if (!('clientId' in value) || value['clientId'] === undefined)
|
|
20
20
|
return false;
|
|
21
|
-
if (!('
|
|
22
|
-
return false;
|
|
23
|
-
if (!('clientSecret' in value) || value['clientSecret'] === undefined)
|
|
21
|
+
if (!('displayName' in value) || value['displayName'] === undefined)
|
|
24
22
|
return false;
|
|
25
23
|
if (!('trusted' in value) || value['trusted'] === undefined)
|
|
26
24
|
return false;
|
|
@@ -51,8 +49,8 @@ export function OAuthClientFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
51
49
|
}
|
|
52
50
|
return {
|
|
53
51
|
'clientId': json['clientId'],
|
|
54
|
-
'name': json['name'],
|
|
55
|
-
'
|
|
52
|
+
'name': json['name'] == null ? undefined : json['name'],
|
|
53
|
+
'displayName': json['displayName'],
|
|
56
54
|
'trusted': json['trusted'],
|
|
57
55
|
'system': json['system'],
|
|
58
56
|
'audiences': json['audiences'],
|
|
@@ -77,7 +75,7 @@ export function OAuthClientToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
77
75
|
return {
|
|
78
76
|
'clientId': value['clientId'],
|
|
79
77
|
'name': value['name'],
|
|
80
|
-
'
|
|
78
|
+
'displayName': value['displayName'],
|
|
81
79
|
'trusted': value['trusted'],
|
|
82
80
|
'system': value['system'],
|
|
83
81
|
'audiences': value['audiences'],
|
|
@@ -26,7 +26,14 @@ export interface OAuthClientListItem {
|
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof OAuthClientListItem
|
|
28
28
|
*/
|
|
29
|
-
|
|
29
|
+
displayName: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof OAuthClientListItem
|
|
34
|
+
* @deprecated
|
|
35
|
+
*/
|
|
36
|
+
name: string | null;
|
|
30
37
|
/**
|
|
31
38
|
*
|
|
32
39
|
* @type {Array<string>}
|
|
@@ -17,6 +17,8 @@
|
|
|
17
17
|
export function instanceOfOAuthClientListItem(value) {
|
|
18
18
|
if (!('clientId' in value) || value['clientId'] === undefined)
|
|
19
19
|
return false;
|
|
20
|
+
if (!('displayName' in value) || value['displayName'] === undefined)
|
|
21
|
+
return false;
|
|
20
22
|
if (!('name' in value) || value['name'] === undefined)
|
|
21
23
|
return false;
|
|
22
24
|
if (!('audiences' in value) || value['audiences'] === undefined)
|
|
@@ -44,6 +46,7 @@ export function OAuthClientListItemFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
44
46
|
}
|
|
45
47
|
return {
|
|
46
48
|
'clientId': json['clientId'],
|
|
49
|
+
'displayName': json['displayName'],
|
|
47
50
|
'name': json['name'],
|
|
48
51
|
'audiences': json['audiences'],
|
|
49
52
|
'redirectUris': json['redirectUris'],
|
|
@@ -64,6 +67,7 @@ export function OAuthClientListItemToJSONTyped(value, ignoreDiscriminator = fals
|
|
|
64
67
|
}
|
|
65
68
|
return {
|
|
66
69
|
'clientId': value['clientId'],
|
|
70
|
+
'displayName': value['displayName'],
|
|
67
71
|
'name': value['name'],
|
|
68
72
|
'audiences': value['audiences'],
|
|
69
73
|
'redirectUris': value['redirectUris'],
|
|
@@ -9,7 +9,6 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import type { OAuthClientPublicKey } from './OAuthClientPublicKey';
|
|
13
12
|
/**
|
|
14
13
|
* A request to update an oauth client
|
|
15
14
|
* @export
|
|
@@ -21,67 +20,25 @@ export interface UpdateOAuthClientPayload {
|
|
|
21
20
|
* @type {string}
|
|
22
21
|
* @memberof UpdateOAuthClientPayload
|
|
23
22
|
*/
|
|
24
|
-
|
|
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;
|
|
23
|
+
displayName: string;
|
|
37
24
|
/**
|
|
38
25
|
*
|
|
39
26
|
* @type {Array<string>}
|
|
40
27
|
* @memberof UpdateOAuthClientPayload
|
|
41
28
|
*/
|
|
42
|
-
redirectUris
|
|
29
|
+
redirectUris: Array<string>;
|
|
43
30
|
/**
|
|
44
31
|
*
|
|
45
32
|
* @type {Array<string>}
|
|
46
33
|
* @memberof UpdateOAuthClientPayload
|
|
47
34
|
*/
|
|
48
|
-
grantTypes
|
|
35
|
+
grantTypes: Array<string>;
|
|
49
36
|
/**
|
|
50
37
|
*
|
|
51
38
|
* @type {Array<string>}
|
|
52
39
|
* @memberof UpdateOAuthClientPayload
|
|
53
40
|
*/
|
|
54
|
-
scopes
|
|
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 {string}
|
|
82
|
-
* @memberof UpdateOAuthClientPayload
|
|
83
|
-
*/
|
|
84
|
-
ssoProvider?: string | null;
|
|
41
|
+
scopes: Array<string>;
|
|
85
42
|
}
|
|
86
43
|
/**
|
|
87
44
|
* Check if a given object implements the UpdateOAuthClientPayload interface.
|
|
@@ -11,12 +11,17 @@
|
|
|
11
11
|
* https://openapi-generator.tech
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
|
-
import { OAuthClientPublicKeyFromJSON, OAuthClientPublicKeyToJSON, } from './OAuthClientPublicKey';
|
|
15
14
|
/**
|
|
16
15
|
* Check if a given object implements the UpdateOAuthClientPayload interface.
|
|
17
16
|
*/
|
|
18
17
|
export function instanceOfUpdateOAuthClientPayload(value) {
|
|
19
|
-
if (!('
|
|
18
|
+
if (!('displayName' in value) || value['displayName'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
if (!('redirectUris' in value) || value['redirectUris'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
if (!('grantTypes' in value) || value['grantTypes'] === undefined)
|
|
23
|
+
return false;
|
|
24
|
+
if (!('scopes' in value) || value['scopes'] === undefined)
|
|
20
25
|
return false;
|
|
21
26
|
return true;
|
|
22
27
|
}
|
|
@@ -28,17 +33,10 @@ export function UpdateOAuthClientPayloadFromJSONTyped(json, ignoreDiscriminator)
|
|
|
28
33
|
return json;
|
|
29
34
|
}
|
|
30
35
|
return {
|
|
31
|
-
'
|
|
32
|
-
'
|
|
33
|
-
'
|
|
34
|
-
'
|
|
35
|
-
'grantTypes': json['grantTypes'] == null ? undefined : json['grantTypes'],
|
|
36
|
-
'scopes': json['scopes'] == null ? undefined : json['scopes'],
|
|
37
|
-
'jwksUri': json['jwksUri'] == null ? undefined : json['jwksUri'],
|
|
38
|
-
'publicKey': json['publicKey'] == null ? undefined : OAuthClientPublicKeyFromJSON(json['publicKey']),
|
|
39
|
-
'serviceAccount': json['serviceAccount'] == null ? undefined : json['serviceAccount'],
|
|
40
|
-
'serviceAccountDelegation': json['serviceAccountDelegation'] == null ? undefined : json['serviceAccountDelegation'],
|
|
41
|
-
'ssoProvider': json['ssoProvider'] == null ? undefined : json['ssoProvider'],
|
|
36
|
+
'displayName': json['displayName'],
|
|
37
|
+
'redirectUris': json['redirectUris'],
|
|
38
|
+
'grantTypes': json['grantTypes'],
|
|
39
|
+
'scopes': json['scopes'],
|
|
42
40
|
};
|
|
43
41
|
}
|
|
44
42
|
export function UpdateOAuthClientPayloadToJSON(json) {
|
|
@@ -49,16 +47,9 @@ export function UpdateOAuthClientPayloadToJSONTyped(value, ignoreDiscriminator =
|
|
|
49
47
|
return value;
|
|
50
48
|
}
|
|
51
49
|
return {
|
|
52
|
-
'
|
|
53
|
-
'trusted': value['trusted'],
|
|
54
|
-
'audiences': value['audiences'],
|
|
50
|
+
'displayName': value['displayName'],
|
|
55
51
|
'redirectUris': value['redirectUris'],
|
|
56
52
|
'grantTypes': value['grantTypes'],
|
|
57
53
|
'scopes': value['scopes'],
|
|
58
|
-
'jwksUri': value['jwksUri'],
|
|
59
|
-
'publicKey': OAuthClientPublicKeyToJSON(value['publicKey']),
|
|
60
|
-
'serviceAccount': value['serviceAccount'],
|
|
61
|
-
'serviceAccountDelegation': value['serviceAccountDelegation'],
|
|
62
|
-
'ssoProvider': value['ssoProvider'],
|
|
63
54
|
};
|
|
64
55
|
}
|
|
@@ -26,14 +26,15 @@ export interface OAuthClient {
|
|
|
26
26
|
*
|
|
27
27
|
* @type {string}
|
|
28
28
|
* @memberof OAuthClient
|
|
29
|
+
* @deprecated
|
|
29
30
|
*/
|
|
30
|
-
name
|
|
31
|
+
name?: string | null;
|
|
31
32
|
/**
|
|
32
33
|
*
|
|
33
34
|
* @type {string}
|
|
34
35
|
* @memberof OAuthClient
|
|
35
36
|
*/
|
|
36
|
-
|
|
37
|
+
displayName: string;
|
|
37
38
|
/**
|
|
38
39
|
*
|
|
39
40
|
* @type {boolean}
|
|
@@ -25,9 +25,7 @@ const OAuthClientPublicKey_1 = require("./OAuthClientPublicKey");
|
|
|
25
25
|
function instanceOfOAuthClient(value) {
|
|
26
26
|
if (!('clientId' in value) || value['clientId'] === undefined)
|
|
27
27
|
return false;
|
|
28
|
-
if (!('
|
|
29
|
-
return false;
|
|
30
|
-
if (!('clientSecret' in value) || value['clientSecret'] === undefined)
|
|
28
|
+
if (!('displayName' in value) || value['displayName'] === undefined)
|
|
31
29
|
return false;
|
|
32
30
|
if (!('trusted' in value) || value['trusted'] === undefined)
|
|
33
31
|
return false;
|
|
@@ -58,8 +56,8 @@ function OAuthClientFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
58
56
|
}
|
|
59
57
|
return {
|
|
60
58
|
'clientId': json['clientId'],
|
|
61
|
-
'name': json['name'],
|
|
62
|
-
'
|
|
59
|
+
'name': json['name'] == null ? undefined : json['name'],
|
|
60
|
+
'displayName': json['displayName'],
|
|
63
61
|
'trusted': json['trusted'],
|
|
64
62
|
'system': json['system'],
|
|
65
63
|
'audiences': json['audiences'],
|
|
@@ -84,7 +82,7 @@ function OAuthClientToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
84
82
|
return {
|
|
85
83
|
'clientId': value['clientId'],
|
|
86
84
|
'name': value['name'],
|
|
87
|
-
'
|
|
85
|
+
'displayName': value['displayName'],
|
|
88
86
|
'trusted': value['trusted'],
|
|
89
87
|
'system': value['system'],
|
|
90
88
|
'audiences': value['audiences'],
|
|
@@ -26,7 +26,14 @@ export interface OAuthClientListItem {
|
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof OAuthClientListItem
|
|
28
28
|
*/
|
|
29
|
-
|
|
29
|
+
displayName: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof OAuthClientListItem
|
|
34
|
+
* @deprecated
|
|
35
|
+
*/
|
|
36
|
+
name: string | null;
|
|
30
37
|
/**
|
|
31
38
|
*
|
|
32
39
|
* @type {Array<string>}
|
|
@@ -24,6 +24,8 @@ exports.OAuthClientListItemToJSONTyped = OAuthClientListItemToJSONTyped;
|
|
|
24
24
|
function instanceOfOAuthClientListItem(value) {
|
|
25
25
|
if (!('clientId' in value) || value['clientId'] === undefined)
|
|
26
26
|
return false;
|
|
27
|
+
if (!('displayName' in value) || value['displayName'] === undefined)
|
|
28
|
+
return false;
|
|
27
29
|
if (!('name' in value) || value['name'] === undefined)
|
|
28
30
|
return false;
|
|
29
31
|
if (!('audiences' in value) || value['audiences'] === undefined)
|
|
@@ -51,6 +53,7 @@ function OAuthClientListItemFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
51
53
|
}
|
|
52
54
|
return {
|
|
53
55
|
'clientId': json['clientId'],
|
|
56
|
+
'displayName': json['displayName'],
|
|
54
57
|
'name': json['name'],
|
|
55
58
|
'audiences': json['audiences'],
|
|
56
59
|
'redirectUris': json['redirectUris'],
|
|
@@ -71,6 +74,7 @@ function OAuthClientListItemToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
71
74
|
}
|
|
72
75
|
return {
|
|
73
76
|
'clientId': value['clientId'],
|
|
77
|
+
'displayName': value['displayName'],
|
|
74
78
|
'name': value['name'],
|
|
75
79
|
'audiences': value['audiences'],
|
|
76
80
|
'redirectUris': value['redirectUris'],
|
|
@@ -9,7 +9,6 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import type { OAuthClientPublicKey } from './OAuthClientPublicKey';
|
|
13
12
|
/**
|
|
14
13
|
* A request to update an oauth client
|
|
15
14
|
* @export
|
|
@@ -21,67 +20,25 @@ export interface UpdateOAuthClientPayload {
|
|
|
21
20
|
* @type {string}
|
|
22
21
|
* @memberof UpdateOAuthClientPayload
|
|
23
22
|
*/
|
|
24
|
-
|
|
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;
|
|
23
|
+
displayName: string;
|
|
37
24
|
/**
|
|
38
25
|
*
|
|
39
26
|
* @type {Array<string>}
|
|
40
27
|
* @memberof UpdateOAuthClientPayload
|
|
41
28
|
*/
|
|
42
|
-
redirectUris
|
|
29
|
+
redirectUris: Array<string>;
|
|
43
30
|
/**
|
|
44
31
|
*
|
|
45
32
|
* @type {Array<string>}
|
|
46
33
|
* @memberof UpdateOAuthClientPayload
|
|
47
34
|
*/
|
|
48
|
-
grantTypes
|
|
35
|
+
grantTypes: Array<string>;
|
|
49
36
|
/**
|
|
50
37
|
*
|
|
51
38
|
* @type {Array<string>}
|
|
52
39
|
* @memberof UpdateOAuthClientPayload
|
|
53
40
|
*/
|
|
54
|
-
scopes
|
|
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 {string}
|
|
82
|
-
* @memberof UpdateOAuthClientPayload
|
|
83
|
-
*/
|
|
84
|
-
ssoProvider?: string | null;
|
|
41
|
+
scopes: Array<string>;
|
|
85
42
|
}
|
|
86
43
|
/**
|
|
87
44
|
* Check if a given object implements the UpdateOAuthClientPayload interface.
|
|
@@ -18,12 +18,17 @@ exports.UpdateOAuthClientPayloadFromJSON = UpdateOAuthClientPayloadFromJSON;
|
|
|
18
18
|
exports.UpdateOAuthClientPayloadFromJSONTyped = UpdateOAuthClientPayloadFromJSONTyped;
|
|
19
19
|
exports.UpdateOAuthClientPayloadToJSON = UpdateOAuthClientPayloadToJSON;
|
|
20
20
|
exports.UpdateOAuthClientPayloadToJSONTyped = UpdateOAuthClientPayloadToJSONTyped;
|
|
21
|
-
const OAuthClientPublicKey_1 = require("./OAuthClientPublicKey");
|
|
22
21
|
/**
|
|
23
22
|
* Check if a given object implements the UpdateOAuthClientPayload interface.
|
|
24
23
|
*/
|
|
25
24
|
function instanceOfUpdateOAuthClientPayload(value) {
|
|
26
|
-
if (!('
|
|
25
|
+
if (!('displayName' in value) || value['displayName'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('redirectUris' in value) || value['redirectUris'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('grantTypes' in value) || value['grantTypes'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('scopes' in value) || value['scopes'] === undefined)
|
|
27
32
|
return false;
|
|
28
33
|
return true;
|
|
29
34
|
}
|
|
@@ -35,17 +40,10 @@ function UpdateOAuthClientPayloadFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
35
40
|
return json;
|
|
36
41
|
}
|
|
37
42
|
return {
|
|
38
|
-
'
|
|
39
|
-
'
|
|
40
|
-
'
|
|
41
|
-
'
|
|
42
|
-
'grantTypes': json['grantTypes'] == null ? undefined : json['grantTypes'],
|
|
43
|
-
'scopes': json['scopes'] == null ? undefined : json['scopes'],
|
|
44
|
-
'jwksUri': json['jwksUri'] == null ? undefined : json['jwksUri'],
|
|
45
|
-
'publicKey': json['publicKey'] == null ? undefined : (0, OAuthClientPublicKey_1.OAuthClientPublicKeyFromJSON)(json['publicKey']),
|
|
46
|
-
'serviceAccount': json['serviceAccount'] == null ? undefined : json['serviceAccount'],
|
|
47
|
-
'serviceAccountDelegation': json['serviceAccountDelegation'] == null ? undefined : json['serviceAccountDelegation'],
|
|
48
|
-
'ssoProvider': json['ssoProvider'] == null ? undefined : json['ssoProvider'],
|
|
43
|
+
'displayName': json['displayName'],
|
|
44
|
+
'redirectUris': json['redirectUris'],
|
|
45
|
+
'grantTypes': json['grantTypes'],
|
|
46
|
+
'scopes': json['scopes'],
|
|
49
47
|
};
|
|
50
48
|
}
|
|
51
49
|
function UpdateOAuthClientPayloadToJSON(json) {
|
|
@@ -56,16 +54,9 @@ function UpdateOAuthClientPayloadToJSONTyped(value, ignoreDiscriminator = false)
|
|
|
56
54
|
return value;
|
|
57
55
|
}
|
|
58
56
|
return {
|
|
59
|
-
'
|
|
60
|
-
'trusted': value['trusted'],
|
|
61
|
-
'audiences': value['audiences'],
|
|
57
|
+
'displayName': value['displayName'],
|
|
62
58
|
'redirectUris': value['redirectUris'],
|
|
63
59
|
'grantTypes': value['grantTypes'],
|
|
64
60
|
'scopes': value['scopes'],
|
|
65
|
-
'jwksUri': value['jwksUri'],
|
|
66
|
-
'publicKey': (0, OAuthClientPublicKey_1.OAuthClientPublicKeyToJSON)(value['publicKey']),
|
|
67
|
-
'serviceAccount': value['serviceAccount'],
|
|
68
|
-
'serviceAccountDelegation': value['serviceAccountDelegation'],
|
|
69
|
-
'ssoProvider': value['ssoProvider'],
|
|
70
61
|
};
|
|
71
62
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@equisoft/account-service-sdk-typescript",
|
|
3
|
-
"version": "10.2.1-snapshot.
|
|
3
|
+
"version": "10.2.1-snapshot.20251023170305",
|
|
4
4
|
"description": "OpenAPI client for @equisoft/account-service-sdk-typescript",
|
|
5
5
|
"author": "OpenAPI-Generator",
|
|
6
6
|
"repository": {
|
|
@@ -37,14 +37,15 @@ export interface OAuthClient {
|
|
|
37
37
|
*
|
|
38
38
|
* @type {string}
|
|
39
39
|
* @memberof OAuthClient
|
|
40
|
+
* @deprecated
|
|
40
41
|
*/
|
|
41
|
-
name
|
|
42
|
+
name?: string | null;
|
|
42
43
|
/**
|
|
43
44
|
*
|
|
44
45
|
* @type {string}
|
|
45
46
|
* @memberof OAuthClient
|
|
46
47
|
*/
|
|
47
|
-
|
|
48
|
+
displayName: string;
|
|
48
49
|
/**
|
|
49
50
|
*
|
|
50
51
|
* @type {boolean}
|
|
@@ -124,8 +125,7 @@ export interface OAuthClient {
|
|
|
124
125
|
*/
|
|
125
126
|
export function instanceOfOAuthClient(value: object): value is OAuthClient {
|
|
126
127
|
if (!('clientId' in value) || value['clientId'] === undefined) return false;
|
|
127
|
-
if (!('
|
|
128
|
-
if (!('clientSecret' in value) || value['clientSecret'] === undefined) return false;
|
|
128
|
+
if (!('displayName' in value) || value['displayName'] === undefined) return false;
|
|
129
129
|
if (!('trusted' in value) || value['trusted'] === undefined) return false;
|
|
130
130
|
if (!('system' in value) || value['system'] === undefined) return false;
|
|
131
131
|
if (!('audiences' in value) || value['audiences'] === undefined) return false;
|
|
@@ -149,8 +149,8 @@ export function OAuthClientFromJSONTyped(json: any, ignoreDiscriminator: boolean
|
|
|
149
149
|
return {
|
|
150
150
|
|
|
151
151
|
'clientId': json['clientId'],
|
|
152
|
-
'name': json['name'],
|
|
153
|
-
'
|
|
152
|
+
'name': json['name'] == null ? undefined : json['name'],
|
|
153
|
+
'displayName': json['displayName'],
|
|
154
154
|
'trusted': json['trusted'],
|
|
155
155
|
'system': json['system'],
|
|
156
156
|
'audiences': json['audiences'],
|
|
@@ -179,7 +179,7 @@ export function OAuthClientToJSONTyped(value?: OAuthClient | null, ignoreDiscrim
|
|
|
179
179
|
|
|
180
180
|
'clientId': value['clientId'],
|
|
181
181
|
'name': value['name'],
|
|
182
|
-
'
|
|
182
|
+
'displayName': value['displayName'],
|
|
183
183
|
'trusted': value['trusted'],
|
|
184
184
|
'system': value['system'],
|
|
185
185
|
'audiences': value['audiences'],
|
|
@@ -30,7 +30,14 @@ export interface OAuthClientListItem {
|
|
|
30
30
|
* @type {string}
|
|
31
31
|
* @memberof OAuthClientListItem
|
|
32
32
|
*/
|
|
33
|
-
|
|
33
|
+
displayName: string;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof OAuthClientListItem
|
|
38
|
+
* @deprecated
|
|
39
|
+
*/
|
|
40
|
+
name: string | null;
|
|
34
41
|
/**
|
|
35
42
|
*
|
|
36
43
|
* @type {Array<string>}
|
|
@@ -86,6 +93,7 @@ export interface OAuthClientListItem {
|
|
|
86
93
|
*/
|
|
87
94
|
export function instanceOfOAuthClientListItem(value: object): value is OAuthClientListItem {
|
|
88
95
|
if (!('clientId' in value) || value['clientId'] === undefined) return false;
|
|
96
|
+
if (!('displayName' in value) || value['displayName'] === undefined) return false;
|
|
89
97
|
if (!('name' in value) || value['name'] === undefined) return false;
|
|
90
98
|
if (!('audiences' in value) || value['audiences'] === undefined) return false;
|
|
91
99
|
if (!('redirectUris' in value) || value['redirectUris'] === undefined) return false;
|
|
@@ -108,6 +116,7 @@ export function OAuthClientListItemFromJSONTyped(json: any, ignoreDiscriminator:
|
|
|
108
116
|
return {
|
|
109
117
|
|
|
110
118
|
'clientId': json['clientId'],
|
|
119
|
+
'displayName': json['displayName'],
|
|
111
120
|
'name': json['name'],
|
|
112
121
|
'audiences': json['audiences'],
|
|
113
122
|
'redirectUris': json['redirectUris'],
|
|
@@ -132,6 +141,7 @@ export function OAuthClientListItemToJSONTyped(value?: OAuthClientListItem | nul
|
|
|
132
141
|
return {
|
|
133
142
|
|
|
134
143
|
'clientId': value['clientId'],
|
|
144
|
+
'displayName': value['displayName'],
|
|
135
145
|
'name': value['name'],
|
|
136
146
|
'audiences': value['audiences'],
|
|
137
147
|
'redirectUris': value['redirectUris'],
|
|
@@ -13,14 +13,6 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
import { mapValues } from '../runtime';
|
|
16
|
-
import type { OAuthClientPublicKey } from './OAuthClientPublicKey';
|
|
17
|
-
import {
|
|
18
|
-
OAuthClientPublicKeyFromJSON,
|
|
19
|
-
OAuthClientPublicKeyFromJSONTyped,
|
|
20
|
-
OAuthClientPublicKeyToJSON,
|
|
21
|
-
OAuthClientPublicKeyToJSONTyped,
|
|
22
|
-
} from './OAuthClientPublicKey';
|
|
23
|
-
|
|
24
16
|
/**
|
|
25
17
|
* A request to update an oauth client
|
|
26
18
|
* @export
|
|
@@ -32,74 +24,35 @@ export interface UpdateOAuthClientPayload {
|
|
|
32
24
|
* @type {string}
|
|
33
25
|
* @memberof UpdateOAuthClientPayload
|
|
34
26
|
*/
|
|
35
|
-
|
|
36
|
-
/**
|
|
37
|
-
*
|
|
38
|
-
* @type {boolean}
|
|
39
|
-
* @memberof UpdateOAuthClientPayload
|
|
40
|
-
*/
|
|
41
|
-
trusted?: boolean | null;
|
|
42
|
-
/**
|
|
43
|
-
*
|
|
44
|
-
* @type {Array<string>}
|
|
45
|
-
* @memberof UpdateOAuthClientPayload
|
|
46
|
-
*/
|
|
47
|
-
audiences?: Array<string> | null;
|
|
27
|
+
displayName: string;
|
|
48
28
|
/**
|
|
49
29
|
*
|
|
50
30
|
* @type {Array<string>}
|
|
51
31
|
* @memberof UpdateOAuthClientPayload
|
|
52
32
|
*/
|
|
53
|
-
redirectUris
|
|
33
|
+
redirectUris: Array<string>;
|
|
54
34
|
/**
|
|
55
35
|
*
|
|
56
36
|
* @type {Array<string>}
|
|
57
37
|
* @memberof UpdateOAuthClientPayload
|
|
58
38
|
*/
|
|
59
|
-
grantTypes
|
|
39
|
+
grantTypes: Array<string>;
|
|
60
40
|
/**
|
|
61
41
|
*
|
|
62
42
|
* @type {Array<string>}
|
|
63
43
|
* @memberof UpdateOAuthClientPayload
|
|
64
44
|
*/
|
|
65
|
-
scopes
|
|
66
|
-
/**
|
|
67
|
-
*
|
|
68
|
-
* @type {string}
|
|
69
|
-
* @memberof UpdateOAuthClientPayload
|
|
70
|
-
*/
|
|
71
|
-
jwksUri?: string | null;
|
|
72
|
-
/**
|
|
73
|
-
*
|
|
74
|
-
* @type {OAuthClientPublicKey}
|
|
75
|
-
* @memberof UpdateOAuthClientPayload
|
|
76
|
-
*/
|
|
77
|
-
publicKey?: OAuthClientPublicKey | null;
|
|
78
|
-
/**
|
|
79
|
-
*
|
|
80
|
-
* @type {boolean}
|
|
81
|
-
* @memberof UpdateOAuthClientPayload
|
|
82
|
-
*/
|
|
83
|
-
serviceAccount?: boolean | null;
|
|
84
|
-
/**
|
|
85
|
-
*
|
|
86
|
-
* @type {boolean}
|
|
87
|
-
* @memberof UpdateOAuthClientPayload
|
|
88
|
-
*/
|
|
89
|
-
serviceAccountDelegation?: boolean | null;
|
|
90
|
-
/**
|
|
91
|
-
*
|
|
92
|
-
* @type {string}
|
|
93
|
-
* @memberof UpdateOAuthClientPayload
|
|
94
|
-
*/
|
|
95
|
-
ssoProvider?: string | null;
|
|
45
|
+
scopes: Array<string>;
|
|
96
46
|
}
|
|
97
47
|
|
|
98
48
|
/**
|
|
99
49
|
* Check if a given object implements the UpdateOAuthClientPayload interface.
|
|
100
50
|
*/
|
|
101
51
|
export function instanceOfUpdateOAuthClientPayload(value: object): value is UpdateOAuthClientPayload {
|
|
102
|
-
if (!('
|
|
52
|
+
if (!('displayName' in value) || value['displayName'] === undefined) return false;
|
|
53
|
+
if (!('redirectUris' in value) || value['redirectUris'] === undefined) return false;
|
|
54
|
+
if (!('grantTypes' in value) || value['grantTypes'] === undefined) return false;
|
|
55
|
+
if (!('scopes' in value) || value['scopes'] === undefined) return false;
|
|
103
56
|
return true;
|
|
104
57
|
}
|
|
105
58
|
|
|
@@ -113,17 +66,10 @@ export function UpdateOAuthClientPayloadFromJSONTyped(json: any, ignoreDiscrimin
|
|
|
113
66
|
}
|
|
114
67
|
return {
|
|
115
68
|
|
|
116
|
-
'
|
|
117
|
-
'
|
|
118
|
-
'
|
|
119
|
-
'
|
|
120
|
-
'grantTypes': json['grantTypes'] == null ? undefined : json['grantTypes'],
|
|
121
|
-
'scopes': json['scopes'] == null ? undefined : json['scopes'],
|
|
122
|
-
'jwksUri': json['jwksUri'] == null ? undefined : json['jwksUri'],
|
|
123
|
-
'publicKey': json['publicKey'] == null ? undefined : OAuthClientPublicKeyFromJSON(json['publicKey']),
|
|
124
|
-
'serviceAccount': json['serviceAccount'] == null ? undefined : json['serviceAccount'],
|
|
125
|
-
'serviceAccountDelegation': json['serviceAccountDelegation'] == null ? undefined : json['serviceAccountDelegation'],
|
|
126
|
-
'ssoProvider': json['ssoProvider'] == null ? undefined : json['ssoProvider'],
|
|
69
|
+
'displayName': json['displayName'],
|
|
70
|
+
'redirectUris': json['redirectUris'],
|
|
71
|
+
'grantTypes': json['grantTypes'],
|
|
72
|
+
'scopes': json['scopes'],
|
|
127
73
|
};
|
|
128
74
|
}
|
|
129
75
|
|
|
@@ -138,17 +84,10 @@ export function UpdateOAuthClientPayloadToJSONTyped(value?: UpdateOAuthClientPay
|
|
|
138
84
|
|
|
139
85
|
return {
|
|
140
86
|
|
|
141
|
-
'
|
|
142
|
-
'trusted': value['trusted'],
|
|
143
|
-
'audiences': value['audiences'],
|
|
87
|
+
'displayName': value['displayName'],
|
|
144
88
|
'redirectUris': value['redirectUris'],
|
|
145
89
|
'grantTypes': value['grantTypes'],
|
|
146
90
|
'scopes': value['scopes'],
|
|
147
|
-
'jwksUri': value['jwksUri'],
|
|
148
|
-
'publicKey': OAuthClientPublicKeyToJSON(value['publicKey']),
|
|
149
|
-
'serviceAccount': value['serviceAccount'],
|
|
150
|
-
'serviceAccountDelegation': value['serviceAccountDelegation'],
|
|
151
|
-
'ssoProvider': value['ssoProvider'],
|
|
152
91
|
};
|
|
153
92
|
}
|
|
154
93
|
|