@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.
@@ -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
  }
@@ -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);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flashbacktech/flashbackclient",
3
- "version": "0.1.91",
3
+ "version": "0.1.92",
4
4
  "type": "commonjs",
5
5
  "publishConfig": {
6
6
  "access": "public"