@vertikalx/vtx-backend-client 1.0.0-dev.7 → 1.0.0-dev.70
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 +1 -1
- package/src/api/api-call-headers.d.ts +3 -3
- package/src/api/api-call-headers.js +3 -3
- package/src/api/api-call-headers.js.map +1 -1
- package/src/api/backend-response.d.ts +7 -1
- package/src/api/domains.d.ts +3 -0
- package/src/api/domains.js +7 -0
- package/src/api/domains.js.map +1 -0
- package/src/api/response-builder.d.ts +4 -0
- package/src/api/response-builder.js +123 -0
- package/src/api/response-builder.js.map +1 -0
- package/src/api/types.d.ts +2 -0
- package/src/api/types.js +3 -0
- package/src/api/types.js.map +1 -0
- package/src/api/vtx-base-api.d.ts +48 -4
- package/src/api/vtx-base-api.js +3147 -115
- package/src/api/vtx-base-api.js.map +1 -1
- package/src/api/vtx-web-browser-api.js +2 -2
- package/src/api/vtx-web-browser-api.js.map +1 -1
- package/src/client/runtime/createClient.d.ts +4 -10
- package/src/client/runtime/generateGraphqlOperation.d.ts +1 -1
- package/src/client/schema.d.ts +2189 -161
- package/src/client/schema.graphql +1055 -61
- package/src/client/schema.js +486 -44
- package/src/client/schema.js.map +1 -1
- package/src/client/types.d.ts +1157 -67
- package/src/client/types.js +3085 -237
- package/src/client/types.js.map +1 -1
- package/src/index.d.ts +3 -0
- package/src/index.js +3 -0
- package/src/index.js.map +1 -1
- package/tsconfig.lib.tsbuildinfo +1 -1
package/src/client/schema.d.ts
CHANGED
|
@@ -1,142 +1,807 @@
|
|
|
1
1
|
export type Scalars = {
|
|
2
2
|
String: string;
|
|
3
3
|
Boolean: boolean;
|
|
4
|
+
DateTime: any;
|
|
5
|
+
Float: number;
|
|
4
6
|
};
|
|
5
|
-
export interface ApiKey {
|
|
6
|
-
_id: Scalars['String'];
|
|
7
|
-
keyName: Scalars['String'];
|
|
8
|
-
readAccess: Scalars['Boolean'];
|
|
9
|
-
writeAccess: Scalars['Boolean'];
|
|
10
|
-
__typename: 'ApiKey';
|
|
11
|
-
}
|
|
12
|
-
export interface ApiKeyWithValue {
|
|
13
|
-
_id: Scalars['String'];
|
|
14
|
-
keyName: Scalars['String'];
|
|
15
|
-
readAccess: Scalars['Boolean'];
|
|
16
|
-
writeAccess: Scalars['Boolean'];
|
|
17
|
-
actualKey: Scalars['String'];
|
|
18
|
-
__typename: 'ApiKeyWithValue';
|
|
19
|
-
}
|
|
20
|
-
export interface UserToken {
|
|
21
|
-
actualToken: Scalars['String'];
|
|
22
|
-
refreshToken: Scalars['String'];
|
|
23
|
-
__typename: 'UserToken';
|
|
24
|
-
}
|
|
25
|
-
export interface Domain {
|
|
26
|
-
_id: Scalars['String'];
|
|
27
|
-
name: Scalars['String'];
|
|
28
|
-
description: (Scalars['String'] | null);
|
|
29
|
-
__typename: 'Domain';
|
|
30
|
-
}
|
|
31
7
|
export interface User {
|
|
32
8
|
_id: Scalars['String'];
|
|
33
9
|
loginEmail: Scalars['String'];
|
|
34
10
|
suspended: Scalars['Boolean'];
|
|
35
|
-
domains: (
|
|
11
|
+
domains: (DomainCredential[] | null);
|
|
12
|
+
loginMethods: (Scalars['String'][] | null);
|
|
36
13
|
__typename: 'User';
|
|
37
14
|
}
|
|
38
15
|
export interface UserWithToken {
|
|
39
16
|
_id: Scalars['String'];
|
|
40
17
|
loginEmail: Scalars['String'];
|
|
41
18
|
suspended: Scalars['Boolean'];
|
|
42
|
-
domains: (
|
|
19
|
+
domains: (DomainCredential[] | null);
|
|
20
|
+
loginMethods: (Scalars['String'][] | null);
|
|
43
21
|
token: UserToken;
|
|
44
22
|
__typename: 'UserWithToken';
|
|
45
23
|
}
|
|
24
|
+
export interface BaseTenant {
|
|
25
|
+
_id: Scalars['String'];
|
|
26
|
+
name: Scalars['String'];
|
|
27
|
+
tenant_uri: Scalars['String'];
|
|
28
|
+
domain: Domain;
|
|
29
|
+
__typename: 'BaseTenant';
|
|
30
|
+
}
|
|
46
31
|
export interface Tenant {
|
|
47
32
|
_id: Scalars['String'];
|
|
48
33
|
name: Scalars['String'];
|
|
49
|
-
email: Scalars['String'];
|
|
50
34
|
tenant_uri: Scalars['String'];
|
|
35
|
+
domain: Domain;
|
|
36
|
+
email: Scalars['String'];
|
|
37
|
+
owner: (User | null);
|
|
51
38
|
__typename: 'Tenant';
|
|
52
39
|
}
|
|
53
|
-
export interface
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
40
|
+
export interface Domain {
|
|
41
|
+
_id: Scalars['String'];
|
|
42
|
+
name: Scalars['String'];
|
|
43
|
+
description: (Scalars['String'] | null);
|
|
44
|
+
__typename: 'Domain';
|
|
57
45
|
}
|
|
58
|
-
export interface
|
|
46
|
+
export interface DomainCredential {
|
|
59
47
|
_id: Scalars['String'];
|
|
60
48
|
name: Scalars['String'];
|
|
49
|
+
description: (Scalars['String'] | null);
|
|
50
|
+
tenant: (BaseTenant | null);
|
|
51
|
+
__typename: 'DomainCredential';
|
|
52
|
+
}
|
|
53
|
+
export interface UserToken {
|
|
54
|
+
actualToken: Scalars['String'];
|
|
55
|
+
refreshToken: Scalars['String'];
|
|
56
|
+
__typename: 'UserToken';
|
|
57
|
+
}
|
|
58
|
+
export interface DecodedToken {
|
|
59
|
+
tokenId: Scalars['String'];
|
|
60
|
+
systemId: Scalars['String'];
|
|
61
|
+
userId: Scalars['String'];
|
|
62
|
+
email: Scalars['String'];
|
|
63
|
+
refreshTokenId: Scalars['String'];
|
|
64
|
+
domains: DomainCredential[];
|
|
65
|
+
__typename: 'DecodedToken';
|
|
66
|
+
}
|
|
67
|
+
export interface DecodedRefreshToken {
|
|
68
|
+
userId: Scalars['String'];
|
|
61
69
|
email: Scalars['String'];
|
|
70
|
+
originalTokenId: Scalars['String'];
|
|
71
|
+
__typename: 'DecodedRefreshToken';
|
|
72
|
+
}
|
|
73
|
+
export interface TenantWithUserLogin {
|
|
74
|
+
_id: Scalars['String'];
|
|
75
|
+
name: Scalars['String'];
|
|
62
76
|
tenant_uri: Scalars['String'];
|
|
77
|
+
domain: Domain;
|
|
78
|
+
email: Scalars['String'];
|
|
79
|
+
owner: (User | null);
|
|
63
80
|
user: UserWithToken;
|
|
64
81
|
__typename: 'TenantWithUserLogin';
|
|
65
82
|
}
|
|
66
|
-
export interface
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
83
|
+
export interface UriAvailableType {
|
|
84
|
+
available: Scalars['Boolean'];
|
|
85
|
+
valid: Scalars['Boolean'];
|
|
86
|
+
__typename: 'UriAvailableType';
|
|
87
|
+
}
|
|
88
|
+
export interface Agreement {
|
|
89
|
+
_id: Scalars['String'];
|
|
90
|
+
kind: Scalars['String'];
|
|
91
|
+
domain: Scalars['String'];
|
|
92
|
+
isActiveAgreement: Scalars['Boolean'];
|
|
93
|
+
version: Scalars['String'];
|
|
94
|
+
publishedDate: (Scalars['DateTime'] | null);
|
|
95
|
+
unPublishedDate: (Scalars['DateTime'] | null);
|
|
96
|
+
locked: Scalars['Boolean'];
|
|
97
|
+
name: Scalars['String'];
|
|
98
|
+
description: (Scalars['String'] | null);
|
|
99
|
+
content: (Scalars['String'] | null);
|
|
100
|
+
createdDate: Scalars['DateTime'];
|
|
101
|
+
updatedDate: Scalars['DateTime'];
|
|
102
|
+
__typename: 'Agreement';
|
|
103
|
+
}
|
|
104
|
+
export interface BillEntity {
|
|
105
|
+
name: Scalars['String'];
|
|
106
|
+
taxId: (Scalars['String'] | null);
|
|
107
|
+
line1: (Scalars['String'] | null);
|
|
108
|
+
line2: (Scalars['String'] | null);
|
|
109
|
+
line3: (Scalars['String'] | null);
|
|
110
|
+
city: (Scalars['String'] | null);
|
|
111
|
+
state: (Scalars['String'] | null);
|
|
112
|
+
country: (Scalars['String'] | null);
|
|
113
|
+
zip: (Scalars['String'] | null);
|
|
114
|
+
__typename: 'BillEntity';
|
|
115
|
+
}
|
|
116
|
+
export interface InvoiceItem {
|
|
117
|
+
_id: Scalars['String'];
|
|
118
|
+
unitPrice: Scalars['Float'];
|
|
119
|
+
unitTax: Scalars['Float'];
|
|
120
|
+
quantity: Scalars['Float'];
|
|
121
|
+
unit: Scalars['String'];
|
|
122
|
+
itemPrice: Scalars['Float'];
|
|
123
|
+
itemTotal: Scalars['Float'];
|
|
124
|
+
__typename: 'InvoiceItem';
|
|
125
|
+
}
|
|
126
|
+
export interface Payment {
|
|
127
|
+
_id: Scalars['String'];
|
|
128
|
+
amount: Scalars['Float'];
|
|
129
|
+
currency: Scalars['String'];
|
|
130
|
+
datePaid: Scalars['DateTime'];
|
|
131
|
+
paymentComment: (Scalars['String'] | null);
|
|
132
|
+
transactionId: (Scalars['String'] | null);
|
|
133
|
+
processorType: (Scalars['String'] | null);
|
|
134
|
+
processorReference: (Scalars['String'] | null);
|
|
135
|
+
paidItemReference: (Scalars['String'] | null);
|
|
136
|
+
payeeReference: (Scalars['String'] | null);
|
|
137
|
+
payorReference: (Scalars['String'] | null);
|
|
138
|
+
paymentMethodType: (Scalars['String'] | null);
|
|
139
|
+
paymentMethodReference: (Scalars['String'] | null);
|
|
140
|
+
__typename: 'Payment';
|
|
141
|
+
}
|
|
142
|
+
export interface PlaFeature {
|
|
143
|
+
_id: Scalars['String'];
|
|
144
|
+
title: Scalars['String'];
|
|
145
|
+
description: (Scalars['String'] | null);
|
|
146
|
+
quantity: (Scalars['Float'] | null);
|
|
147
|
+
quantityUnit: (Scalars['String'] | null);
|
|
148
|
+
__typename: 'PlaFeature';
|
|
149
|
+
}
|
|
150
|
+
export interface Plan {
|
|
151
|
+
_id: Scalars['String'];
|
|
152
|
+
name: (Scalars['String'] | null);
|
|
153
|
+
description: (Scalars['String'] | null);
|
|
154
|
+
prices: PlanPrice[];
|
|
155
|
+
features: PlaFeature[];
|
|
156
|
+
isPublic: Scalars['Boolean'];
|
|
157
|
+
active: Scalars['Boolean'];
|
|
158
|
+
startOfferingDate: (Scalars['DateTime'] | null);
|
|
159
|
+
endOfferingDate: (Scalars['DateTime'] | null);
|
|
160
|
+
termsAndConditions: (Scalars['String'] | null);
|
|
161
|
+
__typename: 'Plan';
|
|
162
|
+
}
|
|
163
|
+
export interface PlanPrice {
|
|
164
|
+
_id: Scalars['String'];
|
|
165
|
+
currency: Scalars['String'];
|
|
166
|
+
price: Scalars['Float'];
|
|
167
|
+
taxMode: Scalars['String'];
|
|
168
|
+
period: Scalars['String'];
|
|
169
|
+
customDays: (Scalars['Float'] | null);
|
|
170
|
+
plan: (Plan | null);
|
|
171
|
+
__typename: 'PlanPrice';
|
|
172
|
+
}
|
|
173
|
+
export interface Invoice {
|
|
174
|
+
_id: Scalars['String'];
|
|
175
|
+
invoiceDate: Scalars['DateTime'];
|
|
176
|
+
billedEntity: BillEntity;
|
|
177
|
+
dueDate: Scalars['DateTime'];
|
|
178
|
+
billAmount: Scalars['Float'];
|
|
179
|
+
tax: Scalars['Float'];
|
|
180
|
+
total: Scalars['Float'];
|
|
181
|
+
currency: Scalars['String'];
|
|
182
|
+
items: (InvoiceItem[] | null);
|
|
183
|
+
payment: (Payment | null);
|
|
184
|
+
__typename: 'Invoice';
|
|
185
|
+
}
|
|
186
|
+
export interface SubscriptionInvoice {
|
|
187
|
+
_id: Scalars['String'];
|
|
188
|
+
invoice: Invoice;
|
|
189
|
+
billedPlan: PlanPrice;
|
|
190
|
+
subscriber: PlanSubscription;
|
|
191
|
+
__typename: 'SubscriptionInvoice';
|
|
192
|
+
}
|
|
193
|
+
export interface PlanSubscription {
|
|
194
|
+
_id: Scalars['String'];
|
|
195
|
+
currentPlan: PlanPrice;
|
|
196
|
+
billPrice: Scalars['Float'];
|
|
197
|
+
billCurrency: Scalars['String'];
|
|
198
|
+
billPriceComment: (Scalars['String'] | null);
|
|
199
|
+
lastBillDate: Scalars['DateTime'];
|
|
200
|
+
endAccessDate: Scalars['DateTime'];
|
|
201
|
+
autoRenew: Scalars['Boolean'];
|
|
202
|
+
autoRenewPlan: (PlanPrice | null);
|
|
203
|
+
autoRenewDate: Scalars['DateTime'];
|
|
204
|
+
payments: SubscriptionPayment[];
|
|
205
|
+
invoices: SubscriptionInvoice[];
|
|
206
|
+
__typename: 'PlanSubscription';
|
|
207
|
+
}
|
|
208
|
+
export interface SubscriptionPayment {
|
|
209
|
+
_id: Scalars['String'];
|
|
210
|
+
payment: Payment;
|
|
211
|
+
subscriber: PlanSubscription;
|
|
212
|
+
__typename: 'SubscriptionPayment';
|
|
213
|
+
}
|
|
214
|
+
export interface AWSS3File {
|
|
215
|
+
_id: Scalars['String'];
|
|
216
|
+
name: (Scalars['String'] | null);
|
|
217
|
+
contentType: (Scalars['String'] | null);
|
|
218
|
+
size: (Scalars['Float'] | null);
|
|
219
|
+
useType: (Scalars['String'] | null);
|
|
220
|
+
url: Scalars['String'];
|
|
221
|
+
key: Scalars['String'];
|
|
222
|
+
pendingDelete: Scalars['Boolean'];
|
|
223
|
+
__typename: 'AWSS3File';
|
|
224
|
+
}
|
|
225
|
+
export interface MagicLink {
|
|
226
|
+
_id: Scalars['String'];
|
|
227
|
+
code: Scalars['String'];
|
|
228
|
+
type: Scalars['String'];
|
|
229
|
+
url: Scalars['String'];
|
|
230
|
+
expires: (Scalars['DateTime'] | null);
|
|
231
|
+
data: (Scalars['String'] | null);
|
|
232
|
+
isExpired: Scalars['Boolean'];
|
|
233
|
+
__typename: 'MagicLink';
|
|
234
|
+
}
|
|
235
|
+
export interface VerificationCode {
|
|
236
|
+
_id: Scalars['String'];
|
|
237
|
+
type: (Scalars['String'] | null);
|
|
238
|
+
recipient: (Scalars['String'] | null);
|
|
239
|
+
expires: (Scalars['DateTime'] | null);
|
|
240
|
+
data: (Scalars['String'] | null);
|
|
241
|
+
isExpired: Scalars['Boolean'];
|
|
242
|
+
createdDate: Scalars['DateTime'];
|
|
243
|
+
__typename: 'VerificationCode';
|
|
244
|
+
}
|
|
245
|
+
export interface ErrorInfo {
|
|
246
|
+
errorCode: Scalars['Float'];
|
|
247
|
+
errorMessage: Scalars['String'];
|
|
248
|
+
__typename: 'ErrorInfo';
|
|
249
|
+
}
|
|
250
|
+
export interface HttpRequestField {
|
|
251
|
+
key: Scalars['String'];
|
|
252
|
+
value: Scalars['String'];
|
|
253
|
+
__typename: 'HttpRequestField';
|
|
254
|
+
}
|
|
255
|
+
export interface AWSS3UploadUrl {
|
|
256
|
+
uploadUrl: Scalars['String'];
|
|
257
|
+
fields: HttpRequestField[];
|
|
258
|
+
downloadUrl: Scalars['String'];
|
|
259
|
+
bucket: Scalars['String'];
|
|
260
|
+
key: Scalars['String'];
|
|
261
|
+
__typename: 'AWSS3UploadUrl';
|
|
262
|
+
}
|
|
263
|
+
export interface AWSS3CallResult {
|
|
264
|
+
httpStatus: Scalars['Float'];
|
|
265
|
+
result: Scalars['String'];
|
|
266
|
+
message: Scalars['String'];
|
|
267
|
+
errors: (Scalars['String'][] | null);
|
|
268
|
+
__typename: 'AWSS3CallResult';
|
|
269
|
+
}
|
|
270
|
+
export interface CodeVerificationResponse {
|
|
271
|
+
result: Scalars['String'];
|
|
272
|
+
code: (VerificationCode | null);
|
|
273
|
+
error: (ErrorInfo | null);
|
|
274
|
+
__typename: 'CodeVerificationResponse';
|
|
275
|
+
}
|
|
276
|
+
export interface BrandStats {
|
|
277
|
+
campaigns: (Scalars['Float'] | null);
|
|
278
|
+
sponsorships: (Scalars['Float'] | null);
|
|
279
|
+
sports: (Scalars['Float'] | null);
|
|
280
|
+
athletes: (Scalars['Float'] | null);
|
|
281
|
+
__typename: 'BrandStats';
|
|
282
|
+
}
|
|
283
|
+
export interface BrandTranslation {
|
|
284
|
+
_id: Scalars['String'];
|
|
285
|
+
brandId: Scalars['String'];
|
|
286
|
+
language: Scalars['String'];
|
|
287
|
+
name: (Scalars['String'] | null);
|
|
288
|
+
slogan: (Scalars['String'] | null);
|
|
289
|
+
description: (Scalars['String'] | null);
|
|
290
|
+
logo: (AWSS3File | null);
|
|
291
|
+
banner: (AWSS3File | null);
|
|
292
|
+
__typename: 'BrandTranslation';
|
|
73
293
|
}
|
|
74
294
|
export interface Brand {
|
|
75
295
|
_id: Scalars['String'];
|
|
76
296
|
name: Scalars['String'];
|
|
297
|
+
slogan: (Scalars['String'] | null);
|
|
298
|
+
website: (Scalars['String'] | null);
|
|
77
299
|
description: (Scalars['String'] | null);
|
|
78
300
|
approved: Scalars['Boolean'];
|
|
79
301
|
published: Scalars['Boolean'];
|
|
302
|
+
logo: (AWSS3File | null);
|
|
303
|
+
banner: (AWSS3File | null);
|
|
304
|
+
stats: (BrandStats | null);
|
|
305
|
+
operatorIds: (Scalars['String'][] | null);
|
|
306
|
+
translations: (BrandTranslation[] | null);
|
|
80
307
|
__typename: 'Brand';
|
|
81
308
|
}
|
|
82
|
-
export interface
|
|
309
|
+
export interface City {
|
|
83
310
|
_id: Scalars['String'];
|
|
84
311
|
name: Scalars['String'];
|
|
85
|
-
|
|
312
|
+
localizedName: Scalars['String'];
|
|
313
|
+
state: (State | null);
|
|
314
|
+
latitude: (Scalars['Float'] | null);
|
|
315
|
+
longitude: (Scalars['Float'] | null);
|
|
316
|
+
timezone: (Scalars['String'] | null);
|
|
317
|
+
__typename: 'City';
|
|
318
|
+
}
|
|
319
|
+
export interface State {
|
|
320
|
+
_id: Scalars['String'];
|
|
321
|
+
name: Scalars['String'];
|
|
322
|
+
country: (Country | null);
|
|
323
|
+
cities: (City[] | null);
|
|
324
|
+
__typename: 'State';
|
|
325
|
+
}
|
|
326
|
+
export interface Country {
|
|
327
|
+
_id: Scalars['String'];
|
|
328
|
+
name: Scalars['String'];
|
|
329
|
+
states: (State[] | null);
|
|
330
|
+
__typename: 'Country';
|
|
331
|
+
}
|
|
332
|
+
export interface AgeQualification {
|
|
333
|
+
type: Scalars['String'];
|
|
334
|
+
value: Scalars['Float'];
|
|
335
|
+
operator: Scalars['String'];
|
|
336
|
+
__typename: 'AgeQualification';
|
|
337
|
+
}
|
|
338
|
+
export interface GenderQualification {
|
|
339
|
+
type: Scalars['String'];
|
|
340
|
+
operator: Scalars['String'];
|
|
341
|
+
values: Scalars['String'][];
|
|
342
|
+
__typename: 'GenderQualification';
|
|
343
|
+
}
|
|
344
|
+
export interface ScoreQualification {
|
|
345
|
+
type: Scalars['String'];
|
|
346
|
+
scoreType: Scalars['String'];
|
|
347
|
+
operator: Scalars['String'];
|
|
348
|
+
value: Scalars['Float'];
|
|
349
|
+
__typename: 'ScoreQualification';
|
|
86
350
|
}
|
|
351
|
+
export interface LocationQualification {
|
|
352
|
+
type: Scalars['String'];
|
|
353
|
+
operator: Scalars['String'];
|
|
354
|
+
countries: Country[];
|
|
355
|
+
states: State[];
|
|
356
|
+
cities: City[];
|
|
357
|
+
__typename: 'LocationQualification';
|
|
358
|
+
}
|
|
359
|
+
export interface NationalityQualification {
|
|
360
|
+
type: Scalars['String'];
|
|
361
|
+
operator: Scalars['String'];
|
|
362
|
+
countries: Country[];
|
|
363
|
+
__typename: 'NationalityQualification';
|
|
364
|
+
}
|
|
365
|
+
export interface DistanceQualification {
|
|
366
|
+
type: Scalars['String'];
|
|
367
|
+
maxDistance: Scalars['Float'];
|
|
368
|
+
latitude: (Scalars['Float'] | null);
|
|
369
|
+
longitude: (Scalars['Float'] | null);
|
|
370
|
+
cityId: (Scalars['String'] | null);
|
|
371
|
+
__typename: 'DistanceQualification';
|
|
372
|
+
}
|
|
373
|
+
export interface SportsQualification {
|
|
374
|
+
type: Scalars['String'];
|
|
375
|
+
sports: Scalars['String'][];
|
|
376
|
+
operator: Scalars['String'];
|
|
377
|
+
__typename: 'SportsQualification';
|
|
378
|
+
}
|
|
379
|
+
export interface SportsLevelQualification {
|
|
380
|
+
type: Scalars['String'];
|
|
381
|
+
operator: Scalars['String'];
|
|
382
|
+
level: Scalars['String'];
|
|
383
|
+
__typename: 'SportsLevelQualification';
|
|
384
|
+
}
|
|
385
|
+
export interface AthleteCriteria {
|
|
386
|
+
_id: Scalars['String'];
|
|
387
|
+
label: (Scalars['String'] | null);
|
|
388
|
+
qualifications: (QualificationTypeUnion[] | null);
|
|
389
|
+
__typename: 'AthleteCriteria';
|
|
390
|
+
}
|
|
391
|
+
export type QualificationTypeUnion = (AgeQualification | GenderQualification | ScoreQualification | LocationQualification | NationalityQualification | DistanceQualification | SportsQualification | SportsLevelQualification) & {
|
|
392
|
+
__isUnion?: true;
|
|
393
|
+
};
|
|
87
394
|
export interface Industry {
|
|
88
395
|
_id: Scalars['String'];
|
|
89
396
|
name: Scalars['String'];
|
|
90
397
|
__typename: 'Industry';
|
|
91
398
|
}
|
|
92
|
-
export interface
|
|
399
|
+
export interface SponsorStats {
|
|
400
|
+
sponsoredAthletes: Scalars['Float'];
|
|
401
|
+
totalBrands: Scalars['Float'];
|
|
402
|
+
activeCampaigns: Scalars['Float'];
|
|
403
|
+
activeSponsorships: Scalars['Float'];
|
|
404
|
+
__typename: 'SponsorStats';
|
|
405
|
+
}
|
|
406
|
+
export interface SponsorBrand {
|
|
407
|
+
_id: Scalars['String'];
|
|
408
|
+
name: Scalars['String'];
|
|
409
|
+
slogan: (Scalars['String'] | null);
|
|
410
|
+
website: (Scalars['String'] | null);
|
|
411
|
+
description: (Scalars['String'] | null);
|
|
412
|
+
approved: Scalars['Boolean'];
|
|
413
|
+
published: Scalars['Boolean'];
|
|
414
|
+
logo: (AWSS3File | null);
|
|
415
|
+
banner: (AWSS3File | null);
|
|
416
|
+
stats: (BrandStats | null);
|
|
417
|
+
operatorIds: (Scalars['String'][] | null);
|
|
418
|
+
translations: (BrandTranslation[] | null);
|
|
419
|
+
sponsorBrandId: Scalars['String'];
|
|
420
|
+
authorizedUse: Scalars['Boolean'];
|
|
421
|
+
isAuthorizer: Scalars['Boolean'];
|
|
422
|
+
__typename: 'SponsorBrand';
|
|
423
|
+
}
|
|
424
|
+
export interface Sponsor {
|
|
425
|
+
_id: Scalars['String'];
|
|
426
|
+
name: Scalars['String'];
|
|
427
|
+
description: Scalars['String'];
|
|
93
428
|
tenant: Tenant;
|
|
94
|
-
|
|
95
|
-
|
|
429
|
+
industry: (Industry | null);
|
|
430
|
+
stats: (SponsorStats | null);
|
|
431
|
+
brands: (SponsorBrand[] | null);
|
|
432
|
+
sponsorships: (Sponsorship[] | null);
|
|
433
|
+
approved: Scalars['Boolean'];
|
|
434
|
+
__typename: 'Sponsor';
|
|
435
|
+
}
|
|
436
|
+
export interface SponsorshipItem {
|
|
437
|
+
_id: Scalars['String'];
|
|
438
|
+
quantity: Scalars['Float'];
|
|
439
|
+
title: Scalars['String'];
|
|
440
|
+
value: Scalars['Float'];
|
|
441
|
+
type: Scalars['String'];
|
|
442
|
+
__typename: 'SponsorshipItem';
|
|
443
|
+
}
|
|
444
|
+
export interface SponsorshipCommitment {
|
|
445
|
+
_id: Scalars['String'];
|
|
446
|
+
title: Scalars['String'];
|
|
447
|
+
details: (Scalars['String'] | null);
|
|
448
|
+
hashTags: Scalars['String'];
|
|
449
|
+
media: Scalars['String'];
|
|
450
|
+
actionType: Scalars['String'];
|
|
451
|
+
frequency: (Scalars['Float'] | null);
|
|
452
|
+
periodicity: Scalars['String'];
|
|
453
|
+
autoMeasurable: Scalars['Boolean'];
|
|
454
|
+
__typename: 'SponsorshipCommitment';
|
|
455
|
+
}
|
|
456
|
+
export interface Duration {
|
|
457
|
+
length: Scalars['Float'];
|
|
458
|
+
unit: Scalars['String'];
|
|
459
|
+
__typename: 'Duration';
|
|
460
|
+
}
|
|
461
|
+
export interface SponsorshipStats {
|
|
462
|
+
totalSponsorships: (Scalars['Float'] | null);
|
|
463
|
+
totalApplications: (Scalars['Float'] | null);
|
|
464
|
+
newApplications: (Scalars['Float'] | null);
|
|
465
|
+
discardedApplications: (Scalars['Float'] | null);
|
|
466
|
+
selectedApplications: (Scalars['Float'] | null);
|
|
467
|
+
approvedApplications: (Scalars['Float'] | null);
|
|
468
|
+
grantedSponsorships: (Scalars['Float'] | null);
|
|
469
|
+
remainingSponsorships: (Scalars['Float'] | null);
|
|
470
|
+
__typename: 'SponsorshipStats';
|
|
471
|
+
}
|
|
472
|
+
export interface SponsorshipTranslation {
|
|
473
|
+
_id: Scalars['String'];
|
|
474
|
+
sponsorshipId: Scalars['String'];
|
|
475
|
+
language: Scalars['String'];
|
|
476
|
+
title: (Scalars['String'] | null);
|
|
477
|
+
description: (Scalars['String'] | null);
|
|
478
|
+
terms: (Scalars['String'] | null);
|
|
479
|
+
banner: (AWSS3File | null);
|
|
480
|
+
__typename: 'SponsorshipTranslation';
|
|
481
|
+
}
|
|
482
|
+
export interface Sponsorship {
|
|
483
|
+
_id: Scalars['String'];
|
|
484
|
+
title: Scalars['String'];
|
|
485
|
+
description: (Scalars['String'] | null);
|
|
486
|
+
cashValue: Scalars['Float'];
|
|
487
|
+
otherValue: Scalars['Float'];
|
|
488
|
+
brand: (Brand | null);
|
|
489
|
+
banner: (AWSS3File | null);
|
|
490
|
+
criteria: (AthleteCriteria | null);
|
|
491
|
+
deadline: (Scalars['DateTime'] | null);
|
|
492
|
+
startDate: (Scalars['DateTime'] | null);
|
|
493
|
+
duration: Duration;
|
|
494
|
+
sponsor: (Sponsor | null);
|
|
495
|
+
sponsorshipItems: (SponsorshipItem[] | null);
|
|
496
|
+
commitments: (SponsorshipCommitment[] | null);
|
|
497
|
+
terms: (Scalars['String'] | null);
|
|
498
|
+
stats: (SponsorshipStats | null);
|
|
499
|
+
isPrivate: Scalars['Boolean'];
|
|
500
|
+
approved: Scalars['Boolean'];
|
|
501
|
+
published: Scalars['Boolean'];
|
|
502
|
+
translations: (SponsorshipTranslation[] | null);
|
|
503
|
+
__typename: 'Sponsorship';
|
|
504
|
+
}
|
|
505
|
+
export interface FollowStats {
|
|
506
|
+
followers: Scalars['Float'];
|
|
507
|
+
followed: Scalars['Float'];
|
|
508
|
+
raves: Scalars['Float'];
|
|
509
|
+
favorites: Scalars['Float'];
|
|
510
|
+
__typename: 'FollowStats';
|
|
511
|
+
}
|
|
512
|
+
export interface Sport {
|
|
513
|
+
_id: Scalars['String'];
|
|
514
|
+
name: Scalars['String'];
|
|
515
|
+
__typename: 'Sport';
|
|
516
|
+
}
|
|
517
|
+
export interface VtxScores {
|
|
518
|
+
vtxScore: Scalars['Float'];
|
|
519
|
+
socialScore: Scalars['Float'];
|
|
520
|
+
trainingScore: Scalars['Float'];
|
|
521
|
+
competitionScore: Scalars['Float'];
|
|
522
|
+
__typename: 'VtxScores';
|
|
523
|
+
}
|
|
524
|
+
export interface SportLevelTranslation {
|
|
525
|
+
_id: Scalars['String'];
|
|
526
|
+
language: Scalars['String'];
|
|
527
|
+
label: Scalars['String'];
|
|
528
|
+
__typename: 'SportLevelTranslation';
|
|
529
|
+
}
|
|
530
|
+
export interface SportLevel {
|
|
531
|
+
_id: Scalars['String'];
|
|
532
|
+
label: Scalars['String'];
|
|
533
|
+
index: Scalars['Float'];
|
|
534
|
+
translations: (SportLevelTranslation[] | null);
|
|
535
|
+
__typename: 'SportLevel';
|
|
536
|
+
}
|
|
537
|
+
export interface Ranking {
|
|
538
|
+
scope: Scalars['String'];
|
|
539
|
+
scopeId: Scalars['String'];
|
|
540
|
+
scopeName: Scalars['String'];
|
|
541
|
+
position: Scalars['Float'];
|
|
542
|
+
total: Scalars['Float'];
|
|
543
|
+
__typename: 'Ranking';
|
|
544
|
+
}
|
|
545
|
+
export interface AthleteRankings {
|
|
546
|
+
worldRanking: (Ranking | null);
|
|
547
|
+
countryRanking: (Ranking | null);
|
|
548
|
+
stateRanking: (Ranking | null);
|
|
549
|
+
cityRanking: (Ranking | null);
|
|
550
|
+
__typename: 'AthleteRankings';
|
|
551
|
+
}
|
|
552
|
+
export interface Team {
|
|
553
|
+
_id: Scalars['String'];
|
|
554
|
+
name: Scalars['String'];
|
|
555
|
+
description: (Scalars['String'] | null);
|
|
556
|
+
sports: (Sport[] | null);
|
|
557
|
+
approved: (Scalars['Boolean'] | null);
|
|
558
|
+
logo: (AWSS3File | null);
|
|
559
|
+
banner: (AWSS3File | null);
|
|
560
|
+
__typename: 'Team';
|
|
561
|
+
}
|
|
562
|
+
export interface SportsEvent {
|
|
563
|
+
_id: Scalars['String'];
|
|
564
|
+
name: Scalars['String'];
|
|
565
|
+
eventWebSite: (Scalars['String'] | null);
|
|
566
|
+
startDate: Scalars['DateTime'];
|
|
567
|
+
endDate: (Scalars['DateTime'] | null);
|
|
568
|
+
verified: Scalars['Boolean'];
|
|
569
|
+
banner: (AWSS3File | null);
|
|
570
|
+
__typename: 'SportsEvent';
|
|
571
|
+
}
|
|
572
|
+
export interface AthleteCompetitionResult {
|
|
573
|
+
_id: Scalars['String'];
|
|
574
|
+
resultType: Scalars['String'];
|
|
575
|
+
position: (Scalars['Float'] | null);
|
|
576
|
+
score: (Scalars['String'] | null);
|
|
577
|
+
finishTimeMS: (Scalars['Float'] | null);
|
|
578
|
+
resultWebLink: (Scalars['String'] | null);
|
|
579
|
+
__typename: 'AthleteCompetitionResult';
|
|
580
|
+
}
|
|
581
|
+
export interface BudgetItem {
|
|
582
|
+
_id: Scalars['String'];
|
|
583
|
+
quantity: Scalars['Float'];
|
|
584
|
+
concept: Scalars['String'];
|
|
585
|
+
itemCost: Scalars['Float'];
|
|
586
|
+
itemTotal: Scalars['Float'];
|
|
587
|
+
__typename: 'BudgetItem';
|
|
588
|
+
}
|
|
589
|
+
export interface Budget {
|
|
590
|
+
_id: Scalars['String'];
|
|
591
|
+
totalRequired: Scalars['Float'];
|
|
592
|
+
initialFunds: Scalars['Float'];
|
|
593
|
+
totalRaised: Scalars['Float'];
|
|
594
|
+
items: (BudgetItem[] | null);
|
|
595
|
+
__typename: 'Budget';
|
|
596
|
+
}
|
|
597
|
+
export interface AthleteCompetition {
|
|
598
|
+
_id: Scalars['String'];
|
|
599
|
+
event: SportsEvent;
|
|
600
|
+
participationDate: (Scalars['DateTime'] | null);
|
|
601
|
+
competitionNumber: (Scalars['String'] | null);
|
|
602
|
+
result: (AthleteCompetitionResult | null);
|
|
603
|
+
fundRaisingCampaignId: (Scalars['String'] | null);
|
|
604
|
+
budget: (Budget | null);
|
|
605
|
+
__typename: 'AthleteCompetition';
|
|
606
|
+
}
|
|
607
|
+
export interface WorldLocation {
|
|
608
|
+
_id: Scalars['String'];
|
|
609
|
+
userProvidedLatitude: (Scalars['Float'] | null);
|
|
610
|
+
userProvidedLongitude: (Scalars['Float'] | null);
|
|
611
|
+
cityNameGeocode: (Scalars['String'] | null);
|
|
612
|
+
stateNameGeocode: (Scalars['String'] | null);
|
|
613
|
+
countryIso2CodeGeocode: (Scalars['String'] | null);
|
|
614
|
+
timeZoneGeocode: (Scalars['String'] | null);
|
|
615
|
+
latitudeGeocode: (Scalars['Float'] | null);
|
|
616
|
+
longitudeGeocode: (Scalars['Float'] | null);
|
|
617
|
+
city: (City | null);
|
|
618
|
+
__typename: 'WorldLocation';
|
|
619
|
+
}
|
|
620
|
+
export interface Athlete {
|
|
621
|
+
_id: Scalars['String'];
|
|
622
|
+
firstName: Scalars['String'];
|
|
623
|
+
lastName: Scalars['String'];
|
|
624
|
+
screenName: (Scalars['String'] | null);
|
|
625
|
+
dob: (Scalars['DateTime'] | null);
|
|
626
|
+
lgbt: (Scalars['Boolean'] | null);
|
|
627
|
+
competitionGender: (Scalars['String'] | null);
|
|
628
|
+
country: (Country | null);
|
|
629
|
+
location: (WorldLocation | null);
|
|
630
|
+
trainer: (Scalars['String'] | null);
|
|
631
|
+
trainerUrl: (Scalars['String'] | null);
|
|
632
|
+
followStats: (FollowStats | null);
|
|
633
|
+
mainSport: Sport;
|
|
634
|
+
mainSportLevel: SportLevel;
|
|
635
|
+
scores: VtxScores;
|
|
636
|
+
rankings: (AthleteRankings | null);
|
|
637
|
+
allSports: (Sport[] | null);
|
|
638
|
+
teams: (Team[] | null);
|
|
639
|
+
sponsorBrands: (Brand[] | null);
|
|
640
|
+
competitions: (AthleteCompetition[] | null);
|
|
641
|
+
totalUpcomingCompetitions: (Scalars['Float'] | null);
|
|
642
|
+
totalPastCompetitions: (Scalars['Float'] | null);
|
|
643
|
+
profilePicture: (AWSS3File | null);
|
|
644
|
+
cardPicture: (AWSS3File | null);
|
|
645
|
+
aboutMe: (Scalars['String'] | null);
|
|
646
|
+
__typename: 'Athlete';
|
|
647
|
+
}
|
|
648
|
+
export interface SponsorAthleteInvitation {
|
|
649
|
+
_id: Scalars['String'];
|
|
650
|
+
name: (Scalars['String'] | null);
|
|
651
|
+
email: Scalars['String'];
|
|
652
|
+
dateSent: Scalars['DateTime'];
|
|
653
|
+
sponsor: Sponsor;
|
|
654
|
+
magicLink: MagicLink;
|
|
655
|
+
brand: (Brand | null);
|
|
656
|
+
status: Scalars['String'];
|
|
657
|
+
__typename: 'SponsorAthleteInvitation';
|
|
658
|
+
}
|
|
659
|
+
export interface StravaToken {
|
|
660
|
+
token_type: Scalars['String'];
|
|
661
|
+
expires_at: Scalars['String'];
|
|
662
|
+
refresh_token: Scalars['String'];
|
|
663
|
+
access_token: Scalars['String'];
|
|
664
|
+
__typename: 'StravaToken';
|
|
665
|
+
}
|
|
666
|
+
export interface EditValueResponse {
|
|
667
|
+
field: Scalars['String'];
|
|
668
|
+
oldValue: (Scalars['String'] | null);
|
|
669
|
+
newValue: (Scalars['String'] | null);
|
|
670
|
+
changed: Scalars['Boolean'];
|
|
671
|
+
__typename: 'EditValueResponse';
|
|
672
|
+
}
|
|
673
|
+
export interface UserImages {
|
|
674
|
+
profilePictureUrl: (Scalars['String'] | null);
|
|
675
|
+
cardPictureUrl: (Scalars['String'] | null);
|
|
676
|
+
bannerPictureUrl: (Scalars['String'] | null);
|
|
677
|
+
__typename: 'UserImages';
|
|
678
|
+
}
|
|
679
|
+
export interface FundRaisingCampaign {
|
|
680
|
+
_id: Scalars['String'];
|
|
681
|
+
title: Scalars['String'];
|
|
682
|
+
motivation: (Scalars['String'] | null);
|
|
683
|
+
website: (Scalars['String'] | null);
|
|
684
|
+
fundsRequired: Scalars['Float'];
|
|
685
|
+
initialFundsObtained: Scalars['Float'];
|
|
686
|
+
fundsObtained: Scalars['Float'];
|
|
687
|
+
location: (WorldLocation | null);
|
|
688
|
+
endingDate: Scalars['DateTime'];
|
|
689
|
+
status: Scalars['String'];
|
|
690
|
+
budget: (Budget | null);
|
|
691
|
+
competitions: (AthleteCompetition[] | null);
|
|
692
|
+
__typename: 'FundRaisingCampaign';
|
|
693
|
+
}
|
|
694
|
+
export interface Query {
|
|
695
|
+
findTenantById: Tenant;
|
|
696
|
+
findTenantByEmail: Tenant;
|
|
697
|
+
getTenants: Tenant[];
|
|
96
698
|
isTenantUriAvailable: UriAvailableType;
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
699
|
+
findUserById: User;
|
|
700
|
+
findUserByEmail: User;
|
|
701
|
+
validateUserCredentials: User;
|
|
702
|
+
getUploadUrl: AWSS3UploadUrl;
|
|
100
703
|
industries: Industry[];
|
|
101
704
|
findIndustryById: Industry;
|
|
102
705
|
brands: Brand[];
|
|
706
|
+
getBrandByName: Brand;
|
|
707
|
+
getBrandTranslation: BrandTranslation;
|
|
103
708
|
existsValidSponsorForEmail: Sponsor;
|
|
709
|
+
sponsors: Sponsor[];
|
|
710
|
+
findSponsorAthleteInvitation: SponsorAthleteInvitation;
|
|
711
|
+
getAthletes: Athlete[];
|
|
712
|
+
searchAthletes: Athlete[];
|
|
713
|
+
findAthleteById: Athlete;
|
|
714
|
+
findAthleteForUser: Athlete;
|
|
715
|
+
getRecommendedAthletes: Athlete[];
|
|
716
|
+
getSponsorAthletesForTenant: Athlete[];
|
|
717
|
+
getSports: Sport[];
|
|
718
|
+
findSportById: Sport;
|
|
719
|
+
getSportLevels: SportLevel[];
|
|
720
|
+
getPublicSponsorships: Sponsorship[];
|
|
721
|
+
getTenantSponsorships: Sponsorship[];
|
|
722
|
+
getCountries: Country[];
|
|
723
|
+
getCountryStates: State[];
|
|
724
|
+
getStateCities: City[];
|
|
725
|
+
findCitiesStartingWith: City[];
|
|
726
|
+
findCityById: City;
|
|
727
|
+
findVtxUser: User;
|
|
728
|
+
validateUserCredentialsVtx: User;
|
|
729
|
+
getUserImagesFromEmail: UserImages;
|
|
730
|
+
getStravaLoginUrl: Scalars['String'];
|
|
731
|
+
getSportsEvents: SportsEvent[];
|
|
104
732
|
__typename: 'Query';
|
|
105
733
|
}
|
|
106
734
|
export interface Mutation {
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
735
|
+
registerNewDomainTenant: Tenant;
|
|
736
|
+
registerNewDomainTenantWithLogin: TenantWithUserLogin;
|
|
737
|
+
createUserAndLogin: UserWithToken;
|
|
738
|
+
loginUserFromEmail: UserToken;
|
|
739
|
+
loginUserFromCredentials: UserWithToken;
|
|
740
|
+
registerUserToDomainFromEmail: User;
|
|
741
|
+
refreshToken: UserToken;
|
|
742
|
+
deleteUploadedUseTypeFile: AWSS3CallResult;
|
|
743
|
+
deleteUploadedBucketFile: AWSS3CallResult;
|
|
744
|
+
registerS3UploadedFile: AWSS3File;
|
|
115
745
|
createIndustry: Industry;
|
|
116
746
|
createBrand: Brand;
|
|
117
747
|
registerSponsor: Sponsor;
|
|
748
|
+
createSponsor: Sponsor;
|
|
749
|
+
sendAthleteInvitations: SponsorAthleteInvitation[];
|
|
750
|
+
registerAthlete: Athlete;
|
|
751
|
+
editProfileValue: EditValueResponse;
|
|
752
|
+
addAthleteCompetition: AthleteCompetition;
|
|
753
|
+
createSport: Sport;
|
|
754
|
+
updateSport: Sport;
|
|
755
|
+
createSportLevel: SportLevel;
|
|
756
|
+
createSponsorship: Sponsorship;
|
|
757
|
+
createCountry: Country;
|
|
758
|
+
createState: State;
|
|
759
|
+
createCity: City;
|
|
760
|
+
preRegisterAthleteUser: VerificationCode;
|
|
761
|
+
confirmAthleteUserRegistrationAndLogin: UserWithToken;
|
|
762
|
+
confirmAthleteUserRegistration: User;
|
|
763
|
+
registerAthleteUser: User;
|
|
764
|
+
registerSponsorUser: User;
|
|
765
|
+
loginUserFromCredentialsVtx: UserWithToken;
|
|
766
|
+
handleStravaCallback: StravaToken;
|
|
767
|
+
refreshStravaToken: StravaToken;
|
|
768
|
+
createSportsEvent: SportsEvent[];
|
|
118
769
|
__typename: 'Mutation';
|
|
119
770
|
}
|
|
120
|
-
export interface
|
|
771
|
+
export interface UserGenqlSelection {
|
|
121
772
|
_id?: boolean | number;
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
773
|
+
loginEmail?: boolean | number;
|
|
774
|
+
suspended?: boolean | number;
|
|
775
|
+
domains?: DomainCredentialGenqlSelection;
|
|
776
|
+
loginMethods?: boolean | number;
|
|
125
777
|
__typename?: boolean | number;
|
|
126
778
|
__scalar?: boolean | number;
|
|
127
779
|
}
|
|
128
|
-
export interface
|
|
780
|
+
export interface UserWithTokenGenqlSelection {
|
|
129
781
|
_id?: boolean | number;
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
782
|
+
loginEmail?: boolean | number;
|
|
783
|
+
suspended?: boolean | number;
|
|
784
|
+
domains?: DomainCredentialGenqlSelection;
|
|
785
|
+
loginMethods?: boolean | number;
|
|
786
|
+
token?: UserTokenGenqlSelection;
|
|
134
787
|
__typename?: boolean | number;
|
|
135
788
|
__scalar?: boolean | number;
|
|
136
789
|
}
|
|
137
|
-
export interface
|
|
138
|
-
|
|
139
|
-
|
|
790
|
+
export interface BaseTenantGenqlSelection {
|
|
791
|
+
_id?: boolean | number;
|
|
792
|
+
name?: boolean | number;
|
|
793
|
+
tenant_uri?: boolean | number;
|
|
794
|
+
domain?: DomainGenqlSelection;
|
|
795
|
+
__typename?: boolean | number;
|
|
796
|
+
__scalar?: boolean | number;
|
|
797
|
+
}
|
|
798
|
+
export interface TenantGenqlSelection {
|
|
799
|
+
_id?: boolean | number;
|
|
800
|
+
name?: boolean | number;
|
|
801
|
+
tenant_uri?: boolean | number;
|
|
802
|
+
domain?: DomainGenqlSelection;
|
|
803
|
+
email?: boolean | number;
|
|
804
|
+
owner?: UserGenqlSelection;
|
|
140
805
|
__typename?: boolean | number;
|
|
141
806
|
__scalar?: boolean | number;
|
|
142
807
|
}
|
|
@@ -147,28 +812,45 @@ export interface DomainGenqlSelection {
|
|
|
147
812
|
__typename?: boolean | number;
|
|
148
813
|
__scalar?: boolean | number;
|
|
149
814
|
}
|
|
150
|
-
export interface
|
|
815
|
+
export interface DomainCredentialGenqlSelection {
|
|
151
816
|
_id?: boolean | number;
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
817
|
+
name?: boolean | number;
|
|
818
|
+
description?: boolean | number;
|
|
819
|
+
tenant?: BaseTenantGenqlSelection;
|
|
155
820
|
__typename?: boolean | number;
|
|
156
821
|
__scalar?: boolean | number;
|
|
157
822
|
}
|
|
158
|
-
export interface
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
suspended?: boolean | number;
|
|
162
|
-
domains?: DomainGenqlSelection;
|
|
163
|
-
token?: UserTokenGenqlSelection;
|
|
823
|
+
export interface UserTokenGenqlSelection {
|
|
824
|
+
actualToken?: boolean | number;
|
|
825
|
+
refreshToken?: boolean | number;
|
|
164
826
|
__typename?: boolean | number;
|
|
165
827
|
__scalar?: boolean | number;
|
|
166
828
|
}
|
|
167
|
-
export interface
|
|
829
|
+
export interface DecodedTokenGenqlSelection {
|
|
830
|
+
tokenId?: boolean | number;
|
|
831
|
+
systemId?: boolean | number;
|
|
832
|
+
userId?: boolean | number;
|
|
833
|
+
email?: boolean | number;
|
|
834
|
+
refreshTokenId?: boolean | number;
|
|
835
|
+
domains?: DomainCredentialGenqlSelection;
|
|
836
|
+
__typename?: boolean | number;
|
|
837
|
+
__scalar?: boolean | number;
|
|
838
|
+
}
|
|
839
|
+
export interface DecodedRefreshTokenGenqlSelection {
|
|
840
|
+
userId?: boolean | number;
|
|
841
|
+
email?: boolean | number;
|
|
842
|
+
originalTokenId?: boolean | number;
|
|
843
|
+
__typename?: boolean | number;
|
|
844
|
+
__scalar?: boolean | number;
|
|
845
|
+
}
|
|
846
|
+
export interface TenantWithUserLoginGenqlSelection {
|
|
168
847
|
_id?: boolean | number;
|
|
169
848
|
name?: boolean | number;
|
|
170
|
-
email?: boolean | number;
|
|
171
849
|
tenant_uri?: boolean | number;
|
|
850
|
+
domain?: DomainGenqlSelection;
|
|
851
|
+
email?: boolean | number;
|
|
852
|
+
owner?: UserGenqlSelection;
|
|
853
|
+
user?: UserWithTokenGenqlSelection;
|
|
172
854
|
__typename?: boolean | number;
|
|
173
855
|
__scalar?: boolean | number;
|
|
174
856
|
}
|
|
@@ -178,127 +860,1002 @@ export interface UriAvailableTypeGenqlSelection {
|
|
|
178
860
|
__typename?: boolean | number;
|
|
179
861
|
__scalar?: boolean | number;
|
|
180
862
|
}
|
|
181
|
-
export interface
|
|
863
|
+
export interface AgreementGenqlSelection {
|
|
182
864
|
_id?: boolean | number;
|
|
865
|
+
kind?: boolean | number;
|
|
866
|
+
domain?: boolean | number;
|
|
867
|
+
isActiveAgreement?: boolean | number;
|
|
868
|
+
version?: boolean | number;
|
|
869
|
+
publishedDate?: boolean | number;
|
|
870
|
+
unPublishedDate?: boolean | number;
|
|
871
|
+
locked?: boolean | number;
|
|
183
872
|
name?: boolean | number;
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
873
|
+
description?: boolean | number;
|
|
874
|
+
content?: boolean | number;
|
|
875
|
+
createdDate?: boolean | number;
|
|
876
|
+
updatedDate?: boolean | number;
|
|
187
877
|
__typename?: boolean | number;
|
|
188
878
|
__scalar?: boolean | number;
|
|
189
879
|
}
|
|
190
|
-
export interface
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
880
|
+
export interface BillEntityGenqlSelection {
|
|
881
|
+
name?: boolean | number;
|
|
882
|
+
taxId?: boolean | number;
|
|
883
|
+
line1?: boolean | number;
|
|
884
|
+
line2?: boolean | number;
|
|
885
|
+
line3?: boolean | number;
|
|
886
|
+
city?: boolean | number;
|
|
887
|
+
state?: boolean | number;
|
|
888
|
+
country?: boolean | number;
|
|
889
|
+
zip?: boolean | number;
|
|
196
890
|
__typename?: boolean | number;
|
|
197
891
|
__scalar?: boolean | number;
|
|
198
892
|
}
|
|
199
|
-
export interface
|
|
893
|
+
export interface InvoiceItemGenqlSelection {
|
|
200
894
|
_id?: boolean | number;
|
|
201
|
-
|
|
895
|
+
unitPrice?: boolean | number;
|
|
896
|
+
unitTax?: boolean | number;
|
|
897
|
+
quantity?: boolean | number;
|
|
898
|
+
unit?: boolean | number;
|
|
899
|
+
itemPrice?: boolean | number;
|
|
900
|
+
itemTotal?: boolean | number;
|
|
901
|
+
__typename?: boolean | number;
|
|
902
|
+
__scalar?: boolean | number;
|
|
903
|
+
}
|
|
904
|
+
export interface PaymentGenqlSelection {
|
|
905
|
+
_id?: boolean | number;
|
|
906
|
+
amount?: boolean | number;
|
|
907
|
+
currency?: boolean | number;
|
|
908
|
+
datePaid?: boolean | number;
|
|
909
|
+
paymentComment?: boolean | number;
|
|
910
|
+
transactionId?: boolean | number;
|
|
911
|
+
processorType?: boolean | number;
|
|
912
|
+
processorReference?: boolean | number;
|
|
913
|
+
paidItemReference?: boolean | number;
|
|
914
|
+
payeeReference?: boolean | number;
|
|
915
|
+
payorReference?: boolean | number;
|
|
916
|
+
paymentMethodType?: boolean | number;
|
|
917
|
+
paymentMethodReference?: boolean | number;
|
|
918
|
+
__typename?: boolean | number;
|
|
919
|
+
__scalar?: boolean | number;
|
|
920
|
+
}
|
|
921
|
+
export interface PlaFeatureGenqlSelection {
|
|
922
|
+
_id?: boolean | number;
|
|
923
|
+
title?: boolean | number;
|
|
202
924
|
description?: boolean | number;
|
|
203
|
-
|
|
204
|
-
|
|
925
|
+
quantity?: boolean | number;
|
|
926
|
+
quantityUnit?: boolean | number;
|
|
205
927
|
__typename?: boolean | number;
|
|
206
928
|
__scalar?: boolean | number;
|
|
207
929
|
}
|
|
208
|
-
export interface
|
|
930
|
+
export interface PlanGenqlSelection {
|
|
209
931
|
_id?: boolean | number;
|
|
210
932
|
name?: boolean | number;
|
|
933
|
+
description?: boolean | number;
|
|
934
|
+
prices?: PlanPriceGenqlSelection;
|
|
935
|
+
features?: PlaFeatureGenqlSelection;
|
|
936
|
+
isPublic?: boolean | number;
|
|
937
|
+
active?: boolean | number;
|
|
938
|
+
startOfferingDate?: boolean | number;
|
|
939
|
+
endOfferingDate?: boolean | number;
|
|
940
|
+
termsAndConditions?: boolean | number;
|
|
211
941
|
__typename?: boolean | number;
|
|
212
942
|
__scalar?: boolean | number;
|
|
213
943
|
}
|
|
214
|
-
export interface
|
|
944
|
+
export interface PlanPriceGenqlSelection {
|
|
215
945
|
_id?: boolean | number;
|
|
216
|
-
|
|
946
|
+
currency?: boolean | number;
|
|
947
|
+
price?: boolean | number;
|
|
948
|
+
taxMode?: boolean | number;
|
|
949
|
+
period?: boolean | number;
|
|
950
|
+
customDays?: boolean | number;
|
|
951
|
+
plan?: PlanGenqlSelection;
|
|
217
952
|
__typename?: boolean | number;
|
|
218
953
|
__scalar?: boolean | number;
|
|
219
954
|
}
|
|
220
|
-
export interface
|
|
221
|
-
|
|
955
|
+
export interface InvoiceGenqlSelection {
|
|
956
|
+
_id?: boolean | number;
|
|
957
|
+
invoiceDate?: boolean | number;
|
|
958
|
+
billedEntity?: BillEntityGenqlSelection;
|
|
959
|
+
dueDate?: boolean | number;
|
|
960
|
+
billAmount?: boolean | number;
|
|
961
|
+
tax?: boolean | number;
|
|
962
|
+
total?: boolean | number;
|
|
963
|
+
currency?: boolean | number;
|
|
964
|
+
items?: InvoiceItemGenqlSelection;
|
|
965
|
+
payment?: PaymentGenqlSelection;
|
|
966
|
+
__typename?: boolean | number;
|
|
967
|
+
__scalar?: boolean | number;
|
|
968
|
+
}
|
|
969
|
+
export interface SubscriptionInvoiceGenqlSelection {
|
|
970
|
+
_id?: boolean | number;
|
|
971
|
+
invoice?: InvoiceGenqlSelection;
|
|
972
|
+
billedPlan?: PlanPriceGenqlSelection;
|
|
973
|
+
subscriber?: PlanSubscriptionGenqlSelection;
|
|
974
|
+
__typename?: boolean | number;
|
|
975
|
+
__scalar?: boolean | number;
|
|
976
|
+
}
|
|
977
|
+
export interface PlanSubscriptionGenqlSelection {
|
|
978
|
+
_id?: boolean | number;
|
|
979
|
+
currentPlan?: PlanPriceGenqlSelection;
|
|
980
|
+
billPrice?: boolean | number;
|
|
981
|
+
billCurrency?: boolean | number;
|
|
982
|
+
billPriceComment?: boolean | number;
|
|
983
|
+
lastBillDate?: boolean | number;
|
|
984
|
+
endAccessDate?: boolean | number;
|
|
985
|
+
autoRenew?: boolean | number;
|
|
986
|
+
autoRenewPlan?: PlanPriceGenqlSelection;
|
|
987
|
+
autoRenewDate?: boolean | number;
|
|
988
|
+
payments?: SubscriptionPaymentGenqlSelection;
|
|
989
|
+
invoices?: SubscriptionInvoiceGenqlSelection;
|
|
990
|
+
__typename?: boolean | number;
|
|
991
|
+
__scalar?: boolean | number;
|
|
992
|
+
}
|
|
993
|
+
export interface SubscriptionPaymentGenqlSelection {
|
|
994
|
+
_id?: boolean | number;
|
|
995
|
+
payment?: PaymentGenqlSelection;
|
|
996
|
+
subscriber?: PlanSubscriptionGenqlSelection;
|
|
997
|
+
__typename?: boolean | number;
|
|
998
|
+
__scalar?: boolean | number;
|
|
999
|
+
}
|
|
1000
|
+
export interface AWSS3FileGenqlSelection {
|
|
1001
|
+
_id?: boolean | number;
|
|
1002
|
+
name?: boolean | number;
|
|
1003
|
+
contentType?: boolean | number;
|
|
1004
|
+
size?: boolean | number;
|
|
1005
|
+
useType?: boolean | number;
|
|
1006
|
+
url?: boolean | number;
|
|
1007
|
+
key?: boolean | number;
|
|
1008
|
+
pendingDelete?: boolean | number;
|
|
1009
|
+
__typename?: boolean | number;
|
|
1010
|
+
__scalar?: boolean | number;
|
|
1011
|
+
}
|
|
1012
|
+
export interface MagicLinkGenqlSelection {
|
|
1013
|
+
_id?: boolean | number;
|
|
1014
|
+
code?: boolean | number;
|
|
1015
|
+
type?: boolean | number;
|
|
1016
|
+
url?: boolean | number;
|
|
1017
|
+
expires?: boolean | number;
|
|
1018
|
+
data?: boolean | number;
|
|
1019
|
+
isExpired?: boolean | number;
|
|
1020
|
+
__typename?: boolean | number;
|
|
1021
|
+
__scalar?: boolean | number;
|
|
1022
|
+
}
|
|
1023
|
+
export interface VerificationCodeGenqlSelection {
|
|
1024
|
+
_id?: boolean | number;
|
|
1025
|
+
type?: boolean | number;
|
|
1026
|
+
recipient?: boolean | number;
|
|
1027
|
+
expires?: boolean | number;
|
|
1028
|
+
data?: boolean | number;
|
|
1029
|
+
isExpired?: boolean | number;
|
|
1030
|
+
createdDate?: boolean | number;
|
|
1031
|
+
__typename?: boolean | number;
|
|
1032
|
+
__scalar?: boolean | number;
|
|
1033
|
+
}
|
|
1034
|
+
export interface ErrorInfoGenqlSelection {
|
|
1035
|
+
errorCode?: boolean | number;
|
|
1036
|
+
errorMessage?: boolean | number;
|
|
1037
|
+
__typename?: boolean | number;
|
|
1038
|
+
__scalar?: boolean | number;
|
|
1039
|
+
}
|
|
1040
|
+
export interface HttpRequestFieldGenqlSelection {
|
|
1041
|
+
key?: boolean | number;
|
|
1042
|
+
value?: boolean | number;
|
|
1043
|
+
__typename?: boolean | number;
|
|
1044
|
+
__scalar?: boolean | number;
|
|
1045
|
+
}
|
|
1046
|
+
export interface AWSS3UploadUrlGenqlSelection {
|
|
1047
|
+
uploadUrl?: boolean | number;
|
|
1048
|
+
fields?: HttpRequestFieldGenqlSelection;
|
|
1049
|
+
downloadUrl?: boolean | number;
|
|
1050
|
+
bucket?: boolean | number;
|
|
1051
|
+
key?: boolean | number;
|
|
1052
|
+
__typename?: boolean | number;
|
|
1053
|
+
__scalar?: boolean | number;
|
|
1054
|
+
}
|
|
1055
|
+
export interface AWSS3CallResultGenqlSelection {
|
|
1056
|
+
httpStatus?: boolean | number;
|
|
1057
|
+
result?: boolean | number;
|
|
1058
|
+
message?: boolean | number;
|
|
1059
|
+
errors?: boolean | number;
|
|
1060
|
+
__typename?: boolean | number;
|
|
1061
|
+
__scalar?: boolean | number;
|
|
1062
|
+
}
|
|
1063
|
+
export interface CodeVerificationResponseGenqlSelection {
|
|
1064
|
+
result?: boolean | number;
|
|
1065
|
+
code?: VerificationCodeGenqlSelection;
|
|
1066
|
+
error?: ErrorInfoGenqlSelection;
|
|
1067
|
+
__typename?: boolean | number;
|
|
1068
|
+
__scalar?: boolean | number;
|
|
1069
|
+
}
|
|
1070
|
+
export interface BrandStatsGenqlSelection {
|
|
1071
|
+
campaigns?: boolean | number;
|
|
1072
|
+
sponsorships?: boolean | number;
|
|
1073
|
+
sports?: boolean | number;
|
|
1074
|
+
athletes?: boolean | number;
|
|
1075
|
+
__typename?: boolean | number;
|
|
1076
|
+
__scalar?: boolean | number;
|
|
1077
|
+
}
|
|
1078
|
+
export interface BrandTranslationGenqlSelection {
|
|
1079
|
+
_id?: boolean | number;
|
|
1080
|
+
brandId?: boolean | number;
|
|
1081
|
+
language?: boolean | number;
|
|
1082
|
+
name?: boolean | number;
|
|
1083
|
+
slogan?: boolean | number;
|
|
1084
|
+
description?: boolean | number;
|
|
1085
|
+
logo?: AWSS3FileGenqlSelection;
|
|
1086
|
+
banner?: AWSS3FileGenqlSelection;
|
|
1087
|
+
__typename?: boolean | number;
|
|
1088
|
+
__scalar?: boolean | number;
|
|
1089
|
+
}
|
|
1090
|
+
export interface BrandGenqlSelection {
|
|
1091
|
+
_id?: boolean | number;
|
|
1092
|
+
name?: boolean | number;
|
|
1093
|
+
slogan?: boolean | number;
|
|
1094
|
+
website?: boolean | number;
|
|
1095
|
+
description?: boolean | number;
|
|
1096
|
+
approved?: boolean | number;
|
|
1097
|
+
published?: boolean | number;
|
|
1098
|
+
logo?: AWSS3FileGenqlSelection;
|
|
1099
|
+
banner?: AWSS3FileGenqlSelection;
|
|
1100
|
+
stats?: BrandStatsGenqlSelection;
|
|
1101
|
+
operatorIds?: boolean | number;
|
|
1102
|
+
translations?: BrandTranslationGenqlSelection;
|
|
1103
|
+
__typename?: boolean | number;
|
|
1104
|
+
__scalar?: boolean | number;
|
|
1105
|
+
}
|
|
1106
|
+
export interface CityGenqlSelection {
|
|
1107
|
+
_id?: boolean | number;
|
|
1108
|
+
name?: boolean | number;
|
|
1109
|
+
localizedName?: boolean | number;
|
|
1110
|
+
state?: StateGenqlSelection;
|
|
1111
|
+
latitude?: boolean | number;
|
|
1112
|
+
longitude?: boolean | number;
|
|
1113
|
+
timezone?: boolean | number;
|
|
1114
|
+
__typename?: boolean | number;
|
|
1115
|
+
__scalar?: boolean | number;
|
|
1116
|
+
}
|
|
1117
|
+
export interface StateGenqlSelection {
|
|
1118
|
+
_id?: boolean | number;
|
|
1119
|
+
name?: boolean | number;
|
|
1120
|
+
country?: CountryGenqlSelection;
|
|
1121
|
+
cities?: CityGenqlSelection;
|
|
1122
|
+
__typename?: boolean | number;
|
|
1123
|
+
__scalar?: boolean | number;
|
|
1124
|
+
}
|
|
1125
|
+
export interface CountryGenqlSelection {
|
|
1126
|
+
_id?: boolean | number;
|
|
1127
|
+
name?: boolean | number;
|
|
1128
|
+
states?: StateGenqlSelection;
|
|
1129
|
+
__typename?: boolean | number;
|
|
1130
|
+
__scalar?: boolean | number;
|
|
1131
|
+
}
|
|
1132
|
+
export interface AgeQualificationGenqlSelection {
|
|
1133
|
+
type?: boolean | number;
|
|
1134
|
+
value?: boolean | number;
|
|
1135
|
+
operator?: boolean | number;
|
|
1136
|
+
__typename?: boolean | number;
|
|
1137
|
+
__scalar?: boolean | number;
|
|
1138
|
+
}
|
|
1139
|
+
export interface GenderQualificationGenqlSelection {
|
|
1140
|
+
type?: boolean | number;
|
|
1141
|
+
operator?: boolean | number;
|
|
1142
|
+
values?: boolean | number;
|
|
1143
|
+
__typename?: boolean | number;
|
|
1144
|
+
__scalar?: boolean | number;
|
|
1145
|
+
}
|
|
1146
|
+
export interface ScoreQualificationGenqlSelection {
|
|
1147
|
+
type?: boolean | number;
|
|
1148
|
+
scoreType?: boolean | number;
|
|
1149
|
+
operator?: boolean | number;
|
|
1150
|
+
value?: boolean | number;
|
|
1151
|
+
__typename?: boolean | number;
|
|
1152
|
+
__scalar?: boolean | number;
|
|
1153
|
+
}
|
|
1154
|
+
export interface LocationQualificationGenqlSelection {
|
|
1155
|
+
type?: boolean | number;
|
|
1156
|
+
operator?: boolean | number;
|
|
1157
|
+
countries?: CountryGenqlSelection;
|
|
1158
|
+
states?: StateGenqlSelection;
|
|
1159
|
+
cities?: CityGenqlSelection;
|
|
1160
|
+
__typename?: boolean | number;
|
|
1161
|
+
__scalar?: boolean | number;
|
|
1162
|
+
}
|
|
1163
|
+
export interface NationalityQualificationGenqlSelection {
|
|
1164
|
+
type?: boolean | number;
|
|
1165
|
+
operator?: boolean | number;
|
|
1166
|
+
countries?: CountryGenqlSelection;
|
|
1167
|
+
__typename?: boolean | number;
|
|
1168
|
+
__scalar?: boolean | number;
|
|
1169
|
+
}
|
|
1170
|
+
export interface DistanceQualificationGenqlSelection {
|
|
1171
|
+
type?: boolean | number;
|
|
1172
|
+
maxDistance?: boolean | number;
|
|
1173
|
+
latitude?: boolean | number;
|
|
1174
|
+
longitude?: boolean | number;
|
|
1175
|
+
cityId?: boolean | number;
|
|
1176
|
+
__typename?: boolean | number;
|
|
1177
|
+
__scalar?: boolean | number;
|
|
1178
|
+
}
|
|
1179
|
+
export interface SportsQualificationGenqlSelection {
|
|
1180
|
+
type?: boolean | number;
|
|
1181
|
+
sports?: boolean | number;
|
|
1182
|
+
operator?: boolean | number;
|
|
1183
|
+
__typename?: boolean | number;
|
|
1184
|
+
__scalar?: boolean | number;
|
|
1185
|
+
}
|
|
1186
|
+
export interface SportsLevelQualificationGenqlSelection {
|
|
1187
|
+
type?: boolean | number;
|
|
1188
|
+
operator?: boolean | number;
|
|
1189
|
+
level?: boolean | number;
|
|
1190
|
+
__typename?: boolean | number;
|
|
1191
|
+
__scalar?: boolean | number;
|
|
1192
|
+
}
|
|
1193
|
+
export interface AthleteCriteriaGenqlSelection {
|
|
1194
|
+
_id?: boolean | number;
|
|
1195
|
+
label?: boolean | number;
|
|
1196
|
+
qualifications?: QualificationTypeUnionGenqlSelection;
|
|
1197
|
+
__typename?: boolean | number;
|
|
1198
|
+
__scalar?: boolean | number;
|
|
1199
|
+
}
|
|
1200
|
+
export interface QualificationTypeUnionGenqlSelection {
|
|
1201
|
+
on_AgeQualification?: AgeQualificationGenqlSelection;
|
|
1202
|
+
on_GenderQualification?: GenderQualificationGenqlSelection;
|
|
1203
|
+
on_ScoreQualification?: ScoreQualificationGenqlSelection;
|
|
1204
|
+
on_LocationQualification?: LocationQualificationGenqlSelection;
|
|
1205
|
+
on_NationalityQualification?: NationalityQualificationGenqlSelection;
|
|
1206
|
+
on_DistanceQualification?: DistanceQualificationGenqlSelection;
|
|
1207
|
+
on_SportsQualification?: SportsQualificationGenqlSelection;
|
|
1208
|
+
on_SportsLevelQualification?: SportsLevelQualificationGenqlSelection;
|
|
1209
|
+
__typename?: boolean | number;
|
|
1210
|
+
}
|
|
1211
|
+
export interface IndustryGenqlSelection {
|
|
1212
|
+
_id?: boolean | number;
|
|
1213
|
+
name?: boolean | number;
|
|
1214
|
+
__typename?: boolean | number;
|
|
1215
|
+
__scalar?: boolean | number;
|
|
1216
|
+
}
|
|
1217
|
+
export interface SponsorStatsGenqlSelection {
|
|
1218
|
+
sponsoredAthletes?: boolean | number;
|
|
1219
|
+
totalBrands?: boolean | number;
|
|
1220
|
+
activeCampaigns?: boolean | number;
|
|
1221
|
+
activeSponsorships?: boolean | number;
|
|
1222
|
+
__typename?: boolean | number;
|
|
1223
|
+
__scalar?: boolean | number;
|
|
1224
|
+
}
|
|
1225
|
+
export interface SponsorBrandGenqlSelection {
|
|
1226
|
+
_id?: boolean | number;
|
|
1227
|
+
name?: boolean | number;
|
|
1228
|
+
slogan?: boolean | number;
|
|
1229
|
+
website?: boolean | number;
|
|
1230
|
+
description?: boolean | number;
|
|
1231
|
+
approved?: boolean | number;
|
|
1232
|
+
published?: boolean | number;
|
|
1233
|
+
logo?: AWSS3FileGenqlSelection;
|
|
1234
|
+
banner?: AWSS3FileGenqlSelection;
|
|
1235
|
+
stats?: BrandStatsGenqlSelection;
|
|
1236
|
+
operatorIds?: boolean | number;
|
|
1237
|
+
translations?: BrandTranslationGenqlSelection;
|
|
1238
|
+
sponsorBrandId?: boolean | number;
|
|
1239
|
+
authorizedUse?: boolean | number;
|
|
1240
|
+
isAuthorizer?: boolean | number;
|
|
1241
|
+
__typename?: boolean | number;
|
|
1242
|
+
__scalar?: boolean | number;
|
|
1243
|
+
}
|
|
1244
|
+
export interface SponsorGenqlSelection {
|
|
1245
|
+
_id?: boolean | number;
|
|
1246
|
+
name?: boolean | number;
|
|
1247
|
+
description?: boolean | number;
|
|
1248
|
+
tenant?: TenantGenqlSelection;
|
|
1249
|
+
industry?: IndustryGenqlSelection;
|
|
1250
|
+
stats?: SponsorStatsGenqlSelection;
|
|
1251
|
+
brands?: SponsorBrandGenqlSelection;
|
|
1252
|
+
sponsorships?: SponsorshipGenqlSelection;
|
|
1253
|
+
approved?: boolean | number;
|
|
1254
|
+
__typename?: boolean | number;
|
|
1255
|
+
__scalar?: boolean | number;
|
|
1256
|
+
}
|
|
1257
|
+
export interface SponsorshipItemGenqlSelection {
|
|
1258
|
+
_id?: boolean | number;
|
|
1259
|
+
quantity?: boolean | number;
|
|
1260
|
+
title?: boolean | number;
|
|
1261
|
+
value?: boolean | number;
|
|
1262
|
+
type?: boolean | number;
|
|
1263
|
+
__typename?: boolean | number;
|
|
1264
|
+
__scalar?: boolean | number;
|
|
1265
|
+
}
|
|
1266
|
+
export interface SponsorshipCommitmentGenqlSelection {
|
|
1267
|
+
_id?: boolean | number;
|
|
1268
|
+
title?: boolean | number;
|
|
1269
|
+
details?: boolean | number;
|
|
1270
|
+
hashTags?: boolean | number;
|
|
1271
|
+
media?: boolean | number;
|
|
1272
|
+
actionType?: boolean | number;
|
|
1273
|
+
frequency?: boolean | number;
|
|
1274
|
+
periodicity?: boolean | number;
|
|
1275
|
+
autoMeasurable?: boolean | number;
|
|
1276
|
+
__typename?: boolean | number;
|
|
1277
|
+
__scalar?: boolean | number;
|
|
1278
|
+
}
|
|
1279
|
+
export interface DurationGenqlSelection {
|
|
1280
|
+
length?: boolean | number;
|
|
1281
|
+
unit?: boolean | number;
|
|
1282
|
+
__typename?: boolean | number;
|
|
1283
|
+
__scalar?: boolean | number;
|
|
1284
|
+
}
|
|
1285
|
+
export interface SponsorshipStatsGenqlSelection {
|
|
1286
|
+
totalSponsorships?: boolean | number;
|
|
1287
|
+
totalApplications?: boolean | number;
|
|
1288
|
+
newApplications?: boolean | number;
|
|
1289
|
+
discardedApplications?: boolean | number;
|
|
1290
|
+
selectedApplications?: boolean | number;
|
|
1291
|
+
approvedApplications?: boolean | number;
|
|
1292
|
+
grantedSponsorships?: boolean | number;
|
|
1293
|
+
remainingSponsorships?: boolean | number;
|
|
1294
|
+
__typename?: boolean | number;
|
|
1295
|
+
__scalar?: boolean | number;
|
|
1296
|
+
}
|
|
1297
|
+
export interface SponsorshipTranslationGenqlSelection {
|
|
1298
|
+
_id?: boolean | number;
|
|
1299
|
+
sponsorshipId?: boolean | number;
|
|
1300
|
+
language?: boolean | number;
|
|
1301
|
+
title?: boolean | number;
|
|
1302
|
+
description?: boolean | number;
|
|
1303
|
+
terms?: boolean | number;
|
|
1304
|
+
banner?: AWSS3FileGenqlSelection;
|
|
1305
|
+
__typename?: boolean | number;
|
|
1306
|
+
__scalar?: boolean | number;
|
|
1307
|
+
}
|
|
1308
|
+
export interface SponsorshipGenqlSelection {
|
|
1309
|
+
_id?: boolean | number;
|
|
1310
|
+
title?: boolean | number;
|
|
1311
|
+
description?: boolean | number;
|
|
1312
|
+
cashValue?: boolean | number;
|
|
1313
|
+
otherValue?: boolean | number;
|
|
1314
|
+
brand?: BrandGenqlSelection;
|
|
1315
|
+
banner?: AWSS3FileGenqlSelection;
|
|
1316
|
+
criteria?: AthleteCriteriaGenqlSelection;
|
|
1317
|
+
deadline?: boolean | number;
|
|
1318
|
+
startDate?: boolean | number;
|
|
1319
|
+
duration?: DurationGenqlSelection;
|
|
1320
|
+
sponsor?: SponsorGenqlSelection;
|
|
1321
|
+
sponsorshipItems?: SponsorshipItemGenqlSelection;
|
|
1322
|
+
commitments?: SponsorshipCommitmentGenqlSelection;
|
|
1323
|
+
terms?: boolean | number;
|
|
1324
|
+
stats?: SponsorshipStatsGenqlSelection;
|
|
1325
|
+
isPrivate?: boolean | number;
|
|
1326
|
+
approved?: boolean | number;
|
|
1327
|
+
published?: boolean | number;
|
|
1328
|
+
translations?: SponsorshipTranslationGenqlSelection;
|
|
1329
|
+
__typename?: boolean | number;
|
|
1330
|
+
__scalar?: boolean | number;
|
|
1331
|
+
}
|
|
1332
|
+
export interface FollowStatsGenqlSelection {
|
|
1333
|
+
followers?: boolean | number;
|
|
1334
|
+
followed?: boolean | number;
|
|
1335
|
+
raves?: boolean | number;
|
|
1336
|
+
favorites?: boolean | number;
|
|
1337
|
+
__typename?: boolean | number;
|
|
1338
|
+
__scalar?: boolean | number;
|
|
1339
|
+
}
|
|
1340
|
+
export interface SportGenqlSelection {
|
|
1341
|
+
_id?: boolean | number;
|
|
1342
|
+
name?: boolean | number;
|
|
1343
|
+
__typename?: boolean | number;
|
|
1344
|
+
__scalar?: boolean | number;
|
|
1345
|
+
}
|
|
1346
|
+
export interface VtxScoresGenqlSelection {
|
|
1347
|
+
vtxScore?: boolean | number;
|
|
1348
|
+
socialScore?: boolean | number;
|
|
1349
|
+
trainingScore?: boolean | number;
|
|
1350
|
+
competitionScore?: boolean | number;
|
|
1351
|
+
__typename?: boolean | number;
|
|
1352
|
+
__scalar?: boolean | number;
|
|
1353
|
+
}
|
|
1354
|
+
export interface SportLevelTranslationGenqlSelection {
|
|
1355
|
+
_id?: boolean | number;
|
|
1356
|
+
language?: boolean | number;
|
|
1357
|
+
label?: boolean | number;
|
|
1358
|
+
__typename?: boolean | number;
|
|
1359
|
+
__scalar?: boolean | number;
|
|
1360
|
+
}
|
|
1361
|
+
export interface SportLevelGenqlSelection {
|
|
1362
|
+
_id?: boolean | number;
|
|
1363
|
+
label?: boolean | number;
|
|
1364
|
+
index?: boolean | number;
|
|
1365
|
+
translations?: SportLevelTranslationGenqlSelection;
|
|
1366
|
+
__typename?: boolean | number;
|
|
1367
|
+
__scalar?: boolean | number;
|
|
1368
|
+
}
|
|
1369
|
+
export interface RankingGenqlSelection {
|
|
1370
|
+
scope?: boolean | number;
|
|
1371
|
+
scopeId?: boolean | number;
|
|
1372
|
+
scopeName?: boolean | number;
|
|
1373
|
+
position?: boolean | number;
|
|
1374
|
+
total?: boolean | number;
|
|
1375
|
+
__typename?: boolean | number;
|
|
1376
|
+
__scalar?: boolean | number;
|
|
1377
|
+
}
|
|
1378
|
+
export interface AthleteRankingsGenqlSelection {
|
|
1379
|
+
worldRanking?: RankingGenqlSelection;
|
|
1380
|
+
countryRanking?: RankingGenqlSelection;
|
|
1381
|
+
stateRanking?: RankingGenqlSelection;
|
|
1382
|
+
cityRanking?: RankingGenqlSelection;
|
|
1383
|
+
__typename?: boolean | number;
|
|
1384
|
+
__scalar?: boolean | number;
|
|
1385
|
+
}
|
|
1386
|
+
export interface TeamGenqlSelection {
|
|
1387
|
+
_id?: boolean | number;
|
|
1388
|
+
name?: boolean | number;
|
|
1389
|
+
description?: boolean | number;
|
|
1390
|
+
sports?: SportGenqlSelection;
|
|
1391
|
+
approved?: boolean | number;
|
|
1392
|
+
logo?: AWSS3FileGenqlSelection;
|
|
1393
|
+
banner?: AWSS3FileGenqlSelection;
|
|
1394
|
+
__typename?: boolean | number;
|
|
1395
|
+
__scalar?: boolean | number;
|
|
1396
|
+
}
|
|
1397
|
+
export interface SportsEventGenqlSelection {
|
|
1398
|
+
_id?: boolean | number;
|
|
1399
|
+
name?: boolean | number;
|
|
1400
|
+
eventWebSite?: boolean | number;
|
|
1401
|
+
startDate?: boolean | number;
|
|
1402
|
+
endDate?: boolean | number;
|
|
1403
|
+
verified?: boolean | number;
|
|
1404
|
+
banner?: AWSS3FileGenqlSelection;
|
|
1405
|
+
__typename?: boolean | number;
|
|
1406
|
+
__scalar?: boolean | number;
|
|
1407
|
+
}
|
|
1408
|
+
export interface AthleteCompetitionResultGenqlSelection {
|
|
1409
|
+
_id?: boolean | number;
|
|
1410
|
+
resultType?: boolean | number;
|
|
1411
|
+
position?: boolean | number;
|
|
1412
|
+
score?: boolean | number;
|
|
1413
|
+
finishTimeMS?: boolean | number;
|
|
1414
|
+
resultWebLink?: boolean | number;
|
|
1415
|
+
__typename?: boolean | number;
|
|
1416
|
+
__scalar?: boolean | number;
|
|
1417
|
+
}
|
|
1418
|
+
export interface BudgetItemGenqlSelection {
|
|
1419
|
+
_id?: boolean | number;
|
|
1420
|
+
quantity?: boolean | number;
|
|
1421
|
+
concept?: boolean | number;
|
|
1422
|
+
itemCost?: boolean | number;
|
|
1423
|
+
itemTotal?: boolean | number;
|
|
1424
|
+
__typename?: boolean | number;
|
|
1425
|
+
__scalar?: boolean | number;
|
|
1426
|
+
}
|
|
1427
|
+
export interface BudgetGenqlSelection {
|
|
1428
|
+
_id?: boolean | number;
|
|
1429
|
+
totalRequired?: boolean | number;
|
|
1430
|
+
initialFunds?: boolean | number;
|
|
1431
|
+
totalRaised?: boolean | number;
|
|
1432
|
+
items?: BudgetItemGenqlSelection;
|
|
1433
|
+
__typename?: boolean | number;
|
|
1434
|
+
__scalar?: boolean | number;
|
|
1435
|
+
}
|
|
1436
|
+
export interface AthleteCompetitionGenqlSelection {
|
|
1437
|
+
_id?: boolean | number;
|
|
1438
|
+
event?: SportsEventGenqlSelection;
|
|
1439
|
+
participationDate?: boolean | number;
|
|
1440
|
+
competitionNumber?: boolean | number;
|
|
1441
|
+
result?: AthleteCompetitionResultGenqlSelection;
|
|
1442
|
+
fundRaisingCampaignId?: boolean | number;
|
|
1443
|
+
budget?: BudgetGenqlSelection;
|
|
1444
|
+
__typename?: boolean | number;
|
|
1445
|
+
__scalar?: boolean | number;
|
|
1446
|
+
}
|
|
1447
|
+
export interface WorldLocationGenqlSelection {
|
|
1448
|
+
_id?: boolean | number;
|
|
1449
|
+
userProvidedLatitude?: boolean | number;
|
|
1450
|
+
userProvidedLongitude?: boolean | number;
|
|
1451
|
+
cityNameGeocode?: boolean | number;
|
|
1452
|
+
stateNameGeocode?: boolean | number;
|
|
1453
|
+
countryIso2CodeGeocode?: boolean | number;
|
|
1454
|
+
timeZoneGeocode?: boolean | number;
|
|
1455
|
+
latitudeGeocode?: boolean | number;
|
|
1456
|
+
longitudeGeocode?: boolean | number;
|
|
1457
|
+
city?: CityGenqlSelection;
|
|
1458
|
+
__typename?: boolean | number;
|
|
1459
|
+
__scalar?: boolean | number;
|
|
1460
|
+
}
|
|
1461
|
+
export interface AthleteGenqlSelection {
|
|
1462
|
+
_id?: boolean | number;
|
|
1463
|
+
firstName?: boolean | number;
|
|
1464
|
+
lastName?: boolean | number;
|
|
1465
|
+
screenName?: boolean | number;
|
|
1466
|
+
dob?: boolean | number;
|
|
1467
|
+
lgbt?: boolean | number;
|
|
1468
|
+
competitionGender?: boolean | number;
|
|
1469
|
+
country?: CountryGenqlSelection;
|
|
1470
|
+
location?: WorldLocationGenqlSelection;
|
|
1471
|
+
trainer?: boolean | number;
|
|
1472
|
+
trainerUrl?: boolean | number;
|
|
1473
|
+
followStats?: FollowStatsGenqlSelection;
|
|
1474
|
+
mainSport?: SportGenqlSelection;
|
|
1475
|
+
mainSportLevel?: SportLevelGenqlSelection;
|
|
1476
|
+
scores?: VtxScoresGenqlSelection;
|
|
1477
|
+
rankings?: AthleteRankingsGenqlSelection;
|
|
1478
|
+
allSports?: SportGenqlSelection;
|
|
1479
|
+
teams?: TeamGenqlSelection;
|
|
1480
|
+
sponsorBrands?: BrandGenqlSelection;
|
|
1481
|
+
competitions?: AthleteCompetitionGenqlSelection;
|
|
1482
|
+
totalUpcomingCompetitions?: boolean | number;
|
|
1483
|
+
totalPastCompetitions?: boolean | number;
|
|
1484
|
+
profilePicture?: AWSS3FileGenqlSelection;
|
|
1485
|
+
cardPicture?: AWSS3FileGenqlSelection;
|
|
1486
|
+
aboutMe?: boolean | number;
|
|
1487
|
+
__typename?: boolean | number;
|
|
1488
|
+
__scalar?: boolean | number;
|
|
1489
|
+
}
|
|
1490
|
+
export interface SponsorAthleteInvitationGenqlSelection {
|
|
1491
|
+
_id?: boolean | number;
|
|
1492
|
+
name?: boolean | number;
|
|
1493
|
+
email?: boolean | number;
|
|
1494
|
+
dateSent?: boolean | number;
|
|
1495
|
+
sponsor?: SponsorGenqlSelection;
|
|
1496
|
+
magicLink?: MagicLinkGenqlSelection;
|
|
1497
|
+
brand?: BrandGenqlSelection;
|
|
1498
|
+
status?: boolean | number;
|
|
1499
|
+
__typename?: boolean | number;
|
|
1500
|
+
__scalar?: boolean | number;
|
|
1501
|
+
}
|
|
1502
|
+
export interface StravaTokenGenqlSelection {
|
|
1503
|
+
token_type?: boolean | number;
|
|
1504
|
+
expires_at?: boolean | number;
|
|
1505
|
+
refresh_token?: boolean | number;
|
|
1506
|
+
access_token?: boolean | number;
|
|
1507
|
+
__typename?: boolean | number;
|
|
1508
|
+
__scalar?: boolean | number;
|
|
1509
|
+
}
|
|
1510
|
+
export interface EditValueResponseGenqlSelection {
|
|
1511
|
+
field?: boolean | number;
|
|
1512
|
+
oldValue?: boolean | number;
|
|
1513
|
+
newValue?: boolean | number;
|
|
1514
|
+
changed?: boolean | number;
|
|
1515
|
+
__typename?: boolean | number;
|
|
1516
|
+
__scalar?: boolean | number;
|
|
1517
|
+
}
|
|
1518
|
+
export interface UserImagesGenqlSelection {
|
|
1519
|
+
profilePictureUrl?: boolean | number;
|
|
1520
|
+
cardPictureUrl?: boolean | number;
|
|
1521
|
+
bannerPictureUrl?: boolean | number;
|
|
1522
|
+
__typename?: boolean | number;
|
|
1523
|
+
__scalar?: boolean | number;
|
|
1524
|
+
}
|
|
1525
|
+
export interface FundRaisingCampaignGenqlSelection {
|
|
1526
|
+
_id?: boolean | number;
|
|
1527
|
+
title?: boolean | number;
|
|
1528
|
+
motivation?: boolean | number;
|
|
1529
|
+
website?: boolean | number;
|
|
1530
|
+
fundsRequired?: boolean | number;
|
|
1531
|
+
initialFundsObtained?: boolean | number;
|
|
1532
|
+
fundsObtained?: boolean | number;
|
|
1533
|
+
location?: WorldLocationGenqlSelection;
|
|
1534
|
+
endingDate?: boolean | number;
|
|
1535
|
+
status?: boolean | number;
|
|
1536
|
+
budget?: BudgetGenqlSelection;
|
|
1537
|
+
competitions?: AthleteCompetitionGenqlSelection;
|
|
1538
|
+
__typename?: boolean | number;
|
|
1539
|
+
__scalar?: boolean | number;
|
|
1540
|
+
}
|
|
1541
|
+
export interface CreateVerificationCodeDto {
|
|
1542
|
+
type?: (Scalars['String'] | null);
|
|
1543
|
+
recipient?: (Scalars['String'] | null);
|
|
1544
|
+
expiresTime?: (Scalars['Float'] | null);
|
|
1545
|
+
expiresUnit?: (Scalars['String'] | null);
|
|
1546
|
+
data?: (Scalars['String'] | null);
|
|
1547
|
+
}
|
|
1548
|
+
export interface VerifyCodeDto {
|
|
1549
|
+
codeId: Scalars['String'];
|
|
1550
|
+
enteredCodeValue: Scalars['String'];
|
|
1551
|
+
type?: (Scalars['String'] | null);
|
|
1552
|
+
}
|
|
1553
|
+
export interface AthleteInvitationDto {
|
|
1554
|
+
email: Scalars['String'];
|
|
1555
|
+
name?: (Scalars['String'] | null);
|
|
1556
|
+
sender?: (Scalars['String'] | null);
|
|
1557
|
+
brandId?: (Scalars['String'] | null);
|
|
1558
|
+
}
|
|
1559
|
+
export interface InviteAthletesDto {
|
|
1560
|
+
language?: (Scalars['String'] | null);
|
|
1561
|
+
invitations: AthleteInvitationDto[];
|
|
1562
|
+
}
|
|
1563
|
+
export interface CompetitionResultDto {
|
|
1564
|
+
resultType: Scalars['String'];
|
|
1565
|
+
position?: (Scalars['Float'] | null);
|
|
1566
|
+
score?: (Scalars['String'] | null);
|
|
1567
|
+
finishTimeMS?: (Scalars['Float'] | null);
|
|
1568
|
+
resultWebLink?: (Scalars['String'] | null);
|
|
1569
|
+
}
|
|
1570
|
+
export interface SetCompetitionResultDto {
|
|
1571
|
+
resultType: Scalars['String'];
|
|
1572
|
+
position?: (Scalars['Float'] | null);
|
|
1573
|
+
score?: (Scalars['String'] | null);
|
|
1574
|
+
finishTimeMS?: (Scalars['Float'] | null);
|
|
1575
|
+
resultWebLink?: (Scalars['String'] | null);
|
|
1576
|
+
competitionId: Scalars['String'];
|
|
1577
|
+
}
|
|
1578
|
+
export interface CreateAthleteCompetitionDto {
|
|
1579
|
+
event: Scalars['String'];
|
|
1580
|
+
date: Scalars['DateTime'];
|
|
1581
|
+
eventWebsite?: (Scalars['String'] | null);
|
|
1582
|
+
competitionNumber?: (Scalars['String'] | null);
|
|
1583
|
+
result?: (CompetitionResultDto | null);
|
|
1584
|
+
cityId?: (Scalars['String'] | null);
|
|
1585
|
+
}
|
|
1586
|
+
export interface CreateAthleteCompetitionForDto {
|
|
1587
|
+
event: Scalars['String'];
|
|
1588
|
+
date: Scalars['DateTime'];
|
|
1589
|
+
eventWebsite?: (Scalars['String'] | null);
|
|
1590
|
+
competitionNumber?: (Scalars['String'] | null);
|
|
1591
|
+
result?: (CompetitionResultDto | null);
|
|
1592
|
+
cityId?: (Scalars['String'] | null);
|
|
1593
|
+
loginEmail: Scalars['String'];
|
|
1594
|
+
}
|
|
1595
|
+
export interface QualificationDto {
|
|
1596
|
+
type: Scalars['String'];
|
|
1597
|
+
}
|
|
1598
|
+
export interface AgeQualificationDto {
|
|
1599
|
+
type: Scalars['String'];
|
|
1600
|
+
value: Scalars['Float'];
|
|
1601
|
+
operator: Scalars['String'];
|
|
1602
|
+
}
|
|
1603
|
+
export interface GenderQualificationDto {
|
|
1604
|
+
type: Scalars['String'];
|
|
1605
|
+
operator: Scalars['String'];
|
|
1606
|
+
values: Scalars['String'][];
|
|
1607
|
+
}
|
|
1608
|
+
export interface NationalityQualificationDto {
|
|
1609
|
+
type: Scalars['String'];
|
|
1610
|
+
operator: Scalars['String'];
|
|
1611
|
+
countries: Scalars['String'][];
|
|
1612
|
+
}
|
|
1613
|
+
export interface ScoreQualificationDto {
|
|
1614
|
+
type: Scalars['String'];
|
|
1615
|
+
scoreType: Scalars['String'];
|
|
1616
|
+
operator: Scalars['String'];
|
|
1617
|
+
value: Scalars['Float'];
|
|
1618
|
+
}
|
|
1619
|
+
export interface LocationQualificationDto {
|
|
1620
|
+
type: Scalars['String'];
|
|
1621
|
+
operator: Scalars['String'];
|
|
1622
|
+
countries: Scalars['String'][];
|
|
1623
|
+
states: Scalars['String'][];
|
|
1624
|
+
cities: Scalars['String'][];
|
|
1625
|
+
}
|
|
1626
|
+
export interface DistanceQualificationDto {
|
|
1627
|
+
type: Scalars['String'];
|
|
1628
|
+
maxDistance: Scalars['Float'];
|
|
1629
|
+
latitude?: (Scalars['Float'] | null);
|
|
1630
|
+
longitude?: (Scalars['Float'] | null);
|
|
1631
|
+
cityId?: (Scalars['String'] | null);
|
|
1632
|
+
}
|
|
1633
|
+
export interface SportsQualificationDto {
|
|
1634
|
+
type: Scalars['String'];
|
|
1635
|
+
sports: Scalars['String'][];
|
|
1636
|
+
operator: Scalars['String'];
|
|
1637
|
+
}
|
|
1638
|
+
export interface SportsLevelQualificationDto {
|
|
1639
|
+
type: Scalars['String'];
|
|
1640
|
+
operator: Scalars['String'];
|
|
1641
|
+
level: Scalars['String'];
|
|
1642
|
+
}
|
|
1643
|
+
export interface RegisterUserDto {
|
|
1644
|
+
email: Scalars['String'];
|
|
1645
|
+
password: Scalars['String'];
|
|
1646
|
+
inviteCode?: (Scalars['String'] | null);
|
|
1647
|
+
}
|
|
1648
|
+
export interface QueryGenqlSelection {
|
|
1649
|
+
findTenantById?: (TenantGenqlSelection & {
|
|
1650
|
+
__args: {
|
|
1651
|
+
_id: Scalars['String'];
|
|
1652
|
+
};
|
|
1653
|
+
});
|
|
1654
|
+
findTenantByEmail?: (TenantGenqlSelection & {
|
|
1655
|
+
__args: {
|
|
1656
|
+
email: Scalars['String'];
|
|
1657
|
+
domainId: Scalars['String'];
|
|
1658
|
+
};
|
|
1659
|
+
});
|
|
1660
|
+
getTenants?: TenantGenqlSelection;
|
|
1661
|
+
isTenantUriAvailable?: (UriAvailableTypeGenqlSelection & {
|
|
1662
|
+
__args: {
|
|
1663
|
+
tenant_uri: Scalars['String'];
|
|
1664
|
+
};
|
|
1665
|
+
});
|
|
1666
|
+
findUserById?: (UserGenqlSelection & {
|
|
1667
|
+
__args: {
|
|
1668
|
+
_id: Scalars['String'];
|
|
1669
|
+
};
|
|
1670
|
+
});
|
|
1671
|
+
findUserByEmail?: (UserGenqlSelection & {
|
|
1672
|
+
__args: {
|
|
1673
|
+
email: Scalars['String'];
|
|
1674
|
+
};
|
|
1675
|
+
});
|
|
1676
|
+
validateUserCredentials?: (UserGenqlSelection & {
|
|
1677
|
+
__args: {
|
|
1678
|
+
username: Scalars['String'];
|
|
1679
|
+
password: Scalars['String'];
|
|
1680
|
+
};
|
|
1681
|
+
});
|
|
1682
|
+
getUploadUrl?: (AWSS3UploadUrlGenqlSelection & {
|
|
1683
|
+
__args: {
|
|
1684
|
+
input: AWSS3GetUploadDto;
|
|
1685
|
+
};
|
|
1686
|
+
});
|
|
1687
|
+
industries?: IndustryGenqlSelection;
|
|
1688
|
+
findIndustryById?: (IndustryGenqlSelection & {
|
|
1689
|
+
__args: {
|
|
1690
|
+
industryId: Scalars['String'];
|
|
1691
|
+
};
|
|
1692
|
+
});
|
|
1693
|
+
brands?: BrandGenqlSelection;
|
|
1694
|
+
getBrandByName?: (BrandGenqlSelection & {
|
|
1695
|
+
__args: {
|
|
1696
|
+
name: Scalars['String'];
|
|
1697
|
+
translations: Scalars['Boolean'];
|
|
1698
|
+
};
|
|
1699
|
+
});
|
|
1700
|
+
getBrandTranslation?: (BrandTranslationGenqlSelection & {
|
|
1701
|
+
__args: {
|
|
1702
|
+
brandId: Scalars['String'];
|
|
1703
|
+
language: Scalars['String'];
|
|
1704
|
+
};
|
|
1705
|
+
});
|
|
1706
|
+
existsValidSponsorForEmail?: (SponsorGenqlSelection & {
|
|
1707
|
+
__args: {
|
|
1708
|
+
loginEmail: Scalars['String'];
|
|
1709
|
+
};
|
|
1710
|
+
});
|
|
1711
|
+
sponsors?: SponsorGenqlSelection;
|
|
1712
|
+
findSponsorAthleteInvitation?: (SponsorAthleteInvitationGenqlSelection & {
|
|
222
1713
|
__args: {
|
|
223
|
-
|
|
1714
|
+
input: FindSponsorAthleteInvitationDto;
|
|
224
1715
|
};
|
|
225
1716
|
});
|
|
226
|
-
|
|
1717
|
+
getAthletes?: AthleteGenqlSelection;
|
|
1718
|
+
searchAthletes?: (AthleteGenqlSelection & {
|
|
227
1719
|
__args: {
|
|
228
|
-
|
|
1720
|
+
searchString: Scalars['String'];
|
|
229
1721
|
};
|
|
230
1722
|
});
|
|
231
|
-
|
|
232
|
-
isTenantUriAvailable?: (UriAvailableTypeGenqlSelection & {
|
|
1723
|
+
findAthleteById?: (AthleteGenqlSelection & {
|
|
233
1724
|
__args: {
|
|
234
|
-
|
|
1725
|
+
athleteId: Scalars['String'];
|
|
235
1726
|
};
|
|
236
1727
|
});
|
|
237
|
-
|
|
238
|
-
nontenantedUserById?: (UserGenqlSelection & {
|
|
1728
|
+
findAthleteForUser?: (AthleteGenqlSelection & {
|
|
239
1729
|
__args: {
|
|
240
|
-
|
|
1730
|
+
loginEmail: Scalars['String'];
|
|
241
1731
|
};
|
|
242
1732
|
});
|
|
243
|
-
|
|
1733
|
+
getRecommendedAthletes?: (AthleteGenqlSelection & {
|
|
244
1734
|
__args: {
|
|
245
|
-
|
|
1735
|
+
loginEmail: Scalars['String'];
|
|
246
1736
|
};
|
|
247
1737
|
});
|
|
248
|
-
|
|
249
|
-
|
|
1738
|
+
getSponsorAthletesForTenant?: AthleteGenqlSelection;
|
|
1739
|
+
getSports?: SportGenqlSelection;
|
|
1740
|
+
findSportById?: (SportGenqlSelection & {
|
|
250
1741
|
__args: {
|
|
251
|
-
|
|
1742
|
+
sportId: Scalars['String'];
|
|
252
1743
|
};
|
|
253
1744
|
});
|
|
254
|
-
|
|
255
|
-
|
|
1745
|
+
getSportLevels?: SportLevelGenqlSelection;
|
|
1746
|
+
getPublicSponsorships?: SponsorshipGenqlSelection;
|
|
1747
|
+
getTenantSponsorships?: SponsorshipGenqlSelection;
|
|
1748
|
+
getCountries?: CountryGenqlSelection;
|
|
1749
|
+
getCountryStates?: (StateGenqlSelection & {
|
|
1750
|
+
__args: {
|
|
1751
|
+
countryId: Scalars['String'];
|
|
1752
|
+
};
|
|
1753
|
+
});
|
|
1754
|
+
getStateCities?: (CityGenqlSelection & {
|
|
1755
|
+
__args: {
|
|
1756
|
+
stateId: Scalars['String'];
|
|
1757
|
+
};
|
|
1758
|
+
});
|
|
1759
|
+
findCitiesStartingWith?: (CityGenqlSelection & {
|
|
1760
|
+
__args: {
|
|
1761
|
+
text: Scalars['String'];
|
|
1762
|
+
};
|
|
1763
|
+
});
|
|
1764
|
+
findCityById?: (CityGenqlSelection & {
|
|
1765
|
+
__args: {
|
|
1766
|
+
cityId: Scalars['String'];
|
|
1767
|
+
};
|
|
1768
|
+
});
|
|
1769
|
+
findVtxUser?: (UserGenqlSelection & {
|
|
1770
|
+
__args: {
|
|
1771
|
+
input: FindVtxUserDto;
|
|
1772
|
+
};
|
|
1773
|
+
});
|
|
1774
|
+
validateUserCredentialsVtx?: (UserGenqlSelection & {
|
|
1775
|
+
__args: {
|
|
1776
|
+
username: Scalars['String'];
|
|
1777
|
+
password: Scalars['String'];
|
|
1778
|
+
};
|
|
1779
|
+
});
|
|
1780
|
+
getUserImagesFromEmail?: (UserImagesGenqlSelection & {
|
|
256
1781
|
__args: {
|
|
257
1782
|
loginEmail: Scalars['String'];
|
|
258
1783
|
};
|
|
259
1784
|
});
|
|
1785
|
+
getStravaLoginUrl?: boolean | number;
|
|
1786
|
+
getSportsEvents?: (SportsEventGenqlSelection & {
|
|
1787
|
+
__args: {
|
|
1788
|
+
input: GetSportEventsDto;
|
|
1789
|
+
};
|
|
1790
|
+
});
|
|
260
1791
|
__typename?: boolean | number;
|
|
261
1792
|
__scalar?: boolean | number;
|
|
262
1793
|
}
|
|
1794
|
+
export interface AWSS3GetUploadDto {
|
|
1795
|
+
useType: Scalars['String'];
|
|
1796
|
+
name?: (Scalars['String'] | null);
|
|
1797
|
+
}
|
|
1798
|
+
export interface FindSponsorAthleteInvitationDto {
|
|
1799
|
+
code: Scalars['String'];
|
|
1800
|
+
type?: (Scalars['String'] | null);
|
|
1801
|
+
}
|
|
1802
|
+
export interface FindVtxUserDto {
|
|
1803
|
+
loginEmail: Scalars['String'];
|
|
1804
|
+
}
|
|
1805
|
+
export interface GetSportEventsDto {
|
|
1806
|
+
matchString?: (Scalars['String'] | null);
|
|
1807
|
+
}
|
|
263
1808
|
export interface MutationGenqlSelection {
|
|
264
|
-
|
|
1809
|
+
registerNewDomainTenant?: (TenantGenqlSelection & {
|
|
265
1810
|
__args: {
|
|
266
1811
|
tenant: CreateTenantInput;
|
|
267
1812
|
};
|
|
268
1813
|
});
|
|
269
|
-
|
|
1814
|
+
registerNewDomainTenantWithLogin?: (TenantWithUserLoginGenqlSelection & {
|
|
270
1815
|
__args: {
|
|
271
|
-
|
|
1816
|
+
tenant: CreateTenantInput;
|
|
272
1817
|
};
|
|
273
1818
|
});
|
|
274
|
-
|
|
1819
|
+
createUserAndLogin?: (UserWithTokenGenqlSelection & {
|
|
275
1820
|
__args: {
|
|
276
|
-
|
|
1821
|
+
user: CreateActiveUserInput;
|
|
277
1822
|
};
|
|
278
1823
|
});
|
|
279
|
-
|
|
1824
|
+
loginUserFromEmail?: (UserTokenGenqlSelection & {
|
|
280
1825
|
__args: {
|
|
281
|
-
|
|
1826
|
+
email: Scalars['String'];
|
|
1827
|
+
loginMethod: Scalars['String'];
|
|
282
1828
|
};
|
|
283
1829
|
});
|
|
284
|
-
|
|
1830
|
+
loginUserFromCredentials?: (UserWithTokenGenqlSelection & {
|
|
285
1831
|
__args: {
|
|
286
|
-
|
|
1832
|
+
username: Scalars['String'];
|
|
1833
|
+
password: Scalars['String'];
|
|
287
1834
|
};
|
|
288
1835
|
});
|
|
289
|
-
|
|
1836
|
+
registerUserToDomainFromEmail?: (UserGenqlSelection & {
|
|
290
1837
|
__args: {
|
|
291
|
-
|
|
1838
|
+
input: RegisterUserToDomainFromEmailInput;
|
|
292
1839
|
};
|
|
293
1840
|
});
|
|
294
|
-
|
|
1841
|
+
refreshToken?: (UserTokenGenqlSelection & {
|
|
295
1842
|
__args: {
|
|
296
|
-
|
|
1843
|
+
dto: RefreshTokenInput;
|
|
297
1844
|
};
|
|
298
1845
|
});
|
|
299
|
-
|
|
1846
|
+
deleteUploadedUseTypeFile?: (AWSS3CallResultGenqlSelection & {
|
|
300
1847
|
__args: {
|
|
301
|
-
|
|
1848
|
+
input: AWSS3DeleteUseTypeFileDto;
|
|
1849
|
+
};
|
|
1850
|
+
});
|
|
1851
|
+
deleteUploadedBucketFile?: (AWSS3CallResultGenqlSelection & {
|
|
1852
|
+
__args: {
|
|
1853
|
+
input: AWSS3DeleteBucketFileDto;
|
|
1854
|
+
};
|
|
1855
|
+
});
|
|
1856
|
+
registerS3UploadedFile?: (AWSS3FileGenqlSelection & {
|
|
1857
|
+
__args: {
|
|
1858
|
+
input: AWSS3UploadedFileDto;
|
|
302
1859
|
};
|
|
303
1860
|
});
|
|
304
1861
|
createIndustry?: (IndustryGenqlSelection & {
|
|
@@ -316,6 +1873,112 @@ export interface MutationGenqlSelection {
|
|
|
316
1873
|
input: RegisterSponsorInput;
|
|
317
1874
|
};
|
|
318
1875
|
});
|
|
1876
|
+
createSponsor?: (SponsorGenqlSelection & {
|
|
1877
|
+
__args: {
|
|
1878
|
+
input: CreateSponsorDto;
|
|
1879
|
+
};
|
|
1880
|
+
});
|
|
1881
|
+
sendAthleteInvitations?: (SponsorAthleteInvitationGenqlSelection & {
|
|
1882
|
+
__args: {
|
|
1883
|
+
input: InviteAthletesDto;
|
|
1884
|
+
};
|
|
1885
|
+
});
|
|
1886
|
+
registerAthlete?: (AthleteGenqlSelection & {
|
|
1887
|
+
__args: {
|
|
1888
|
+
input: RegisterAthleteDto;
|
|
1889
|
+
};
|
|
1890
|
+
});
|
|
1891
|
+
editProfileValue?: (EditValueResponseGenqlSelection & {
|
|
1892
|
+
__args: {
|
|
1893
|
+
input: EditValueDto;
|
|
1894
|
+
};
|
|
1895
|
+
});
|
|
1896
|
+
addAthleteCompetition?: (AthleteCompetitionGenqlSelection & {
|
|
1897
|
+
__args: {
|
|
1898
|
+
input: CreateAthleteCompetitionDto;
|
|
1899
|
+
};
|
|
1900
|
+
});
|
|
1901
|
+
createSport?: (SportGenqlSelection & {
|
|
1902
|
+
__args: {
|
|
1903
|
+
input: CreateSportDto;
|
|
1904
|
+
};
|
|
1905
|
+
});
|
|
1906
|
+
updateSport?: (SportGenqlSelection & {
|
|
1907
|
+
__args: {
|
|
1908
|
+
input: UpdateSportDto;
|
|
1909
|
+
};
|
|
1910
|
+
});
|
|
1911
|
+
createSportLevel?: (SportLevelGenqlSelection & {
|
|
1912
|
+
__args: {
|
|
1913
|
+
input: CreateSportLevelDto;
|
|
1914
|
+
};
|
|
1915
|
+
});
|
|
1916
|
+
createSponsorship?: (SponsorshipGenqlSelection & {
|
|
1917
|
+
__args: {
|
|
1918
|
+
input: CreateSponsorshipDto;
|
|
1919
|
+
};
|
|
1920
|
+
});
|
|
1921
|
+
createCountry?: (CountryGenqlSelection & {
|
|
1922
|
+
__args: {
|
|
1923
|
+
input: CreateCountryDto;
|
|
1924
|
+
};
|
|
1925
|
+
});
|
|
1926
|
+
createState?: (StateGenqlSelection & {
|
|
1927
|
+
__args: {
|
|
1928
|
+
input: CreateStateDto;
|
|
1929
|
+
};
|
|
1930
|
+
});
|
|
1931
|
+
createCity?: (CityGenqlSelection & {
|
|
1932
|
+
__args: {
|
|
1933
|
+
input: CreateCityDto;
|
|
1934
|
+
};
|
|
1935
|
+
});
|
|
1936
|
+
preRegisterAthleteUser?: (VerificationCodeGenqlSelection & {
|
|
1937
|
+
__args: {
|
|
1938
|
+
input: RegisterUserDto;
|
|
1939
|
+
};
|
|
1940
|
+
});
|
|
1941
|
+
confirmAthleteUserRegistrationAndLogin?: (UserWithTokenGenqlSelection & {
|
|
1942
|
+
__args: {
|
|
1943
|
+
input: VerifyCodeDto;
|
|
1944
|
+
};
|
|
1945
|
+
});
|
|
1946
|
+
confirmAthleteUserRegistration?: (UserGenqlSelection & {
|
|
1947
|
+
__args: {
|
|
1948
|
+
input: VerifyCodeDto;
|
|
1949
|
+
};
|
|
1950
|
+
});
|
|
1951
|
+
registerAthleteUser?: (UserGenqlSelection & {
|
|
1952
|
+
__args: {
|
|
1953
|
+
input: RegisterUserDto;
|
|
1954
|
+
};
|
|
1955
|
+
});
|
|
1956
|
+
registerSponsorUser?: (UserGenqlSelection & {
|
|
1957
|
+
__args: {
|
|
1958
|
+
input: RegisterUserDto;
|
|
1959
|
+
};
|
|
1960
|
+
});
|
|
1961
|
+
loginUserFromCredentialsVtx?: (UserWithTokenGenqlSelection & {
|
|
1962
|
+
__args: {
|
|
1963
|
+
username: Scalars['String'];
|
|
1964
|
+
password: Scalars['String'];
|
|
1965
|
+
};
|
|
1966
|
+
});
|
|
1967
|
+
handleStravaCallback?: (StravaTokenGenqlSelection & {
|
|
1968
|
+
__args: {
|
|
1969
|
+
data: RegisterStravaDto;
|
|
1970
|
+
};
|
|
1971
|
+
});
|
|
1972
|
+
refreshStravaToken?: (StravaTokenGenqlSelection & {
|
|
1973
|
+
__args: {
|
|
1974
|
+
input: Scalars['String'];
|
|
1975
|
+
};
|
|
1976
|
+
});
|
|
1977
|
+
createSportsEvent?: (SportsEventGenqlSelection & {
|
|
1978
|
+
__args: {
|
|
1979
|
+
input: CreateSportEventDto;
|
|
1980
|
+
};
|
|
1981
|
+
});
|
|
319
1982
|
__typename?: boolean | number;
|
|
320
1983
|
__scalar?: boolean | number;
|
|
321
1984
|
}
|
|
@@ -323,22 +1986,37 @@ export interface CreateTenantInput {
|
|
|
323
1986
|
name: Scalars['String'];
|
|
324
1987
|
email: Scalars['String'];
|
|
325
1988
|
tenant_uri: Scalars['String'];
|
|
326
|
-
|
|
327
|
-
export interface CreateApiKeyInput {
|
|
328
|
-
keyName: Scalars['String'];
|
|
329
|
-
readAccess: Scalars['Boolean'];
|
|
330
|
-
writeAccess: Scalars['Boolean'];
|
|
331
|
-
}
|
|
332
|
-
export interface CreateTenantUserTokenDto {
|
|
333
|
-
requestToken: Scalars['String'];
|
|
334
|
-
}
|
|
335
|
-
export interface CreateTenantUserTokenFromEmailAndUriDto {
|
|
336
|
-
email: Scalars['String'];
|
|
337
|
-
tenant_uri: Scalars['String'];
|
|
1989
|
+
domain: Scalars['String'];
|
|
338
1990
|
}
|
|
339
1991
|
export interface CreateActiveUserInput {
|
|
340
1992
|
loginEmail: Scalars['String'];
|
|
341
1993
|
password?: (Scalars['String'] | null);
|
|
1994
|
+
loginMethod?: (Scalars['String'] | null);
|
|
1995
|
+
}
|
|
1996
|
+
export interface RegisterUserToDomainFromEmailInput {
|
|
1997
|
+
email: Scalars['String'];
|
|
1998
|
+
domainId: Scalars['String'];
|
|
1999
|
+
tenantId?: (Scalars['String'] | null);
|
|
2000
|
+
createUserIfNotExist?: (Scalars['Boolean'] | null);
|
|
2001
|
+
}
|
|
2002
|
+
export interface RefreshTokenInput {
|
|
2003
|
+
refreshToken: Scalars['String'];
|
|
2004
|
+
}
|
|
2005
|
+
export interface AWSS3DeleteUseTypeFileDto {
|
|
2006
|
+
name: Scalars['String'];
|
|
2007
|
+
useType: Scalars['String'];
|
|
2008
|
+
}
|
|
2009
|
+
export interface AWSS3DeleteBucketFileDto {
|
|
2010
|
+
key: Scalars['String'];
|
|
2011
|
+
bucket: Scalars['String'];
|
|
2012
|
+
credentialsId?: (Scalars['String'] | null);
|
|
2013
|
+
}
|
|
2014
|
+
export interface AWSS3UploadedFileDto {
|
|
2015
|
+
key: Scalars['String'];
|
|
2016
|
+
useType: Scalars['String'];
|
|
2017
|
+
contentType: Scalars['String'];
|
|
2018
|
+
originalFileName?: (Scalars['String'] | null);
|
|
2019
|
+
fileSize?: (Scalars['Float'] | null);
|
|
342
2020
|
}
|
|
343
2021
|
export interface CreateIndustryDto {
|
|
344
2022
|
name: Scalars['String'];
|
|
@@ -346,6 +2024,20 @@ export interface CreateIndustryDto {
|
|
|
346
2024
|
export interface CreateBrandDto {
|
|
347
2025
|
name: Scalars['String'];
|
|
348
2026
|
description?: (Scalars['String'] | null);
|
|
2027
|
+
slogan?: (Scalars['String'] | null);
|
|
2028
|
+
website?: (Scalars['String'] | null);
|
|
2029
|
+
logo?: (AWSS3UploadedFileDto | null);
|
|
2030
|
+
banner?: (AWSS3UploadedFileDto | null);
|
|
2031
|
+
translations?: (BrandTranslationDto[] | null);
|
|
2032
|
+
}
|
|
2033
|
+
export interface BrandTranslationDto {
|
|
2034
|
+
brandId: Scalars['String'];
|
|
2035
|
+
language: Scalars['String'];
|
|
2036
|
+
name?: (Scalars['String'] | null);
|
|
2037
|
+
description?: (Scalars['String'] | null);
|
|
2038
|
+
slogan?: (Scalars['String'] | null);
|
|
2039
|
+
logo?: (AWSS3UploadedFileDto | null);
|
|
2040
|
+
banner?: (AWSS3UploadedFileDto | null);
|
|
349
2041
|
}
|
|
350
2042
|
export interface RegisterSponsorInput {
|
|
351
2043
|
name: Scalars['String'];
|
|
@@ -359,45 +2051,381 @@ export interface RegisterSponsorInput {
|
|
|
359
2051
|
numberOfAthletes: Scalars['String'];
|
|
360
2052
|
brands: Scalars['String'][];
|
|
361
2053
|
}
|
|
362
|
-
export
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
2054
|
+
export interface CreateSponsorDto {
|
|
2055
|
+
name: Scalars['String'];
|
|
2056
|
+
description?: (Scalars['String'] | null);
|
|
2057
|
+
}
|
|
2058
|
+
export interface RegisterAthleteDto {
|
|
2059
|
+
email: Scalars['String'];
|
|
2060
|
+
firstName: Scalars['String'];
|
|
2061
|
+
lastName: Scalars['String'];
|
|
2062
|
+
screenName?: (Scalars['String'] | null);
|
|
2063
|
+
nationality: Scalars['String'];
|
|
2064
|
+
cityId: Scalars['String'];
|
|
2065
|
+
locLatitude?: (Scalars['Float'] | null);
|
|
2066
|
+
locLongitude?: (Scalars['Float'] | null);
|
|
2067
|
+
dateOfBirth: Scalars['DateTime'];
|
|
2068
|
+
lgbt?: (Scalars['Boolean'] | null);
|
|
2069
|
+
trainer?: (Scalars['String'] | null);
|
|
2070
|
+
trainerUrl?: (Scalars['String'] | null);
|
|
2071
|
+
aboutMe?: (Scalars['String'] | null);
|
|
2072
|
+
team?: (Scalars['String'] | null);
|
|
2073
|
+
gender: Scalars['String'];
|
|
2074
|
+
mainSport: Scalars['String'];
|
|
2075
|
+
mainSportLevel: Scalars['String'];
|
|
2076
|
+
profilePicture?: (AWSS3UploadedFileDto | null);
|
|
2077
|
+
cardPicture?: (AWSS3UploadedFileDto | null);
|
|
2078
|
+
}
|
|
2079
|
+
export interface EditValueDto {
|
|
2080
|
+
field: Scalars['String'];
|
|
2081
|
+
newValue?: (Scalars['String'] | null);
|
|
2082
|
+
}
|
|
2083
|
+
export interface CreateSportDto {
|
|
2084
|
+
name: Scalars['String'];
|
|
2085
|
+
resultType?: (Scalars['String'] | null);
|
|
2086
|
+
}
|
|
2087
|
+
export interface UpdateSportDto {
|
|
2088
|
+
_id: Scalars['String'];
|
|
2089
|
+
name: Scalars['String'];
|
|
2090
|
+
}
|
|
2091
|
+
export interface CreateSportLevelDto {
|
|
2092
|
+
_id: Scalars['String'];
|
|
2093
|
+
label: Scalars['String'];
|
|
2094
|
+
index: Scalars['Float'];
|
|
2095
|
+
translations?: (CreateSportLevelTranslationDto[] | null);
|
|
2096
|
+
}
|
|
2097
|
+
export interface CreateSportLevelTranslationDto {
|
|
2098
|
+
language: Scalars['String'];
|
|
2099
|
+
label: Scalars['String'];
|
|
2100
|
+
}
|
|
2101
|
+
export interface CreateSponsorshipDto {
|
|
2102
|
+
title: Scalars['String'];
|
|
2103
|
+
brandId: Scalars['String'];
|
|
2104
|
+
description?: (Scalars['String'] | null);
|
|
2105
|
+
cashValue?: (Scalars['Float'] | null);
|
|
2106
|
+
otherValue?: (Scalars['Float'] | null);
|
|
2107
|
+
banner?: (AWSS3UploadedFileDto | null);
|
|
2108
|
+
criteria?: (AthleteCriteriaDto | null);
|
|
2109
|
+
deadline?: (Scalars['DateTime'] | null);
|
|
2110
|
+
startDate?: (Scalars['DateTime'] | null);
|
|
2111
|
+
duration: DurationDto;
|
|
2112
|
+
sponsorshipItems?: (SponsorshipItemDto[] | null);
|
|
2113
|
+
commitments?: (SponsorshipCommitmentDto[] | null);
|
|
2114
|
+
terms?: (Scalars['String'] | null);
|
|
2115
|
+
published?: (Scalars['Boolean'] | null);
|
|
2116
|
+
isPrivate?: (Scalars['Boolean'] | null);
|
|
2117
|
+
translations?: (SponsorshipTranslationDto[] | null);
|
|
2118
|
+
}
|
|
2119
|
+
export interface AthleteCriteriaDto {
|
|
2120
|
+
_id: Scalars['String'];
|
|
2121
|
+
label?: (Scalars['String'] | null);
|
|
2122
|
+
qualificationsBag?: (QualificationsBagDto | null);
|
|
2123
|
+
}
|
|
2124
|
+
export interface QualificationsBagDto {
|
|
2125
|
+
ageQualifications?: (AgeQualificationDto[] | null);
|
|
2126
|
+
genderQualifications?: (GenderQualificationDto[] | null);
|
|
2127
|
+
scoreQualifications?: (ScoreQualificationDto[] | null);
|
|
2128
|
+
locationQualifications?: (LocationQualificationDto[] | null);
|
|
2129
|
+
nationalityQualifications?: (NationalityQualificationDto[] | null);
|
|
2130
|
+
distanceQualifications?: (DistanceQualificationDto[] | null);
|
|
2131
|
+
sportsQualifications?: (SportsQualificationDto[] | null);
|
|
2132
|
+
levelQualifications?: (SportsLevelQualificationDto[] | null);
|
|
2133
|
+
}
|
|
2134
|
+
export interface DurationDto {
|
|
2135
|
+
length?: Scalars['Float'];
|
|
2136
|
+
unit?: Scalars['String'];
|
|
2137
|
+
}
|
|
2138
|
+
export interface SponsorshipItemDto {
|
|
2139
|
+
_id: Scalars['String'];
|
|
2140
|
+
quantity?: Scalars['Float'];
|
|
2141
|
+
title: Scalars['String'];
|
|
2142
|
+
value?: Scalars['Float'];
|
|
2143
|
+
}
|
|
2144
|
+
export interface SponsorshipCommitmentDto {
|
|
2145
|
+
_id: Scalars['String'];
|
|
2146
|
+
title: Scalars['String'];
|
|
2147
|
+
details?: (Scalars['String'] | null);
|
|
2148
|
+
hashTags?: (Scalars['String'][] | null);
|
|
2149
|
+
media: Scalars['String'];
|
|
2150
|
+
actionType: Scalars['String'];
|
|
2151
|
+
frequency?: (Scalars['Float'] | null);
|
|
2152
|
+
periodicity: Scalars['String'];
|
|
2153
|
+
}
|
|
2154
|
+
export interface SponsorshipTranslationDto {
|
|
2155
|
+
sponsorshipId: Scalars['String'];
|
|
2156
|
+
language: Scalars['String'];
|
|
2157
|
+
title?: (Scalars['String'] | null);
|
|
2158
|
+
description?: (Scalars['String'] | null);
|
|
2159
|
+
banner?: (AWSS3UploadedFileDto | null);
|
|
2160
|
+
terms?: (Scalars['String'] | null);
|
|
2161
|
+
}
|
|
2162
|
+
export interface CreateCountryDto {
|
|
2163
|
+
_id: Scalars['String'];
|
|
2164
|
+
name: Scalars['String'];
|
|
2165
|
+
}
|
|
2166
|
+
export interface CreateStateDto {
|
|
2167
|
+
_id: Scalars['String'];
|
|
2168
|
+
name: Scalars['String'];
|
|
2169
|
+
countryId: Scalars['String'];
|
|
2170
|
+
}
|
|
2171
|
+
export interface CreateCityDto {
|
|
2172
|
+
_id: Scalars['String'];
|
|
2173
|
+
cityName: Scalars['String'];
|
|
2174
|
+
cityNameLocalized: Scalars['String'];
|
|
2175
|
+
lat: Scalars['Float'];
|
|
2176
|
+
lng: Scalars['Float'];
|
|
2177
|
+
stateId: Scalars['String'];
|
|
2178
|
+
timezone: Scalars['String'];
|
|
2179
|
+
city_alt?: (Scalars['String'] | null);
|
|
2180
|
+
iso3?: (Scalars['String'] | null);
|
|
2181
|
+
admin_type?: (Scalars['String'] | null);
|
|
2182
|
+
capital?: (Scalars['String'] | null);
|
|
2183
|
+
density?: (Scalars['Float'] | null);
|
|
2184
|
+
population?: (Scalars['Float'] | null);
|
|
2185
|
+
population_proper?: (Scalars['Float'] | null);
|
|
2186
|
+
ranking?: (Scalars['Float'] | null);
|
|
2187
|
+
same_name?: (Scalars['String'] | null);
|
|
2188
|
+
}
|
|
2189
|
+
export interface RegisterStravaDto {
|
|
2190
|
+
idAthlete: Scalars['String'];
|
|
2191
|
+
code: Scalars['String'];
|
|
2192
|
+
}
|
|
2193
|
+
export interface CreateSportEventDto {
|
|
2194
|
+
name: Scalars['String'];
|
|
2195
|
+
cityId?: (Scalars['String'] | null);
|
|
2196
|
+
startDate: Scalars['DateTime'];
|
|
2197
|
+
endDate?: (Scalars['DateTime'] | null);
|
|
2198
|
+
website?: (Scalars['String'] | null);
|
|
2199
|
+
banner?: (AWSS3UploadedFileDto | null);
|
|
2200
|
+
}
|
|
374
2201
|
export declare const isUser: (obj?: {
|
|
375
2202
|
__typename?: any;
|
|
376
2203
|
} | null) => obj is User;
|
|
377
2204
|
export declare const isUserWithToken: (obj?: {
|
|
378
2205
|
__typename?: any;
|
|
379
2206
|
} | null) => obj is UserWithToken;
|
|
2207
|
+
export declare const isBaseTenant: (obj?: {
|
|
2208
|
+
__typename?: any;
|
|
2209
|
+
} | null) => obj is BaseTenant;
|
|
380
2210
|
export declare const isTenant: (obj?: {
|
|
381
2211
|
__typename?: any;
|
|
382
2212
|
} | null) => obj is Tenant;
|
|
383
|
-
export declare const
|
|
2213
|
+
export declare const isDomain: (obj?: {
|
|
384
2214
|
__typename?: any;
|
|
385
|
-
} | null) => obj is
|
|
2215
|
+
} | null) => obj is Domain;
|
|
2216
|
+
export declare const isDomainCredential: (obj?: {
|
|
2217
|
+
__typename?: any;
|
|
2218
|
+
} | null) => obj is DomainCredential;
|
|
2219
|
+
export declare const isUserToken: (obj?: {
|
|
2220
|
+
__typename?: any;
|
|
2221
|
+
} | null) => obj is UserToken;
|
|
2222
|
+
export declare const isDecodedToken: (obj?: {
|
|
2223
|
+
__typename?: any;
|
|
2224
|
+
} | null) => obj is DecodedToken;
|
|
2225
|
+
export declare const isDecodedRefreshToken: (obj?: {
|
|
2226
|
+
__typename?: any;
|
|
2227
|
+
} | null) => obj is DecodedRefreshToken;
|
|
386
2228
|
export declare const isTenantWithUserLogin: (obj?: {
|
|
387
2229
|
__typename?: any;
|
|
388
2230
|
} | null) => obj is TenantWithUserLogin;
|
|
389
|
-
export declare const
|
|
2231
|
+
export declare const isUriAvailableType: (obj?: {
|
|
2232
|
+
__typename?: any;
|
|
2233
|
+
} | null) => obj is UriAvailableType;
|
|
2234
|
+
export declare const isAgreement: (obj?: {
|
|
2235
|
+
__typename?: any;
|
|
2236
|
+
} | null) => obj is Agreement;
|
|
2237
|
+
export declare const isBillEntity: (obj?: {
|
|
390
2238
|
__typename?: any;
|
|
391
|
-
} | null) => obj is
|
|
2239
|
+
} | null) => obj is BillEntity;
|
|
2240
|
+
export declare const isInvoiceItem: (obj?: {
|
|
2241
|
+
__typename?: any;
|
|
2242
|
+
} | null) => obj is InvoiceItem;
|
|
2243
|
+
export declare const isPayment: (obj?: {
|
|
2244
|
+
__typename?: any;
|
|
2245
|
+
} | null) => obj is Payment;
|
|
2246
|
+
export declare const isPlaFeature: (obj?: {
|
|
2247
|
+
__typename?: any;
|
|
2248
|
+
} | null) => obj is PlaFeature;
|
|
2249
|
+
export declare const isPlan: (obj?: {
|
|
2250
|
+
__typename?: any;
|
|
2251
|
+
} | null) => obj is Plan;
|
|
2252
|
+
export declare const isPlanPrice: (obj?: {
|
|
2253
|
+
__typename?: any;
|
|
2254
|
+
} | null) => obj is PlanPrice;
|
|
2255
|
+
export declare const isInvoice: (obj?: {
|
|
2256
|
+
__typename?: any;
|
|
2257
|
+
} | null) => obj is Invoice;
|
|
2258
|
+
export declare const isSubscriptionInvoice: (obj?: {
|
|
2259
|
+
__typename?: any;
|
|
2260
|
+
} | null) => obj is SubscriptionInvoice;
|
|
2261
|
+
export declare const isPlanSubscription: (obj?: {
|
|
2262
|
+
__typename?: any;
|
|
2263
|
+
} | null) => obj is PlanSubscription;
|
|
2264
|
+
export declare const isSubscriptionPayment: (obj?: {
|
|
2265
|
+
__typename?: any;
|
|
2266
|
+
} | null) => obj is SubscriptionPayment;
|
|
2267
|
+
export declare const isAWSS3File: (obj?: {
|
|
2268
|
+
__typename?: any;
|
|
2269
|
+
} | null) => obj is AWSS3File;
|
|
2270
|
+
export declare const isMagicLink: (obj?: {
|
|
2271
|
+
__typename?: any;
|
|
2272
|
+
} | null) => obj is MagicLink;
|
|
2273
|
+
export declare const isVerificationCode: (obj?: {
|
|
2274
|
+
__typename?: any;
|
|
2275
|
+
} | null) => obj is VerificationCode;
|
|
2276
|
+
export declare const isErrorInfo: (obj?: {
|
|
2277
|
+
__typename?: any;
|
|
2278
|
+
} | null) => obj is ErrorInfo;
|
|
2279
|
+
export declare const isHttpRequestField: (obj?: {
|
|
2280
|
+
__typename?: any;
|
|
2281
|
+
} | null) => obj is HttpRequestField;
|
|
2282
|
+
export declare const isAWSS3UploadUrl: (obj?: {
|
|
2283
|
+
__typename?: any;
|
|
2284
|
+
} | null) => obj is AWSS3UploadUrl;
|
|
2285
|
+
export declare const isAWSS3CallResult: (obj?: {
|
|
2286
|
+
__typename?: any;
|
|
2287
|
+
} | null) => obj is AWSS3CallResult;
|
|
2288
|
+
export declare const isCodeVerificationResponse: (obj?: {
|
|
2289
|
+
__typename?: any;
|
|
2290
|
+
} | null) => obj is CodeVerificationResponse;
|
|
2291
|
+
export declare const isBrandStats: (obj?: {
|
|
2292
|
+
__typename?: any;
|
|
2293
|
+
} | null) => obj is BrandStats;
|
|
2294
|
+
export declare const isBrandTranslation: (obj?: {
|
|
2295
|
+
__typename?: any;
|
|
2296
|
+
} | null) => obj is BrandTranslation;
|
|
392
2297
|
export declare const isBrand: (obj?: {
|
|
393
2298
|
__typename?: any;
|
|
394
2299
|
} | null) => obj is Brand;
|
|
395
|
-
export declare const
|
|
2300
|
+
export declare const isCity: (obj?: {
|
|
396
2301
|
__typename?: any;
|
|
397
|
-
} | null) => obj is
|
|
2302
|
+
} | null) => obj is City;
|
|
2303
|
+
export declare const isState: (obj?: {
|
|
2304
|
+
__typename?: any;
|
|
2305
|
+
} | null) => obj is State;
|
|
2306
|
+
export declare const isCountry: (obj?: {
|
|
2307
|
+
__typename?: any;
|
|
2308
|
+
} | null) => obj is Country;
|
|
2309
|
+
export declare const isAgeQualification: (obj?: {
|
|
2310
|
+
__typename?: any;
|
|
2311
|
+
} | null) => obj is AgeQualification;
|
|
2312
|
+
export declare const isGenderQualification: (obj?: {
|
|
2313
|
+
__typename?: any;
|
|
2314
|
+
} | null) => obj is GenderQualification;
|
|
2315
|
+
export declare const isScoreQualification: (obj?: {
|
|
2316
|
+
__typename?: any;
|
|
2317
|
+
} | null) => obj is ScoreQualification;
|
|
2318
|
+
export declare const isLocationQualification: (obj?: {
|
|
2319
|
+
__typename?: any;
|
|
2320
|
+
} | null) => obj is LocationQualification;
|
|
2321
|
+
export declare const isNationalityQualification: (obj?: {
|
|
2322
|
+
__typename?: any;
|
|
2323
|
+
} | null) => obj is NationalityQualification;
|
|
2324
|
+
export declare const isDistanceQualification: (obj?: {
|
|
2325
|
+
__typename?: any;
|
|
2326
|
+
} | null) => obj is DistanceQualification;
|
|
2327
|
+
export declare const isSportsQualification: (obj?: {
|
|
2328
|
+
__typename?: any;
|
|
2329
|
+
} | null) => obj is SportsQualification;
|
|
2330
|
+
export declare const isSportsLevelQualification: (obj?: {
|
|
2331
|
+
__typename?: any;
|
|
2332
|
+
} | null) => obj is SportsLevelQualification;
|
|
2333
|
+
export declare const isAthleteCriteria: (obj?: {
|
|
2334
|
+
__typename?: any;
|
|
2335
|
+
} | null) => obj is AthleteCriteria;
|
|
2336
|
+
export declare const isQualificationTypeUnion: (obj?: {
|
|
2337
|
+
__typename?: any;
|
|
2338
|
+
} | null) => obj is QualificationTypeUnion;
|
|
398
2339
|
export declare const isIndustry: (obj?: {
|
|
399
2340
|
__typename?: any;
|
|
400
2341
|
} | null) => obj is Industry;
|
|
2342
|
+
export declare const isSponsorStats: (obj?: {
|
|
2343
|
+
__typename?: any;
|
|
2344
|
+
} | null) => obj is SponsorStats;
|
|
2345
|
+
export declare const isSponsorBrand: (obj?: {
|
|
2346
|
+
__typename?: any;
|
|
2347
|
+
} | null) => obj is SponsorBrand;
|
|
2348
|
+
export declare const isSponsor: (obj?: {
|
|
2349
|
+
__typename?: any;
|
|
2350
|
+
} | null) => obj is Sponsor;
|
|
2351
|
+
export declare const isSponsorshipItem: (obj?: {
|
|
2352
|
+
__typename?: any;
|
|
2353
|
+
} | null) => obj is SponsorshipItem;
|
|
2354
|
+
export declare const isSponsorshipCommitment: (obj?: {
|
|
2355
|
+
__typename?: any;
|
|
2356
|
+
} | null) => obj is SponsorshipCommitment;
|
|
2357
|
+
export declare const isDuration: (obj?: {
|
|
2358
|
+
__typename?: any;
|
|
2359
|
+
} | null) => obj is Duration;
|
|
2360
|
+
export declare const isSponsorshipStats: (obj?: {
|
|
2361
|
+
__typename?: any;
|
|
2362
|
+
} | null) => obj is SponsorshipStats;
|
|
2363
|
+
export declare const isSponsorshipTranslation: (obj?: {
|
|
2364
|
+
__typename?: any;
|
|
2365
|
+
} | null) => obj is SponsorshipTranslation;
|
|
2366
|
+
export declare const isSponsorship: (obj?: {
|
|
2367
|
+
__typename?: any;
|
|
2368
|
+
} | null) => obj is Sponsorship;
|
|
2369
|
+
export declare const isFollowStats: (obj?: {
|
|
2370
|
+
__typename?: any;
|
|
2371
|
+
} | null) => obj is FollowStats;
|
|
2372
|
+
export declare const isSport: (obj?: {
|
|
2373
|
+
__typename?: any;
|
|
2374
|
+
} | null) => obj is Sport;
|
|
2375
|
+
export declare const isVtxScores: (obj?: {
|
|
2376
|
+
__typename?: any;
|
|
2377
|
+
} | null) => obj is VtxScores;
|
|
2378
|
+
export declare const isSportLevelTranslation: (obj?: {
|
|
2379
|
+
__typename?: any;
|
|
2380
|
+
} | null) => obj is SportLevelTranslation;
|
|
2381
|
+
export declare const isSportLevel: (obj?: {
|
|
2382
|
+
__typename?: any;
|
|
2383
|
+
} | null) => obj is SportLevel;
|
|
2384
|
+
export declare const isRanking: (obj?: {
|
|
2385
|
+
__typename?: any;
|
|
2386
|
+
} | null) => obj is Ranking;
|
|
2387
|
+
export declare const isAthleteRankings: (obj?: {
|
|
2388
|
+
__typename?: any;
|
|
2389
|
+
} | null) => obj is AthleteRankings;
|
|
2390
|
+
export declare const isTeam: (obj?: {
|
|
2391
|
+
__typename?: any;
|
|
2392
|
+
} | null) => obj is Team;
|
|
2393
|
+
export declare const isSportsEvent: (obj?: {
|
|
2394
|
+
__typename?: any;
|
|
2395
|
+
} | null) => obj is SportsEvent;
|
|
2396
|
+
export declare const isAthleteCompetitionResult: (obj?: {
|
|
2397
|
+
__typename?: any;
|
|
2398
|
+
} | null) => obj is AthleteCompetitionResult;
|
|
2399
|
+
export declare const isBudgetItem: (obj?: {
|
|
2400
|
+
__typename?: any;
|
|
2401
|
+
} | null) => obj is BudgetItem;
|
|
2402
|
+
export declare const isBudget: (obj?: {
|
|
2403
|
+
__typename?: any;
|
|
2404
|
+
} | null) => obj is Budget;
|
|
2405
|
+
export declare const isAthleteCompetition: (obj?: {
|
|
2406
|
+
__typename?: any;
|
|
2407
|
+
} | null) => obj is AthleteCompetition;
|
|
2408
|
+
export declare const isWorldLocation: (obj?: {
|
|
2409
|
+
__typename?: any;
|
|
2410
|
+
} | null) => obj is WorldLocation;
|
|
2411
|
+
export declare const isAthlete: (obj?: {
|
|
2412
|
+
__typename?: any;
|
|
2413
|
+
} | null) => obj is Athlete;
|
|
2414
|
+
export declare const isSponsorAthleteInvitation: (obj?: {
|
|
2415
|
+
__typename?: any;
|
|
2416
|
+
} | null) => obj is SponsorAthleteInvitation;
|
|
2417
|
+
export declare const isStravaToken: (obj?: {
|
|
2418
|
+
__typename?: any;
|
|
2419
|
+
} | null) => obj is StravaToken;
|
|
2420
|
+
export declare const isEditValueResponse: (obj?: {
|
|
2421
|
+
__typename?: any;
|
|
2422
|
+
} | null) => obj is EditValueResponse;
|
|
2423
|
+
export declare const isUserImages: (obj?: {
|
|
2424
|
+
__typename?: any;
|
|
2425
|
+
} | null) => obj is UserImages;
|
|
2426
|
+
export declare const isFundRaisingCampaign: (obj?: {
|
|
2427
|
+
__typename?: any;
|
|
2428
|
+
} | null) => obj is FundRaisingCampaign;
|
|
401
2429
|
export declare const isQuery: (obj?: {
|
|
402
2430
|
__typename?: any;
|
|
403
2431
|
} | null) => obj is Query;
|