@shakerquiz/contracts 0.0.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/dprint.json +24 -0
- package/generate.js +57 -0
- package/jsconfig.json +18 -0
- package/package.json +23 -0
- package/source/contracts/PATCH/city/admin.json +126 -0
- package/source/contracts/PATCH/city/currency/admin.json +173 -0
- package/source/contracts/PATCH/city/timezone/admin.json +501 -0
- package/source/contracts/PATCH/game/admin.json +30 -0
- package/source/contracts/PATCH/game/organizer.json +30 -0
- package/source/contracts/PATCH/games/admin.json +34 -0
- package/source/contracts/PATCH/games/organizer.json +34 -0
- package/source/contracts/PATCH/registration/Unknown.json +10 -0
- package/source/contracts/PATCH/registration/admin.json +43 -0
- package/source/contracts/PATCH/registration/cancellation/Unknown.json +12 -0
- package/source/contracts/PATCH/registration/channel/Unknown.json +22 -0
- package/source/contracts/PATCH/registration/confirmation/Unknown.json +12 -0
- package/source/contracts/PATCH/registration/organizer.json +43 -0
- package/source/contracts/PATCH/theme/admin.json +19 -0
- package/source/contracts/PATCH/user/admin.json +30 -0
- package/source/contracts/PATCH/user/cities/admin.json +17 -0
- package/source/contracts/PATCH/user/password/admin.json +12 -0
- package/source/contracts/PATCH/user/role/admin.json +13 -0
- package/source/contracts/PATCH/users/cities/admin.json +19 -0
- package/source/contracts/PATCH/users/role/admin.json +19 -0
- package/source/contracts/PATCH/venue/admin.json +44 -0
- package/source/contracts/PATCH/venue/organizer.json +44 -0
- package/source/contracts/POST/checkin/Unknown.json +16 -0
- package/source/contracts/POST/city/admin.json +696 -0
- package/source/contracts/POST/cover/admin.json +24 -0
- package/source/contracts/POST/game/admin.json +27 -0
- package/source/contracts/POST/game/organizer.json +27 -0
- package/source/contracts/POST/game/registrations/export/admin.json +17 -0
- package/source/contracts/POST/game/registrations/export/organizer.json +17 -0
- package/source/contracts/POST/registration/Unknown.json +125 -0
- package/source/contracts/POST/registration/mailing/admin.json +16 -0
- package/source/contracts/POST/registration/mailing/organizer.json +16 -0
- package/source/contracts/POST/registrations/export/admin.json +17 -0
- package/source/contracts/POST/registrations/export/organizer.json +17 -0
- package/source/contracts/POST/theme/admin.json +24 -0
- package/source/contracts/POST/user/admin.json +12 -0
- package/source/contracts/POST/user/cities/admin.json +17 -0
- package/source/contracts/POST/user/password/admin.json +12 -0
- package/source/contracts/POST/user/role/admin.json +13 -0
- package/source/contracts/POST/venue/admin.json +38 -0
- package/source/contracts/POST/venue/organizer.json +38 -0
- package/source/contracts/PUT/cover/admin.json +13 -0
- package/source/index.js +83 -0
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
{
|
|
2
|
+
"type": "object",
|
|
3
|
+
"properties": {
|
|
4
|
+
"channel": {
|
|
5
|
+
"type": "string"
|
|
6
|
+
},
|
|
7
|
+
"confirmed_channel": {
|
|
8
|
+
"type": "string"
|
|
9
|
+
},
|
|
10
|
+
"email": {
|
|
11
|
+
"type": "string"
|
|
12
|
+
},
|
|
13
|
+
"vkontakte": {
|
|
14
|
+
"type": "string"
|
|
15
|
+
},
|
|
16
|
+
"telegramBot": {
|
|
17
|
+
"type": "string"
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
"required": [],
|
|
21
|
+
"additionalProperties": false
|
|
22
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
{
|
|
2
|
+
"type": "object",
|
|
3
|
+
"properties": {
|
|
4
|
+
"people_count": {
|
|
5
|
+
"type": "integer"
|
|
6
|
+
},
|
|
7
|
+
"human_name": {
|
|
8
|
+
"type": "string"
|
|
9
|
+
},
|
|
10
|
+
"is_alone": {
|
|
11
|
+
"type": "boolean"
|
|
12
|
+
},
|
|
13
|
+
"is_canceled": {
|
|
14
|
+
"type": "boolean"
|
|
15
|
+
},
|
|
16
|
+
"is_confirm": {
|
|
17
|
+
"type": "boolean"
|
|
18
|
+
},
|
|
19
|
+
"is_reserve": {
|
|
20
|
+
"type": "boolean"
|
|
21
|
+
},
|
|
22
|
+
"team_name": {
|
|
23
|
+
"type": "string"
|
|
24
|
+
},
|
|
25
|
+
"status": {
|
|
26
|
+
"type": "string",
|
|
27
|
+
"enum": [
|
|
28
|
+
"Created",
|
|
29
|
+
"Confirmed",
|
|
30
|
+
"Cancelled"
|
|
31
|
+
]
|
|
32
|
+
},
|
|
33
|
+
"lineup": {
|
|
34
|
+
"type": "string",
|
|
35
|
+
"enum": [
|
|
36
|
+
"Main",
|
|
37
|
+
"Reserve"
|
|
38
|
+
]
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
"required": [],
|
|
42
|
+
"additionalProperties": false
|
|
43
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
{
|
|
2
|
+
"type": "object",
|
|
3
|
+
"properties": {
|
|
4
|
+
"name": {
|
|
5
|
+
"type": "string"
|
|
6
|
+
},
|
|
7
|
+
"short_description": {
|
|
8
|
+
"type": "string"
|
|
9
|
+
},
|
|
10
|
+
"description": {
|
|
11
|
+
"type": "string"
|
|
12
|
+
},
|
|
13
|
+
"alias": {
|
|
14
|
+
"type": "string"
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
"required": [],
|
|
18
|
+
"additionalProperties": false
|
|
19
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
{
|
|
2
|
+
"type": "object",
|
|
3
|
+
"properties": {
|
|
4
|
+
"email": {
|
|
5
|
+
"type": "string"
|
|
6
|
+
},
|
|
7
|
+
"phone": {
|
|
8
|
+
"type": [
|
|
9
|
+
"string",
|
|
10
|
+
"null"
|
|
11
|
+
]
|
|
12
|
+
},
|
|
13
|
+
"first_name": {
|
|
14
|
+
"type": [
|
|
15
|
+
"string",
|
|
16
|
+
"null"
|
|
17
|
+
]
|
|
18
|
+
},
|
|
19
|
+
"last_name": {
|
|
20
|
+
"type": [
|
|
21
|
+
"string",
|
|
22
|
+
"null"
|
|
23
|
+
]
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
"required": [
|
|
27
|
+
"email"
|
|
28
|
+
],
|
|
29
|
+
"additionalProperties": false
|
|
30
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
{
|
|
2
|
+
"type": "object",
|
|
3
|
+
"properties": {
|
|
4
|
+
"name": {
|
|
5
|
+
"type": "string"
|
|
6
|
+
},
|
|
7
|
+
"street": {
|
|
8
|
+
"type": "string"
|
|
9
|
+
},
|
|
10
|
+
"house_number": {
|
|
11
|
+
"type": "string"
|
|
12
|
+
},
|
|
13
|
+
"people_capacity": {
|
|
14
|
+
"type": "integer"
|
|
15
|
+
},
|
|
16
|
+
"team_capacity": {
|
|
17
|
+
"type": "integer"
|
|
18
|
+
},
|
|
19
|
+
"is_adult": {
|
|
20
|
+
"type": "boolean"
|
|
21
|
+
},
|
|
22
|
+
"game_time": {
|
|
23
|
+
"type": "string",
|
|
24
|
+
"format": "iso-time"
|
|
25
|
+
},
|
|
26
|
+
"location_info": {
|
|
27
|
+
"type": [
|
|
28
|
+
"string",
|
|
29
|
+
"null"
|
|
30
|
+
]
|
|
31
|
+
},
|
|
32
|
+
"status": {
|
|
33
|
+
"type": "string"
|
|
34
|
+
},
|
|
35
|
+
"href": {
|
|
36
|
+
"type": [
|
|
37
|
+
"string",
|
|
38
|
+
"null"
|
|
39
|
+
]
|
|
40
|
+
}
|
|
41
|
+
},
|
|
42
|
+
"required": [],
|
|
43
|
+
"additionalProperties": false
|
|
44
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
{
|
|
2
|
+
"type": "object",
|
|
3
|
+
"properties": {
|
|
4
|
+
"name": {
|
|
5
|
+
"type": "string"
|
|
6
|
+
},
|
|
7
|
+
"street": {
|
|
8
|
+
"type": "string"
|
|
9
|
+
},
|
|
10
|
+
"house_number": {
|
|
11
|
+
"type": "string"
|
|
12
|
+
},
|
|
13
|
+
"people_capacity": {
|
|
14
|
+
"type": "integer"
|
|
15
|
+
},
|
|
16
|
+
"team_capacity": {
|
|
17
|
+
"type": "integer"
|
|
18
|
+
},
|
|
19
|
+
"is_adult": {
|
|
20
|
+
"type": "boolean"
|
|
21
|
+
},
|
|
22
|
+
"game_time": {
|
|
23
|
+
"type": "string",
|
|
24
|
+
"format": "iso-time"
|
|
25
|
+
},
|
|
26
|
+
"location_info": {
|
|
27
|
+
"type": [
|
|
28
|
+
"string",
|
|
29
|
+
"null"
|
|
30
|
+
]
|
|
31
|
+
},
|
|
32
|
+
"status": {
|
|
33
|
+
"type": "string"
|
|
34
|
+
},
|
|
35
|
+
"href": {
|
|
36
|
+
"type": [
|
|
37
|
+
"string",
|
|
38
|
+
"null"
|
|
39
|
+
]
|
|
40
|
+
}
|
|
41
|
+
},
|
|
42
|
+
"required": [],
|
|
43
|
+
"additionalProperties": false
|
|
44
|
+
}
|