@flashbacktech/flashbackclient 0.2.71 → 0.2.72
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.
|
@@ -23,12 +23,13 @@ export interface CreateUnitRequest {
|
|
|
23
23
|
name: string;
|
|
24
24
|
bucket: string;
|
|
25
25
|
storageType: StorageType;
|
|
26
|
-
key
|
|
27
|
-
secret
|
|
26
|
+
key?: string;
|
|
27
|
+
secret?: string;
|
|
28
28
|
endpoint?: string;
|
|
29
29
|
region?: string;
|
|
30
30
|
workspaceId: string;
|
|
31
31
|
walletAddress?: string;
|
|
32
|
+
apiKeyUuid?: string;
|
|
32
33
|
}
|
|
33
34
|
export interface GetUnitNodeStatsRequest {
|
|
34
35
|
day: Date;
|
|
@@ -138,7 +139,7 @@ export interface StorageBucket {
|
|
|
138
139
|
name: string;
|
|
139
140
|
bucket: string;
|
|
140
141
|
storageType: StorageType;
|
|
141
|
-
key
|
|
142
|
+
key?: string;
|
|
142
143
|
secret?: EncryptedKey;
|
|
143
144
|
endpoint?: string;
|
|
144
145
|
region?: string;
|
|
@@ -148,6 +149,7 @@ export interface StorageBucket {
|
|
|
148
149
|
workspaceId: string;
|
|
149
150
|
walletAddress?: string;
|
|
150
151
|
repos?: StorageRepoBasic[];
|
|
152
|
+
apiKeyId?: string;
|
|
151
153
|
}
|
|
152
154
|
export interface GetUnitsResponse {
|
|
153
155
|
success: boolean;
|
|
@@ -166,10 +168,11 @@ export interface GetRepoKeysResponse {
|
|
|
166
168
|
keys: ApiKey[];
|
|
167
169
|
}
|
|
168
170
|
export interface ValidateUnitRequest {
|
|
169
|
-
key
|
|
170
|
-
secret
|
|
171
|
+
key?: string;
|
|
172
|
+
secret?: string;
|
|
171
173
|
endpoint?: string;
|
|
172
174
|
bucket: string;
|
|
175
|
+
apiKeyUuid?: string;
|
|
173
176
|
}
|
|
174
177
|
export interface ValidateUnitResponse {
|
|
175
178
|
success: boolean;
|
|
@@ -270,6 +273,18 @@ export interface StorageBucketStatusResponse {
|
|
|
270
273
|
bucketId: string;
|
|
271
274
|
nodeStatus: NodeStatusInfo[];
|
|
272
275
|
}
|
|
276
|
+
export interface ProviderApiKeyDTO {
|
|
277
|
+
id: string;
|
|
278
|
+
key: string;
|
|
279
|
+
endpoint?: string;
|
|
280
|
+
region?: string;
|
|
281
|
+
provider: string;
|
|
282
|
+
createdAt: string;
|
|
283
|
+
}
|
|
284
|
+
export interface GetProviderApiKeysResponse {
|
|
285
|
+
success: boolean;
|
|
286
|
+
apiKeys: ProviderApiKeyDTO[];
|
|
287
|
+
}
|
|
273
288
|
export interface GetBucketNodeStatsRequest {
|
|
274
289
|
day: Date;
|
|
275
290
|
}
|