codeapp-js 1.0.2 → 1.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (128) hide show
  1. package/AI/skills/autoreview/SKILL.md +69 -0
  2. package/AI/skills/connections/SKILL.md +4 -4
  3. package/AI/skills/dataverse/SKILL.md +4 -2
  4. package/AI/skills/keyvault/SKILL.md +139 -0
  5. package/AI/skills/office365-groups/SKILL.md +46 -25
  6. package/AI/skills/office365-outlook/SKILL.md +56 -25
  7. package/AI/skills/office365-users/SKILL.md +41 -36
  8. package/AI/skills/sharepoint/SKILL.md +174 -31
  9. package/AI/skills/start/SKILL.md +1 -0
  10. package/codeApp/dist/connectors/autoreview.js +1654 -0
  11. package/codeApp/dist/connectors/office365groups.js +2995 -432
  12. package/{examples/outlook Demo/.power/schemas/office365/office365.Schema.json → codeApp/dist/connectors/office365outlook.js} +7439 -16
  13. package/codeApp/dist/connectors/office365users.js +2990 -349
  14. package/codeApp/dist/connectors/sharepoint.js +529 -308
  15. package/examples/combined demo/dist/connectors/office365outlook.js +28521 -0
  16. package/examples/combined demo/dist/connectors/office365users.js +3154 -0
  17. package/examples/combined demo/dist/index.js +2 -6
  18. package/examples/combined demo/power.config.json +1 -1
  19. package/examples/groups Demo/{.power/schemas/office365groups/office365groups.Schema.json → dist/connectors/office365groups.js } +3205 -2204
  20. package/examples/groups Demo/dist/index.js +1 -5
  21. package/examples/groups Demo/power.config.json +1 -1
  22. package/examples/myProfile/dist/connectors/office365users.js +3154 -0
  23. package/examples/myProfile/dist/index.js +1 -5
  24. package/examples/myProfile/power.config.json +1 -1
  25. package/examples/outlook Demo/dist/connectors/office365outlook.js +28521 -0
  26. package/examples/outlook Demo/dist/index.js +2 -5
  27. package/examples/outlook Demo/power.config.json +1 -1
  28. package/examples/sharePoint Demo/dist/connectors/sharepoint.js +687 -0
  29. package/examples/sharePoint Demo/dist/index.js +86 -127
  30. package/examples/sharePoint Demo/power.config.json +1 -1
  31. package/package.json +1 -1
  32. package/codeApp/.power/schemas/appschemas/dataSourcesInfo.ts +0 -6275
  33. package/codeApp/.power/schemas/jira/jira.Schema.json +0 -6903
  34. package/codeApp/.power/schemas/keyvault/keyvault.Schema.json +0 -1600
  35. package/codeApp/.power/schemas/office365groups/office365groups.Schema.json +0 -2204
  36. package/codeApp/.power/schemas/teams/teams.Schema.json +0 -11112
  37. package/codeApp/dist/connectors/outlook.js +0 -1393
  38. package/codeApp/src/generated/models/AzureKeyVaultModel.ts +0 -107
  39. package/codeApp/src/generated/models/JiraModel.ts +0 -501
  40. package/codeApp/src/generated/models/Office365GroupsModel.ts +0 -363
  41. package/codeApp/src/generated/models/Office365OutlookModel.ts +0 -2046
  42. package/codeApp/src/generated/models/Office365UsersModel.ts +0 -254
  43. package/codeApp/src/generated/services/AzureKeyVaultService.ts +0 -257
  44. package/codeApp/src/generated/services/JiraService.ts +0 -1124
  45. package/codeApp/src/generated/services/Office365GroupsService.ts +0 -326
  46. package/codeApp/src/generated/services/Office365OutlookService.ts +0 -2476
  47. package/codeApp/src/generated/services/Office365UsersService.ts +0 -358
  48. package/examples/apps/kanban/dist/dataverse.js +0 -94
  49. package/examples/apps/kanban/dist/environmentVar.js +0 -55
  50. package/examples/apps/kanban/dist/index.css +0 -605
  51. package/examples/apps/kanban/dist/index.html +0 -21
  52. package/examples/apps/kanban/dist/index.js +0 -860
  53. package/examples/apps/kanban/dist/office365groups.js +0 -97
  54. package/examples/apps/kanban/dist/office365users.js +0 -451
  55. package/examples/apps/kanban/dist/outlook.js +0 -162
  56. package/examples/apps/kanban/dist/power-apps-data.js +0 -2953
  57. package/examples/apps/kanban/dist/sharepoint.js +0 -435
  58. package/examples/apps/kanban/power.config.json +0 -35
  59. package/examples/apps/kanban/src/generated/index.ts +0 -14
  60. package/examples/apps/kanban/src/generated/models/Office365GroupsModel.ts +0 -363
  61. package/examples/apps/kanban/src/generated/models/Office365OutlookModel.ts +0 -2046
  62. package/examples/apps/kanban/src/generated/models/Office365UsersModel.ts +0 -254
  63. package/examples/apps/kanban/src/generated/services/Office365GroupsService.ts +0 -326
  64. package/examples/apps/kanban/src/generated/services/Office365OutlookService.ts +0 -2476
  65. package/examples/apps/kanban/src/generated/services/Office365UsersService.ts +0 -358
  66. package/examples/apps/planning Poker/additional files/AgilePoker_1_0_0_1.zip +0 -0
  67. package/examples/apps/planning Poker/additional files/PokerTables_1_0_0_1.zip +0 -0
  68. package/examples/apps/planning Poker/additional files/customizations (tables).xml +0 -6429
  69. package/examples/apps/planning Poker/additional files/dataverse-tables.json +0 -165
  70. package/examples/apps/planning Poker/additional files/readme.md +0 -122
  71. package/examples/apps/planning Poker/dist/dataverse.js +0 -78
  72. package/examples/apps/planning Poker/dist/index.html +0 -198
  73. package/examples/apps/planning Poker/dist/index.js +0 -955
  74. package/examples/apps/planning Poker/dist/power-apps-data.js +0 -2953
  75. package/examples/apps/planning Poker/dist/styles.css +0 -815
  76. package/examples/apps/planning Poker/power.config.json +0 -50
  77. package/examples/apps/solution explorer/dist/codeapp.js +0 -1098
  78. package/examples/apps/solution explorer/dist/icon-512.png +0 -0
  79. package/examples/apps/solution explorer/dist/index.html +0 -80
  80. package/examples/apps/solution explorer/dist/index.js +0 -735
  81. package/examples/apps/solution explorer/dist/power-apps-data.js +0 -3007
  82. package/examples/apps/solution explorer/dist/styles.css +0 -571
  83. package/examples/apps/solution explorer/power.config.json +0 -151
  84. package/examples/apps/todo/dist/dataverse.js +0 -64
  85. package/examples/apps/todo/dist/icon192.png +0 -0
  86. package/examples/apps/todo/dist/index.html +0 -75
  87. package/examples/apps/todo/dist/index.js +0 -9
  88. package/examples/apps/todo/dist/power-apps-data.js +0 -2953
  89. package/examples/apps/todo/dist/renderer.js +0 -375
  90. package/examples/apps/todo/dist/styles.css +0 -691
  91. package/examples/apps/todo/power.config.json +0 -35
  92. package/examples/combined demo/.power/schemas/appschemas/dataSourcesInfo.ts +0 -6275
  93. package/examples/combined demo/.power/schemas/jira/jira.Schema.json +0 -6903
  94. package/examples/combined demo/.power/schemas/keyvault/keyvault.Schema.json +0 -1600
  95. package/examples/combined demo/.power/schemas/teams/teams.Schema.json +0 -11112
  96. package/examples/combined demo/dist/office365users.js +0 -513
  97. package/examples/combined demo/dist/outlook.js +0 -1393
  98. package/examples/combined demo/src/generated/index.ts +0 -12
  99. package/examples/combined demo/src/generated/models/AzureKeyVaultModel.ts +0 -107
  100. package/examples/combined demo/src/generated/models/JiraModel.ts +0 -501
  101. package/examples/combined demo/src/generated/models/Office365GroupsModel.ts +0 -363
  102. package/examples/combined demo/src/generated/models/Office365OutlookModel.ts +0 -2046
  103. package/examples/combined demo/src/generated/models/Office365UsersModel.ts +0 -254
  104. package/examples/combined demo/src/generated/services/AzureKeyVaultService.ts +0 -257
  105. package/examples/combined demo/src/generated/services/JiraService.ts +0 -1124
  106. package/examples/combined demo/src/generated/services/Office365GroupsService.ts +0 -326
  107. package/examples/combined demo/src/generated/services/Office365OutlookService.ts +0 -2476
  108. package/examples/combined demo/src/generated/services/Office365UsersService.ts +0 -358
  109. package/examples/groups Demo/.power/schemas/appschemas/dataSourcesInfo.ts +0 -613
  110. package/examples/groups Demo/dist/office365groups.js +0 -642
  111. package/examples/groups Demo/src/generated/index.ts +0 -10
  112. package/examples/groups Demo/src/generated/models/Office365GroupsModel.ts +0 -363
  113. package/examples/groups Demo/src/generated/services/Office365GroupsService.ts +0 -326
  114. package/examples/myProfile/dist/office365users.js +0 -517
  115. package/examples/outlook Demo/.power/schemas/appschemas/dataSourcesInfo.ts +0 -6512
  116. package/examples/outlook Demo/dist/outlook.js +0 -1393
  117. package/examples/outlook Demo/src/generated/index.ts +0 -10
  118. package/examples/outlook Demo/src/generated/models/Office365OutlookModel.ts +0 -2046
  119. package/examples/outlook Demo/src/generated/services/Office365OutlookService.ts +0 -2476
  120. package/examples/sharePoint Demo/dist/sharepoint.js +0 -466
  121. package/examples/sharePoint Demo/src/generated/index.ts +0 -14
  122. package/examples/sharePoint Demo/src/generated/models/Office365GroupsModel.ts +0 -363
  123. package/examples/sharePoint Demo/src/generated/models/Office365OutlookModel.ts +0 -2046
  124. package/examples/sharePoint Demo/src/generated/models/Office365UsersModel.ts +0 -254
  125. package/examples/sharePoint Demo/src/generated/services/Office365GroupsService.ts +0 -326
  126. package/examples/sharePoint Demo/src/generated/services/Office365OutlookService.ts +0 -2476
  127. package/examples/sharePoint Demo/src/generated/services/Office365UsersService.ts +0 -358
  128. package/readme.md +0 -590
@@ -1,358 +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
- import type { ClientPhotoMetadata } from '../models/Office365UsersModel';
7
- import type { EntityListResponse_IReadOnlyList_User } from '../models/Office365UsersModel';
8
- import type { GraphTrending } from '../models/Office365UsersModel';
9
- import type { GraphUserUpdateable_V1 } from '../models/Office365UsersModel';
10
- import type { GraphUser_V1 } from '../models/Office365UsersModel';
11
- import type { IOperationResult } from '@microsoft/power-apps/data';
12
- import type { LinklessEntityListResponse_List_Person } from '../models/Office365UsersModel';
13
- import type { ObjectWithoutType } from '../models/Office365UsersModel';
14
- import type { User } from '../models/Office365UsersModel';
15
- import { dataSourcesInfo } from '../../../.power/schemas/appschemas/dataSourcesInfo';
16
- import { getClient } from '@microsoft/power-apps/data';
17
-
18
- export class Office365UsersService {
19
- private static readonly dataSourceName = 'office365users';
20
-
21
- private static readonly client = getClient(dataSourcesInfo);
22
-
23
- /**
24
- * Update my profile
25
- * Updates the profile of the current user
26
- */
27
- public static async UpdateMyProfile(body?: GraphUserUpdateable_V1): Promise<IOperationResult<void>> {
28
- const params: { body?: GraphUserUpdateable_V1 } = { body };
29
- const result = await Office365UsersService.client.executeAsync<{ body?: GraphUserUpdateable_V1 }, void>(
30
- {
31
- connectorOperation: {
32
- tableName: Office365UsersService.dataSourceName,
33
- operationName: 'UpdateMyProfile',
34
- parameters: params
35
- },
36
- });
37
- return result;
38
- }
39
-
40
- /**
41
- * Get my profile (V2)
42
- * Retrieves the profile of the current user. Learn more about available fields to select: https://developer.microsoft.com/en-us/graph/docs/api-reference/v1.0/resources/user#properties
43
- */
44
- public static async MyProfile_V2($select?: string): Promise<IOperationResult<GraphUser_V1>> {
45
- const params: { $select?: string } = { $select };
46
- const result = await Office365UsersService.client.executeAsync<{ $select?: string }, GraphUser_V1>(
47
- {
48
- connectorOperation: {
49
- tableName: Office365UsersService.dataSourceName,
50
- operationName: 'MyProfile_V2',
51
- parameters: params
52
- },
53
- });
54
- return result;
55
- }
56
-
57
- /**
58
- * Update my profile photo
59
- * Updates the profile photo of the current user. The size of the photo must be less than 4 MB.
60
- */
61
- public static async UpdateMyPhoto(body: string, Content_Type: string): Promise<IOperationResult<void>> {
62
- const params: { body: string, Content_Type: string } = { body, Content_Type };
63
- const result = await Office365UsersService.client.executeAsync<{ body: string, Content_Type: string }, void>(
64
- {
65
- connectorOperation: {
66
- tableName: Office365UsersService.dataSourceName,
67
- operationName: 'UpdateMyPhoto',
68
- parameters: params
69
- },
70
- });
71
- return result;
72
- }
73
-
74
- /**
75
- * Get my trending documents
76
- * Retrieves the trending documents for the signed in user
77
- */
78
- public static async MyTrendingDocuments($filter?: string, extractSensitivityLabel?: boolean, fetchSensitivityLabelMetadata?: boolean): Promise<IOperationResult<{ value: GraphTrending[] }>> {
79
- const params: { $filter?: string, extractSensitivityLabel?: boolean, fetchSensitivityLabelMetadata?: boolean } = { $filter, extractSensitivityLabel, fetchSensitivityLabelMetadata };
80
- const result = await Office365UsersService.client.executeAsync<{ $filter?: string, extractSensitivityLabel?: boolean, fetchSensitivityLabelMetadata?: boolean }, { value: GraphTrending[] }>(
81
- {
82
- connectorOperation: {
83
- tableName: Office365UsersService.dataSourceName,
84
- operationName: 'MyTrendingDocuments',
85
- parameters: params
86
- },
87
- });
88
- return result;
89
- }
90
-
91
- /**
92
- * Get relevant people
93
- * Get relevant people.
94
- */
95
- public static async RelevantPeople(userId: string): Promise<IOperationResult<LinklessEntityListResponse_List_Person>> {
96
- const params: { userId: string } = { userId };
97
- const result = await Office365UsersService.client.executeAsync<{ userId: string }, LinklessEntityListResponse_List_Person>(
98
- {
99
- connectorOperation: {
100
- tableName: Office365UsersService.dataSourceName,
101
- operationName: 'RelevantPeople',
102
- parameters: params
103
- },
104
- });
105
- return result;
106
- }
107
-
108
- /**
109
- * Get my profile (V1)
110
- * Retrieves the profile of the current user.
111
- */
112
- public static async MyProfile(): Promise<IOperationResult<User>> {
113
- const result = await Office365UsersService.client.executeAsync<void, User>(
114
- {
115
- connectorOperation: {
116
- tableName: Office365UsersService.dataSourceName,
117
- operationName: 'MyProfile',
118
- },
119
- });
120
- return result;
121
- }
122
-
123
- /**
124
- * Get user profile (V1)
125
- * Retrieves the profile of a specific user.
126
- */
127
- public static async UserProfile(userId: string): Promise<IOperationResult<User>> {
128
- const params: { userId: string } = { userId };
129
- const result = await Office365UsersService.client.executeAsync<{ userId: string }, User>(
130
- {
131
- connectorOperation: {
132
- tableName: Office365UsersService.dataSourceName,
133
- operationName: 'UserProfile',
134
- parameters: params
135
- },
136
- });
137
- return result;
138
- }
139
-
140
- /**
141
- * Get user photo metadata
142
- * Get user photo metadata.
143
- */
144
- public static async UserPhotoMetadata(userId: string): Promise<IOperationResult<ClientPhotoMetadata>> {
145
- const params: { userId: string } = { userId };
146
- const result = await Office365UsersService.client.executeAsync<{ userId: string }, ClientPhotoMetadata>(
147
- {
148
- connectorOperation: {
149
- tableName: Office365UsersService.dataSourceName,
150
- operationName: 'UserPhotoMetadata',
151
- parameters: params
152
- },
153
- });
154
- return result;
155
- }
156
-
157
- /**
158
- * Get user photo (V1)
159
- * Retrieves the photo of the specified user if they have one.
160
- */
161
- public static async UserPhoto(userId: string): Promise<IOperationResult<string>> {
162
- const params: { userId: string } = { userId };
163
- const result = await Office365UsersService.client.executeAsync<{ userId: string }, string>(
164
- {
165
- connectorOperation: {
166
- tableName: Office365UsersService.dataSourceName,
167
- operationName: 'UserPhoto',
168
- parameters: params
169
- },
170
- });
171
- return result;
172
- }
173
-
174
- /**
175
- * Get manager (V1)
176
- * Retrieves the profile of the specified user's manager.
177
- */
178
- public static async Manager(userId: string): Promise<IOperationResult<User>> {
179
- const params: { userId: string } = { userId };
180
- const result = await Office365UsersService.client.executeAsync<{ userId: string }, User>(
181
- {
182
- connectorOperation: {
183
- tableName: Office365UsersService.dataSourceName,
184
- operationName: 'Manager',
185
- parameters: params
186
- },
187
- });
188
- return result;
189
- }
190
-
191
- /**
192
- * Get direct reports (V1)
193
- * Retrieves the user profiles of the specified user's direct reports.
194
- */
195
- public static async DirectReports(userId: string): Promise<IOperationResult<User[]>> {
196
- const params: { userId: string } = { userId };
197
- const result = await Office365UsersService.client.executeAsync<{ userId: string }, User[]>(
198
- {
199
- connectorOperation: {
200
- tableName: Office365UsersService.dataSourceName,
201
- operationName: 'DirectReports',
202
- parameters: params
203
- },
204
- });
205
- return result;
206
- }
207
-
208
- /**
209
- * Search for users
210
- * Retrieves the user profiles that match the search term.
211
- */
212
- public static async SearchUser(searchTerm?: string, top?: number): Promise<IOperationResult<User[]>> {
213
- const params: { searchTerm?: string, top?: number } = { searchTerm, top };
214
- const result = await Office365UsersService.client.executeAsync<{ searchTerm?: string, top?: number }, User[]>(
215
- {
216
- connectorOperation: {
217
- tableName: Office365UsersService.dataSourceName,
218
- operationName: 'SearchUser',
219
- parameters: params
220
- },
221
- });
222
- return result;
223
- }
224
-
225
- /**
226
- * Search for users (V2)
227
- * Retrieves the user profiles that match the search term (V2).
228
- */
229
- public static async SearchUserV2(searchTerm?: string, top?: number, isSearchTermRequired?: boolean, skipToken?: string): Promise<IOperationResult<EntityListResponse_IReadOnlyList_User>> {
230
- const params: { searchTerm?: string, top?: number, isSearchTermRequired?: boolean, skipToken?: string } = { searchTerm, top, isSearchTermRequired, skipToken };
231
- const result = await Office365UsersService.client.executeAsync<{ searchTerm?: string, top?: number, isSearchTermRequired?: boolean, skipToken?: string }, EntityListResponse_IReadOnlyList_User>(
232
- {
233
- connectorOperation: {
234
- tableName: Office365UsersService.dataSourceName,
235
- operationName: 'SearchUserV2',
236
- parameters: params
237
- },
238
- });
239
- return result;
240
- }
241
-
242
- /**
243
- * Tests the connection
244
- * Tests the connection.
245
- */
246
- public static async TestConnection(): Promise<IOperationResult<void>> {
247
- const result = await Office365UsersService.client.executeAsync<void, void>(
248
- {
249
- connectorOperation: {
250
- tableName: Office365UsersService.dataSourceName,
251
- operationName: 'TestConnection',
252
- },
253
- });
254
- return result;
255
- }
256
-
257
- /**
258
- * Get user profile (V2)
259
- * Retrieves the profile of a specific user. Learn more about available fields to select: https://developer.microsoft.com/en-us/graph/docs/api-reference/v1.0/resources/user#properties
260
- */
261
- public static async UserProfile_V2(id: string, $select?: string): Promise<IOperationResult<GraphUser_V1>> {
262
- const params: { id: string, $select?: string } = { id, $select };
263
- const result = await Office365UsersService.client.executeAsync<{ id: string, $select?: string }, GraphUser_V1>(
264
- {
265
- connectorOperation: {
266
- tableName: Office365UsersService.dataSourceName,
267
- operationName: 'UserProfile_V2',
268
- parameters: params
269
- },
270
- });
271
- return result;
272
- }
273
-
274
- /**
275
- * Get manager (V2)
276
- * Retrieves the profile of the specified user's manager. Learn more about available fields to select: https://developer.microsoft.com/en-us/graph/docs/api-reference/v1.0/resources/user#properties
277
- */
278
- public static async Manager_V2(id: string, $select?: string): Promise<IOperationResult<GraphUser_V1>> {
279
- const params: { id: string, $select?: string } = { id, $select };
280
- const result = await Office365UsersService.client.executeAsync<{ id: string, $select?: string }, GraphUser_V1>(
281
- {
282
- connectorOperation: {
283
- tableName: Office365UsersService.dataSourceName,
284
- operationName: 'Manager_V2',
285
- parameters: params
286
- },
287
- });
288
- return result;
289
- }
290
-
291
- /**
292
- * Get direct reports (V2)
293
- * Retrieves the user profiles of the specified user's direct reports. Learn more about available fields to select: https://developer.microsoft.com/en-us/graph/docs/api-reference/v1.0/resources/user#properties
294
- */
295
- public static async DirectReports_V2(id: string, $select?: string, $top?: number): Promise<IOperationResult<{ value: GraphUser_V1[] }>> {
296
- const params: { id: string, $select?: string, $top?: number } = { id, $select, $top };
297
- const result = await Office365UsersService.client.executeAsync<{ id: string, $select?: string, $top?: number }, { value: GraphUser_V1[] }>(
298
- {
299
- connectorOperation: {
300
- tableName: Office365UsersService.dataSourceName,
301
- operationName: 'DirectReports_V2',
302
- parameters: params
303
- },
304
- });
305
- return result;
306
- }
307
-
308
- /**
309
- * Get user photo (V2)
310
- * Retrieves the photo of the specified user if they have one
311
- */
312
- public static async UserPhoto_V2(id: string): Promise<IOperationResult<string>> {
313
- const params: { id: string } = { id };
314
- const result = await Office365UsersService.client.executeAsync<{ id: string }, string>(
315
- {
316
- connectorOperation: {
317
- tableName: Office365UsersService.dataSourceName,
318
- operationName: 'UserPhoto_V2',
319
- parameters: params
320
- },
321
- });
322
- return result;
323
- }
324
-
325
- /**
326
- * Get trending documents
327
- * Retrieves the trending documents for a user
328
- */
329
- public static async TrendingDocuments(id: string, $filter?: string, extractSensitivityLabel?: boolean, fetchSensitivityLabelMetadata?: boolean): Promise<IOperationResult<{ value: GraphTrending[] }>> {
330
- const params: { id: string, $filter?: string, extractSensitivityLabel?: boolean, fetchSensitivityLabelMetadata?: boolean } = { id, $filter, extractSensitivityLabel, fetchSensitivityLabelMetadata };
331
- const result = await Office365UsersService.client.executeAsync<{ id: string, $filter?: string, extractSensitivityLabel?: boolean, fetchSensitivityLabelMetadata?: boolean }, { value: GraphTrending[] }>(
332
- {
333
- connectorOperation: {
334
- tableName: Office365UsersService.dataSourceName,
335
- operationName: 'TrendingDocuments',
336
- parameters: params
337
- },
338
- });
339
- return result;
340
- }
341
-
342
- /**
343
- * Send an HTTP request
344
- * Construct a Microsoft Graph REST API request to invoke. These segments are supported: 1st segement: /me, /users/<userId> 2nd segment: messages, mailFolders, events, calendar, calendars, outlook, inferenceClassification. Learn more: https://docs.microsoft.com/en-us/graph/use-the-api.
345
- */
346
- public static async HttpRequest(Uri: string, Method: string, Body?: string, ContentType?: string, CustomHeader1?: string, CustomHeader2?: string, CustomHeader3?: string, CustomHeader4?: string, CustomHeader5?: string): Promise<IOperationResult<ObjectWithoutType>> {
347
- const params: { Uri: string, Method: string, Body?: string, ContentType?: string, CustomHeader1?: string, CustomHeader2?: string, CustomHeader3?: string, CustomHeader4?: string, CustomHeader5?: string } = { Uri, Method, Body, ContentType, CustomHeader1, CustomHeader2, CustomHeader3, CustomHeader4, CustomHeader5 };
348
- const result = await Office365UsersService.client.executeAsync<{ Uri: string, Method: string, Body?: string, ContentType?: string, CustomHeader1?: string, CustomHeader2?: string, CustomHeader3?: string, CustomHeader4?: string, CustomHeader5?: string }, ObjectWithoutType>(
349
- {
350
- connectorOperation: {
351
- tableName: Office365UsersService.dataSourceName,
352
- operationName: 'HttpRequest',
353
- parameters: params
354
- },
355
- });
356
- return result;
357
- }
358
- }