@haex-space/vault-sdk 2.5.23 → 2.5.27

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.
@@ -92,6 +92,7 @@ var HAEXTENSION_METHODS = {
92
92
  // Sync Rules
93
93
  listSyncRules: "haextension:filesystem:sync:list-sync-rules",
94
94
  addSyncRule: "haextension:filesystem:sync:add-sync-rule",
95
+ updateSyncRule: "haextension:filesystem:sync:update-sync-rule",
95
96
  removeSyncRule: "haextension:filesystem:sync:remove-sync-rule",
96
97
  // Sync Operations
97
98
  getSyncStatus: "haextension:filesystem:sync:get-sync-status",
@@ -372,6 +373,15 @@ var FileSyncAPI = class {
372
373
  options
373
374
  );
374
375
  }
376
+ /**
377
+ * Update a sync rule
378
+ */
379
+ async updateSyncRuleAsync(options) {
380
+ return this.client.request(
381
+ HAEXTENSION_METHODS.filesystem.sync.updateSyncRule,
382
+ options
383
+ );
384
+ }
375
385
  /**
376
386
  * Remove a sync rule
377
387
  */