@equisoft/account-service-sdk-typescript 4.5.1-snapshot.20230206204303 → 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/VERSION +1 -1
- package/dist/apis/OAuthApi.d.ts +5 -5
- package/dist/apis/OrganizationApi.d.ts +37 -37
- package/dist/apis/PermissionApi.d.ts +3 -3
- package/dist/apis/RoleApi.d.ts +3 -3
- package/dist/apis/ServiceAccountApi.d.ts +17 -17
- package/dist/apis/SessionApi.d.ts +25 -25
- package/dist/apis/UserApi.d.ts +45 -45
- package/dist/models/ApplyPermissionsPayload.d.ts +5 -1
- package/dist/models/ApplyPermissionsPayload.js +11 -1
- package/dist/models/AuthenticationUserAccount.d.ts +4 -0
- package/dist/models/AuthenticationUserAccount.js +14 -1
- package/dist/models/CreateOrUpdateOAuthClientPayload.d.ts +5 -1
- package/dist/models/CreateOrUpdateOAuthClientPayload.js +13 -1
- package/dist/models/CreateOrUpdateOrganizationPayload.d.ts +5 -1
- package/dist/models/CreateOrUpdateOrganizationPayload.js +12 -1
- package/dist/models/CreateOrUpdatePermissionPayload.d.ts +5 -1
- package/dist/models/CreateOrUpdatePermissionPayload.js +10 -1
- package/dist/models/CreateOrganizationPayload.d.ts +5 -1
- package/dist/models/CreateOrganizationPayload.js +12 -1
- package/dist/models/CreateOrganizationUserServiceOptionPayload.d.ts +4 -0
- package/dist/models/CreateOrganizationUserServiceOptionPayload.js +10 -1
- package/dist/models/CreateOrganizationUserServicePayload.d.ts +4 -0
- package/dist/models/CreateOrganizationUserServicePayload.js +9 -1
- package/dist/models/CreateRole.d.ts +5 -1
- package/dist/models/CreateRole.js +11 -1
- package/dist/models/DatabaseState.d.ts +1 -0
- package/dist/models/DatabaseState.js +2 -1
- package/dist/models/EnableEquisoftConnectPayloadSchema.d.ts +4 -0
- package/dist/models/EnableEquisoftConnectPayloadSchema.js +9 -1
- package/dist/models/ErrorMessage.d.ts +1 -0
- package/dist/models/ErrorMessage.js +2 -1
- package/dist/models/ErrorPayload.d.ts +5 -1
- package/dist/models/ErrorPayload.js +10 -1
- package/dist/models/Id.d.ts +4 -0
- package/dist/models/Id.js +11 -1
- package/dist/models/ImpersonatePayload.d.ts +4 -0
- package/dist/models/ImpersonatePayload.js +10 -1
- package/dist/models/LegacyRoleSchema.d.ts +5 -1
- package/dist/models/LegacyRoleSchema.js +11 -1
- package/dist/models/ListOrganizationElement.d.ts +7 -3
- package/dist/models/ListOrganizationElement.js +13 -1
- package/dist/models/ListUserOrganizations.d.ts +5 -1
- package/dist/models/ListUserOrganizations.js +10 -1
- package/dist/models/LocalizedString.d.ts +4 -0
- package/dist/models/LocalizedString.js +11 -1
- package/dist/models/LoginPayload.d.ts +4 -0
- package/dist/models/LoginPayload.js +11 -1
- package/dist/models/OAuthClient.d.ts +5 -1
- package/dist/models/OAuthClient.js +19 -1
- package/dist/models/OAuthClientCreated.d.ts +4 -0
- package/dist/models/OAuthClientCreated.js +10 -1
- package/dist/models/OAuthClientPublicKey.d.ts +4 -0
- package/dist/models/OAuthClientPublicKey.js +11 -1
- package/dist/models/Organization.d.ts +7 -3
- package/dist/models/Organization.js +15 -1
- package/dist/models/OrganizationCreated.d.ts +4 -0
- package/dist/models/OrganizationCreated.js +10 -1
- package/dist/models/OrganizationPathElement.d.ts +5 -1
- package/dist/models/OrganizationPathElement.js +11 -1
- package/dist/models/OrganizationRoleAttribution.d.ts +6 -2
- package/dist/models/OrganizationRoleAttribution.js +11 -1
- package/dist/models/OrganizationRoleAttributionPermission.d.ts +5 -1
- package/dist/models/OrganizationRoleAttributionPermission.js +11 -1
- package/dist/models/OrganizationRoleAttributionRole.d.ts +6 -2
- package/dist/models/OrganizationRoleAttributionRole.js +12 -1
- package/dist/models/OrganizationRoleAttributions.d.ts +5 -1
- package/dist/models/OrganizationRoleAttributions.js +10 -1
- package/dist/models/OrganizationServicesElement.d.ts +4 -0
- package/dist/models/OrganizationServicesElement.js +10 -1
- package/dist/models/OrganizationSsoProvider.d.ts +5 -1
- package/dist/models/OrganizationSsoProvider.js +11 -1
- package/dist/models/OrganizationUserServiceAssociation.d.ts +4 -0
- package/dist/models/OrganizationUserServiceAssociation.js +11 -1
- package/dist/models/PermissionCode.d.ts +4 -0
- package/dist/models/PermissionCode.js +10 -1
- package/dist/models/PermissionCreated.d.ts +4 -0
- package/dist/models/PermissionCreated.js +10 -1
- package/dist/models/PermissionList.d.ts +5 -1
- package/dist/models/PermissionList.js +10 -1
- package/dist/models/PermissionResourceType.d.ts +1 -0
- package/dist/models/PermissionResourceType.js +2 -1
- package/dist/models/Role.d.ts +5 -1
- package/dist/models/Role.js +12 -1
- package/dist/models/RoleCreated.d.ts +5 -1
- package/dist/models/RoleCreated.js +12 -1
- package/dist/models/RolesOnOrganization.d.ts +8 -4
- package/dist/models/RolesOnOrganization.js +14 -1
- package/dist/models/SendResetPasswordLinkPayload.d.ts +4 -0
- package/dist/models/SendResetPasswordLinkPayload.js +11 -1
- package/dist/models/ServiceAccess.d.ts +6 -2
- package/dist/models/ServiceAccess.js +10 -1
- package/dist/models/ServiceAccountCreationSchema.d.ts +4 -0
- package/dist/models/ServiceAccountCreationSchema.js +12 -1
- package/dist/models/ServiceAccountSchema.d.ts +5 -1
- package/dist/models/ServiceAccountSchema.js +15 -1
- package/dist/models/ServiceAccountStatus.d.ts +1 -0
- package/dist/models/ServiceAccountStatus.js +2 -1
- package/dist/models/ServiceAccountUpdateSchema.d.ts +4 -0
- package/dist/models/ServiceAccountUpdateSchema.js +9 -1
- package/dist/models/ServiceAccountUuidSchema.d.ts +4 -0
- package/dist/models/ServiceAccountUuidSchema.js +10 -1
- package/dist/models/ServiceName.d.ts +1 -0
- package/dist/models/ServiceName.js +2 -1
- package/dist/models/Session.d.ts +7 -3
- package/dist/models/Session.js +17 -1
- package/dist/models/SessionPayload.d.ts +5 -1
- package/dist/models/SessionPayload.js +11 -1
- package/dist/models/SessionState.d.ts +1 -0
- package/dist/models/SessionState.js +2 -1
- package/dist/models/SetPasswordByConfirmationHashPayload.d.ts +4 -0
- package/dist/models/SetPasswordByConfirmationHashPayload.js +10 -1
- package/dist/models/SetUserAccountPasswordPayload.d.ts +4 -0
- package/dist/models/SetUserAccountPasswordPayload.js +11 -1
- package/dist/models/SsoProvider.d.ts +4 -0
- package/dist/models/SsoProvider.js +11 -1
- package/dist/models/SsoToken.d.ts +4 -0
- package/dist/models/SsoToken.js +11 -1
- package/dist/models/UpdateParentOrganizationPayload.d.ts +4 -0
- package/dist/models/UpdateParentOrganizationPayload.js +10 -1
- package/dist/models/UpdateUserAccountPayload.d.ts +4 -0
- package/dist/models/UpdateUserAccountPayload.js +11 -1
- package/dist/models/UpdateUserAccountSsoPayload.d.ts +4 -0
- package/dist/models/UpdateUserAccountSsoPayload.js +10 -1
- package/dist/models/UpsertServicePayload.d.ts +4 -0
- package/dist/models/UpsertServicePayload.js +9 -1
- package/dist/models/User.d.ts +9 -5
- package/dist/models/User.js +26 -1
- package/dist/models/UserAccountOrganizationRoles.d.ts +6 -2
- package/dist/models/UserAccountOrganizationRoles.js +12 -1
- package/dist/models/UserAccountPermission.d.ts +5 -1
- package/dist/models/UserAccountPermission.js +11 -1
- package/dist/models/UserAccountRole.d.ts +5 -1
- package/dist/models/UserAccountRole.js +11 -1
- package/dist/models/UserAccountRoleAttributions.d.ts +5 -1
- package/dist/models/UserAccountRoleAttributions.js +10 -1
- package/dist/models/UserAccountSearchResult.d.ts +9 -5
- package/dist/models/UserAccountSearchResult.js +26 -1
- package/dist/models/UserAgreement.d.ts +5 -1
- package/dist/models/UserAgreement.js +10 -1
- package/dist/models/UserAgreementState.d.ts +1 -0
- package/dist/models/UserAgreementState.js +2 -1
- package/dist/models/UserPermissions.d.ts +6 -2
- package/dist/models/UserPermissions.js +11 -1
- package/dist/models/UserServiceAssociation.d.ts +4 -0
- package/dist/models/UserServiceAssociation.js +11 -1
- package/dist/models/UserSsoProvider.d.ts +4 -0
- package/dist/models/UserSsoProvider.js +10 -1
- package/dist/models/UserState.d.ts +1 -0
- package/dist/models/UserState.js +2 -1
- package/dist/runtime.d.ts +15 -2
- package/dist/runtime.js +29 -2
- package/package.json +1 -1
- package/src/apis/OAuthApi.ts +10 -8
- package/src/apis/OrganizationApi.ts +54 -52
- package/src/apis/PermissionApi.ts +7 -5
- package/src/apis/RoleApi.ts +6 -4
- package/src/apis/ServiceAccountApi.ts +26 -24
- package/src/apis/SessionApi.ts +32 -30
- package/src/apis/UserApi.ts +62 -60
- package/src/models/ApplyPermissionsPayload.ts +12 -1
- package/src/models/AuthenticationUserAccount.ts +14 -0
- package/src/models/CreateOrUpdateOAuthClientPayload.ts +14 -1
- package/src/models/CreateOrUpdateOrganizationPayload.ts +13 -1
- package/src/models/CreateOrUpdatePermissionPayload.ts +11 -1
- package/src/models/CreateOrganizationPayload.ts +13 -1
- package/src/models/CreateOrganizationUserServiceOptionPayload.ts +10 -0
- package/src/models/CreateOrganizationUserServicePayload.ts +9 -0
- package/src/models/CreateRole.ts +12 -1
- package/src/models/DatabaseState.ts +2 -1
- package/src/models/EnableEquisoftConnectPayloadSchema.ts +9 -0
- package/src/models/ErrorMessage.ts +2 -1
- package/src/models/ErrorPayload.ts +11 -1
- package/src/models/Id.ts +11 -0
- package/src/models/ImpersonatePayload.ts +10 -0
- package/src/models/LegacyRoleSchema.ts +12 -1
- package/src/models/ListOrganizationElement.ts +16 -3
- package/src/models/ListUserOrganizations.ts +11 -1
- package/src/models/LocalizedString.ts +11 -0
- package/src/models/LoginPayload.ts +11 -0
- package/src/models/OAuthClient.ts +20 -1
- package/src/models/OAuthClientCreated.ts +10 -0
- package/src/models/OAuthClientPublicKey.ts +11 -0
- package/src/models/Organization.ts +18 -3
- package/src/models/OrganizationCreated.ts +10 -0
- package/src/models/OrganizationPathElement.ts +12 -1
- package/src/models/OrganizationRoleAttribution.ts +13 -2
- package/src/models/OrganizationRoleAttributionPermission.ts +12 -1
- package/src/models/OrganizationRoleAttributionRole.ts +14 -2
- package/src/models/OrganizationRoleAttributions.ts +11 -1
- package/src/models/OrganizationServicesElement.ts +10 -0
- package/src/models/OrganizationSsoProvider.ts +12 -1
- package/src/models/OrganizationUserServiceAssociation.ts +11 -0
- package/src/models/PermissionCode.ts +10 -0
- package/src/models/PermissionCreated.ts +10 -0
- package/src/models/PermissionList.ts +11 -1
- package/src/models/PermissionResourceType.ts +2 -1
- package/src/models/Role.ts +13 -1
- package/src/models/RoleCreated.ts +13 -1
- package/src/models/RolesOnOrganization.ts +18 -4
- package/src/models/SendResetPasswordLinkPayload.ts +11 -0
- package/src/models/ServiceAccess.ts +12 -2
- package/src/models/ServiceAccountCreationSchema.ts +12 -0
- package/src/models/ServiceAccountSchema.ts +16 -1
- package/src/models/ServiceAccountStatus.ts +2 -1
- package/src/models/ServiceAccountUpdateSchema.ts +9 -0
- package/src/models/ServiceAccountUuidSchema.ts +10 -0
- package/src/models/ServiceName.ts +2 -1
- package/src/models/Session.ts +20 -3
- package/src/models/SessionPayload.ts +12 -1
- package/src/models/SessionState.ts +2 -1
- package/src/models/SetPasswordByConfirmationHashPayload.ts +10 -0
- package/src/models/SetUserAccountPasswordPayload.ts +11 -0
- package/src/models/SsoProvider.ts +11 -0
- package/src/models/SsoToken.ts +11 -0
- package/src/models/UpdateParentOrganizationPayload.ts +10 -0
- package/src/models/UpdateUserAccountPayload.ts +11 -0
- package/src/models/UpdateUserAccountSsoPayload.ts +10 -0
- package/src/models/UpsertServicePayload.ts +9 -0
- package/src/models/User.ts +31 -5
- package/src/models/UserAccountOrganizationRoles.ts +14 -2
- package/src/models/UserAccountPermission.ts +12 -1
- package/src/models/UserAccountRole.ts +12 -1
- package/src/models/UserAccountRoleAttributions.ts +11 -1
- package/src/models/UserAccountSearchResult.ts +31 -5
- package/src/models/UserAgreement.ts +11 -1
- package/src/models/UserAgreementState.ts +2 -1
- package/src/models/UserPermissions.ts +13 -2
- package/src/models/UserServiceAssociation.ts +11 -0
- package/src/models/UserSsoProvider.ts +10 -0
- package/src/models/UserState.ts +2 -1
- package/src/runtime.ts +39 -5
|
@@ -13,8 +13,18 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.OrganizationRoleAttributionPermissionToJSON = exports.OrganizationRoleAttributionPermissionFromJSONTyped = exports.OrganizationRoleAttributionPermissionFromJSON = void 0;
|
|
16
|
+
exports.OrganizationRoleAttributionPermissionToJSON = exports.OrganizationRoleAttributionPermissionFromJSONTyped = exports.OrganizationRoleAttributionPermissionFromJSON = exports.instanceOfOrganizationRoleAttributionPermission = void 0;
|
|
17
17
|
const LocalizedString_1 = require("./LocalizedString");
|
|
18
|
+
/**
|
|
19
|
+
* Check if a given object implements the OrganizationRoleAttributionPermission interface.
|
|
20
|
+
*/
|
|
21
|
+
function instanceOfOrganizationRoleAttributionPermission(value) {
|
|
22
|
+
let isInstance = true;
|
|
23
|
+
isInstance = isInstance && "code" in value;
|
|
24
|
+
isInstance = isInstance && "name" in value;
|
|
25
|
+
return isInstance;
|
|
26
|
+
}
|
|
27
|
+
exports.instanceOfOrganizationRoleAttributionPermission = instanceOfOrganizationRoleAttributionPermission;
|
|
18
28
|
function OrganizationRoleAttributionPermissionFromJSON(json) {
|
|
19
29
|
return OrganizationRoleAttributionPermissionFromJSONTyped(json, false);
|
|
20
30
|
}
|
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import { LocalizedString } from './LocalizedString';
|
|
13
|
-
import { OrganizationRoleAttributionPermission } from './OrganizationRoleAttributionPermission';
|
|
12
|
+
import type { LocalizedString } from './LocalizedString';
|
|
13
|
+
import type { OrganizationRoleAttributionPermission } from './OrganizationRoleAttributionPermission';
|
|
14
14
|
/**
|
|
15
15
|
*
|
|
16
16
|
* @export
|
|
@@ -36,6 +36,10 @@ export interface OrganizationRoleAttributionRole {
|
|
|
36
36
|
*/
|
|
37
37
|
permissions: Array<OrganizationRoleAttributionPermission>;
|
|
38
38
|
}
|
|
39
|
+
/**
|
|
40
|
+
* Check if a given object implements the OrganizationRoleAttributionRole interface.
|
|
41
|
+
*/
|
|
42
|
+
export declare function instanceOfOrganizationRoleAttributionRole(value: object): boolean;
|
|
39
43
|
export declare function OrganizationRoleAttributionRoleFromJSON(json: any): OrganizationRoleAttributionRole;
|
|
40
44
|
export declare function OrganizationRoleAttributionRoleFromJSONTyped(json: any, ignoreDiscriminator: boolean): OrganizationRoleAttributionRole;
|
|
41
45
|
export declare function OrganizationRoleAttributionRoleToJSON(value?: OrganizationRoleAttributionRole | null): any;
|
|
@@ -13,9 +13,20 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.OrganizationRoleAttributionRoleToJSON = exports.OrganizationRoleAttributionRoleFromJSONTyped = exports.OrganizationRoleAttributionRoleFromJSON = void 0;
|
|
16
|
+
exports.OrganizationRoleAttributionRoleToJSON = exports.OrganizationRoleAttributionRoleFromJSONTyped = exports.OrganizationRoleAttributionRoleFromJSON = exports.instanceOfOrganizationRoleAttributionRole = void 0;
|
|
17
17
|
const LocalizedString_1 = require("./LocalizedString");
|
|
18
18
|
const OrganizationRoleAttributionPermission_1 = require("./OrganizationRoleAttributionPermission");
|
|
19
|
+
/**
|
|
20
|
+
* Check if a given object implements the OrganizationRoleAttributionRole interface.
|
|
21
|
+
*/
|
|
22
|
+
function instanceOfOrganizationRoleAttributionRole(value) {
|
|
23
|
+
let isInstance = true;
|
|
24
|
+
isInstance = isInstance && "uuid" in value;
|
|
25
|
+
isInstance = isInstance && "name" in value;
|
|
26
|
+
isInstance = isInstance && "permissions" in value;
|
|
27
|
+
return isInstance;
|
|
28
|
+
}
|
|
29
|
+
exports.instanceOfOrganizationRoleAttributionRole = instanceOfOrganizationRoleAttributionRole;
|
|
19
30
|
function OrganizationRoleAttributionRoleFromJSON(json) {
|
|
20
31
|
return OrganizationRoleAttributionRoleFromJSONTyped(json, false);
|
|
21
32
|
}
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import { OrganizationRoleAttribution } from './OrganizationRoleAttribution';
|
|
12
|
+
import type { OrganizationRoleAttribution } from './OrganizationRoleAttribution';
|
|
13
13
|
/**
|
|
14
14
|
*
|
|
15
15
|
* @export
|
|
@@ -23,6 +23,10 @@ export interface OrganizationRoleAttributions {
|
|
|
23
23
|
*/
|
|
24
24
|
users: Array<OrganizationRoleAttribution>;
|
|
25
25
|
}
|
|
26
|
+
/**
|
|
27
|
+
* Check if a given object implements the OrganizationRoleAttributions interface.
|
|
28
|
+
*/
|
|
29
|
+
export declare function instanceOfOrganizationRoleAttributions(value: object): boolean;
|
|
26
30
|
export declare function OrganizationRoleAttributionsFromJSON(json: any): OrganizationRoleAttributions;
|
|
27
31
|
export declare function OrganizationRoleAttributionsFromJSONTyped(json: any, ignoreDiscriminator: boolean): OrganizationRoleAttributions;
|
|
28
32
|
export declare function OrganizationRoleAttributionsToJSON(value?: OrganizationRoleAttributions | null): any;
|
|
@@ -13,8 +13,17 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.OrganizationRoleAttributionsToJSON = exports.OrganizationRoleAttributionsFromJSONTyped = exports.OrganizationRoleAttributionsFromJSON = void 0;
|
|
16
|
+
exports.OrganizationRoleAttributionsToJSON = exports.OrganizationRoleAttributionsFromJSONTyped = exports.OrganizationRoleAttributionsFromJSON = exports.instanceOfOrganizationRoleAttributions = void 0;
|
|
17
17
|
const OrganizationRoleAttribution_1 = require("./OrganizationRoleAttribution");
|
|
18
|
+
/**
|
|
19
|
+
* Check if a given object implements the OrganizationRoleAttributions interface.
|
|
20
|
+
*/
|
|
21
|
+
function instanceOfOrganizationRoleAttributions(value) {
|
|
22
|
+
let isInstance = true;
|
|
23
|
+
isInstance = isInstance && "users" in value;
|
|
24
|
+
return isInstance;
|
|
25
|
+
}
|
|
26
|
+
exports.instanceOfOrganizationRoleAttributions = instanceOfOrganizationRoleAttributions;
|
|
18
27
|
function OrganizationRoleAttributionsFromJSON(json) {
|
|
19
28
|
return OrganizationRoleAttributionsFromJSONTyped(json, false);
|
|
20
29
|
}
|
|
@@ -28,6 +28,10 @@ export interface OrganizationServicesElement {
|
|
|
28
28
|
*/
|
|
29
29
|
externalId?: string | null;
|
|
30
30
|
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the OrganizationServicesElement interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfOrganizationServicesElement(value: object): boolean;
|
|
31
35
|
export declare function OrganizationServicesElementFromJSON(json: any): OrganizationServicesElement;
|
|
32
36
|
export declare function OrganizationServicesElementFromJSONTyped(json: any, ignoreDiscriminator: boolean): OrganizationServicesElement;
|
|
33
37
|
export declare function OrganizationServicesElementToJSON(value?: OrganizationServicesElement | null): any;
|
|
@@ -13,8 +13,17 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.OrganizationServicesElementToJSON = exports.OrganizationServicesElementFromJSONTyped = exports.OrganizationServicesElementFromJSON = void 0;
|
|
16
|
+
exports.OrganizationServicesElementToJSON = exports.OrganizationServicesElementFromJSONTyped = exports.OrganizationServicesElementFromJSON = exports.instanceOfOrganizationServicesElement = void 0;
|
|
17
17
|
const runtime_1 = require("../runtime");
|
|
18
|
+
/**
|
|
19
|
+
* Check if a given object implements the OrganizationServicesElement interface.
|
|
20
|
+
*/
|
|
21
|
+
function instanceOfOrganizationServicesElement(value) {
|
|
22
|
+
let isInstance = true;
|
|
23
|
+
isInstance = isInstance && "code" in value;
|
|
24
|
+
return isInstance;
|
|
25
|
+
}
|
|
26
|
+
exports.instanceOfOrganizationServicesElement = instanceOfOrganizationServicesElement;
|
|
18
27
|
function OrganizationServicesElementFromJSON(json) {
|
|
19
28
|
return OrganizationServicesElementFromJSONTyped(json, false);
|
|
20
29
|
}
|
|
@@ -9,7 +9,7 @@
|
|
|
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 OrganizationSsoProvider {
|
|
|
29
29
|
*/
|
|
30
30
|
name: LocalizedString;
|
|
31
31
|
}
|
|
32
|
+
/**
|
|
33
|
+
* Check if a given object implements the OrganizationSsoProvider interface.
|
|
34
|
+
*/
|
|
35
|
+
export declare function instanceOfOrganizationSsoProvider(value: object): boolean;
|
|
32
36
|
export declare function OrganizationSsoProviderFromJSON(json: any): OrganizationSsoProvider;
|
|
33
37
|
export declare function OrganizationSsoProviderFromJSONTyped(json: any, ignoreDiscriminator: boolean): OrganizationSsoProvider;
|
|
34
38
|
export declare function OrganizationSsoProviderToJSON(value?: OrganizationSsoProvider | null): any;
|
|
@@ -13,8 +13,18 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.OrganizationSsoProviderToJSON = exports.OrganizationSsoProviderFromJSONTyped = exports.OrganizationSsoProviderFromJSON = void 0;
|
|
16
|
+
exports.OrganizationSsoProviderToJSON = exports.OrganizationSsoProviderFromJSONTyped = exports.OrganizationSsoProviderFromJSON = exports.instanceOfOrganizationSsoProvider = void 0;
|
|
17
17
|
const LocalizedString_1 = require("./LocalizedString");
|
|
18
|
+
/**
|
|
19
|
+
* Check if a given object implements the OrganizationSsoProvider interface.
|
|
20
|
+
*/
|
|
21
|
+
function instanceOfOrganizationSsoProvider(value) {
|
|
22
|
+
let isInstance = true;
|
|
23
|
+
isInstance = isInstance && "code" in value;
|
|
24
|
+
isInstance = isInstance && "name" in value;
|
|
25
|
+
return isInstance;
|
|
26
|
+
}
|
|
27
|
+
exports.instanceOfOrganizationSsoProvider = instanceOfOrganizationSsoProvider;
|
|
18
28
|
function OrganizationSsoProviderFromJSON(json) {
|
|
19
29
|
return OrganizationSsoProviderFromJSONTyped(json, false);
|
|
20
30
|
}
|
|
@@ -36,6 +36,10 @@ export interface OrganizationUserServiceAssociation {
|
|
|
36
36
|
[key: string]: string;
|
|
37
37
|
} | null;
|
|
38
38
|
}
|
|
39
|
+
/**
|
|
40
|
+
* Check if a given object implements the OrganizationUserServiceAssociation interface.
|
|
41
|
+
*/
|
|
42
|
+
export declare function instanceOfOrganizationUserServiceAssociation(value: object): boolean;
|
|
39
43
|
export declare function OrganizationUserServiceAssociationFromJSON(json: any): OrganizationUserServiceAssociation;
|
|
40
44
|
export declare function OrganizationUserServiceAssociationFromJSONTyped(json: any, ignoreDiscriminator: boolean): OrganizationUserServiceAssociation;
|
|
41
45
|
export declare function OrganizationUserServiceAssociationToJSON(value?: OrganizationUserServiceAssociation | null): any;
|
|
@@ -13,8 +13,18 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.OrganizationUserServiceAssociationToJSON = exports.OrganizationUserServiceAssociationFromJSONTyped = exports.OrganizationUserServiceAssociationFromJSON = void 0;
|
|
16
|
+
exports.OrganizationUserServiceAssociationToJSON = exports.OrganizationUserServiceAssociationFromJSONTyped = exports.OrganizationUserServiceAssociationFromJSON = exports.instanceOfOrganizationUserServiceAssociation = void 0;
|
|
17
17
|
const runtime_1 = require("../runtime");
|
|
18
|
+
/**
|
|
19
|
+
* Check if a given object implements the OrganizationUserServiceAssociation interface.
|
|
20
|
+
*/
|
|
21
|
+
function instanceOfOrganizationUserServiceAssociation(value) {
|
|
22
|
+
let isInstance = true;
|
|
23
|
+
isInstance = isInstance && "organizationUuid" in value;
|
|
24
|
+
isInstance = isInstance && "code" in value;
|
|
25
|
+
return isInstance;
|
|
26
|
+
}
|
|
27
|
+
exports.instanceOfOrganizationUserServiceAssociation = instanceOfOrganizationUserServiceAssociation;
|
|
18
28
|
function OrganizationUserServiceAssociationFromJSON(json) {
|
|
19
29
|
return OrganizationUserServiceAssociationFromJSONTyped(json, false);
|
|
20
30
|
}
|
|
@@ -22,6 +22,10 @@ export interface PermissionCode {
|
|
|
22
22
|
*/
|
|
23
23
|
code: string;
|
|
24
24
|
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the PermissionCode interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfPermissionCode(value: object): boolean;
|
|
25
29
|
export declare function PermissionCodeFromJSON(json: any): PermissionCode;
|
|
26
30
|
export declare function PermissionCodeFromJSONTyped(json: any, ignoreDiscriminator: boolean): PermissionCode;
|
|
27
31
|
export declare function PermissionCodeToJSON(value?: PermissionCode | null): any;
|
|
@@ -13,7 +13,16 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.PermissionCodeToJSON = exports.PermissionCodeFromJSONTyped = exports.PermissionCodeFromJSON = void 0;
|
|
16
|
+
exports.PermissionCodeToJSON = exports.PermissionCodeFromJSONTyped = exports.PermissionCodeFromJSON = exports.instanceOfPermissionCode = void 0;
|
|
17
|
+
/**
|
|
18
|
+
* Check if a given object implements the PermissionCode interface.
|
|
19
|
+
*/
|
|
20
|
+
function instanceOfPermissionCode(value) {
|
|
21
|
+
let isInstance = true;
|
|
22
|
+
isInstance = isInstance && "code" in value;
|
|
23
|
+
return isInstance;
|
|
24
|
+
}
|
|
25
|
+
exports.instanceOfPermissionCode = instanceOfPermissionCode;
|
|
17
26
|
function PermissionCodeFromJSON(json) {
|
|
18
27
|
return PermissionCodeFromJSONTyped(json, false);
|
|
19
28
|
}
|
|
@@ -22,6 +22,10 @@ export interface PermissionCreated {
|
|
|
22
22
|
*/
|
|
23
23
|
code: string;
|
|
24
24
|
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the PermissionCreated interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfPermissionCreated(value: object): boolean;
|
|
25
29
|
export declare function PermissionCreatedFromJSON(json: any): PermissionCreated;
|
|
26
30
|
export declare function PermissionCreatedFromJSONTyped(json: any, ignoreDiscriminator: boolean): PermissionCreated;
|
|
27
31
|
export declare function PermissionCreatedToJSON(value?: PermissionCreated | null): any;
|
|
@@ -13,7 +13,16 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.PermissionCreatedToJSON = exports.PermissionCreatedFromJSONTyped = exports.PermissionCreatedFromJSON = void 0;
|
|
16
|
+
exports.PermissionCreatedToJSON = exports.PermissionCreatedFromJSONTyped = exports.PermissionCreatedFromJSON = exports.instanceOfPermissionCreated = void 0;
|
|
17
|
+
/**
|
|
18
|
+
* Check if a given object implements the PermissionCreated interface.
|
|
19
|
+
*/
|
|
20
|
+
function instanceOfPermissionCreated(value) {
|
|
21
|
+
let isInstance = true;
|
|
22
|
+
isInstance = isInstance && "code" in value;
|
|
23
|
+
return isInstance;
|
|
24
|
+
}
|
|
25
|
+
exports.instanceOfPermissionCreated = instanceOfPermissionCreated;
|
|
17
26
|
function PermissionCreatedFromJSON(json) {
|
|
18
27
|
return PermissionCreatedFromJSONTyped(json, false);
|
|
19
28
|
}
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import { PermissionCode } from './PermissionCode';
|
|
12
|
+
import type { PermissionCode } from './PermissionCode';
|
|
13
13
|
/**
|
|
14
14
|
* List of permission codes
|
|
15
15
|
* @export
|
|
@@ -23,6 +23,10 @@ export interface PermissionList {
|
|
|
23
23
|
*/
|
|
24
24
|
permissions: Array<PermissionCode>;
|
|
25
25
|
}
|
|
26
|
+
/**
|
|
27
|
+
* Check if a given object implements the PermissionList interface.
|
|
28
|
+
*/
|
|
29
|
+
export declare function instanceOfPermissionList(value: object): boolean;
|
|
26
30
|
export declare function PermissionListFromJSON(json: any): PermissionList;
|
|
27
31
|
export declare function PermissionListFromJSONTyped(json: any, ignoreDiscriminator: boolean): PermissionList;
|
|
28
32
|
export declare function PermissionListToJSON(value?: PermissionList | null): any;
|
|
@@ -13,8 +13,17 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.PermissionListToJSON = exports.PermissionListFromJSONTyped = exports.PermissionListFromJSON = void 0;
|
|
16
|
+
exports.PermissionListToJSON = exports.PermissionListFromJSONTyped = exports.PermissionListFromJSON = exports.instanceOfPermissionList = void 0;
|
|
17
17
|
const PermissionCode_1 = require("./PermissionCode");
|
|
18
|
+
/**
|
|
19
|
+
* Check if a given object implements the PermissionList interface.
|
|
20
|
+
*/
|
|
21
|
+
function instanceOfPermissionList(value) {
|
|
22
|
+
let isInstance = true;
|
|
23
|
+
isInstance = isInstance && "permissions" in value;
|
|
24
|
+
return isInstance;
|
|
25
|
+
}
|
|
26
|
+
exports.instanceOfPermissionList = instanceOfPermissionList;
|
|
18
27
|
function PermissionListFromJSON(json) {
|
|
19
28
|
return PermissionListFromJSONTyped(json, false);
|
|
20
29
|
}
|
|
@@ -16,6 +16,7 @@
|
|
|
16
16
|
export declare const PermissionResourceType: {
|
|
17
17
|
readonly USER: "USER";
|
|
18
18
|
readonly ORGANIZATION: "ORGANIZATION";
|
|
19
|
+
readonly unknown_default_open_api: "11184809";
|
|
19
20
|
};
|
|
20
21
|
export declare type PermissionResourceType = typeof PermissionResourceType[keyof typeof PermissionResourceType];
|
|
21
22
|
export declare function PermissionResourceTypeFromJSON(json: any): PermissionResourceType;
|
|
@@ -20,7 +20,8 @@ exports.PermissionResourceTypeToJSON = exports.PermissionResourceTypeFromJSONTyp
|
|
|
20
20
|
*/
|
|
21
21
|
exports.PermissionResourceType = {
|
|
22
22
|
USER: 'USER',
|
|
23
|
-
ORGANIZATION: 'ORGANIZATION'
|
|
23
|
+
ORGANIZATION: 'ORGANIZATION',
|
|
24
|
+
unknown_default_open_api: '11184809'
|
|
24
25
|
};
|
|
25
26
|
function PermissionResourceTypeFromJSON(json) {
|
|
26
27
|
return PermissionResourceTypeFromJSONTyped(json, false);
|
package/dist/models/Role.d.ts
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
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
|
|
@@ -35,6 +35,10 @@ export interface Role {
|
|
|
35
35
|
*/
|
|
36
36
|
permissions: Array<string>;
|
|
37
37
|
}
|
|
38
|
+
/**
|
|
39
|
+
* Check if a given object implements the Role interface.
|
|
40
|
+
*/
|
|
41
|
+
export declare function instanceOfRole(value: object): boolean;
|
|
38
42
|
export declare function RoleFromJSON(json: any): Role;
|
|
39
43
|
export declare function RoleFromJSONTyped(json: any, ignoreDiscriminator: boolean): Role;
|
|
40
44
|
export declare function RoleToJSON(value?: Role | null): any;
|
package/dist/models/Role.js
CHANGED
|
@@ -13,8 +13,19 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.RoleToJSON = exports.RoleFromJSONTyped = exports.RoleFromJSON = void 0;
|
|
16
|
+
exports.RoleToJSON = exports.RoleFromJSONTyped = exports.RoleFromJSON = exports.instanceOfRole = void 0;
|
|
17
17
|
const LocalizedString_1 = require("./LocalizedString");
|
|
18
|
+
/**
|
|
19
|
+
* Check if a given object implements the Role interface.
|
|
20
|
+
*/
|
|
21
|
+
function instanceOfRole(value) {
|
|
22
|
+
let isInstance = true;
|
|
23
|
+
isInstance = isInstance && "uuid" in value;
|
|
24
|
+
isInstance = isInstance && "name" in value;
|
|
25
|
+
isInstance = isInstance && "permissions" in value;
|
|
26
|
+
return isInstance;
|
|
27
|
+
}
|
|
28
|
+
exports.instanceOfRole = instanceOfRole;
|
|
18
29
|
function RoleFromJSON(json) {
|
|
19
30
|
return RoleFromJSONTyped(json, false);
|
|
20
31
|
}
|
|
@@ -9,7 +9,7 @@
|
|
|
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
|
* created role schema
|
|
15
15
|
* @export
|
|
@@ -35,6 +35,10 @@ export interface RoleCreated {
|
|
|
35
35
|
*/
|
|
36
36
|
permissions: Array<string>;
|
|
37
37
|
}
|
|
38
|
+
/**
|
|
39
|
+
* Check if a given object implements the RoleCreated interface.
|
|
40
|
+
*/
|
|
41
|
+
export declare function instanceOfRoleCreated(value: object): boolean;
|
|
38
42
|
export declare function RoleCreatedFromJSON(json: any): RoleCreated;
|
|
39
43
|
export declare function RoleCreatedFromJSONTyped(json: any, ignoreDiscriminator: boolean): RoleCreated;
|
|
40
44
|
export declare function RoleCreatedToJSON(value?: RoleCreated | null): any;
|
|
@@ -13,8 +13,19 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.RoleCreatedToJSON = exports.RoleCreatedFromJSONTyped = exports.RoleCreatedFromJSON = void 0;
|
|
16
|
+
exports.RoleCreatedToJSON = exports.RoleCreatedFromJSONTyped = exports.RoleCreatedFromJSON = exports.instanceOfRoleCreated = void 0;
|
|
17
17
|
const LocalizedString_1 = require("./LocalizedString");
|
|
18
|
+
/**
|
|
19
|
+
* Check if a given object implements the RoleCreated interface.
|
|
20
|
+
*/
|
|
21
|
+
function instanceOfRoleCreated(value) {
|
|
22
|
+
let isInstance = true;
|
|
23
|
+
isInstance = isInstance && "uuid" in value;
|
|
24
|
+
isInstance = isInstance && "name" in value;
|
|
25
|
+
isInstance = isInstance && "permissions" in value;
|
|
26
|
+
return isInstance;
|
|
27
|
+
}
|
|
28
|
+
exports.instanceOfRoleCreated = instanceOfRoleCreated;
|
|
18
29
|
function RoleCreatedFromJSON(json) {
|
|
19
30
|
return RoleCreatedFromJSONTyped(json, false);
|
|
20
31
|
}
|
|
@@ -9,10 +9,10 @@
|
|
|
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;
|
|
@@ -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
|
}
|
|
@@ -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;
|
|
@@ -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
|
}
|
|
@@ -9,8 +9,8 @@
|
|
|
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;
|
|
@@ -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
|
}
|
|
@@ -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;
|
|
@@ -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
|
}
|
|
@@ -9,7 +9,7 @@
|
|
|
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;
|
|
@@ -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
|
}
|
|
@@ -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;
|