codeapp-js 1.0.2 → 1.1.0

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.
Files changed (128) hide show
  1. package/AI/skills/autoreview/SKILL.md +69 -0
  2. package/AI/skills/connections/SKILL.md +4 -4
  3. package/AI/skills/dataverse/SKILL.md +4 -2
  4. package/AI/skills/keyvault/SKILL.md +139 -0
  5. package/AI/skills/office365-groups/SKILL.md +46 -25
  6. package/AI/skills/office365-outlook/SKILL.md +56 -25
  7. package/AI/skills/office365-users/SKILL.md +41 -36
  8. package/AI/skills/sharepoint/SKILL.md +174 -31
  9. package/AI/skills/start/SKILL.md +1 -0
  10. package/codeApp/dist/connectors/autoreview.js +1654 -0
  11. package/codeApp/dist/connectors/office365groups.js +2995 -432
  12. package/{examples/outlook Demo/.power/schemas/office365/office365.Schema.json → codeApp/dist/connectors/office365outlook.js} +7439 -16
  13. package/codeApp/dist/connectors/office365users.js +2990 -349
  14. package/codeApp/dist/connectors/sharepoint.js +529 -308
  15. package/examples/combined demo/dist/connectors/office365outlook.js +28521 -0
  16. package/examples/combined demo/dist/connectors/office365users.js +3154 -0
  17. package/examples/combined demo/dist/index.js +2 -6
  18. package/examples/combined demo/power.config.json +1 -1
  19. package/examples/groups Demo/{.power/schemas/office365groups/office365groups.Schema.json → dist/connectors/office365groups.js } +3205 -2204
  20. package/examples/groups Demo/dist/index.js +1 -5
  21. package/examples/groups Demo/power.config.json +1 -1
  22. package/examples/myProfile/dist/connectors/office365users.js +3154 -0
  23. package/examples/myProfile/dist/index.js +1 -5
  24. package/examples/myProfile/power.config.json +1 -1
  25. package/examples/outlook Demo/dist/connectors/office365outlook.js +28521 -0
  26. package/examples/outlook Demo/dist/index.js +2 -5
  27. package/examples/outlook Demo/power.config.json +1 -1
  28. package/examples/sharePoint Demo/dist/connectors/sharepoint.js +687 -0
  29. package/examples/sharePoint Demo/dist/index.js +86 -127
  30. package/examples/sharePoint Demo/power.config.json +1 -1
  31. package/package.json +1 -1
  32. package/codeApp/.power/schemas/appschemas/dataSourcesInfo.ts +0 -6275
  33. package/codeApp/.power/schemas/jira/jira.Schema.json +0 -6903
  34. package/codeApp/.power/schemas/keyvault/keyvault.Schema.json +0 -1600
  35. package/codeApp/.power/schemas/office365groups/office365groups.Schema.json +0 -2204
  36. package/codeApp/.power/schemas/teams/teams.Schema.json +0 -11112
  37. package/codeApp/dist/connectors/outlook.js +0 -1393
  38. package/codeApp/src/generated/models/AzureKeyVaultModel.ts +0 -107
  39. package/codeApp/src/generated/models/JiraModel.ts +0 -501
  40. package/codeApp/src/generated/models/Office365GroupsModel.ts +0 -363
  41. package/codeApp/src/generated/models/Office365OutlookModel.ts +0 -2046
  42. package/codeApp/src/generated/models/Office365UsersModel.ts +0 -254
  43. package/codeApp/src/generated/services/AzureKeyVaultService.ts +0 -257
  44. package/codeApp/src/generated/services/JiraService.ts +0 -1124
  45. package/codeApp/src/generated/services/Office365GroupsService.ts +0 -326
  46. package/codeApp/src/generated/services/Office365OutlookService.ts +0 -2476
  47. package/codeApp/src/generated/services/Office365UsersService.ts +0 -358
  48. package/examples/apps/kanban/dist/dataverse.js +0 -94
  49. package/examples/apps/kanban/dist/environmentVar.js +0 -55
  50. package/examples/apps/kanban/dist/index.css +0 -605
  51. package/examples/apps/kanban/dist/index.html +0 -21
  52. package/examples/apps/kanban/dist/index.js +0 -860
  53. package/examples/apps/kanban/dist/office365groups.js +0 -97
  54. package/examples/apps/kanban/dist/office365users.js +0 -451
  55. package/examples/apps/kanban/dist/outlook.js +0 -162
  56. package/examples/apps/kanban/dist/power-apps-data.js +0 -2953
  57. package/examples/apps/kanban/dist/sharepoint.js +0 -435
  58. package/examples/apps/kanban/power.config.json +0 -35
  59. package/examples/apps/kanban/src/generated/index.ts +0 -14
  60. package/examples/apps/kanban/src/generated/models/Office365GroupsModel.ts +0 -363
  61. package/examples/apps/kanban/src/generated/models/Office365OutlookModel.ts +0 -2046
  62. package/examples/apps/kanban/src/generated/models/Office365UsersModel.ts +0 -254
  63. package/examples/apps/kanban/src/generated/services/Office365GroupsService.ts +0 -326
  64. package/examples/apps/kanban/src/generated/services/Office365OutlookService.ts +0 -2476
  65. package/examples/apps/kanban/src/generated/services/Office365UsersService.ts +0 -358
  66. package/examples/apps/planning Poker/additional files/AgilePoker_1_0_0_1.zip +0 -0
  67. package/examples/apps/planning Poker/additional files/PokerTables_1_0_0_1.zip +0 -0
  68. package/examples/apps/planning Poker/additional files/customizations (tables).xml +0 -6429
  69. package/examples/apps/planning Poker/additional files/dataverse-tables.json +0 -165
  70. package/examples/apps/planning Poker/additional files/readme.md +0 -122
  71. package/examples/apps/planning Poker/dist/dataverse.js +0 -78
  72. package/examples/apps/planning Poker/dist/index.html +0 -198
  73. package/examples/apps/planning Poker/dist/index.js +0 -955
  74. package/examples/apps/planning Poker/dist/power-apps-data.js +0 -2953
  75. package/examples/apps/planning Poker/dist/styles.css +0 -815
  76. package/examples/apps/planning Poker/power.config.json +0 -50
  77. package/examples/apps/solution explorer/dist/codeapp.js +0 -1098
  78. package/examples/apps/solution explorer/dist/icon-512.png +0 -0
  79. package/examples/apps/solution explorer/dist/index.html +0 -80
  80. package/examples/apps/solution explorer/dist/index.js +0 -735
  81. package/examples/apps/solution explorer/dist/power-apps-data.js +0 -3007
  82. package/examples/apps/solution explorer/dist/styles.css +0 -571
  83. package/examples/apps/solution explorer/power.config.json +0 -151
  84. package/examples/apps/todo/dist/dataverse.js +0 -64
  85. package/examples/apps/todo/dist/icon192.png +0 -0
  86. package/examples/apps/todo/dist/index.html +0 -75
  87. package/examples/apps/todo/dist/index.js +0 -9
  88. package/examples/apps/todo/dist/power-apps-data.js +0 -2953
  89. package/examples/apps/todo/dist/renderer.js +0 -375
  90. package/examples/apps/todo/dist/styles.css +0 -691
  91. package/examples/apps/todo/power.config.json +0 -35
  92. package/examples/combined demo/.power/schemas/appschemas/dataSourcesInfo.ts +0 -6275
  93. package/examples/combined demo/.power/schemas/jira/jira.Schema.json +0 -6903
  94. package/examples/combined demo/.power/schemas/keyvault/keyvault.Schema.json +0 -1600
  95. package/examples/combined demo/.power/schemas/teams/teams.Schema.json +0 -11112
  96. package/examples/combined demo/dist/office365users.js +0 -513
  97. package/examples/combined demo/dist/outlook.js +0 -1393
  98. package/examples/combined demo/src/generated/index.ts +0 -12
  99. package/examples/combined demo/src/generated/models/AzureKeyVaultModel.ts +0 -107
  100. package/examples/combined demo/src/generated/models/JiraModel.ts +0 -501
  101. package/examples/combined demo/src/generated/models/Office365GroupsModel.ts +0 -363
  102. package/examples/combined demo/src/generated/models/Office365OutlookModel.ts +0 -2046
  103. package/examples/combined demo/src/generated/models/Office365UsersModel.ts +0 -254
  104. package/examples/combined demo/src/generated/services/AzureKeyVaultService.ts +0 -257
  105. package/examples/combined demo/src/generated/services/JiraService.ts +0 -1124
  106. package/examples/combined demo/src/generated/services/Office365GroupsService.ts +0 -326
  107. package/examples/combined demo/src/generated/services/Office365OutlookService.ts +0 -2476
  108. package/examples/combined demo/src/generated/services/Office365UsersService.ts +0 -358
  109. package/examples/groups Demo/.power/schemas/appschemas/dataSourcesInfo.ts +0 -613
  110. package/examples/groups Demo/dist/office365groups.js +0 -642
  111. package/examples/groups Demo/src/generated/index.ts +0 -10
  112. package/examples/groups Demo/src/generated/models/Office365GroupsModel.ts +0 -363
  113. package/examples/groups Demo/src/generated/services/Office365GroupsService.ts +0 -326
  114. package/examples/myProfile/dist/office365users.js +0 -517
  115. package/examples/outlook Demo/.power/schemas/appschemas/dataSourcesInfo.ts +0 -6512
  116. package/examples/outlook Demo/dist/outlook.js +0 -1393
  117. package/examples/outlook Demo/src/generated/index.ts +0 -10
  118. package/examples/outlook Demo/src/generated/models/Office365OutlookModel.ts +0 -2046
  119. package/examples/outlook Demo/src/generated/services/Office365OutlookService.ts +0 -2476
  120. package/examples/sharePoint Demo/dist/sharepoint.js +0 -466
  121. package/examples/sharePoint Demo/src/generated/index.ts +0 -14
  122. package/examples/sharePoint Demo/src/generated/models/Office365GroupsModel.ts +0 -363
  123. package/examples/sharePoint Demo/src/generated/models/Office365OutlookModel.ts +0 -2046
  124. package/examples/sharePoint Demo/src/generated/models/Office365UsersModel.ts +0 -254
  125. package/examples/sharePoint Demo/src/generated/services/Office365GroupsService.ts +0 -326
  126. package/examples/sharePoint Demo/src/generated/services/Office365OutlookService.ts +0 -2476
  127. package/examples/sharePoint Demo/src/generated/services/Office365UsersService.ts +0 -358
  128. package/readme.md +0 -590
@@ -1,12 +0,0 @@
1
- /*!
2
- * Copyright (C) Microsoft Corporation. All rights reserved.
3
- * This file is autogenerated. Do not edit this file directly.
4
- */
5
-
6
- // Models
7
- export * as AzureKeyVaultModel from './models/AzureKeyVaultModel';
8
- export * as JiraModel from './models/JiraModel';
9
-
10
- // Services
11
- export * from './services/AzureKeyVaultService';
12
- export * from './services/JiraService';
@@ -1,107 +0,0 @@
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 KeyMetadataCollection {
7
- // The keys
8
- value?: KeyMetadata[];
9
- // Continuation token
10
- continuationToken?: string;
11
- }
12
-
13
- export interface KeyMetadata {
14
- // Name of the key
15
- name?: string;
16
- // Version of the key
17
- version?: string;
18
- // A flag indicating whether the key is enabled
19
- isEnabled?: boolean;
20
- // Time when the key was created
21
- createdTime?: string;
22
- // Time when the key was last updated
23
- lastUpdatedTime?: string;
24
- // Time when the key validity starts.
25
- validityStartTime?: string;
26
- // Time when the key validity ends.
27
- validityEndTime?: string;
28
- // Operations allowed using the key
29
- allowedOperations?: string[];
30
- // Type of the key
31
- keyType?: string;
32
- }
33
-
34
- export type KeyEncryptInputalgorithm = 'RSA-OAEP-256'|'RSA-OAEP'|'RSA1_5';
35
-
36
- export interface KeyEncryptInput {
37
- // Algorithm to use for encrypting the data
38
- algorithm: KeyEncryptInputalgorithm;
39
- // Data to encrypt
40
- rawData: string;
41
- }
42
-
43
- export interface KeyEncryptOutput {
44
- // Encrypted data
45
- encryptedData?: string;
46
- }
47
-
48
- export type KeyDecryptInputalgorithm = 'RSA-OAEP-256'|'RSA-OAEP'|'RSA1_5';
49
-
50
- export interface KeyDecryptInput {
51
- // Algorithm to use for decrypting the data
52
- algorithm: KeyDecryptInputalgorithm;
53
- // Data to decrypt
54
- encryptedData: string;
55
- }
56
-
57
- export interface KeyDecryptOutput {
58
- // Raw data
59
- rawData?: string;
60
- }
61
-
62
- export interface SecretMetadataCollection {
63
- // The secrets
64
- value?: SecretMetadata[];
65
- // Continuation token
66
- continuationToken?: string;
67
- }
68
-
69
- export interface SecretMetadata {
70
- // Name of the secret
71
- name?: string;
72
- // Version of the secret
73
- version?: string;
74
- // Content type of the secret
75
- contentType?: string;
76
- // A flag indicating whether the secret is enabled
77
- isEnabled?: boolean;
78
- // Time when the secret was created
79
- createdTime?: string;
80
- // Time when the secret was last updated
81
- lastUpdatedTime?: string;
82
- // Time when the secret validity starts.
83
- validityStartTime?: string;
84
- // Time when the secret validity ends.
85
- validityEndTime?: string;
86
- }
87
-
88
- export interface Secret {
89
- // Value of the secret
90
- value?: string;
91
- // Name of the secret
92
- name?: string;
93
- // Version of the secret
94
- version?: string;
95
- // Content type of the secret
96
- contentType?: string;
97
- // A flag indicating whether the secret is enabled
98
- isEnabled?: boolean;
99
- // Time when the secret was created
100
- createdTime?: string;
101
- // Time when the secret was last updated
102
- lastUpdatedTime?: string;
103
- // Time when the secret validity starts.
104
- validityStartTime?: string;
105
- // Time when the secret validity ends.
106
- validityEndTime?: string;
107
- }
@@ -1,501 +0,0 @@
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
- }