@fleetless/contracts 15.1.0-next.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.
@@ -70,9 +70,7 @@
70
70
  "waitlist",
71
71
  "waitlist_invitations",
72
72
  "waitlist_invitation_proofs",
73
- "waitlist_consents",
74
- "operator_effect_outbox",
75
- "operator_effect_mail_deliveries"
73
+ "waitlist_consents"
76
74
  ]
77
75
  },
78
76
  "id": {
@@ -621,6 +619,91 @@
621
619
  ],
622
620
  "additionalProperties": false
623
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
+ },
624
707
  {
625
708
  "type": "object",
626
709
  "properties": {
@@ -751,9 +834,7 @@
751
834
  "waitlist",
752
835
  "waitlist_invitations",
753
836
  "waitlist_invitation_proofs",
754
- "waitlist_consents",
755
- "operator_effect_outbox",
756
- "operator_effect_mail_deliveries"
837
+ "waitlist_consents"
757
838
  ]
758
839
  },
759
840
  "id": {
@@ -1302,6 +1383,91 @@
1302
1383
  ],
1303
1384
  "additionalProperties": false
1304
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
+ },
1305
1471
  {
1306
1472
  "type": "object",
1307
1473
  "properties": {
@@ -1138,6 +1138,38 @@
1138
1138
  ],
1139
1139
  "additionalProperties": false
1140
1140
  },
1141
+ {
1142
+ "type": "object",
1143
+ "properties": {
1144
+ "operation_id": {
1145
+ "type": "string",
1146
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
1147
+ },
1148
+ "kind": {
1149
+ "type": "string",
1150
+ "const": "waitlist.withdrawal"
1151
+ },
1152
+ "ids": {
1153
+ "type": "object",
1154
+ "properties": {
1155
+ "entry_id": {
1156
+ "type": "string",
1157
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
1158
+ }
1159
+ },
1160
+ "required": [
1161
+ "entry_id"
1162
+ ],
1163
+ "additionalProperties": false
1164
+ }
1165
+ },
1166
+ "required": [
1167
+ "operation_id",
1168
+ "kind",
1169
+ "ids"
1170
+ ],
1171
+ "additionalProperties": false
1172
+ },
1141
1173
  {
1142
1174
  "type": "object",
1143
1175
  "properties": {
@@ -1786,9 +1818,7 @@
1786
1818
  "waitlist",
1787
1819
  "waitlist_invitations",
1788
1820
  "waitlist_invitation_proofs",
1789
- "waitlist_consents",
1790
- "operator_effect_outbox",
1791
- "operator_effect_mail_deliveries"
1821
+ "waitlist_consents"
1792
1822
  ]
1793
1823
  },
1794
1824
  "id": {
@@ -2337,6 +2367,91 @@
2337
2367
  ],
2338
2368
  "additionalProperties": false
2339
2369
  },
2370
+ {
2371
+ "type": "object",
2372
+ "properties": {
2373
+ "membership_kind": {
2374
+ "type": "string",
2375
+ "enum": [
2376
+ "affected",
2377
+ "unaffected"
2378
+ ]
2379
+ },
2380
+ "type": {
2381
+ "type": "string",
2382
+ "const": "waitlist_mail_effect"
2383
+ },
2384
+ "effect_id": {
2385
+ "type": "string",
2386
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
2387
+ },
2388
+ "source_action": {
2389
+ "type": "string",
2390
+ "enum": [
2391
+ "waitlist_invite",
2392
+ "waitlist_reinvite",
2393
+ "waitlist_decline",
2394
+ "waitlist_confirm"
2395
+ ],
2396
+ "description": "The source action the operator_effect_outbox row had when it was frozen; replay deletes the row only if it still has it."
2397
+ }
2398
+ },
2399
+ "required": [
2400
+ "membership_kind",
2401
+ "type",
2402
+ "effect_id",
2403
+ "source_action"
2404
+ ],
2405
+ "additionalProperties": false
2406
+ },
2407
+ {
2408
+ "type": "object",
2409
+ "properties": {
2410
+ "membership_kind": {
2411
+ "type": "string",
2412
+ "enum": [
2413
+ "affected",
2414
+ "unaffected"
2415
+ ]
2416
+ },
2417
+ "type": {
2418
+ "type": "string",
2419
+ "const": "waitlist_mail_delivery"
2420
+ },
2421
+ "delivery_id": {
2422
+ "type": "string",
2423
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
2424
+ },
2425
+ "effect_id": {
2426
+ "type": "string",
2427
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
2428
+ },
2429
+ "entry_id": {
2430
+ "type": "string",
2431
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$",
2432
+ "description": "The waiting-list entry the delivery was addressed for (its target); the entry itself may already be gone."
2433
+ },
2434
+ "source_action": {
2435
+ "type": "string",
2436
+ "enum": [
2437
+ "waitlist_invite",
2438
+ "waitlist_reinvite",
2439
+ "waitlist_decline",
2440
+ "waitlist_confirm"
2441
+ ],
2442
+ "description": "The source action of the delivery's effect when it was frozen; replay deletes the delivery only if its effect still has it."
2443
+ }
2444
+ },
2445
+ "required": [
2446
+ "membership_kind",
2447
+ "type",
2448
+ "delivery_id",
2449
+ "effect_id",
2450
+ "entry_id",
2451
+ "source_action"
2452
+ ],
2453
+ "additionalProperties": false
2454
+ },
2340
2455
  {
2341
2456
  "type": "object",
2342
2457
  "properties": {
@@ -2484,9 +2599,7 @@
2484
2599
  "waitlist",
2485
2600
  "waitlist_invitations",
2486
2601
  "waitlist_invitation_proofs",
2487
- "waitlist_consents",
2488
- "operator_effect_outbox",
2489
- "operator_effect_mail_deliveries"
2602
+ "waitlist_consents"
2490
2603
  ]
2491
2604
  },
2492
2605
  "id": {
@@ -3035,6 +3148,91 @@
3035
3148
  ],
3036
3149
  "additionalProperties": false
3037
3150
  },
3151
+ {
3152
+ "type": "object",
3153
+ "properties": {
3154
+ "membership_kind": {
3155
+ "type": "string",
3156
+ "enum": [
3157
+ "affected",
3158
+ "unaffected"
3159
+ ]
3160
+ },
3161
+ "type": {
3162
+ "type": "string",
3163
+ "const": "waitlist_mail_effect"
3164
+ },
3165
+ "effect_id": {
3166
+ "type": "string",
3167
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
3168
+ },
3169
+ "source_action": {
3170
+ "type": "string",
3171
+ "enum": [
3172
+ "waitlist_invite",
3173
+ "waitlist_reinvite",
3174
+ "waitlist_decline",
3175
+ "waitlist_confirm"
3176
+ ],
3177
+ "description": "The source action the operator_effect_outbox row had when it was frozen; replay deletes the row only if it still has it."
3178
+ }
3179
+ },
3180
+ "required": [
3181
+ "membership_kind",
3182
+ "type",
3183
+ "effect_id",
3184
+ "source_action"
3185
+ ],
3186
+ "additionalProperties": false
3187
+ },
3188
+ {
3189
+ "type": "object",
3190
+ "properties": {
3191
+ "membership_kind": {
3192
+ "type": "string",
3193
+ "enum": [
3194
+ "affected",
3195
+ "unaffected"
3196
+ ]
3197
+ },
3198
+ "type": {
3199
+ "type": "string",
3200
+ "const": "waitlist_mail_delivery"
3201
+ },
3202
+ "delivery_id": {
3203
+ "type": "string",
3204
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
3205
+ },
3206
+ "effect_id": {
3207
+ "type": "string",
3208
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
3209
+ },
3210
+ "entry_id": {
3211
+ "type": "string",
3212
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$",
3213
+ "description": "The waiting-list entry the delivery was addressed for (its target); the entry itself may already be gone."
3214
+ },
3215
+ "source_action": {
3216
+ "type": "string",
3217
+ "enum": [
3218
+ "waitlist_invite",
3219
+ "waitlist_reinvite",
3220
+ "waitlist_decline",
3221
+ "waitlist_confirm"
3222
+ ],
3223
+ "description": "The source action of the delivery's effect when it was frozen; replay deletes the delivery only if its effect still has it."
3224
+ }
3225
+ },
3226
+ "required": [
3227
+ "membership_kind",
3228
+ "type",
3229
+ "delivery_id",
3230
+ "effect_id",
3231
+ "entry_id",
3232
+ "source_action"
3233
+ ],
3234
+ "additionalProperties": false
3235
+ },
3038
3236
  {
3039
3237
  "type": "object",
3040
3238
  "properties": {
@@ -3165,9 +3363,7 @@
3165
3363
  "waitlist",
3166
3364
  "waitlist_invitations",
3167
3365
  "waitlist_invitation_proofs",
3168
- "waitlist_consents",
3169
- "operator_effect_outbox",
3170
- "operator_effect_mail_deliveries"
3366
+ "waitlist_consents"
3171
3367
  ]
3172
3368
  },
3173
3369
  "id": {
@@ -3716,6 +3912,91 @@
3716
3912
  ],
3717
3913
  "additionalProperties": false
3718
3914
  },
3915
+ {
3916
+ "type": "object",
3917
+ "properties": {
3918
+ "membership_kind": {
3919
+ "type": "string",
3920
+ "enum": [
3921
+ "affected",
3922
+ "unaffected"
3923
+ ]
3924
+ },
3925
+ "type": {
3926
+ "type": "string",
3927
+ "const": "waitlist_mail_effect"
3928
+ },
3929
+ "effect_id": {
3930
+ "type": "string",
3931
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
3932
+ },
3933
+ "source_action": {
3934
+ "type": "string",
3935
+ "enum": [
3936
+ "waitlist_invite",
3937
+ "waitlist_reinvite",
3938
+ "waitlist_decline",
3939
+ "waitlist_confirm"
3940
+ ],
3941
+ "description": "The source action the operator_effect_outbox row had when it was frozen; replay deletes the row only if it still has it."
3942
+ }
3943
+ },
3944
+ "required": [
3945
+ "membership_kind",
3946
+ "type",
3947
+ "effect_id",
3948
+ "source_action"
3949
+ ],
3950
+ "additionalProperties": false
3951
+ },
3952
+ {
3953
+ "type": "object",
3954
+ "properties": {
3955
+ "membership_kind": {
3956
+ "type": "string",
3957
+ "enum": [
3958
+ "affected",
3959
+ "unaffected"
3960
+ ]
3961
+ },
3962
+ "type": {
3963
+ "type": "string",
3964
+ "const": "waitlist_mail_delivery"
3965
+ },
3966
+ "delivery_id": {
3967
+ "type": "string",
3968
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
3969
+ },
3970
+ "effect_id": {
3971
+ "type": "string",
3972
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
3973
+ },
3974
+ "entry_id": {
3975
+ "type": "string",
3976
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$",
3977
+ "description": "The waiting-list entry the delivery was addressed for (its target); the entry itself may already be gone."
3978
+ },
3979
+ "source_action": {
3980
+ "type": "string",
3981
+ "enum": [
3982
+ "waitlist_invite",
3983
+ "waitlist_reinvite",
3984
+ "waitlist_decline",
3985
+ "waitlist_confirm"
3986
+ ],
3987
+ "description": "The source action of the delivery's effect when it was frozen; replay deletes the delivery only if its effect still has it."
3988
+ }
3989
+ },
3990
+ "required": [
3991
+ "membership_kind",
3992
+ "type",
3993
+ "delivery_id",
3994
+ "effect_id",
3995
+ "entry_id",
3996
+ "source_action"
3997
+ ],
3998
+ "additionalProperties": false
3999
+ },
3719
4000
  {
3720
4001
  "type": "object",
3721
4002
  "properties": {
@@ -1135,6 +1135,38 @@
1135
1135
  ],
1136
1136
  "additionalProperties": false
1137
1137
  },
1138
+ {
1139
+ "type": "object",
1140
+ "properties": {
1141
+ "operation_id": {
1142
+ "type": "string",
1143
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
1144
+ },
1145
+ "kind": {
1146
+ "type": "string",
1147
+ "const": "waitlist.withdrawal"
1148
+ },
1149
+ "ids": {
1150
+ "type": "object",
1151
+ "properties": {
1152
+ "entry_id": {
1153
+ "type": "string",
1154
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
1155
+ }
1156
+ },
1157
+ "required": [
1158
+ "entry_id"
1159
+ ],
1160
+ "additionalProperties": false
1161
+ }
1162
+ },
1163
+ "required": [
1164
+ "operation_id",
1165
+ "kind",
1166
+ "ids"
1167
+ ],
1168
+ "additionalProperties": false
1169
+ },
1138
1170
  {
1139
1171
  "type": "object",
1140
1172
  "properties": {