tornapi-typescript 5.7.1 → 5.8.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.
- package/dist/index.d.ts +178 -2
- package/dist/index.ts +221 -2
- package/dist/openapi.json +1147 -3
- package/package.json +2 -2
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.
|
|
6
|
+
"version": "5.8.0"
|
|
7
7
|
},
|
|
8
8
|
"servers": [
|
|
9
9
|
{
|
|
@@ -6394,6 +6394,461 @@
|
|
|
6394
6394
|
"x-stability": "Stable"
|
|
6395
6395
|
}
|
|
6396
6396
|
},
|
|
6397
|
+
"/company/applications": {
|
|
6398
|
+
"get": {
|
|
6399
|
+
"tags": [
|
|
6400
|
+
"Company"
|
|
6401
|
+
],
|
|
6402
|
+
"summary": "Get your company's applications",
|
|
6403
|
+
"description": "Requires limited access key. <br>",
|
|
6404
|
+
"operationId": "getMyCompanyApplications",
|
|
6405
|
+
"parameters": [
|
|
6406
|
+
{
|
|
6407
|
+
"$ref": "#/components/parameters/ApiTimestamp"
|
|
6408
|
+
},
|
|
6409
|
+
{
|
|
6410
|
+
"$ref": "#/components/parameters/ApiComment"
|
|
6411
|
+
},
|
|
6412
|
+
{
|
|
6413
|
+
"$ref": "#/components/parameters/ApiKeyLimited"
|
|
6414
|
+
}
|
|
6415
|
+
],
|
|
6416
|
+
"responses": {
|
|
6417
|
+
"200": {
|
|
6418
|
+
"description": "Successful operation",
|
|
6419
|
+
"content": {
|
|
6420
|
+
"application/json": {
|
|
6421
|
+
"schema": {
|
|
6422
|
+
"$ref": "#/components/schemas/CompanyApplicationsResponse"
|
|
6423
|
+
}
|
|
6424
|
+
}
|
|
6425
|
+
}
|
|
6426
|
+
}
|
|
6427
|
+
},
|
|
6428
|
+
"security": [
|
|
6429
|
+
{
|
|
6430
|
+
"api_key": []
|
|
6431
|
+
}
|
|
6432
|
+
],
|
|
6433
|
+
"x-stability": "Unstable"
|
|
6434
|
+
}
|
|
6435
|
+
},
|
|
6436
|
+
"/company/employees": {
|
|
6437
|
+
"get": {
|
|
6438
|
+
"tags": [
|
|
6439
|
+
"Company"
|
|
6440
|
+
],
|
|
6441
|
+
"summary": "Get my company's employees",
|
|
6442
|
+
"description": "Requires public access key. <br>When using Limited, Custom or Full access API keys, the response will be of type CompanyEmployeeExtended, otherwise it will be of type CompanyEmployee.",
|
|
6443
|
+
"operationId": "getMyCompanyEmployees",
|
|
6444
|
+
"parameters": [
|
|
6445
|
+
{
|
|
6446
|
+
"$ref": "#/components/parameters/ApiStripTagsTrue"
|
|
6447
|
+
},
|
|
6448
|
+
{
|
|
6449
|
+
"$ref": "#/components/parameters/ApiTimestamp"
|
|
6450
|
+
},
|
|
6451
|
+
{
|
|
6452
|
+
"$ref": "#/components/parameters/ApiComment"
|
|
6453
|
+
},
|
|
6454
|
+
{
|
|
6455
|
+
"$ref": "#/components/parameters/ApiKeyPublic"
|
|
6456
|
+
}
|
|
6457
|
+
],
|
|
6458
|
+
"responses": {
|
|
6459
|
+
"200": {
|
|
6460
|
+
"description": "Successful operation",
|
|
6461
|
+
"content": {
|
|
6462
|
+
"application/json": {
|
|
6463
|
+
"schema": {
|
|
6464
|
+
"$ref": "#/components/schemas/CompanyEmployeesResponse"
|
|
6465
|
+
}
|
|
6466
|
+
}
|
|
6467
|
+
}
|
|
6468
|
+
}
|
|
6469
|
+
},
|
|
6470
|
+
"security": [
|
|
6471
|
+
{
|
|
6472
|
+
"api_key": []
|
|
6473
|
+
}
|
|
6474
|
+
],
|
|
6475
|
+
"x-stability": "Unstable"
|
|
6476
|
+
}
|
|
6477
|
+
},
|
|
6478
|
+
"/company/{id}/employees": {
|
|
6479
|
+
"get": {
|
|
6480
|
+
"tags": [
|
|
6481
|
+
"Company"
|
|
6482
|
+
],
|
|
6483
|
+
"summary": "Get a company's employees",
|
|
6484
|
+
"description": "Requires public access key.",
|
|
6485
|
+
"operationId": "getCompanyEmployees",
|
|
6486
|
+
"parameters": [
|
|
6487
|
+
{
|
|
6488
|
+
"name": "id",
|
|
6489
|
+
"in": "path",
|
|
6490
|
+
"description": "Company id",
|
|
6491
|
+
"required": true,
|
|
6492
|
+
"schema": {
|
|
6493
|
+
"$ref": "#/components/schemas/CompanyId"
|
|
6494
|
+
}
|
|
6495
|
+
},
|
|
6496
|
+
{
|
|
6497
|
+
"$ref": "#/components/parameters/ApiStripTagsTrue"
|
|
6498
|
+
},
|
|
6499
|
+
{
|
|
6500
|
+
"$ref": "#/components/parameters/ApiTimestamp"
|
|
6501
|
+
},
|
|
6502
|
+
{
|
|
6503
|
+
"$ref": "#/components/parameters/ApiComment"
|
|
6504
|
+
},
|
|
6505
|
+
{
|
|
6506
|
+
"$ref": "#/components/parameters/ApiKeyPublic"
|
|
6507
|
+
}
|
|
6508
|
+
],
|
|
6509
|
+
"responses": {
|
|
6510
|
+
"200": {
|
|
6511
|
+
"description": "Successful operation",
|
|
6512
|
+
"content": {
|
|
6513
|
+
"application/json": {
|
|
6514
|
+
"schema": {
|
|
6515
|
+
"$ref": "#/components/schemas/CompanyEmployeesResponseBasic"
|
|
6516
|
+
}
|
|
6517
|
+
}
|
|
6518
|
+
}
|
|
6519
|
+
}
|
|
6520
|
+
},
|
|
6521
|
+
"security": [
|
|
6522
|
+
{
|
|
6523
|
+
"api_key": []
|
|
6524
|
+
}
|
|
6525
|
+
],
|
|
6526
|
+
"x-stability": "Unstable"
|
|
6527
|
+
}
|
|
6528
|
+
},
|
|
6529
|
+
"/company/profile": {
|
|
6530
|
+
"get": {
|
|
6531
|
+
"tags": [
|
|
6532
|
+
"Company"
|
|
6533
|
+
],
|
|
6534
|
+
"summary": "Get my company's profile",
|
|
6535
|
+
"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.",
|
|
6536
|
+
"operationId": "getMyCompanyProfile",
|
|
6537
|
+
"parameters": [
|
|
6538
|
+
{
|
|
6539
|
+
"$ref": "#/components/parameters/ApiStripTagsTrue"
|
|
6540
|
+
},
|
|
6541
|
+
{
|
|
6542
|
+
"$ref": "#/components/parameters/ApiTimestamp"
|
|
6543
|
+
},
|
|
6544
|
+
{
|
|
6545
|
+
"$ref": "#/components/parameters/ApiComment"
|
|
6546
|
+
},
|
|
6547
|
+
{
|
|
6548
|
+
"$ref": "#/components/parameters/ApiKeyPublic"
|
|
6549
|
+
}
|
|
6550
|
+
],
|
|
6551
|
+
"responses": {
|
|
6552
|
+
"200": {
|
|
6553
|
+
"description": "Successful operation",
|
|
6554
|
+
"content": {
|
|
6555
|
+
"application/json": {
|
|
6556
|
+
"schema": {
|
|
6557
|
+
"$ref": "#/components/schemas/CompanyProfileResponseMixed"
|
|
6558
|
+
}
|
|
6559
|
+
}
|
|
6560
|
+
}
|
|
6561
|
+
}
|
|
6562
|
+
},
|
|
6563
|
+
"security": [
|
|
6564
|
+
{
|
|
6565
|
+
"api_key": []
|
|
6566
|
+
}
|
|
6567
|
+
],
|
|
6568
|
+
"x-stability": "Unstable"
|
|
6569
|
+
}
|
|
6570
|
+
},
|
|
6571
|
+
"/company/{id}/profile": {
|
|
6572
|
+
"get": {
|
|
6573
|
+
"tags": [
|
|
6574
|
+
"Company"
|
|
6575
|
+
],
|
|
6576
|
+
"summary": "Get a company's profile",
|
|
6577
|
+
"description": "Requires public access key.",
|
|
6578
|
+
"operationId": "getCompanyProfile",
|
|
6579
|
+
"parameters": [
|
|
6580
|
+
{
|
|
6581
|
+
"name": "id",
|
|
6582
|
+
"in": "path",
|
|
6583
|
+
"description": "Company id",
|
|
6584
|
+
"required": true,
|
|
6585
|
+
"schema": {
|
|
6586
|
+
"$ref": "#/components/schemas/CompanyId"
|
|
6587
|
+
}
|
|
6588
|
+
},
|
|
6589
|
+
{
|
|
6590
|
+
"$ref": "#/components/parameters/ApiStripTagsTrue"
|
|
6591
|
+
},
|
|
6592
|
+
{
|
|
6593
|
+
"$ref": "#/components/parameters/ApiTimestamp"
|
|
6594
|
+
},
|
|
6595
|
+
{
|
|
6596
|
+
"$ref": "#/components/parameters/ApiComment"
|
|
6597
|
+
},
|
|
6598
|
+
{
|
|
6599
|
+
"$ref": "#/components/parameters/ApiKeyPublic"
|
|
6600
|
+
}
|
|
6601
|
+
],
|
|
6602
|
+
"responses": {
|
|
6603
|
+
"200": {
|
|
6604
|
+
"description": "Successful operation",
|
|
6605
|
+
"content": {
|
|
6606
|
+
"application/json": {
|
|
6607
|
+
"schema": {
|
|
6608
|
+
"$ref": "#/components/schemas/CompanyProfileResponse"
|
|
6609
|
+
}
|
|
6610
|
+
}
|
|
6611
|
+
}
|
|
6612
|
+
}
|
|
6613
|
+
},
|
|
6614
|
+
"security": [
|
|
6615
|
+
{
|
|
6616
|
+
"api_key": []
|
|
6617
|
+
}
|
|
6618
|
+
],
|
|
6619
|
+
"x-stability": "Unstable"
|
|
6620
|
+
}
|
|
6621
|
+
},
|
|
6622
|
+
"/company/stock": {
|
|
6623
|
+
"get": {
|
|
6624
|
+
"tags": [
|
|
6625
|
+
"Company"
|
|
6626
|
+
],
|
|
6627
|
+
"summary": "Get your company's stock",
|
|
6628
|
+
"description": "Requires limited access key. <br>",
|
|
6629
|
+
"operationId": "getMyCompanyStock",
|
|
6630
|
+
"parameters": [
|
|
6631
|
+
{
|
|
6632
|
+
"$ref": "#/components/parameters/ApiTimestamp"
|
|
6633
|
+
},
|
|
6634
|
+
{
|
|
6635
|
+
"$ref": "#/components/parameters/ApiComment"
|
|
6636
|
+
},
|
|
6637
|
+
{
|
|
6638
|
+
"$ref": "#/components/parameters/ApiKeyLimited"
|
|
6639
|
+
}
|
|
6640
|
+
],
|
|
6641
|
+
"responses": {
|
|
6642
|
+
"200": {
|
|
6643
|
+
"description": "Successful operation",
|
|
6644
|
+
"content": {
|
|
6645
|
+
"application/json": {
|
|
6646
|
+
"schema": {
|
|
6647
|
+
"$ref": "#/components/schemas/CompanyStockResponse"
|
|
6648
|
+
}
|
|
6649
|
+
}
|
|
6650
|
+
}
|
|
6651
|
+
}
|
|
6652
|
+
},
|
|
6653
|
+
"security": [
|
|
6654
|
+
{
|
|
6655
|
+
"api_key": []
|
|
6656
|
+
}
|
|
6657
|
+
],
|
|
6658
|
+
"x-stability": "Unstable"
|
|
6659
|
+
}
|
|
6660
|
+
},
|
|
6661
|
+
"/company/lookup": {
|
|
6662
|
+
"get": {
|
|
6663
|
+
"tags": [
|
|
6664
|
+
"Company"
|
|
6665
|
+
],
|
|
6666
|
+
"description": "Requires public access key. <br>",
|
|
6667
|
+
"operationId": "getCompanyLookup",
|
|
6668
|
+
"parameters": [
|
|
6669
|
+
{
|
|
6670
|
+
"$ref": "#/components/parameters/ApiTimestamp"
|
|
6671
|
+
},
|
|
6672
|
+
{
|
|
6673
|
+
"$ref": "#/components/parameters/ApiComment"
|
|
6674
|
+
},
|
|
6675
|
+
{
|
|
6676
|
+
"$ref": "#/components/parameters/ApiKeyPublic"
|
|
6677
|
+
}
|
|
6678
|
+
],
|
|
6679
|
+
"responses": {
|
|
6680
|
+
"200": {
|
|
6681
|
+
"description": "Successful operation",
|
|
6682
|
+
"content": {
|
|
6683
|
+
"application/json": {
|
|
6684
|
+
"schema": {
|
|
6685
|
+
"$ref": "#/components/schemas/CompanyLookupResponse"
|
|
6686
|
+
}
|
|
6687
|
+
}
|
|
6688
|
+
}
|
|
6689
|
+
}
|
|
6690
|
+
},
|
|
6691
|
+
"security": [
|
|
6692
|
+
{
|
|
6693
|
+
"api_key": []
|
|
6694
|
+
}
|
|
6695
|
+
],
|
|
6696
|
+
"x-stability": "Stable"
|
|
6697
|
+
}
|
|
6698
|
+
},
|
|
6699
|
+
"/company/timestamp": {
|
|
6700
|
+
"get": {
|
|
6701
|
+
"tags": [
|
|
6702
|
+
"Company"
|
|
6703
|
+
],
|
|
6704
|
+
"summary": "Get current server time",
|
|
6705
|
+
"description": "Requires public access key. <br>",
|
|
6706
|
+
"operationId": "getCompanyTimestamp",
|
|
6707
|
+
"parameters": [
|
|
6708
|
+
{
|
|
6709
|
+
"$ref": "#/components/parameters/ApiTimestamp"
|
|
6710
|
+
},
|
|
6711
|
+
{
|
|
6712
|
+
"$ref": "#/components/parameters/ApiComment"
|
|
6713
|
+
},
|
|
6714
|
+
{
|
|
6715
|
+
"$ref": "#/components/parameters/ApiKeyPublic"
|
|
6716
|
+
}
|
|
6717
|
+
],
|
|
6718
|
+
"responses": {
|
|
6719
|
+
"200": {
|
|
6720
|
+
"description": "Successful operation",
|
|
6721
|
+
"content": {
|
|
6722
|
+
"application/json": {
|
|
6723
|
+
"schema": {
|
|
6724
|
+
"$ref": "#/components/schemas/TimestampResponse"
|
|
6725
|
+
}
|
|
6726
|
+
}
|
|
6727
|
+
}
|
|
6728
|
+
}
|
|
6729
|
+
},
|
|
6730
|
+
"security": [
|
|
6731
|
+
{
|
|
6732
|
+
"api_key": []
|
|
6733
|
+
}
|
|
6734
|
+
],
|
|
6735
|
+
"x-stability": "Stable"
|
|
6736
|
+
}
|
|
6737
|
+
},
|
|
6738
|
+
"/company": {
|
|
6739
|
+
"get": {
|
|
6740
|
+
"tags": [
|
|
6741
|
+
"Company"
|
|
6742
|
+
],
|
|
6743
|
+
"summary": "Get any Company selection",
|
|
6744
|
+
"description": "Key access level depends on the required selections. <br> Choose one or more selections (comma separated).",
|
|
6745
|
+
"operationId": "getCompanyGeneric",
|
|
6746
|
+
"parameters": [
|
|
6747
|
+
{
|
|
6748
|
+
"name": "selections",
|
|
6749
|
+
"in": "query",
|
|
6750
|
+
"description": "Selection names",
|
|
6751
|
+
"required": false,
|
|
6752
|
+
"style": "form",
|
|
6753
|
+
"explode": false,
|
|
6754
|
+
"schema": {
|
|
6755
|
+
"type": "array",
|
|
6756
|
+
"items": {
|
|
6757
|
+
"$ref": "#/components/schemas/CompanySelectionName"
|
|
6758
|
+
}
|
|
6759
|
+
}
|
|
6760
|
+
},
|
|
6761
|
+
{
|
|
6762
|
+
"name": "id",
|
|
6763
|
+
"in": "query",
|
|
6764
|
+
"description": "selection id",
|
|
6765
|
+
"required": false,
|
|
6766
|
+
"schema": {
|
|
6767
|
+
"oneOf": [
|
|
6768
|
+
{
|
|
6769
|
+
"$ref": "#/components/schemas/CompanyId"
|
|
6770
|
+
}
|
|
6771
|
+
]
|
|
6772
|
+
}
|
|
6773
|
+
},
|
|
6774
|
+
{
|
|
6775
|
+
"name": "legacy",
|
|
6776
|
+
"in": "query",
|
|
6777
|
+
"description": "Legacy selection names for which you want or expect API v1 response",
|
|
6778
|
+
"required": false,
|
|
6779
|
+
"style": "form",
|
|
6780
|
+
"explode": false,
|
|
6781
|
+
"schema": {
|
|
6782
|
+
"type": "array",
|
|
6783
|
+
"items": {
|
|
6784
|
+
"$ref": "#/components/schemas/CompanySelectionName"
|
|
6785
|
+
}
|
|
6786
|
+
}
|
|
6787
|
+
},
|
|
6788
|
+
{
|
|
6789
|
+
"$ref": "#/components/parameters/ApiLimit"
|
|
6790
|
+
},
|
|
6791
|
+
{
|
|
6792
|
+
"$ref": "#/components/parameters/ApiStripTags"
|
|
6793
|
+
},
|
|
6794
|
+
{
|
|
6795
|
+
"$ref": "#/components/parameters/ApiOffsetNoDefault"
|
|
6796
|
+
},
|
|
6797
|
+
{
|
|
6798
|
+
"$ref": "#/components/parameters/ApiTimestamp"
|
|
6799
|
+
},
|
|
6800
|
+
{
|
|
6801
|
+
"$ref": "#/components/parameters/ApiComment"
|
|
6802
|
+
},
|
|
6803
|
+
{
|
|
6804
|
+
"$ref": "#/components/parameters/ApiKeyPublic"
|
|
6805
|
+
}
|
|
6806
|
+
],
|
|
6807
|
+
"responses": {
|
|
6808
|
+
"200": {
|
|
6809
|
+
"description": "Successful operation",
|
|
6810
|
+
"content": {
|
|
6811
|
+
"application/json": {
|
|
6812
|
+
"schema": {
|
|
6813
|
+
"anyOf": [
|
|
6814
|
+
{
|
|
6815
|
+
"$ref": "#/components/schemas/CompanyApplicationsResponse"
|
|
6816
|
+
},
|
|
6817
|
+
{
|
|
6818
|
+
"$ref": "#/components/schemas/CompanyEmployeesResponse"
|
|
6819
|
+
},
|
|
6820
|
+
{
|
|
6821
|
+
"$ref": "#/components/schemas/CompanyEmployeesResponseBasic"
|
|
6822
|
+
},
|
|
6823
|
+
{
|
|
6824
|
+
"$ref": "#/components/schemas/CompanyProfileResponseMixed"
|
|
6825
|
+
},
|
|
6826
|
+
{
|
|
6827
|
+
"$ref": "#/components/schemas/CompanyProfileResponse"
|
|
6828
|
+
},
|
|
6829
|
+
{
|
|
6830
|
+
"$ref": "#/components/schemas/CompanyStockResponse"
|
|
6831
|
+
},
|
|
6832
|
+
{
|
|
6833
|
+
"$ref": "#/components/schemas/CompanyLookupResponse"
|
|
6834
|
+
},
|
|
6835
|
+
{
|
|
6836
|
+
"$ref": "#/components/schemas/TimestampResponse"
|
|
6837
|
+
}
|
|
6838
|
+
]
|
|
6839
|
+
}
|
|
6840
|
+
}
|
|
6841
|
+
}
|
|
6842
|
+
}
|
|
6843
|
+
},
|
|
6844
|
+
"security": [
|
|
6845
|
+
{
|
|
6846
|
+
"api_key": []
|
|
6847
|
+
}
|
|
6848
|
+
],
|
|
6849
|
+
"x-stability": "Stable"
|
|
6850
|
+
}
|
|
6851
|
+
},
|
|
6397
6852
|
"/forum/categories": {
|
|
6398
6853
|
"get": {
|
|
6399
6854
|
"tags": [
|
|
@@ -14887,7 +15342,7 @@
|
|
|
14887
15342
|
"Pads"
|
|
14888
15343
|
]
|
|
14889
15344
|
},
|
|
14890
|
-
"
|
|
15345
|
+
"ApplicationStatusEnum": {
|
|
14891
15346
|
"type": "string",
|
|
14892
15347
|
"enum": [
|
|
14893
15348
|
"accepted",
|
|
@@ -15021,6 +15476,10 @@
|
|
|
15021
15476
|
"type": "integer",
|
|
15022
15477
|
"format": "int32"
|
|
15023
15478
|
},
|
|
15479
|
+
"CompanyPositionId": {
|
|
15480
|
+
"type": "integer",
|
|
15481
|
+
"format": "int32"
|
|
15482
|
+
},
|
|
15024
15483
|
"TradeId": {
|
|
15025
15484
|
"type": "integer",
|
|
15026
15485
|
"format": "int64"
|
|
@@ -15213,6 +15672,30 @@
|
|
|
15213
15672
|
"Enby"
|
|
15214
15673
|
]
|
|
15215
15674
|
},
|
|
15675
|
+
"CompanyStaffRoomSizeEnum": {
|
|
15676
|
+
"type": "string",
|
|
15677
|
+
"enum": [
|
|
15678
|
+
"No staff room",
|
|
15679
|
+
"Small staff room",
|
|
15680
|
+
"Standard staff room",
|
|
15681
|
+
"Large staff room",
|
|
15682
|
+
"Very large staff room",
|
|
15683
|
+
"Huge staff room",
|
|
15684
|
+
"Colossal staff room"
|
|
15685
|
+
]
|
|
15686
|
+
},
|
|
15687
|
+
"CompanyStorageSizeEnum": {
|
|
15688
|
+
"type": "string",
|
|
15689
|
+
"enum": [
|
|
15690
|
+
"Small room",
|
|
15691
|
+
"Standard room",
|
|
15692
|
+
"Large room",
|
|
15693
|
+
"Huge room",
|
|
15694
|
+
"Warehouse",
|
|
15695
|
+
"Large warehouse",
|
|
15696
|
+
"Huge warehouse"
|
|
15697
|
+
]
|
|
15698
|
+
},
|
|
15216
15699
|
"HonorRarityEnum": {
|
|
15217
15700
|
"type": "string",
|
|
15218
15701
|
"enum": [
|
|
@@ -26702,7 +27185,7 @@
|
|
|
26702
27185
|
"format": "int32"
|
|
26703
27186
|
},
|
|
26704
27187
|
"status": {
|
|
26705
|
-
"$ref": "#/components/schemas/
|
|
27188
|
+
"$ref": "#/components/schemas/ApplicationStatusEnum"
|
|
26706
27189
|
}
|
|
26707
27190
|
},
|
|
26708
27191
|
"type": "object"
|
|
@@ -27939,6 +28422,663 @@
|
|
|
27939
28422
|
},
|
|
27940
28423
|
"type": "object"
|
|
27941
28424
|
},
|
|
28425
|
+
"CompanySelectionName": {
|
|
28426
|
+
"oneOf": [
|
|
28427
|
+
{
|
|
28428
|
+
"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'.",
|
|
28429
|
+
"type": "string",
|
|
28430
|
+
"enum": [
|
|
28431
|
+
"applications",
|
|
28432
|
+
"employees",
|
|
28433
|
+
"lookup",
|
|
28434
|
+
"profile",
|
|
28435
|
+
"stock",
|
|
28436
|
+
"timestamp",
|
|
28437
|
+
"companies",
|
|
28438
|
+
"news",
|
|
28439
|
+
"search"
|
|
28440
|
+
]
|
|
28441
|
+
},
|
|
28442
|
+
{
|
|
28443
|
+
"type": "string"
|
|
28444
|
+
}
|
|
28445
|
+
]
|
|
28446
|
+
},
|
|
28447
|
+
"CompanyLookupResponse": {
|
|
28448
|
+
"required": [
|
|
28449
|
+
"selections"
|
|
28450
|
+
],
|
|
28451
|
+
"properties": {
|
|
28452
|
+
"selections": {
|
|
28453
|
+
"type": "array",
|
|
28454
|
+
"items": {
|
|
28455
|
+
"$ref": "#/components/schemas/CompanySelectionName"
|
|
28456
|
+
}
|
|
28457
|
+
}
|
|
28458
|
+
},
|
|
28459
|
+
"type": "object"
|
|
28460
|
+
},
|
|
28461
|
+
"CompanyProfileResponse": {
|
|
28462
|
+
"required": [
|
|
28463
|
+
"profile"
|
|
28464
|
+
],
|
|
28465
|
+
"properties": {
|
|
28466
|
+
"profile": {
|
|
28467
|
+
"$ref": "#/components/schemas/CompanyProfile"
|
|
28468
|
+
}
|
|
28469
|
+
},
|
|
28470
|
+
"type": "object"
|
|
28471
|
+
},
|
|
28472
|
+
"CompanyProfileExtendedResponse": {
|
|
28473
|
+
"required": [
|
|
28474
|
+
"profile"
|
|
28475
|
+
],
|
|
28476
|
+
"properties": {
|
|
28477
|
+
"profile": {
|
|
28478
|
+
"$ref": "#/components/schemas/CompanyProfileExtended"
|
|
28479
|
+
}
|
|
28480
|
+
},
|
|
28481
|
+
"type": "object"
|
|
28482
|
+
},
|
|
28483
|
+
"CompanyProfileResponseMixed": {
|
|
28484
|
+
"required": [
|
|
28485
|
+
"profile"
|
|
28486
|
+
],
|
|
28487
|
+
"properties": {
|
|
28488
|
+
"profile": {
|
|
28489
|
+
"oneOf": [
|
|
28490
|
+
{
|
|
28491
|
+
"$ref": "#/components/schemas/CompanyProfile"
|
|
28492
|
+
},
|
|
28493
|
+
{
|
|
28494
|
+
"$ref": "#/components/schemas/CompanyProfileExtended"
|
|
28495
|
+
}
|
|
28496
|
+
]
|
|
28497
|
+
}
|
|
28498
|
+
},
|
|
28499
|
+
"type": "object"
|
|
28500
|
+
},
|
|
28501
|
+
"CompanyProfileExtended": {
|
|
28502
|
+
"allOf": [
|
|
28503
|
+
{
|
|
28504
|
+
"$ref": "#/components/schemas/CompanyProfile"
|
|
28505
|
+
},
|
|
28506
|
+
{
|
|
28507
|
+
"required": [
|
|
28508
|
+
"funds",
|
|
28509
|
+
"popularity",
|
|
28510
|
+
"efficiency",
|
|
28511
|
+
"environment",
|
|
28512
|
+
"trains",
|
|
28513
|
+
"applications_allowed",
|
|
28514
|
+
"advertisement_budget",
|
|
28515
|
+
"upgrades",
|
|
28516
|
+
"value"
|
|
28517
|
+
],
|
|
28518
|
+
"properties": {
|
|
28519
|
+
"funds": {
|
|
28520
|
+
"type": "integer",
|
|
28521
|
+
"format": "int64"
|
|
28522
|
+
},
|
|
28523
|
+
"popularity": {
|
|
28524
|
+
"type": "integer",
|
|
28525
|
+
"format": "int32"
|
|
28526
|
+
},
|
|
28527
|
+
"efficiency": {
|
|
28528
|
+
"type": "integer",
|
|
28529
|
+
"format": "int32"
|
|
28530
|
+
},
|
|
28531
|
+
"environment": {
|
|
28532
|
+
"type": "integer",
|
|
28533
|
+
"format": "int32"
|
|
28534
|
+
},
|
|
28535
|
+
"trains": {
|
|
28536
|
+
"type": "integer",
|
|
28537
|
+
"format": "int32"
|
|
28538
|
+
},
|
|
28539
|
+
"applications_allowed": {
|
|
28540
|
+
"type": "boolean"
|
|
28541
|
+
},
|
|
28542
|
+
"advertisement_budget": {
|
|
28543
|
+
"type": "integer",
|
|
28544
|
+
"format": "int64"
|
|
28545
|
+
},
|
|
28546
|
+
"upgrades": {
|
|
28547
|
+
"$ref": "#/components/schemas/CompanyUpgrades"
|
|
28548
|
+
},
|
|
28549
|
+
"value": {
|
|
28550
|
+
"type": "integer",
|
|
28551
|
+
"format": "int64"
|
|
28552
|
+
}
|
|
28553
|
+
},
|
|
28554
|
+
"type": "object"
|
|
28555
|
+
}
|
|
28556
|
+
]
|
|
28557
|
+
},
|
|
28558
|
+
"CompanyUpgrades": {
|
|
28559
|
+
"required": [
|
|
28560
|
+
"staff_room",
|
|
28561
|
+
"storage",
|
|
28562
|
+
"storage_capacity"
|
|
28563
|
+
],
|
|
28564
|
+
"properties": {
|
|
28565
|
+
"staff_room": {
|
|
28566
|
+
"$ref": "#/components/schemas/CompanyStaffRoomSizeEnum"
|
|
28567
|
+
},
|
|
28568
|
+
"storage": {
|
|
28569
|
+
"type": "string"
|
|
28570
|
+
},
|
|
28571
|
+
"storage_capacity": {
|
|
28572
|
+
"$ref": "#/components/schemas/CompanyStorageSizeEnum"
|
|
28573
|
+
}
|
|
28574
|
+
},
|
|
28575
|
+
"type": "object"
|
|
28576
|
+
},
|
|
28577
|
+
"CompanyProfile": {
|
|
28578
|
+
"required": [
|
|
28579
|
+
"id",
|
|
28580
|
+
"name",
|
|
28581
|
+
"created_at",
|
|
28582
|
+
"days_old",
|
|
28583
|
+
"image",
|
|
28584
|
+
"type",
|
|
28585
|
+
"rating",
|
|
28586
|
+
"director",
|
|
28587
|
+
"employees",
|
|
28588
|
+
"income",
|
|
28589
|
+
"customers"
|
|
28590
|
+
],
|
|
28591
|
+
"properties": {
|
|
28592
|
+
"id": {
|
|
28593
|
+
"$ref": "#/components/schemas/CompanyId"
|
|
28594
|
+
},
|
|
28595
|
+
"name": {
|
|
28596
|
+
"type": "string"
|
|
28597
|
+
},
|
|
28598
|
+
"created_at": {
|
|
28599
|
+
"type": "integer",
|
|
28600
|
+
"format": "int32"
|
|
28601
|
+
},
|
|
28602
|
+
"days_old": {
|
|
28603
|
+
"type": "integer",
|
|
28604
|
+
"format": "int32"
|
|
28605
|
+
},
|
|
28606
|
+
"image": {
|
|
28607
|
+
"type": "string"
|
|
28608
|
+
},
|
|
28609
|
+
"type": {
|
|
28610
|
+
"$ref": "#/components/schemas/CompanyType"
|
|
28611
|
+
},
|
|
28612
|
+
"rating": {
|
|
28613
|
+
"type": "integer",
|
|
28614
|
+
"format": "int32"
|
|
28615
|
+
},
|
|
28616
|
+
"director": {
|
|
28617
|
+
"$ref": "#/components/schemas/CompanyDirector"
|
|
28618
|
+
},
|
|
28619
|
+
"employees": {
|
|
28620
|
+
"$ref": "#/components/schemas/CompanyEmployees"
|
|
28621
|
+
},
|
|
28622
|
+
"income": {
|
|
28623
|
+
"$ref": "#/components/schemas/CompanyIncome"
|
|
28624
|
+
},
|
|
28625
|
+
"customers": {
|
|
28626
|
+
"$ref": "#/components/schemas/CompanyCustomers"
|
|
28627
|
+
}
|
|
28628
|
+
},
|
|
28629
|
+
"type": "object"
|
|
28630
|
+
},
|
|
28631
|
+
"CompanyType": {
|
|
28632
|
+
"required": [
|
|
28633
|
+
"id",
|
|
28634
|
+
"name"
|
|
28635
|
+
],
|
|
28636
|
+
"properties": {
|
|
28637
|
+
"id": {
|
|
28638
|
+
"$ref": "#/components/schemas/CompanyTypeId"
|
|
28639
|
+
},
|
|
28640
|
+
"name": {
|
|
28641
|
+
"type": "string"
|
|
28642
|
+
}
|
|
28643
|
+
},
|
|
28644
|
+
"type": "object"
|
|
28645
|
+
},
|
|
28646
|
+
"CompanyDirector": {
|
|
28647
|
+
"required": [
|
|
28648
|
+
"id",
|
|
28649
|
+
"name",
|
|
28650
|
+
"status",
|
|
28651
|
+
"last_action"
|
|
28652
|
+
],
|
|
28653
|
+
"properties": {
|
|
28654
|
+
"id": {
|
|
28655
|
+
"$ref": "#/components/schemas/UserId"
|
|
28656
|
+
},
|
|
28657
|
+
"name": {
|
|
28658
|
+
"type": "string"
|
|
28659
|
+
},
|
|
28660
|
+
"status": {
|
|
28661
|
+
"$ref": "#/components/schemas/UserStatus"
|
|
28662
|
+
},
|
|
28663
|
+
"last_action": {
|
|
28664
|
+
"$ref": "#/components/schemas/UserLastAction"
|
|
28665
|
+
}
|
|
28666
|
+
},
|
|
28667
|
+
"type": "object"
|
|
28668
|
+
},
|
|
28669
|
+
"CompanyEmployees": {
|
|
28670
|
+
"required": [
|
|
28671
|
+
"hired",
|
|
28672
|
+
"capacity"
|
|
28673
|
+
],
|
|
28674
|
+
"properties": {
|
|
28675
|
+
"hired": {
|
|
28676
|
+
"type": "integer",
|
|
28677
|
+
"format": "int32"
|
|
28678
|
+
},
|
|
28679
|
+
"capacity": {
|
|
28680
|
+
"type": "integer",
|
|
28681
|
+
"format": "int32"
|
|
28682
|
+
}
|
|
28683
|
+
},
|
|
28684
|
+
"type": "object"
|
|
28685
|
+
},
|
|
28686
|
+
"CompanyIncome": {
|
|
28687
|
+
"required": [
|
|
28688
|
+
"daily",
|
|
28689
|
+
"weekly"
|
|
28690
|
+
],
|
|
28691
|
+
"properties": {
|
|
28692
|
+
"daily": {
|
|
28693
|
+
"type": "integer",
|
|
28694
|
+
"format": "int64"
|
|
28695
|
+
},
|
|
28696
|
+
"weekly": {
|
|
28697
|
+
"type": "integer",
|
|
28698
|
+
"format": "int64"
|
|
28699
|
+
}
|
|
28700
|
+
},
|
|
28701
|
+
"type": "object"
|
|
28702
|
+
},
|
|
28703
|
+
"CompanyCustomers": {
|
|
28704
|
+
"required": [
|
|
28705
|
+
"daily",
|
|
28706
|
+
"weekly"
|
|
28707
|
+
],
|
|
28708
|
+
"properties": {
|
|
28709
|
+
"daily": {
|
|
28710
|
+
"type": "integer",
|
|
28711
|
+
"format": "int32"
|
|
28712
|
+
},
|
|
28713
|
+
"weekly": {
|
|
28714
|
+
"type": "integer",
|
|
28715
|
+
"format": "int32"
|
|
28716
|
+
}
|
|
28717
|
+
},
|
|
28718
|
+
"type": "object"
|
|
28719
|
+
},
|
|
28720
|
+
"CompanyEmployeesResponse": {
|
|
28721
|
+
"required": [
|
|
28722
|
+
"employees"
|
|
28723
|
+
],
|
|
28724
|
+
"properties": {
|
|
28725
|
+
"employees": {
|
|
28726
|
+
"type": "array",
|
|
28727
|
+
"items": {
|
|
28728
|
+
"oneOf": [
|
|
28729
|
+
{
|
|
28730
|
+
"$ref": "#/components/schemas/CompanyEmployee"
|
|
28731
|
+
},
|
|
28732
|
+
{
|
|
28733
|
+
"$ref": "#/components/schemas/CompanyEmployeeExtended"
|
|
28734
|
+
}
|
|
28735
|
+
]
|
|
28736
|
+
}
|
|
28737
|
+
}
|
|
28738
|
+
},
|
|
28739
|
+
"type": "object"
|
|
28740
|
+
},
|
|
28741
|
+
"CompanyEmployeesResponseBasic": {
|
|
28742
|
+
"required": [
|
|
28743
|
+
"employees"
|
|
28744
|
+
],
|
|
28745
|
+
"properties": {
|
|
28746
|
+
"employees": {
|
|
28747
|
+
"type": "array",
|
|
28748
|
+
"items": {
|
|
28749
|
+
"$ref": "#/components/schemas/CompanyEmployee"
|
|
28750
|
+
}
|
|
28751
|
+
}
|
|
28752
|
+
},
|
|
28753
|
+
"type": "object"
|
|
28754
|
+
},
|
|
28755
|
+
"CompanyEmployeeExtended": {
|
|
28756
|
+
"allOf": [
|
|
28757
|
+
{
|
|
28758
|
+
"$ref": "#/components/schemas/CompanyEmployee"
|
|
28759
|
+
},
|
|
28760
|
+
{
|
|
28761
|
+
"required": [
|
|
28762
|
+
"joined_at",
|
|
28763
|
+
"wage",
|
|
28764
|
+
"stats",
|
|
28765
|
+
"effectiveness",
|
|
28766
|
+
"value"
|
|
28767
|
+
],
|
|
28768
|
+
"properties": {
|
|
28769
|
+
"joined_at": {
|
|
28770
|
+
"type": "integer",
|
|
28771
|
+
"format": "int32"
|
|
28772
|
+
},
|
|
28773
|
+
"wage": {
|
|
28774
|
+
"type": "integer",
|
|
28775
|
+
"format": "int64"
|
|
28776
|
+
},
|
|
28777
|
+
"stats": {
|
|
28778
|
+
"$ref": "#/components/schemas/CompanyEmployeeStats"
|
|
28779
|
+
},
|
|
28780
|
+
"effectiveness": {
|
|
28781
|
+
"$ref": "#/components/schemas/CompanyEmployeeEffectiveness"
|
|
28782
|
+
},
|
|
28783
|
+
"value": {
|
|
28784
|
+
"description": "This value is null if you don't have a secretary.",
|
|
28785
|
+
"oneOf": [
|
|
28786
|
+
{
|
|
28787
|
+
"type": "integer",
|
|
28788
|
+
"format": "int32"
|
|
28789
|
+
},
|
|
28790
|
+
{
|
|
28791
|
+
"type": "null"
|
|
28792
|
+
}
|
|
28793
|
+
]
|
|
28794
|
+
}
|
|
28795
|
+
},
|
|
28796
|
+
"type": "object"
|
|
28797
|
+
}
|
|
28798
|
+
]
|
|
28799
|
+
},
|
|
28800
|
+
"CompanyEmployeeStats": {
|
|
28801
|
+
"required": [
|
|
28802
|
+
"manual_labor",
|
|
28803
|
+
"intelligence",
|
|
28804
|
+
"endurance"
|
|
28805
|
+
],
|
|
28806
|
+
"properties": {
|
|
28807
|
+
"manual_labor": {
|
|
28808
|
+
"type": "integer",
|
|
28809
|
+
"format": "int32"
|
|
28810
|
+
},
|
|
28811
|
+
"intelligence": {
|
|
28812
|
+
"type": "integer",
|
|
28813
|
+
"format": "int32"
|
|
28814
|
+
},
|
|
28815
|
+
"endurance": {
|
|
28816
|
+
"type": "integer",
|
|
28817
|
+
"format": "int32"
|
|
28818
|
+
}
|
|
28819
|
+
},
|
|
28820
|
+
"type": "object"
|
|
28821
|
+
},
|
|
28822
|
+
"CompanyEmployeeEffectiveness": {
|
|
28823
|
+
"required": [
|
|
28824
|
+
"working_stats",
|
|
28825
|
+
"settled_in",
|
|
28826
|
+
"book",
|
|
28827
|
+
"merits",
|
|
28828
|
+
"director_education",
|
|
28829
|
+
"management",
|
|
28830
|
+
"wrong_gender",
|
|
28831
|
+
"addiction",
|
|
28832
|
+
"inactivity",
|
|
28833
|
+
"total"
|
|
28834
|
+
],
|
|
28835
|
+
"properties": {
|
|
28836
|
+
"working_stats": {
|
|
28837
|
+
"type": "integer",
|
|
28838
|
+
"format": "int32"
|
|
28839
|
+
},
|
|
28840
|
+
"settled_in": {
|
|
28841
|
+
"type": "integer",
|
|
28842
|
+
"format": "int32"
|
|
28843
|
+
},
|
|
28844
|
+
"book": {
|
|
28845
|
+
"type": "integer",
|
|
28846
|
+
"format": "int32"
|
|
28847
|
+
},
|
|
28848
|
+
"merits": {
|
|
28849
|
+
"type": "integer",
|
|
28850
|
+
"format": "int32"
|
|
28851
|
+
},
|
|
28852
|
+
"director_education": {
|
|
28853
|
+
"type": "integer",
|
|
28854
|
+
"format": "int32"
|
|
28855
|
+
},
|
|
28856
|
+
"management": {
|
|
28857
|
+
"type": "integer",
|
|
28858
|
+
"format": "int32"
|
|
28859
|
+
},
|
|
28860
|
+
"wrong_gender": {
|
|
28861
|
+
"type": "integer",
|
|
28862
|
+
"format": "int32"
|
|
28863
|
+
},
|
|
28864
|
+
"addiction": {
|
|
28865
|
+
"type": "integer",
|
|
28866
|
+
"format": "int32"
|
|
28867
|
+
},
|
|
28868
|
+
"inactivity": {
|
|
28869
|
+
"type": "integer",
|
|
28870
|
+
"format": "int32"
|
|
28871
|
+
},
|
|
28872
|
+
"total": {
|
|
28873
|
+
"type": "integer",
|
|
28874
|
+
"format": "int32"
|
|
28875
|
+
}
|
|
28876
|
+
},
|
|
28877
|
+
"type": "object"
|
|
28878
|
+
},
|
|
28879
|
+
"CompanyEmployee": {
|
|
28880
|
+
"required": [
|
|
28881
|
+
"id",
|
|
28882
|
+
"name",
|
|
28883
|
+
"position",
|
|
28884
|
+
"days_in_company",
|
|
28885
|
+
"status",
|
|
28886
|
+
"last_action"
|
|
28887
|
+
],
|
|
28888
|
+
"properties": {
|
|
28889
|
+
"id": {
|
|
28890
|
+
"$ref": "#/components/schemas/UserId"
|
|
28891
|
+
},
|
|
28892
|
+
"name": {
|
|
28893
|
+
"type": "string"
|
|
28894
|
+
},
|
|
28895
|
+
"position": {
|
|
28896
|
+
"$ref": "#/components/schemas/CompanyEmployeePosition"
|
|
28897
|
+
},
|
|
28898
|
+
"days_in_company": {
|
|
28899
|
+
"type": "integer",
|
|
28900
|
+
"format": "int32"
|
|
28901
|
+
},
|
|
28902
|
+
"status": {
|
|
28903
|
+
"$ref": "#/components/schemas/UserStatus"
|
|
28904
|
+
},
|
|
28905
|
+
"last_action": {
|
|
28906
|
+
"$ref": "#/components/schemas/UserLastAction"
|
|
28907
|
+
}
|
|
28908
|
+
},
|
|
28909
|
+
"type": "object"
|
|
28910
|
+
},
|
|
28911
|
+
"CompanyEmployeePosition": {
|
|
28912
|
+
"required": [
|
|
28913
|
+
"id",
|
|
28914
|
+
"name"
|
|
28915
|
+
],
|
|
28916
|
+
"properties": {
|
|
28917
|
+
"id": {
|
|
28918
|
+
"$ref": "#/components/schemas/CompanyPositionId"
|
|
28919
|
+
},
|
|
28920
|
+
"name": {
|
|
28921
|
+
"type": "string"
|
|
28922
|
+
}
|
|
28923
|
+
},
|
|
28924
|
+
"type": "object"
|
|
28925
|
+
},
|
|
28926
|
+
"CompanyStockResponse": {
|
|
28927
|
+
"required": [
|
|
28928
|
+
"stock"
|
|
28929
|
+
],
|
|
28930
|
+
"properties": {
|
|
28931
|
+
"stock": {
|
|
28932
|
+
"type": "array",
|
|
28933
|
+
"items": {
|
|
28934
|
+
"$ref": "#/components/schemas/CompanyStockItem"
|
|
28935
|
+
}
|
|
28936
|
+
}
|
|
28937
|
+
},
|
|
28938
|
+
"type": "object"
|
|
28939
|
+
},
|
|
28940
|
+
"CompanyStockItem": {
|
|
28941
|
+
"required": [
|
|
28942
|
+
"name",
|
|
28943
|
+
"id",
|
|
28944
|
+
"cost",
|
|
28945
|
+
"rrp",
|
|
28946
|
+
"price",
|
|
28947
|
+
"in_stock",
|
|
28948
|
+
"on_order",
|
|
28949
|
+
"sold_amount",
|
|
28950
|
+
"sold_worth"
|
|
28951
|
+
],
|
|
28952
|
+
"properties": {
|
|
28953
|
+
"name": {
|
|
28954
|
+
"type": "string"
|
|
28955
|
+
},
|
|
28956
|
+
"id": {
|
|
28957
|
+
"type": "integer",
|
|
28958
|
+
"format": "int32"
|
|
28959
|
+
},
|
|
28960
|
+
"cost": {
|
|
28961
|
+
"type": "integer",
|
|
28962
|
+
"format": "int64"
|
|
28963
|
+
},
|
|
28964
|
+
"rrp": {
|
|
28965
|
+
"type": "integer",
|
|
28966
|
+
"format": "int64"
|
|
28967
|
+
},
|
|
28968
|
+
"price": {
|
|
28969
|
+
"type": "integer",
|
|
28970
|
+
"format": "int64"
|
|
28971
|
+
},
|
|
28972
|
+
"in_stock": {
|
|
28973
|
+
"type": "integer",
|
|
28974
|
+
"format": "int64"
|
|
28975
|
+
},
|
|
28976
|
+
"on_order": {
|
|
28977
|
+
"type": "integer",
|
|
28978
|
+
"format": "int64"
|
|
28979
|
+
},
|
|
28980
|
+
"sold_amount": {
|
|
28981
|
+
"type": "integer",
|
|
28982
|
+
"format": "int64"
|
|
28983
|
+
},
|
|
28984
|
+
"sold_worth": {
|
|
28985
|
+
"type": "integer",
|
|
28986
|
+
"format": "int64"
|
|
28987
|
+
}
|
|
28988
|
+
},
|
|
28989
|
+
"type": "object"
|
|
28990
|
+
},
|
|
28991
|
+
"CompanyApplicationsResponse": {
|
|
28992
|
+
"required": [
|
|
28993
|
+
"applications"
|
|
28994
|
+
],
|
|
28995
|
+
"properties": {
|
|
28996
|
+
"applications": {
|
|
28997
|
+
"type": "array",
|
|
28998
|
+
"items": {
|
|
28999
|
+
"$ref": "#/components/schemas/CompanyApplication"
|
|
29000
|
+
}
|
|
29001
|
+
}
|
|
29002
|
+
},
|
|
29003
|
+
"type": "object"
|
|
29004
|
+
},
|
|
29005
|
+
"CompanyApplication": {
|
|
29006
|
+
"required": [
|
|
29007
|
+
"player",
|
|
29008
|
+
"expires_at",
|
|
29009
|
+
"status",
|
|
29010
|
+
"message"
|
|
29011
|
+
],
|
|
29012
|
+
"properties": {
|
|
29013
|
+
"player": {
|
|
29014
|
+
"$ref": "#/components/schemas/CompanyApplicationPlayer"
|
|
29015
|
+
},
|
|
29016
|
+
"message": {
|
|
29017
|
+
"oneOf": [
|
|
29018
|
+
{
|
|
29019
|
+
"type": "string"
|
|
29020
|
+
},
|
|
29021
|
+
{
|
|
29022
|
+
"type": "null"
|
|
29023
|
+
}
|
|
29024
|
+
]
|
|
29025
|
+
},
|
|
29026
|
+
"expires_at": {
|
|
29027
|
+
"type": "integer",
|
|
29028
|
+
"format": "int32"
|
|
29029
|
+
},
|
|
29030
|
+
"status": {
|
|
29031
|
+
"$ref": "#/components/schemas/ApplicationStatusEnum"
|
|
29032
|
+
}
|
|
29033
|
+
},
|
|
29034
|
+
"type": "object"
|
|
29035
|
+
},
|
|
29036
|
+
"CompanyApplicationPlayer": {
|
|
29037
|
+
"required": [
|
|
29038
|
+
"id",
|
|
29039
|
+
"name",
|
|
29040
|
+
"level",
|
|
29041
|
+
"stats"
|
|
29042
|
+
],
|
|
29043
|
+
"properties": {
|
|
29044
|
+
"id": {
|
|
29045
|
+
"$ref": "#/components/schemas/UserId"
|
|
29046
|
+
},
|
|
29047
|
+
"name": {
|
|
29048
|
+
"type": "string"
|
|
29049
|
+
},
|
|
29050
|
+
"level": {
|
|
29051
|
+
"type": "integer",
|
|
29052
|
+
"format": "int32"
|
|
29053
|
+
},
|
|
29054
|
+
"stats": {
|
|
29055
|
+
"$ref": "#/components/schemas/CompanyApplicationPlayerStats"
|
|
29056
|
+
}
|
|
29057
|
+
},
|
|
29058
|
+
"type": "object"
|
|
29059
|
+
},
|
|
29060
|
+
"CompanyApplicationPlayerStats": {
|
|
29061
|
+
"required": [
|
|
29062
|
+
"manual_labor",
|
|
29063
|
+
"intelligence",
|
|
29064
|
+
"endurance"
|
|
29065
|
+
],
|
|
29066
|
+
"properties": {
|
|
29067
|
+
"manual_labor": {
|
|
29068
|
+
"type": "integer",
|
|
29069
|
+
"format": "int32"
|
|
29070
|
+
},
|
|
29071
|
+
"intelligence": {
|
|
29072
|
+
"type": "integer",
|
|
29073
|
+
"format": "int32"
|
|
29074
|
+
},
|
|
29075
|
+
"endurance": {
|
|
29076
|
+
"type": "integer",
|
|
29077
|
+
"format": "int32"
|
|
29078
|
+
}
|
|
29079
|
+
},
|
|
29080
|
+
"type": "object"
|
|
29081
|
+
},
|
|
27942
29082
|
"ForumCategoriesResponse": {
|
|
27943
29083
|
"required": [
|
|
27944
29084
|
"categories"
|
|
@@ -32906,6 +34046,10 @@
|
|
|
32906
34046
|
"name": "Faction",
|
|
32907
34047
|
"description": "Part of Faction section"
|
|
32908
34048
|
},
|
|
34049
|
+
{
|
|
34050
|
+
"name": "Company",
|
|
34051
|
+
"description": "Part of Company section"
|
|
34052
|
+
},
|
|
32909
34053
|
{
|
|
32910
34054
|
"name": "Market",
|
|
32911
34055
|
"description": "Part of Market section"
|