codeapp-js 0.1.1 → 0.2.2

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 (121) hide show
  1. package/codeApp/dist/codeapp.js +552 -78
  2. package/codeApp/dist/power-apps-data.js +2531 -2531
  3. package/dev files/outlook.js +218 -9
  4. package/examples/combined demo/dist/codeapp.js +1098 -0
  5. package/examples/combined demo/dist/index.js +69 -114
  6. package/examples/combined demo/dist/power-apps-data.js +646 -170
  7. package/examples/combined demo/power.config.json +42 -42
  8. package/examples/dataverse Demo/dist/codeapp.js +1085 -0
  9. package/examples/dataverse Demo/dist/index.html +54 -54
  10. package/examples/dataverse Demo/dist/index.js +82 -70
  11. package/examples/dataverse Demo/dist/power-apps-data.js +551 -170
  12. package/examples/dataverse Demo/power.config.json +34 -34
  13. package/examples/dataverse Demo/readme.md +79 -79
  14. package/examples/groups Demo/dist/codeapp.js +1085 -0
  15. package/examples/groups Demo/dist/index.js +27 -27
  16. package/examples/groups Demo/dist/power-apps-data.js +551 -170
  17. package/examples/kanban/dist/dataverse.js +94 -94
  18. package/examples/kanban/dist/environmentVar.js +55 -55
  19. package/examples/kanban/dist/office365groups.js +97 -97
  20. package/examples/kanban/dist/office365users.js +169 -169
  21. package/examples/kanban/dist/outlook.js +162 -162
  22. package/examples/kanban/dist/power-apps-data.js +560 -138
  23. package/examples/kanban/dist/sharepoint.js +339 -339
  24. package/examples/myProfile/dist/index.html +184 -184
  25. package/examples/myProfile/dist/index.js +141 -141
  26. package/examples/myProfile/dist/office365users.js +169 -169
  27. package/examples/myProfile/dist/power-apps-data.js +560 -138
  28. package/examples/myProfile/power.config.json +22 -22
  29. package/examples/myProfile/readme.md +79 -79
  30. package/examples/outlook Demo/dist/codeapp.js +1085 -0
  31. package/examples/outlook Demo/dist/index.html +35 -35
  32. package/examples/outlook Demo/dist/index.js +170 -166
  33. package/examples/outlook Demo/dist/outlook.js +121 -121
  34. package/examples/outlook Demo/dist/power-apps-data.js +551 -170
  35. package/examples/outlook Demo/dist/styles.css +84 -84
  36. package/examples/outlook Demo/readme.md +82 -82
  37. package/examples/outlook Demo2/OutlookDemo_1_0_0_1.zip +0 -0
  38. package/examples/outlook Demo2/agent/decision-log.md +7 -0
  39. package/examples/outlook Demo2/dist/codeapp.js +1334 -0
  40. package/examples/outlook Demo2/dist/icon-512.png +0 -0
  41. package/examples/outlook Demo2/dist/index.html +98 -0
  42. package/examples/outlook Demo2/dist/index.js +346 -0
  43. package/examples/outlook Demo2/dist/power-apps-data.js +3007 -0
  44. package/examples/outlook Demo2/dist/styles.css +639 -0
  45. package/examples/outlook Demo2/power.config.json +23 -0
  46. package/examples/outlook Demo2/src/generated/index.ts +14 -0
  47. package/examples/outlook Demo2/src/generated/models/Office365GroupsModel.ts +363 -0
  48. package/examples/outlook Demo2/src/generated/models/Office365OutlookModel.ts +2046 -0
  49. package/examples/outlook Demo2/src/generated/models/Office365UsersModel.ts +254 -0
  50. package/examples/outlook Demo2/src/generated/services/Office365GroupsService.ts +326 -0
  51. package/examples/outlook Demo2/src/generated/services/Office365OutlookService.ts +2476 -0
  52. package/examples/outlook Demo2/src/generated/services/Office365UsersService.ts +358 -0
  53. package/examples/planning Poker/.vscode/settings.json +4 -4
  54. package/examples/planning Poker/additional files/customizations (tables).xml +6428 -6428
  55. package/examples/planning Poker/additional files/dataverse-tables.json +165 -165
  56. package/examples/planning Poker/additional files/readme.md +122 -122
  57. package/examples/planning Poker/dist/dataverse.js +78 -78
  58. package/examples/planning Poker/dist/index.html +198 -198
  59. package/examples/planning Poker/dist/index.js +954 -954
  60. package/examples/planning Poker/dist/power-apps-data.js +560 -138
  61. package/examples/planning Poker/dist/styles.css +815 -815
  62. package/examples/sharePoint Demo/agent/decision-log.md +5 -5
  63. package/examples/sharePoint Demo/dist/codeapp.js +1085 -0
  64. package/examples/sharePoint Demo/dist/index.js +44 -51
  65. package/examples/sharePoint Demo/dist/power-apps-data.js +551 -170
  66. package/examples/sharePoint Demo/power.config.json +22 -22
  67. package/examples/solution explorer/agent/decision-log.md +27 -0
  68. package/examples/solution explorer/agent/mockup-01-swiss-grid.html +452 -0
  69. package/examples/solution explorer/agent/mockup-02-dark-glass.html +496 -0
  70. package/examples/solution explorer/agent/mockup-03-paper-console.html +510 -0
  71. package/examples/solution explorer/agent/mockup-04-neon-noir.html +546 -0
  72. package/examples/solution explorer/agent/mockup-05-zen-garden.html +534 -0
  73. package/examples/solution explorer/dist/codeapp.js +1098 -0
  74. package/examples/solution explorer/dist/icon-512.png +0 -0
  75. package/examples/solution explorer/dist/index.html +80 -0
  76. package/examples/solution explorer/dist/index.js +735 -0
  77. package/examples/solution explorer/dist/power-apps-data.js +3007 -0
  78. package/examples/solution explorer/dist/styles.css +571 -0
  79. package/examples/solution explorer/power.config.json +151 -0
  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 +560 -138
  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 -8
  88. package/docs-mockups/atelier/index.html +0 -120
  89. package/docs-mockups/atelier/script.js +0 -23
  90. package/docs-mockups/atelier/styles.css +0 -361
  91. package/docs-mockups/field-guide/index.html +0 -112
  92. package/docs-mockups/field-guide/script.js +0 -20
  93. package/docs-mockups/field-guide/styles.css +0 -272
  94. package/docs-mockups/index.html +0 -80
  95. package/docs-mockups/maker-hub/index.html +0 -178
  96. package/docs-mockups/maker-hub/script.js +0 -20
  97. package/docs-mockups/maker-hub/styles.css +0 -404
  98. package/docs-mockups/script.js +0 -26
  99. package/docs-mockups/signal/index.html +0 -146
  100. package/docs-mockups/signal/script.js +0 -20
  101. package/docs-mockups/signal/styles.css +0 -314
  102. package/docs-mockups/styles.css +0 -287
  103. package/examples/combined demo/dist/dataverse.js +0 -86
  104. package/examples/combined demo/dist/environmentVar.js +0 -55
  105. package/examples/combined demo/dist/office365groups.js +0 -97
  106. package/examples/combined demo/dist/office365users.js +0 -169
  107. package/examples/combined demo/dist/outlook.js +0 -162
  108. package/examples/combined demo/dist/sharepoint.js +0 -339
  109. package/examples/dataverse Demo/dist/dataverse.js +0 -86
  110. package/examples/groups Demo/dist/dataverse.js +0 -86
  111. package/examples/groups Demo/dist/environmentVar.js +0 -55
  112. package/examples/groups Demo/dist/office365groups.js +0 -97
  113. package/examples/groups Demo/dist/office365users.js +0 -169
  114. package/examples/groups Demo/dist/outlook.js +0 -162
  115. package/examples/groups Demo/dist/sharepoint.js +0 -339
  116. package/examples/sharePoint Demo/dist/dataverse.js +0 -94
  117. package/examples/sharePoint Demo/dist/environmentVar.js +0 -55
  118. package/examples/sharePoint Demo/dist/office365groups.js +0 -97
  119. package/examples/sharePoint Demo/dist/office365users.js +0 -169
  120. package/examples/sharePoint Demo/dist/outlook.js +0 -162
  121. package/examples/sharePoint Demo/dist/sharepoint.js +0 -339
@@ -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;