@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
|
@@ -2,17 +2,17 @@
|
|
|
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 { OrganizationPathElement } from './OrganizationPathElement';
|
|
14
|
-
import { UserAccountPermission } from './UserAccountPermission';
|
|
15
|
-
import { UserAccountRole } from './UserAccountRole';
|
|
12
|
+
import type { LocalizedString } from './LocalizedString';
|
|
13
|
+
import type { OrganizationPathElement } from './OrganizationPathElement';
|
|
14
|
+
import type { UserAccountPermission } from './UserAccountPermission';
|
|
15
|
+
import type { UserAccountRole } from './UserAccountRole';
|
|
16
16
|
/**
|
|
17
17
|
*
|
|
18
18
|
* @export
|
|
@@ -50,6 +50,10 @@ export interface RolesOnOrganization {
|
|
|
50
50
|
*/
|
|
51
51
|
permissions: Array<UserAccountPermission>;
|
|
52
52
|
}
|
|
53
|
+
/**
|
|
54
|
+
* Check if a given object implements the RolesOnOrganization interface.
|
|
55
|
+
*/
|
|
56
|
+
export declare function instanceOfRolesOnOrganization(value: object): boolean;
|
|
53
57
|
export declare function RolesOnOrganizationFromJSON(json: any): RolesOnOrganization;
|
|
54
58
|
export declare function RolesOnOrganizationFromJSONTyped(json: any, ignoreDiscriminator: boolean): RolesOnOrganization;
|
|
55
59
|
export declare function RolesOnOrganizationToJSON(value?: RolesOnOrganization | 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,11 +13,24 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.RolesOnOrganizationToJSON = exports.RolesOnOrganizationFromJSONTyped = exports.RolesOnOrganizationFromJSON = void 0;
|
|
16
|
+
exports.RolesOnOrganizationToJSON = exports.RolesOnOrganizationFromJSONTyped = exports.RolesOnOrganizationFromJSON = exports.instanceOfRolesOnOrganization = void 0;
|
|
17
17
|
const LocalizedString_1 = require("./LocalizedString");
|
|
18
18
|
const OrganizationPathElement_1 = require("./OrganizationPathElement");
|
|
19
19
|
const UserAccountPermission_1 = require("./UserAccountPermission");
|
|
20
20
|
const UserAccountRole_1 = require("./UserAccountRole");
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the RolesOnOrganization interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfRolesOnOrganization(value) {
|
|
25
|
+
let isInstance = true;
|
|
26
|
+
isInstance = isInstance && "uuid" in value;
|
|
27
|
+
isInstance = isInstance && "name" in value;
|
|
28
|
+
isInstance = isInstance && "path" in value;
|
|
29
|
+
isInstance = isInstance && "roles" in value;
|
|
30
|
+
isInstance = isInstance && "permissions" in value;
|
|
31
|
+
return isInstance;
|
|
32
|
+
}
|
|
33
|
+
exports.instanceOfRolesOnOrganization = instanceOfRolesOnOrganization;
|
|
21
34
|
function RolesOnOrganizationFromJSON(json) {
|
|
22
35
|
return RolesOnOrganizationFromJSONTyped(json, false);
|
|
23
36
|
}
|
|
@@ -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 SendResetPasswordLinkPayload {
|
|
|
28
28
|
*/
|
|
29
29
|
sendSms: boolean;
|
|
30
30
|
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the SendResetPasswordLinkPayload interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfSendResetPasswordLinkPayload(value: object): boolean;
|
|
31
35
|
export declare function SendResetPasswordLinkPayloadFromJSON(json: any): SendResetPasswordLinkPayload;
|
|
32
36
|
export declare function SendResetPasswordLinkPayloadFromJSONTyped(json: any, ignoreDiscriminator: boolean): SendResetPasswordLinkPayload;
|
|
33
37
|
export declare function SendResetPasswordLinkPayloadToJSON(value?: SendResetPasswordLinkPayload | 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.SendResetPasswordLinkPayloadToJSON = exports.SendResetPasswordLinkPayloadFromJSONTyped = exports.SendResetPasswordLinkPayloadFromJSON = void 0;
|
|
16
|
+
exports.SendResetPasswordLinkPayloadToJSON = exports.SendResetPasswordLinkPayloadFromJSONTyped = exports.SendResetPasswordLinkPayloadFromJSON = exports.instanceOfSendResetPasswordLinkPayload = void 0;
|
|
17
|
+
/**
|
|
18
|
+
* Check if a given object implements the SendResetPasswordLinkPayload interface.
|
|
19
|
+
*/
|
|
20
|
+
function instanceOfSendResetPasswordLinkPayload(value) {
|
|
21
|
+
let isInstance = true;
|
|
22
|
+
isInstance = isInstance && "sendEmail" in value;
|
|
23
|
+
isInstance = isInstance && "sendSms" in value;
|
|
24
|
+
return isInstance;
|
|
25
|
+
}
|
|
26
|
+
exports.instanceOfSendResetPasswordLinkPayload = instanceOfSendResetPasswordLinkPayload;
|
|
17
27
|
function SendResetPasswordLinkPayloadFromJSON(json) {
|
|
18
28
|
return SendResetPasswordLinkPayloadFromJSONTyped(json, false);
|
|
19
29
|
}
|
|
@@ -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 { DatabaseState } from './DatabaseState';
|
|
13
|
-
import { ServiceName } from './ServiceName';
|
|
12
|
+
import type { DatabaseState } from './DatabaseState';
|
|
13
|
+
import type { ServiceName } from './ServiceName';
|
|
14
14
|
/**
|
|
15
15
|
*
|
|
16
16
|
* @export
|
|
@@ -54,6 +54,10 @@ export interface ServiceAccess {
|
|
|
54
54
|
*/
|
|
55
55
|
maxConcurrentAccess?: number | null;
|
|
56
56
|
}
|
|
57
|
+
/**
|
|
58
|
+
* Check if a given object implements the ServiceAccess interface.
|
|
59
|
+
*/
|
|
60
|
+
export declare function instanceOfServiceAccess(value: object): boolean;
|
|
57
61
|
export declare function ServiceAccessFromJSON(json: any): ServiceAccess;
|
|
58
62
|
export declare function ServiceAccessFromJSONTyped(json: any, ignoreDiscriminator: boolean): ServiceAccess;
|
|
59
63
|
export declare function ServiceAccessToJSON(value?: ServiceAccess | 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,10 +13,19 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.ServiceAccessToJSON = exports.ServiceAccessFromJSONTyped = exports.ServiceAccessFromJSON = void 0;
|
|
16
|
+
exports.ServiceAccessToJSON = exports.ServiceAccessFromJSONTyped = exports.ServiceAccessFromJSON = exports.instanceOfServiceAccess = void 0;
|
|
17
17
|
const runtime_1 = require("../runtime");
|
|
18
18
|
const DatabaseState_1 = require("./DatabaseState");
|
|
19
19
|
const ServiceName_1 = require("./ServiceName");
|
|
20
|
+
/**
|
|
21
|
+
* Check if a given object implements the ServiceAccess interface.
|
|
22
|
+
*/
|
|
23
|
+
function instanceOfServiceAccess(value) {
|
|
24
|
+
let isInstance = true;
|
|
25
|
+
isInstance = isInstance && "serviceName" in value;
|
|
26
|
+
return isInstance;
|
|
27
|
+
}
|
|
28
|
+
exports.instanceOfServiceAccess = instanceOfServiceAccess;
|
|
20
29
|
function ServiceAccessFromJSON(json) {
|
|
21
30
|
return ServiceAccessFromJSONTyped(json, false);
|
|
22
31
|
}
|
|
@@ -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 ServiceAccountCreationSchema {
|
|
|
34
34
|
*/
|
|
35
35
|
displayName: string;
|
|
36
36
|
}
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the ServiceAccountCreationSchema interface.
|
|
39
|
+
*/
|
|
40
|
+
export declare function instanceOfServiceAccountCreationSchema(value: object): boolean;
|
|
37
41
|
export declare function ServiceAccountCreationSchemaFromJSON(json: any): ServiceAccountCreationSchema;
|
|
38
42
|
export declare function ServiceAccountCreationSchemaFromJSONTyped(json: any, ignoreDiscriminator: boolean): ServiceAccountCreationSchema;
|
|
39
43
|
export declare function ServiceAccountCreationSchemaToJSON(value?: ServiceAccountCreationSchema | 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,18 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.ServiceAccountCreationSchemaToJSON = exports.ServiceAccountCreationSchemaFromJSONTyped = exports.ServiceAccountCreationSchemaFromJSON = void 0;
|
|
16
|
+
exports.ServiceAccountCreationSchemaToJSON = exports.ServiceAccountCreationSchemaFromJSONTyped = exports.ServiceAccountCreationSchemaFromJSON = exports.instanceOfServiceAccountCreationSchema = void 0;
|
|
17
|
+
/**
|
|
18
|
+
* Check if a given object implements the ServiceAccountCreationSchema interface.
|
|
19
|
+
*/
|
|
20
|
+
function instanceOfServiceAccountCreationSchema(value) {
|
|
21
|
+
let isInstance = true;
|
|
22
|
+
isInstance = isInstance && "name" in value;
|
|
23
|
+
isInstance = isInstance && "clientId" in value;
|
|
24
|
+
isInstance = isInstance && "displayName" in value;
|
|
25
|
+
return isInstance;
|
|
26
|
+
}
|
|
27
|
+
exports.instanceOfServiceAccountCreationSchema = instanceOfServiceAccountCreationSchema;
|
|
17
28
|
function ServiceAccountCreationSchemaFromJSON(json) {
|
|
18
29
|
return ServiceAccountCreationSchemaFromJSONTyped(json, false);
|
|
19
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 { ServiceAccountStatus } from './ServiceAccountStatus';
|
|
12
|
+
import type { ServiceAccountStatus } from './ServiceAccountStatus';
|
|
13
13
|
/**
|
|
14
14
|
* Represents a service account
|
|
15
15
|
* @export
|
|
@@ -59,6 +59,10 @@ export interface ServiceAccountSchema {
|
|
|
59
59
|
*/
|
|
60
60
|
modifiedAt?: Date | null;
|
|
61
61
|
}
|
|
62
|
+
/**
|
|
63
|
+
* Check if a given object implements the ServiceAccountSchema interface.
|
|
64
|
+
*/
|
|
65
|
+
export declare function instanceOfServiceAccountSchema(value: object): boolean;
|
|
62
66
|
export declare function ServiceAccountSchemaFromJSON(json: any): ServiceAccountSchema;
|
|
63
67
|
export declare function ServiceAccountSchemaFromJSONTyped(json: any, ignoreDiscriminator: boolean): ServiceAccountSchema;
|
|
64
68
|
export declare function ServiceAccountSchemaToJSON(value?: ServiceAccountSchema | 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,23 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.ServiceAccountSchemaToJSON = exports.ServiceAccountSchemaFromJSONTyped = exports.ServiceAccountSchemaFromJSON = void 0;
|
|
16
|
+
exports.ServiceAccountSchemaToJSON = exports.ServiceAccountSchemaFromJSONTyped = exports.ServiceAccountSchemaFromJSON = exports.instanceOfServiceAccountSchema = void 0;
|
|
17
17
|
const runtime_1 = require("../runtime");
|
|
18
18
|
const ServiceAccountStatus_1 = require("./ServiceAccountStatus");
|
|
19
|
+
/**
|
|
20
|
+
* Check if a given object implements the ServiceAccountSchema interface.
|
|
21
|
+
*/
|
|
22
|
+
function instanceOfServiceAccountSchema(value) {
|
|
23
|
+
let isInstance = true;
|
|
24
|
+
isInstance = isInstance && "uuid" in value;
|
|
25
|
+
isInstance = isInstance && "name" in value;
|
|
26
|
+
isInstance = isInstance && "clientId" in value;
|
|
27
|
+
isInstance = isInstance && "displayName" in value;
|
|
28
|
+
isInstance = isInstance && "status" in value;
|
|
29
|
+
isInstance = isInstance && "createdAt" in value;
|
|
30
|
+
return isInstance;
|
|
31
|
+
}
|
|
32
|
+
exports.instanceOfServiceAccountSchema = instanceOfServiceAccountSchema;
|
|
19
33
|
function ServiceAccountSchemaFromJSON(json) {
|
|
20
34
|
return ServiceAccountSchemaFromJSONTyped(json, false);
|
|
21
35
|
}
|
|
@@ -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).
|
|
@@ -17,6 +17,7 @@ export declare const ServiceAccountStatus: {
|
|
|
17
17
|
readonly ENABLED: "ENABLED";
|
|
18
18
|
readonly DISABLED: "DISABLED";
|
|
19
19
|
readonly DELETED: "DELETED";
|
|
20
|
+
readonly unknown_default_open_api: "11184809";
|
|
20
21
|
};
|
|
21
22
|
export declare type ServiceAccountStatus = typeof ServiceAccountStatus[keyof typeof ServiceAccountStatus];
|
|
22
23
|
export declare function ServiceAccountStatusFromJSON(json: any): ServiceAccountStatus;
|
|
@@ -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).
|
|
@@ -21,7 +21,8 @@ exports.ServiceAccountStatusToJSON = exports.ServiceAccountStatusFromJSONTyped =
|
|
|
21
21
|
exports.ServiceAccountStatus = {
|
|
22
22
|
ENABLED: 'ENABLED',
|
|
23
23
|
DISABLED: 'DISABLED',
|
|
24
|
-
DELETED: 'DELETED'
|
|
24
|
+
DELETED: 'DELETED',
|
|
25
|
+
unknown_default_open_api: '11184809'
|
|
25
26
|
};
|
|
26
27
|
function ServiceAccountStatusFromJSON(json) {
|
|
27
28
|
return ServiceAccountStatusFromJSONTyped(json, false);
|
|
@@ -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 ServiceAccountUpdateSchema {
|
|
|
28
28
|
*/
|
|
29
29
|
displayName?: string | null;
|
|
30
30
|
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the ServiceAccountUpdateSchema interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfServiceAccountUpdateSchema(value: object): boolean;
|
|
31
35
|
export declare function ServiceAccountUpdateSchemaFromJSON(json: any): ServiceAccountUpdateSchema;
|
|
32
36
|
export declare function ServiceAccountUpdateSchemaFromJSONTyped(json: any, ignoreDiscriminator: boolean): ServiceAccountUpdateSchema;
|
|
33
37
|
export declare function ServiceAccountUpdateSchemaToJSON(value?: ServiceAccountUpdateSchema | 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.ServiceAccountUpdateSchemaToJSON = exports.ServiceAccountUpdateSchemaFromJSONTyped = exports.ServiceAccountUpdateSchemaFromJSON = void 0;
|
|
16
|
+
exports.ServiceAccountUpdateSchemaToJSON = exports.ServiceAccountUpdateSchemaFromJSONTyped = exports.ServiceAccountUpdateSchemaFromJSON = exports.instanceOfServiceAccountUpdateSchema = void 0;
|
|
17
17
|
const runtime_1 = require("../runtime");
|
|
18
|
+
/**
|
|
19
|
+
* Check if a given object implements the ServiceAccountUpdateSchema interface.
|
|
20
|
+
*/
|
|
21
|
+
function instanceOfServiceAccountUpdateSchema(value) {
|
|
22
|
+
let isInstance = true;
|
|
23
|
+
return isInstance;
|
|
24
|
+
}
|
|
25
|
+
exports.instanceOfServiceAccountUpdateSchema = instanceOfServiceAccountUpdateSchema;
|
|
18
26
|
function ServiceAccountUpdateSchemaFromJSON(json) {
|
|
19
27
|
return ServiceAccountUpdateSchemaFromJSONTyped(json, false);
|
|
20
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).
|
|
@@ -22,6 +22,10 @@ export interface ServiceAccountUuidSchema {
|
|
|
22
22
|
*/
|
|
23
23
|
uuid: string;
|
|
24
24
|
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the ServiceAccountUuidSchema interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfServiceAccountUuidSchema(value: object): boolean;
|
|
25
29
|
export declare function ServiceAccountUuidSchemaFromJSON(json: any): ServiceAccountUuidSchema;
|
|
26
30
|
export declare function ServiceAccountUuidSchemaFromJSONTyped(json: any, ignoreDiscriminator: boolean): ServiceAccountUuidSchema;
|
|
27
31
|
export declare function ServiceAccountUuidSchemaToJSON(value?: ServiceAccountUuidSchema | 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.ServiceAccountUuidSchemaToJSON = exports.ServiceAccountUuidSchemaFromJSONTyped = exports.ServiceAccountUuidSchemaFromJSON = void 0;
|
|
16
|
+
exports.ServiceAccountUuidSchemaToJSON = exports.ServiceAccountUuidSchemaFromJSONTyped = exports.ServiceAccountUuidSchemaFromJSON = exports.instanceOfServiceAccountUuidSchema = void 0;
|
|
17
|
+
/**
|
|
18
|
+
* Check if a given object implements the ServiceAccountUuidSchema interface.
|
|
19
|
+
*/
|
|
20
|
+
function instanceOfServiceAccountUuidSchema(value) {
|
|
21
|
+
let isInstance = true;
|
|
22
|
+
isInstance = isInstance && "uuid" in value;
|
|
23
|
+
return isInstance;
|
|
24
|
+
}
|
|
25
|
+
exports.instanceOfServiceAccountUuidSchema = instanceOfServiceAccountUuidSchema;
|
|
17
26
|
function ServiceAccountUuidSchemaFromJSON(json) {
|
|
18
27
|
return ServiceAccountUuidSchemaFromJSONTyped(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).
|
|
@@ -19,6 +19,7 @@ export declare const ServiceName: {
|
|
|
19
19
|
readonly EQUISOFT_ANALYZE_FOR_ADVISORS: "EQUISOFT_ANALYZE_FOR_ADVISORS";
|
|
20
20
|
readonly CPANEL: "CPANEL";
|
|
21
21
|
readonly CPANEL2: "CPANEL2";
|
|
22
|
+
readonly unknown_default_open_api: "11184809";
|
|
22
23
|
};
|
|
23
24
|
export declare type ServiceName = typeof ServiceName[keyof typeof ServiceName];
|
|
24
25
|
export declare function ServiceNameFromJSON(json: any): ServiceName;
|
|
@@ -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).
|
|
@@ -23,7 +23,8 @@ exports.ServiceName = {
|
|
|
23
23
|
EQUISOFT_PLAN: 'EQUISOFT_PLAN',
|
|
24
24
|
EQUISOFT_ANALYZE_FOR_ADVISORS: 'EQUISOFT_ANALYZE_FOR_ADVISORS',
|
|
25
25
|
CPANEL: 'CPANEL',
|
|
26
|
-
CPANEL2: 'CPANEL2'
|
|
26
|
+
CPANEL2: 'CPANEL2',
|
|
27
|
+
unknown_default_open_api: '11184809'
|
|
27
28
|
};
|
|
28
29
|
function ServiceNameFromJSON(json) {
|
|
29
30
|
return ServiceNameFromJSONTyped(json, false);
|
package/dist/models/Session.d.ts
CHANGED
|
@@ -2,16 +2,16 @@
|
|
|
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 { SessionState } from './SessionState';
|
|
13
|
-
import { SsoProvider } from './SsoProvider';
|
|
14
|
-
import { User } from './User';
|
|
12
|
+
import type { SessionState } from './SessionState';
|
|
13
|
+
import type { SsoProvider } from './SsoProvider';
|
|
14
|
+
import type { User } from './User';
|
|
15
15
|
/**
|
|
16
16
|
*
|
|
17
17
|
* @export
|
|
@@ -85,6 +85,10 @@ export interface Session {
|
|
|
85
85
|
*/
|
|
86
86
|
mobile: boolean;
|
|
87
87
|
}
|
|
88
|
+
/**
|
|
89
|
+
* Check if a given object implements the Session interface.
|
|
90
|
+
*/
|
|
91
|
+
export declare function instanceOfSession(value: object): boolean;
|
|
88
92
|
export declare function SessionFromJSON(json: any): Session;
|
|
89
93
|
export declare function SessionFromJSONTyped(json: any, ignoreDiscriminator: boolean): Session;
|
|
90
94
|
export declare function SessionToJSON(value?: Session | null): any;
|
package/dist/models/Session.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,11 +13,27 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.SessionToJSON = exports.SessionFromJSONTyped = exports.SessionFromJSON = void 0;
|
|
16
|
+
exports.SessionToJSON = exports.SessionFromJSONTyped = exports.SessionFromJSON = exports.instanceOfSession = void 0;
|
|
17
17
|
const runtime_1 = require("../runtime");
|
|
18
18
|
const SessionState_1 = require("./SessionState");
|
|
19
19
|
const SsoProvider_1 = require("./SsoProvider");
|
|
20
20
|
const User_1 = require("./User");
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the Session interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfSession(value) {
|
|
25
|
+
let isInstance = true;
|
|
26
|
+
isInstance = isInstance && "sessionId" in value;
|
|
27
|
+
isInstance = isInstance && "state" in value;
|
|
28
|
+
isInstance = isInstance && "created" in value;
|
|
29
|
+
isInstance = isInstance && "suspend" in value;
|
|
30
|
+
isInstance = isInstance && "expire" in value;
|
|
31
|
+
isInstance = isInstance && "user" in value;
|
|
32
|
+
isInstance = isInstance && "enabledForEquisoftConnect" in value;
|
|
33
|
+
isInstance = isInstance && "mobile" in value;
|
|
34
|
+
return isInstance;
|
|
35
|
+
}
|
|
36
|
+
exports.instanceOfSession = instanceOfSession;
|
|
21
37
|
function SessionFromJSON(json) {
|
|
22
38
|
return SessionFromJSONTyped(json, false);
|
|
23
39
|
}
|
|
@@ -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 { SsoProvider } from './SsoProvider';
|
|
12
|
+
import type { SsoProvider } from './SsoProvider';
|
|
13
13
|
/**
|
|
14
14
|
* Data needed for the creation of a user session.
|
|
15
15
|
* @export
|
|
@@ -53,6 +53,10 @@ export interface SessionPayload {
|
|
|
53
53
|
*/
|
|
54
54
|
cookieDomain?: string | null;
|
|
55
55
|
}
|
|
56
|
+
/**
|
|
57
|
+
* Check if a given object implements the SessionPayload interface.
|
|
58
|
+
*/
|
|
59
|
+
export declare function instanceOfSessionPayload(value: object): boolean;
|
|
56
60
|
export declare function SessionPayloadFromJSON(json: any): SessionPayload;
|
|
57
61
|
export declare function SessionPayloadFromJSONTyped(json: any, ignoreDiscriminator: boolean): SessionPayload;
|
|
58
62
|
export declare function SessionPayloadToJSON(value?: SessionPayload | 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,19 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.SessionPayloadToJSON = exports.SessionPayloadFromJSONTyped = exports.SessionPayloadFromJSON = void 0;
|
|
16
|
+
exports.SessionPayloadToJSON = exports.SessionPayloadFromJSONTyped = exports.SessionPayloadFromJSON = exports.instanceOfSessionPayload = void 0;
|
|
17
17
|
const runtime_1 = require("../runtime");
|
|
18
18
|
const SsoProvider_1 = require("./SsoProvider");
|
|
19
|
+
/**
|
|
20
|
+
* Check if a given object implements the SessionPayload interface.
|
|
21
|
+
*/
|
|
22
|
+
function instanceOfSessionPayload(value) {
|
|
23
|
+
let isInstance = true;
|
|
24
|
+
isInstance = isInstance && "userUuid" in value;
|
|
25
|
+
isInstance = isInstance && "enable" in value;
|
|
26
|
+
return isInstance;
|
|
27
|
+
}
|
|
28
|
+
exports.instanceOfSessionPayload = instanceOfSessionPayload;
|
|
19
29
|
function SessionPayloadFromJSON(json) {
|
|
20
30
|
return SessionPayloadFromJSONTyped(json, false);
|
|
21
31
|
}
|
|
@@ -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).
|
|
@@ -24,6 +24,7 @@ export declare const SessionState: {
|
|
|
24
24
|
readonly SUSPENDED: "SUSPENDED";
|
|
25
25
|
readonly EXPIRED: "EXPIRED";
|
|
26
26
|
readonly DELETED: "DELETED";
|
|
27
|
+
readonly unknown_default_open_api: "11184809";
|
|
27
28
|
};
|
|
28
29
|
export declare type SessionState = typeof SessionState[keyof typeof SessionState];
|
|
29
30
|
export declare function SessionStateFromJSON(json: any): SessionState;
|
|
@@ -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).
|
|
@@ -28,7 +28,8 @@ exports.SessionState = {
|
|
|
28
28
|
ENABLED: 'ENABLED',
|
|
29
29
|
SUSPENDED: 'SUSPENDED',
|
|
30
30
|
EXPIRED: 'EXPIRED',
|
|
31
|
-
DELETED: 'DELETED'
|
|
31
|
+
DELETED: 'DELETED',
|
|
32
|
+
unknown_default_open_api: '11184809'
|
|
32
33
|
};
|
|
33
34
|
function SessionStateFromJSON(json) {
|
|
34
35
|
return SessionStateFromJSONTyped(json, false);
|