@contrail/entity-types 1.1.35 → 1.1.37

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.
@@ -0,0 +1,11 @@
1
+ import { App } from './app';
2
+ import { BaseManagedEntity } from './base-managed-entity';
3
+ import { Org } from './org';
4
+ export interface AppAccessGrantInterface extends BaseManagedEntity {
5
+ issuerId: string;
6
+ issuer?: Org;
7
+ recipientId: string;
8
+ recipient?: Org;
9
+ appId: string;
10
+ app?: App;
11
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,11 @@
1
+ import { App } from "./app";
2
+ import { BaseManagedEntity } from "./base-managed-entity";
3
+ import { Org, OrgId } from "./org";
4
+ export interface AppInstallationPermissionGrant extends BaseManagedEntity {
5
+ issuerId: OrgId;
6
+ issue: Org;
7
+ recipientId: OrgId;
8
+ recipient: Org;
9
+ appId: string;
10
+ app: App;
11
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,20 @@
1
+ import { OrgManagedEntity } from "./org-managed-entity";
2
+ import { App } from "./app";
3
+ import { AppVersion } from "./app-version";
4
+ import { AppApiKey } from "./app-api-key";
5
+ export declare enum AppInstallationStatus {
6
+ INSTALLING = "INSTALLING",
7
+ FAILED_INSTALLING = "FAILED_INSTALLING",
8
+ READY = "READY",
9
+ DELETING = "DELETING",
10
+ FAILED_DELETING = "FAILED_DELETING"
11
+ }
12
+ export interface AppInstallation extends OrgManagedEntity {
13
+ status: AppInstallationStatus;
14
+ appId?: string;
15
+ app?: App;
16
+ apiKey?: AppApiKey;
17
+ appVersionId?: string;
18
+ appVersion?: AppVersion;
19
+ appConfig?: any;
20
+ }
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AppInstallationStatus = void 0;
4
+ var AppInstallationStatus;
5
+ (function (AppInstallationStatus) {
6
+ AppInstallationStatus["INSTALLING"] = "INSTALLING";
7
+ AppInstallationStatus["FAILED_INSTALLING"] = "FAILED_INSTALLING";
8
+ AppInstallationStatus["READY"] = "READY";
9
+ AppInstallationStatus["DELETING"] = "DELETING";
10
+ AppInstallationStatus["FAILED_DELETING"] = "FAILED_DELETING";
11
+ })(AppInstallationStatus = exports.AppInstallationStatus || (exports.AppInstallationStatus = {}));
package/lib/index.d.ts CHANGED
@@ -1,3 +1,4 @@
1
+ export * from './app-access-grant';
1
2
  export * from './app-api-key';
2
3
  export * from './app-code-package';
3
4
  export * from './app-org';
package/lib/index.js CHANGED
@@ -14,6 +14,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./app-access-grant"), exports);
17
18
  __exportStar(require("./app-api-key"), exports);
18
19
  __exportStar(require("./app-code-package"), exports);
19
20
  __exportStar(require("./app-org"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@contrail/entity-types",
3
- "version": "1.1.35",
3
+ "version": "1.1.37",
4
4
  "description": "A types library for Vibeiq entities.",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",