@flashbacktech/flashbackclient 0.1.91 → 0.1.92
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/dist/api/client.d.ts +4 -0
- package/dist/api/client.js +3 -0
- package/package.json +1 -1
package/dist/api/client.d.ts
CHANGED
|
@@ -205,6 +205,10 @@ export declare class ApiClient implements IApiClient {
|
|
|
205
205
|
message: string;
|
|
206
206
|
}>;
|
|
207
207
|
getOrgKeys: (idOrg: string) => Promise<GetOrganizationKeysResponse>;
|
|
208
|
+
deleteOrgKey: (idOrg: string, keyId: string) => Promise<{
|
|
209
|
+
success: boolean;
|
|
210
|
+
message: string;
|
|
211
|
+
}>;
|
|
208
212
|
nodeRegister: (data: RegisterRequest) => Promise<RegisterResponse>;
|
|
209
213
|
nodeUnregister: (data: RegisterRequest) => Promise<RegisterResponse>;
|
|
210
214
|
}
|
package/dist/api/client.js
CHANGED
|
@@ -486,6 +486,9 @@ class ApiClient {
|
|
|
486
486
|
this.getOrgKeys = async (idOrg) => {
|
|
487
487
|
return this.makeRequest(`organization/${idOrg}/key`, 'GET');
|
|
488
488
|
};
|
|
489
|
+
this.deleteOrgKey = async (idOrg, keyId) => {
|
|
490
|
+
return this.makeRequest(`organization/${idOrg}/key/${keyId}`, 'DELETE');
|
|
491
|
+
};
|
|
489
492
|
// Node Registration API calls
|
|
490
493
|
this.nodeRegister = async (data) => {
|
|
491
494
|
return this.makeRequest('register', 'POST', data);
|