@my-swu/simulator-client 0.1.1 → 0.1.3
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/connection.js +2 -3
- package/dist/generated/index.d.ts +10 -0
- package/dist/generated/schemas.d.ts +1 -1
- package/dist/generated/schemas.js +659 -103
- package/dist/generated/types/admin-match-debug-bundle.d.ts +1 -0
- package/dist/generated/types/admin-match-debug-bundle.js +2 -0
- package/dist/generated/types/admin-match-list-response.d.ts +1 -0
- package/dist/generated/types/admin-match-list-response.js +2 -0
- package/dist/generated/types/admin-match-replay-response.d.ts +1 -0
- package/dist/generated/types/admin-match-replay-response.js +2 -0
- package/dist/generated/types/common.d.ts +182 -15
- package/dist/generated/types/create-match-history-replay-share-request.d.ts +1 -0
- package/dist/generated/types/create-match-history-replay-share-request.js +2 -0
- package/dist/generated/types/create-match-history-replay-share-response.d.ts +1 -0
- package/dist/generated/types/create-match-history-replay-share-response.js +2 -0
- package/dist/generated/types/format-event-response.d.ts +1 -1
- package/dist/generated/types/game-state.d.ts +1 -1
- package/dist/generated/types/get-match-response.d.ts +1 -1
- package/dist/generated/types/inactive-match-recovery-request.d.ts +1 -0
- package/dist/generated/types/inactive-match-recovery-request.js +2 -0
- package/dist/generated/types/inactive-match-recovery-response.d.ts +1 -0
- package/dist/generated/types/inactive-match-recovery-response.js +2 -0
- package/dist/generated/types/list-active-ai-matches-response.d.ts +1 -1
- package/dist/generated/types/lobby-access-response.d.ts +1 -1
- package/dist/generated/types/lobby-server-message.d.ts +1 -1
- package/dist/generated/types/match-access-recovery-request.d.ts +1 -0
- package/dist/generated/types/match-access-recovery-request.js +2 -0
- package/dist/generated/types/match-access-recovery-response.d.ts +1 -0
- package/dist/generated/types/match-access-recovery-response.js +2 -0
- package/dist/generated/types/match-access-response.d.ts +1 -1
- package/dist/generated/types/match-history-replay-response.d.ts +1 -1
- package/dist/generated/types/match-recovery-request.d.ts +1 -0
- package/dist/generated/types/match-recovery-request.js +2 -0
- package/dist/generated/types/match-recovery-response.d.ts +1 -0
- package/dist/generated/types/match-recovery-response.js +2 -0
- package/dist/generated/types/match-spectator-access-response.d.ts +1 -1
- package/dist/generated/types/rematch-match-response.d.ts +1 -1
- package/dist/generated/types/restore-history-response.d.ts +1 -1
- package/dist/generated/types/restore-match-save-response.d.ts +1 -1
- package/dist/generated/types/server-message.d.ts +1 -1
- package/dist/generated/types/shared-match-history-replay-response.d.ts +1 -0
- package/dist/generated/types/shared-match-history-replay-response.js +2 -0
- package/dist/generated/types/submit-match-deck-response.d.ts +1 -1
- package/dist/generated/types/tournament-room-access-response.d.ts +1 -1
- package/dist/generated/types/tournament-room-server-message.d.ts +1 -1
- package/dist/generated/types/undo-match-response.d.ts +1 -1
- package/dist/generated/version.d.ts +1 -1
- package/dist/generated/version.js +1 -1
- package/dist/index.d.ts +3 -3
- package/dist/internal/match-history.d.ts +5 -0
- package/dist/internal/match-history.js +8 -0
- package/dist/local/engine.d.ts +2 -0
- package/dist/local/server/http-router.js +10 -0
- package/dist/local/wasm-engine.d.ts +2 -0
- package/dist/local/wasm-engine.js +1 -0
- package/dist/local/worker-boot.d.ts +2 -0
- package/dist/local/worker-boot.js +1 -0
- package/dist/match-session/controller.d.ts +1 -0
- package/dist/match-session/controller.js +107 -18
- package/dist/match-session/heartbeat.d.ts +33 -0
- package/dist/match-session/heartbeat.js +70 -0
- package/dist/match-session/methods.d.ts +8 -0
- package/dist/match-session/session-state.d.ts +19 -1
- package/dist/match-session/types.d.ts +1 -1
- package/dist/match-session.d.ts +1 -1
- package/dist/resources/admin.d.ts +14 -1
- package/dist/resources/admin.js +21 -0
- package/dist/resources/lobby-types.d.ts +4 -4
- package/dist/resources/match-history.d.ts +14 -1
- package/dist/resources/match-history.js +16 -0
- package/dist/resources/match-types.d.ts +11 -2
- package/dist/resources/matches.js +10 -0
- package/dist/validators.d.ts +11 -1
- package/package.json +1 -1
- package/schema/add-lobby-ai-player-request.schema.json +7 -0
- package/schema/admin-match-debug-bundle.schema.json +48 -0
- package/schema/admin-match-list-response.schema.json +23 -0
- package/schema/admin-match-replay-response.schema.json +14 -0
- package/schema/common.schema.json +295 -27
- package/schema/create-limited-event-request.schema.json +2 -4
- package/schema/create-lobby-request.schema.json +4 -8
- package/schema/create-match-history-replay-share-request.schema.json +22 -0
- package/schema/create-match-history-replay-share-response.schema.json +15 -0
- package/schema/create-match-request.schema.json +2 -3
- package/schema/create-tournament-room-request.schema.json +4 -8
- package/schema/game-command.schema.json +22 -0
- package/schema/game-event.schema.json +8 -0
- package/schema/limited-event-preflight-response.schema.json +1 -3
- package/schema/manifest.json +11 -1
- package/schema/match-access-recovery-request.schema.json +17 -0
- package/schema/match-access-recovery-response.schema.json +36 -0
- package/schema/match-access-response.schema.json +1 -3
- package/schema/match-history-entry.schema.json +1 -3
- package/schema/match-recovery-request.schema.json +33 -0
- package/schema/match-recovery-response.schema.json +36 -0
- package/schema/route-manifest.json +92 -0
- package/schema/shared-match-history-replay-response.schema.json +14 -0
|
@@ -8,6 +8,9 @@ export { schemaVersion } from './version.js';
|
|
|
8
8
|
* map in the emitted declaration file, overflowing its serializer.
|
|
9
9
|
*/
|
|
10
10
|
export const schemaNames = [
|
|
11
|
+
'admin-match-list-response',
|
|
12
|
+
'admin-match-debug-bundle',
|
|
13
|
+
'admin-match-replay-response',
|
|
11
14
|
'simulator-report-list-response',
|
|
12
15
|
'simulator-report-response',
|
|
13
16
|
'health-response',
|
|
@@ -108,9 +111,16 @@ export const schemaNames = [
|
|
|
108
111
|
'match-history-entry',
|
|
109
112
|
'match-history-replay-request',
|
|
110
113
|
'match-history-replay-response',
|
|
114
|
+
'create-match-history-replay-share-request',
|
|
115
|
+
'create-match-history-replay-share-response',
|
|
116
|
+
'shared-match-history-replay-response',
|
|
111
117
|
'match-chat-lookup-response',
|
|
112
118
|
'match-history-restore-request',
|
|
113
119
|
'restore-history-response',
|
|
120
|
+
'match-recovery-request',
|
|
121
|
+
'match-recovery-response',
|
|
122
|
+
'match-access-recovery-request',
|
|
123
|
+
'match-access-recovery-response',
|
|
114
124
|
'cards-response',
|
|
115
125
|
'resolve-card-ids-request',
|
|
116
126
|
'resolve-card-ids-response',
|
|
@@ -1134,6 +1144,70 @@ export const sdkSchemaCommon = {
|
|
|
1134
1144
|
"description"
|
|
1135
1145
|
]
|
|
1136
1146
|
},
|
|
1147
|
+
"AdminMatchSummary": {
|
|
1148
|
+
"description": "Compact durable match data safe for an administrator list view.",
|
|
1149
|
+
"type": "object",
|
|
1150
|
+
"properties": {
|
|
1151
|
+
"completedAtMs": {
|
|
1152
|
+
"type": [
|
|
1153
|
+
"integer",
|
|
1154
|
+
"null"
|
|
1155
|
+
],
|
|
1156
|
+
"format": "uint64",
|
|
1157
|
+
"minimum": 0
|
|
1158
|
+
},
|
|
1159
|
+
"createdAtMs": {
|
|
1160
|
+
"type": "integer",
|
|
1161
|
+
"format": "uint64",
|
|
1162
|
+
"minimum": 0
|
|
1163
|
+
},
|
|
1164
|
+
"format": {
|
|
1165
|
+
"$ref": "https://simulator-sdk.my-swu.com/schema/common.json#/$defs/MatchFormat"
|
|
1166
|
+
},
|
|
1167
|
+
"historyId": {
|
|
1168
|
+
"type": "string",
|
|
1169
|
+
"format": "uuid"
|
|
1170
|
+
},
|
|
1171
|
+
"players": {
|
|
1172
|
+
"type": "array",
|
|
1173
|
+
"items": {
|
|
1174
|
+
"$ref": "https://simulator-sdk.my-swu.com/schema/common.json#/$defs/MatchHistoryPlayerSummary"
|
|
1175
|
+
}
|
|
1176
|
+
},
|
|
1177
|
+
"replayAvailable": {
|
|
1178
|
+
"type": "boolean"
|
|
1179
|
+
},
|
|
1180
|
+
"result": true,
|
|
1181
|
+
"section": {
|
|
1182
|
+
"$ref": "https://simulator-sdk.my-swu.com/schema/common.json#/$defs/HistorySection"
|
|
1183
|
+
},
|
|
1184
|
+
"series": true,
|
|
1185
|
+
"sourceMatchId": {
|
|
1186
|
+
"type": "string",
|
|
1187
|
+
"format": "uuid"
|
|
1188
|
+
},
|
|
1189
|
+
"status": {
|
|
1190
|
+
"$ref": "https://simulator-sdk.my-swu.com/schema/common.json#/$defs/HistoryStatus"
|
|
1191
|
+
},
|
|
1192
|
+
"updatedAtMs": {
|
|
1193
|
+
"type": "integer",
|
|
1194
|
+
"format": "uint64",
|
|
1195
|
+
"minimum": 0
|
|
1196
|
+
}
|
|
1197
|
+
},
|
|
1198
|
+
"required": [
|
|
1199
|
+
"historyId",
|
|
1200
|
+
"sourceMatchId",
|
|
1201
|
+
"section",
|
|
1202
|
+
"status",
|
|
1203
|
+
"format",
|
|
1204
|
+
"players",
|
|
1205
|
+
"series",
|
|
1206
|
+
"createdAtMs",
|
|
1207
|
+
"updatedAtMs",
|
|
1208
|
+
"replayAvailable"
|
|
1209
|
+
]
|
|
1210
|
+
},
|
|
1137
1211
|
"AiDifficulty": {
|
|
1138
1212
|
"description": "Public difficulty presets. Internal tuning (iteration counts, time\nbudgets) lives in `crate::r#match::registry::ai_factory` so it can be\nadjusted without changing the SDK surface.",
|
|
1139
1213
|
"oneOf": [
|
|
@@ -2533,6 +2607,51 @@ export const sdkSchemaCommon = {
|
|
|
2533
2607
|
}
|
|
2534
2608
|
]
|
|
2535
2609
|
},
|
|
2610
|
+
"DelayedEffectOrderChoiceView": {
|
|
2611
|
+
"description": "Payload for [`PromptState::ChooseDelayedEffectOrder`].",
|
|
2612
|
+
"type": "object",
|
|
2613
|
+
"properties": {
|
|
2614
|
+
"chooser": {
|
|
2615
|
+
"$ref": "https://simulator-sdk.my-swu.com/schema/common.json#/$defs/Seat"
|
|
2616
|
+
},
|
|
2617
|
+
"options": {
|
|
2618
|
+
"type": "array",
|
|
2619
|
+
"items": {
|
|
2620
|
+
"$ref": "https://simulator-sdk.my-swu.com/schema/common.json#/$defs/DelayedEffectOrderOptionView"
|
|
2621
|
+
}
|
|
2622
|
+
}
|
|
2623
|
+
},
|
|
2624
|
+
"required": [
|
|
2625
|
+
"chooser",
|
|
2626
|
+
"options"
|
|
2627
|
+
]
|
|
2628
|
+
},
|
|
2629
|
+
"DelayedEffectOrderOptionView": {
|
|
2630
|
+
"description": "One delayed effect a controller may resolve next.",
|
|
2631
|
+
"type": "object",
|
|
2632
|
+
"properties": {
|
|
2633
|
+
"label": {
|
|
2634
|
+
"type": "string"
|
|
2635
|
+
},
|
|
2636
|
+
"occurrenceSequence": {
|
|
2637
|
+
"type": "integer",
|
|
2638
|
+
"format": "uint32",
|
|
2639
|
+
"minimum": 0
|
|
2640
|
+
},
|
|
2641
|
+
"sourceCardId": {
|
|
2642
|
+
"type": [
|
|
2643
|
+
"integer",
|
|
2644
|
+
"null"
|
|
2645
|
+
],
|
|
2646
|
+
"format": "uint32",
|
|
2647
|
+
"minimum": 0
|
|
2648
|
+
}
|
|
2649
|
+
},
|
|
2650
|
+
"required": [
|
|
2651
|
+
"occurrenceSequence",
|
|
2652
|
+
"label"
|
|
2653
|
+
]
|
|
2654
|
+
},
|
|
2536
2655
|
"DelayedEffectTimingView": {
|
|
2537
2656
|
"description": "Public trigger point for a delayed effect.",
|
|
2538
2657
|
"oneOf": [
|
|
@@ -4788,6 +4907,28 @@ export const sdkSchemaCommon = {
|
|
|
4788
4907
|
"chooseTriggeredAbilityPlayerOrder"
|
|
4789
4908
|
]
|
|
4790
4909
|
},
|
|
4910
|
+
{
|
|
4911
|
+
"type": "object",
|
|
4912
|
+
"properties": {
|
|
4913
|
+
"chooseDelayedEffectOrder": {
|
|
4914
|
+
"type": "object",
|
|
4915
|
+
"properties": {
|
|
4916
|
+
"occurrenceSequence": {
|
|
4917
|
+
"type": "integer",
|
|
4918
|
+
"format": "uint32",
|
|
4919
|
+
"minimum": 0
|
|
4920
|
+
}
|
|
4921
|
+
},
|
|
4922
|
+
"required": [
|
|
4923
|
+
"occurrenceSequence"
|
|
4924
|
+
]
|
|
4925
|
+
}
|
|
4926
|
+
},
|
|
4927
|
+
"additionalProperties": false,
|
|
4928
|
+
"required": [
|
|
4929
|
+
"chooseDelayedEffectOrder"
|
|
4930
|
+
]
|
|
4931
|
+
},
|
|
4791
4932
|
{
|
|
4792
4933
|
"type": "object",
|
|
4793
4934
|
"properties": {
|
|
@@ -5279,6 +5420,10 @@ export const sdkSchemaCommon = {
|
|
|
5279
5420
|
"maximum": 32767,
|
|
5280
5421
|
"minimum": -32768
|
|
5281
5422
|
},
|
|
5423
|
+
"isCombat": {
|
|
5424
|
+
"description": "Whether this damage packet came from combat rather than an ability,\ncounter, cost, or indirect-damage effect.",
|
|
5425
|
+
"type": "boolean"
|
|
5426
|
+
},
|
|
5282
5427
|
"unitId": {
|
|
5283
5428
|
"type": "integer",
|
|
5284
5429
|
"format": "uint64",
|
|
@@ -5395,6 +5540,10 @@ export const sdkSchemaCommon = {
|
|
|
5395
5540
|
"maximum": 32767,
|
|
5396
5541
|
"minimum": -32768
|
|
5397
5542
|
},
|
|
5543
|
+
"isCombat": {
|
|
5544
|
+
"description": "Whether this damage packet came from combat rather than an ability,\ncounter, cost, or indirect-damage effect.",
|
|
5545
|
+
"type": "boolean"
|
|
5546
|
+
},
|
|
5398
5547
|
"seat": {
|
|
5399
5548
|
"$ref": "https://simulator-sdk.my-swu.com/schema/common.json#/$defs/Seat"
|
|
5400
5549
|
}
|
|
@@ -7398,6 +7547,7 @@ export const sdkSchemaCommon = {
|
|
|
7398
7547
|
"type": "string",
|
|
7399
7548
|
"enum": [
|
|
7400
7549
|
"completedSeries",
|
|
7550
|
+
"abandoned",
|
|
7401
7551
|
"unsupportedSection",
|
|
7402
7552
|
"learnScenario",
|
|
7403
7553
|
"invalidAiTopology",
|
|
@@ -7415,11 +7565,23 @@ export const sdkSchemaCommon = {
|
|
|
7415
7565
|
]
|
|
7416
7566
|
},
|
|
7417
7567
|
"HistoryStatus": {
|
|
7418
|
-
"description": "Durable history entry status.",
|
|
7419
|
-
"
|
|
7420
|
-
|
|
7421
|
-
|
|
7422
|
-
|
|
7568
|
+
"description": "Durable history entry status.\n\nLives here rather than the `server-protocol`-gated history module because\n`MatchRuntimeRecord` embeds it in every build, including wasm and bench.",
|
|
7569
|
+
"oneOf": [
|
|
7570
|
+
{
|
|
7571
|
+
"description": "Live checkpoint that can still be resumed when policy allows.",
|
|
7572
|
+
"type": "string",
|
|
7573
|
+
"const": "saved"
|
|
7574
|
+
},
|
|
7575
|
+
{
|
|
7576
|
+
"description": "Game or series reached its ordinary terminal result.",
|
|
7577
|
+
"type": "string",
|
|
7578
|
+
"const": "result"
|
|
7579
|
+
},
|
|
7580
|
+
{
|
|
7581
|
+
"description": "Host intentionally retired an unfinished Solo-versus-AI runtime.",
|
|
7582
|
+
"type": "string",
|
|
7583
|
+
"const": "abandoned"
|
|
7584
|
+
}
|
|
7423
7585
|
]
|
|
7424
7586
|
},
|
|
7425
7587
|
"InitiativeChoiceReason": {
|
|
@@ -8952,11 +9114,9 @@ export const sdkSchemaCommon = {
|
|
|
8952
9114
|
"matchSeed": {
|
|
8953
9115
|
"description": "Fixed match seed when configured.",
|
|
8954
9116
|
"type": [
|
|
8955
|
-
"
|
|
9117
|
+
"string",
|
|
8956
9118
|
"null"
|
|
8957
|
-
]
|
|
8958
|
-
"format": "uint64",
|
|
8959
|
-
"minimum": 0
|
|
9119
|
+
]
|
|
8960
9120
|
},
|
|
8961
9121
|
"matchmaking": {
|
|
8962
9122
|
"anyOf": [
|
|
@@ -8971,11 +9131,9 @@ export const sdkSchemaCommon = {
|
|
|
8971
9131
|
"packSeed": {
|
|
8972
9132
|
"description": "Fixed limited pack/leader seed when configured.",
|
|
8973
9133
|
"type": [
|
|
8974
|
-
"
|
|
9134
|
+
"string",
|
|
8975
9135
|
"null"
|
|
8976
|
-
]
|
|
8977
|
-
"format": "uint64",
|
|
8978
|
-
"minimum": 0
|
|
9136
|
+
]
|
|
8979
9137
|
},
|
|
8980
9138
|
"players": {
|
|
8981
9139
|
"type": "array",
|
|
@@ -9181,9 +9339,7 @@ export const sdkSchemaCommon = {
|
|
|
9181
9339
|
},
|
|
9182
9340
|
"replaySeed": {
|
|
9183
9341
|
"description": "Resolved seed for a private solo-vs-AI match. Never projected in live state.",
|
|
9184
|
-
"type": "
|
|
9185
|
-
"format": "uint64",
|
|
9186
|
-
"minimum": 0
|
|
9342
|
+
"type": "string"
|
|
9187
9343
|
},
|
|
9188
9344
|
"seat": {
|
|
9189
9345
|
"$ref": "https://simulator-sdk.my-swu.com/schema/common.json#/$defs/Seat"
|
|
@@ -9400,9 +9556,7 @@ export const sdkSchemaCommon = {
|
|
|
9400
9556
|
"$ref": "https://simulator-sdk.my-swu.com/schema/common.json#/$defs/HistorySection"
|
|
9401
9557
|
},
|
|
9402
9558
|
"seed": {
|
|
9403
|
-
"type": "
|
|
9404
|
-
"format": "uint64",
|
|
9405
|
-
"minimum": 0
|
|
9559
|
+
"type": "string"
|
|
9406
9560
|
},
|
|
9407
9561
|
"series": true,
|
|
9408
9562
|
"sourceMatchId": {
|
|
@@ -10274,6 +10428,15 @@ export const sdkSchemaCommon = {
|
|
|
10274
10428
|
}
|
|
10275
10429
|
]
|
|
10276
10430
|
},
|
|
10431
|
+
"revealedCardIds": {
|
|
10432
|
+
"description": "Publicly revealed cards which caused this instructed attack. Omitted\nfor ordinary attacks and intentionally projected only to chooser.",
|
|
10433
|
+
"type": "array",
|
|
10434
|
+
"items": {
|
|
10435
|
+
"type": "integer",
|
|
10436
|
+
"format": "uint32",
|
|
10437
|
+
"minimum": 0
|
|
10438
|
+
}
|
|
10439
|
+
},
|
|
10277
10440
|
"sourceCardId": {
|
|
10278
10441
|
"type": "integer",
|
|
10279
10442
|
"format": "uint32",
|
|
@@ -10321,6 +10484,15 @@ export const sdkSchemaCommon = {
|
|
|
10321
10484
|
"minimum": 0
|
|
10322
10485
|
}
|
|
10323
10486
|
},
|
|
10487
|
+
"hiddenCandidateCardInstanceIds": {
|
|
10488
|
+
"description": "Physical candidates whose card identities remain hidden from chooser.",
|
|
10489
|
+
"type": "array",
|
|
10490
|
+
"items": {
|
|
10491
|
+
"type": "integer",
|
|
10492
|
+
"format": "uint32",
|
|
10493
|
+
"minimum": 0
|
|
10494
|
+
}
|
|
10495
|
+
},
|
|
10324
10496
|
"hiddenZone": {
|
|
10325
10497
|
"$ref": "https://simulator-sdk.my-swu.com/schema/common.json#/$defs/HiddenZoneKind"
|
|
10326
10498
|
},
|
|
@@ -10845,6 +11017,20 @@ export const sdkSchemaCommon = {
|
|
|
10845
11017
|
"required": [
|
|
10846
11018
|
"type"
|
|
10847
11019
|
]
|
|
11020
|
+
},
|
|
11021
|
+
{
|
|
11022
|
+
"description": "One player chooses which of their simultaneous delayed effects resolves next.",
|
|
11023
|
+
"type": "object",
|
|
11024
|
+
"properties": {
|
|
11025
|
+
"type": {
|
|
11026
|
+
"type": "string",
|
|
11027
|
+
"const": "delayedEffectOrder"
|
|
11028
|
+
}
|
|
11029
|
+
},
|
|
11030
|
+
"$ref": "https://simulator-sdk.my-swu.com/schema/common.json#/$defs/DelayedEffectOrderChoiceView",
|
|
11031
|
+
"required": [
|
|
11032
|
+
"type"
|
|
11033
|
+
]
|
|
10848
11034
|
}
|
|
10849
11035
|
]
|
|
10850
11036
|
},
|
|
@@ -11635,6 +11821,27 @@ export const sdkSchemaCommon = {
|
|
|
11635
11821
|
"chooseTriggeredAbilityPlayerOrder"
|
|
11636
11822
|
]
|
|
11637
11823
|
},
|
|
11824
|
+
{
|
|
11825
|
+
"description": "Delayed-effect ordering prompt for one controller at one timing point.",
|
|
11826
|
+
"type": "object",
|
|
11827
|
+
"properties": {
|
|
11828
|
+
"chooseDelayedEffectOrder": {
|
|
11829
|
+
"type": "object",
|
|
11830
|
+
"properties": {
|
|
11831
|
+
"seat": {
|
|
11832
|
+
"$ref": "https://simulator-sdk.my-swu.com/schema/common.json#/$defs/Seat"
|
|
11833
|
+
}
|
|
11834
|
+
},
|
|
11835
|
+
"required": [
|
|
11836
|
+
"seat"
|
|
11837
|
+
]
|
|
11838
|
+
}
|
|
11839
|
+
},
|
|
11840
|
+
"additionalProperties": false,
|
|
11841
|
+
"required": [
|
|
11842
|
+
"chooseDelayedEffectOrder"
|
|
11843
|
+
]
|
|
11844
|
+
},
|
|
11638
11845
|
{
|
|
11639
11846
|
"description": "Regroup prompt asking each undecided seat whether to resource one card\nfrom hand.\nProduced by `round::regroup::{begin_regroup, continue_regroup}`; each\nplayer responds once with `ChooseRegroupResource`.",
|
|
11640
11847
|
"type": "object",
|
|
@@ -12505,10 +12712,11 @@ export const sdkSchemaCommon = {
|
|
|
12505
12712
|
"available"
|
|
12506
12713
|
]
|
|
12507
12714
|
},
|
|
12508
|
-
"
|
|
12509
|
-
"description": "
|
|
12715
|
+
"SimulatorReportResponse": {
|
|
12716
|
+
"description": "Full sanitized support bundle returned only by the simulator admin API.",
|
|
12510
12717
|
"type": "object",
|
|
12511
12718
|
"properties": {
|
|
12719
|
+
"bundle": true,
|
|
12512
12720
|
"bundleAvailable": {
|
|
12513
12721
|
"type": "boolean"
|
|
12514
12722
|
},
|
|
@@ -12524,6 +12732,9 @@ export const sdkSchemaCommon = {
|
|
|
12524
12732
|
"type": "string",
|
|
12525
12733
|
"format": "uuid"
|
|
12526
12734
|
},
|
|
12735
|
+
"message": {
|
|
12736
|
+
"type": "string"
|
|
12737
|
+
},
|
|
12527
12738
|
"occurredAtMs": {
|
|
12528
12739
|
"type": "integer",
|
|
12529
12740
|
"format": "uint64",
|
|
@@ -12572,66 +12783,137 @@ export const sdkSchemaCommon = {
|
|
|
12572
12783
|
"source",
|
|
12573
12784
|
"operation",
|
|
12574
12785
|
"failureKind",
|
|
12575
|
-
"bundleAvailable"
|
|
12786
|
+
"bundleAvailable",
|
|
12787
|
+
"message"
|
|
12576
12788
|
]
|
|
12577
12789
|
},
|
|
12578
|
-
"
|
|
12579
|
-
"description": "
|
|
12790
|
+
"SimulatorReportSummary": {
|
|
12791
|
+
"description": "Metadata safe to return in administrator report lists.",
|
|
12580
12792
|
"type": "object",
|
|
12581
12793
|
"properties": {
|
|
12582
|
-
"
|
|
12583
|
-
"
|
|
12584
|
-
"type": "integer",
|
|
12585
|
-
"format": "uint64",
|
|
12586
|
-
"minimum": 0
|
|
12794
|
+
"bundleAvailable": {
|
|
12795
|
+
"type": "boolean"
|
|
12587
12796
|
},
|
|
12588
|
-
"
|
|
12589
|
-
"
|
|
12590
|
-
"type": "integer",
|
|
12591
|
-
"format": "uint64",
|
|
12592
|
-
"minimum": 0
|
|
12797
|
+
"failureKind": {
|
|
12798
|
+
"type": "string"
|
|
12593
12799
|
},
|
|
12594
|
-
"
|
|
12595
|
-
"description": "Completed sessions still retained until cleanup.",
|
|
12800
|
+
"firstOccurredAtMs": {
|
|
12596
12801
|
"type": "integer",
|
|
12597
12802
|
"format": "uint64",
|
|
12598
12803
|
"minimum": 0
|
|
12599
12804
|
},
|
|
12600
|
-
"
|
|
12601
|
-
"
|
|
12602
|
-
"
|
|
12603
|
-
"format": "uint64",
|
|
12604
|
-
"minimum": 0
|
|
12805
|
+
"matchId": {
|
|
12806
|
+
"type": "string",
|
|
12807
|
+
"format": "uuid"
|
|
12605
12808
|
},
|
|
12606
|
-
"
|
|
12607
|
-
"description": "Waiting or started lobby records still retained by the lobby runtime.",
|
|
12809
|
+
"occurredAtMs": {
|
|
12608
12810
|
"type": "integer",
|
|
12609
12811
|
"format": "uint64",
|
|
12610
12812
|
"minimum": 0
|
|
12611
|
-
}
|
|
12612
|
-
},
|
|
12613
|
-
"required": [
|
|
12614
|
-
"activeMatches",
|
|
12615
|
-
"retainedFinishedMatches",
|
|
12616
|
-
"waitingLobbies",
|
|
12617
|
-
"activeLimitedEvents",
|
|
12618
|
-
"tournamentRooms"
|
|
12619
|
-
]
|
|
12620
|
-
},
|
|
12621
|
-
"SmuggleActionView": {
|
|
12622
|
-
"type": "object",
|
|
12623
|
-
"properties": {
|
|
12624
|
-
"kind": {
|
|
12625
|
-
"$ref": "https://simulator-sdk.my-swu.com/schema/common.json#/$defs/SmuggleKind"
|
|
12626
12813
|
},
|
|
12627
|
-
"
|
|
12814
|
+
"occurrenceCount": {
|
|
12628
12815
|
"type": "integer",
|
|
12629
|
-
"format": "
|
|
12816
|
+
"format": "uint32",
|
|
12630
12817
|
"minimum": 0
|
|
12631
12818
|
},
|
|
12632
|
-
"
|
|
12633
|
-
"type": "
|
|
12634
|
-
|
|
12819
|
+
"operation": {
|
|
12820
|
+
"type": "string"
|
|
12821
|
+
},
|
|
12822
|
+
"reportId": {
|
|
12823
|
+
"type": "string",
|
|
12824
|
+
"format": "uuid"
|
|
12825
|
+
},
|
|
12826
|
+
"seat": {
|
|
12827
|
+
"anyOf": [
|
|
12828
|
+
{
|
|
12829
|
+
"$ref": "https://simulator-sdk.my-swu.com/schema/common.json#/$defs/Seat"
|
|
12830
|
+
},
|
|
12831
|
+
{
|
|
12832
|
+
"type": "null"
|
|
12833
|
+
}
|
|
12834
|
+
]
|
|
12835
|
+
},
|
|
12836
|
+
"snapshotRevision": {
|
|
12837
|
+
"type": [
|
|
12838
|
+
"integer",
|
|
12839
|
+
"null"
|
|
12840
|
+
],
|
|
12841
|
+
"format": "uint64",
|
|
12842
|
+
"minimum": 0
|
|
12843
|
+
},
|
|
12844
|
+
"source": {
|
|
12845
|
+
"type": "string"
|
|
12846
|
+
}
|
|
12847
|
+
},
|
|
12848
|
+
"required": [
|
|
12849
|
+
"reportId",
|
|
12850
|
+
"firstOccurredAtMs",
|
|
12851
|
+
"occurredAtMs",
|
|
12852
|
+
"occurrenceCount",
|
|
12853
|
+
"matchId",
|
|
12854
|
+
"source",
|
|
12855
|
+
"operation",
|
|
12856
|
+
"failureKind",
|
|
12857
|
+
"bundleAvailable"
|
|
12858
|
+
]
|
|
12859
|
+
},
|
|
12860
|
+
"SimulatorRuntimeStats": {
|
|
12861
|
+
"description": "Admin-visible operational counters for the simulator engine.",
|
|
12862
|
+
"type": "object",
|
|
12863
|
+
"properties": {
|
|
12864
|
+
"activeLimitedEvents": {
|
|
12865
|
+
"description": "Limited Event records still retained by the limited runtime.",
|
|
12866
|
+
"type": "integer",
|
|
12867
|
+
"format": "uint64",
|
|
12868
|
+
"minimum": 0
|
|
12869
|
+
},
|
|
12870
|
+
"activeMatches": {
|
|
12871
|
+
"description": "Live sessions that have not completed their series.",
|
|
12872
|
+
"type": "integer",
|
|
12873
|
+
"format": "uint64",
|
|
12874
|
+
"minimum": 0
|
|
12875
|
+
},
|
|
12876
|
+
"retainedFinishedMatches": {
|
|
12877
|
+
"description": "Completed sessions still retained until cleanup.",
|
|
12878
|
+
"type": "integer",
|
|
12879
|
+
"format": "uint64",
|
|
12880
|
+
"minimum": 0
|
|
12881
|
+
},
|
|
12882
|
+
"tournamentRooms": {
|
|
12883
|
+
"description": "Tournament room records still retained by the tournament runtime.",
|
|
12884
|
+
"type": "integer",
|
|
12885
|
+
"format": "uint64",
|
|
12886
|
+
"minimum": 0
|
|
12887
|
+
},
|
|
12888
|
+
"waitingLobbies": {
|
|
12889
|
+
"description": "Waiting or started lobby records still retained by the lobby runtime.",
|
|
12890
|
+
"type": "integer",
|
|
12891
|
+
"format": "uint64",
|
|
12892
|
+
"minimum": 0
|
|
12893
|
+
}
|
|
12894
|
+
},
|
|
12895
|
+
"required": [
|
|
12896
|
+
"activeMatches",
|
|
12897
|
+
"retainedFinishedMatches",
|
|
12898
|
+
"waitingLobbies",
|
|
12899
|
+
"activeLimitedEvents",
|
|
12900
|
+
"tournamentRooms"
|
|
12901
|
+
]
|
|
12902
|
+
},
|
|
12903
|
+
"SmuggleActionView": {
|
|
12904
|
+
"type": "object",
|
|
12905
|
+
"properties": {
|
|
12906
|
+
"kind": {
|
|
12907
|
+
"$ref": "https://simulator-sdk.my-swu.com/schema/common.json#/$defs/SmuggleKind"
|
|
12908
|
+
},
|
|
12909
|
+
"resourceCost": {
|
|
12910
|
+
"type": "integer",
|
|
12911
|
+
"format": "uint",
|
|
12912
|
+
"minimum": 0
|
|
12913
|
+
},
|
|
12914
|
+
"validCostTargets": {
|
|
12915
|
+
"type": "array",
|
|
12916
|
+
"items": {
|
|
12635
12917
|
"$ref": "https://simulator-sdk.my-swu.com/schema/common.json#/$defs/AbilityTarget"
|
|
12636
12918
|
}
|
|
12637
12919
|
}
|
|
@@ -13498,20 +13780,16 @@ export const sdkSchemaCommon = {
|
|
|
13498
13780
|
"matchSeed": {
|
|
13499
13781
|
"description": "Fixed duel match seed when configured.",
|
|
13500
13782
|
"type": [
|
|
13501
|
-
"
|
|
13783
|
+
"string",
|
|
13502
13784
|
"null"
|
|
13503
|
-
]
|
|
13504
|
-
"format": "uint64",
|
|
13505
|
-
"minimum": 0
|
|
13785
|
+
]
|
|
13506
13786
|
},
|
|
13507
13787
|
"packSeed": {
|
|
13508
13788
|
"description": "Fixed limited pack/leader seed when configured.",
|
|
13509
13789
|
"type": [
|
|
13510
|
-
"
|
|
13790
|
+
"string",
|
|
13511
13791
|
"null"
|
|
13512
|
-
]
|
|
13513
|
-
"format": "uint64",
|
|
13514
|
-
"minimum": 0
|
|
13792
|
+
]
|
|
13515
13793
|
},
|
|
13516
13794
|
"players": {
|
|
13517
13795
|
"type": "array",
|
|
@@ -14640,6 +14918,91 @@ export const sdkSchemaCommon = {
|
|
|
14640
14918
|
* only validates once that document is registered alongside it.
|
|
14641
14919
|
*/
|
|
14642
14920
|
export const sdkSchemas = {
|
|
14921
|
+
'admin-match-list-response': {
|
|
14922
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
14923
|
+
"title": "AdminMatchListResponse",
|
|
14924
|
+
"description": "Cursor-paginated durable match list for simulator administrators.",
|
|
14925
|
+
"type": "object",
|
|
14926
|
+
"properties": {
|
|
14927
|
+
"games": {
|
|
14928
|
+
"type": "array",
|
|
14929
|
+
"items": {
|
|
14930
|
+
"$ref": "https://simulator-sdk.my-swu.com/schema/common.json#/$defs/AdminMatchSummary"
|
|
14931
|
+
}
|
|
14932
|
+
},
|
|
14933
|
+
"nextCursor": {
|
|
14934
|
+
"type": [
|
|
14935
|
+
"string",
|
|
14936
|
+
"null"
|
|
14937
|
+
]
|
|
14938
|
+
}
|
|
14939
|
+
},
|
|
14940
|
+
"required": [
|
|
14941
|
+
"games"
|
|
14942
|
+
]
|
|
14943
|
+
},
|
|
14944
|
+
'admin-match-debug-bundle': {
|
|
14945
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
14946
|
+
"title": "AdminMatchDebugBundle",
|
|
14947
|
+
"description": "Complete durable diagnostics for one match, excluding restore credentials.",
|
|
14948
|
+
"type": "object",
|
|
14949
|
+
"properties": {
|
|
14950
|
+
"exportVersion": {
|
|
14951
|
+
"type": "integer",
|
|
14952
|
+
"format": "uint8",
|
|
14953
|
+
"maximum": 255,
|
|
14954
|
+
"minimum": 0
|
|
14955
|
+
},
|
|
14956
|
+
"exportedAtMs": {
|
|
14957
|
+
"type": "integer",
|
|
14958
|
+
"format": "uint64",
|
|
14959
|
+
"minimum": 0
|
|
14960
|
+
},
|
|
14961
|
+
"game": {
|
|
14962
|
+
"$ref": "https://simulator-sdk.my-swu.com/schema/common.json#/$defs/AdminMatchSummary"
|
|
14963
|
+
},
|
|
14964
|
+
"replay": {
|
|
14965
|
+
"anyOf": [
|
|
14966
|
+
{
|
|
14967
|
+
"$ref": "https://simulator-sdk.my-swu.com/schema/common.json#/$defs/MatchHistoryReplayArchive"
|
|
14968
|
+
},
|
|
14969
|
+
{
|
|
14970
|
+
"type": "null"
|
|
14971
|
+
}
|
|
14972
|
+
]
|
|
14973
|
+
},
|
|
14974
|
+
"reports": {
|
|
14975
|
+
"type": "array",
|
|
14976
|
+
"items": {
|
|
14977
|
+
"$ref": "https://simulator-sdk.my-swu.com/schema/common.json#/$defs/SimulatorReportResponse"
|
|
14978
|
+
}
|
|
14979
|
+
},
|
|
14980
|
+
"save": {
|
|
14981
|
+
"$ref": "https://simulator-sdk.my-swu.com/schema/common.json#/$defs/MatchSavePayload"
|
|
14982
|
+
}
|
|
14983
|
+
},
|
|
14984
|
+
"required": [
|
|
14985
|
+
"exportVersion",
|
|
14986
|
+
"exportedAtMs",
|
|
14987
|
+
"game",
|
|
14988
|
+
"save",
|
|
14989
|
+
"reports"
|
|
14990
|
+
]
|
|
14991
|
+
},
|
|
14992
|
+
'admin-match-replay-response': {
|
|
14993
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
14994
|
+
"title": "AdminMatchReplayResponse",
|
|
14995
|
+
"description": "Completed replay archive returned to an authenticated simulator administrator.",
|
|
14996
|
+
"type": "object",
|
|
14997
|
+
"properties": {
|
|
14998
|
+
"archive": {
|
|
14999
|
+
"$ref": "https://simulator-sdk.my-swu.com/schema/common.json#/$defs/MatchHistoryReplayArchive"
|
|
15000
|
+
}
|
|
15001
|
+
},
|
|
15002
|
+
"required": [
|
|
15003
|
+
"archive"
|
|
15004
|
+
]
|
|
15005
|
+
},
|
|
14643
15006
|
'simulator-report-list-response': {
|
|
14644
15007
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
14645
15008
|
"title": "SimulatorReportListResponse",
|
|
@@ -15363,11 +15726,10 @@ export const sdkSchemas = {
|
|
|
15363
15726
|
"seed": {
|
|
15364
15727
|
"description": "Optional deterministic match seed.",
|
|
15365
15728
|
"type": [
|
|
15366
|
-
"
|
|
15729
|
+
"string",
|
|
15367
15730
|
"null"
|
|
15368
15731
|
],
|
|
15369
|
-
"
|
|
15370
|
-
"minimum": 0
|
|
15732
|
+
"default": null
|
|
15371
15733
|
}
|
|
15372
15734
|
},
|
|
15373
15735
|
"additionalProperties": false,
|
|
@@ -15420,20 +15782,16 @@ export const sdkSchemas = {
|
|
|
15420
15782
|
"matchSeed": {
|
|
15421
15783
|
"description": "Optional deterministic seed reused for limited duel matches.",
|
|
15422
15784
|
"type": [
|
|
15423
|
-
"
|
|
15785
|
+
"string",
|
|
15424
15786
|
"null"
|
|
15425
|
-
]
|
|
15426
|
-
"format": "uint64",
|
|
15427
|
-
"minimum": 0
|
|
15787
|
+
]
|
|
15428
15788
|
},
|
|
15429
15789
|
"packSeed": {
|
|
15430
15790
|
"description": "Optional deterministic seed for limited pack/leader generation.",
|
|
15431
15791
|
"type": [
|
|
15432
|
-
"
|
|
15792
|
+
"string",
|
|
15433
15793
|
"null"
|
|
15434
|
-
]
|
|
15435
|
-
"format": "uint64",
|
|
15436
|
-
"minimum": 0
|
|
15794
|
+
]
|
|
15437
15795
|
},
|
|
15438
15796
|
"visibility": {
|
|
15439
15797
|
"description": "Whether the lobby should appear in public browsing surfaces.",
|
|
@@ -15777,6 +16135,13 @@ export const sdkSchemas = {
|
|
|
15777
16135
|
"title": "AddLobbyAiPlayerRequest",
|
|
15778
16136
|
"type": "object",
|
|
15779
16137
|
"properties": {
|
|
16138
|
+
"accountToken": {
|
|
16139
|
+
"description": "Signed app account proof required to create a server-controlled AI.",
|
|
16140
|
+
"type": [
|
|
16141
|
+
"string",
|
|
16142
|
+
"null"
|
|
16143
|
+
]
|
|
16144
|
+
},
|
|
15780
16145
|
"deck": {
|
|
15781
16146
|
"$ref": "https://simulator-sdk.my-swu.com/schema/common.json#/$defs/DeckInput"
|
|
15782
16147
|
},
|
|
@@ -16369,20 +16734,16 @@ export const sdkSchemas = {
|
|
|
16369
16734
|
"matchSeed": {
|
|
16370
16735
|
"description": "Optional deterministic seed reused for every duel table match.",
|
|
16371
16736
|
"type": [
|
|
16372
|
-
"
|
|
16737
|
+
"string",
|
|
16373
16738
|
"null"
|
|
16374
|
-
]
|
|
16375
|
-
"format": "uint64",
|
|
16376
|
-
"minimum": 0
|
|
16739
|
+
]
|
|
16377
16740
|
},
|
|
16378
16741
|
"packSeed": {
|
|
16379
16742
|
"description": "Optional deterministic seed for limited pack/leader generation.",
|
|
16380
16743
|
"type": [
|
|
16381
|
-
"
|
|
16744
|
+
"string",
|
|
16382
16745
|
"null"
|
|
16383
|
-
]
|
|
16384
|
-
"format": "uint64",
|
|
16385
|
-
"minimum": 0
|
|
16746
|
+
]
|
|
16386
16747
|
},
|
|
16387
16748
|
"pickTimerEnabled": {
|
|
16388
16749
|
"description": "Enables the per-pick countdown with auto-pick on timeout (draft only).",
|
|
@@ -16961,11 +17322,9 @@ export const sdkSchemas = {
|
|
|
16961
17322
|
"seed": {
|
|
16962
17323
|
"description": "Optional deterministic seed for generated boosters and draft leaders.",
|
|
16963
17324
|
"type": [
|
|
16964
|
-
"
|
|
17325
|
+
"string",
|
|
16965
17326
|
"null"
|
|
16966
|
-
]
|
|
16967
|
-
"format": "uint64",
|
|
16968
|
-
"minimum": 0
|
|
17327
|
+
]
|
|
16969
17328
|
},
|
|
16970
17329
|
"setCode": {
|
|
16971
17330
|
"description": "Set code used for booster generation.",
|
|
@@ -17029,9 +17388,7 @@ export const sdkSchemas = {
|
|
|
17029
17388
|
},
|
|
17030
17389
|
"seed": {
|
|
17031
17390
|
"description": "Deterministic seed used by successful creation after this check.",
|
|
17032
|
-
"type": "
|
|
17033
|
-
"format": "uint64",
|
|
17034
|
-
"minimum": 0
|
|
17391
|
+
"type": "string"
|
|
17035
17392
|
}
|
|
17036
17393
|
},
|
|
17037
17394
|
"required": [
|
|
@@ -17091,9 +17448,7 @@ export const sdkSchemas = {
|
|
|
17091
17448
|
},
|
|
17092
17449
|
"replaySeed": {
|
|
17093
17450
|
"description": "Resolved seed for a private solo-vs-AI match. Never projected in live state.",
|
|
17094
|
-
"type": "
|
|
17095
|
-
"format": "uint64",
|
|
17096
|
-
"minimum": 0
|
|
17451
|
+
"type": "string"
|
|
17097
17452
|
},
|
|
17098
17453
|
"seat": {
|
|
17099
17454
|
"$ref": "https://simulator-sdk.my-swu.com/schema/common.json#/$defs/Seat"
|
|
@@ -17778,9 +18133,7 @@ export const sdkSchemas = {
|
|
|
17778
18133
|
"$ref": "https://simulator-sdk.my-swu.com/schema/common.json#/$defs/HistorySection"
|
|
17779
18134
|
},
|
|
17780
18135
|
"seed": {
|
|
17781
|
-
"type": "
|
|
17782
|
-
"format": "uint64",
|
|
17783
|
-
"minimum": 0
|
|
18136
|
+
"type": "string"
|
|
17784
18137
|
},
|
|
17785
18138
|
"series": true,
|
|
17786
18139
|
"sourceMatchId": {
|
|
@@ -17842,6 +18195,57 @@ export const sdkSchemas = {
|
|
|
17842
18195
|
"archive"
|
|
17843
18196
|
]
|
|
17844
18197
|
},
|
|
18198
|
+
'create-match-history-replay-share-request': {
|
|
18199
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
18200
|
+
"title": "CreateMatchHistoryReplayShareRequest",
|
|
18201
|
+
"description": "Participant-authorized request to create one permanent replay-share link.",
|
|
18202
|
+
"type": "object",
|
|
18203
|
+
"properties": {
|
|
18204
|
+
"identities": {
|
|
18205
|
+
"type": "array",
|
|
18206
|
+
"items": {
|
|
18207
|
+
"$ref": "https://simulator-sdk.my-swu.com/schema/common.json#/$defs/HistoryIdentityInput"
|
|
18208
|
+
}
|
|
18209
|
+
},
|
|
18210
|
+
"includeHiddenInformation": {
|
|
18211
|
+
"description": "Whether this capability may retrieve post-match private-zone views.",
|
|
18212
|
+
"type": "boolean"
|
|
18213
|
+
}
|
|
18214
|
+
},
|
|
18215
|
+
"required": [
|
|
18216
|
+
"identities",
|
|
18217
|
+
"includeHiddenInformation"
|
|
18218
|
+
]
|
|
18219
|
+
},
|
|
18220
|
+
'create-match-history-replay-share-response': {
|
|
18221
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
18222
|
+
"title": "CreateMatchHistoryReplayShareResponse",
|
|
18223
|
+
"description": "Opaque capability returned after a participant creates a replay share.",
|
|
18224
|
+
"type": "object",
|
|
18225
|
+
"properties": {
|
|
18226
|
+
"shareToken": {
|
|
18227
|
+
"type": "string",
|
|
18228
|
+
"format": "uuid"
|
|
18229
|
+
}
|
|
18230
|
+
},
|
|
18231
|
+
"required": [
|
|
18232
|
+
"shareToken"
|
|
18233
|
+
]
|
|
18234
|
+
},
|
|
18235
|
+
'shared-match-history-replay-response': {
|
|
18236
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
18237
|
+
"title": "SharedMatchHistoryReplayResponse",
|
|
18238
|
+
"description": "Replay archive resolved from an opaque, publicly usable share capability.",
|
|
18239
|
+
"type": "object",
|
|
18240
|
+
"properties": {
|
|
18241
|
+
"archive": {
|
|
18242
|
+
"$ref": "https://simulator-sdk.my-swu.com/schema/common.json#/$defs/MatchHistoryReplayArchive"
|
|
18243
|
+
}
|
|
18244
|
+
},
|
|
18245
|
+
"required": [
|
|
18246
|
+
"archive"
|
|
18247
|
+
]
|
|
18248
|
+
},
|
|
17845
18249
|
'match-chat-lookup-response': {
|
|
17846
18250
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
17847
18251
|
"title": "MatchChatLookupResponse",
|
|
@@ -17914,6 +18318,128 @@ export const sdkSchemas = {
|
|
|
17914
18318
|
"access"
|
|
17915
18319
|
]
|
|
17916
18320
|
},
|
|
18321
|
+
'match-recovery-request': {
|
|
18322
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
18323
|
+
"title": "MatchRecoveryRequest",
|
|
18324
|
+
"description": "Request to restore an unfinished Solo-versus-AI match whose original live\nruntime is no longer available.",
|
|
18325
|
+
"type": "object",
|
|
18326
|
+
"properties": {
|
|
18327
|
+
"identities": {
|
|
18328
|
+
"type": "array",
|
|
18329
|
+
"items": {
|
|
18330
|
+
"$ref": "https://simulator-sdk.my-swu.com/schema/common.json#/$defs/HistoryIdentityInput"
|
|
18331
|
+
}
|
|
18332
|
+
},
|
|
18333
|
+
"restoreRequestId": {
|
|
18334
|
+
"description": "Stable browser-generated id that makes recovery retries idempotent.",
|
|
18335
|
+
"type": "string",
|
|
18336
|
+
"format": "uuid"
|
|
18337
|
+
},
|
|
18338
|
+
"section": {
|
|
18339
|
+
"$ref": "https://simulator-sdk.my-swu.com/schema/common.json#/$defs/HistorySection"
|
|
18340
|
+
},
|
|
18341
|
+
"sourceMatchId": {
|
|
18342
|
+
"description": "Id of the original runtime, never a public history id.",
|
|
18343
|
+
"type": "string",
|
|
18344
|
+
"format": "uuid"
|
|
18345
|
+
}
|
|
18346
|
+
},
|
|
18347
|
+
"required": [
|
|
18348
|
+
"sourceMatchId",
|
|
18349
|
+
"section",
|
|
18350
|
+
"identities",
|
|
18351
|
+
"restoreRequestId"
|
|
18352
|
+
]
|
|
18353
|
+
},
|
|
18354
|
+
'match-recovery-response': {
|
|
18355
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
18356
|
+
"title": "MatchRecoveryResponse",
|
|
18357
|
+
"description": "Result of looking up a lost-runtime recovery source.\n\n`Unavailable` intentionally combines unknown, unauthorized, live, and\nineligible sources so callers cannot probe match lifecycle metadata.",
|
|
18358
|
+
"oneOf": [
|
|
18359
|
+
{
|
|
18360
|
+
"type": "object",
|
|
18361
|
+
"properties": {
|
|
18362
|
+
"access": {
|
|
18363
|
+
"description": "Fresh host capability for the restored runtime.",
|
|
18364
|
+
"$ref": "https://simulator-sdk.my-swu.com/schema/common.json#/$defs/MatchAccessResponse"
|
|
18365
|
+
},
|
|
18366
|
+
"kind": {
|
|
18367
|
+
"type": "string",
|
|
18368
|
+
"const": "restored"
|
|
18369
|
+
}
|
|
18370
|
+
},
|
|
18371
|
+
"required": [
|
|
18372
|
+
"kind",
|
|
18373
|
+
"access"
|
|
18374
|
+
]
|
|
18375
|
+
},
|
|
18376
|
+
{
|
|
18377
|
+
"type": "object",
|
|
18378
|
+
"properties": {
|
|
18379
|
+
"kind": {
|
|
18380
|
+
"type": "string",
|
|
18381
|
+
"const": "unavailable"
|
|
18382
|
+
}
|
|
18383
|
+
},
|
|
18384
|
+
"required": [
|
|
18385
|
+
"kind"
|
|
18386
|
+
]
|
|
18387
|
+
}
|
|
18388
|
+
]
|
|
18389
|
+
},
|
|
18390
|
+
'match-access-recovery-request': {
|
|
18391
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
18392
|
+
"title": "MatchAccessRecoveryRequest",
|
|
18393
|
+
"description": "Ownership proof used to recover current access for one live Solo-versus-AI\nmatch when browser-stored seat credentials are stale.",
|
|
18394
|
+
"type": "object",
|
|
18395
|
+
"properties": {
|
|
18396
|
+
"identities": {
|
|
18397
|
+
"type": "array",
|
|
18398
|
+
"items": {
|
|
18399
|
+
"$ref": "https://simulator-sdk.my-swu.com/schema/common.json#/$defs/HistoryIdentityInput"
|
|
18400
|
+
}
|
|
18401
|
+
}
|
|
18402
|
+
},
|
|
18403
|
+
"required": [
|
|
18404
|
+
"identities"
|
|
18405
|
+
]
|
|
18406
|
+
},
|
|
18407
|
+
'match-access-recovery-response': {
|
|
18408
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
18409
|
+
"title": "MatchAccessRecoveryResponse",
|
|
18410
|
+
"description": "Result of recovering current private access for a live Solo-versus-AI match.\n\n`Unavailable` deliberately combines unknown, unauthorized, inactive, and\nineligible matches so this endpoint cannot be used to probe match state.",
|
|
18411
|
+
"oneOf": [
|
|
18412
|
+
{
|
|
18413
|
+
"type": "object",
|
|
18414
|
+
"properties": {
|
|
18415
|
+
"access": {
|
|
18416
|
+
"description": "Current private host capability for the existing live runtime.",
|
|
18417
|
+
"$ref": "https://simulator-sdk.my-swu.com/schema/common.json#/$defs/MatchAccessResponse"
|
|
18418
|
+
},
|
|
18419
|
+
"kind": {
|
|
18420
|
+
"type": "string",
|
|
18421
|
+
"const": "recovered"
|
|
18422
|
+
}
|
|
18423
|
+
},
|
|
18424
|
+
"required": [
|
|
18425
|
+
"kind",
|
|
18426
|
+
"access"
|
|
18427
|
+
]
|
|
18428
|
+
},
|
|
18429
|
+
{
|
|
18430
|
+
"type": "object",
|
|
18431
|
+
"properties": {
|
|
18432
|
+
"kind": {
|
|
18433
|
+
"type": "string",
|
|
18434
|
+
"const": "unavailable"
|
|
18435
|
+
}
|
|
18436
|
+
},
|
|
18437
|
+
"required": [
|
|
18438
|
+
"kind"
|
|
18439
|
+
]
|
|
18440
|
+
}
|
|
18441
|
+
]
|
|
18442
|
+
},
|
|
17917
18443
|
'cards-response': {
|
|
17918
18444
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
17919
18445
|
"title": "CardsResponse",
|
|
@@ -19094,6 +19620,28 @@ export const sdkSchemas = {
|
|
|
19094
19620
|
"chooseTriggeredAbilityPlayerOrder"
|
|
19095
19621
|
]
|
|
19096
19622
|
},
|
|
19623
|
+
{
|
|
19624
|
+
"type": "object",
|
|
19625
|
+
"properties": {
|
|
19626
|
+
"chooseDelayedEffectOrder": {
|
|
19627
|
+
"type": "object",
|
|
19628
|
+
"properties": {
|
|
19629
|
+
"occurrenceSequence": {
|
|
19630
|
+
"type": "integer",
|
|
19631
|
+
"format": "uint32",
|
|
19632
|
+
"minimum": 0
|
|
19633
|
+
}
|
|
19634
|
+
},
|
|
19635
|
+
"required": [
|
|
19636
|
+
"occurrenceSequence"
|
|
19637
|
+
]
|
|
19638
|
+
}
|
|
19639
|
+
},
|
|
19640
|
+
"additionalProperties": false,
|
|
19641
|
+
"required": [
|
|
19642
|
+
"chooseDelayedEffectOrder"
|
|
19643
|
+
]
|
|
19644
|
+
},
|
|
19097
19645
|
{
|
|
19098
19646
|
"type": "object",
|
|
19099
19647
|
"properties": {
|
|
@@ -19587,6 +20135,10 @@ export const sdkSchemas = {
|
|
|
19587
20135
|
"maximum": 32767,
|
|
19588
20136
|
"minimum": -32768
|
|
19589
20137
|
},
|
|
20138
|
+
"isCombat": {
|
|
20139
|
+
"description": "Whether this damage packet came from combat rather than an ability,\ncounter, cost, or indirect-damage effect.",
|
|
20140
|
+
"type": "boolean"
|
|
20141
|
+
},
|
|
19590
20142
|
"unitId": {
|
|
19591
20143
|
"type": "integer",
|
|
19592
20144
|
"format": "uint64",
|
|
@@ -19703,6 +20255,10 @@ export const sdkSchemas = {
|
|
|
19703
20255
|
"maximum": 32767,
|
|
19704
20256
|
"minimum": -32768
|
|
19705
20257
|
},
|
|
20258
|
+
"isCombat": {
|
|
20259
|
+
"description": "Whether this damage packet came from combat rather than an ability,\ncounter, cost, or indirect-damage effect.",
|
|
20260
|
+
"type": "boolean"
|
|
20261
|
+
},
|
|
19706
20262
|
"seat": {
|
|
19707
20263
|
"$ref": "https://simulator-sdk.my-swu.com/schema/common.json#/$defs/Seat"
|
|
19708
20264
|
}
|