@superdurable/connector-box 0.1.0 → 0.2.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/README.md +4 -1
- package/dex-connector.json +897 -24
- package/dist/chunk-7RYWT7W3.js +1653 -0
- package/dist/connection-BIbBd41p.d.ts +509 -0
- package/dist/index.d.ts +904 -7
- package/dist/index.js +1207 -47
- package/dist/mock.d.ts +293 -3
- package/dist/mock.js +275 -1
- package/package.json +4 -4
- package/dist/chunk-F5T3YIDN.js +0 -299
- package/dist/connection-BzNkxQQZ.d.ts +0 -118
package/dex-connector.json
CHANGED
|
@@ -1,18 +1,617 @@
|
|
|
1
1
|
{
|
|
2
2
|
"connectorId": "box",
|
|
3
|
-
"releaseTag": "connectors/box/go/v0.
|
|
3
|
+
"releaseTag": "connectors/box/go/v0.2.0",
|
|
4
4
|
"package": {
|
|
5
5
|
"ecosystem": "npm",
|
|
6
6
|
"name": "@superdurable/connector-box",
|
|
7
|
-
"version": "0.
|
|
7
|
+
"version": "0.2.0"
|
|
8
8
|
},
|
|
9
9
|
"factories": [
|
|
10
|
+
{
|
|
11
|
+
"name": "newCreateFolderStep",
|
|
12
|
+
"kind": "mutation",
|
|
13
|
+
"operationId": "createFolder",
|
|
14
|
+
"inputType": "CreateBoxFolderInput",
|
|
15
|
+
"description": "Create one named Box folder under a parent folder.",
|
|
16
|
+
"fields": {
|
|
17
|
+
"stepType": "stepType",
|
|
18
|
+
"annotations": "annotations",
|
|
19
|
+
"connectionName": "connectionName",
|
|
20
|
+
"resultAttribute": "resultAttribute"
|
|
21
|
+
},
|
|
22
|
+
"branches": [
|
|
23
|
+
{
|
|
24
|
+
"id": "created",
|
|
25
|
+
"field": "created",
|
|
26
|
+
"optional": false
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"id": "providerRejected",
|
|
30
|
+
"field": "providerRejected",
|
|
31
|
+
"optional": true
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"id": "defect",
|
|
35
|
+
"field": "defect",
|
|
36
|
+
"optional": true
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"id": "uncertain",
|
|
40
|
+
"field": "uncertain",
|
|
41
|
+
"optional": true
|
|
42
|
+
}
|
|
43
|
+
],
|
|
44
|
+
"inputSchema": {
|
|
45
|
+
"additionalProperties": false,
|
|
46
|
+
"description": "CreateBoxFolderInput creates one named folder under a parent.",
|
|
47
|
+
"properties": {
|
|
48
|
+
"name": {
|
|
49
|
+
"description": "Name is the new folder name, unique within the parent.",
|
|
50
|
+
"type": "string"
|
|
51
|
+
},
|
|
52
|
+
"parentId": {
|
|
53
|
+
"description": "ParentID is a decimal Box folder ID; 0 is root.",
|
|
54
|
+
"type": "string"
|
|
55
|
+
}
|
|
56
|
+
},
|
|
57
|
+
"required": [
|
|
58
|
+
"name",
|
|
59
|
+
"parentId"
|
|
60
|
+
],
|
|
61
|
+
"type": "object"
|
|
62
|
+
}
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
"name": "newCopyFileStep",
|
|
66
|
+
"kind": "mutation",
|
|
67
|
+
"operationId": "copyFile",
|
|
68
|
+
"inputType": "CopyBoxFileInput",
|
|
69
|
+
"description": "Copy a Box file to a parent folder under an explicit name.",
|
|
70
|
+
"fields": {
|
|
71
|
+
"stepType": "stepType",
|
|
72
|
+
"annotations": "annotations",
|
|
73
|
+
"connectionName": "connectionName",
|
|
74
|
+
"resultAttribute": "resultAttribute"
|
|
75
|
+
},
|
|
76
|
+
"branches": [
|
|
77
|
+
{
|
|
78
|
+
"id": "copied",
|
|
79
|
+
"field": "copied",
|
|
80
|
+
"optional": false
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
"id": "providerRejected",
|
|
84
|
+
"field": "providerRejected",
|
|
85
|
+
"optional": true
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
"id": "defect",
|
|
89
|
+
"field": "defect",
|
|
90
|
+
"optional": true
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
"id": "uncertain",
|
|
94
|
+
"field": "uncertain",
|
|
95
|
+
"optional": true
|
|
96
|
+
}
|
|
97
|
+
],
|
|
98
|
+
"inputSchema": {
|
|
99
|
+
"additionalProperties": false,
|
|
100
|
+
"description": "CopyBoxFileInput copies one file under an explicit destination name.",
|
|
101
|
+
"properties": {
|
|
102
|
+
"fileId": {
|
|
103
|
+
"description": "FileID is the source file's decimal ID.",
|
|
104
|
+
"type": "string"
|
|
105
|
+
},
|
|
106
|
+
"name": {
|
|
107
|
+
"description": "Name is the destination file name, unique within the parent.",
|
|
108
|
+
"type": "string"
|
|
109
|
+
},
|
|
110
|
+
"parentId": {
|
|
111
|
+
"description": "ParentID is the destination folder ID; 0 is root.",
|
|
112
|
+
"type": "string"
|
|
113
|
+
}
|
|
114
|
+
},
|
|
115
|
+
"required": [
|
|
116
|
+
"fileId",
|
|
117
|
+
"name",
|
|
118
|
+
"parentId"
|
|
119
|
+
],
|
|
120
|
+
"type": "object"
|
|
121
|
+
}
|
|
122
|
+
},
|
|
123
|
+
{
|
|
124
|
+
"name": "newCopyFolderStep",
|
|
125
|
+
"kind": "mutation",
|
|
126
|
+
"operationId": "copyFolder",
|
|
127
|
+
"inputType": "CopyBoxFolderInput",
|
|
128
|
+
"description": "Copy a Box folder to a parent folder under an explicit name.",
|
|
129
|
+
"fields": {
|
|
130
|
+
"stepType": "stepType",
|
|
131
|
+
"annotations": "annotations",
|
|
132
|
+
"connectionName": "connectionName",
|
|
133
|
+
"resultAttribute": "resultAttribute"
|
|
134
|
+
},
|
|
135
|
+
"branches": [
|
|
136
|
+
{
|
|
137
|
+
"id": "copied",
|
|
138
|
+
"field": "copied",
|
|
139
|
+
"optional": false
|
|
140
|
+
},
|
|
141
|
+
{
|
|
142
|
+
"id": "providerRejected",
|
|
143
|
+
"field": "providerRejected",
|
|
144
|
+
"optional": true
|
|
145
|
+
},
|
|
146
|
+
{
|
|
147
|
+
"id": "defect",
|
|
148
|
+
"field": "defect",
|
|
149
|
+
"optional": true
|
|
150
|
+
},
|
|
151
|
+
{
|
|
152
|
+
"id": "uncertain",
|
|
153
|
+
"field": "uncertain",
|
|
154
|
+
"optional": true
|
|
155
|
+
}
|
|
156
|
+
],
|
|
157
|
+
"inputSchema": {
|
|
158
|
+
"additionalProperties": false,
|
|
159
|
+
"description": "CopyBoxFolderInput copies one folder under an explicit destination name.",
|
|
160
|
+
"properties": {
|
|
161
|
+
"folderId": {
|
|
162
|
+
"description": "FolderID is the source folder's decimal ID; root cannot be copied.",
|
|
163
|
+
"type": "string"
|
|
164
|
+
},
|
|
165
|
+
"name": {
|
|
166
|
+
"description": "Name is the destination folder name, unique within the parent.",
|
|
167
|
+
"type": "string"
|
|
168
|
+
},
|
|
169
|
+
"parentId": {
|
|
170
|
+
"description": "ParentID is the destination folder ID; 0 is root.",
|
|
171
|
+
"type": "string"
|
|
172
|
+
}
|
|
173
|
+
},
|
|
174
|
+
"required": [
|
|
175
|
+
"folderId",
|
|
176
|
+
"name",
|
|
177
|
+
"parentId"
|
|
178
|
+
],
|
|
179
|
+
"type": "object"
|
|
180
|
+
}
|
|
181
|
+
},
|
|
182
|
+
{
|
|
183
|
+
"name": "newUpdateFileStep",
|
|
184
|
+
"kind": "mutation",
|
|
185
|
+
"operationId": "updateFile",
|
|
186
|
+
"inputType": "UpdateBoxFileInput",
|
|
187
|
+
"description": "Rename or move a file, or create or change its shared link.",
|
|
188
|
+
"fields": {
|
|
189
|
+
"stepType": "stepType",
|
|
190
|
+
"annotations": "annotations",
|
|
191
|
+
"connectionName": "connectionName",
|
|
192
|
+
"resultAttribute": "resultAttribute"
|
|
193
|
+
},
|
|
194
|
+
"branches": [
|
|
195
|
+
{
|
|
196
|
+
"id": "updated",
|
|
197
|
+
"field": "updated",
|
|
198
|
+
"optional": false
|
|
199
|
+
},
|
|
200
|
+
{
|
|
201
|
+
"id": "notFound",
|
|
202
|
+
"field": "notFound",
|
|
203
|
+
"optional": true
|
|
204
|
+
},
|
|
205
|
+
{
|
|
206
|
+
"id": "providerRejected",
|
|
207
|
+
"field": "providerRejected",
|
|
208
|
+
"optional": true
|
|
209
|
+
},
|
|
210
|
+
{
|
|
211
|
+
"id": "invalidResponse",
|
|
212
|
+
"field": "invalidResponse",
|
|
213
|
+
"optional": true
|
|
214
|
+
},
|
|
215
|
+
{
|
|
216
|
+
"id": "defect",
|
|
217
|
+
"field": "defect",
|
|
218
|
+
"optional": true
|
|
219
|
+
}
|
|
220
|
+
],
|
|
221
|
+
"inputSchema": {
|
|
222
|
+
"additionalProperties": false,
|
|
223
|
+
"description": "UpdateBoxFileInput selects a file and absolute fields to replace.",
|
|
224
|
+
"properties": {
|
|
225
|
+
"fileId": {
|
|
226
|
+
"description": "FileID appears in Box Web's /files/<ID> URL.",
|
|
227
|
+
"type": "string"
|
|
228
|
+
},
|
|
229
|
+
"name": {
|
|
230
|
+
"description": "Name is the desired file name; blank leaves it unchanged.",
|
|
231
|
+
"type": "string"
|
|
232
|
+
},
|
|
233
|
+
"parentId": {
|
|
234
|
+
"description": "ParentID is the destination folder ID; blank leaves the parent unchanged and 0 selects root.",
|
|
235
|
+
"type": "string"
|
|
236
|
+
},
|
|
237
|
+
"sharedLinkAccess": {
|
|
238
|
+
"description": "SharedLinkAccess is open, company, or collaborators; blank leaves sharing unchanged.",
|
|
239
|
+
"type": "string"
|
|
240
|
+
}
|
|
241
|
+
},
|
|
242
|
+
"required": [
|
|
243
|
+
"fileId"
|
|
244
|
+
],
|
|
245
|
+
"type": "object"
|
|
246
|
+
}
|
|
247
|
+
},
|
|
248
|
+
{
|
|
249
|
+
"name": "newUpdateFolderStep",
|
|
250
|
+
"kind": "mutation",
|
|
251
|
+
"operationId": "updateFolder",
|
|
252
|
+
"inputType": "UpdateBoxFolderInput",
|
|
253
|
+
"description": "Rename or move a folder, or create or change its shared link.",
|
|
254
|
+
"fields": {
|
|
255
|
+
"stepType": "stepType",
|
|
256
|
+
"annotations": "annotations",
|
|
257
|
+
"connectionName": "connectionName",
|
|
258
|
+
"resultAttribute": "resultAttribute"
|
|
259
|
+
},
|
|
260
|
+
"branches": [
|
|
261
|
+
{
|
|
262
|
+
"id": "updated",
|
|
263
|
+
"field": "updated",
|
|
264
|
+
"optional": false
|
|
265
|
+
},
|
|
266
|
+
{
|
|
267
|
+
"id": "notFound",
|
|
268
|
+
"field": "notFound",
|
|
269
|
+
"optional": true
|
|
270
|
+
},
|
|
271
|
+
{
|
|
272
|
+
"id": "providerRejected",
|
|
273
|
+
"field": "providerRejected",
|
|
274
|
+
"optional": true
|
|
275
|
+
},
|
|
276
|
+
{
|
|
277
|
+
"id": "invalidResponse",
|
|
278
|
+
"field": "invalidResponse",
|
|
279
|
+
"optional": true
|
|
280
|
+
},
|
|
281
|
+
{
|
|
282
|
+
"id": "defect",
|
|
283
|
+
"field": "defect",
|
|
284
|
+
"optional": true
|
|
285
|
+
}
|
|
286
|
+
],
|
|
287
|
+
"inputSchema": {
|
|
288
|
+
"additionalProperties": false,
|
|
289
|
+
"description": "UpdateBoxFolderInput selects a folder and absolute fields to replace.",
|
|
290
|
+
"properties": {
|
|
291
|
+
"folderId": {
|
|
292
|
+
"description": "FolderID appears in Box Web's /folders/<ID> URL; root cannot be updated.",
|
|
293
|
+
"type": "string"
|
|
294
|
+
},
|
|
295
|
+
"name": {
|
|
296
|
+
"description": "Name is the desired folder name; blank leaves it unchanged.",
|
|
297
|
+
"type": "string"
|
|
298
|
+
},
|
|
299
|
+
"parentId": {
|
|
300
|
+
"description": "ParentID is the destination folder ID; blank leaves the parent unchanged and 0 selects root.",
|
|
301
|
+
"type": "string"
|
|
302
|
+
},
|
|
303
|
+
"sharedLinkAccess": {
|
|
304
|
+
"description": "SharedLinkAccess is open, company, or collaborators; blank leaves sharing unchanged.",
|
|
305
|
+
"type": "string"
|
|
306
|
+
}
|
|
307
|
+
},
|
|
308
|
+
"required": [
|
|
309
|
+
"folderId"
|
|
310
|
+
],
|
|
311
|
+
"type": "object"
|
|
312
|
+
}
|
|
313
|
+
},
|
|
314
|
+
{
|
|
315
|
+
"name": "newShareFileStep",
|
|
316
|
+
"kind": "mutation",
|
|
317
|
+
"operationId": "shareFile",
|
|
318
|
+
"inputType": "ShareBoxFileInput",
|
|
319
|
+
"description": "Create or replace a Box file's shared link access.",
|
|
320
|
+
"fields": {
|
|
321
|
+
"stepType": "stepType",
|
|
322
|
+
"annotations": "annotations",
|
|
323
|
+
"connectionName": "connectionName",
|
|
324
|
+
"resultAttribute": "resultAttribute"
|
|
325
|
+
},
|
|
326
|
+
"branches": [
|
|
327
|
+
{
|
|
328
|
+
"id": "shared",
|
|
329
|
+
"field": "shared",
|
|
330
|
+
"optional": false
|
|
331
|
+
},
|
|
332
|
+
{
|
|
333
|
+
"id": "notFound",
|
|
334
|
+
"field": "notFound",
|
|
335
|
+
"optional": true
|
|
336
|
+
},
|
|
337
|
+
{
|
|
338
|
+
"id": "providerRejected",
|
|
339
|
+
"field": "providerRejected",
|
|
340
|
+
"optional": true
|
|
341
|
+
},
|
|
342
|
+
{
|
|
343
|
+
"id": "invalidResponse",
|
|
344
|
+
"field": "invalidResponse",
|
|
345
|
+
"optional": true
|
|
346
|
+
},
|
|
347
|
+
{
|
|
348
|
+
"id": "defect",
|
|
349
|
+
"field": "defect",
|
|
350
|
+
"optional": true
|
|
351
|
+
}
|
|
352
|
+
],
|
|
353
|
+
"inputSchema": {
|
|
354
|
+
"additionalProperties": false,
|
|
355
|
+
"description": "ShareBoxFileInput selects a file and desired shared link access.",
|
|
356
|
+
"properties": {
|
|
357
|
+
"access": {
|
|
358
|
+
"description": "Access is open, company, or collaborators.",
|
|
359
|
+
"type": "string"
|
|
360
|
+
},
|
|
361
|
+
"fileId": {
|
|
362
|
+
"description": "FileID is the decimal ID from Box Web's /files/<ID> URL.",
|
|
363
|
+
"type": "string"
|
|
364
|
+
}
|
|
365
|
+
},
|
|
366
|
+
"required": [
|
|
367
|
+
"access",
|
|
368
|
+
"fileId"
|
|
369
|
+
],
|
|
370
|
+
"type": "object"
|
|
371
|
+
}
|
|
372
|
+
},
|
|
373
|
+
{
|
|
374
|
+
"name": "newShareFolderStep",
|
|
375
|
+
"kind": "mutation",
|
|
376
|
+
"operationId": "shareFolder",
|
|
377
|
+
"inputType": "ShareBoxFolderInput",
|
|
378
|
+
"description": "Create or replace a Box folder's shared link access.",
|
|
379
|
+
"fields": {
|
|
380
|
+
"stepType": "stepType",
|
|
381
|
+
"annotations": "annotations",
|
|
382
|
+
"connectionName": "connectionName",
|
|
383
|
+
"resultAttribute": "resultAttribute"
|
|
384
|
+
},
|
|
385
|
+
"branches": [
|
|
386
|
+
{
|
|
387
|
+
"id": "shared",
|
|
388
|
+
"field": "shared",
|
|
389
|
+
"optional": false
|
|
390
|
+
},
|
|
391
|
+
{
|
|
392
|
+
"id": "notFound",
|
|
393
|
+
"field": "notFound",
|
|
394
|
+
"optional": true
|
|
395
|
+
},
|
|
396
|
+
{
|
|
397
|
+
"id": "providerRejected",
|
|
398
|
+
"field": "providerRejected",
|
|
399
|
+
"optional": true
|
|
400
|
+
},
|
|
401
|
+
{
|
|
402
|
+
"id": "invalidResponse",
|
|
403
|
+
"field": "invalidResponse",
|
|
404
|
+
"optional": true
|
|
405
|
+
},
|
|
406
|
+
{
|
|
407
|
+
"id": "defect",
|
|
408
|
+
"field": "defect",
|
|
409
|
+
"optional": true
|
|
410
|
+
}
|
|
411
|
+
],
|
|
412
|
+
"inputSchema": {
|
|
413
|
+
"additionalProperties": false,
|
|
414
|
+
"description": "ShareBoxFolderInput selects a folder and desired shared link access.",
|
|
415
|
+
"properties": {
|
|
416
|
+
"access": {
|
|
417
|
+
"description": "Access is open, company, or collaborators.",
|
|
418
|
+
"type": "string"
|
|
419
|
+
},
|
|
420
|
+
"folderId": {
|
|
421
|
+
"description": "FolderID is the decimal ID from Box Web's /folders/<ID> URL.",
|
|
422
|
+
"type": "string"
|
|
423
|
+
}
|
|
424
|
+
},
|
|
425
|
+
"required": [
|
|
426
|
+
"access",
|
|
427
|
+
"folderId"
|
|
428
|
+
],
|
|
429
|
+
"type": "object"
|
|
430
|
+
}
|
|
431
|
+
},
|
|
432
|
+
{
|
|
433
|
+
"name": "newCreateFileStep",
|
|
434
|
+
"kind": "mutation",
|
|
435
|
+
"operationId": "createFile",
|
|
436
|
+
"inputType": "CreateBoxFileInput",
|
|
437
|
+
"description": "Upload one new bounded file under a Box folder.",
|
|
438
|
+
"fields": {
|
|
439
|
+
"stepType": "stepType",
|
|
440
|
+
"annotations": "annotations",
|
|
441
|
+
"connectionName": "connectionName",
|
|
442
|
+
"resultAttribute": "resultAttribute"
|
|
443
|
+
},
|
|
444
|
+
"branches": [
|
|
445
|
+
{
|
|
446
|
+
"id": "created",
|
|
447
|
+
"field": "created",
|
|
448
|
+
"optional": false
|
|
449
|
+
},
|
|
450
|
+
{
|
|
451
|
+
"id": "providerRejected",
|
|
452
|
+
"field": "providerRejected",
|
|
453
|
+
"optional": true
|
|
454
|
+
},
|
|
455
|
+
{
|
|
456
|
+
"id": "defect",
|
|
457
|
+
"field": "defect",
|
|
458
|
+
"optional": true
|
|
459
|
+
},
|
|
460
|
+
{
|
|
461
|
+
"id": "uncertain",
|
|
462
|
+
"field": "uncertain",
|
|
463
|
+
"optional": true
|
|
464
|
+
}
|
|
465
|
+
],
|
|
466
|
+
"inputSchema": {
|
|
467
|
+
"additionalProperties": false,
|
|
468
|
+
"description": "CreateBoxFileInput uploads one new bounded file under a parent folder.",
|
|
469
|
+
"properties": {
|
|
470
|
+
"contentBase64": {
|
|
471
|
+
"description": "ContentBase64 holds the complete file bytes encoded as Base64.",
|
|
472
|
+
"type": "string"
|
|
473
|
+
},
|
|
474
|
+
"name": {
|
|
475
|
+
"description": "Name is the new file name, unique within the parent.",
|
|
476
|
+
"type": "string"
|
|
477
|
+
},
|
|
478
|
+
"parentId": {
|
|
479
|
+
"description": "ParentID is a decimal Box folder ID; 0 is root.",
|
|
480
|
+
"type": "string"
|
|
481
|
+
}
|
|
482
|
+
},
|
|
483
|
+
"required": [
|
|
484
|
+
"contentBase64",
|
|
485
|
+
"name",
|
|
486
|
+
"parentId"
|
|
487
|
+
],
|
|
488
|
+
"type": "object"
|
|
489
|
+
}
|
|
490
|
+
},
|
|
10
491
|
{
|
|
11
492
|
"name": "newDownloadFileStep",
|
|
12
493
|
"kind": "query",
|
|
13
|
-
"operationId": "downloadFile",
|
|
14
|
-
"inputType": "DownloadFileInput",
|
|
15
|
-
"description": "Download one bounded Box file by its ID and return Base64 content.",
|
|
494
|
+
"operationId": "downloadFile",
|
|
495
|
+
"inputType": "DownloadFileInput",
|
|
496
|
+
"description": "Download one bounded Box file by its ID and return Base64 content.",
|
|
497
|
+
"fields": {
|
|
498
|
+
"stepType": "stepType",
|
|
499
|
+
"annotations": "annotations",
|
|
500
|
+
"connectionName": "connectionName",
|
|
501
|
+
"resultAttribute": "resultAttribute"
|
|
502
|
+
},
|
|
503
|
+
"branches": [
|
|
504
|
+
{
|
|
505
|
+
"id": "downloaded",
|
|
506
|
+
"field": "downloaded",
|
|
507
|
+
"optional": false
|
|
508
|
+
},
|
|
509
|
+
{
|
|
510
|
+
"id": "notFound",
|
|
511
|
+
"field": "notFound",
|
|
512
|
+
"optional": true
|
|
513
|
+
},
|
|
514
|
+
{
|
|
515
|
+
"id": "tooLarge",
|
|
516
|
+
"field": "tooLarge",
|
|
517
|
+
"optional": true
|
|
518
|
+
},
|
|
519
|
+
{
|
|
520
|
+
"id": "providerRejected",
|
|
521
|
+
"field": "providerRejected",
|
|
522
|
+
"optional": true
|
|
523
|
+
},
|
|
524
|
+
{
|
|
525
|
+
"id": "invalidResponse",
|
|
526
|
+
"field": "invalidResponse",
|
|
527
|
+
"optional": true
|
|
528
|
+
},
|
|
529
|
+
{
|
|
530
|
+
"id": "defect",
|
|
531
|
+
"field": "defect",
|
|
532
|
+
"optional": true
|
|
533
|
+
}
|
|
534
|
+
],
|
|
535
|
+
"inputSchema": {
|
|
536
|
+
"additionalProperties": false,
|
|
537
|
+
"description": "DownloadFileInput selects one Box file by its numeric ID.",
|
|
538
|
+
"properties": {
|
|
539
|
+
"fileId": {
|
|
540
|
+
"description": "FileID appears in Box Web's /files/<ID> URL.",
|
|
541
|
+
"type": "string"
|
|
542
|
+
}
|
|
543
|
+
},
|
|
544
|
+
"required": [
|
|
545
|
+
"fileId"
|
|
546
|
+
],
|
|
547
|
+
"type": "object"
|
|
548
|
+
}
|
|
549
|
+
},
|
|
550
|
+
{
|
|
551
|
+
"name": "newUploadFileStep",
|
|
552
|
+
"kind": "mutation",
|
|
553
|
+
"operationId": "uploadFile",
|
|
554
|
+
"inputType": "UploadFileInput",
|
|
555
|
+
"description": "Replace an existing Box file's current content with bounded Base64 bytes, skipping an already identical file.",
|
|
556
|
+
"fields": {
|
|
557
|
+
"stepType": "stepType",
|
|
558
|
+
"annotations": "annotations",
|
|
559
|
+
"connectionName": "connectionName",
|
|
560
|
+
"resultAttribute": "resultAttribute"
|
|
561
|
+
},
|
|
562
|
+
"branches": [
|
|
563
|
+
{
|
|
564
|
+
"id": "uploaded",
|
|
565
|
+
"field": "uploaded",
|
|
566
|
+
"optional": false
|
|
567
|
+
},
|
|
568
|
+
{
|
|
569
|
+
"id": "notFound",
|
|
570
|
+
"field": "notFound",
|
|
571
|
+
"optional": true
|
|
572
|
+
},
|
|
573
|
+
{
|
|
574
|
+
"id": "providerRejected",
|
|
575
|
+
"field": "providerRejected",
|
|
576
|
+
"optional": true
|
|
577
|
+
},
|
|
578
|
+
{
|
|
579
|
+
"id": "invalidResponse",
|
|
580
|
+
"field": "invalidResponse",
|
|
581
|
+
"optional": true
|
|
582
|
+
},
|
|
583
|
+
{
|
|
584
|
+
"id": "defect",
|
|
585
|
+
"field": "defect",
|
|
586
|
+
"optional": true
|
|
587
|
+
}
|
|
588
|
+
],
|
|
589
|
+
"inputSchema": {
|
|
590
|
+
"additionalProperties": false,
|
|
591
|
+
"description": "UploadFileInput replaces an existing Box file's current content.",
|
|
592
|
+
"properties": {
|
|
593
|
+
"contentBase64": {
|
|
594
|
+
"description": "ContentBase64 holds the complete replacement bytes.",
|
|
595
|
+
"type": "string"
|
|
596
|
+
},
|
|
597
|
+
"fileId": {
|
|
598
|
+
"description": "FileID appears in Box Web's /files/<ID> URL.",
|
|
599
|
+
"type": "string"
|
|
600
|
+
}
|
|
601
|
+
},
|
|
602
|
+
"required": [
|
|
603
|
+
"contentBase64",
|
|
604
|
+
"fileId"
|
|
605
|
+
],
|
|
606
|
+
"type": "object"
|
|
607
|
+
}
|
|
608
|
+
},
|
|
609
|
+
{
|
|
610
|
+
"name": "newGetFileStep",
|
|
611
|
+
"kind": "query",
|
|
612
|
+
"operationId": "getFile",
|
|
613
|
+
"inputType": "GetFileInput",
|
|
614
|
+
"description": "Retrieve one Box file's metadata.",
|
|
16
615
|
"fields": {
|
|
17
616
|
"stepType": "stepType",
|
|
18
617
|
"annotations": "annotations",
|
|
@@ -21,8 +620,8 @@
|
|
|
21
620
|
},
|
|
22
621
|
"branches": [
|
|
23
622
|
{
|
|
24
|
-
"id": "
|
|
25
|
-
"field": "
|
|
623
|
+
"id": "found",
|
|
624
|
+
"field": "found",
|
|
26
625
|
"optional": false
|
|
27
626
|
},
|
|
28
627
|
{
|
|
@@ -30,11 +629,6 @@
|
|
|
30
629
|
"field": "notFound",
|
|
31
630
|
"optional": true
|
|
32
631
|
},
|
|
33
|
-
{
|
|
34
|
-
"id": "tooLarge",
|
|
35
|
-
"field": "tooLarge",
|
|
36
|
-
"optional": true
|
|
37
|
-
},
|
|
38
632
|
{
|
|
39
633
|
"id": "providerRejected",
|
|
40
634
|
"field": "providerRejected",
|
|
@@ -53,7 +647,7 @@
|
|
|
53
647
|
],
|
|
54
648
|
"inputSchema": {
|
|
55
649
|
"additionalProperties": false,
|
|
56
|
-
"description": "
|
|
650
|
+
"description": "GetFileInput selects one Box file by its decimal ID.",
|
|
57
651
|
"properties": {
|
|
58
652
|
"fileId": {
|
|
59
653
|
"description": "FileID appears in Box Web's /files/<ID> URL.",
|
|
@@ -67,11 +661,11 @@
|
|
|
67
661
|
}
|
|
68
662
|
},
|
|
69
663
|
{
|
|
70
|
-
"name": "
|
|
71
|
-
"kind": "
|
|
72
|
-
"operationId": "
|
|
73
|
-
"inputType": "
|
|
74
|
-
"description": "
|
|
664
|
+
"name": "newGetFolderStep",
|
|
665
|
+
"kind": "query",
|
|
666
|
+
"operationId": "getFolder",
|
|
667
|
+
"inputType": "GetFolderInput",
|
|
668
|
+
"description": "Retrieve one Box folder's metadata.",
|
|
75
669
|
"fields": {
|
|
76
670
|
"stepType": "stepType",
|
|
77
671
|
"annotations": "annotations",
|
|
@@ -80,8 +674,8 @@
|
|
|
80
674
|
},
|
|
81
675
|
"branches": [
|
|
82
676
|
{
|
|
83
|
-
"id": "
|
|
84
|
-
"field": "
|
|
677
|
+
"id": "found",
|
|
678
|
+
"field": "found",
|
|
85
679
|
"optional": false
|
|
86
680
|
},
|
|
87
681
|
{
|
|
@@ -107,23 +701,302 @@
|
|
|
107
701
|
],
|
|
108
702
|
"inputSchema": {
|
|
109
703
|
"additionalProperties": false,
|
|
110
|
-
"description": "
|
|
704
|
+
"description": "GetFolderInput selects one Box folder by its decimal ID.",
|
|
111
705
|
"properties": {
|
|
112
|
-
"
|
|
113
|
-
"description": "
|
|
706
|
+
"folderId": {
|
|
707
|
+
"description": "FolderID appears in Box Web's /folders/<ID> URL; 0 is the root folder.",
|
|
708
|
+
"type": "string"
|
|
709
|
+
}
|
|
710
|
+
},
|
|
711
|
+
"required": [
|
|
712
|
+
"folderId"
|
|
713
|
+
],
|
|
714
|
+
"type": "object"
|
|
715
|
+
}
|
|
716
|
+
},
|
|
717
|
+
{
|
|
718
|
+
"name": "newListFolderItemsStep",
|
|
719
|
+
"kind": "query",
|
|
720
|
+
"operationId": "listFolderItems",
|
|
721
|
+
"inputType": "ListFolderItemsInput",
|
|
722
|
+
"description": "List one page of files and folders in a Box folder.",
|
|
723
|
+
"fields": {
|
|
724
|
+
"stepType": "stepType",
|
|
725
|
+
"annotations": "annotations",
|
|
726
|
+
"connectionName": "connectionName",
|
|
727
|
+
"resultAttribute": "resultAttribute"
|
|
728
|
+
},
|
|
729
|
+
"branches": [
|
|
730
|
+
{
|
|
731
|
+
"id": "listed",
|
|
732
|
+
"field": "listed",
|
|
733
|
+
"optional": false
|
|
734
|
+
},
|
|
735
|
+
{
|
|
736
|
+
"id": "notFound",
|
|
737
|
+
"field": "notFound",
|
|
738
|
+
"optional": true
|
|
739
|
+
},
|
|
740
|
+
{
|
|
741
|
+
"id": "providerRejected",
|
|
742
|
+
"field": "providerRejected",
|
|
743
|
+
"optional": true
|
|
744
|
+
},
|
|
745
|
+
{
|
|
746
|
+
"id": "invalidResponse",
|
|
747
|
+
"field": "invalidResponse",
|
|
748
|
+
"optional": true
|
|
749
|
+
},
|
|
750
|
+
{
|
|
751
|
+
"id": "defect",
|
|
752
|
+
"field": "defect",
|
|
753
|
+
"optional": true
|
|
754
|
+
}
|
|
755
|
+
],
|
|
756
|
+
"inputSchema": {
|
|
757
|
+
"additionalProperties": false,
|
|
758
|
+
"description": "ListFolderItemsInput selects one offset page in a Box folder.",
|
|
759
|
+
"properties": {
|
|
760
|
+
"folderId": {
|
|
761
|
+
"description": "FolderID appears in Box Web's /folders/<ID> URL; 0 is the root folder.",
|
|
762
|
+
"type": "string"
|
|
763
|
+
},
|
|
764
|
+
"limit": {
|
|
765
|
+
"description": "Limit is 1 through 1000 items; zero uses Box's default.",
|
|
766
|
+
"type": "integer"
|
|
767
|
+
},
|
|
768
|
+
"offset": {
|
|
769
|
+
"description": "Offset is the zero-based page offset.",
|
|
770
|
+
"type": "integer"
|
|
771
|
+
}
|
|
772
|
+
},
|
|
773
|
+
"required": [
|
|
774
|
+
"folderId"
|
|
775
|
+
],
|
|
776
|
+
"type": "object"
|
|
777
|
+
}
|
|
778
|
+
},
|
|
779
|
+
{
|
|
780
|
+
"name": "newSearchFilesStep",
|
|
781
|
+
"kind": "query",
|
|
782
|
+
"operationId": "searchFiles",
|
|
783
|
+
"inputType": "SearchFilesInput",
|
|
784
|
+
"description": "Search accessible Box files by a text query.",
|
|
785
|
+
"fields": {
|
|
786
|
+
"stepType": "stepType",
|
|
787
|
+
"annotations": "annotations",
|
|
788
|
+
"connectionName": "connectionName",
|
|
789
|
+
"resultAttribute": "resultAttribute"
|
|
790
|
+
},
|
|
791
|
+
"branches": [
|
|
792
|
+
{
|
|
793
|
+
"id": "found",
|
|
794
|
+
"field": "found",
|
|
795
|
+
"optional": false
|
|
796
|
+
},
|
|
797
|
+
{
|
|
798
|
+
"id": "providerRejected",
|
|
799
|
+
"field": "providerRejected",
|
|
800
|
+
"optional": true
|
|
801
|
+
},
|
|
802
|
+
{
|
|
803
|
+
"id": "invalidResponse",
|
|
804
|
+
"field": "invalidResponse",
|
|
805
|
+
"optional": true
|
|
806
|
+
},
|
|
807
|
+
{
|
|
808
|
+
"id": "defect",
|
|
809
|
+
"field": "defect",
|
|
810
|
+
"optional": true
|
|
811
|
+
}
|
|
812
|
+
],
|
|
813
|
+
"inputSchema": {
|
|
814
|
+
"additionalProperties": false,
|
|
815
|
+
"description": "SearchFilesInput searches accessible files by name or content.",
|
|
816
|
+
"properties": {
|
|
817
|
+
"limit": {
|
|
818
|
+
"description": "Limit is 1 through 200 results; zero uses Box's default.",
|
|
819
|
+
"type": "integer"
|
|
820
|
+
},
|
|
821
|
+
"offset": {
|
|
822
|
+
"description": "Offset is the zero-based result offset.",
|
|
823
|
+
"type": "integer"
|
|
824
|
+
},
|
|
825
|
+
"query": {
|
|
826
|
+
"description": "Query is Box search text; blank is invalid.",
|
|
114
827
|
"type": "string"
|
|
828
|
+
}
|
|
829
|
+
},
|
|
830
|
+
"required": [
|
|
831
|
+
"query"
|
|
832
|
+
],
|
|
833
|
+
"type": "object"
|
|
834
|
+
}
|
|
835
|
+
},
|
|
836
|
+
{
|
|
837
|
+
"name": "newSearchFoldersStep",
|
|
838
|
+
"kind": "query",
|
|
839
|
+
"operationId": "searchFolders",
|
|
840
|
+
"inputType": "SearchFoldersInput",
|
|
841
|
+
"description": "Search accessible Box folders by a text query.",
|
|
842
|
+
"fields": {
|
|
843
|
+
"stepType": "stepType",
|
|
844
|
+
"annotations": "annotations",
|
|
845
|
+
"connectionName": "connectionName",
|
|
846
|
+
"resultAttribute": "resultAttribute"
|
|
847
|
+
},
|
|
848
|
+
"branches": [
|
|
849
|
+
{
|
|
850
|
+
"id": "found",
|
|
851
|
+
"field": "found",
|
|
852
|
+
"optional": false
|
|
853
|
+
},
|
|
854
|
+
{
|
|
855
|
+
"id": "providerRejected",
|
|
856
|
+
"field": "providerRejected",
|
|
857
|
+
"optional": true
|
|
858
|
+
},
|
|
859
|
+
{
|
|
860
|
+
"id": "invalidResponse",
|
|
861
|
+
"field": "invalidResponse",
|
|
862
|
+
"optional": true
|
|
863
|
+
},
|
|
864
|
+
{
|
|
865
|
+
"id": "defect",
|
|
866
|
+
"field": "defect",
|
|
867
|
+
"optional": true
|
|
868
|
+
}
|
|
869
|
+
],
|
|
870
|
+
"inputSchema": {
|
|
871
|
+
"additionalProperties": false,
|
|
872
|
+
"description": "SearchFoldersInput searches accessible folders by name.",
|
|
873
|
+
"properties": {
|
|
874
|
+
"limit": {
|
|
875
|
+
"description": "Limit is 1 through 200 results; zero uses Box's default.",
|
|
876
|
+
"type": "integer"
|
|
115
877
|
},
|
|
878
|
+
"offset": {
|
|
879
|
+
"description": "Offset is the zero-based result offset.",
|
|
880
|
+
"type": "integer"
|
|
881
|
+
},
|
|
882
|
+
"query": {
|
|
883
|
+
"description": "Query is Box search text; blank is invalid.",
|
|
884
|
+
"type": "string"
|
|
885
|
+
}
|
|
886
|
+
},
|
|
887
|
+
"required": [
|
|
888
|
+
"query"
|
|
889
|
+
],
|
|
890
|
+
"type": "object"
|
|
891
|
+
}
|
|
892
|
+
},
|
|
893
|
+
{
|
|
894
|
+
"name": "newDeleteFileStep",
|
|
895
|
+
"kind": "mutation",
|
|
896
|
+
"operationId": "deleteFile",
|
|
897
|
+
"inputType": "DeleteFileInput",
|
|
898
|
+
"description": "Delete one Box file by ID.",
|
|
899
|
+
"fields": {
|
|
900
|
+
"stepType": "stepType",
|
|
901
|
+
"annotations": "annotations",
|
|
902
|
+
"connectionName": "connectionName",
|
|
903
|
+
"resultAttribute": "resultAttribute"
|
|
904
|
+
},
|
|
905
|
+
"branches": [
|
|
906
|
+
{
|
|
907
|
+
"id": "deleted",
|
|
908
|
+
"field": "deleted",
|
|
909
|
+
"optional": false
|
|
910
|
+
},
|
|
911
|
+
{
|
|
912
|
+
"id": "notFound",
|
|
913
|
+
"field": "notFound",
|
|
914
|
+
"optional": true
|
|
915
|
+
},
|
|
916
|
+
{
|
|
917
|
+
"id": "providerRejected",
|
|
918
|
+
"field": "providerRejected",
|
|
919
|
+
"optional": true
|
|
920
|
+
},
|
|
921
|
+
{
|
|
922
|
+
"id": "invalidResponse",
|
|
923
|
+
"field": "invalidResponse",
|
|
924
|
+
"optional": true
|
|
925
|
+
},
|
|
926
|
+
{
|
|
927
|
+
"id": "defect",
|
|
928
|
+
"field": "defect",
|
|
929
|
+
"optional": true
|
|
930
|
+
}
|
|
931
|
+
],
|
|
932
|
+
"inputSchema": {
|
|
933
|
+
"additionalProperties": false,
|
|
934
|
+
"description": "DeleteFileInput selects one Box file for deletion.",
|
|
935
|
+
"properties": {
|
|
116
936
|
"fileId": {
|
|
117
937
|
"description": "FileID appears in Box Web's /files/<ID> URL.",
|
|
118
938
|
"type": "string"
|
|
119
939
|
}
|
|
120
940
|
},
|
|
121
941
|
"required": [
|
|
122
|
-
"contentBase64",
|
|
123
942
|
"fileId"
|
|
124
943
|
],
|
|
125
944
|
"type": "object"
|
|
126
945
|
}
|
|
946
|
+
},
|
|
947
|
+
{
|
|
948
|
+
"name": "newDeleteFolderStep",
|
|
949
|
+
"kind": "mutation",
|
|
950
|
+
"operationId": "deleteFolder",
|
|
951
|
+
"inputType": "DeleteFolderInput",
|
|
952
|
+
"description": "Delete one empty Box folder by ID.",
|
|
953
|
+
"fields": {
|
|
954
|
+
"stepType": "stepType",
|
|
955
|
+
"annotations": "annotations",
|
|
956
|
+
"connectionName": "connectionName",
|
|
957
|
+
"resultAttribute": "resultAttribute"
|
|
958
|
+
},
|
|
959
|
+
"branches": [
|
|
960
|
+
{
|
|
961
|
+
"id": "deleted",
|
|
962
|
+
"field": "deleted",
|
|
963
|
+
"optional": false
|
|
964
|
+
},
|
|
965
|
+
{
|
|
966
|
+
"id": "notFound",
|
|
967
|
+
"field": "notFound",
|
|
968
|
+
"optional": true
|
|
969
|
+
},
|
|
970
|
+
{
|
|
971
|
+
"id": "providerRejected",
|
|
972
|
+
"field": "providerRejected",
|
|
973
|
+
"optional": true
|
|
974
|
+
},
|
|
975
|
+
{
|
|
976
|
+
"id": "invalidResponse",
|
|
977
|
+
"field": "invalidResponse",
|
|
978
|
+
"optional": true
|
|
979
|
+
},
|
|
980
|
+
{
|
|
981
|
+
"id": "defect",
|
|
982
|
+
"field": "defect",
|
|
983
|
+
"optional": true
|
|
984
|
+
}
|
|
985
|
+
],
|
|
986
|
+
"inputSchema": {
|
|
987
|
+
"additionalProperties": false,
|
|
988
|
+
"description": "DeleteFolderInput selects one empty Box folder for deletion.",
|
|
989
|
+
"properties": {
|
|
990
|
+
"folderId": {
|
|
991
|
+
"description": "FolderID appears in Box Web's /folders/<ID> URL; root is not deletable.",
|
|
992
|
+
"type": "string"
|
|
993
|
+
}
|
|
994
|
+
},
|
|
995
|
+
"required": [
|
|
996
|
+
"folderId"
|
|
997
|
+
],
|
|
998
|
+
"type": "object"
|
|
999
|
+
}
|
|
127
1000
|
}
|
|
128
1001
|
]
|
|
129
1002
|
}
|