@shakerquiz/utilities 0.5.49 → 0.5.51

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 (33) hide show
  1. package/package.json +1 -1
  2. package/source/enumerations/misc/routes.js +188 -43
  3. package/source/schemas/PATCH/city/admin.json +671 -7
  4. package/source/schemas/PATCH/{Game/admin/schema.json → game/admin.json} +0 -4
  5. package/source/schemas/PATCH/{Game/organizer/schema.json → game/organizer.json} +0 -4
  6. package/source/schemas/PATCH/registration/cancellation/default.json +12 -0
  7. package/source/schemas/PATCH/registration/channel/default.json +22 -0
  8. package/source/schemas/PATCH/registration/confirmation/default.json +12 -0
  9. package/source/schemas/PATCH/registration/default.json +10 -0
  10. package/source/schemas/PATCH/registration/organizer.json +43 -0
  11. package/source/schemas/PATCH/user/role/admin.json +1 -1
  12. package/source/schemas/POST/city/admin.json +667 -3
  13. package/source/schemas/POST/game/registrations/export/admin.json +17 -0
  14. package/source/schemas/POST/game/registrations/export/organizer.json +17 -0
  15. package/source/schemas/POST/registrations/export/admin.json +17 -0
  16. package/source/schemas/POST/registrations/export/organizer.json +17 -0
  17. package/source/schemas/PATCH/Registration/admin/schema.json +0 -6
  18. package/source/schemas/PATCH/Registration/default/schema.json +0 -104
  19. package/source/schemas/POST/Game/organizer/schema.json +0 -27
  20. package/source/schemas/POST/Mailing/admin/schema.json +0 -6
  21. package/source/schemas/POST/Mailing/default/schema.json +0 -6
  22. package/source/schemas/POST/Registration/admin/schema.json +0 -6
  23. package/source/schemas/POST/Registration/organizer/schema.json +0 -6
  24. package/source/schemas/game.schema.json +0 -93
  25. package/source/schemas/registration.schema.json +0 -123
  26. package/source/schemas/theme.schema.json +0 -48
  27. package/source/schemas/venue.schema.json +0 -56
  28. /package/source/schemas/PATCH/{Registration/organizer/schema.json → registration/admin.json} +0 -0
  29. /package/source/schemas/POST/{Game/admin/schema.json → game/admin.json} +0 -0
  30. /package/source/schemas/POST/{Game/default/schema.json → game/organizer.json} +0 -0
  31. /package/source/schemas/POST/{Registration/default/schema.json → registration/default.json} +0 -0
  32. /package/source/schemas/{PATCH/Game/default/schema.json → POST/registration/mailing/admin.json} +0 -0
  33. /package/source/schemas/POST/{Mailing/organizer/schema.json → registration/mailing/organizer.json} +0 -0
@@ -5,10 +5,6 @@
5
5
  "type": "string",
6
6
  "format": "uuid"
7
7
  },
8
- "theme_id": {
9
- "type": "string",
10
- "format": "uuid"
11
- },
12
8
  "number": {
13
9
  "type": "string"
14
10
  },
@@ -0,0 +1,12 @@
1
+ {
2
+ "type": "object",
3
+ "properties": {
4
+ "is_canceled": {
5
+ "type": "boolean"
6
+ }
7
+ },
8
+ "required": [
9
+ "is_canceled"
10
+ ],
11
+ "additionalProperties": false
12
+ }
@@ -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,12 @@
1
+ {
2
+ "type": "object",
3
+ "properties": {
4
+ "is_confirm": {
5
+ "type": "boolean"
6
+ }
7
+ },
8
+ "required": [
9
+ "is_confirm"
10
+ ],
11
+ "additionalProperties": false
12
+ }
@@ -0,0 +1,10 @@
1
+ {
2
+ "type": "object",
3
+ "properties": {
4
+ "people_count": {
5
+ "type": "integer"
6
+ }
7
+ },
8
+ "required": [],
9
+ "additionalProperties": false
10
+ }
@@ -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
+ }
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "type": "object",
3
3
  "properties": {
4
- "id": {
4
+ "role_id": {
5
5
  "type": "string",
6
6
  "format": "uuid"
7
7
  }