@contrail/entity-types 1.4.0-alpha → 1.4.2
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/docs/.nojekyll +1 -0
- package/docs/assets/highlight.css +64 -0
- package/docs/assets/icons.js +15 -0
- package/docs/assets/icons.svg +1 -0
- package/docs/assets/main.js +59 -0
- package/docs/assets/navigation.js +1 -0
- package/docs/assets/search.js +1 -0
- package/docs/assets/style.css +1414 -0
- package/docs/classes/ApiError.html +14 -0
- package/docs/classes/AssortmentSplit.html +7 -0
- package/docs/classes/ColumnDefinition.html +7 -0
- package/docs/classes/ConditionalValues.html +5 -0
- package/docs/classes/EntitiesClient.html +26 -0
- package/docs/classes/EntitiesClientBatchCreateOptions.html +12 -0
- package/docs/classes/EntitiesClientBatchDeleteOptions.html +13 -0
- package/docs/classes/EntitiesClientBatchUpdateOptions.html +12 -0
- package/docs/classes/EntitiesClientCreateOptions.html +20 -0
- package/docs/classes/EntitiesClientDeleteOptions.html +17 -0
- package/docs/classes/EntitiesClientGetOptions.html +39 -0
- package/docs/classes/EntitiesClientUpdateOptions.html +25 -0
- package/docs/classes/EntityReference.html +7 -0
- package/docs/classes/InvalidPolicyError.html +13 -0
- package/docs/classes/LoaderProcess.html +44 -0
- package/docs/classes/TimeoutError.html +13 -0
- package/docs/classes/ValueToAssortment.html +6 -0
- package/docs/enums/API_VERSION.html +7 -0
- package/docs/enums/AppAccessGrantScope.html +3 -0
- package/docs/enums/AppExtensionType.html +6 -0
- package/docs/enums/AppExtensionUserApps.html +7 -0
- package/docs/enums/AppOrgStatus.html +7 -0
- package/docs/enums/AppVersionStatus.html +8 -0
- package/docs/enums/AssortmentType.html +7 -0
- package/docs/enums/EntityType.html +7 -0
- package/docs/enums/IssueType.html +11 -0
- package/docs/enums/LoadStatus.html +7 -0
- package/docs/enums/LoadType.html +9 -0
- package/docs/enums/LoaderFailureArea.html +7 -0
- package/docs/enums/LogLevel.html +8 -0
- package/docs/enums/NodeRuntime.html +4 -0
- package/docs/enums/PropertyType.html +27 -0
- package/docs/enums/SharedLinkAccessLevel.html +7 -0
- package/docs/enums/SortOrderOptions.html +5 -0
- package/docs/enums/SubscriptionChannel.html +5 -0
- package/docs/enums/SubscriptionType.html +9 -0
- package/docs/enums/UserOrgRole.html +5 -0
- package/docs/enums/WorkspacePrincipalRole.html +5 -0
- package/docs/enums/WorkspaceType.html +5 -0
- package/docs/functions/isValidNodeRuntime.html +2 -0
- package/docs/home-hero.svg +11 -0
- package/docs/index.html +5 -0
- package/docs/interfaces/App.html +26 -0
- package/docs/interfaces/AppAccessGrant.html +15 -0
- package/docs/interfaces/AppApiKey.html +15 -0
- package/docs/interfaces/AppCodePackage.html +16 -0
- package/docs/interfaces/AppExtension.html +20 -0
- package/docs/interfaces/AppExtensionDefinition.html +19 -0
- package/docs/interfaces/AppOrg.html +17 -0
- package/docs/interfaces/AppVersion.html +22 -0
- package/docs/interfaces/Asset.html +25 -0
- package/docs/interfaces/Assortment.html +32 -0
- package/docs/interfaces/AssortmentItem.html +27 -0
- package/docs/interfaces/AssortmentSummary.html +16 -0
- package/docs/interfaces/Color.html +19 -0
- package/docs/interfaces/ColumnIssueDetails.html +6 -0
- package/docs/interfaces/CompositePlansSummary.html +16 -0
- package/docs/interfaces/ConfigProperty.html +6 -0
- package/docs/interfaces/Content.html +29 -0
- package/docs/interfaces/ContentHolderContent.html +12 -0
- package/docs/interfaces/EntityLoadResult.html +10 -0
- package/docs/interfaces/ExternalLink.html +7 -0
- package/docs/interfaces/ExternalLinkExtraAttribute.html +4 -0
- package/docs/interfaces/File.html +20 -0
- package/docs/interfaces/GeneralIssueDetails.html +4 -0
- package/docs/interfaces/Group.html +14 -0
- package/docs/interfaces/GroupPrincipal.html +16 -0
- package/docs/interfaces/Item.html +25 -0
- package/docs/interfaces/LoadResult.html +13 -0
- package/docs/interfaces/LoaderConfiguration.html +16 -0
- package/docs/interfaces/LoaderNumbersSummary.html +14 -0
- package/docs/interfaces/Org.html +13 -0
- package/docs/interfaces/PreprocessingStepStoredResultSummary.html +6 -0
- package/docs/interfaces/ProcessedData.html +9 -0
- package/docs/interfaces/ProcessingIssues.html +4 -0
- package/docs/interfaces/Project.html +11 -0
- package/docs/interfaces/ProjectItem.html +18 -0
- package/docs/interfaces/PropertyTypeMetaData.html +5 -0
- package/docs/interfaces/RowLoadError.html +4 -0
- package/docs/interfaces/SharedLink.html +22 -0
- package/docs/interfaces/SharedLinkPrincipal.html +18 -0
- package/docs/interfaces/SortOption.html +4 -0
- package/docs/interfaces/Subscription.html +18 -0
- package/docs/interfaces/TriggerKeyDefinition.html +6 -0
- package/docs/interfaces/User.html +14 -0
- package/docs/interfaces/UserOrg.html +19 -0
- package/docs/interfaces/Workspace.html +29 -0
- package/docs/interfaces/WorkspacePrincipal.html +21 -0
- package/docs/modules.html +94 -0
- package/docs/types/BatchFetchResponse.html +2 -0
- package/docs/types/SubscriptionMatrix.html +2 -0
- package/docs/variables/BOARD_APP_SUBSCRIBED_TO_CONST.html +2 -0
- package/docs/variables/DEFAULT_API_VERSION.html +2 -0
- package/docs/variables/PLAN_APP_SUBSCRIBED_TO_CONST.html +2 -0
- package/docs/variables/SHOWCASE_APP_SUBSCRIBED_TO_CONST.html +2 -0
- package/lib/app-access-grant.d.ts +15 -15
- package/lib/app-access-grant.js +7 -7
- package/lib/app-api-key.d.ts +15 -15
- package/lib/app-api-key.js +2 -2
- package/lib/app-code-package.d.ts +17 -17
- package/lib/app-code-package.js +2 -2
- package/lib/app-extension-definition.d.ts +34 -34
- package/lib/app-extension-definition.js +18 -18
- package/lib/app-extension.d.ts +23 -23
- package/lib/app-extension.js +2 -2
- package/lib/app-org.d.ts +20 -20
- package/lib/app-org.js +11 -11
- package/lib/app-version.d.ts +57 -57
- package/lib/app-version.js +21 -21
- package/lib/app.d.ts +25 -25
- package/lib/app.js +2 -2
- package/lib/asset.d.ts +16 -16
- package/lib/asset.js +2 -2
- package/lib/assortment-item.d.ts +27 -27
- package/lib/assortment-item.js +2 -2
- package/lib/assortment-summary.d.ts +15 -15
- package/lib/assortment-summary.js +2 -2
- package/lib/assortment.d.ts +39 -39
- package/lib/assortment.js +11 -11
- package/lib/base-managed-entity.d.ts +8 -8
- package/lib/base-managed-entity.js +2 -2
- package/lib/batch-fetch-response.d.ts +11 -11
- package/lib/batch-fetch-response.js +2 -2
- package/lib/client.d.ts +107 -107
- package/lib/client.js +114 -114
- package/lib/color.d.ts +14 -14
- package/lib/color.js +2 -2
- package/lib/composite-plans-summary.d.ts +15 -15
- package/lib/composite-plans-summary.js +2 -2
- package/lib/content-custom-size.d.ts +14 -14
- package/lib/content-custom-size.js +2 -2
- package/lib/content.d.ts +25 -23
- package/lib/content.js +2 -2
- package/lib/contentholder-content.d.ts +5 -5
- package/lib/contentholder-content.js +2 -2
- package/lib/file.d.ts +13 -13
- package/lib/file.js +2 -2
- package/lib/index.d.ts +35 -35
- package/lib/index.js +51 -51
- package/lib/item.d.ts +20 -20
- package/lib/item.js +2 -2
- package/lib/loader.d.ts +182 -182
- package/lib/loader.js +115 -115
- package/lib/log-level.d.ts +8 -8
- package/lib/log-level.js +12 -12
- package/lib/org-managed-entity.d.ts +5 -5
- package/lib/org-managed-entity.js +2 -2
- package/lib/org.d.ts +11 -11
- package/lib/org.js +2 -2
- package/lib/project-configuration.d.ts +39 -39
- package/lib/project-configuration.js +9 -9
- package/lib/project-item.d.ts +9 -9
- package/lib/project-item.js +2 -2
- package/lib/project.d.ts +4 -4
- package/lib/project.js +2 -2
- package/lib/property-type.d.ts +32 -32
- package/lib/property-type.js +31 -31
- package/lib/shared-links.d.ts +46 -46
- package/lib/shared-links.js +11 -11
- package/lib/subscription.d.ts +38 -38
- package/lib/subscription.js +22 -22
- package/lib/type-managed-entity.d.ts +8 -8
- package/lib/type-managed-entity.js +2 -2
- package/lib/user.d.ts +79 -79
- package/lib/user.js +20 -20
- package/lib/workspace-managed-entity.d.ts +5 -5
- package/lib/workspace-managed-entity.js +2 -2
- package/lib/workspace-principal.d.ts +24 -24
- package/lib/workspace-principal.js +9 -9
- package/lib/workspace.d.ts +32 -32
- package/lib/workspace.js +9 -9
- package/package.json +1 -1
package/lib/log-level.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.LogLevel = void 0;
|
|
4
|
-
var LogLevel;
|
|
5
|
-
(function (LogLevel) {
|
|
6
|
-
LogLevel[LogLevel["FATAL"] = 0] = "FATAL";
|
|
7
|
-
LogLevel[LogLevel["ERROR"] = 1] = "ERROR";
|
|
8
|
-
LogLevel[LogLevel["WARN"] = 2] = "WARN";
|
|
9
|
-
LogLevel[LogLevel["INFO"] = 3] = "INFO";
|
|
10
|
-
LogLevel[LogLevel["LOG"] = 4] = "LOG";
|
|
11
|
-
LogLevel[LogLevel["DEBUG"] = 5] = "DEBUG";
|
|
12
|
-
})(LogLevel = exports.LogLevel || (exports.LogLevel = {}));
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.LogLevel = void 0;
|
|
4
|
+
var LogLevel;
|
|
5
|
+
(function (LogLevel) {
|
|
6
|
+
LogLevel[LogLevel["FATAL"] = 0] = "FATAL";
|
|
7
|
+
LogLevel[LogLevel["ERROR"] = 1] = "ERROR";
|
|
8
|
+
LogLevel[LogLevel["WARN"] = 2] = "WARN";
|
|
9
|
+
LogLevel[LogLevel["INFO"] = 3] = "INFO";
|
|
10
|
+
LogLevel[LogLevel["LOG"] = 4] = "LOG";
|
|
11
|
+
LogLevel[LogLevel["DEBUG"] = 5] = "DEBUG";
|
|
12
|
+
})(LogLevel = exports.LogLevel || (exports.LogLevel = {}));
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { BaseManagedEntity } from './base-managed-entity';
|
|
2
|
-
export interface OrgManagedEntity extends BaseManagedEntity {
|
|
3
|
-
orgId?: string;
|
|
4
|
-
orgSlug?: string;
|
|
5
|
-
}
|
|
1
|
+
import { BaseManagedEntity } from './base-managed-entity';
|
|
2
|
+
export interface OrgManagedEntity extends BaseManagedEntity {
|
|
3
|
+
orgId?: string;
|
|
4
|
+
orgSlug?: string;
|
|
5
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
package/lib/org.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { BaseManagedEntity } from './base-managed-entity';
|
|
2
|
-
export interface Org extends BaseManagedEntity {
|
|
3
|
-
id?: string;
|
|
4
|
-
name: string;
|
|
5
|
-
slug: string;
|
|
6
|
-
thumbnail?: string;
|
|
7
|
-
url?: string;
|
|
8
|
-
description?: string;
|
|
9
|
-
createdOn?: Date;
|
|
10
|
-
updatedOn?: Date;
|
|
11
|
-
}
|
|
1
|
+
import { BaseManagedEntity } from './base-managed-entity';
|
|
2
|
+
export interface Org extends BaseManagedEntity {
|
|
3
|
+
id?: string;
|
|
4
|
+
name: string;
|
|
5
|
+
slug: string;
|
|
6
|
+
thumbnail?: string;
|
|
7
|
+
url?: string;
|
|
8
|
+
description?: string;
|
|
9
|
+
createdOn?: Date;
|
|
10
|
+
updatedOn?: Date;
|
|
11
|
+
}
|
package/lib/org.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,39 +1,39 @@
|
|
|
1
|
-
import { OrgManagedEntity } from './org-managed-entity';
|
|
2
|
-
export interface ProjectConfiguration extends OrgManagedEntity {
|
|
3
|
-
projectName: string;
|
|
4
|
-
identifier: string;
|
|
5
|
-
commonConfig: CommonConfiguration;
|
|
6
|
-
principals: string[];
|
|
7
|
-
assortments: AssortmentConfiguration[];
|
|
8
|
-
subFolders: Folder[];
|
|
9
|
-
}
|
|
10
|
-
interface CommonConfiguration {
|
|
11
|
-
[key: string]: any;
|
|
12
|
-
}
|
|
13
|
-
declare enum AssortmentType {
|
|
14
|
-
ASSORTMENT = "ASSORTMENT",
|
|
15
|
-
BOARD = "BOARD",
|
|
16
|
-
PLAN = "PLAN",
|
|
17
|
-
SHOWCASE = "SHOWCASE"
|
|
18
|
-
}
|
|
19
|
-
interface AssortmentConfiguration {
|
|
20
|
-
identifier: string;
|
|
21
|
-
name: string;
|
|
22
|
-
type: AssortmentType;
|
|
23
|
-
sourceAssortmentIdentifier?: string;
|
|
24
|
-
composedFromAssortmentIdentifiers?: string[];
|
|
25
|
-
ownerAtts?: {
|
|
26
|
-
[key: string]: any;
|
|
27
|
-
};
|
|
28
|
-
assortmentAtts?: {
|
|
29
|
-
[key: string]: any;
|
|
30
|
-
};
|
|
31
|
-
}
|
|
32
|
-
interface Folder {
|
|
33
|
-
identifier: string;
|
|
34
|
-
name: string;
|
|
35
|
-
principals: string[];
|
|
36
|
-
assortments: AssortmentConfiguration[];
|
|
37
|
-
subFolders: Folder[];
|
|
38
|
-
}
|
|
39
|
-
export {};
|
|
1
|
+
import { OrgManagedEntity } from './org-managed-entity';
|
|
2
|
+
export interface ProjectConfiguration extends OrgManagedEntity {
|
|
3
|
+
projectName: string;
|
|
4
|
+
identifier: string;
|
|
5
|
+
commonConfig: CommonConfiguration;
|
|
6
|
+
principals: string[];
|
|
7
|
+
assortments: AssortmentConfiguration[];
|
|
8
|
+
subFolders: Folder[];
|
|
9
|
+
}
|
|
10
|
+
interface CommonConfiguration {
|
|
11
|
+
[key: string]: any;
|
|
12
|
+
}
|
|
13
|
+
declare enum AssortmentType {
|
|
14
|
+
ASSORTMENT = "ASSORTMENT",
|
|
15
|
+
BOARD = "BOARD",
|
|
16
|
+
PLAN = "PLAN",
|
|
17
|
+
SHOWCASE = "SHOWCASE"
|
|
18
|
+
}
|
|
19
|
+
interface AssortmentConfiguration {
|
|
20
|
+
identifier: string;
|
|
21
|
+
name: string;
|
|
22
|
+
type: AssortmentType;
|
|
23
|
+
sourceAssortmentIdentifier?: string;
|
|
24
|
+
composedFromAssortmentIdentifiers?: string[];
|
|
25
|
+
ownerAtts?: {
|
|
26
|
+
[key: string]: any;
|
|
27
|
+
};
|
|
28
|
+
assortmentAtts?: {
|
|
29
|
+
[key: string]: any;
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
interface Folder {
|
|
33
|
+
identifier: string;
|
|
34
|
+
name: string;
|
|
35
|
+
principals: string[];
|
|
36
|
+
assortments: AssortmentConfiguration[];
|
|
37
|
+
subFolders: Folder[];
|
|
38
|
+
}
|
|
39
|
+
export {};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
var AssortmentType;
|
|
4
|
-
(function (AssortmentType) {
|
|
5
|
-
AssortmentType["ASSORTMENT"] = "ASSORTMENT";
|
|
6
|
-
AssortmentType["BOARD"] = "BOARD";
|
|
7
|
-
AssortmentType["PLAN"] = "PLAN";
|
|
8
|
-
AssortmentType["SHOWCASE"] = "SHOWCASE";
|
|
9
|
-
})(AssortmentType || (AssortmentType = {}));
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
var AssortmentType;
|
|
4
|
+
(function (AssortmentType) {
|
|
5
|
+
AssortmentType["ASSORTMENT"] = "ASSORTMENT";
|
|
6
|
+
AssortmentType["BOARD"] = "BOARD";
|
|
7
|
+
AssortmentType["PLAN"] = "PLAN";
|
|
8
|
+
AssortmentType["SHOWCASE"] = "SHOWCASE";
|
|
9
|
+
})(AssortmentType || (AssortmentType = {}));
|
package/lib/project-item.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { TypeManagedEntity } from './type-managed-entity';
|
|
2
|
-
import { Project } from './project';
|
|
3
|
-
export interface ProjectItem extends TypeManagedEntity {
|
|
4
|
-
projectId?: string;
|
|
5
|
-
project?: Project;
|
|
6
|
-
itemId?: string;
|
|
7
|
-
item?: any;
|
|
8
|
-
roles?: Array<string>;
|
|
9
|
-
}
|
|
1
|
+
import { TypeManagedEntity } from './type-managed-entity';
|
|
2
|
+
import { Project } from './project';
|
|
3
|
+
export interface ProjectItem extends TypeManagedEntity {
|
|
4
|
+
projectId?: string;
|
|
5
|
+
project?: Project;
|
|
6
|
+
itemId?: string;
|
|
7
|
+
item?: any;
|
|
8
|
+
roles?: Array<string>;
|
|
9
|
+
}
|
package/lib/project-item.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
package/lib/project.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { OrgManagedEntity } from './org-managed-entity';
|
|
2
|
-
export interface Project extends OrgManagedEntity {
|
|
3
|
-
name: string;
|
|
4
|
-
}
|
|
1
|
+
import { OrgManagedEntity } from './org-managed-entity';
|
|
2
|
+
export interface Project extends OrgManagedEntity {
|
|
3
|
+
name: string;
|
|
4
|
+
}
|
package/lib/project.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
package/lib/property-type.d.ts
CHANGED
|
@@ -1,32 +1,32 @@
|
|
|
1
|
-
export declare enum PropertyType {
|
|
2
|
-
Boolean = "boolean",
|
|
3
|
-
CascadingSelect = "cascading_select",
|
|
4
|
-
Composite = "composite",
|
|
5
|
-
Constant = "constant",
|
|
6
|
-
Currency = "currency",
|
|
7
|
-
DataGrid = "data_grid",
|
|
8
|
-
Date = "date",
|
|
9
|
-
Formula = "formula",
|
|
10
|
-
Image = "image",
|
|
11
|
-
Json = "json",
|
|
12
|
-
MultiSelect = "multi_select",
|
|
13
|
-
Number = "number",
|
|
14
|
-
ObjectReference = "object_reference",
|
|
15
|
-
ObjectReferenceList = "object_ref_list",
|
|
16
|
-
Password = "password",
|
|
17
|
-
Percent = "percent",
|
|
18
|
-
Rating = "rating",
|
|
19
|
-
Sequence = "sequence",
|
|
20
|
-
SingleSelect = "choice",
|
|
21
|
-
SizeRange = "size_range",
|
|
22
|
-
String = "string",
|
|
23
|
-
Text = "text",
|
|
24
|
-
TypeReference = "type_reference",
|
|
25
|
-
Url = "url",
|
|
26
|
-
UserList = "userList"
|
|
27
|
-
}
|
|
28
|
-
export interface PropertyTypeMetaData {
|
|
29
|
-
label: string;
|
|
30
|
-
propertyType: PropertyType;
|
|
31
|
-
createable?: boolean;
|
|
32
|
-
}
|
|
1
|
+
export declare enum PropertyType {
|
|
2
|
+
Boolean = "boolean",
|
|
3
|
+
CascadingSelect = "cascading_select",
|
|
4
|
+
Composite = "composite",
|
|
5
|
+
Constant = "constant",
|
|
6
|
+
Currency = "currency",
|
|
7
|
+
DataGrid = "data_grid",
|
|
8
|
+
Date = "date",
|
|
9
|
+
Formula = "formula",
|
|
10
|
+
Image = "image",
|
|
11
|
+
Json = "json",
|
|
12
|
+
MultiSelect = "multi_select",
|
|
13
|
+
Number = "number",
|
|
14
|
+
ObjectReference = "object_reference",
|
|
15
|
+
ObjectReferenceList = "object_ref_list",
|
|
16
|
+
Password = "password",
|
|
17
|
+
Percent = "percent",
|
|
18
|
+
Rating = "rating",
|
|
19
|
+
Sequence = "sequence",
|
|
20
|
+
SingleSelect = "choice",
|
|
21
|
+
SizeRange = "size_range",
|
|
22
|
+
String = "string",
|
|
23
|
+
Text = "text",
|
|
24
|
+
TypeReference = "type_reference",
|
|
25
|
+
Url = "url",
|
|
26
|
+
UserList = "userList"
|
|
27
|
+
}
|
|
28
|
+
export interface PropertyTypeMetaData {
|
|
29
|
+
label: string;
|
|
30
|
+
propertyType: PropertyType;
|
|
31
|
+
createable?: boolean;
|
|
32
|
+
}
|
package/lib/property-type.js
CHANGED
|
@@ -1,31 +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["Boolean"] = "boolean";
|
|
7
|
-
PropertyType["CascadingSelect"] = "cascading_select";
|
|
8
|
-
PropertyType["Composite"] = "composite";
|
|
9
|
-
PropertyType["Constant"] = "constant";
|
|
10
|
-
PropertyType["Currency"] = "currency";
|
|
11
|
-
PropertyType["DataGrid"] = "data_grid";
|
|
12
|
-
PropertyType["Date"] = "date";
|
|
13
|
-
PropertyType["Formula"] = "formula";
|
|
14
|
-
PropertyType["Image"] = "image";
|
|
15
|
-
PropertyType["Json"] = "json";
|
|
16
|
-
PropertyType["MultiSelect"] = "multi_select";
|
|
17
|
-
PropertyType["Number"] = "number";
|
|
18
|
-
PropertyType["ObjectReference"] = "object_reference";
|
|
19
|
-
PropertyType["ObjectReferenceList"] = "object_ref_list";
|
|
20
|
-
PropertyType["Password"] = "password";
|
|
21
|
-
PropertyType["Percent"] = "percent";
|
|
22
|
-
PropertyType["Rating"] = "rating";
|
|
23
|
-
PropertyType["Sequence"] = "sequence";
|
|
24
|
-
PropertyType["SingleSelect"] = "choice";
|
|
25
|
-
PropertyType["SizeRange"] = "size_range";
|
|
26
|
-
PropertyType["String"] = "string";
|
|
27
|
-
PropertyType["Text"] = "text";
|
|
28
|
-
PropertyType["TypeReference"] = "type_reference";
|
|
29
|
-
PropertyType["Url"] = "url";
|
|
30
|
-
PropertyType["UserList"] = "userList";
|
|
31
|
-
})(PropertyType = exports.PropertyType || (exports.PropertyType = {}));
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PropertyType = void 0;
|
|
4
|
+
var PropertyType;
|
|
5
|
+
(function (PropertyType) {
|
|
6
|
+
PropertyType["Boolean"] = "boolean";
|
|
7
|
+
PropertyType["CascadingSelect"] = "cascading_select";
|
|
8
|
+
PropertyType["Composite"] = "composite";
|
|
9
|
+
PropertyType["Constant"] = "constant";
|
|
10
|
+
PropertyType["Currency"] = "currency";
|
|
11
|
+
PropertyType["DataGrid"] = "data_grid";
|
|
12
|
+
PropertyType["Date"] = "date";
|
|
13
|
+
PropertyType["Formula"] = "formula";
|
|
14
|
+
PropertyType["Image"] = "image";
|
|
15
|
+
PropertyType["Json"] = "json";
|
|
16
|
+
PropertyType["MultiSelect"] = "multi_select";
|
|
17
|
+
PropertyType["Number"] = "number";
|
|
18
|
+
PropertyType["ObjectReference"] = "object_reference";
|
|
19
|
+
PropertyType["ObjectReferenceList"] = "object_ref_list";
|
|
20
|
+
PropertyType["Password"] = "password";
|
|
21
|
+
PropertyType["Percent"] = "percent";
|
|
22
|
+
PropertyType["Rating"] = "rating";
|
|
23
|
+
PropertyType["Sequence"] = "sequence";
|
|
24
|
+
PropertyType["SingleSelect"] = "choice";
|
|
25
|
+
PropertyType["SizeRange"] = "size_range";
|
|
26
|
+
PropertyType["String"] = "string";
|
|
27
|
+
PropertyType["Text"] = "text";
|
|
28
|
+
PropertyType["TypeReference"] = "type_reference";
|
|
29
|
+
PropertyType["Url"] = "url";
|
|
30
|
+
PropertyType["UserList"] = "userList";
|
|
31
|
+
})(PropertyType = exports.PropertyType || (exports.PropertyType = {}));
|
package/lib/shared-links.d.ts
CHANGED
|
@@ -1,46 +1,46 @@
|
|
|
1
|
-
import { OrgManagedEntity } from './org-managed-entity';
|
|
2
|
-
import { Group, User } from './user';
|
|
3
|
-
export declare enum SharedLinkAccessLevel {
|
|
4
|
-
RESTRICTED = "RESTRICTED",
|
|
5
|
-
VIEW = "VIEW",
|
|
6
|
-
COMMENT = "COMMENT",
|
|
7
|
-
EDIT = "EDIT",
|
|
8
|
-
MANAGE = "MANAGE"
|
|
9
|
-
}
|
|
10
|
-
export interface SharedLinkPrincipal extends OrgManagedEntity {
|
|
11
|
-
id: string;
|
|
12
|
-
createdOn?: Date;
|
|
13
|
-
updatedOn?: Date;
|
|
14
|
-
createdBy?: string;
|
|
15
|
-
updatedBy?: string;
|
|
16
|
-
createdById?: string;
|
|
17
|
-
updatedById?: string;
|
|
18
|
-
orgId?: string;
|
|
19
|
-
orgSlug?: string;
|
|
20
|
-
userEmail?: string;
|
|
21
|
-
principalReference: string;
|
|
22
|
-
principal?: User | Group;
|
|
23
|
-
sharedLinkId: string;
|
|
24
|
-
expiresOn?: string;
|
|
25
|
-
accessLevel?: SharedLinkAccessLevel;
|
|
26
|
-
}
|
|
27
|
-
export interface SharedLink extends OrgManagedEntity {
|
|
28
|
-
id: string;
|
|
29
|
-
createdOn?: Date;
|
|
30
|
-
updatedOn?: Date;
|
|
31
|
-
createdBy?: string;
|
|
32
|
-
updatedBy?: string;
|
|
33
|
-
createdById?: string;
|
|
34
|
-
updatedById?: string;
|
|
35
|
-
orgId?: string;
|
|
36
|
-
orgSlug?: string;
|
|
37
|
-
shareType?: string;
|
|
38
|
-
contextType: string;
|
|
39
|
-
contextId: string;
|
|
40
|
-
contextReference?: string;
|
|
41
|
-
expiresOn?: Date;
|
|
42
|
-
deactivated?: boolean;
|
|
43
|
-
accessLevel?: SharedLinkAccessLevel;
|
|
44
|
-
sharedLinkPrincipals?: SharedLinkPrincipal[];
|
|
45
|
-
currentUserAccessLevel?: SharedLinkAccessLevel;
|
|
46
|
-
}
|
|
1
|
+
import { OrgManagedEntity } from './org-managed-entity';
|
|
2
|
+
import { Group, User } from './user';
|
|
3
|
+
export declare enum SharedLinkAccessLevel {
|
|
4
|
+
RESTRICTED = "RESTRICTED",
|
|
5
|
+
VIEW = "VIEW",
|
|
6
|
+
COMMENT = "COMMENT",
|
|
7
|
+
EDIT = "EDIT",
|
|
8
|
+
MANAGE = "MANAGE"
|
|
9
|
+
}
|
|
10
|
+
export interface SharedLinkPrincipal extends OrgManagedEntity {
|
|
11
|
+
id: string;
|
|
12
|
+
createdOn?: Date;
|
|
13
|
+
updatedOn?: Date;
|
|
14
|
+
createdBy?: string;
|
|
15
|
+
updatedBy?: string;
|
|
16
|
+
createdById?: string;
|
|
17
|
+
updatedById?: string;
|
|
18
|
+
orgId?: string;
|
|
19
|
+
orgSlug?: string;
|
|
20
|
+
userEmail?: string;
|
|
21
|
+
principalReference: string;
|
|
22
|
+
principal?: User | Group;
|
|
23
|
+
sharedLinkId: string;
|
|
24
|
+
expiresOn?: string;
|
|
25
|
+
accessLevel?: SharedLinkAccessLevel;
|
|
26
|
+
}
|
|
27
|
+
export interface SharedLink extends OrgManagedEntity {
|
|
28
|
+
id: string;
|
|
29
|
+
createdOn?: Date;
|
|
30
|
+
updatedOn?: Date;
|
|
31
|
+
createdBy?: string;
|
|
32
|
+
updatedBy?: string;
|
|
33
|
+
createdById?: string;
|
|
34
|
+
updatedById?: string;
|
|
35
|
+
orgId?: string;
|
|
36
|
+
orgSlug?: string;
|
|
37
|
+
shareType?: string;
|
|
38
|
+
contextType: string;
|
|
39
|
+
contextId: string;
|
|
40
|
+
contextReference?: string;
|
|
41
|
+
expiresOn?: Date;
|
|
42
|
+
deactivated?: boolean;
|
|
43
|
+
accessLevel?: SharedLinkAccessLevel;
|
|
44
|
+
sharedLinkPrincipals?: SharedLinkPrincipal[];
|
|
45
|
+
currentUserAccessLevel?: SharedLinkAccessLevel;
|
|
46
|
+
}
|
package/lib/shared-links.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.SharedLinkAccessLevel = void 0;
|
|
4
|
-
var SharedLinkAccessLevel;
|
|
5
|
-
(function (SharedLinkAccessLevel) {
|
|
6
|
-
SharedLinkAccessLevel["RESTRICTED"] = "RESTRICTED";
|
|
7
|
-
SharedLinkAccessLevel["VIEW"] = "VIEW";
|
|
8
|
-
SharedLinkAccessLevel["COMMENT"] = "COMMENT";
|
|
9
|
-
SharedLinkAccessLevel["EDIT"] = "EDIT";
|
|
10
|
-
SharedLinkAccessLevel["MANAGE"] = "MANAGE";
|
|
11
|
-
})(SharedLinkAccessLevel = exports.SharedLinkAccessLevel || (exports.SharedLinkAccessLevel = {}));
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SharedLinkAccessLevel = void 0;
|
|
4
|
+
var SharedLinkAccessLevel;
|
|
5
|
+
(function (SharedLinkAccessLevel) {
|
|
6
|
+
SharedLinkAccessLevel["RESTRICTED"] = "RESTRICTED";
|
|
7
|
+
SharedLinkAccessLevel["VIEW"] = "VIEW";
|
|
8
|
+
SharedLinkAccessLevel["COMMENT"] = "COMMENT";
|
|
9
|
+
SharedLinkAccessLevel["EDIT"] = "EDIT";
|
|
10
|
+
SharedLinkAccessLevel["MANAGE"] = "MANAGE";
|
|
11
|
+
})(SharedLinkAccessLevel = exports.SharedLinkAccessLevel || (exports.SharedLinkAccessLevel = {}));
|
package/lib/subscription.d.ts
CHANGED
|
@@ -1,38 +1,38 @@
|
|
|
1
|
-
import { OrgManagedEntity } from './org-managed-entity';
|
|
2
|
-
import { Group, User } from './user';
|
|
3
|
-
export declare enum SubscriptionType {
|
|
4
|
-
COMMENT_ON_OWNED = "COMMENT_ON_OWNED",
|
|
5
|
-
COMMENT = "COMMENT",
|
|
6
|
-
MENTION = "MENTION",
|
|
7
|
-
REPLY = "REPLY",
|
|
8
|
-
FAILURE = "FAILURE",
|
|
9
|
-
DELETE = "DELETE",
|
|
10
|
-
SUCCESS = "SUCCESS"
|
|
11
|
-
}
|
|
12
|
-
export declare enum SubscriptionChannel {
|
|
13
|
-
SLACK = "SLACK",
|
|
14
|
-
EMAIL = "EMAIL",
|
|
15
|
-
TEAMS = "TEAMS"
|
|
16
|
-
}
|
|
17
|
-
export declare const SHOWCASE_APP_SUBSCRIBED_TO_CONST = "showcase-app";
|
|
18
|
-
export declare const PLAN_APP_SUBSCRIBED_TO_CONST = "plan-app";
|
|
19
|
-
export declare const BOARD_APP_SUBSCRIBED_TO_CONST = "board-app";
|
|
20
|
-
export type SubscriptionMatrix = {
|
|
21
|
-
[key in SubscriptionType]?: SubscriptionChannel[];
|
|
22
|
-
};
|
|
23
|
-
export interface Subscription extends OrgManagedEntity {
|
|
24
|
-
id: string;
|
|
25
|
-
name?: string;
|
|
26
|
-
createdOn?: Date;
|
|
27
|
-
updatedOn?: Date;
|
|
28
|
-
createdById?: string;
|
|
29
|
-
updatedById?: string;
|
|
30
|
-
createdBy?: any;
|
|
31
|
-
updatedBy?: any;
|
|
32
|
-
orgId?: string;
|
|
33
|
-
subscriberRef: string;
|
|
34
|
-
subscriber?: Group | User;
|
|
35
|
-
subscribedToRef: string;
|
|
36
|
-
subscribedTo?: any;
|
|
37
|
-
subscriptionMatrix: SubscriptionMatrix;
|
|
38
|
-
}
|
|
1
|
+
import { OrgManagedEntity } from './org-managed-entity';
|
|
2
|
+
import { Group, User } from './user';
|
|
3
|
+
export declare enum SubscriptionType {
|
|
4
|
+
COMMENT_ON_OWNED = "COMMENT_ON_OWNED",
|
|
5
|
+
COMMENT = "COMMENT",
|
|
6
|
+
MENTION = "MENTION",
|
|
7
|
+
REPLY = "REPLY",
|
|
8
|
+
FAILURE = "FAILURE",
|
|
9
|
+
DELETE = "DELETE",
|
|
10
|
+
SUCCESS = "SUCCESS"
|
|
11
|
+
}
|
|
12
|
+
export declare enum SubscriptionChannel {
|
|
13
|
+
SLACK = "SLACK",
|
|
14
|
+
EMAIL = "EMAIL",
|
|
15
|
+
TEAMS = "TEAMS"
|
|
16
|
+
}
|
|
17
|
+
export declare const SHOWCASE_APP_SUBSCRIBED_TO_CONST = "showcase-app";
|
|
18
|
+
export declare const PLAN_APP_SUBSCRIBED_TO_CONST = "plan-app";
|
|
19
|
+
export declare const BOARD_APP_SUBSCRIBED_TO_CONST = "board-app";
|
|
20
|
+
export type SubscriptionMatrix = {
|
|
21
|
+
[key in SubscriptionType]?: SubscriptionChannel[];
|
|
22
|
+
};
|
|
23
|
+
export interface Subscription extends OrgManagedEntity {
|
|
24
|
+
id: string;
|
|
25
|
+
name?: string;
|
|
26
|
+
createdOn?: Date;
|
|
27
|
+
updatedOn?: Date;
|
|
28
|
+
createdById?: string;
|
|
29
|
+
updatedById?: string;
|
|
30
|
+
createdBy?: any;
|
|
31
|
+
updatedBy?: any;
|
|
32
|
+
orgId?: string;
|
|
33
|
+
subscriberRef: string;
|
|
34
|
+
subscriber?: Group | User;
|
|
35
|
+
subscribedToRef: string;
|
|
36
|
+
subscribedTo?: any;
|
|
37
|
+
subscriptionMatrix: SubscriptionMatrix;
|
|
38
|
+
}
|
package/lib/subscription.js
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.BOARD_APP_SUBSCRIBED_TO_CONST = exports.PLAN_APP_SUBSCRIBED_TO_CONST = exports.SHOWCASE_APP_SUBSCRIBED_TO_CONST = exports.SubscriptionChannel = exports.SubscriptionType = void 0;
|
|
4
|
-
var SubscriptionType;
|
|
5
|
-
(function (SubscriptionType) {
|
|
6
|
-
SubscriptionType["COMMENT_ON_OWNED"] = "COMMENT_ON_OWNED";
|
|
7
|
-
SubscriptionType["COMMENT"] = "COMMENT";
|
|
8
|
-
SubscriptionType["MENTION"] = "MENTION";
|
|
9
|
-
SubscriptionType["REPLY"] = "REPLY";
|
|
10
|
-
SubscriptionType["FAILURE"] = "FAILURE";
|
|
11
|
-
SubscriptionType["DELETE"] = "DELETE";
|
|
12
|
-
SubscriptionType["SUCCESS"] = "SUCCESS";
|
|
13
|
-
})(SubscriptionType = exports.SubscriptionType || (exports.SubscriptionType = {}));
|
|
14
|
-
var SubscriptionChannel;
|
|
15
|
-
(function (SubscriptionChannel) {
|
|
16
|
-
SubscriptionChannel["SLACK"] = "SLACK";
|
|
17
|
-
SubscriptionChannel["EMAIL"] = "EMAIL";
|
|
18
|
-
SubscriptionChannel["TEAMS"] = "TEAMS";
|
|
19
|
-
})(SubscriptionChannel = exports.SubscriptionChannel || (exports.SubscriptionChannel = {}));
|
|
20
|
-
exports.SHOWCASE_APP_SUBSCRIBED_TO_CONST = 'showcase-app';
|
|
21
|
-
exports.PLAN_APP_SUBSCRIBED_TO_CONST = 'plan-app';
|
|
22
|
-
exports.BOARD_APP_SUBSCRIBED_TO_CONST = 'board-app';
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.BOARD_APP_SUBSCRIBED_TO_CONST = exports.PLAN_APP_SUBSCRIBED_TO_CONST = exports.SHOWCASE_APP_SUBSCRIBED_TO_CONST = exports.SubscriptionChannel = exports.SubscriptionType = void 0;
|
|
4
|
+
var SubscriptionType;
|
|
5
|
+
(function (SubscriptionType) {
|
|
6
|
+
SubscriptionType["COMMENT_ON_OWNED"] = "COMMENT_ON_OWNED";
|
|
7
|
+
SubscriptionType["COMMENT"] = "COMMENT";
|
|
8
|
+
SubscriptionType["MENTION"] = "MENTION";
|
|
9
|
+
SubscriptionType["REPLY"] = "REPLY";
|
|
10
|
+
SubscriptionType["FAILURE"] = "FAILURE";
|
|
11
|
+
SubscriptionType["DELETE"] = "DELETE";
|
|
12
|
+
SubscriptionType["SUCCESS"] = "SUCCESS";
|
|
13
|
+
})(SubscriptionType = exports.SubscriptionType || (exports.SubscriptionType = {}));
|
|
14
|
+
var SubscriptionChannel;
|
|
15
|
+
(function (SubscriptionChannel) {
|
|
16
|
+
SubscriptionChannel["SLACK"] = "SLACK";
|
|
17
|
+
SubscriptionChannel["EMAIL"] = "EMAIL";
|
|
18
|
+
SubscriptionChannel["TEAMS"] = "TEAMS";
|
|
19
|
+
})(SubscriptionChannel = exports.SubscriptionChannel || (exports.SubscriptionChannel = {}));
|
|
20
|
+
exports.SHOWCASE_APP_SUBSCRIBED_TO_CONST = 'showcase-app';
|
|
21
|
+
exports.PLAN_APP_SUBSCRIBED_TO_CONST = 'plan-app';
|
|
22
|
+
exports.BOARD_APP_SUBSCRIBED_TO_CONST = 'board-app';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { OrgManagedEntity } from './org-managed-entity';
|
|
2
|
-
export interface TypeManagedEntity extends OrgManagedEntity {
|
|
3
|
-
typeId?: string;
|
|
4
|
-
atts?: {
|
|
5
|
-
[key: string]: any;
|
|
6
|
-
};
|
|
7
|
-
typePath?: string;
|
|
8
|
-
}
|
|
1
|
+
import { OrgManagedEntity } from './org-managed-entity';
|
|
2
|
+
export interface TypeManagedEntity extends OrgManagedEntity {
|
|
3
|
+
typeId?: string;
|
|
4
|
+
atts?: {
|
|
5
|
+
[key: string]: any;
|
|
6
|
+
};
|
|
7
|
+
typePath?: string;
|
|
8
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|