bruce-models 4.0.6 → 4.0.7

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.
@@ -9283,6 +9283,23 @@
9283
9283
  });
9284
9284
  }
9285
9285
  PendingAction.GetMessages = GetMessages;
9286
+ /**
9287
+ * Requests to cancel a pending action.
9288
+ * @param params
9289
+ */
9290
+ function Cancel(params) {
9291
+ return __awaiter(this, void 0, void 0, function* () {
9292
+ let { api, actionId, req: reqParams } = params;
9293
+ if (!actionId) {
9294
+ throw ("Action ID is required.");
9295
+ }
9296
+ if (!api) {
9297
+ api = exports.ENVIRONMENT.Api().GetBruceApi();
9298
+ }
9299
+ yield api.DELETE(`pendingAction/${actionId}`, exports.Api.PrepReqParams(reqParams));
9300
+ });
9301
+ }
9302
+ PendingAction.Cancel = Cancel;
9286
9303
  })(exports.PendingAction || (exports.PendingAction = {}));
9287
9304
 
9288
9305
  (function (Style) {
@@ -11630,7 +11647,7 @@
11630
11647
  })(exports.DataSource || (exports.DataSource = {}));
11631
11648
 
11632
11649
  // This is updated with the package.json version on build.
11633
- const VERSION = "4.0.6";
11650
+ const VERSION = "4.0.7";
11634
11651
 
11635
11652
  exports.VERSION = VERSION;
11636
11653
  exports.AbstractApi = AbstractApi;