@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
36 lines (35 loc) • 1.07 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"
};
export { API_ATTRIBUTE_NAMES, API_METRIC_NAMES, API_SPAN_NAMES, AUTH_FLOWS, OUTBOUND_OPERATIONS };
//# sourceMappingURL=constants.mjs.map
//# sourceMappingURL=constants.mjs.map