@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,32 @@
|
|
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": "getsubscriptions",
|
12
|
+
"enum": [
|
13
|
+
"getsubscriptions",
|
14
|
+
"updatesubscription",
|
15
|
+
"createsubscription"
|
16
|
+
],
|
17
|
+
"external_name": "ph_request_type"
|
18
|
+
},
|
19
|
+
"subscriptionId": {
|
20
|
+
"type": "string",
|
21
|
+
"description": "",
|
22
|
+
"parse": false,
|
23
|
+
"encode": false,
|
24
|
+
"encrypt": {
|
25
|
+
"type": "AES",
|
26
|
+
"key": ""
|
27
|
+
},
|
28
|
+
"external_name": "SubscriptionId"
|
29
|
+
}
|
30
|
+
},
|
31
|
+
"definitions": {}
|
32
|
+
}
|
@@ -0,0 +1,272 @@
|
|
1
|
+
{
|
2
|
+
"actions": [
|
3
|
+
{
|
4
|
+
"name": "getPlannertasks",
|
5
|
+
"protocol": "REST",
|
6
|
+
"method": "GET",
|
7
|
+
"entitypath": "{base_path}/{version}/v1.0/me/planner/tasks?{query}",
|
8
|
+
"requestSchema": "schema.json",
|
9
|
+
"responseSchema": "schema.json",
|
10
|
+
"timeout": 0,
|
11
|
+
"sendEmpty": false,
|
12
|
+
"sendGetBody": false,
|
13
|
+
"requestDatatype": "JSON",
|
14
|
+
"responseDatatype": "JSON",
|
15
|
+
"headers": {},
|
16
|
+
"responseObjects": [
|
17
|
+
{
|
18
|
+
"type": "default",
|
19
|
+
"key": "",
|
20
|
+
"mockFile": ""
|
21
|
+
}
|
22
|
+
]
|
23
|
+
},
|
24
|
+
{
|
25
|
+
"name": "getPlannertasksforauser",
|
26
|
+
"protocol": "REST",
|
27
|
+
"method": "GET",
|
28
|
+
"entitypath": "{base_path}/{version}/v1.0/users/{pathv1}/planner/tasks?{query}",
|
29
|
+
"requestSchema": "schema.json",
|
30
|
+
"responseSchema": "schema.json",
|
31
|
+
"timeout": 0,
|
32
|
+
"sendEmpty": false,
|
33
|
+
"sendGetBody": false,
|
34
|
+
"requestDatatype": "JSON",
|
35
|
+
"responseDatatype": "JSON",
|
36
|
+
"headers": {},
|
37
|
+
"responseObjects": [
|
38
|
+
{
|
39
|
+
"type": "default",
|
40
|
+
"key": "",
|
41
|
+
"mockFile": ""
|
42
|
+
}
|
43
|
+
]
|
44
|
+
},
|
45
|
+
{
|
46
|
+
"name": "getPlannerplansassociatedwithgroup",
|
47
|
+
"protocol": "REST",
|
48
|
+
"method": "GET",
|
49
|
+
"entitypath": "{base_path}/{version}/v1.0/groups/{pathv1}/planner/plans?{query}",
|
50
|
+
"requestSchema": "schema.json",
|
51
|
+
"responseSchema": "schema.json",
|
52
|
+
"timeout": 0,
|
53
|
+
"sendEmpty": false,
|
54
|
+
"sendGetBody": false,
|
55
|
+
"requestDatatype": "JSON",
|
56
|
+
"responseDatatype": "JSON",
|
57
|
+
"headers": {},
|
58
|
+
"responseObjects": [
|
59
|
+
{
|
60
|
+
"type": "default",
|
61
|
+
"key": "",
|
62
|
+
"mockFile": ""
|
63
|
+
}
|
64
|
+
]
|
65
|
+
},
|
66
|
+
{
|
67
|
+
"name": "getplan",
|
68
|
+
"protocol": "REST",
|
69
|
+
"method": "GET",
|
70
|
+
"entitypath": "{base_path}/{version}/v1.0/planner/plans/{pathv1}?{query}",
|
71
|
+
"requestSchema": "schema.json",
|
72
|
+
"responseSchema": "schema.json",
|
73
|
+
"timeout": 0,
|
74
|
+
"sendEmpty": false,
|
75
|
+
"sendGetBody": false,
|
76
|
+
"requestDatatype": "JSON",
|
77
|
+
"responseDatatype": "JSON",
|
78
|
+
"headers": {},
|
79
|
+
"responseObjects": [
|
80
|
+
{
|
81
|
+
"type": "default",
|
82
|
+
"key": "",
|
83
|
+
"mockFile": ""
|
84
|
+
}
|
85
|
+
]
|
86
|
+
},
|
87
|
+
{
|
88
|
+
"name": "updateplan",
|
89
|
+
"protocol": "REST",
|
90
|
+
"method": "PATCH",
|
91
|
+
"entitypath": "{base_path}/{version}/v1.0/planner/plans/{pathv1}?{query}",
|
92
|
+
"requestSchema": "schema.json",
|
93
|
+
"responseSchema": "schema.json",
|
94
|
+
"timeout": 0,
|
95
|
+
"sendEmpty": false,
|
96
|
+
"requestDatatype": "JSON",
|
97
|
+
"responseDatatype": "JSON",
|
98
|
+
"headers": {},
|
99
|
+
"responseObjects": [
|
100
|
+
{
|
101
|
+
"type": "default",
|
102
|
+
"key": "",
|
103
|
+
"mockFile": ""
|
104
|
+
}
|
105
|
+
]
|
106
|
+
},
|
107
|
+
{
|
108
|
+
"name": "getplanbuckets",
|
109
|
+
"protocol": "REST",
|
110
|
+
"method": "GET",
|
111
|
+
"entitypath": "{base_path}/{version}/v1.0/planner/plans/{pathv1}/buckets?{query}",
|
112
|
+
"requestSchema": "schema.json",
|
113
|
+
"responseSchema": "schema.json",
|
114
|
+
"timeout": 0,
|
115
|
+
"sendEmpty": false,
|
116
|
+
"sendGetBody": false,
|
117
|
+
"requestDatatype": "JSON",
|
118
|
+
"responseDatatype": "JSON",
|
119
|
+
"headers": {},
|
120
|
+
"responseObjects": [
|
121
|
+
{
|
122
|
+
"type": "default",
|
123
|
+
"key": "",
|
124
|
+
"mockFile": ""
|
125
|
+
}
|
126
|
+
]
|
127
|
+
},
|
128
|
+
{
|
129
|
+
"name": "createabucketinaplan",
|
130
|
+
"protocol": "REST",
|
131
|
+
"method": "POST",
|
132
|
+
"entitypath": "{base_path}/{version}/v1.0/planner/buckets?{query}",
|
133
|
+
"requestSchema": "schema.json",
|
134
|
+
"responseSchema": "schema.json",
|
135
|
+
"timeout": 0,
|
136
|
+
"sendEmpty": false,
|
137
|
+
"requestDatatype": "JSON",
|
138
|
+
"responseDatatype": "JSON",
|
139
|
+
"headers": {},
|
140
|
+
"responseObjects": [
|
141
|
+
{
|
142
|
+
"type": "default",
|
143
|
+
"key": "",
|
144
|
+
"mockFile": ""
|
145
|
+
}
|
146
|
+
]
|
147
|
+
},
|
148
|
+
{
|
149
|
+
"name": "updateabucket",
|
150
|
+
"protocol": "REST",
|
151
|
+
"method": "PATCH",
|
152
|
+
"entitypath": "{base_path}/{version}/v1.0/planner/buckets/{pathv1}?{query}",
|
153
|
+
"requestSchema": "schema.json",
|
154
|
+
"responseSchema": "schema.json",
|
155
|
+
"timeout": 0,
|
156
|
+
"sendEmpty": 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": "getPlannertasksforaplan",
|
170
|
+
"protocol": "REST",
|
171
|
+
"method": "GET",
|
172
|
+
"entitypath": "{base_path}/{version}/v1.0/planner/plans/{pathv1}/tasks?{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": "getPlannertaskbyid",
|
191
|
+
"protocol": "REST",
|
192
|
+
"method": "GET",
|
193
|
+
"entitypath": "{base_path}/{version}/v1.0/planner/tasks/{pathv1}?{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": "updateaPlannertask",
|
212
|
+
"protocol": "REST",
|
213
|
+
"method": "PATCH",
|
214
|
+
"entitypath": "{base_path}/{version}/v1.0/planner/tasks/{pathv1}?{query}",
|
215
|
+
"requestSchema": "schema.json",
|
216
|
+
"responseSchema": "schema.json",
|
217
|
+
"timeout": 0,
|
218
|
+
"sendEmpty": false,
|
219
|
+
"requestDatatype": "JSON",
|
220
|
+
"responseDatatype": "JSON",
|
221
|
+
"headers": {},
|
222
|
+
"responseObjects": [
|
223
|
+
{
|
224
|
+
"type": "default",
|
225
|
+
"key": "",
|
226
|
+
"mockFile": ""
|
227
|
+
}
|
228
|
+
]
|
229
|
+
},
|
230
|
+
{
|
231
|
+
"name": "createaPlannertask",
|
232
|
+
"protocol": "REST",
|
233
|
+
"method": "POST",
|
234
|
+
"entitypath": "{base_path}/{version}/v1.0/planner/tasks?{query}",
|
235
|
+
"requestSchema": "schema.json",
|
236
|
+
"responseSchema": "schema.json",
|
237
|
+
"timeout": 0,
|
238
|
+
"sendEmpty": false,
|
239
|
+
"requestDatatype": "JSON",
|
240
|
+
"responseDatatype": "JSON",
|
241
|
+
"headers": {},
|
242
|
+
"responseObjects": [
|
243
|
+
{
|
244
|
+
"type": "default",
|
245
|
+
"key": "",
|
246
|
+
"mockFile": ""
|
247
|
+
}
|
248
|
+
]
|
249
|
+
},
|
250
|
+
{
|
251
|
+
"name": "getPlannertaskdetails",
|
252
|
+
"protocol": "REST",
|
253
|
+
"method": "GET",
|
254
|
+
"entitypath": "{base_path}/{version}/v1.0/planner/tasks/{pathv1}/details?{query}",
|
255
|
+
"requestSchema": "schema.json",
|
256
|
+
"responseSchema": "schema.json",
|
257
|
+
"timeout": 0,
|
258
|
+
"sendEmpty": false,
|
259
|
+
"sendGetBody": false,
|
260
|
+
"requestDatatype": "JSON",
|
261
|
+
"responseDatatype": "JSON",
|
262
|
+
"headers": {},
|
263
|
+
"responseObjects": [
|
264
|
+
{
|
265
|
+
"type": "default",
|
266
|
+
"key": "",
|
267
|
+
"mockFile": ""
|
268
|
+
}
|
269
|
+
]
|
270
|
+
}
|
271
|
+
]
|
272
|
+
}
|
@@ -0,0 +1,86 @@
|
|
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": "getPlannertasks",
|
12
|
+
"enum": [
|
13
|
+
"getPlannertasks",
|
14
|
+
"getPlannertasksforauser",
|
15
|
+
"getPlannerplansassociatedwithgroup",
|
16
|
+
"getplan",
|
17
|
+
"updateplan",
|
18
|
+
"getplanbuckets",
|
19
|
+
"createabucketinaplan",
|
20
|
+
"updateabucket",
|
21
|
+
"getPlannertasksforaplan",
|
22
|
+
"getPlannertaskbyid",
|
23
|
+
"updateaPlannertask",
|
24
|
+
"createaPlannertask",
|
25
|
+
"getPlannertaskdetails"
|
26
|
+
],
|
27
|
+
"external_name": "ph_request_type"
|
28
|
+
},
|
29
|
+
"userName": {
|
30
|
+
"type": "string",
|
31
|
+
"description": "",
|
32
|
+
"parse": false,
|
33
|
+
"encode": false,
|
34
|
+
"encrypt": {
|
35
|
+
"type": "AES",
|
36
|
+
"key": ""
|
37
|
+
},
|
38
|
+
"external_name": "UserName"
|
39
|
+
},
|
40
|
+
"groupId": {
|
41
|
+
"type": "string",
|
42
|
+
"description": "",
|
43
|
+
"parse": false,
|
44
|
+
"encode": false,
|
45
|
+
"encrypt": {
|
46
|
+
"type": "AES",
|
47
|
+
"key": ""
|
48
|
+
},
|
49
|
+
"external_name": "GroupId"
|
50
|
+
},
|
51
|
+
"planId": {
|
52
|
+
"type": "string",
|
53
|
+
"description": "",
|
54
|
+
"parse": false,
|
55
|
+
"encode": false,
|
56
|
+
"encrypt": {
|
57
|
+
"type": "AES",
|
58
|
+
"key": ""
|
59
|
+
},
|
60
|
+
"external_name": "PlanId"
|
61
|
+
},
|
62
|
+
"bucketId": {
|
63
|
+
"type": "string",
|
64
|
+
"description": "",
|
65
|
+
"parse": false,
|
66
|
+
"encode": false,
|
67
|
+
"encrypt": {
|
68
|
+
"type": "AES",
|
69
|
+
"key": ""
|
70
|
+
},
|
71
|
+
"external_name": "BucketId"
|
72
|
+
},
|
73
|
+
"taskId": {
|
74
|
+
"type": "string",
|
75
|
+
"description": "",
|
76
|
+
"parse": false,
|
77
|
+
"encode": false,
|
78
|
+
"encrypt": {
|
79
|
+
"type": "AES",
|
80
|
+
"key": ""
|
81
|
+
},
|
82
|
+
"external_name": "TaskId"
|
83
|
+
}
|
84
|
+
},
|
85
|
+
"definitions": {}
|
86
|
+
}
|
@@ -0,0 +1,187 @@
|
|
1
|
+
{
|
2
|
+
"actions": [
|
3
|
+
{
|
4
|
+
"name": "getmyToDolists",
|
5
|
+
"protocol": "REST",
|
6
|
+
"method": "GET",
|
7
|
+
"entitypath": "{base_path}/{version}/v1.0/me/todo/lists?{query}",
|
8
|
+
"requestSchema": "schema.json",
|
9
|
+
"responseSchema": "schema.json",
|
10
|
+
"timeout": 0,
|
11
|
+
"sendEmpty": false,
|
12
|
+
"sendGetBody": false,
|
13
|
+
"requestDatatype": "JSON",
|
14
|
+
"responseDatatype": "JSON",
|
15
|
+
"headers": {},
|
16
|
+
"responseObjects": [
|
17
|
+
{
|
18
|
+
"type": "default",
|
19
|
+
"key": "",
|
20
|
+
"mockFile": ""
|
21
|
+
}
|
22
|
+
]
|
23
|
+
},
|
24
|
+
{
|
25
|
+
"name": "createaToDolist",
|
26
|
+
"protocol": "REST",
|
27
|
+
"method": "POST",
|
28
|
+
"entitypath": "{base_path}/{version}/v1.0/me/todo/lists?{query}",
|
29
|
+
"requestSchema": "schema.json",
|
30
|
+
"responseSchema": "schema.json",
|
31
|
+
"timeout": 0,
|
32
|
+
"sendEmpty": 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": "getmyToDolist",
|
46
|
+
"protocol": "REST",
|
47
|
+
"method": "GET",
|
48
|
+
"entitypath": "{base_path}/{version}/v1.0/me/todo/lists/{pathv1}?{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": "updateaToDolist",
|
67
|
+
"protocol": "REST",
|
68
|
+
"method": "PATCH",
|
69
|
+
"entitypath": "{base_path}/{version}/v1.0/me/todo/lists/{pathv1}?{query}",
|
70
|
+
"requestSchema": "schema.json",
|
71
|
+
"responseSchema": "schema.json",
|
72
|
+
"timeout": 0,
|
73
|
+
"sendEmpty": false,
|
74
|
+
"requestDatatype": "JSON",
|
75
|
+
"responseDatatype": "JSON",
|
76
|
+
"headers": {},
|
77
|
+
"responseObjects": [
|
78
|
+
{
|
79
|
+
"type": "default",
|
80
|
+
"key": "",
|
81
|
+
"mockFile": ""
|
82
|
+
}
|
83
|
+
]
|
84
|
+
},
|
85
|
+
{
|
86
|
+
"name": "deleteaToDolist",
|
87
|
+
"protocol": "REST",
|
88
|
+
"method": "DELETE",
|
89
|
+
"entitypath": "{base_path}/{version}/v1.0/me/todo/lists/{pathv1}?{query}",
|
90
|
+
"requestSchema": "schema.json",
|
91
|
+
"responseSchema": "schema.json",
|
92
|
+
"timeout": 0,
|
93
|
+
"sendEmpty": false,
|
94
|
+
"requestDatatype": "JSON",
|
95
|
+
"responseDatatype": "JSON",
|
96
|
+
"headers": {},
|
97
|
+
"responseObjects": [
|
98
|
+
{
|
99
|
+
"type": "default",
|
100
|
+
"key": "",
|
101
|
+
"mockFile": ""
|
102
|
+
}
|
103
|
+
]
|
104
|
+
},
|
105
|
+
{
|
106
|
+
"name": "getmyToDolisttasks",
|
107
|
+
"protocol": "REST",
|
108
|
+
"method": "GET",
|
109
|
+
"entitypath": "{base_path}/{version}/v1.0/me/todo/lists/{pathv1}/tasks?{query}",
|
110
|
+
"requestSchema": "schema.json",
|
111
|
+
"responseSchema": "schema.json",
|
112
|
+
"timeout": 0,
|
113
|
+
"sendEmpty": false,
|
114
|
+
"sendGetBody": false,
|
115
|
+
"requestDatatype": "JSON",
|
116
|
+
"responseDatatype": "JSON",
|
117
|
+
"headers": {},
|
118
|
+
"responseObjects": [
|
119
|
+
{
|
120
|
+
"type": "default",
|
121
|
+
"key": "",
|
122
|
+
"mockFile": ""
|
123
|
+
}
|
124
|
+
]
|
125
|
+
},
|
126
|
+
{
|
127
|
+
"name": "createaToDotaskinalist",
|
128
|
+
"protocol": "REST",
|
129
|
+
"method": "POST",
|
130
|
+
"entitypath": "{base_path}/{version}/v1.0/me/todo/lists/{pathv1}/tasks?{query}",
|
131
|
+
"requestSchema": "schema.json",
|
132
|
+
"responseSchema": "schema.json",
|
133
|
+
"timeout": 0,
|
134
|
+
"sendEmpty": false,
|
135
|
+
"requestDatatype": "JSON",
|
136
|
+
"responseDatatype": "JSON",
|
137
|
+
"headers": {},
|
138
|
+
"responseObjects": [
|
139
|
+
{
|
140
|
+
"type": "default",
|
141
|
+
"key": "",
|
142
|
+
"mockFile": ""
|
143
|
+
}
|
144
|
+
]
|
145
|
+
},
|
146
|
+
{
|
147
|
+
"name": "updateaToDotaskinalist",
|
148
|
+
"protocol": "REST",
|
149
|
+
"method": "PATCH",
|
150
|
+
"entitypath": "{base_path}/{version}/v1.0/me/todo/lists/{pathv1}/tasks/{pathv2}?{query}",
|
151
|
+
"requestSchema": "schema.json",
|
152
|
+
"responseSchema": "schema.json",
|
153
|
+
"timeout": 0,
|
154
|
+
"sendEmpty": false,
|
155
|
+
"requestDatatype": "JSON",
|
156
|
+
"responseDatatype": "JSON",
|
157
|
+
"headers": {},
|
158
|
+
"responseObjects": [
|
159
|
+
{
|
160
|
+
"type": "default",
|
161
|
+
"key": "",
|
162
|
+
"mockFile": ""
|
163
|
+
}
|
164
|
+
]
|
165
|
+
},
|
166
|
+
{
|
167
|
+
"name": "deleteaToDotaskinalist",
|
168
|
+
"protocol": "REST",
|
169
|
+
"method": "DELETE",
|
170
|
+
"entitypath": "{base_path}/{version}/v1.0/me/todo/lists/{pathv1}/tasks/{pathv2}?{query}",
|
171
|
+
"requestSchema": "schema.json",
|
172
|
+
"responseSchema": "schema.json",
|
173
|
+
"timeout": 0,
|
174
|
+
"sendEmpty": false,
|
175
|
+
"requestDatatype": "JSON",
|
176
|
+
"responseDatatype": "JSON",
|
177
|
+
"headers": {},
|
178
|
+
"responseObjects": [
|
179
|
+
{
|
180
|
+
"type": "default",
|
181
|
+
"key": "",
|
182
|
+
"mockFile": ""
|
183
|
+
}
|
184
|
+
]
|
185
|
+
}
|
186
|
+
]
|
187
|
+
}
|
@@ -0,0 +1,49 @@
|
|
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": "getmyToDolists",
|
12
|
+
"enum": [
|
13
|
+
"getmyToDolists",
|
14
|
+
"createaToDolist",
|
15
|
+
"getmyToDolist",
|
16
|
+
"updateaToDolist",
|
17
|
+
"deleteaToDolist",
|
18
|
+
"getmyToDolisttasks",
|
19
|
+
"createaToDotaskinalist",
|
20
|
+
"updateaToDotaskinalist",
|
21
|
+
"deleteaToDotaskinalist"
|
22
|
+
],
|
23
|
+
"external_name": "ph_request_type"
|
24
|
+
},
|
25
|
+
"taskListId": {
|
26
|
+
"type": "string",
|
27
|
+
"description": "",
|
28
|
+
"parse": false,
|
29
|
+
"encode": false,
|
30
|
+
"encrypt": {
|
31
|
+
"type": "AES",
|
32
|
+
"key": ""
|
33
|
+
},
|
34
|
+
"external_name": "TaskListId"
|
35
|
+
},
|
36
|
+
"taskId": {
|
37
|
+
"type": "string",
|
38
|
+
"description": "",
|
39
|
+
"parse": false,
|
40
|
+
"encode": false,
|
41
|
+
"encrypt": {
|
42
|
+
"type": "AES",
|
43
|
+
"key": ""
|
44
|
+
},
|
45
|
+
"external_name": "TaskId"
|
46
|
+
}
|
47
|
+
},
|
48
|
+
"definitions": {}
|
49
|
+
}
|