@webuildbots/webuildbots-sdk 8.2.0 → 8.2.1

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.
@@ -35,11 +35,13 @@ var ResponseBuilder = /** @class */ (function () {
35
35
  return this;
36
36
  };
37
37
  ResponseBuilder.prototype.setFollowUp = function (params) {
38
- var block = params.block, schedule = params.schedule, _a = params.viaEmail, viaEmail = _a === void 0 ? false : _a;
38
+ var block = params.block, schedule = params.schedule, _a = params.viaEmail, viaEmail = _a === void 0 ? false : _a, _b = params.cancelExisting, cancelExisting = _b === void 0 ? false : _b, _c = params.blockArgs, blockArgs = _c === void 0 ? {} : _c;
39
39
  this.resp.followUp = {
40
40
  block: block,
41
41
  schedule: schedule,
42
- viaEmail: viaEmail
42
+ viaEmail: viaEmail,
43
+ blockArgs: blockArgs,
44
+ cancelExisting: cancelExisting
43
45
  };
44
46
  return this;
45
47
  };
@@ -49,4 +49,6 @@ export interface FollowUpParams {
49
49
  block: BlockPointer;
50
50
  schedule: Date;
51
51
  viaEmail?: boolean;
52
+ blockArgs?: Record<string, any>;
53
+ cancelExisting?: boolean;
52
54
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webuildbots/webuildbots-sdk",
3
- "version": "8.2.0",
3
+ "version": "8.2.1",
4
4
  "description": "webuildbots sdk",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",