@itentialopensource/adapter-microsoft_graph 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- package/.eslintignore +6 -0
- package/.eslintrc.js +18 -0
- package/.gitlab/.gitkeep +0 -0
- package/.gitlab/issue_templates/.gitkeep +0 -0
- package/.gitlab/issue_templates/Default.md +17 -0
- package/.gitlab/issue_templates/bugReportTemplate.md +42 -0
- package/.gitlab/issue_templates/featureRequestTemplate.md +14 -0
- package/.jshintrc +0 -0
- package/AUTH.md +39 -0
- package/BROKER.md +199 -0
- package/CALLS.md +170 -0
- package/CHANGELOG.md +9 -0
- package/CODE_OF_CONDUCT.md +43 -0
- package/CONTRIBUTING.md +172 -0
- package/ENHANCE.md +69 -0
- package/LICENSE +201 -0
- package/PROPERTIES.md +641 -0
- package/README.md +337 -0
- package/SUMMARY.md +9 -0
- package/SYSTEMINFO.md +11 -0
- package/TROUBLESHOOT.md +47 -0
- package/adapter.js +18798 -0
- package/adapterBase.js +1787 -0
- package/entities/.generic/action.json +214 -0
- package/entities/.generic/schema.json +28 -0
- package/entities/.system/action.json +50 -0
- package/entities/.system/mockdatafiles/getToken-default.json +3 -0
- package/entities/.system/mockdatafiles/healthcheck-default.json +3 -0
- package/entities/.system/schema.json +19 -0
- package/entities/.system/schemaTokenReq.json +53 -0
- package/entities/.system/schemaTokenResp.json +53 -0
- package/entities/Applications/action.json +127 -0
- package/entities/Applications/schema.json +35 -0
- package/entities/AzureADDevice/action.json +106 -0
- package/entities/AzureADDevice/schema.json +45 -0
- package/entities/Batch/action.json +24 -0
- package/entities/Batch/schema.json +19 -0
- package/entities/CaseCreation/action.json +249 -0
- package/entities/CaseCreation/schema.json +30 -0
- package/entities/Catalog/action.json +25 -0
- package/entities/Catalog/schema.json +19 -0
- package/entities/ConnectionSetup/action.json +148 -0
- package/entities/ConnectionSetup/schema.json +25 -0
- package/entities/ContentSync/action.json +65 -0
- package/entities/ContentSync/schema.json +21 -0
- package/entities/CreateDSR/action.json +45 -0
- package/entities/CreateDSR/schema.json +20 -0
- package/entities/Deployment/action.json +106 -0
- package/entities/Deployment/schema.json +34 -0
- package/entities/DeploymentAudience/action.json +66 -0
- package/entities/DeploymentAudience/schema.json +32 -0
- package/entities/Events/action.json +108 -0
- package/entities/Events/schema.json +34 -0
- package/entities/Files/action.json +108 -0
- package/entities/Files/schema.json +23 -0
- package/entities/Groups/action.json +25 -0
- package/entities/Groups/schema.json +19 -0
- package/entities/IdentitySync/action.json +105 -0
- package/entities/IdentitySync/schema.json +23 -0
- package/entities/Insights/action.json +46 -0
- package/entities/Insights/schema.json +20 -0
- package/entities/LabelManagement/action.json +106 -0
- package/entities/LabelManagement/schema.json +23 -0
- package/entities/Mail/action.json +212 -0
- package/entities/Mail/schema.json +72 -0
- package/entities/Memberships/action.json +167 -0
- package/entities/Memberships/schema.json +70 -0
- package/entities/Misc/action.json +66 -0
- package/entities/Misc/schema.json +21 -0
- package/entities/Notebooks/action.json +107 -0
- package/entities/Notebooks/schema.json +34 -0
- package/entities/OpenExtensions/action.json +65 -0
- package/entities/OpenExtensions/schema.json +54 -0
- package/entities/People/action.json +46 -0
- package/entities/People/schema.json +31 -0
- package/entities/SchemaExtensions/action.json +65 -0
- package/entities/SchemaExtensions/schema.json +32 -0
- package/entities/Search/action.json +24 -0
- package/entities/Search/schema.json +19 -0
- package/entities/Security/action.json +151 -0
- package/entities/Security/schema.json +58 -0
- package/entities/SharePoint/action.json +214 -0
- package/entities/SharePoint/schema.json +39 -0
- package/entities/Subscriptions/action.json +65 -0
- package/entities/Subscriptions/schema.json +32 -0
- package/entities/TasksPlanner/action.json +272 -0
- package/entities/TasksPlanner/schema.json +86 -0
- package/entities/TasksTodo/action.json +187 -0
- package/entities/TasksTodo/schema.json +49 -0
- package/entities/Teams/action.json +519 -0
- package/entities/Teams/schema.json +120 -0
- package/entities/TrackDSRStatus/action.json +108 -0
- package/entities/TrackDSRStatus/schema.json +23 -0
- package/entities/TriggerEventForExistingLabel/action.json +108 -0
- package/entities/TriggerEventForExistingLabel/schema.json +23 -0
- package/entities/Users/action.json +213 -0
- package/entities/Users/schema.json +50 -0
- package/entities/WorkflowAutomation/action.json +249 -0
- package/entities/WorkflowAutomation/schema.json +30 -0
- package/error.json +190 -0
- package/package.json +87 -0
- package/pronghorn.json +8654 -0
- package/propertiesDecorators.json +14 -0
- package/propertiesSchema.json +1248 -0
- package/refs?service=git-upload-pack +0 -0
- package/report/creationReport.json +1715 -0
- package/report/graph.json +14709 -0
- package/sampleProperties.json +195 -0
- package/test/integration/adapterTestBasicGet.js +83 -0
- package/test/integration/adapterTestConnectivity.js +93 -0
- package/test/integration/adapterTestIntegration.js +6059 -0
- package/test/unit/adapterBaseTestUnit.js +949 -0
- package/test/unit/adapterTestUnit.js +7492 -0
- package/utils/adapterInfo.js +206 -0
- package/utils/addAuth.js +94 -0
- package/utils/artifactize.js +146 -0
- package/utils/basicGet.js +50 -0
- package/utils/checkMigrate.js +63 -0
- package/utils/entitiesToDB.js +178 -0
- package/utils/findPath.js +74 -0
- package/utils/methodDocumentor.js +225 -0
- package/utils/modify.js +154 -0
- package/utils/packModificationScript.js +35 -0
- package/utils/patches2bundledDeps.js +90 -0
- package/utils/pre-commit.sh +32 -0
- package/utils/removeHooks.js +20 -0
- package/utils/setup.js +33 -0
- package/utils/tbScript.js +246 -0
- package/utils/tbUtils.js +490 -0
- package/utils/testRunner.js +298 -0
- package/utils/troubleshootingAdapter.js +195 -0
- package/workflows/README.md +3 -0
@@ -0,0 +1,519 @@
|
|
1
|
+
{
|
2
|
+
"actions": [
|
3
|
+
{
|
4
|
+
"name": "deleteteam",
|
5
|
+
"protocol": "REST",
|
6
|
+
"method": "DELETE",
|
7
|
+
"entitypath": "{base_path}/{version}/v1.0/groups/{pathv1}?{query}",
|
8
|
+
"requestSchema": "schema.json",
|
9
|
+
"responseSchema": "schema.json",
|
10
|
+
"timeout": 0,
|
11
|
+
"sendEmpty": false,
|
12
|
+
"requestDatatype": "JSON",
|
13
|
+
"responseDatatype": "JSON",
|
14
|
+
"headers": {},
|
15
|
+
"responseObjects": [
|
16
|
+
{
|
17
|
+
"type": "default",
|
18
|
+
"key": "",
|
19
|
+
"mockFile": ""
|
20
|
+
}
|
21
|
+
]
|
22
|
+
},
|
23
|
+
{
|
24
|
+
"name": "getmyjoinedteams",
|
25
|
+
"protocol": "REST",
|
26
|
+
"method": "GET",
|
27
|
+
"entitypath": "{base_path}/{version}/v1.0/me/joinedTeams?{query}",
|
28
|
+
"requestSchema": "schema.json",
|
29
|
+
"responseSchema": "schema.json",
|
30
|
+
"timeout": 0,
|
31
|
+
"sendEmpty": false,
|
32
|
+
"sendGetBody": false,
|
33
|
+
"requestDatatype": "JSON",
|
34
|
+
"responseDatatype": "JSON",
|
35
|
+
"headers": {},
|
36
|
+
"responseObjects": [
|
37
|
+
{
|
38
|
+
"type": "default",
|
39
|
+
"key": "",
|
40
|
+
"mockFile": ""
|
41
|
+
}
|
42
|
+
]
|
43
|
+
},
|
44
|
+
{
|
45
|
+
"name": "getmembersofateam",
|
46
|
+
"protocol": "REST",
|
47
|
+
"method": "GET",
|
48
|
+
"entitypath": "{base_path}/{version}/v1.0/groups/{pathv1}/members?{query}",
|
49
|
+
"requestSchema": "schema.json",
|
50
|
+
"responseSchema": "schema.json",
|
51
|
+
"timeout": 0,
|
52
|
+
"sendEmpty": false,
|
53
|
+
"sendGetBody": false,
|
54
|
+
"requestDatatype": "JSON",
|
55
|
+
"responseDatatype": "JSON",
|
56
|
+
"headers": {},
|
57
|
+
"responseObjects": [
|
58
|
+
{
|
59
|
+
"type": "default",
|
60
|
+
"key": "",
|
61
|
+
"mockFile": ""
|
62
|
+
}
|
63
|
+
]
|
64
|
+
},
|
65
|
+
{
|
66
|
+
"name": "getchannelsofateam",
|
67
|
+
"protocol": "REST",
|
68
|
+
"method": "GET",
|
69
|
+
"entitypath": "{base_path}/{version}/v1.0/teams/{pathv1}/channels?{query}",
|
70
|
+
"requestSchema": "schema.json",
|
71
|
+
"responseSchema": "schema.json",
|
72
|
+
"timeout": 0,
|
73
|
+
"sendEmpty": false,
|
74
|
+
"sendGetBody": false,
|
75
|
+
"requestDatatype": "JSON",
|
76
|
+
"responseDatatype": "JSON",
|
77
|
+
"headers": {},
|
78
|
+
"responseObjects": [
|
79
|
+
{
|
80
|
+
"type": "default",
|
81
|
+
"key": "",
|
82
|
+
"mockFile": ""
|
83
|
+
}
|
84
|
+
]
|
85
|
+
},
|
86
|
+
{
|
87
|
+
"name": "createchannel",
|
88
|
+
"protocol": "REST",
|
89
|
+
"method": "POST",
|
90
|
+
"entitypath": "{base_path}/{version}/v1.0/teams/{pathv1}/channels?{query}",
|
91
|
+
"requestSchema": "schema.json",
|
92
|
+
"responseSchema": "schema.json",
|
93
|
+
"timeout": 0,
|
94
|
+
"sendEmpty": false,
|
95
|
+
"requestDatatype": "JSON",
|
96
|
+
"responseDatatype": "JSON",
|
97
|
+
"headers": {},
|
98
|
+
"responseObjects": [
|
99
|
+
{
|
100
|
+
"type": "default",
|
101
|
+
"key": "",
|
102
|
+
"mockFile": ""
|
103
|
+
}
|
104
|
+
]
|
105
|
+
},
|
106
|
+
{
|
107
|
+
"name": "getchannelinfo",
|
108
|
+
"protocol": "REST",
|
109
|
+
"method": "GET",
|
110
|
+
"entitypath": "{base_path}/{version}/v1.0/teams/{pathv1}/channels/{pathv2}?{query}",
|
111
|
+
"requestSchema": "schema.json",
|
112
|
+
"responseSchema": "schema.json",
|
113
|
+
"timeout": 0,
|
114
|
+
"sendEmpty": false,
|
115
|
+
"sendGetBody": false,
|
116
|
+
"requestDatatype": "JSON",
|
117
|
+
"responseDatatype": "JSON",
|
118
|
+
"headers": {},
|
119
|
+
"responseObjects": [
|
120
|
+
{
|
121
|
+
"type": "default",
|
122
|
+
"key": "",
|
123
|
+
"mockFile": ""
|
124
|
+
}
|
125
|
+
]
|
126
|
+
},
|
127
|
+
{
|
128
|
+
"name": "createteam",
|
129
|
+
"protocol": "REST",
|
130
|
+
"method": "POST",
|
131
|
+
"entitypath": "{base_path}/{version}/v1.0/teams?{query}",
|
132
|
+
"requestSchema": "schema.json",
|
133
|
+
"responseSchema": "schema.json",
|
134
|
+
"timeout": 0,
|
135
|
+
"sendEmpty": false,
|
136
|
+
"requestDatatype": "JSON",
|
137
|
+
"responseDatatype": "JSON",
|
138
|
+
"headers": {},
|
139
|
+
"responseObjects": [
|
140
|
+
{
|
141
|
+
"type": "default",
|
142
|
+
"key": "",
|
143
|
+
"mockFile": ""
|
144
|
+
}
|
145
|
+
]
|
146
|
+
},
|
147
|
+
{
|
148
|
+
"name": "getappsinateam",
|
149
|
+
"protocol": "REST",
|
150
|
+
"method": "GET",
|
151
|
+
"entitypath": "{base_path}/{version}/v1.0/teams/{pathv1}/installedApps?{query}",
|
152
|
+
"requestSchema": "schema.json",
|
153
|
+
"responseSchema": "schema.json",
|
154
|
+
"timeout": 0,
|
155
|
+
"sendEmpty": false,
|
156
|
+
"sendGetBody": false,
|
157
|
+
"requestDatatype": "JSON",
|
158
|
+
"responseDatatype": "JSON",
|
159
|
+
"headers": {},
|
160
|
+
"responseObjects": [
|
161
|
+
{
|
162
|
+
"type": "default",
|
163
|
+
"key": "",
|
164
|
+
"mockFile": ""
|
165
|
+
}
|
166
|
+
]
|
167
|
+
},
|
168
|
+
{
|
169
|
+
"name": "gettabsinachannel",
|
170
|
+
"protocol": "REST",
|
171
|
+
"method": "GET",
|
172
|
+
"entitypath": "{base_path}/{version}/v1.0/teams/{pathv1}/channels/{pathv2}/tabs?{query}",
|
173
|
+
"requestSchema": "schema.json",
|
174
|
+
"responseSchema": "schema.json",
|
175
|
+
"timeout": 0,
|
176
|
+
"sendEmpty": false,
|
177
|
+
"sendGetBody": false,
|
178
|
+
"requestDatatype": "JSON",
|
179
|
+
"responseDatatype": "JSON",
|
180
|
+
"headers": {},
|
181
|
+
"responseObjects": [
|
182
|
+
{
|
183
|
+
"type": "default",
|
184
|
+
"key": "",
|
185
|
+
"mockFile": ""
|
186
|
+
}
|
187
|
+
]
|
188
|
+
},
|
189
|
+
{
|
190
|
+
"name": "getitemsinateamdrive",
|
191
|
+
"protocol": "REST",
|
192
|
+
"method": "GET",
|
193
|
+
"entitypath": "{base_path}/{version}/v1.0/groups/{pathv1}/drive/root/children?{query}",
|
194
|
+
"requestSchema": "schema.json",
|
195
|
+
"responseSchema": "schema.json",
|
196
|
+
"timeout": 0,
|
197
|
+
"sendEmpty": false,
|
198
|
+
"sendGetBody": false,
|
199
|
+
"requestDatatype": "JSON",
|
200
|
+
"responseDatatype": "JSON",
|
201
|
+
"headers": {},
|
202
|
+
"responseObjects": [
|
203
|
+
{
|
204
|
+
"type": "default",
|
205
|
+
"key": "",
|
206
|
+
"mockFile": ""
|
207
|
+
}
|
208
|
+
]
|
209
|
+
},
|
210
|
+
{
|
211
|
+
"name": "getmessagesWithoutrepliesInachannelBeta",
|
212
|
+
"protocol": "REST",
|
213
|
+
"method": "GET",
|
214
|
+
"entitypath": "{base_path}/{version}/beta/teams/{pathv1}/channels/{pathv2}/messages?{query}",
|
215
|
+
"requestSchema": "schema.json",
|
216
|
+
"responseSchema": "schema.json",
|
217
|
+
"timeout": 0,
|
218
|
+
"sendEmpty": false,
|
219
|
+
"sendGetBody": false,
|
220
|
+
"requestDatatype": "JSON",
|
221
|
+
"responseDatatype": "JSON",
|
222
|
+
"headers": {},
|
223
|
+
"responseObjects": [
|
224
|
+
{
|
225
|
+
"type": "default",
|
226
|
+
"key": "",
|
227
|
+
"mockFile": ""
|
228
|
+
}
|
229
|
+
]
|
230
|
+
},
|
231
|
+
{
|
232
|
+
"name": "createaplaintextchatthreadBeta",
|
233
|
+
"protocol": "REST",
|
234
|
+
"method": "POST",
|
235
|
+
"entitypath": "{base_path}/{version}/beta/teams/{pathv1}/channels/{pathv2}/messages?{query}",
|
236
|
+
"requestSchema": "schema.json",
|
237
|
+
"responseSchema": "schema.json",
|
238
|
+
"timeout": 0,
|
239
|
+
"sendEmpty": false,
|
240
|
+
"requestDatatype": "JSON",
|
241
|
+
"responseDatatype": "JSON",
|
242
|
+
"headers": {},
|
243
|
+
"responseObjects": [
|
244
|
+
{
|
245
|
+
"type": "default",
|
246
|
+
"key": "",
|
247
|
+
"mockFile": ""
|
248
|
+
}
|
249
|
+
]
|
250
|
+
},
|
251
|
+
{
|
252
|
+
"name": "getamessageinachannelBeta",
|
253
|
+
"protocol": "REST",
|
254
|
+
"method": "GET",
|
255
|
+
"entitypath": "{base_path}/{version}/beta/teams/{pathv1}/channels/{pathv2}/messages/{pathv3}?{query}",
|
256
|
+
"requestSchema": "schema.json",
|
257
|
+
"responseSchema": "schema.json",
|
258
|
+
"timeout": 0,
|
259
|
+
"sendEmpty": false,
|
260
|
+
"sendGetBody": false,
|
261
|
+
"requestDatatype": "JSON",
|
262
|
+
"responseDatatype": "JSON",
|
263
|
+
"headers": {},
|
264
|
+
"responseObjects": [
|
265
|
+
{
|
266
|
+
"type": "default",
|
267
|
+
"key": "",
|
268
|
+
"mockFile": ""
|
269
|
+
}
|
270
|
+
]
|
271
|
+
},
|
272
|
+
{
|
273
|
+
"name": "getrepliestoamessageinachannelBeta",
|
274
|
+
"protocol": "REST",
|
275
|
+
"method": "GET",
|
276
|
+
"entitypath": "{base_path}/{version}/beta/teams/{pathv1}/channels/{pathv2}/messages/{pathv3}/replies?{query}",
|
277
|
+
"requestSchema": "schema.json",
|
278
|
+
"responseSchema": "schema.json",
|
279
|
+
"timeout": 0,
|
280
|
+
"sendEmpty": false,
|
281
|
+
"sendGetBody": false,
|
282
|
+
"requestDatatype": "JSON",
|
283
|
+
"responseDatatype": "JSON",
|
284
|
+
"headers": {},
|
285
|
+
"responseObjects": [
|
286
|
+
{
|
287
|
+
"type": "default",
|
288
|
+
"key": "",
|
289
|
+
"mockFile": ""
|
290
|
+
}
|
291
|
+
]
|
292
|
+
},
|
293
|
+
{
|
294
|
+
"name": "getareplyofamessageBeta",
|
295
|
+
"protocol": "REST",
|
296
|
+
"method": "GET",
|
297
|
+
"entitypath": "{base_path}/{version}/beta/teams/{pathv1}/channels/{pathv2}/messages/{pathv3}/replies/{pathv4}?{query}",
|
298
|
+
"requestSchema": "schema.json",
|
299
|
+
"responseSchema": "schema.json",
|
300
|
+
"timeout": 0,
|
301
|
+
"sendEmpty": false,
|
302
|
+
"sendGetBody": false,
|
303
|
+
"requestDatatype": "JSON",
|
304
|
+
"responseDatatype": "JSON",
|
305
|
+
"headers": {},
|
306
|
+
"responseObjects": [
|
307
|
+
{
|
308
|
+
"type": "default",
|
309
|
+
"key": "",
|
310
|
+
"mockFile": ""
|
311
|
+
}
|
312
|
+
]
|
313
|
+
},
|
314
|
+
{
|
315
|
+
"name": "getuserSjoinedteams",
|
316
|
+
"protocol": "REST",
|
317
|
+
"method": "GET",
|
318
|
+
"entitypath": "{base_path}/{version}/v1.0/users/{pathv1}/joinedTeams?{query}",
|
319
|
+
"requestSchema": "schema.json",
|
320
|
+
"responseSchema": "schema.json",
|
321
|
+
"timeout": 0,
|
322
|
+
"sendEmpty": false,
|
323
|
+
"sendGetBody": false,
|
324
|
+
"requestDatatype": "JSON",
|
325
|
+
"responseDatatype": "JSON",
|
326
|
+
"headers": {},
|
327
|
+
"responseObjects": [
|
328
|
+
{
|
329
|
+
"type": "default",
|
330
|
+
"key": "",
|
331
|
+
"mockFile": ""
|
332
|
+
}
|
333
|
+
]
|
334
|
+
},
|
335
|
+
{
|
336
|
+
"name": "getprimarychannel",
|
337
|
+
"protocol": "REST",
|
338
|
+
"method": "GET",
|
339
|
+
"entitypath": "{base_path}/{version}/v1.0/teams/{pathv1}/primaryChannel?{query}",
|
340
|
+
"requestSchema": "schema.json",
|
341
|
+
"responseSchema": "schema.json",
|
342
|
+
"timeout": 0,
|
343
|
+
"sendEmpty": false,
|
344
|
+
"sendGetBody": false,
|
345
|
+
"requestDatatype": "JSON",
|
346
|
+
"responseDatatype": "JSON",
|
347
|
+
"headers": {},
|
348
|
+
"responseObjects": [
|
349
|
+
{
|
350
|
+
"type": "default",
|
351
|
+
"key": "",
|
352
|
+
"mockFile": ""
|
353
|
+
}
|
354
|
+
]
|
355
|
+
},
|
356
|
+
{
|
357
|
+
"name": "getteamchannels",
|
358
|
+
"protocol": "REST",
|
359
|
+
"method": "GET",
|
360
|
+
"entitypath": "{base_path}/{version}/v1.0/teams/{pathv1}/channels?{query}",
|
361
|
+
"requestSchema": "schema.json",
|
362
|
+
"responseSchema": "schema.json",
|
363
|
+
"timeout": 0,
|
364
|
+
"sendEmpty": false,
|
365
|
+
"sendGetBody": false,
|
366
|
+
"requestDatatype": "JSON",
|
367
|
+
"responseDatatype": "JSON",
|
368
|
+
"headers": {},
|
369
|
+
"responseObjects": [
|
370
|
+
{
|
371
|
+
"type": "default",
|
372
|
+
"key": "",
|
373
|
+
"mockFile": ""
|
374
|
+
}
|
375
|
+
]
|
376
|
+
},
|
377
|
+
{
|
378
|
+
"name": "getteam",
|
379
|
+
"protocol": "REST",
|
380
|
+
"method": "GET",
|
381
|
+
"entitypath": "{base_path}/{version}/v1.0/teams/{pathv1}?{query}",
|
382
|
+
"requestSchema": "schema.json",
|
383
|
+
"responseSchema": "schema.json",
|
384
|
+
"timeout": 0,
|
385
|
+
"sendEmpty": false,
|
386
|
+
"sendGetBody": false,
|
387
|
+
"requestDatatype": "JSON",
|
388
|
+
"responseDatatype": "JSON",
|
389
|
+
"headers": {},
|
390
|
+
"responseObjects": [
|
391
|
+
{
|
392
|
+
"type": "default",
|
393
|
+
"key": "",
|
394
|
+
"mockFile": ""
|
395
|
+
}
|
396
|
+
]
|
397
|
+
},
|
398
|
+
{
|
399
|
+
"name": "updateteam",
|
400
|
+
"protocol": "REST",
|
401
|
+
"method": "PATCH",
|
402
|
+
"entitypath": "{base_path}/{version}/v1.0/teams/{pathv1}?{query}",
|
403
|
+
"requestSchema": "schema.json",
|
404
|
+
"responseSchema": "schema.json",
|
405
|
+
"timeout": 0,
|
406
|
+
"sendEmpty": false,
|
407
|
+
"requestDatatype": "JSON",
|
408
|
+
"responseDatatype": "JSON",
|
409
|
+
"headers": {},
|
410
|
+
"responseObjects": [
|
411
|
+
{
|
412
|
+
"type": "default",
|
413
|
+
"key": "",
|
414
|
+
"mockFile": ""
|
415
|
+
}
|
416
|
+
]
|
417
|
+
},
|
418
|
+
{
|
419
|
+
"name": "createteamfromgroup",
|
420
|
+
"protocol": "REST",
|
421
|
+
"method": "PUT",
|
422
|
+
"entitypath": "{base_path}/{version}/v1.0/groups/{pathv1}/team?{query}",
|
423
|
+
"requestSchema": "schema.json",
|
424
|
+
"responseSchema": "schema.json",
|
425
|
+
"timeout": 0,
|
426
|
+
"sendEmpty": false,
|
427
|
+
"requestDatatype": "JSON",
|
428
|
+
"responseDatatype": "JSON",
|
429
|
+
"headers": {},
|
430
|
+
"responseObjects": [
|
431
|
+
{
|
432
|
+
"type": "default",
|
433
|
+
"key": "",
|
434
|
+
"mockFile": ""
|
435
|
+
}
|
436
|
+
]
|
437
|
+
},
|
438
|
+
{
|
439
|
+
"name": "postCreateteam",
|
440
|
+
"protocol": "REST",
|
441
|
+
"method": "POST",
|
442
|
+
"entitypath": "{base_path}/{version}/v1.0/teams/{pathv1}/channels/{pathv2}/members?{query}",
|
443
|
+
"requestSchema": "schema.json",
|
444
|
+
"responseSchema": "schema.json",
|
445
|
+
"timeout": 0,
|
446
|
+
"sendEmpty": false,
|
447
|
+
"requestDatatype": "JSON",
|
448
|
+
"responseDatatype": "JSON",
|
449
|
+
"headers": {},
|
450
|
+
"responseObjects": [
|
451
|
+
{
|
452
|
+
"type": "default",
|
453
|
+
"key": "",
|
454
|
+
"mockFile": ""
|
455
|
+
}
|
456
|
+
]
|
457
|
+
},
|
458
|
+
{
|
459
|
+
"name": "archiveteam",
|
460
|
+
"protocol": "REST",
|
461
|
+
"method": "POST",
|
462
|
+
"entitypath": "{base_path}/{version}/v1.0/teams/{pathv1}/archive?{query}",
|
463
|
+
"requestSchema": "schema.json",
|
464
|
+
"responseSchema": "schema.json",
|
465
|
+
"timeout": 0,
|
466
|
+
"sendEmpty": false,
|
467
|
+
"requestDatatype": "JSON",
|
468
|
+
"responseDatatype": "JSON",
|
469
|
+
"headers": {},
|
470
|
+
"responseObjects": [
|
471
|
+
{
|
472
|
+
"type": "default",
|
473
|
+
"key": "",
|
474
|
+
"mockFile": ""
|
475
|
+
}
|
476
|
+
]
|
477
|
+
},
|
478
|
+
{
|
479
|
+
"name": "cloneteam",
|
480
|
+
"protocol": "REST",
|
481
|
+
"method": "POST",
|
482
|
+
"entitypath": "{base_path}/{version}/v1.0/teams/{pathv1}/clone?{query}",
|
483
|
+
"requestSchema": "schema.json",
|
484
|
+
"responseSchema": "schema.json",
|
485
|
+
"timeout": 0,
|
486
|
+
"sendEmpty": false,
|
487
|
+
"requestDatatype": "JSON",
|
488
|
+
"responseDatatype": "JSON",
|
489
|
+
"headers": {},
|
490
|
+
"responseObjects": [
|
491
|
+
{
|
492
|
+
"type": "default",
|
493
|
+
"key": "",
|
494
|
+
"mockFile": ""
|
495
|
+
}
|
496
|
+
]
|
497
|
+
},
|
498
|
+
{
|
499
|
+
"name": "unarchiveteam",
|
500
|
+
"protocol": "REST",
|
501
|
+
"method": "POST",
|
502
|
+
"entitypath": "{base_path}/{version}/v1.0/teams/{pathv1}/unarchive?{query}",
|
503
|
+
"requestSchema": "schema.json",
|
504
|
+
"responseSchema": "schema.json",
|
505
|
+
"timeout": 0,
|
506
|
+
"sendEmpty": false,
|
507
|
+
"requestDatatype": "JSON",
|
508
|
+
"responseDatatype": "JSON",
|
509
|
+
"headers": {},
|
510
|
+
"responseObjects": [
|
511
|
+
{
|
512
|
+
"type": "default",
|
513
|
+
"key": "",
|
514
|
+
"mockFile": ""
|
515
|
+
}
|
516
|
+
]
|
517
|
+
}
|
518
|
+
]
|
519
|
+
}
|
@@ -0,0 +1,120 @@
|
|
1
|
+
{
|
2
|
+
"$id": "schema.json",
|
3
|
+
"type": "object",
|
4
|
+
"schema": "http://json-schema.org/draft-07/schema#",
|
5
|
+
"translate": true,
|
6
|
+
"dynamicfields": true,
|
7
|
+
"properties": {
|
8
|
+
"ph_request_type": {
|
9
|
+
"type": "string",
|
10
|
+
"description": "type of request (internal to adapter)",
|
11
|
+
"default": "deleteteam",
|
12
|
+
"enum": [
|
13
|
+
"deleteteam",
|
14
|
+
"getmyjoinedteams",
|
15
|
+
"getmembersofateam",
|
16
|
+
"getchannelsofateam",
|
17
|
+
"createchannel",
|
18
|
+
"getchannelinfo",
|
19
|
+
"createteam",
|
20
|
+
"getappsinateam",
|
21
|
+
"gettabsinachannel",
|
22
|
+
"getitemsinateamdrive",
|
23
|
+
"getmessagesWithoutrepliesInachannelBeta",
|
24
|
+
"createaplaintextchatthreadBeta",
|
25
|
+
"getamessageinachannelBeta",
|
26
|
+
"getrepliestoamessageinachannelBeta",
|
27
|
+
"getareplyofamessageBeta",
|
28
|
+
"getuserSjoinedteams",
|
29
|
+
"getprimarychannel",
|
30
|
+
"getteamchannels",
|
31
|
+
"getteam",
|
32
|
+
"updateteam",
|
33
|
+
"createteamfromgroup",
|
34
|
+
"postCreateteam",
|
35
|
+
"archiveteam",
|
36
|
+
"cloneteam",
|
37
|
+
"unarchiveteam"
|
38
|
+
],
|
39
|
+
"external_name": "ph_request_type"
|
40
|
+
},
|
41
|
+
"groupId": {
|
42
|
+
"type": "string",
|
43
|
+
"description": "",
|
44
|
+
"parse": false,
|
45
|
+
"encode": false,
|
46
|
+
"encrypt": {
|
47
|
+
"type": "AES",
|
48
|
+
"key": ""
|
49
|
+
},
|
50
|
+
"external_name": "GroupId"
|
51
|
+
},
|
52
|
+
"teamId": {
|
53
|
+
"type": "string",
|
54
|
+
"description": "",
|
55
|
+
"parse": false,
|
56
|
+
"encode": false,
|
57
|
+
"encrypt": {
|
58
|
+
"type": "AES",
|
59
|
+
"key": ""
|
60
|
+
},
|
61
|
+
"external_name": "TeamId"
|
62
|
+
},
|
63
|
+
"channelId": {
|
64
|
+
"type": "string",
|
65
|
+
"description": "",
|
66
|
+
"parse": false,
|
67
|
+
"encode": false,
|
68
|
+
"encrypt": {
|
69
|
+
"type": "AES",
|
70
|
+
"key": ""
|
71
|
+
},
|
72
|
+
"external_name": "ChannelId"
|
73
|
+
},
|
74
|
+
"expand": {
|
75
|
+
"type": "string",
|
76
|
+
"description": "",
|
77
|
+
"parse": false,
|
78
|
+
"encode": false,
|
79
|
+
"encrypt": {
|
80
|
+
"type": "AES",
|
81
|
+
"key": ""
|
82
|
+
},
|
83
|
+
"external_name": "$expand"
|
84
|
+
},
|
85
|
+
"messageId": {
|
86
|
+
"type": "string",
|
87
|
+
"description": "",
|
88
|
+
"parse": false,
|
89
|
+
"encode": false,
|
90
|
+
"encrypt": {
|
91
|
+
"type": "AES",
|
92
|
+
"key": ""
|
93
|
+
},
|
94
|
+
"external_name": "MessageId"
|
95
|
+
},
|
96
|
+
"replyId": {
|
97
|
+
"type": "string",
|
98
|
+
"description": "",
|
99
|
+
"parse": false,
|
100
|
+
"encode": false,
|
101
|
+
"encrypt": {
|
102
|
+
"type": "AES",
|
103
|
+
"key": ""
|
104
|
+
},
|
105
|
+
"external_name": "ReplyId"
|
106
|
+
},
|
107
|
+
"userId": {
|
108
|
+
"type": "string",
|
109
|
+
"description": "",
|
110
|
+
"parse": false,
|
111
|
+
"encode": false,
|
112
|
+
"encrypt": {
|
113
|
+
"type": "AES",
|
114
|
+
"key": ""
|
115
|
+
},
|
116
|
+
"external_name": "UserId"
|
117
|
+
}
|
118
|
+
},
|
119
|
+
"definitions": {}
|
120
|
+
}
|