@microsoft/teams.api
Version:
<p> <a href="https://www.npmjs.com/package/@microsoft/teams.api" target="_blank"> <img src="https://img.shields.io/npm/v/@microsoft/teams.api/latest" /> </a> <a href="https://www.npmjs.com/package/@microsoft/teams.api?activeTab=code" t
42 lines (40 loc) • 1.2 kB
JavaScript
;
const API_SPAN_NAMES = {
apiClient: "microsoft.teams.api.client",
authOutbound: "microsoft.teams.auth.outbound"
};
const API_METRIC_NAMES = {
outboundCalls: "microsoft.teams.outbound.calls",
outboundErrors: "microsoft.teams.outbound.errors"
};
const API_ATTRIBUTE_NAMES = {
operation: "operation",
serviceUrl: "service.url",
conversationId: "conversation.id",
activityType: "activity.type",
activityId: "activity.id",
authFlow: "auth.flow"
};
const OUTBOUND_OPERATIONS = {
create: "create",
update: "update",
reply: "reply",
createReplyChain: "create_reply_chain",
createTargetedReplyChain: "create_targeted_reply_chain",
delete: "delete",
createTargeted: "create_targeted",
updateTargeted: "update_targeted",
deleteTargeted: "delete_targeted"
};
const AUTH_FLOWS = {
appOnly: "app_only",
agenticUser: "agentic_user",
agenticApp: "agentic_app"
};
exports.API_ATTRIBUTE_NAMES = API_ATTRIBUTE_NAMES;
exports.API_METRIC_NAMES = API_METRIC_NAMES;
exports.API_SPAN_NAMES = API_SPAN_NAMES;
exports.AUTH_FLOWS = AUTH_FLOWS;
exports.OUTBOUND_OPERATIONS = OUTBOUND_OPERATIONS;
//# sourceMappingURL=constants.js.map
//# sourceMappingURL=constants.js.map