tychat-contracts 1.0.131 → 1.0.132
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"notifications-kafka.payloads.d.ts","sourceRoot":"","sources":["../../src/notifications/notifications-kafka.payloads.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"notifications-kafka.payloads.d.ts","sourceRoot":"","sources":["../../src/notifications/notifications-kafka.payloads.ts"],"names":[],"mappings":"AAcA,qBAAa,mCAAmC;IAM9C,OAAO,EAAE,MAAM,CAAC;IAShB,MAAM,EAAE,MAAM,CAAC;IAQf,KAAK,EAAE,MAAM,CAAC;IASd,IAAI,EAAE,MAAM,CAAC;IASb,QAAQ,EAAE,MAAM,CAAC;IAOjB,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,qBAAa,8CAA8C;IAMzD,OAAO,EAAE,MAAM,CAAC;IAShB,MAAM,EAAE,MAAM,CAAC;IAQf,KAAK,EAAE,MAAM,CAAC;IASd,WAAW,EAAE,MAAM,CAAC;IAOpB,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,+FAA+F;AAC/F,qBAAa,iDAAiD;IAG5D,OAAO,EAAE,MAAM,CAAC;IAMhB,MAAM,EAAE,MAAM,CAAC;IAIf,SAAS,EAAE,MAAM,CAAC;IAKlB,WAAW,EAAE,MAAM,CAAC;IAMpB,MAAM,EAAE,MAAM,CAAC;IAIf,UAAU,EAAE,MAAM,CAAC;IAMnB,WAAW,CAAC,EAAE,MAAM,CAAC;IAKrB,MAAM,CAAC,EAAE,MAAM,CAAC;IAOhB,QAAQ,CAAC,EAAE,OAAO,CAAC;IAKnB,aAAa,CAAC,EAAE,IAAI,GAAG,QAAQ,CAAC;CACjC"}
|
|
@@ -202,6 +202,6 @@ __decorate([
|
|
|
202
202
|
__decorate([
|
|
203
203
|
(0, swagger_1.ApiPropertyOptional)({ enum: ['ai', 'manual'] }),
|
|
204
204
|
(0, class_validator_1.IsOptional)(),
|
|
205
|
-
(0, class_validator_1.
|
|
205
|
+
(0, class_validator_1.IsIn)(['ai', 'manual']),
|
|
206
206
|
__metadata("design:type", String)
|
|
207
207
|
], NotificationConversationChangeToHumanEventPayload.prototype, "handoffSource", void 0);
|
package/package.json
CHANGED
|
@@ -2,6 +2,7 @@ import { ApiProperty, ApiPropertyOptional } from '@nestjs/swagger';
|
|
|
2
2
|
import {
|
|
3
3
|
IsBoolean,
|
|
4
4
|
IsEmail,
|
|
5
|
+
IsIn,
|
|
5
6
|
IsISO8601,
|
|
6
7
|
IsNumber,
|
|
7
8
|
IsOptional,
|
|
@@ -155,6 +156,6 @@ export class NotificationConversationChangeToHumanEventPayload {
|
|
|
155
156
|
|
|
156
157
|
@ApiPropertyOptional({ enum: ['ai', 'manual'] })
|
|
157
158
|
@IsOptional()
|
|
158
|
-
@
|
|
159
|
+
@IsIn(['ai', 'manual'])
|
|
159
160
|
handoffSource?: 'ai' | 'manual';
|
|
160
161
|
}
|