tornapi-typescript 5.7.1 → 5.8.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.
package/dist/openapi.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "info": {
4
4
  "title": "Torn API",
5
5
  "description": "\n * The development of Torn's API v2 is still ongoing.\n * If selections remain unaltered, they will default to the API v1 version.\n * Unlike API v1, API v2 accepts both selections and IDs as path and query parameters.\n * If any discrepancies or errors are found, please submit a [bug report](https://www.torn.com/forums.php#/p=forums&f=19&b=0&a=0) on the Torn Forums.\n * In case you're using bots to check for changes on openapi.json file, make sure to specificy a custom user-agent header - CloudFlare sometimes prevents requests from default user-agents.",
6
- "version": "5.7.1"
6
+ "version": "5.8.1"
7
7
  },
8
8
  "servers": [
9
9
  {
@@ -1665,6 +1665,45 @@
1665
1665
  "x-stability": "Stable"
1666
1666
  }
1667
1667
  },
1668
+ "/user/itemmods": {
1669
+ "get": {
1670
+ "tags": [
1671
+ "User"
1672
+ ],
1673
+ "summary": "Get your information about available item mods",
1674
+ "description": "Requires minimal access key. <br>",
1675
+ "operationId": "getMyItemModsInformation",
1676
+ "parameters": [
1677
+ {
1678
+ "$ref": "#/components/parameters/ApiTimestamp"
1679
+ },
1680
+ {
1681
+ "$ref": "#/components/parameters/ApiComment"
1682
+ },
1683
+ {
1684
+ "$ref": "#/components/parameters/ApiKeyPublic"
1685
+ }
1686
+ ],
1687
+ "responses": {
1688
+ "200": {
1689
+ "description": "Successful operation",
1690
+ "content": {
1691
+ "application/json": {
1692
+ "schema": {
1693
+ "$ref": "#/components/schemas/UserItemModsResponse"
1694
+ }
1695
+ }
1696
+ }
1697
+ }
1698
+ },
1699
+ "security": [
1700
+ {
1701
+ "api_key": []
1702
+ }
1703
+ ],
1704
+ "x-stability": "Stable"
1705
+ }
1706
+ },
1668
1707
  "/user/job": {
1669
1708
  "get": {
1670
1709
  "tags": [
@@ -3801,6 +3840,9 @@
3801
3840
  {
3802
3841
  "$ref": "#/components/schemas/UserOrganizedCrimeResponse"
3803
3842
  },
3843
+ {
3844
+ "$ref": "#/components/schemas/UserItemModsResponse"
3845
+ },
3804
3846
  {
3805
3847
  "$ref": "#/components/schemas/AttacksResponse"
3806
3848
  },
@@ -6394,14 +6436,14 @@
6394
6436
  "x-stability": "Stable"
6395
6437
  }
6396
6438
  },
6397
- "/forum/categories": {
6439
+ "/company/applications": {
6398
6440
  "get": {
6399
6441
  "tags": [
6400
- "Forum"
6442
+ "Company"
6401
6443
  ],
6402
- "summary": "Get publicly available forum categories",
6403
- "description": "Requires public access key. <br>",
6404
- "operationId": "getForumCategories",
6444
+ "summary": "Get your company's applications",
6445
+ "description": "Requires limited access key. <br>",
6446
+ "operationId": "getMyCompanyApplications",
6405
6447
  "parameters": [
6406
6448
  {
6407
6449
  "$ref": "#/components/parameters/ApiTimestamp"
@@ -6410,7 +6452,7 @@
6410
6452
  "$ref": "#/components/parameters/ApiComment"
6411
6453
  },
6412
6454
  {
6413
- "$ref": "#/components/parameters/ApiKeyPublic"
6455
+ "$ref": "#/components/parameters/ApiKeyLimited"
6414
6456
  }
6415
6457
  ],
6416
6458
  "responses": {
@@ -6419,7 +6461,7 @@
6419
6461
  "content": {
6420
6462
  "application/json": {
6421
6463
  "schema": {
6422
- "$ref": "#/components/schemas/ForumCategoriesResponse"
6464
+ "$ref": "#/components/schemas/CompanyApplicationsResponse"
6423
6465
  }
6424
6466
  }
6425
6467
  }
@@ -6430,42 +6472,21 @@
6430
6472
  "api_key": []
6431
6473
  }
6432
6474
  ],
6433
- "x-stability": "Stable"
6475
+ "x-stability": "Unstable"
6434
6476
  }
6435
6477
  },
6436
- "/forum/{threadId}/posts": {
6478
+ "/company/employees": {
6437
6479
  "get": {
6438
6480
  "tags": [
6439
- "Forum"
6481
+ "Company"
6440
6482
  ],
6441
- "summary": "Get specific forum thread posts",
6442
- "description": "Requires public access key. <br>Returns 20 posts per page for a specific thread. <br> By default, it uses 'offset', but it's possible to filter posts with 'from' & 'to' parameters.",
6443
- "operationId": "getForumThreadPosts",
6483
+ "summary": "Get my company's employees",
6484
+ "description": "Requires public access key. <br>When using Limited, Custom or Full access API keys, the response will be:<br>\n * for director: CompanyEmployeeFull\n * for employee: CompanyEmployeeExtended\n * anyone else: CompanyEmployee.",
6485
+ "operationId": "getMyCompanyEmployees",
6444
6486
  "parameters": [
6445
6487
  {
6446
6488
  "$ref": "#/components/parameters/ApiStripTagsTrue"
6447
6489
  },
6448
- {
6449
- "$ref": "#/components/parameters/ApiOffsetNoDefault"
6450
- },
6451
- {
6452
- "$ref": "#/components/parameters/ApiSort"
6453
- },
6454
- {
6455
- "$ref": "#/components/parameters/ApiFrom"
6456
- },
6457
- {
6458
- "$ref": "#/components/parameters/ApiTo"
6459
- },
6460
- {
6461
- "name": "threadId",
6462
- "in": "path",
6463
- "description": "Thread id",
6464
- "required": true,
6465
- "schema": {
6466
- "$ref": "#/components/schemas/ForumThreadId"
6467
- }
6468
- },
6469
6490
  {
6470
6491
  "$ref": "#/components/parameters/ApiTimestamp"
6471
6492
  },
@@ -6482,7 +6503,7 @@
6482
6503
  "content": {
6483
6504
  "application/json": {
6484
6505
  "schema": {
6485
- "$ref": "#/components/schemas/ForumPostsResponse"
6506
+ "$ref": "#/components/schemas/CompanyEmployeesResponse"
6486
6507
  }
6487
6508
  }
6488
6509
  }
@@ -6493,27 +6514,30 @@
6493
6514
  "api_key": []
6494
6515
  }
6495
6516
  ],
6496
- "x-stability": "Stable"
6517
+ "x-stability": "Unstable"
6497
6518
  }
6498
6519
  },
6499
- "/forum/{threadId}/thread": {
6520
+ "/company/{id}/employees": {
6500
6521
  "get": {
6501
6522
  "tags": [
6502
- "Forum"
6523
+ "Company"
6503
6524
  ],
6504
- "summary": "Get specific thread details",
6505
- "description": "Requires public access key. <br>Contains details of a thread including topic content and poll (if any).",
6506
- "operationId": "getForumThread",
6525
+ "summary": "Get a company's employees",
6526
+ "description": "Requires public access key.",
6527
+ "operationId": "getCompanyEmployees",
6507
6528
  "parameters": [
6508
6529
  {
6509
- "name": "threadId",
6530
+ "name": "id",
6510
6531
  "in": "path",
6511
- "description": "Thread id",
6532
+ "description": "Company id",
6512
6533
  "required": true,
6513
6534
  "schema": {
6514
- "$ref": "#/components/schemas/ForumThreadId"
6535
+ "$ref": "#/components/schemas/CompanyId"
6515
6536
  }
6516
6537
  },
6538
+ {
6539
+ "$ref": "#/components/parameters/ApiStripTagsTrue"
6540
+ },
6517
6541
  {
6518
6542
  "$ref": "#/components/parameters/ApiTimestamp"
6519
6543
  },
@@ -6530,7 +6554,7 @@
6530
6554
  "content": {
6531
6555
  "application/json": {
6532
6556
  "schema": {
6533
- "$ref": "#/components/schemas/ForumThreadResponse"
6557
+ "$ref": "#/components/schemas/CompanyEmployeesResponseBasic"
6534
6558
  }
6535
6559
  }
6536
6560
  }
@@ -6541,29 +6565,20 @@
6541
6565
  "api_key": []
6542
6566
  }
6543
6567
  ],
6544
- "x-stability": "Stable"
6568
+ "x-stability": "Unstable"
6545
6569
  }
6546
6570
  },
6547
- "/forum/threads": {
6571
+ "/company/profile": {
6548
6572
  "get": {
6549
6573
  "tags": [
6550
- "Forum"
6574
+ "Company"
6551
6575
  ],
6552
- "summary": "Get threads across all forum categories",
6553
- "description": "Requires public access key. <br>",
6554
- "operationId": "getForumAllThreads",
6576
+ "summary": "Get my company's profile",
6577
+ "description": "Requires public access key. <br>When using Limited, Custom or Full access API keys, the response will be of type CompanyProfileExtended, otherwise it will be CompanyProfile.",
6578
+ "operationId": "getMyCompanyProfile",
6555
6579
  "parameters": [
6556
6580
  {
6557
- "$ref": "#/components/parameters/ApiLimit100"
6558
- },
6559
- {
6560
- "$ref": "#/components/parameters/ApiSort"
6561
- },
6562
- {
6563
- "$ref": "#/components/parameters/ApiFrom"
6564
- },
6565
- {
6566
- "$ref": "#/components/parameters/ApiTo"
6581
+ "$ref": "#/components/parameters/ApiStripTagsTrue"
6567
6582
  },
6568
6583
  {
6569
6584
  "$ref": "#/components/parameters/ApiTimestamp"
@@ -6581,7 +6596,7 @@
6581
6596
  "content": {
6582
6597
  "application/json": {
6583
6598
  "schema": {
6584
- "$ref": "#/components/schemas/ForumThreadsResponse"
6599
+ "$ref": "#/components/schemas/CompanyProfileResponseMixed"
6585
6600
  }
6586
6601
  }
6587
6602
  }
@@ -6592,44 +6607,69 @@
6592
6607
  "api_key": []
6593
6608
  }
6594
6609
  ],
6595
- "x-stability": "Stable"
6610
+ "x-stability": "Unstable"
6596
6611
  }
6597
6612
  },
6598
- "/forum/{categoryIds}/threads": {
6613
+ "/company/{id}/profile": {
6599
6614
  "get": {
6600
6615
  "tags": [
6601
- "Forum"
6616
+ "Company"
6602
6617
  ],
6603
- "summary": "Get threads for specific public forum category or categories",
6604
- "description": "Requires public access key. <br>",
6605
- "operationId": "getForumThreads",
6618
+ "summary": "Get a company's profile",
6619
+ "description": "Requires public access key.",
6620
+ "operationId": "getCompanyProfile",
6606
6621
  "parameters": [
6607
6622
  {
6608
- "$ref": "#/components/parameters/ApiLimit100"
6623
+ "name": "id",
6624
+ "in": "path",
6625
+ "description": "Company id",
6626
+ "required": true,
6627
+ "schema": {
6628
+ "$ref": "#/components/schemas/CompanyId"
6629
+ }
6609
6630
  },
6610
6631
  {
6611
- "$ref": "#/components/parameters/ApiSort"
6632
+ "$ref": "#/components/parameters/ApiStripTagsTrue"
6612
6633
  },
6613
6634
  {
6614
- "$ref": "#/components/parameters/ApiFrom"
6635
+ "$ref": "#/components/parameters/ApiTimestamp"
6615
6636
  },
6616
6637
  {
6617
- "$ref": "#/components/parameters/ApiTo"
6638
+ "$ref": "#/components/parameters/ApiComment"
6618
6639
  },
6619
6640
  {
6620
- "name": "categoryIds",
6621
- "in": "path",
6622
- "description": "Category id or a list of category ids (comma separated)",
6623
- "required": true,
6624
- "style": "form",
6625
- "explode": false,
6626
- "schema": {
6627
- "type": "array",
6628
- "items": {
6629
- "$ref": "#/components/schemas/ForumId"
6641
+ "$ref": "#/components/parameters/ApiKeyPublic"
6642
+ }
6643
+ ],
6644
+ "responses": {
6645
+ "200": {
6646
+ "description": "Successful operation",
6647
+ "content": {
6648
+ "application/json": {
6649
+ "schema": {
6650
+ "$ref": "#/components/schemas/CompanyProfileResponse"
6651
+ }
6630
6652
  }
6631
6653
  }
6632
- },
6654
+ }
6655
+ },
6656
+ "security": [
6657
+ {
6658
+ "api_key": []
6659
+ }
6660
+ ],
6661
+ "x-stability": "Unstable"
6662
+ }
6663
+ },
6664
+ "/company/stock": {
6665
+ "get": {
6666
+ "tags": [
6667
+ "Company"
6668
+ ],
6669
+ "summary": "Get your company's stock",
6670
+ "description": "Requires limited access key. <br>",
6671
+ "operationId": "getMyCompanyStock",
6672
+ "parameters": [
6633
6673
  {
6634
6674
  "$ref": "#/components/parameters/ApiTimestamp"
6635
6675
  },
@@ -6637,7 +6677,7 @@
6637
6677
  "$ref": "#/components/parameters/ApiComment"
6638
6678
  },
6639
6679
  {
6640
- "$ref": "#/components/parameters/ApiKeyPublic"
6680
+ "$ref": "#/components/parameters/ApiKeyLimited"
6641
6681
  }
6642
6682
  ],
6643
6683
  "responses": {
@@ -6646,7 +6686,7 @@
6646
6686
  "content": {
6647
6687
  "application/json": {
6648
6688
  "schema": {
6649
- "$ref": "#/components/schemas/ForumThreadsResponse"
6689
+ "$ref": "#/components/schemas/CompanyStockResponse"
6650
6690
  }
6651
6691
  }
6652
6692
  }
@@ -6657,17 +6697,16 @@
6657
6697
  "api_key": []
6658
6698
  }
6659
6699
  ],
6660
- "x-stability": "Stable"
6700
+ "x-stability": "Unstable"
6661
6701
  }
6662
6702
  },
6663
- "/forum/lookup": {
6703
+ "/company/lookup": {
6664
6704
  "get": {
6665
6705
  "tags": [
6666
- "Forum"
6706
+ "Company"
6667
6707
  ],
6668
- "summary": "Get all available forum selections",
6669
6708
  "description": "Requires public access key. <br>",
6670
- "operationId": "getForumLookup",
6709
+ "operationId": "getCompanyLookup",
6671
6710
  "parameters": [
6672
6711
  {
6673
6712
  "$ref": "#/components/parameters/ApiTimestamp"
@@ -6685,7 +6724,7 @@
6685
6724
  "content": {
6686
6725
  "application/json": {
6687
6726
  "schema": {
6688
- "$ref": "#/components/schemas/ForumLookupResponse"
6727
+ "$ref": "#/components/schemas/CompanyLookupResponse"
6689
6728
  }
6690
6729
  }
6691
6730
  }
@@ -6699,14 +6738,14 @@
6699
6738
  "x-stability": "Stable"
6700
6739
  }
6701
6740
  },
6702
- "/forum/timestamp": {
6741
+ "/company/timestamp": {
6703
6742
  "get": {
6704
6743
  "tags": [
6705
- "Forum"
6744
+ "Company"
6706
6745
  ],
6707
6746
  "summary": "Get current server time",
6708
6747
  "description": "Requires public access key. <br>",
6709
- "operationId": "getForumTimestamp",
6748
+ "operationId": "getCompanyTimestamp",
6710
6749
  "parameters": [
6711
6750
  {
6712
6751
  "$ref": "#/components/parameters/ApiTimestamp"
@@ -6738,14 +6777,14 @@
6738
6777
  "x-stability": "Stable"
6739
6778
  }
6740
6779
  },
6741
- "/forum": {
6780
+ "/company": {
6742
6781
  "get": {
6743
6782
  "tags": [
6744
- "Forum"
6783
+ "Company"
6745
6784
  ],
6746
- "summary": "Get any Forum selection",
6747
- "description": "Requires public access key. <br>Choose one or more selections (comma separated).",
6748
- "operationId": "getForumGeneric",
6785
+ "summary": "Get any Company selection",
6786
+ "description": "Key access level depends on the required selections. <br> Choose one or more selections (comma separated).",
6787
+ "operationId": "getCompanyGeneric",
6749
6788
  "parameters": [
6750
6789
  {
6751
6790
  "name": "selections",
@@ -6757,7 +6796,7 @@
6757
6796
  "schema": {
6758
6797
  "type": "array",
6759
6798
  "items": {
6760
- "$ref": "#/components/schemas/ForumSelectionName"
6799
+ "$ref": "#/components/schemas/CompanySelectionName"
6761
6800
  }
6762
6801
  }
6763
6802
  },
@@ -6769,31 +6808,30 @@
6769
6808
  "schema": {
6770
6809
  "oneOf": [
6771
6810
  {
6772
- "$ref": "#/components/schemas/ForumThreadId"
6773
- },
6774
- {
6775
- "type": "array",
6776
- "items": {
6777
- "$ref": "#/components/schemas/ForumId"
6778
- }
6811
+ "$ref": "#/components/schemas/CompanyId"
6779
6812
  }
6780
6813
  ]
6781
6814
  }
6782
6815
  },
6783
6816
  {
6784
- "$ref": "#/components/parameters/ApiStripTags"
6817
+ "name": "legacy",
6818
+ "in": "query",
6819
+ "description": "Legacy selection names for which you want or expect API v1 response",
6820
+ "required": false,
6821
+ "style": "form",
6822
+ "explode": false,
6823
+ "schema": {
6824
+ "type": "array",
6825
+ "items": {
6826
+ "$ref": "#/components/schemas/CompanySelectionName"
6827
+ }
6828
+ }
6785
6829
  },
6786
6830
  {
6787
6831
  "$ref": "#/components/parameters/ApiLimit"
6788
6832
  },
6789
6833
  {
6790
- "$ref": "#/components/parameters/ApiSort"
6791
- },
6792
- {
6793
- "$ref": "#/components/parameters/ApiFrom"
6794
- },
6795
- {
6796
- "$ref": "#/components/parameters/ApiTo"
6834
+ "$ref": "#/components/parameters/ApiStripTags"
6797
6835
  },
6798
6836
  {
6799
6837
  "$ref": "#/components/parameters/ApiOffsetNoDefault"
@@ -6816,19 +6854,25 @@
6816
6854
  "schema": {
6817
6855
  "anyOf": [
6818
6856
  {
6819
- "$ref": "#/components/schemas/ForumCategoriesResponse"
6857
+ "$ref": "#/components/schemas/CompanyApplicationsResponse"
6820
6858
  },
6821
6859
  {
6822
- "$ref": "#/components/schemas/ForumThreadsResponse"
6860
+ "$ref": "#/components/schemas/CompanyEmployeesResponse"
6823
6861
  },
6824
6862
  {
6825
- "$ref": "#/components/schemas/ForumThreadResponse"
6863
+ "$ref": "#/components/schemas/CompanyEmployeesResponseBasic"
6826
6864
  },
6827
6865
  {
6828
- "$ref": "#/components/schemas/ForumPostsResponse"
6866
+ "$ref": "#/components/schemas/CompanyProfileResponseMixed"
6829
6867
  },
6830
6868
  {
6831
- "$ref": "#/components/schemas/ForumLookupResponse"
6869
+ "$ref": "#/components/schemas/CompanyProfileResponse"
6870
+ },
6871
+ {
6872
+ "$ref": "#/components/schemas/CompanyStockResponse"
6873
+ },
6874
+ {
6875
+ "$ref": "#/components/schemas/CompanyLookupResponse"
6832
6876
  },
6833
6877
  {
6834
6878
  "$ref": "#/components/schemas/TimestampResponse"
@@ -6847,21 +6891,15 @@
6847
6891
  "x-stability": "Stable"
6848
6892
  }
6849
6893
  },
6850
- "/key/log": {
6894
+ "/forum/categories": {
6851
6895
  "get": {
6852
6896
  "tags": [
6853
- "Key"
6897
+ "Forum"
6854
6898
  ],
6855
- "summary": "Get current key log history",
6856
- "description": "Available for any key. <br>\n * This selection contains up to last 250 request logs.",
6857
- "operationId": "getKeyLog",
6899
+ "summary": "Get publicly available forum categories",
6900
+ "description": "Requires public access key. <br>",
6901
+ "operationId": "getForumCategories",
6858
6902
  "parameters": [
6859
- {
6860
- "$ref": "#/components/parameters/ApiLimit100"
6861
- },
6862
- {
6863
- "$ref": "#/components/parameters/ApiOffsetNoDefault"
6864
- },
6865
6903
  {
6866
6904
  "$ref": "#/components/parameters/ApiTimestamp"
6867
6905
  },
@@ -6878,7 +6916,7 @@
6878
6916
  "content": {
6879
6917
  "application/json": {
6880
6918
  "schema": {
6881
- "$ref": "#/components/schemas/KeyLogResponse"
6919
+ "$ref": "#/components/schemas/ForumCategoriesResponse"
6882
6920
  }
6883
6921
  }
6884
6922
  }
@@ -6892,72 +6930,38 @@
6892
6930
  "x-stability": "Stable"
6893
6931
  }
6894
6932
  },
6895
- "/key/info": {
6933
+ "/forum/{threadId}/posts": {
6896
6934
  "get": {
6897
6935
  "tags": [
6898
- "Key"
6936
+ "Forum"
6899
6937
  ],
6900
- "summary": "Get current key info",
6901
- "description": "Available for any key. <br>",
6902
- "operationId": "getKeyInfo",
6938
+ "summary": "Get specific forum thread posts",
6939
+ "description": "Requires public access key. <br>Returns 20 posts per page for a specific thread. <br> By default, it uses 'offset', but it's possible to filter posts with 'from' & 'to' parameters.",
6940
+ "operationId": "getForumThreadPosts",
6903
6941
  "parameters": [
6904
6942
  {
6905
- "$ref": "#/components/parameters/ApiTimestamp"
6943
+ "$ref": "#/components/parameters/ApiStripTagsTrue"
6906
6944
  },
6907
6945
  {
6908
- "$ref": "#/components/parameters/ApiComment"
6946
+ "$ref": "#/components/parameters/ApiOffsetNoDefault"
6909
6947
  },
6910
6948
  {
6911
- "$ref": "#/components/parameters/ApiKeyPublic"
6912
- }
6913
- ],
6914
- "responses": {
6915
- "200": {
6916
- "description": "Successful operation",
6917
- "content": {
6918
- "application/json": {
6919
- "schema": {
6920
- "$ref": "#/components/schemas/KeyInfoResponse"
6921
- }
6922
- }
6923
- }
6924
- }
6925
- },
6926
- "security": [
6927
- {
6928
- "api_key": []
6929
- }
6930
- ],
6931
- "x-stability": "Stable"
6932
- }
6933
- },
6934
- "/key": {
6935
- "get": {
6936
- "tags": [
6937
- "Key"
6938
- ],
6939
- "summary": "Get any Key selection",
6940
- "operationId": "getKeyGeneric",
6941
- "parameters": [
6949
+ "$ref": "#/components/parameters/ApiSort"
6950
+ },
6942
6951
  {
6943
- "name": "selections",
6944
- "in": "query",
6945
- "description": "Selection names",
6946
- "required": false,
6947
- "style": "form",
6948
- "explode": false,
6949
- "schema": {
6950
- "type": "array",
6951
- "items": {
6952
- "$ref": "#/components/schemas/KeySelectionName"
6953
- }
6954
- }
6952
+ "$ref": "#/components/parameters/ApiFrom"
6955
6953
  },
6956
6954
  {
6957
- "$ref": "#/components/parameters/ApiLimit100"
6955
+ "$ref": "#/components/parameters/ApiTo"
6958
6956
  },
6959
6957
  {
6960
- "$ref": "#/components/parameters/ApiOffsetNoDefault"
6958
+ "name": "threadId",
6959
+ "in": "path",
6960
+ "description": "Thread id",
6961
+ "required": true,
6962
+ "schema": {
6963
+ "$ref": "#/components/schemas/ForumThreadId"
6964
+ }
6961
6965
  },
6962
6966
  {
6963
6967
  "$ref": "#/components/parameters/ApiTimestamp"
@@ -6975,14 +6979,7 @@
6975
6979
  "content": {
6976
6980
  "application/json": {
6977
6981
  "schema": {
6978
- "anyOf": [
6979
- {
6980
- "$ref": "#/components/schemas/KeyInfoResponse"
6981
- },
6982
- {
6983
- "$ref": "#/components/schemas/KeyLogResponse"
6984
- }
6985
- ]
6982
+ "$ref": "#/components/schemas/ForumPostsResponse"
6986
6983
  }
6987
6984
  }
6988
6985
  }
@@ -6996,22 +6993,22 @@
6996
6993
  "x-stability": "Stable"
6997
6994
  }
6998
6995
  },
6999
- "/market/{id}/auctionhouselisting": {
6996
+ "/forum/{threadId}/thread": {
7000
6997
  "get": {
7001
6998
  "tags": [
7002
- "Market"
6999
+ "Forum"
7003
7000
  ],
7004
- "summary": "Get specific item auction house listings",
7005
- "description": "Requires public access key. <br>",
7006
- "operationId": "getMarketAuctionHouseListing",
7001
+ "summary": "Get specific thread details",
7002
+ "description": "Requires public access key. <br>Contains details of a thread including topic content and poll (if any).",
7003
+ "operationId": "getForumThread",
7007
7004
  "parameters": [
7008
7005
  {
7009
- "name": "id",
7006
+ "name": "threadId",
7010
7007
  "in": "path",
7011
- "description": "Listing id",
7008
+ "description": "Thread id",
7012
7009
  "required": true,
7013
7010
  "schema": {
7014
- "$ref": "#/components/schemas/AuctionListingId"
7011
+ "$ref": "#/components/schemas/ForumThreadId"
7015
7012
  }
7016
7013
  },
7017
7014
  {
@@ -7030,7 +7027,7 @@
7030
7027
  "content": {
7031
7028
  "application/json": {
7032
7029
  "schema": {
7033
- "$ref": "#/components/schemas/AuctionHouseListing"
7030
+ "$ref": "#/components/schemas/ForumThreadResponse"
7034
7031
  }
7035
7032
  }
7036
7033
  }
@@ -7044,26 +7041,526 @@
7044
7041
  "x-stability": "Stable"
7045
7042
  }
7046
7043
  },
7047
- "/market/{id}/auctionhouse": {
7044
+ "/forum/threads": {
7048
7045
  "get": {
7049
7046
  "tags": [
7050
- "Market"
7047
+ "Forum"
7051
7048
  ],
7052
- "summary": "Get specific item auction house listings",
7049
+ "summary": "Get threads across all forum categories",
7053
7050
  "description": "Requires public access key. <br>",
7054
- "operationId": "getMarketAuctionHouseItem",
7051
+ "operationId": "getForumAllThreads",
7055
7052
  "parameters": [
7056
7053
  {
7057
- "name": "id",
7058
- "in": "path",
7059
- "description": "Item id",
7060
- "required": true,
7061
- "schema": {
7062
- "$ref": "#/components/schemas/ItemId"
7063
- }
7064
- },
7065
- {
7066
- "$ref": "#/components/parameters/ApiLimit100Default20"
7054
+ "$ref": "#/components/parameters/ApiLimit100"
7055
+ },
7056
+ {
7057
+ "$ref": "#/components/parameters/ApiSort"
7058
+ },
7059
+ {
7060
+ "$ref": "#/components/parameters/ApiFrom"
7061
+ },
7062
+ {
7063
+ "$ref": "#/components/parameters/ApiTo"
7064
+ },
7065
+ {
7066
+ "$ref": "#/components/parameters/ApiTimestamp"
7067
+ },
7068
+ {
7069
+ "$ref": "#/components/parameters/ApiComment"
7070
+ },
7071
+ {
7072
+ "$ref": "#/components/parameters/ApiKeyPublic"
7073
+ }
7074
+ ],
7075
+ "responses": {
7076
+ "200": {
7077
+ "description": "Successful operation",
7078
+ "content": {
7079
+ "application/json": {
7080
+ "schema": {
7081
+ "$ref": "#/components/schemas/ForumThreadsResponse"
7082
+ }
7083
+ }
7084
+ }
7085
+ }
7086
+ },
7087
+ "security": [
7088
+ {
7089
+ "api_key": []
7090
+ }
7091
+ ],
7092
+ "x-stability": "Stable"
7093
+ }
7094
+ },
7095
+ "/forum/{categoryIds}/threads": {
7096
+ "get": {
7097
+ "tags": [
7098
+ "Forum"
7099
+ ],
7100
+ "summary": "Get threads for specific public forum category or categories",
7101
+ "description": "Requires public access key. <br>",
7102
+ "operationId": "getForumThreads",
7103
+ "parameters": [
7104
+ {
7105
+ "$ref": "#/components/parameters/ApiLimit100"
7106
+ },
7107
+ {
7108
+ "$ref": "#/components/parameters/ApiSort"
7109
+ },
7110
+ {
7111
+ "$ref": "#/components/parameters/ApiFrom"
7112
+ },
7113
+ {
7114
+ "$ref": "#/components/parameters/ApiTo"
7115
+ },
7116
+ {
7117
+ "name": "categoryIds",
7118
+ "in": "path",
7119
+ "description": "Category id or a list of category ids (comma separated)",
7120
+ "required": true,
7121
+ "style": "form",
7122
+ "explode": false,
7123
+ "schema": {
7124
+ "type": "array",
7125
+ "items": {
7126
+ "$ref": "#/components/schemas/ForumId"
7127
+ }
7128
+ }
7129
+ },
7130
+ {
7131
+ "$ref": "#/components/parameters/ApiTimestamp"
7132
+ },
7133
+ {
7134
+ "$ref": "#/components/parameters/ApiComment"
7135
+ },
7136
+ {
7137
+ "$ref": "#/components/parameters/ApiKeyPublic"
7138
+ }
7139
+ ],
7140
+ "responses": {
7141
+ "200": {
7142
+ "description": "Successful operation",
7143
+ "content": {
7144
+ "application/json": {
7145
+ "schema": {
7146
+ "$ref": "#/components/schemas/ForumThreadsResponse"
7147
+ }
7148
+ }
7149
+ }
7150
+ }
7151
+ },
7152
+ "security": [
7153
+ {
7154
+ "api_key": []
7155
+ }
7156
+ ],
7157
+ "x-stability": "Stable"
7158
+ }
7159
+ },
7160
+ "/forum/lookup": {
7161
+ "get": {
7162
+ "tags": [
7163
+ "Forum"
7164
+ ],
7165
+ "summary": "Get all available forum selections",
7166
+ "description": "Requires public access key. <br>",
7167
+ "operationId": "getForumLookup",
7168
+ "parameters": [
7169
+ {
7170
+ "$ref": "#/components/parameters/ApiTimestamp"
7171
+ },
7172
+ {
7173
+ "$ref": "#/components/parameters/ApiComment"
7174
+ },
7175
+ {
7176
+ "$ref": "#/components/parameters/ApiKeyPublic"
7177
+ }
7178
+ ],
7179
+ "responses": {
7180
+ "200": {
7181
+ "description": "Successful operation",
7182
+ "content": {
7183
+ "application/json": {
7184
+ "schema": {
7185
+ "$ref": "#/components/schemas/ForumLookupResponse"
7186
+ }
7187
+ }
7188
+ }
7189
+ }
7190
+ },
7191
+ "security": [
7192
+ {
7193
+ "api_key": []
7194
+ }
7195
+ ],
7196
+ "x-stability": "Stable"
7197
+ }
7198
+ },
7199
+ "/forum/timestamp": {
7200
+ "get": {
7201
+ "tags": [
7202
+ "Forum"
7203
+ ],
7204
+ "summary": "Get current server time",
7205
+ "description": "Requires public access key. <br>",
7206
+ "operationId": "getForumTimestamp",
7207
+ "parameters": [
7208
+ {
7209
+ "$ref": "#/components/parameters/ApiTimestamp"
7210
+ },
7211
+ {
7212
+ "$ref": "#/components/parameters/ApiComment"
7213
+ },
7214
+ {
7215
+ "$ref": "#/components/parameters/ApiKeyPublic"
7216
+ }
7217
+ ],
7218
+ "responses": {
7219
+ "200": {
7220
+ "description": "Successful operation",
7221
+ "content": {
7222
+ "application/json": {
7223
+ "schema": {
7224
+ "$ref": "#/components/schemas/TimestampResponse"
7225
+ }
7226
+ }
7227
+ }
7228
+ }
7229
+ },
7230
+ "security": [
7231
+ {
7232
+ "api_key": []
7233
+ }
7234
+ ],
7235
+ "x-stability": "Stable"
7236
+ }
7237
+ },
7238
+ "/forum": {
7239
+ "get": {
7240
+ "tags": [
7241
+ "Forum"
7242
+ ],
7243
+ "summary": "Get any Forum selection",
7244
+ "description": "Requires public access key. <br>Choose one or more selections (comma separated).",
7245
+ "operationId": "getForumGeneric",
7246
+ "parameters": [
7247
+ {
7248
+ "name": "selections",
7249
+ "in": "query",
7250
+ "description": "Selection names",
7251
+ "required": false,
7252
+ "style": "form",
7253
+ "explode": false,
7254
+ "schema": {
7255
+ "type": "array",
7256
+ "items": {
7257
+ "$ref": "#/components/schemas/ForumSelectionName"
7258
+ }
7259
+ }
7260
+ },
7261
+ {
7262
+ "name": "id",
7263
+ "in": "query",
7264
+ "description": "selection id",
7265
+ "required": false,
7266
+ "schema": {
7267
+ "oneOf": [
7268
+ {
7269
+ "$ref": "#/components/schemas/ForumThreadId"
7270
+ },
7271
+ {
7272
+ "type": "array",
7273
+ "items": {
7274
+ "$ref": "#/components/schemas/ForumId"
7275
+ }
7276
+ }
7277
+ ]
7278
+ }
7279
+ },
7280
+ {
7281
+ "$ref": "#/components/parameters/ApiStripTags"
7282
+ },
7283
+ {
7284
+ "$ref": "#/components/parameters/ApiLimit"
7285
+ },
7286
+ {
7287
+ "$ref": "#/components/parameters/ApiSort"
7288
+ },
7289
+ {
7290
+ "$ref": "#/components/parameters/ApiFrom"
7291
+ },
7292
+ {
7293
+ "$ref": "#/components/parameters/ApiTo"
7294
+ },
7295
+ {
7296
+ "$ref": "#/components/parameters/ApiOffsetNoDefault"
7297
+ },
7298
+ {
7299
+ "$ref": "#/components/parameters/ApiTimestamp"
7300
+ },
7301
+ {
7302
+ "$ref": "#/components/parameters/ApiComment"
7303
+ },
7304
+ {
7305
+ "$ref": "#/components/parameters/ApiKeyPublic"
7306
+ }
7307
+ ],
7308
+ "responses": {
7309
+ "200": {
7310
+ "description": "Successful operation",
7311
+ "content": {
7312
+ "application/json": {
7313
+ "schema": {
7314
+ "anyOf": [
7315
+ {
7316
+ "$ref": "#/components/schemas/ForumCategoriesResponse"
7317
+ },
7318
+ {
7319
+ "$ref": "#/components/schemas/ForumThreadsResponse"
7320
+ },
7321
+ {
7322
+ "$ref": "#/components/schemas/ForumThreadResponse"
7323
+ },
7324
+ {
7325
+ "$ref": "#/components/schemas/ForumPostsResponse"
7326
+ },
7327
+ {
7328
+ "$ref": "#/components/schemas/ForumLookupResponse"
7329
+ },
7330
+ {
7331
+ "$ref": "#/components/schemas/TimestampResponse"
7332
+ }
7333
+ ]
7334
+ }
7335
+ }
7336
+ }
7337
+ }
7338
+ },
7339
+ "security": [
7340
+ {
7341
+ "api_key": []
7342
+ }
7343
+ ],
7344
+ "x-stability": "Stable"
7345
+ }
7346
+ },
7347
+ "/key/log": {
7348
+ "get": {
7349
+ "tags": [
7350
+ "Key"
7351
+ ],
7352
+ "summary": "Get current key log history",
7353
+ "description": "Available for any key. <br>\n * This selection contains up to last 250 request logs.",
7354
+ "operationId": "getKeyLog",
7355
+ "parameters": [
7356
+ {
7357
+ "$ref": "#/components/parameters/ApiLimit100"
7358
+ },
7359
+ {
7360
+ "$ref": "#/components/parameters/ApiOffsetNoDefault"
7361
+ },
7362
+ {
7363
+ "$ref": "#/components/parameters/ApiTimestamp"
7364
+ },
7365
+ {
7366
+ "$ref": "#/components/parameters/ApiComment"
7367
+ },
7368
+ {
7369
+ "$ref": "#/components/parameters/ApiKeyPublic"
7370
+ }
7371
+ ],
7372
+ "responses": {
7373
+ "200": {
7374
+ "description": "Successful operation",
7375
+ "content": {
7376
+ "application/json": {
7377
+ "schema": {
7378
+ "$ref": "#/components/schemas/KeyLogResponse"
7379
+ }
7380
+ }
7381
+ }
7382
+ }
7383
+ },
7384
+ "security": [
7385
+ {
7386
+ "api_key": []
7387
+ }
7388
+ ],
7389
+ "x-stability": "Stable"
7390
+ }
7391
+ },
7392
+ "/key/info": {
7393
+ "get": {
7394
+ "tags": [
7395
+ "Key"
7396
+ ],
7397
+ "summary": "Get current key info",
7398
+ "description": "Available for any key. <br>",
7399
+ "operationId": "getKeyInfo",
7400
+ "parameters": [
7401
+ {
7402
+ "$ref": "#/components/parameters/ApiTimestamp"
7403
+ },
7404
+ {
7405
+ "$ref": "#/components/parameters/ApiComment"
7406
+ },
7407
+ {
7408
+ "$ref": "#/components/parameters/ApiKeyPublic"
7409
+ }
7410
+ ],
7411
+ "responses": {
7412
+ "200": {
7413
+ "description": "Successful operation",
7414
+ "content": {
7415
+ "application/json": {
7416
+ "schema": {
7417
+ "$ref": "#/components/schemas/KeyInfoResponse"
7418
+ }
7419
+ }
7420
+ }
7421
+ }
7422
+ },
7423
+ "security": [
7424
+ {
7425
+ "api_key": []
7426
+ }
7427
+ ],
7428
+ "x-stability": "Stable"
7429
+ }
7430
+ },
7431
+ "/key": {
7432
+ "get": {
7433
+ "tags": [
7434
+ "Key"
7435
+ ],
7436
+ "summary": "Get any Key selection",
7437
+ "operationId": "getKeyGeneric",
7438
+ "parameters": [
7439
+ {
7440
+ "name": "selections",
7441
+ "in": "query",
7442
+ "description": "Selection names",
7443
+ "required": false,
7444
+ "style": "form",
7445
+ "explode": false,
7446
+ "schema": {
7447
+ "type": "array",
7448
+ "items": {
7449
+ "$ref": "#/components/schemas/KeySelectionName"
7450
+ }
7451
+ }
7452
+ },
7453
+ {
7454
+ "$ref": "#/components/parameters/ApiLimit100"
7455
+ },
7456
+ {
7457
+ "$ref": "#/components/parameters/ApiOffsetNoDefault"
7458
+ },
7459
+ {
7460
+ "$ref": "#/components/parameters/ApiTimestamp"
7461
+ },
7462
+ {
7463
+ "$ref": "#/components/parameters/ApiComment"
7464
+ },
7465
+ {
7466
+ "$ref": "#/components/parameters/ApiKeyPublic"
7467
+ }
7468
+ ],
7469
+ "responses": {
7470
+ "200": {
7471
+ "description": "Successful operation",
7472
+ "content": {
7473
+ "application/json": {
7474
+ "schema": {
7475
+ "anyOf": [
7476
+ {
7477
+ "$ref": "#/components/schemas/KeyInfoResponse"
7478
+ },
7479
+ {
7480
+ "$ref": "#/components/schemas/KeyLogResponse"
7481
+ }
7482
+ ]
7483
+ }
7484
+ }
7485
+ }
7486
+ }
7487
+ },
7488
+ "security": [
7489
+ {
7490
+ "api_key": []
7491
+ }
7492
+ ],
7493
+ "x-stability": "Stable"
7494
+ }
7495
+ },
7496
+ "/market/{id}/auctionhouselisting": {
7497
+ "get": {
7498
+ "tags": [
7499
+ "Market"
7500
+ ],
7501
+ "summary": "Get specific item auction house listings",
7502
+ "description": "Requires public access key. <br>",
7503
+ "operationId": "getMarketAuctionHouseListing",
7504
+ "parameters": [
7505
+ {
7506
+ "name": "id",
7507
+ "in": "path",
7508
+ "description": "Listing id",
7509
+ "required": true,
7510
+ "schema": {
7511
+ "$ref": "#/components/schemas/AuctionListingId"
7512
+ }
7513
+ },
7514
+ {
7515
+ "$ref": "#/components/parameters/ApiTimestamp"
7516
+ },
7517
+ {
7518
+ "$ref": "#/components/parameters/ApiComment"
7519
+ },
7520
+ {
7521
+ "$ref": "#/components/parameters/ApiKeyPublic"
7522
+ }
7523
+ ],
7524
+ "responses": {
7525
+ "200": {
7526
+ "description": "Successful operation",
7527
+ "content": {
7528
+ "application/json": {
7529
+ "schema": {
7530
+ "$ref": "#/components/schemas/AuctionHouseListing"
7531
+ }
7532
+ }
7533
+ }
7534
+ }
7535
+ },
7536
+ "security": [
7537
+ {
7538
+ "api_key": []
7539
+ }
7540
+ ],
7541
+ "x-stability": "Stable"
7542
+ }
7543
+ },
7544
+ "/market/{id}/auctionhouse": {
7545
+ "get": {
7546
+ "tags": [
7547
+ "Market"
7548
+ ],
7549
+ "summary": "Get specific item auction house listings",
7550
+ "description": "Requires public access key. <br>",
7551
+ "operationId": "getMarketAuctionHouseItem",
7552
+ "parameters": [
7553
+ {
7554
+ "name": "id",
7555
+ "in": "path",
7556
+ "description": "Item id",
7557
+ "required": true,
7558
+ "schema": {
7559
+ "$ref": "#/components/schemas/ItemId"
7560
+ }
7561
+ },
7562
+ {
7563
+ "$ref": "#/components/parameters/ApiLimit100Default20"
7067
7564
  },
7068
7565
  {
7069
7566
  "$ref": "#/components/parameters/ApiSort"
@@ -14887,7 +15384,7 @@
14887
15384
  "Pads"
14888
15385
  ]
14889
15386
  },
14890
- "FactionApplicationStatusEnum": {
15387
+ "ApplicationStatusEnum": {
14891
15388
  "type": "string",
14892
15389
  "enum": [
14893
15390
  "accepted",
@@ -15021,6 +15518,10 @@
15021
15518
  "type": "integer",
15022
15519
  "format": "int32"
15023
15520
  },
15521
+ "CompanyPositionId": {
15522
+ "type": "integer",
15523
+ "format": "int32"
15524
+ },
15024
15525
  "TradeId": {
15025
15526
  "type": "integer",
15026
15527
  "format": "int64"
@@ -15213,6 +15714,30 @@
15213
15714
  "Enby"
15214
15715
  ]
15215
15716
  },
15717
+ "CompanyStaffRoomSizeEnum": {
15718
+ "type": "string",
15719
+ "enum": [
15720
+ "No staff room",
15721
+ "Small staff room",
15722
+ "Standard staff room",
15723
+ "Large staff room",
15724
+ "Very large staff room",
15725
+ "Huge staff room",
15726
+ "Colossal staff room"
15727
+ ]
15728
+ },
15729
+ "CompanyStorageSizeEnum": {
15730
+ "type": "string",
15731
+ "enum": [
15732
+ "Small room",
15733
+ "Standard room",
15734
+ "Large room",
15735
+ "Huge room",
15736
+ "Warehouse",
15737
+ "Large warehouse",
15738
+ "Huge warehouse"
15739
+ ]
15740
+ },
15216
15741
  "HonorRarityEnum": {
15217
15742
  "type": "string",
15218
15743
  "enum": [
@@ -17287,6 +17812,50 @@
17287
17812
  }
17288
17813
  ]
17289
17814
  },
17815
+ "UserItemMod": {
17816
+ "required": [
17817
+ "id",
17818
+ "title",
17819
+ "equipped",
17820
+ "equipped_item_uid"
17821
+ ],
17822
+ "properties": {
17823
+ "id": {
17824
+ "$ref": "#/components/schemas/ItemModId"
17825
+ },
17826
+ "title": {
17827
+ "type": "string"
17828
+ },
17829
+ "equipped": {
17830
+ "type": "boolean"
17831
+ },
17832
+ "equipped_item_uid": {
17833
+ "oneOf": [
17834
+ {
17835
+ "$ref": "#/components/schemas/ItemUid"
17836
+ },
17837
+ {
17838
+ "type": "null"
17839
+ }
17840
+ ]
17841
+ }
17842
+ },
17843
+ "type": "object"
17844
+ },
17845
+ "UserItemModsResponse": {
17846
+ "required": [
17847
+ "itemmods"
17848
+ ],
17849
+ "properties": {
17850
+ "itemmods": {
17851
+ "type": "array",
17852
+ "items": {
17853
+ "$ref": "#/components/schemas/UserItemMod"
17854
+ }
17855
+ }
17856
+ },
17857
+ "type": "object"
17858
+ },
17290
17859
  "UserTradesResponse": {
17291
17860
  "required": [
17292
17861
  "trades",
@@ -17841,18 +18410,65 @@
17841
18410
  },
17842
18411
  {
17843
18412
  "required": [
17844
- "slot"
18413
+ "slot",
18414
+ "ammo",
18415
+ "mods"
17845
18416
  ],
17846
18417
  "properties": {
17847
18418
  "slot": {
17848
18419
  "type": "integer",
17849
18420
  "format": "int32"
18421
+ },
18422
+ "mods": {
18423
+ "type": "array",
18424
+ "items": {
18425
+ "$ref": "#/components/schemas/UserEquipmentItemMod"
18426
+ }
18427
+ },
18428
+ "ammo": {
18429
+ "required": [
18430
+ "id",
18431
+ "name",
18432
+ "type",
18433
+ "quantity"
18434
+ ],
18435
+ "properties": {
18436
+ "id": {
18437
+ "$ref": "#/components/schemas/AmmoId"
18438
+ },
18439
+ "name": {
18440
+ "type": "string"
18441
+ },
18442
+ "quantity": {
18443
+ "type": "integer",
18444
+ "format": "int32"
18445
+ },
18446
+ "type": {
18447
+ "$ref": "#/components/schemas/TornItemAmmoTypeEnum"
18448
+ }
18449
+ },
18450
+ "type": "object"
17850
18451
  }
17851
18452
  },
17852
18453
  "type": "object"
17853
18454
  }
17854
18455
  ]
17855
18456
  },
18457
+ "UserEquipmentItemMod": {
18458
+ "required": [
18459
+ "id",
18460
+ "name"
18461
+ ],
18462
+ "properties": {
18463
+ "id": {
18464
+ "$ref": "#/components/schemas/ItemModId"
18465
+ },
18466
+ "name": {
18467
+ "type": "string"
18468
+ }
18469
+ },
18470
+ "type": "object"
18471
+ },
17856
18472
  "UserClothing": {
17857
18473
  "required": [
17858
18474
  "id",
@@ -21524,6 +22140,7 @@
21524
22140
  "icons",
21525
22141
  "inventory",
21526
22142
  "itemmarket",
22143
+ "itemmod",
21527
22144
  "job",
21528
22145
  "jobpoints",
21529
22146
  "jobranks",
@@ -26702,7 +27319,7 @@
26702
27319
  "format": "int32"
26703
27320
  },
26704
27321
  "status": {
26705
- "$ref": "#/components/schemas/FactionApplicationStatusEnum"
27322
+ "$ref": "#/components/schemas/ApplicationStatusEnum"
26706
27323
  }
26707
27324
  },
26708
27325
  "type": "object"
@@ -27939,6 +28556,680 @@
27939
28556
  },
27940
28557
  "type": "object"
27941
28558
  },
28559
+ "CompanySelectionName": {
28560
+ "oneOf": [
28561
+ {
28562
+ "description": "The following selections will fallback to API v1 and may change at any time: 'companies', 'news', 'search'.\n * The following selections are not available in API v2: 'details'.",
28563
+ "type": "string",
28564
+ "enum": [
28565
+ "applications",
28566
+ "employees",
28567
+ "lookup",
28568
+ "profile",
28569
+ "stock",
28570
+ "timestamp",
28571
+ "companies",
28572
+ "news",
28573
+ "search"
28574
+ ]
28575
+ },
28576
+ {
28577
+ "type": "string"
28578
+ }
28579
+ ]
28580
+ },
28581
+ "CompanyLookupResponse": {
28582
+ "required": [
28583
+ "selections"
28584
+ ],
28585
+ "properties": {
28586
+ "selections": {
28587
+ "type": "array",
28588
+ "items": {
28589
+ "$ref": "#/components/schemas/CompanySelectionName"
28590
+ }
28591
+ }
28592
+ },
28593
+ "type": "object"
28594
+ },
28595
+ "CompanyProfileResponse": {
28596
+ "required": [
28597
+ "profile"
28598
+ ],
28599
+ "properties": {
28600
+ "profile": {
28601
+ "$ref": "#/components/schemas/CompanyProfile"
28602
+ }
28603
+ },
28604
+ "type": "object"
28605
+ },
28606
+ "CompanyProfileExtendedResponse": {
28607
+ "required": [
28608
+ "profile"
28609
+ ],
28610
+ "properties": {
28611
+ "profile": {
28612
+ "$ref": "#/components/schemas/CompanyProfileExtended"
28613
+ }
28614
+ },
28615
+ "type": "object"
28616
+ },
28617
+ "CompanyProfileResponseMixed": {
28618
+ "required": [
28619
+ "profile"
28620
+ ],
28621
+ "properties": {
28622
+ "profile": {
28623
+ "oneOf": [
28624
+ {
28625
+ "$ref": "#/components/schemas/CompanyProfile"
28626
+ },
28627
+ {
28628
+ "$ref": "#/components/schemas/CompanyProfileExtended"
28629
+ }
28630
+ ]
28631
+ }
28632
+ },
28633
+ "type": "object"
28634
+ },
28635
+ "CompanyProfileExtended": {
28636
+ "allOf": [
28637
+ {
28638
+ "$ref": "#/components/schemas/CompanyProfile"
28639
+ },
28640
+ {
28641
+ "required": [
28642
+ "funds",
28643
+ "popularity",
28644
+ "efficiency",
28645
+ "environment",
28646
+ "trains",
28647
+ "applications_allowed",
28648
+ "advertisement_budget",
28649
+ "upgrades",
28650
+ "value"
28651
+ ],
28652
+ "properties": {
28653
+ "funds": {
28654
+ "type": "integer",
28655
+ "format": "int64"
28656
+ },
28657
+ "popularity": {
28658
+ "type": "integer",
28659
+ "format": "int32"
28660
+ },
28661
+ "efficiency": {
28662
+ "type": "integer",
28663
+ "format": "int32"
28664
+ },
28665
+ "environment": {
28666
+ "type": "integer",
28667
+ "format": "int32"
28668
+ },
28669
+ "trains": {
28670
+ "type": "integer",
28671
+ "format": "int32"
28672
+ },
28673
+ "applications_allowed": {
28674
+ "type": "boolean"
28675
+ },
28676
+ "advertisement_budget": {
28677
+ "type": "integer",
28678
+ "format": "int64"
28679
+ },
28680
+ "upgrades": {
28681
+ "$ref": "#/components/schemas/CompanyUpgrades"
28682
+ },
28683
+ "value": {
28684
+ "type": "integer",
28685
+ "format": "int64"
28686
+ }
28687
+ },
28688
+ "type": "object"
28689
+ }
28690
+ ]
28691
+ },
28692
+ "CompanyUpgrades": {
28693
+ "required": [
28694
+ "staff_room",
28695
+ "storage",
28696
+ "storage_capacity"
28697
+ ],
28698
+ "properties": {
28699
+ "staff_room": {
28700
+ "$ref": "#/components/schemas/CompanyStaffRoomSizeEnum"
28701
+ },
28702
+ "storage": {
28703
+ "type": "string"
28704
+ },
28705
+ "storage_capacity": {
28706
+ "$ref": "#/components/schemas/CompanyStorageSizeEnum"
28707
+ }
28708
+ },
28709
+ "type": "object"
28710
+ },
28711
+ "CompanyProfile": {
28712
+ "required": [
28713
+ "id",
28714
+ "name",
28715
+ "created_at",
28716
+ "days_old",
28717
+ "image",
28718
+ "type",
28719
+ "rating",
28720
+ "director",
28721
+ "employees",
28722
+ "income",
28723
+ "customers"
28724
+ ],
28725
+ "properties": {
28726
+ "id": {
28727
+ "$ref": "#/components/schemas/CompanyId"
28728
+ },
28729
+ "name": {
28730
+ "type": "string"
28731
+ },
28732
+ "created_at": {
28733
+ "type": "integer",
28734
+ "format": "int32"
28735
+ },
28736
+ "days_old": {
28737
+ "type": "integer",
28738
+ "format": "int32"
28739
+ },
28740
+ "image": {
28741
+ "type": "string"
28742
+ },
28743
+ "type": {
28744
+ "$ref": "#/components/schemas/CompanyType"
28745
+ },
28746
+ "rating": {
28747
+ "type": "integer",
28748
+ "format": "int32"
28749
+ },
28750
+ "director": {
28751
+ "$ref": "#/components/schemas/CompanyDirector"
28752
+ },
28753
+ "employees": {
28754
+ "$ref": "#/components/schemas/CompanyEmployees"
28755
+ },
28756
+ "income": {
28757
+ "$ref": "#/components/schemas/CompanyIncome"
28758
+ },
28759
+ "customers": {
28760
+ "$ref": "#/components/schemas/CompanyCustomers"
28761
+ }
28762
+ },
28763
+ "type": "object"
28764
+ },
28765
+ "CompanyType": {
28766
+ "required": [
28767
+ "id",
28768
+ "name"
28769
+ ],
28770
+ "properties": {
28771
+ "id": {
28772
+ "$ref": "#/components/schemas/CompanyTypeId"
28773
+ },
28774
+ "name": {
28775
+ "type": "string"
28776
+ }
28777
+ },
28778
+ "type": "object"
28779
+ },
28780
+ "CompanyDirector": {
28781
+ "required": [
28782
+ "id",
28783
+ "name",
28784
+ "status",
28785
+ "last_action"
28786
+ ],
28787
+ "properties": {
28788
+ "id": {
28789
+ "$ref": "#/components/schemas/UserId"
28790
+ },
28791
+ "name": {
28792
+ "type": "string"
28793
+ },
28794
+ "status": {
28795
+ "$ref": "#/components/schemas/UserStatus"
28796
+ },
28797
+ "last_action": {
28798
+ "$ref": "#/components/schemas/UserLastAction"
28799
+ }
28800
+ },
28801
+ "type": "object"
28802
+ },
28803
+ "CompanyEmployees": {
28804
+ "required": [
28805
+ "hired",
28806
+ "capacity"
28807
+ ],
28808
+ "properties": {
28809
+ "hired": {
28810
+ "type": "integer",
28811
+ "format": "int32"
28812
+ },
28813
+ "capacity": {
28814
+ "type": "integer",
28815
+ "format": "int32"
28816
+ }
28817
+ },
28818
+ "type": "object"
28819
+ },
28820
+ "CompanyIncome": {
28821
+ "required": [
28822
+ "daily",
28823
+ "weekly"
28824
+ ],
28825
+ "properties": {
28826
+ "daily": {
28827
+ "type": "integer",
28828
+ "format": "int64"
28829
+ },
28830
+ "weekly": {
28831
+ "type": "integer",
28832
+ "format": "int64"
28833
+ }
28834
+ },
28835
+ "type": "object"
28836
+ },
28837
+ "CompanyCustomers": {
28838
+ "required": [
28839
+ "daily",
28840
+ "weekly"
28841
+ ],
28842
+ "properties": {
28843
+ "daily": {
28844
+ "type": "integer",
28845
+ "format": "int32"
28846
+ },
28847
+ "weekly": {
28848
+ "type": "integer",
28849
+ "format": "int32"
28850
+ }
28851
+ },
28852
+ "type": "object"
28853
+ },
28854
+ "CompanyEmployeesResponse": {
28855
+ "required": [
28856
+ "employees"
28857
+ ],
28858
+ "properties": {
28859
+ "employees": {
28860
+ "type": "array",
28861
+ "items": {
28862
+ "oneOf": [
28863
+ {
28864
+ "$ref": "#/components/schemas/CompanyEmployee"
28865
+ },
28866
+ {
28867
+ "$ref": "#/components/schemas/CompanyEmployeeExtended"
28868
+ },
28869
+ {
28870
+ "$ref": "#/components/schemas/CompanyEmployeeFull"
28871
+ }
28872
+ ]
28873
+ }
28874
+ }
28875
+ },
28876
+ "type": "object"
28877
+ },
28878
+ "CompanyEmployeesResponseBasic": {
28879
+ "required": [
28880
+ "employees"
28881
+ ],
28882
+ "properties": {
28883
+ "employees": {
28884
+ "type": "array",
28885
+ "items": {
28886
+ "$ref": "#/components/schemas/CompanyEmployee"
28887
+ }
28888
+ }
28889
+ },
28890
+ "type": "object"
28891
+ },
28892
+ "CompanyEmployeeExtended": {
28893
+ "allOf": [
28894
+ {
28895
+ "$ref": "#/components/schemas/CompanyEmployee"
28896
+ },
28897
+ {
28898
+ "required": [
28899
+ "stats",
28900
+ "effectiveness"
28901
+ ],
28902
+ "properties": {
28903
+ "stats": {
28904
+ "$ref": "#/components/schemas/CompanyEmployeeStats"
28905
+ },
28906
+ "effectiveness": {
28907
+ "$ref": "#/components/schemas/CompanyEmployeeEffectiveness"
28908
+ }
28909
+ },
28910
+ "type": "object"
28911
+ }
28912
+ ]
28913
+ },
28914
+ "CompanyEmployeeFull": {
28915
+ "allOf": [
28916
+ {
28917
+ "$ref": "#/components/schemas/CompanyEmployeeExtended"
28918
+ },
28919
+ {
28920
+ "required": [
28921
+ "joined_at",
28922
+ "wage",
28923
+ "value"
28924
+ ],
28925
+ "properties": {
28926
+ "joined_at": {
28927
+ "type": "integer",
28928
+ "format": "int32"
28929
+ },
28930
+ "wage": {
28931
+ "type": "integer",
28932
+ "format": "int64"
28933
+ },
28934
+ "value": {
28935
+ "description": "This value is null if you don't have a secretary.",
28936
+ "oneOf": [
28937
+ {
28938
+ "type": "integer",
28939
+ "format": "int32"
28940
+ },
28941
+ {
28942
+ "type": "null"
28943
+ }
28944
+ ]
28945
+ }
28946
+ },
28947
+ "type": "object"
28948
+ }
28949
+ ]
28950
+ },
28951
+ "CompanyEmployeeStats": {
28952
+ "required": [
28953
+ "manual_labor",
28954
+ "intelligence",
28955
+ "endurance"
28956
+ ],
28957
+ "properties": {
28958
+ "manual_labor": {
28959
+ "type": "integer",
28960
+ "format": "int32"
28961
+ },
28962
+ "intelligence": {
28963
+ "type": "integer",
28964
+ "format": "int32"
28965
+ },
28966
+ "endurance": {
28967
+ "type": "integer",
28968
+ "format": "int32"
28969
+ }
28970
+ },
28971
+ "type": "object"
28972
+ },
28973
+ "CompanyEmployeeEffectiveness": {
28974
+ "required": [
28975
+ "working_stats",
28976
+ "settled_in",
28977
+ "book",
28978
+ "merits",
28979
+ "director_education",
28980
+ "management",
28981
+ "wrong_gender",
28982
+ "addiction",
28983
+ "inactivity",
28984
+ "total"
28985
+ ],
28986
+ "properties": {
28987
+ "working_stats": {
28988
+ "type": "integer",
28989
+ "format": "int32"
28990
+ },
28991
+ "settled_in": {
28992
+ "type": "integer",
28993
+ "format": "int32"
28994
+ },
28995
+ "book": {
28996
+ "type": "integer",
28997
+ "format": "int32"
28998
+ },
28999
+ "merits": {
29000
+ "type": "integer",
29001
+ "format": "int32"
29002
+ },
29003
+ "director_education": {
29004
+ "type": "integer",
29005
+ "format": "int32"
29006
+ },
29007
+ "management": {
29008
+ "type": "integer",
29009
+ "format": "int32"
29010
+ },
29011
+ "wrong_gender": {
29012
+ "type": "integer",
29013
+ "format": "int32"
29014
+ },
29015
+ "addiction": {
29016
+ "type": "integer",
29017
+ "format": "int32"
29018
+ },
29019
+ "inactivity": {
29020
+ "type": "integer",
29021
+ "format": "int32"
29022
+ },
29023
+ "total": {
29024
+ "type": "integer",
29025
+ "format": "int32"
29026
+ }
29027
+ },
29028
+ "type": "object"
29029
+ },
29030
+ "CompanyEmployee": {
29031
+ "required": [
29032
+ "id",
29033
+ "name",
29034
+ "position",
29035
+ "days_in_company",
29036
+ "status",
29037
+ "last_action"
29038
+ ],
29039
+ "properties": {
29040
+ "id": {
29041
+ "$ref": "#/components/schemas/UserId"
29042
+ },
29043
+ "name": {
29044
+ "type": "string"
29045
+ },
29046
+ "position": {
29047
+ "$ref": "#/components/schemas/CompanyEmployeePosition"
29048
+ },
29049
+ "days_in_company": {
29050
+ "type": "integer",
29051
+ "format": "int32"
29052
+ },
29053
+ "status": {
29054
+ "$ref": "#/components/schemas/UserStatus"
29055
+ },
29056
+ "last_action": {
29057
+ "$ref": "#/components/schemas/UserLastAction"
29058
+ }
29059
+ },
29060
+ "type": "object"
29061
+ },
29062
+ "CompanyEmployeePosition": {
29063
+ "required": [
29064
+ "id",
29065
+ "name"
29066
+ ],
29067
+ "properties": {
29068
+ "id": {
29069
+ "$ref": "#/components/schemas/CompanyPositionId"
29070
+ },
29071
+ "name": {
29072
+ "type": "string"
29073
+ }
29074
+ },
29075
+ "type": "object"
29076
+ },
29077
+ "CompanyStockResponse": {
29078
+ "required": [
29079
+ "stock"
29080
+ ],
29081
+ "properties": {
29082
+ "stock": {
29083
+ "type": "array",
29084
+ "items": {
29085
+ "$ref": "#/components/schemas/CompanyStockItem"
29086
+ }
29087
+ }
29088
+ },
29089
+ "type": "object"
29090
+ },
29091
+ "CompanyStockItem": {
29092
+ "required": [
29093
+ "name",
29094
+ "id",
29095
+ "cost",
29096
+ "rrp",
29097
+ "price",
29098
+ "in_stock",
29099
+ "on_order",
29100
+ "sold_amount",
29101
+ "sold_worth"
29102
+ ],
29103
+ "properties": {
29104
+ "name": {
29105
+ "type": "string"
29106
+ },
29107
+ "id": {
29108
+ "type": "integer",
29109
+ "format": "int32"
29110
+ },
29111
+ "cost": {
29112
+ "type": "integer",
29113
+ "format": "int64"
29114
+ },
29115
+ "rrp": {
29116
+ "type": "integer",
29117
+ "format": "int64"
29118
+ },
29119
+ "price": {
29120
+ "type": "integer",
29121
+ "format": "int64"
29122
+ },
29123
+ "in_stock": {
29124
+ "type": "integer",
29125
+ "format": "int64"
29126
+ },
29127
+ "on_order": {
29128
+ "type": "integer",
29129
+ "format": "int64"
29130
+ },
29131
+ "sold_amount": {
29132
+ "type": "integer",
29133
+ "format": "int64"
29134
+ },
29135
+ "sold_worth": {
29136
+ "type": "integer",
29137
+ "format": "int64"
29138
+ }
29139
+ },
29140
+ "type": "object"
29141
+ },
29142
+ "CompanyApplicationsResponse": {
29143
+ "required": [
29144
+ "applications"
29145
+ ],
29146
+ "properties": {
29147
+ "applications": {
29148
+ "type": "array",
29149
+ "items": {
29150
+ "$ref": "#/components/schemas/CompanyApplication"
29151
+ }
29152
+ }
29153
+ },
29154
+ "type": "object"
29155
+ },
29156
+ "CompanyApplication": {
29157
+ "required": [
29158
+ "player",
29159
+ "expires_at",
29160
+ "status",
29161
+ "message"
29162
+ ],
29163
+ "properties": {
29164
+ "player": {
29165
+ "$ref": "#/components/schemas/CompanyApplicationPlayer"
29166
+ },
29167
+ "message": {
29168
+ "oneOf": [
29169
+ {
29170
+ "type": "string"
29171
+ },
29172
+ {
29173
+ "type": "null"
29174
+ }
29175
+ ]
29176
+ },
29177
+ "expires_at": {
29178
+ "type": "integer",
29179
+ "format": "int32"
29180
+ },
29181
+ "status": {
29182
+ "$ref": "#/components/schemas/ApplicationStatusEnum"
29183
+ }
29184
+ },
29185
+ "type": "object"
29186
+ },
29187
+ "CompanyApplicationPlayer": {
29188
+ "required": [
29189
+ "id",
29190
+ "name",
29191
+ "level",
29192
+ "stats"
29193
+ ],
29194
+ "properties": {
29195
+ "id": {
29196
+ "$ref": "#/components/schemas/UserId"
29197
+ },
29198
+ "name": {
29199
+ "type": "string"
29200
+ },
29201
+ "level": {
29202
+ "type": "integer",
29203
+ "format": "int32"
29204
+ },
29205
+ "stats": {
29206
+ "$ref": "#/components/schemas/CompanyApplicationPlayerStats"
29207
+ }
29208
+ },
29209
+ "type": "object"
29210
+ },
29211
+ "CompanyApplicationPlayerStats": {
29212
+ "required": [
29213
+ "manual_labor",
29214
+ "intelligence",
29215
+ "endurance"
29216
+ ],
29217
+ "properties": {
29218
+ "manual_labor": {
29219
+ "type": "integer",
29220
+ "format": "int32"
29221
+ },
29222
+ "intelligence": {
29223
+ "type": "integer",
29224
+ "format": "int32"
29225
+ },
29226
+ "endurance": {
29227
+ "type": "integer",
29228
+ "format": "int32"
29229
+ }
29230
+ },
29231
+ "type": "object"
29232
+ },
27942
29233
  "ForumCategoriesResponse": {
27943
29234
  "required": [
27944
29235
  "categories"
@@ -28861,7 +30152,7 @@
28861
30152
  "format": "int32"
28862
30153
  },
28863
30154
  "_metadata": {
28864
- "$ref": "#/components/schemas/RequestMetadataWithLinks"
30155
+ "$ref": "#/components/schemas/RequestMetadataWithLinksAndTotal"
28865
30156
  }
28866
30157
  },
28867
30158
  "type": "object"
@@ -28935,7 +30226,7 @@
28935
30226
  "format": "int32"
28936
30227
  },
28937
30228
  "_metadata": {
28938
- "$ref": "#/components/schemas/RequestMetadataWithLinks"
30229
+ "$ref": "#/components/schemas/RequestMetadataWithLinksAndTotal"
28939
30230
  }
28940
30231
  },
28941
30232
  "type": "object"
@@ -29437,7 +30728,7 @@
29437
30728
  "$ref": "#/components/schemas/ItemMarket"
29438
30729
  },
29439
30730
  "_metadata": {
29440
- "$ref": "#/components/schemas/RequestMetadataWithLinks"
30731
+ "$ref": "#/components/schemas/RequestMetadataWithLinksAndTotal"
29441
30732
  }
29442
30733
  },
29443
30734
  "type": "object"
@@ -31981,6 +33272,7 @@
31981
33272
  "required": [
31982
33273
  "id",
31983
33274
  "name",
33275
+ "image",
31984
33276
  "description",
31985
33277
  "dual_fit",
31986
33278
  "weapons"
@@ -31992,6 +33284,9 @@
31992
33284
  "name": {
31993
33285
  "type": "string"
31994
33286
  },
33287
+ "image": {
33288
+ "type": "string"
33289
+ },
31995
33290
  "description": {
31996
33291
  "type": "string"
31997
33292
  },
@@ -32906,6 +34201,10 @@
32906
34201
  "name": "Faction",
32907
34202
  "description": "Part of Faction section"
32908
34203
  },
34204
+ {
34205
+ "name": "Company",
34206
+ "description": "Part of Company section"
34207
+ },
32909
34208
  {
32910
34209
  "name": "Market",
32911
34210
  "description": "Part of Market section"