@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
package/dist/repository.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export declare const repository: {
|
|
2
2
|
readonly name: "Blue Repository";
|
|
3
|
-
readonly repositoryVersions: readonly ["CQn9FCus2xkhgCdSZQqKQmKGRLKnqTboSyiJXn3pya68", "22xxEjtpjUSpttaRiHX5XbmGNcFhpgLipai685YMdMWv", "58apGqo2EExaKTQQJmjASbj8p7tHvrWkoQVjWeWzaox5", "C6oygUcsKjgqmSej2DMZkuDMqT7frfFL3t11gHGMFebY", "5FLaqPWQ7FJF5DFyCy1H4Ry9SHvX2ByfLbgJ2U3QTqUx", "EpNsiwie3wUf5Hqeo9fdiycvemBQm681hXEaWPEKNAuF", "EpCTtQtiyxppoVxqFbVZLiV7684165ENL3M2qwJigMFP", "9HWPEq8AoXuWtmsqgbxYqFqpuizJg1RdXmfEQA1qhsbi", "2X96EiMnmws7kmgtS3bgGm38NHGBwXeViAxmGqkxyiDT"];
|
|
3
|
+
readonly repositoryVersions: readonly ["CQn9FCus2xkhgCdSZQqKQmKGRLKnqTboSyiJXn3pya68", "22xxEjtpjUSpttaRiHX5XbmGNcFhpgLipai685YMdMWv", "58apGqo2EExaKTQQJmjASbj8p7tHvrWkoQVjWeWzaox5", "C6oygUcsKjgqmSej2DMZkuDMqT7frfFL3t11gHGMFebY", "5FLaqPWQ7FJF5DFyCy1H4Ry9SHvX2ByfLbgJ2U3QTqUx", "EpNsiwie3wUf5Hqeo9fdiycvemBQm681hXEaWPEKNAuF", "EpCTtQtiyxppoVxqFbVZLiV7684165ENL3M2qwJigMFP", "9HWPEq8AoXuWtmsqgbxYqFqpuizJg1RdXmfEQA1qhsbi", "2X96EiMnmws7kmgtS3bgGm38NHGBwXeViAxmGqkxyiDT", "Aig1A2dxJCJkXPYQLyPSXhXJUdBDULKq2cFVv1mv2Uvg"];
|
|
4
4
|
readonly packages: {
|
|
5
5
|
readonly common: {
|
|
6
6
|
readonly contents: {
|
|
@@ -7150,6 +7150,374 @@ export declare const repository: {
|
|
|
7150
7150
|
readonly '4Lix4AKXvBDvrwxw2htSdYFKxL4wugEQzqoSEYet5Dh1': {
|
|
7151
7151
|
readonly name: "MyOS Worker Agency";
|
|
7152
7152
|
};
|
|
7153
|
+
readonly '4Mse3bdSz9YQbp5KkbUiVmkseK8upp5wexNDUq2rHuEy': {
|
|
7154
|
+
readonly avatarUrl: {
|
|
7155
|
+
readonly description: "Uploaded avatar URL propagated to the bootstrapped target sessions";
|
|
7156
|
+
readonly type: {
|
|
7157
|
+
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
7158
|
+
};
|
|
7159
|
+
};
|
|
7160
|
+
readonly bootstrapError: {
|
|
7161
|
+
readonly description: "Error message explaining bootstrap failure";
|
|
7162
|
+
readonly type: {
|
|
7163
|
+
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
7164
|
+
};
|
|
7165
|
+
};
|
|
7166
|
+
readonly bootstrapStatus: {
|
|
7167
|
+
readonly description: "Overall bootstrap process status";
|
|
7168
|
+
readonly type: {
|
|
7169
|
+
readonly blueId: "58B8orsFkxxy7bWqjLXJmtBs2b5rwnNQNbeoAbGhPkJc";
|
|
7170
|
+
};
|
|
7171
|
+
};
|
|
7172
|
+
readonly capabilities: {
|
|
7173
|
+
readonly description: "Optional MyOS Admin capability contracts to attach (participantsOrchestration, sessionInteraction, workerAgency)";
|
|
7174
|
+
readonly keyType: {
|
|
7175
|
+
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
7176
|
+
};
|
|
7177
|
+
readonly type: {
|
|
7178
|
+
readonly blueId: "G7fBT9PSod1RfHLHkpafAGBDVAJMrMhAMY51ERcyXNrj";
|
|
7179
|
+
};
|
|
7180
|
+
readonly valueType: {
|
|
7181
|
+
readonly blueId: "4EzhSubEimSQD3zrYHRtobfPPWntUuhEz8YcdxHsi12u";
|
|
7182
|
+
};
|
|
7183
|
+
};
|
|
7184
|
+
readonly channelBindings: {
|
|
7185
|
+
readonly description: "Maps channel names to participant identifiers";
|
|
7186
|
+
readonly keyType: {
|
|
7187
|
+
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
7188
|
+
};
|
|
7189
|
+
readonly type: {
|
|
7190
|
+
readonly blueId: "G7fBT9PSod1RfHLHkpafAGBDVAJMrMhAMY51ERcyXNrj";
|
|
7191
|
+
};
|
|
7192
|
+
readonly valueType: {
|
|
7193
|
+
readonly blueId: "DcoJyCh7XXxy1nR5xjy7qfkUgQ1GiZnKKSxh8DJusBSr";
|
|
7194
|
+
};
|
|
7195
|
+
};
|
|
7196
|
+
readonly contracts: {
|
|
7197
|
+
readonly handleBootstrapFailed: {
|
|
7198
|
+
readonly channel: {
|
|
7199
|
+
readonly type: {
|
|
7200
|
+
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
7201
|
+
};
|
|
7202
|
+
readonly value: "triggeredEventsChannel";
|
|
7203
|
+
};
|
|
7204
|
+
readonly event: {
|
|
7205
|
+
readonly type: {
|
|
7206
|
+
readonly blueId: "9iEADVdqxqgacF3GAZVMFZu4m5ywuNpsGzButLUNkPWo";
|
|
7207
|
+
};
|
|
7208
|
+
};
|
|
7209
|
+
readonly steps: {
|
|
7210
|
+
readonly items: readonly [{
|
|
7211
|
+
readonly changeset: {
|
|
7212
|
+
readonly items: readonly [{
|
|
7213
|
+
readonly op: {
|
|
7214
|
+
readonly type: {
|
|
7215
|
+
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
7216
|
+
};
|
|
7217
|
+
readonly value: "replace";
|
|
7218
|
+
};
|
|
7219
|
+
readonly path: {
|
|
7220
|
+
readonly type: {
|
|
7221
|
+
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
7222
|
+
};
|
|
7223
|
+
readonly value: "/bootstrapError";
|
|
7224
|
+
};
|
|
7225
|
+
readonly val: {
|
|
7226
|
+
readonly type: {
|
|
7227
|
+
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
7228
|
+
};
|
|
7229
|
+
readonly value: "${event.reason}";
|
|
7230
|
+
};
|
|
7231
|
+
}];
|
|
7232
|
+
};
|
|
7233
|
+
readonly name: "Update Error Message";
|
|
7234
|
+
readonly type: {
|
|
7235
|
+
readonly blueId: "FtHZJzH4hqAoGxFBjsmy1svfT4BwEBB4aHpFSZycZLLa";
|
|
7236
|
+
};
|
|
7237
|
+
}, {
|
|
7238
|
+
readonly code: {
|
|
7239
|
+
readonly type: {
|
|
7240
|
+
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
7241
|
+
};
|
|
7242
|
+
readonly value: "return { events: [ { type: 'Conversation/Status Change', status: { type: 'Conversation/Status Failed' } } ] };\n";
|
|
7243
|
+
};
|
|
7244
|
+
readonly name: "Emit Failure Event";
|
|
7245
|
+
readonly type: {
|
|
7246
|
+
readonly blueId: "ExZxT61PSpWHpEAtP2WKMXXqxEYN7Z13j7Zv36Dp99kS";
|
|
7247
|
+
};
|
|
7248
|
+
}];
|
|
7249
|
+
};
|
|
7250
|
+
readonly type: {
|
|
7251
|
+
readonly blueId: "7X3LkN54Yp88JgZbppPhP6hM3Jqiqv8Z2i4kS7phXtQe";
|
|
7252
|
+
};
|
|
7253
|
+
};
|
|
7254
|
+
readonly handleParticipantResolved: {
|
|
7255
|
+
readonly channel: {
|
|
7256
|
+
readonly type: {
|
|
7257
|
+
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
7258
|
+
};
|
|
7259
|
+
readonly value: "triggeredEventsChannel";
|
|
7260
|
+
};
|
|
7261
|
+
readonly event: {
|
|
7262
|
+
readonly type: {
|
|
7263
|
+
readonly blueId: "EQVu8aZyp5ivTyKpSm8ueVsDLgprfcrHzr5QWdH1p6Cz";
|
|
7264
|
+
};
|
|
7265
|
+
};
|
|
7266
|
+
readonly steps: {
|
|
7267
|
+
readonly items: readonly [{
|
|
7268
|
+
readonly code: {
|
|
7269
|
+
readonly type: {
|
|
7270
|
+
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
7271
|
+
};
|
|
7272
|
+
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";
|
|
7273
|
+
};
|
|
7274
|
+
readonly name: "Prepare Participant State";
|
|
7275
|
+
readonly type: {
|
|
7276
|
+
readonly blueId: "ExZxT61PSpWHpEAtP2WKMXXqxEYN7Z13j7Zv36Dp99kS";
|
|
7277
|
+
};
|
|
7278
|
+
}, {
|
|
7279
|
+
readonly changeset: {
|
|
7280
|
+
readonly items: readonly [{
|
|
7281
|
+
readonly op: {
|
|
7282
|
+
readonly type: {
|
|
7283
|
+
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
7284
|
+
};
|
|
7285
|
+
readonly value: "replace";
|
|
7286
|
+
};
|
|
7287
|
+
readonly path: {
|
|
7288
|
+
readonly type: {
|
|
7289
|
+
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
7290
|
+
};
|
|
7291
|
+
readonly value: "/participantsState/${steps['Prepare Participant State'].channelName}";
|
|
7292
|
+
};
|
|
7293
|
+
readonly val: {
|
|
7294
|
+
readonly type: {
|
|
7295
|
+
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
7296
|
+
};
|
|
7297
|
+
readonly value: "${steps['Prepare Participant State'].participantState}";
|
|
7298
|
+
};
|
|
7299
|
+
}];
|
|
7300
|
+
};
|
|
7301
|
+
readonly name: "Update Participants State";
|
|
7302
|
+
readonly type: {
|
|
7303
|
+
readonly blueId: "FtHZJzH4hqAoGxFBjsmy1svfT4BwEBB4aHpFSZycZLLa";
|
|
7304
|
+
};
|
|
7305
|
+
}];
|
|
7306
|
+
};
|
|
7307
|
+
readonly type: {
|
|
7308
|
+
readonly blueId: "7X3LkN54Yp88JgZbppPhP6hM3Jqiqv8Z2i4kS7phXtQe";
|
|
7309
|
+
};
|
|
7310
|
+
};
|
|
7311
|
+
readonly handleStatusChange: {
|
|
7312
|
+
readonly channel: {
|
|
7313
|
+
readonly type: {
|
|
7314
|
+
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
7315
|
+
};
|
|
7316
|
+
readonly value: "triggeredEventsChannel";
|
|
7317
|
+
};
|
|
7318
|
+
readonly event: {
|
|
7319
|
+
readonly type: {
|
|
7320
|
+
readonly blueId: "C48nKSkbxraMSv4gCiGYVHKFjmtK12k63Yasn95zknWE";
|
|
7321
|
+
};
|
|
7322
|
+
};
|
|
7323
|
+
readonly steps: {
|
|
7324
|
+
readonly items: readonly [{
|
|
7325
|
+
readonly changeset: {
|
|
7326
|
+
readonly items: readonly [{
|
|
7327
|
+
readonly op: {
|
|
7328
|
+
readonly type: {
|
|
7329
|
+
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
7330
|
+
};
|
|
7331
|
+
readonly value: "replace";
|
|
7332
|
+
};
|
|
7333
|
+
readonly path: {
|
|
7334
|
+
readonly type: {
|
|
7335
|
+
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
7336
|
+
};
|
|
7337
|
+
readonly value: "/bootstrapStatus";
|
|
7338
|
+
};
|
|
7339
|
+
readonly val: {
|
|
7340
|
+
readonly type: {
|
|
7341
|
+
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
7342
|
+
};
|
|
7343
|
+
readonly value: "${event.status}";
|
|
7344
|
+
};
|
|
7345
|
+
}];
|
|
7346
|
+
};
|
|
7347
|
+
readonly name: "Update Bootstrap Status";
|
|
7348
|
+
readonly type: {
|
|
7349
|
+
readonly blueId: "FtHZJzH4hqAoGxFBjsmy1svfT4BwEBB4aHpFSZycZLLa";
|
|
7350
|
+
};
|
|
7351
|
+
}];
|
|
7352
|
+
};
|
|
7353
|
+
readonly type: {
|
|
7354
|
+
readonly blueId: "7X3LkN54Yp88JgZbppPhP6hM3Jqiqv8Z2i4kS7phXtQe";
|
|
7355
|
+
};
|
|
7356
|
+
};
|
|
7357
|
+
readonly handleTargetDocumentSessionStarted: {
|
|
7358
|
+
readonly channel: {
|
|
7359
|
+
readonly type: {
|
|
7360
|
+
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
7361
|
+
};
|
|
7362
|
+
readonly value: "triggeredEventsChannel";
|
|
7363
|
+
};
|
|
7364
|
+
readonly event: {
|
|
7365
|
+
readonly type: {
|
|
7366
|
+
readonly blueId: "FoHDf4WzS4idtPc8rWwVFFvALQ27WzMHxPdXovy7DH4p";
|
|
7367
|
+
};
|
|
7368
|
+
};
|
|
7369
|
+
readonly steps: {
|
|
7370
|
+
readonly items: readonly [{
|
|
7371
|
+
readonly changeset: {
|
|
7372
|
+
readonly items: readonly [{
|
|
7373
|
+
readonly op: {
|
|
7374
|
+
readonly type: {
|
|
7375
|
+
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
7376
|
+
};
|
|
7377
|
+
readonly value: "replace";
|
|
7378
|
+
};
|
|
7379
|
+
readonly path: {
|
|
7380
|
+
readonly type: {
|
|
7381
|
+
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
7382
|
+
};
|
|
7383
|
+
readonly value: "/initiatorSessionIds";
|
|
7384
|
+
};
|
|
7385
|
+
readonly val: {
|
|
7386
|
+
readonly type: {
|
|
7387
|
+
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
7388
|
+
};
|
|
7389
|
+
readonly value: "${event.initiatorSessionIds}";
|
|
7390
|
+
};
|
|
7391
|
+
}];
|
|
7392
|
+
};
|
|
7393
|
+
readonly name: "Update Initiator Session";
|
|
7394
|
+
readonly type: {
|
|
7395
|
+
readonly blueId: "FtHZJzH4hqAoGxFBjsmy1svfT4BwEBB4aHpFSZycZLLa";
|
|
7396
|
+
};
|
|
7397
|
+
}, {
|
|
7398
|
+
readonly code: {
|
|
7399
|
+
readonly type: {
|
|
7400
|
+
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
7401
|
+
};
|
|
7402
|
+
readonly value: "return { events: [ { type: 'Conversation/Status Change', status: { type: 'Conversation/Status Completed' } } ] };\n";
|
|
7403
|
+
};
|
|
7404
|
+
readonly name: "Emit Completion Event";
|
|
7405
|
+
readonly type: {
|
|
7406
|
+
readonly blueId: "ExZxT61PSpWHpEAtP2WKMXXqxEYN7Z13j7Zv36Dp99kS";
|
|
7407
|
+
};
|
|
7408
|
+
}];
|
|
7409
|
+
};
|
|
7410
|
+
readonly type: {
|
|
7411
|
+
readonly blueId: "7X3LkN54Yp88JgZbppPhP6hM3Jqiqv8Z2i4kS7phXtQe";
|
|
7412
|
+
};
|
|
7413
|
+
};
|
|
7414
|
+
readonly initHandler: {
|
|
7415
|
+
readonly channel: {
|
|
7416
|
+
readonly type: {
|
|
7417
|
+
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
7418
|
+
};
|
|
7419
|
+
readonly value: "lifecycle";
|
|
7420
|
+
};
|
|
7421
|
+
readonly steps: {
|
|
7422
|
+
readonly items: readonly [{
|
|
7423
|
+
readonly changeset: {
|
|
7424
|
+
readonly items: readonly [{
|
|
7425
|
+
readonly op: {
|
|
7426
|
+
readonly type: {
|
|
7427
|
+
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
7428
|
+
};
|
|
7429
|
+
readonly value: "replace";
|
|
7430
|
+
};
|
|
7431
|
+
readonly path: {
|
|
7432
|
+
readonly type: {
|
|
7433
|
+
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
7434
|
+
};
|
|
7435
|
+
readonly value: "/bootstrapStatus";
|
|
7436
|
+
};
|
|
7437
|
+
readonly val: {
|
|
7438
|
+
readonly type: {
|
|
7439
|
+
readonly blueId: "56Lhu3Z2oF3kuYG41eZAK8TvgVtRNevkbRi4D31kKWZm";
|
|
7440
|
+
};
|
|
7441
|
+
};
|
|
7442
|
+
}];
|
|
7443
|
+
};
|
|
7444
|
+
readonly name: "Initialize Bootstrap Status";
|
|
7445
|
+
readonly type: {
|
|
7446
|
+
readonly blueId: "FtHZJzH4hqAoGxFBjsmy1svfT4BwEBB4aHpFSZycZLLa";
|
|
7447
|
+
};
|
|
7448
|
+
}];
|
|
7449
|
+
};
|
|
7450
|
+
readonly type: {
|
|
7451
|
+
readonly blueId: "7X3LkN54Yp88JgZbppPhP6hM3Jqiqv8Z2i4kS7phXtQe";
|
|
7452
|
+
};
|
|
7453
|
+
};
|
|
7454
|
+
readonly lifecycle: {
|
|
7455
|
+
readonly event: {
|
|
7456
|
+
readonly type: {
|
|
7457
|
+
readonly blueId: "BrpmpNt5JkapeUvPqYcxgXZrHNZX3R757dRwuXXdfNM2";
|
|
7458
|
+
};
|
|
7459
|
+
};
|
|
7460
|
+
readonly type: {
|
|
7461
|
+
readonly blueId: "H2aCCTUcLMTJozWkn7HPUjyFBFxamraw1q8DyWk87zxr";
|
|
7462
|
+
};
|
|
7463
|
+
};
|
|
7464
|
+
readonly triggeredEventsChannel: {
|
|
7465
|
+
readonly type: {
|
|
7466
|
+
readonly blueId: "C77W4kVGcxL7Mkx9WL9QESPEFFL2GzWAe647s1Efprt";
|
|
7467
|
+
};
|
|
7468
|
+
};
|
|
7469
|
+
};
|
|
7470
|
+
readonly description: "MyOS-specific document for bootstrapping document sessions and tracking bootstrap progress";
|
|
7471
|
+
readonly document: {
|
|
7472
|
+
readonly description: "Target Blue document to be bootstrapped";
|
|
7473
|
+
};
|
|
7474
|
+
readonly initialMessages: {
|
|
7475
|
+
readonly defaultMessage: {
|
|
7476
|
+
readonly description: "Default invitation message sent to all participants";
|
|
7477
|
+
readonly type: {
|
|
7478
|
+
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
7479
|
+
};
|
|
7480
|
+
};
|
|
7481
|
+
readonly description: "Messages sent to participants when inviting them to the bootstrapped document";
|
|
7482
|
+
readonly perChannel: {
|
|
7483
|
+
readonly description: "Per-channel custom invitation messages";
|
|
7484
|
+
readonly keyType: {
|
|
7485
|
+
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
7486
|
+
};
|
|
7487
|
+
readonly type: {
|
|
7488
|
+
readonly blueId: "G7fBT9PSod1RfHLHkpafAGBDVAJMrMhAMY51ERcyXNrj";
|
|
7489
|
+
};
|
|
7490
|
+
readonly valueType: {
|
|
7491
|
+
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
7492
|
+
};
|
|
7493
|
+
};
|
|
7494
|
+
};
|
|
7495
|
+
readonly initiatorSessionIds: {
|
|
7496
|
+
readonly description: "Session IDs created for the bootstrap initiator (caller)";
|
|
7497
|
+
readonly itemType: {
|
|
7498
|
+
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
7499
|
+
};
|
|
7500
|
+
readonly type: {
|
|
7501
|
+
readonly blueId: "6aehfNAxHLC1PHHoDr3tYtFH3RWNbiWdFancJ1bypXEY";
|
|
7502
|
+
};
|
|
7503
|
+
};
|
|
7504
|
+
readonly name: "Document Session Bootstrap";
|
|
7505
|
+
readonly participantsState: {
|
|
7506
|
+
readonly description: "Maps channel names to participant activation tracking";
|
|
7507
|
+
readonly keyType: {
|
|
7508
|
+
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
7509
|
+
};
|
|
7510
|
+
readonly type: {
|
|
7511
|
+
readonly blueId: "G7fBT9PSod1RfHLHkpafAGBDVAJMrMhAMY51ERcyXNrj";
|
|
7512
|
+
};
|
|
7513
|
+
readonly valueType: {
|
|
7514
|
+
readonly blueId: "CocmZUt2K7LuGukwuPSAFC7EFo5HZonozAm4tUsSmuFB";
|
|
7515
|
+
};
|
|
7516
|
+
};
|
|
7517
|
+
readonly type: {
|
|
7518
|
+
readonly blueId: "Bu4YETSKYW8hHMwVy6zUUoBAGZPxX3KVXfKN9uoCUoJj";
|
|
7519
|
+
};
|
|
7520
|
+
};
|
|
7153
7521
|
readonly '4sJYYU5tjqKy43Mbe1Mt5WKfaynHs9rTj3QGAvTAZkM6': {
|
|
7154
7522
|
readonly at: {
|
|
7155
7523
|
readonly description: "ISO 8601 timestamp when the subscription became active.";
|
|
@@ -7438,420 +7806,77 @@ export declare const repository: {
|
|
|
7438
7806
|
readonly blueId: "HCF8mXnX3dFjQ8osjxb4Wzm2Nm1DoXnTYuA5sPnV7NTs";
|
|
7439
7807
|
};
|
|
7440
7808
|
};
|
|
7441
|
-
readonly initLifecycleChannel: {
|
|
7442
|
-
readonly event: {
|
|
7443
|
-
readonly type: {
|
|
7444
|
-
readonly blueId: "BrpmpNt5JkapeUvPqYcxgXZrHNZX3R757dRwuXXdfNM2";
|
|
7445
|
-
};
|
|
7446
|
-
};
|
|
7447
|
-
readonly type: {
|
|
7448
|
-
readonly blueId: "H2aCCTUcLMTJozWkn7HPUjyFBFxamraw1q8DyWk87zxr";
|
|
7449
|
-
};
|
|
7450
|
-
};
|
|
7451
|
-
readonly revoke: {
|
|
7452
|
-
readonly channel: {
|
|
7453
|
-
readonly type: {
|
|
7454
|
-
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
7455
|
-
};
|
|
7456
|
-
readonly value: "granterChannel";
|
|
7457
|
-
};
|
|
7458
|
-
readonly description: "Granter requests revocation (handled by MyOS Admin)";
|
|
7459
|
-
readonly request: {
|
|
7460
|
-
readonly description: "Optional human-readable reason";
|
|
7461
|
-
readonly type: {
|
|
7462
|
-
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
7463
|
-
};
|
|
7464
|
-
};
|
|
7465
|
-
readonly type: {
|
|
7466
|
-
readonly blueId: "BoAiqVUZv9Fum3wFqaX2JnQMBHJLxJSo2V9U2UBmCfsC";
|
|
7467
|
-
};
|
|
7468
|
-
};
|
|
7469
|
-
readonly revokeImplGranter: {
|
|
7470
|
-
readonly operation: {
|
|
7471
|
-
readonly type: {
|
|
7472
|
-
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
7473
|
-
};
|
|
7474
|
-
readonly value: "revoke";
|
|
7475
|
-
};
|
|
7476
|
-
readonly steps: {
|
|
7477
|
-
readonly items: readonly [{
|
|
7478
|
-
readonly code: {
|
|
7479
|
-
readonly type: {
|
|
7480
|
-
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
7481
|
-
};
|
|
7482
|
-
readonly value: "return {\n events: [\n {\n type: \"MyOS/Single Document Permission Revoke Requested\",\n reason: event.message.request\n }\n ]\n};\n";
|
|
7483
|
-
};
|
|
7484
|
-
readonly name: "EmitRevokeRequested";
|
|
7485
|
-
readonly type: {
|
|
7486
|
-
readonly blueId: "ExZxT61PSpWHpEAtP2WKMXXqxEYN7Z13j7Zv36Dp99kS";
|
|
7487
|
-
};
|
|
7488
|
-
}];
|
|
7489
|
-
};
|
|
7490
|
-
readonly type: {
|
|
7491
|
-
readonly blueId: "CGdxkNjPcsdescqLPz6SNLsMyak6demQQr7RoKNHbCyv";
|
|
7492
|
-
};
|
|
7493
|
-
};
|
|
7494
|
-
readonly validateOnInit: {
|
|
7495
|
-
readonly channel: {
|
|
7496
|
-
readonly type: {
|
|
7497
|
-
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
7498
|
-
};
|
|
7499
|
-
readonly value: "initLifecycleChannel";
|
|
7500
|
-
};
|
|
7501
|
-
readonly steps: {
|
|
7502
|
-
readonly items: readonly [{
|
|
7503
|
-
readonly code: {
|
|
7504
|
-
readonly type: {
|
|
7505
|
-
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
7506
|
-
};
|
|
7507
|
-
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";
|
|
7508
|
-
};
|
|
7509
|
-
readonly name: "ValidateBasicShape";
|
|
7510
|
-
readonly type: {
|
|
7511
|
-
readonly blueId: "ExZxT61PSpWHpEAtP2WKMXXqxEYN7Z13j7Zv36Dp99kS";
|
|
7512
|
-
};
|
|
7513
|
-
}];
|
|
7514
|
-
};
|
|
7515
|
-
readonly type: {
|
|
7516
|
-
readonly blueId: "7X3LkN54Yp88JgZbppPhP6hM3Jqiqv8Z2i4kS7phXtQe";
|
|
7517
|
-
};
|
|
7518
|
-
};
|
|
7519
|
-
};
|
|
7520
|
-
readonly granteeDocumentId: {
|
|
7521
|
-
readonly description: "Required original document id (blueId) that will act as the grantee principal ('document')";
|
|
7522
|
-
readonly type: {
|
|
7523
|
-
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
7524
|
-
};
|
|
7525
|
-
};
|
|
7526
|
-
readonly granterDocumentSessionId: {
|
|
7527
|
-
readonly description: "Optional. If set, MyOS should evaluate authority using this document session as the principal (instead of granter accountId).";
|
|
7528
|
-
readonly type: {
|
|
7529
|
-
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
7530
|
-
};
|
|
7531
|
-
};
|
|
7532
|
-
readonly name: "Single Document Permission Grant To Document";
|
|
7533
|
-
readonly permissions: {
|
|
7534
|
-
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).";
|
|
7535
|
-
readonly type: {
|
|
7536
|
-
readonly blueId: "DRDQcve5AjwBK9z6Njfa4MNERko7Uf4ucvARFdC6sL54";
|
|
7537
|
-
};
|
|
7538
|
-
};
|
|
7539
|
-
readonly skipValidation: {
|
|
7540
|
-
readonly description: "If true, the validation will be skipped (MyOS Admin won't be triggered to create permission grant)";
|
|
7541
|
-
readonly type: {
|
|
7542
|
-
readonly blueId: "4EzhSubEimSQD3zrYHRtobfPPWntUuhEz8YcdxHsi12u";
|
|
7543
|
-
};
|
|
7544
|
-
};
|
|
7545
|
-
readonly targetSessionId: {
|
|
7546
|
-
readonly description: "Target document session id to grant access to";
|
|
7547
|
-
readonly type: {
|
|
7548
|
-
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
7549
|
-
};
|
|
7550
|
-
};
|
|
7551
|
-
readonly type: {
|
|
7552
|
-
readonly blueId: "Bu4YETSKYW8hHMwVy6zUUoBAGZPxX3KVXfKN9uoCUoJj";
|
|
7553
|
-
};
|
|
7554
|
-
};
|
|
7555
|
-
readonly '6fTSbBwfj3zkin6EjGevF16QzokKa1xNXrDjdQwbDir7': {
|
|
7556
|
-
readonly description: "Emitted by revoke operation";
|
|
7557
|
-
readonly name: "Linked Documents Permission Revoke Requested";
|
|
7558
|
-
readonly reason: {
|
|
7559
|
-
readonly type: {
|
|
7560
|
-
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
7561
|
-
};
|
|
7562
|
-
};
|
|
7563
|
-
readonly type: {
|
|
7564
|
-
readonly blueId: "8f9UhHMbRe62sFgzQVheToaJPYi7t7HPNVvpQTbqfL5n";
|
|
7565
|
-
};
|
|
7566
|
-
};
|
|
7567
|
-
readonly '6HC9zdAPTChMDo8okX3rYTz4aeCEKCr8TtU2WmfugdSJ': {
|
|
7568
|
-
readonly bootstrapError: {
|
|
7569
|
-
readonly description: "Error message explaining bootstrap failure";
|
|
7570
|
-
readonly type: {
|
|
7571
|
-
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
7572
|
-
};
|
|
7573
|
-
};
|
|
7574
|
-
readonly bootstrapStatus: {
|
|
7575
|
-
readonly description: "Overall bootstrap process status";
|
|
7576
|
-
readonly type: {
|
|
7577
|
-
readonly blueId: "58B8orsFkxxy7bWqjLXJmtBs2b5rwnNQNbeoAbGhPkJc";
|
|
7578
|
-
};
|
|
7579
|
-
};
|
|
7580
|
-
readonly capabilities: {
|
|
7581
|
-
readonly description: "Optional MyOS Admin capability contracts to attach (participantsOrchestration, sessionInteraction, workerAgency)";
|
|
7582
|
-
readonly keyType: {
|
|
7583
|
-
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
7584
|
-
};
|
|
7585
|
-
readonly type: {
|
|
7586
|
-
readonly blueId: "G7fBT9PSod1RfHLHkpafAGBDVAJMrMhAMY51ERcyXNrj";
|
|
7587
|
-
};
|
|
7588
|
-
readonly valueType: {
|
|
7589
|
-
readonly blueId: "4EzhSubEimSQD3zrYHRtobfPPWntUuhEz8YcdxHsi12u";
|
|
7590
|
-
};
|
|
7591
|
-
};
|
|
7592
|
-
readonly channelBindings: {
|
|
7593
|
-
readonly description: "Maps channel names to participant identifiers";
|
|
7594
|
-
readonly keyType: {
|
|
7595
|
-
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
7596
|
-
};
|
|
7597
|
-
readonly type: {
|
|
7598
|
-
readonly blueId: "G7fBT9PSod1RfHLHkpafAGBDVAJMrMhAMY51ERcyXNrj";
|
|
7599
|
-
};
|
|
7600
|
-
readonly valueType: {
|
|
7601
|
-
readonly blueId: "DcoJyCh7XXxy1nR5xjy7qfkUgQ1GiZnKKSxh8DJusBSr";
|
|
7602
|
-
};
|
|
7603
|
-
};
|
|
7604
|
-
readonly contracts: {
|
|
7605
|
-
readonly handleBootstrapFailed: {
|
|
7606
|
-
readonly channel: {
|
|
7607
|
-
readonly type: {
|
|
7608
|
-
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
7609
|
-
};
|
|
7610
|
-
readonly value: "triggeredEventsChannel";
|
|
7611
|
-
};
|
|
7612
|
-
readonly event: {
|
|
7613
|
-
readonly type: {
|
|
7614
|
-
readonly blueId: "9iEADVdqxqgacF3GAZVMFZu4m5ywuNpsGzButLUNkPWo";
|
|
7615
|
-
};
|
|
7616
|
-
};
|
|
7617
|
-
readonly steps: {
|
|
7618
|
-
readonly items: readonly [{
|
|
7619
|
-
readonly changeset: {
|
|
7620
|
-
readonly items: readonly [{
|
|
7621
|
-
readonly op: {
|
|
7622
|
-
readonly type: {
|
|
7623
|
-
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
7624
|
-
};
|
|
7625
|
-
readonly value: "replace";
|
|
7626
|
-
};
|
|
7627
|
-
readonly path: {
|
|
7628
|
-
readonly type: {
|
|
7629
|
-
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
7630
|
-
};
|
|
7631
|
-
readonly value: "/bootstrapError";
|
|
7632
|
-
};
|
|
7633
|
-
readonly val: {
|
|
7634
|
-
readonly type: {
|
|
7635
|
-
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
7636
|
-
};
|
|
7637
|
-
readonly value: "${event.reason}";
|
|
7638
|
-
};
|
|
7639
|
-
}];
|
|
7640
|
-
};
|
|
7641
|
-
readonly name: "Update Error Message";
|
|
7642
|
-
readonly type: {
|
|
7643
|
-
readonly blueId: "FtHZJzH4hqAoGxFBjsmy1svfT4BwEBB4aHpFSZycZLLa";
|
|
7644
|
-
};
|
|
7645
|
-
}, {
|
|
7646
|
-
readonly code: {
|
|
7647
|
-
readonly type: {
|
|
7648
|
-
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
7649
|
-
};
|
|
7650
|
-
readonly value: "return { events: [ { type: 'Conversation/Status Change', status: { type: 'Conversation/Status Failed' } } ] };\n";
|
|
7651
|
-
};
|
|
7652
|
-
readonly name: "Emit Failure Event";
|
|
7653
|
-
readonly type: {
|
|
7654
|
-
readonly blueId: "ExZxT61PSpWHpEAtP2WKMXXqxEYN7Z13j7Zv36Dp99kS";
|
|
7655
|
-
};
|
|
7656
|
-
}];
|
|
7657
|
-
};
|
|
7658
|
-
readonly type: {
|
|
7659
|
-
readonly blueId: "7X3LkN54Yp88JgZbppPhP6hM3Jqiqv8Z2i4kS7phXtQe";
|
|
7660
|
-
};
|
|
7661
|
-
};
|
|
7662
|
-
readonly handleParticipantResolved: {
|
|
7663
|
-
readonly channel: {
|
|
7664
|
-
readonly type: {
|
|
7665
|
-
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
7666
|
-
};
|
|
7667
|
-
readonly value: "triggeredEventsChannel";
|
|
7668
|
-
};
|
|
7809
|
+
readonly initLifecycleChannel: {
|
|
7669
7810
|
readonly event: {
|
|
7670
7811
|
readonly type: {
|
|
7671
|
-
readonly blueId: "
|
|
7812
|
+
readonly blueId: "BrpmpNt5JkapeUvPqYcxgXZrHNZX3R757dRwuXXdfNM2";
|
|
7672
7813
|
};
|
|
7673
7814
|
};
|
|
7674
|
-
readonly steps: {
|
|
7675
|
-
readonly items: readonly [{
|
|
7676
|
-
readonly code: {
|
|
7677
|
-
readonly type: {
|
|
7678
|
-
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
7679
|
-
};
|
|
7680
|
-
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";
|
|
7681
|
-
};
|
|
7682
|
-
readonly name: "Prepare Participant State";
|
|
7683
|
-
readonly type: {
|
|
7684
|
-
readonly blueId: "ExZxT61PSpWHpEAtP2WKMXXqxEYN7Z13j7Zv36Dp99kS";
|
|
7685
|
-
};
|
|
7686
|
-
}, {
|
|
7687
|
-
readonly changeset: {
|
|
7688
|
-
readonly items: readonly [{
|
|
7689
|
-
readonly op: {
|
|
7690
|
-
readonly type: {
|
|
7691
|
-
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
7692
|
-
};
|
|
7693
|
-
readonly value: "replace";
|
|
7694
|
-
};
|
|
7695
|
-
readonly path: {
|
|
7696
|
-
readonly type: {
|
|
7697
|
-
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
7698
|
-
};
|
|
7699
|
-
readonly value: "/participantsState/${steps['Prepare Participant State'].channelName}";
|
|
7700
|
-
};
|
|
7701
|
-
readonly val: {
|
|
7702
|
-
readonly type: {
|
|
7703
|
-
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
7704
|
-
};
|
|
7705
|
-
readonly value: "${steps['Prepare Participant State'].participantState}";
|
|
7706
|
-
};
|
|
7707
|
-
}];
|
|
7708
|
-
};
|
|
7709
|
-
readonly name: "Update Participants State";
|
|
7710
|
-
readonly type: {
|
|
7711
|
-
readonly blueId: "FtHZJzH4hqAoGxFBjsmy1svfT4BwEBB4aHpFSZycZLLa";
|
|
7712
|
-
};
|
|
7713
|
-
}];
|
|
7714
|
-
};
|
|
7715
7815
|
readonly type: {
|
|
7716
|
-
readonly blueId: "
|
|
7816
|
+
readonly blueId: "H2aCCTUcLMTJozWkn7HPUjyFBFxamraw1q8DyWk87zxr";
|
|
7717
7817
|
};
|
|
7718
7818
|
};
|
|
7719
|
-
readonly
|
|
7819
|
+
readonly revoke: {
|
|
7720
7820
|
readonly channel: {
|
|
7721
7821
|
readonly type: {
|
|
7722
7822
|
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
7723
7823
|
};
|
|
7724
|
-
readonly value: "
|
|
7824
|
+
readonly value: "granterChannel";
|
|
7725
7825
|
};
|
|
7726
|
-
readonly
|
|
7826
|
+
readonly description: "Granter requests revocation (handled by MyOS Admin)";
|
|
7827
|
+
readonly request: {
|
|
7828
|
+
readonly description: "Optional human-readable reason";
|
|
7727
7829
|
readonly type: {
|
|
7728
|
-
readonly blueId: "
|
|
7830
|
+
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
7729
7831
|
};
|
|
7730
7832
|
};
|
|
7731
|
-
readonly steps: {
|
|
7732
|
-
readonly items: readonly [{
|
|
7733
|
-
readonly changeset: {
|
|
7734
|
-
readonly items: readonly [{
|
|
7735
|
-
readonly op: {
|
|
7736
|
-
readonly type: {
|
|
7737
|
-
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
7738
|
-
};
|
|
7739
|
-
readonly value: "replace";
|
|
7740
|
-
};
|
|
7741
|
-
readonly path: {
|
|
7742
|
-
readonly type: {
|
|
7743
|
-
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
7744
|
-
};
|
|
7745
|
-
readonly value: "/bootstrapStatus";
|
|
7746
|
-
};
|
|
7747
|
-
readonly val: {
|
|
7748
|
-
readonly type: {
|
|
7749
|
-
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
7750
|
-
};
|
|
7751
|
-
readonly value: "${event.status}";
|
|
7752
|
-
};
|
|
7753
|
-
}];
|
|
7754
|
-
};
|
|
7755
|
-
readonly name: "Update Bootstrap Status";
|
|
7756
|
-
readonly type: {
|
|
7757
|
-
readonly blueId: "FtHZJzH4hqAoGxFBjsmy1svfT4BwEBB4aHpFSZycZLLa";
|
|
7758
|
-
};
|
|
7759
|
-
}];
|
|
7760
|
-
};
|
|
7761
7833
|
readonly type: {
|
|
7762
|
-
readonly blueId: "
|
|
7834
|
+
readonly blueId: "BoAiqVUZv9Fum3wFqaX2JnQMBHJLxJSo2V9U2UBmCfsC";
|
|
7763
7835
|
};
|
|
7764
7836
|
};
|
|
7765
|
-
readonly
|
|
7766
|
-
readonly
|
|
7837
|
+
readonly revokeImplGranter: {
|
|
7838
|
+
readonly operation: {
|
|
7767
7839
|
readonly type: {
|
|
7768
7840
|
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
7769
7841
|
};
|
|
7770
|
-
readonly value: "
|
|
7771
|
-
};
|
|
7772
|
-
readonly event: {
|
|
7773
|
-
readonly type: {
|
|
7774
|
-
readonly blueId: "FoHDf4WzS4idtPc8rWwVFFvALQ27WzMHxPdXovy7DH4p";
|
|
7775
|
-
};
|
|
7842
|
+
readonly value: "revoke";
|
|
7776
7843
|
};
|
|
7777
7844
|
readonly steps: {
|
|
7778
7845
|
readonly items: readonly [{
|
|
7779
|
-
readonly changeset: {
|
|
7780
|
-
readonly items: readonly [{
|
|
7781
|
-
readonly op: {
|
|
7782
|
-
readonly type: {
|
|
7783
|
-
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
7784
|
-
};
|
|
7785
|
-
readonly value: "replace";
|
|
7786
|
-
};
|
|
7787
|
-
readonly path: {
|
|
7788
|
-
readonly type: {
|
|
7789
|
-
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
7790
|
-
};
|
|
7791
|
-
readonly value: "/initiatorSessionIds";
|
|
7792
|
-
};
|
|
7793
|
-
readonly val: {
|
|
7794
|
-
readonly type: {
|
|
7795
|
-
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
7796
|
-
};
|
|
7797
|
-
readonly value: "${event.initiatorSessionIds}";
|
|
7798
|
-
};
|
|
7799
|
-
}];
|
|
7800
|
-
};
|
|
7801
|
-
readonly name: "Update Initiator Session";
|
|
7802
|
-
readonly type: {
|
|
7803
|
-
readonly blueId: "FtHZJzH4hqAoGxFBjsmy1svfT4BwEBB4aHpFSZycZLLa";
|
|
7804
|
-
};
|
|
7805
|
-
}, {
|
|
7806
7846
|
readonly code: {
|
|
7807
7847
|
readonly type: {
|
|
7808
7848
|
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
7809
7849
|
};
|
|
7810
|
-
readonly value: "return {
|
|
7850
|
+
readonly value: "return {\n events: [\n {\n type: \"MyOS/Single Document Permission Revoke Requested\",\n reason: event.message.request\n }\n ]\n};\n";
|
|
7811
7851
|
};
|
|
7812
|
-
readonly name: "
|
|
7852
|
+
readonly name: "EmitRevokeRequested";
|
|
7813
7853
|
readonly type: {
|
|
7814
7854
|
readonly blueId: "ExZxT61PSpWHpEAtP2WKMXXqxEYN7Z13j7Zv36Dp99kS";
|
|
7815
7855
|
};
|
|
7816
7856
|
}];
|
|
7817
7857
|
};
|
|
7818
7858
|
readonly type: {
|
|
7819
|
-
readonly blueId: "
|
|
7859
|
+
readonly blueId: "CGdxkNjPcsdescqLPz6SNLsMyak6demQQr7RoKNHbCyv";
|
|
7820
7860
|
};
|
|
7821
7861
|
};
|
|
7822
|
-
readonly
|
|
7862
|
+
readonly validateOnInit: {
|
|
7823
7863
|
readonly channel: {
|
|
7824
7864
|
readonly type: {
|
|
7825
7865
|
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
7826
7866
|
};
|
|
7827
|
-
readonly value: "
|
|
7867
|
+
readonly value: "initLifecycleChannel";
|
|
7828
7868
|
};
|
|
7829
7869
|
readonly steps: {
|
|
7830
7870
|
readonly items: readonly [{
|
|
7831
|
-
readonly
|
|
7832
|
-
readonly
|
|
7833
|
-
readonly
|
|
7834
|
-
|
|
7835
|
-
|
|
7836
|
-
};
|
|
7837
|
-
readonly value: "replace";
|
|
7838
|
-
};
|
|
7839
|
-
readonly path: {
|
|
7840
|
-
readonly type: {
|
|
7841
|
-
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
7842
|
-
};
|
|
7843
|
-
readonly value: "/bootstrapStatus";
|
|
7844
|
-
};
|
|
7845
|
-
readonly val: {
|
|
7846
|
-
readonly type: {
|
|
7847
|
-
readonly blueId: "56Lhu3Z2oF3kuYG41eZAK8TvgVtRNevkbRi4D31kKWZm";
|
|
7848
|
-
};
|
|
7849
|
-
};
|
|
7850
|
-
}];
|
|
7871
|
+
readonly code: {
|
|
7872
|
+
readonly type: {
|
|
7873
|
+
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
7874
|
+
};
|
|
7875
|
+
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";
|
|
7851
7876
|
};
|
|
7852
|
-
readonly name: "
|
|
7877
|
+
readonly name: "ValidateBasicShape";
|
|
7853
7878
|
readonly type: {
|
|
7854
|
-
readonly blueId: "
|
|
7879
|
+
readonly blueId: "ExZxT61PSpWHpEAtP2WKMXXqxEYN7Z13j7Zv36Dp99kS";
|
|
7855
7880
|
};
|
|
7856
7881
|
}];
|
|
7857
7882
|
};
|
|
@@ -7859,71 +7884,52 @@ export declare const repository: {
|
|
|
7859
7884
|
readonly blueId: "7X3LkN54Yp88JgZbppPhP6hM3Jqiqv8Z2i4kS7phXtQe";
|
|
7860
7885
|
};
|
|
7861
7886
|
};
|
|
7862
|
-
readonly lifecycle: {
|
|
7863
|
-
readonly event: {
|
|
7864
|
-
readonly type: {
|
|
7865
|
-
readonly blueId: "BrpmpNt5JkapeUvPqYcxgXZrHNZX3R757dRwuXXdfNM2";
|
|
7866
|
-
};
|
|
7867
|
-
};
|
|
7868
|
-
readonly type: {
|
|
7869
|
-
readonly blueId: "H2aCCTUcLMTJozWkn7HPUjyFBFxamraw1q8DyWk87zxr";
|
|
7870
|
-
};
|
|
7871
|
-
};
|
|
7872
|
-
readonly triggeredEventsChannel: {
|
|
7873
|
-
readonly type: {
|
|
7874
|
-
readonly blueId: "C77W4kVGcxL7Mkx9WL9QESPEFFL2GzWAe647s1Efprt";
|
|
7875
|
-
};
|
|
7876
|
-
};
|
|
7877
|
-
};
|
|
7878
|
-
readonly description: "MyOS-specific document for bootstrapping document sessions and tracking bootstrap progress";
|
|
7879
|
-
readonly document: {
|
|
7880
|
-
readonly description: "Target Blue document to be bootstrapped";
|
|
7881
7887
|
};
|
|
7882
|
-
readonly
|
|
7883
|
-
readonly
|
|
7884
|
-
|
|
7885
|
-
readonly
|
|
7886
|
-
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
7887
|
-
};
|
|
7888
|
-
};
|
|
7889
|
-
readonly description: "Messages sent to participants when inviting them to the bootstrapped document";
|
|
7890
|
-
readonly perChannel: {
|
|
7891
|
-
readonly description: "Per-channel custom invitation messages";
|
|
7892
|
-
readonly keyType: {
|
|
7893
|
-
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
7894
|
-
};
|
|
7895
|
-
readonly type: {
|
|
7896
|
-
readonly blueId: "G7fBT9PSod1RfHLHkpafAGBDVAJMrMhAMY51ERcyXNrj";
|
|
7897
|
-
};
|
|
7898
|
-
readonly valueType: {
|
|
7899
|
-
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
7900
|
-
};
|
|
7888
|
+
readonly granteeDocumentId: {
|
|
7889
|
+
readonly description: "Required original document id (blueId) that will act as the grantee principal ('document')";
|
|
7890
|
+
readonly type: {
|
|
7891
|
+
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
7901
7892
|
};
|
|
7902
7893
|
};
|
|
7903
|
-
readonly
|
|
7904
|
-
readonly description: "
|
|
7905
|
-
readonly
|
|
7894
|
+
readonly granterDocumentSessionId: {
|
|
7895
|
+
readonly description: "Optional. If set, MyOS should evaluate authority using this document session as the principal (instead of granter accountId).";
|
|
7896
|
+
readonly type: {
|
|
7906
7897
|
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
7907
7898
|
};
|
|
7899
|
+
};
|
|
7900
|
+
readonly name: "Single Document Permission Grant To Document";
|
|
7901
|
+
readonly permissions: {
|
|
7902
|
+
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).";
|
|
7903
|
+
readonly type: {
|
|
7904
|
+
readonly blueId: "DRDQcve5AjwBK9z6Njfa4MNERko7Uf4ucvARFdC6sL54";
|
|
7905
|
+
};
|
|
7906
|
+
};
|
|
7907
|
+
readonly skipValidation: {
|
|
7908
|
+
readonly description: "If true, the validation will be skipped (MyOS Admin won't be triggered to create permission grant)";
|
|
7908
7909
|
readonly type: {
|
|
7909
|
-
readonly blueId: "
|
|
7910
|
+
readonly blueId: "4EzhSubEimSQD3zrYHRtobfPPWntUuhEz8YcdxHsi12u";
|
|
7910
7911
|
};
|
|
7911
7912
|
};
|
|
7912
|
-
readonly
|
|
7913
|
-
|
|
7914
|
-
readonly
|
|
7915
|
-
readonly keyType: {
|
|
7913
|
+
readonly targetSessionId: {
|
|
7914
|
+
readonly description: "Target document session id to grant access to";
|
|
7915
|
+
readonly type: {
|
|
7916
7916
|
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
7917
7917
|
};
|
|
7918
|
+
};
|
|
7919
|
+
readonly type: {
|
|
7920
|
+
readonly blueId: "Bu4YETSKYW8hHMwVy6zUUoBAGZPxX3KVXfKN9uoCUoJj";
|
|
7921
|
+
};
|
|
7922
|
+
};
|
|
7923
|
+
readonly '6fTSbBwfj3zkin6EjGevF16QzokKa1xNXrDjdQwbDir7': {
|
|
7924
|
+
readonly description: "Emitted by revoke operation";
|
|
7925
|
+
readonly name: "Linked Documents Permission Revoke Requested";
|
|
7926
|
+
readonly reason: {
|
|
7918
7927
|
readonly type: {
|
|
7919
|
-
readonly blueId: "
|
|
7920
|
-
};
|
|
7921
|
-
readonly valueType: {
|
|
7922
|
-
readonly blueId: "CocmZUt2K7LuGukwuPSAFC7EFo5HZonozAm4tUsSmuFB";
|
|
7928
|
+
readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
|
|
7923
7929
|
};
|
|
7924
7930
|
};
|
|
7925
7931
|
readonly type: {
|
|
7926
|
-
readonly blueId: "
|
|
7932
|
+
readonly blueId: "8f9UhHMbRe62sFgzQVheToaJPYi7t7HPNVvpQTbqfL5n";
|
|
7927
7933
|
};
|
|
7928
7934
|
};
|
|
7929
7935
|
readonly '6tzp2YX1rei3aAXg22SqYbeiiteGthj1LesTNCWm7wbU': {
|
|
@@ -10068,7 +10074,7 @@ export declare const repository: {
|
|
|
10068
10074
|
name?: string | undefined;
|
|
10069
10075
|
anchor?: string | undefined;
|
|
10070
10076
|
}>, "strip">>;
|
|
10071
|
-
readonly '
|
|
10077
|
+
readonly '4Mse3bdSz9YQbp5KkbUiVmkseK8upp5wexNDUq2rHuEy': import("zod").ZodObject<import("zod").objectUtil.extendShape<{
|
|
10072
10078
|
contracts: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
10073
10079
|
myOsAdminChannel: import("zod").ZodOptional<import("zod").ZodObject<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<{
|
|
10074
10080
|
description: import("zod").ZodOptional<import("zod").ZodString>;
|
|
@@ -10240,6 +10246,7 @@ export declare const repository: {
|
|
|
10240
10246
|
description: import("zod").ZodOptional<import("zod").ZodString>;
|
|
10241
10247
|
name: import("zod").ZodOptional<import("zod").ZodString>;
|
|
10242
10248
|
}, {
|
|
10249
|
+
avatarUrl: import("zod").ZodOptional<import("zod").ZodString>;
|
|
10243
10250
|
bootstrapError: import("zod").ZodOptional<import("zod").ZodString>;
|
|
10244
10251
|
bootstrapStatus: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
10245
10252
|
description: import("zod").ZodOptional<import("zod").ZodString>;
|
|
@@ -10788,6 +10795,7 @@ export declare const repository: {
|
|
|
10788
10795
|
defaultMessage?: string | undefined;
|
|
10789
10796
|
perChannel?: Record<string, string> | undefined;
|
|
10790
10797
|
} | undefined;
|
|
10798
|
+
avatarUrl?: string | undefined;
|
|
10791
10799
|
bootstrapError?: string | undefined;
|
|
10792
10800
|
bootstrapStatus?: {
|
|
10793
10801
|
description?: string | undefined;
|
|
@@ -10886,6 +10894,7 @@ export declare const repository: {
|
|
|
10886
10894
|
defaultMessage?: string | undefined;
|
|
10887
10895
|
perChannel?: Record<string, string> | undefined;
|
|
10888
10896
|
} | undefined;
|
|
10897
|
+
avatarUrl?: string | undefined;
|
|
10889
10898
|
bootstrapError?: string | undefined;
|
|
10890
10899
|
bootstrapStatus?: {
|
|
10891
10900
|
description?: string | undefined;
|
|
@@ -17620,7 +17629,7 @@ export declare const repository: {
|
|
|
17620
17629
|
readonly 'MyOS/Document Anchors': "7Usvk6dZMVqas3yqs23ZEXn1zu1YDPjgYiZFNYaw3puH";
|
|
17621
17630
|
readonly 'MyOS/Document Link': "BFxgEnovNHQ693YR2YvALi4FP8vjcwSQiX63LiLwjUhk";
|
|
17622
17631
|
readonly 'MyOS/Document Links': "4cmrbevB6K23ZenjqwmNxpnaw6RF4VB3wkP7XB59V7W5";
|
|
17623
|
-
readonly 'MyOS/Document Session Bootstrap': "
|
|
17632
|
+
readonly 'MyOS/Document Session Bootstrap': "4Mse3bdSz9YQbp5KkbUiVmkseK8upp5wexNDUq2rHuEy";
|
|
17624
17633
|
readonly 'MyOS/Document Type Link': "D9Ret9Hmz5TWxzuJEeauWEuZVPkPL7hcHYsSNY1cZ5zX";
|
|
17625
17634
|
readonly 'MyOS/Inform User To Install MyOS Package': "CrGV4ZYjvPvMqrgNQAfgZCUnFjFW6HDjYNdon2chLKU3";
|
|
17626
17635
|
readonly 'MyOS/Link': "D2ERUvbpn6R6PR7hjFsGofwQsu9bkRfc6wbSYHcfJtMD";
|
|
@@ -17838,13 +17847,17 @@ export declare const repository: {
|
|
|
17838
17847
|
readonly attributesAdded: readonly [];
|
|
17839
17848
|
}];
|
|
17840
17849
|
};
|
|
17841
|
-
readonly '
|
|
17850
|
+
readonly '4Mse3bdSz9YQbp5KkbUiVmkseK8upp5wexNDUq2rHuEy': {
|
|
17842
17851
|
readonly status: "stable";
|
|
17843
17852
|
readonly name: "Document Session Bootstrap";
|
|
17844
17853
|
readonly versions: readonly [{
|
|
17845
17854
|
readonly repositoryVersionIndex: 0;
|
|
17846
17855
|
readonly typeBlueId: "6HC9zdAPTChMDo8okX3rYTz4aeCEKCr8TtU2WmfugdSJ";
|
|
17847
17856
|
readonly attributesAdded: readonly [];
|
|
17857
|
+
}, {
|
|
17858
|
+
readonly repositoryVersionIndex: 9;
|
|
17859
|
+
readonly typeBlueId: "4Mse3bdSz9YQbp5KkbUiVmkseK8upp5wexNDUq2rHuEy";
|
|
17860
|
+
readonly attributesAdded: readonly ["/avatarUrl"];
|
|
17848
17861
|
}];
|
|
17849
17862
|
};
|
|
17850
17863
|
readonly D9Ret9Hmz5TWxzuJEeauWEuZVPkPL7hcHYsSNY1cZ5zX: {
|