@digipair/skill-microsoft 0.28.14 → 0.29.4
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/package.json +1 -1
- package/schema.en.json +439 -0
package/package.json
CHANGED
package/schema.en.json
ADDED
|
@@ -0,0 +1,439 @@
|
|
|
1
|
+
{
|
|
2
|
+
"openapi": "3.0.0",
|
|
3
|
+
"info": {
|
|
4
|
+
"title": "@digipair/skill-microsoft",
|
|
5
|
+
"summary": "Communication with Microsoft services",
|
|
6
|
+
"description": "This skill allows the use of Microsoft services",
|
|
7
|
+
"version": "0.1.0",
|
|
8
|
+
"x-icon": "❖"
|
|
9
|
+
},
|
|
10
|
+
"paths": {
|
|
11
|
+
"/request": {
|
|
12
|
+
"post": {
|
|
13
|
+
"tags": ["service"],
|
|
14
|
+
"summary": "Executes a Microsoft service",
|
|
15
|
+
"parameters": [
|
|
16
|
+
{
|
|
17
|
+
"name": "path",
|
|
18
|
+
"summary": "Service path",
|
|
19
|
+
"required": true,
|
|
20
|
+
"description": "Path of the service to execute",
|
|
21
|
+
"schema": {
|
|
22
|
+
"type": "string"
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"name": "method",
|
|
27
|
+
"summary": "HTTP method",
|
|
28
|
+
"required": false,
|
|
29
|
+
"description": "HTTP method to use",
|
|
30
|
+
"schema": {
|
|
31
|
+
"type": "string"
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"name": "body",
|
|
36
|
+
"summary": "Value",
|
|
37
|
+
"required": false,
|
|
38
|
+
"description": "Value to send",
|
|
39
|
+
"schema": {
|
|
40
|
+
"type": "object"
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"name": "version",
|
|
45
|
+
"summary": "API version",
|
|
46
|
+
"required": false,
|
|
47
|
+
"description": "API version to use",
|
|
48
|
+
"schema": {
|
|
49
|
+
"type": "string"
|
|
50
|
+
}
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"name": "headers",
|
|
54
|
+
"summary": "Headers",
|
|
55
|
+
"required": false,
|
|
56
|
+
"description": "Headers to send",
|
|
57
|
+
"schema": {
|
|
58
|
+
"type": "object"
|
|
59
|
+
}
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
"name": "OAUTH_CLIENT_ID",
|
|
63
|
+
"summary": "OAuth client ID",
|
|
64
|
+
"required": false,
|
|
65
|
+
"description": "OAuth client ID",
|
|
66
|
+
"schema": {
|
|
67
|
+
"type": "string"
|
|
68
|
+
}
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
"name": "OAUTH_CLIENT_SECRET",
|
|
72
|
+
"summary": "OAuth client secret",
|
|
73
|
+
"required": false,
|
|
74
|
+
"description": "OAuth client secret",
|
|
75
|
+
"schema": {
|
|
76
|
+
"type": "string"
|
|
77
|
+
}
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
"name": "TENANT_ID",
|
|
81
|
+
"summary": "Tenant ID",
|
|
82
|
+
"required": false,
|
|
83
|
+
"description": "Tenant ID",
|
|
84
|
+
"schema": {
|
|
85
|
+
"type": "string"
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
],
|
|
89
|
+
"x-events": []
|
|
90
|
+
}
|
|
91
|
+
},
|
|
92
|
+
"/create": {
|
|
93
|
+
"post": {
|
|
94
|
+
"tags": ["service"],
|
|
95
|
+
"summary": "Adds a Microsoft resource",
|
|
96
|
+
"parameters": [
|
|
97
|
+
{
|
|
98
|
+
"name": "path",
|
|
99
|
+
"summary": "Service path",
|
|
100
|
+
"required": true,
|
|
101
|
+
"description": "Path of the service to execute",
|
|
102
|
+
"schema": {
|
|
103
|
+
"type": "string"
|
|
104
|
+
}
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
"name": "body",
|
|
108
|
+
"summary": "Value",
|
|
109
|
+
"required": false,
|
|
110
|
+
"description": "Value to send",
|
|
111
|
+
"schema": {
|
|
112
|
+
"type": "object"
|
|
113
|
+
}
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
"name": "version",
|
|
117
|
+
"summary": "API version",
|
|
118
|
+
"required": false,
|
|
119
|
+
"description": "API version to use",
|
|
120
|
+
"schema": {
|
|
121
|
+
"type": "string"
|
|
122
|
+
}
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
"name": "headers",
|
|
126
|
+
"summary": "Headers",
|
|
127
|
+
"required": false,
|
|
128
|
+
"description": "Headers to send",
|
|
129
|
+
"schema": {
|
|
130
|
+
"type": "object"
|
|
131
|
+
}
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
"name": "OAUTH_CLIENT_ID",
|
|
135
|
+
"summary": "OAuth client ID",
|
|
136
|
+
"required": false,
|
|
137
|
+
"description": "OAuth client ID",
|
|
138
|
+
"schema": {
|
|
139
|
+
"type": "string"
|
|
140
|
+
}
|
|
141
|
+
},
|
|
142
|
+
{
|
|
143
|
+
"name": "OAUTH_CLIENT_SECRET",
|
|
144
|
+
"summary": "OAuth client secret",
|
|
145
|
+
"required": false,
|
|
146
|
+
"description": "OAuth client secret",
|
|
147
|
+
"schema": {
|
|
148
|
+
"type": "string"
|
|
149
|
+
}
|
|
150
|
+
},
|
|
151
|
+
{
|
|
152
|
+
"name": "TENANT_ID",
|
|
153
|
+
"summary": "Tenant ID",
|
|
154
|
+
"required": false,
|
|
155
|
+
"description": "Tenant ID",
|
|
156
|
+
"schema": {
|
|
157
|
+
"type": "string"
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
],
|
|
161
|
+
"x-events": []
|
|
162
|
+
}
|
|
163
|
+
},
|
|
164
|
+
"/read": {
|
|
165
|
+
"post": {
|
|
166
|
+
"tags": ["service"],
|
|
167
|
+
"summary": "Reads a Microsoft resource",
|
|
168
|
+
"parameters": [
|
|
169
|
+
{
|
|
170
|
+
"name": "path",
|
|
171
|
+
"summary": "Service path",
|
|
172
|
+
"required": true,
|
|
173
|
+
"description": "Path of the service to execute",
|
|
174
|
+
"schema": {
|
|
175
|
+
"type": "string"
|
|
176
|
+
}
|
|
177
|
+
},
|
|
178
|
+
{
|
|
179
|
+
"name": "version",
|
|
180
|
+
"summary": "API version",
|
|
181
|
+
"required": false,
|
|
182
|
+
"description": "API version to use",
|
|
183
|
+
"schema": {
|
|
184
|
+
"type": "string"
|
|
185
|
+
}
|
|
186
|
+
},
|
|
187
|
+
{
|
|
188
|
+
"name": "headers",
|
|
189
|
+
"summary": "Headers",
|
|
190
|
+
"required": false,
|
|
191
|
+
"description": "Headers to send",
|
|
192
|
+
"schema": {
|
|
193
|
+
"type": "object"
|
|
194
|
+
}
|
|
195
|
+
},
|
|
196
|
+
{
|
|
197
|
+
"name": "OAUTH_CLIENT_ID",
|
|
198
|
+
"summary": "OAuth client ID",
|
|
199
|
+
"required": false,
|
|
200
|
+
"description": "OAuth client ID",
|
|
201
|
+
"schema": {
|
|
202
|
+
"type": "string"
|
|
203
|
+
}
|
|
204
|
+
},
|
|
205
|
+
{
|
|
206
|
+
"name": "OAUTH_CLIENT_SECRET",
|
|
207
|
+
"summary": "OAuth client secret",
|
|
208
|
+
"required": false,
|
|
209
|
+
"description": "OAuth client secret",
|
|
210
|
+
"schema": {
|
|
211
|
+
"type": "string"
|
|
212
|
+
}
|
|
213
|
+
},
|
|
214
|
+
{
|
|
215
|
+
"name": "TENANT_ID",
|
|
216
|
+
"summary": "Tenant ID",
|
|
217
|
+
"required": false,
|
|
218
|
+
"description": "Tenant ID",
|
|
219
|
+
"schema": {
|
|
220
|
+
"type": "string"
|
|
221
|
+
}
|
|
222
|
+
}
|
|
223
|
+
],
|
|
224
|
+
"x-events": []
|
|
225
|
+
}
|
|
226
|
+
},
|
|
227
|
+
"/update": {
|
|
228
|
+
"post": {
|
|
229
|
+
"tags": ["service"],
|
|
230
|
+
"summary": "Modifies a Microsoft resource",
|
|
231
|
+
"parameters": [
|
|
232
|
+
{
|
|
233
|
+
"name": "path",
|
|
234
|
+
"summary": "Service path",
|
|
235
|
+
"required": true,
|
|
236
|
+
"description": "Path of the service to execute",
|
|
237
|
+
"schema": {
|
|
238
|
+
"type": "string"
|
|
239
|
+
}
|
|
240
|
+
},
|
|
241
|
+
{
|
|
242
|
+
"name": "body",
|
|
243
|
+
"summary": "Value",
|
|
244
|
+
"required": false,
|
|
245
|
+
"description": "Value to send",
|
|
246
|
+
"schema": {
|
|
247
|
+
"type": "object"
|
|
248
|
+
}
|
|
249
|
+
},
|
|
250
|
+
{
|
|
251
|
+
"name": "version",
|
|
252
|
+
"summary": "API version",
|
|
253
|
+
"required": false,
|
|
254
|
+
"description": "API version to use",
|
|
255
|
+
"schema": {
|
|
256
|
+
"type": "string"
|
|
257
|
+
}
|
|
258
|
+
},
|
|
259
|
+
{
|
|
260
|
+
"name": "headers",
|
|
261
|
+
"summary": "Headers",
|
|
262
|
+
"required": false,
|
|
263
|
+
"description": "Headers to send",
|
|
264
|
+
"schema": {
|
|
265
|
+
"type": "object"
|
|
266
|
+
}
|
|
267
|
+
},
|
|
268
|
+
{
|
|
269
|
+
"name": "OAUTH_CLIENT_ID",
|
|
270
|
+
"summary": "OAuth client ID",
|
|
271
|
+
"required": false,
|
|
272
|
+
"description": "OAuth client ID",
|
|
273
|
+
"schema": {
|
|
274
|
+
"type": "string"
|
|
275
|
+
}
|
|
276
|
+
},
|
|
277
|
+
{
|
|
278
|
+
"name": "OAUTH_CLIENT_SECRET",
|
|
279
|
+
"summary": "OAuth client secret",
|
|
280
|
+
"required": false,
|
|
281
|
+
"description": "OAuth client secret",
|
|
282
|
+
"schema": {
|
|
283
|
+
"type": "string"
|
|
284
|
+
}
|
|
285
|
+
},
|
|
286
|
+
{
|
|
287
|
+
"name": "TENANT_ID",
|
|
288
|
+
"summary": "Tenant ID",
|
|
289
|
+
"required": false,
|
|
290
|
+
"description": "Tenant ID",
|
|
291
|
+
"schema": {
|
|
292
|
+
"type": "string"
|
|
293
|
+
}
|
|
294
|
+
}
|
|
295
|
+
],
|
|
296
|
+
"x-events": []
|
|
297
|
+
}
|
|
298
|
+
},
|
|
299
|
+
"/partialUpdate": {
|
|
300
|
+
"post": {
|
|
301
|
+
"tags": ["service"],
|
|
302
|
+
"summary": "Modifies part of a Microsoft resource",
|
|
303
|
+
"parameters": [
|
|
304
|
+
{
|
|
305
|
+
"name": "path",
|
|
306
|
+
"summary": "Service path",
|
|
307
|
+
"required": true,
|
|
308
|
+
"description": "Path of the service to execute",
|
|
309
|
+
"schema": {
|
|
310
|
+
"type": "string"
|
|
311
|
+
}
|
|
312
|
+
},
|
|
313
|
+
{
|
|
314
|
+
"name": "body",
|
|
315
|
+
"summary": "Value",
|
|
316
|
+
"required": false,
|
|
317
|
+
"description": "Value to send",
|
|
318
|
+
"schema": {
|
|
319
|
+
"type": "object"
|
|
320
|
+
}
|
|
321
|
+
},
|
|
322
|
+
{
|
|
323
|
+
"name": "version",
|
|
324
|
+
"summary": "API version",
|
|
325
|
+
"required": false,
|
|
326
|
+
"description": "API version to use",
|
|
327
|
+
"schema": {
|
|
328
|
+
"type": "string"
|
|
329
|
+
}
|
|
330
|
+
},
|
|
331
|
+
{
|
|
332
|
+
"name": "headers",
|
|
333
|
+
"summary": "Headers",
|
|
334
|
+
"required": false,
|
|
335
|
+
"description": "Headers to send",
|
|
336
|
+
"schema": {
|
|
337
|
+
"type": "object"
|
|
338
|
+
}
|
|
339
|
+
},
|
|
340
|
+
{
|
|
341
|
+
"name": "OAUTH_CLIENT_ID",
|
|
342
|
+
"summary": "OAuth client ID",
|
|
343
|
+
"required": false,
|
|
344
|
+
"description": "OAuth client ID",
|
|
345
|
+
"schema": {
|
|
346
|
+
"type": "string"
|
|
347
|
+
}
|
|
348
|
+
},
|
|
349
|
+
{
|
|
350
|
+
"name": "OAUTH_CLIENT_SECRET",
|
|
351
|
+
"summary": "OAuth client secret",
|
|
352
|
+
"required": false,
|
|
353
|
+
"description": "OAuth client secret",
|
|
354
|
+
"schema": {
|
|
355
|
+
"type": "string"
|
|
356
|
+
}
|
|
357
|
+
},
|
|
358
|
+
{
|
|
359
|
+
"name": "TENANT_ID",
|
|
360
|
+
"summary": "Tenant ID",
|
|
361
|
+
"required": false,
|
|
362
|
+
"description": "Tenant ID",
|
|
363
|
+
"schema": {
|
|
364
|
+
"type": "string"
|
|
365
|
+
}
|
|
366
|
+
}
|
|
367
|
+
],
|
|
368
|
+
"x-events": []
|
|
369
|
+
}
|
|
370
|
+
},
|
|
371
|
+
"/remove": {
|
|
372
|
+
"post": {
|
|
373
|
+
"tags": ["service"],
|
|
374
|
+
"summary": "Deletes a Microsoft resource",
|
|
375
|
+
"parameters": [
|
|
376
|
+
{
|
|
377
|
+
"name": "path",
|
|
378
|
+
"summary": "Service path",
|
|
379
|
+
"required": true,
|
|
380
|
+
"description": "Path of the service to execute",
|
|
381
|
+
"schema": {
|
|
382
|
+
"type": "string"
|
|
383
|
+
}
|
|
384
|
+
},
|
|
385
|
+
{
|
|
386
|
+
"name": "version",
|
|
387
|
+
"summary": "API version",
|
|
388
|
+
"required": false,
|
|
389
|
+
"description": "API version to use",
|
|
390
|
+
"schema": {
|
|
391
|
+
"type": "string"
|
|
392
|
+
}
|
|
393
|
+
},
|
|
394
|
+
{
|
|
395
|
+
"name": "headers",
|
|
396
|
+
"summary": "Headers",
|
|
397
|
+
"required": false,
|
|
398
|
+
"description": "Headers to send",
|
|
399
|
+
"schema": {
|
|
400
|
+
"type": "object"
|
|
401
|
+
}
|
|
402
|
+
},
|
|
403
|
+
{
|
|
404
|
+
"name": "OAUTH_CLIENT_ID",
|
|
405
|
+
"summary": "OAuth client ID",
|
|
406
|
+
"required": false,
|
|
407
|
+
"description": "OAuth client ID",
|
|
408
|
+
"schema": {
|
|
409
|
+
"type": "string"
|
|
410
|
+
}
|
|
411
|
+
},
|
|
412
|
+
{
|
|
413
|
+
"name": "OAUTH_CLIENT_SECRET",
|
|
414
|
+
"summary": "OAuth client secret",
|
|
415
|
+
"required": false,
|
|
416
|
+
"description": "OAuth client secret",
|
|
417
|
+
"schema": {
|
|
418
|
+
"type": "string"
|
|
419
|
+
}
|
|
420
|
+
},
|
|
421
|
+
{
|
|
422
|
+
"name": "TENANT_ID",
|
|
423
|
+
"summary": "Tenant ID",
|
|
424
|
+
"required": false,
|
|
425
|
+
"description": "Tenant ID",
|
|
426
|
+
"schema": {
|
|
427
|
+
"type": "string"
|
|
428
|
+
}
|
|
429
|
+
}
|
|
430
|
+
],
|
|
431
|
+
"x-events": []
|
|
432
|
+
}
|
|
433
|
+
}
|
|
434
|
+
},
|
|
435
|
+
"components": {
|
|
436
|
+
"schemas": {}
|
|
437
|
+
},
|
|
438
|
+
"x-scene-blocks": {}
|
|
439
|
+
}
|