@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,16 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.EnableEquisoftConnectPayloadSchemaToJSON = exports.EnableEquisoftConnectPayloadSchemaFromJSONTyped = exports.EnableEquisoftConnectPayloadSchemaFromJSON = void 0;
|
|
16
|
+
exports.EnableEquisoftConnectPayloadSchemaToJSON = exports.EnableEquisoftConnectPayloadSchemaFromJSONTyped = exports.EnableEquisoftConnectPayloadSchemaFromJSON = exports.instanceOfEnableEquisoftConnectPayloadSchema = void 0;
|
|
17
17
|
const runtime_1 = require("../runtime");
|
|
18
|
+
/**
|
|
19
|
+
* Check if a given object implements the EnableEquisoftConnectPayloadSchema interface.
|
|
20
|
+
*/
|
|
21
|
+
function instanceOfEnableEquisoftConnectPayloadSchema(value) {
|
|
22
|
+
let isInstance = true;
|
|
23
|
+
return isInstance;
|
|
24
|
+
}
|
|
25
|
+
exports.instanceOfEnableEquisoftConnectPayloadSchema = instanceOfEnableEquisoftConnectPayloadSchema;
|
|
18
26
|
function EnableEquisoftConnectPayloadSchemaFromJSON(json) {
|
|
19
27
|
return EnableEquisoftConnectPayloadSchemaFromJSONTyped(json, false);
|
|
20
28
|
}
|
|
@@ -31,6 +31,7 @@ export declare const ErrorMessage: {
|
|
|
31
31
|
readonly PASSWORD_LOGIN_DISABLED: "PASSWORD_LOGIN_DISABLED";
|
|
32
32
|
readonly LOCKED_USER: "LOCKED_USER";
|
|
33
33
|
readonly LOGIN_DENIED: "LOGIN_DENIED";
|
|
34
|
+
readonly unknown_default_open_api: "11184809";
|
|
34
35
|
};
|
|
35
36
|
export declare type ErrorMessage = typeof ErrorMessage[keyof typeof ErrorMessage];
|
|
36
37
|
export declare function ErrorMessageFromJSON(json: any): ErrorMessage;
|
|
@@ -35,7 +35,8 @@ exports.ErrorMessage = {
|
|
|
35
35
|
DUPLICATE_USER_ACCOUNT_EMAIL: 'DUPLICATE_USER_ACCOUNT_EMAIL',
|
|
36
36
|
PASSWORD_LOGIN_DISABLED: 'PASSWORD_LOGIN_DISABLED',
|
|
37
37
|
LOCKED_USER: 'LOCKED_USER',
|
|
38
|
-
LOGIN_DENIED: 'LOGIN_DENIED'
|
|
38
|
+
LOGIN_DENIED: 'LOGIN_DENIED',
|
|
39
|
+
unknown_default_open_api: '11184809'
|
|
39
40
|
};
|
|
40
41
|
function ErrorMessageFromJSON(json) {
|
|
41
42
|
return ErrorMessageFromJSONTyped(json, false);
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import { ErrorMessage } from './ErrorMessage';
|
|
12
|
+
import type { ErrorMessage } from './ErrorMessage';
|
|
13
13
|
/**
|
|
14
14
|
*
|
|
15
15
|
* @export
|
|
@@ -29,6 +29,10 @@ export interface ErrorPayload {
|
|
|
29
29
|
*/
|
|
30
30
|
description?: string | null;
|
|
31
31
|
}
|
|
32
|
+
/**
|
|
33
|
+
* Check if a given object implements the ErrorPayload interface.
|
|
34
|
+
*/
|
|
35
|
+
export declare function instanceOfErrorPayload(value: object): boolean;
|
|
32
36
|
export declare function ErrorPayloadFromJSON(json: any): ErrorPayload;
|
|
33
37
|
export declare function ErrorPayloadFromJSONTyped(json: any, ignoreDiscriminator: boolean): ErrorPayload;
|
|
34
38
|
export declare function ErrorPayloadToJSON(value?: ErrorPayload | null): any;
|
|
@@ -13,9 +13,18 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.ErrorPayloadToJSON = exports.ErrorPayloadFromJSONTyped = exports.ErrorPayloadFromJSON = void 0;
|
|
16
|
+
exports.ErrorPayloadToJSON = exports.ErrorPayloadFromJSONTyped = exports.ErrorPayloadFromJSON = exports.instanceOfErrorPayload = void 0;
|
|
17
17
|
const runtime_1 = require("../runtime");
|
|
18
18
|
const ErrorMessage_1 = require("./ErrorMessage");
|
|
19
|
+
/**
|
|
20
|
+
* Check if a given object implements the ErrorPayload interface.
|
|
21
|
+
*/
|
|
22
|
+
function instanceOfErrorPayload(value) {
|
|
23
|
+
let isInstance = true;
|
|
24
|
+
isInstance = isInstance && "message" in value;
|
|
25
|
+
return isInstance;
|
|
26
|
+
}
|
|
27
|
+
exports.instanceOfErrorPayload = instanceOfErrorPayload;
|
|
19
28
|
function ErrorPayloadFromJSON(json) {
|
|
20
29
|
return ErrorPayloadFromJSONTyped(json, false);
|
|
21
30
|
}
|
package/dist/models/Id.d.ts
CHANGED
|
@@ -28,6 +28,10 @@ export interface Id {
|
|
|
28
28
|
*/
|
|
29
29
|
uuid: string;
|
|
30
30
|
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the Id interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfId(value: object): boolean;
|
|
31
35
|
export declare function IdFromJSON(json: any): Id;
|
|
32
36
|
export declare function IdFromJSONTyped(json: any, ignoreDiscriminator: boolean): Id;
|
|
33
37
|
export declare function IdToJSON(value?: Id | null): any;
|
package/dist/models/Id.js
CHANGED
|
@@ -13,7 +13,17 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.IdToJSON = exports.IdFromJSONTyped = exports.IdFromJSON = void 0;
|
|
16
|
+
exports.IdToJSON = exports.IdFromJSONTyped = exports.IdFromJSON = exports.instanceOfId = void 0;
|
|
17
|
+
/**
|
|
18
|
+
* Check if a given object implements the Id interface.
|
|
19
|
+
*/
|
|
20
|
+
function instanceOfId(value) {
|
|
21
|
+
let isInstance = true;
|
|
22
|
+
isInstance = isInstance && "id" in value;
|
|
23
|
+
isInstance = isInstance && "uuid" in value;
|
|
24
|
+
return isInstance;
|
|
25
|
+
}
|
|
26
|
+
exports.instanceOfId = instanceOfId;
|
|
17
27
|
function IdFromJSON(json) {
|
|
18
28
|
return IdFromJSONTyped(json, false);
|
|
19
29
|
}
|
|
@@ -22,6 +22,10 @@ export interface ImpersonatePayload {
|
|
|
22
22
|
*/
|
|
23
23
|
userUuid: string;
|
|
24
24
|
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the ImpersonatePayload interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfImpersonatePayload(value: object): boolean;
|
|
25
29
|
export declare function ImpersonatePayloadFromJSON(json: any): ImpersonatePayload;
|
|
26
30
|
export declare function ImpersonatePayloadFromJSONTyped(json: any, ignoreDiscriminator: boolean): ImpersonatePayload;
|
|
27
31
|
export declare function ImpersonatePayloadToJSON(value?: ImpersonatePayload | 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.ImpersonatePayloadToJSON = exports.ImpersonatePayloadFromJSONTyped = exports.ImpersonatePayloadFromJSON = void 0;
|
|
16
|
+
exports.ImpersonatePayloadToJSON = exports.ImpersonatePayloadFromJSONTyped = exports.ImpersonatePayloadFromJSON = exports.instanceOfImpersonatePayload = void 0;
|
|
17
|
+
/**
|
|
18
|
+
* Check if a given object implements the ImpersonatePayload interface.
|
|
19
|
+
*/
|
|
20
|
+
function instanceOfImpersonatePayload(value) {
|
|
21
|
+
let isInstance = true;
|
|
22
|
+
isInstance = isInstance && "userUuid" in value;
|
|
23
|
+
return isInstance;
|
|
24
|
+
}
|
|
25
|
+
exports.instanceOfImpersonatePayload = instanceOfImpersonatePayload;
|
|
17
26
|
function ImpersonatePayloadFromJSON(json) {
|
|
18
27
|
return ImpersonatePayloadFromJSONTyped(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 { LocalizedString } from './LocalizedString';
|
|
12
|
+
import type { LocalizedString } from './LocalizedString';
|
|
13
13
|
/**
|
|
14
14
|
* User legacy roles
|
|
15
15
|
* @export
|
|
@@ -29,6 +29,10 @@ export interface LegacyRoleSchema {
|
|
|
29
29
|
*/
|
|
30
30
|
name: LocalizedString;
|
|
31
31
|
}
|
|
32
|
+
/**
|
|
33
|
+
* Check if a given object implements the LegacyRoleSchema interface.
|
|
34
|
+
*/
|
|
35
|
+
export declare function instanceOfLegacyRoleSchema(value: object): boolean;
|
|
32
36
|
export declare function LegacyRoleSchemaFromJSON(json: any): LegacyRoleSchema;
|
|
33
37
|
export declare function LegacyRoleSchemaFromJSONTyped(json: any, ignoreDiscriminator: boolean): LegacyRoleSchema;
|
|
34
38
|
export declare function LegacyRoleSchemaToJSON(value?: LegacyRoleSchema | 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.LegacyRoleSchemaToJSON = exports.LegacyRoleSchemaFromJSONTyped = exports.LegacyRoleSchemaFromJSON = void 0;
|
|
16
|
+
exports.LegacyRoleSchemaToJSON = exports.LegacyRoleSchemaFromJSONTyped = exports.LegacyRoleSchemaFromJSON = exports.instanceOfLegacyRoleSchema = void 0;
|
|
17
17
|
const LocalizedString_1 = require("./LocalizedString");
|
|
18
|
+
/**
|
|
19
|
+
* Check if a given object implements the LegacyRoleSchema interface.
|
|
20
|
+
*/
|
|
21
|
+
function instanceOfLegacyRoleSchema(value) {
|
|
22
|
+
let isInstance = true;
|
|
23
|
+
isInstance = isInstance && "code" in value;
|
|
24
|
+
isInstance = isInstance && "name" in value;
|
|
25
|
+
return isInstance;
|
|
26
|
+
}
|
|
27
|
+
exports.instanceOfLegacyRoleSchema = instanceOfLegacyRoleSchema;
|
|
18
28
|
function LegacyRoleSchemaFromJSON(json) {
|
|
19
29
|
return LegacyRoleSchemaFromJSONTyped(json, false);
|
|
20
30
|
}
|
|
@@ -9,9 +9,9 @@
|
|
|
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 { OrganizationServicesElement } from './OrganizationServicesElement';
|
|
12
|
+
import type { LocalizedString } from './LocalizedString';
|
|
13
|
+
import type { OrganizationPathElement } from './OrganizationPathElement';
|
|
14
|
+
import type { OrganizationServicesElement } from './OrganizationServicesElement';
|
|
15
15
|
/**
|
|
16
16
|
*
|
|
17
17
|
* @export
|
|
@@ -49,6 +49,10 @@ export interface ListOrganizationElement {
|
|
|
49
49
|
*/
|
|
50
50
|
services: Array<OrganizationServicesElement>;
|
|
51
51
|
}
|
|
52
|
+
/**
|
|
53
|
+
* Check if a given object implements the ListOrganizationElement interface.
|
|
54
|
+
*/
|
|
55
|
+
export declare function instanceOfListOrganizationElement(value: object): boolean;
|
|
52
56
|
export declare function ListOrganizationElementFromJSON(json: any): ListOrganizationElement;
|
|
53
57
|
export declare function ListOrganizationElementFromJSONTyped(json: any, ignoreDiscriminator: boolean): ListOrganizationElement;
|
|
54
58
|
export declare function ListOrganizationElementToJSON(value?: ListOrganizationElement | null): any;
|
|
@@ -13,11 +13,23 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.ListOrganizationElementToJSON = exports.ListOrganizationElementFromJSONTyped = exports.ListOrganizationElementFromJSON = void 0;
|
|
16
|
+
exports.ListOrganizationElementToJSON = exports.ListOrganizationElementFromJSONTyped = exports.ListOrganizationElementFromJSON = exports.instanceOfListOrganizationElement = void 0;
|
|
17
17
|
const runtime_1 = require("../runtime");
|
|
18
18
|
const LocalizedString_1 = require("./LocalizedString");
|
|
19
19
|
const OrganizationPathElement_1 = require("./OrganizationPathElement");
|
|
20
20
|
const OrganizationServicesElement_1 = require("./OrganizationServicesElement");
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the ListOrganizationElement interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfListOrganizationElement(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 && "services" in value;
|
|
30
|
+
return isInstance;
|
|
31
|
+
}
|
|
32
|
+
exports.instanceOfListOrganizationElement = instanceOfListOrganizationElement;
|
|
21
33
|
function ListOrganizationElementFromJSON(json) {
|
|
22
34
|
return ListOrganizationElementFromJSONTyped(json, false);
|
|
23
35
|
}
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import { ListOrganizationElement } from './ListOrganizationElement';
|
|
12
|
+
import type { ListOrganizationElement } from './ListOrganizationElement';
|
|
13
13
|
/**
|
|
14
14
|
*
|
|
15
15
|
* @export
|
|
@@ -29,6 +29,10 @@ export interface ListUserOrganizations {
|
|
|
29
29
|
*/
|
|
30
30
|
nextPageToken?: string | null;
|
|
31
31
|
}
|
|
32
|
+
/**
|
|
33
|
+
* Check if a given object implements the ListUserOrganizations interface.
|
|
34
|
+
*/
|
|
35
|
+
export declare function instanceOfListUserOrganizations(value: object): boolean;
|
|
32
36
|
export declare function ListUserOrganizationsFromJSON(json: any): ListUserOrganizations;
|
|
33
37
|
export declare function ListUserOrganizationsFromJSONTyped(json: any, ignoreDiscriminator: boolean): ListUserOrganizations;
|
|
34
38
|
export declare function ListUserOrganizationsToJSON(value?: ListUserOrganizations | null): any;
|
|
@@ -13,9 +13,18 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.ListUserOrganizationsToJSON = exports.ListUserOrganizationsFromJSONTyped = exports.ListUserOrganizationsFromJSON = void 0;
|
|
16
|
+
exports.ListUserOrganizationsToJSON = exports.ListUserOrganizationsFromJSONTyped = exports.ListUserOrganizationsFromJSON = exports.instanceOfListUserOrganizations = void 0;
|
|
17
17
|
const runtime_1 = require("../runtime");
|
|
18
18
|
const ListOrganizationElement_1 = require("./ListOrganizationElement");
|
|
19
|
+
/**
|
|
20
|
+
* Check if a given object implements the ListUserOrganizations interface.
|
|
21
|
+
*/
|
|
22
|
+
function instanceOfListUserOrganizations(value) {
|
|
23
|
+
let isInstance = true;
|
|
24
|
+
isInstance = isInstance && "organizations" in value;
|
|
25
|
+
return isInstance;
|
|
26
|
+
}
|
|
27
|
+
exports.instanceOfListUserOrganizations = instanceOfListUserOrganizations;
|
|
19
28
|
function ListUserOrganizationsFromJSON(json) {
|
|
20
29
|
return ListUserOrganizationsFromJSONTyped(json, false);
|
|
21
30
|
}
|
|
@@ -30,6 +30,10 @@ export interface LocalizedString {
|
|
|
30
30
|
*/
|
|
31
31
|
defaultLocale: string;
|
|
32
32
|
}
|
|
33
|
+
/**
|
|
34
|
+
* Check if a given object implements the LocalizedString interface.
|
|
35
|
+
*/
|
|
36
|
+
export declare function instanceOfLocalizedString(value: object): boolean;
|
|
33
37
|
export declare function LocalizedStringFromJSON(json: any): LocalizedString;
|
|
34
38
|
export declare function LocalizedStringFromJSONTyped(json: any, ignoreDiscriminator: boolean): LocalizedString;
|
|
35
39
|
export declare function LocalizedStringToJSON(value?: LocalizedString | 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.LocalizedStringToJSON = exports.LocalizedStringFromJSONTyped = exports.LocalizedStringFromJSON = void 0;
|
|
16
|
+
exports.LocalizedStringToJSON = exports.LocalizedStringFromJSONTyped = exports.LocalizedStringFromJSON = exports.instanceOfLocalizedString = void 0;
|
|
17
|
+
/**
|
|
18
|
+
* Check if a given object implements the LocalizedString interface.
|
|
19
|
+
*/
|
|
20
|
+
function instanceOfLocalizedString(value) {
|
|
21
|
+
let isInstance = true;
|
|
22
|
+
isInstance = isInstance && "values" in value;
|
|
23
|
+
isInstance = isInstance && "defaultLocale" in value;
|
|
24
|
+
return isInstance;
|
|
25
|
+
}
|
|
26
|
+
exports.instanceOfLocalizedString = instanceOfLocalizedString;
|
|
17
27
|
function LocalizedStringFromJSON(json) {
|
|
18
28
|
return LocalizedStringFromJSONTyped(json, false);
|
|
19
29
|
}
|
|
@@ -28,6 +28,10 @@ export interface LoginPayload {
|
|
|
28
28
|
*/
|
|
29
29
|
password: string;
|
|
30
30
|
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the LoginPayload interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfLoginPayload(value: object): boolean;
|
|
31
35
|
export declare function LoginPayloadFromJSON(json: any): LoginPayload;
|
|
32
36
|
export declare function LoginPayloadFromJSONTyped(json: any, ignoreDiscriminator: boolean): LoginPayload;
|
|
33
37
|
export declare function LoginPayloadToJSON(value?: LoginPayload | 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.LoginPayloadToJSON = exports.LoginPayloadFromJSONTyped = exports.LoginPayloadFromJSON = void 0;
|
|
16
|
+
exports.LoginPayloadToJSON = exports.LoginPayloadFromJSONTyped = exports.LoginPayloadFromJSON = exports.instanceOfLoginPayload = void 0;
|
|
17
|
+
/**
|
|
18
|
+
* Check if a given object implements the LoginPayload interface.
|
|
19
|
+
*/
|
|
20
|
+
function instanceOfLoginPayload(value) {
|
|
21
|
+
let isInstance = true;
|
|
22
|
+
isInstance = isInstance && "email" in value;
|
|
23
|
+
isInstance = isInstance && "password" in value;
|
|
24
|
+
return isInstance;
|
|
25
|
+
}
|
|
26
|
+
exports.instanceOfLoginPayload = instanceOfLoginPayload;
|
|
17
27
|
function LoginPayloadFromJSON(json) {
|
|
18
28
|
return LoginPayloadFromJSONTyped(json, false);
|
|
19
29
|
}
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import { OAuthClientPublicKey } from './OAuthClientPublicKey';
|
|
12
|
+
import type { OAuthClientPublicKey } from './OAuthClientPublicKey';
|
|
13
13
|
/**
|
|
14
14
|
* Represents an OAuth Client
|
|
15
15
|
* @export
|
|
@@ -97,6 +97,10 @@ export interface OAuthClient {
|
|
|
97
97
|
[key: string]: any;
|
|
98
98
|
} | null;
|
|
99
99
|
}
|
|
100
|
+
/**
|
|
101
|
+
* Check if a given object implements the OAuthClient interface.
|
|
102
|
+
*/
|
|
103
|
+
export declare function instanceOfOAuthClient(value: object): boolean;
|
|
100
104
|
export declare function OAuthClientFromJSON(json: any): OAuthClient;
|
|
101
105
|
export declare function OAuthClientFromJSONTyped(json: any, ignoreDiscriminator: boolean): OAuthClient;
|
|
102
106
|
export declare function OAuthClientToJSON(value?: OAuthClient | null): any;
|
|
@@ -13,9 +13,27 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.OAuthClientToJSON = exports.OAuthClientFromJSONTyped = exports.OAuthClientFromJSON = void 0;
|
|
16
|
+
exports.OAuthClientToJSON = exports.OAuthClientFromJSONTyped = exports.OAuthClientFromJSON = exports.instanceOfOAuthClient = void 0;
|
|
17
17
|
const runtime_1 = require("../runtime");
|
|
18
18
|
const OAuthClientPublicKey_1 = require("./OAuthClientPublicKey");
|
|
19
|
+
/**
|
|
20
|
+
* Check if a given object implements the OAuthClient interface.
|
|
21
|
+
*/
|
|
22
|
+
function instanceOfOAuthClient(value) {
|
|
23
|
+
let isInstance = true;
|
|
24
|
+
isInstance = isInstance && "clientId" in value;
|
|
25
|
+
isInstance = isInstance && "name" in value;
|
|
26
|
+
isInstance = isInstance && "clientSecret" in value;
|
|
27
|
+
isInstance = isInstance && "trusted" in value;
|
|
28
|
+
isInstance = isInstance && "audiences" in value;
|
|
29
|
+
isInstance = isInstance && "redirectUris" in value;
|
|
30
|
+
isInstance = isInstance && "grantTypes" in value;
|
|
31
|
+
isInstance = isInstance && "scopes" in value;
|
|
32
|
+
isInstance = isInstance && "serviceAccount" in value;
|
|
33
|
+
isInstance = isInstance && "serviceAccountDelegation" in value;
|
|
34
|
+
return isInstance;
|
|
35
|
+
}
|
|
36
|
+
exports.instanceOfOAuthClient = instanceOfOAuthClient;
|
|
19
37
|
function OAuthClientFromJSON(json) {
|
|
20
38
|
return OAuthClientFromJSONTyped(json, false);
|
|
21
39
|
}
|
|
@@ -22,6 +22,10 @@ export interface OAuthClientCreated {
|
|
|
22
22
|
*/
|
|
23
23
|
clientId: string;
|
|
24
24
|
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the OAuthClientCreated interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfOAuthClientCreated(value: object): boolean;
|
|
25
29
|
export declare function OAuthClientCreatedFromJSON(json: any): OAuthClientCreated;
|
|
26
30
|
export declare function OAuthClientCreatedFromJSONTyped(json: any, ignoreDiscriminator: boolean): OAuthClientCreated;
|
|
27
31
|
export declare function OAuthClientCreatedToJSON(value?: OAuthClientCreated | 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.OAuthClientCreatedToJSON = exports.OAuthClientCreatedFromJSONTyped = exports.OAuthClientCreatedFromJSON = void 0;
|
|
16
|
+
exports.OAuthClientCreatedToJSON = exports.OAuthClientCreatedFromJSONTyped = exports.OAuthClientCreatedFromJSON = exports.instanceOfOAuthClientCreated = void 0;
|
|
17
|
+
/**
|
|
18
|
+
* Check if a given object implements the OAuthClientCreated interface.
|
|
19
|
+
*/
|
|
20
|
+
function instanceOfOAuthClientCreated(value) {
|
|
21
|
+
let isInstance = true;
|
|
22
|
+
isInstance = isInstance && "clientId" in value;
|
|
23
|
+
return isInstance;
|
|
24
|
+
}
|
|
25
|
+
exports.instanceOfOAuthClientCreated = instanceOfOAuthClientCreated;
|
|
17
26
|
function OAuthClientCreatedFromJSON(json) {
|
|
18
27
|
return OAuthClientCreatedFromJSONTyped(json, false);
|
|
19
28
|
}
|
|
@@ -28,6 +28,10 @@ export interface OAuthClientPublicKey {
|
|
|
28
28
|
*/
|
|
29
29
|
algorithm: string;
|
|
30
30
|
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the OAuthClientPublicKey interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfOAuthClientPublicKey(value: object): boolean;
|
|
31
35
|
export declare function OAuthClientPublicKeyFromJSON(json: any): OAuthClientPublicKey;
|
|
32
36
|
export declare function OAuthClientPublicKeyFromJSONTyped(json: any, ignoreDiscriminator: boolean): OAuthClientPublicKey;
|
|
33
37
|
export declare function OAuthClientPublicKeyToJSON(value?: OAuthClientPublicKey | 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.OAuthClientPublicKeyToJSON = exports.OAuthClientPublicKeyFromJSONTyped = exports.OAuthClientPublicKeyFromJSON = void 0;
|
|
16
|
+
exports.OAuthClientPublicKeyToJSON = exports.OAuthClientPublicKeyFromJSONTyped = exports.OAuthClientPublicKeyFromJSON = exports.instanceOfOAuthClientPublicKey = void 0;
|
|
17
|
+
/**
|
|
18
|
+
* Check if a given object implements the OAuthClientPublicKey interface.
|
|
19
|
+
*/
|
|
20
|
+
function instanceOfOAuthClientPublicKey(value) {
|
|
21
|
+
let isInstance = true;
|
|
22
|
+
isInstance = isInstance && "publicKey" in value;
|
|
23
|
+
isInstance = isInstance && "algorithm" in value;
|
|
24
|
+
return isInstance;
|
|
25
|
+
}
|
|
26
|
+
exports.instanceOfOAuthClientPublicKey = instanceOfOAuthClientPublicKey;
|
|
17
27
|
function OAuthClientPublicKeyFromJSON(json) {
|
|
18
28
|
return OAuthClientPublicKeyFromJSONTyped(json, false);
|
|
19
29
|
}
|
|
@@ -9,9 +9,9 @@
|
|
|
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 { OrganizationServicesElement } from './OrganizationServicesElement';
|
|
12
|
+
import type { LocalizedString } from './LocalizedString';
|
|
13
|
+
import type { OrganizationPathElement } from './OrganizationPathElement';
|
|
14
|
+
import type { OrganizationServicesElement } from './OrganizationServicesElement';
|
|
15
15
|
/**
|
|
16
16
|
*
|
|
17
17
|
* @export
|
|
@@ -73,6 +73,10 @@ export interface Organization {
|
|
|
73
73
|
*/
|
|
74
74
|
services: Array<OrganizationServicesElement>;
|
|
75
75
|
}
|
|
76
|
+
/**
|
|
77
|
+
* Check if a given object implements the Organization interface.
|
|
78
|
+
*/
|
|
79
|
+
export declare function instanceOfOrganization(value: object): boolean;
|
|
76
80
|
export declare function OrganizationFromJSON(json: any): Organization;
|
|
77
81
|
export declare function OrganizationFromJSONTyped(json: any, ignoreDiscriminator: boolean): Organization;
|
|
78
82
|
export declare function OrganizationToJSON(value?: Organization | null): any;
|
|
@@ -13,11 +13,25 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.OrganizationToJSON = exports.OrganizationFromJSONTyped = exports.OrganizationFromJSON = void 0;
|
|
16
|
+
exports.OrganizationToJSON = exports.OrganizationFromJSONTyped = exports.OrganizationFromJSON = exports.instanceOfOrganization = void 0;
|
|
17
17
|
const runtime_1 = require("../runtime");
|
|
18
18
|
const LocalizedString_1 = require("./LocalizedString");
|
|
19
19
|
const OrganizationPathElement_1 = require("./OrganizationPathElement");
|
|
20
20
|
const OrganizationServicesElement_1 = require("./OrganizationServicesElement");
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the Organization interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfOrganization(value) {
|
|
25
|
+
let isInstance = true;
|
|
26
|
+
isInstance = isInstance && "uuid" in value;
|
|
27
|
+
isInstance = isInstance && "name" in value;
|
|
28
|
+
isInstance = isInstance && "equisoftConnectProfiles" in value;
|
|
29
|
+
isInstance = isInstance && "equisoftPlanProfiles" in value;
|
|
30
|
+
isInstance = isInstance && "createdAt" in value;
|
|
31
|
+
isInstance = isInstance && "services" in value;
|
|
32
|
+
return isInstance;
|
|
33
|
+
}
|
|
34
|
+
exports.instanceOfOrganization = instanceOfOrganization;
|
|
21
35
|
function OrganizationFromJSON(json) {
|
|
22
36
|
return OrganizationFromJSONTyped(json, false);
|
|
23
37
|
}
|
|
@@ -22,6 +22,10 @@ export interface OrganizationCreated {
|
|
|
22
22
|
*/
|
|
23
23
|
uuid: string;
|
|
24
24
|
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the OrganizationCreated interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfOrganizationCreated(value: object): boolean;
|
|
25
29
|
export declare function OrganizationCreatedFromJSON(json: any): OrganizationCreated;
|
|
26
30
|
export declare function OrganizationCreatedFromJSONTyped(json: any, ignoreDiscriminator: boolean): OrganizationCreated;
|
|
27
31
|
export declare function OrganizationCreatedToJSON(value?: OrganizationCreated | 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.OrganizationCreatedToJSON = exports.OrganizationCreatedFromJSONTyped = exports.OrganizationCreatedFromJSON = void 0;
|
|
16
|
+
exports.OrganizationCreatedToJSON = exports.OrganizationCreatedFromJSONTyped = exports.OrganizationCreatedFromJSON = exports.instanceOfOrganizationCreated = void 0;
|
|
17
|
+
/**
|
|
18
|
+
* Check if a given object implements the OrganizationCreated interface.
|
|
19
|
+
*/
|
|
20
|
+
function instanceOfOrganizationCreated(value) {
|
|
21
|
+
let isInstance = true;
|
|
22
|
+
isInstance = isInstance && "uuid" in value;
|
|
23
|
+
return isInstance;
|
|
24
|
+
}
|
|
25
|
+
exports.instanceOfOrganizationCreated = instanceOfOrganizationCreated;
|
|
17
26
|
function OrganizationCreatedFromJSON(json) {
|
|
18
27
|
return OrganizationCreatedFromJSONTyped(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 { LocalizedString } from './LocalizedString';
|
|
12
|
+
import type { LocalizedString } from './LocalizedString';
|
|
13
13
|
/**
|
|
14
14
|
*
|
|
15
15
|
* @export
|
|
@@ -29,6 +29,10 @@ export interface OrganizationPathElement {
|
|
|
29
29
|
*/
|
|
30
30
|
uuid: string;
|
|
31
31
|
}
|
|
32
|
+
/**
|
|
33
|
+
* Check if a given object implements the OrganizationPathElement interface.
|
|
34
|
+
*/
|
|
35
|
+
export declare function instanceOfOrganizationPathElement(value: object): boolean;
|
|
32
36
|
export declare function OrganizationPathElementFromJSON(json: any): OrganizationPathElement;
|
|
33
37
|
export declare function OrganizationPathElementFromJSONTyped(json: any, ignoreDiscriminator: boolean): OrganizationPathElement;
|
|
34
38
|
export declare function OrganizationPathElementToJSON(value?: OrganizationPathElement | 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.OrganizationPathElementToJSON = exports.OrganizationPathElementFromJSONTyped = exports.OrganizationPathElementFromJSON = void 0;
|
|
16
|
+
exports.OrganizationPathElementToJSON = exports.OrganizationPathElementFromJSONTyped = exports.OrganizationPathElementFromJSON = exports.instanceOfOrganizationPathElement = void 0;
|
|
17
17
|
const LocalizedString_1 = require("./LocalizedString");
|
|
18
|
+
/**
|
|
19
|
+
* Check if a given object implements the OrganizationPathElement interface.
|
|
20
|
+
*/
|
|
21
|
+
function instanceOfOrganizationPathElement(value) {
|
|
22
|
+
let isInstance = true;
|
|
23
|
+
isInstance = isInstance && "name" in value;
|
|
24
|
+
isInstance = isInstance && "uuid" in value;
|
|
25
|
+
return isInstance;
|
|
26
|
+
}
|
|
27
|
+
exports.instanceOfOrganizationPathElement = instanceOfOrganizationPathElement;
|
|
18
28
|
function OrganizationPathElementFromJSON(json) {
|
|
19
29
|
return OrganizationPathElementFromJSONTyped(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 { OrganizationRoleAttributionRole } from './OrganizationRoleAttributionRole';
|
|
13
|
-
import { User } from './User';
|
|
12
|
+
import type { OrganizationRoleAttributionRole } from './OrganizationRoleAttributionRole';
|
|
13
|
+
import type { User } from './User';
|
|
14
14
|
/**
|
|
15
15
|
*
|
|
16
16
|
* @export
|
|
@@ -30,6 +30,10 @@ export interface OrganizationRoleAttribution {
|
|
|
30
30
|
*/
|
|
31
31
|
roles: Array<OrganizationRoleAttributionRole>;
|
|
32
32
|
}
|
|
33
|
+
/**
|
|
34
|
+
* Check if a given object implements the OrganizationRoleAttribution interface.
|
|
35
|
+
*/
|
|
36
|
+
export declare function instanceOfOrganizationRoleAttribution(value: object): boolean;
|
|
33
37
|
export declare function OrganizationRoleAttributionFromJSON(json: any): OrganizationRoleAttribution;
|
|
34
38
|
export declare function OrganizationRoleAttributionFromJSONTyped(json: any, ignoreDiscriminator: boolean): OrganizationRoleAttribution;
|
|
35
39
|
export declare function OrganizationRoleAttributionToJSON(value?: OrganizationRoleAttribution | null): any;
|
|
@@ -13,9 +13,19 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.OrganizationRoleAttributionToJSON = exports.OrganizationRoleAttributionFromJSONTyped = exports.OrganizationRoleAttributionFromJSON = void 0;
|
|
16
|
+
exports.OrganizationRoleAttributionToJSON = exports.OrganizationRoleAttributionFromJSONTyped = exports.OrganizationRoleAttributionFromJSON = exports.instanceOfOrganizationRoleAttribution = void 0;
|
|
17
17
|
const OrganizationRoleAttributionRole_1 = require("./OrganizationRoleAttributionRole");
|
|
18
18
|
const User_1 = require("./User");
|
|
19
|
+
/**
|
|
20
|
+
* Check if a given object implements the OrganizationRoleAttribution interface.
|
|
21
|
+
*/
|
|
22
|
+
function instanceOfOrganizationRoleAttribution(value) {
|
|
23
|
+
let isInstance = true;
|
|
24
|
+
isInstance = isInstance && "user" in value;
|
|
25
|
+
isInstance = isInstance && "roles" in value;
|
|
26
|
+
return isInstance;
|
|
27
|
+
}
|
|
28
|
+
exports.instanceOfOrganizationRoleAttribution = instanceOfOrganizationRoleAttribution;
|
|
19
29
|
function OrganizationRoleAttributionFromJSON(json) {
|
|
20
30
|
return OrganizationRoleAttributionFromJSONTyped(json, false);
|
|
21
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
|
*
|
|
15
15
|
* @export
|
|
@@ -29,6 +29,10 @@ export interface OrganizationRoleAttributionPermission {
|
|
|
29
29
|
*/
|
|
30
30
|
name: LocalizedString;
|
|
31
31
|
}
|
|
32
|
+
/**
|
|
33
|
+
* Check if a given object implements the OrganizationRoleAttributionPermission interface.
|
|
34
|
+
*/
|
|
35
|
+
export declare function instanceOfOrganizationRoleAttributionPermission(value: object): boolean;
|
|
32
36
|
export declare function OrganizationRoleAttributionPermissionFromJSON(json: any): OrganizationRoleAttributionPermission;
|
|
33
37
|
export declare function OrganizationRoleAttributionPermissionFromJSONTyped(json: any, ignoreDiscriminator: boolean): OrganizationRoleAttributionPermission;
|
|
34
38
|
export declare function OrganizationRoleAttributionPermissionToJSON(value?: OrganizationRoleAttributionPermission | null): any;
|