theragist-ts 1.0.65 → 1.0.66

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.
@@ -3983,6 +3983,7 @@ export interface AdminRevokeOrganizationInvitationResponse {
3983
3983
  }
3984
3984
  export interface AdminListOrganizationPlansRequest {
3985
3985
  pagination: BaseListRequest | undefined;
3986
+ activeOnly?: boolean | undefined;
3986
3987
  }
3987
3988
  export interface AdminListOrganizationPlansResponse {
3988
3989
  plans: AdminOrganizationPlan[];
@@ -66453,13 +66453,16 @@ exports.AdminRevokeOrganizationInvitationResponse = {
66453
66453
  },
66454
66454
  };
66455
66455
  function createBaseAdminListOrganizationPlansRequest() {
66456
- return { pagination: undefined };
66456
+ return { pagination: undefined, activeOnly: undefined };
66457
66457
  }
66458
66458
  exports.AdminListOrganizationPlansRequest = {
66459
66459
  encode(message, writer = new wire_1.BinaryWriter()) {
66460
66460
  if (message.pagination !== undefined) {
66461
66461
  common_1.BaseListRequest.encode(message.pagination, writer.uint32(10).fork()).join();
66462
66462
  }
66463
+ if (message.activeOnly !== undefined) {
66464
+ writer.uint32(16).bool(message.activeOnly);
66465
+ }
66463
66466
  return writer;
66464
66467
  },
66465
66468
  decode(input, length) {
@@ -66476,6 +66479,13 @@ exports.AdminListOrganizationPlansRequest = {
66476
66479
  message.pagination = common_1.BaseListRequest.decode(reader, reader.uint32());
66477
66480
  continue;
66478
66481
  }
66482
+ case 2: {
66483
+ if (tag !== 16) {
66484
+ break;
66485
+ }
66486
+ message.activeOnly = reader.bool();
66487
+ continue;
66488
+ }
66479
66489
  }
66480
66490
  if ((tag & 7) === 4 || tag === 0) {
66481
66491
  break;
@@ -66485,23 +66495,31 @@ exports.AdminListOrganizationPlansRequest = {
66485
66495
  return message;
66486
66496
  },
66487
66497
  fromJSON(object) {
66488
- return { pagination: isSet(object.pagination) ? common_1.BaseListRequest.fromJSON(object.pagination) : undefined };
66498
+ return {
66499
+ pagination: isSet(object.pagination) ? common_1.BaseListRequest.fromJSON(object.pagination) : undefined,
66500
+ activeOnly: isSet(object.activeOnly) ? globalThis.Boolean(object.activeOnly) : undefined,
66501
+ };
66489
66502
  },
66490
66503
  toJSON(message) {
66491
66504
  const obj = {};
66492
66505
  if (message.pagination !== undefined) {
66493
66506
  obj.pagination = common_1.BaseListRequest.toJSON(message.pagination);
66494
66507
  }
66508
+ if (message.activeOnly !== undefined) {
66509
+ obj.activeOnly = message.activeOnly;
66510
+ }
66495
66511
  return obj;
66496
66512
  },
66497
66513
  create(base) {
66498
66514
  return exports.AdminListOrganizationPlansRequest.fromPartial(base !== null && base !== void 0 ? base : {});
66499
66515
  },
66500
66516
  fromPartial(object) {
66517
+ var _a;
66501
66518
  const message = createBaseAdminListOrganizationPlansRequest();
66502
66519
  message.pagination = (object.pagination !== undefined && object.pagination !== null)
66503
66520
  ? common_1.BaseListRequest.fromPartial(object.pagination)
66504
66521
  : undefined;
66522
+ message.activeOnly = (_a = object.activeOnly) !== null && _a !== void 0 ? _a : undefined;
66505
66523
  return message;
66506
66524
  },
66507
66525
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "theragist-ts",
3
- "version": "1.0.65",
3
+ "version": "1.0.66",
4
4
  "description": "TypeScript types and interfaces for Theragist protobuf definitions",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",