@blue-repository/types 0.18.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 +2 -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/packages/paynote/blue-ids.d.ts +6 -7
- package/dist/packages/paynote/blue-ids.d.ts.map +1 -1
- package/dist/packages/paynote/blue-ids.js +6 -7
- package/dist/packages/paynote/blue-ids.js.map +1 -1
- package/dist/packages/paynote/contents/PayNoteDelivery.d.ts +1 -1
- package/dist/packages/paynote/contents/PayNoteDelivery.js +1 -1
- package/dist/packages/paynote/contents/PaymentMandate.d.ts +119 -6
- package/dist/packages/paynote/contents/PaymentMandate.d.ts.map +1 -1
- package/dist/packages/paynote/contents/PaymentMandate.js +119 -6
- package/dist/packages/paynote/contents/PaymentMandate.js.map +1 -1
- package/dist/packages/paynote/contents/PaymentMandateSpendAuthorizationRequested.d.ts +3 -9
- package/dist/packages/paynote/contents/PaymentMandateSpendAuthorizationRequested.d.ts.map +1 -1
- package/dist/packages/paynote/contents/PaymentMandateSpendAuthorizationRequested.js +3 -9
- package/dist/packages/paynote/contents/PaymentMandateSpendAuthorizationRequested.js.map +1 -1
- package/dist/packages/paynote/contents/PaymentMandateSpendAuthorizationResponded.d.ts +1 -1
- package/dist/packages/paynote/contents/PaymentMandateSpendAuthorizationResponded.js +1 -1
- package/dist/packages/paynote/contents/PaymentMandateSpendSettled.d.ts +12 -6
- package/dist/packages/paynote/contents/PaymentMandateSpendSettled.d.ts.map +1 -1
- package/dist/packages/paynote/contents/PaymentMandateSpendSettled.js +12 -6
- package/dist/packages/paynote/contents/PaymentMandateSpendSettled.js.map +1 -1
- package/dist/packages/paynote/contents/PaymentMandateSpendSettlementResponded.d.ts +7 -1
- package/dist/packages/paynote/contents/PaymentMandateSpendSettlementResponded.d.ts.map +1 -1
- package/dist/packages/paynote/contents/PaymentMandateSpendSettlementResponded.js +7 -1
- package/dist/packages/paynote/contents/PaymentMandateSpendSettlementResponded.js.map +1 -1
- package/dist/packages/paynote/contents/index.d.ts +1355 -1349
- package/dist/packages/paynote/contents/index.d.ts.map +1 -1
- package/dist/packages/paynote/contents/index.js +18 -21
- package/dist/packages/paynote/contents/index.js.map +1 -1
- package/dist/packages/paynote/index.d.ts +1427 -1520
- package/dist/packages/paynote/index.d.ts.map +1 -1
- package/dist/packages/paynote/meta.d.ts +24 -34
- package/dist/packages/paynote/meta.d.ts.map +1 -1
- package/dist/packages/paynote/meta.js +18 -29
- package/dist/packages/paynote/meta.js.map +1 -1
- package/dist/packages/paynote/schemas/PaymentMandate.d.ts +13 -18
- package/dist/packages/paynote/schemas/PaymentMandate.d.ts.map +1 -1
- package/dist/packages/paynote/schemas/PaymentMandate.js +21 -2
- package/dist/packages/paynote/schemas/PaymentMandate.js.map +1 -1
- package/dist/packages/paynote/schemas/PaymentMandateSpendAuthorizationRequested.d.ts +3 -6
- package/dist/packages/paynote/schemas/PaymentMandateSpendAuthorizationRequested.d.ts.map +1 -1
- package/dist/packages/paynote/schemas/PaymentMandateSpendAuthorizationRequested.js +1 -2
- package/dist/packages/paynote/schemas/PaymentMandateSpendAuthorizationRequested.js.map +1 -1
- package/dist/packages/paynote/schemas/PaymentMandateSpendAuthorizationResponded.d.ts +3 -3
- package/dist/packages/paynote/schemas/PaymentMandateSpendAuthorizationResponded.js +1 -1
- package/dist/packages/paynote/schemas/PaymentMandateSpendSettled.d.ts +6 -3
- package/dist/packages/paynote/schemas/PaymentMandateSpendSettled.d.ts.map +1 -1
- package/dist/packages/paynote/schemas/PaymentMandateSpendSettled.js +2 -1
- package/dist/packages/paynote/schemas/PaymentMandateSpendSettled.js.map +1 -1
- package/dist/packages/paynote/schemas/PaymentMandateSpendSettlementResponded.d.ts +6 -3
- package/dist/packages/paynote/schemas/PaymentMandateSpendSettlementResponded.d.ts.map +1 -1
- package/dist/packages/paynote/schemas/PaymentMandateSpendSettlementResponded.js +2 -1
- package/dist/packages/paynote/schemas/PaymentMandateSpendSettlementResponded.js.map +1 -1
- package/dist/packages/paynote/schemas/index.d.ts +37 -128
- package/dist/packages/paynote/schemas/index.d.ts.map +1 -1
- package/dist/packages/paynote/schemas/index.js +6 -9
- package/dist/packages/paynote/schemas/index.js.map +1 -1
- package/dist/repository.d.ts +3066 -3146
- package/dist/repository.d.ts.map +1 -1
- package/package.json +2 -2
- package/dist/packages/paynote/contents/PaymentMandateChargeAttemptState.d.ts +0 -113
- package/dist/packages/paynote/contents/PaymentMandateChargeAttemptState.d.ts.map +0 -1
- package/dist/packages/paynote/contents/PaymentMandateChargeAttemptState.js +0 -113
- package/dist/packages/paynote/contents/PaymentMandateChargeAttemptState.js.map +0 -1
- package/dist/packages/paynote/schemas/PaymentMandateChargeAttemptState.d.ts +0 -91
- package/dist/packages/paynote/schemas/PaymentMandateChargeAttemptState.d.ts.map +0 -1
- package/dist/packages/paynote/schemas/PaymentMandateChargeAttemptState.js +0 -28
- package/dist/packages/paynote/schemas/PaymentMandateChargeAttemptState.js.map +0 -1
|
@@ -10,6 +10,7 @@ export { ChatGPTConnectorAgent } from './ChatGPTConnectorAgent.js';
|
|
|
10
10
|
export { DocumentLinks } from './DocumentLinks.js';
|
|
11
11
|
export { MyOSAgentChannel } from './MyOSAgentChannel.js';
|
|
12
12
|
export { MyOSWorkerAgency } from './MyOSWorkerAgency.js';
|
|
13
|
+
export { DocumentSessionBootstrap } from './DocumentSessionBootstrap.js';
|
|
13
14
|
export { SubscriptionToSessionInitiated } from './SubscriptionToSessionInitiated.js';
|
|
14
15
|
export { SingleDocumentPermissionInvalid } from './SingleDocumentPermissionInvalid.js';
|
|
15
16
|
export { MyOSPackage } from './MyOSPackage.js';
|
|
@@ -22,7 +23,6 @@ export { WorkerAgencyPermissionRevokingInProgress } from './WorkerAgencyPermissi
|
|
|
22
23
|
export { RemovingParticipantResponded } from './RemovingParticipantResponded.js';
|
|
23
24
|
export { SingleDocumentPermissionGrantToDocument } from './SingleDocumentPermissionGrantToDocument.js';
|
|
24
25
|
export { LinkedDocumentsPermissionRevokeRequested } from './LinkedDocumentsPermissionRevokeRequested.js';
|
|
25
|
-
export { DocumentSessionBootstrap } from './DocumentSessionBootstrap.js';
|
|
26
26
|
export { MyOSParticipantsOrchestration } from './MyOSParticipantsOrchestration.js';
|
|
27
27
|
export { LinkedDocumentsPermissionSet } from './LinkedDocumentsPermissionSet.js';
|
|
28
28
|
export { DocumentAnchors } from './DocumentAnchors.js';
|
|
@@ -365,66 +365,23 @@ export declare const contents: {
|
|
|
365
365
|
readonly '4Lix4AKXvBDvrwxw2htSdYFKxL4wugEQzqoSEYet5Dh1': {
|
|
366
366
|
readonly name: "MyOS Worker Agency";
|
|
367
367
|
};
|
|
368
|
-
readonly '
|
|
369
|
-
readonly
|
|
370
|
-
readonly description: "
|
|
371
|
-
readonly type: {
|
|
372
|
-
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
373
|
-
};
|
|
374
|
-
};
|
|
375
|
-
readonly description: "Confirms that MyOS Admin accepted the subscription request and will start forwarding updates.";
|
|
376
|
-
readonly document: {
|
|
377
|
-
readonly description: "The document state at the time the subscription became active.";
|
|
378
|
-
};
|
|
379
|
-
readonly epoch: {
|
|
380
|
-
readonly description: "The epoch number at which the subscription became active.";
|
|
381
|
-
readonly type: {
|
|
382
|
-
readonly blueId: "5WNMiV9Knz63B4dVY5JtMyh3FB4FSGqv7ceScvuapdE1";
|
|
383
|
-
};
|
|
384
|
-
};
|
|
385
|
-
readonly name: "Subscription to Session Initiated";
|
|
386
|
-
readonly subscriptionId: {
|
|
387
|
-
readonly description: "The subscription id that was initiated.";
|
|
388
|
-
readonly type: {
|
|
389
|
-
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
390
|
-
};
|
|
391
|
-
};
|
|
392
|
-
readonly targetSessionId: {
|
|
393
|
-
readonly description: "Session being observed.";
|
|
368
|
+
readonly '4Mse3bdSz9YQbp5KkbUiVmkseK8upp5wexNDUq2rHuEy': {
|
|
369
|
+
readonly avatarUrl: {
|
|
370
|
+
readonly description: "Uploaded avatar URL propagated to the bootstrapped target sessions";
|
|
394
371
|
readonly type: {
|
|
395
372
|
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
396
373
|
};
|
|
397
374
|
};
|
|
398
|
-
readonly
|
|
399
|
-
readonly
|
|
400
|
-
};
|
|
401
|
-
};
|
|
402
|
-
readonly '567voUMtKJQoqru6ZVPYb4EGwdeV99rUSAqsnod7gqfd': {
|
|
403
|
-
readonly description: "Emitted on initialise when local shape checks fail.";
|
|
404
|
-
readonly issues: {
|
|
405
|
-
readonly itemType: {
|
|
406
|
-
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
407
|
-
};
|
|
408
|
-
readonly type: {
|
|
409
|
-
readonly blueId: "6aehfNAxHLC1PHHoDr3tYtFH3RWNbiWdFancJ1bypXEY";
|
|
410
|
-
};
|
|
411
|
-
};
|
|
412
|
-
readonly name: "Single Document Permission Invalid";
|
|
413
|
-
readonly type: {
|
|
414
|
-
readonly blueId: "5Wz4G9qcnBJnntYRkz4dgLK5bSuoMpYJZj4j5M59z4we";
|
|
415
|
-
};
|
|
416
|
-
};
|
|
417
|
-
readonly '5cg55kgH8ckRVji4oWSBBxthJQFYmB5Lb1Pea7achyNr': {
|
|
418
|
-
readonly agentStoreDescription: {
|
|
419
|
-
readonly description: "Human-readable description for stores/directories";
|
|
375
|
+
readonly bootstrapError: {
|
|
376
|
+
readonly description: "Error message explaining bootstrap failure";
|
|
420
377
|
readonly type: {
|
|
421
378
|
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
422
379
|
};
|
|
423
380
|
};
|
|
424
|
-
readonly
|
|
425
|
-
readonly description: "
|
|
381
|
+
readonly bootstrapStatus: {
|
|
382
|
+
readonly description: "Overall bootstrap process status";
|
|
426
383
|
readonly type: {
|
|
427
|
-
readonly blueId: "
|
|
384
|
+
readonly blueId: "58B8orsFkxxy7bWqjLXJmtBs2b5rwnNQNbeoAbGhPkJc";
|
|
428
385
|
};
|
|
429
386
|
};
|
|
430
387
|
readonly capabilities: {
|
|
@@ -451,58 +408,469 @@ export declare const contents: {
|
|
|
451
408
|
readonly blueId: "DcoJyCh7XXxy1nR5xjy7qfkUgQ1GiZnKKSxh8DJusBSr";
|
|
452
409
|
};
|
|
453
410
|
};
|
|
454
|
-
readonly
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
411
|
+
readonly contracts: {
|
|
412
|
+
readonly handleBootstrapFailed: {
|
|
413
|
+
readonly channel: {
|
|
414
|
+
readonly type: {
|
|
415
|
+
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
416
|
+
};
|
|
417
|
+
readonly value: "triggeredEventsChannel";
|
|
418
|
+
};
|
|
419
|
+
readonly event: {
|
|
420
|
+
readonly type: {
|
|
421
|
+
readonly blueId: "9iEADVdqxqgacF3GAZVMFZu4m5ywuNpsGzButLUNkPWo";
|
|
422
|
+
};
|
|
423
|
+
};
|
|
424
|
+
readonly steps: {
|
|
425
|
+
readonly items: readonly [{
|
|
426
|
+
readonly changeset: {
|
|
427
|
+
readonly items: readonly [{
|
|
428
|
+
readonly op: {
|
|
429
|
+
readonly type: {
|
|
430
|
+
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
431
|
+
};
|
|
432
|
+
readonly value: "replace";
|
|
433
|
+
};
|
|
434
|
+
readonly path: {
|
|
435
|
+
readonly type: {
|
|
436
|
+
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
437
|
+
};
|
|
438
|
+
readonly value: "/bootstrapError";
|
|
439
|
+
};
|
|
440
|
+
readonly val: {
|
|
441
|
+
readonly type: {
|
|
442
|
+
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
443
|
+
};
|
|
444
|
+
readonly value: "${event.reason}";
|
|
445
|
+
};
|
|
446
|
+
}];
|
|
447
|
+
};
|
|
448
|
+
readonly name: "Update Error Message";
|
|
449
|
+
readonly type: {
|
|
450
|
+
readonly blueId: "FtHZJzH4hqAoGxFBjsmy1svfT4BwEBB4aHpFSZycZLLa";
|
|
451
|
+
};
|
|
452
|
+
}, {
|
|
453
|
+
readonly code: {
|
|
454
|
+
readonly type: {
|
|
455
|
+
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
456
|
+
};
|
|
457
|
+
readonly value: "return { events: [ { type: 'Conversation/Status Change', status: { type: 'Conversation/Status Failed' } } ] };\n";
|
|
458
|
+
};
|
|
459
|
+
readonly name: "Emit Failure Event";
|
|
460
|
+
readonly type: {
|
|
461
|
+
readonly blueId: "ExZxT61PSpWHpEAtP2WKMXXqxEYN7Z13j7Zv36Dp99kS";
|
|
462
|
+
};
|
|
463
|
+
}];
|
|
464
|
+
};
|
|
461
465
|
readonly type: {
|
|
462
|
-
readonly blueId: "
|
|
466
|
+
readonly blueId: "7X3LkN54Yp88JgZbppPhP6hM3Jqiqv8Z2i4kS7phXtQe";
|
|
463
467
|
};
|
|
464
468
|
};
|
|
465
|
-
readonly
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
469
|
+
readonly handleParticipantResolved: {
|
|
470
|
+
readonly channel: {
|
|
471
|
+
readonly type: {
|
|
472
|
+
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
473
|
+
};
|
|
474
|
+
readonly value: "triggeredEventsChannel";
|
|
470
475
|
};
|
|
471
|
-
readonly
|
|
472
|
-
readonly
|
|
476
|
+
readonly event: {
|
|
477
|
+
readonly type: {
|
|
478
|
+
readonly blueId: "EQVu8aZyp5ivTyKpSm8ueVsDLgprfcrHzr5QWdH1p6Cz";
|
|
479
|
+
};
|
|
473
480
|
};
|
|
474
|
-
readonly
|
|
475
|
-
readonly
|
|
481
|
+
readonly steps: {
|
|
482
|
+
readonly items: readonly [{
|
|
483
|
+
readonly code: {
|
|
484
|
+
readonly type: {
|
|
485
|
+
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
486
|
+
};
|
|
487
|
+
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";
|
|
488
|
+
};
|
|
489
|
+
readonly name: "Prepare Participant State";
|
|
490
|
+
readonly type: {
|
|
491
|
+
readonly blueId: "ExZxT61PSpWHpEAtP2WKMXXqxEYN7Z13j7Zv36Dp99kS";
|
|
492
|
+
};
|
|
493
|
+
}, {
|
|
494
|
+
readonly changeset: {
|
|
495
|
+
readonly items: readonly [{
|
|
496
|
+
readonly op: {
|
|
497
|
+
readonly type: {
|
|
498
|
+
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
499
|
+
};
|
|
500
|
+
readonly value: "replace";
|
|
501
|
+
};
|
|
502
|
+
readonly path: {
|
|
503
|
+
readonly type: {
|
|
504
|
+
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
505
|
+
};
|
|
506
|
+
readonly value: "/participantsState/${steps['Prepare Participant State'].channelName}";
|
|
507
|
+
};
|
|
508
|
+
readonly val: {
|
|
509
|
+
readonly type: {
|
|
510
|
+
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
511
|
+
};
|
|
512
|
+
readonly value: "${steps['Prepare Participant State'].participantState}";
|
|
513
|
+
};
|
|
514
|
+
}];
|
|
515
|
+
};
|
|
516
|
+
readonly name: "Update Participants State";
|
|
517
|
+
readonly type: {
|
|
518
|
+
readonly blueId: "FtHZJzH4hqAoGxFBjsmy1svfT4BwEBB4aHpFSZycZLLa";
|
|
519
|
+
};
|
|
520
|
+
}];
|
|
521
|
+
};
|
|
522
|
+
readonly type: {
|
|
523
|
+
readonly blueId: "7X3LkN54Yp88JgZbppPhP6hM3Jqiqv8Z2i4kS7phXtQe";
|
|
476
524
|
};
|
|
477
525
|
};
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
526
|
+
readonly handleStatusChange: {
|
|
527
|
+
readonly channel: {
|
|
528
|
+
readonly type: {
|
|
529
|
+
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
530
|
+
};
|
|
531
|
+
readonly value: "triggeredEventsChannel";
|
|
532
|
+
};
|
|
533
|
+
readonly event: {
|
|
534
|
+
readonly type: {
|
|
535
|
+
readonly blueId: "C48nKSkbxraMSv4gCiGYVHKFjmtK12k63Yasn95zknWE";
|
|
536
|
+
};
|
|
537
|
+
};
|
|
538
|
+
readonly steps: {
|
|
539
|
+
readonly items: readonly [{
|
|
540
|
+
readonly changeset: {
|
|
541
|
+
readonly items: readonly [{
|
|
542
|
+
readonly op: {
|
|
543
|
+
readonly type: {
|
|
544
|
+
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
545
|
+
};
|
|
546
|
+
readonly value: "replace";
|
|
547
|
+
};
|
|
548
|
+
readonly path: {
|
|
549
|
+
readonly type: {
|
|
550
|
+
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
551
|
+
};
|
|
552
|
+
readonly value: "/bootstrapStatus";
|
|
553
|
+
};
|
|
554
|
+
readonly val: {
|
|
555
|
+
readonly type: {
|
|
556
|
+
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
557
|
+
};
|
|
558
|
+
readonly value: "${event.status}";
|
|
559
|
+
};
|
|
560
|
+
}];
|
|
561
|
+
};
|
|
562
|
+
readonly name: "Update Bootstrap Status";
|
|
563
|
+
readonly type: {
|
|
564
|
+
readonly blueId: "FtHZJzH4hqAoGxFBjsmy1svfT4BwEBB4aHpFSZycZLLa";
|
|
565
|
+
};
|
|
566
|
+
}];
|
|
567
|
+
};
|
|
568
|
+
readonly type: {
|
|
569
|
+
readonly blueId: "7X3LkN54Yp88JgZbppPhP6hM3Jqiqv8Z2i4kS7phXtQe";
|
|
570
|
+
};
|
|
571
|
+
};
|
|
572
|
+
readonly handleTargetDocumentSessionStarted: {
|
|
573
|
+
readonly channel: {
|
|
574
|
+
readonly type: {
|
|
575
|
+
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
576
|
+
};
|
|
577
|
+
readonly value: "triggeredEventsChannel";
|
|
578
|
+
};
|
|
579
|
+
readonly event: {
|
|
580
|
+
readonly type: {
|
|
581
|
+
readonly blueId: "FoHDf4WzS4idtPc8rWwVFFvALQ27WzMHxPdXovy7DH4p";
|
|
582
|
+
};
|
|
583
|
+
};
|
|
584
|
+
readonly steps: {
|
|
585
|
+
readonly items: readonly [{
|
|
586
|
+
readonly changeset: {
|
|
587
|
+
readonly items: readonly [{
|
|
588
|
+
readonly op: {
|
|
589
|
+
readonly type: {
|
|
590
|
+
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
591
|
+
};
|
|
592
|
+
readonly value: "replace";
|
|
593
|
+
};
|
|
594
|
+
readonly path: {
|
|
595
|
+
readonly type: {
|
|
596
|
+
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
597
|
+
};
|
|
598
|
+
readonly value: "/initiatorSessionIds";
|
|
599
|
+
};
|
|
600
|
+
readonly val: {
|
|
601
|
+
readonly type: {
|
|
602
|
+
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
603
|
+
};
|
|
604
|
+
readonly value: "${event.initiatorSessionIds}";
|
|
605
|
+
};
|
|
606
|
+
}];
|
|
607
|
+
};
|
|
608
|
+
readonly name: "Update Initiator Session";
|
|
609
|
+
readonly type: {
|
|
610
|
+
readonly blueId: "FtHZJzH4hqAoGxFBjsmy1svfT4BwEBB4aHpFSZycZLLa";
|
|
611
|
+
};
|
|
612
|
+
}, {
|
|
613
|
+
readonly code: {
|
|
614
|
+
readonly type: {
|
|
615
|
+
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
616
|
+
};
|
|
617
|
+
readonly value: "return { events: [ { type: 'Conversation/Status Change', status: { type: 'Conversation/Status Completed' } } ] };\n";
|
|
618
|
+
};
|
|
619
|
+
readonly name: "Emit Completion Event";
|
|
620
|
+
readonly type: {
|
|
621
|
+
readonly blueId: "ExZxT61PSpWHpEAtP2WKMXXqxEYN7Z13j7Zv36Dp99kS";
|
|
622
|
+
};
|
|
623
|
+
}];
|
|
624
|
+
};
|
|
625
|
+
readonly type: {
|
|
626
|
+
readonly blueId: "7X3LkN54Yp88JgZbppPhP6hM3Jqiqv8Z2i4kS7phXtQe";
|
|
627
|
+
};
|
|
628
|
+
};
|
|
629
|
+
readonly initHandler: {
|
|
630
|
+
readonly channel: {
|
|
631
|
+
readonly type: {
|
|
632
|
+
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
633
|
+
};
|
|
634
|
+
readonly value: "lifecycle";
|
|
635
|
+
};
|
|
636
|
+
readonly steps: {
|
|
637
|
+
readonly items: readonly [{
|
|
638
|
+
readonly changeset: {
|
|
639
|
+
readonly items: readonly [{
|
|
640
|
+
readonly op: {
|
|
641
|
+
readonly type: {
|
|
642
|
+
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
643
|
+
};
|
|
644
|
+
readonly value: "replace";
|
|
645
|
+
};
|
|
646
|
+
readonly path: {
|
|
647
|
+
readonly type: {
|
|
648
|
+
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
649
|
+
};
|
|
650
|
+
readonly value: "/bootstrapStatus";
|
|
651
|
+
};
|
|
652
|
+
readonly val: {
|
|
653
|
+
readonly type: {
|
|
654
|
+
readonly blueId: "56Lhu3Z2oF3kuYG41eZAK8TvgVtRNevkbRi4D31kKWZm";
|
|
655
|
+
};
|
|
656
|
+
};
|
|
657
|
+
}];
|
|
658
|
+
};
|
|
659
|
+
readonly name: "Initialize Bootstrap Status";
|
|
660
|
+
readonly type: {
|
|
661
|
+
readonly blueId: "FtHZJzH4hqAoGxFBjsmy1svfT4BwEBB4aHpFSZycZLLa";
|
|
662
|
+
};
|
|
663
|
+
}];
|
|
664
|
+
};
|
|
665
|
+
readonly type: {
|
|
666
|
+
readonly blueId: "7X3LkN54Yp88JgZbppPhP6hM3Jqiqv8Z2i4kS7phXtQe";
|
|
667
|
+
};
|
|
668
|
+
};
|
|
669
|
+
readonly lifecycle: {
|
|
670
|
+
readonly event: {
|
|
671
|
+
readonly type: {
|
|
672
|
+
readonly blueId: "BrpmpNt5JkapeUvPqYcxgXZrHNZX3R757dRwuXXdfNM2";
|
|
673
|
+
};
|
|
674
|
+
};
|
|
675
|
+
readonly type: {
|
|
676
|
+
readonly blueId: "H2aCCTUcLMTJozWkn7HPUjyFBFxamraw1q8DyWk87zxr";
|
|
677
|
+
};
|
|
678
|
+
};
|
|
679
|
+
readonly triggeredEventsChannel: {
|
|
680
|
+
readonly type: {
|
|
681
|
+
readonly blueId: "C77W4kVGcxL7Mkx9WL9QESPEFFL2GzWAe647s1Efprt";
|
|
682
|
+
};
|
|
683
|
+
};
|
|
684
|
+
};
|
|
685
|
+
readonly description: "MyOS-specific document for bootstrapping document sessions and tracking bootstrap progress";
|
|
686
|
+
readonly document: {
|
|
687
|
+
readonly description: "Target Blue document to be bootstrapped";
|
|
688
|
+
};
|
|
689
|
+
readonly initialMessages: {
|
|
690
|
+
readonly defaultMessage: {
|
|
691
|
+
readonly description: "Default invitation message sent to all participants";
|
|
692
|
+
readonly type: {
|
|
693
|
+
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
694
|
+
};
|
|
695
|
+
};
|
|
696
|
+
readonly description: "Messages sent to participants when inviting them to the bootstrapped document";
|
|
697
|
+
readonly perChannel: {
|
|
698
|
+
readonly description: "Per-channel custom invitation messages";
|
|
699
|
+
readonly keyType: {
|
|
700
|
+
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
701
|
+
};
|
|
702
|
+
readonly type: {
|
|
703
|
+
readonly blueId: "G7fBT9PSod1RfHLHkpafAGBDVAJMrMhAMY51ERcyXNrj";
|
|
704
|
+
};
|
|
705
|
+
readonly valueType: {
|
|
706
|
+
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
707
|
+
};
|
|
708
|
+
};
|
|
709
|
+
};
|
|
710
|
+
readonly initiatorSessionIds: {
|
|
711
|
+
readonly description: "Session IDs created for the bootstrap initiator (caller)";
|
|
712
|
+
readonly itemType: {
|
|
713
|
+
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
714
|
+
};
|
|
715
|
+
readonly type: {
|
|
716
|
+
readonly blueId: "6aehfNAxHLC1PHHoDr3tYtFH3RWNbiWdFancJ1bypXEY";
|
|
717
|
+
};
|
|
718
|
+
};
|
|
719
|
+
readonly name: "Document Session Bootstrap";
|
|
720
|
+
readonly participantsState: {
|
|
721
|
+
readonly description: "Maps channel names to participant activation tracking";
|
|
722
|
+
readonly keyType: {
|
|
723
|
+
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
724
|
+
};
|
|
725
|
+
readonly type: {
|
|
726
|
+
readonly blueId: "G7fBT9PSod1RfHLHkpafAGBDVAJMrMhAMY51ERcyXNrj";
|
|
727
|
+
};
|
|
728
|
+
readonly valueType: {
|
|
729
|
+
readonly blueId: "CocmZUt2K7LuGukwuPSAFC7EFo5HZonozAm4tUsSmuFB";
|
|
730
|
+
};
|
|
731
|
+
};
|
|
732
|
+
readonly type: {
|
|
733
|
+
readonly blueId: "Bu4YETSKYW8hHMwVy6zUUoBAGZPxX3KVXfKN9uoCUoJj";
|
|
734
|
+
};
|
|
735
|
+
};
|
|
736
|
+
readonly '4sJYYU5tjqKy43Mbe1Mt5WKfaynHs9rTj3QGAvTAZkM6': {
|
|
737
|
+
readonly at: {
|
|
738
|
+
readonly description: "ISO 8601 timestamp when the subscription became active.";
|
|
739
|
+
readonly type: {
|
|
740
|
+
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
741
|
+
};
|
|
742
|
+
};
|
|
743
|
+
readonly description: "Confirms that MyOS Admin accepted the subscription request and will start forwarding updates.";
|
|
744
|
+
readonly document: {
|
|
745
|
+
readonly description: "The document state at the time the subscription became active.";
|
|
746
|
+
};
|
|
747
|
+
readonly epoch: {
|
|
748
|
+
readonly description: "The epoch number at which the subscription became active.";
|
|
749
|
+
readonly type: {
|
|
750
|
+
readonly blueId: "5WNMiV9Knz63B4dVY5JtMyh3FB4FSGqv7ceScvuapdE1";
|
|
751
|
+
};
|
|
752
|
+
};
|
|
753
|
+
readonly name: "Subscription to Session Initiated";
|
|
754
|
+
readonly subscriptionId: {
|
|
755
|
+
readonly description: "The subscription id that was initiated.";
|
|
756
|
+
readonly type: {
|
|
757
|
+
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
758
|
+
};
|
|
759
|
+
};
|
|
760
|
+
readonly targetSessionId: {
|
|
761
|
+
readonly description: "Session being observed.";
|
|
762
|
+
readonly type: {
|
|
763
|
+
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
764
|
+
};
|
|
765
|
+
};
|
|
766
|
+
readonly type: {
|
|
767
|
+
readonly blueId: "36epvrpVHZLjapbeZsNodz2NDnm7XZeNZcnkWHgkP1pp";
|
|
768
|
+
};
|
|
769
|
+
};
|
|
770
|
+
readonly '567voUMtKJQoqru6ZVPYb4EGwdeV99rUSAqsnod7gqfd': {
|
|
771
|
+
readonly description: "Emitted on initialise when local shape checks fail.";
|
|
772
|
+
readonly issues: {
|
|
773
|
+
readonly itemType: {
|
|
774
|
+
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
775
|
+
};
|
|
776
|
+
readonly type: {
|
|
777
|
+
readonly blueId: "6aehfNAxHLC1PHHoDr3tYtFH3RWNbiWdFancJ1bypXEY";
|
|
778
|
+
};
|
|
779
|
+
};
|
|
780
|
+
readonly name: "Single Document Permission Invalid";
|
|
781
|
+
readonly type: {
|
|
782
|
+
readonly blueId: "5Wz4G9qcnBJnntYRkz4dgLK5bSuoMpYJZj4j5M59z4we";
|
|
783
|
+
};
|
|
784
|
+
};
|
|
785
|
+
readonly '5cg55kgH8ckRVji4oWSBBxthJQFYmB5Lb1Pea7achyNr': {
|
|
786
|
+
readonly agentStoreDescription: {
|
|
787
|
+
readonly description: "Human-readable description for stores/directories";
|
|
788
|
+
readonly type: {
|
|
789
|
+
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
790
|
+
};
|
|
791
|
+
};
|
|
792
|
+
readonly automationTemplate: {
|
|
793
|
+
readonly description: "Optional automation template to start post-creation";
|
|
794
|
+
readonly type: {
|
|
795
|
+
readonly blueId: "8eyv5ogjHbTqUeaJKWHMenLs3MaCnpGSQkbPrCqvk2Ga";
|
|
796
|
+
};
|
|
797
|
+
};
|
|
798
|
+
readonly capabilities: {
|
|
799
|
+
readonly description: "Optional MyOS Admin capability contracts to attach (participantsOrchestration, sessionInteraction, workerAgency)";
|
|
800
|
+
readonly keyType: {
|
|
801
|
+
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
802
|
+
};
|
|
803
|
+
readonly type: {
|
|
804
|
+
readonly blueId: "G7fBT9PSod1RfHLHkpafAGBDVAJMrMhAMY51ERcyXNrj";
|
|
805
|
+
};
|
|
806
|
+
readonly valueType: {
|
|
807
|
+
readonly blueId: "4EzhSubEimSQD3zrYHRtobfPPWntUuhEz8YcdxHsi12u";
|
|
808
|
+
};
|
|
809
|
+
};
|
|
810
|
+
readonly channelBindings: {
|
|
811
|
+
readonly description: "Maps channel names to participant identifiers";
|
|
812
|
+
readonly keyType: {
|
|
813
|
+
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
814
|
+
};
|
|
815
|
+
readonly type: {
|
|
816
|
+
readonly blueId: "G7fBT9PSod1RfHLHkpafAGBDVAJMrMhAMY51ERcyXNrj";
|
|
817
|
+
};
|
|
818
|
+
readonly valueType: {
|
|
819
|
+
readonly blueId: "DcoJyCh7XXxy1nR5xjy7qfkUgQ1GiZnKKSxh8DJusBSr";
|
|
820
|
+
};
|
|
821
|
+
};
|
|
822
|
+
readonly description: "A distributable blueprint for a new Agent session, which can include pre-configured automations that start on installation.\n";
|
|
823
|
+
readonly document: {
|
|
824
|
+
readonly description: "The full initial state of the Agent to be created. Root type MUST specialize 'Agent'.";
|
|
825
|
+
};
|
|
826
|
+
readonly initialMessages: {
|
|
827
|
+
readonly defaultMessage: {
|
|
828
|
+
readonly description: "Default invitation message sent to all participants";
|
|
829
|
+
readonly type: {
|
|
830
|
+
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
831
|
+
};
|
|
832
|
+
};
|
|
833
|
+
readonly description: "Optional per-participant invitation messages (installer's message is public)";
|
|
834
|
+
readonly perChannel: {
|
|
835
|
+
readonly description: "Per-channel custom invitation messages";
|
|
836
|
+
readonly keyType: {
|
|
837
|
+
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
838
|
+
};
|
|
839
|
+
readonly type: {
|
|
840
|
+
readonly blueId: "G7fBT9PSod1RfHLHkpafAGBDVAJMrMhAMY51ERcyXNrj";
|
|
841
|
+
};
|
|
842
|
+
readonly valueType: {
|
|
843
|
+
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
844
|
+
};
|
|
845
|
+
};
|
|
846
|
+
};
|
|
847
|
+
readonly installerChannel: {
|
|
848
|
+
readonly description: "Channel name in 'document' to bind to the installing user/account";
|
|
849
|
+
readonly type: {
|
|
850
|
+
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
851
|
+
};
|
|
852
|
+
};
|
|
853
|
+
readonly name: "MyOS Package";
|
|
854
|
+
readonly type: {
|
|
855
|
+
readonly blueId: "8s2rAFDtiB6sCwqeURkT4Lq7fcc2FXBkmX9B9p7R4Boc";
|
|
856
|
+
};
|
|
857
|
+
};
|
|
858
|
+
readonly '5dYUepkS2uQHtzhVYoHEtR4x8vaMRtNuHyiqqTvRrKGY': {
|
|
859
|
+
readonly description: "Admin has started applying the grant for this PGD.";
|
|
860
|
+
readonly name: "Single Document Permission Granting in Progress";
|
|
861
|
+
readonly note: {
|
|
862
|
+
readonly type: {
|
|
863
|
+
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
864
|
+
};
|
|
865
|
+
};
|
|
866
|
+
readonly permissions: {
|
|
867
|
+
readonly type: {
|
|
868
|
+
readonly blueId: "DRDQcve5AjwBK9z6Njfa4MNERko7Uf4ucvARFdC6sL54";
|
|
869
|
+
};
|
|
870
|
+
};
|
|
871
|
+
readonly targetSessionId: {
|
|
872
|
+
readonly type: {
|
|
873
|
+
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
506
874
|
};
|
|
507
875
|
};
|
|
508
876
|
readonly type: {
|
|
@@ -650,423 +1018,80 @@ export declare const contents: {
|
|
|
650
1018
|
readonly granterChannel: {
|
|
651
1019
|
readonly description: "Granter/owner’s timeline (actor allowed to request revoke)";
|
|
652
1020
|
readonly type: {
|
|
653
|
-
readonly blueId: "HCF8mXnX3dFjQ8osjxb4Wzm2Nm1DoXnTYuA5sPnV7NTs";
|
|
654
|
-
};
|
|
655
|
-
};
|
|
656
|
-
readonly initLifecycleChannel: {
|
|
657
|
-
readonly event: {
|
|
658
|
-
readonly type: {
|
|
659
|
-
readonly blueId: "BrpmpNt5JkapeUvPqYcxgXZrHNZX3R757dRwuXXdfNM2";
|
|
660
|
-
};
|
|
661
|
-
};
|
|
662
|
-
readonly type: {
|
|
663
|
-
readonly blueId: "H2aCCTUcLMTJozWkn7HPUjyFBFxamraw1q8DyWk87zxr";
|
|
664
|
-
};
|
|
665
|
-
};
|
|
666
|
-
readonly revoke: {
|
|
667
|
-
readonly channel: {
|
|
668
|
-
readonly type: {
|
|
669
|
-
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
670
|
-
};
|
|
671
|
-
readonly value: "granterChannel";
|
|
672
|
-
};
|
|
673
|
-
readonly description: "Granter requests revocation (handled by MyOS Admin)";
|
|
674
|
-
readonly request: {
|
|
675
|
-
readonly description: "Optional human-readable reason";
|
|
676
|
-
readonly type: {
|
|
677
|
-
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
678
|
-
};
|
|
679
|
-
};
|
|
680
|
-
readonly type: {
|
|
681
|
-
readonly blueId: "BoAiqVUZv9Fum3wFqaX2JnQMBHJLxJSo2V9U2UBmCfsC";
|
|
682
|
-
};
|
|
683
|
-
};
|
|
684
|
-
readonly revokeImplGranter: {
|
|
685
|
-
readonly operation: {
|
|
686
|
-
readonly type: {
|
|
687
|
-
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
688
|
-
};
|
|
689
|
-
readonly value: "revoke";
|
|
690
|
-
};
|
|
691
|
-
readonly steps: {
|
|
692
|
-
readonly items: readonly [{
|
|
693
|
-
readonly code: {
|
|
694
|
-
readonly type: {
|
|
695
|
-
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
696
|
-
};
|
|
697
|
-
readonly value: "return {\n events: [\n {\n type: \"MyOS/Single Document Permission Revoke Requested\",\n reason: event.message.request\n }\n ]\n};\n";
|
|
698
|
-
};
|
|
699
|
-
readonly name: "EmitRevokeRequested";
|
|
700
|
-
readonly type: {
|
|
701
|
-
readonly blueId: "ExZxT61PSpWHpEAtP2WKMXXqxEYN7Z13j7Zv36Dp99kS";
|
|
702
|
-
};
|
|
703
|
-
}];
|
|
704
|
-
};
|
|
705
|
-
readonly type: {
|
|
706
|
-
readonly blueId: "CGdxkNjPcsdescqLPz6SNLsMyak6demQQr7RoKNHbCyv";
|
|
707
|
-
};
|
|
708
|
-
};
|
|
709
|
-
readonly validateOnInit: {
|
|
710
|
-
readonly channel: {
|
|
711
|
-
readonly type: {
|
|
712
|
-
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
713
|
-
};
|
|
714
|
-
readonly value: "initLifecycleChannel";
|
|
715
|
-
};
|
|
716
|
-
readonly steps: {
|
|
717
|
-
readonly items: readonly [{
|
|
718
|
-
readonly code: {
|
|
719
|
-
readonly type: {
|
|
720
|
-
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
721
|
-
};
|
|
722
|
-
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";
|
|
723
|
-
};
|
|
724
|
-
readonly name: "ValidateBasicShape";
|
|
725
|
-
readonly type: {
|
|
726
|
-
readonly blueId: "ExZxT61PSpWHpEAtP2WKMXXqxEYN7Z13j7Zv36Dp99kS";
|
|
727
|
-
};
|
|
728
|
-
}];
|
|
729
|
-
};
|
|
730
|
-
readonly type: {
|
|
731
|
-
readonly blueId: "7X3LkN54Yp88JgZbppPhP6hM3Jqiqv8Z2i4kS7phXtQe";
|
|
732
|
-
};
|
|
733
|
-
};
|
|
734
|
-
};
|
|
735
|
-
readonly granteeDocumentId: {
|
|
736
|
-
readonly description: "Required original document id (blueId) that will act as the grantee principal ('document')";
|
|
737
|
-
readonly type: {
|
|
738
|
-
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
739
|
-
};
|
|
740
|
-
};
|
|
741
|
-
readonly granterDocumentSessionId: {
|
|
742
|
-
readonly description: "Optional. If set, MyOS should evaluate authority using this document session as the principal (instead of granter accountId).";
|
|
743
|
-
readonly type: {
|
|
744
|
-
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
745
|
-
};
|
|
746
|
-
};
|
|
747
|
-
readonly name: "Single Document Permission Grant To Document";
|
|
748
|
-
readonly permissions: {
|
|
749
|
-
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).";
|
|
750
|
-
readonly type: {
|
|
751
|
-
readonly blueId: "DRDQcve5AjwBK9z6Njfa4MNERko7Uf4ucvARFdC6sL54";
|
|
752
|
-
};
|
|
753
|
-
};
|
|
754
|
-
readonly skipValidation: {
|
|
755
|
-
readonly description: "If true, the validation will be skipped (MyOS Admin won't be triggered to create permission grant)";
|
|
756
|
-
readonly type: {
|
|
757
|
-
readonly blueId: "4EzhSubEimSQD3zrYHRtobfPPWntUuhEz8YcdxHsi12u";
|
|
758
|
-
};
|
|
759
|
-
};
|
|
760
|
-
readonly targetSessionId: {
|
|
761
|
-
readonly description: "Target document session id to grant access to";
|
|
762
|
-
readonly type: {
|
|
763
|
-
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
764
|
-
};
|
|
765
|
-
};
|
|
766
|
-
readonly type: {
|
|
767
|
-
readonly blueId: "Bu4YETSKYW8hHMwVy6zUUoBAGZPxX3KVXfKN9uoCUoJj";
|
|
768
|
-
};
|
|
769
|
-
};
|
|
770
|
-
readonly '6fTSbBwfj3zkin6EjGevF16QzokKa1xNXrDjdQwbDir7': {
|
|
771
|
-
readonly description: "Emitted by revoke operation";
|
|
772
|
-
readonly name: "Linked Documents Permission Revoke Requested";
|
|
773
|
-
readonly reason: {
|
|
774
|
-
readonly type: {
|
|
775
|
-
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
776
|
-
};
|
|
777
|
-
};
|
|
778
|
-
readonly type: {
|
|
779
|
-
readonly blueId: "8f9UhHMbRe62sFgzQVheToaJPYi7t7HPNVvpQTbqfL5n";
|
|
780
|
-
};
|
|
781
|
-
};
|
|
782
|
-
readonly '6HC9zdAPTChMDo8okX3rYTz4aeCEKCr8TtU2WmfugdSJ': {
|
|
783
|
-
readonly bootstrapError: {
|
|
784
|
-
readonly description: "Error message explaining bootstrap failure";
|
|
785
|
-
readonly type: {
|
|
786
|
-
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
787
|
-
};
|
|
788
|
-
};
|
|
789
|
-
readonly bootstrapStatus: {
|
|
790
|
-
readonly description: "Overall bootstrap process status";
|
|
791
|
-
readonly type: {
|
|
792
|
-
readonly blueId: "58B8orsFkxxy7bWqjLXJmtBs2b5rwnNQNbeoAbGhPkJc";
|
|
793
|
-
};
|
|
794
|
-
};
|
|
795
|
-
readonly capabilities: {
|
|
796
|
-
readonly description: "Optional MyOS Admin capability contracts to attach (participantsOrchestration, sessionInteraction, workerAgency)";
|
|
797
|
-
readonly keyType: {
|
|
798
|
-
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
799
|
-
};
|
|
800
|
-
readonly type: {
|
|
801
|
-
readonly blueId: "G7fBT9PSod1RfHLHkpafAGBDVAJMrMhAMY51ERcyXNrj";
|
|
802
|
-
};
|
|
803
|
-
readonly valueType: {
|
|
804
|
-
readonly blueId: "4EzhSubEimSQD3zrYHRtobfPPWntUuhEz8YcdxHsi12u";
|
|
805
|
-
};
|
|
806
|
-
};
|
|
807
|
-
readonly channelBindings: {
|
|
808
|
-
readonly description: "Maps channel names to participant identifiers";
|
|
809
|
-
readonly keyType: {
|
|
810
|
-
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
811
|
-
};
|
|
812
|
-
readonly type: {
|
|
813
|
-
readonly blueId: "G7fBT9PSod1RfHLHkpafAGBDVAJMrMhAMY51ERcyXNrj";
|
|
814
|
-
};
|
|
815
|
-
readonly valueType: {
|
|
816
|
-
readonly blueId: "DcoJyCh7XXxy1nR5xjy7qfkUgQ1GiZnKKSxh8DJusBSr";
|
|
817
|
-
};
|
|
818
|
-
};
|
|
819
|
-
readonly contracts: {
|
|
820
|
-
readonly handleBootstrapFailed: {
|
|
821
|
-
readonly channel: {
|
|
822
|
-
readonly type: {
|
|
823
|
-
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
824
|
-
};
|
|
825
|
-
readonly value: "triggeredEventsChannel";
|
|
826
|
-
};
|
|
827
|
-
readonly event: {
|
|
828
|
-
readonly type: {
|
|
829
|
-
readonly blueId: "9iEADVdqxqgacF3GAZVMFZu4m5ywuNpsGzButLUNkPWo";
|
|
830
|
-
};
|
|
831
|
-
};
|
|
832
|
-
readonly steps: {
|
|
833
|
-
readonly items: readonly [{
|
|
834
|
-
readonly changeset: {
|
|
835
|
-
readonly items: readonly [{
|
|
836
|
-
readonly op: {
|
|
837
|
-
readonly type: {
|
|
838
|
-
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
839
|
-
};
|
|
840
|
-
readonly value: "replace";
|
|
841
|
-
};
|
|
842
|
-
readonly path: {
|
|
843
|
-
readonly type: {
|
|
844
|
-
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
845
|
-
};
|
|
846
|
-
readonly value: "/bootstrapError";
|
|
847
|
-
};
|
|
848
|
-
readonly val: {
|
|
849
|
-
readonly type: {
|
|
850
|
-
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
851
|
-
};
|
|
852
|
-
readonly value: "${event.reason}";
|
|
853
|
-
};
|
|
854
|
-
}];
|
|
855
|
-
};
|
|
856
|
-
readonly name: "Update Error Message";
|
|
857
|
-
readonly type: {
|
|
858
|
-
readonly blueId: "FtHZJzH4hqAoGxFBjsmy1svfT4BwEBB4aHpFSZycZLLa";
|
|
859
|
-
};
|
|
860
|
-
}, {
|
|
861
|
-
readonly code: {
|
|
862
|
-
readonly type: {
|
|
863
|
-
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
864
|
-
};
|
|
865
|
-
readonly value: "return { events: [ { type: 'Conversation/Status Change', status: { type: 'Conversation/Status Failed' } } ] };\n";
|
|
866
|
-
};
|
|
867
|
-
readonly name: "Emit Failure Event";
|
|
868
|
-
readonly type: {
|
|
869
|
-
readonly blueId: "ExZxT61PSpWHpEAtP2WKMXXqxEYN7Z13j7Zv36Dp99kS";
|
|
870
|
-
};
|
|
871
|
-
}];
|
|
872
|
-
};
|
|
873
|
-
readonly type: {
|
|
874
|
-
readonly blueId: "7X3LkN54Yp88JgZbppPhP6hM3Jqiqv8Z2i4kS7phXtQe";
|
|
1021
|
+
readonly blueId: "HCF8mXnX3dFjQ8osjxb4Wzm2Nm1DoXnTYuA5sPnV7NTs";
|
|
875
1022
|
};
|
|
876
1023
|
};
|
|
877
|
-
readonly
|
|
878
|
-
readonly channel: {
|
|
879
|
-
readonly type: {
|
|
880
|
-
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
881
|
-
};
|
|
882
|
-
readonly value: "triggeredEventsChannel";
|
|
883
|
-
};
|
|
1024
|
+
readonly initLifecycleChannel: {
|
|
884
1025
|
readonly event: {
|
|
885
1026
|
readonly type: {
|
|
886
|
-
readonly blueId: "
|
|
1027
|
+
readonly blueId: "BrpmpNt5JkapeUvPqYcxgXZrHNZX3R757dRwuXXdfNM2";
|
|
887
1028
|
};
|
|
888
1029
|
};
|
|
889
|
-
readonly steps: {
|
|
890
|
-
readonly items: readonly [{
|
|
891
|
-
readonly code: {
|
|
892
|
-
readonly type: {
|
|
893
|
-
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
894
|
-
};
|
|
895
|
-
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";
|
|
896
|
-
};
|
|
897
|
-
readonly name: "Prepare Participant State";
|
|
898
|
-
readonly type: {
|
|
899
|
-
readonly blueId: "ExZxT61PSpWHpEAtP2WKMXXqxEYN7Z13j7Zv36Dp99kS";
|
|
900
|
-
};
|
|
901
|
-
}, {
|
|
902
|
-
readonly changeset: {
|
|
903
|
-
readonly items: readonly [{
|
|
904
|
-
readonly op: {
|
|
905
|
-
readonly type: {
|
|
906
|
-
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
907
|
-
};
|
|
908
|
-
readonly value: "replace";
|
|
909
|
-
};
|
|
910
|
-
readonly path: {
|
|
911
|
-
readonly type: {
|
|
912
|
-
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
913
|
-
};
|
|
914
|
-
readonly value: "/participantsState/${steps['Prepare Participant State'].channelName}";
|
|
915
|
-
};
|
|
916
|
-
readonly val: {
|
|
917
|
-
readonly type: {
|
|
918
|
-
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
919
|
-
};
|
|
920
|
-
readonly value: "${steps['Prepare Participant State'].participantState}";
|
|
921
|
-
};
|
|
922
|
-
}];
|
|
923
|
-
};
|
|
924
|
-
readonly name: "Update Participants State";
|
|
925
|
-
readonly type: {
|
|
926
|
-
readonly blueId: "FtHZJzH4hqAoGxFBjsmy1svfT4BwEBB4aHpFSZycZLLa";
|
|
927
|
-
};
|
|
928
|
-
}];
|
|
929
|
-
};
|
|
930
1030
|
readonly type: {
|
|
931
|
-
readonly blueId: "
|
|
1031
|
+
readonly blueId: "H2aCCTUcLMTJozWkn7HPUjyFBFxamraw1q8DyWk87zxr";
|
|
932
1032
|
};
|
|
933
1033
|
};
|
|
934
|
-
readonly
|
|
1034
|
+
readonly revoke: {
|
|
935
1035
|
readonly channel: {
|
|
936
1036
|
readonly type: {
|
|
937
1037
|
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
938
1038
|
};
|
|
939
|
-
readonly value: "
|
|
1039
|
+
readonly value: "granterChannel";
|
|
940
1040
|
};
|
|
941
|
-
readonly
|
|
1041
|
+
readonly description: "Granter requests revocation (handled by MyOS Admin)";
|
|
1042
|
+
readonly request: {
|
|
1043
|
+
readonly description: "Optional human-readable reason";
|
|
942
1044
|
readonly type: {
|
|
943
|
-
readonly blueId: "
|
|
1045
|
+
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
944
1046
|
};
|
|
945
1047
|
};
|
|
946
|
-
readonly steps: {
|
|
947
|
-
readonly items: readonly [{
|
|
948
|
-
readonly changeset: {
|
|
949
|
-
readonly items: readonly [{
|
|
950
|
-
readonly op: {
|
|
951
|
-
readonly type: {
|
|
952
|
-
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
953
|
-
};
|
|
954
|
-
readonly value: "replace";
|
|
955
|
-
};
|
|
956
|
-
readonly path: {
|
|
957
|
-
readonly type: {
|
|
958
|
-
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
959
|
-
};
|
|
960
|
-
readonly value: "/bootstrapStatus";
|
|
961
|
-
};
|
|
962
|
-
readonly val: {
|
|
963
|
-
readonly type: {
|
|
964
|
-
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
965
|
-
};
|
|
966
|
-
readonly value: "${event.status}";
|
|
967
|
-
};
|
|
968
|
-
}];
|
|
969
|
-
};
|
|
970
|
-
readonly name: "Update Bootstrap Status";
|
|
971
|
-
readonly type: {
|
|
972
|
-
readonly blueId: "FtHZJzH4hqAoGxFBjsmy1svfT4BwEBB4aHpFSZycZLLa";
|
|
973
|
-
};
|
|
974
|
-
}];
|
|
975
|
-
};
|
|
976
1048
|
readonly type: {
|
|
977
|
-
readonly blueId: "
|
|
1049
|
+
readonly blueId: "BoAiqVUZv9Fum3wFqaX2JnQMBHJLxJSo2V9U2UBmCfsC";
|
|
978
1050
|
};
|
|
979
1051
|
};
|
|
980
|
-
readonly
|
|
981
|
-
readonly
|
|
1052
|
+
readonly revokeImplGranter: {
|
|
1053
|
+
readonly operation: {
|
|
982
1054
|
readonly type: {
|
|
983
1055
|
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
984
1056
|
};
|
|
985
|
-
readonly value: "
|
|
986
|
-
};
|
|
987
|
-
readonly event: {
|
|
988
|
-
readonly type: {
|
|
989
|
-
readonly blueId: "FoHDf4WzS4idtPc8rWwVFFvALQ27WzMHxPdXovy7DH4p";
|
|
990
|
-
};
|
|
1057
|
+
readonly value: "revoke";
|
|
991
1058
|
};
|
|
992
1059
|
readonly steps: {
|
|
993
1060
|
readonly items: readonly [{
|
|
994
|
-
readonly changeset: {
|
|
995
|
-
readonly items: readonly [{
|
|
996
|
-
readonly op: {
|
|
997
|
-
readonly type: {
|
|
998
|
-
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
999
|
-
};
|
|
1000
|
-
readonly value: "replace";
|
|
1001
|
-
};
|
|
1002
|
-
readonly path: {
|
|
1003
|
-
readonly type: {
|
|
1004
|
-
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
1005
|
-
};
|
|
1006
|
-
readonly value: "/initiatorSessionIds";
|
|
1007
|
-
};
|
|
1008
|
-
readonly val: {
|
|
1009
|
-
readonly type: {
|
|
1010
|
-
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
1011
|
-
};
|
|
1012
|
-
readonly value: "${event.initiatorSessionIds}";
|
|
1013
|
-
};
|
|
1014
|
-
}];
|
|
1015
|
-
};
|
|
1016
|
-
readonly name: "Update Initiator Session";
|
|
1017
|
-
readonly type: {
|
|
1018
|
-
readonly blueId: "FtHZJzH4hqAoGxFBjsmy1svfT4BwEBB4aHpFSZycZLLa";
|
|
1019
|
-
};
|
|
1020
|
-
}, {
|
|
1021
1061
|
readonly code: {
|
|
1022
1062
|
readonly type: {
|
|
1023
1063
|
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
1024
1064
|
};
|
|
1025
|
-
readonly value: "return {
|
|
1065
|
+
readonly value: "return {\n events: [\n {\n type: \"MyOS/Single Document Permission Revoke Requested\",\n reason: event.message.request\n }\n ]\n};\n";
|
|
1026
1066
|
};
|
|
1027
|
-
readonly name: "
|
|
1067
|
+
readonly name: "EmitRevokeRequested";
|
|
1028
1068
|
readonly type: {
|
|
1029
1069
|
readonly blueId: "ExZxT61PSpWHpEAtP2WKMXXqxEYN7Z13j7Zv36Dp99kS";
|
|
1030
1070
|
};
|
|
1031
1071
|
}];
|
|
1032
1072
|
};
|
|
1033
1073
|
readonly type: {
|
|
1034
|
-
readonly blueId: "
|
|
1074
|
+
readonly blueId: "CGdxkNjPcsdescqLPz6SNLsMyak6demQQr7RoKNHbCyv";
|
|
1035
1075
|
};
|
|
1036
1076
|
};
|
|
1037
|
-
readonly
|
|
1077
|
+
readonly validateOnInit: {
|
|
1038
1078
|
readonly channel: {
|
|
1039
1079
|
readonly type: {
|
|
1040
1080
|
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
1041
1081
|
};
|
|
1042
|
-
readonly value: "
|
|
1082
|
+
readonly value: "initLifecycleChannel";
|
|
1043
1083
|
};
|
|
1044
1084
|
readonly steps: {
|
|
1045
1085
|
readonly items: readonly [{
|
|
1046
|
-
readonly
|
|
1047
|
-
readonly
|
|
1048
|
-
readonly
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
};
|
|
1052
|
-
readonly value: "replace";
|
|
1053
|
-
};
|
|
1054
|
-
readonly path: {
|
|
1055
|
-
readonly type: {
|
|
1056
|
-
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
1057
|
-
};
|
|
1058
|
-
readonly value: "/bootstrapStatus";
|
|
1059
|
-
};
|
|
1060
|
-
readonly val: {
|
|
1061
|
-
readonly type: {
|
|
1062
|
-
readonly blueId: "56Lhu3Z2oF3kuYG41eZAK8TvgVtRNevkbRi4D31kKWZm";
|
|
1063
|
-
};
|
|
1064
|
-
};
|
|
1065
|
-
}];
|
|
1086
|
+
readonly code: {
|
|
1087
|
+
readonly type: {
|
|
1088
|
+
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
1089
|
+
};
|
|
1090
|
+
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";
|
|
1066
1091
|
};
|
|
1067
|
-
readonly name: "
|
|
1092
|
+
readonly name: "ValidateBasicShape";
|
|
1068
1093
|
readonly type: {
|
|
1069
|
-
readonly blueId: "
|
|
1094
|
+
readonly blueId: "ExZxT61PSpWHpEAtP2WKMXXqxEYN7Z13j7Zv36Dp99kS";
|
|
1070
1095
|
};
|
|
1071
1096
|
}];
|
|
1072
1097
|
};
|
|
@@ -1074,71 +1099,52 @@ export declare const contents: {
|
|
|
1074
1099
|
readonly blueId: "7X3LkN54Yp88JgZbppPhP6hM3Jqiqv8Z2i4kS7phXtQe";
|
|
1075
1100
|
};
|
|
1076
1101
|
};
|
|
1077
|
-
readonly lifecycle: {
|
|
1078
|
-
readonly event: {
|
|
1079
|
-
readonly type: {
|
|
1080
|
-
readonly blueId: "BrpmpNt5JkapeUvPqYcxgXZrHNZX3R757dRwuXXdfNM2";
|
|
1081
|
-
};
|
|
1082
|
-
};
|
|
1083
|
-
readonly type: {
|
|
1084
|
-
readonly blueId: "H2aCCTUcLMTJozWkn7HPUjyFBFxamraw1q8DyWk87zxr";
|
|
1085
|
-
};
|
|
1086
|
-
};
|
|
1087
|
-
readonly triggeredEventsChannel: {
|
|
1088
|
-
readonly type: {
|
|
1089
|
-
readonly blueId: "C77W4kVGcxL7Mkx9WL9QESPEFFL2GzWAe647s1Efprt";
|
|
1090
|
-
};
|
|
1091
|
-
};
|
|
1092
|
-
};
|
|
1093
|
-
readonly description: "MyOS-specific document for bootstrapping document sessions and tracking bootstrap progress";
|
|
1094
|
-
readonly document: {
|
|
1095
|
-
readonly description: "Target Blue document to be bootstrapped";
|
|
1096
1102
|
};
|
|
1097
|
-
readonly
|
|
1098
|
-
readonly
|
|
1099
|
-
|
|
1100
|
-
readonly
|
|
1101
|
-
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
1102
|
-
};
|
|
1103
|
-
};
|
|
1104
|
-
readonly description: "Messages sent to participants when inviting them to the bootstrapped document";
|
|
1105
|
-
readonly perChannel: {
|
|
1106
|
-
readonly description: "Per-channel custom invitation messages";
|
|
1107
|
-
readonly keyType: {
|
|
1108
|
-
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
1109
|
-
};
|
|
1110
|
-
readonly type: {
|
|
1111
|
-
readonly blueId: "G7fBT9PSod1RfHLHkpafAGBDVAJMrMhAMY51ERcyXNrj";
|
|
1112
|
-
};
|
|
1113
|
-
readonly valueType: {
|
|
1114
|
-
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
1115
|
-
};
|
|
1103
|
+
readonly granteeDocumentId: {
|
|
1104
|
+
readonly description: "Required original document id (blueId) that will act as the grantee principal ('document')";
|
|
1105
|
+
readonly type: {
|
|
1106
|
+
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
1116
1107
|
};
|
|
1117
1108
|
};
|
|
1118
|
-
readonly
|
|
1119
|
-
readonly description: "
|
|
1120
|
-
readonly
|
|
1109
|
+
readonly granterDocumentSessionId: {
|
|
1110
|
+
readonly description: "Optional. If set, MyOS should evaluate authority using this document session as the principal (instead of granter accountId).";
|
|
1111
|
+
readonly type: {
|
|
1121
1112
|
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
1122
1113
|
};
|
|
1114
|
+
};
|
|
1115
|
+
readonly name: "Single Document Permission Grant To Document";
|
|
1116
|
+
readonly permissions: {
|
|
1117
|
+
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).";
|
|
1118
|
+
readonly type: {
|
|
1119
|
+
readonly blueId: "DRDQcve5AjwBK9z6Njfa4MNERko7Uf4ucvARFdC6sL54";
|
|
1120
|
+
};
|
|
1121
|
+
};
|
|
1122
|
+
readonly skipValidation: {
|
|
1123
|
+
readonly description: "If true, the validation will be skipped (MyOS Admin won't be triggered to create permission grant)";
|
|
1123
1124
|
readonly type: {
|
|
1124
|
-
readonly blueId: "
|
|
1125
|
+
readonly blueId: "4EzhSubEimSQD3zrYHRtobfPPWntUuhEz8YcdxHsi12u";
|
|
1125
1126
|
};
|
|
1126
1127
|
};
|
|
1127
|
-
readonly
|
|
1128
|
-
|
|
1129
|
-
readonly
|
|
1130
|
-
readonly keyType: {
|
|
1128
|
+
readonly targetSessionId: {
|
|
1129
|
+
readonly description: "Target document session id to grant access to";
|
|
1130
|
+
readonly type: {
|
|
1131
1131
|
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
1132
1132
|
};
|
|
1133
|
+
};
|
|
1134
|
+
readonly type: {
|
|
1135
|
+
readonly blueId: "Bu4YETSKYW8hHMwVy6zUUoBAGZPxX3KVXfKN9uoCUoJj";
|
|
1136
|
+
};
|
|
1137
|
+
};
|
|
1138
|
+
readonly '6fTSbBwfj3zkin6EjGevF16QzokKa1xNXrDjdQwbDir7': {
|
|
1139
|
+
readonly description: "Emitted by revoke operation";
|
|
1140
|
+
readonly name: "Linked Documents Permission Revoke Requested";
|
|
1141
|
+
readonly reason: {
|
|
1133
1142
|
readonly type: {
|
|
1134
|
-
readonly blueId: "
|
|
1135
|
-
};
|
|
1136
|
-
readonly valueType: {
|
|
1137
|
-
readonly blueId: "CocmZUt2K7LuGukwuPSAFC7EFo5HZonozAm4tUsSmuFB";
|
|
1143
|
+
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
1138
1144
|
};
|
|
1139
1145
|
};
|
|
1140
1146
|
readonly type: {
|
|
1141
|
-
readonly blueId: "
|
|
1147
|
+
readonly blueId: "8f9UhHMbRe62sFgzQVheToaJPYi7t7HPNVvpQTbqfL5n";
|
|
1142
1148
|
};
|
|
1143
1149
|
};
|
|
1144
1150
|
readonly '6tzp2YX1rei3aAXg22SqYbeiiteGthj1LesTNCWm7wbU': {
|