tychat-contracts 1.6.56 → 1.6.58
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.
- package/dist/conversations/followup-events.dto.d.ts +2 -0
- package/dist/conversations/followup-events.dto.d.ts.map +1 -1
- package/dist/conversations/followup-events.dto.js +3 -1
- package/dist/legal-terms/legal-term-body-format.d.ts +1 -1
- package/dist/legal-terms/legal-term-body-format.d.ts.map +1 -1
- package/dist/legal-terms/legal-term-body-format.js +1 -1
- package/package.json +1 -1
- package/src/conversations/followup-events.dto.ts +2 -0
- package/src/legal-terms/legal-term-body-format.ts +1 -1
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
export declare const TOPIC_MESSAGE_SENT = "MESSAGE_SENT";
|
|
2
2
|
export declare const TOPIC_MESSAGE_RECEIVED = "MESSAGE_RECEIVED";
|
|
3
|
+
/** Realtime bridge: WhatsApp reaction added/removed on a conversation message. */
|
|
4
|
+
export declare const TOPIC_MESSAGE_REACTION = "MESSAGE_REACTION";
|
|
3
5
|
export declare const TOPIC_FOLLOWUP_CONFIG_UPDATED = "FOLLOWUP_CONFIG_UPDATED";
|
|
4
6
|
export declare const TOPIC_APPOINTMENT_CHANGED = "APPOINTMENT_CHANGED";
|
|
5
7
|
/** Kafka request-reply: list follow-up logs (paginated, filters). */
|
|
@@ -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;AAC3D,gEAAgE;AAChE,eAAO,MAAM,wCAAwC,oCAClB,CAAC;AAEpC,qBAAa,g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C;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;IAKlB,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAI3B,UAAU,EAAE,MAAM,CAAC;CACpB"}
|
|
@@ -9,11 +9,13 @@ 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_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;
|
|
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_REACTION = 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';
|
|
16
16
|
exports.TOPIC_MESSAGE_RECEIVED = 'MESSAGE_RECEIVED';
|
|
17
|
+
/** Realtime bridge: WhatsApp reaction added/removed on a conversation message. */
|
|
18
|
+
exports.TOPIC_MESSAGE_REACTION = 'MESSAGE_REACTION';
|
|
17
19
|
exports.TOPIC_FOLLOWUP_CONFIG_UPDATED = 'FOLLOWUP_CONFIG_UPDATED';
|
|
18
20
|
exports.TOPIC_APPOINTMENT_CHANGED = 'APPOINTMENT_CHANGED';
|
|
19
21
|
/** Kafka request-reply: list follow-up logs (paginated, filters). */
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/** Formato de armazenamento do modelo; conversão para HTML/PDF é determinística por enum. */
|
|
2
|
-
export declare const LEGAL_TERM_BODY_FORMATS: readonly ["structured", "html", "markdown", "plain_text"];
|
|
2
|
+
export declare const LEGAL_TERM_BODY_FORMATS: readonly ["structured", "html", "markdown", "plain_text", "structured"];
|
|
3
3
|
export type LegalTermBodyFormat = (typeof LEGAL_TERM_BODY_FORMATS)[number];
|
|
4
4
|
//# sourceMappingURL=legal-term-body-format.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"legal-term-body-format.d.ts","sourceRoot":"","sources":["../../src/legal-terms/legal-term-body-format.ts"],"names":[],"mappings":"AAAA,6FAA6F;AAC7F,eAAO,MAAM,uBAAuB,
|
|
1
|
+
{"version":3,"file":"legal-term-body-format.d.ts","sourceRoot":"","sources":["../../src/legal-terms/legal-term-body-format.ts"],"names":[],"mappings":"AAAA,6FAA6F;AAC7F,eAAO,MAAM,uBAAuB,yEAA0E,CAAC;AAE/G,MAAM,MAAM,mBAAmB,GAAG,CAAC,OAAO,uBAAuB,CAAC,CAAC,MAAM,CAAC,CAAC"}
|
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.LEGAL_TERM_BODY_FORMATS = void 0;
|
|
4
4
|
/** Formato de armazenamento do modelo; conversão para HTML/PDF é determinística por enum. */
|
|
5
|
-
exports.LEGAL_TERM_BODY_FORMATS = ['structured', 'html', 'markdown', 'plain_text'];
|
|
5
|
+
exports.LEGAL_TERM_BODY_FORMATS = ['structured', 'html', 'markdown', 'plain_text', 'structured'];
|
package/package.json
CHANGED
|
@@ -3,6 +3,8 @@ import { IsBoolean, IsISO8601, IsOptional, IsString, IsUUID, MaxLength, MinLengt
|
|
|
3
3
|
|
|
4
4
|
export const TOPIC_MESSAGE_SENT = 'MESSAGE_SENT';
|
|
5
5
|
export const TOPIC_MESSAGE_RECEIVED = 'MESSAGE_RECEIVED';
|
|
6
|
+
/** Realtime bridge: WhatsApp reaction added/removed on a conversation message. */
|
|
7
|
+
export const TOPIC_MESSAGE_REACTION = 'MESSAGE_REACTION';
|
|
6
8
|
export const TOPIC_FOLLOWUP_CONFIG_UPDATED = 'FOLLOWUP_CONFIG_UPDATED';
|
|
7
9
|
export const TOPIC_APPOINTMENT_CHANGED = 'APPOINTMENT_CHANGED';
|
|
8
10
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/** Formato de armazenamento do modelo; conversão para HTML/PDF é determinística por enum. */
|
|
2
|
-
export const LEGAL_TERM_BODY_FORMATS = ['structured', 'html', 'markdown', 'plain_text'] as const;
|
|
2
|
+
export const LEGAL_TERM_BODY_FORMATS = ['structured', 'html', 'markdown', 'plain_text', 'structured'] as const;
|
|
3
3
|
|
|
4
4
|
export type LegalTermBodyFormat = (typeof LEGAL_TERM_BODY_FORMATS)[number];
|