codeapp-js 0.3.0 → 1.0.1
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.
- package/AI/codeapp.agent.md +105 -0
- package/AI/skills/connections/SKILL.md +47 -0
- package/AI/skills/dataverse/SKILL.md +99 -0
- package/AI/skills/environment-variables/SKILL.md +89 -0
- package/AI/skills/frontend-design/SKILL.md +34 -0
- package/AI/skills/jira/SKILL.md +81 -0
- package/AI/skills/office365-groups/SKILL.md +61 -0
- package/AI/skills/office365-outlook/SKILL.md +52 -0
- package/AI/skills/office365-users/SKILL.md +78 -0
- package/AI/skills/sharepoint/SKILL.md +77 -0
- package/AI/skills/sql/SKILL.md +85 -0
- package/AI/skills/start/SKILL.md +46 -0
- package/AI/skills/teams/SKILL.md +55 -0
- package/{examples/combined demo/.power/schemas/office365groups/office365groups.Schema.json → codeApp/.power/schemas/office365groups/office365groups.Schema.json} +2203 -2203
- package/codeApp/dist/codeapp.js +95 -1792
- package/codeApp/dist/connectors/azureKeyvault.js +459 -0
- package/codeApp/dist/connectors/jira.js +1247 -0
- package/codeApp/dist/connectors/office365groups.js +642 -0
- package/codeApp/dist/connectors/office365users.js +513 -0
- package/codeApp/dist/connectors/outlook.js +1393 -0
- package/codeApp/dist/connectors/sharepoint.js +466 -0
- package/codeApp/dist/connectors/sql.js +149 -0
- package/codeApp/dist/connectors/teams.js +280 -0
- package/codeApp/dist/power-apps-data.js +16 -2
- package/examples/{kanban → apps/kanban}/dist/dataverse.js +94 -94
- package/examples/{kanban → apps/kanban}/dist/environmentVar.js +55 -55
- package/examples/{kanban → apps/kanban}/dist/index.css +605 -605
- package/examples/{kanban → apps/kanban}/dist/index.html +21 -21
- package/examples/{kanban → apps/kanban}/dist/index.js +860 -860
- package/examples/{kanban → apps/kanban}/dist/office365groups.js +97 -97
- package/examples/apps/kanban/dist/office365users.js +451 -0
- package/examples/{kanban → apps/kanban}/dist/outlook.js +162 -162
- package/examples/{planning Poker/dist/power-apps-data.js → apps/kanban/dist/power-apps-data.js} +2953 -2953
- package/examples/{kanban → apps/kanban}/dist/sharepoint.js +435 -339
- package/examples/{kanban → apps/kanban}/power.config.json +35 -35
- package/examples/{planning Poker → apps/planning Poker}/additional files/customizations (tables).xml +6428 -6428
- package/examples/{planning Poker → apps/planning Poker}/additional files/dataverse-tables.json +165 -165
- package/examples/{planning Poker → apps/planning Poker}/additional files/readme.md +122 -122
- package/examples/{planning Poker → apps/planning Poker}/dist/dataverse.js +78 -78
- package/examples/{planning Poker → apps/planning Poker}/dist/index.html +198 -198
- package/examples/{planning Poker → apps/planning Poker}/dist/index.js +954 -954
- package/examples/{todo/dist/power-apps-data.js → apps/planning Poker/dist/power-apps-data.js } +2953 -2953
- package/examples/{planning Poker → apps/planning Poker}/dist/styles.css +815 -815
- package/examples/{planning Poker → apps/planning Poker}/power.config.json +50 -50
- package/examples/{outlook Demo2 → apps/solution explorer}/dist/codeapp.js +9 -245
- package/examples/apps/solution explorer/dist/index.html +80 -0
- package/examples/apps/solution explorer/dist/index.js +735 -0
- package/examples/apps/solution explorer/dist/styles.css +571 -0
- package/examples/apps/solution explorer/power.config.json +151 -0
- package/examples/{todo → apps/todo}/dist/dataverse.js +64 -64
- package/examples/{todo → apps/todo}/dist/index.html +75 -75
- package/examples/{todo → apps/todo}/dist/index.js +8 -8
- package/examples/{kanban → apps/todo}/dist/power-apps-data.js +2953 -2953
- package/examples/{todo → apps/todo}/dist/renderer.js +375 -375
- package/examples/{todo → apps/todo}/dist/styles.css +691 -691
- package/examples/{todo → apps/todo}/power.config.json +34 -34
- package/examples/combined demo/.power/schemas/appschemas/dataSourcesInfo.ts +6275 -7830
- package/examples/combined demo/.power/schemas/jira/jira.Schema.json +6903 -0
- package/examples/combined demo/.power/schemas/keyvault/keyvault.Schema.json +1600 -0
- package/examples/combined demo/.power/schemas/teams/teams.Schema.json +11112 -0
- package/examples/combined demo/dist/codeapp.js +394 -1098
- package/examples/{outlook Demo2/OutlookDemo_1_0_0_1.zip → combined demo/dist/icon-512.png} +0 -0
- package/examples/combined demo/dist/index.html +29 -511
- package/examples/combined demo/dist/index.js +490 -470
- package/examples/combined demo/dist/office365users.js +513 -0
- package/examples/combined demo/dist/outlook.js +1393 -0
- package/examples/combined demo/dist/power-apps-data.js +3079 -3006
- package/examples/combined demo/dist/styles.css +483 -0
- package/examples/combined demo/power.config.json +33 -42
- package/examples/combined demo/src/generated/index.ts +12 -14
- package/examples/combined demo/src/generated/models/AzureKeyVaultModel.ts +107 -0
- package/examples/combined demo/src/generated/models/JiraModel.ts +501 -0
- package/examples/combined demo/src/generated/services/AzureKeyVaultService.ts +257 -0
- package/examples/combined demo/src/generated/services/JiraService.ts +1124 -0
- package/examples/dataverse Demo/dist/codeapp.js +394 -1085
- package/examples/dataverse Demo/dist/icon-512.png +0 -0
- package/examples/dataverse Demo/dist/index.html +146 -54
- package/examples/dataverse Demo/dist/index.js +693 -83
- package/examples/dataverse Demo/dist/power-apps-data.js +3079 -2911
- package/examples/dataverse Demo/dist/styles.css +528 -0
- package/examples/dataverse Demo/power.config.json +41 -35
- package/examples/dataverse Demo/readme.md +79 -79
- package/examples/groups Demo/dist/codeapp.js +394 -1085
- package/examples/groups Demo/dist/icon-512.png +0 -0
- package/examples/groups Demo/dist/index.html +21 -25
- package/examples/groups Demo/dist/index.js +304 -113
- package/examples/groups Demo/dist/office365groups.js +642 -0
- package/examples/groups Demo/dist/power-apps-data.js +3079 -2911
- package/examples/groups Demo/dist/styles.css +509 -0
- package/examples/groups Demo/power.config.json +25 -25
- package/examples/myProfile/dist/codeapp.js +398 -0
- package/examples/myProfile/dist/index.html +21 -184
- package/examples/myProfile/dist/index.js +324 -141
- package/examples/myProfile/dist/office365users.js +517 -169
- package/examples/myProfile/dist/power-apps-data.js +3080 -2953
- package/examples/myProfile/dist/styles.css +458 -0
- package/examples/myProfile/power.config.json +24 -23
- package/examples/outlook Demo/dist/codeapp.js +394 -1085
- package/examples/outlook Demo/dist/index.html +150 -35
- package/examples/outlook Demo/dist/index.js +516 -170
- package/examples/outlook Demo/dist/outlook.js +1393 -121
- package/examples/outlook Demo/dist/power-apps-data.js +3079 -2911
- package/examples/outlook Demo/dist/styles.css +408 -84
- package/examples/outlook Demo/power.config.json +24 -23
- package/examples/outlook Demo/readme.md +92 -82
- package/examples/sharePoint Demo/dist/codeapp.js +394 -1085
- package/examples/sharePoint Demo/dist/icon-512.png +0 -0
- package/examples/sharePoint Demo/dist/index.html +22 -255
- package/examples/sharePoint Demo/dist/index.js +899 -262
- package/examples/sharePoint Demo/dist/power-apps-data.js +3079 -2911
- package/{dev files → examples/sharePoint Demo/dist}/sharepoint.js +239 -112
- package/examples/sharePoint Demo/dist/styles.css +587 -0
- package/examples/sharePoint Demo/power.config.json +23 -22
- package/package.json +1 -1
- package/readme.md +465 -76
- package/.vscode/settings.json +0 -6
- package/dev files/customConnector.js +0 -98
- package/dev files/dataverse.js +0 -120
- package/dev files/environmentVar.js +0 -55
- package/dev files/office365groups.js +0 -65
- package/dev files/office365users.js +0 -169
- package/dev files/outlook.js +0 -330
- package/dev files/power-apps-data.js +0 -2952
- package/examples/combined demo/.power/schemas/office365/office365.Schema.json +0 -21098
- package/examples/combined demo/.power/schemas/office365users/office365users.Schema.json +0 -2094
- package/examples/kanban/agent/decision-log.md +0 -9
- package/examples/kanban/agent/mockup-01-editorial-glass.html +0 -159
- package/examples/kanban/agent/mockup-02-dark-rail.html +0 -147
- package/examples/kanban/agent/mockup-03-paper-grid.html +0 -114
- package/examples/kanban/agent/mockup-04-neon-minimal.html +0 -141
- package/examples/kanban/agent/mockup-05-mono-architect.html +0 -119
- package/examples/kanban/dist/office365users.js +0 -169
- package/examples/kanban/src/generated/index.ts +0 -14
- package/examples/kanban/src/generated/models/Office365GroupsModel.ts +0 -363
- package/examples/kanban/src/generated/models/Office365OutlookModel.ts +0 -2046
- package/examples/kanban/src/generated/models/Office365UsersModel.ts +0 -254
- package/examples/kanban/src/generated/services/Office365GroupsService.ts +0 -326
- package/examples/kanban/src/generated/services/Office365OutlookService.ts +0 -2476
- package/examples/kanban/src/generated/services/Office365UsersService.ts +0 -358
- package/examples/outlook Demo2/agent/decision-log.md +0 -7
- package/examples/outlook Demo2/dist/index.html +0 -98
- package/examples/outlook Demo2/dist/index.js +0 -272
- package/examples/outlook Demo2/dist/styles.css +0 -639
- package/examples/outlook Demo2/power.config.json +0 -23
- package/examples/planning Poker/.vscode/settings.json +0 -5
- package/examples/sharePoint Demo/agent/decision-log.md +0 -17
- /package/examples/{outlook Demo2 → apps/kanban}/src/generated/index.ts +0 -0
- /package/examples/{outlook Demo2 → apps/kanban}/src/generated/models/Office365GroupsModel.ts +0 -0
- /package/examples/{outlook Demo2 → apps/kanban}/src/generated/models/Office365OutlookModel.ts +0 -0
- /package/examples/{outlook Demo2 → apps/kanban}/src/generated/models/Office365UsersModel.ts +0 -0
- /package/examples/{outlook Demo2 → apps/kanban}/src/generated/services/Office365GroupsService.ts +0 -0
- /package/examples/{outlook Demo2 → apps/kanban}/src/generated/services/Office365OutlookService.ts +0 -0
- /package/examples/{outlook Demo2 → apps/kanban}/src/generated/services/Office365UsersService.ts +0 -0
- /package/examples/{planning Poker → apps/planning Poker}/additional files/AgilePoker_1_0_0_1.zip +0 -0
- /package/examples/{planning Poker → apps/planning Poker}/additional files/PokerTables_1_0_0_1.zip +0 -0
- /package/examples/{outlook Demo2 → apps/solution explorer}/dist/icon-512.png +0 -0
- /package/examples/{outlook Demo2 → apps/solution explorer}/dist/power-apps-data.js +0 -0
- /package/examples/{todo → apps/todo}/dist/icon192.png +0 -0
|
@@ -0,0 +1,501 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Copyright (C) Microsoft Corporation. All rights reserved.
|
|
3
|
+
* This file is autogenerated. Do not edit this file directly.
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
export interface CreateProjectResponse {
|
|
7
|
+
// Unique id of the project.
|
|
8
|
+
id?: number;
|
|
9
|
+
// Unique key of the project.
|
|
10
|
+
key?: string;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
export interface CreateIssueResponse {
|
|
14
|
+
// Unique identifier of the issue.
|
|
15
|
+
id?: string;
|
|
16
|
+
// Unique key of the issue.
|
|
17
|
+
key?: string;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
export interface ListProjects_ResponseV2 {
|
|
21
|
+
// Next page of projects
|
|
22
|
+
nextPage?: string;
|
|
23
|
+
values?: ProjectArray;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
export interface Project {
|
|
27
|
+
// The unique Id of the project.
|
|
28
|
+
id?: string;
|
|
29
|
+
// The unique key of the project.
|
|
30
|
+
key?: string;
|
|
31
|
+
// Name of the project.
|
|
32
|
+
name?: string;
|
|
33
|
+
// The unique key of the project type.
|
|
34
|
+
projectTypeKey?: string;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
export interface ProjectArrayItem {
|
|
38
|
+
// The unique Id of the project.
|
|
39
|
+
id?: string;
|
|
40
|
+
// The unique key of the project.
|
|
41
|
+
key?: string;
|
|
42
|
+
// Name of the project.
|
|
43
|
+
name?: string;
|
|
44
|
+
// The unique key of the project type.
|
|
45
|
+
projectTypeKey?: string;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
export type ProjectArray = ProjectArrayItem[];
|
|
49
|
+
|
|
50
|
+
export interface PartialIssue {
|
|
51
|
+
// The unique Id of the Issue.
|
|
52
|
+
id?: string;
|
|
53
|
+
// The unique key of the issue.
|
|
54
|
+
key?: string;
|
|
55
|
+
fields?: {
|
|
56
|
+
summary?: string;
|
|
57
|
+
issuetype?: {
|
|
58
|
+
id?: string;
|
|
59
|
+
description?: string;
|
|
60
|
+
iconUrl?: string;
|
|
61
|
+
name?: string;
|
|
62
|
+
};
|
|
63
|
+
status?: {
|
|
64
|
+
description?: string;
|
|
65
|
+
iconUrl?: string;
|
|
66
|
+
name?: string;
|
|
67
|
+
id?: string;
|
|
68
|
+
statusCategory?: {
|
|
69
|
+
id?: number;
|
|
70
|
+
key?: string;
|
|
71
|
+
colorName?: string;
|
|
72
|
+
name?: string;
|
|
73
|
+
};
|
|
74
|
+
};
|
|
75
|
+
priority?: {
|
|
76
|
+
iconUrl?: string;
|
|
77
|
+
name?: string;
|
|
78
|
+
id?: string;
|
|
79
|
+
};
|
|
80
|
+
};
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
export interface FullIssue {
|
|
84
|
+
// Unique id of the issue.
|
|
85
|
+
id?: string;
|
|
86
|
+
// Unique key of the issue.
|
|
87
|
+
key?: string;
|
|
88
|
+
// Browse to the issue using this URL.
|
|
89
|
+
self?: string;
|
|
90
|
+
fields?: {
|
|
91
|
+
issuetype?: {
|
|
92
|
+
// Unique id of the issue type.
|
|
93
|
+
id?: string;
|
|
94
|
+
// Verbose title of the issue type.
|
|
95
|
+
description?: string;
|
|
96
|
+
// Icon associated with the issue type.
|
|
97
|
+
iconUrl?: string;
|
|
98
|
+
// Title of the issue type.
|
|
99
|
+
name?: string;
|
|
100
|
+
};
|
|
101
|
+
// The time spent on an issue
|
|
102
|
+
timespent?: number;
|
|
103
|
+
project?: {
|
|
104
|
+
// The unique id of the project.
|
|
105
|
+
id?: string;
|
|
106
|
+
// The unique key of the project.
|
|
107
|
+
key?: string;
|
|
108
|
+
// Title of the project.
|
|
109
|
+
name?: string;
|
|
110
|
+
// Unique key of the project type.
|
|
111
|
+
projectTypeKey?: string;
|
|
112
|
+
};
|
|
113
|
+
// The aggregate time spent on sub-tasks.
|
|
114
|
+
aggregatetimespent?: number;
|
|
115
|
+
// Type of resolution the issue has achieved.
|
|
116
|
+
resolution?: {
|
|
117
|
+
self?: string;
|
|
118
|
+
id?: string;
|
|
119
|
+
description?: string;
|
|
120
|
+
name?: string;
|
|
121
|
+
};
|
|
122
|
+
// yyyy-MM-ddTHH:mm:ss.fffZ
|
|
123
|
+
resolutiondate?: string;
|
|
124
|
+
// The percentage of work logged vs the issue estimate.
|
|
125
|
+
workratio?: number;
|
|
126
|
+
// yyyy-MM-ddTHH:mm:ss.fffZ
|
|
127
|
+
created?: string;
|
|
128
|
+
priority?: {
|
|
129
|
+
// Icon associated with the issue priority.
|
|
130
|
+
iconUrl?: string;
|
|
131
|
+
// Title of the priority.
|
|
132
|
+
name?: string;
|
|
133
|
+
// Id of the issue priority.
|
|
134
|
+
id?: string;
|
|
135
|
+
};
|
|
136
|
+
// Time remaining estimated time in seconds.
|
|
137
|
+
timeestimate?: number;
|
|
138
|
+
// The original sum of all sub-task time estimates in seconds.
|
|
139
|
+
aggregatetimeoriginalestimate?: number;
|
|
140
|
+
assignee?: {
|
|
141
|
+
// Person a issue is assigned to.
|
|
142
|
+
accountId?: string;
|
|
143
|
+
// User key of the person issue is assigned to.
|
|
144
|
+
key?: string;
|
|
145
|
+
// Email of the person issue is assigned to.
|
|
146
|
+
emailAddress?: string;
|
|
147
|
+
// Display name of the person issue is assigned to.
|
|
148
|
+
displayName?: string;
|
|
149
|
+
};
|
|
150
|
+
// yyyy-MM-ddTHH:mm:ss.fffZ
|
|
151
|
+
updated?: string;
|
|
152
|
+
status?: {
|
|
153
|
+
// Issue status.
|
|
154
|
+
description?: string;
|
|
155
|
+
// Issue status.
|
|
156
|
+
iconUrl?: string;
|
|
157
|
+
// Issue status.
|
|
158
|
+
name?: string;
|
|
159
|
+
// Issue status.
|
|
160
|
+
id?: string;
|
|
161
|
+
statusCategory?: {
|
|
162
|
+
// Issue status category.
|
|
163
|
+
id?: number;
|
|
164
|
+
// Issue status category.
|
|
165
|
+
key?: string;
|
|
166
|
+
// Issue status category.
|
|
167
|
+
colorName?: string;
|
|
168
|
+
// Issue status category.
|
|
169
|
+
name?: string;
|
|
170
|
+
};
|
|
171
|
+
};
|
|
172
|
+
// The original time estimate in seconds.
|
|
173
|
+
timeoriginalestimate?: number;
|
|
174
|
+
// Issue description.
|
|
175
|
+
description?: string;
|
|
176
|
+
// Time sum of all sub-tasks remaining estimated time in seconds.
|
|
177
|
+
aggregatetimeestimate?: number;
|
|
178
|
+
// Title of the issue.
|
|
179
|
+
summary?: string;
|
|
180
|
+
// A system field that is multiple values addressed by 'name' (e.g. Microsoft Entra ID, Network Switch).
|
|
181
|
+
components?: {
|
|
182
|
+
id?: string;
|
|
183
|
+
name?: string;
|
|
184
|
+
}[];
|
|
185
|
+
creator?: {
|
|
186
|
+
// User who created the issue.
|
|
187
|
+
accountId?: string;
|
|
188
|
+
// Unique key of the user who created the issue.
|
|
189
|
+
key?: string;
|
|
190
|
+
// Email of the user who created the issue.
|
|
191
|
+
emailAddress?: string;
|
|
192
|
+
// Name of the user who created the issue.
|
|
193
|
+
displayName?: string;
|
|
194
|
+
};
|
|
195
|
+
reporter?: {
|
|
196
|
+
// User who reported the issue.
|
|
197
|
+
accountId?: string;
|
|
198
|
+
// Unique key of the user who reported the issue.
|
|
199
|
+
key?: string;
|
|
200
|
+
// Email of the user who reported the issue.
|
|
201
|
+
emailAddress?: string;
|
|
202
|
+
// Display name of the user who reported the issue.
|
|
203
|
+
displayName?: string;
|
|
204
|
+
};
|
|
205
|
+
aggregateprogress?: {
|
|
206
|
+
// The total progress completed of all sub-tasks in seconds.
|
|
207
|
+
progress?: number;
|
|
208
|
+
// The total sum of all estimated sub-task effort.
|
|
209
|
+
total?: number;
|
|
210
|
+
// The percent of aggregate completed progress in relation to estimated effort.
|
|
211
|
+
percent?: number;
|
|
212
|
+
};
|
|
213
|
+
// yyyy-MM-ddTHH:mm:ss.fffZ
|
|
214
|
+
duedate?: string;
|
|
215
|
+
progress?: {
|
|
216
|
+
// The progress complete in seconds.
|
|
217
|
+
progress?: number;
|
|
218
|
+
// The estimated effort.
|
|
219
|
+
total?: number;
|
|
220
|
+
// The percent of completed progress in relation to estimated effort.
|
|
221
|
+
percent?: number;
|
|
222
|
+
};
|
|
223
|
+
// Epic name is required for epic issue type. This field matches 'customfield_10011' field on Jira server.
|
|
224
|
+
customfield_10119?: unknown;
|
|
225
|
+
};
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
export interface Creator {
|
|
229
|
+
// Person who created the issue.
|
|
230
|
+
accountId?: string;
|
|
231
|
+
// Unique key of the person who created the issue.
|
|
232
|
+
key?: string;
|
|
233
|
+
// Email of the person who created the issue.
|
|
234
|
+
emailAddress?: string;
|
|
235
|
+
// Display name of the person who created the issue.
|
|
236
|
+
displayName?: string;
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
export interface Assignee {
|
|
240
|
+
// Person whom the issue is assigned to.
|
|
241
|
+
accountId?: string;
|
|
242
|
+
// Unique key of the person whom the issue is assigned to.
|
|
243
|
+
key?: string;
|
|
244
|
+
// Email of the person whom the issue is assigned to.
|
|
245
|
+
emailAddress?: string;
|
|
246
|
+
// Display name of the person whom the issue is assigned to.
|
|
247
|
+
displayName?: string;
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
export interface User {
|
|
251
|
+
// Id of the Jira user.
|
|
252
|
+
accountId?: string;
|
|
253
|
+
// Unique key of the Jira user.
|
|
254
|
+
key?: string;
|
|
255
|
+
// Email of the Jira user.
|
|
256
|
+
emailAddress?: string;
|
|
257
|
+
// Display name of the Jira user.
|
|
258
|
+
displayName?: string;
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
export interface UserListItem {
|
|
262
|
+
// Id of the project member.
|
|
263
|
+
accountId?: string;
|
|
264
|
+
// Unique key associated with the user.
|
|
265
|
+
key?: string;
|
|
266
|
+
// Email address of the user.
|
|
267
|
+
emailAddress?: string;
|
|
268
|
+
// Full name of the user.
|
|
269
|
+
displayName?: string;
|
|
270
|
+
}
|
|
271
|
+
|
|
272
|
+
export type UserList = UserListItem[];
|
|
273
|
+
|
|
274
|
+
export interface Reporter {
|
|
275
|
+
// Person who reported the issue.
|
|
276
|
+
AccountId?: string;
|
|
277
|
+
// Unique key of the person who reported the issue.
|
|
278
|
+
key?: string;
|
|
279
|
+
// Email of the person who reported the issue.
|
|
280
|
+
emailAddress?: string;
|
|
281
|
+
// Display name of the person who reported the issue.
|
|
282
|
+
displayName?: string;
|
|
283
|
+
}
|
|
284
|
+
|
|
285
|
+
export interface ListFiltersResponse {
|
|
286
|
+
// Next page of filters
|
|
287
|
+
nextPage?: string;
|
|
288
|
+
values?: FilterArray;
|
|
289
|
+
}
|
|
290
|
+
|
|
291
|
+
export interface FilterArrayItem {
|
|
292
|
+
// Id of Filter.
|
|
293
|
+
id?: string;
|
|
294
|
+
// Name of Filter.
|
|
295
|
+
name?: string;
|
|
296
|
+
// jql used in Filter.
|
|
297
|
+
jql?: string;
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
export type FilterArray = FilterArrayItem[];
|
|
301
|
+
|
|
302
|
+
export interface ListIssuesResponse {
|
|
303
|
+
// The maximum number of items to return per page
|
|
304
|
+
maxResults?: number;
|
|
305
|
+
issues?: FullIssue[];
|
|
306
|
+
}
|
|
307
|
+
|
|
308
|
+
export interface ListIssuesResponseDatacenter {
|
|
309
|
+
// The index of the first item to return in a page of results
|
|
310
|
+
startAt?: number;
|
|
311
|
+
// The maximum number of items to return per page
|
|
312
|
+
maxResults?: number;
|
|
313
|
+
issues?: FullIssue[];
|
|
314
|
+
}
|
|
315
|
+
|
|
316
|
+
export interface IssueTypesItem {
|
|
317
|
+
name?: string;
|
|
318
|
+
id?: string;
|
|
319
|
+
}
|
|
320
|
+
|
|
321
|
+
export type IssueTypes = IssueTypesItem[];
|
|
322
|
+
|
|
323
|
+
export interface CreateIssueRequest {
|
|
324
|
+
fields: {
|
|
325
|
+
issuetype: {
|
|
326
|
+
// Pick an issue type.
|
|
327
|
+
id: string;
|
|
328
|
+
};
|
|
329
|
+
// Brief description of the issue.
|
|
330
|
+
summary: string;
|
|
331
|
+
// A system field that is multiple values addressed by 'name' (e.g. Microsoft Entra ID, Network Switch).
|
|
332
|
+
components?: string;
|
|
333
|
+
reporter?: {
|
|
334
|
+
// Person reporting the issue.
|
|
335
|
+
id?: string;
|
|
336
|
+
};
|
|
337
|
+
// A detailed description of the issue.
|
|
338
|
+
description?: string;
|
|
339
|
+
priority?: {
|
|
340
|
+
// Pick a priority for the issue.
|
|
341
|
+
id?: string;
|
|
342
|
+
};
|
|
343
|
+
// Enter a comma separated list of labels
|
|
344
|
+
labels?: string;
|
|
345
|
+
assignee?: {
|
|
346
|
+
// Agent the issue is assigned to.
|
|
347
|
+
id?: string;
|
|
348
|
+
};
|
|
349
|
+
parent?: {
|
|
350
|
+
// Set the parent for a sub-task.
|
|
351
|
+
id?: string;
|
|
352
|
+
};
|
|
353
|
+
// Epic name is required for epic issue type. This field matches 'customfield_10011' field on Jira server.
|
|
354
|
+
customfield_10119?: string;
|
|
355
|
+
};
|
|
356
|
+
}
|
|
357
|
+
|
|
358
|
+
export interface UpdateIssueRequest {
|
|
359
|
+
fields?: {
|
|
360
|
+
// Brief description of the issue.
|
|
361
|
+
summary?: string;
|
|
362
|
+
// A detailed description of the issue.
|
|
363
|
+
description?: string;
|
|
364
|
+
reporter?: {
|
|
365
|
+
// Person reporting the issue.
|
|
366
|
+
id?: string;
|
|
367
|
+
};
|
|
368
|
+
priority?: {
|
|
369
|
+
// Pick a priority for the issue.
|
|
370
|
+
id?: string;
|
|
371
|
+
};
|
|
372
|
+
// Enter a comma separated list of labels.
|
|
373
|
+
labels?: string;
|
|
374
|
+
assignee?: {
|
|
375
|
+
// Agent the issue is assigned to.
|
|
376
|
+
id?: string;
|
|
377
|
+
};
|
|
378
|
+
parent?: {
|
|
379
|
+
// Set the parent for a sub-task.
|
|
380
|
+
id?: string;
|
|
381
|
+
};
|
|
382
|
+
};
|
|
383
|
+
}
|
|
384
|
+
|
|
385
|
+
export interface StatusListItem {
|
|
386
|
+
id?: string;
|
|
387
|
+
name?: string;
|
|
388
|
+
}
|
|
389
|
+
|
|
390
|
+
export type StatusList = StatusListItem[];
|
|
391
|
+
|
|
392
|
+
export interface PriorityListItem {
|
|
393
|
+
name?: string;
|
|
394
|
+
id?: string;
|
|
395
|
+
}
|
|
396
|
+
|
|
397
|
+
export type PriorityList = PriorityListItem[];
|
|
398
|
+
|
|
399
|
+
export interface Comment {
|
|
400
|
+
// Body of the comment.
|
|
401
|
+
body: string;
|
|
402
|
+
}
|
|
403
|
+
|
|
404
|
+
export interface CommentResponse {
|
|
405
|
+
// Unique id of the comment.
|
|
406
|
+
id?: string;
|
|
407
|
+
// Body of the comment.
|
|
408
|
+
body?: string;
|
|
409
|
+
// yyyy-MM-ddTHH:mm:ss.fffZ
|
|
410
|
+
created?: string;
|
|
411
|
+
}
|
|
412
|
+
|
|
413
|
+
export interface SitesItem {
|
|
414
|
+
// Jira instance id
|
|
415
|
+
id?: string;
|
|
416
|
+
name?: string;
|
|
417
|
+
url?: string;
|
|
418
|
+
}
|
|
419
|
+
|
|
420
|
+
export type Sites = SitesItem[];
|
|
421
|
+
|
|
422
|
+
export interface Transition {
|
|
423
|
+
// ID of the transition
|
|
424
|
+
id?: string;
|
|
425
|
+
// Name of the transition
|
|
426
|
+
name?: string;
|
|
427
|
+
to?: TransitionStatus;
|
|
428
|
+
// Fields required for this transition
|
|
429
|
+
fields?: Record<string, unknown>;
|
|
430
|
+
}
|
|
431
|
+
|
|
432
|
+
export interface TransitionStatus {
|
|
433
|
+
// ID of the status
|
|
434
|
+
id?: string;
|
|
435
|
+
// Name of the status
|
|
436
|
+
name?: string;
|
|
437
|
+
}
|
|
438
|
+
|
|
439
|
+
export interface TransitionInput {
|
|
440
|
+
fields?: {
|
|
441
|
+
assignee?: {
|
|
442
|
+
name?: string;
|
|
443
|
+
};
|
|
444
|
+
resolution?: {
|
|
445
|
+
name?: string;
|
|
446
|
+
};
|
|
447
|
+
};
|
|
448
|
+
historyMetadata?: {
|
|
449
|
+
activityDescription?: string;
|
|
450
|
+
actor?: {
|
|
451
|
+
avatarUrl?: string;
|
|
452
|
+
displayName?: string;
|
|
453
|
+
id?: string;
|
|
454
|
+
_type?: string;
|
|
455
|
+
url?: string;
|
|
456
|
+
};
|
|
457
|
+
cause?: {
|
|
458
|
+
id?: string;
|
|
459
|
+
_type?: string;
|
|
460
|
+
};
|
|
461
|
+
description?: string;
|
|
462
|
+
extraData?: {
|
|
463
|
+
Iteration?: string;
|
|
464
|
+
Step?: string;
|
|
465
|
+
};
|
|
466
|
+
generator?: {
|
|
467
|
+
id?: string;
|
|
468
|
+
_type?: string;
|
|
469
|
+
};
|
|
470
|
+
_type?: string;
|
|
471
|
+
};
|
|
472
|
+
transition?: {
|
|
473
|
+
id?: string;
|
|
474
|
+
};
|
|
475
|
+
update?: {
|
|
476
|
+
comment?: {
|
|
477
|
+
add?: {
|
|
478
|
+
body?: string;
|
|
479
|
+
};
|
|
480
|
+
}[];
|
|
481
|
+
};
|
|
482
|
+
}
|
|
483
|
+
|
|
484
|
+
export interface MCPQueryRequest {
|
|
485
|
+
jsonrpc?: string;
|
|
486
|
+
id?: string;
|
|
487
|
+
method?: string;
|
|
488
|
+
params?: Record<string, unknown>;
|
|
489
|
+
result?: Record<string, unknown>;
|
|
490
|
+
error?: Record<string, unknown>;
|
|
491
|
+
callbackEndpoint?: string;
|
|
492
|
+
}
|
|
493
|
+
|
|
494
|
+
export interface MCPQueryResponse {
|
|
495
|
+
jsonrpc?: string;
|
|
496
|
+
id?: string;
|
|
497
|
+
method?: string;
|
|
498
|
+
params?: Record<string, unknown>;
|
|
499
|
+
result?: Record<string, unknown>;
|
|
500
|
+
error?: Record<string, unknown>;
|
|
501
|
+
}
|