@contrail/entity-types 1.4.0 → 1.5.0-alpha
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/action-definition-config.d.ts +6 -0
- package/lib/action-definition-config.js +2 -0
- package/lib/content.d.ts +2 -0
- package/lib/event-workflow-action-definition.d.ts +20 -0
- package/lib/event-workflow-action-definition.js +2 -0
- package/lib/event-workflow-process.d.ts +26 -0
- package/lib/event-workflow-process.js +11 -0
- package/lib/event-workflow-task.d.ts +29 -0
- package/lib/event-workflow-task.js +2 -0
- package/lib/type-property.d.ts +32 -0
- package/lib/type-property.js +31 -0
- package/package.json +1 -1
package/lib/content.d.ts
CHANGED
|
@@ -9,6 +9,8 @@ export interface Content extends BaseManagedEntity {
|
|
|
9
9
|
primaryFileUrl?: string;
|
|
10
10
|
largeViewableId?: string;
|
|
11
11
|
largeViewableUrl?: string;
|
|
12
|
+
mediumLargeViewableId?: string;
|
|
13
|
+
mediumLargeViewableUrl?: string;
|
|
12
14
|
mediumViewableId?: string;
|
|
13
15
|
mediumViewableUrl?: string;
|
|
14
16
|
smallViewableId?: string;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { BaseManagedEntity } from "./base-managed-entity";
|
|
2
|
+
import { ConfigProperty } from "./app-version";
|
|
3
|
+
export interface EventWorkflowActionDefinition extends BaseManagedEntity {
|
|
4
|
+
id: string;
|
|
5
|
+
createdOn?: Date;
|
|
6
|
+
updatedOn?: Date;
|
|
7
|
+
createdById?: string;
|
|
8
|
+
updatedById?: string;
|
|
9
|
+
createdBy?: any;
|
|
10
|
+
updatedBy?: any;
|
|
11
|
+
orgId?: string;
|
|
12
|
+
name: string;
|
|
13
|
+
identifier: string;
|
|
14
|
+
internal?: boolean;
|
|
15
|
+
privateOrgId?: string;
|
|
16
|
+
executeFunctionString?: string;
|
|
17
|
+
ownerKey: string;
|
|
18
|
+
configProperties?: ConfigProperty[];
|
|
19
|
+
async?: boolean;
|
|
20
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { OrgManagedEntity } from "./org-managed-entity";
|
|
2
|
+
export declare enum EventWorkflowStatus {
|
|
3
|
+
ACTIVE = "ACTIVE",
|
|
4
|
+
PENDING = "PENDING",
|
|
5
|
+
AWAITING = "AWAITING",
|
|
6
|
+
FAILED = "FAILED",
|
|
7
|
+
COMPLETE = "COMPLETE"
|
|
8
|
+
}
|
|
9
|
+
export interface EventWorkflowProcess extends OrgManagedEntity {
|
|
10
|
+
id: string;
|
|
11
|
+
createdOn?: Date;
|
|
12
|
+
updatedOn?: Date;
|
|
13
|
+
createdById?: string;
|
|
14
|
+
updatedById?: string;
|
|
15
|
+
createdBy?: any;
|
|
16
|
+
updatedBy?: any;
|
|
17
|
+
orgId?: string;
|
|
18
|
+
eventWorkflowTemplateId: string;
|
|
19
|
+
endedOn?: Date;
|
|
20
|
+
status: EventWorkflowStatus;
|
|
21
|
+
subtext?: string;
|
|
22
|
+
triggerEvent: any;
|
|
23
|
+
eventWorkflowTaskIds?: string[];
|
|
24
|
+
taskOutputs: any;
|
|
25
|
+
messageGroupId?: string;
|
|
26
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.EventWorkflowStatus = void 0;
|
|
4
|
+
var EventWorkflowStatus;
|
|
5
|
+
(function (EventWorkflowStatus) {
|
|
6
|
+
EventWorkflowStatus["ACTIVE"] = "ACTIVE";
|
|
7
|
+
EventWorkflowStatus["PENDING"] = "PENDING";
|
|
8
|
+
EventWorkflowStatus["AWAITING"] = "AWAITING";
|
|
9
|
+
EventWorkflowStatus["FAILED"] = "FAILED";
|
|
10
|
+
EventWorkflowStatus["COMPLETE"] = "COMPLETE";
|
|
11
|
+
})(EventWorkflowStatus = exports.EventWorkflowStatus || (exports.EventWorkflowStatus = {}));
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { ActionDefinitionConfig } from "./action-definition-config";
|
|
2
|
+
import { EventWorkflowActionDefinition } from "./event-workflow-action-definition";
|
|
3
|
+
import { EventWorkflowProcess, EventWorkflowStatus } from "./event-workflow-process";
|
|
4
|
+
import { OrgManagedEntity } from "./org-managed-entity";
|
|
5
|
+
export interface EventWorkflowTask extends OrgManagedEntity {
|
|
6
|
+
id: string;
|
|
7
|
+
createdOn?: Date;
|
|
8
|
+
updatedOn?: Date;
|
|
9
|
+
createdById?: string;
|
|
10
|
+
updatedById?: string;
|
|
11
|
+
createdBy?: any;
|
|
12
|
+
updatedBy?: any;
|
|
13
|
+
orgId?: string;
|
|
14
|
+
isAsyncTask?: boolean;
|
|
15
|
+
startedAwaitingOn?: Date;
|
|
16
|
+
subtext?: string;
|
|
17
|
+
eventWorkflowActionDefinitionId?: string;
|
|
18
|
+
eventWorkflowActionDefinition?: EventWorkflowActionDefinition;
|
|
19
|
+
eventWorkflowActionDefinitionConfig?: ActionDefinitionConfig;
|
|
20
|
+
eventWorkflowProcessId?: string;
|
|
21
|
+
eventWorkflowProcess?: EventWorkflowProcess;
|
|
22
|
+
status?: EventWorkflowStatus;
|
|
23
|
+
event?: string;
|
|
24
|
+
taskLogs?: string;
|
|
25
|
+
taskLogsDownloadLink?: string;
|
|
26
|
+
taskActionDurationSeconds?: number;
|
|
27
|
+
supportingAppId?: string;
|
|
28
|
+
output?: any;
|
|
29
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
export declare enum PropertyType {
|
|
2
|
+
Text = "text",
|
|
3
|
+
String = "string",
|
|
4
|
+
Number = "number",
|
|
5
|
+
Date = "date",
|
|
6
|
+
Boolean = "boolean",
|
|
7
|
+
MultiSelect = "multi_select",
|
|
8
|
+
SingleSelect = "choice",
|
|
9
|
+
Url = "url",
|
|
10
|
+
Currency = "currency",
|
|
11
|
+
Percent = "percent",
|
|
12
|
+
Rating = "rating",
|
|
13
|
+
Formula = "formula",
|
|
14
|
+
ObjectReference = "object_reference",
|
|
15
|
+
ObjectReferenceList = "object_ref_list",
|
|
16
|
+
TypeReference = "type_reference",
|
|
17
|
+
DataGrid = "data_grid",
|
|
18
|
+
CascadingSelect = "cascading_select",
|
|
19
|
+
Sequence = "sequence",
|
|
20
|
+
Constant = "constant",
|
|
21
|
+
Composite = "composite",
|
|
22
|
+
UserList = "userList",
|
|
23
|
+
Image = "image",
|
|
24
|
+
Json = "json",
|
|
25
|
+
Password = "password",
|
|
26
|
+
SizeRange = "size_range"
|
|
27
|
+
}
|
|
28
|
+
export interface PropertyTypeMetaData {
|
|
29
|
+
label: string;
|
|
30
|
+
propertyType: PropertyType;
|
|
31
|
+
createable?: boolean;
|
|
32
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PropertyType = void 0;
|
|
4
|
+
var PropertyType;
|
|
5
|
+
(function (PropertyType) {
|
|
6
|
+
PropertyType["Text"] = "text";
|
|
7
|
+
PropertyType["String"] = "string";
|
|
8
|
+
PropertyType["Number"] = "number";
|
|
9
|
+
PropertyType["Date"] = "date";
|
|
10
|
+
PropertyType["Boolean"] = "boolean";
|
|
11
|
+
PropertyType["MultiSelect"] = "multi_select";
|
|
12
|
+
PropertyType["SingleSelect"] = "choice";
|
|
13
|
+
PropertyType["Url"] = "url";
|
|
14
|
+
PropertyType["Currency"] = "currency";
|
|
15
|
+
PropertyType["Percent"] = "percent";
|
|
16
|
+
PropertyType["Rating"] = "rating";
|
|
17
|
+
PropertyType["Formula"] = "formula";
|
|
18
|
+
PropertyType["ObjectReference"] = "object_reference";
|
|
19
|
+
PropertyType["ObjectReferenceList"] = "object_ref_list";
|
|
20
|
+
PropertyType["TypeReference"] = "type_reference";
|
|
21
|
+
PropertyType["DataGrid"] = "data_grid";
|
|
22
|
+
PropertyType["CascadingSelect"] = "cascading_select";
|
|
23
|
+
PropertyType["Sequence"] = "sequence";
|
|
24
|
+
PropertyType["Constant"] = "constant";
|
|
25
|
+
PropertyType["Composite"] = "composite";
|
|
26
|
+
PropertyType["UserList"] = "userList";
|
|
27
|
+
PropertyType["Image"] = "image";
|
|
28
|
+
PropertyType["Json"] = "json";
|
|
29
|
+
PropertyType["Password"] = "password";
|
|
30
|
+
PropertyType["SizeRange"] = "size_range";
|
|
31
|
+
})(PropertyType = exports.PropertyType || (exports.PropertyType = {}));
|