@shakerquiz/contracts 0.0.58 → 0.0.60
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/package.json
CHANGED
|
@@ -4,12 +4,6 @@
|
|
|
4
4
|
"ads_from": {
|
|
5
5
|
"type": "string"
|
|
6
6
|
},
|
|
7
|
-
"channel": {
|
|
8
|
-
"type": "string"
|
|
9
|
-
},
|
|
10
|
-
"confirmed_channel": {
|
|
11
|
-
"type": "string"
|
|
12
|
-
},
|
|
13
7
|
"email": {
|
|
14
8
|
"type": "string"
|
|
15
9
|
},
|
|
@@ -29,6 +23,18 @@
|
|
|
29
23
|
"human_name": {
|
|
30
24
|
"type": "string"
|
|
31
25
|
},
|
|
26
|
+
"team_name": {
|
|
27
|
+
"type": "string"
|
|
28
|
+
},
|
|
29
|
+
"people_count": {
|
|
30
|
+
"type": "integer"
|
|
31
|
+
},
|
|
32
|
+
"channel": {
|
|
33
|
+
"type": "string"
|
|
34
|
+
},
|
|
35
|
+
"confirmed_channel": {
|
|
36
|
+
"type": "string"
|
|
37
|
+
},
|
|
32
38
|
"is_alone": {
|
|
33
39
|
"type": "boolean"
|
|
34
40
|
},
|
|
@@ -41,18 +47,12 @@
|
|
|
41
47
|
"is_first": {
|
|
42
48
|
"type": "boolean"
|
|
43
49
|
},
|
|
44
|
-
"people_count": {
|
|
45
|
-
"type": "integer"
|
|
46
|
-
},
|
|
47
50
|
"phone": {
|
|
48
51
|
"type": "string"
|
|
49
52
|
},
|
|
50
53
|
"promocode": {
|
|
51
54
|
"type": "string"
|
|
52
55
|
},
|
|
53
|
-
"team_name": {
|
|
54
|
-
"type": "string"
|
|
55
|
-
},
|
|
56
56
|
"utm_campaign": {
|
|
57
57
|
"type": "string"
|
|
58
58
|
},
|
|
@@ -72,28 +72,50 @@
|
|
|
72
72
|
"required": [
|
|
73
73
|
"event_id",
|
|
74
74
|
"human_name",
|
|
75
|
+
"team_name",
|
|
76
|
+
"people_count",
|
|
77
|
+
"channel",
|
|
75
78
|
"is_alone",
|
|
76
79
|
"is_birthday",
|
|
77
80
|
"is_extensible",
|
|
78
|
-
"is_first"
|
|
79
|
-
"people_count",
|
|
80
|
-
"team_name",
|
|
81
|
-
"channel"
|
|
81
|
+
"is_first"
|
|
82
82
|
],
|
|
83
|
-
"
|
|
83
|
+
"oneOf": [
|
|
84
84
|
{
|
|
85
85
|
"if": {
|
|
86
86
|
"properties": {
|
|
87
|
+
"event_id": {
|
|
88
|
+
"type": "string",
|
|
89
|
+
"format": "uuid"
|
|
90
|
+
},
|
|
91
|
+
"human_name": {
|
|
92
|
+
"type": "string"
|
|
93
|
+
},
|
|
94
|
+
"team_name": {
|
|
95
|
+
"type": "string"
|
|
96
|
+
},
|
|
97
|
+
"people_count": {
|
|
98
|
+
"type": "integer"
|
|
99
|
+
},
|
|
87
100
|
"channel": {
|
|
88
101
|
"const": "telegramBot"
|
|
89
102
|
},
|
|
90
103
|
"confirmed_channel": {
|
|
91
|
-
"
|
|
104
|
+
"const": "telegramBot"
|
|
92
105
|
},
|
|
93
|
-
"
|
|
94
|
-
"type": "
|
|
106
|
+
"is_alone": {
|
|
107
|
+
"type": "boolean"
|
|
95
108
|
},
|
|
96
|
-
"
|
|
109
|
+
"is_birthday": {
|
|
110
|
+
"type": "boolean"
|
|
111
|
+
},
|
|
112
|
+
"is_extensible": {
|
|
113
|
+
"type": "boolean"
|
|
114
|
+
},
|
|
115
|
+
"is_first": {
|
|
116
|
+
"type": "boolean"
|
|
117
|
+
},
|
|
118
|
+
"telegramBot": {
|
|
97
119
|
"type": "string"
|
|
98
120
|
}
|
|
99
121
|
}
|
|
@@ -108,16 +130,38 @@
|
|
|
108
130
|
{
|
|
109
131
|
"if": {
|
|
110
132
|
"properties": {
|
|
133
|
+
"event_id": {
|
|
134
|
+
"type": "string",
|
|
135
|
+
"format": "uuid"
|
|
136
|
+
},
|
|
137
|
+
"human_name": {
|
|
138
|
+
"type": "string"
|
|
139
|
+
},
|
|
140
|
+
"team_name": {
|
|
141
|
+
"type": "string"
|
|
142
|
+
},
|
|
143
|
+
"people_count": {
|
|
144
|
+
"type": "integer"
|
|
145
|
+
},
|
|
111
146
|
"channel": {
|
|
112
147
|
"const": "vkontakte"
|
|
113
148
|
},
|
|
114
149
|
"confirmed_channel": {
|
|
115
|
-
"
|
|
150
|
+
"const": "vkontakte"
|
|
116
151
|
},
|
|
117
|
-
"
|
|
118
|
-
"type": "
|
|
152
|
+
"is_alone": {
|
|
153
|
+
"type": "boolean"
|
|
119
154
|
},
|
|
120
|
-
"
|
|
155
|
+
"is_birthday": {
|
|
156
|
+
"type": "boolean"
|
|
157
|
+
},
|
|
158
|
+
"is_extensible": {
|
|
159
|
+
"type": "boolean"
|
|
160
|
+
},
|
|
161
|
+
"is_first": {
|
|
162
|
+
"type": "boolean"
|
|
163
|
+
},
|
|
164
|
+
"vkontakte": {
|
|
121
165
|
"type": "string"
|
|
122
166
|
}
|
|
123
167
|
}
|
|
@@ -132,9 +176,34 @@
|
|
|
132
176
|
{
|
|
133
177
|
"if": {
|
|
134
178
|
"properties": {
|
|
179
|
+
"event_id": {
|
|
180
|
+
"type": "string",
|
|
181
|
+
"format": "uuid"
|
|
182
|
+
},
|
|
183
|
+
"human_name": {
|
|
184
|
+
"type": "string"
|
|
185
|
+
},
|
|
186
|
+
"team_name": {
|
|
187
|
+
"type": "string"
|
|
188
|
+
},
|
|
189
|
+
"people_count": {
|
|
190
|
+
"type": "integer"
|
|
191
|
+
},
|
|
135
192
|
"channel": {
|
|
136
193
|
"const": "email"
|
|
137
194
|
},
|
|
195
|
+
"is_alone": {
|
|
196
|
+
"type": "boolean"
|
|
197
|
+
},
|
|
198
|
+
"is_birthday": {
|
|
199
|
+
"type": "boolean"
|
|
200
|
+
},
|
|
201
|
+
"is_extensible": {
|
|
202
|
+
"type": "boolean"
|
|
203
|
+
},
|
|
204
|
+
"is_first": {
|
|
205
|
+
"type": "boolean"
|
|
206
|
+
},
|
|
138
207
|
"email": {
|
|
139
208
|
"type": "string"
|
|
140
209
|
}
|