@digipair/skill-microsoft 0.14.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.
- package/index.cjs.d.ts +1 -0
- package/index.cjs.js +25777 -0
- package/index.d.ts +1 -0
- package/index.esm.js +25760 -0
- package/libs/skill-microsoft/src/index.d.ts +1 -0
- package/libs/skill-microsoft/src/lib/skill-microsoft.d.ts +6 -0
- package/package.json +7 -0
- package/schema.json +367 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './lib/skill-microsoft';
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { PinsSettings } from '@digipair/engine';
|
|
2
|
+
export declare const create: (params: any, pinsSettingsList: PinsSettings[], context: any) => Promise<any>;
|
|
3
|
+
export declare const read: (params: any, pinsSettingsList: PinsSettings[], context: any) => Promise<any>;
|
|
4
|
+
export declare const update: (params: any, pinsSettingsList: PinsSettings[], context: any) => Promise<any>;
|
|
5
|
+
export declare const remove: (params: any, pinsSettingsList: PinsSettings[], context: any) => Promise<any>;
|
|
6
|
+
export declare const request: (params: any, pinsSettingsList: PinsSettings[], context: any) => Promise<any>;
|
package/package.json
ADDED
package/schema.json
ADDED
|
@@ -0,0 +1,367 @@
|
|
|
1
|
+
{
|
|
2
|
+
"openapi": "3.0.0",
|
|
3
|
+
"info": {
|
|
4
|
+
"title": "@digipair/skill-microsoft",
|
|
5
|
+
"summary": "Communication avec les services Microsoft",
|
|
6
|
+
"description": "Cette compétence permet d'utiliser les services Microsoft",
|
|
7
|
+
"version": "0.1.0",
|
|
8
|
+
"x-icon": "❖"
|
|
9
|
+
},
|
|
10
|
+
"paths": {
|
|
11
|
+
"/request": {
|
|
12
|
+
"post": {
|
|
13
|
+
"tags": ["service"],
|
|
14
|
+
"summary": "Exécute un service Microsoft",
|
|
15
|
+
"parameters": [
|
|
16
|
+
{
|
|
17
|
+
"name": "path",
|
|
18
|
+
"summary": "Chemin du service",
|
|
19
|
+
"required": true,
|
|
20
|
+
"description": "Chemin du service à exécuter",
|
|
21
|
+
"schema": {
|
|
22
|
+
"type": "string"
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"name": "method",
|
|
27
|
+
"summary": "Méthode HTTP",
|
|
28
|
+
"required": false,
|
|
29
|
+
"description": "Méthode HTTP à utiliser",
|
|
30
|
+
"schema": {
|
|
31
|
+
"type": "string"
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"name": "body",
|
|
36
|
+
"summary": "Valeur",
|
|
37
|
+
"required": false,
|
|
38
|
+
"description": "Valeur à envoyer",
|
|
39
|
+
"schema": {
|
|
40
|
+
"type": "object"
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"name": "version",
|
|
45
|
+
"summary": "Version de l'API",
|
|
46
|
+
"required": false,
|
|
47
|
+
"description": "Version de l'API à utiliser",
|
|
48
|
+
"schema": {
|
|
49
|
+
"type": "string"
|
|
50
|
+
}
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"name": "headers",
|
|
54
|
+
"summary": "En-têtes",
|
|
55
|
+
"required": false,
|
|
56
|
+
"description": "En-têtes à envoyer",
|
|
57
|
+
"schema": {
|
|
58
|
+
"type": "object"
|
|
59
|
+
}
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
"name": "OAUTH_CLIENT_ID",
|
|
63
|
+
"summary": "Identifiant du client OAuth",
|
|
64
|
+
"required": false,
|
|
65
|
+
"description": "Identifiant du client OAuth",
|
|
66
|
+
"schema": {
|
|
67
|
+
"type": "string"
|
|
68
|
+
}
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
"name": "OAUTH_CLIENT_SECRET",
|
|
72
|
+
"summary": "Secret du client OAuth",
|
|
73
|
+
"required": false,
|
|
74
|
+
"description": "Secret du client OAuth",
|
|
75
|
+
"schema": {
|
|
76
|
+
"type": "string"
|
|
77
|
+
}
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
"name": "TENANT_ID",
|
|
81
|
+
"summary": "ID du locataire",
|
|
82
|
+
"required": false,
|
|
83
|
+
"description": "ID du locataire",
|
|
84
|
+
"schema": {
|
|
85
|
+
"type": "string"
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
],
|
|
89
|
+
"x-events": []
|
|
90
|
+
}
|
|
91
|
+
},
|
|
92
|
+
"/create": {
|
|
93
|
+
"post": {
|
|
94
|
+
"tags": ["service"],
|
|
95
|
+
"summary": "Ajoute une ressource Microsoft",
|
|
96
|
+
"parameters": [
|
|
97
|
+
{
|
|
98
|
+
"name": "path",
|
|
99
|
+
"summary": "Chemin du service",
|
|
100
|
+
"required": true,
|
|
101
|
+
"description": "Chemin du service à exécuter",
|
|
102
|
+
"schema": {
|
|
103
|
+
"type": "string"
|
|
104
|
+
}
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
"name": "body",
|
|
108
|
+
"summary": "Valeur",
|
|
109
|
+
"required": false,
|
|
110
|
+
"description": "Valeur à envoyer",
|
|
111
|
+
"schema": {
|
|
112
|
+
"type": "object"
|
|
113
|
+
}
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
"name": "version",
|
|
117
|
+
"summary": "Version de l'API",
|
|
118
|
+
"required": false,
|
|
119
|
+
"description": "Version de l'API à utiliser",
|
|
120
|
+
"schema": {
|
|
121
|
+
"type": "string"
|
|
122
|
+
}
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
"name": "headers",
|
|
126
|
+
"summary": "En-têtes",
|
|
127
|
+
"required": false,
|
|
128
|
+
"description": "En-têtes à envoyer",
|
|
129
|
+
"schema": {
|
|
130
|
+
"type": "object"
|
|
131
|
+
}
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
"name": "OAUTH_CLIENT_ID",
|
|
135
|
+
"summary": "Identifiant du client OAuth",
|
|
136
|
+
"required": false,
|
|
137
|
+
"description": "Identifiant du client OAuth",
|
|
138
|
+
"schema": {
|
|
139
|
+
"type": "string"
|
|
140
|
+
}
|
|
141
|
+
},
|
|
142
|
+
{
|
|
143
|
+
"name": "OAUTH_CLIENT_SECRET",
|
|
144
|
+
"summary": "Secret du client OAuth",
|
|
145
|
+
"required": false,
|
|
146
|
+
"description": "Secret du client OAuth",
|
|
147
|
+
"schema": {
|
|
148
|
+
"type": "string"
|
|
149
|
+
}
|
|
150
|
+
},
|
|
151
|
+
{
|
|
152
|
+
"name": "TENANT_ID",
|
|
153
|
+
"summary": "ID du locataire",
|
|
154
|
+
"required": false,
|
|
155
|
+
"description": "ID du locataire",
|
|
156
|
+
"schema": {
|
|
157
|
+
"type": "string"
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
],
|
|
161
|
+
"x-events": []
|
|
162
|
+
}
|
|
163
|
+
},
|
|
164
|
+
"/read": {
|
|
165
|
+
"post": {
|
|
166
|
+
"tags": ["service"],
|
|
167
|
+
"summary": "Lit une ressource Microsoft",
|
|
168
|
+
"parameters": [
|
|
169
|
+
{
|
|
170
|
+
"name": "path",
|
|
171
|
+
"summary": "Chemin du service",
|
|
172
|
+
"required": true,
|
|
173
|
+
"description": "Chemin du service à exécuter",
|
|
174
|
+
"schema": {
|
|
175
|
+
"type": "string"
|
|
176
|
+
}
|
|
177
|
+
},
|
|
178
|
+
{
|
|
179
|
+
"name": "version",
|
|
180
|
+
"summary": "Version de l'API",
|
|
181
|
+
"required": false,
|
|
182
|
+
"description": "Version de l'API à utiliser",
|
|
183
|
+
"schema": {
|
|
184
|
+
"type": "string"
|
|
185
|
+
}
|
|
186
|
+
},
|
|
187
|
+
{
|
|
188
|
+
"name": "headers",
|
|
189
|
+
"summary": "En-têtes",
|
|
190
|
+
"required": false,
|
|
191
|
+
"description": "En-têtes à envoyer",
|
|
192
|
+
"schema": {
|
|
193
|
+
"type": "object"
|
|
194
|
+
}
|
|
195
|
+
},
|
|
196
|
+
{
|
|
197
|
+
"name": "OAUTH_CLIENT_ID",
|
|
198
|
+
"summary": "Identifiant du client OAuth",
|
|
199
|
+
"required": false,
|
|
200
|
+
"description": "Identifiant du client OAuth",
|
|
201
|
+
"schema": {
|
|
202
|
+
"type": "string"
|
|
203
|
+
}
|
|
204
|
+
},
|
|
205
|
+
{
|
|
206
|
+
"name": "OAUTH_CLIENT_SECRET",
|
|
207
|
+
"summary": "Secret du client OAuth",
|
|
208
|
+
"required": false,
|
|
209
|
+
"description": "Secret du client OAuth",
|
|
210
|
+
"schema": {
|
|
211
|
+
"type": "string"
|
|
212
|
+
}
|
|
213
|
+
},
|
|
214
|
+
{
|
|
215
|
+
"name": "TENANT_ID",
|
|
216
|
+
"summary": "ID du locataire",
|
|
217
|
+
"required": false,
|
|
218
|
+
"description": "ID du locataire",
|
|
219
|
+
"schema": {
|
|
220
|
+
"type": "string"
|
|
221
|
+
}
|
|
222
|
+
}
|
|
223
|
+
],
|
|
224
|
+
"x-events": []
|
|
225
|
+
}
|
|
226
|
+
},
|
|
227
|
+
"/update": {
|
|
228
|
+
"post": {
|
|
229
|
+
"tags": ["service"],
|
|
230
|
+
"summary": "Modifie une ressource Microsoft",
|
|
231
|
+
"parameters": [
|
|
232
|
+
{
|
|
233
|
+
"name": "path",
|
|
234
|
+
"summary": "Chemin du service",
|
|
235
|
+
"required": true,
|
|
236
|
+
"description": "Chemin du service à exécuter",
|
|
237
|
+
"schema": {
|
|
238
|
+
"type": "string"
|
|
239
|
+
}
|
|
240
|
+
},
|
|
241
|
+
{
|
|
242
|
+
"name": "body",
|
|
243
|
+
"summary": "Valeur",
|
|
244
|
+
"required": false,
|
|
245
|
+
"description": "Valeur à envoyer",
|
|
246
|
+
"schema": {
|
|
247
|
+
"type": "object"
|
|
248
|
+
}
|
|
249
|
+
},
|
|
250
|
+
{
|
|
251
|
+
"name": "version",
|
|
252
|
+
"summary": "Version de l'API",
|
|
253
|
+
"required": false,
|
|
254
|
+
"description": "Version de l'API à utiliser",
|
|
255
|
+
"schema": {
|
|
256
|
+
"type": "string"
|
|
257
|
+
}
|
|
258
|
+
},
|
|
259
|
+
{
|
|
260
|
+
"name": "headers",
|
|
261
|
+
"summary": "En-têtes",
|
|
262
|
+
"required": false,
|
|
263
|
+
"description": "En-têtes à envoyer",
|
|
264
|
+
"schema": {
|
|
265
|
+
"type": "object"
|
|
266
|
+
}
|
|
267
|
+
},
|
|
268
|
+
{
|
|
269
|
+
"name": "OAUTH_CLIENT_ID",
|
|
270
|
+
"summary": "Identifiant du client OAuth",
|
|
271
|
+
"required": false,
|
|
272
|
+
"description": "Identifiant du client OAuth",
|
|
273
|
+
"schema": {
|
|
274
|
+
"type": "string"
|
|
275
|
+
}
|
|
276
|
+
},
|
|
277
|
+
{
|
|
278
|
+
"name": "OAUTH_CLIENT_SECRET",
|
|
279
|
+
"summary": "Secret du client OAuth",
|
|
280
|
+
"required": false,
|
|
281
|
+
"description": "Secret du client OAuth",
|
|
282
|
+
"schema": {
|
|
283
|
+
"type": "string"
|
|
284
|
+
}
|
|
285
|
+
},
|
|
286
|
+
{
|
|
287
|
+
"name": "TENANT_ID",
|
|
288
|
+
"summary": "ID du locataire",
|
|
289
|
+
"required": false,
|
|
290
|
+
"description": "ID du locataire",
|
|
291
|
+
"schema": {
|
|
292
|
+
"type": "string"
|
|
293
|
+
}
|
|
294
|
+
}
|
|
295
|
+
],
|
|
296
|
+
"x-events": []
|
|
297
|
+
}
|
|
298
|
+
},
|
|
299
|
+
"/remove": {
|
|
300
|
+
"post": {
|
|
301
|
+
"tags": ["service"],
|
|
302
|
+
"summary": "Supprime une ressource Microsoft",
|
|
303
|
+
"parameters": [
|
|
304
|
+
{
|
|
305
|
+
"name": "path",
|
|
306
|
+
"summary": "Chemin du service",
|
|
307
|
+
"required": true,
|
|
308
|
+
"description": "Chemin du service à exécuter",
|
|
309
|
+
"schema": {
|
|
310
|
+
"type": "string"
|
|
311
|
+
}
|
|
312
|
+
},
|
|
313
|
+
{
|
|
314
|
+
"name": "version",
|
|
315
|
+
"summary": "Version de l'API",
|
|
316
|
+
"required": false,
|
|
317
|
+
"description": "Version de l'API à utiliser",
|
|
318
|
+
"schema": {
|
|
319
|
+
"type": "string"
|
|
320
|
+
}
|
|
321
|
+
},
|
|
322
|
+
{
|
|
323
|
+
"name": "headers",
|
|
324
|
+
"summary": "En-têtes",
|
|
325
|
+
"required": false,
|
|
326
|
+
"description": "En-têtes à envoyer",
|
|
327
|
+
"schema": {
|
|
328
|
+
"type": "object"
|
|
329
|
+
}
|
|
330
|
+
},
|
|
331
|
+
{
|
|
332
|
+
"name": "OAUTH_CLIENT_ID",
|
|
333
|
+
"summary": "Identifiant du client OAuth",
|
|
334
|
+
"required": false,
|
|
335
|
+
"description": "Identifiant du client OAuth",
|
|
336
|
+
"schema": {
|
|
337
|
+
"type": "string"
|
|
338
|
+
}
|
|
339
|
+
},
|
|
340
|
+
{
|
|
341
|
+
"name": "OAUTH_CLIENT_SECRET",
|
|
342
|
+
"summary": "Secret du client OAuth",
|
|
343
|
+
"required": false,
|
|
344
|
+
"description": "Secret du client OAuth",
|
|
345
|
+
"schema": {
|
|
346
|
+
"type": "string"
|
|
347
|
+
}
|
|
348
|
+
},
|
|
349
|
+
{
|
|
350
|
+
"name": "TENANT_ID",
|
|
351
|
+
"summary": "ID du locataire",
|
|
352
|
+
"required": false,
|
|
353
|
+
"description": "ID du locataire",
|
|
354
|
+
"schema": {
|
|
355
|
+
"type": "string"
|
|
356
|
+
}
|
|
357
|
+
}
|
|
358
|
+
],
|
|
359
|
+
"x-events": []
|
|
360
|
+
}
|
|
361
|
+
}
|
|
362
|
+
},
|
|
363
|
+
"components": {
|
|
364
|
+
"schemas": {}
|
|
365
|
+
},
|
|
366
|
+
"x-scene-blocks": {}
|
|
367
|
+
}
|