[PRODENG-211] integrate JS-API with monorepo (part 1) (#9081)

* integrate JS-API with monorepo

* [ci:force] fix token issue

[ci:force] migrate docs folder

[ci:force] clean personal tokens

* [ci:force] gha workflow support

* [ci:force] npm publish target

* fix js-api test linting

* [ci:force] fix test linting, mocks, https scheme

* [ci:force] fix https scheme

* [ci:force] typescript mappings

* [ci:force] update scripts

* lint fixes

* linting fixes

* fix linting

* [ci:force] linting fixes

* linting fixes

* [ci:force] remove js-api upstream and corresponding scripts

* [ci:force] jsdoc fixes

* fix jsdoc linting

* [ci:force] jsdoc fixes

* [ci:force] jsdoc fixes

* jsdoc fixes

* jsdoc fixes

* jsdoc fixes

* [ci:force] fix jsdoc

* [ci:force] reduce code duplication

* replace 'chai' expect with node.js assert

* replace 'chai' expect with node.js assert

* [ci:force] remove chai and chai-spies for js-api testing

* [ci:force] cleanup and fix imports

* [ci:force] fix linting

* [ci:force] fix unit test

* [ci:force] fix sonar linting findings

* [ci:force] switch activiti api models to interfaces (-2.5% reduction of bundle)

* [ci:force] switch activiti api models to interfaces

* [ci:force] switch AGS api models to interfaces

* [ci:force] switch AGS api models to interfaces

* [ci:force] switch search api models to interfaces

* [ci:force] switch content api models to interfaces where applicable
This commit is contained in:
Denys Vuika
2023-11-21 10:27:51 +00:00
committed by GitHub
parent 804fa2ffd4
commit ea2c0ce229
1334 changed files with 82605 additions and 1068 deletions

View File

@@ -0,0 +1,23 @@
/*!
* @license
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
export interface AbstractGroupRepresentation {
externalId?: string;
id?: number;
name?: string;
status?: string;
}

View File

@@ -0,0 +1,26 @@
/*!
* @license
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
export interface AbstractUserRepresentation {
company?: string;
email?: string;
externalId?: string;
firstName?: string;
id?: number;
lastName?: string;
pictureId?: number;
}

View File

@@ -0,0 +1,24 @@
/*!
* @license
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
export interface AccountRepresentation {
authorizationUrl?: string;
authorized?: boolean;
metaDataAllowed?: boolean;
name?: string;
serviceId?: string;
}

View File

@@ -0,0 +1,20 @@
/*!
* @license
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
export interface AddGroupCapabilitiesRepresentation {
capabilities?: string[];
}

View File

@@ -0,0 +1,23 @@
/*!
* @license
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
export interface AlfrescoContentRepresentation {
folder?: boolean;
id?: string;
simpleType?: string;
title?: string;
}

View File

@@ -0,0 +1,41 @@
/*!
* @license
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import { DateAlfresco } from '../../content-custom-api';
export class AlfrescoEndpointRepresentation {
accountUsername?: string;
alfrescoTenantId?: string;
created?: Date;
id?: number;
lastUpdated?: Date;
name?: string;
repositoryUrl?: string;
secret?: string;
shareUrl?: string;
tenantId?: number;
useShareConnector?: boolean;
version?: string;
constructor(input?: Partial<AlfrescoEndpointRepresentation>) {
if (input) {
Object.assign(this, input);
this.created = input.created ? DateAlfresco.parseDate(input.created) : undefined;
this.lastUpdated = input.lastUpdated ? DateAlfresco.parseDate(input.lastUpdated) : undefined;
}
}
}

View File

@@ -0,0 +1,20 @@
/*!
* @license
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
export interface AlfrescoNetworkRepresenation {
id?: string;
}

View File

@@ -0,0 +1,21 @@
/*!
* @license
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
export interface AlfrescoSiteRepresenation {
id?: string;
title?: string;
}

View File

@@ -0,0 +1,35 @@
/*!
* @license
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import { AppModelDefinition } from './appModelDefinition';
import { PublishIdentityInfoRepresentation } from './publishIdentityInfoRepresentation';
export class AppDefinition {
icon?: string;
models?: AppModelDefinition[];
publishIdentityInfo?: PublishIdentityInfoRepresentation[];
theme?: string;
constructor(input?: Partial<AppDefinition>) {
if (input) {
Object.assign(this, input);
if (input.models) {
this.models = input.models.map((item: any) => new AppModelDefinition(item));
}
}
}
}

View File

@@ -0,0 +1,21 @@
/*!
* @license
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
export interface AppDefinitionPublishRepresentation {
comment?: string;
force?: boolean;
}

View File

@@ -0,0 +1,28 @@
/*!
* @license
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
export interface AppDefinitionRepresentation {
defaultAppId?: string;
deploymentId?: string;
description?: string;
icon?: string;
id?: number;
modelId?: number;
name?: string;
tenantId?: number;
theme?: string;
}

View File

@@ -0,0 +1,24 @@
/*!
* @license
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import { AppDefinitionRepresentation } from './appDefinitionRepresentation';
export interface AppDefinitionSaveRepresentation {
appDefinition?: AppDefinitionRepresentation;
force?: boolean;
publish?: boolean;
}

View File

@@ -0,0 +1,28 @@
/*!
* @license
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import { AppDefinitionRepresentation } from './appDefinitionRepresentation';
export interface AppDefinitionUpdateResultRepresentation {
appDefinition?: AppDefinitionRepresentation;
customData?: any;
error?: boolean;
errorDescription?: string;
errorType?: number;
message?: string;
messageKey?: string;
}

View File

@@ -0,0 +1,36 @@
/*!
* @license
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import { AppDefinitionRepresentation } from './appDefinitionRepresentation';
import { DateAlfresco } from '../../content-custom-api';
import { LightUserRepresentation } from './lightUserRepresentation';
export class AppDeploymentRepresentation {
appDefinition?: AppDefinitionRepresentation;
created?: Date;
createdBy?: LightUserRepresentation;
deploymentId?: string;
dmnDeploymentId?: number;
id?: number;
constructor(input?: Partial<AppDeploymentRepresentation>) {
if (input) {
Object.assign(this, input);
this.created = input.created ? DateAlfresco.parseDate(input.created) : undefined;
}
}
}

View File

@@ -0,0 +1,39 @@
/*!
* @license
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import { DateAlfresco } from '../../content-custom-api';
export class AppModelDefinition {
createdBy?: number;
createdByFullName?: string;
description?: string;
id?: number;
lastUpdated?: Date;
lastUpdatedBy?: number;
lastUpdatedByFullName?: string;
modelType?: number;
name?: string;
stencilSetId?: number;
version?: number;
constructor(input?: Partial<AppModelDefinition>) {
if (input) {
Object.assign(this, input);
this.lastUpdated = input.lastUpdated ? DateAlfresco.parseDate(input.lastUpdated) : undefined;
}
}
}

View File

@@ -0,0 +1,21 @@
/*!
* @license
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
export interface AssigneeIdentifierRepresentation {
assignee?: string;
email?: string;
}

View File

@@ -0,0 +1,21 @@
/*!
* @license
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
export interface AuditCalculatedValueRepresentation {
name?: string;
value?: string;
}

View File

@@ -0,0 +1,22 @@
/*!
* @license
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
export interface AuditDecisionExpressionInfoRepresentation {
type?: string;
value?: any;
variable?: string;
}

View File

@@ -0,0 +1,24 @@
/*!
* @license
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import { AuditCalculatedValueRepresentation } from './auditCalculatedValueRepresentation';
import { AuditDecisionRuleInfoRepresentation } from './auditDecisionRuleInfoRepresentation';
export interface AuditDecisionInfoRepresentation {
appliedRules?: AuditDecisionRuleInfoRepresentation[];
calculatedValues?: AuditCalculatedValueRepresentation[];
}

View File

@@ -0,0 +1,23 @@
/*!
* @license
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import { AuditDecisionExpressionInfoRepresentation } from './auditDecisionExpressionInfoRepresentation';
export interface AuditDecisionRuleInfoRepresentation {
expressions?: AuditDecisionExpressionInfoRepresentation[];
title?: string;
}

View File

@@ -0,0 +1,33 @@
/*!
* @license
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import { AuditLogFormDataRepresentation } from './auditLogFormDataRepresentation';
export interface AuditLogEntryRepresentation {
activityId?: string;
activityName?: string;
activityType?: string;
durationInMillis?: number;
endTime?: string;
formData?: AuditLogFormDataRepresentation[];
index?: number;
selectedOutcome?: string;
startTime?: string;
taskAssignee?: string;
taskName?: string;
type?: string;
}

View File

@@ -0,0 +1,22 @@
/*!
* @license
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
export interface AuditLogFormDataRepresentation {
fieldId?: string;
fieldName?: string;
value?: string;
}

View File

@@ -0,0 +1,24 @@
/*!
* @license
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
export interface BoxContent {
folder?: boolean;
id?: string;
mimeType?: string;
simpleType?: string;
title?: string;
}

View File

@@ -0,0 +1,31 @@
/*!
* @license
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import { DateAlfresco } from '../../content-custom-api';
export class BoxUserAccountCredentialsRepresentation {
authenticationURL?: string;
expireDate?: Date;
ownerEmail?: string;
constructor(input?: Partial<BoxUserAccountCredentialsRepresentation>) {
if (input) {
Object.assign(this, input);
this.expireDate = input.expireDate ? DateAlfresco.parseDate(input.expireDate) : undefined;
}
}
}

View File

@@ -0,0 +1,26 @@
/*!
* @license
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
export interface BulkUserUpdateRepresentation {
accountType?: string;
password?: string;
primaryGroupId?: number;
sendNotifications?: boolean;
status?: string;
tenantId?: number;
users?: number[];
}

View File

@@ -0,0 +1,21 @@
/*!
* @license
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
export interface ChangePasswordRepresentation {
newPassword?: string;
oldPassword?: string;
}

View File

@@ -0,0 +1,20 @@
/*!
* @license
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
export interface ChecklistOrderRepresentation {
order?: string[];
}

View File

@@ -0,0 +1,21 @@
/*!
* @license
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
export interface CommentAuditInfo {
author?: string;
message?: string;
}

View File

@@ -0,0 +1,33 @@
/*!
* @license
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import { DateAlfresco } from '../../content-custom-api';
import { LightUserRepresentation } from './lightUserRepresentation';
export class CommentRepresentation {
created?: Date;
createdBy?: LightUserRepresentation;
id?: number;
message?: string;
constructor(input?: Partial<CommentRepresentation>) {
if (input) {
Object.assign(this, input);
this.created = input.created ? DateAlfresco.parseDate(input.created) : undefined;
}
}
}

View File

@@ -0,0 +1,21 @@
/*!
* @license
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
export interface CompleteFormRepresentation {
outcome?: string;
values?: any;
}

View File

@@ -0,0 +1,28 @@
/*!
* @license
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
export interface ConditionRepresentation {
leftFormFieldId?: string;
leftRestResponseId?: string;
nextCondition?: ConditionRepresentation;
nextConditionOperator?: string;
operator?: string;
rightFormFieldId?: string;
rightRestResponseId?: string;
rightType?: string;
rightValue?: any;
}

View File

@@ -0,0 +1,23 @@
/*!
* @license
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
export interface CreateEndpointBasicAuthRepresentation {
name?: string;
password?: string;
tenantId?: number;
username?: string;
}

View File

@@ -0,0 +1,28 @@
/*!
* @license
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import { RestVariable } from './restVariable';
export interface CreateProcessInstanceRepresentation {
businessKey?: string;
name?: string;
outcome?: string;
processDefinitionId?: string;
processDefinitionKey?: string;
values?: any;
variables?: RestVariable[];
}

View File

@@ -0,0 +1,24 @@
/*!
* @license
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
export interface CreateTenantRepresentation {
active?: boolean;
configuration?: string;
domain?: string;
maxUsers?: number;
name?: string;
}

View File

@@ -0,0 +1,23 @@
/*!
* @license
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
export interface DataSourceConfigRepresentation {
driverClass?: string;
jdbcUrl?: string;
password?: string;
username?: string;
}

View File

@@ -0,0 +1,25 @@
/*!
* @license
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import { DataSourceConfigRepresentation } from './dataSourceConfigRepresentation';
export interface DataSourceRepresentation {
config?: DataSourceConfigRepresentation;
id?: number;
name?: string;
tenantId?: number;
}

View File

@@ -0,0 +1,42 @@
/*!
* @license
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import { DateAlfresco } from '../../content-custom-api';
export class DecisionAuditRepresentation {
activityId?: string;
activityName?: string;
auditTrailJson?: string;
created?: Date;
decisionExecutionFailed?: boolean;
decisionKey?: string;
decisionModelJson?: string;
decisionName?: string;
dmnDeploymentId?: number;
executionId?: string;
id?: number;
processDefinitionId?: string;
processInstanceId?: string;
renderedVariables?: any;
constructor(input?: Partial<DecisionAuditRepresentation>) {
if (input) {
Object.assign(this, input);
this.created = input.created ? DateAlfresco.parseDate(input.created) : undefined;
}
}
}

View File

@@ -0,0 +1,40 @@
/*!
* @license
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import { DateAlfresco } from '../../content-custom-api';
export class DecisionTaskRepresentation {
activityId?: string;
activityName?: string;
decisionExecutionEnded?: Date;
decisionExecutionFailed?: boolean;
decisionKey?: string;
decisionName?: string;
dmnDeploymentId?: number;
executionId?: string;
id?: number;
processDefinitionId?: string;
processDefinitionKey?: string;
processInstanceId?: string;
constructor(input?: Partial<DecisionTaskRepresentation>) {
if (input) {
Object.assign(this, input);
this.decisionExecutionEnded = input.decisionExecutionEnded ? DateAlfresco.parseDate(input.decisionExecutionEnded) : undefined;
}
}
}

View File

@@ -0,0 +1,35 @@
/*!
* @license
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import { DateAlfresco } from '../../content-custom-api';
export class EndpointBasicAuthRepresentation {
created?: Date;
id?: number;
lastUpdated?: Date;
name?: string;
tenantId?: number;
username?: string;
constructor(input?: Partial<EndpointBasicAuthRepresentation>) {
if (input) {
Object.assign(this, input);
this.created = input.created ? DateAlfresco.parseDate(input.created) : undefined;
this.lastUpdated = input.lastUpdated ? DateAlfresco.parseDate(input.lastUpdated) : undefined;
}
}
}

View File

@@ -0,0 +1,31 @@
/*!
* @license
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import { EndpointRequestHeaderRepresentation } from './endpointRequestHeaderRepresentation';
export interface EndpointConfigurationRepresentation {
basicAuthId?: number;
basicAuthName?: string;
host?: string;
id?: number;
name?: string;
path?: string;
port?: string;
protocol?: string;
requestHeaders?: EndpointRequestHeaderRepresentation[];
tenantId?: number;
}

View File

@@ -0,0 +1,21 @@
/*!
* @license
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
export interface EndpointRequestHeaderRepresentation {
name?: string;
value?: string;
}

View File

@@ -0,0 +1,21 @@
/*!
* @license
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
export interface EntityAttributeScopeRepresentation {
name?: string;
type?: string;
}

View File

@@ -0,0 +1,25 @@
/*!
* @license
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import { EntityAttributeScopeRepresentation } from './entityAttributeScopeRepresentation';
export interface EntityVariableScopeRepresentation {
attributes?: EntityAttributeScopeRepresentation[];
entityName?: string;
mappedDataModel?: number;
mappedVariableName?: string;
}

View File

@@ -0,0 +1,21 @@
/*!
* @license
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
export interface FieldValueInfo {
type?: string;
value?: string;
}

View File

@@ -0,0 +1,34 @@
/*!
* @license
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
export interface File {
absolute?: boolean;
absoluteFile?: any;
absolutePath?: string;
canonicalFile?: any;
canonicalPath?: string;
directory?: boolean;
file?: boolean;
freeSpace?: number;
hidden?: boolean;
name?: string;
parent?: string;
parentFile?: any;
path?: string;
totalSpace?: number;
usableSpace?: number;
}

View File

@@ -0,0 +1,48 @@
/*!
* @license
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import { FieldValueInfo } from './fieldValueInfo';
import { FormFieldRepresentation } from './formFieldRepresentation';
import { FormJavascriptEventRepresentation } from './formJavascriptEventRepresentation';
import { FormOutcomeRepresentation } from './formOutcomeRepresentation';
import { FormTabRepresentation } from './formTabRepresentation';
import { FormVariableRepresentation } from './formVariableRepresentation';
export interface FormDefinitionRepresentation {
className?: string;
customFieldTemplates?: { [key: string]: string };
customFieldsValueInfo?: { [key: string]: FieldValueInfo };
fields?: FormFieldRepresentation[];
globalDateFormat?: string;
gridsterForm?: boolean;
id?: number;
javascriptEvents?: FormJavascriptEventRepresentation[];
metadata?: { [key: string]: string };
name?: string;
outcomeTarget?: string;
outcomes?: FormOutcomeRepresentation[];
processDefinitionId?: string;
processDefinitionKey?: string;
processDefinitionName?: string;
selectedOutcome?: string;
style?: string;
tabs?: FormTabRepresentation[];
taskDefinitionKey?: string;
taskId?: string;
taskName?: string;
variables?: FormVariableRepresentation[];
}

View File

@@ -0,0 +1,57 @@
/*!
* @license
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import { ConditionRepresentation } from './conditionRepresentation';
import { LayoutRepresentation } from './layoutRepresentation';
import { OptionRepresentation } from './optionRepresentation';
export interface FormFieldRepresentation {
fieldType?: string;
/* Child fields, when `fieldType` is set to `ContainerRepresentation` */
fields?: { [key: string]: Array<FormFieldRepresentation> };
className?: string;
col?: number;
colspan?: number;
dateDisplayFormat?: string;
hasEmptyValue?: boolean;
id?: string;
layout?: LayoutRepresentation;
maxLength?: number;
maxValue?: string;
minLength?: number;
minValue?: string;
name?: string;
optionType?: string;
options?: OptionRepresentation[];
overrideId?: boolean;
params?: any;
placeholder?: string;
readOnly?: boolean;
regexPattern?: string;
required?: boolean;
restIdProperty?: string;
restLabelProperty?: string;
restResponsePath?: string;
restUrl?: string;
row?: number;
sizeX?: number;
sizeY?: number;
tab?: string;
type?: string;
value?: any;
visibilityCondition?: ConditionRepresentation;
}

View File

@@ -0,0 +1,20 @@
/*!
* @license
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
export interface FormIdentifierRepresentation {
formId?: number;
}

View File

@@ -0,0 +1,21 @@
/*!
* @license
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
export interface FormJavascriptEventRepresentation {
event?: string;
javascriptLogic?: string;
}

View File

@@ -0,0 +1,21 @@
/*!
* @license
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
export interface FormOutcomeRepresentation {
id?: string;
name?: string;
}

View File

@@ -0,0 +1,39 @@
/*!
* @license
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import { DateAlfresco } from '../../content-custom-api';
import { FormDefinitionRepresentation } from './formDefinitionRepresentation';
export class FormRepresentation {
description?: string;
formDefinition?: FormDefinitionRepresentation;
id?: number;
lastUpdated?: Date;
lastUpdatedBy?: number;
lastUpdatedByFullName?: string;
name?: string;
referenceId?: number;
stencilSetId?: number;
version?: number;
constructor(input?: Partial<FormRepresentation>) {
if (input) {
Object.assign(this, input);
this.lastUpdated = input.lastUpdated ? DateAlfresco.parseDate(input.lastUpdated) : undefined;
}
}
}

View File

@@ -0,0 +1,35 @@
/*!
* @license
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import { FormRepresentation } from './formRepresentation';
import { ProcessScopeIdentifierRepresentation } from './processScopeIdentifierRepresentation';
export class FormSaveRepresentation {
comment?: string;
formImageBase64?: string;
formRepresentation?: FormRepresentation;
newVersion?: boolean;
processScopeIdentifiers?: ProcessScopeIdentifierRepresentation[];
reusable?: boolean;
constructor(input?: Partial<FormSaveRepresentation>) {
if (input) {
Object.assign(this, input);
this.formRepresentation = input.formRepresentation ? new FormRepresentation(input.formRepresentation) : undefined;
}
}
}

View File

@@ -0,0 +1,28 @@
/*!
* @license
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import { FormFieldRepresentation } from './formFieldRepresentation';
import { FormOutcomeRepresentation } from './formOutcomeRepresentation';
export interface FormScopeRepresentation {
description?: string;
fieldVariables?: FormFieldRepresentation[];
fields?: FormFieldRepresentation[];
id?: number;
name?: string;
outcomes?: FormOutcomeRepresentation[];
}

View File

@@ -0,0 +1,24 @@
/*!
* @license
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import { ConditionRepresentation } from './conditionRepresentation';
export interface FormTabRepresentation {
id?: string;
title?: string;
visibilityCondition?: ConditionRepresentation;
}

View File

@@ -0,0 +1,21 @@
/*!
* @license
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
export interface FormValueRepresentation {
id?: string;
name?: string;
}

View File

@@ -0,0 +1,22 @@
/*!
* @license
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
export interface FormVariableRepresentation {
name?: string;
type?: string;
value?: any;
}

View File

@@ -0,0 +1,20 @@
/*!
* @license
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
export interface GlobalDateFormatRepresentation {
globalDateFormat?: string;
}

View File

@@ -0,0 +1,24 @@
/*!
* @license
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
export interface GoogleDriveContent {
folder?: boolean;
id?: string;
mimeType?: string;
simpleType?: string;
title?: string;
}

View File

@@ -0,0 +1,21 @@
/*!
* @license
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
export interface GroupCapabilityRepresentation {
id?: number;
name?: string;
}

View File

@@ -0,0 +1,51 @@
/*!
* @license
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import { DateAlfresco } from '../../content-custom-api';
import { GroupCapabilityRepresentation } from './groupCapabilityRepresentation';
import { UserRepresentationGroup } from './userRepresentationGroup';
export class GroupRepresentation {
capabilities?: GroupCapabilityRepresentation[];
externalId?: string;
groups?: any[];
id?: number;
lastSyncTimeStamp?: Date;
manager?: UserRepresentationGroup;
name?: string;
parentGroupId?: number;
status?: string;
tenantId?: number;
type?: number;
userCount?: number;
users?: UserRepresentationGroup[];
constructor(input?: Partial<GroupRepresentation>) {
if (input) {
Object.assign(this, input);
if (input.groups) {
this.groups = input.groups.map((item) => new GroupRepresentation(item));
}
this.lastSyncTimeStamp = input.lastSyncTimeStamp ? DateAlfresco.parseDate(input.lastSyncTimeStamp) : undefined;
this.manager = input.manager ? new UserRepresentationGroup(input.manager) : undefined;
if (input.users) {
this.users = input.users.map((item) => new UserRepresentationGroup(item));
}
}
}
}

View File

@@ -0,0 +1,55 @@
/*!
* @license
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import { DateAlfresco } from '../../content-custom-api';
import { QueryVariable } from './queryVariable';
export class HistoricProcessInstanceQueryRepresentation {
excludeSubprocesses?: boolean;
finished?: boolean;
finishedAfter?: Date;
finishedBefore?: Date;
includeProcessVariables?: boolean;
involvedUser?: string;
order?: string;
processBusinessKey?: string;
processDefinitionId?: string;
processDefinitionKey?: string;
processInstanceId?: string;
processInstanceIds?: string[];
size?: number;
sort?: string;
start?: number;
startedAfter?: Date;
startedBefore?: Date;
startedBy?: string;
superProcessInstanceId?: string;
tenantId?: string;
tenantIdLike?: string;
variables?: QueryVariable[];
withoutTenantId?: boolean;
constructor(input?: Partial<HistoricProcessInstanceQueryRepresentation>) {
if (input) {
Object.assign(this, input);
this.finishedAfter = input.finishedAfter ? DateAlfresco.parseDate(input.finishedAfter) : undefined;
this.finishedBefore = input.finishedBefore ? DateAlfresco.parseDate(input.finishedBefore) : undefined;
this.startedAfter = input.startedAfter ? DateAlfresco.parseDate(input.startedAfter) : undefined;
this.startedBefore = input.startedBefore ? DateAlfresco.parseDate(input.startedBefore) : undefined;
}
}
}

View File

@@ -0,0 +1,88 @@
/*!
* @license
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import { DateAlfresco } from '../../content-custom-api';
import { QueryVariable } from './queryVariable';
export class HistoricTaskInstanceQueryRepresentation {
dueDate?: Date;
dueDateAfter?: Date;
dueDateBefore?: Date;
executionId?: string;
finished?: boolean;
includeProcessVariables?: boolean;
includeTaskLocalVariables?: boolean;
order?: string;
parentTaskId?: string;
processBusinessKey?: string;
processBusinessKeyLike?: string;
processDefinitionId?: string;
processDefinitionKey?: string;
processDefinitionKeyLike?: string;
processDefinitionName?: string;
processDefinitionNameLike?: string;
processFinished?: boolean;
processInstanceId?: string;
processVariables?: QueryVariable[];
size?: number;
sort?: string;
start?: number;
taskAssignee?: string;
taskAssigneeLike?: string;
taskCandidateGroup?: string;
taskCompletedAfter?: Date;
taskCompletedBefore?: Date;
taskCompletedOn?: Date;
taskCreatedAfter?: Date;
taskCreatedBefore?: Date;
taskCreatedOn?: Date;
taskDefinitionKey?: string;
taskDefinitionKeyLike?: string;
taskDeleteReason?: string;
taskDeleteReasonLike?: string;
taskDescription?: string;
taskDescriptionLike?: string;
taskId?: string;
taskInvolvedUser?: string;
taskMaxPriority?: number;
taskMinPriority?: number;
taskName?: string;
taskNameLike?: string;
taskOwner?: string;
taskOwnerLike?: string;
taskPriority?: number;
taskVariables?: QueryVariable[];
tenantId?: string;
tenantIdLike?: string;
withoutDueDate?: boolean;
withoutTenantId?: boolean;
constructor(input?: Partial<HistoricTaskInstanceQueryRepresentation>) {
if (input) {
Object.assign(this, input);
this.dueDate = input.dueDate ? DateAlfresco.parseDate(input.dueDate) : undefined;
this.dueDateAfter = input.dueDateAfter ? DateAlfresco.parseDate(input.dueDateAfter) : undefined;
this.dueDateBefore = input.dueDateBefore ? DateAlfresco.parseDate(input.dueDateBefore) : undefined;
this.taskCompletedAfter = input.taskCompletedAfter ? DateAlfresco.parseDate(input.taskCompletedAfter) : undefined;
this.taskCompletedBefore = input.taskCompletedBefore ? DateAlfresco.parseDate(input.taskCompletedBefore) : undefined;
this.taskCompletedOn = input.taskCompletedOn ? DateAlfresco.parseDate(input.taskCompletedOn) : undefined;
this.taskCreatedAfter = input.taskCreatedAfter ? DateAlfresco.parseDate(input.taskCreatedAfter) : undefined;
this.taskCreatedBefore = input.taskCreatedBefore ? DateAlfresco.parseDate(input.taskCreatedBefore) : undefined;
this.taskCreatedOn = input.taskCreatedOn ? DateAlfresco.parseDate(input.taskCreatedOn) : undefined;
}
}
}

View File

@@ -0,0 +1,22 @@
/*!
* @license
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
export interface IdentityLinkRepresentation {
group?: string;
type?: string;
user?: string;
}

View File

@@ -0,0 +1,32 @@
/*!
* @license
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import { DateAlfresco } from '../../content-custom-api';
export class ImageUploadRepresentation {
created?: Date;
id?: number;
name?: string;
userId?: number;
constructor(input?: Partial<ImageUploadRepresentation>) {
if (input) {
Object.assign(this, input);
this.created = input.created ? DateAlfresco.parseDate(input.created) : undefined;
}
}
}

View File

@@ -0,0 +1,164 @@
/*!
* @license
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
export * from './abstractGroupRepresentation';
export * from './abstractUserRepresentation';
export * from './accountRepresentation';
export * from './addGroupCapabilitiesRepresentation';
export * from './alfrescoContentRepresentation';
export * from './alfrescoEndpointRepresentation';
export * from './alfrescoNetworkRepresenation';
export * from './alfrescoSiteRepresenation';
export * from './appDefinition';
export * from './appDefinitionPublishRepresentation';
export * from './appDefinitionRepresentation';
export * from './appDefinitionSaveRepresentation';
export * from './appDefinitionUpdateResultRepresentation';
export * from './appDeploymentRepresentation';
export * from './appModelDefinition';
export * from './assigneeIdentifierRepresentation';
export * from './auditCalculatedValueRepresentation';
export * from './auditDecisionExpressionInfoRepresentation';
export * from './auditDecisionInfoRepresentation';
export * from './auditDecisionRuleInfoRepresentation';
export * from './auditLogEntryRepresentation';
export * from './auditLogFormDataRepresentation';
export * from './boxContent';
export * from './boxUserAccountCredentialsRepresentation';
export * from './bulkUserUpdateRepresentation';
export * from './changePasswordRepresentation';
export * from './checklistOrderRepresentation';
export * from './commentAuditInfo';
export * from './commentRepresentation';
export * from './completeFormRepresentation';
export * from './conditionRepresentation';
export * from './createEndpointBasicAuthRepresentation';
export * from './createProcessInstanceRepresentation';
export * from './createTenantRepresentation';
export * from './dataSourceConfigRepresentation';
export * from './dataSourceRepresentation';
export * from './decisionAuditRepresentation';
export * from './decisionTaskRepresentation';
export * from './endpointBasicAuthRepresentation';
export * from './endpointConfigurationRepresentation';
export * from './endpointRequestHeaderRepresentation';
export * from './entityAttributeScopeRepresentation';
export * from './entityVariableScopeRepresentation';
export * from './fieldValueInfo';
export * from './file';
export * from './formDefinitionRepresentation';
export * from './formFieldRepresentation';
export * from './formIdentifierRepresentation';
export * from './formJavascriptEventRepresentation';
export * from './formOutcomeRepresentation';
export * from './formRepresentation';
export * from './formSaveRepresentation';
export * from './formScopeRepresentation';
export * from './formTabRepresentation';
export * from './formValueRepresentation';
export * from './formVariableRepresentation';
export * from './globalDateFormatRepresentation';
export * from './googleDriveContent';
export * from './groupCapabilityRepresentation';
export * from './groupRepresentation';
export * from './historicProcessInstanceQueryRepresentation';
export * from './historicTaskInstanceQueryRepresentation';
export * from './identityLinkRepresentation';
export * from './imageUploadRepresentation';
export * from './jsonNode';
export * from './layoutRepresentation';
export * from './lightAppRepresentation';
export * from './lightGroupRepresentation';
export * from './lightTenantRepresentation';
export * from './lightUserRepresentation';
export * from './modelRepresentation';
export * from './namedObject';
export * from './objectNode';
export * from './optionRepresentation';
export * from './passwordValidationConstraints';
export * from './processContentRepresentation';
export * from './processDefinitionMetaDataRepresentation';
export * from './processDefinitionRepresentation';
export * from './processInstanceAuditInfoRepresentation';
export * from './processInstanceFilterRepresentation';
export * from './processInstanceFilterRequestRepresentation';
export * from './processInstanceQueryRepresentation';
export * from './processInstanceRepresentation';
export * from './processInstanceVariableRepresentation';
export * from './processScopeIdentifierRepresentation';
export * from './processScopeRepresentation';
export * from './processScopesRequestRepresentation';
export * from './publishIdentityInfoRepresentation';
export * from './queryVariable';
export * from './relatedContentRepresentation';
export * from './relatedProcessTask';
export * from './resetPasswordRepresentation';
export * from './restVariable';
export * from './resultListDataRepresentationAbstractUserRepresentation';
export * from './resultListDataRepresentationAccountRepresentation';
export * from './resultListDataRepresentationAlfrescoContentRepresentation';
export * from './resultListDataRepresentationAlfrescoEndpointRepresentation';
export * from './resultListDataRepresentationAlfrescoNetworkRepresenation';
export * from './resultListDataRepresentationAlfrescoSiteRepresenation';
export * from './resultListDataRepresentationAppDefinitionRepresentation';
export * from './resultListDataRepresentationAppDeploymentRepresentation';
export * from './resultListDataRepresentationBoxContent';
export * from './resultListDataRepresentationCommentRepresentation';
export * from './resultListDataRepresentationDataSourceRepresentation';
export * from './resultListDataRepresentationDecisionAuditRepresentation';
export * from './resultListDataRepresentationDecisionTaskRepresentation';
export * from './resultListDataRepresentationFormRepresentation';
export * from './resultListDataRepresentationGoogleDriveContent';
export * from './resultListDataRepresentationLightGroupRepresentation';
export * from './resultListDataRepresentationLightUserRepresentation';
export * from './resultListDataRepresentationModelRepresentation';
export * from './resultListDataRepresentationProcessContentRepresentation';
export * from './resultListDataRepresentationProcessDefinitionRepresentation';
export * from './resultListDataRepresentationProcessInstanceRepresentation';
export * from './resultListDataRepresentationRelatedContentRepresentation';
export * from './resultListDataRepresentationRuntimeDecisionTableRepresentation';
export * from './resultListDataRepresentationRuntimeFormRepresentation';
export * from './resultListDataRepresentationSubmittedFormRepresentation';
export * from './resultListDataRepresentationTaskRepresentation';
export * from './resultListDataRepresentationUserProcessInstanceFilterRepresentation';
export * from './resultListDataRepresentationUserTaskFilterRepresentation';
export * from './resultListDataRepresentationRelatedProcessTask';
export * from './runtimeAppDefinitionSaveRepresentation';
export * from './runtimeDecisionTableRepresentation';
export * from './runtimeFormRepresentation';
export * from './saveFormRepresentation';
export * from './submittedFormRepresentation';
export * from './syncLogEntryRepresentation';
export * from './systemPropertiesRepresentation';
export * from './taskAuditInfoRepresentation';
export * from './taskFilterRepresentation';
export * from './taskFilterRequestRepresentation';
export * from './taskQueryRepresentation';
export * from './taskRepresentation';
export * from './taskUpdateRepresentation';
export * from './tenantEvent';
export * from './tenantRepresentation';
export * from './userAccountCredentialsRepresentation';
export * from './userActionRepresentation';
export * from './userFilterOrderRepresentation';
export * from './userIdentifierRepresentation';
export * from './userProcessInstanceFilterRepresentation';
export * from './userRepresentation';
export * from './userTaskFilterRepresentation';
export * from './validationErrorRepresentation';
export * from './variableMappingRepresentation';
export * from './variableScopeRepresentation';

View File

@@ -0,0 +1,42 @@
/*!
* @license
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
export interface JsonNode {
array?: boolean;
bigDecimal?: boolean;
bigInteger?: boolean;
binary?: boolean;
// eslint-disable-next-line id-blacklist
boolean?: boolean;
containerNode?: boolean;
double?: boolean;
float?: boolean;
floatingPointNumber?: boolean;
int?: boolean;
integralNumber?: boolean;
long?: boolean;
missingNode?: boolean;
nodeType?: 'ARRAY' | 'BINARY' | 'BOOLEAN' | 'MISSING' | 'NULL' | 'NUMBER' | 'OBJECT' | 'POJO' | 'STRING';
null?: boolean;
// eslint-disable-next-line id-blacklist
number?: boolean;
object?: boolean;
pojo?: boolean;
short?: boolean;
textual?: boolean;
valueNode?: boolean;
}

View File

@@ -0,0 +1,22 @@
/*!
* @license
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
export interface LayoutRepresentation {
colspan?: number;
column?: number;
row?: number;
}

View File

@@ -0,0 +1,24 @@
/*!
* @license
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
export interface LightAppRepresentation {
description?: string;
icon?: string;
id?: number;
name?: string;
theme?: string;
}

View File

@@ -0,0 +1,24 @@
/*!
* @license
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
export interface LightGroupRepresentation {
externalId?: string;
groups?: LightGroupRepresentation[];
id?: number;
name?: string;
status?: string;
}

View File

@@ -0,0 +1,21 @@
/*!
* @license
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
export interface LightTenantRepresentation {
id?: number;
name?: string;
}

View File

@@ -0,0 +1,26 @@
/*!
* @license
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
export interface LightUserRepresentation {
company?: string;
email?: string;
externalId?: string;
firstName?: string;
id?: number;
lastName?: string;
pictureId?: number;
}

View File

@@ -0,0 +1,45 @@
/*!
* @license
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import { DateAlfresco } from '../../content-custom-api';
export class ModelRepresentation {
comment?: string;
createdBy?: number;
createdByFullName?: string;
description?: string;
favorite?: boolean;
id?: number;
lastUpdated?: Date;
lastUpdatedBy?: number;
lastUpdatedByFullName?: string;
latestVersion?: boolean;
modelType?: number;
name?: string;
permission?: string;
referenceId?: number;
stencilSet?: number;
tenantId?: number;
version?: number;
constructor(input?: Partial<ModelRepresentation>) {
if (input) {
Object.assign(this, input);
this.lastUpdated = input.lastUpdated ? DateAlfresco.parseDate(input.lastUpdated) : undefined;
}
}
}

View File

@@ -0,0 +1,21 @@
/*!
* @license
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
export interface NamedObject {
id?: string;
name?: string;
}

View File

@@ -0,0 +1,42 @@
/*!
* @license
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
export interface ObjectNode {
array?: boolean;
bigDecimal?: boolean;
bigInteger?: boolean;
binary?: boolean;
// eslint-disable-next-line id-blacklist
boolean?: boolean;
containerNode?: boolean;
double?: boolean;
float?: boolean;
floatingPointNumber?: boolean;
int?: boolean;
integralNumber?: boolean;
long?: boolean;
missingNode?: boolean;
nodeType?: 'ARRAY' | 'BINARY' | 'BOOLEAN' | 'MISSING' | 'NULL' | 'NUMBER' | 'OBJECT' | 'POJO' | 'STRING';
null?: boolean;
// eslint-disable-next-line id-blacklist
number?: boolean;
object?: boolean;
pojo?: boolean;
short?: boolean;
textual?: boolean;
valueNode?: boolean;
}

View File

@@ -0,0 +1,21 @@
/*!
* @license
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
export interface OptionRepresentation {
id?: string;
name?: string;
}

View File

@@ -0,0 +1,22 @@
/*!
* @license
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
export interface PasswordValidationConstraints {
minLength?: number;
passwordCriteriaMessage?: string;
regularExpression?: string;
}

View File

@@ -0,0 +1,33 @@
/*!
* @license
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import { NamedObject } from './namedObject';
import { RelatedContentRepresentation } from './relatedContentRepresentation';
export class ProcessContentRepresentation {
content?: RelatedContentRepresentation[];
field?: NamedObject;
constructor(input?: Partial<ProcessContentRepresentation>) {
if (input) {
Object.assign(this, input);
if (input.content) {
this.content = input.content.map((item) => new RelatedContentRepresentation(item));
}
}
}
}

View File

@@ -0,0 +1,21 @@
/*!
* @license
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
export interface ProcessDefinitionMetaDataRepresentation {
key?: string;
value?: string;
}

View File

@@ -0,0 +1,31 @@
/*!
* @license
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import { ProcessDefinitionMetaDataRepresentation } from './processDefinitionMetaDataRepresentation';
export interface ProcessDefinitionRepresentation {
category?: string;
deploymentId?: string;
description?: string;
hasStartForm?: boolean;
id?: string;
key?: string;
metaDataValues?: ProcessDefinitionMetaDataRepresentation[];
name?: string;
tenantId?: string;
version?: number;
}

View File

@@ -0,0 +1,32 @@
/*!
* @license
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import { AuditDecisionInfoRepresentation } from './auditDecisionInfoRepresentation';
import { AuditLogEntryRepresentation } from './auditLogEntryRepresentation';
export interface ProcessInstanceAuditInfoRepresentation {
decisionInfo?: AuditDecisionInfoRepresentation;
entries?: AuditLogEntryRepresentation[];
processDefinitionName?: string;
processDefinitionVersion?: string;
processInstanceDurationInMillis?: number;
processInstanceEndTime?: string;
processInstanceId?: string;
processInstanceInitiator?: string;
processInstanceName?: string;
processInstanceStartTime?: string;
}

View File

@@ -0,0 +1,25 @@
/*!
* @license
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
export interface ProcessInstanceFilterRepresentation {
asc?: boolean;
name?: string;
processDefinitionId?: string;
processDefinitionKey?: string;
sort?: string;
state?: string;
}

View File

@@ -0,0 +1,26 @@
/*!
* @license
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import { ProcessInstanceFilterRepresentation } from './processInstanceFilterRepresentation';
export interface ProcessInstanceFilterRequestRepresentation {
appDefinitionId?: number;
filter?: ProcessInstanceFilterRepresentation;
filterId?: number;
page?: number;
size?: number;
}

View File

@@ -0,0 +1,27 @@
/*!
* @license
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
export interface ProcessInstanceQueryRepresentation {
appDefinitionId?: number;
page?: number;
processDefinitionId?: string;
processInstanceId?: string;
size?: number;
sort?: 'created-desc' | 'created-asc' | 'ended-desc' | 'ended-asc';
start?: number;
state?: 'running' | 'completed' | 'all';
}

View File

@@ -0,0 +1,49 @@
/*!
* @license
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import { DateAlfresco } from '../../content-custom-api';
import { LightUserRepresentation } from './lightUserRepresentation';
import { RestVariable } from './restVariable';
export class ProcessInstanceRepresentation {
businessKey?: string;
ended?: Date;
graphicalNotationDefined?: boolean;
id?: string;
name?: string;
processDefinitionCategory?: string;
processDefinitionDeploymentId?: string;
processDefinitionDescription?: string;
processDefinitionId?: string;
processDefinitionKey?: string;
processDefinitionName?: string;
processDefinitionVersion?: number;
startFormDefined?: boolean;
started?: Date;
startedBy?: LightUserRepresentation;
suspended?: boolean;
tenantId?: string;
variables?: RestVariable[];
constructor(input?: Partial<ProcessInstanceRepresentation>) {
if (input) {
Object.assign(this, input);
this.ended = input.ended ? DateAlfresco.parseDate(input.ended) : undefined;
this.started = input.started ? DateAlfresco.parseDate(input.started) : undefined;
}
}
}

View File

@@ -0,0 +1,22 @@
/*!
* @license
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
export interface ProcessInstanceVariableRepresentation {
id?: string;
type?: string;
value?: any;
}

View File

@@ -0,0 +1,21 @@
/*!
* @license
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
export interface ProcessScopeIdentifierRepresentation {
processActivityId?: string;
processModelId?: number;
}

View File

@@ -0,0 +1,40 @@
/*!
* @license
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import { EntityVariableScopeRepresentation } from './entityVariableScopeRepresentation';
import { FormScopeRepresentation } from './formScopeRepresentation';
import { VariableMappingRepresentation } from './variableMappingRepresentation';
import { VariableScopeRepresentation } from './variableScopeRepresentation';
export interface ProcessScopeRepresentation {
activityIds?: string[];
activityIdsByCollapsedSubProcessIdMap?: { [key: string]: string };
activityIdsByDecisionTableIdMap?: { [key: string]: string };
activityIdsByFormIdMap?: { [key: string]: string };
activityIdsWithExcludedSubProcess?: string[];
activitySidsByActivityIdMap?: { [key: string]: string };
customStencilVariables?: { [key: string]: VariableScopeRepresentation };
entityVariables?: { [key: string]: EntityVariableScopeRepresentation };
executionVariables?: { [key: string]: VariableScopeRepresentation };
fieldToVariableMappings?: { [key: string]: VariableScopeRepresentation };
forms?: { [key: string]: FormScopeRepresentation };
metadataVariables?: { [key: string]: VariableScopeRepresentation };
modelId?: number;
processModelType?: number;
responseVariables?: { [key: string]: VariableScopeRepresentation };
reusableFieldMapping?: { [key: string]: VariableMappingRepresentation };
}

View File

@@ -0,0 +1,23 @@
/*!
* @license
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import { ProcessScopeIdentifierRepresentation } from './processScopeIdentifierRepresentation';
export interface ProcessScopesRequestRepresentation {
identifiers?: ProcessScopeIdentifierRepresentation[];
overriddenModel?: string;
}

View File

@@ -0,0 +1,25 @@
/*!
* @license
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import { LightGroupRepresentation } from './lightGroupRepresentation';
import { LightUserRepresentation } from './lightUserRepresentation';
export interface PublishIdentityInfoRepresentation {
group?: LightGroupRepresentation;
person?: LightUserRepresentation;
type?: string;
}

View File

@@ -0,0 +1,34 @@
/*!
* @license
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
export interface QueryVariable {
name?: string;
operation?: string;
type?: string;
value?: any;
variableOperation?:
| 'EQUALS'
| 'NOT_EQUALS'
| 'EQUALS_IGNORE_CASE'
| 'NOT_EQUALS_IGNORE_CASE'
| 'LIKE'
| 'LIKE_IGNORE_CASE'
| 'GREATER_THAN'
| 'GREATER_THAN_OR_EQUALS'
| 'LESS_THAN'
| 'LESS_THAN_OR_EQUALS';
}

View File

@@ -0,0 +1,44 @@
/*!
* @license
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import { DateAlfresco } from '../../content-custom-api';
import { LightUserRepresentation } from './lightUserRepresentation';
export class RelatedContentRepresentation {
contentAvailable?: boolean;
created?: Date;
createdBy?: LightUserRepresentation;
id?: number;
link?: boolean;
linkUrl?: string;
mimeType?: string;
name?: string;
previewStatus?: string;
relatedContent?: boolean;
simpleType?: string;
source?: string;
sourceId?: string;
thumbnailStatus?: string;
contentBlob?: Blob;
constructor(input?: Partial<RelatedContentRepresentation>) {
if (input) {
Object.assign(this, input);
this.created = input.created ? DateAlfresco.parseDate(input.created) : undefined;
}
}
}

View File

@@ -0,0 +1,21 @@
/*!
* @license
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
export interface RelatedProcessTask {
processId?: string;
taskId?: string;
}

View File

@@ -0,0 +1,20 @@
/*!
* @license
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
export interface ResetPasswordRepresentation {
email?: string;
}

View File

@@ -0,0 +1,23 @@
/*!
* @license
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
export interface RestVariable {
name?: string;
scope?: string;
type?: string;
value?: any;
}

View File

@@ -0,0 +1,25 @@
/*!
* @license
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import { AbstractUserRepresentation } from './abstractUserRepresentation';
export interface ResultListDataRepresentationAbstractUserRepresentation {
data?: AbstractUserRepresentation[];
size?: number;
start?: number;
total?: number;
}

View File

@@ -0,0 +1,25 @@
/*!
* @license
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import { AccountRepresentation } from './accountRepresentation';
export interface ResultListDataRepresentationAccountRepresentation {
data?: AccountRepresentation[];
size?: number;
start?: number;
total?: number;
}

View File

@@ -0,0 +1,25 @@
/*!
* @license
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import { AlfrescoContentRepresentation } from './alfrescoContentRepresentation';
export interface ResultListDataRepresentationAlfrescoContentRepresentation {
data?: AlfrescoContentRepresentation[];
size?: number;
start?: number;
total?: number;
}

View File

@@ -0,0 +1,35 @@
/*!
* @license
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import { AlfrescoEndpointRepresentation } from './alfrescoEndpointRepresentation';
export class ResultListDataRepresentationAlfrescoEndpointRepresentation {
data?: AlfrescoEndpointRepresentation[];
size?: number;
start?: number;
total?: number;
constructor(input?: Partial<ResultListDataRepresentationAlfrescoEndpointRepresentation>) {
if (input) {
Object.assign(this, input);
if (input.data) {
this.data = input.data.map((item) => new AlfrescoEndpointRepresentation(item));
}
}
}
}

View File

@@ -0,0 +1,25 @@
/*!
* @license
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import { AlfrescoNetworkRepresenation } from './alfrescoNetworkRepresenation';
export interface ResultListDataRepresentationAlfrescoNetworkRepresenation {
data?: AlfrescoNetworkRepresenation[];
size?: number;
start?: number;
total?: number;
}

View File

@@ -0,0 +1,25 @@
/*!
* @license
* Copyright © 2005-2023 Hyland Software, Inc. and its affiliates. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import { AlfrescoSiteRepresenation } from './alfrescoSiteRepresenation';
export interface ResultListDataRepresentationAlfrescoSiteRepresenation {
data?: AlfrescoSiteRepresenation[];
size?: number;
start?: number;
total?: number;
}

Some files were not shown because too many files have changed in this diff Show More