@flashbacktech/flashbackclient 0.2.7 → 0.2.9

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.
@@ -15,4 +15,5 @@ import * as WorkspaceTypes from './types/workspace';
15
15
  import * as OrganizationTypes from './types/organization';
16
16
  import * as NodeRegistrationTypes from './types/noderegistration';
17
17
  import * as SystemEventTypes from './types/systemEvent';
18
- export { ApiClient, ApiTypes, AuthTypes, StatsTypes, ApiInterfaces, HttpError, BridgeTypes, EmailTypes, QuotaTypes, SubscriptionTypes, DeviceTypes, MFATypes, SettingsTypes, RolesTypes, WorkspaceTypes, OrganizationTypes, NodeRegistrationTypes, SystemEventTypes };
18
+ import * as UserTypes from './types/user';
19
+ export { ApiClient, ApiTypes, AuthTypes, StatsTypes, ApiInterfaces, HttpError, BridgeTypes, EmailTypes, QuotaTypes, SubscriptionTypes, DeviceTypes, MFATypes, SettingsTypes, RolesTypes, WorkspaceTypes, OrganizationTypes, NodeRegistrationTypes, SystemEventTypes, UserTypes };
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.SystemEventTypes = exports.NodeRegistrationTypes = exports.OrganizationTypes = exports.WorkspaceTypes = 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;
36
+ exports.UserTypes = exports.SystemEventTypes = exports.NodeRegistrationTypes = exports.OrganizationTypes = exports.WorkspaceTypes = 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; } });
@@ -69,3 +69,5 @@ const NodeRegistrationTypes = __importStar(require("./types/noderegistration"));
69
69
  exports.NodeRegistrationTypes = NodeRegistrationTypes;
70
70
  const SystemEventTypes = __importStar(require("./types/systemEvent"));
71
71
  exports.SystemEventTypes = SystemEventTypes;
72
+ const UserTypes = __importStar(require("./types/user"));
73
+ exports.UserTypes = UserTypes;
@@ -119,7 +119,13 @@ export interface EncryptedKey {
119
119
  authTag: string;
120
120
  message: string;
121
121
  }
122
- export interface StorageUnit {
122
+ export interface StorageRepoBasic {
123
+ id: string;
124
+ name: string;
125
+ storageType: StorageType;
126
+ createdAt: string;
127
+ }
128
+ export interface StorageBucket {
123
129
  id: string;
124
130
  name: string;
125
131
  bucket: string;
@@ -132,6 +138,7 @@ export interface StorageUnit {
132
138
  projectId?: string;
133
139
  createdAt: string;
134
140
  workspaceId: string;
141
+ repos?: StorageRepoBasic[];
135
142
  }
136
143
  export interface GetUnitsResponse {
137
144
  success: boolean;
@@ -191,7 +198,7 @@ export interface ValidateBucketRequest extends ValidateUnitRequest {
191
198
  }
192
199
  export interface ValidateBucketResponse extends ValidateUnitResponse {
193
200
  }
194
- export interface StorageBucket extends StorageUnit {
201
+ export interface StorageUnit extends StorageBucket {
195
202
  }
196
203
  export interface GetBucketsResponse {
197
204
  success: boolean;
@@ -0,0 +1,9 @@
1
+ export interface UserUpdateRequest {
2
+ name?: string;
3
+ lastName?: string;
4
+ password?: string;
5
+ }
6
+ export interface UserUpdateResponse {
7
+ success: boolean;
8
+ message: string;
9
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flashbacktech/flashbackclient",
3
- "version": "0.2.7",
3
+ "version": "0.2.9",
4
4
  "type": "commonjs",
5
5
  "publishConfig": {
6
6
  "access": "public"