tychat-contracts 1.0.123 → 1.0.124
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.
|
@@ -4,6 +4,8 @@ export declare const TOPIC_FOLLOWUP_CONFIG_UPDATED = "FOLLOWUP_CONFIG_UPDATED";
|
|
|
4
4
|
export declare const TOPIC_APPOINTMENT_CHANGED = "APPOINTMENT_CHANGED";
|
|
5
5
|
/** Kafka request-reply: list follow-up logs (paginated, filters). */
|
|
6
6
|
export declare const TOPIC_FOLLOWUP_LOG_LIST = "followup.log.list";
|
|
7
|
+
/** Kafka request-reply: latest follow-up log by patient IDs. */
|
|
8
|
+
export declare const TOPIC_FOLLOWUP_LOG_LATEST_BY_PATIENT_IDS = "followup.log.latestByPatientIds";
|
|
7
9
|
export declare class FollowupConversationEventPayload {
|
|
8
10
|
tenant: string;
|
|
9
11
|
patientId: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"followup-events.dto.d.ts","sourceRoot":"","sources":["../../src/conversations/followup-events.dto.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,kBAAkB,iBAAiB,CAAC;AACjD,eAAO,MAAM,sBAAsB,qBAAqB,CAAC;AACzD,eAAO,MAAM,6BAA6B,4BAA4B,CAAC;AACvE,eAAO,MAAM,yBAAyB,wBAAwB,CAAC;AAE/D,qEAAqE;AACrE,eAAO,MAAM,uBAAuB,sBAAsB,CAAC;
|
|
1
|
+
{"version":3,"file":"followup-events.dto.d.ts","sourceRoot":"","sources":["../../src/conversations/followup-events.dto.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,kBAAkB,iBAAiB,CAAC;AACjD,eAAO,MAAM,sBAAsB,qBAAqB,CAAC;AACzD,eAAO,MAAM,6BAA6B,4BAA4B,CAAC;AACvE,eAAO,MAAM,yBAAyB,wBAAwB,CAAC;AAE/D,qEAAqE;AACrE,eAAO,MAAM,uBAAuB,sBAAsB,CAAC;AAC3D,gEAAgE;AAChE,eAAO,MAAM,wCAAwC,oCAClB,CAAC;AAEpC,qBAAa,gCAAgC;IAK3C,MAAM,EAAE,MAAM,CAAC;IAMf,SAAS,EAAE,MAAM,CAAC;IAIlB,WAAW,EAAE,MAAM,CAAC;IAIpB,MAAM,CAAC,EAAE,MAAM,CAAC;IAMhB,WAAW,EAAE,IAAI,GAAG,OAAO,GAAG,SAAS,CAAC;IAKxC,UAAU,CAAC,EAAE,OAAO,CAAC;IAIrB,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,qBAAa,iCAAiC;IAK5C,MAAM,EAAE,MAAM,CAAC;IAIf,MAAM,CAAC,EAAE,MAAM,CAAC;IAMhB,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAIhC,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,qBAAa,8BAA8B;IAKzC,MAAM,EAAE,MAAM,CAAC;IAIf,aAAa,EAAE,MAAM,CAAC;IAMtB,SAAS,EAAE,MAAM,CAAC;IAMlB,MAAM,EAAE,MAAM,CAAC;IAMf,cAAc,CAAC,EAAE,MAAM,CAAC;IAKxB,IAAI,CAAC,EAAE,MAAM,CAAC;IAKd,QAAQ,CAAC,EAAE,MAAM,CAAC;IAIlB,UAAU,EAAE,MAAM,CAAC;CACpB"}
|
|
@@ -9,7 +9,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
9
9
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.AppointmentChangedEventPayload = exports.FollowupConfigUpdatedEventPayload = exports.FollowupConversationEventPayload = exports.TOPIC_FOLLOWUP_LOG_LIST = exports.TOPIC_APPOINTMENT_CHANGED = exports.TOPIC_FOLLOWUP_CONFIG_UPDATED = exports.TOPIC_MESSAGE_RECEIVED = exports.TOPIC_MESSAGE_SENT = void 0;
|
|
12
|
+
exports.AppointmentChangedEventPayload = exports.FollowupConfigUpdatedEventPayload = exports.FollowupConversationEventPayload = exports.TOPIC_FOLLOWUP_LOG_LATEST_BY_PATIENT_IDS = exports.TOPIC_FOLLOWUP_LOG_LIST = exports.TOPIC_APPOINTMENT_CHANGED = exports.TOPIC_FOLLOWUP_CONFIG_UPDATED = exports.TOPIC_MESSAGE_RECEIVED = exports.TOPIC_MESSAGE_SENT = void 0;
|
|
13
13
|
const swagger_1 = require("@nestjs/swagger");
|
|
14
14
|
const class_validator_1 = require("class-validator");
|
|
15
15
|
exports.TOPIC_MESSAGE_SENT = 'MESSAGE_SENT';
|
|
@@ -18,6 +18,8 @@ exports.TOPIC_FOLLOWUP_CONFIG_UPDATED = 'FOLLOWUP_CONFIG_UPDATED';
|
|
|
18
18
|
exports.TOPIC_APPOINTMENT_CHANGED = 'APPOINTMENT_CHANGED';
|
|
19
19
|
/** Kafka request-reply: list follow-up logs (paginated, filters). */
|
|
20
20
|
exports.TOPIC_FOLLOWUP_LOG_LIST = 'followup.log.list';
|
|
21
|
+
/** Kafka request-reply: latest follow-up log by patient IDs. */
|
|
22
|
+
exports.TOPIC_FOLLOWUP_LOG_LATEST_BY_PATIENT_IDS = 'followup.log.latestByPatientIds';
|
|
21
23
|
class FollowupConversationEventPayload {
|
|
22
24
|
tenant;
|
|
23
25
|
patientId;
|
package/package.json
CHANGED
|
@@ -8,6 +8,9 @@ export const TOPIC_APPOINTMENT_CHANGED = 'APPOINTMENT_CHANGED';
|
|
|
8
8
|
|
|
9
9
|
/** Kafka request-reply: list follow-up logs (paginated, filters). */
|
|
10
10
|
export const TOPIC_FOLLOWUP_LOG_LIST = 'followup.log.list';
|
|
11
|
+
/** Kafka request-reply: latest follow-up log by patient IDs. */
|
|
12
|
+
export const TOPIC_FOLLOWUP_LOG_LATEST_BY_PATIENT_IDS =
|
|
13
|
+
'followup.log.latestByPatientIds';
|
|
11
14
|
|
|
12
15
|
export class FollowupConversationEventPayload {
|
|
13
16
|
@ApiProperty({ example: 'homolog' })
|