@contrail/entity-types 1.1.51-0 → 1.1.52
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/client.d.ts +1 -1
- package/lib/client.js +3 -3
- package/lib/index.d.ts +1 -0
- package/lib/index.js +1 -0
- package/package.json +1 -1
- package/lib/share-links.d.ts +0 -45
- package/lib/share-links.js +0 -11
package/lib/client.d.ts
CHANGED
|
@@ -84,7 +84,7 @@ export declare abstract class EntitiesClientBatchDeleteOptions {
|
|
|
84
84
|
apiVersion?: API_VERSION;
|
|
85
85
|
suffix?: string;
|
|
86
86
|
}
|
|
87
|
-
export declare abstract class
|
|
87
|
+
export declare abstract class EntitiesClient {
|
|
88
88
|
abstract getAllReferences(references: Array<EntityReference>, relations: Array<string>): Promise<Map<string, any>>;
|
|
89
89
|
abstract get(options: EntitiesClientGetOptions): Promise<any | any[]>;
|
|
90
90
|
abstract create(options: EntitiesClientCreateOptions): any;
|
package/lib/client.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.EntitiesClient = exports.EntitiesClientBatchDeleteOptions = exports.EntitiesClientDeleteOptions = exports.EntitiesClientBatchUpdateOptions = exports.EntitiesClientBatchCreateOptions = exports.EntitiesClientCreateOptions = exports.EntitiesClientGetOptions = exports.DEFAULT_API_VERSION = exports.API_VERSION = exports.SortOrderOptions = exports.EntityReference = void 0;
|
|
4
4
|
class EntityReference {
|
|
5
5
|
id;
|
|
6
6
|
entityType;
|
|
@@ -90,6 +90,6 @@ class EntitiesClientBatchDeleteOptions {
|
|
|
90
90
|
suffix;
|
|
91
91
|
}
|
|
92
92
|
exports.EntitiesClientBatchDeleteOptions = EntitiesClientBatchDeleteOptions;
|
|
93
|
-
class
|
|
93
|
+
class EntitiesClient {
|
|
94
94
|
}
|
|
95
|
-
exports.
|
|
95
|
+
exports.EntitiesClient = EntitiesClient;
|
package/lib/index.d.ts
CHANGED
package/lib/index.js
CHANGED
|
@@ -30,6 +30,7 @@ __exportStar(require("./contentholder-content"), exports);
|
|
|
30
30
|
__exportStar(require("./file"), exports);
|
|
31
31
|
__exportStar(require("./item"), exports);
|
|
32
32
|
__exportStar(require("./loader"), exports);
|
|
33
|
+
__exportStar(require("./log-level"), exports);
|
|
33
34
|
__exportStar(require("./org"), exports);
|
|
34
35
|
__exportStar(require("./project-item"), exports);
|
|
35
36
|
__exportStar(require("./project"), exports);
|
package/package.json
CHANGED
package/lib/share-links.d.ts
DELETED
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import { OrgManagedEntity } from "./org-managed-entity";
|
|
2
|
-
export declare enum SharedLinkAccessLevel {
|
|
3
|
-
RESTRICTED = "RESTRICTED",
|
|
4
|
-
VIEW = "VIEW",
|
|
5
|
-
COMMENT = "COMMENT",
|
|
6
|
-
EDIT = "EDIT",
|
|
7
|
-
MANAGE = "MANAGE"
|
|
8
|
-
}
|
|
9
|
-
export interface SharedLinkPrincipal extends OrgManagedEntity {
|
|
10
|
-
id: string;
|
|
11
|
-
createdOn?: Date;
|
|
12
|
-
updatedOn?: Date;
|
|
13
|
-
createdBy?: string;
|
|
14
|
-
updatedBy?: string;
|
|
15
|
-
createdById?: string;
|
|
16
|
-
updatedById?: string;
|
|
17
|
-
orgId?: string;
|
|
18
|
-
orgSlug?: string;
|
|
19
|
-
userEmail?: string;
|
|
20
|
-
principalReference: string;
|
|
21
|
-
principal?: any;
|
|
22
|
-
sharedLinkId: string;
|
|
23
|
-
expiresOn?: string;
|
|
24
|
-
accessLevel?: SharedLinkAccessLevel;
|
|
25
|
-
}
|
|
26
|
-
export interface SharedLink extends OrgManagedEntity {
|
|
27
|
-
id: string;
|
|
28
|
-
createdOn?: Date;
|
|
29
|
-
updatedOn?: Date;
|
|
30
|
-
createdBy?: string;
|
|
31
|
-
updatedBy?: string;
|
|
32
|
-
createdById?: string;
|
|
33
|
-
updatedById?: string;
|
|
34
|
-
orgId?: string;
|
|
35
|
-
orgSlug?: string;
|
|
36
|
-
shareType?: string;
|
|
37
|
-
contextType: string;
|
|
38
|
-
contextId: string;
|
|
39
|
-
contextReference?: string;
|
|
40
|
-
expires?: Date;
|
|
41
|
-
deactivated?: boolean;
|
|
42
|
-
accessLevel?: SharedLinkAccessLevel;
|
|
43
|
-
sharedLinkPrincipals?: SharedLinkPrincipal[];
|
|
44
|
-
currentUserAccessLevel?: SharedLinkAccessLevel;
|
|
45
|
-
}
|
package/lib/share-links.js
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
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 = {}));
|