codeapp-js 0.2.1 → 0.3.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 (100) hide show
  1. package/codeApp/.power/schemas/appschemas/dataSourcesInfo.ts +6275 -0
  2. package/codeApp/.power/schemas/jira/jira.Schema.json +6903 -0
  3. package/codeApp/.power/schemas/keyvault/keyvault.Schema.json +1600 -0
  4. package/codeApp/.power/schemas/teams/teams.Schema.json +11112 -0
  5. package/codeApp/dist/codeapp.js +992 -4
  6. package/codeApp/dist/power-apps-data.js +145 -31
  7. package/codeApp/src/generated/index.ts +12 -0
  8. package/codeApp/src/generated/models/AzureKeyVaultModel.ts +107 -0
  9. package/codeApp/src/generated/models/JiraModel.ts +501 -0
  10. package/codeApp/src/generated/models/Office365GroupsModel.ts +363 -0
  11. package/codeApp/src/generated/models/Office365OutlookModel.ts +2046 -0
  12. package/codeApp/src/generated/models/Office365UsersModel.ts +254 -0
  13. package/codeApp/src/generated/services/AzureKeyVaultService.ts +257 -0
  14. package/codeApp/src/generated/services/JiraService.ts +1124 -0
  15. package/codeApp/src/generated/services/Office365GroupsService.ts +326 -0
  16. package/codeApp/src/generated/services/Office365OutlookService.ts +2476 -0
  17. package/codeApp/src/generated/services/Office365UsersService.ts +358 -0
  18. package/dev files/outlook.js +218 -9
  19. package/examples/combined demo/dist/codeapp.js +1098 -1098
  20. package/examples/combined demo/dist/index.js +470 -470
  21. package/examples/combined demo/dist/power-apps-data.js +3006 -3006
  22. package/examples/combined demo/power.config.json +42 -42
  23. package/examples/dataverse Demo/dist/codeapp.js +1085 -1085
  24. package/examples/dataverse Demo/dist/index.html +54 -54
  25. package/examples/dataverse Demo/dist/index.js +82 -82
  26. package/examples/dataverse Demo/dist/power-apps-data.js +2911 -2911
  27. package/examples/dataverse Demo/power.config.json +34 -34
  28. package/examples/dataverse Demo/readme.md +79 -79
  29. package/examples/groups Demo/dist/codeapp.js +1085 -1085
  30. package/examples/groups Demo/dist/index.js +113 -113
  31. package/examples/groups Demo/dist/power-apps-data.js +2911 -2911
  32. package/examples/kanban/dist/dataverse.js +94 -94
  33. package/examples/kanban/dist/environmentVar.js +55 -55
  34. package/examples/kanban/dist/office365groups.js +97 -97
  35. package/examples/kanban/dist/office365users.js +169 -169
  36. package/examples/kanban/dist/outlook.js +162 -162
  37. package/examples/kanban/dist/power-apps-data.js +2953 -2953
  38. package/examples/kanban/dist/sharepoint.js +339 -339
  39. package/examples/myProfile/dist/index.html +184 -184
  40. package/examples/myProfile/dist/index.js +141 -141
  41. package/examples/myProfile/dist/office365users.js +169 -169
  42. package/examples/myProfile/dist/power-apps-data.js +2953 -2953
  43. package/examples/myProfile/power.config.json +22 -22
  44. package/examples/myProfile/readme.md +79 -79
  45. package/examples/outlook Demo/dist/codeapp.js +1085 -1085
  46. package/examples/outlook Demo/dist/index.html +35 -35
  47. package/examples/outlook Demo/dist/index.js +170 -170
  48. package/examples/outlook Demo/dist/outlook.js +121 -121
  49. package/examples/outlook Demo/dist/power-apps-data.js +2911 -2911
  50. package/examples/outlook Demo/dist/styles.css +84 -84
  51. package/examples/outlook Demo/readme.md +82 -82
  52. package/examples/outlook Demo2/OutlookDemo_1_0_0_1.zip +0 -0
  53. package/examples/outlook Demo2/agent/decision-log.md +7 -0
  54. package/examples/{solution explorer → outlook Demo2}/dist/codeapp.js +245 -9
  55. package/examples/outlook Demo2/dist/index.html +98 -0
  56. package/examples/outlook Demo2/dist/index.js +272 -0
  57. package/examples/outlook Demo2/dist/styles.css +639 -0
  58. package/examples/outlook Demo2/power.config.json +23 -0
  59. package/examples/outlook Demo2/src/generated/index.ts +14 -0
  60. package/examples/outlook Demo2/src/generated/models/Office365GroupsModel.ts +363 -0
  61. package/examples/outlook Demo2/src/generated/models/Office365OutlookModel.ts +2046 -0
  62. package/examples/outlook Demo2/src/generated/models/Office365UsersModel.ts +254 -0
  63. package/examples/outlook Demo2/src/generated/services/Office365GroupsService.ts +326 -0
  64. package/examples/outlook Demo2/src/generated/services/Office365OutlookService.ts +2476 -0
  65. package/examples/outlook Demo2/src/generated/services/Office365UsersService.ts +358 -0
  66. package/examples/planning Poker/.vscode/settings.json +4 -4
  67. package/examples/planning Poker/additional files/customizations (tables).xml +6428 -6428
  68. package/examples/planning Poker/additional files/dataverse-tables.json +165 -165
  69. package/examples/planning Poker/additional files/readme.md +122 -122
  70. package/examples/planning Poker/dist/dataverse.js +78 -78
  71. package/examples/planning Poker/dist/index.html +198 -198
  72. package/examples/planning Poker/dist/index.js +954 -954
  73. package/examples/planning Poker/dist/power-apps-data.js +2953 -2953
  74. package/examples/planning Poker/dist/styles.css +815 -815
  75. package/examples/sharePoint Demo/agent/decision-log.md +5 -5
  76. package/examples/sharePoint Demo/dist/codeapp.js +1085 -1085
  77. package/examples/sharePoint Demo/dist/index.js +262 -262
  78. package/examples/sharePoint Demo/dist/power-apps-data.js +2911 -2911
  79. package/examples/sharePoint Demo/power.config.json +22 -22
  80. package/examples/todo/dist/dataverse.js +64 -64
  81. package/examples/todo/dist/index.html +75 -75
  82. package/examples/todo/dist/index.js +8 -8
  83. package/examples/todo/dist/power-apps-data.js +2953 -2953
  84. package/examples/todo/dist/renderer.js +375 -375
  85. package/examples/todo/dist/styles.css +691 -691
  86. package/examples/todo/power.config.json +34 -34
  87. package/package.json +1 -1
  88. package/readme.md +33 -4
  89. package/examples/solution explorer/agent/decision-log.md +0 -27
  90. package/examples/solution explorer/agent/mockup-01-swiss-grid.html +0 -452
  91. package/examples/solution explorer/agent/mockup-02-dark-glass.html +0 -496
  92. package/examples/solution explorer/agent/mockup-03-paper-console.html +0 -510
  93. package/examples/solution explorer/agent/mockup-04-neon-noir.html +0 -546
  94. package/examples/solution explorer/agent/mockup-05-zen-garden.html +0 -534
  95. package/examples/solution explorer/dist/index.html +0 -80
  96. package/examples/solution explorer/dist/index.js +0 -735
  97. package/examples/solution explorer/dist/styles.css +0 -571
  98. package/examples/solution explorer/power.config.json +0 -151
  99. /package/examples/{solution explorer → outlook Demo2}/dist/icon-512.png +0 -0
  100. /package/examples/{solution explorer → outlook Demo2}/dist/power-apps-data.js +0 -0
@@ -0,0 +1,363 @@
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 SensitivityLabelMetadata {
7
+ // SensitivityLabel Id.
8
+ sensitivityLabelId?: string;
9
+ // SensitivityLabel name.
10
+ name?: string;
11
+ // SensitivityLabel displayName info
12
+ displayName?: string;
13
+ // SensitivityLabel details on tooltip.
14
+ tooltip?: string;
15
+ // SensitivityLabel priority.
16
+ priority?: number;
17
+ // SensitivityLabel color.
18
+ color?: string;
19
+ // is SensitivityLabel Encrypted.
20
+ isEncrypted?: boolean;
21
+ // Whether SensitivityLabel is Enabled.
22
+ isEnabled?: boolean;
23
+ // Whether SensitivityLabel is Parent.
24
+ isParent?: boolean;
25
+ // Parent SensitivityLabel Id.
26
+ parentSensitivityLabelId?: string;
27
+ }
28
+
29
+ export interface ListGroupMembers_Response {
30
+ // The OData context.
31
+ "@odata.context"?: string;
32
+ // Only used in Power Apps Canvas to genereate the `$skipToken` for pagination. Power Automate and Logic Apps must use the pagination setting.
33
+ "@odata.nextLink"?: string;
34
+ // value
35
+ value?: {
36
+ // Unique id of the user.
37
+ id?: string;
38
+ // User's display name.
39
+ displayName?: string;
40
+ // User's first name.
41
+ givenName?: string;
42
+ // User's job title.
43
+ jobTitle?: string;
44
+ // User's email address.
45
+ mail?: string;
46
+ // User's mobile number.
47
+ mobilePhone?: string;
48
+ // User's office address.
49
+ officeLocation?: string;
50
+ // User's last name.
51
+ surname?: string;
52
+ // UPN id of the user.
53
+ userPrincipalName?: string;
54
+ }[];
55
+ }
56
+
57
+ export interface OnGroupMemberAddedOrRemoved_ResponseItem {
58
+ // Unique id of the user.
59
+ id?: string;
60
+ _removed?: {
61
+ // Reason that caused the user to be removed from the group.
62
+ reason?: string;
63
+ };
64
+ }
65
+
66
+ export type OnGroupMemberAddedOrRemoved_Response = OnGroupMemberAddedOrRemoved_ResponseItem[];
67
+
68
+ export interface ListOwnedGroups_Response {
69
+ // The OData context.
70
+ "@odata.context"?: string;
71
+ // value
72
+ value?: {
73
+ // O365 group classification.
74
+ classification?: string;
75
+ // yyyy-MM-ddTHH:mm:ss.fffZ (ISO8601 format, UTC timezone)
76
+ createdDateTime?: string;
77
+ // yyyy-MM-ddTHH:mm:ss.fffZ (ISO8601 format, UTC timezone)
78
+ deletedDateTime?: string;
79
+ // More information about the group.
80
+ description?: string;
81
+ // O365 group name.
82
+ displayName?: string;
83
+ // Unique identifier of the group.
84
+ id?: string;
85
+ // Email address of the group.
86
+ mail?: string;
87
+ // True if mail is enabled for the group.
88
+ mailEnabled?: boolean;
89
+ // Group nickname.
90
+ mailNickname?: string;
91
+ // yyyy-MM-ddTHH:mm:ss.fffZ (ISO8601 format, UTC timezone)
92
+ onPremisesLastSyncDateTime?: string;
93
+ // The on-premises security identifier.
94
+ onPremisesSecurityIdentifier?: string;
95
+ // True if on-premises sync is enabled for the group.
96
+ onPremisesSyncEnabled?: string;
97
+ // yyyy-MM-ddTHH:mm:ss.fffZ (ISO8601 format, UTC timezone)
98
+ renewedDateTime?: string;
99
+ // True if the owner is security enabled.
100
+ securityEnabled?: boolean;
101
+ // The owner's visibility.
102
+ visibility?: string;
103
+ // List of Sensitivity Label Information
104
+ sensitivityLabelInfo?: SensitivityLabelMetadata[];
105
+ }[];
106
+ }
107
+
108
+ export interface ListOwnedGroups_V2_Response {
109
+ // The OData context.
110
+ "@odata.context"?: string;
111
+ // value
112
+ value?: {
113
+ // O365 group classification.
114
+ classification?: string;
115
+ // yyyy-MM-ddTHH:mm:ss.fffZ (ISO8601 format, UTC timezone)
116
+ createdDateTime?: string;
117
+ // More information about the group.
118
+ description?: string;
119
+ // O365 group name.
120
+ displayName?: string;
121
+ // Unique identifier of the group.
122
+ id?: string;
123
+ // Email address of the group.
124
+ mail?: string;
125
+ // True if mail is enabled for the group.
126
+ mailEnabled?: boolean;
127
+ // Group nickname.
128
+ mailNickname?: string;
129
+ // yyyy-MM-ddTHH:mm:ss.fffZ (ISO8601 format, UTC timezone)
130
+ onPremisesLastSyncDateTime?: string;
131
+ // The on-premises security identifier.
132
+ onPremisesSecurityIdentifier?: string;
133
+ // True if on-premises sync is enabled for the group.
134
+ onPremisesSyncEnabled?: string;
135
+ // yyyy-MM-ddTHH:mm:ss.fffZ (ISO8601 format, UTC timezone)
136
+ renewedDateTime?: string;
137
+ // True if the owner is security enabled.
138
+ securityEnabled?: boolean;
139
+ // The owner's visibility.
140
+ visibility?: string;
141
+ // List of Sensitivity Label Information
142
+ sensitivityLabelInfo?: SensitivityLabelMetadata[];
143
+ }[];
144
+ }
145
+
146
+ export interface ListGroups_Response {
147
+ // The OData context.
148
+ "@odata.context"?: string;
149
+ // Only used in Power Apps Canvas to genereate the `$skipToken` for pagination. Power Automate and Logic Apps must use the pagination setting.
150
+ "@odata.nextLink"?: string;
151
+ // value
152
+ value?: {
153
+ // O365 group classification.
154
+ classification?: string;
155
+ // yyyy-MM-ddTHH:mm:ss.fffZ (ISO8601 format, UTC timezone)
156
+ createdDateTime?: string;
157
+ // More information about the group.
158
+ description?: string;
159
+ // O365 group name.
160
+ displayName?: string;
161
+ // Unique identifier of the group.
162
+ id?: string;
163
+ // Email address of the group.
164
+ mail?: string;
165
+ // True if mail is enabled for the group.
166
+ mailEnabled?: boolean;
167
+ // Group nickname.
168
+ mailNickname?: string;
169
+ // yyyy-MM-ddTHH:mm:ss.fffZ (ISO8601 format, UTC timezone)
170
+ onPremisesLastSyncDateTime?: string;
171
+ // The on-premises security identifier.
172
+ onPremisesSecurityIdentifier?: string;
173
+ // True if on-premises sync is enabled for the group.
174
+ onPremisesSyncEnabled?: boolean;
175
+ // yyyy-MM-ddTHH:mm:ss.fffZ (ISO8601 format, UTC timezone)
176
+ renewedDateTime?: string;
177
+ // True if the owner is security enabled.
178
+ securityEnabled?: boolean;
179
+ // The owner's visibility.
180
+ visibility?: string;
181
+ // List of Sensitivity Label Information
182
+ sensitivityLabelInfo?: SensitivityLabelMetadata[];
183
+ }[];
184
+ }
185
+
186
+ export interface CreateCalendarEvent_Response {
187
+ // Unique id of the event.
188
+ id?: string;
189
+ // Time in minutes before event starts to remind.
190
+ reminderMinutesBeforeStart?: number;
191
+ // Set to true if the event has a reminder.
192
+ isReminderOn?: boolean;
193
+ // Title of the event.
194
+ subject?: string;
195
+ // The importance of the event: Low, Normal, or High.
196
+ importance?: string;
197
+ // True if the event is an all day event.
198
+ isAllDay?: boolean;
199
+ // True if a response was requested for the event.
200
+ responseRequested?: boolean;
201
+ // Status to show during the event.
202
+ showAs?: string;
203
+ // body
204
+ body?: {
205
+ // Text or Html.
206
+ contentType?: string;
207
+ // The content of the body of this event.
208
+ content?: string;
209
+ };
210
+ // start
211
+ start?: {
212
+ // Start time of the event (example: '2016-11-01T14:30:00-07:00').
213
+ dateTime?: string;
214
+ // Time zone of the event, specified as a time zone index value (example: 'Pacific Standard Time').
215
+ timeZone?: string;
216
+ };
217
+ // end
218
+ end?: {
219
+ // End time of the event (example: '2016-11-01T15:30:00-07:00').
220
+ dateTime?: string;
221
+ // Time zone of the event, specified as a time zone index value (example: 'Pacific Standard Time').
222
+ timeZone?: string;
223
+ };
224
+ // location
225
+ location?: {
226
+ // The display name for the location of the event.
227
+ displayName?: string;
228
+ };
229
+ }
230
+
231
+ export type UpdateCalendarEvent_RequestcontentType = 'Text'|'Html';
232
+ export type UpdateCalendarEvent_Requestimportance = 'Low'|'Normal'|'High';
233
+ export type UpdateCalendarEvent_RequestshowAs = 'Free'|'Tentative'|'Busy'|'Oof'|'WorkingElsewhere'|'Unknown';
234
+
235
+ export interface UpdateCalendarEvent_Request {
236
+ // Title of the event.
237
+ subject: string;
238
+ start: {
239
+ // Start time of the event (example: '2016-11-01T14:30:00').
240
+ dateTime: string;
241
+ // Time zone of the event, specified as a time zone index value (example: 'Pacific Standard Time').
242
+ timeZone: string;
243
+ };
244
+ end: {
245
+ // End time of the event (example: '2016-11-01T15:30:00').
246
+ dateTime: string;
247
+ // Time zone of the event, specified as a time zone index value (example: 'Pacific Standard Time').
248
+ timeZone: string;
249
+ };
250
+ body?: {
251
+ // Body of the message associated with the event.
252
+ content?: string;
253
+ // Pick the content type: Text or Html.
254
+ contentType?: UpdateCalendarEvent_RequestcontentType;
255
+ };
256
+ location?: {
257
+ // Location of the event.
258
+ displayName?: string;
259
+ };
260
+ // The importance of the event: Low, Normal, or High.
261
+ importance?: UpdateCalendarEvent_Requestimportance;
262
+ // Set to true if the event lasts all day.
263
+ isAllDay?: boolean;
264
+ // Set to true if the event has a reminder.
265
+ isReminderOn?: boolean;
266
+ // Time in minutes before event start to remind.
267
+ reminderMinutesBeforeStart?: number;
268
+ // Status to show during the event.
269
+ showAs?: UpdateCalendarEvent_RequestshowAs;
270
+ // Set to true if the sender would like a response when the event is accepted or declined.
271
+ responseRequested?: boolean;
272
+ }
273
+
274
+ export type UpdateCalendarEvent_HTMLRequestimportance = 'Low'|'Normal'|'High';
275
+ export type UpdateCalendarEvent_HTMLRequestshowAs = 'Free'|'Tentative'|'Busy'|'Oof'|'WorkingElsewhere'|'Unknown';
276
+
277
+ export interface UpdateCalendarEvent_HTMLRequest {
278
+ // Title of the event.
279
+ subject: string;
280
+ start: {
281
+ // Start time of the event (example: '2016-11-01T14:30:00').
282
+ dateTime: string;
283
+ // Time zone of the event, specified as a time zone index value (example: 'Pacific Standard Time').
284
+ timeZone: string;
285
+ };
286
+ end: {
287
+ // End time of the event (example: '2016-11-01T15:30:00').
288
+ dateTime: string;
289
+ // Time zone of the event, specified as a time zone index value (example: 'Pacific Standard Time').
290
+ timeZone: string;
291
+ };
292
+ body?: {
293
+ // Body of the message associated with the event.
294
+ content?: string;
295
+ // Pick the content type: Text or Html.
296
+ contentType: string;
297
+ };
298
+ location?: {
299
+ // Location of the event.
300
+ displayName?: string;
301
+ };
302
+ // The importance of the event: Low, Normal, or High.
303
+ importance?: UpdateCalendarEvent_HTMLRequestimportance;
304
+ // Set to true if the event lasts all day.
305
+ isAllDay?: boolean;
306
+ // Set to true if the event has a reminder.
307
+ isReminderOn?: boolean;
308
+ // Time in minutes before event start to remind.
309
+ reminderMinutesBeforeStart?: number;
310
+ // Status to show during the event.
311
+ showAs?: UpdateCalendarEvent_HTMLRequestshowAs;
312
+ // Set to true if the sender would like a response when the event is accepted or declined.
313
+ responseRequested?: boolean;
314
+ }
315
+
316
+ export interface OnNewEvent_ResponseItem {
317
+ // Unique id of the event.
318
+ id?: string;
319
+ // The number of minutes before the start of the event the reminder will fire.
320
+ reminderMinutesBeforeStart?: number;
321
+ // Set to true if the event has a reminder.
322
+ isReminderOn?: boolean;
323
+ // Title of the event.
324
+ subject?: string;
325
+ // The importance of the event: Low, Normal, or High.
326
+ importance?: string;
327
+ // Set to true if the event lasts all day.
328
+ isAllDay?: boolean;
329
+ // Set to true if the sender would like a response when the event is accepted or declined.
330
+ responseRequested?: boolean;
331
+ // Status to show during the event.
332
+ showAs?: string;
333
+ // body
334
+ body?: {
335
+ // Body of the message associated with the event.
336
+ contentType?: string;
337
+ // Pick the content type: Text or Html.
338
+ content?: string;
339
+ };
340
+ // start
341
+ start?: {
342
+ // Start time of the event (example: '2016-11-01T14:30:00-07:00').
343
+ dateTime?: string;
344
+ // Time zone of the event, specified as a time zone index value (example: 'Pacific Standard Time').
345
+ timeZone?: string;
346
+ };
347
+ // end
348
+ end?: {
349
+ // End time of the event (example: '2016-11-01T15:30:00-07:00').
350
+ dateTime?: string;
351
+ // Time zone of the event, specified as a time zone index value (example: 'Pacific Standard Time').
352
+ timeZone?: string;
353
+ };
354
+ // location
355
+ location?: {
356
+ // The display name for the location of the event.
357
+ displayName?: string;
358
+ };
359
+ }
360
+
361
+ export type OnNewEvent_Response = OnNewEvent_ResponseItem[];
362
+
363
+ export type ObjectWithoutType = object;