@blue-repository/types 0.19.0 → 0.20.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 +1 -1
- package/dist/meta.d.ts +2 -2
- package/dist/meta.d.ts.map +1 -1
- package/dist/meta.js +1 -0
- package/dist/meta.js.map +1 -1
- package/dist/packages/myos/blue-ids.d.ts +1 -1
- package/dist/packages/myos/blue-ids.js +1 -1
- package/dist/packages/myos/contents/DocumentSessionBootstrap.d.ts +6 -0
- package/dist/packages/myos/contents/DocumentSessionBootstrap.d.ts.map +1 -1
- package/dist/packages/myos/contents/DocumentSessionBootstrap.js +6 -0
- package/dist/packages/myos/contents/DocumentSessionBootstrap.js.map +1 -1
- package/dist/packages/myos/contents/index.d.ts +523 -517
- package/dist/packages/myos/contents/index.d.ts.map +1 -1
- package/dist/packages/myos/contents/index.js +3 -3
- package/dist/packages/myos/contents/index.js.map +1 -1
- package/dist/packages/myos/index.d.ts +435 -422
- package/dist/packages/myos/index.d.ts.map +1 -1
- package/dist/packages/myos/meta.d.ts +6 -2
- package/dist/packages/myos/meta.d.ts.map +1 -1
- package/dist/packages/myos/meta.js +6 -1
- package/dist/packages/myos/meta.js.map +1 -1
- package/dist/packages/myos/schemas/DocumentSessionBootstrap.d.ts +3 -0
- package/dist/packages/myos/schemas/DocumentSessionBootstrap.d.ts.map +1 -1
- package/dist/packages/myos/schemas/DocumentSessionBootstrap.js +1 -0
- package/dist/packages/myos/schemas/DocumentSessionBootstrap.js.map +1 -1
- package/dist/packages/myos/schemas/index.d.ts +4 -1
- package/dist/packages/myos/schemas/index.d.ts.map +1 -1
- package/dist/packages/myos/schemas/index.js +1 -1
- package/dist/repository.d.ts +436 -423
- package/dist/repository.d.ts.map +1 -1
- package/package.json +2 -2
|
@@ -282,6 +282,374 @@ declare const _default: {
|
|
|
282
282
|
readonly '4Lix4AKXvBDvrwxw2htSdYFKxL4wugEQzqoSEYet5Dh1': {
|
|
283
283
|
readonly name: "MyOS Worker Agency";
|
|
284
284
|
};
|
|
285
|
+
readonly '4Mse3bdSz9YQbp5KkbUiVmkseK8upp5wexNDUq2rHuEy': {
|
|
286
|
+
readonly avatarUrl: {
|
|
287
|
+
readonly description: "Uploaded avatar URL propagated to the bootstrapped target sessions";
|
|
288
|
+
readonly type: {
|
|
289
|
+
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
290
|
+
};
|
|
291
|
+
};
|
|
292
|
+
readonly bootstrapError: {
|
|
293
|
+
readonly description: "Error message explaining bootstrap failure";
|
|
294
|
+
readonly type: {
|
|
295
|
+
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
296
|
+
};
|
|
297
|
+
};
|
|
298
|
+
readonly bootstrapStatus: {
|
|
299
|
+
readonly description: "Overall bootstrap process status";
|
|
300
|
+
readonly type: {
|
|
301
|
+
readonly blueId: "58B8orsFkxxy7bWqjLXJmtBs2b5rwnNQNbeoAbGhPkJc";
|
|
302
|
+
};
|
|
303
|
+
};
|
|
304
|
+
readonly capabilities: {
|
|
305
|
+
readonly description: "Optional MyOS Admin capability contracts to attach (participantsOrchestration, sessionInteraction, workerAgency)";
|
|
306
|
+
readonly keyType: {
|
|
307
|
+
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
308
|
+
};
|
|
309
|
+
readonly type: {
|
|
310
|
+
readonly blueId: "G7fBT9PSod1RfHLHkpafAGBDVAJMrMhAMY51ERcyXNrj";
|
|
311
|
+
};
|
|
312
|
+
readonly valueType: {
|
|
313
|
+
readonly blueId: "4EzhSubEimSQD3zrYHRtobfPPWntUuhEz8YcdxHsi12u";
|
|
314
|
+
};
|
|
315
|
+
};
|
|
316
|
+
readonly channelBindings: {
|
|
317
|
+
readonly description: "Maps channel names to participant identifiers";
|
|
318
|
+
readonly keyType: {
|
|
319
|
+
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
320
|
+
};
|
|
321
|
+
readonly type: {
|
|
322
|
+
readonly blueId: "G7fBT9PSod1RfHLHkpafAGBDVAJMrMhAMY51ERcyXNrj";
|
|
323
|
+
};
|
|
324
|
+
readonly valueType: {
|
|
325
|
+
readonly blueId: "DcoJyCh7XXxy1nR5xjy7qfkUgQ1GiZnKKSxh8DJusBSr";
|
|
326
|
+
};
|
|
327
|
+
};
|
|
328
|
+
readonly contracts: {
|
|
329
|
+
readonly handleBootstrapFailed: {
|
|
330
|
+
readonly channel: {
|
|
331
|
+
readonly type: {
|
|
332
|
+
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
333
|
+
};
|
|
334
|
+
readonly value: "triggeredEventsChannel";
|
|
335
|
+
};
|
|
336
|
+
readonly event: {
|
|
337
|
+
readonly type: {
|
|
338
|
+
readonly blueId: "9iEADVdqxqgacF3GAZVMFZu4m5ywuNpsGzButLUNkPWo";
|
|
339
|
+
};
|
|
340
|
+
};
|
|
341
|
+
readonly steps: {
|
|
342
|
+
readonly items: readonly [{
|
|
343
|
+
readonly changeset: {
|
|
344
|
+
readonly items: readonly [{
|
|
345
|
+
readonly op: {
|
|
346
|
+
readonly type: {
|
|
347
|
+
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
348
|
+
};
|
|
349
|
+
readonly value: "replace";
|
|
350
|
+
};
|
|
351
|
+
readonly path: {
|
|
352
|
+
readonly type: {
|
|
353
|
+
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
354
|
+
};
|
|
355
|
+
readonly value: "/bootstrapError";
|
|
356
|
+
};
|
|
357
|
+
readonly val: {
|
|
358
|
+
readonly type: {
|
|
359
|
+
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
360
|
+
};
|
|
361
|
+
readonly value: "${event.reason}";
|
|
362
|
+
};
|
|
363
|
+
}];
|
|
364
|
+
};
|
|
365
|
+
readonly name: "Update Error Message";
|
|
366
|
+
readonly type: {
|
|
367
|
+
readonly blueId: "FtHZJzH4hqAoGxFBjsmy1svfT4BwEBB4aHpFSZycZLLa";
|
|
368
|
+
};
|
|
369
|
+
}, {
|
|
370
|
+
readonly code: {
|
|
371
|
+
readonly type: {
|
|
372
|
+
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
373
|
+
};
|
|
374
|
+
readonly value: "return { events: [ { type: 'Conversation/Status Change', status: { type: 'Conversation/Status Failed' } } ] };\n";
|
|
375
|
+
};
|
|
376
|
+
readonly name: "Emit Failure Event";
|
|
377
|
+
readonly type: {
|
|
378
|
+
readonly blueId: "ExZxT61PSpWHpEAtP2WKMXXqxEYN7Z13j7Zv36Dp99kS";
|
|
379
|
+
};
|
|
380
|
+
}];
|
|
381
|
+
};
|
|
382
|
+
readonly type: {
|
|
383
|
+
readonly blueId: "7X3LkN54Yp88JgZbppPhP6hM3Jqiqv8Z2i4kS7phXtQe";
|
|
384
|
+
};
|
|
385
|
+
};
|
|
386
|
+
readonly handleParticipantResolved: {
|
|
387
|
+
readonly channel: {
|
|
388
|
+
readonly type: {
|
|
389
|
+
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
390
|
+
};
|
|
391
|
+
readonly value: "triggeredEventsChannel";
|
|
392
|
+
};
|
|
393
|
+
readonly event: {
|
|
394
|
+
readonly type: {
|
|
395
|
+
readonly blueId: "EQVu8aZyp5ivTyKpSm8ueVsDLgprfcrHzr5QWdH1p6Cz";
|
|
396
|
+
};
|
|
397
|
+
};
|
|
398
|
+
readonly steps: {
|
|
399
|
+
readonly items: readonly [{
|
|
400
|
+
readonly code: {
|
|
401
|
+
readonly type: {
|
|
402
|
+
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
403
|
+
};
|
|
404
|
+
readonly value: "const participantState = {\n accountStatus: event.participant?.status?.accountStatus || 'Unknown', // \"Active\" | \"Inactive\"\n errorMessage: ''\n};\n\nreturn {\n participantState,\n channelName: event.channelName\n};\n";
|
|
405
|
+
};
|
|
406
|
+
readonly name: "Prepare Participant State";
|
|
407
|
+
readonly type: {
|
|
408
|
+
readonly blueId: "ExZxT61PSpWHpEAtP2WKMXXqxEYN7Z13j7Zv36Dp99kS";
|
|
409
|
+
};
|
|
410
|
+
}, {
|
|
411
|
+
readonly changeset: {
|
|
412
|
+
readonly items: readonly [{
|
|
413
|
+
readonly op: {
|
|
414
|
+
readonly type: {
|
|
415
|
+
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
416
|
+
};
|
|
417
|
+
readonly value: "replace";
|
|
418
|
+
};
|
|
419
|
+
readonly path: {
|
|
420
|
+
readonly type: {
|
|
421
|
+
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
422
|
+
};
|
|
423
|
+
readonly value: "/participantsState/${steps['Prepare Participant State'].channelName}";
|
|
424
|
+
};
|
|
425
|
+
readonly val: {
|
|
426
|
+
readonly type: {
|
|
427
|
+
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
428
|
+
};
|
|
429
|
+
readonly value: "${steps['Prepare Participant State'].participantState}";
|
|
430
|
+
};
|
|
431
|
+
}];
|
|
432
|
+
};
|
|
433
|
+
readonly name: "Update Participants State";
|
|
434
|
+
readonly type: {
|
|
435
|
+
readonly blueId: "FtHZJzH4hqAoGxFBjsmy1svfT4BwEBB4aHpFSZycZLLa";
|
|
436
|
+
};
|
|
437
|
+
}];
|
|
438
|
+
};
|
|
439
|
+
readonly type: {
|
|
440
|
+
readonly blueId: "7X3LkN54Yp88JgZbppPhP6hM3Jqiqv8Z2i4kS7phXtQe";
|
|
441
|
+
};
|
|
442
|
+
};
|
|
443
|
+
readonly handleStatusChange: {
|
|
444
|
+
readonly channel: {
|
|
445
|
+
readonly type: {
|
|
446
|
+
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
447
|
+
};
|
|
448
|
+
readonly value: "triggeredEventsChannel";
|
|
449
|
+
};
|
|
450
|
+
readonly event: {
|
|
451
|
+
readonly type: {
|
|
452
|
+
readonly blueId: "C48nKSkbxraMSv4gCiGYVHKFjmtK12k63Yasn95zknWE";
|
|
453
|
+
};
|
|
454
|
+
};
|
|
455
|
+
readonly steps: {
|
|
456
|
+
readonly items: readonly [{
|
|
457
|
+
readonly changeset: {
|
|
458
|
+
readonly items: readonly [{
|
|
459
|
+
readonly op: {
|
|
460
|
+
readonly type: {
|
|
461
|
+
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
462
|
+
};
|
|
463
|
+
readonly value: "replace";
|
|
464
|
+
};
|
|
465
|
+
readonly path: {
|
|
466
|
+
readonly type: {
|
|
467
|
+
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
468
|
+
};
|
|
469
|
+
readonly value: "/bootstrapStatus";
|
|
470
|
+
};
|
|
471
|
+
readonly val: {
|
|
472
|
+
readonly type: {
|
|
473
|
+
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
474
|
+
};
|
|
475
|
+
readonly value: "${event.status}";
|
|
476
|
+
};
|
|
477
|
+
}];
|
|
478
|
+
};
|
|
479
|
+
readonly name: "Update Bootstrap Status";
|
|
480
|
+
readonly type: {
|
|
481
|
+
readonly blueId: "FtHZJzH4hqAoGxFBjsmy1svfT4BwEBB4aHpFSZycZLLa";
|
|
482
|
+
};
|
|
483
|
+
}];
|
|
484
|
+
};
|
|
485
|
+
readonly type: {
|
|
486
|
+
readonly blueId: "7X3LkN54Yp88JgZbppPhP6hM3Jqiqv8Z2i4kS7phXtQe";
|
|
487
|
+
};
|
|
488
|
+
};
|
|
489
|
+
readonly handleTargetDocumentSessionStarted: {
|
|
490
|
+
readonly channel: {
|
|
491
|
+
readonly type: {
|
|
492
|
+
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
493
|
+
};
|
|
494
|
+
readonly value: "triggeredEventsChannel";
|
|
495
|
+
};
|
|
496
|
+
readonly event: {
|
|
497
|
+
readonly type: {
|
|
498
|
+
readonly blueId: "FoHDf4WzS4idtPc8rWwVFFvALQ27WzMHxPdXovy7DH4p";
|
|
499
|
+
};
|
|
500
|
+
};
|
|
501
|
+
readonly steps: {
|
|
502
|
+
readonly items: readonly [{
|
|
503
|
+
readonly changeset: {
|
|
504
|
+
readonly items: readonly [{
|
|
505
|
+
readonly op: {
|
|
506
|
+
readonly type: {
|
|
507
|
+
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
508
|
+
};
|
|
509
|
+
readonly value: "replace";
|
|
510
|
+
};
|
|
511
|
+
readonly path: {
|
|
512
|
+
readonly type: {
|
|
513
|
+
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
514
|
+
};
|
|
515
|
+
readonly value: "/initiatorSessionIds";
|
|
516
|
+
};
|
|
517
|
+
readonly val: {
|
|
518
|
+
readonly type: {
|
|
519
|
+
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
520
|
+
};
|
|
521
|
+
readonly value: "${event.initiatorSessionIds}";
|
|
522
|
+
};
|
|
523
|
+
}];
|
|
524
|
+
};
|
|
525
|
+
readonly name: "Update Initiator Session";
|
|
526
|
+
readonly type: {
|
|
527
|
+
readonly blueId: "FtHZJzH4hqAoGxFBjsmy1svfT4BwEBB4aHpFSZycZLLa";
|
|
528
|
+
};
|
|
529
|
+
}, {
|
|
530
|
+
readonly code: {
|
|
531
|
+
readonly type: {
|
|
532
|
+
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
533
|
+
};
|
|
534
|
+
readonly value: "return { events: [ { type: 'Conversation/Status Change', status: { type: 'Conversation/Status Completed' } } ] };\n";
|
|
535
|
+
};
|
|
536
|
+
readonly name: "Emit Completion Event";
|
|
537
|
+
readonly type: {
|
|
538
|
+
readonly blueId: "ExZxT61PSpWHpEAtP2WKMXXqxEYN7Z13j7Zv36Dp99kS";
|
|
539
|
+
};
|
|
540
|
+
}];
|
|
541
|
+
};
|
|
542
|
+
readonly type: {
|
|
543
|
+
readonly blueId: "7X3LkN54Yp88JgZbppPhP6hM3Jqiqv8Z2i4kS7phXtQe";
|
|
544
|
+
};
|
|
545
|
+
};
|
|
546
|
+
readonly initHandler: {
|
|
547
|
+
readonly channel: {
|
|
548
|
+
readonly type: {
|
|
549
|
+
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
550
|
+
};
|
|
551
|
+
readonly value: "lifecycle";
|
|
552
|
+
};
|
|
553
|
+
readonly steps: {
|
|
554
|
+
readonly items: readonly [{
|
|
555
|
+
readonly changeset: {
|
|
556
|
+
readonly items: readonly [{
|
|
557
|
+
readonly op: {
|
|
558
|
+
readonly type: {
|
|
559
|
+
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
560
|
+
};
|
|
561
|
+
readonly value: "replace";
|
|
562
|
+
};
|
|
563
|
+
readonly path: {
|
|
564
|
+
readonly type: {
|
|
565
|
+
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
566
|
+
};
|
|
567
|
+
readonly value: "/bootstrapStatus";
|
|
568
|
+
};
|
|
569
|
+
readonly val: {
|
|
570
|
+
readonly type: {
|
|
571
|
+
readonly blueId: "56Lhu3Z2oF3kuYG41eZAK8TvgVtRNevkbRi4D31kKWZm";
|
|
572
|
+
};
|
|
573
|
+
};
|
|
574
|
+
}];
|
|
575
|
+
};
|
|
576
|
+
readonly name: "Initialize Bootstrap Status";
|
|
577
|
+
readonly type: {
|
|
578
|
+
readonly blueId: "FtHZJzH4hqAoGxFBjsmy1svfT4BwEBB4aHpFSZycZLLa";
|
|
579
|
+
};
|
|
580
|
+
}];
|
|
581
|
+
};
|
|
582
|
+
readonly type: {
|
|
583
|
+
readonly blueId: "7X3LkN54Yp88JgZbppPhP6hM3Jqiqv8Z2i4kS7phXtQe";
|
|
584
|
+
};
|
|
585
|
+
};
|
|
586
|
+
readonly lifecycle: {
|
|
587
|
+
readonly event: {
|
|
588
|
+
readonly type: {
|
|
589
|
+
readonly blueId: "BrpmpNt5JkapeUvPqYcxgXZrHNZX3R757dRwuXXdfNM2";
|
|
590
|
+
};
|
|
591
|
+
};
|
|
592
|
+
readonly type: {
|
|
593
|
+
readonly blueId: "H2aCCTUcLMTJozWkn7HPUjyFBFxamraw1q8DyWk87zxr";
|
|
594
|
+
};
|
|
595
|
+
};
|
|
596
|
+
readonly triggeredEventsChannel: {
|
|
597
|
+
readonly type: {
|
|
598
|
+
readonly blueId: "C77W4kVGcxL7Mkx9WL9QESPEFFL2GzWAe647s1Efprt";
|
|
599
|
+
};
|
|
600
|
+
};
|
|
601
|
+
};
|
|
602
|
+
readonly description: "MyOS-specific document for bootstrapping document sessions and tracking bootstrap progress";
|
|
603
|
+
readonly document: {
|
|
604
|
+
readonly description: "Target Blue document to be bootstrapped";
|
|
605
|
+
};
|
|
606
|
+
readonly initialMessages: {
|
|
607
|
+
readonly defaultMessage: {
|
|
608
|
+
readonly description: "Default invitation message sent to all participants";
|
|
609
|
+
readonly type: {
|
|
610
|
+
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
611
|
+
};
|
|
612
|
+
};
|
|
613
|
+
readonly description: "Messages sent to participants when inviting them to the bootstrapped document";
|
|
614
|
+
readonly perChannel: {
|
|
615
|
+
readonly description: "Per-channel custom invitation messages";
|
|
616
|
+
readonly keyType: {
|
|
617
|
+
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
618
|
+
};
|
|
619
|
+
readonly type: {
|
|
620
|
+
readonly blueId: "G7fBT9PSod1RfHLHkpafAGBDVAJMrMhAMY51ERcyXNrj";
|
|
621
|
+
};
|
|
622
|
+
readonly valueType: {
|
|
623
|
+
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
624
|
+
};
|
|
625
|
+
};
|
|
626
|
+
};
|
|
627
|
+
readonly initiatorSessionIds: {
|
|
628
|
+
readonly description: "Session IDs created for the bootstrap initiator (caller)";
|
|
629
|
+
readonly itemType: {
|
|
630
|
+
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
631
|
+
};
|
|
632
|
+
readonly type: {
|
|
633
|
+
readonly blueId: "6aehfNAxHLC1PHHoDr3tYtFH3RWNbiWdFancJ1bypXEY";
|
|
634
|
+
};
|
|
635
|
+
};
|
|
636
|
+
readonly name: "Document Session Bootstrap";
|
|
637
|
+
readonly participantsState: {
|
|
638
|
+
readonly description: "Maps channel names to participant activation tracking";
|
|
639
|
+
readonly keyType: {
|
|
640
|
+
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
641
|
+
};
|
|
642
|
+
readonly type: {
|
|
643
|
+
readonly blueId: "G7fBT9PSod1RfHLHkpafAGBDVAJMrMhAMY51ERcyXNrj";
|
|
644
|
+
};
|
|
645
|
+
readonly valueType: {
|
|
646
|
+
readonly blueId: "CocmZUt2K7LuGukwuPSAFC7EFo5HZonozAm4tUsSmuFB";
|
|
647
|
+
};
|
|
648
|
+
};
|
|
649
|
+
readonly type: {
|
|
650
|
+
readonly blueId: "Bu4YETSKYW8hHMwVy6zUUoBAGZPxX3KVXfKN9uoCUoJj";
|
|
651
|
+
};
|
|
652
|
+
};
|
|
285
653
|
readonly '4sJYYU5tjqKy43Mbe1Mt5WKfaynHs9rTj3QGAvTAZkM6': {
|
|
286
654
|
readonly at: {
|
|
287
655
|
readonly description: "ISO 8601 timestamp when the subscription became active.";
|
|
@@ -570,420 +938,77 @@ declare const _default: {
|
|
|
570
938
|
readonly blueId: "HCF8mXnX3dFjQ8osjxb4Wzm2Nm1DoXnTYuA5sPnV7NTs";
|
|
571
939
|
};
|
|
572
940
|
};
|
|
573
|
-
readonly initLifecycleChannel: {
|
|
574
|
-
readonly event: {
|
|
575
|
-
readonly type: {
|
|
576
|
-
readonly blueId: "BrpmpNt5JkapeUvPqYcxgXZrHNZX3R757dRwuXXdfNM2";
|
|
577
|
-
};
|
|
578
|
-
};
|
|
579
|
-
readonly type: {
|
|
580
|
-
readonly blueId: "H2aCCTUcLMTJozWkn7HPUjyFBFxamraw1q8DyWk87zxr";
|
|
581
|
-
};
|
|
582
|
-
};
|
|
583
|
-
readonly revoke: {
|
|
584
|
-
readonly channel: {
|
|
585
|
-
readonly type: {
|
|
586
|
-
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
587
|
-
};
|
|
588
|
-
readonly value: "granterChannel";
|
|
589
|
-
};
|
|
590
|
-
readonly description: "Granter requests revocation (handled by MyOS Admin)";
|
|
591
|
-
readonly request: {
|
|
592
|
-
readonly description: "Optional human-readable reason";
|
|
593
|
-
readonly type: {
|
|
594
|
-
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
595
|
-
};
|
|
596
|
-
};
|
|
597
|
-
readonly type: {
|
|
598
|
-
readonly blueId: "BoAiqVUZv9Fum3wFqaX2JnQMBHJLxJSo2V9U2UBmCfsC";
|
|
599
|
-
};
|
|
600
|
-
};
|
|
601
|
-
readonly revokeImplGranter: {
|
|
602
|
-
readonly operation: {
|
|
603
|
-
readonly type: {
|
|
604
|
-
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
605
|
-
};
|
|
606
|
-
readonly value: "revoke";
|
|
607
|
-
};
|
|
608
|
-
readonly steps: {
|
|
609
|
-
readonly items: readonly [{
|
|
610
|
-
readonly code: {
|
|
611
|
-
readonly type: {
|
|
612
|
-
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
613
|
-
};
|
|
614
|
-
readonly value: "return {\n events: [\n {\n type: \"MyOS/Single Document Permission Revoke Requested\",\n reason: event.message.request\n }\n ]\n};\n";
|
|
615
|
-
};
|
|
616
|
-
readonly name: "EmitRevokeRequested";
|
|
617
|
-
readonly type: {
|
|
618
|
-
readonly blueId: "ExZxT61PSpWHpEAtP2WKMXXqxEYN7Z13j7Zv36Dp99kS";
|
|
619
|
-
};
|
|
620
|
-
}];
|
|
621
|
-
};
|
|
622
|
-
readonly type: {
|
|
623
|
-
readonly blueId: "CGdxkNjPcsdescqLPz6SNLsMyak6demQQr7RoKNHbCyv";
|
|
624
|
-
};
|
|
625
|
-
};
|
|
626
|
-
readonly validateOnInit: {
|
|
627
|
-
readonly channel: {
|
|
628
|
-
readonly type: {
|
|
629
|
-
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
630
|
-
};
|
|
631
|
-
readonly value: "initLifecycleChannel";
|
|
632
|
-
};
|
|
633
|
-
readonly steps: {
|
|
634
|
-
readonly items: readonly [{
|
|
635
|
-
readonly code: {
|
|
636
|
-
readonly type: {
|
|
637
|
-
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
638
|
-
};
|
|
639
|
-
readonly value: "const skipValidation = document('/skipValidation');\nif (skipValidation === true) return { events: [] };\n\nconst issues = [];\n\n// Required: target session\nconst target = document('/targetSessionId');\nif (!target || typeof target !== 'string') issues.push(\"targetSessionId is missing or invalid\");\n\n// Required: bound granter identity\nconst granterId = document('/contracts/granterChannel/accountId');\nif (typeof granterId !== 'string' || granterId.length === 0) issues.push(\"granterChannel must be bound to an accountId\");\n\n// Required: grantee document id\nconst gdoc = document('/granteeDocumentId');\nif (typeof gdoc !== 'string' || gdoc.trim().length === 0) issues.push(\"granteeDocumentId must be a non-empty string (originalBlueId)\");\n\n// Permissions\nconst perms = document('/permissions');\nif (!perms || typeof perms !== 'object') {\n issues.push(\"permissions block is missing\");\n} else {\n if (perms.read !== true) issues.push(\"permissions.read must be true for SDPG\");\n const hasSingle = Array.isArray(perms?.singleOps) && perms.singleOps.length > 0;\n if (hasSingle) {\n if (perms.singleOps.some(x => typeof x !== 'string' || x.trim().length === 0)) {\n issues.push(\"permissions.singleOps must contain only non-empty strings\");\n }\n }\n if (perms.allOps === true && hasSingle) {\n issues.push(\"permissions.allOps=true and permissions.singleOps are mutually exclusive\");\n }\n}\n\nif (issues.length > 0) return { events: [ { type: \"MyOS/Single Document Permission Invalid\", issues } ] };\nreturn { events: [ { type: \"MyOS/Single Document Permission Validated\" } ] };\n";
|
|
640
|
-
};
|
|
641
|
-
readonly name: "ValidateBasicShape";
|
|
642
|
-
readonly type: {
|
|
643
|
-
readonly blueId: "ExZxT61PSpWHpEAtP2WKMXXqxEYN7Z13j7Zv36Dp99kS";
|
|
644
|
-
};
|
|
645
|
-
}];
|
|
646
|
-
};
|
|
647
|
-
readonly type: {
|
|
648
|
-
readonly blueId: "7X3LkN54Yp88JgZbppPhP6hM3Jqiqv8Z2i4kS7phXtQe";
|
|
649
|
-
};
|
|
650
|
-
};
|
|
651
|
-
};
|
|
652
|
-
readonly granteeDocumentId: {
|
|
653
|
-
readonly description: "Required original document id (blueId) that will act as the grantee principal ('document')";
|
|
654
|
-
readonly type: {
|
|
655
|
-
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
656
|
-
};
|
|
657
|
-
};
|
|
658
|
-
readonly granterDocumentSessionId: {
|
|
659
|
-
readonly description: "Optional. If set, MyOS should evaluate authority using this document session as the principal (instead of granter accountId).";
|
|
660
|
-
readonly type: {
|
|
661
|
-
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
662
|
-
};
|
|
663
|
-
};
|
|
664
|
-
readonly name: "Single Document Permission Grant To Document";
|
|
665
|
-
readonly permissions: {
|
|
666
|
-
readonly description: "Rights to grant on the target session (READ required; allOps and singleOps are mutually exclusive; singleOps is optional but must be non-empty if provided).";
|
|
667
|
-
readonly type: {
|
|
668
|
-
readonly blueId: "DRDQcve5AjwBK9z6Njfa4MNERko7Uf4ucvARFdC6sL54";
|
|
669
|
-
};
|
|
670
|
-
};
|
|
671
|
-
readonly skipValidation: {
|
|
672
|
-
readonly description: "If true, the validation will be skipped (MyOS Admin won't be triggered to create permission grant)";
|
|
673
|
-
readonly type: {
|
|
674
|
-
readonly blueId: "4EzhSubEimSQD3zrYHRtobfPPWntUuhEz8YcdxHsi12u";
|
|
675
|
-
};
|
|
676
|
-
};
|
|
677
|
-
readonly targetSessionId: {
|
|
678
|
-
readonly description: "Target document session id to grant access to";
|
|
679
|
-
readonly type: {
|
|
680
|
-
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
681
|
-
};
|
|
682
|
-
};
|
|
683
|
-
readonly type: {
|
|
684
|
-
readonly blueId: "Bu4YETSKYW8hHMwVy6zUUoBAGZPxX3KVXfKN9uoCUoJj";
|
|
685
|
-
};
|
|
686
|
-
};
|
|
687
|
-
readonly '6fTSbBwfj3zkin6EjGevF16QzokKa1xNXrDjdQwbDir7': {
|
|
688
|
-
readonly description: "Emitted by revoke operation";
|
|
689
|
-
readonly name: "Linked Documents Permission Revoke Requested";
|
|
690
|
-
readonly reason: {
|
|
691
|
-
readonly type: {
|
|
692
|
-
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
693
|
-
};
|
|
694
|
-
};
|
|
695
|
-
readonly type: {
|
|
696
|
-
readonly blueId: "8f9UhHMbRe62sFgzQVheToaJPYi7t7HPNVvpQTbqfL5n";
|
|
697
|
-
};
|
|
698
|
-
};
|
|
699
|
-
readonly '6HC9zdAPTChMDo8okX3rYTz4aeCEKCr8TtU2WmfugdSJ': {
|
|
700
|
-
readonly bootstrapError: {
|
|
701
|
-
readonly description: "Error message explaining bootstrap failure";
|
|
702
|
-
readonly type: {
|
|
703
|
-
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
704
|
-
};
|
|
705
|
-
};
|
|
706
|
-
readonly bootstrapStatus: {
|
|
707
|
-
readonly description: "Overall bootstrap process status";
|
|
708
|
-
readonly type: {
|
|
709
|
-
readonly blueId: "58B8orsFkxxy7bWqjLXJmtBs2b5rwnNQNbeoAbGhPkJc";
|
|
710
|
-
};
|
|
711
|
-
};
|
|
712
|
-
readonly capabilities: {
|
|
713
|
-
readonly description: "Optional MyOS Admin capability contracts to attach (participantsOrchestration, sessionInteraction, workerAgency)";
|
|
714
|
-
readonly keyType: {
|
|
715
|
-
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
716
|
-
};
|
|
717
|
-
readonly type: {
|
|
718
|
-
readonly blueId: "G7fBT9PSod1RfHLHkpafAGBDVAJMrMhAMY51ERcyXNrj";
|
|
719
|
-
};
|
|
720
|
-
readonly valueType: {
|
|
721
|
-
readonly blueId: "4EzhSubEimSQD3zrYHRtobfPPWntUuhEz8YcdxHsi12u";
|
|
722
|
-
};
|
|
723
|
-
};
|
|
724
|
-
readonly channelBindings: {
|
|
725
|
-
readonly description: "Maps channel names to participant identifiers";
|
|
726
|
-
readonly keyType: {
|
|
727
|
-
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
728
|
-
};
|
|
729
|
-
readonly type: {
|
|
730
|
-
readonly blueId: "G7fBT9PSod1RfHLHkpafAGBDVAJMrMhAMY51ERcyXNrj";
|
|
731
|
-
};
|
|
732
|
-
readonly valueType: {
|
|
733
|
-
readonly blueId: "DcoJyCh7XXxy1nR5xjy7qfkUgQ1GiZnKKSxh8DJusBSr";
|
|
734
|
-
};
|
|
735
|
-
};
|
|
736
|
-
readonly contracts: {
|
|
737
|
-
readonly handleBootstrapFailed: {
|
|
738
|
-
readonly channel: {
|
|
739
|
-
readonly type: {
|
|
740
|
-
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
741
|
-
};
|
|
742
|
-
readonly value: "triggeredEventsChannel";
|
|
743
|
-
};
|
|
744
|
-
readonly event: {
|
|
745
|
-
readonly type: {
|
|
746
|
-
readonly blueId: "9iEADVdqxqgacF3GAZVMFZu4m5ywuNpsGzButLUNkPWo";
|
|
747
|
-
};
|
|
748
|
-
};
|
|
749
|
-
readonly steps: {
|
|
750
|
-
readonly items: readonly [{
|
|
751
|
-
readonly changeset: {
|
|
752
|
-
readonly items: readonly [{
|
|
753
|
-
readonly op: {
|
|
754
|
-
readonly type: {
|
|
755
|
-
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
756
|
-
};
|
|
757
|
-
readonly value: "replace";
|
|
758
|
-
};
|
|
759
|
-
readonly path: {
|
|
760
|
-
readonly type: {
|
|
761
|
-
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
762
|
-
};
|
|
763
|
-
readonly value: "/bootstrapError";
|
|
764
|
-
};
|
|
765
|
-
readonly val: {
|
|
766
|
-
readonly type: {
|
|
767
|
-
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
768
|
-
};
|
|
769
|
-
readonly value: "${event.reason}";
|
|
770
|
-
};
|
|
771
|
-
}];
|
|
772
|
-
};
|
|
773
|
-
readonly name: "Update Error Message";
|
|
774
|
-
readonly type: {
|
|
775
|
-
readonly blueId: "FtHZJzH4hqAoGxFBjsmy1svfT4BwEBB4aHpFSZycZLLa";
|
|
776
|
-
};
|
|
777
|
-
}, {
|
|
778
|
-
readonly code: {
|
|
779
|
-
readonly type: {
|
|
780
|
-
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
781
|
-
};
|
|
782
|
-
readonly value: "return { events: [ { type: 'Conversation/Status Change', status: { type: 'Conversation/Status Failed' } } ] };\n";
|
|
783
|
-
};
|
|
784
|
-
readonly name: "Emit Failure Event";
|
|
785
|
-
readonly type: {
|
|
786
|
-
readonly blueId: "ExZxT61PSpWHpEAtP2WKMXXqxEYN7Z13j7Zv36Dp99kS";
|
|
787
|
-
};
|
|
788
|
-
}];
|
|
789
|
-
};
|
|
790
|
-
readonly type: {
|
|
791
|
-
readonly blueId: "7X3LkN54Yp88JgZbppPhP6hM3Jqiqv8Z2i4kS7phXtQe";
|
|
792
|
-
};
|
|
793
|
-
};
|
|
794
|
-
readonly handleParticipantResolved: {
|
|
795
|
-
readonly channel: {
|
|
796
|
-
readonly type: {
|
|
797
|
-
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
798
|
-
};
|
|
799
|
-
readonly value: "triggeredEventsChannel";
|
|
800
|
-
};
|
|
941
|
+
readonly initLifecycleChannel: {
|
|
801
942
|
readonly event: {
|
|
802
943
|
readonly type: {
|
|
803
|
-
readonly blueId: "
|
|
944
|
+
readonly blueId: "BrpmpNt5JkapeUvPqYcxgXZrHNZX3R757dRwuXXdfNM2";
|
|
804
945
|
};
|
|
805
946
|
};
|
|
806
|
-
readonly steps: {
|
|
807
|
-
readonly items: readonly [{
|
|
808
|
-
readonly code: {
|
|
809
|
-
readonly type: {
|
|
810
|
-
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
811
|
-
};
|
|
812
|
-
readonly value: "const participantState = {\n accountStatus: event.participant?.status?.accountStatus || 'Unknown', // \"Active\" | \"Inactive\"\n errorMessage: ''\n};\n\nreturn {\n participantState,\n channelName: event.channelName\n};\n";
|
|
813
|
-
};
|
|
814
|
-
readonly name: "Prepare Participant State";
|
|
815
|
-
readonly type: {
|
|
816
|
-
readonly blueId: "ExZxT61PSpWHpEAtP2WKMXXqxEYN7Z13j7Zv36Dp99kS";
|
|
817
|
-
};
|
|
818
|
-
}, {
|
|
819
|
-
readonly changeset: {
|
|
820
|
-
readonly items: readonly [{
|
|
821
|
-
readonly op: {
|
|
822
|
-
readonly type: {
|
|
823
|
-
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
824
|
-
};
|
|
825
|
-
readonly value: "replace";
|
|
826
|
-
};
|
|
827
|
-
readonly path: {
|
|
828
|
-
readonly type: {
|
|
829
|
-
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
830
|
-
};
|
|
831
|
-
readonly value: "/participantsState/${steps['Prepare Participant State'].channelName}";
|
|
832
|
-
};
|
|
833
|
-
readonly val: {
|
|
834
|
-
readonly type: {
|
|
835
|
-
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
836
|
-
};
|
|
837
|
-
readonly value: "${steps['Prepare Participant State'].participantState}";
|
|
838
|
-
};
|
|
839
|
-
}];
|
|
840
|
-
};
|
|
841
|
-
readonly name: "Update Participants State";
|
|
842
|
-
readonly type: {
|
|
843
|
-
readonly blueId: "FtHZJzH4hqAoGxFBjsmy1svfT4BwEBB4aHpFSZycZLLa";
|
|
844
|
-
};
|
|
845
|
-
}];
|
|
846
|
-
};
|
|
847
947
|
readonly type: {
|
|
848
|
-
readonly blueId: "
|
|
948
|
+
readonly blueId: "H2aCCTUcLMTJozWkn7HPUjyFBFxamraw1q8DyWk87zxr";
|
|
849
949
|
};
|
|
850
950
|
};
|
|
851
|
-
readonly
|
|
951
|
+
readonly revoke: {
|
|
852
952
|
readonly channel: {
|
|
853
953
|
readonly type: {
|
|
854
954
|
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
855
955
|
};
|
|
856
|
-
readonly value: "
|
|
956
|
+
readonly value: "granterChannel";
|
|
857
957
|
};
|
|
858
|
-
readonly
|
|
958
|
+
readonly description: "Granter requests revocation (handled by MyOS Admin)";
|
|
959
|
+
readonly request: {
|
|
960
|
+
readonly description: "Optional human-readable reason";
|
|
859
961
|
readonly type: {
|
|
860
|
-
readonly blueId: "
|
|
962
|
+
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
861
963
|
};
|
|
862
964
|
};
|
|
863
|
-
readonly steps: {
|
|
864
|
-
readonly items: readonly [{
|
|
865
|
-
readonly changeset: {
|
|
866
|
-
readonly items: readonly [{
|
|
867
|
-
readonly op: {
|
|
868
|
-
readonly type: {
|
|
869
|
-
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
870
|
-
};
|
|
871
|
-
readonly value: "replace";
|
|
872
|
-
};
|
|
873
|
-
readonly path: {
|
|
874
|
-
readonly type: {
|
|
875
|
-
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
876
|
-
};
|
|
877
|
-
readonly value: "/bootstrapStatus";
|
|
878
|
-
};
|
|
879
|
-
readonly val: {
|
|
880
|
-
readonly type: {
|
|
881
|
-
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
882
|
-
};
|
|
883
|
-
readonly value: "${event.status}";
|
|
884
|
-
};
|
|
885
|
-
}];
|
|
886
|
-
};
|
|
887
|
-
readonly name: "Update Bootstrap Status";
|
|
888
|
-
readonly type: {
|
|
889
|
-
readonly blueId: "FtHZJzH4hqAoGxFBjsmy1svfT4BwEBB4aHpFSZycZLLa";
|
|
890
|
-
};
|
|
891
|
-
}];
|
|
892
|
-
};
|
|
893
965
|
readonly type: {
|
|
894
|
-
readonly blueId: "
|
|
966
|
+
readonly blueId: "BoAiqVUZv9Fum3wFqaX2JnQMBHJLxJSo2V9U2UBmCfsC";
|
|
895
967
|
};
|
|
896
968
|
};
|
|
897
|
-
readonly
|
|
898
|
-
readonly
|
|
969
|
+
readonly revokeImplGranter: {
|
|
970
|
+
readonly operation: {
|
|
899
971
|
readonly type: {
|
|
900
972
|
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
901
973
|
};
|
|
902
|
-
readonly value: "
|
|
903
|
-
};
|
|
904
|
-
readonly event: {
|
|
905
|
-
readonly type: {
|
|
906
|
-
readonly blueId: "FoHDf4WzS4idtPc8rWwVFFvALQ27WzMHxPdXovy7DH4p";
|
|
907
|
-
};
|
|
974
|
+
readonly value: "revoke";
|
|
908
975
|
};
|
|
909
976
|
readonly steps: {
|
|
910
977
|
readonly items: readonly [{
|
|
911
|
-
readonly changeset: {
|
|
912
|
-
readonly items: readonly [{
|
|
913
|
-
readonly op: {
|
|
914
|
-
readonly type: {
|
|
915
|
-
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
916
|
-
};
|
|
917
|
-
readonly value: "replace";
|
|
918
|
-
};
|
|
919
|
-
readonly path: {
|
|
920
|
-
readonly type: {
|
|
921
|
-
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
922
|
-
};
|
|
923
|
-
readonly value: "/initiatorSessionIds";
|
|
924
|
-
};
|
|
925
|
-
readonly val: {
|
|
926
|
-
readonly type: {
|
|
927
|
-
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
928
|
-
};
|
|
929
|
-
readonly value: "${event.initiatorSessionIds}";
|
|
930
|
-
};
|
|
931
|
-
}];
|
|
932
|
-
};
|
|
933
|
-
readonly name: "Update Initiator Session";
|
|
934
|
-
readonly type: {
|
|
935
|
-
readonly blueId: "FtHZJzH4hqAoGxFBjsmy1svfT4BwEBB4aHpFSZycZLLa";
|
|
936
|
-
};
|
|
937
|
-
}, {
|
|
938
978
|
readonly code: {
|
|
939
979
|
readonly type: {
|
|
940
980
|
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
941
981
|
};
|
|
942
|
-
readonly value: "return {
|
|
982
|
+
readonly value: "return {\n events: [\n {\n type: \"MyOS/Single Document Permission Revoke Requested\",\n reason: event.message.request\n }\n ]\n};\n";
|
|
943
983
|
};
|
|
944
|
-
readonly name: "
|
|
984
|
+
readonly name: "EmitRevokeRequested";
|
|
945
985
|
readonly type: {
|
|
946
986
|
readonly blueId: "ExZxT61PSpWHpEAtP2WKMXXqxEYN7Z13j7Zv36Dp99kS";
|
|
947
987
|
};
|
|
948
988
|
}];
|
|
949
989
|
};
|
|
950
990
|
readonly type: {
|
|
951
|
-
readonly blueId: "
|
|
991
|
+
readonly blueId: "CGdxkNjPcsdescqLPz6SNLsMyak6demQQr7RoKNHbCyv";
|
|
952
992
|
};
|
|
953
993
|
};
|
|
954
|
-
readonly
|
|
994
|
+
readonly validateOnInit: {
|
|
955
995
|
readonly channel: {
|
|
956
996
|
readonly type: {
|
|
957
997
|
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
958
998
|
};
|
|
959
|
-
readonly value: "
|
|
999
|
+
readonly value: "initLifecycleChannel";
|
|
960
1000
|
};
|
|
961
1001
|
readonly steps: {
|
|
962
1002
|
readonly items: readonly [{
|
|
963
|
-
readonly
|
|
964
|
-
readonly
|
|
965
|
-
readonly
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
};
|
|
969
|
-
readonly value: "replace";
|
|
970
|
-
};
|
|
971
|
-
readonly path: {
|
|
972
|
-
readonly type: {
|
|
973
|
-
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
974
|
-
};
|
|
975
|
-
readonly value: "/bootstrapStatus";
|
|
976
|
-
};
|
|
977
|
-
readonly val: {
|
|
978
|
-
readonly type: {
|
|
979
|
-
readonly blueId: "56Lhu3Z2oF3kuYG41eZAK8TvgVtRNevkbRi4D31kKWZm";
|
|
980
|
-
};
|
|
981
|
-
};
|
|
982
|
-
}];
|
|
1003
|
+
readonly code: {
|
|
1004
|
+
readonly type: {
|
|
1005
|
+
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
1006
|
+
};
|
|
1007
|
+
readonly value: "const skipValidation = document('/skipValidation');\nif (skipValidation === true) return { events: [] };\n\nconst issues = [];\n\n// Required: target session\nconst target = document('/targetSessionId');\nif (!target || typeof target !== 'string') issues.push(\"targetSessionId is missing or invalid\");\n\n// Required: bound granter identity\nconst granterId = document('/contracts/granterChannel/accountId');\nif (typeof granterId !== 'string' || granterId.length === 0) issues.push(\"granterChannel must be bound to an accountId\");\n\n// Required: grantee document id\nconst gdoc = document('/granteeDocumentId');\nif (typeof gdoc !== 'string' || gdoc.trim().length === 0) issues.push(\"granteeDocumentId must be a non-empty string (originalBlueId)\");\n\n// Permissions\nconst perms = document('/permissions');\nif (!perms || typeof perms !== 'object') {\n issues.push(\"permissions block is missing\");\n} else {\n if (perms.read !== true) issues.push(\"permissions.read must be true for SDPG\");\n const hasSingle = Array.isArray(perms?.singleOps) && perms.singleOps.length > 0;\n if (hasSingle) {\n if (perms.singleOps.some(x => typeof x !== 'string' || x.trim().length === 0)) {\n issues.push(\"permissions.singleOps must contain only non-empty strings\");\n }\n }\n if (perms.allOps === true && hasSingle) {\n issues.push(\"permissions.allOps=true and permissions.singleOps are mutually exclusive\");\n }\n}\n\nif (issues.length > 0) return { events: [ { type: \"MyOS/Single Document Permission Invalid\", issues } ] };\nreturn { events: [ { type: \"MyOS/Single Document Permission Validated\" } ] };\n";
|
|
983
1008
|
};
|
|
984
|
-
readonly name: "
|
|
1009
|
+
readonly name: "ValidateBasicShape";
|
|
985
1010
|
readonly type: {
|
|
986
|
-
readonly blueId: "
|
|
1011
|
+
readonly blueId: "ExZxT61PSpWHpEAtP2WKMXXqxEYN7Z13j7Zv36Dp99kS";
|
|
987
1012
|
};
|
|
988
1013
|
}];
|
|
989
1014
|
};
|
|
@@ -991,71 +1016,52 @@ declare const _default: {
|
|
|
991
1016
|
readonly blueId: "7X3LkN54Yp88JgZbppPhP6hM3Jqiqv8Z2i4kS7phXtQe";
|
|
992
1017
|
};
|
|
993
1018
|
};
|
|
994
|
-
readonly lifecycle: {
|
|
995
|
-
readonly event: {
|
|
996
|
-
readonly type: {
|
|
997
|
-
readonly blueId: "BrpmpNt5JkapeUvPqYcxgXZrHNZX3R757dRwuXXdfNM2";
|
|
998
|
-
};
|
|
999
|
-
};
|
|
1000
|
-
readonly type: {
|
|
1001
|
-
readonly blueId: "H2aCCTUcLMTJozWkn7HPUjyFBFxamraw1q8DyWk87zxr";
|
|
1002
|
-
};
|
|
1003
|
-
};
|
|
1004
|
-
readonly triggeredEventsChannel: {
|
|
1005
|
-
readonly type: {
|
|
1006
|
-
readonly blueId: "C77W4kVGcxL7Mkx9WL9QESPEFFL2GzWAe647s1Efprt";
|
|
1007
|
-
};
|
|
1008
|
-
};
|
|
1009
|
-
};
|
|
1010
|
-
readonly description: "MyOS-specific document for bootstrapping document sessions and tracking bootstrap progress";
|
|
1011
|
-
readonly document: {
|
|
1012
|
-
readonly description: "Target Blue document to be bootstrapped";
|
|
1013
1019
|
};
|
|
1014
|
-
readonly
|
|
1015
|
-
readonly
|
|
1016
|
-
|
|
1017
|
-
readonly
|
|
1018
|
-
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
1019
|
-
};
|
|
1020
|
-
};
|
|
1021
|
-
readonly description: "Messages sent to participants when inviting them to the bootstrapped document";
|
|
1022
|
-
readonly perChannel: {
|
|
1023
|
-
readonly description: "Per-channel custom invitation messages";
|
|
1024
|
-
readonly keyType: {
|
|
1025
|
-
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
1026
|
-
};
|
|
1027
|
-
readonly type: {
|
|
1028
|
-
readonly blueId: "G7fBT9PSod1RfHLHkpafAGBDVAJMrMhAMY51ERcyXNrj";
|
|
1029
|
-
};
|
|
1030
|
-
readonly valueType: {
|
|
1031
|
-
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
1032
|
-
};
|
|
1020
|
+
readonly granteeDocumentId: {
|
|
1021
|
+
readonly description: "Required original document id (blueId) that will act as the grantee principal ('document')";
|
|
1022
|
+
readonly type: {
|
|
1023
|
+
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
1033
1024
|
};
|
|
1034
1025
|
};
|
|
1035
|
-
readonly
|
|
1036
|
-
readonly description: "
|
|
1037
|
-
readonly
|
|
1026
|
+
readonly granterDocumentSessionId: {
|
|
1027
|
+
readonly description: "Optional. If set, MyOS should evaluate authority using this document session as the principal (instead of granter accountId).";
|
|
1028
|
+
readonly type: {
|
|
1038
1029
|
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
1039
1030
|
};
|
|
1031
|
+
};
|
|
1032
|
+
readonly name: "Single Document Permission Grant To Document";
|
|
1033
|
+
readonly permissions: {
|
|
1034
|
+
readonly description: "Rights to grant on the target session (READ required; allOps and singleOps are mutually exclusive; singleOps is optional but must be non-empty if provided).";
|
|
1035
|
+
readonly type: {
|
|
1036
|
+
readonly blueId: "DRDQcve5AjwBK9z6Njfa4MNERko7Uf4ucvARFdC6sL54";
|
|
1037
|
+
};
|
|
1038
|
+
};
|
|
1039
|
+
readonly skipValidation: {
|
|
1040
|
+
readonly description: "If true, the validation will be skipped (MyOS Admin won't be triggered to create permission grant)";
|
|
1040
1041
|
readonly type: {
|
|
1041
|
-
readonly blueId: "
|
|
1042
|
+
readonly blueId: "4EzhSubEimSQD3zrYHRtobfPPWntUuhEz8YcdxHsi12u";
|
|
1042
1043
|
};
|
|
1043
1044
|
};
|
|
1044
|
-
readonly
|
|
1045
|
-
|
|
1046
|
-
readonly
|
|
1047
|
-
readonly keyType: {
|
|
1045
|
+
readonly targetSessionId: {
|
|
1046
|
+
readonly description: "Target document session id to grant access to";
|
|
1047
|
+
readonly type: {
|
|
1048
1048
|
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
1049
1049
|
};
|
|
1050
|
+
};
|
|
1051
|
+
readonly type: {
|
|
1052
|
+
readonly blueId: "Bu4YETSKYW8hHMwVy6zUUoBAGZPxX3KVXfKN9uoCUoJj";
|
|
1053
|
+
};
|
|
1054
|
+
};
|
|
1055
|
+
readonly '6fTSbBwfj3zkin6EjGevF16QzokKa1xNXrDjdQwbDir7': {
|
|
1056
|
+
readonly description: "Emitted by revoke operation";
|
|
1057
|
+
readonly name: "Linked Documents Permission Revoke Requested";
|
|
1058
|
+
readonly reason: {
|
|
1050
1059
|
readonly type: {
|
|
1051
|
-
readonly blueId: "
|
|
1052
|
-
};
|
|
1053
|
-
readonly valueType: {
|
|
1054
|
-
readonly blueId: "CocmZUt2K7LuGukwuPSAFC7EFo5HZonozAm4tUsSmuFB";
|
|
1060
|
+
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
1055
1061
|
};
|
|
1056
1062
|
};
|
|
1057
1063
|
readonly type: {
|
|
1058
|
-
readonly blueId: "
|
|
1064
|
+
readonly blueId: "8f9UhHMbRe62sFgzQVheToaJPYi7t7HPNVvpQTbqfL5n";
|
|
1059
1065
|
};
|
|
1060
1066
|
};
|
|
1061
1067
|
readonly '6tzp2YX1rei3aAXg22SqYbeiiteGthj1LesTNCWm7wbU': {
|
|
@@ -3200,7 +3206,7 @@ declare const _default: {
|
|
|
3200
3206
|
name?: string | undefined;
|
|
3201
3207
|
anchor?: string | undefined;
|
|
3202
3208
|
}>, "strip">>;
|
|
3203
|
-
readonly '
|
|
3209
|
+
readonly '4Mse3bdSz9YQbp5KkbUiVmkseK8upp5wexNDUq2rHuEy': import("zod").ZodObject<import("zod").objectUtil.extendShape<{
|
|
3204
3210
|
contracts: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
3205
3211
|
myOsAdminChannel: import("zod").ZodOptional<import("zod").ZodObject<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<{
|
|
3206
3212
|
description: import("zod").ZodOptional<import("zod").ZodString>;
|
|
@@ -3372,6 +3378,7 @@ declare const _default: {
|
|
|
3372
3378
|
description: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3373
3379
|
name: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3374
3380
|
}, {
|
|
3381
|
+
avatarUrl: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3375
3382
|
bootstrapError: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3376
3383
|
bootstrapStatus: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
3377
3384
|
description: import("zod").ZodOptional<import("zod").ZodString>;
|
|
@@ -3920,6 +3927,7 @@ declare const _default: {
|
|
|
3920
3927
|
defaultMessage?: string | undefined;
|
|
3921
3928
|
perChannel?: Record<string, string> | undefined;
|
|
3922
3929
|
} | undefined;
|
|
3930
|
+
avatarUrl?: string | undefined;
|
|
3923
3931
|
bootstrapError?: string | undefined;
|
|
3924
3932
|
bootstrapStatus?: {
|
|
3925
3933
|
description?: string | undefined;
|
|
@@ -4018,6 +4026,7 @@ declare const _default: {
|
|
|
4018
4026
|
defaultMessage?: string | undefined;
|
|
4019
4027
|
perChannel?: Record<string, string> | undefined;
|
|
4020
4028
|
} | undefined;
|
|
4029
|
+
avatarUrl?: string | undefined;
|
|
4021
4030
|
bootstrapError?: string | undefined;
|
|
4022
4031
|
bootstrapStatus?: {
|
|
4023
4032
|
description?: string | undefined;
|
|
@@ -10752,7 +10761,7 @@ declare const _default: {
|
|
|
10752
10761
|
readonly 'MyOS/Document Anchors': "7Usvk6dZMVqas3yqs23ZEXn1zu1YDPjgYiZFNYaw3puH";
|
|
10753
10762
|
readonly 'MyOS/Document Link': "BFxgEnovNHQ693YR2YvALi4FP8vjcwSQiX63LiLwjUhk";
|
|
10754
10763
|
readonly 'MyOS/Document Links': "4cmrbevB6K23ZenjqwmNxpnaw6RF4VB3wkP7XB59V7W5";
|
|
10755
|
-
readonly 'MyOS/Document Session Bootstrap': "
|
|
10764
|
+
readonly 'MyOS/Document Session Bootstrap': "4Mse3bdSz9YQbp5KkbUiVmkseK8upp5wexNDUq2rHuEy";
|
|
10756
10765
|
readonly 'MyOS/Document Type Link': "D9Ret9Hmz5TWxzuJEeauWEuZVPkPL7hcHYsSNY1cZ5zX";
|
|
10757
10766
|
readonly 'MyOS/Inform User To Install MyOS Package': "CrGV4ZYjvPvMqrgNQAfgZCUnFjFW6HDjYNdon2chLKU3";
|
|
10758
10767
|
readonly 'MyOS/Link': "D2ERUvbpn6R6PR7hjFsGofwQsu9bkRfc6wbSYHcfJtMD";
|
|
@@ -10970,13 +10979,17 @@ declare const _default: {
|
|
|
10970
10979
|
readonly attributesAdded: readonly [];
|
|
10971
10980
|
}];
|
|
10972
10981
|
};
|
|
10973
|
-
readonly '
|
|
10982
|
+
readonly '4Mse3bdSz9YQbp5KkbUiVmkseK8upp5wexNDUq2rHuEy': {
|
|
10974
10983
|
readonly status: "stable";
|
|
10975
10984
|
readonly name: "Document Session Bootstrap";
|
|
10976
10985
|
readonly versions: readonly [{
|
|
10977
10986
|
readonly repositoryVersionIndex: 0;
|
|
10978
10987
|
readonly typeBlueId: "6HC9zdAPTChMDo8okX3rYTz4aeCEKCr8TtU2WmfugdSJ";
|
|
10979
10988
|
readonly attributesAdded: readonly [];
|
|
10989
|
+
}, {
|
|
10990
|
+
readonly repositoryVersionIndex: 9;
|
|
10991
|
+
readonly typeBlueId: "4Mse3bdSz9YQbp5KkbUiVmkseK8upp5wexNDUq2rHuEy";
|
|
10992
|
+
readonly attributesAdded: readonly ["/avatarUrl"];
|
|
10980
10993
|
}];
|
|
10981
10994
|
};
|
|
10982
10995
|
readonly D9Ret9Hmz5TWxzuJEeauWEuZVPkPL7hcHYsSNY1cZ5zX: {
|