codeapp-js 0.2.2 → 1.0.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 (176) hide show
  1. package/AI/codeapp.agent.md +105 -0
  2. package/AI/skills/connections/SKILL.md +47 -0
  3. package/AI/skills/dataverse/SKILL.md +99 -0
  4. package/AI/skills/environment-variables/SKILL.md +89 -0
  5. package/AI/skills/frontend-design/SKILL.md +34 -0
  6. package/AI/skills/jira/SKILL.md +81 -0
  7. package/AI/skills/office365-groups/SKILL.md +61 -0
  8. package/AI/skills/office365-outlook/SKILL.md +52 -0
  9. package/AI/skills/office365-users/SKILL.md +78 -0
  10. package/AI/skills/sharepoint/SKILL.md +77 -0
  11. package/AI/skills/sql/SKILL.md +85 -0
  12. package/AI/skills/start/SKILL.md +46 -0
  13. package/AI/skills/teams/SKILL.md +55 -0
  14. package/codeApp/.power/schemas/appschemas/dataSourcesInfo.ts +6275 -0
  15. package/codeApp/.power/schemas/jira/jira.Schema.json +6903 -0
  16. package/codeApp/.power/schemas/keyvault/keyvault.Schema.json +1600 -0
  17. package/{examples/combined demo/.power/schemas/office365groups/office365groups.Schema.json → codeApp/.power/schemas/office365groups/office365groups.Schema.json} +2203 -2203
  18. package/codeApp/.power/schemas/teams/teams.Schema.json +11112 -0
  19. package/codeApp/dist/codeapp.js +103 -1043
  20. package/codeApp/dist/connectors/azureKeyvault.js +459 -0
  21. package/codeApp/dist/connectors/jira.js +1247 -0
  22. package/codeApp/dist/connectors/office365groups.js +642 -0
  23. package/codeApp/dist/connectors/office365users.js +513 -0
  24. package/codeApp/dist/connectors/outlook.js +1393 -0
  25. package/{examples/kanban/dist → codeApp/dist/connectors}/sharepoint.js +466 -339
  26. package/codeApp/dist/connectors/sql.js +149 -0
  27. package/codeApp/dist/connectors/teams.js +280 -0
  28. package/codeApp/dist/index.js +1 -1
  29. package/codeApp/dist/power-apps-data.js +725 -176
  30. package/codeApp/src/generated/index.ts +12 -0
  31. package/codeApp/src/generated/models/AzureKeyVaultModel.ts +107 -0
  32. package/codeApp/src/generated/models/JiraModel.ts +501 -0
  33. package/codeApp/src/generated/services/AzureKeyVaultService.ts +257 -0
  34. package/codeApp/src/generated/services/JiraService.ts +1124 -0
  35. package/examples/{kanban → apps/kanban}/dist/dataverse.js +94 -94
  36. package/examples/{kanban → apps/kanban}/dist/index.css +605 -605
  37. package/examples/{kanban → apps/kanban}/dist/index.html +21 -21
  38. package/examples/{kanban → apps/kanban}/dist/index.js +860 -860
  39. package/examples/{kanban → apps/kanban}/dist/office365groups.js +97 -97
  40. package/examples/apps/kanban/dist/office365users.js +451 -0
  41. package/examples/{kanban → apps/kanban}/dist/outlook.js +162 -162
  42. package/examples/{planning Poker/dist/power-apps-data.js → apps/kanban/dist/power-apps-data.js} +2953 -2953
  43. package/{dev files/sharepoint.js → examples/apps/kanban/dist/sharepoint.js} +195 -99
  44. package/examples/{kanban → apps/kanban}/power.config.json +35 -35
  45. package/examples/{planning Poker → apps/planning Poker}/additional files/customizations (tables).xml +6428 -6428
  46. package/examples/{planning Poker → apps/planning Poker}/additional files/dataverse-tables.json +165 -165
  47. package/examples/{planning Poker → apps/planning Poker}/additional files/readme.md +122 -122
  48. package/examples/{planning Poker → apps/planning Poker}/dist/dataverse.js +78 -78
  49. package/examples/{planning Poker → apps/planning Poker}/dist/index.html +198 -198
  50. package/examples/{planning Poker → apps/planning Poker}/dist/index.js +954 -954
  51. package/examples/{kanban/dist/power-apps-data.js → apps/planning Poker/dist/power-apps-data.js } +2953 -2953
  52. package/examples/{planning Poker → apps/planning Poker}/dist/styles.css +815 -815
  53. package/examples/{planning Poker → apps/planning Poker}/power.config.json +50 -50
  54. package/examples/{solution explorer → apps/solution explorer}/dist/codeapp.js +1098 -1098
  55. package/examples/{solution explorer → apps/solution explorer}/dist/index.html +80 -80
  56. package/examples/{solution explorer → apps/solution explorer}/dist/index.js +735 -735
  57. package/examples/{solution explorer → apps/solution explorer}/dist/styles.css +571 -571
  58. package/examples/{solution explorer → apps/solution explorer}/power.config.json +150 -150
  59. package/examples/{todo → apps/todo}/dist/dataverse.js +64 -64
  60. package/examples/{todo → apps/todo}/dist/index.html +75 -75
  61. package/examples/{todo → apps/todo}/dist/index.js +8 -8
  62. package/examples/{todo → apps/todo}/dist/power-apps-data.js +2953 -2953
  63. package/examples/{todo → apps/todo}/dist/renderer.js +375 -375
  64. package/examples/{todo → apps/todo}/dist/styles.css +691 -691
  65. package/examples/{todo → apps/todo}/power.config.json +34 -34
  66. package/examples/combined demo/.power/schemas/appschemas/dataSourcesInfo.ts +6275 -7830
  67. package/examples/combined demo/.power/schemas/jira/jira.Schema.json +6903 -0
  68. package/examples/combined demo/.power/schemas/keyvault/keyvault.Schema.json +1600 -0
  69. package/examples/combined demo/.power/schemas/teams/teams.Schema.json +11112 -0
  70. package/examples/combined demo/dist/codeapp.js +394 -1098
  71. package/examples/combined demo/dist/index.html +29 -511
  72. package/examples/combined demo/dist/index.js +490 -470
  73. package/examples/combined demo/dist/office365users.js +513 -0
  74. package/examples/combined demo/dist/outlook.js +1393 -0
  75. package/examples/combined demo/dist/power-apps-data.js +3079 -3006
  76. package/examples/combined demo/dist/styles.css +483 -0
  77. package/examples/combined demo/power.config.json +33 -42
  78. package/examples/combined demo/src/generated/index.ts +12 -14
  79. package/examples/combined demo/src/generated/models/AzureKeyVaultModel.ts +107 -0
  80. package/examples/combined demo/src/generated/models/JiraModel.ts +501 -0
  81. package/examples/combined demo/src/generated/services/AzureKeyVaultService.ts +257 -0
  82. package/examples/combined demo/src/generated/services/JiraService.ts +1124 -0
  83. package/examples/dataverse Demo/dist/codeapp.js +394 -1085
  84. package/examples/{outlook Demo2/OutlookDemo_1_0_0_1.zip → dataverse Demo/dist/icon-512.png} +0 -0
  85. package/examples/dataverse Demo/dist/index.html +146 -54
  86. package/examples/dataverse Demo/dist/index.js +693 -83
  87. package/examples/dataverse Demo/dist/power-apps-data.js +3079 -2911
  88. package/examples/dataverse Demo/dist/styles.css +528 -0
  89. package/examples/dataverse Demo/power.config.json +41 -35
  90. package/examples/dataverse Demo/readme.md +79 -79
  91. package/examples/groups Demo/dist/codeapp.js +394 -1085
  92. package/examples/groups Demo/dist/icon-512.png +0 -0
  93. package/examples/groups Demo/dist/index.html +21 -25
  94. package/examples/groups Demo/dist/index.js +304 -113
  95. package/examples/groups Demo/dist/office365groups.js +642 -0
  96. package/examples/groups Demo/dist/power-apps-data.js +3079 -2911
  97. package/examples/groups Demo/dist/styles.css +509 -0
  98. package/examples/groups Demo/power.config.json +25 -25
  99. package/examples/myProfile/dist/codeapp.js +398 -0
  100. package/examples/myProfile/dist/index.html +21 -184
  101. package/examples/myProfile/dist/index.js +324 -141
  102. package/examples/myProfile/dist/office365users.js +517 -169
  103. package/examples/myProfile/dist/power-apps-data.js +3080 -2953
  104. package/examples/myProfile/dist/styles.css +458 -0
  105. package/examples/myProfile/power.config.json +24 -23
  106. package/examples/outlook Demo/dist/codeapp.js +394 -1085
  107. package/examples/outlook Demo/dist/index.html +150 -35
  108. package/examples/outlook Demo/dist/index.js +516 -170
  109. package/examples/outlook Demo/dist/outlook.js +1393 -121
  110. package/examples/outlook Demo/dist/power-apps-data.js +3079 -2911
  111. package/examples/outlook Demo/dist/styles.css +408 -84
  112. package/examples/outlook Demo/power.config.json +24 -23
  113. package/examples/outlook Demo/readme.md +92 -82
  114. package/examples/sharePoint Demo/dist/codeapp.js +394 -1085
  115. package/examples/sharePoint Demo/dist/icon-512.png +0 -0
  116. package/examples/sharePoint Demo/dist/index.html +22 -255
  117. package/examples/sharePoint Demo/dist/index.js +899 -262
  118. package/examples/sharePoint Demo/dist/power-apps-data.js +3079 -2911
  119. package/examples/sharePoint Demo/dist/sharepoint.js +466 -0
  120. package/examples/sharePoint Demo/dist/styles.css +587 -0
  121. package/examples/sharePoint Demo/power.config.json +23 -22
  122. package/package.json +1 -1
  123. package/readme.md +479 -61
  124. package/.github/instructions/wyattdave.instructions.md +0 -39
  125. package/.vscode/settings.json +0 -6
  126. package/dev files/dataverse.js +0 -105
  127. package/dev files/office365groups.js +0 -65
  128. package/dev files/office365users.js +0 -169
  129. package/dev files/outlook.js +0 -330
  130. package/examples/combined demo/.power/schemas/office365/office365.Schema.json +0 -21098
  131. package/examples/combined demo/.power/schemas/office365users/office365users.Schema.json +0 -2094
  132. package/examples/kanban/agent/decision-log.md +0 -9
  133. package/examples/kanban/agent/mockup-01-editorial-glass.html +0 -159
  134. package/examples/kanban/agent/mockup-02-dark-rail.html +0 -147
  135. package/examples/kanban/agent/mockup-03-paper-grid.html +0 -114
  136. package/examples/kanban/agent/mockup-04-neon-minimal.html +0 -141
  137. package/examples/kanban/agent/mockup-05-mono-architect.html +0 -119
  138. package/examples/kanban/dist/environmentVar.js +0 -55
  139. package/examples/kanban/dist/office365users.js +0 -169
  140. package/examples/kanban/src/generated/index.ts +0 -14
  141. package/examples/outlook Demo2/agent/decision-log.md +0 -7
  142. package/examples/outlook Demo2/dist/codeapp.js +0 -1334
  143. package/examples/outlook Demo2/dist/index.html +0 -98
  144. package/examples/outlook Demo2/dist/index.js +0 -346
  145. package/examples/outlook Demo2/dist/styles.css +0 -639
  146. package/examples/outlook Demo2/power.config.json +0 -23
  147. package/examples/planning Poker/.vscode/settings.json +0 -5
  148. package/examples/sharePoint Demo/agent/decision-log.md +0 -17
  149. package/examples/solution explorer/agent/decision-log.md +0 -27
  150. package/examples/solution explorer/agent/mockup-01-swiss-grid.html +0 -452
  151. package/examples/solution explorer/agent/mockup-02-dark-glass.html +0 -496
  152. package/examples/solution explorer/agent/mockup-03-paper-console.html +0 -510
  153. package/examples/solution explorer/agent/mockup-04-neon-noir.html +0 -546
  154. package/examples/solution explorer/agent/mockup-05-zen-garden.html +0 -534
  155. package/examples/solution explorer/dist/power-apps-data.js +0 -3007
  156. package/scripts/build-power-sdk.mjs +0 -69
  157. /package/{examples/kanban → codeApp}/src/generated/models/Office365GroupsModel.ts +0 -0
  158. /package/{examples/kanban → codeApp}/src/generated/models/Office365OutlookModel.ts +0 -0
  159. /package/{examples/kanban → codeApp}/src/generated/models/Office365UsersModel.ts +0 -0
  160. /package/{examples/kanban → codeApp}/src/generated/services/Office365GroupsService.ts +0 -0
  161. /package/{examples/kanban → codeApp}/src/generated/services/Office365OutlookService.ts +0 -0
  162. /package/{examples/kanban → codeApp}/src/generated/services/Office365UsersService.ts +0 -0
  163. /package/{dev files → examples/apps/kanban/dist}/environmentVar.js +0 -0
  164. /package/examples/{outlook Demo2 → apps/kanban}/src/generated/index.ts +0 -0
  165. /package/examples/{outlook Demo2 → apps/kanban}/src/generated/models/Office365GroupsModel.ts +0 -0
  166. /package/examples/{outlook Demo2 → apps/kanban}/src/generated/models/Office365OutlookModel.ts +0 -0
  167. /package/examples/{outlook Demo2 → apps/kanban}/src/generated/models/Office365UsersModel.ts +0 -0
  168. /package/examples/{outlook Demo2 → apps/kanban}/src/generated/services/Office365GroupsService.ts +0 -0
  169. /package/examples/{outlook Demo2 → apps/kanban}/src/generated/services/Office365OutlookService.ts +0 -0
  170. /package/examples/{outlook Demo2 → apps/kanban}/src/generated/services/Office365UsersService.ts +0 -0
  171. /package/examples/{planning Poker → apps/planning Poker}/additional files/AgilePoker_1_0_0_1.zip +0 -0
  172. /package/examples/{planning Poker → apps/planning Poker}/additional files/PokerTables_1_0_0_1.zip +0 -0
  173. /package/examples/{outlook Demo2 → apps/solution explorer}/dist/icon-512.png +0 -0
  174. /package/examples/{outlook Demo2 → apps/solution explorer}/dist/power-apps-data.js +0 -0
  175. /package/examples/{todo → apps/todo}/dist/icon192.png +0 -0
  176. /package/examples/{solution explorer → combined demo}/dist/icon-512.png +0 -0
@@ -0,0 +1,12 @@
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';
@@ -0,0 +1,107 @@
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
+ }
@@ -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
+ }