@seamapi/types 1.177.0 → 1.177.1

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.
@@ -1095,6 +1095,454 @@ export default {
1095
1095
  ],
1096
1096
  type: 'object',
1097
1097
  },
1098
+ {
1099
+ properties: {
1100
+ action_attempt_id: {
1101
+ description: '\n ---\n title: Action Attempt ID\n ---\n The ID of the action attempt.\n ',
1102
+ format: 'uuid',
1103
+ type: 'string',
1104
+ },
1105
+ action_type: { enum: ['SYNC_ACCESS_CODES'], type: 'string' },
1106
+ error: { format: 'null', nullable: true, type: 'string' },
1107
+ result: { format: 'null', nullable: true, type: 'string' },
1108
+ status: { enum: ['pending'], type: 'string' },
1109
+ },
1110
+ required: [
1111
+ 'action_attempt_id',
1112
+ 'status',
1113
+ 'result',
1114
+ 'error',
1115
+ 'action_type',
1116
+ ],
1117
+ type: 'object',
1118
+ },
1119
+ {
1120
+ properties: {
1121
+ action_attempt_id: {
1122
+ description: '\n ---\n title: Action Attempt ID\n ---\n The ID of the action attempt.\n ',
1123
+ format: 'uuid',
1124
+ type: 'string',
1125
+ },
1126
+ action_type: { enum: ['SYNC_ACCESS_CODES'], type: 'string' },
1127
+ error: { format: 'null', nullable: true, type: 'string' },
1128
+ result: { nullable: true },
1129
+ status: { enum: ['success'], type: 'string' },
1130
+ },
1131
+ required: ['action_attempt_id', 'status', 'error', 'action_type'],
1132
+ type: 'object',
1133
+ },
1134
+ {
1135
+ properties: {
1136
+ action_attempt_id: {
1137
+ description: '\n ---\n title: Action Attempt ID\n ---\n The ID of the action attempt.\n ',
1138
+ format: 'uuid',
1139
+ type: 'string',
1140
+ },
1141
+ action_type: { enum: ['SYNC_ACCESS_CODES'], type: 'string' },
1142
+ error: {
1143
+ properties: {
1144
+ message: { type: 'string' },
1145
+ type: { type: 'string' },
1146
+ },
1147
+ required: ['type', 'message'],
1148
+ type: 'object',
1149
+ },
1150
+ result: { format: 'null', nullable: true, type: 'string' },
1151
+ status: { enum: ['error'], type: 'string' },
1152
+ },
1153
+ required: [
1154
+ 'action_attempt_id',
1155
+ 'status',
1156
+ 'result',
1157
+ 'action_type',
1158
+ 'error',
1159
+ ],
1160
+ type: 'object',
1161
+ },
1162
+ {
1163
+ properties: {
1164
+ action_attempt_id: {
1165
+ description: '\n ---\n title: Action Attempt ID\n ---\n The ID of the action attempt.\n ',
1166
+ format: 'uuid',
1167
+ type: 'string',
1168
+ },
1169
+ action_type: { enum: ['CREATE_ACCESS_CODE'], type: 'string' },
1170
+ error: { format: 'null', nullable: true, type: 'string' },
1171
+ result: { format: 'null', nullable: true, type: 'string' },
1172
+ status: { enum: ['pending'], type: 'string' },
1173
+ },
1174
+ required: [
1175
+ 'action_attempt_id',
1176
+ 'status',
1177
+ 'result',
1178
+ 'error',
1179
+ 'action_type',
1180
+ ],
1181
+ type: 'object',
1182
+ },
1183
+ {
1184
+ properties: {
1185
+ action_attempt_id: {
1186
+ description: '\n ---\n title: Action Attempt ID\n ---\n The ID of the action attempt.\n ',
1187
+ format: 'uuid',
1188
+ type: 'string',
1189
+ },
1190
+ action_type: { enum: ['CREATE_ACCESS_CODE'], type: 'string' },
1191
+ error: { format: 'null', nullable: true, type: 'string' },
1192
+ result: { nullable: true },
1193
+ status: { enum: ['success'], type: 'string' },
1194
+ },
1195
+ required: ['action_attempt_id', 'status', 'error', 'action_type'],
1196
+ type: 'object',
1197
+ },
1198
+ {
1199
+ properties: {
1200
+ action_attempt_id: {
1201
+ description: '\n ---\n title: Action Attempt ID\n ---\n The ID of the action attempt.\n ',
1202
+ format: 'uuid',
1203
+ type: 'string',
1204
+ },
1205
+ action_type: { enum: ['CREATE_ACCESS_CODE'], type: 'string' },
1206
+ error: {
1207
+ properties: {
1208
+ message: { type: 'string' },
1209
+ type: { type: 'string' },
1210
+ },
1211
+ required: ['type', 'message'],
1212
+ type: 'object',
1213
+ },
1214
+ result: { format: 'null', nullable: true, type: 'string' },
1215
+ status: { enum: ['error'], type: 'string' },
1216
+ },
1217
+ required: [
1218
+ 'action_attempt_id',
1219
+ 'status',
1220
+ 'result',
1221
+ 'action_type',
1222
+ 'error',
1223
+ ],
1224
+ type: 'object',
1225
+ },
1226
+ {
1227
+ properties: {
1228
+ action_attempt_id: {
1229
+ description: '\n ---\n title: Action Attempt ID\n ---\n The ID of the action attempt.\n ',
1230
+ format: 'uuid',
1231
+ type: 'string',
1232
+ },
1233
+ action_type: { enum: ['DELETE_ACCESS_CODE'], type: 'string' },
1234
+ error: { format: 'null', nullable: true, type: 'string' },
1235
+ result: { format: 'null', nullable: true, type: 'string' },
1236
+ status: { enum: ['pending'], type: 'string' },
1237
+ },
1238
+ required: [
1239
+ 'action_attempt_id',
1240
+ 'status',
1241
+ 'result',
1242
+ 'error',
1243
+ 'action_type',
1244
+ ],
1245
+ type: 'object',
1246
+ },
1247
+ {
1248
+ properties: {
1249
+ action_attempt_id: {
1250
+ description: '\n ---\n title: Action Attempt ID\n ---\n The ID of the action attempt.\n ',
1251
+ format: 'uuid',
1252
+ type: 'string',
1253
+ },
1254
+ action_type: { enum: ['DELETE_ACCESS_CODE'], type: 'string' },
1255
+ error: { format: 'null', nullable: true, type: 'string' },
1256
+ result: { nullable: true },
1257
+ status: { enum: ['success'], type: 'string' },
1258
+ },
1259
+ required: ['action_attempt_id', 'status', 'error', 'action_type'],
1260
+ type: 'object',
1261
+ },
1262
+ {
1263
+ properties: {
1264
+ action_attempt_id: {
1265
+ description: '\n ---\n title: Action Attempt ID\n ---\n The ID of the action attempt.\n ',
1266
+ format: 'uuid',
1267
+ type: 'string',
1268
+ },
1269
+ action_type: { enum: ['DELETE_ACCESS_CODE'], type: 'string' },
1270
+ error: {
1271
+ properties: {
1272
+ message: { type: 'string' },
1273
+ type: { type: 'string' },
1274
+ },
1275
+ required: ['type', 'message'],
1276
+ type: 'object',
1277
+ },
1278
+ result: { format: 'null', nullable: true, type: 'string' },
1279
+ status: { enum: ['error'], type: 'string' },
1280
+ },
1281
+ required: [
1282
+ 'action_attempt_id',
1283
+ 'status',
1284
+ 'result',
1285
+ 'action_type',
1286
+ 'error',
1287
+ ],
1288
+ type: 'object',
1289
+ },
1290
+ {
1291
+ properties: {
1292
+ action_attempt_id: {
1293
+ description: '\n ---\n title: Action Attempt ID\n ---\n The ID of the action attempt.\n ',
1294
+ format: 'uuid',
1295
+ type: 'string',
1296
+ },
1297
+ action_type: { enum: ['UPDATE_ACCESS_CODE'], type: 'string' },
1298
+ error: { format: 'null', nullable: true, type: 'string' },
1299
+ result: { format: 'null', nullable: true, type: 'string' },
1300
+ status: { enum: ['pending'], type: 'string' },
1301
+ },
1302
+ required: [
1303
+ 'action_attempt_id',
1304
+ 'status',
1305
+ 'result',
1306
+ 'error',
1307
+ 'action_type',
1308
+ ],
1309
+ type: 'object',
1310
+ },
1311
+ {
1312
+ properties: {
1313
+ action_attempt_id: {
1314
+ description: '\n ---\n title: Action Attempt ID\n ---\n The ID of the action attempt.\n ',
1315
+ format: 'uuid',
1316
+ type: 'string',
1317
+ },
1318
+ action_type: { enum: ['UPDATE_ACCESS_CODE'], type: 'string' },
1319
+ error: { format: 'null', nullable: true, type: 'string' },
1320
+ result: { nullable: true },
1321
+ status: { enum: ['success'], type: 'string' },
1322
+ },
1323
+ required: ['action_attempt_id', 'status', 'error', 'action_type'],
1324
+ type: 'object',
1325
+ },
1326
+ {
1327
+ properties: {
1328
+ action_attempt_id: {
1329
+ description: '\n ---\n title: Action Attempt ID\n ---\n The ID of the action attempt.\n ',
1330
+ format: 'uuid',
1331
+ type: 'string',
1332
+ },
1333
+ action_type: { enum: ['UPDATE_ACCESS_CODE'], type: 'string' },
1334
+ error: {
1335
+ properties: {
1336
+ message: { type: 'string' },
1337
+ type: { type: 'string' },
1338
+ },
1339
+ required: ['type', 'message'],
1340
+ type: 'object',
1341
+ },
1342
+ result: { format: 'null', nullable: true, type: 'string' },
1343
+ status: { enum: ['error'], type: 'string' },
1344
+ },
1345
+ required: [
1346
+ 'action_attempt_id',
1347
+ 'status',
1348
+ 'result',
1349
+ 'action_type',
1350
+ 'error',
1351
+ ],
1352
+ type: 'object',
1353
+ },
1354
+ {
1355
+ properties: {
1356
+ action_attempt_id: {
1357
+ description: '\n ---\n title: Action Attempt ID\n ---\n The ID of the action attempt.\n ',
1358
+ format: 'uuid',
1359
+ type: 'string',
1360
+ },
1361
+ action_type: { enum: ['CREATE_NOISE_THRESHOLD'], type: 'string' },
1362
+ error: { format: 'null', nullable: true, type: 'string' },
1363
+ result: { format: 'null', nullable: true, type: 'string' },
1364
+ status: { enum: ['pending'], type: 'string' },
1365
+ },
1366
+ required: [
1367
+ 'action_attempt_id',
1368
+ 'status',
1369
+ 'result',
1370
+ 'error',
1371
+ 'action_type',
1372
+ ],
1373
+ type: 'object',
1374
+ },
1375
+ {
1376
+ properties: {
1377
+ action_attempt_id: {
1378
+ description: '\n ---\n title: Action Attempt ID\n ---\n The ID of the action attempt.\n ',
1379
+ format: 'uuid',
1380
+ type: 'string',
1381
+ },
1382
+ action_type: { enum: ['CREATE_NOISE_THRESHOLD'], type: 'string' },
1383
+ error: { format: 'null', nullable: true, type: 'string' },
1384
+ result: { nullable: true },
1385
+ status: { enum: ['success'], type: 'string' },
1386
+ },
1387
+ required: ['action_attempt_id', 'status', 'error', 'action_type'],
1388
+ type: 'object',
1389
+ },
1390
+ {
1391
+ properties: {
1392
+ action_attempt_id: {
1393
+ description: '\n ---\n title: Action Attempt ID\n ---\n The ID of the action attempt.\n ',
1394
+ format: 'uuid',
1395
+ type: 'string',
1396
+ },
1397
+ action_type: { enum: ['CREATE_NOISE_THRESHOLD'], type: 'string' },
1398
+ error: {
1399
+ properties: {
1400
+ message: { type: 'string' },
1401
+ type: { type: 'string' },
1402
+ },
1403
+ required: ['type', 'message'],
1404
+ type: 'object',
1405
+ },
1406
+ result: { format: 'null', nullable: true, type: 'string' },
1407
+ status: { enum: ['error'], type: 'string' },
1408
+ },
1409
+ required: [
1410
+ 'action_attempt_id',
1411
+ 'status',
1412
+ 'result',
1413
+ 'action_type',
1414
+ 'error',
1415
+ ],
1416
+ type: 'object',
1417
+ },
1418
+ {
1419
+ properties: {
1420
+ action_attempt_id: {
1421
+ description: '\n ---\n title: Action Attempt ID\n ---\n The ID of the action attempt.\n ',
1422
+ format: 'uuid',
1423
+ type: 'string',
1424
+ },
1425
+ action_type: { enum: ['DELETE_NOISE_THRESHOLD'], type: 'string' },
1426
+ error: { format: 'null', nullable: true, type: 'string' },
1427
+ result: { format: 'null', nullable: true, type: 'string' },
1428
+ status: { enum: ['pending'], type: 'string' },
1429
+ },
1430
+ required: [
1431
+ 'action_attempt_id',
1432
+ 'status',
1433
+ 'result',
1434
+ 'error',
1435
+ 'action_type',
1436
+ ],
1437
+ type: 'object',
1438
+ },
1439
+ {
1440
+ properties: {
1441
+ action_attempt_id: {
1442
+ description: '\n ---\n title: Action Attempt ID\n ---\n The ID of the action attempt.\n ',
1443
+ format: 'uuid',
1444
+ type: 'string',
1445
+ },
1446
+ action_type: { enum: ['DELETE_NOISE_THRESHOLD'], type: 'string' },
1447
+ error: { format: 'null', nullable: true, type: 'string' },
1448
+ result: { nullable: true },
1449
+ status: { enum: ['success'], type: 'string' },
1450
+ },
1451
+ required: ['action_attempt_id', 'status', 'error', 'action_type'],
1452
+ type: 'object',
1453
+ },
1454
+ {
1455
+ properties: {
1456
+ action_attempt_id: {
1457
+ description: '\n ---\n title: Action Attempt ID\n ---\n The ID of the action attempt.\n ',
1458
+ format: 'uuid',
1459
+ type: 'string',
1460
+ },
1461
+ action_type: { enum: ['DELETE_NOISE_THRESHOLD'], type: 'string' },
1462
+ error: {
1463
+ properties: {
1464
+ message: { type: 'string' },
1465
+ type: { type: 'string' },
1466
+ },
1467
+ required: ['type', 'message'],
1468
+ type: 'object',
1469
+ },
1470
+ result: { format: 'null', nullable: true, type: 'string' },
1471
+ status: { enum: ['error'], type: 'string' },
1472
+ },
1473
+ required: [
1474
+ 'action_attempt_id',
1475
+ 'status',
1476
+ 'result',
1477
+ 'action_type',
1478
+ 'error',
1479
+ ],
1480
+ type: 'object',
1481
+ },
1482
+ {
1483
+ properties: {
1484
+ action_attempt_id: {
1485
+ description: '\n ---\n title: Action Attempt ID\n ---\n The ID of the action attempt.\n ',
1486
+ format: 'uuid',
1487
+ type: 'string',
1488
+ },
1489
+ action_type: { enum: ['UPDATE_NOISE_THRESHOLD'], type: 'string' },
1490
+ error: { format: 'null', nullable: true, type: 'string' },
1491
+ result: { format: 'null', nullable: true, type: 'string' },
1492
+ status: { enum: ['pending'], type: 'string' },
1493
+ },
1494
+ required: [
1495
+ 'action_attempt_id',
1496
+ 'status',
1497
+ 'result',
1498
+ 'error',
1499
+ 'action_type',
1500
+ ],
1501
+ type: 'object',
1502
+ },
1503
+ {
1504
+ properties: {
1505
+ action_attempt_id: {
1506
+ description: '\n ---\n title: Action Attempt ID\n ---\n The ID of the action attempt.\n ',
1507
+ format: 'uuid',
1508
+ type: 'string',
1509
+ },
1510
+ action_type: { enum: ['UPDATE_NOISE_THRESHOLD'], type: 'string' },
1511
+ error: { format: 'null', nullable: true, type: 'string' },
1512
+ result: { nullable: true },
1513
+ status: { enum: ['success'], type: 'string' },
1514
+ },
1515
+ required: ['action_attempt_id', 'status', 'error', 'action_type'],
1516
+ type: 'object',
1517
+ },
1518
+ {
1519
+ properties: {
1520
+ action_attempt_id: {
1521
+ description: '\n ---\n title: Action Attempt ID\n ---\n The ID of the action attempt.\n ',
1522
+ format: 'uuid',
1523
+ type: 'string',
1524
+ },
1525
+ action_type: { enum: ['UPDATE_NOISE_THRESHOLD'], type: 'string' },
1526
+ error: {
1527
+ properties: {
1528
+ message: { type: 'string' },
1529
+ type: { type: 'string' },
1530
+ },
1531
+ required: ['type', 'message'],
1532
+ type: 'object',
1533
+ },
1534
+ result: { format: 'null', nullable: true, type: 'string' },
1535
+ status: { enum: ['error'], type: 'string' },
1536
+ },
1537
+ required: [
1538
+ 'action_attempt_id',
1539
+ 'status',
1540
+ 'result',
1541
+ 'action_type',
1542
+ 'error',
1543
+ ],
1544
+ type: 'object',
1545
+ },
1098
1546
  ],
1099
1547
  },
1100
1548
  client_session: {
@@ -3264,91 +3712,7 @@ export default {
3264
3712
  properties: {
3265
3713
  access_code: { $ref: '#/components/schemas/access_code' },
3266
3714
  action_attempt: {
3267
- discriminator: { propertyName: 'status' },
3268
- oneOf: [
3269
- {
3270
- properties: {
3271
- action_attempt_id: {
3272
- format: 'uuid',
3273
- type: 'string',
3274
- },
3275
- action_type: { type: 'string' },
3276
- error: {
3277
- format: 'null',
3278
- nullable: true,
3279
- type: 'string',
3280
- },
3281
- result: { nullable: true },
3282
- status: { enum: ['success'], type: 'string' },
3283
- },
3284
- required: [
3285
- 'status',
3286
- 'action_type',
3287
- 'action_attempt_id',
3288
- 'error',
3289
- ],
3290
- type: 'object',
3291
- },
3292
- {
3293
- properties: {
3294
- action_attempt_id: {
3295
- format: 'uuid',
3296
- type: 'string',
3297
- },
3298
- action_type: { type: 'string' },
3299
- error: {
3300
- format: 'null',
3301
- nullable: true,
3302
- type: 'string',
3303
- },
3304
- result: {
3305
- format: 'null',
3306
- nullable: true,
3307
- type: 'string',
3308
- },
3309
- status: { enum: ['pending'], type: 'string' },
3310
- },
3311
- required: [
3312
- 'status',
3313
- 'action_type',
3314
- 'action_attempt_id',
3315
- 'result',
3316
- 'error',
3317
- ],
3318
- type: 'object',
3319
- },
3320
- {
3321
- properties: {
3322
- action_attempt_id: {
3323
- format: 'uuid',
3324
- type: 'string',
3325
- },
3326
- action_type: { type: 'string' },
3327
- error: {
3328
- properties: {
3329
- message: { type: 'string' },
3330
- type: { type: 'string' },
3331
- },
3332
- required: ['type', 'message'],
3333
- type: 'object',
3334
- },
3335
- result: {
3336
- format: 'null',
3337
- nullable: true,
3338
- type: 'string',
3339
- },
3340
- status: { enum: ['error'], type: 'string' },
3341
- },
3342
- required: [
3343
- 'status',
3344
- 'action_type',
3345
- 'action_attempt_id',
3346
- 'result',
3347
- 'error',
3348
- ],
3349
- type: 'object',
3350
- },
3351
- ],
3715
+ $ref: '#/components/schemas/action_attempt',
3352
3716
  },
3353
3717
  ok: { type: 'boolean' },
3354
3718
  },
@@ -3566,91 +3930,7 @@ export default {
3566
3930
  schema: {
3567
3931
  properties: {
3568
3932
  action_attempt: {
3569
- discriminator: { propertyName: 'status' },
3570
- oneOf: [
3571
- {
3572
- properties: {
3573
- action_attempt_id: {
3574
- format: 'uuid',
3575
- type: 'string',
3576
- },
3577
- action_type: { type: 'string' },
3578
- error: {
3579
- format: 'null',
3580
- nullable: true,
3581
- type: 'string',
3582
- },
3583
- result: { nullable: true },
3584
- status: { enum: ['success'], type: 'string' },
3585
- },
3586
- required: [
3587
- 'status',
3588
- 'action_type',
3589
- 'action_attempt_id',
3590
- 'error',
3591
- ],
3592
- type: 'object',
3593
- },
3594
- {
3595
- properties: {
3596
- action_attempt_id: {
3597
- format: 'uuid',
3598
- type: 'string',
3599
- },
3600
- action_type: { type: 'string' },
3601
- error: {
3602
- format: 'null',
3603
- nullable: true,
3604
- type: 'string',
3605
- },
3606
- result: {
3607
- format: 'null',
3608
- nullable: true,
3609
- type: 'string',
3610
- },
3611
- status: { enum: ['pending'], type: 'string' },
3612
- },
3613
- required: [
3614
- 'status',
3615
- 'action_type',
3616
- 'action_attempt_id',
3617
- 'result',
3618
- 'error',
3619
- ],
3620
- type: 'object',
3621
- },
3622
- {
3623
- properties: {
3624
- action_attempt_id: {
3625
- format: 'uuid',
3626
- type: 'string',
3627
- },
3628
- action_type: { type: 'string' },
3629
- error: {
3630
- properties: {
3631
- message: { type: 'string' },
3632
- type: { type: 'string' },
3633
- },
3634
- required: ['type', 'message'],
3635
- type: 'object',
3636
- },
3637
- result: {
3638
- format: 'null',
3639
- nullable: true,
3640
- type: 'string',
3641
- },
3642
- status: { enum: ['error'], type: 'string' },
3643
- },
3644
- required: [
3645
- 'status',
3646
- 'action_type',
3647
- 'action_attempt_id',
3648
- 'result',
3649
- 'error',
3650
- ],
3651
- type: 'object',
3652
- },
3653
- ],
3933
+ $ref: '#/components/schemas/action_attempt',
3654
3934
  },
3655
3935
  ok: { type: 'boolean' },
3656
3936
  },
@@ -4052,91 +4332,7 @@ export default {
4052
4332
  schema: {
4053
4333
  properties: {
4054
4334
  action_attempt: {
4055
- discriminator: { propertyName: 'status' },
4056
- oneOf: [
4057
- {
4058
- properties: {
4059
- action_attempt_id: {
4060
- format: 'uuid',
4061
- type: 'string',
4062
- },
4063
- action_type: { type: 'string' },
4064
- error: {
4065
- format: 'null',
4066
- nullable: true,
4067
- type: 'string',
4068
- },
4069
- result: { nullable: true },
4070
- status: { enum: ['success'], type: 'string' },
4071
- },
4072
- required: [
4073
- 'status',
4074
- 'action_type',
4075
- 'action_attempt_id',
4076
- 'error',
4077
- ],
4078
- type: 'object',
4079
- },
4080
- {
4081
- properties: {
4082
- action_attempt_id: {
4083
- format: 'uuid',
4084
- type: 'string',
4085
- },
4086
- action_type: { type: 'string' },
4087
- error: {
4088
- format: 'null',
4089
- nullable: true,
4090
- type: 'string',
4091
- },
4092
- result: {
4093
- format: 'null',
4094
- nullable: true,
4095
- type: 'string',
4096
- },
4097
- status: { enum: ['pending'], type: 'string' },
4098
- },
4099
- required: [
4100
- 'status',
4101
- 'action_type',
4102
- 'action_attempt_id',
4103
- 'result',
4104
- 'error',
4105
- ],
4106
- type: 'object',
4107
- },
4108
- {
4109
- properties: {
4110
- action_attempt_id: {
4111
- format: 'uuid',
4112
- type: 'string',
4113
- },
4114
- action_type: { type: 'string' },
4115
- error: {
4116
- properties: {
4117
- message: { type: 'string' },
4118
- type: { type: 'string' },
4119
- },
4120
- required: ['type', 'message'],
4121
- type: 'object',
4122
- },
4123
- result: {
4124
- format: 'null',
4125
- nullable: true,
4126
- type: 'string',
4127
- },
4128
- status: { enum: ['error'], type: 'string' },
4129
- },
4130
- required: [
4131
- 'status',
4132
- 'action_type',
4133
- 'action_attempt_id',
4134
- 'result',
4135
- 'error',
4136
- ],
4137
- type: 'object',
4138
- },
4139
- ],
4335
+ $ref: '#/components/schemas/action_attempt',
4140
4336
  },
4141
4337
  ok: { type: 'boolean' },
4142
4338
  },
@@ -4412,91 +4608,7 @@ export default {
4412
4608
  schema: {
4413
4609
  properties: {
4414
4610
  action_attempt: {
4415
- discriminator: { propertyName: 'status' },
4416
- oneOf: [
4417
- {
4418
- properties: {
4419
- action_attempt_id: {
4420
- format: 'uuid',
4421
- type: 'string',
4422
- },
4423
- action_type: { type: 'string' },
4424
- error: {
4425
- format: 'null',
4426
- nullable: true,
4427
- type: 'string',
4428
- },
4429
- result: { nullable: true },
4430
- status: { enum: ['success'], type: 'string' },
4431
- },
4432
- required: [
4433
- 'status',
4434
- 'action_type',
4435
- 'action_attempt_id',
4436
- 'error',
4437
- ],
4438
- type: 'object',
4439
- },
4440
- {
4441
- properties: {
4442
- action_attempt_id: {
4443
- format: 'uuid',
4444
- type: 'string',
4445
- },
4446
- action_type: { type: 'string' },
4447
- error: {
4448
- format: 'null',
4449
- nullable: true,
4450
- type: 'string',
4451
- },
4452
- result: {
4453
- format: 'null',
4454
- nullable: true,
4455
- type: 'string',
4456
- },
4457
- status: { enum: ['pending'], type: 'string' },
4458
- },
4459
- required: [
4460
- 'status',
4461
- 'action_type',
4462
- 'action_attempt_id',
4463
- 'result',
4464
- 'error',
4465
- ],
4466
- type: 'object',
4467
- },
4468
- {
4469
- properties: {
4470
- action_attempt_id: {
4471
- format: 'uuid',
4472
- type: 'string',
4473
- },
4474
- action_type: { type: 'string' },
4475
- error: {
4476
- properties: {
4477
- message: { type: 'string' },
4478
- type: { type: 'string' },
4479
- },
4480
- required: ['type', 'message'],
4481
- type: 'object',
4482
- },
4483
- result: {
4484
- format: 'null',
4485
- nullable: true,
4486
- type: 'string',
4487
- },
4488
- status: { enum: ['error'], type: 'string' },
4489
- },
4490
- required: [
4491
- 'status',
4492
- 'action_type',
4493
- 'action_attempt_id',
4494
- 'result',
4495
- 'error',
4496
- ],
4497
- type: 'object',
4498
- },
4499
- ],
4611
+ $ref: '#/components/schemas/action_attempt',
4500
4612
  },
4501
4613
  ok: { type: 'boolean' },
4502
4614
  },
@@ -4571,91 +4683,7 @@ export default {
4571
4683
  schema: {
4572
4684
  properties: {
4573
4685
  action_attempt: {
4574
- discriminator: { propertyName: 'status' },
4575
- oneOf: [
4576
- {
4577
- properties: {
4578
- action_attempt_id: {
4579
- format: 'uuid',
4580
- type: 'string',
4581
- },
4582
- action_type: { type: 'string' },
4583
- error: {
4584
- format: 'null',
4585
- nullable: true,
4586
- type: 'string',
4587
- },
4588
- result: { nullable: true },
4589
- status: { enum: ['success'], type: 'string' },
4590
- },
4591
- required: [
4592
- 'status',
4593
- 'action_type',
4594
- 'action_attempt_id',
4595
- 'error',
4596
- ],
4597
- type: 'object',
4598
- },
4599
- {
4600
- properties: {
4601
- action_attempt_id: {
4602
- format: 'uuid',
4603
- type: 'string',
4604
- },
4605
- action_type: { type: 'string' },
4606
- error: {
4607
- format: 'null',
4608
- nullable: true,
4609
- type: 'string',
4610
- },
4611
- result: {
4612
- format: 'null',
4613
- nullable: true,
4614
- type: 'string',
4615
- },
4616
- status: { enum: ['pending'], type: 'string' },
4617
- },
4618
- required: [
4619
- 'status',
4620
- 'action_type',
4621
- 'action_attempt_id',
4622
- 'result',
4623
- 'error',
4624
- ],
4625
- type: 'object',
4626
- },
4627
- {
4628
- properties: {
4629
- action_attempt_id: {
4630
- format: 'uuid',
4631
- type: 'string',
4632
- },
4633
- action_type: { type: 'string' },
4634
- error: {
4635
- properties: {
4636
- message: { type: 'string' },
4637
- type: { type: 'string' },
4638
- },
4639
- required: ['type', 'message'],
4640
- type: 'object',
4641
- },
4642
- result: {
4643
- format: 'null',
4644
- nullable: true,
4645
- type: 'string',
4646
- },
4647
- status: { enum: ['error'], type: 'string' },
4648
- },
4649
- required: [
4650
- 'status',
4651
- 'action_type',
4652
- 'action_attempt_id',
4653
- 'result',
4654
- 'error',
4655
- ],
4656
- type: 'object',
4657
- },
4658
- ],
4686
+ $ref: '#/components/schemas/action_attempt',
4659
4687
  },
4660
4688
  ok: { type: 'boolean' },
4661
4689
  },
@@ -4720,102 +4748,18 @@ export default {
4720
4748
  },
4721
4749
  required: ['access_code_id'],
4722
4750
  type: 'object',
4723
- },
4724
- },
4725
- },
4726
- },
4727
- responses: {
4728
- 200: {
4729
- content: {
4730
- 'application/json': {
4731
- schema: {
4732
- properties: {
4733
- action_attempt: {
4734
- discriminator: { propertyName: 'status' },
4735
- oneOf: [
4736
- {
4737
- properties: {
4738
- action_attempt_id: {
4739
- format: 'uuid',
4740
- type: 'string',
4741
- },
4742
- action_type: { type: 'string' },
4743
- error: {
4744
- format: 'null',
4745
- nullable: true,
4746
- type: 'string',
4747
- },
4748
- result: { nullable: true },
4749
- status: { enum: ['success'], type: 'string' },
4750
- },
4751
- required: [
4752
- 'status',
4753
- 'action_type',
4754
- 'action_attempt_id',
4755
- 'error',
4756
- ],
4757
- type: 'object',
4758
- },
4759
- {
4760
- properties: {
4761
- action_attempt_id: {
4762
- format: 'uuid',
4763
- type: 'string',
4764
- },
4765
- action_type: { type: 'string' },
4766
- error: {
4767
- format: 'null',
4768
- nullable: true,
4769
- type: 'string',
4770
- },
4771
- result: {
4772
- format: 'null',
4773
- nullable: true,
4774
- type: 'string',
4775
- },
4776
- status: { enum: ['pending'], type: 'string' },
4777
- },
4778
- required: [
4779
- 'status',
4780
- 'action_type',
4781
- 'action_attempt_id',
4782
- 'result',
4783
- 'error',
4784
- ],
4785
- type: 'object',
4786
- },
4787
- {
4788
- properties: {
4789
- action_attempt_id: {
4790
- format: 'uuid',
4791
- type: 'string',
4792
- },
4793
- action_type: { type: 'string' },
4794
- error: {
4795
- properties: {
4796
- message: { type: 'string' },
4797
- type: { type: 'string' },
4798
- },
4799
- required: ['type', 'message'],
4800
- type: 'object',
4801
- },
4802
- result: {
4803
- format: 'null',
4804
- nullable: true,
4805
- type: 'string',
4806
- },
4807
- status: { enum: ['error'], type: 'string' },
4808
- },
4809
- required: [
4810
- 'status',
4811
- 'action_type',
4812
- 'action_attempt_id',
4813
- 'result',
4814
- 'error',
4815
- ],
4816
- type: 'object',
4817
- },
4818
- ],
4751
+ },
4752
+ },
4753
+ },
4754
+ },
4755
+ responses: {
4756
+ 200: {
4757
+ content: {
4758
+ 'application/json': {
4759
+ schema: {
4760
+ properties: {
4761
+ action_attempt: {
4762
+ $ref: '#/components/schemas/action_attempt',
4819
4763
  },
4820
4764
  ok: { type: 'boolean' },
4821
4765
  },
@@ -6844,91 +6788,7 @@ export default {
6844
6788
  schema: {
6845
6789
  properties: {
6846
6790
  action_attempt: {
6847
- discriminator: { propertyName: 'status' },
6848
- oneOf: [
6849
- {
6850
- properties: {
6851
- action_attempt_id: {
6852
- format: 'uuid',
6853
- type: 'string',
6854
- },
6855
- action_type: { type: 'string' },
6856
- error: {
6857
- format: 'null',
6858
- nullable: true,
6859
- type: 'string',
6860
- },
6861
- result: { nullable: true },
6862
- status: { enum: ['success'], type: 'string' },
6863
- },
6864
- required: [
6865
- 'status',
6866
- 'action_type',
6867
- 'action_attempt_id',
6868
- 'error',
6869
- ],
6870
- type: 'object',
6871
- },
6872
- {
6873
- properties: {
6874
- action_attempt_id: {
6875
- format: 'uuid',
6876
- type: 'string',
6877
- },
6878
- action_type: { type: 'string' },
6879
- error: {
6880
- format: 'null',
6881
- nullable: true,
6882
- type: 'string',
6883
- },
6884
- result: {
6885
- format: 'null',
6886
- nullable: true,
6887
- type: 'string',
6888
- },
6889
- status: { enum: ['pending'], type: 'string' },
6890
- },
6891
- required: [
6892
- 'status',
6893
- 'action_type',
6894
- 'action_attempt_id',
6895
- 'result',
6896
- 'error',
6897
- ],
6898
- type: 'object',
6899
- },
6900
- {
6901
- properties: {
6902
- action_attempt_id: {
6903
- format: 'uuid',
6904
- type: 'string',
6905
- },
6906
- action_type: { type: 'string' },
6907
- error: {
6908
- properties: {
6909
- message: { type: 'string' },
6910
- type: { type: 'string' },
6911
- },
6912
- required: ['type', 'message'],
6913
- type: 'object',
6914
- },
6915
- result: {
6916
- format: 'null',
6917
- nullable: true,
6918
- type: 'string',
6919
- },
6920
- status: { enum: ['error'], type: 'string' },
6921
- },
6922
- required: [
6923
- 'status',
6924
- 'action_type',
6925
- 'action_attempt_id',
6926
- 'result',
6927
- 'error',
6928
- ],
6929
- type: 'object',
6930
- },
6931
- ],
6791
+ $ref: '#/components/schemas/action_attempt',
6932
6792
  },
6933
6793
  ok: { type: 'boolean' },
6934
6794
  },
@@ -6981,93 +6841,7 @@ export default {
6981
6841
  schema: {
6982
6842
  properties: {
6983
6843
  action_attempts: {
6984
- items: {
6985
- discriminator: { propertyName: 'status' },
6986
- oneOf: [
6987
- {
6988
- properties: {
6989
- action_attempt_id: {
6990
- format: 'uuid',
6991
- type: 'string',
6992
- },
6993
- action_type: { type: 'string' },
6994
- error: {
6995
- format: 'null',
6996
- nullable: true,
6997
- type: 'string',
6998
- },
6999
- result: { nullable: true },
7000
- status: { enum: ['success'], type: 'string' },
7001
- },
7002
- required: [
7003
- 'status',
7004
- 'action_type',
7005
- 'action_attempt_id',
7006
- 'error',
7007
- ],
7008
- type: 'object',
7009
- },
7010
- {
7011
- properties: {
7012
- action_attempt_id: {
7013
- format: 'uuid',
7014
- type: 'string',
7015
- },
7016
- action_type: { type: 'string' },
7017
- error: {
7018
- format: 'null',
7019
- nullable: true,
7020
- type: 'string',
7021
- },
7022
- result: {
7023
- format: 'null',
7024
- nullable: true,
7025
- type: 'string',
7026
- },
7027
- status: { enum: ['pending'], type: 'string' },
7028
- },
7029
- required: [
7030
- 'status',
7031
- 'action_type',
7032
- 'action_attempt_id',
7033
- 'result',
7034
- 'error',
7035
- ],
7036
- type: 'object',
7037
- },
7038
- {
7039
- properties: {
7040
- action_attempt_id: {
7041
- format: 'uuid',
7042
- type: 'string',
7043
- },
7044
- action_type: { type: 'string' },
7045
- error: {
7046
- properties: {
7047
- message: { type: 'string' },
7048
- type: { type: 'string' },
7049
- },
7050
- required: ['type', 'message'],
7051
- type: 'object',
7052
- },
7053
- result: {
7054
- format: 'null',
7055
- nullable: true,
7056
- type: 'string',
7057
- },
7058
- status: { enum: ['error'], type: 'string' },
7059
- },
7060
- required: [
7061
- 'status',
7062
- 'action_type',
7063
- 'action_attempt_id',
7064
- 'result',
7065
- 'error',
7066
- ],
7067
- type: 'object',
7068
- },
7069
- ],
7070
- },
6844
+ items: { $ref: '#/components/schemas/action_attempt' },
7071
6845
  type: 'array',
7072
6846
  },
7073
6847
  ok: { type: 'boolean' },
@@ -9816,91 +9590,7 @@ export default {
9816
9590
  schema: {
9817
9591
  properties: {
9818
9592
  action_attempt: {
9819
- discriminator: { propertyName: 'status' },
9820
- oneOf: [
9821
- {
9822
- properties: {
9823
- action_attempt_id: {
9824
- format: 'uuid',
9825
- type: 'string',
9826
- },
9827
- action_type: { type: 'string' },
9828
- error: {
9829
- format: 'null',
9830
- nullable: true,
9831
- type: 'string',
9832
- },
9833
- result: { nullable: true },
9834
- status: { enum: ['success'], type: 'string' },
9835
- },
9836
- required: [
9837
- 'status',
9838
- 'action_type',
9839
- 'action_attempt_id',
9840
- 'error',
9841
- ],
9842
- type: 'object',
9843
- },
9844
- {
9845
- properties: {
9846
- action_attempt_id: {
9847
- format: 'uuid',
9848
- type: 'string',
9849
- },
9850
- action_type: { type: 'string' },
9851
- error: {
9852
- format: 'null',
9853
- nullable: true,
9854
- type: 'string',
9855
- },
9856
- result: {
9857
- format: 'null',
9858
- nullable: true,
9859
- type: 'string',
9860
- },
9861
- status: { enum: ['pending'], type: 'string' },
9862
- },
9863
- required: [
9864
- 'status',
9865
- 'action_type',
9866
- 'action_attempt_id',
9867
- 'result',
9868
- 'error',
9869
- ],
9870
- type: 'object',
9871
- },
9872
- {
9873
- properties: {
9874
- action_attempt_id: {
9875
- format: 'uuid',
9876
- type: 'string',
9877
- },
9878
- action_type: { type: 'string' },
9879
- error: {
9880
- properties: {
9881
- message: { type: 'string' },
9882
- type: { type: 'string' },
9883
- },
9884
- required: ['type', 'message'],
9885
- type: 'object',
9886
- },
9887
- result: {
9888
- format: 'null',
9889
- nullable: true,
9890
- type: 'string',
9891
- },
9892
- status: { enum: ['error'], type: 'string' },
9893
- },
9894
- required: [
9895
- 'status',
9896
- 'action_type',
9897
- 'action_attempt_id',
9898
- 'result',
9899
- 'error',
9900
- ],
9901
- type: 'object',
9902
- },
9903
- ],
9593
+ $ref: '#/components/schemas/action_attempt',
9904
9594
  },
9905
9595
  noise_threshold: {
9906
9596
  $ref: '#/components/schemas/noise_threshold',
@@ -9954,91 +9644,7 @@ export default {
9954
9644
  schema: {
9955
9645
  properties: {
9956
9646
  action_attempt: {
9957
- discriminator: { propertyName: 'status' },
9958
- oneOf: [
9959
- {
9960
- properties: {
9961
- action_attempt_id: {
9962
- format: 'uuid',
9963
- type: 'string',
9964
- },
9965
- action_type: { type: 'string' },
9966
- error: {
9967
- format: 'null',
9968
- nullable: true,
9969
- type: 'string',
9970
- },
9971
- result: { nullable: true },
9972
- status: { enum: ['success'], type: 'string' },
9973
- },
9974
- required: [
9975
- 'status',
9976
- 'action_type',
9977
- 'action_attempt_id',
9978
- 'error',
9979
- ],
9980
- type: 'object',
9981
- },
9982
- {
9983
- properties: {
9984
- action_attempt_id: {
9985
- format: 'uuid',
9986
- type: 'string',
9987
- },
9988
- action_type: { type: 'string' },
9989
- error: {
9990
- format: 'null',
9991
- nullable: true,
9992
- type: 'string',
9993
- },
9994
- result: {
9995
- format: 'null',
9996
- nullable: true,
9997
- type: 'string',
9998
- },
9999
- status: { enum: ['pending'], type: 'string' },
10000
- },
10001
- required: [
10002
- 'status',
10003
- 'action_type',
10004
- 'action_attempt_id',
10005
- 'result',
10006
- 'error',
10007
- ],
10008
- type: 'object',
10009
- },
10010
- {
10011
- properties: {
10012
- action_attempt_id: {
10013
- format: 'uuid',
10014
- type: 'string',
10015
- },
10016
- action_type: { type: 'string' },
10017
- error: {
10018
- properties: {
10019
- message: { type: 'string' },
10020
- type: { type: 'string' },
10021
- },
10022
- required: ['type', 'message'],
10023
- type: 'object',
10024
- },
10025
- result: {
10026
- format: 'null',
10027
- nullable: true,
10028
- type: 'string',
10029
- },
10030
- status: { enum: ['error'], type: 'string' },
10031
- },
10032
- required: [
10033
- 'status',
10034
- 'action_type',
10035
- 'action_attempt_id',
10036
- 'result',
10037
- 'error',
10038
- ],
10039
- type: 'object',
10040
- },
10041
- ],
9647
+ $ref: '#/components/schemas/action_attempt',
10042
9648
  },
10043
9649
  ok: { type: 'boolean' },
10044
9650
  },
@@ -10193,91 +9799,7 @@ export default {
10193
9799
  schema: {
10194
9800
  properties: {
10195
9801
  action_attempt: {
10196
- discriminator: { propertyName: 'status' },
10197
- oneOf: [
10198
- {
10199
- properties: {
10200
- action_attempt_id: {
10201
- format: 'uuid',
10202
- type: 'string',
10203
- },
10204
- action_type: { type: 'string' },
10205
- error: {
10206
- format: 'null',
10207
- nullable: true,
10208
- type: 'string',
10209
- },
10210
- result: { nullable: true },
10211
- status: { enum: ['success'], type: 'string' },
10212
- },
10213
- required: [
10214
- 'status',
10215
- 'action_type',
10216
- 'action_attempt_id',
10217
- 'error',
10218
- ],
10219
- type: 'object',
10220
- },
10221
- {
10222
- properties: {
10223
- action_attempt_id: {
10224
- format: 'uuid',
10225
- type: 'string',
10226
- },
10227
- action_type: { type: 'string' },
10228
- error: {
10229
- format: 'null',
10230
- nullable: true,
10231
- type: 'string',
10232
- },
10233
- result: {
10234
- format: 'null',
10235
- nullable: true,
10236
- type: 'string',
10237
- },
10238
- status: { enum: ['pending'], type: 'string' },
10239
- },
10240
- required: [
10241
- 'status',
10242
- 'action_type',
10243
- 'action_attempt_id',
10244
- 'result',
10245
- 'error',
10246
- ],
10247
- type: 'object',
10248
- },
10249
- {
10250
- properties: {
10251
- action_attempt_id: {
10252
- format: 'uuid',
10253
- type: 'string',
10254
- },
10255
- action_type: { type: 'string' },
10256
- error: {
10257
- properties: {
10258
- message: { type: 'string' },
10259
- type: { type: 'string' },
10260
- },
10261
- required: ['type', 'message'],
10262
- type: 'object',
10263
- },
10264
- result: {
10265
- format: 'null',
10266
- nullable: true,
10267
- type: 'string',
10268
- },
10269
- status: { enum: ['error'], type: 'string' },
10270
- },
10271
- required: [
10272
- 'status',
10273
- 'action_type',
10274
- 'action_attempt_id',
10275
- 'result',
10276
- 'error',
10277
- ],
10278
- type: 'object',
10279
- },
10280
- ],
9802
+ $ref: '#/components/schemas/action_attempt',
10281
9803
  },
10282
9804
  ok: { type: 'boolean' },
10283
9805
  },
@@ -10329,91 +9851,7 @@ export default {
10329
9851
  schema: {
10330
9852
  properties: {
10331
9853
  action_attempt: {
10332
- discriminator: { propertyName: 'status' },
10333
- oneOf: [
10334
- {
10335
- properties: {
10336
- action_attempt_id: {
10337
- format: 'uuid',
10338
- type: 'string',
10339
- },
10340
- action_type: { type: 'string' },
10341
- error: {
10342
- format: 'null',
10343
- nullable: true,
10344
- type: 'string',
10345
- },
10346
- result: { nullable: true },
10347
- status: { enum: ['success'], type: 'string' },
10348
- },
10349
- required: [
10350
- 'status',
10351
- 'action_type',
10352
- 'action_attempt_id',
10353
- 'error',
10354
- ],
10355
- type: 'object',
10356
- },
10357
- {
10358
- properties: {
10359
- action_attempt_id: {
10360
- format: 'uuid',
10361
- type: 'string',
10362
- },
10363
- action_type: { type: 'string' },
10364
- error: {
10365
- format: 'null',
10366
- nullable: true,
10367
- type: 'string',
10368
- },
10369
- result: {
10370
- format: 'null',
10371
- nullable: true,
10372
- type: 'string',
10373
- },
10374
- status: { enum: ['pending'], type: 'string' },
10375
- },
10376
- required: [
10377
- 'status',
10378
- 'action_type',
10379
- 'action_attempt_id',
10380
- 'result',
10381
- 'error',
10382
- ],
10383
- type: 'object',
10384
- },
10385
- {
10386
- properties: {
10387
- action_attempt_id: {
10388
- format: 'uuid',
10389
- type: 'string',
10390
- },
10391
- action_type: { type: 'string' },
10392
- error: {
10393
- properties: {
10394
- message: { type: 'string' },
10395
- type: { type: 'string' },
10396
- },
10397
- required: ['type', 'message'],
10398
- type: 'object',
10399
- },
10400
- result: {
10401
- format: 'null',
10402
- nullable: true,
10403
- type: 'string',
10404
- },
10405
- status: { enum: ['error'], type: 'string' },
10406
- },
10407
- required: [
10408
- 'status',
10409
- 'action_type',
10410
- 'action_attempt_id',
10411
- 'result',
10412
- 'error',
10413
- ],
10414
- type: 'object',
10415
- },
10416
- ],
9854
+ $ref: '#/components/schemas/action_attempt',
10417
9855
  },
10418
9856
  ok: { type: 'boolean' },
10419
9857
  },
@@ -10466,91 +9904,7 @@ export default {
10466
9904
  schema: {
10467
9905
  properties: {
10468
9906
  action_attempt: {
10469
- discriminator: { propertyName: 'status' },
10470
- oneOf: [
10471
- {
10472
- properties: {
10473
- action_attempt_id: {
10474
- format: 'uuid',
10475
- type: 'string',
10476
- },
10477
- action_type: { type: 'string' },
10478
- error: {
10479
- format: 'null',
10480
- nullable: true,
10481
- type: 'string',
10482
- },
10483
- result: { nullable: true },
10484
- status: { enum: ['success'], type: 'string' },
10485
- },
10486
- required: [
10487
- 'status',
10488
- 'action_type',
10489
- 'action_attempt_id',
10490
- 'error',
10491
- ],
10492
- type: 'object',
10493
- },
10494
- {
10495
- properties: {
10496
- action_attempt_id: {
10497
- format: 'uuid',
10498
- type: 'string',
10499
- },
10500
- action_type: { type: 'string' },
10501
- error: {
10502
- format: 'null',
10503
- nullable: true,
10504
- type: 'string',
10505
- },
10506
- result: {
10507
- format: 'null',
10508
- nullable: true,
10509
- type: 'string',
10510
- },
10511
- status: { enum: ['pending'], type: 'string' },
10512
- },
10513
- required: [
10514
- 'status',
10515
- 'action_type',
10516
- 'action_attempt_id',
10517
- 'result',
10518
- 'error',
10519
- ],
10520
- type: 'object',
10521
- },
10522
- {
10523
- properties: {
10524
- action_attempt_id: {
10525
- format: 'uuid',
10526
- type: 'string',
10527
- },
10528
- action_type: { type: 'string' },
10529
- error: {
10530
- properties: {
10531
- message: { type: 'string' },
10532
- type: { type: 'string' },
10533
- },
10534
- required: ['type', 'message'],
10535
- type: 'object',
10536
- },
10537
- result: {
10538
- format: 'null',
10539
- nullable: true,
10540
- type: 'string',
10541
- },
10542
- status: { enum: ['error'], type: 'string' },
10543
- },
10544
- required: [
10545
- 'status',
10546
- 'action_type',
10547
- 'action_attempt_id',
10548
- 'result',
10549
- 'error',
10550
- ],
10551
- type: 'object',
10552
- },
10553
- ],
9907
+ $ref: '#/components/schemas/action_attempt',
10554
9908
  },
10555
9909
  ok: { type: 'boolean' },
10556
9910
  },