codeapp-js 0.3.0 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/AI/codeapp.agent.md +105 -0
- package/AI/skills/connections/SKILL.md +47 -0
- package/AI/skills/dataverse/SKILL.md +99 -0
- package/AI/skills/environment-variables/SKILL.md +89 -0
- package/AI/skills/frontend-design/SKILL.md +34 -0
- package/AI/skills/jira/SKILL.md +81 -0
- package/AI/skills/office365-groups/SKILL.md +61 -0
- package/AI/skills/office365-outlook/SKILL.md +52 -0
- package/AI/skills/office365-users/SKILL.md +78 -0
- package/AI/skills/sharepoint/SKILL.md +77 -0
- package/AI/skills/sql/SKILL.md +85 -0
- package/AI/skills/start/SKILL.md +46 -0
- package/AI/skills/teams/SKILL.md +55 -0
- package/{examples/combined demo/.power/schemas/office365groups/office365groups.Schema.json → codeApp/.power/schemas/office365groups/office365groups.Schema.json} +2203 -2203
- package/codeApp/dist/codeapp.js +95 -1792
- package/codeApp/dist/connectors/azureKeyvault.js +459 -0
- package/codeApp/dist/connectors/jira.js +1247 -0
- package/codeApp/dist/connectors/office365groups.js +642 -0
- package/codeApp/dist/connectors/office365users.js +513 -0
- package/codeApp/dist/connectors/outlook.js +1393 -0
- package/codeApp/dist/connectors/sharepoint.js +466 -0
- package/codeApp/dist/connectors/sql.js +149 -0
- package/codeApp/dist/connectors/teams.js +280 -0
- package/codeApp/dist/power-apps-data.js +16 -2
- package/examples/{kanban → apps/kanban}/dist/dataverse.js +94 -94
- package/examples/{kanban → apps/kanban}/dist/environmentVar.js +55 -55
- package/examples/{kanban → apps/kanban}/dist/index.css +605 -605
- package/examples/{kanban → apps/kanban}/dist/index.html +21 -21
- package/examples/{kanban → apps/kanban}/dist/index.js +860 -860
- package/examples/{kanban → apps/kanban}/dist/office365groups.js +97 -97
- package/examples/apps/kanban/dist/office365users.js +451 -0
- package/examples/{kanban → apps/kanban}/dist/outlook.js +162 -162
- package/examples/{planning Poker/dist/power-apps-data.js → apps/kanban/dist/power-apps-data.js} +2953 -2953
- package/examples/{kanban → apps/kanban}/dist/sharepoint.js +435 -339
- package/examples/{kanban → apps/kanban}/power.config.json +35 -35
- package/examples/{planning Poker → apps/planning Poker}/additional files/customizations (tables).xml +6428 -6428
- package/examples/{planning Poker → apps/planning Poker}/additional files/dataverse-tables.json +165 -165
- package/examples/{planning Poker → apps/planning Poker}/additional files/readme.md +122 -122
- package/examples/{planning Poker → apps/planning Poker}/dist/dataverse.js +78 -78
- package/examples/{planning Poker → apps/planning Poker}/dist/index.html +198 -198
- package/examples/{planning Poker → apps/planning Poker}/dist/index.js +954 -954
- package/examples/{todo/dist/power-apps-data.js → apps/planning Poker/dist/power-apps-data.js } +2953 -2953
- package/examples/{planning Poker → apps/planning Poker}/dist/styles.css +815 -815
- package/examples/{planning Poker → apps/planning Poker}/power.config.json +50 -50
- package/examples/{outlook Demo2 → apps/solution explorer}/dist/codeapp.js +9 -245
- package/examples/apps/solution explorer/dist/index.html +80 -0
- package/examples/apps/solution explorer/dist/index.js +735 -0
- package/examples/apps/solution explorer/dist/styles.css +571 -0
- package/examples/apps/solution explorer/power.config.json +151 -0
- package/examples/{todo → apps/todo}/dist/dataverse.js +64 -64
- package/examples/{todo → apps/todo}/dist/index.html +75 -75
- package/examples/{todo → apps/todo}/dist/index.js +8 -8
- package/examples/{kanban → apps/todo}/dist/power-apps-data.js +2953 -2953
- package/examples/{todo → apps/todo}/dist/renderer.js +375 -375
- package/examples/{todo → apps/todo}/dist/styles.css +691 -691
- package/examples/{todo → apps/todo}/power.config.json +34 -34
- package/examples/combined demo/.power/schemas/appschemas/dataSourcesInfo.ts +6275 -7830
- package/examples/combined demo/.power/schemas/jira/jira.Schema.json +6903 -0
- package/examples/combined demo/.power/schemas/keyvault/keyvault.Schema.json +1600 -0
- package/examples/combined demo/.power/schemas/teams/teams.Schema.json +11112 -0
- package/examples/combined demo/dist/codeapp.js +394 -1098
- package/examples/{outlook Demo2/OutlookDemo_1_0_0_1.zip → combined demo/dist/icon-512.png} +0 -0
- package/examples/combined demo/dist/index.html +29 -511
- package/examples/combined demo/dist/index.js +490 -470
- package/examples/combined demo/dist/office365users.js +513 -0
- package/examples/combined demo/dist/outlook.js +1393 -0
- package/examples/combined demo/dist/power-apps-data.js +3079 -3006
- package/examples/combined demo/dist/styles.css +483 -0
- package/examples/combined demo/power.config.json +33 -42
- package/examples/combined demo/src/generated/index.ts +12 -14
- package/examples/combined demo/src/generated/models/AzureKeyVaultModel.ts +107 -0
- package/examples/combined demo/src/generated/models/JiraModel.ts +501 -0
- package/examples/combined demo/src/generated/services/AzureKeyVaultService.ts +257 -0
- package/examples/combined demo/src/generated/services/JiraService.ts +1124 -0
- package/examples/dataverse Demo/dist/codeapp.js +394 -1085
- package/examples/dataverse Demo/dist/icon-512.png +0 -0
- package/examples/dataverse Demo/dist/index.html +146 -54
- package/examples/dataverse Demo/dist/index.js +693 -83
- package/examples/dataverse Demo/dist/power-apps-data.js +3079 -2911
- package/examples/dataverse Demo/dist/styles.css +528 -0
- package/examples/dataverse Demo/power.config.json +41 -35
- package/examples/dataverse Demo/readme.md +79 -79
- package/examples/groups Demo/dist/codeapp.js +394 -1085
- package/examples/groups Demo/dist/icon-512.png +0 -0
- package/examples/groups Demo/dist/index.html +21 -25
- package/examples/groups Demo/dist/index.js +304 -113
- package/examples/groups Demo/dist/office365groups.js +642 -0
- package/examples/groups Demo/dist/power-apps-data.js +3079 -2911
- package/examples/groups Demo/dist/styles.css +509 -0
- package/examples/groups Demo/power.config.json +25 -25
- package/examples/myProfile/dist/codeapp.js +398 -0
- package/examples/myProfile/dist/index.html +21 -184
- package/examples/myProfile/dist/index.js +324 -141
- package/examples/myProfile/dist/office365users.js +517 -169
- package/examples/myProfile/dist/power-apps-data.js +3080 -2953
- package/examples/myProfile/dist/styles.css +458 -0
- package/examples/myProfile/power.config.json +24 -23
- package/examples/outlook Demo/dist/codeapp.js +394 -1085
- package/examples/outlook Demo/dist/index.html +150 -35
- package/examples/outlook Demo/dist/index.js +516 -170
- package/examples/outlook Demo/dist/outlook.js +1393 -121
- package/examples/outlook Demo/dist/power-apps-data.js +3079 -2911
- package/examples/outlook Demo/dist/styles.css +408 -84
- package/examples/outlook Demo/power.config.json +24 -23
- package/examples/outlook Demo/readme.md +92 -82
- package/examples/sharePoint Demo/dist/codeapp.js +394 -1085
- package/examples/sharePoint Demo/dist/icon-512.png +0 -0
- package/examples/sharePoint Demo/dist/index.html +22 -255
- package/examples/sharePoint Demo/dist/index.js +899 -262
- package/examples/sharePoint Demo/dist/power-apps-data.js +3079 -2911
- package/{dev files → examples/sharePoint Demo/dist}/sharepoint.js +239 -112
- package/examples/sharePoint Demo/dist/styles.css +587 -0
- package/examples/sharePoint Demo/power.config.json +23 -22
- package/package.json +1 -1
- package/readme.md +465 -76
- package/.vscode/settings.json +0 -6
- package/dev files/customConnector.js +0 -98
- package/dev files/dataverse.js +0 -120
- package/dev files/environmentVar.js +0 -55
- package/dev files/office365groups.js +0 -65
- package/dev files/office365users.js +0 -169
- package/dev files/outlook.js +0 -330
- package/dev files/power-apps-data.js +0 -2952
- package/examples/combined demo/.power/schemas/office365/office365.Schema.json +0 -21098
- package/examples/combined demo/.power/schemas/office365users/office365users.Schema.json +0 -2094
- package/examples/kanban/agent/decision-log.md +0 -9
- package/examples/kanban/agent/mockup-01-editorial-glass.html +0 -159
- package/examples/kanban/agent/mockup-02-dark-rail.html +0 -147
- package/examples/kanban/agent/mockup-03-paper-grid.html +0 -114
- package/examples/kanban/agent/mockup-04-neon-minimal.html +0 -141
- package/examples/kanban/agent/mockup-05-mono-architect.html +0 -119
- package/examples/kanban/dist/office365users.js +0 -169
- package/examples/kanban/src/generated/index.ts +0 -14
- package/examples/kanban/src/generated/models/Office365GroupsModel.ts +0 -363
- package/examples/kanban/src/generated/models/Office365OutlookModel.ts +0 -2046
- package/examples/kanban/src/generated/models/Office365UsersModel.ts +0 -254
- package/examples/kanban/src/generated/services/Office365GroupsService.ts +0 -326
- package/examples/kanban/src/generated/services/Office365OutlookService.ts +0 -2476
- package/examples/kanban/src/generated/services/Office365UsersService.ts +0 -358
- package/examples/outlook Demo2/agent/decision-log.md +0 -7
- package/examples/outlook Demo2/dist/index.html +0 -98
- package/examples/outlook Demo2/dist/index.js +0 -272
- package/examples/outlook Demo2/dist/styles.css +0 -639
- package/examples/outlook Demo2/power.config.json +0 -23
- package/examples/planning Poker/.vscode/settings.json +0 -5
- package/examples/sharePoint Demo/agent/decision-log.md +0 -17
- /package/examples/{outlook Demo2 → apps/kanban}/src/generated/index.ts +0 -0
- /package/examples/{outlook Demo2 → apps/kanban}/src/generated/models/Office365GroupsModel.ts +0 -0
- /package/examples/{outlook Demo2 → apps/kanban}/src/generated/models/Office365OutlookModel.ts +0 -0
- /package/examples/{outlook Demo2 → apps/kanban}/src/generated/models/Office365UsersModel.ts +0 -0
- /package/examples/{outlook Demo2 → apps/kanban}/src/generated/services/Office365GroupsService.ts +0 -0
- /package/examples/{outlook Demo2 → apps/kanban}/src/generated/services/Office365OutlookService.ts +0 -0
- /package/examples/{outlook Demo2 → apps/kanban}/src/generated/services/Office365UsersService.ts +0 -0
- /package/examples/{planning Poker → apps/planning Poker}/additional files/AgilePoker_1_0_0_1.zip +0 -0
- /package/examples/{planning Poker → apps/planning Poker}/additional files/PokerTables_1_0_0_1.zip +0 -0
- /package/examples/{outlook Demo2 → apps/solution explorer}/dist/icon-512.png +0 -0
- /package/examples/{outlook Demo2 → apps/solution explorer}/dist/power-apps-data.js +0 -0
- /package/examples/{todo → apps/todo}/dist/icon192.png +0 -0
|
@@ -1,169 +0,0 @@
|
|
|
1
|
-
import { getClient } from "@microsoft/power-apps/data";
|
|
2
|
-
|
|
3
|
-
// ── Data source name (must match connectionReferences in power.config.json) ──
|
|
4
|
-
const DATA_SOURCE = "office365users";
|
|
5
|
-
|
|
6
|
-
// ── Initialize SDK client for the Office 365 Users connector ───
|
|
7
|
-
function initClient() {
|
|
8
|
-
const dataSourcesInfo = {
|
|
9
|
-
[DATA_SOURCE]: {
|
|
10
|
-
tableId: "",
|
|
11
|
-
version: "",
|
|
12
|
-
primaryKey: "",
|
|
13
|
-
dataSourceType: "Connector",
|
|
14
|
-
apis: {
|
|
15
|
-
MyProfile_V2: {
|
|
16
|
-
path: "/{connectionId}/codeless/v1.0/me",
|
|
17
|
-
method: "GET",
|
|
18
|
-
parameters: [
|
|
19
|
-
{ name: "connectionId", in: "path", required: true },
|
|
20
|
-
],
|
|
21
|
-
},
|
|
22
|
-
UserProfile_V2: {
|
|
23
|
-
path: "/{connectionId}/codeless/v1.0/users/{id}",
|
|
24
|
-
method: "GET",
|
|
25
|
-
parameters: [
|
|
26
|
-
{ name: "connectionId", in: "path", required: true },
|
|
27
|
-
{ name: "id", in: "path", required: true },
|
|
28
|
-
],
|
|
29
|
-
},
|
|
30
|
-
Manager_V2: {
|
|
31
|
-
path: "/{connectionId}/codeless/v1.0/users/{id}/manager",
|
|
32
|
-
method: "GET",
|
|
33
|
-
parameters: [
|
|
34
|
-
{ name: "connectionId", in: "path", required: true },
|
|
35
|
-
{ name: "id", in: "path", required: true },
|
|
36
|
-
],
|
|
37
|
-
},
|
|
38
|
-
DirectReports_V2: {
|
|
39
|
-
path: "/{connectionId}/codeless/v1.0/users/{id}/directReports",
|
|
40
|
-
method: "GET",
|
|
41
|
-
parameters: [
|
|
42
|
-
{ name: "connectionId", in: "path", required: true },
|
|
43
|
-
{ name: "id", in: "path", required: true },
|
|
44
|
-
],
|
|
45
|
-
},
|
|
46
|
-
UserPhoto_V2: {
|
|
47
|
-
path: "/{connectionId}/codeless/v1.0/users/{id}/photo/$value",
|
|
48
|
-
method: "GET",
|
|
49
|
-
parameters: [
|
|
50
|
-
{ name: "connectionId", in: "path", required: true },
|
|
51
|
-
{ name: "id", in: "path", required: true },
|
|
52
|
-
],
|
|
53
|
-
responseInfo: { "200": "image/jpeg" },
|
|
54
|
-
},
|
|
55
|
-
SearchUser_V2: {
|
|
56
|
-
path: "/{connectionId}/codeless/v1.0/users",
|
|
57
|
-
method: "GET",
|
|
58
|
-
parameters: [
|
|
59
|
-
{ name: "connectionId", in: "path", required: true },
|
|
60
|
-
{ name: "searchTerm", in: "query", required: false },
|
|
61
|
-
{ name: "$top", in: "query", required: false },
|
|
62
|
-
{ name: "$skip", in: "query", required: false },
|
|
63
|
-
],
|
|
64
|
-
},
|
|
65
|
-
HttpRequest: {
|
|
66
|
-
path: "/{connectionId}/codeless/v1.0/httprequest",
|
|
67
|
-
method: "POST",
|
|
68
|
-
parameters: [
|
|
69
|
-
{ name: "connectionId", in: "path", required: true },
|
|
70
|
-
],
|
|
71
|
-
},
|
|
72
|
-
},
|
|
73
|
-
},
|
|
74
|
-
};
|
|
75
|
-
return getClient(dataSourcesInfo);
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
// ── Internal: execute a connector operation ────────────────────
|
|
79
|
-
async function execOp(operationName, parameters) {
|
|
80
|
-
const client = await initClient();
|
|
81
|
-
const result = await client.executeAsync({
|
|
82
|
-
connectorOperation: {
|
|
83
|
-
tableName: DATA_SOURCE,
|
|
84
|
-
operationName,
|
|
85
|
-
parameters,
|
|
86
|
-
},
|
|
87
|
-
});
|
|
88
|
-
if (!result.success) {
|
|
89
|
-
throw new Error(result.error?.message || "Operation failed");
|
|
90
|
-
}
|
|
91
|
-
return result.data;
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
// ═══════════════════════════════════════════════════════════════
|
|
95
|
-
// GENERIC
|
|
96
|
-
// ═══════════════════════════════════════════════════════════════
|
|
97
|
-
|
|
98
|
-
// ── Call any Office 365 Users operation by name ────────────────
|
|
99
|
-
export async function callUsersOperation(operationName, parameters = {}) {
|
|
100
|
-
return execOp(operationName, parameters);
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
// ── Open HTTP Request ──────────────────────────────────────────
|
|
104
|
-
export async function openHttpRequest({ method = "GET", uri, headers, body }) {
|
|
105
|
-
return execOp("HttpRequest", {
|
|
106
|
-
method,
|
|
107
|
-
uri,
|
|
108
|
-
headers: headers || {},
|
|
109
|
-
body: body || "",
|
|
110
|
-
});
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
// ═══════════════════════════════════════════════════════════════
|
|
114
|
-
// PROFILE
|
|
115
|
-
// ═══════════════════════════════════════════════════════════════
|
|
116
|
-
|
|
117
|
-
// ── Get My Profile ─────────────────────────────────────────────
|
|
118
|
-
export async function getMyProfile() {
|
|
119
|
-
return execOp("MyProfile_V2", {});
|
|
120
|
-
}
|
|
121
|
-
|
|
122
|
-
// ── Get User Profile ───────────────────────────────────────────
|
|
123
|
-
export async function getUserProfile(userId) {
|
|
124
|
-
return execOp("UserProfile_V2", {
|
|
125
|
-
id: userId,
|
|
126
|
-
});
|
|
127
|
-
}
|
|
128
|
-
|
|
129
|
-
// ═══════════════════════════════════════════════════════════════
|
|
130
|
-
// MANAGER & REPORTS
|
|
131
|
-
// ═══════════════════════════════════════════════════════════════
|
|
132
|
-
|
|
133
|
-
// ── Get Manager ────────────────────────────────────────────────
|
|
134
|
-
export async function getManager(userId) {
|
|
135
|
-
return execOp("Manager_V2", {
|
|
136
|
-
id: userId,
|
|
137
|
-
});
|
|
138
|
-
}
|
|
139
|
-
|
|
140
|
-
// ── Get Direct Reports ─────────────────────────────────────────
|
|
141
|
-
export async function getDirectReports(userId) {
|
|
142
|
-
return execOp("DirectReports_V2", {
|
|
143
|
-
id: userId,
|
|
144
|
-
});
|
|
145
|
-
}
|
|
146
|
-
|
|
147
|
-
// ═══════════════════════════════════════════════════════════════
|
|
148
|
-
// PHOTO
|
|
149
|
-
// ═══════════════════════════════════════════════════════════════
|
|
150
|
-
|
|
151
|
-
// ── Get User Photo ─────────────────────────────────────────────
|
|
152
|
-
export async function getUserPhoto(userId) {
|
|
153
|
-
return execOp("UserPhoto_V2", {
|
|
154
|
-
id: userId,
|
|
155
|
-
});
|
|
156
|
-
}
|
|
157
|
-
|
|
158
|
-
// ═══════════════════════════════════════════════════════════════
|
|
159
|
-
// SEARCH
|
|
160
|
-
// ═══════════════════════════════════════════════════════════════
|
|
161
|
-
|
|
162
|
-
// ── Search for Users ───────────────────────────────────────────
|
|
163
|
-
export async function searchForUsers({ searchTerm, top, skip } = {}) {
|
|
164
|
-
const params = {};
|
|
165
|
-
if (searchTerm) params.searchTerm = searchTerm;
|
|
166
|
-
if (top != null) params.$top = top;
|
|
167
|
-
if (skip != null) params.$skip = skip;
|
|
168
|
-
return execOp("SearchUser_V2", params);
|
|
169
|
-
}
|
|
@@ -1,14 +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 Office365GroupsModel from './models/Office365GroupsModel';
|
|
8
|
-
export * as Office365OutlookModel from './models/Office365OutlookModel';
|
|
9
|
-
export * as Office365UsersModel from './models/Office365UsersModel';
|
|
10
|
-
|
|
11
|
-
// Services
|
|
12
|
-
export * from './services/Office365GroupsService';
|
|
13
|
-
export * from './services/Office365OutlookService';
|
|
14
|
-
export * from './services/Office365UsersService';
|
|
@@ -1,363 +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 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;
|