@flashbacktech/flashbackclient 0.1.83 → 0.1.85

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.
@@ -10,4 +10,5 @@ import * as SubscriptionTypes from './types/subscriptions';
10
10
  import * as DeviceTypes from './types/device';
11
11
  import * as MFATypes from './types/mfa';
12
12
  import * as SettingsTypes from './types/settings';
13
- export { ApiClient, ApiTypes, AuthTypes, StatsTypes, ApiInterfaces, HttpError, BridgeTypes, EmailTypes, QuotaTypes, SubscriptionTypes, DeviceTypes, MFATypes, SettingsTypes };
13
+ import * as RolesTypes from './types/roles';
14
+ export { ApiClient, ApiTypes, AuthTypes, StatsTypes, ApiInterfaces, HttpError, BridgeTypes, EmailTypes, QuotaTypes, SubscriptionTypes, DeviceTypes, MFATypes, SettingsTypes, RolesTypes };
package/dist/api/index.js CHANGED
@@ -33,7 +33,7 @@ var __importStar = (this && this.__importStar) || (function () {
33
33
  };
34
34
  })();
35
35
  Object.defineProperty(exports, "__esModule", { value: true });
36
- exports.SettingsTypes = exports.MFATypes = exports.DeviceTypes = exports.SubscriptionTypes = exports.QuotaTypes = exports.EmailTypes = exports.BridgeTypes = exports.HttpError = exports.ApiInterfaces = exports.StatsTypes = exports.AuthTypes = exports.ApiTypes = exports.ApiClient = void 0;
36
+ exports.RolesTypes = exports.SettingsTypes = exports.MFATypes = exports.DeviceTypes = exports.SubscriptionTypes = exports.QuotaTypes = exports.EmailTypes = exports.BridgeTypes = exports.HttpError = exports.ApiInterfaces = exports.StatsTypes = exports.AuthTypes = exports.ApiTypes = exports.ApiClient = void 0;
37
37
  const client_1 = require("./client");
38
38
  Object.defineProperty(exports, "ApiClient", { enumerable: true, get: function () { return client_1.ApiClient; } });
39
39
  Object.defineProperty(exports, "HttpError", { enumerable: true, get: function () { return client_1.HttpError; } });
@@ -59,3 +59,5 @@ const MFATypes = __importStar(require("./types/mfa"));
59
59
  exports.MFATypes = MFATypes;
60
60
  const SettingsTypes = __importStar(require("./types/settings"));
61
61
  exports.SettingsTypes = SettingsTypes;
62
+ const RolesTypes = __importStar(require("./types/roles"));
63
+ exports.RolesTypes = RolesTypes;
@@ -25,6 +25,7 @@ export interface CreateUnitRequest {
25
25
  secret: string;
26
26
  endpoint?: string;
27
27
  region?: string;
28
+ workspaceId: string;
28
29
  }
29
30
  export interface GetUnitNodeStatsRequest {
30
31
  day: Date;
@@ -64,6 +65,7 @@ export interface CreateRepoRequest {
64
65
  storageType: StorageType;
65
66
  mode: ModeType;
66
67
  repoUnits: RepoUnitInfo[];
68
+ workspaceId: string;
67
69
  }
68
70
  export interface CreateRepoResponse {
69
71
  success: boolean;
@@ -101,6 +103,7 @@ export interface StorageRepo {
101
103
  apiKeys?: ApiKey[];
102
104
  createdAt: string;
103
105
  disabled?: boolean;
106
+ workspaceId: string;
104
107
  }
105
108
  export interface ApiKey {
106
109
  id: string;
@@ -128,6 +131,7 @@ export interface StorageUnit {
128
131
  status?: string;
129
132
  projectId?: string;
130
133
  createdAt: string;
134
+ workspaceId: string;
131
135
  }
132
136
  export interface GetUnitsResponse {
133
137
  success: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flashbacktech/flashbackclient",
3
- "version": "0.1.83",
3
+ "version": "0.1.85",
4
4
  "type": "commonjs",
5
5
  "publishConfig": {
6
6
  "access": "public"