tachyon-protocol 0.1.1 → 0.1.3

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.
Files changed (48) hide show
  1. package/dist/account/getToken/request.json +72 -72
  2. package/dist/account/getToken/response.json +90 -90
  3. package/dist/account/login/request.json +31 -31
  4. package/dist/account/login/response.json +299 -299
  5. package/dist/account/recover/request.json +14 -14
  6. package/dist/account/recover/response.json +57 -57
  7. package/dist/account/register/request.json +51 -51
  8. package/dist/account/register/response.json +77 -77
  9. package/dist/account/rename/request.json +32 -32
  10. package/dist/account/rename/response.json +65 -65
  11. package/dist/bot/slave/request.json +28 -28
  12. package/dist/bot/slave/response.json +57 -57
  13. package/dist/bot/unslave/request.json +14 -14
  14. package/dist/bot/unslave/response.json +57 -57
  15. package/dist/game/launch/response.json +69 -69
  16. package/dist/index.d.ts +926 -923
  17. package/dist/lobby/close/request.json +14 -14
  18. package/dist/lobby/close/response.json +57 -57
  19. package/dist/lobby/create/request.json +51 -51
  20. package/dist/lobby/create/response.json +65 -65
  21. package/dist/lobby/join/request.json +35 -35
  22. package/dist/lobby/join/response.json +85 -85
  23. package/dist/lobby/joined/response.json +255 -255
  24. package/dist/lobby/leave/request.json +14 -14
  25. package/dist/lobby/leave/response.json +61 -61
  26. package/dist/lobby/left/response.json +57 -57
  27. package/dist/lobby/list/request.json +14 -14
  28. package/dist/lobby/list/response.json +266 -266
  29. package/dist/lobby/receiveMessage/response.json +79 -79
  30. package/dist/lobby/sendMessage/request.json +32 -32
  31. package/dist/lobby/sendMessage/response.json +65 -65
  32. package/dist/lobby/updated/response.json +211 -211
  33. package/dist/matchmaking/cancel/request.json +14 -14
  34. package/dist/matchmaking/cancel/response.json +61 -61
  35. package/dist/matchmaking/found/response.json +69 -69
  36. package/dist/matchmaking/list/request.json +14 -14
  37. package/dist/matchmaking/list/response.json +104 -104
  38. package/dist/matchmaking/lost/response.json +57 -57
  39. package/dist/matchmaking/queue/request.json +30 -30
  40. package/dist/matchmaking/queue/response.json +65 -65
  41. package/dist/matchmaking/queueUpdate/response.json +69 -69
  42. package/dist/matchmaking/ready/request.json +14 -14
  43. package/dist/matchmaking/ready/response.json +61 -61
  44. package/dist/matchmaking/readyUpdate/response.json +73 -73
  45. package/dist/system/disconnect/request.json +14 -14
  46. package/dist/system/disconnected/response.json +57 -57
  47. package/dist/system/version/response.json +95 -70
  48. package/package.json +2 -2
@@ -1,15 +1,15 @@
1
- {
2
- "$id": "lobby/close/request",
3
- "requiresLogin": false,
4
- "requiresRole": false,
5
- "type": "object",
6
- "properties": {
7
- "command": {
8
- "const": "lobby/close/request",
9
- "type": "string"
10
- }
11
- },
12
- "required": [
13
- "command"
14
- ]
1
+ {
2
+ "$id": "lobby/close/request",
3
+ "requiresLogin": false,
4
+ "requiresRole": false,
5
+ "type": "object",
6
+ "properties": {
7
+ "command": {
8
+ "const": "lobby/close/request",
9
+ "type": "string"
10
+ }
11
+ },
12
+ "required": [
13
+ "command"
14
+ ]
15
15
  }
@@ -1,58 +1,58 @@
1
- {
2
- "$id": "lobby/close/response",
3
- "requiresLogin": false,
4
- "requiresRole": false,
5
- "anyOf": [
6
- {
7
- "type": "object",
8
- "properties": {
9
- "command": {
10
- "const": "lobby/close/response",
11
- "type": "string"
12
- },
13
- "status": {
14
- "const": "success",
15
- "type": "string"
16
- }
17
- },
18
- "required": [
19
- "command",
20
- "status"
21
- ]
22
- },
23
- {
24
- "type": "object",
25
- "properties": {
26
- "command": {
27
- "const": "lobby/close/response",
28
- "type": "string"
29
- },
30
- "status": {
31
- "const": "failed",
32
- "type": "string"
33
- },
34
- "reason": {
35
- "anyOf": [
36
- {
37
- "const": "internal_error",
38
- "type": "string"
39
- },
40
- {
41
- "const": "unauthorized",
42
- "type": "string"
43
- },
44
- {
45
- "const": "invalid_command",
46
- "type": "string"
47
- }
48
- ]
49
- }
50
- },
51
- "required": [
52
- "command",
53
- "status",
54
- "reason"
55
- ]
56
- }
57
- ]
1
+ {
2
+ "$id": "lobby/close/response",
3
+ "requiresLogin": false,
4
+ "requiresRole": false,
5
+ "anyOf": [
6
+ {
7
+ "type": "object",
8
+ "properties": {
9
+ "command": {
10
+ "const": "lobby/close/response",
11
+ "type": "string"
12
+ },
13
+ "status": {
14
+ "const": "success",
15
+ "type": "string"
16
+ }
17
+ },
18
+ "required": [
19
+ "command",
20
+ "status"
21
+ ]
22
+ },
23
+ {
24
+ "type": "object",
25
+ "properties": {
26
+ "command": {
27
+ "const": "lobby/close/response",
28
+ "type": "string"
29
+ },
30
+ "status": {
31
+ "const": "failed",
32
+ "type": "string"
33
+ },
34
+ "reason": {
35
+ "anyOf": [
36
+ {
37
+ "const": "internal_error",
38
+ "type": "string"
39
+ },
40
+ {
41
+ "const": "unauthorized",
42
+ "type": "string"
43
+ },
44
+ {
45
+ "const": "invalid_command",
46
+ "type": "string"
47
+ }
48
+ ]
49
+ }
50
+ },
51
+ "required": [
52
+ "command",
53
+ "status",
54
+ "reason"
55
+ ]
56
+ }
57
+ ]
58
58
  }
@@ -1,52 +1,52 @@
1
- {
2
- "$id": "lobby/create/request",
3
- "requiresLogin": false,
4
- "requiresRole": false,
5
- "type": "object",
6
- "properties": {
7
- "command": {
8
- "const": "lobby/create/request",
9
- "type": "string"
10
- },
11
- "data": {
12
- "examples": [
13
- {
14
- "title": "8v8 | All Welcome",
15
- "private": false,
16
- "region": "EU",
17
- "maxPlayers": 16
18
- }
19
- ],
20
- "type": "object",
21
- "properties": {
22
- "title": {
23
- "minLength": 2,
24
- "maxLength": 30,
25
- "type": "string"
26
- },
27
- "private": {
28
- "default": true,
29
- "type": "boolean"
30
- },
31
- "region": {
32
- "type": "string"
33
- },
34
- "maxPlayers": {
35
- "minimum": 0,
36
- "default": 16,
37
- "type": "integer"
38
- }
39
- },
40
- "required": [
41
- "title",
42
- "private",
43
- "region",
44
- "maxPlayers"
45
- ]
46
- }
47
- },
48
- "required": [
49
- "command",
50
- "data"
51
- ]
1
+ {
2
+ "$id": "lobby/create/request",
3
+ "requiresLogin": false,
4
+ "requiresRole": false,
5
+ "type": "object",
6
+ "properties": {
7
+ "command": {
8
+ "const": "lobby/create/request",
9
+ "type": "string"
10
+ },
11
+ "data": {
12
+ "examples": [
13
+ {
14
+ "title": "8v8 | All Welcome",
15
+ "private": false,
16
+ "region": "EU",
17
+ "maxPlayers": 16
18
+ }
19
+ ],
20
+ "type": "object",
21
+ "properties": {
22
+ "title": {
23
+ "minLength": 2,
24
+ "maxLength": 30,
25
+ "type": "string"
26
+ },
27
+ "private": {
28
+ "default": true,
29
+ "type": "boolean"
30
+ },
31
+ "region": {
32
+ "type": "string"
33
+ },
34
+ "maxPlayers": {
35
+ "minimum": 0,
36
+ "default": 16,
37
+ "type": "integer"
38
+ }
39
+ },
40
+ "required": [
41
+ "title",
42
+ "private",
43
+ "region",
44
+ "maxPlayers"
45
+ ]
46
+ }
47
+ },
48
+ "required": [
49
+ "command",
50
+ "data"
51
+ ]
52
52
  }
@@ -1,66 +1,66 @@
1
- {
2
- "$id": "lobby/create/response",
3
- "requiresLogin": false,
4
- "requiresRole": false,
5
- "anyOf": [
6
- {
7
- "type": "object",
8
- "properties": {
9
- "command": {
10
- "const": "lobby/create/response",
11
- "type": "string"
12
- },
13
- "status": {
14
- "const": "success",
15
- "type": "string"
16
- }
17
- },
18
- "required": [
19
- "command",
20
- "status"
21
- ]
22
- },
23
- {
24
- "type": "object",
25
- "properties": {
26
- "command": {
27
- "const": "lobby/create/response",
28
- "type": "string"
29
- },
30
- "status": {
31
- "const": "failed",
32
- "type": "string"
33
- },
34
- "reason": {
35
- "anyOf": [
36
- {
37
- "const": "no_hosts_available",
38
- "type": "string"
39
- },
40
- {
41
- "const": "invalid_region",
42
- "type": "string"
43
- },
44
- {
45
- "const": "internal_error",
46
- "type": "string"
47
- },
48
- {
49
- "const": "unauthorized",
50
- "type": "string"
51
- },
52
- {
53
- "const": "invalid_command",
54
- "type": "string"
55
- }
56
- ]
57
- }
58
- },
59
- "required": [
60
- "command",
61
- "status",
62
- "reason"
63
- ]
64
- }
65
- ]
1
+ {
2
+ "$id": "lobby/create/response",
3
+ "requiresLogin": false,
4
+ "requiresRole": false,
5
+ "anyOf": [
6
+ {
7
+ "type": "object",
8
+ "properties": {
9
+ "command": {
10
+ "const": "lobby/create/response",
11
+ "type": "string"
12
+ },
13
+ "status": {
14
+ "const": "success",
15
+ "type": "string"
16
+ }
17
+ },
18
+ "required": [
19
+ "command",
20
+ "status"
21
+ ]
22
+ },
23
+ {
24
+ "type": "object",
25
+ "properties": {
26
+ "command": {
27
+ "const": "lobby/create/response",
28
+ "type": "string"
29
+ },
30
+ "status": {
31
+ "const": "failed",
32
+ "type": "string"
33
+ },
34
+ "reason": {
35
+ "anyOf": [
36
+ {
37
+ "const": "no_hosts_available",
38
+ "type": "string"
39
+ },
40
+ {
41
+ "const": "invalid_region",
42
+ "type": "string"
43
+ },
44
+ {
45
+ "const": "internal_error",
46
+ "type": "string"
47
+ },
48
+ {
49
+ "const": "unauthorized",
50
+ "type": "string"
51
+ },
52
+ {
53
+ "const": "invalid_command",
54
+ "type": "string"
55
+ }
56
+ ]
57
+ }
58
+ },
59
+ "required": [
60
+ "command",
61
+ "status",
62
+ "reason"
63
+ ]
64
+ }
65
+ ]
66
66
  }
@@ -1,36 +1,36 @@
1
- {
2
- "$id": "lobby/join/request",
3
- "requiresLogin": false,
4
- "requiresRole": false,
5
- "type": "object",
6
- "properties": {
7
- "command": {
8
- "const": "lobby/join/request",
9
- "type": "string"
10
- },
11
- "data": {
12
- "examples": [
13
- {
14
- "lobbyId": 27,
15
- "password": "fish"
16
- }
17
- ],
18
- "type": "object",
19
- "properties": {
20
- "lobbyId": {
21
- "type": "integer"
22
- },
23
- "password": {
24
- "type": "string"
25
- }
26
- },
27
- "required": [
28
- "lobbyId"
29
- ]
30
- }
31
- },
32
- "required": [
33
- "command",
34
- "data"
35
- ]
1
+ {
2
+ "$id": "lobby/join/request",
3
+ "requiresLogin": false,
4
+ "requiresRole": false,
5
+ "type": "object",
6
+ "properties": {
7
+ "command": {
8
+ "const": "lobby/join/request",
9
+ "type": "string"
10
+ },
11
+ "data": {
12
+ "examples": [
13
+ {
14
+ "lobbyId": 27,
15
+ "password": "fish"
16
+ }
17
+ ],
18
+ "type": "object",
19
+ "properties": {
20
+ "lobbyId": {
21
+ "type": "integer"
22
+ },
23
+ "password": {
24
+ "type": "string"
25
+ }
26
+ },
27
+ "required": [
28
+ "lobbyId"
29
+ ]
30
+ }
31
+ },
32
+ "required": [
33
+ "command",
34
+ "data"
35
+ ]
36
36
  }
@@ -1,86 +1,86 @@
1
- {
2
- "$id": "lobby/join/response",
3
- "requiresLogin": false,
4
- "requiresRole": false,
5
- "anyOf": [
6
- {
7
- "type": "object",
8
- "properties": {
9
- "command": {
10
- "const": "lobby/join/response",
11
- "type": "string"
12
- },
13
- "status": {
14
- "const": "success",
15
- "type": "string"
16
- }
17
- },
18
- "required": [
19
- "command",
20
- "status"
21
- ]
22
- },
23
- {
24
- "type": "object",
25
- "properties": {
26
- "command": {
27
- "const": "lobby/join/response",
28
- "type": "string"
29
- },
30
- "status": {
31
- "const": "failed",
32
- "type": "string"
33
- },
34
- "reason": {
35
- "anyOf": [
36
- {
37
- "const": "locked",
38
- "type": "string"
39
- },
40
- {
41
- "const": "requires_password",
42
- "type": "string"
43
- },
44
- {
45
- "const": "invalid_password",
46
- "type": "string"
47
- },
48
- {
49
- "const": "max_participants_reached",
50
- "type": "string"
51
- },
52
- {
53
- "const": "rank_too_low",
54
- "type": "string"
55
- },
56
- {
57
- "const": "rank_too_high",
58
- "type": "string"
59
- },
60
- {
61
- "const": "banned",
62
- "type": "string"
63
- },
64
- {
65
- "const": "internal_error",
66
- "type": "string"
67
- },
68
- {
69
- "const": "unauthorized",
70
- "type": "string"
71
- },
72
- {
73
- "const": "invalid_command",
74
- "type": "string"
75
- }
76
- ]
77
- }
78
- },
79
- "required": [
80
- "command",
81
- "status",
82
- "reason"
83
- ]
84
- }
85
- ]
1
+ {
2
+ "$id": "lobby/join/response",
3
+ "requiresLogin": false,
4
+ "requiresRole": false,
5
+ "anyOf": [
6
+ {
7
+ "type": "object",
8
+ "properties": {
9
+ "command": {
10
+ "const": "lobby/join/response",
11
+ "type": "string"
12
+ },
13
+ "status": {
14
+ "const": "success",
15
+ "type": "string"
16
+ }
17
+ },
18
+ "required": [
19
+ "command",
20
+ "status"
21
+ ]
22
+ },
23
+ {
24
+ "type": "object",
25
+ "properties": {
26
+ "command": {
27
+ "const": "lobby/join/response",
28
+ "type": "string"
29
+ },
30
+ "status": {
31
+ "const": "failed",
32
+ "type": "string"
33
+ },
34
+ "reason": {
35
+ "anyOf": [
36
+ {
37
+ "const": "locked",
38
+ "type": "string"
39
+ },
40
+ {
41
+ "const": "requires_password",
42
+ "type": "string"
43
+ },
44
+ {
45
+ "const": "invalid_password",
46
+ "type": "string"
47
+ },
48
+ {
49
+ "const": "max_participants_reached",
50
+ "type": "string"
51
+ },
52
+ {
53
+ "const": "rank_too_low",
54
+ "type": "string"
55
+ },
56
+ {
57
+ "const": "rank_too_high",
58
+ "type": "string"
59
+ },
60
+ {
61
+ "const": "banned",
62
+ "type": "string"
63
+ },
64
+ {
65
+ "const": "internal_error",
66
+ "type": "string"
67
+ },
68
+ {
69
+ "const": "unauthorized",
70
+ "type": "string"
71
+ },
72
+ {
73
+ "const": "invalid_command",
74
+ "type": "string"
75
+ }
76
+ ]
77
+ }
78
+ },
79
+ "required": [
80
+ "command",
81
+ "status",
82
+ "reason"
83
+ ]
84
+ }
85
+ ]
86
86
  }