artifacts-api-client 1.2.0 → 1.3.0

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.
@@ -791,6 +791,38 @@ export interface components {
791
791
  ActionItemBankResponseSchema: {
792
792
  data: components['schemas']['BankItemSchema'];
793
793
  };
794
+ /** ActiveEventSchema */
795
+ ActiveEventSchema: {
796
+ /**
797
+ * Name
798
+ * @description Name of the event.
799
+ */
800
+ name: string;
801
+ /** @description Map of the event. */
802
+ map: components['schemas']['MapSchema'];
803
+ /**
804
+ * Previous Skin
805
+ * @description Previous map skin.
806
+ */
807
+ previous_skin: string;
808
+ /**
809
+ * Duration
810
+ * @description Duration in minutes.
811
+ */
812
+ duration: number;
813
+ /**
814
+ * Expiration
815
+ * Format: date-time
816
+ * @description Expiration datetime.
817
+ */
818
+ expiration: string;
819
+ /**
820
+ * Created At
821
+ * Format: date-time
822
+ * @description Start datetime.
823
+ */
824
+ created_at: string;
825
+ };
794
826
  /** AddAccountSchema */
795
827
  AddAccountSchema: {
796
828
  /**
@@ -1276,206 +1308,6 @@ export interface components {
1276
1308
  * @description List of inventory slots.
1277
1309
  */
1278
1310
  inventory?: components['schemas']['InventorySlot'][];
1279
- /**
1280
- * Inventory Slot1
1281
- * @description Deprecated** Inventory slot 1.
1282
- */
1283
- inventory_slot1: string;
1284
- /**
1285
- * Inventory Slot1 Quantity
1286
- * @description Deprecated** Inventory 1 quantity.
1287
- */
1288
- inventory_slot1_quantity: number;
1289
- /**
1290
- * Inventory Slot2
1291
- * @description Deprecated** Inventory slot 2.
1292
- */
1293
- inventory_slot2: string;
1294
- /**
1295
- * Inventory Slot2 Quantity
1296
- * @description Deprecated** Inventory 2 quantity.
1297
- */
1298
- inventory_slot2_quantity: number;
1299
- /**
1300
- * Inventory Slot3
1301
- * @description Deprecated** Inventory slot 3.
1302
- */
1303
- inventory_slot3: string;
1304
- /**
1305
- * Inventory Slot3 Quantity
1306
- * @description Deprecated** Inventory 3 quantity.
1307
- */
1308
- inventory_slot3_quantity: number;
1309
- /**
1310
- * Inventory Slot4
1311
- * @description Deprecated** Inventory slot 4.
1312
- */
1313
- inventory_slot4: string;
1314
- /**
1315
- * Inventory Slot4 Quantity
1316
- * @description Deprecated** Inventory 4 quantity.
1317
- */
1318
- inventory_slot4_quantity: number;
1319
- /**
1320
- * Inventory Slot5
1321
- * @description Deprecated** Inventory slot 5.
1322
- */
1323
- inventory_slot5: string;
1324
- /**
1325
- * Inventory Slot5 Quantity
1326
- * @description Deprecated** Inventory 5 quantity.
1327
- */
1328
- inventory_slot5_quantity: number;
1329
- /**
1330
- * Inventory Slot6
1331
- * @description Deprecated** Inventory slot 6.
1332
- */
1333
- inventory_slot6: string;
1334
- /**
1335
- * Inventory Slot6 Quantity
1336
- * @description Deprecated** Inventory 6 quantity.
1337
- */
1338
- inventory_slot6_quantity: number;
1339
- /**
1340
- * Inventory Slot7
1341
- * @description Deprecated** Inventory slot 7.
1342
- */
1343
- inventory_slot7: string;
1344
- /**
1345
- * Inventory Slot7 Quantity
1346
- * @description Deprecated** Inventory 7 quantity.
1347
- */
1348
- inventory_slot7_quantity: number;
1349
- /**
1350
- * Inventory Slot8
1351
- * @description Deprecated** Inventory slot 8.
1352
- */
1353
- inventory_slot8: string;
1354
- /**
1355
- * Inventory Slot8 Quantity
1356
- * @description Deprecated** Inventory 8 quantity.
1357
- */
1358
- inventory_slot8_quantity: number;
1359
- /**
1360
- * Inventory Slot9
1361
- * @description Deprecated** Inventory slot 9.
1362
- */
1363
- inventory_slot9: string;
1364
- /**
1365
- * Inventory Slot9 Quantity
1366
- * @description Deprecated** Inventory 9 quantity.
1367
- */
1368
- inventory_slot9_quantity: number;
1369
- /**
1370
- * Inventory Slot10
1371
- * @description Deprecated** Inventory slot 10.
1372
- */
1373
- inventory_slot10: string;
1374
- /**
1375
- * Inventory Slot10 Quantity
1376
- * @description Deprecated** Inventory 10 quantity.
1377
- */
1378
- inventory_slot10_quantity: number;
1379
- /**
1380
- * Inventory Slot11
1381
- * @description Deprecated** Inventory slot 11.
1382
- */
1383
- inventory_slot11: string;
1384
- /**
1385
- * Inventory Slot11 Quantity
1386
- * @description Deprecated** Inventory 11 quantity.
1387
- */
1388
- inventory_slot11_quantity: number;
1389
- /**
1390
- * Inventory Slot12
1391
- * @description Deprecated** nventory slot 12.
1392
- */
1393
- inventory_slot12: string;
1394
- /**
1395
- * Inventory Slot12 Quantity
1396
- * @description Deprecated** Inventory 12 quantity.
1397
- */
1398
- inventory_slot12_quantity: number;
1399
- /**
1400
- * Inventory Slot13
1401
- * @description Deprecated** Inventory slot 13.
1402
- */
1403
- inventory_slot13: string;
1404
- /**
1405
- * Inventory Slot13 Quantity
1406
- * @description Deprecated** Inventory 13 quantity.
1407
- */
1408
- inventory_slot13_quantity: number;
1409
- /**
1410
- * Inventory Slot14
1411
- * @description Deprecated** Inventory slot 14.
1412
- */
1413
- inventory_slot14: string;
1414
- /**
1415
- * Inventory Slot14 Quantity
1416
- * @description Deprecated** Inventory 14 quantity.
1417
- */
1418
- inventory_slot14_quantity: number;
1419
- /**
1420
- * Inventory Slot15
1421
- * @description Deprecated** Inventory slot 15.
1422
- */
1423
- inventory_slot15: string;
1424
- /**
1425
- * Inventory Slot15 Quantity
1426
- * @description Deprecated** Inventory 15 quantity.
1427
- */
1428
- inventory_slot15_quantity: number;
1429
- /**
1430
- * Inventory Slot16
1431
- * @description Deprecated** Inventory slot 16.
1432
- */
1433
- inventory_slot16: string;
1434
- /**
1435
- * Inventory Slot16 Quantity
1436
- * @description Deprecated** Inventory 16 quantity.
1437
- */
1438
- inventory_slot16_quantity: number;
1439
- /**
1440
- * Inventory Slot17
1441
- * @description Deprecated** Inventory slot 17.
1442
- */
1443
- inventory_slot17: string;
1444
- /**
1445
- * Inventory Slot17 Quantity
1446
- * @description Deprecated** Inventory 17 quantity.
1447
- */
1448
- inventory_slot17_quantity: number;
1449
- /**
1450
- * Inventory Slot18
1451
- * @description Deprecated** Inventory slot 18.
1452
- */
1453
- inventory_slot18: string;
1454
- /**
1455
- * Inventory Slot18 Quantity
1456
- * @description Deprecated** Inventory 18 quantity.
1457
- */
1458
- inventory_slot18_quantity: number;
1459
- /**
1460
- * Inventory Slot19
1461
- * @description Deprecated** Inventory slot 19.
1462
- */
1463
- inventory_slot19: string;
1464
- /**
1465
- * Inventory Slot19 Quantity
1466
- * @description Deprecated** Inventory 19 quantity.
1467
- */
1468
- inventory_slot19_quantity: number;
1469
- /**
1470
- * Inventory Slot20
1471
- * @description Deprecated** Inventory slot 20.
1472
- */
1473
- inventory_slot20: string;
1474
- /**
1475
- * Inventory Slot20 Quantity
1476
- * @description Deprecated** Inventory 20 quantity.
1477
- */
1478
- inventory_slot20_quantity: number;
1479
1311
  };
1480
1312
  /** CooldownSchema */
1481
1313
  CooldownSchema: {
@@ -1489,16 +1321,6 @@ export interface components {
1489
1321
  * @description The remaining seconds of the cooldown.
1490
1322
  */
1491
1323
  remaining_seconds: number;
1492
- /**
1493
- * Totalseconds
1494
- * @description Deprecated** The total seconds of the cooldown.
1495
- */
1496
- totalSeconds: number;
1497
- /**
1498
- * Remainingseconds
1499
- * @description Deprecated** The remaining seconds of the cooldown.
1500
- */
1501
- remainingSeconds: number;
1502
1324
  /**
1503
1325
  * Started At
1504
1326
  * Format: date-time
@@ -1555,10 +1377,10 @@ export interface components {
1555
1377
  */
1556
1378
  quantity: number;
1557
1379
  };
1558
- /** DataPage[CharacterSchema] */
1559
- DataPage_CharacterSchema_: {
1380
+ /** DataPage[ActiveEventSchema] */
1381
+ DataPage_ActiveEventSchema_: {
1560
1382
  /** Data */
1561
- data: components['schemas']['CharacterSchema'][];
1383
+ data: components['schemas']['ActiveEventSchema'][];
1562
1384
  /** Total */
1563
1385
  total: number | null;
1564
1386
  /** Page */
@@ -1568,10 +1390,10 @@ export interface components {
1568
1390
  /** Pages */
1569
1391
  pages?: number | null;
1570
1392
  };
1571
- /** DataPage[EventSchema] */
1572
- DataPage_EventSchema_: {
1393
+ /** DataPage[CharacterSchema] */
1394
+ DataPage_CharacterSchema_: {
1573
1395
  /** Data */
1574
- data: components['schemas']['EventSchema'][];
1396
+ data: components['schemas']['CharacterSchema'][];
1575
1397
  /** Total */
1576
1398
  total: number | null;
1577
1399
  /** Page */
@@ -1798,38 +1620,6 @@ export interface components {
1798
1620
  EquipmentResponseSchema: {
1799
1621
  data: components['schemas']['EquipRequestSchema'];
1800
1622
  };
1801
- /** EventSchema */
1802
- EventSchema: {
1803
- /**
1804
- * Name
1805
- * @description Name of the event.
1806
- */
1807
- name: string;
1808
- /** @description Map of the event. */
1809
- map: components['schemas']['MapSchema'];
1810
- /**
1811
- * Previous Skin
1812
- * @description Previous map skin.
1813
- */
1814
- previous_skin: string;
1815
- /**
1816
- * Duration
1817
- * @description Duration in minutes.
1818
- */
1819
- duration: number;
1820
- /**
1821
- * Expiration
1822
- * Format: date-time
1823
- * @description Expiration datetime.
1824
- */
1825
- expiration: string;
1826
- /**
1827
- * Created At
1828
- * Format: date-time
1829
- * @description Start datetime.
1830
- */
1831
- created_at: string;
1832
- };
1833
1623
  /** FightSchema */
1834
1624
  FightSchema: {
1835
1625
  /**
@@ -3858,8 +3648,8 @@ export interface operations {
3858
3648
  get_all_characters_characters__get: {
3859
3649
  parameters: {
3860
3650
  query?: {
3861
- /** @description Default sort by total XP. */
3862
- sort?: 'woodcutting' | 'mining' | 'fishing' | 'weaponcrafting' | 'gearcrafting' | 'jewelrycrafting' | 'cooking';
3651
+ /** @description Default sort by combat total XP. */
3652
+ sort?: 'woodcutting' | 'mining' | 'fishing' | 'weaponcrafting' | 'gearcrafting' | 'jewelrycrafting' | 'cooking' | 'gold';
3863
3653
  /** @description Page number */
3864
3654
  page?: number;
3865
3655
  /** @description Page size */
@@ -4231,7 +4021,7 @@ export interface operations {
4231
4021
  [name: string]: unknown;
4232
4022
  };
4233
4023
  content: {
4234
- 'application/json': components['schemas']['DataPage_EventSchema_'];
4024
+ 'application/json': components['schemas']['DataPage_ActiveEventSchema_'];
4235
4025
  };
4236
4026
  };
4237
4027
  /** @description Events not found. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "artifacts-api-client",
3
- "version": "1.2.0",
3
+ "version": "1.3.0",
4
4
  "description": "Api client for https://artifactsmmo.com",
5
5
  "main": "dist/index.js",
6
6
  "repository": "https://github.com/siranweb/artifacts-api-client.git",