@itentialopensource/adapter-microsoft_graph 1.4.1 → 1.4.3
Sign up to get free protection for your applications and to get access to all the features.
- package/CALLS.md +41 -11
- package/CHANGELOG.md +16 -0
- package/adapter.js +538 -0
- package/entities/Applications/action.json +4 -1
- package/entities/Insights/action.json +4 -1
- package/entities/LabelManagement/action.json +20 -5
- package/entities/Mail/action.json +4 -1
- package/entities/Search/action.json +4 -1
- package/entities/Security/action.json +4 -1
- package/entities/Subscriptions/action.json +4 -1
- package/entities/Teams/action.json +104 -0
- package/entities/Teams/schema.json +5 -0
- package/metadata.json +5 -2
- package/package.json +3 -3
- package/pronghorn.json +281 -0
- package/refs?service=git-upload-pack +0 -0
- package/report/adapterInfo.json +7 -7
- package/test/integration/adapterTestIntegration.js +125 -0
- package/test/unit/adapterTestUnit.js +317 -2
package/CALLS.md
CHANGED
@@ -235,7 +235,7 @@ Specific adapter calls are built based on the API of the Microsoft_graph. The Ad
|
|
235
235
|
<tr>
|
236
236
|
<td style="padding:15px">deleteapplication(applicationId, callback)</td>
|
237
237
|
<td style="padding:15px">Delete application</td>
|
238
|
-
<td style="padding:15px">{base_path}/{version}/beta/applications/{pathv1}?{query}</td>
|
238
|
+
<td style="padding:15px">beta:{base_path}/{version}/beta/applications/{pathv1}?{query} <br /> v1.0:{base_path}/{version}/v1.0/applications/{pathv1}?{query}</td>
|
239
239
|
<td style="padding:15px">Yes</td>
|
240
240
|
</tr>
|
241
241
|
<tr>
|
@@ -289,31 +289,31 @@ Specific adapter calls are built based on the API of the Microsoft_graph. The Ad
|
|
289
289
|
<tr>
|
290
290
|
<td style="padding:15px">listretentionLabels(callback)</td>
|
291
291
|
<td style="padding:15px">List retentionLabels</td>
|
292
|
-
<td style="padding:15px">{base_path}/{version}/beta/security/labels/retentionLabels?{query}</td>
|
292
|
+
<td style="padding:15px">beta:{base_path}/{version}/beta/security/labels/retentionLabels?{query} <br /> v1.0:{base_path}/{version}/v1.0/security/labels/retentionLabels?{query}</td>
|
293
293
|
<td style="padding:15px">Yes</td>
|
294
294
|
</tr>
|
295
295
|
<tr>
|
296
296
|
<td style="padding:15px">createretentionLabel(body, callback)</td>
|
297
297
|
<td style="padding:15px">Create retentionLabel</td>
|
298
|
-
<td style="padding:15px">{base_path}/{version}/beta/security/labels/retentionLabels?{query}</td>
|
298
|
+
<td style="padding:15px">beta:{base_path}/{version}/beta/security/labels/retentionLabels?{query} <br /> v1.0:{base_path}/{version}/v1.0/security/labels/retentionLabels?{query}</td>
|
299
299
|
<td style="padding:15px">Yes</td>
|
300
300
|
</tr>
|
301
301
|
<tr>
|
302
302
|
<td style="padding:15px">getretentionLabel(retentionLabelId, callback)</td>
|
303
303
|
<td style="padding:15px">Get retentionLabel</td>
|
304
|
-
<td style="padding:15px">{base_path}/{version}/beta/security/labels/retentionLabels/{pathv1}?{query}</td>
|
304
|
+
<td style="padding:15px">beta:{base_path}/{version}/beta/security/labels/retentionLabels/{pathv1}?{query} <br /> v1.0:{base_path}/{version}/v1.0/security/labels/retentionLabels/{pathv1}?{query}</td>
|
305
305
|
<td style="padding:15px">Yes</td>
|
306
306
|
</tr>
|
307
307
|
<tr>
|
308
308
|
<td style="padding:15px">updateretentionLabel(retentionLabelId, body, callback)</td>
|
309
309
|
<td style="padding:15px">Update retentionLabel</td>
|
310
|
-
<td style="padding:15px">{base_path}/{version}/beta/security/labels/retentionLabels/{pathv1}?{query}</td>
|
310
|
+
<td style="padding:15px">beta:{base_path}/{version}/beta/security/labels/retentionLabels/{pathv1}?{query} <br /> v1.0:{base_path}/{version}/v1.0/security/labels/retentionLabels/{pathv1}?{query}</td>
|
311
311
|
<td style="padding:15px">Yes</td>
|
312
312
|
</tr>
|
313
313
|
<tr>
|
314
314
|
<td style="padding:15px">deleterentionionLabel(retentionLabelId, callback)</td>
|
315
315
|
<td style="padding:15px">Delete rentionionLabel</td>
|
316
|
-
<td style="padding:15px">{base_path}/{version}/beta/security/labels/retentionLabels/{pathv1}?{query}</td>
|
316
|
+
<td style="padding:15px">beta:{base_path}/{version}/beta/security/labels/retentionLabels/{pathv1}?{query} <br /> v1.0:{base_path}/{version}/v1.0/security/labels/retentionLabels/{pathv1}?{query}</td>
|
317
317
|
<td style="padding:15px">Yes</td>
|
318
318
|
</tr>
|
319
319
|
<tr>
|
@@ -496,30 +496,60 @@ Specific adapter calls are built based on the API of the Microsoft_graph. The Ad
|
|
496
496
|
<td style="padding:15px">{base_path}/{version}/beta/teams/{pathv1}/channels/{pathv2}/messages?{query}</td>
|
497
497
|
<td style="padding:15px">Yes</td>
|
498
498
|
</tr>
|
499
|
+
<tr>
|
500
|
+
<td style="padding:15px">getMessagesWithoutRepliesInChannel(teamId, channelId, callback)</td>
|
501
|
+
<td style="padding:15px">Get messages (without replies) in a channel</td>
|
502
|
+
<td style="padding:15px">{base_path}/{version}/v1.0/teams/{pathv1}/channels/{pathv2}/messages?{query}</td>
|
503
|
+
<td style="padding:15px">Yes</td>
|
504
|
+
</tr>
|
499
505
|
<tr>
|
500
506
|
<td style="padding:15px">createaplaintextchatthreadBeta(teamId, channelId, body, callback)</td>
|
501
507
|
<td style="padding:15px">Create a plain text chat thread (beta)</td>
|
502
508
|
<td style="padding:15px">{base_path}/{version}/beta/teams/{pathv1}/channels/{pathv2}/messages?{query}</td>
|
503
509
|
<td style="padding:15px">Yes</td>
|
504
510
|
</tr>
|
511
|
+
<tr>
|
512
|
+
<td style="padding:15px">sendChannelMessage(teamId, channelId, body, callback)</td>
|
513
|
+
<td style="padding:15px">Send a new chat message in the specified channel or a chat</td>
|
514
|
+
<td style="padding:15px">{base_path}/{version}/v1.0/teams/{pathv1}/channels/{pathv2}/messages?{query}</td>
|
515
|
+
<td style="padding:15px">Yes</td>
|
516
|
+
</tr>
|
505
517
|
<tr>
|
506
518
|
<td style="padding:15px">getamessageinachannelBeta(teamId, channelId, messageId, callback)</td>
|
507
519
|
<td style="padding:15px">Get a message in a channel (beta)</td>
|
508
520
|
<td style="padding:15px">{base_path}/{version}/beta/teams/{pathv1}/channels/{pathv2}/messages/{pathv3}?{query}</td>
|
509
521
|
<td style="padding:15px">Yes</td>
|
510
522
|
</tr>
|
523
|
+
<tr>
|
524
|
+
<td style="padding:15px">getSingleMessageInChannel(teamId, channelId, messageId, callback)</td>
|
525
|
+
<td style="padding:15px">Get a message in a channel</td>
|
526
|
+
<td style="padding:15px">{base_path}/{version}/v1.0/teams/{pathv1}/channels/{pathv2}/messages/{pathv3}?{query}</td>
|
527
|
+
<td style="padding:15px">Yes</td>
|
528
|
+
</tr>
|
511
529
|
<tr>
|
512
530
|
<td style="padding:15px">getrepliestoamessageinachannelBeta(teamId, channelId, messageId, callback)</td>
|
513
531
|
<td style="padding:15px">Get replies to a message in a channel (beta)</td>
|
514
532
|
<td style="padding:15px">{base_path}/{version}/beta/teams/{pathv1}/channels/{pathv2}/messages/{pathv3}/replies?{query}</td>
|
515
533
|
<td style="padding:15px">Yes</td>
|
516
534
|
</tr>
|
535
|
+
<tr>
|
536
|
+
<td style="padding:15px">getRepliesToMessageInChannel(teamId, channelId, messageId, callback)</td>
|
537
|
+
<td style="padding:15px">Get replies to a message in a channel</td>
|
538
|
+
<td style="padding:15px">{base_path}/{version}/v1.0/teams/{pathv1}/channels/{pathv2}/messages/{pathv3}/replies?{query}</td>
|
539
|
+
<td style="padding:15px">Yes</td>
|
540
|
+
</tr>
|
517
541
|
<tr>
|
518
542
|
<td style="padding:15px">getareplyofamessageBeta(teamId, channelId, messageId, replyId, callback)</td>
|
519
543
|
<td style="padding:15px">Get a reply of a message (beta)</td>
|
520
544
|
<td style="padding:15px">{base_path}/{version}/beta/teams/{pathv1}/channels/{pathv2}/messages/{pathv3}/replies/{pathv4}?{query}</td>
|
521
545
|
<td style="padding:15px">Yes</td>
|
522
546
|
</tr>
|
547
|
+
<tr>
|
548
|
+
<td style="padding:15px">getSingleMessageReplyInChannel(teamId, channelId, messageId, replyId, callback)</td>
|
549
|
+
<td style="padding:15px">Get a reply of a message</td>
|
550
|
+
<td style="padding:15px">{base_path}/{version}/v1.0/teams/{pathv1}/channels/{pathv2}/messages/{pathv3}/replies/{pathv4}?{query}</td>
|
551
|
+
<td style="padding:15px">Yes</td>
|
552
|
+
</tr>
|
523
553
|
<tr>
|
524
554
|
<td style="padding:15px">getuserSjoinedteams(userId, callback)</td>
|
525
555
|
<td style="padding:15px">Get user's joined teams</td>
|
@@ -583,7 +613,7 @@ Specific adapter calls are built based on the API of the Microsoft_graph. The Ad
|
|
583
613
|
<tr>
|
584
614
|
<td style="padding:15px">getitemstrendingaroundme(callback)</td>
|
585
615
|
<td style="padding:15px">Get items trending around me</td>
|
586
|
-
<td style="padding:15px">{base_path}/{version}/beta/me/insights/trending?{query}</td>
|
616
|
+
<td style="padding:15px">beta:{base_path}/{version}/beta/me/insights/trending?{query} <br /> v1.0:{base_path}/{version}/v1.0/me/insights/trending?{query}</td>
|
587
617
|
<td style="padding:15px">Yes</td>
|
588
618
|
</tr>
|
589
619
|
<tr>
|
@@ -601,7 +631,7 @@ Specific adapter calls are built based on the API of the Microsoft_graph. The Ad
|
|
601
631
|
<tr>
|
602
632
|
<td style="padding:15px">getmymessagesIMatmentionedin(filter, select, callback)</td>
|
603
633
|
<td style="padding:15px">Get my messages I'm at mentioned in</td>
|
604
|
-
<td style="padding:15px">{base_path}/{version}/beta/me/messages?{query}</td>
|
634
|
+
<td style="padding:15px">beta:{base_path}/{version}/beta/me/messages?{query} <br /> v1.0:{base_path}/{version}/v1.0/me/messages?{query}</td>
|
605
635
|
<td style="padding:15px">Yes</td>
|
606
636
|
</tr>
|
607
637
|
<tr>
|
@@ -721,7 +751,7 @@ Specific adapter calls are built based on the API of the Microsoft_graph. The Ad
|
|
721
751
|
<tr>
|
722
752
|
<td style="padding:15px">searchmessages(body, callback)</td>
|
723
753
|
<td style="padding:15px">Search messages</td>
|
724
|
-
<td style="padding:15px">{base_path}/{version}/beta/search/query?{query}</td>
|
754
|
+
<td style="padding:15px">beta:{base_path}/{version}/beta/search/query?{query} <br /> v1.0:{base_path}/{version}/v1.0/search/query?{query}</td>
|
725
755
|
<td style="padding:15px">Yes</td>
|
726
756
|
</tr>
|
727
757
|
<tr>
|
@@ -883,7 +913,7 @@ Specific adapter calls are built based on the API of the Microsoft_graph. The Ad
|
|
883
913
|
<tr>
|
884
914
|
<td style="padding:15px">getsecurescorescontrolprofiles(top, callback)</td>
|
885
915
|
<td style="padding:15px">Get secure scores control profiles</td>
|
886
|
-
<td style="padding:15px">{base_path}/{version}/beta/security/secureScoreControlProfiles?{query}</td>
|
916
|
+
<td style="padding:15px">beta:{base_path}/{version}/beta/security/secureScoreControlProfiles?{query} <br /> v1.0:{base_path}/{version}/v1.0/security/secureScoreControlProfiles?{query}</td>
|
887
917
|
<td style="padding:15px">Yes</td>
|
888
918
|
</tr>
|
889
919
|
<tr>
|
@@ -985,7 +1015,7 @@ Specific adapter calls are built based on the API of the Microsoft_graph. The Ad
|
|
985
1015
|
<tr>
|
986
1016
|
<td style="padding:15px">createsubscription(body, callback)</td>
|
987
1017
|
<td style="padding:15px">Create subscription</td>
|
988
|
-
<td style="padding:15px">{base_path}/{version}/beta/subscriptions?{query}</td>
|
1018
|
+
<td style="padding:15px">beta:{base_path}/{version}/beta/subscriptions?{query} <br /> v1.0:{base_path}/{version}/v1.0/subscriptions?{query}</td>
|
989
1019
|
<td style="padding:15px">Yes</td>
|
990
1020
|
</tr>
|
991
1021
|
<tr>
|
package/CHANGELOG.md
CHANGED
@@ -1,4 +1,20 @@
|
|
1
1
|
|
2
|
+
## 1.4.3 [08-14-2024]
|
3
|
+
|
4
|
+
* Changes made at 2024.08.14_17:58PM
|
5
|
+
|
6
|
+
See merge request itentialopensource/adapters/adapter-microsoft_graph!14
|
7
|
+
|
8
|
+
---
|
9
|
+
|
10
|
+
## 1.4.2 [08-14-2024]
|
11
|
+
|
12
|
+
* Add v1.0 calls
|
13
|
+
|
14
|
+
See merge request itentialopensource/adapters/adapter-microsoft_graph!13
|
15
|
+
|
16
|
+
---
|
17
|
+
|
2
18
|
## 1.4.1 [08-07-2024]
|
3
19
|
|
4
20
|
* Changes made at 2024.08.06_19:12PM
|