@microsoft/agents-activity
Version:
Microsoft 365 Agents SDK for JavaScript. Activity Protocol serialization and deserialization.
24 lines • 863 B
JavaScript
;
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License.
*/
Object.defineProperty(exports, "__esModule", { value: true });
exports.activityTreatments = exports.ActivityTreatments = void 0;
const zod_1 = require("zod");
/**
* Enum representing treatment types for the activity.
*/
var ActivityTreatments;
(function (ActivityTreatments) {
/**
* Indicates that only the recipient should be able to see the message even if the activity
* is being sent to a group of people.
*/
ActivityTreatments["Targeted"] = "targeted";
})(ActivityTreatments || (exports.ActivityTreatments = ActivityTreatments = {}));
/**
* Zod schema for validating an ActivityTreatments enum.
*/
exports.activityTreatments = zod_1.z.nativeEnum(ActivityTreatments);
//# sourceMappingURL=activityTreatments.js.map