@equisoft/account-service-sdk-typescript 4.5.1-snapshot.20230203171151 → 4.5.1-snapshot.20230207210529
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +1 -0
- package/.openapi-generator/VERSION +1 -1
- package/README.md +2 -2
- package/dist/apis/OAuthApi.d.ts +6 -6
- package/dist/apis/OAuthApi.js +1 -1
- package/dist/apis/OrganizationApi.d.ts +38 -38
- package/dist/apis/OrganizationApi.js +1 -1
- package/dist/apis/PermissionApi.d.ts +4 -4
- package/dist/apis/PermissionApi.js +1 -1
- package/dist/apis/RoleApi.d.ts +4 -4
- package/dist/apis/RoleApi.js +1 -1
- package/dist/apis/ServiceAccountApi.d.ts +18 -18
- package/dist/apis/ServiceAccountApi.js +1 -1
- package/dist/apis/SessionApi.d.ts +26 -26
- package/dist/apis/SessionApi.js +1 -1
- package/dist/apis/UserApi.d.ts +56 -44
- package/dist/apis/UserApi.js +41 -1
- package/dist/models/ApplyPermissionsPayload.d.ts +6 -2
- package/dist/models/ApplyPermissionsPayload.js +12 -2
- package/dist/models/AuthenticationUserAccount.d.ts +5 -1
- package/dist/models/AuthenticationUserAccount.js +15 -2
- package/dist/models/CreateOrUpdateOAuthClientPayload.d.ts +6 -2
- package/dist/models/CreateOrUpdateOAuthClientPayload.js +14 -2
- package/dist/models/CreateOrUpdateOrganizationPayload.d.ts +6 -2
- package/dist/models/CreateOrUpdateOrganizationPayload.js +13 -2
- package/dist/models/CreateOrUpdatePermissionPayload.d.ts +6 -2
- package/dist/models/CreateOrUpdatePermissionPayload.js +11 -2
- package/dist/models/CreateOrganizationPayload.d.ts +6 -2
- package/dist/models/CreateOrganizationPayload.js +13 -2
- package/dist/models/CreateOrganizationUserServiceOptionPayload.d.ts +5 -1
- package/dist/models/CreateOrganizationUserServiceOptionPayload.js +11 -2
- package/dist/models/CreateOrganizationUserServicePayload.d.ts +5 -1
- package/dist/models/CreateOrganizationUserServicePayload.js +10 -2
- package/dist/models/CreateRole.d.ts +6 -2
- package/dist/models/CreateRole.js +12 -2
- package/dist/models/DatabaseState.d.ts +2 -1
- package/dist/models/DatabaseState.js +3 -2
- package/dist/models/EnableEquisoftConnectPayloadSchema.d.ts +5 -1
- package/dist/models/EnableEquisoftConnectPayloadSchema.js +10 -2
- package/dist/models/ErrorMessage.d.ts +2 -1
- package/dist/models/ErrorMessage.js +3 -2
- package/dist/models/ErrorPayload.d.ts +6 -2
- package/dist/models/ErrorPayload.js +11 -2
- package/dist/models/Id.d.ts +5 -1
- package/dist/models/Id.js +12 -2
- package/dist/models/ImpersonatePayload.d.ts +5 -1
- package/dist/models/ImpersonatePayload.js +11 -2
- package/dist/models/LegacyRoleSchema.d.ts +6 -2
- package/dist/models/LegacyRoleSchema.js +12 -2
- package/dist/models/ListOrganizationElement.d.ts +8 -4
- package/dist/models/ListOrganizationElement.js +14 -2
- package/dist/models/ListUserOrganizations.d.ts +6 -2
- package/dist/models/ListUserOrganizations.js +11 -2
- package/dist/models/LocalizedString.d.ts +5 -1
- package/dist/models/LocalizedString.js +12 -2
- package/dist/models/LoginPayload.d.ts +5 -1
- package/dist/models/LoginPayload.js +12 -2
- package/dist/models/OAuthClient.d.ts +6 -2
- package/dist/models/OAuthClient.js +20 -2
- package/dist/models/OAuthClientCreated.d.ts +5 -1
- package/dist/models/OAuthClientCreated.js +11 -2
- package/dist/models/OAuthClientPublicKey.d.ts +5 -1
- package/dist/models/OAuthClientPublicKey.js +12 -2
- package/dist/models/Organization.d.ts +8 -4
- package/dist/models/Organization.js +16 -2
- package/dist/models/OrganizationCreated.d.ts +5 -1
- package/dist/models/OrganizationCreated.js +11 -2
- package/dist/models/OrganizationPathElement.d.ts +6 -2
- package/dist/models/OrganizationPathElement.js +12 -2
- package/dist/models/OrganizationRoleAttribution.d.ts +7 -3
- package/dist/models/OrganizationRoleAttribution.js +12 -2
- package/dist/models/OrganizationRoleAttributionPermission.d.ts +6 -2
- package/dist/models/OrganizationRoleAttributionPermission.js +12 -2
- package/dist/models/OrganizationRoleAttributionRole.d.ts +7 -3
- package/dist/models/OrganizationRoleAttributionRole.js +13 -2
- package/dist/models/OrganizationRoleAttributions.d.ts +6 -2
- package/dist/models/OrganizationRoleAttributions.js +11 -2
- package/dist/models/OrganizationServicesElement.d.ts +5 -1
- package/dist/models/OrganizationServicesElement.js +11 -2
- package/dist/models/OrganizationSsoProvider.d.ts +6 -2
- package/dist/models/OrganizationSsoProvider.js +12 -2
- package/dist/models/OrganizationUserServiceAssociation.d.ts +5 -1
- package/dist/models/OrganizationUserServiceAssociation.js +12 -2
- package/dist/models/PermissionCode.d.ts +5 -1
- package/dist/models/PermissionCode.js +11 -2
- package/dist/models/PermissionCreated.d.ts +5 -1
- package/dist/models/PermissionCreated.js +11 -2
- package/dist/models/PermissionList.d.ts +6 -2
- package/dist/models/PermissionList.js +11 -2
- package/dist/models/PermissionResourceType.d.ts +2 -1
- package/dist/models/PermissionResourceType.js +3 -2
- package/dist/models/Role.d.ts +6 -2
- package/dist/models/Role.js +13 -2
- package/dist/models/RoleCreated.d.ts +6 -2
- package/dist/models/RoleCreated.js +13 -2
- package/dist/models/RolesOnOrganization.d.ts +9 -5
- package/dist/models/RolesOnOrganization.js +15 -2
- package/dist/models/SendResetPasswordLinkPayload.d.ts +5 -1
- package/dist/models/SendResetPasswordLinkPayload.js +12 -2
- package/dist/models/ServiceAccess.d.ts +7 -3
- package/dist/models/ServiceAccess.js +11 -2
- package/dist/models/ServiceAccountCreationSchema.d.ts +5 -1
- package/dist/models/ServiceAccountCreationSchema.js +13 -2
- package/dist/models/ServiceAccountSchema.d.ts +6 -2
- package/dist/models/ServiceAccountSchema.js +16 -2
- package/dist/models/ServiceAccountStatus.d.ts +2 -1
- package/dist/models/ServiceAccountStatus.js +3 -2
- package/dist/models/ServiceAccountUpdateSchema.d.ts +5 -1
- package/dist/models/ServiceAccountUpdateSchema.js +10 -2
- package/dist/models/ServiceAccountUuidSchema.d.ts +5 -1
- package/dist/models/ServiceAccountUuidSchema.js +11 -2
- package/dist/models/ServiceName.d.ts +2 -1
- package/dist/models/ServiceName.js +3 -2
- package/dist/models/Session.d.ts +8 -4
- package/dist/models/Session.js +18 -2
- package/dist/models/SessionPayload.d.ts +6 -2
- package/dist/models/SessionPayload.js +12 -2
- package/dist/models/SessionState.d.ts +2 -1
- package/dist/models/SessionState.js +3 -2
- package/dist/models/SetPasswordByConfirmationHashPayload.d.ts +31 -0
- package/dist/models/SetPasswordByConfirmationHashPayload.js +50 -0
- package/dist/models/SetUserAccountPasswordPayload.d.ts +5 -1
- package/dist/models/SetUserAccountPasswordPayload.js +12 -2
- package/dist/models/SsoProvider.d.ts +5 -1
- package/dist/models/SsoProvider.js +12 -2
- package/dist/models/SsoToken.d.ts +5 -1
- package/dist/models/SsoToken.js +12 -2
- package/dist/models/UpdateParentOrganizationPayload.d.ts +5 -1
- package/dist/models/UpdateParentOrganizationPayload.js +11 -2
- package/dist/models/UpdateUserAccountPayload.d.ts +5 -1
- package/dist/models/UpdateUserAccountPayload.js +12 -2
- package/dist/models/UpdateUserAccountSsoPayload.d.ts +5 -1
- package/dist/models/UpdateUserAccountSsoPayload.js +11 -2
- package/dist/models/UpsertServicePayload.d.ts +5 -1
- package/dist/models/UpsertServicePayload.js +10 -2
- package/dist/models/User.d.ts +10 -6
- package/dist/models/User.js +27 -2
- package/dist/models/UserAccountOrganizationRoles.d.ts +7 -3
- package/dist/models/UserAccountOrganizationRoles.js +13 -2
- package/dist/models/UserAccountPermission.d.ts +6 -2
- package/dist/models/UserAccountPermission.js +12 -2
- package/dist/models/UserAccountRole.d.ts +6 -2
- package/dist/models/UserAccountRole.js +12 -2
- package/dist/models/UserAccountRoleAttributions.d.ts +6 -2
- package/dist/models/UserAccountRoleAttributions.js +11 -2
- package/dist/models/UserAccountSearchResult.d.ts +10 -6
- package/dist/models/UserAccountSearchResult.js +27 -2
- package/dist/models/UserAgreement.d.ts +6 -2
- package/dist/models/UserAgreement.js +11 -2
- package/dist/models/UserAgreementState.d.ts +2 -1
- package/dist/models/UserAgreementState.js +3 -2
- package/dist/models/UserPermissions.d.ts +7 -3
- package/dist/models/UserPermissions.js +12 -2
- package/dist/models/UserServiceAssociation.d.ts +5 -1
- package/dist/models/UserServiceAssociation.js +12 -2
- package/dist/models/UserSsoProvider.d.ts +5 -1
- package/dist/models/UserSsoProvider.js +11 -2
- package/dist/models/UserState.d.ts +2 -1
- package/dist/models/UserState.js +3 -2
- package/dist/models/index.d.ts +1 -0
- package/dist/models/index.js +1 -0
- package/dist/runtime.d.ts +16 -3
- package/dist/runtime.js +30 -3
- package/package.json +1 -1
- package/src/apis/OAuthApi.ts +11 -9
- package/src/apis/OrganizationApi.ts +55 -53
- package/src/apis/PermissionApi.ts +8 -6
- package/src/apis/RoleApi.ts +7 -5
- package/src/apis/ServiceAccountApi.ts +27 -25
- package/src/apis/SessionApi.ts +33 -31
- package/src/apis/UserApi.ts +114 -58
- package/src/models/ApplyPermissionsPayload.ts +13 -2
- package/src/models/AuthenticationUserAccount.ts +15 -1
- package/src/models/CreateOrUpdateOAuthClientPayload.ts +15 -2
- package/src/models/CreateOrUpdateOrganizationPayload.ts +14 -2
- package/src/models/CreateOrUpdatePermissionPayload.ts +12 -2
- package/src/models/CreateOrganizationPayload.ts +14 -2
- package/src/models/CreateOrganizationUserServiceOptionPayload.ts +11 -1
- package/src/models/CreateOrganizationUserServicePayload.ts +10 -1
- package/src/models/CreateRole.ts +13 -2
- package/src/models/DatabaseState.ts +3 -2
- package/src/models/EnableEquisoftConnectPayloadSchema.ts +10 -1
- package/src/models/ErrorMessage.ts +3 -2
- package/src/models/ErrorPayload.ts +12 -2
- package/src/models/Id.ts +12 -1
- package/src/models/ImpersonatePayload.ts +11 -1
- package/src/models/LegacyRoleSchema.ts +13 -2
- package/src/models/ListOrganizationElement.ts +17 -4
- package/src/models/ListUserOrganizations.ts +12 -2
- package/src/models/LocalizedString.ts +12 -1
- package/src/models/LoginPayload.ts +12 -1
- package/src/models/OAuthClient.ts +21 -2
- package/src/models/OAuthClientCreated.ts +11 -1
- package/src/models/OAuthClientPublicKey.ts +12 -1
- package/src/models/Organization.ts +19 -4
- package/src/models/OrganizationCreated.ts +11 -1
- package/src/models/OrganizationPathElement.ts +13 -2
- package/src/models/OrganizationRoleAttribution.ts +14 -3
- package/src/models/OrganizationRoleAttributionPermission.ts +13 -2
- package/src/models/OrganizationRoleAttributionRole.ts +15 -3
- package/src/models/OrganizationRoleAttributions.ts +12 -2
- package/src/models/OrganizationServicesElement.ts +11 -1
- package/src/models/OrganizationSsoProvider.ts +13 -2
- package/src/models/OrganizationUserServiceAssociation.ts +12 -1
- package/src/models/PermissionCode.ts +11 -1
- package/src/models/PermissionCreated.ts +11 -1
- package/src/models/PermissionList.ts +12 -2
- package/src/models/PermissionResourceType.ts +3 -2
- package/src/models/Role.ts +14 -2
- package/src/models/RoleCreated.ts +14 -2
- package/src/models/RolesOnOrganization.ts +19 -5
- package/src/models/SendResetPasswordLinkPayload.ts +12 -1
- package/src/models/ServiceAccess.ts +13 -3
- package/src/models/ServiceAccountCreationSchema.ts +13 -1
- package/src/models/ServiceAccountSchema.ts +17 -2
- package/src/models/ServiceAccountStatus.ts +3 -2
- package/src/models/ServiceAccountUpdateSchema.ts +10 -1
- package/src/models/ServiceAccountUuidSchema.ts +11 -1
- package/src/models/ServiceName.ts +3 -2
- package/src/models/Session.ts +21 -4
- package/src/models/SessionPayload.ts +13 -2
- package/src/models/SessionState.ts +3 -2
- package/src/models/SetPasswordByConfirmationHashPayload.ts +66 -0
- package/src/models/SetUserAccountPasswordPayload.ts +12 -1
- package/src/models/SsoProvider.ts +12 -1
- package/src/models/SsoToken.ts +12 -1
- package/src/models/UpdateParentOrganizationPayload.ts +11 -1
- package/src/models/UpdateUserAccountPayload.ts +12 -1
- package/src/models/UpdateUserAccountSsoPayload.ts +11 -1
- package/src/models/UpsertServicePayload.ts +10 -1
- package/src/models/User.ts +32 -6
- package/src/models/UserAccountOrganizationRoles.ts +15 -3
- package/src/models/UserAccountPermission.ts +13 -2
- package/src/models/UserAccountRole.ts +13 -2
- package/src/models/UserAccountRoleAttributions.ts +12 -2
- package/src/models/UserAccountSearchResult.ts +32 -6
- package/src/models/UserAgreement.ts +12 -2
- package/src/models/UserAgreementState.ts +3 -2
- package/src/models/UserPermissions.ts +14 -3
- package/src/models/UserServiceAssociation.ts +12 -1
- package/src/models/UserSsoProvider.ts +11 -1
- package/src/models/UserState.ts +3 -2
- package/src/models/index.ts +1 -0
- package/src/runtime.ts +40 -6
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* User account and session management
|
|
5
5
|
* Provides HTTP endpoints to manage User Accounts and User Sessions.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 4.5.
|
|
7
|
+
* The version of the OpenAPI document: 4.5.1-SNAPSHOT
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -13,8 +13,8 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
import { exists, mapValues } from '../runtime';
|
|
16
|
+
import type { LocalizedString } from './LocalizedString';
|
|
16
17
|
import {
|
|
17
|
-
LocalizedString,
|
|
18
18
|
LocalizedStringFromJSON,
|
|
19
19
|
LocalizedStringFromJSONTyped,
|
|
20
20
|
LocalizedStringToJSON,
|
|
@@ -40,6 +40,17 @@ export interface OrganizationPathElement {
|
|
|
40
40
|
uuid: string;
|
|
41
41
|
}
|
|
42
42
|
|
|
43
|
+
/**
|
|
44
|
+
* Check if a given object implements the OrganizationPathElement interface.
|
|
45
|
+
*/
|
|
46
|
+
export function instanceOfOrganizationPathElement(value: object): boolean {
|
|
47
|
+
let isInstance = true;
|
|
48
|
+
isInstance = isInstance && "name" in value;
|
|
49
|
+
isInstance = isInstance && "uuid" in value;
|
|
50
|
+
|
|
51
|
+
return isInstance;
|
|
52
|
+
}
|
|
53
|
+
|
|
43
54
|
export function OrganizationPathElementFromJSON(json: any): OrganizationPathElement {
|
|
44
55
|
return OrganizationPathElementFromJSONTyped(json, false);
|
|
45
56
|
}
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* User account and session management
|
|
5
5
|
* Provides HTTP endpoints to manage User Accounts and User Sessions.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 4.5.
|
|
7
|
+
* The version of the OpenAPI document: 4.5.1-SNAPSHOT
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -13,14 +13,14 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
import { exists, mapValues } from '../runtime';
|
|
16
|
+
import type { OrganizationRoleAttributionRole } from './OrganizationRoleAttributionRole';
|
|
16
17
|
import {
|
|
17
|
-
OrganizationRoleAttributionRole,
|
|
18
18
|
OrganizationRoleAttributionRoleFromJSON,
|
|
19
19
|
OrganizationRoleAttributionRoleFromJSONTyped,
|
|
20
20
|
OrganizationRoleAttributionRoleToJSON,
|
|
21
21
|
} from './OrganizationRoleAttributionRole';
|
|
22
|
+
import type { User } from './User';
|
|
22
23
|
import {
|
|
23
|
-
User,
|
|
24
24
|
UserFromJSON,
|
|
25
25
|
UserFromJSONTyped,
|
|
26
26
|
UserToJSON,
|
|
@@ -46,6 +46,17 @@ export interface OrganizationRoleAttribution {
|
|
|
46
46
|
roles: Array<OrganizationRoleAttributionRole>;
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
+
/**
|
|
50
|
+
* Check if a given object implements the OrganizationRoleAttribution interface.
|
|
51
|
+
*/
|
|
52
|
+
export function instanceOfOrganizationRoleAttribution(value: object): boolean {
|
|
53
|
+
let isInstance = true;
|
|
54
|
+
isInstance = isInstance && "user" in value;
|
|
55
|
+
isInstance = isInstance && "roles" in value;
|
|
56
|
+
|
|
57
|
+
return isInstance;
|
|
58
|
+
}
|
|
59
|
+
|
|
49
60
|
export function OrganizationRoleAttributionFromJSON(json: any): OrganizationRoleAttribution {
|
|
50
61
|
return OrganizationRoleAttributionFromJSONTyped(json, false);
|
|
51
62
|
}
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* User account and session management
|
|
5
5
|
* Provides HTTP endpoints to manage User Accounts and User Sessions.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 4.5.
|
|
7
|
+
* The version of the OpenAPI document: 4.5.1-SNAPSHOT
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -13,8 +13,8 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
import { exists, mapValues } from '../runtime';
|
|
16
|
+
import type { LocalizedString } from './LocalizedString';
|
|
16
17
|
import {
|
|
17
|
-
LocalizedString,
|
|
18
18
|
LocalizedStringFromJSON,
|
|
19
19
|
LocalizedStringFromJSONTyped,
|
|
20
20
|
LocalizedStringToJSON,
|
|
@@ -40,6 +40,17 @@ export interface OrganizationRoleAttributionPermission {
|
|
|
40
40
|
name: LocalizedString;
|
|
41
41
|
}
|
|
42
42
|
|
|
43
|
+
/**
|
|
44
|
+
* Check if a given object implements the OrganizationRoleAttributionPermission interface.
|
|
45
|
+
*/
|
|
46
|
+
export function instanceOfOrganizationRoleAttributionPermission(value: object): boolean {
|
|
47
|
+
let isInstance = true;
|
|
48
|
+
isInstance = isInstance && "code" in value;
|
|
49
|
+
isInstance = isInstance && "name" in value;
|
|
50
|
+
|
|
51
|
+
return isInstance;
|
|
52
|
+
}
|
|
53
|
+
|
|
43
54
|
export function OrganizationRoleAttributionPermissionFromJSON(json: any): OrganizationRoleAttributionPermission {
|
|
44
55
|
return OrganizationRoleAttributionPermissionFromJSONTyped(json, false);
|
|
45
56
|
}
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* User account and session management
|
|
5
5
|
* Provides HTTP endpoints to manage User Accounts and User Sessions.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 4.5.
|
|
7
|
+
* The version of the OpenAPI document: 4.5.1-SNAPSHOT
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -13,14 +13,14 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
import { exists, mapValues } from '../runtime';
|
|
16
|
+
import type { LocalizedString } from './LocalizedString';
|
|
16
17
|
import {
|
|
17
|
-
LocalizedString,
|
|
18
18
|
LocalizedStringFromJSON,
|
|
19
19
|
LocalizedStringFromJSONTyped,
|
|
20
20
|
LocalizedStringToJSON,
|
|
21
21
|
} from './LocalizedString';
|
|
22
|
+
import type { OrganizationRoleAttributionPermission } from './OrganizationRoleAttributionPermission';
|
|
22
23
|
import {
|
|
23
|
-
OrganizationRoleAttributionPermission,
|
|
24
24
|
OrganizationRoleAttributionPermissionFromJSON,
|
|
25
25
|
OrganizationRoleAttributionPermissionFromJSONTyped,
|
|
26
26
|
OrganizationRoleAttributionPermissionToJSON,
|
|
@@ -52,6 +52,18 @@ export interface OrganizationRoleAttributionRole {
|
|
|
52
52
|
permissions: Array<OrganizationRoleAttributionPermission>;
|
|
53
53
|
}
|
|
54
54
|
|
|
55
|
+
/**
|
|
56
|
+
* Check if a given object implements the OrganizationRoleAttributionRole interface.
|
|
57
|
+
*/
|
|
58
|
+
export function instanceOfOrganizationRoleAttributionRole(value: object): boolean {
|
|
59
|
+
let isInstance = true;
|
|
60
|
+
isInstance = isInstance && "uuid" in value;
|
|
61
|
+
isInstance = isInstance && "name" in value;
|
|
62
|
+
isInstance = isInstance && "permissions" in value;
|
|
63
|
+
|
|
64
|
+
return isInstance;
|
|
65
|
+
}
|
|
66
|
+
|
|
55
67
|
export function OrganizationRoleAttributionRoleFromJSON(json: any): OrganizationRoleAttributionRole {
|
|
56
68
|
return OrganizationRoleAttributionRoleFromJSONTyped(json, false);
|
|
57
69
|
}
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* User account and session management
|
|
5
5
|
* Provides HTTP endpoints to manage User Accounts and User Sessions.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 4.5.
|
|
7
|
+
* The version of the OpenAPI document: 4.5.1-SNAPSHOT
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -13,8 +13,8 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
import { exists, mapValues } from '../runtime';
|
|
16
|
+
import type { OrganizationRoleAttribution } from './OrganizationRoleAttribution';
|
|
16
17
|
import {
|
|
17
|
-
OrganizationRoleAttribution,
|
|
18
18
|
OrganizationRoleAttributionFromJSON,
|
|
19
19
|
OrganizationRoleAttributionFromJSONTyped,
|
|
20
20
|
OrganizationRoleAttributionToJSON,
|
|
@@ -34,6 +34,16 @@ export interface OrganizationRoleAttributions {
|
|
|
34
34
|
users: Array<OrganizationRoleAttribution>;
|
|
35
35
|
}
|
|
36
36
|
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the OrganizationRoleAttributions interface.
|
|
39
|
+
*/
|
|
40
|
+
export function instanceOfOrganizationRoleAttributions(value: object): boolean {
|
|
41
|
+
let isInstance = true;
|
|
42
|
+
isInstance = isInstance && "users" in value;
|
|
43
|
+
|
|
44
|
+
return isInstance;
|
|
45
|
+
}
|
|
46
|
+
|
|
37
47
|
export function OrganizationRoleAttributionsFromJSON(json: any): OrganizationRoleAttributions {
|
|
38
48
|
return OrganizationRoleAttributionsFromJSONTyped(json, false);
|
|
39
49
|
}
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* User account and session management
|
|
5
5
|
* Provides HTTP endpoints to manage User Accounts and User Sessions.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 4.5.
|
|
7
|
+
* The version of the OpenAPI document: 4.5.1-SNAPSHOT
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -33,6 +33,16 @@ export interface OrganizationServicesElement {
|
|
|
33
33
|
externalId?: string | null;
|
|
34
34
|
}
|
|
35
35
|
|
|
36
|
+
/**
|
|
37
|
+
* Check if a given object implements the OrganizationServicesElement interface.
|
|
38
|
+
*/
|
|
39
|
+
export function instanceOfOrganizationServicesElement(value: object): boolean {
|
|
40
|
+
let isInstance = true;
|
|
41
|
+
isInstance = isInstance && "code" in value;
|
|
42
|
+
|
|
43
|
+
return isInstance;
|
|
44
|
+
}
|
|
45
|
+
|
|
36
46
|
export function OrganizationServicesElementFromJSON(json: any): OrganizationServicesElement {
|
|
37
47
|
return OrganizationServicesElementFromJSONTyped(json, false);
|
|
38
48
|
}
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* User account and session management
|
|
5
5
|
* Provides HTTP endpoints to manage User Accounts and User Sessions.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 4.5.
|
|
7
|
+
* The version of the OpenAPI document: 4.5.1-SNAPSHOT
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -13,8 +13,8 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
import { exists, mapValues } from '../runtime';
|
|
16
|
+
import type { LocalizedString } from './LocalizedString';
|
|
16
17
|
import {
|
|
17
|
-
LocalizedString,
|
|
18
18
|
LocalizedStringFromJSON,
|
|
19
19
|
LocalizedStringFromJSONTyped,
|
|
20
20
|
LocalizedStringToJSON,
|
|
@@ -40,6 +40,17 @@ export interface OrganizationSsoProvider {
|
|
|
40
40
|
name: LocalizedString;
|
|
41
41
|
}
|
|
42
42
|
|
|
43
|
+
/**
|
|
44
|
+
* Check if a given object implements the OrganizationSsoProvider interface.
|
|
45
|
+
*/
|
|
46
|
+
export function instanceOfOrganizationSsoProvider(value: object): boolean {
|
|
47
|
+
let isInstance = true;
|
|
48
|
+
isInstance = isInstance && "code" in value;
|
|
49
|
+
isInstance = isInstance && "name" in value;
|
|
50
|
+
|
|
51
|
+
return isInstance;
|
|
52
|
+
}
|
|
53
|
+
|
|
43
54
|
export function OrganizationSsoProviderFromJSON(json: any): OrganizationSsoProvider {
|
|
44
55
|
return OrganizationSsoProviderFromJSONTyped(json, false);
|
|
45
56
|
}
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* User account and session management
|
|
5
5
|
* Provides HTTP endpoints to manage User Accounts and User Sessions.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 4.5.
|
|
7
|
+
* The version of the OpenAPI document: 4.5.1-SNAPSHOT
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -39,6 +39,17 @@ export interface OrganizationUserServiceAssociation {
|
|
|
39
39
|
options?: { [key: string]: string; } | null;
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
+
/**
|
|
43
|
+
* Check if a given object implements the OrganizationUserServiceAssociation interface.
|
|
44
|
+
*/
|
|
45
|
+
export function instanceOfOrganizationUserServiceAssociation(value: object): boolean {
|
|
46
|
+
let isInstance = true;
|
|
47
|
+
isInstance = isInstance && "organizationUuid" in value;
|
|
48
|
+
isInstance = isInstance && "code" in value;
|
|
49
|
+
|
|
50
|
+
return isInstance;
|
|
51
|
+
}
|
|
52
|
+
|
|
42
53
|
export function OrganizationUserServiceAssociationFromJSON(json: any): OrganizationUserServiceAssociation {
|
|
43
54
|
return OrganizationUserServiceAssociationFromJSONTyped(json, false);
|
|
44
55
|
}
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* User account and session management
|
|
5
5
|
* Provides HTTP endpoints to manage User Accounts and User Sessions.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 4.5.
|
|
7
|
+
* The version of the OpenAPI document: 4.5.1-SNAPSHOT
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -27,6 +27,16 @@ export interface PermissionCode {
|
|
|
27
27
|
code: string;
|
|
28
28
|
}
|
|
29
29
|
|
|
30
|
+
/**
|
|
31
|
+
* Check if a given object implements the PermissionCode interface.
|
|
32
|
+
*/
|
|
33
|
+
export function instanceOfPermissionCode(value: object): boolean {
|
|
34
|
+
let isInstance = true;
|
|
35
|
+
isInstance = isInstance && "code" in value;
|
|
36
|
+
|
|
37
|
+
return isInstance;
|
|
38
|
+
}
|
|
39
|
+
|
|
30
40
|
export function PermissionCodeFromJSON(json: any): PermissionCode {
|
|
31
41
|
return PermissionCodeFromJSONTyped(json, false);
|
|
32
42
|
}
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* User account and session management
|
|
5
5
|
* Provides HTTP endpoints to manage User Accounts and User Sessions.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 4.5.
|
|
7
|
+
* The version of the OpenAPI document: 4.5.1-SNAPSHOT
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -27,6 +27,16 @@ export interface PermissionCreated {
|
|
|
27
27
|
code: string;
|
|
28
28
|
}
|
|
29
29
|
|
|
30
|
+
/**
|
|
31
|
+
* Check if a given object implements the PermissionCreated interface.
|
|
32
|
+
*/
|
|
33
|
+
export function instanceOfPermissionCreated(value: object): boolean {
|
|
34
|
+
let isInstance = true;
|
|
35
|
+
isInstance = isInstance && "code" in value;
|
|
36
|
+
|
|
37
|
+
return isInstance;
|
|
38
|
+
}
|
|
39
|
+
|
|
30
40
|
export function PermissionCreatedFromJSON(json: any): PermissionCreated {
|
|
31
41
|
return PermissionCreatedFromJSONTyped(json, false);
|
|
32
42
|
}
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* User account and session management
|
|
5
5
|
* Provides HTTP endpoints to manage User Accounts and User Sessions.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 4.5.
|
|
7
|
+
* The version of the OpenAPI document: 4.5.1-SNAPSHOT
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -13,8 +13,8 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
import { exists, mapValues } from '../runtime';
|
|
16
|
+
import type { PermissionCode } from './PermissionCode';
|
|
16
17
|
import {
|
|
17
|
-
PermissionCode,
|
|
18
18
|
PermissionCodeFromJSON,
|
|
19
19
|
PermissionCodeFromJSONTyped,
|
|
20
20
|
PermissionCodeToJSON,
|
|
@@ -34,6 +34,16 @@ export interface PermissionList {
|
|
|
34
34
|
permissions: Array<PermissionCode>;
|
|
35
35
|
}
|
|
36
36
|
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the PermissionList interface.
|
|
39
|
+
*/
|
|
40
|
+
export function instanceOfPermissionList(value: object): boolean {
|
|
41
|
+
let isInstance = true;
|
|
42
|
+
isInstance = isInstance && "permissions" in value;
|
|
43
|
+
|
|
44
|
+
return isInstance;
|
|
45
|
+
}
|
|
46
|
+
|
|
37
47
|
export function PermissionListFromJSON(json: any): PermissionList {
|
|
38
48
|
return PermissionListFromJSONTyped(json, false);
|
|
39
49
|
}
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* User account and session management
|
|
5
5
|
* Provides HTTP endpoints to manage User Accounts and User Sessions.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 4.5.
|
|
7
|
+
* The version of the OpenAPI document: 4.5.1-SNAPSHOT
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -19,7 +19,8 @@
|
|
|
19
19
|
*/
|
|
20
20
|
export const PermissionResourceType = {
|
|
21
21
|
USER: 'USER',
|
|
22
|
-
ORGANIZATION: 'ORGANIZATION'
|
|
22
|
+
ORGANIZATION: 'ORGANIZATION',
|
|
23
|
+
unknown_default_open_api: '11184809'
|
|
23
24
|
} as const;
|
|
24
25
|
export type PermissionResourceType = typeof PermissionResourceType[keyof typeof PermissionResourceType];
|
|
25
26
|
|
package/src/models/Role.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* User account and session management
|
|
5
5
|
* Provides HTTP endpoints to manage User Accounts and User Sessions.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 4.5.
|
|
7
|
+
* The version of the OpenAPI document: 4.5.1-SNAPSHOT
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -13,8 +13,8 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
import { exists, mapValues } from '../runtime';
|
|
16
|
+
import type { LocalizedString } from './LocalizedString';
|
|
16
17
|
import {
|
|
17
|
-
LocalizedString,
|
|
18
18
|
LocalizedStringFromJSON,
|
|
19
19
|
LocalizedStringFromJSONTyped,
|
|
20
20
|
LocalizedStringToJSON,
|
|
@@ -46,6 +46,18 @@ export interface Role {
|
|
|
46
46
|
permissions: Array<string>;
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
+
/**
|
|
50
|
+
* Check if a given object implements the Role interface.
|
|
51
|
+
*/
|
|
52
|
+
export function instanceOfRole(value: object): boolean {
|
|
53
|
+
let isInstance = true;
|
|
54
|
+
isInstance = isInstance && "uuid" in value;
|
|
55
|
+
isInstance = isInstance && "name" in value;
|
|
56
|
+
isInstance = isInstance && "permissions" in value;
|
|
57
|
+
|
|
58
|
+
return isInstance;
|
|
59
|
+
}
|
|
60
|
+
|
|
49
61
|
export function RoleFromJSON(json: any): Role {
|
|
50
62
|
return RoleFromJSONTyped(json, false);
|
|
51
63
|
}
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* User account and session management
|
|
5
5
|
* Provides HTTP endpoints to manage User Accounts and User Sessions.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 4.5.
|
|
7
|
+
* The version of the OpenAPI document: 4.5.1-SNAPSHOT
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -13,8 +13,8 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
import { exists, mapValues } from '../runtime';
|
|
16
|
+
import type { LocalizedString } from './LocalizedString';
|
|
16
17
|
import {
|
|
17
|
-
LocalizedString,
|
|
18
18
|
LocalizedStringFromJSON,
|
|
19
19
|
LocalizedStringFromJSONTyped,
|
|
20
20
|
LocalizedStringToJSON,
|
|
@@ -46,6 +46,18 @@ export interface RoleCreated {
|
|
|
46
46
|
permissions: Array<string>;
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
+
/**
|
|
50
|
+
* Check if a given object implements the RoleCreated interface.
|
|
51
|
+
*/
|
|
52
|
+
export function instanceOfRoleCreated(value: object): boolean {
|
|
53
|
+
let isInstance = true;
|
|
54
|
+
isInstance = isInstance && "uuid" in value;
|
|
55
|
+
isInstance = isInstance && "name" in value;
|
|
56
|
+
isInstance = isInstance && "permissions" in value;
|
|
57
|
+
|
|
58
|
+
return isInstance;
|
|
59
|
+
}
|
|
60
|
+
|
|
49
61
|
export function RoleCreatedFromJSON(json: any): RoleCreated {
|
|
50
62
|
return RoleCreatedFromJSONTyped(json, false);
|
|
51
63
|
}
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* User account and session management
|
|
5
5
|
* Provides HTTP endpoints to manage User Accounts and User Sessions.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 4.5.
|
|
7
|
+
* The version of the OpenAPI document: 4.5.1-SNAPSHOT
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -13,26 +13,26 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
import { exists, mapValues } from '../runtime';
|
|
16
|
+
import type { LocalizedString } from './LocalizedString';
|
|
16
17
|
import {
|
|
17
|
-
LocalizedString,
|
|
18
18
|
LocalizedStringFromJSON,
|
|
19
19
|
LocalizedStringFromJSONTyped,
|
|
20
20
|
LocalizedStringToJSON,
|
|
21
21
|
} from './LocalizedString';
|
|
22
|
+
import type { OrganizationPathElement } from './OrganizationPathElement';
|
|
22
23
|
import {
|
|
23
|
-
OrganizationPathElement,
|
|
24
24
|
OrganizationPathElementFromJSON,
|
|
25
25
|
OrganizationPathElementFromJSONTyped,
|
|
26
26
|
OrganizationPathElementToJSON,
|
|
27
27
|
} from './OrganizationPathElement';
|
|
28
|
+
import type { UserAccountPermission } from './UserAccountPermission';
|
|
28
29
|
import {
|
|
29
|
-
UserAccountPermission,
|
|
30
30
|
UserAccountPermissionFromJSON,
|
|
31
31
|
UserAccountPermissionFromJSONTyped,
|
|
32
32
|
UserAccountPermissionToJSON,
|
|
33
33
|
} from './UserAccountPermission';
|
|
34
|
+
import type { UserAccountRole } from './UserAccountRole';
|
|
34
35
|
import {
|
|
35
|
-
UserAccountRole,
|
|
36
36
|
UserAccountRoleFromJSON,
|
|
37
37
|
UserAccountRoleFromJSONTyped,
|
|
38
38
|
UserAccountRoleToJSON,
|
|
@@ -76,6 +76,20 @@ export interface RolesOnOrganization {
|
|
|
76
76
|
permissions: Array<UserAccountPermission>;
|
|
77
77
|
}
|
|
78
78
|
|
|
79
|
+
/**
|
|
80
|
+
* Check if a given object implements the RolesOnOrganization interface.
|
|
81
|
+
*/
|
|
82
|
+
export function instanceOfRolesOnOrganization(value: object): boolean {
|
|
83
|
+
let isInstance = true;
|
|
84
|
+
isInstance = isInstance && "uuid" in value;
|
|
85
|
+
isInstance = isInstance && "name" in value;
|
|
86
|
+
isInstance = isInstance && "path" in value;
|
|
87
|
+
isInstance = isInstance && "roles" in value;
|
|
88
|
+
isInstance = isInstance && "permissions" in value;
|
|
89
|
+
|
|
90
|
+
return isInstance;
|
|
91
|
+
}
|
|
92
|
+
|
|
79
93
|
export function RolesOnOrganizationFromJSON(json: any): RolesOnOrganization {
|
|
80
94
|
return RolesOnOrganizationFromJSONTyped(json, false);
|
|
81
95
|
}
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* User account and session management
|
|
5
5
|
* Provides HTTP endpoints to manage User Accounts and User Sessions.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 4.5.
|
|
7
|
+
* The version of the OpenAPI document: 4.5.1-SNAPSHOT
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -33,6 +33,17 @@ export interface SendResetPasswordLinkPayload {
|
|
|
33
33
|
sendSms: boolean;
|
|
34
34
|
}
|
|
35
35
|
|
|
36
|
+
/**
|
|
37
|
+
* Check if a given object implements the SendResetPasswordLinkPayload interface.
|
|
38
|
+
*/
|
|
39
|
+
export function instanceOfSendResetPasswordLinkPayload(value: object): boolean {
|
|
40
|
+
let isInstance = true;
|
|
41
|
+
isInstance = isInstance && "sendEmail" in value;
|
|
42
|
+
isInstance = isInstance && "sendSms" in value;
|
|
43
|
+
|
|
44
|
+
return isInstance;
|
|
45
|
+
}
|
|
46
|
+
|
|
36
47
|
export function SendResetPasswordLinkPayloadFromJSON(json: any): SendResetPasswordLinkPayload {
|
|
37
48
|
return SendResetPasswordLinkPayloadFromJSONTyped(json, false);
|
|
38
49
|
}
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* User account and session management
|
|
5
5
|
* Provides HTTP endpoints to manage User Accounts and User Sessions.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 4.5.
|
|
7
|
+
* The version of the OpenAPI document: 4.5.1-SNAPSHOT
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -13,14 +13,14 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
import { exists, mapValues } from '../runtime';
|
|
16
|
+
import type { DatabaseState } from './DatabaseState';
|
|
16
17
|
import {
|
|
17
|
-
DatabaseState,
|
|
18
18
|
DatabaseStateFromJSON,
|
|
19
19
|
DatabaseStateFromJSONTyped,
|
|
20
20
|
DatabaseStateToJSON,
|
|
21
21
|
} from './DatabaseState';
|
|
22
|
+
import type { ServiceName } from './ServiceName';
|
|
22
23
|
import {
|
|
23
|
-
ServiceName,
|
|
24
24
|
ServiceNameFromJSON,
|
|
25
25
|
ServiceNameFromJSONTyped,
|
|
26
26
|
ServiceNameToJSON,
|
|
@@ -70,6 +70,16 @@ export interface ServiceAccess {
|
|
|
70
70
|
maxConcurrentAccess?: number | null;
|
|
71
71
|
}
|
|
72
72
|
|
|
73
|
+
/**
|
|
74
|
+
* Check if a given object implements the ServiceAccess interface.
|
|
75
|
+
*/
|
|
76
|
+
export function instanceOfServiceAccess(value: object): boolean {
|
|
77
|
+
let isInstance = true;
|
|
78
|
+
isInstance = isInstance && "serviceName" in value;
|
|
79
|
+
|
|
80
|
+
return isInstance;
|
|
81
|
+
}
|
|
82
|
+
|
|
73
83
|
export function ServiceAccessFromJSON(json: any): ServiceAccess {
|
|
74
84
|
return ServiceAccessFromJSONTyped(json, false);
|
|
75
85
|
}
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* User account and session management
|
|
5
5
|
* Provides HTTP endpoints to manage User Accounts and User Sessions.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 4.5.
|
|
7
|
+
* The version of the OpenAPI document: 4.5.1-SNAPSHOT
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -39,6 +39,18 @@ export interface ServiceAccountCreationSchema {
|
|
|
39
39
|
displayName: string;
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
+
/**
|
|
43
|
+
* Check if a given object implements the ServiceAccountCreationSchema interface.
|
|
44
|
+
*/
|
|
45
|
+
export function instanceOfServiceAccountCreationSchema(value: object): boolean {
|
|
46
|
+
let isInstance = true;
|
|
47
|
+
isInstance = isInstance && "name" in value;
|
|
48
|
+
isInstance = isInstance && "clientId" in value;
|
|
49
|
+
isInstance = isInstance && "displayName" in value;
|
|
50
|
+
|
|
51
|
+
return isInstance;
|
|
52
|
+
}
|
|
53
|
+
|
|
42
54
|
export function ServiceAccountCreationSchemaFromJSON(json: any): ServiceAccountCreationSchema {
|
|
43
55
|
return ServiceAccountCreationSchemaFromJSONTyped(json, false);
|
|
44
56
|
}
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* User account and session management
|
|
5
5
|
* Provides HTTP endpoints to manage User Accounts and User Sessions.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 4.5.
|
|
7
|
+
* The version of the OpenAPI document: 4.5.1-SNAPSHOT
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -13,8 +13,8 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
import { exists, mapValues } from '../runtime';
|
|
16
|
+
import type { ServiceAccountStatus } from './ServiceAccountStatus';
|
|
16
17
|
import {
|
|
17
|
-
ServiceAccountStatus,
|
|
18
18
|
ServiceAccountStatusFromJSON,
|
|
19
19
|
ServiceAccountStatusFromJSONTyped,
|
|
20
20
|
ServiceAccountStatusToJSON,
|
|
@@ -70,6 +70,21 @@ export interface ServiceAccountSchema {
|
|
|
70
70
|
modifiedAt?: Date | null;
|
|
71
71
|
}
|
|
72
72
|
|
|
73
|
+
/**
|
|
74
|
+
* Check if a given object implements the ServiceAccountSchema interface.
|
|
75
|
+
*/
|
|
76
|
+
export function instanceOfServiceAccountSchema(value: object): boolean {
|
|
77
|
+
let isInstance = true;
|
|
78
|
+
isInstance = isInstance && "uuid" in value;
|
|
79
|
+
isInstance = isInstance && "name" in value;
|
|
80
|
+
isInstance = isInstance && "clientId" in value;
|
|
81
|
+
isInstance = isInstance && "displayName" in value;
|
|
82
|
+
isInstance = isInstance && "status" in value;
|
|
83
|
+
isInstance = isInstance && "createdAt" in value;
|
|
84
|
+
|
|
85
|
+
return isInstance;
|
|
86
|
+
}
|
|
87
|
+
|
|
73
88
|
export function ServiceAccountSchemaFromJSON(json: any): ServiceAccountSchema {
|
|
74
89
|
return ServiceAccountSchemaFromJSONTyped(json, false);
|
|
75
90
|
}
|