@contrail/entity-types
Advanced tools
Comparing version 1.1.37 to 1.1.38
import { App } from './app'; | ||
import { BaseManagedEntity } from './base-managed-entity'; | ||
import { Org } from './org'; | ||
export interface AppAccessGrantInterface extends BaseManagedEntity { | ||
issuerId: string; | ||
export interface AppAccessGrant extends BaseManagedEntity { | ||
issuerReference: string; | ||
issuer?: Org; | ||
recipientId: string; | ||
recipientReference: string; | ||
recipient?: Org; | ||
appId: string; | ||
app?: App; | ||
scope: AppAccessGrantScope; | ||
} | ||
export declare enum AppAccessGrantScope { | ||
INSTALL = "INSTALL" | ||
} |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.AppAccessGrantScope = void 0; | ||
var AppAccessGrantScope; | ||
(function (AppAccessGrantScope) { | ||
AppAccessGrantScope["INSTALL"] = "INSTALL"; | ||
})(AppAccessGrantScope = exports.AppAccessGrantScope || (exports.AppAccessGrantScope = {})); |
@@ -1,6 +0,8 @@ | ||
import { AppCodePackage } from "./app-code-package"; | ||
import { AppOrg } from "./app-org"; | ||
import { AppVersion, ConfigProperty, TriggerKeyDefinition } from "./app-version"; | ||
import { BaseManagedEntity } from "./base-managed-entity"; | ||
import { AppAccessGrant } from './app-access-grant'; | ||
import { AppCodePackage } from './app-code-package'; | ||
import { AppOrg } from './app-org'; | ||
import { AppVersion, ConfigProperty, TriggerKeyDefinition } from './app-version'; | ||
import { BaseManagedEntity } from './base-managed-entity'; | ||
export interface App extends BaseManagedEntity { | ||
ownerReference: string; | ||
name: string; | ||
@@ -16,4 +18,2 @@ identifier: string; | ||
public: boolean; | ||
hidden?: boolean; | ||
privateOrgId?: string; | ||
eventWorkflowTriggerKeyMapping: string; | ||
@@ -26,2 +26,3 @@ configProperties?: ConfigProperty[]; | ||
frameworkVersion?: number; | ||
appAccessGrants?: AppAccessGrant[]; | ||
} |
@@ -6,4 +6,8 @@ import { BaseManagedEntity } from "./base-managed-entity"; | ||
admin = "ADMIN", | ||
member = "MEMBER" | ||
member = "MEMBER", | ||
guest = "GUEST" | ||
} | ||
export declare enum SystemRole { | ||
SYSTEM = "SYSTEM" | ||
} | ||
export interface UserOrg extends OrgManagedEntity { | ||
@@ -10,0 +14,0 @@ id?: string; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.PlatformRole = exports.UserOrgRole = void 0; | ||
exports.PlatformRole = exports.SystemRole = exports.UserOrgRole = void 0; | ||
var UserOrgRole; | ||
@@ -8,3 +8,8 @@ (function (UserOrgRole) { | ||
UserOrgRole["member"] = "MEMBER"; | ||
UserOrgRole["guest"] = "GUEST"; | ||
})(UserOrgRole = exports.UserOrgRole || (exports.UserOrgRole = {})); | ||
var SystemRole; | ||
(function (SystemRole) { | ||
SystemRole["SYSTEM"] = "SYSTEM"; | ||
})(SystemRole = exports.SystemRole || (exports.SystemRole = {})); | ||
var PlatformRole; | ||
@@ -11,0 +16,0 @@ (function (PlatformRole) { |
{ | ||
"name": "@contrail/entity-types", | ||
"version": "1.1.37", | ||
"version": "1.1.38", | ||
"description": "A types library for Vibeiq entities.", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
27673
749
0
58