@mdbase-dev/connect-protocol 0.1.0-beta.100

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.
Files changed (51) hide show
  1. package/LICENSE +21 -0
  2. package/dist/application-authorization.d.ts +32 -0
  3. package/dist/application-authorization.js +207 -0
  4. package/dist/capabilities.d.ts +73 -0
  5. package/dist/capabilities.js +92 -0
  6. package/dist/collection-setup.d.ts +90 -0
  7. package/dist/collection-setup.js +1 -0
  8. package/dist/compatibility.d.ts +37 -0
  9. package/dist/compatibility.js +65 -0
  10. package/dist/connect-problems.generated.d.ts +1388 -0
  11. package/dist/connect-problems.generated.js +574 -0
  12. package/dist/files.d.ts +269 -0
  13. package/dist/files.js +426 -0
  14. package/dist/index.d.ts +878 -0
  15. package/dist/index.js +94 -0
  16. package/dist/manifest.d.ts +62 -0
  17. package/dist/manifest.js +527 -0
  18. package/dist/mutation-fingerprint.d.ts +6 -0
  19. package/dist/mutation-fingerprint.js +116 -0
  20. package/dist/operations.d.ts +15 -0
  21. package/dist/operations.js +194 -0
  22. package/dist/type-packs.d.ts +133 -0
  23. package/dist/type-packs.js +30 -0
  24. package/package.json +42 -0
  25. package/schemas/application-capability-catalog.v1.json +40 -0
  26. package/schemas/application-capability-catalog.v2.json +68 -0
  27. package/schemas/catalog.json +17 -0
  28. package/schemas/connect-problem.v1.schema.json +5132 -0
  29. package/schemas/connect-problems.v1.catalog.json +351 -0
  30. package/schemas/connect-protocol.v1.schema.json +800 -0
  31. package/schemas/data-contract.schema.json +163 -0
  32. package/schemas/encrypted-relay.v1.schema.json +63 -0
  33. package/schemas/encrypted-relay.v2.schema.json +63 -0
  34. package/schemas/encrypted-relay.v3.schema.json +64 -0
  35. package/schemas/files.v1.schema.json +507 -0
  36. package/schemas/interop/v0.1/action-cancellation.schema.json +6 -0
  37. package/schemas/interop/v0.1/action-invocation.schema.json +6 -0
  38. package/schemas/interop/v0.1/action-outcome.schema.json +6 -0
  39. package/schemas/interop/v0.1/action-provider-declaration.schema.json +6 -0
  40. package/schemas/interop/v0.1/action-request.schema.json +6 -0
  41. package/schemas/interop/v0.1/conformance-claim.schema.json +6 -0
  42. package/schemas/interop/v0.1/event-source-declaration.schema.json +6 -0
  43. package/schemas/interop/v0.1/event.schema.json +6 -0
  44. package/schemas/interop/v0.1/profile.schema.json +456 -0
  45. package/schemas/mdbase-app.legacy-v1.schema.json +405 -0
  46. package/schemas/mdbase-app.schema.json +381 -0
  47. package/schemas/mdbase-query.v0.3.schema.json +171 -0
  48. package/schemas/notification-webhook.v1.schema.json +56 -0
  49. package/schemas/operation-catalog.v1.json +42 -0
  50. package/schemas/operation-mutation-classification.v1.json +537 -0
  51. package/schemas/sync.v1.schema.json +483 -0
@@ -0,0 +1,537 @@
1
+ {
2
+ "catalog_version": 1,
3
+ "cases": [
4
+ {
5
+ "operation": "describe",
6
+ "input": {},
7
+ "schema_version": 1,
8
+ "identifier": null
9
+ },
10
+ {
11
+ "operation": "describe",
12
+ "input": {
13
+ "dry_run": true
14
+ },
15
+ "schema_version": 1,
16
+ "identifier": null
17
+ },
18
+ {
19
+ "operation": "changes",
20
+ "input": {},
21
+ "schema_version": 1,
22
+ "identifier": null
23
+ },
24
+ {
25
+ "operation": "changes",
26
+ "input": {
27
+ "dry_run": true
28
+ },
29
+ "schema_version": 1,
30
+ "identifier": null
31
+ },
32
+ {
33
+ "operation": "read",
34
+ "input": {},
35
+ "schema_version": 1,
36
+ "identifier": null
37
+ },
38
+ {
39
+ "operation": "read",
40
+ "input": {
41
+ "dry_run": true
42
+ },
43
+ "schema_version": 1,
44
+ "identifier": null
45
+ },
46
+ {
47
+ "operation": "query",
48
+ "input": {},
49
+ "schema_version": 1,
50
+ "identifier": null
51
+ },
52
+ {
53
+ "operation": "query",
54
+ "input": {
55
+ "dry_run": true
56
+ },
57
+ "schema_version": 1,
58
+ "identifier": null
59
+ },
60
+ {
61
+ "operation": "list_views",
62
+ "input": {},
63
+ "schema_version": 1,
64
+ "identifier": null
65
+ },
66
+ {
67
+ "operation": "list_views",
68
+ "input": {
69
+ "dry_run": true
70
+ },
71
+ "schema_version": 1,
72
+ "identifier": null
73
+ },
74
+ {
75
+ "operation": "execute_view",
76
+ "input": {},
77
+ "schema_version": 1,
78
+ "identifier": null
79
+ },
80
+ {
81
+ "operation": "execute_view",
82
+ "input": {
83
+ "dry_run": true
84
+ },
85
+ "schema_version": 1,
86
+ "identifier": null
87
+ },
88
+ {
89
+ "operation": "read_view_source",
90
+ "input": {},
91
+ "schema_version": 1,
92
+ "identifier": null
93
+ },
94
+ {
95
+ "operation": "read_view_source",
96
+ "input": {
97
+ "dry_run": true
98
+ },
99
+ "schema_version": 1,
100
+ "identifier": null
101
+ },
102
+ {
103
+ "operation": "create_view_source",
104
+ "input": {},
105
+ "schema_version": 1,
106
+ "identifier": "create_view_source"
107
+ },
108
+ {
109
+ "operation": "create_view_source",
110
+ "input": {
111
+ "dry_run": true
112
+ },
113
+ "schema_version": 1,
114
+ "identifier": "create_view_source"
115
+ },
116
+ {
117
+ "operation": "update_view_source",
118
+ "input": {},
119
+ "schema_version": 1,
120
+ "identifier": "update_view_source"
121
+ },
122
+ {
123
+ "operation": "update_view_source",
124
+ "input": {
125
+ "dry_run": true
126
+ },
127
+ "schema_version": 1,
128
+ "identifier": "update_view_source"
129
+ },
130
+ {
131
+ "operation": "delete_view_source",
132
+ "input": {},
133
+ "schema_version": 1,
134
+ "identifier": "delete_view_source"
135
+ },
136
+ {
137
+ "operation": "delete_view_source",
138
+ "input": {
139
+ "dry_run": true
140
+ },
141
+ "schema_version": 1,
142
+ "identifier": "delete_view_source"
143
+ },
144
+ {
145
+ "operation": "validate",
146
+ "input": {},
147
+ "schema_version": 1,
148
+ "identifier": null
149
+ },
150
+ {
151
+ "operation": "validate",
152
+ "input": {
153
+ "dry_run": true
154
+ },
155
+ "schema_version": 1,
156
+ "identifier": null
157
+ },
158
+ {
159
+ "operation": "create",
160
+ "input": {},
161
+ "schema_version": 1,
162
+ "identifier": "create"
163
+ },
164
+ {
165
+ "operation": "create",
166
+ "input": {
167
+ "dry_run": true
168
+ },
169
+ "schema_version": 1,
170
+ "identifier": "create"
171
+ },
172
+ {
173
+ "operation": "update",
174
+ "input": {},
175
+ "schema_version": 1,
176
+ "identifier": "update"
177
+ },
178
+ {
179
+ "operation": "update",
180
+ "input": {
181
+ "dry_run": true
182
+ },
183
+ "schema_version": 1,
184
+ "identifier": "update"
185
+ },
186
+ {
187
+ "operation": "delete",
188
+ "input": {},
189
+ "schema_version": 1,
190
+ "identifier": "delete"
191
+ },
192
+ {
193
+ "operation": "delete",
194
+ "input": {
195
+ "dry_run": true
196
+ },
197
+ "schema_version": 1,
198
+ "identifier": null
199
+ },
200
+ {
201
+ "operation": "rename",
202
+ "input": {},
203
+ "schema_version": 1,
204
+ "identifier": "rename"
205
+ },
206
+ {
207
+ "operation": "rename",
208
+ "input": {
209
+ "dry_run": true
210
+ },
211
+ "schema_version": 1,
212
+ "identifier": null
213
+ },
214
+ {
215
+ "operation": "read_type",
216
+ "input": {},
217
+ "schema_version": 1,
218
+ "identifier": null
219
+ },
220
+ {
221
+ "operation": "read_type",
222
+ "input": {
223
+ "dry_run": true
224
+ },
225
+ "schema_version": 1,
226
+ "identifier": null
227
+ },
228
+ {
229
+ "operation": "create_type",
230
+ "input": {},
231
+ "schema_version": 1,
232
+ "identifier": "create_type"
233
+ },
234
+ {
235
+ "operation": "create_type",
236
+ "input": {
237
+ "dry_run": true
238
+ },
239
+ "schema_version": 1,
240
+ "identifier": "create_type"
241
+ },
242
+ {
243
+ "operation": "update_type",
244
+ "input": {},
245
+ "schema_version": 1,
246
+ "identifier": "update_type"
247
+ },
248
+ {
249
+ "operation": "update_type",
250
+ "input": {
251
+ "dry_run": true
252
+ },
253
+ "schema_version": 1,
254
+ "identifier": "update_type"
255
+ },
256
+ {
257
+ "operation": "assess_type_pack",
258
+ "input": {},
259
+ "schema_version": 1,
260
+ "identifier": null
261
+ },
262
+ {
263
+ "operation": "assess_type_pack",
264
+ "input": {
265
+ "dry_run": true
266
+ },
267
+ "schema_version": 1,
268
+ "identifier": null
269
+ },
270
+ {
271
+ "operation": "apply_type_pack",
272
+ "input": {},
273
+ "schema_version": 1,
274
+ "identifier": "apply_type_pack"
275
+ },
276
+ {
277
+ "operation": "apply_type_pack",
278
+ "input": {
279
+ "dry_run": true
280
+ },
281
+ "schema_version": 1,
282
+ "identifier": "apply_type_pack"
283
+ },
284
+ {
285
+ "operation": "assess_collection_setup",
286
+ "input": {},
287
+ "schema_version": 1,
288
+ "identifier": null
289
+ },
290
+ {
291
+ "operation": "assess_collection_setup",
292
+ "input": {
293
+ "dry_run": true
294
+ },
295
+ "schema_version": 1,
296
+ "identifier": null
297
+ },
298
+ {
299
+ "operation": "apply_collection_setup",
300
+ "input": {},
301
+ "schema_version": 1,
302
+ "identifier": "apply_collection_setup"
303
+ },
304
+ {
305
+ "operation": "apply_collection_setup",
306
+ "input": {
307
+ "dry_run": true
308
+ },
309
+ "schema_version": 1,
310
+ "identifier": "apply_collection_setup"
311
+ },
312
+ {
313
+ "operation": "list_timers",
314
+ "input": {},
315
+ "schema_version": 1,
316
+ "identifier": null
317
+ },
318
+ {
319
+ "operation": "list_timers",
320
+ "input": {
321
+ "dry_run": true
322
+ },
323
+ "schema_version": 1,
324
+ "identifier": null
325
+ },
326
+ {
327
+ "operation": "put_timer",
328
+ "input": {},
329
+ "schema_version": 1,
330
+ "identifier": "put_timer"
331
+ },
332
+ {
333
+ "operation": "put_timer",
334
+ "input": {
335
+ "dry_run": true
336
+ },
337
+ "schema_version": 1,
338
+ "identifier": "put_timer"
339
+ },
340
+ {
341
+ "operation": "cancel_timer",
342
+ "input": {},
343
+ "schema_version": 1,
344
+ "identifier": "cancel_timer"
345
+ },
346
+ {
347
+ "operation": "cancel_timer",
348
+ "input": {
349
+ "dry_run": true
350
+ },
351
+ "schema_version": 1,
352
+ "identifier": "cancel_timer"
353
+ },
354
+ {
355
+ "operation": "reconcile_timers",
356
+ "input": {},
357
+ "schema_version": 1,
358
+ "identifier": "reconcile_timers"
359
+ },
360
+ {
361
+ "operation": "reconcile_timers",
362
+ "input": {
363
+ "dry_run": true
364
+ },
365
+ "schema_version": 1,
366
+ "identifier": "reconcile_timers"
367
+ },
368
+ {
369
+ "operation": "sync",
370
+ "input": {},
371
+ "schema_version": 1,
372
+ "identifier": null
373
+ },
374
+ {
375
+ "operation": "sync",
376
+ "input": {
377
+ "dry_run": true
378
+ },
379
+ "schema_version": 1,
380
+ "identifier": null
381
+ },
382
+ {
383
+ "operation": "sync",
384
+ "input": {
385
+ "action": "changes",
386
+ "dry_run": true
387
+ },
388
+ "schema_version": 1,
389
+ "identifier": null
390
+ },
391
+ {
392
+ "operation": "sync",
393
+ "input": {
394
+ "action": "mutate",
395
+ "dry_run": true
396
+ },
397
+ "schema_version": 1,
398
+ "identifier": "sync:mutate"
399
+ },
400
+ {
401
+ "operation": "file_control",
402
+ "input": {
403
+ "type": "list_files"
404
+ },
405
+ "schema_version": 1,
406
+ "identifier": null
407
+ },
408
+ {
409
+ "operation": "file_control",
410
+ "input": {
411
+ "type": "list_files",
412
+ "dry_run": true
413
+ },
414
+ "schema_version": 1,
415
+ "identifier": null
416
+ },
417
+ {
418
+ "operation": "file_control",
419
+ "input": {
420
+ "type": "open_file_upload"
421
+ },
422
+ "schema_version": 1,
423
+ "identifier": "file_control:open_file_upload"
424
+ },
425
+ {
426
+ "operation": "file_control",
427
+ "input": {
428
+ "type": "open_file_upload",
429
+ "dry_run": true
430
+ },
431
+ "schema_version": 1,
432
+ "identifier": "file_control:open_file_upload"
433
+ },
434
+ {
435
+ "operation": "file_control",
436
+ "input": {
437
+ "type": "open_file_download"
438
+ },
439
+ "schema_version": 1,
440
+ "identifier": null
441
+ },
442
+ {
443
+ "operation": "file_control",
444
+ "input": {
445
+ "type": "open_file_download",
446
+ "dry_run": true
447
+ },
448
+ "schema_version": 1,
449
+ "identifier": null
450
+ },
451
+ {
452
+ "operation": "file_control",
453
+ "input": {
454
+ "type": "move_file"
455
+ },
456
+ "schema_version": 1,
457
+ "identifier": "file_control:move_file"
458
+ },
459
+ {
460
+ "operation": "file_control",
461
+ "input": {
462
+ "type": "move_file",
463
+ "dry_run": true
464
+ },
465
+ "schema_version": 1,
466
+ "identifier": "file_control:move_file"
467
+ },
468
+ {
469
+ "operation": "file_control",
470
+ "input": {
471
+ "type": "delete_file"
472
+ },
473
+ "schema_version": 1,
474
+ "identifier": "file_control:delete_file"
475
+ },
476
+ {
477
+ "operation": "file_control",
478
+ "input": {
479
+ "type": "delete_file",
480
+ "dry_run": true
481
+ },
482
+ "schema_version": 1,
483
+ "identifier": "file_control:delete_file"
484
+ },
485
+ {
486
+ "operation": "file_control",
487
+ "input": {
488
+ "type": "get_file_transfer_status"
489
+ },
490
+ "schema_version": 1,
491
+ "identifier": null
492
+ },
493
+ {
494
+ "operation": "file_control",
495
+ "input": {
496
+ "type": "get_file_transfer_status",
497
+ "dry_run": true
498
+ },
499
+ "schema_version": 1,
500
+ "identifier": null
501
+ },
502
+ {
503
+ "operation": "file_control",
504
+ "input": {
505
+ "type": "commit_file_upload"
506
+ },
507
+ "schema_version": 1,
508
+ "identifier": "file_control:commit_file_upload"
509
+ },
510
+ {
511
+ "operation": "file_control",
512
+ "input": {
513
+ "type": "commit_file_upload",
514
+ "dry_run": true
515
+ },
516
+ "schema_version": 1,
517
+ "identifier": "file_control:commit_file_upload"
518
+ },
519
+ {
520
+ "operation": "file_control",
521
+ "input": {
522
+ "type": "abort_file_transfer"
523
+ },
524
+ "schema_version": 1,
525
+ "identifier": "file_control:abort_file_transfer"
526
+ },
527
+ {
528
+ "operation": "file_control",
529
+ "input": {
530
+ "type": "abort_file_transfer",
531
+ "dry_run": true
532
+ },
533
+ "schema_version": 1,
534
+ "identifier": "file_control:abort_file_transfer"
535
+ }
536
+ ]
537
+ }