@fleetless/contracts 15.0.1 → 15.1.0-next.2
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/CHANGELOG.md +22 -0
- package/artifacts/schema/journal-deletion-manifest.schema.json +285 -4
- package/artifacts/schema/journal-intent-v2-body.schema.json +180 -0
- package/artifacts/schema/journal-intent-v2.schema.json +200 -0
- package/artifacts/schema/journal-manifest-batch.schema.json +182 -3
- package/artifacts/schema/journal-manifest-binding.schema.json +361 -4
- package/artifacts/schema/journal-manifest-intent-projection.schema.json +76 -0
- package/artifacts/schema/journal-manifest-row.schema.json +90 -1
- package/artifacts/schema/journal-manifest-scope.schema.json +13 -0
- package/artifacts/schema/journal-replay-receipt-body.schema.json +2 -0
- package/artifacts/schema/journal-replay-receipt.schema.json +2 -0
- package/dist/journal-intents.d.ts +72 -0
- package/dist/journal-intents.js +4 -0
- package/dist/journal-manifests.d.ts +297 -0
- package/dist/journal-manifests.js +46 -1
- package/package.json +1 -1
|
@@ -3323,6 +3323,206 @@
|
|
|
3323
3323
|
],
|
|
3324
3324
|
"additionalProperties": false
|
|
3325
3325
|
},
|
|
3326
|
+
{
|
|
3327
|
+
"type": "object",
|
|
3328
|
+
"properties": {
|
|
3329
|
+
"schema": {
|
|
3330
|
+
"type": "string",
|
|
3331
|
+
"const": "fleetless.deletion-intent.v2"
|
|
3332
|
+
},
|
|
3333
|
+
"environment": {
|
|
3334
|
+
"type": "string",
|
|
3335
|
+
"minLength": 1
|
|
3336
|
+
},
|
|
3337
|
+
"generation": {
|
|
3338
|
+
"type": "string",
|
|
3339
|
+
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
|
|
3340
|
+
},
|
|
3341
|
+
"sequence": {
|
|
3342
|
+
"type": "integer",
|
|
3343
|
+
"minimum": 1,
|
|
3344
|
+
"maximum": 9007199254740991
|
|
3345
|
+
},
|
|
3346
|
+
"operation_id": {
|
|
3347
|
+
"type": "string",
|
|
3348
|
+
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
|
|
3349
|
+
},
|
|
3350
|
+
"intent_at": {
|
|
3351
|
+
"type": "string",
|
|
3352
|
+
"format": "date-time",
|
|
3353
|
+
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d\\.\\d{3}(?:Z))$"
|
|
3354
|
+
},
|
|
3355
|
+
"previous_hash": {
|
|
3356
|
+
"type": "string",
|
|
3357
|
+
"pattern": "^[0-9a-f]{64}$"
|
|
3358
|
+
},
|
|
3359
|
+
"signing_key_id": {
|
|
3360
|
+
"type": "string",
|
|
3361
|
+
"minLength": 1
|
|
3362
|
+
},
|
|
3363
|
+
"kind": {
|
|
3364
|
+
"type": "string",
|
|
3365
|
+
"const": "waitlist.retention"
|
|
3366
|
+
},
|
|
3367
|
+
"ids": {
|
|
3368
|
+
"type": "object",
|
|
3369
|
+
"properties": {
|
|
3370
|
+
"batch_id": {
|
|
3371
|
+
"type": "string",
|
|
3372
|
+
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
|
|
3373
|
+
},
|
|
3374
|
+
"cutoff_at": {
|
|
3375
|
+
"type": "string",
|
|
3376
|
+
"format": "date-time",
|
|
3377
|
+
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d\\.\\d{3}(?:Z))$"
|
|
3378
|
+
},
|
|
3379
|
+
"policy_revision": {
|
|
3380
|
+
"type": "integer",
|
|
3381
|
+
"minimum": 1,
|
|
3382
|
+
"maximum": 9007199254740991
|
|
3383
|
+
}
|
|
3384
|
+
},
|
|
3385
|
+
"required": [
|
|
3386
|
+
"batch_id",
|
|
3387
|
+
"cutoff_at",
|
|
3388
|
+
"policy_revision"
|
|
3389
|
+
],
|
|
3390
|
+
"additionalProperties": false
|
|
3391
|
+
},
|
|
3392
|
+
"manifest_id": {
|
|
3393
|
+
"type": "string",
|
|
3394
|
+
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
|
|
3395
|
+
},
|
|
3396
|
+
"manifest_version_id": {
|
|
3397
|
+
"type": "string",
|
|
3398
|
+
"minLength": 1
|
|
3399
|
+
},
|
|
3400
|
+
"manifest_hash": {
|
|
3401
|
+
"type": "string",
|
|
3402
|
+
"pattern": "^[0-9a-f]{64}$"
|
|
3403
|
+
},
|
|
3404
|
+
"record_hash": {
|
|
3405
|
+
"type": "string",
|
|
3406
|
+
"pattern": "^[0-9a-f]{64}$"
|
|
3407
|
+
},
|
|
3408
|
+
"signature": {
|
|
3409
|
+
"type": "string",
|
|
3410
|
+
"pattern": "^[A-Za-z0-9_-]{85}[AQgw]$"
|
|
3411
|
+
}
|
|
3412
|
+
},
|
|
3413
|
+
"required": [
|
|
3414
|
+
"schema",
|
|
3415
|
+
"environment",
|
|
3416
|
+
"generation",
|
|
3417
|
+
"sequence",
|
|
3418
|
+
"operation_id",
|
|
3419
|
+
"intent_at",
|
|
3420
|
+
"previous_hash",
|
|
3421
|
+
"signing_key_id",
|
|
3422
|
+
"kind",
|
|
3423
|
+
"ids",
|
|
3424
|
+
"manifest_id",
|
|
3425
|
+
"manifest_version_id",
|
|
3426
|
+
"manifest_hash",
|
|
3427
|
+
"record_hash",
|
|
3428
|
+
"signature"
|
|
3429
|
+
],
|
|
3430
|
+
"additionalProperties": false
|
|
3431
|
+
},
|
|
3432
|
+
{
|
|
3433
|
+
"type": "object",
|
|
3434
|
+
"properties": {
|
|
3435
|
+
"schema": {
|
|
3436
|
+
"type": "string",
|
|
3437
|
+
"const": "fleetless.deletion-intent.v2"
|
|
3438
|
+
},
|
|
3439
|
+
"environment": {
|
|
3440
|
+
"type": "string",
|
|
3441
|
+
"minLength": 1
|
|
3442
|
+
},
|
|
3443
|
+
"generation": {
|
|
3444
|
+
"type": "string",
|
|
3445
|
+
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
|
|
3446
|
+
},
|
|
3447
|
+
"sequence": {
|
|
3448
|
+
"type": "integer",
|
|
3449
|
+
"minimum": 1,
|
|
3450
|
+
"maximum": 9007199254740991
|
|
3451
|
+
},
|
|
3452
|
+
"operation_id": {
|
|
3453
|
+
"type": "string",
|
|
3454
|
+
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
|
|
3455
|
+
},
|
|
3456
|
+
"intent_at": {
|
|
3457
|
+
"type": "string",
|
|
3458
|
+
"format": "date-time",
|
|
3459
|
+
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d\\.\\d{3}(?:Z))$"
|
|
3460
|
+
},
|
|
3461
|
+
"previous_hash": {
|
|
3462
|
+
"type": "string",
|
|
3463
|
+
"pattern": "^[0-9a-f]{64}$"
|
|
3464
|
+
},
|
|
3465
|
+
"signing_key_id": {
|
|
3466
|
+
"type": "string",
|
|
3467
|
+
"minLength": 1
|
|
3468
|
+
},
|
|
3469
|
+
"kind": {
|
|
3470
|
+
"type": "string",
|
|
3471
|
+
"const": "waitlist.withdrawal"
|
|
3472
|
+
},
|
|
3473
|
+
"ids": {
|
|
3474
|
+
"type": "object",
|
|
3475
|
+
"properties": {
|
|
3476
|
+
"entry_id": {
|
|
3477
|
+
"type": "string",
|
|
3478
|
+
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
|
|
3479
|
+
}
|
|
3480
|
+
},
|
|
3481
|
+
"required": [
|
|
3482
|
+
"entry_id"
|
|
3483
|
+
],
|
|
3484
|
+
"additionalProperties": false
|
|
3485
|
+
},
|
|
3486
|
+
"manifest_id": {
|
|
3487
|
+
"type": "string",
|
|
3488
|
+
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
|
|
3489
|
+
},
|
|
3490
|
+
"manifest_version_id": {
|
|
3491
|
+
"type": "string",
|
|
3492
|
+
"minLength": 1
|
|
3493
|
+
},
|
|
3494
|
+
"manifest_hash": {
|
|
3495
|
+
"type": "string",
|
|
3496
|
+
"pattern": "^[0-9a-f]{64}$"
|
|
3497
|
+
},
|
|
3498
|
+
"record_hash": {
|
|
3499
|
+
"type": "string",
|
|
3500
|
+
"pattern": "^[0-9a-f]{64}$"
|
|
3501
|
+
},
|
|
3502
|
+
"signature": {
|
|
3503
|
+
"type": "string",
|
|
3504
|
+
"pattern": "^[A-Za-z0-9_-]{85}[AQgw]$"
|
|
3505
|
+
}
|
|
3506
|
+
},
|
|
3507
|
+
"required": [
|
|
3508
|
+
"schema",
|
|
3509
|
+
"environment",
|
|
3510
|
+
"generation",
|
|
3511
|
+
"sequence",
|
|
3512
|
+
"operation_id",
|
|
3513
|
+
"intent_at",
|
|
3514
|
+
"previous_hash",
|
|
3515
|
+
"signing_key_id",
|
|
3516
|
+
"kind",
|
|
3517
|
+
"ids",
|
|
3518
|
+
"manifest_id",
|
|
3519
|
+
"manifest_version_id",
|
|
3520
|
+
"manifest_hash",
|
|
3521
|
+
"record_hash",
|
|
3522
|
+
"signature"
|
|
3523
|
+
],
|
|
3524
|
+
"additionalProperties": false
|
|
3525
|
+
},
|
|
3326
3526
|
{
|
|
3327
3527
|
"type": "object",
|
|
3328
3528
|
"properties": {
|
|
@@ -24,7 +24,8 @@
|
|
|
24
24
|
"mcp_client.expire",
|
|
25
25
|
"mcp_central_client.expire",
|
|
26
26
|
"console_interaction.expire",
|
|
27
|
-
"console_code.expire"
|
|
27
|
+
"console_code.expire",
|
|
28
|
+
"waitlist.retention"
|
|
28
29
|
]
|
|
29
30
|
},
|
|
30
31
|
"cutoff_at": {
|
|
@@ -65,7 +66,11 @@
|
|
|
65
66
|
"oidc_interactions",
|
|
66
67
|
"organization_exports",
|
|
67
68
|
"ops_notification_jobs",
|
|
68
|
-
"console_oauth_codes"
|
|
69
|
+
"console_oauth_codes",
|
|
70
|
+
"waitlist",
|
|
71
|
+
"waitlist_invitations",
|
|
72
|
+
"waitlist_invitation_proofs",
|
|
73
|
+
"waitlist_consents"
|
|
69
74
|
]
|
|
70
75
|
},
|
|
71
76
|
"id": {
|
|
@@ -614,6 +619,91 @@
|
|
|
614
619
|
],
|
|
615
620
|
"additionalProperties": false
|
|
616
621
|
},
|
|
622
|
+
{
|
|
623
|
+
"type": "object",
|
|
624
|
+
"properties": {
|
|
625
|
+
"membership_kind": {
|
|
626
|
+
"type": "string",
|
|
627
|
+
"enum": [
|
|
628
|
+
"affected",
|
|
629
|
+
"unaffected"
|
|
630
|
+
]
|
|
631
|
+
},
|
|
632
|
+
"type": {
|
|
633
|
+
"type": "string",
|
|
634
|
+
"const": "waitlist_mail_effect"
|
|
635
|
+
},
|
|
636
|
+
"effect_id": {
|
|
637
|
+
"type": "string",
|
|
638
|
+
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
|
|
639
|
+
},
|
|
640
|
+
"source_action": {
|
|
641
|
+
"type": "string",
|
|
642
|
+
"enum": [
|
|
643
|
+
"waitlist_invite",
|
|
644
|
+
"waitlist_reinvite",
|
|
645
|
+
"waitlist_decline",
|
|
646
|
+
"waitlist_confirm"
|
|
647
|
+
],
|
|
648
|
+
"description": "The source action the operator_effect_outbox row had when it was frozen; replay deletes the row only if it still has it."
|
|
649
|
+
}
|
|
650
|
+
},
|
|
651
|
+
"required": [
|
|
652
|
+
"membership_kind",
|
|
653
|
+
"type",
|
|
654
|
+
"effect_id",
|
|
655
|
+
"source_action"
|
|
656
|
+
],
|
|
657
|
+
"additionalProperties": false
|
|
658
|
+
},
|
|
659
|
+
{
|
|
660
|
+
"type": "object",
|
|
661
|
+
"properties": {
|
|
662
|
+
"membership_kind": {
|
|
663
|
+
"type": "string",
|
|
664
|
+
"enum": [
|
|
665
|
+
"affected",
|
|
666
|
+
"unaffected"
|
|
667
|
+
]
|
|
668
|
+
},
|
|
669
|
+
"type": {
|
|
670
|
+
"type": "string",
|
|
671
|
+
"const": "waitlist_mail_delivery"
|
|
672
|
+
},
|
|
673
|
+
"delivery_id": {
|
|
674
|
+
"type": "string",
|
|
675
|
+
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
|
|
676
|
+
},
|
|
677
|
+
"effect_id": {
|
|
678
|
+
"type": "string",
|
|
679
|
+
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
|
|
680
|
+
},
|
|
681
|
+
"entry_id": {
|
|
682
|
+
"type": "string",
|
|
683
|
+
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$",
|
|
684
|
+
"description": "The waiting-list entry the delivery was addressed for (its target); the entry itself may already be gone."
|
|
685
|
+
},
|
|
686
|
+
"source_action": {
|
|
687
|
+
"type": "string",
|
|
688
|
+
"enum": [
|
|
689
|
+
"waitlist_invite",
|
|
690
|
+
"waitlist_reinvite",
|
|
691
|
+
"waitlist_decline",
|
|
692
|
+
"waitlist_confirm"
|
|
693
|
+
],
|
|
694
|
+
"description": "The source action of the delivery's effect when it was frozen; replay deletes the delivery only if its effect still has it."
|
|
695
|
+
}
|
|
696
|
+
},
|
|
697
|
+
"required": [
|
|
698
|
+
"membership_kind",
|
|
699
|
+
"type",
|
|
700
|
+
"delivery_id",
|
|
701
|
+
"effect_id",
|
|
702
|
+
"entry_id",
|
|
703
|
+
"source_action"
|
|
704
|
+
],
|
|
705
|
+
"additionalProperties": false
|
|
706
|
+
},
|
|
617
707
|
{
|
|
618
708
|
"type": "object",
|
|
619
709
|
"properties": {
|
|
@@ -740,7 +830,11 @@
|
|
|
740
830
|
"oidc_interactions",
|
|
741
831
|
"organization_exports",
|
|
742
832
|
"ops_notification_jobs",
|
|
743
|
-
"console_oauth_codes"
|
|
833
|
+
"console_oauth_codes",
|
|
834
|
+
"waitlist",
|
|
835
|
+
"waitlist_invitations",
|
|
836
|
+
"waitlist_invitation_proofs",
|
|
837
|
+
"waitlist_consents"
|
|
744
838
|
]
|
|
745
839
|
},
|
|
746
840
|
"id": {
|
|
@@ -1289,6 +1383,91 @@
|
|
|
1289
1383
|
],
|
|
1290
1384
|
"additionalProperties": false
|
|
1291
1385
|
},
|
|
1386
|
+
{
|
|
1387
|
+
"type": "object",
|
|
1388
|
+
"properties": {
|
|
1389
|
+
"membership_kind": {
|
|
1390
|
+
"type": "string",
|
|
1391
|
+
"enum": [
|
|
1392
|
+
"affected",
|
|
1393
|
+
"unaffected"
|
|
1394
|
+
]
|
|
1395
|
+
},
|
|
1396
|
+
"type": {
|
|
1397
|
+
"type": "string",
|
|
1398
|
+
"const": "waitlist_mail_effect"
|
|
1399
|
+
},
|
|
1400
|
+
"effect_id": {
|
|
1401
|
+
"type": "string",
|
|
1402
|
+
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
|
|
1403
|
+
},
|
|
1404
|
+
"source_action": {
|
|
1405
|
+
"type": "string",
|
|
1406
|
+
"enum": [
|
|
1407
|
+
"waitlist_invite",
|
|
1408
|
+
"waitlist_reinvite",
|
|
1409
|
+
"waitlist_decline",
|
|
1410
|
+
"waitlist_confirm"
|
|
1411
|
+
],
|
|
1412
|
+
"description": "The source action the operator_effect_outbox row had when it was frozen; replay deletes the row only if it still has it."
|
|
1413
|
+
}
|
|
1414
|
+
},
|
|
1415
|
+
"required": [
|
|
1416
|
+
"membership_kind",
|
|
1417
|
+
"type",
|
|
1418
|
+
"effect_id",
|
|
1419
|
+
"source_action"
|
|
1420
|
+
],
|
|
1421
|
+
"additionalProperties": false
|
|
1422
|
+
},
|
|
1423
|
+
{
|
|
1424
|
+
"type": "object",
|
|
1425
|
+
"properties": {
|
|
1426
|
+
"membership_kind": {
|
|
1427
|
+
"type": "string",
|
|
1428
|
+
"enum": [
|
|
1429
|
+
"affected",
|
|
1430
|
+
"unaffected"
|
|
1431
|
+
]
|
|
1432
|
+
},
|
|
1433
|
+
"type": {
|
|
1434
|
+
"type": "string",
|
|
1435
|
+
"const": "waitlist_mail_delivery"
|
|
1436
|
+
},
|
|
1437
|
+
"delivery_id": {
|
|
1438
|
+
"type": "string",
|
|
1439
|
+
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
|
|
1440
|
+
},
|
|
1441
|
+
"effect_id": {
|
|
1442
|
+
"type": "string",
|
|
1443
|
+
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
|
|
1444
|
+
},
|
|
1445
|
+
"entry_id": {
|
|
1446
|
+
"type": "string",
|
|
1447
|
+
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$",
|
|
1448
|
+
"description": "The waiting-list entry the delivery was addressed for (its target); the entry itself may already be gone."
|
|
1449
|
+
},
|
|
1450
|
+
"source_action": {
|
|
1451
|
+
"type": "string",
|
|
1452
|
+
"enum": [
|
|
1453
|
+
"waitlist_invite",
|
|
1454
|
+
"waitlist_reinvite",
|
|
1455
|
+
"waitlist_decline",
|
|
1456
|
+
"waitlist_confirm"
|
|
1457
|
+
],
|
|
1458
|
+
"description": "The source action of the delivery's effect when it was frozen; replay deletes the delivery only if its effect still has it."
|
|
1459
|
+
}
|
|
1460
|
+
},
|
|
1461
|
+
"required": [
|
|
1462
|
+
"membership_kind",
|
|
1463
|
+
"type",
|
|
1464
|
+
"delivery_id",
|
|
1465
|
+
"effect_id",
|
|
1466
|
+
"entry_id",
|
|
1467
|
+
"source_action"
|
|
1468
|
+
],
|
|
1469
|
+
"additionalProperties": false
|
|
1470
|
+
},
|
|
1292
1471
|
{
|
|
1293
1472
|
"type": "object",
|
|
1294
1473
|
"properties": {
|