theragist-ts 1.0.32 → 1.0.34

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.
@@ -300,6 +300,7 @@ export interface TriggerNotificationRequest {
300
300
  sourceType: string;
301
301
  sourceId: string;
302
302
  idempotencyKey: string;
303
+ scheduledAt: string;
303
304
  }
304
305
  export interface TriggerNotificationResponse {
305
306
  dispatches: AdminNotificationDispatch[];
@@ -4264,6 +4264,7 @@ function createBaseTriggerNotificationRequest() {
4264
4264
  sourceType: "",
4265
4265
  sourceId: "",
4266
4266
  idempotencyKey: "",
4267
+ scheduledAt: "",
4267
4268
  };
4268
4269
  }
4269
4270
  exports.TriggerNotificationRequest = {
@@ -4298,6 +4299,9 @@ exports.TriggerNotificationRequest = {
4298
4299
  if (message.idempotencyKey !== "") {
4299
4300
  writer.uint32(82).string(message.idempotencyKey);
4300
4301
  }
4302
+ if (message.scheduledAt !== "") {
4303
+ writer.uint32(90).string(message.scheduledAt);
4304
+ }
4301
4305
  return writer;
4302
4306
  },
4303
4307
  decode(input, length) {
@@ -4377,6 +4381,13 @@ exports.TriggerNotificationRequest = {
4377
4381
  message.idempotencyKey = reader.string();
4378
4382
  continue;
4379
4383
  }
4384
+ case 11: {
4385
+ if (tag !== 90) {
4386
+ break;
4387
+ }
4388
+ message.scheduledAt = reader.string();
4389
+ continue;
4390
+ }
4380
4391
  }
4381
4392
  if ((tag & 7) === 4 || tag === 0) {
4382
4393
  break;
@@ -4405,6 +4416,7 @@ exports.TriggerNotificationRequest = {
4405
4416
  sourceType: isSet(object.sourceType) ? globalThis.String(object.sourceType) : "",
4406
4417
  sourceId: isSet(object.sourceId) ? globalThis.String(object.sourceId) : "",
4407
4418
  idempotencyKey: isSet(object.idempotencyKey) ? globalThis.String(object.idempotencyKey) : "",
4419
+ scheduledAt: isSet(object.scheduledAt) ? globalThis.String(object.scheduledAt) : "",
4408
4420
  };
4409
4421
  },
4410
4422
  toJSON(message) {
@@ -4440,13 +4452,16 @@ exports.TriggerNotificationRequest = {
4440
4452
  if (message.idempotencyKey !== "") {
4441
4453
  obj.idempotencyKey = message.idempotencyKey;
4442
4454
  }
4455
+ if (message.scheduledAt !== "") {
4456
+ obj.scheduledAt = message.scheduledAt;
4457
+ }
4443
4458
  return obj;
4444
4459
  },
4445
4460
  create(base) {
4446
4461
  return exports.TriggerNotificationRequest.fromPartial(base !== null && base !== void 0 ? base : {});
4447
4462
  },
4448
4463
  fromPartial(object) {
4449
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
4464
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l;
4450
4465
  const message = createBaseTriggerNotificationRequest();
4451
4466
  message.workflowKey = (_a = object.workflowKey) !== null && _a !== void 0 ? _a : "";
4452
4467
  message.recipientUserIds = ((_b = object.recipientUserIds) === null || _b === void 0 ? void 0 : _b.map((e) => e)) || [];
@@ -4458,6 +4473,7 @@ exports.TriggerNotificationRequest = {
4458
4473
  message.sourceType = (_h = object.sourceType) !== null && _h !== void 0 ? _h : "";
4459
4474
  message.sourceId = (_j = object.sourceId) !== null && _j !== void 0 ? _j : "";
4460
4475
  message.idempotencyKey = (_k = object.idempotencyKey) !== null && _k !== void 0 ? _k : "";
4476
+ message.scheduledAt = (_l = object.scheduledAt) !== null && _l !== void 0 ? _l : "";
4461
4477
  return message;
4462
4478
  },
4463
4479
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "theragist-ts",
3
- "version": "1.0.32",
3
+ "version": "1.0.34",
4
4
  "description": "TypeScript types and interfaces for Theragist protobuf definitions",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",