@contrail/entity-types 1.1.50-1 → 1.1.50-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/lib/client.d.ts CHANGED
@@ -1,3 +1,11 @@
1
+ export declare class InvalidPolicyError extends Error {
2
+ }
3
+ export declare class TimeoutError extends Error {
4
+ }
5
+ export declare class ApiError extends Error {
6
+ details: any;
7
+ constructor(message: any, details: any);
8
+ }
1
9
  export declare abstract class EntityReference {
2
10
  id: string;
3
11
  entityType: string;
package/lib/client.js CHANGED
@@ -1,6 +1,21 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
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;
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 = exports.ApiError = exports.TimeoutError = exports.InvalidPolicyError = void 0;
4
+ class InvalidPolicyError extends Error {
5
+ }
6
+ exports.InvalidPolicyError = InvalidPolicyError;
7
+ class TimeoutError extends Error {
8
+ }
9
+ exports.TimeoutError = TimeoutError;
10
+ class ApiError extends Error {
11
+ details;
12
+ constructor(message, details) {
13
+ super(message);
14
+ this.details = details;
15
+ this.details = details;
16
+ }
17
+ }
18
+ exports.ApiError = ApiError;
4
19
  class EntityReference {
5
20
  id;
6
21
  entityType;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@contrail/entity-types",
3
- "version": "1.1.50-1",
3
+ "version": "1.1.50-2",
4
4
  "description": "A types library for Vibeiq entities.",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",