@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.
@@ -1141,6 +1141,475 @@ export default {
1141
1141
  ],
1142
1142
  type: 'object',
1143
1143
  },
1144
+ {
1145
+ properties: {
1146
+ action_attempt_id: {
1147
+ description:
1148
+ '\n ---\n title: Action Attempt ID\n ---\n The ID of the action attempt.\n ',
1149
+ format: 'uuid',
1150
+ type: 'string',
1151
+ },
1152
+ action_type: { enum: ['SYNC_ACCESS_CODES'], type: 'string' },
1153
+ error: { format: 'null', nullable: true, type: 'string' },
1154
+ result: { format: 'null', nullable: true, type: 'string' },
1155
+ status: { enum: ['pending'], type: 'string' },
1156
+ },
1157
+ required: [
1158
+ 'action_attempt_id',
1159
+ 'status',
1160
+ 'result',
1161
+ 'error',
1162
+ 'action_type',
1163
+ ],
1164
+ type: 'object',
1165
+ },
1166
+ {
1167
+ properties: {
1168
+ action_attempt_id: {
1169
+ description:
1170
+ '\n ---\n title: Action Attempt ID\n ---\n The ID of the action attempt.\n ',
1171
+ format: 'uuid',
1172
+ type: 'string',
1173
+ },
1174
+ action_type: { enum: ['SYNC_ACCESS_CODES'], type: 'string' },
1175
+ error: { format: 'null', nullable: true, type: 'string' },
1176
+ result: { nullable: true },
1177
+ status: { enum: ['success'], type: 'string' },
1178
+ },
1179
+ required: ['action_attempt_id', 'status', 'error', 'action_type'],
1180
+ type: 'object',
1181
+ },
1182
+ {
1183
+ properties: {
1184
+ action_attempt_id: {
1185
+ description:
1186
+ '\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: ['SYNC_ACCESS_CODES'], type: 'string' },
1191
+ error: {
1192
+ properties: {
1193
+ message: { type: 'string' },
1194
+ type: { type: 'string' },
1195
+ },
1196
+ required: ['type', 'message'],
1197
+ type: 'object',
1198
+ },
1199
+ result: { format: 'null', nullable: true, type: 'string' },
1200
+ status: { enum: ['error'], type: 'string' },
1201
+ },
1202
+ required: [
1203
+ 'action_attempt_id',
1204
+ 'status',
1205
+ 'result',
1206
+ 'action_type',
1207
+ 'error',
1208
+ ],
1209
+ type: 'object',
1210
+ },
1211
+ {
1212
+ properties: {
1213
+ action_attempt_id: {
1214
+ description:
1215
+ '\n ---\n title: Action Attempt ID\n ---\n The ID of the action attempt.\n ',
1216
+ format: 'uuid',
1217
+ type: 'string',
1218
+ },
1219
+ action_type: { enum: ['CREATE_ACCESS_CODE'], type: 'string' },
1220
+ error: { format: 'null', nullable: true, type: 'string' },
1221
+ result: { format: 'null', nullable: true, type: 'string' },
1222
+ status: { enum: ['pending'], type: 'string' },
1223
+ },
1224
+ required: [
1225
+ 'action_attempt_id',
1226
+ 'status',
1227
+ 'result',
1228
+ 'error',
1229
+ 'action_type',
1230
+ ],
1231
+ type: 'object',
1232
+ },
1233
+ {
1234
+ properties: {
1235
+ action_attempt_id: {
1236
+ description:
1237
+ '\n ---\n title: Action Attempt ID\n ---\n The ID of the action attempt.\n ',
1238
+ format: 'uuid',
1239
+ type: 'string',
1240
+ },
1241
+ action_type: { enum: ['CREATE_ACCESS_CODE'], type: 'string' },
1242
+ error: { format: 'null', nullable: true, type: 'string' },
1243
+ result: { nullable: true },
1244
+ status: { enum: ['success'], type: 'string' },
1245
+ },
1246
+ required: ['action_attempt_id', 'status', 'error', 'action_type'],
1247
+ type: 'object',
1248
+ },
1249
+ {
1250
+ properties: {
1251
+ action_attempt_id: {
1252
+ description:
1253
+ '\n ---\n title: Action Attempt ID\n ---\n The ID of the action attempt.\n ',
1254
+ format: 'uuid',
1255
+ type: 'string',
1256
+ },
1257
+ action_type: { enum: ['CREATE_ACCESS_CODE'], type: 'string' },
1258
+ error: {
1259
+ properties: {
1260
+ message: { type: 'string' },
1261
+ type: { type: 'string' },
1262
+ },
1263
+ required: ['type', 'message'],
1264
+ type: 'object',
1265
+ },
1266
+ result: { format: 'null', nullable: true, type: 'string' },
1267
+ status: { enum: ['error'], type: 'string' },
1268
+ },
1269
+ required: [
1270
+ 'action_attempt_id',
1271
+ 'status',
1272
+ 'result',
1273
+ 'action_type',
1274
+ 'error',
1275
+ ],
1276
+ type: 'object',
1277
+ },
1278
+ {
1279
+ properties: {
1280
+ action_attempt_id: {
1281
+ description:
1282
+ '\n ---\n title: Action Attempt ID\n ---\n The ID of the action attempt.\n ',
1283
+ format: 'uuid',
1284
+ type: 'string',
1285
+ },
1286
+ action_type: { enum: ['DELETE_ACCESS_CODE'], type: 'string' },
1287
+ error: { format: 'null', nullable: true, type: 'string' },
1288
+ result: { format: 'null', nullable: true, type: 'string' },
1289
+ status: { enum: ['pending'], type: 'string' },
1290
+ },
1291
+ required: [
1292
+ 'action_attempt_id',
1293
+ 'status',
1294
+ 'result',
1295
+ 'error',
1296
+ 'action_type',
1297
+ ],
1298
+ type: 'object',
1299
+ },
1300
+ {
1301
+ properties: {
1302
+ action_attempt_id: {
1303
+ description:
1304
+ '\n ---\n title: Action Attempt ID\n ---\n The ID of the action attempt.\n ',
1305
+ format: 'uuid',
1306
+ type: 'string',
1307
+ },
1308
+ action_type: { enum: ['DELETE_ACCESS_CODE'], type: 'string' },
1309
+ error: { format: 'null', nullable: true, type: 'string' },
1310
+ result: { nullable: true },
1311
+ status: { enum: ['success'], type: 'string' },
1312
+ },
1313
+ required: ['action_attempt_id', 'status', 'error', 'action_type'],
1314
+ type: 'object',
1315
+ },
1316
+ {
1317
+ properties: {
1318
+ action_attempt_id: {
1319
+ description:
1320
+ '\n ---\n title: Action Attempt ID\n ---\n The ID of the action attempt.\n ',
1321
+ format: 'uuid',
1322
+ type: 'string',
1323
+ },
1324
+ action_type: { enum: ['DELETE_ACCESS_CODE'], type: 'string' },
1325
+ error: {
1326
+ properties: {
1327
+ message: { type: 'string' },
1328
+ type: { type: 'string' },
1329
+ },
1330
+ required: ['type', 'message'],
1331
+ type: 'object',
1332
+ },
1333
+ result: { format: 'null', nullable: true, type: 'string' },
1334
+ status: { enum: ['error'], type: 'string' },
1335
+ },
1336
+ required: [
1337
+ 'action_attempt_id',
1338
+ 'status',
1339
+ 'result',
1340
+ 'action_type',
1341
+ 'error',
1342
+ ],
1343
+ type: 'object',
1344
+ },
1345
+ {
1346
+ properties: {
1347
+ action_attempt_id: {
1348
+ description:
1349
+ '\n ---\n title: Action Attempt ID\n ---\n The ID of the action attempt.\n ',
1350
+ format: 'uuid',
1351
+ type: 'string',
1352
+ },
1353
+ action_type: { enum: ['UPDATE_ACCESS_CODE'], type: 'string' },
1354
+ error: { format: 'null', nullable: true, type: 'string' },
1355
+ result: { format: 'null', nullable: true, type: 'string' },
1356
+ status: { enum: ['pending'], type: 'string' },
1357
+ },
1358
+ required: [
1359
+ 'action_attempt_id',
1360
+ 'status',
1361
+ 'result',
1362
+ 'error',
1363
+ 'action_type',
1364
+ ],
1365
+ type: 'object',
1366
+ },
1367
+ {
1368
+ properties: {
1369
+ action_attempt_id: {
1370
+ description:
1371
+ '\n ---\n title: Action Attempt ID\n ---\n The ID of the action attempt.\n ',
1372
+ format: 'uuid',
1373
+ type: 'string',
1374
+ },
1375
+ action_type: { enum: ['UPDATE_ACCESS_CODE'], type: 'string' },
1376
+ error: { format: 'null', nullable: true, type: 'string' },
1377
+ result: { nullable: true },
1378
+ status: { enum: ['success'], type: 'string' },
1379
+ },
1380
+ required: ['action_attempt_id', 'status', 'error', 'action_type'],
1381
+ type: 'object',
1382
+ },
1383
+ {
1384
+ properties: {
1385
+ action_attempt_id: {
1386
+ description:
1387
+ '\n ---\n title: Action Attempt ID\n ---\n The ID of the action attempt.\n ',
1388
+ format: 'uuid',
1389
+ type: 'string',
1390
+ },
1391
+ action_type: { enum: ['UPDATE_ACCESS_CODE'], type: 'string' },
1392
+ error: {
1393
+ properties: {
1394
+ message: { type: 'string' },
1395
+ type: { type: 'string' },
1396
+ },
1397
+ required: ['type', 'message'],
1398
+ type: 'object',
1399
+ },
1400
+ result: { format: 'null', nullable: true, type: 'string' },
1401
+ status: { enum: ['error'], type: 'string' },
1402
+ },
1403
+ required: [
1404
+ 'action_attempt_id',
1405
+ 'status',
1406
+ 'result',
1407
+ 'action_type',
1408
+ 'error',
1409
+ ],
1410
+ type: 'object',
1411
+ },
1412
+ {
1413
+ properties: {
1414
+ action_attempt_id: {
1415
+ description:
1416
+ '\n ---\n title: Action Attempt ID\n ---\n The ID of the action attempt.\n ',
1417
+ format: 'uuid',
1418
+ type: 'string',
1419
+ },
1420
+ action_type: { enum: ['CREATE_NOISE_THRESHOLD'], type: 'string' },
1421
+ error: { format: 'null', nullable: true, type: 'string' },
1422
+ result: { format: 'null', nullable: true, type: 'string' },
1423
+ status: { enum: ['pending'], type: 'string' },
1424
+ },
1425
+ required: [
1426
+ 'action_attempt_id',
1427
+ 'status',
1428
+ 'result',
1429
+ 'error',
1430
+ 'action_type',
1431
+ ],
1432
+ type: 'object',
1433
+ },
1434
+ {
1435
+ properties: {
1436
+ action_attempt_id: {
1437
+ description:
1438
+ '\n ---\n title: Action Attempt ID\n ---\n The ID of the action attempt.\n ',
1439
+ format: 'uuid',
1440
+ type: 'string',
1441
+ },
1442
+ action_type: { enum: ['CREATE_NOISE_THRESHOLD'], type: 'string' },
1443
+ error: { format: 'null', nullable: true, type: 'string' },
1444
+ result: { nullable: true },
1445
+ status: { enum: ['success'], type: 'string' },
1446
+ },
1447
+ required: ['action_attempt_id', 'status', 'error', 'action_type'],
1448
+ type: 'object',
1449
+ },
1450
+ {
1451
+ properties: {
1452
+ action_attempt_id: {
1453
+ description:
1454
+ '\n ---\n title: Action Attempt ID\n ---\n The ID of the action attempt.\n ',
1455
+ format: 'uuid',
1456
+ type: 'string',
1457
+ },
1458
+ action_type: { enum: ['CREATE_NOISE_THRESHOLD'], type: 'string' },
1459
+ error: {
1460
+ properties: {
1461
+ message: { type: 'string' },
1462
+ type: { type: 'string' },
1463
+ },
1464
+ required: ['type', 'message'],
1465
+ type: 'object',
1466
+ },
1467
+ result: { format: 'null', nullable: true, type: 'string' },
1468
+ status: { enum: ['error'], type: 'string' },
1469
+ },
1470
+ required: [
1471
+ 'action_attempt_id',
1472
+ 'status',
1473
+ 'result',
1474
+ 'action_type',
1475
+ 'error',
1476
+ ],
1477
+ type: 'object',
1478
+ },
1479
+ {
1480
+ properties: {
1481
+ action_attempt_id: {
1482
+ description:
1483
+ '\n ---\n title: Action Attempt ID\n ---\n The ID of the action attempt.\n ',
1484
+ format: 'uuid',
1485
+ type: 'string',
1486
+ },
1487
+ action_type: { enum: ['DELETE_NOISE_THRESHOLD'], type: 'string' },
1488
+ error: { format: 'null', nullable: true, type: 'string' },
1489
+ result: { format: 'null', nullable: true, type: 'string' },
1490
+ status: { enum: ['pending'], type: 'string' },
1491
+ },
1492
+ required: [
1493
+ 'action_attempt_id',
1494
+ 'status',
1495
+ 'result',
1496
+ 'error',
1497
+ 'action_type',
1498
+ ],
1499
+ type: 'object',
1500
+ },
1501
+ {
1502
+ properties: {
1503
+ action_attempt_id: {
1504
+ description:
1505
+ '\n ---\n title: Action Attempt ID\n ---\n The ID of the action attempt.\n ',
1506
+ format: 'uuid',
1507
+ type: 'string',
1508
+ },
1509
+ action_type: { enum: ['DELETE_NOISE_THRESHOLD'], type: 'string' },
1510
+ error: { format: 'null', nullable: true, type: 'string' },
1511
+ result: { nullable: true },
1512
+ status: { enum: ['success'], type: 'string' },
1513
+ },
1514
+ required: ['action_attempt_id', 'status', 'error', 'action_type'],
1515
+ type: 'object',
1516
+ },
1517
+ {
1518
+ properties: {
1519
+ action_attempt_id: {
1520
+ description:
1521
+ '\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: ['DELETE_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
+ },
1546
+ {
1547
+ properties: {
1548
+ action_attempt_id: {
1549
+ description:
1550
+ '\n ---\n title: Action Attempt ID\n ---\n The ID of the action attempt.\n ',
1551
+ format: 'uuid',
1552
+ type: 'string',
1553
+ },
1554
+ action_type: { enum: ['UPDATE_NOISE_THRESHOLD'], type: 'string' },
1555
+ error: { format: 'null', nullable: true, type: 'string' },
1556
+ result: { format: 'null', nullable: true, type: 'string' },
1557
+ status: { enum: ['pending'], type: 'string' },
1558
+ },
1559
+ required: [
1560
+ 'action_attempt_id',
1561
+ 'status',
1562
+ 'result',
1563
+ 'error',
1564
+ 'action_type',
1565
+ ],
1566
+ type: 'object',
1567
+ },
1568
+ {
1569
+ properties: {
1570
+ action_attempt_id: {
1571
+ description:
1572
+ '\n ---\n title: Action Attempt ID\n ---\n The ID of the action attempt.\n ',
1573
+ format: 'uuid',
1574
+ type: 'string',
1575
+ },
1576
+ action_type: { enum: ['UPDATE_NOISE_THRESHOLD'], type: 'string' },
1577
+ error: { format: 'null', nullable: true, type: 'string' },
1578
+ result: { nullable: true },
1579
+ status: { enum: ['success'], type: 'string' },
1580
+ },
1581
+ required: ['action_attempt_id', 'status', 'error', 'action_type'],
1582
+ type: 'object',
1583
+ },
1584
+ {
1585
+ properties: {
1586
+ action_attempt_id: {
1587
+ description:
1588
+ '\n ---\n title: Action Attempt ID\n ---\n The ID of the action attempt.\n ',
1589
+ format: 'uuid',
1590
+ type: 'string',
1591
+ },
1592
+ action_type: { enum: ['UPDATE_NOISE_THRESHOLD'], type: 'string' },
1593
+ error: {
1594
+ properties: {
1595
+ message: { type: 'string' },
1596
+ type: { type: 'string' },
1597
+ },
1598
+ required: ['type', 'message'],
1599
+ type: 'object',
1600
+ },
1601
+ result: { format: 'null', nullable: true, type: 'string' },
1602
+ status: { enum: ['error'], type: 'string' },
1603
+ },
1604
+ required: [
1605
+ 'action_attempt_id',
1606
+ 'status',
1607
+ 'result',
1608
+ 'action_type',
1609
+ 'error',
1610
+ ],
1611
+ type: 'object',
1612
+ },
1144
1613
  ],
1145
1614
  },
1146
1615
  client_session: {
@@ -3378,91 +3847,7 @@ export default {
3378
3847
  properties: {
3379
3848
  access_code: { $ref: '#/components/schemas/access_code' },
3380
3849
  action_attempt: {
3381
- discriminator: { propertyName: 'status' },
3382
- oneOf: [
3383
- {
3384
- properties: {
3385
- action_attempt_id: {
3386
- format: 'uuid',
3387
- type: 'string',
3388
- },
3389
- action_type: { type: 'string' },
3390
- error: {
3391
- format: 'null',
3392
- nullable: true,
3393
- type: 'string',
3394
- },
3395
- result: { nullable: true },
3396
- status: { enum: ['success'], type: 'string' },
3397
- },
3398
- required: [
3399
- 'status',
3400
- 'action_type',
3401
- 'action_attempt_id',
3402
- 'error',
3403
- ],
3404
- type: 'object',
3405
- },
3406
- {
3407
- properties: {
3408
- action_attempt_id: {
3409
- format: 'uuid',
3410
- type: 'string',
3411
- },
3412
- action_type: { type: 'string' },
3413
- error: {
3414
- format: 'null',
3415
- nullable: true,
3416
- type: 'string',
3417
- },
3418
- result: {
3419
- format: 'null',
3420
- nullable: true,
3421
- type: 'string',
3422
- },
3423
- status: { enum: ['pending'], type: 'string' },
3424
- },
3425
- required: [
3426
- 'status',
3427
- 'action_type',
3428
- 'action_attempt_id',
3429
- 'result',
3430
- 'error',
3431
- ],
3432
- type: 'object',
3433
- },
3434
- {
3435
- properties: {
3436
- action_attempt_id: {
3437
- format: 'uuid',
3438
- type: 'string',
3439
- },
3440
- action_type: { type: 'string' },
3441
- error: {
3442
- properties: {
3443
- message: { type: 'string' },
3444
- type: { type: 'string' },
3445
- },
3446
- required: ['type', 'message'],
3447
- type: 'object',
3448
- },
3449
- result: {
3450
- format: 'null',
3451
- nullable: true,
3452
- type: 'string',
3453
- },
3454
- status: { enum: ['error'], type: 'string' },
3455
- },
3456
- required: [
3457
- 'status',
3458
- 'action_type',
3459
- 'action_attempt_id',
3460
- 'result',
3461
- 'error',
3462
- ],
3463
- type: 'object',
3464
- },
3465
- ],
3850
+ $ref: '#/components/schemas/action_attempt',
3466
3851
  },
3467
3852
  ok: { type: 'boolean' },
3468
3853
  },
@@ -3680,91 +4065,7 @@ export default {
3680
4065
  schema: {
3681
4066
  properties: {
3682
4067
  action_attempt: {
3683
- discriminator: { propertyName: 'status' },
3684
- oneOf: [
3685
- {
3686
- properties: {
3687
- action_attempt_id: {
3688
- format: 'uuid',
3689
- type: 'string',
3690
- },
3691
- action_type: { type: 'string' },
3692
- error: {
3693
- format: 'null',
3694
- nullable: true,
3695
- type: 'string',
3696
- },
3697
- result: { nullable: true },
3698
- status: { enum: ['success'], type: 'string' },
3699
- },
3700
- required: [
3701
- 'status',
3702
- 'action_type',
3703
- 'action_attempt_id',
3704
- 'error',
3705
- ],
3706
- type: 'object',
3707
- },
3708
- {
3709
- properties: {
3710
- action_attempt_id: {
3711
- format: 'uuid',
3712
- type: 'string',
3713
- },
3714
- action_type: { type: 'string' },
3715
- error: {
3716
- format: 'null',
3717
- nullable: true,
3718
- type: 'string',
3719
- },
3720
- result: {
3721
- format: 'null',
3722
- nullable: true,
3723
- type: 'string',
3724
- },
3725
- status: { enum: ['pending'], type: 'string' },
3726
- },
3727
- required: [
3728
- 'status',
3729
- 'action_type',
3730
- 'action_attempt_id',
3731
- 'result',
3732
- 'error',
3733
- ],
3734
- type: 'object',
3735
- },
3736
- {
3737
- properties: {
3738
- action_attempt_id: {
3739
- format: 'uuid',
3740
- type: 'string',
3741
- },
3742
- action_type: { type: 'string' },
3743
- error: {
3744
- properties: {
3745
- message: { type: 'string' },
3746
- type: { type: 'string' },
3747
- },
3748
- required: ['type', 'message'],
3749
- type: 'object',
3750
- },
3751
- result: {
3752
- format: 'null',
3753
- nullable: true,
3754
- type: 'string',
3755
- },
3756
- status: { enum: ['error'], type: 'string' },
3757
- },
3758
- required: [
3759
- 'status',
3760
- 'action_type',
3761
- 'action_attempt_id',
3762
- 'result',
3763
- 'error',
3764
- ],
3765
- type: 'object',
3766
- },
3767
- ],
4068
+ $ref: '#/components/schemas/action_attempt',
3768
4069
  },
3769
4070
  ok: { type: 'boolean' },
3770
4071
  },
@@ -4166,91 +4467,7 @@ export default {
4166
4467
  schema: {
4167
4468
  properties: {
4168
4469
  action_attempt: {
4169
- discriminator: { propertyName: 'status' },
4170
- oneOf: [
4171
- {
4172
- properties: {
4173
- action_attempt_id: {
4174
- format: 'uuid',
4175
- type: 'string',
4176
- },
4177
- action_type: { type: 'string' },
4178
- error: {
4179
- format: 'null',
4180
- nullable: true,
4181
- type: 'string',
4182
- },
4183
- result: { nullable: true },
4184
- status: { enum: ['success'], type: 'string' },
4185
- },
4186
- required: [
4187
- 'status',
4188
- 'action_type',
4189
- 'action_attempt_id',
4190
- 'error',
4191
- ],
4192
- type: 'object',
4193
- },
4194
- {
4195
- properties: {
4196
- action_attempt_id: {
4197
- format: 'uuid',
4198
- type: 'string',
4199
- },
4200
- action_type: { type: 'string' },
4201
- error: {
4202
- format: 'null',
4203
- nullable: true,
4204
- type: 'string',
4205
- },
4206
- result: {
4207
- format: 'null',
4208
- nullable: true,
4209
- type: 'string',
4210
- },
4211
- status: { enum: ['pending'], type: 'string' },
4212
- },
4213
- required: [
4214
- 'status',
4215
- 'action_type',
4216
- 'action_attempt_id',
4217
- 'result',
4218
- 'error',
4219
- ],
4220
- type: 'object',
4221
- },
4222
- {
4223
- properties: {
4224
- action_attempt_id: {
4225
- format: 'uuid',
4226
- type: 'string',
4227
- },
4228
- action_type: { type: 'string' },
4229
- error: {
4230
- properties: {
4231
- message: { type: 'string' },
4232
- type: { type: 'string' },
4233
- },
4234
- required: ['type', 'message'],
4235
- type: 'object',
4236
- },
4237
- result: {
4238
- format: 'null',
4239
- nullable: true,
4240
- type: 'string',
4241
- },
4242
- status: { enum: ['error'], type: 'string' },
4243
- },
4244
- required: [
4245
- 'status',
4246
- 'action_type',
4247
- 'action_attempt_id',
4248
- 'result',
4249
- 'error',
4250
- ],
4251
- type: 'object',
4252
- },
4253
- ],
4470
+ $ref: '#/components/schemas/action_attempt',
4254
4471
  },
4255
4472
  ok: { type: 'boolean' },
4256
4473
  },
@@ -4526,91 +4743,7 @@ export default {
4526
4743
  schema: {
4527
4744
  properties: {
4528
4745
  action_attempt: {
4529
- discriminator: { propertyName: 'status' },
4530
- oneOf: [
4531
- {
4532
- properties: {
4533
- action_attempt_id: {
4534
- format: 'uuid',
4535
- type: 'string',
4536
- },
4537
- action_type: { type: 'string' },
4538
- error: {
4539
- format: 'null',
4540
- nullable: true,
4541
- type: 'string',
4542
- },
4543
- result: { nullable: true },
4544
- status: { enum: ['success'], type: 'string' },
4545
- },
4546
- required: [
4547
- 'status',
4548
- 'action_type',
4549
- 'action_attempt_id',
4550
- 'error',
4551
- ],
4552
- type: 'object',
4553
- },
4554
- {
4555
- properties: {
4556
- action_attempt_id: {
4557
- format: 'uuid',
4558
- type: 'string',
4559
- },
4560
- action_type: { type: 'string' },
4561
- error: {
4562
- format: 'null',
4563
- nullable: true,
4564
- type: 'string',
4565
- },
4566
- result: {
4567
- format: 'null',
4568
- nullable: true,
4569
- type: 'string',
4570
- },
4571
- status: { enum: ['pending'], type: 'string' },
4572
- },
4573
- required: [
4574
- 'status',
4575
- 'action_type',
4576
- 'action_attempt_id',
4577
- 'result',
4578
- 'error',
4579
- ],
4580
- type: 'object',
4581
- },
4582
- {
4583
- properties: {
4584
- action_attempt_id: {
4585
- format: 'uuid',
4586
- type: 'string',
4587
- },
4588
- action_type: { type: 'string' },
4589
- error: {
4590
- properties: {
4591
- message: { type: 'string' },
4592
- type: { type: 'string' },
4593
- },
4594
- required: ['type', 'message'],
4595
- type: 'object',
4596
- },
4597
- result: {
4598
- format: 'null',
4599
- nullable: true,
4600
- type: 'string',
4601
- },
4602
- status: { enum: ['error'], type: 'string' },
4603
- },
4604
- required: [
4605
- 'status',
4606
- 'action_type',
4607
- 'action_attempt_id',
4608
- 'result',
4609
- 'error',
4610
- ],
4611
- type: 'object',
4612
- },
4613
- ],
4746
+ $ref: '#/components/schemas/action_attempt',
4614
4747
  },
4615
4748
  ok: { type: 'boolean' },
4616
4749
  },
@@ -4685,91 +4818,7 @@ export default {
4685
4818
  schema: {
4686
4819
  properties: {
4687
4820
  action_attempt: {
4688
- discriminator: { propertyName: 'status' },
4689
- oneOf: [
4690
- {
4691
- properties: {
4692
- action_attempt_id: {
4693
- format: 'uuid',
4694
- type: 'string',
4695
- },
4696
- action_type: { type: 'string' },
4697
- error: {
4698
- format: 'null',
4699
- nullable: true,
4700
- type: 'string',
4701
- },
4702
- result: { nullable: true },
4703
- status: { enum: ['success'], type: 'string' },
4704
- },
4705
- required: [
4706
- 'status',
4707
- 'action_type',
4708
- 'action_attempt_id',
4709
- 'error',
4710
- ],
4711
- type: 'object',
4712
- },
4713
- {
4714
- properties: {
4715
- action_attempt_id: {
4716
- format: 'uuid',
4717
- type: 'string',
4718
- },
4719
- action_type: { type: 'string' },
4720
- error: {
4721
- format: 'null',
4722
- nullable: true,
4723
- type: 'string',
4724
- },
4725
- result: {
4726
- format: 'null',
4727
- nullable: true,
4728
- type: 'string',
4729
- },
4730
- status: { enum: ['pending'], type: 'string' },
4731
- },
4732
- required: [
4733
- 'status',
4734
- 'action_type',
4735
- 'action_attempt_id',
4736
- 'result',
4737
- 'error',
4738
- ],
4739
- type: 'object',
4740
- },
4741
- {
4742
- properties: {
4743
- action_attempt_id: {
4744
- format: 'uuid',
4745
- type: 'string',
4746
- },
4747
- action_type: { type: 'string' },
4748
- error: {
4749
- properties: {
4750
- message: { type: 'string' },
4751
- type: { type: 'string' },
4752
- },
4753
- required: ['type', 'message'],
4754
- type: 'object',
4755
- },
4756
- result: {
4757
- format: 'null',
4758
- nullable: true,
4759
- type: 'string',
4760
- },
4761
- status: { enum: ['error'], type: 'string' },
4762
- },
4763
- required: [
4764
- 'status',
4765
- 'action_type',
4766
- 'action_attempt_id',
4767
- 'result',
4768
- 'error',
4769
- ],
4770
- type: 'object',
4771
- },
4772
- ],
4821
+ $ref: '#/components/schemas/action_attempt',
4773
4822
  },
4774
4823
  ok: { type: 'boolean' },
4775
4824
  },
@@ -4834,102 +4883,18 @@ export default {
4834
4883
  },
4835
4884
  required: ['access_code_id'],
4836
4885
  type: 'object',
4837
- },
4838
- },
4839
- },
4840
- },
4841
- responses: {
4842
- 200: {
4843
- content: {
4844
- 'application/json': {
4845
- schema: {
4846
- properties: {
4847
- action_attempt: {
4848
- discriminator: { propertyName: 'status' },
4849
- oneOf: [
4850
- {
4851
- properties: {
4852
- action_attempt_id: {
4853
- format: 'uuid',
4854
- type: 'string',
4855
- },
4856
- action_type: { type: 'string' },
4857
- error: {
4858
- format: 'null',
4859
- nullable: true,
4860
- type: 'string',
4861
- },
4862
- result: { nullable: true },
4863
- status: { enum: ['success'], type: 'string' },
4864
- },
4865
- required: [
4866
- 'status',
4867
- 'action_type',
4868
- 'action_attempt_id',
4869
- 'error',
4870
- ],
4871
- type: 'object',
4872
- },
4873
- {
4874
- properties: {
4875
- action_attempt_id: {
4876
- format: 'uuid',
4877
- type: 'string',
4878
- },
4879
- action_type: { type: 'string' },
4880
- error: {
4881
- format: 'null',
4882
- nullable: true,
4883
- type: 'string',
4884
- },
4885
- result: {
4886
- format: 'null',
4887
- nullable: true,
4888
- type: 'string',
4889
- },
4890
- status: { enum: ['pending'], type: 'string' },
4891
- },
4892
- required: [
4893
- 'status',
4894
- 'action_type',
4895
- 'action_attempt_id',
4896
- 'result',
4897
- 'error',
4898
- ],
4899
- type: 'object',
4900
- },
4901
- {
4902
- properties: {
4903
- action_attempt_id: {
4904
- format: 'uuid',
4905
- type: 'string',
4906
- },
4907
- action_type: { type: 'string' },
4908
- error: {
4909
- properties: {
4910
- message: { type: 'string' },
4911
- type: { type: 'string' },
4912
- },
4913
- required: ['type', 'message'],
4914
- type: 'object',
4915
- },
4916
- result: {
4917
- format: 'null',
4918
- nullable: true,
4919
- type: 'string',
4920
- },
4921
- status: { enum: ['error'], type: 'string' },
4922
- },
4923
- required: [
4924
- 'status',
4925
- 'action_type',
4926
- 'action_attempt_id',
4927
- 'result',
4928
- 'error',
4929
- ],
4930
- type: 'object',
4931
- },
4932
- ],
4886
+ },
4887
+ },
4888
+ },
4889
+ },
4890
+ responses: {
4891
+ 200: {
4892
+ content: {
4893
+ 'application/json': {
4894
+ schema: {
4895
+ properties: {
4896
+ action_attempt: {
4897
+ $ref: '#/components/schemas/action_attempt',
4933
4898
  },
4934
4899
  ok: { type: 'boolean' },
4935
4900
  },
@@ -6963,91 +6928,7 @@ export default {
6963
6928
  schema: {
6964
6929
  properties: {
6965
6930
  action_attempt: {
6966
- discriminator: { propertyName: 'status' },
6967
- oneOf: [
6968
- {
6969
- properties: {
6970
- action_attempt_id: {
6971
- format: 'uuid',
6972
- type: 'string',
6973
- },
6974
- action_type: { type: 'string' },
6975
- error: {
6976
- format: 'null',
6977
- nullable: true,
6978
- type: 'string',
6979
- },
6980
- result: { nullable: true },
6981
- status: { enum: ['success'], type: 'string' },
6982
- },
6983
- required: [
6984
- 'status',
6985
- 'action_type',
6986
- 'action_attempt_id',
6987
- 'error',
6988
- ],
6989
- type: 'object',
6990
- },
6991
- {
6992
- properties: {
6993
- action_attempt_id: {
6994
- format: 'uuid',
6995
- type: 'string',
6996
- },
6997
- action_type: { type: 'string' },
6998
- error: {
6999
- format: 'null',
7000
- nullable: true,
7001
- type: 'string',
7002
- },
7003
- result: {
7004
- format: 'null',
7005
- nullable: true,
7006
- type: 'string',
7007
- },
7008
- status: { enum: ['pending'], type: 'string' },
7009
- },
7010
- required: [
7011
- 'status',
7012
- 'action_type',
7013
- 'action_attempt_id',
7014
- 'result',
7015
- 'error',
7016
- ],
7017
- type: 'object',
7018
- },
7019
- {
7020
- properties: {
7021
- action_attempt_id: {
7022
- format: 'uuid',
7023
- type: 'string',
7024
- },
7025
- action_type: { type: 'string' },
7026
- error: {
7027
- properties: {
7028
- message: { type: 'string' },
7029
- type: { type: 'string' },
7030
- },
7031
- required: ['type', 'message'],
7032
- type: 'object',
7033
- },
7034
- result: {
7035
- format: 'null',
7036
- nullable: true,
7037
- type: 'string',
7038
- },
7039
- status: { enum: ['error'], type: 'string' },
7040
- },
7041
- required: [
7042
- 'status',
7043
- 'action_type',
7044
- 'action_attempt_id',
7045
- 'result',
7046
- 'error',
7047
- ],
7048
- type: 'object',
7049
- },
7050
- ],
6931
+ $ref: '#/components/schemas/action_attempt',
7051
6932
  },
7052
6933
  ok: { type: 'boolean' },
7053
6934
  },
@@ -7100,93 +6981,7 @@ export default {
7100
6981
  schema: {
7101
6982
  properties: {
7102
6983
  action_attempts: {
7103
- items: {
7104
- discriminator: { propertyName: 'status' },
7105
- oneOf: [
7106
- {
7107
- properties: {
7108
- action_attempt_id: {
7109
- format: 'uuid',
7110
- type: 'string',
7111
- },
7112
- action_type: { type: 'string' },
7113
- error: {
7114
- format: 'null',
7115
- nullable: true,
7116
- type: 'string',
7117
- },
7118
- result: { nullable: true },
7119
- status: { enum: ['success'], type: 'string' },
7120
- },
7121
- required: [
7122
- 'status',
7123
- 'action_type',
7124
- 'action_attempt_id',
7125
- 'error',
7126
- ],
7127
- type: 'object',
7128
- },
7129
- {
7130
- properties: {
7131
- action_attempt_id: {
7132
- format: 'uuid',
7133
- type: 'string',
7134
- },
7135
- action_type: { type: 'string' },
7136
- error: {
7137
- format: 'null',
7138
- nullable: true,
7139
- type: 'string',
7140
- },
7141
- result: {
7142
- format: 'null',
7143
- nullable: true,
7144
- type: 'string',
7145
- },
7146
- status: { enum: ['pending'], type: 'string' },
7147
- },
7148
- required: [
7149
- 'status',
7150
- 'action_type',
7151
- 'action_attempt_id',
7152
- 'result',
7153
- 'error',
7154
- ],
7155
- type: 'object',
7156
- },
7157
- {
7158
- properties: {
7159
- action_attempt_id: {
7160
- format: 'uuid',
7161
- type: 'string',
7162
- },
7163
- action_type: { type: 'string' },
7164
- error: {
7165
- properties: {
7166
- message: { type: 'string' },
7167
- type: { type: 'string' },
7168
- },
7169
- required: ['type', 'message'],
7170
- type: 'object',
7171
- },
7172
- result: {
7173
- format: 'null',
7174
- nullable: true,
7175
- type: 'string',
7176
- },
7177
- status: { enum: ['error'], type: 'string' },
7178
- },
7179
- required: [
7180
- 'status',
7181
- 'action_type',
7182
- 'action_attempt_id',
7183
- 'result',
7184
- 'error',
7185
- ],
7186
- type: 'object',
7187
- },
7188
- ],
7189
- },
6984
+ items: { $ref: '#/components/schemas/action_attempt' },
7190
6985
  type: 'array',
7191
6986
  },
7192
6987
  ok: { type: 'boolean' },
@@ -9940,91 +9735,7 @@ export default {
9940
9735
  schema: {
9941
9736
  properties: {
9942
9737
  action_attempt: {
9943
- discriminator: { propertyName: 'status' },
9944
- oneOf: [
9945
- {
9946
- properties: {
9947
- action_attempt_id: {
9948
- format: 'uuid',
9949
- type: 'string',
9950
- },
9951
- action_type: { type: 'string' },
9952
- error: {
9953
- format: 'null',
9954
- nullable: true,
9955
- type: 'string',
9956
- },
9957
- result: { nullable: true },
9958
- status: { enum: ['success'], type: 'string' },
9959
- },
9960
- required: [
9961
- 'status',
9962
- 'action_type',
9963
- 'action_attempt_id',
9964
- 'error',
9965
- ],
9966
- type: 'object',
9967
- },
9968
- {
9969
- properties: {
9970
- action_attempt_id: {
9971
- format: 'uuid',
9972
- type: 'string',
9973
- },
9974
- action_type: { type: 'string' },
9975
- error: {
9976
- format: 'null',
9977
- nullable: true,
9978
- type: 'string',
9979
- },
9980
- result: {
9981
- format: 'null',
9982
- nullable: true,
9983
- type: 'string',
9984
- },
9985
- status: { enum: ['pending'], type: 'string' },
9986
- },
9987
- required: [
9988
- 'status',
9989
- 'action_type',
9990
- 'action_attempt_id',
9991
- 'result',
9992
- 'error',
9993
- ],
9994
- type: 'object',
9995
- },
9996
- {
9997
- properties: {
9998
- action_attempt_id: {
9999
- format: 'uuid',
10000
- type: 'string',
10001
- },
10002
- action_type: { type: 'string' },
10003
- error: {
10004
- properties: {
10005
- message: { type: 'string' },
10006
- type: { type: 'string' },
10007
- },
10008
- required: ['type', 'message'],
10009
- type: 'object',
10010
- },
10011
- result: {
10012
- format: 'null',
10013
- nullable: true,
10014
- type: 'string',
10015
- },
10016
- status: { enum: ['error'], type: 'string' },
10017
- },
10018
- required: [
10019
- 'status',
10020
- 'action_type',
10021
- 'action_attempt_id',
10022
- 'result',
10023
- 'error',
10024
- ],
10025
- type: 'object',
10026
- },
10027
- ],
9738
+ $ref: '#/components/schemas/action_attempt',
10028
9739
  },
10029
9740
  noise_threshold: {
10030
9741
  $ref: '#/components/schemas/noise_threshold',
@@ -10078,91 +9789,7 @@ export default {
10078
9789
  schema: {
10079
9790
  properties: {
10080
9791
  action_attempt: {
10081
- discriminator: { propertyName: 'status' },
10082
- oneOf: [
10083
- {
10084
- properties: {
10085
- action_attempt_id: {
10086
- format: 'uuid',
10087
- type: 'string',
10088
- },
10089
- action_type: { type: 'string' },
10090
- error: {
10091
- format: 'null',
10092
- nullable: true,
10093
- type: 'string',
10094
- },
10095
- result: { nullable: true },
10096
- status: { enum: ['success'], type: 'string' },
10097
- },
10098
- required: [
10099
- 'status',
10100
- 'action_type',
10101
- 'action_attempt_id',
10102
- 'error',
10103
- ],
10104
- type: 'object',
10105
- },
10106
- {
10107
- properties: {
10108
- action_attempt_id: {
10109
- format: 'uuid',
10110
- type: 'string',
10111
- },
10112
- action_type: { type: 'string' },
10113
- error: {
10114
- format: 'null',
10115
- nullable: true,
10116
- type: 'string',
10117
- },
10118
- result: {
10119
- format: 'null',
10120
- nullable: true,
10121
- type: 'string',
10122
- },
10123
- status: { enum: ['pending'], type: 'string' },
10124
- },
10125
- required: [
10126
- 'status',
10127
- 'action_type',
10128
- 'action_attempt_id',
10129
- 'result',
10130
- 'error',
10131
- ],
10132
- type: 'object',
10133
- },
10134
- {
10135
- properties: {
10136
- action_attempt_id: {
10137
- format: 'uuid',
10138
- type: 'string',
10139
- },
10140
- action_type: { type: 'string' },
10141
- error: {
10142
- properties: {
10143
- message: { type: 'string' },
10144
- type: { type: 'string' },
10145
- },
10146
- required: ['type', 'message'],
10147
- type: 'object',
10148
- },
10149
- result: {
10150
- format: 'null',
10151
- nullable: true,
10152
- type: 'string',
10153
- },
10154
- status: { enum: ['error'], type: 'string' },
10155
- },
10156
- required: [
10157
- 'status',
10158
- 'action_type',
10159
- 'action_attempt_id',
10160
- 'result',
10161
- 'error',
10162
- ],
10163
- type: 'object',
10164
- },
10165
- ],
9792
+ $ref: '#/components/schemas/action_attempt',
10166
9793
  },
10167
9794
  ok: { type: 'boolean' },
10168
9795
  },
@@ -10317,91 +9944,7 @@ export default {
10317
9944
  schema: {
10318
9945
  properties: {
10319
9946
  action_attempt: {
10320
- discriminator: { propertyName: 'status' },
10321
- oneOf: [
10322
- {
10323
- properties: {
10324
- action_attempt_id: {
10325
- format: 'uuid',
10326
- type: 'string',
10327
- },
10328
- action_type: { type: 'string' },
10329
- error: {
10330
- format: 'null',
10331
- nullable: true,
10332
- type: 'string',
10333
- },
10334
- result: { nullable: true },
10335
- status: { enum: ['success'], type: 'string' },
10336
- },
10337
- required: [
10338
- 'status',
10339
- 'action_type',
10340
- 'action_attempt_id',
10341
- 'error',
10342
- ],
10343
- type: 'object',
10344
- },
10345
- {
10346
- properties: {
10347
- action_attempt_id: {
10348
- format: 'uuid',
10349
- type: 'string',
10350
- },
10351
- action_type: { type: 'string' },
10352
- error: {
10353
- format: 'null',
10354
- nullable: true,
10355
- type: 'string',
10356
- },
10357
- result: {
10358
- format: 'null',
10359
- nullable: true,
10360
- type: 'string',
10361
- },
10362
- status: { enum: ['pending'], type: 'string' },
10363
- },
10364
- required: [
10365
- 'status',
10366
- 'action_type',
10367
- 'action_attempt_id',
10368
- 'result',
10369
- 'error',
10370
- ],
10371
- type: 'object',
10372
- },
10373
- {
10374
- properties: {
10375
- action_attempt_id: {
10376
- format: 'uuid',
10377
- type: 'string',
10378
- },
10379
- action_type: { type: 'string' },
10380
- error: {
10381
- properties: {
10382
- message: { type: 'string' },
10383
- type: { type: 'string' },
10384
- },
10385
- required: ['type', 'message'],
10386
- type: 'object',
10387
- },
10388
- result: {
10389
- format: 'null',
10390
- nullable: true,
10391
- type: 'string',
10392
- },
10393
- status: { enum: ['error'], type: 'string' },
10394
- },
10395
- required: [
10396
- 'status',
10397
- 'action_type',
10398
- 'action_attempt_id',
10399
- 'result',
10400
- 'error',
10401
- ],
10402
- type: 'object',
10403
- },
10404
- ],
9947
+ $ref: '#/components/schemas/action_attempt',
10405
9948
  },
10406
9949
  ok: { type: 'boolean' },
10407
9950
  },
@@ -10453,91 +9996,7 @@ export default {
10453
9996
  schema: {
10454
9997
  properties: {
10455
9998
  action_attempt: {
10456
- discriminator: { propertyName: 'status' },
10457
- oneOf: [
10458
- {
10459
- properties: {
10460
- action_attempt_id: {
10461
- format: 'uuid',
10462
- type: 'string',
10463
- },
10464
- action_type: { type: 'string' },
10465
- error: {
10466
- format: 'null',
10467
- nullable: true,
10468
- type: 'string',
10469
- },
10470
- result: { nullable: true },
10471
- status: { enum: ['success'], type: 'string' },
10472
- },
10473
- required: [
10474
- 'status',
10475
- 'action_type',
10476
- 'action_attempt_id',
10477
- 'error',
10478
- ],
10479
- type: 'object',
10480
- },
10481
- {
10482
- properties: {
10483
- action_attempt_id: {
10484
- format: 'uuid',
10485
- type: 'string',
10486
- },
10487
- action_type: { type: 'string' },
10488
- error: {
10489
- format: 'null',
10490
- nullable: true,
10491
- type: 'string',
10492
- },
10493
- result: {
10494
- format: 'null',
10495
- nullable: true,
10496
- type: 'string',
10497
- },
10498
- status: { enum: ['pending'], type: 'string' },
10499
- },
10500
- required: [
10501
- 'status',
10502
- 'action_type',
10503
- 'action_attempt_id',
10504
- 'result',
10505
- 'error',
10506
- ],
10507
- type: 'object',
10508
- },
10509
- {
10510
- properties: {
10511
- action_attempt_id: {
10512
- format: 'uuid',
10513
- type: 'string',
10514
- },
10515
- action_type: { type: 'string' },
10516
- error: {
10517
- properties: {
10518
- message: { type: 'string' },
10519
- type: { type: 'string' },
10520
- },
10521
- required: ['type', 'message'],
10522
- type: 'object',
10523
- },
10524
- result: {
10525
- format: 'null',
10526
- nullable: true,
10527
- type: 'string',
10528
- },
10529
- status: { enum: ['error'], type: 'string' },
10530
- },
10531
- required: [
10532
- 'status',
10533
- 'action_type',
10534
- 'action_attempt_id',
10535
- 'result',
10536
- 'error',
10537
- ],
10538
- type: 'object',
10539
- },
10540
- ],
9999
+ $ref: '#/components/schemas/action_attempt',
10541
10000
  },
10542
10001
  ok: { type: 'boolean' },
10543
10002
  },
@@ -10590,91 +10049,7 @@ export default {
10590
10049
  schema: {
10591
10050
  properties: {
10592
10051
  action_attempt: {
10593
- discriminator: { propertyName: 'status' },
10594
- oneOf: [
10595
- {
10596
- properties: {
10597
- action_attempt_id: {
10598
- format: 'uuid',
10599
- type: 'string',
10600
- },
10601
- action_type: { type: 'string' },
10602
- error: {
10603
- format: 'null',
10604
- nullable: true,
10605
- type: 'string',
10606
- },
10607
- result: { nullable: true },
10608
- status: { enum: ['success'], type: 'string' },
10609
- },
10610
- required: [
10611
- 'status',
10612
- 'action_type',
10613
- 'action_attempt_id',
10614
- 'error',
10615
- ],
10616
- type: 'object',
10617
- },
10618
- {
10619
- properties: {
10620
- action_attempt_id: {
10621
- format: 'uuid',
10622
- type: 'string',
10623
- },
10624
- action_type: { type: 'string' },
10625
- error: {
10626
- format: 'null',
10627
- nullable: true,
10628
- type: 'string',
10629
- },
10630
- result: {
10631
- format: 'null',
10632
- nullable: true,
10633
- type: 'string',
10634
- },
10635
- status: { enum: ['pending'], type: 'string' },
10636
- },
10637
- required: [
10638
- 'status',
10639
- 'action_type',
10640
- 'action_attempt_id',
10641
- 'result',
10642
- 'error',
10643
- ],
10644
- type: 'object',
10645
- },
10646
- {
10647
- properties: {
10648
- action_attempt_id: {
10649
- format: 'uuid',
10650
- type: 'string',
10651
- },
10652
- action_type: { type: 'string' },
10653
- error: {
10654
- properties: {
10655
- message: { type: 'string' },
10656
- type: { type: 'string' },
10657
- },
10658
- required: ['type', 'message'],
10659
- type: 'object',
10660
- },
10661
- result: {
10662
- format: 'null',
10663
- nullable: true,
10664
- type: 'string',
10665
- },
10666
- status: { enum: ['error'], type: 'string' },
10667
- },
10668
- required: [
10669
- 'status',
10670
- 'action_type',
10671
- 'action_attempt_id',
10672
- 'result',
10673
- 'error',
10674
- ],
10675
- type: 'object',
10676
- },
10677
- ],
10052
+ $ref: '#/components/schemas/action_attempt',
10678
10053
  },
10679
10054
  ok: { type: 'boolean' },
10680
10055
  },