@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
|
@@ -0,0 +1,31 @@
|
|
|
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: 4.5.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
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface SetPasswordByConfirmationHashPayload
|
|
16
|
+
*/
|
|
17
|
+
export interface SetPasswordByConfirmationHashPayload {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof SetPasswordByConfirmationHashPayload
|
|
22
|
+
*/
|
|
23
|
+
newPassword: string;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the SetPasswordByConfirmationHashPayload interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfSetPasswordByConfirmationHashPayload(value: object): boolean;
|
|
29
|
+
export declare function SetPasswordByConfirmationHashPayloadFromJSON(json: any): SetPasswordByConfirmationHashPayload;
|
|
30
|
+
export declare function SetPasswordByConfirmationHashPayloadFromJSONTyped(json: any, ignoreDiscriminator: boolean): SetPasswordByConfirmationHashPayload;
|
|
31
|
+
export declare function SetPasswordByConfirmationHashPayloadToJSON(value?: SetPasswordByConfirmationHashPayload | null): any;
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* User account and session management
|
|
6
|
+
* Provides HTTP endpoints to manage User Accounts and User Sessions.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 4.5.1-SNAPSHOT
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.SetPasswordByConfirmationHashPayloadToJSON = exports.SetPasswordByConfirmationHashPayloadFromJSONTyped = exports.SetPasswordByConfirmationHashPayloadFromJSON = exports.instanceOfSetPasswordByConfirmationHashPayload = void 0;
|
|
17
|
+
/**
|
|
18
|
+
* Check if a given object implements the SetPasswordByConfirmationHashPayload interface.
|
|
19
|
+
*/
|
|
20
|
+
function instanceOfSetPasswordByConfirmationHashPayload(value) {
|
|
21
|
+
let isInstance = true;
|
|
22
|
+
isInstance = isInstance && "newPassword" in value;
|
|
23
|
+
return isInstance;
|
|
24
|
+
}
|
|
25
|
+
exports.instanceOfSetPasswordByConfirmationHashPayload = instanceOfSetPasswordByConfirmationHashPayload;
|
|
26
|
+
function SetPasswordByConfirmationHashPayloadFromJSON(json) {
|
|
27
|
+
return SetPasswordByConfirmationHashPayloadFromJSONTyped(json, false);
|
|
28
|
+
}
|
|
29
|
+
exports.SetPasswordByConfirmationHashPayloadFromJSON = SetPasswordByConfirmationHashPayloadFromJSON;
|
|
30
|
+
function SetPasswordByConfirmationHashPayloadFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if ((json === undefined) || (json === null)) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'newPassword': json['newPassword'],
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
exports.SetPasswordByConfirmationHashPayloadFromJSONTyped = SetPasswordByConfirmationHashPayloadFromJSONTyped;
|
|
39
|
+
function SetPasswordByConfirmationHashPayloadToJSON(value) {
|
|
40
|
+
if (value === undefined) {
|
|
41
|
+
return undefined;
|
|
42
|
+
}
|
|
43
|
+
if (value === null) {
|
|
44
|
+
return null;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
'newPassword': value.newPassword,
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
exports.SetPasswordByConfirmationHashPayloadToJSON = SetPasswordByConfirmationHashPayloadToJSON;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* User account and session management
|
|
3
3
|
* Provides HTTP endpoints to manage User Accounts and User Sessions.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 4.5.
|
|
5
|
+
* The version of the OpenAPI document: 4.5.1-SNAPSHOT
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -34,6 +34,10 @@ export interface SetUserAccountPasswordPayload {
|
|
|
34
34
|
*/
|
|
35
35
|
passwordResetRequired: boolean;
|
|
36
36
|
}
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the SetUserAccountPasswordPayload interface.
|
|
39
|
+
*/
|
|
40
|
+
export declare function instanceOfSetUserAccountPasswordPayload(value: object): boolean;
|
|
37
41
|
export declare function SetUserAccountPasswordPayloadFromJSON(json: any): SetUserAccountPasswordPayload;
|
|
38
42
|
export declare function SetUserAccountPasswordPayloadFromJSONTyped(json: any, ignoreDiscriminator: boolean): SetUserAccountPasswordPayload;
|
|
39
43
|
export declare function SetUserAccountPasswordPayloadToJSON(value?: SetUserAccountPasswordPayload | null): any;
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* User account and session management
|
|
6
6
|
* Provides HTTP endpoints to manage User Accounts and User Sessions.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 4.5.
|
|
8
|
+
* The version of the OpenAPI document: 4.5.1-SNAPSHOT
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -13,8 +13,18 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.SetUserAccountPasswordPayloadToJSON = exports.SetUserAccountPasswordPayloadFromJSONTyped = exports.SetUserAccountPasswordPayloadFromJSON = void 0;
|
|
16
|
+
exports.SetUserAccountPasswordPayloadToJSON = exports.SetUserAccountPasswordPayloadFromJSONTyped = exports.SetUserAccountPasswordPayloadFromJSON = exports.instanceOfSetUserAccountPasswordPayload = void 0;
|
|
17
17
|
const runtime_1 = require("../runtime");
|
|
18
|
+
/**
|
|
19
|
+
* Check if a given object implements the SetUserAccountPasswordPayload interface.
|
|
20
|
+
*/
|
|
21
|
+
function instanceOfSetUserAccountPasswordPayload(value) {
|
|
22
|
+
let isInstance = true;
|
|
23
|
+
isInstance = isInstance && "newPassword" in value;
|
|
24
|
+
isInstance = isInstance && "passwordResetRequired" in value;
|
|
25
|
+
return isInstance;
|
|
26
|
+
}
|
|
27
|
+
exports.instanceOfSetUserAccountPasswordPayload = instanceOfSetUserAccountPasswordPayload;
|
|
18
28
|
function SetUserAccountPasswordPayloadFromJSON(json) {
|
|
19
29
|
return SetUserAccountPasswordPayloadFromJSONTyped(json, false);
|
|
20
30
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* User account and session management
|
|
3
3
|
* Provides HTTP endpoints to manage User Accounts and User Sessions.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 4.5.
|
|
5
|
+
* The version of the OpenAPI document: 4.5.1-SNAPSHOT
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -28,6 +28,10 @@ export interface SsoProvider {
|
|
|
28
28
|
*/
|
|
29
29
|
identifier: string;
|
|
30
30
|
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the SsoProvider interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfSsoProvider(value: object): boolean;
|
|
31
35
|
export declare function SsoProviderFromJSON(json: any): SsoProvider;
|
|
32
36
|
export declare function SsoProviderFromJSONTyped(json: any, ignoreDiscriminator: boolean): SsoProvider;
|
|
33
37
|
export declare function SsoProviderToJSON(value?: SsoProvider | null): any;
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* User account and session management
|
|
6
6
|
* Provides HTTP endpoints to manage User Accounts and User Sessions.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 4.5.
|
|
8
|
+
* The version of the OpenAPI document: 4.5.1-SNAPSHOT
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -13,7 +13,17 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.SsoProviderToJSON = exports.SsoProviderFromJSONTyped = exports.SsoProviderFromJSON = void 0;
|
|
16
|
+
exports.SsoProviderToJSON = exports.SsoProviderFromJSONTyped = exports.SsoProviderFromJSON = exports.instanceOfSsoProvider = void 0;
|
|
17
|
+
/**
|
|
18
|
+
* Check if a given object implements the SsoProvider interface.
|
|
19
|
+
*/
|
|
20
|
+
function instanceOfSsoProvider(value) {
|
|
21
|
+
let isInstance = true;
|
|
22
|
+
isInstance = isInstance && "provider" in value;
|
|
23
|
+
isInstance = isInstance && "identifier" in value;
|
|
24
|
+
return isInstance;
|
|
25
|
+
}
|
|
26
|
+
exports.instanceOfSsoProvider = instanceOfSsoProvider;
|
|
17
27
|
function SsoProviderFromJSON(json) {
|
|
18
28
|
return SsoProviderFromJSONTyped(json, false);
|
|
19
29
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* User account and session management
|
|
3
3
|
* Provides HTTP endpoints to manage User Accounts and User Sessions.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 4.5.
|
|
5
|
+
* The version of the OpenAPI document: 4.5.1-SNAPSHOT
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -28,6 +28,10 @@ export interface SsoToken {
|
|
|
28
28
|
*/
|
|
29
29
|
value: string;
|
|
30
30
|
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the SsoToken interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfSsoToken(value: object): boolean;
|
|
31
35
|
export declare function SsoTokenFromJSON(json: any): SsoToken;
|
|
32
36
|
export declare function SsoTokenFromJSONTyped(json: any, ignoreDiscriminator: boolean): SsoToken;
|
|
33
37
|
export declare function SsoTokenToJSON(value?: SsoToken | null): any;
|
package/dist/models/SsoToken.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* User account and session management
|
|
6
6
|
* Provides HTTP endpoints to manage User Accounts and User Sessions.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 4.5.
|
|
8
|
+
* The version of the OpenAPI document: 4.5.1-SNAPSHOT
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -13,7 +13,17 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.SsoTokenToJSON = exports.SsoTokenFromJSONTyped = exports.SsoTokenFromJSON = void 0;
|
|
16
|
+
exports.SsoTokenToJSON = exports.SsoTokenFromJSONTyped = exports.SsoTokenFromJSON = exports.instanceOfSsoToken = void 0;
|
|
17
|
+
/**
|
|
18
|
+
* Check if a given object implements the SsoToken interface.
|
|
19
|
+
*/
|
|
20
|
+
function instanceOfSsoToken(value) {
|
|
21
|
+
let isInstance = true;
|
|
22
|
+
isInstance = isInstance && "id" in value;
|
|
23
|
+
isInstance = isInstance && "value" in value;
|
|
24
|
+
return isInstance;
|
|
25
|
+
}
|
|
26
|
+
exports.instanceOfSsoToken = instanceOfSsoToken;
|
|
17
27
|
function SsoTokenFromJSON(json) {
|
|
18
28
|
return SsoTokenFromJSONTyped(json, false);
|
|
19
29
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* User account and session management
|
|
3
3
|
* Provides HTTP endpoints to manage User Accounts and User Sessions.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 4.5.
|
|
5
|
+
* The version of the OpenAPI document: 4.5.1-SNAPSHOT
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -22,6 +22,10 @@ export interface UpdateParentOrganizationPayload {
|
|
|
22
22
|
*/
|
|
23
23
|
parentUuid: string;
|
|
24
24
|
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the UpdateParentOrganizationPayload interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfUpdateParentOrganizationPayload(value: object): boolean;
|
|
25
29
|
export declare function UpdateParentOrganizationPayloadFromJSON(json: any): UpdateParentOrganizationPayload;
|
|
26
30
|
export declare function UpdateParentOrganizationPayloadFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateParentOrganizationPayload;
|
|
27
31
|
export declare function UpdateParentOrganizationPayloadToJSON(value?: UpdateParentOrganizationPayload | null): any;
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* User account and session management
|
|
6
6
|
* Provides HTTP endpoints to manage User Accounts and User Sessions.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 4.5.
|
|
8
|
+
* The version of the OpenAPI document: 4.5.1-SNAPSHOT
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -13,7 +13,16 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.UpdateParentOrganizationPayloadToJSON = exports.UpdateParentOrganizationPayloadFromJSONTyped = exports.UpdateParentOrganizationPayloadFromJSON = void 0;
|
|
16
|
+
exports.UpdateParentOrganizationPayloadToJSON = exports.UpdateParentOrganizationPayloadFromJSONTyped = exports.UpdateParentOrganizationPayloadFromJSON = exports.instanceOfUpdateParentOrganizationPayload = void 0;
|
|
17
|
+
/**
|
|
18
|
+
* Check if a given object implements the UpdateParentOrganizationPayload interface.
|
|
19
|
+
*/
|
|
20
|
+
function instanceOfUpdateParentOrganizationPayload(value) {
|
|
21
|
+
let isInstance = true;
|
|
22
|
+
isInstance = isInstance && "parentUuid" in value;
|
|
23
|
+
return isInstance;
|
|
24
|
+
}
|
|
25
|
+
exports.instanceOfUpdateParentOrganizationPayload = instanceOfUpdateParentOrganizationPayload;
|
|
17
26
|
function UpdateParentOrganizationPayloadFromJSON(json) {
|
|
18
27
|
return UpdateParentOrganizationPayloadFromJSONTyped(json, false);
|
|
19
28
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* User account and session management
|
|
3
3
|
* Provides HTTP endpoints to manage User Accounts and User Sessions.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 4.5.
|
|
5
|
+
* The version of the OpenAPI document: 4.5.1-SNAPSHOT
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -46,6 +46,10 @@ export interface UpdateUserAccountPayload {
|
|
|
46
46
|
*/
|
|
47
47
|
locale: string;
|
|
48
48
|
}
|
|
49
|
+
/**
|
|
50
|
+
* Check if a given object implements the UpdateUserAccountPayload interface.
|
|
51
|
+
*/
|
|
52
|
+
export declare function instanceOfUpdateUserAccountPayload(value: object): boolean;
|
|
49
53
|
export declare function UpdateUserAccountPayloadFromJSON(json: any): UpdateUserAccountPayload;
|
|
50
54
|
export declare function UpdateUserAccountPayloadFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateUserAccountPayload;
|
|
51
55
|
export declare function UpdateUserAccountPayloadToJSON(value?: UpdateUserAccountPayload | null): any;
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* User account and session management
|
|
6
6
|
* Provides HTTP endpoints to manage User Accounts and User Sessions.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 4.5.
|
|
8
|
+
* The version of the OpenAPI document: 4.5.1-SNAPSHOT
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -13,8 +13,18 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.UpdateUserAccountPayloadToJSON = exports.UpdateUserAccountPayloadFromJSONTyped = exports.UpdateUserAccountPayloadFromJSON = void 0;
|
|
16
|
+
exports.UpdateUserAccountPayloadToJSON = exports.UpdateUserAccountPayloadFromJSONTyped = exports.UpdateUserAccountPayloadFromJSON = exports.instanceOfUpdateUserAccountPayload = void 0;
|
|
17
17
|
const runtime_1 = require("../runtime");
|
|
18
|
+
/**
|
|
19
|
+
* Check if a given object implements the UpdateUserAccountPayload interface.
|
|
20
|
+
*/
|
|
21
|
+
function instanceOfUpdateUserAccountPayload(value) {
|
|
22
|
+
let isInstance = true;
|
|
23
|
+
isInstance = isInstance && "email" in value;
|
|
24
|
+
isInstance = isInstance && "locale" in value;
|
|
25
|
+
return isInstance;
|
|
26
|
+
}
|
|
27
|
+
exports.instanceOfUpdateUserAccountPayload = instanceOfUpdateUserAccountPayload;
|
|
18
28
|
function UpdateUserAccountPayloadFromJSON(json) {
|
|
19
29
|
return UpdateUserAccountPayloadFromJSONTyped(json, false);
|
|
20
30
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* User account and session management
|
|
3
3
|
* Provides HTTP endpoints to manage User Accounts and User Sessions.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 4.5.
|
|
5
|
+
* The version of the OpenAPI document: 4.5.1-SNAPSHOT
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -28,6 +28,10 @@ export interface UpdateUserAccountSsoPayload {
|
|
|
28
28
|
*/
|
|
29
29
|
identifier?: string | null;
|
|
30
30
|
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the UpdateUserAccountSsoPayload interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfUpdateUserAccountSsoPayload(value: object): boolean;
|
|
31
35
|
export declare function UpdateUserAccountSsoPayloadFromJSON(json: any): UpdateUserAccountSsoPayload;
|
|
32
36
|
export declare function UpdateUserAccountSsoPayloadFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateUserAccountSsoPayload;
|
|
33
37
|
export declare function UpdateUserAccountSsoPayloadToJSON(value?: UpdateUserAccountSsoPayload | null): any;
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* User account and session management
|
|
6
6
|
* Provides HTTP endpoints to manage User Accounts and User Sessions.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 4.5.
|
|
8
|
+
* The version of the OpenAPI document: 4.5.1-SNAPSHOT
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -13,8 +13,17 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.UpdateUserAccountSsoPayloadToJSON = exports.UpdateUserAccountSsoPayloadFromJSONTyped = exports.UpdateUserAccountSsoPayloadFromJSON = void 0;
|
|
16
|
+
exports.UpdateUserAccountSsoPayloadToJSON = exports.UpdateUserAccountSsoPayloadFromJSONTyped = exports.UpdateUserAccountSsoPayloadFromJSON = exports.instanceOfUpdateUserAccountSsoPayload = void 0;
|
|
17
17
|
const runtime_1 = require("../runtime");
|
|
18
|
+
/**
|
|
19
|
+
* Check if a given object implements the UpdateUserAccountSsoPayload interface.
|
|
20
|
+
*/
|
|
21
|
+
function instanceOfUpdateUserAccountSsoPayload(value) {
|
|
22
|
+
let isInstance = true;
|
|
23
|
+
isInstance = isInstance && "providerCode" in value;
|
|
24
|
+
return isInstance;
|
|
25
|
+
}
|
|
26
|
+
exports.instanceOfUpdateUserAccountSsoPayload = instanceOfUpdateUserAccountSsoPayload;
|
|
18
27
|
function UpdateUserAccountSsoPayloadFromJSON(json) {
|
|
19
28
|
return UpdateUserAccountSsoPayloadFromJSONTyped(json, false);
|
|
20
29
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* User account and session management
|
|
3
3
|
* Provides HTTP endpoints to manage User Accounts and User Sessions.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 4.5.
|
|
5
|
+
* The version of the OpenAPI document: 4.5.1-SNAPSHOT
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -22,6 +22,10 @@ export interface UpsertServicePayload {
|
|
|
22
22
|
*/
|
|
23
23
|
externalId?: string | null;
|
|
24
24
|
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the UpsertServicePayload interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfUpsertServicePayload(value: object): boolean;
|
|
25
29
|
export declare function UpsertServicePayloadFromJSON(json: any): UpsertServicePayload;
|
|
26
30
|
export declare function UpsertServicePayloadFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpsertServicePayload;
|
|
27
31
|
export declare function UpsertServicePayloadToJSON(value?: UpsertServicePayload | null): any;
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* User account and session management
|
|
6
6
|
* Provides HTTP endpoints to manage User Accounts and User Sessions.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 4.5.
|
|
8
|
+
* The version of the OpenAPI document: 4.5.1-SNAPSHOT
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -13,8 +13,16 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.UpsertServicePayloadToJSON = exports.UpsertServicePayloadFromJSONTyped = exports.UpsertServicePayloadFromJSON = void 0;
|
|
16
|
+
exports.UpsertServicePayloadToJSON = exports.UpsertServicePayloadFromJSONTyped = exports.UpsertServicePayloadFromJSON = exports.instanceOfUpsertServicePayload = void 0;
|
|
17
17
|
const runtime_1 = require("../runtime");
|
|
18
|
+
/**
|
|
19
|
+
* Check if a given object implements the UpsertServicePayload interface.
|
|
20
|
+
*/
|
|
21
|
+
function instanceOfUpsertServicePayload(value) {
|
|
22
|
+
let isInstance = true;
|
|
23
|
+
return isInstance;
|
|
24
|
+
}
|
|
25
|
+
exports.instanceOfUpsertServicePayload = instanceOfUpsertServicePayload;
|
|
18
26
|
function UpsertServicePayloadFromJSON(json) {
|
|
19
27
|
return UpsertServicePayloadFromJSONTyped(json, false);
|
|
20
28
|
}
|
package/dist/models/User.d.ts
CHANGED
|
@@ -2,18 +2,18 @@
|
|
|
2
2
|
* User account and session management
|
|
3
3
|
* Provides HTTP endpoints to manage User Accounts and User Sessions.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 4.5.
|
|
5
|
+
* The version of the OpenAPI document: 4.5.1-SNAPSHOT
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import { ServiceAccess } from './ServiceAccess';
|
|
13
|
-
import { UserAgreement } from './UserAgreement';
|
|
14
|
-
import { UserServiceAssociation } from './UserServiceAssociation';
|
|
15
|
-
import { UserSsoProvider } from './UserSsoProvider';
|
|
16
|
-
import { UserState } from './UserState';
|
|
12
|
+
import type { ServiceAccess } from './ServiceAccess';
|
|
13
|
+
import type { UserAgreement } from './UserAgreement';
|
|
14
|
+
import type { UserServiceAssociation } from './UserServiceAssociation';
|
|
15
|
+
import type { UserSsoProvider } from './UserSsoProvider';
|
|
16
|
+
import type { UserState } from './UserState';
|
|
17
17
|
/**
|
|
18
18
|
*
|
|
19
19
|
* @export
|
|
@@ -159,6 +159,10 @@ export interface User {
|
|
|
159
159
|
*/
|
|
160
160
|
ssoIdentifier?: string | null;
|
|
161
161
|
}
|
|
162
|
+
/**
|
|
163
|
+
* Check if a given object implements the User interface.
|
|
164
|
+
*/
|
|
165
|
+
export declare function instanceOfUser(value: object): boolean;
|
|
162
166
|
export declare function UserFromJSON(json: any): User;
|
|
163
167
|
export declare function UserFromJSONTyped(json: any, ignoreDiscriminator: boolean): User;
|
|
164
168
|
export declare function UserToJSON(value?: User | null): any;
|
package/dist/models/User.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* User account and session management
|
|
6
6
|
* Provides HTTP endpoints to manage User Accounts and User Sessions.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 4.5.
|
|
8
|
+
* The version of the OpenAPI document: 4.5.1-SNAPSHOT
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -13,13 +13,38 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.UserToJSON = exports.UserFromJSONTyped = exports.UserFromJSON = void 0;
|
|
16
|
+
exports.UserToJSON = exports.UserFromJSONTyped = exports.UserFromJSON = exports.instanceOfUser = void 0;
|
|
17
17
|
const runtime_1 = require("../runtime");
|
|
18
18
|
const ServiceAccess_1 = require("./ServiceAccess");
|
|
19
19
|
const UserAgreement_1 = require("./UserAgreement");
|
|
20
20
|
const UserServiceAssociation_1 = require("./UserServiceAssociation");
|
|
21
21
|
const UserSsoProvider_1 = require("./UserSsoProvider");
|
|
22
22
|
const UserState_1 = require("./UserState");
|
|
23
|
+
/**
|
|
24
|
+
* Check if a given object implements the User interface.
|
|
25
|
+
*/
|
|
26
|
+
function instanceOfUser(value) {
|
|
27
|
+
let isInstance = true;
|
|
28
|
+
isInstance = isInstance && "id" in value;
|
|
29
|
+
isInstance = isInstance && "uuid" in value;
|
|
30
|
+
isInstance = isInstance && "displayName" in value;
|
|
31
|
+
isInstance = isInstance && "sortName" in value;
|
|
32
|
+
isInstance = isInstance && "givenName" in value;
|
|
33
|
+
isInstance = isInstance && "familyName" in value;
|
|
34
|
+
isInstance = isInstance && "email" in value;
|
|
35
|
+
isInstance = isInstance && "locale" in value;
|
|
36
|
+
isInstance = isInstance && "state" in value;
|
|
37
|
+
isInstance = isInstance && "locked" in value;
|
|
38
|
+
isInstance = isInstance && "deletable" in value;
|
|
39
|
+
isInstance = isInstance && "billable" in value;
|
|
40
|
+
isInstance = isInstance && "agreement" in value;
|
|
41
|
+
isInstance = isInstance && "services" in value;
|
|
42
|
+
isInstance = isInstance && "servicesUsers" in value;
|
|
43
|
+
isInstance = isInstance && "legacyServices" in value;
|
|
44
|
+
isInstance = isInstance && "authType" in value;
|
|
45
|
+
return isInstance;
|
|
46
|
+
}
|
|
47
|
+
exports.instanceOfUser = instanceOfUser;
|
|
23
48
|
function UserFromJSON(json) {
|
|
24
49
|
return UserFromJSONTyped(json, false);
|
|
25
50
|
}
|
|
@@ -2,15 +2,15 @@
|
|
|
2
2
|
* User account and session management
|
|
3
3
|
* Provides HTTP endpoints to manage User Accounts and User Sessions.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 4.5.
|
|
5
|
+
* The version of the OpenAPI document: 4.5.1-SNAPSHOT
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import { LocalizedString } from './LocalizedString';
|
|
13
|
-
import { UserAccountRole } from './UserAccountRole';
|
|
12
|
+
import type { LocalizedString } from './LocalizedString';
|
|
13
|
+
import type { UserAccountRole } from './UserAccountRole';
|
|
14
14
|
/**
|
|
15
15
|
*
|
|
16
16
|
* @export
|
|
@@ -36,6 +36,10 @@ export interface UserAccountOrganizationRoles {
|
|
|
36
36
|
*/
|
|
37
37
|
roles: Array<UserAccountRole>;
|
|
38
38
|
}
|
|
39
|
+
/**
|
|
40
|
+
* Check if a given object implements the UserAccountOrganizationRoles interface.
|
|
41
|
+
*/
|
|
42
|
+
export declare function instanceOfUserAccountOrganizationRoles(value: object): boolean;
|
|
39
43
|
export declare function UserAccountOrganizationRolesFromJSON(json: any): UserAccountOrganizationRoles;
|
|
40
44
|
export declare function UserAccountOrganizationRolesFromJSONTyped(json: any, ignoreDiscriminator: boolean): UserAccountOrganizationRoles;
|
|
41
45
|
export declare function UserAccountOrganizationRolesToJSON(value?: UserAccountOrganizationRoles | null): any;
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* User account and session management
|
|
6
6
|
* Provides HTTP endpoints to manage User Accounts and User Sessions.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 4.5.
|
|
8
|
+
* The version of the OpenAPI document: 4.5.1-SNAPSHOT
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -13,9 +13,20 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.UserAccountOrganizationRolesToJSON = exports.UserAccountOrganizationRolesFromJSONTyped = exports.UserAccountOrganizationRolesFromJSON = void 0;
|
|
16
|
+
exports.UserAccountOrganizationRolesToJSON = exports.UserAccountOrganizationRolesFromJSONTyped = exports.UserAccountOrganizationRolesFromJSON = exports.instanceOfUserAccountOrganizationRoles = void 0;
|
|
17
17
|
const LocalizedString_1 = require("./LocalizedString");
|
|
18
18
|
const UserAccountRole_1 = require("./UserAccountRole");
|
|
19
|
+
/**
|
|
20
|
+
* Check if a given object implements the UserAccountOrganizationRoles interface.
|
|
21
|
+
*/
|
|
22
|
+
function instanceOfUserAccountOrganizationRoles(value) {
|
|
23
|
+
let isInstance = true;
|
|
24
|
+
isInstance = isInstance && "uuid" in value;
|
|
25
|
+
isInstance = isInstance && "name" in value;
|
|
26
|
+
isInstance = isInstance && "roles" in value;
|
|
27
|
+
return isInstance;
|
|
28
|
+
}
|
|
29
|
+
exports.instanceOfUserAccountOrganizationRoles = instanceOfUserAccountOrganizationRoles;
|
|
19
30
|
function UserAccountOrganizationRolesFromJSON(json) {
|
|
20
31
|
return UserAccountOrganizationRolesFromJSONTyped(json, false);
|
|
21
32
|
}
|
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
* User account and session management
|
|
3
3
|
* Provides HTTP endpoints to manage User Accounts and User Sessions.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 4.5.
|
|
5
|
+
* The version of the OpenAPI document: 4.5.1-SNAPSHOT
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import { LocalizedString } from './LocalizedString';
|
|
12
|
+
import type { LocalizedString } from './LocalizedString';
|
|
13
13
|
/**
|
|
14
14
|
*
|
|
15
15
|
* @export
|
|
@@ -29,6 +29,10 @@ export interface UserAccountPermission {
|
|
|
29
29
|
*/
|
|
30
30
|
name: LocalizedString;
|
|
31
31
|
}
|
|
32
|
+
/**
|
|
33
|
+
* Check if a given object implements the UserAccountPermission interface.
|
|
34
|
+
*/
|
|
35
|
+
export declare function instanceOfUserAccountPermission(value: object): boolean;
|
|
32
36
|
export declare function UserAccountPermissionFromJSON(json: any): UserAccountPermission;
|
|
33
37
|
export declare function UserAccountPermissionFromJSONTyped(json: any, ignoreDiscriminator: boolean): UserAccountPermission;
|
|
34
38
|
export declare function UserAccountPermissionToJSON(value?: UserAccountPermission | null): any;
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* User account and session management
|
|
6
6
|
* Provides HTTP endpoints to manage User Accounts and User Sessions.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 4.5.
|
|
8
|
+
* The version of the OpenAPI document: 4.5.1-SNAPSHOT
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -13,8 +13,18 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.UserAccountPermissionToJSON = exports.UserAccountPermissionFromJSONTyped = exports.UserAccountPermissionFromJSON = void 0;
|
|
16
|
+
exports.UserAccountPermissionToJSON = exports.UserAccountPermissionFromJSONTyped = exports.UserAccountPermissionFromJSON = exports.instanceOfUserAccountPermission = void 0;
|
|
17
17
|
const LocalizedString_1 = require("./LocalizedString");
|
|
18
|
+
/**
|
|
19
|
+
* Check if a given object implements the UserAccountPermission interface.
|
|
20
|
+
*/
|
|
21
|
+
function instanceOfUserAccountPermission(value) {
|
|
22
|
+
let isInstance = true;
|
|
23
|
+
isInstance = isInstance && "code" in value;
|
|
24
|
+
isInstance = isInstance && "name" in value;
|
|
25
|
+
return isInstance;
|
|
26
|
+
}
|
|
27
|
+
exports.instanceOfUserAccountPermission = instanceOfUserAccountPermission;
|
|
18
28
|
function UserAccountPermissionFromJSON(json) {
|
|
19
29
|
return UserAccountPermissionFromJSONTyped(json, false);
|
|
20
30
|
}
|
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
* User account and session management
|
|
3
3
|
* Provides HTTP endpoints to manage User Accounts and User Sessions.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 4.5.
|
|
5
|
+
* The version of the OpenAPI document: 4.5.1-SNAPSHOT
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import { LocalizedString } from './LocalizedString';
|
|
12
|
+
import type { LocalizedString } from './LocalizedString';
|
|
13
13
|
/**
|
|
14
14
|
*
|
|
15
15
|
* @export
|
|
@@ -29,6 +29,10 @@ export interface UserAccountRole {
|
|
|
29
29
|
*/
|
|
30
30
|
name: LocalizedString;
|
|
31
31
|
}
|
|
32
|
+
/**
|
|
33
|
+
* Check if a given object implements the UserAccountRole interface.
|
|
34
|
+
*/
|
|
35
|
+
export declare function instanceOfUserAccountRole(value: object): boolean;
|
|
32
36
|
export declare function UserAccountRoleFromJSON(json: any): UserAccountRole;
|
|
33
37
|
export declare function UserAccountRoleFromJSONTyped(json: any, ignoreDiscriminator: boolean): UserAccountRole;
|
|
34
38
|
export declare function UserAccountRoleToJSON(value?: UserAccountRole | null): any;
|