-
Notifications
You must be signed in to change notification settings - Fork 910
Expand file tree
/
Copy pathmanifest.json
More file actions
146 lines (146 loc) · 3.92 KB
/
manifest.json
File metadata and controls
146 lines (146 loc) · 3.92 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
{
"$schema": "https://developer.microsoft.com/en-us/json-schemas/teams/vdevpreview/MicrosoftTeams.schema.json",
"manifestVersion": "devPreview",
"version": "1.0.0",
"id": "${{TEAMS_APP_ID}}",
"developer": {
"name": "Microsoft",
"websiteUrl": "https://www.teams.com",
"privacyUrl": "https://www.teams.com/privacy",
"termsOfUseUrl": "https://www.teams.com/termsofuse"
},
"icons": {
"color": "color.png",
"outline": "outline.png"
},
"name": {
"short": "NotifyFeedApp",
"full": "NotifyFeedApp for Send Activity Feed"
},
"description": {
"short": "Sample app that uses Graph API to send activity feed notifications in Teams.",
"full": "This Microsoft Teams sample app demonstrates how to send activity feed notifications using the Microsoft Graph API in a Teams Tab."
},
"accentColor": "#235EA5",
"configurableTabs": [
{
"configurationUrl": "https://${{TAB_DOMAIN}}/configure",
"canUpdateConfiguration": true,
"scopes": [
"team",
"groupChat"
],
"context": [
"channelTab",
"privateChatTab"
]
}
],
"staticTabs": [
{
"entityId": "personal",
"name": "UserNotification",
"contentUrl": "https://${{TAB_DOMAIN}}/UserNotification",
"websiteUrl": "https://${{TAB_DOMAIN}}/UserNotification",
"scopes": [
"personal"
]
}
],
"permissions": [
"identity",
"messageTeamMembers"
],
"validDomains": [
"<<domain-name>>",
"${{TAB_DOMAIN}}"
],
"activities": {
"activityTypes": [
{
"type": "taskCreated",
"description": "Task created activity",
"templateText": "New created task {taskName} for you",
"allowedIconIds": [
"taskCreatedId"
]
},
{
"type": "deploymentApprovalRequired",
"description": "New deployment requires your approval",
"templateText": "New deployment requires your approval with {deploymentId}",
"allowedIconIds": [
"deploymentApprovalRequiredId"
]
},
{
"type": "approvalRequired",
"description": "Deployment requires your approval",
"templateText": "A Deployment approval Task created with {approvalTaskId}",
"allowedIconIds": [
"approvalRequiredId"
]
},
{
"type": "pendingFinanceApprovalRequests",
"description": "Internal spending team has a pending finance approval requests",
"templateText": "These are count of pending request {pendingRequestCount}",
"allowedIconIds": [
"pendingFinanceApprovalRequestsId"
]
},
{
"type": "reservationUpdated",
"description": "You have moved up the queue",
"templateText": "Here is the {reservationId} with {currentSlot}",
"allowedIconIds": [
"reservationUpdatedId"
]
}
],
"activityIcons": [
{
"id": "taskCreatedId",
"iconFile": "exclaim.png"
},
{
"id": "deploymentApprovalRequiredId",
"iconFile": "deploymentApprovalRequired.png"
},
{
"id": "approvalRequiredId",
"iconFile": "approvalRequired.png"
},
{
"id": "pendingFinanceApprovalRequestsId",
"iconFile": "pendingFinanceApprovalRequests.png"
},
{
"id": "reservationUpdatedId",
"iconFile": "reservationUpdated.png"
}
]
},
"authorization": {
"permissions": {
"resourceSpecific": [
{
"type": "Application",
"name": "TeamsActivity.Send.User"
},
{
"type": "Application",
"name": "TeamsActivity.Send.Group"
},
{
"type": "Application",
"name": "TeamsActivity.Send.Chat"
}
]
}
},
"webApplicationInfo": {
"id": "${{AAD_APP_CLIENT_ID}}",
"resource": "api://${{TAB_DOMAIN}}/${{AAD_APP_CLIENT_ID}}"
}
}