@vertikalx/vtx-backend-client 1.0.0-dev.9 → 1.0.0-dev.91

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (73) hide show
  1. package/LICENSE.md +11 -11
  2. package/package.json +16 -16
  3. package/src/api/api-call-headers.d.ts +3 -3
  4. package/src/api/api-call-headers.js +3 -3
  5. package/src/api/api-call-headers.js.map +1 -1
  6. package/src/api/backend-response.d.ts +7 -1
  7. package/src/api/backend-response.js +0 -0
  8. package/src/api/backend-response.js.map +0 -0
  9. package/src/api/domains.d.ts +3 -0
  10. package/src/api/domains.js +7 -0
  11. package/src/api/domains.js.map +1 -0
  12. package/src/api/response-builder.d.ts +4 -0
  13. package/src/api/response-builder.js +123 -0
  14. package/src/api/response-builder.js.map +1 -0
  15. package/src/api/types.d.ts +2 -0
  16. package/src/api/types.js +3 -0
  17. package/src/api/types.js.map +1 -0
  18. package/src/api/vtx-apikey-api.d.ts +0 -0
  19. package/src/api/vtx-apikey-api.js +0 -0
  20. package/src/api/vtx-apikey-api.js.map +0 -0
  21. package/src/api/vtx-base-api.d.ts +90 -4
  22. package/src/api/vtx-base-api.js +6774 -115
  23. package/src/api/vtx-base-api.js.map +1 -1
  24. package/src/api/vtx-mobile-api.d.ts +0 -0
  25. package/src/api/vtx-mobile-api.js +0 -0
  26. package/src/api/vtx-mobile-api.js.map +0 -0
  27. package/src/api/vtx-web-browser-api.d.ts +0 -0
  28. package/src/api/vtx-web-browser-api.js +2 -2
  29. package/src/api/vtx-web-browser-api.js.map +1 -1
  30. package/src/api/vtx-web-server-api.d.ts +0 -0
  31. package/src/api/vtx-web-server-api.js +0 -0
  32. package/src/api/vtx-web-server-api.js.map +0 -0
  33. package/src/client/index.d.ts +0 -0
  34. package/src/client/index.js +0 -0
  35. package/src/client/index.js.map +0 -0
  36. package/src/client/runtime/batcher.d.ts +0 -0
  37. package/src/client/runtime/batcher.js +0 -0
  38. package/src/client/runtime/batcher.js.map +0 -0
  39. package/src/client/runtime/createClient.d.ts +4 -10
  40. package/src/client/runtime/createClient.js +0 -0
  41. package/src/client/runtime/createClient.js.map +0 -0
  42. package/src/client/runtime/error.d.ts +0 -0
  43. package/src/client/runtime/error.js +0 -0
  44. package/src/client/runtime/error.js.map +0 -0
  45. package/src/client/runtime/fetcher.d.ts +0 -0
  46. package/src/client/runtime/fetcher.js +0 -0
  47. package/src/client/runtime/fetcher.js.map +0 -0
  48. package/src/client/runtime/generateGraphqlOperation.d.ts +1 -1
  49. package/src/client/runtime/generateGraphqlOperation.js +0 -0
  50. package/src/client/runtime/generateGraphqlOperation.js.map +0 -0
  51. package/src/client/runtime/index.d.ts +0 -0
  52. package/src/client/runtime/index.js +0 -0
  53. package/src/client/runtime/index.js.map +0 -0
  54. package/src/client/runtime/linkTypeMap.d.ts +0 -0
  55. package/src/client/runtime/linkTypeMap.js +0 -0
  56. package/src/client/runtime/linkTypeMap.js.map +0 -0
  57. package/src/client/runtime/typeSelection.d.ts +0 -0
  58. package/src/client/runtime/typeSelection.js +0 -0
  59. package/src/client/runtime/typeSelection.js.map +0 -0
  60. package/src/client/runtime/types.d.ts +0 -0
  61. package/src/client/runtime/types.js +0 -0
  62. package/src/client/runtime/types.js.map +0 -0
  63. package/src/client/schema.d.ts +3683 -171
  64. package/src/client/schema.js +781 -44
  65. package/src/client/schema.js.map +1 -1
  66. package/src/client/types.d.ts +1971 -83
  67. package/src/client/types.js +5195 -250
  68. package/src/client/types.js.map +1 -1
  69. package/src/index.d.ts +3 -0
  70. package/src/index.js +3 -0
  71. package/src/index.js.map +1 -1
  72. package/tsconfig.lib.tsbuildinfo +1 -1
  73. package/src/client/schema.graphql +0 -170
@@ -1,177 +1,1354 @@
1
1
  export type Scalars = {
2
2
  String: string;
3
3
  Boolean: boolean;
4
+ DateTime: any;
5
+ Float: number;
6
+ JSONObject: any;
4
7
  };
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
8
  export interface User {
32
9
  _id: Scalars['String'];
33
10
  loginEmail: Scalars['String'];
34
11
  suspended: Scalars['Boolean'];
35
- domains: (Domain[] | null);
12
+ domains: (DomainCredential[] | null);
13
+ loginMethods: (Scalars['String'][] | null);
36
14
  __typename: 'User';
37
15
  }
38
16
  export interface UserWithToken {
39
17
  _id: Scalars['String'];
40
18
  loginEmail: Scalars['String'];
41
19
  suspended: Scalars['Boolean'];
42
- domains: (Domain[] | null);
20
+ domains: (DomainCredential[] | null);
21
+ loginMethods: (Scalars['String'][] | null);
43
22
  token: UserToken;
44
23
  __typename: 'UserWithToken';
45
24
  }
25
+ export interface BaseTenant {
26
+ _id: Scalars['String'];
27
+ name: Scalars['String'];
28
+ tenant_uri: Scalars['String'];
29
+ domain: Domain;
30
+ __typename: 'BaseTenant';
31
+ }
46
32
  export interface Tenant {
47
33
  _id: Scalars['String'];
48
34
  name: Scalars['String'];
49
- email: Scalars['String'];
50
35
  tenant_uri: Scalars['String'];
36
+ domain: Domain;
37
+ email: Scalars['String'];
38
+ owner: (User | null);
51
39
  __typename: 'Tenant';
52
40
  }
53
- export interface UriAvailableType {
54
- available: Scalars['Boolean'];
55
- valid: Scalars['Boolean'];
56
- __typename: 'UriAvailableType';
41
+ export interface Domain {
42
+ _id: Scalars['String'];
43
+ name: Scalars['String'];
44
+ description: (Scalars['String'] | null);
45
+ __typename: 'Domain';
57
46
  }
58
- export interface TenantWithUserLogin {
47
+ export interface DomainCredential {
59
48
  _id: Scalars['String'];
60
49
  name: Scalars['String'];
50
+ description: (Scalars['String'] | null);
51
+ tenant: (BaseTenant | null);
52
+ __typename: 'DomainCredential';
53
+ }
54
+ export interface UserToken {
55
+ actualToken: Scalars['String'];
56
+ refreshToken: Scalars['String'];
57
+ __typename: 'UserToken';
58
+ }
59
+ export interface DecodedToken {
60
+ tokenId: Scalars['String'];
61
+ systemId: Scalars['String'];
62
+ userId: Scalars['String'];
63
+ email: Scalars['String'];
64
+ refreshTokenId: Scalars['String'];
65
+ domains: DomainCredential[];
66
+ __typename: 'DecodedToken';
67
+ }
68
+ export interface DecodedRefreshToken {
69
+ userId: Scalars['String'];
61
70
  email: Scalars['String'];
71
+ originalTokenId: Scalars['String'];
72
+ __typename: 'DecodedRefreshToken';
73
+ }
74
+ export interface TenantWithUserLogin {
75
+ _id: Scalars['String'];
76
+ name: Scalars['String'];
62
77
  tenant_uri: Scalars['String'];
78
+ domain: Domain;
79
+ email: Scalars['String'];
80
+ owner: (User | null);
63
81
  user: UserWithToken;
64
82
  __typename: 'TenantWithUserLogin';
65
83
  }
66
- export interface TenantUserTokenWithInfo {
67
- actualToken: Scalars['String'];
68
- refreshToken: Scalars['String'];
69
- tenantId: Scalars['String'];
70
- tenantUri: Scalars['String'];
71
- loginEmail: Scalars['String'];
72
- __typename: 'TenantUserTokenWithInfo';
84
+ export interface UriAvailableType {
85
+ available: Scalars['Boolean'];
86
+ valid: Scalars['Boolean'];
87
+ __typename: 'UriAvailableType';
88
+ }
89
+ export interface Agreement {
90
+ _id: Scalars['String'];
91
+ kind: Scalars['String'];
92
+ domain: Scalars['String'];
93
+ isActiveAgreement: Scalars['Boolean'];
94
+ version: Scalars['String'];
95
+ publishedDate: (Scalars['DateTime'] | null);
96
+ unPublishedDate: (Scalars['DateTime'] | null);
97
+ locked: Scalars['Boolean'];
98
+ name: Scalars['String'];
99
+ description: (Scalars['String'] | null);
100
+ content: (Scalars['String'] | null);
101
+ createdDate: Scalars['DateTime'];
102
+ updatedDate: Scalars['DateTime'];
103
+ __typename: 'Agreement';
104
+ }
105
+ export interface BillEntity {
106
+ name: Scalars['String'];
107
+ taxId: (Scalars['String'] | null);
108
+ line1: (Scalars['String'] | null);
109
+ line2: (Scalars['String'] | null);
110
+ line3: (Scalars['String'] | null);
111
+ city: (Scalars['String'] | null);
112
+ state: (Scalars['String'] | null);
113
+ country: (Scalars['String'] | null);
114
+ zip: (Scalars['String'] | null);
115
+ __typename: 'BillEntity';
116
+ }
117
+ export interface InvoiceItem {
118
+ _id: Scalars['String'];
119
+ unitPrice: Scalars['Float'];
120
+ unitTax: Scalars['Float'];
121
+ quantity: Scalars['Float'];
122
+ unit: Scalars['String'];
123
+ itemPrice: Scalars['Float'];
124
+ itemTotal: Scalars['Float'];
125
+ __typename: 'InvoiceItem';
126
+ }
127
+ export interface Payment {
128
+ _id: Scalars['String'];
129
+ amount: Scalars['Float'];
130
+ currency: Scalars['String'];
131
+ datePaid: Scalars['DateTime'];
132
+ paymentComment: (Scalars['String'] | null);
133
+ transactionId: (Scalars['String'] | null);
134
+ processorType: (Scalars['String'] | null);
135
+ processorReference: (Scalars['String'] | null);
136
+ paidItemReference: (Scalars['String'] | null);
137
+ payeeReference: (Scalars['String'] | null);
138
+ payorReference: (Scalars['String'] | null);
139
+ paymentMethodType: (Scalars['String'] | null);
140
+ paymentMethodReference: (Scalars['String'] | null);
141
+ __typename: 'Payment';
142
+ }
143
+ export interface PlaFeature {
144
+ _id: Scalars['String'];
145
+ title: Scalars['String'];
146
+ description: (Scalars['String'] | null);
147
+ quantity: (Scalars['Float'] | null);
148
+ quantityUnit: (Scalars['String'] | null);
149
+ __typename: 'PlaFeature';
150
+ }
151
+ export interface Plan {
152
+ _id: Scalars['String'];
153
+ name: (Scalars['String'] | null);
154
+ description: (Scalars['String'] | null);
155
+ prices: PlanPrice[];
156
+ features: PlaFeature[];
157
+ isPublic: Scalars['Boolean'];
158
+ active: Scalars['Boolean'];
159
+ startOfferingDate: (Scalars['DateTime'] | null);
160
+ endOfferingDate: (Scalars['DateTime'] | null);
161
+ termsAndConditions: (Scalars['String'] | null);
162
+ __typename: 'Plan';
163
+ }
164
+ export interface PlanPrice {
165
+ _id: Scalars['String'];
166
+ currency: Scalars['String'];
167
+ price: Scalars['Float'];
168
+ taxMode: Scalars['String'];
169
+ period: Scalars['String'];
170
+ customDays: (Scalars['Float'] | null);
171
+ plan: (Plan | null);
172
+ __typename: 'PlanPrice';
173
+ }
174
+ export interface Invoice {
175
+ _id: Scalars['String'];
176
+ invoiceDate: Scalars['DateTime'];
177
+ billedEntity: BillEntity;
178
+ dueDate: Scalars['DateTime'];
179
+ billAmount: Scalars['Float'];
180
+ tax: Scalars['Float'];
181
+ total: Scalars['Float'];
182
+ currency: Scalars['String'];
183
+ items: (InvoiceItem[] | null);
184
+ payment: (Payment | null);
185
+ __typename: 'Invoice';
186
+ }
187
+ export interface SubscriptionInvoice {
188
+ _id: Scalars['String'];
189
+ invoice: Invoice;
190
+ billedPlan: PlanPrice;
191
+ subscriber: PlanSubscription;
192
+ __typename: 'SubscriptionInvoice';
193
+ }
194
+ export interface PlanSubscription {
195
+ _id: Scalars['String'];
196
+ currentPlan: PlanPrice;
197
+ billPrice: Scalars['Float'];
198
+ billCurrency: Scalars['String'];
199
+ billPriceComment: (Scalars['String'] | null);
200
+ lastBillDate: Scalars['DateTime'];
201
+ endAccessDate: Scalars['DateTime'];
202
+ autoRenew: Scalars['Boolean'];
203
+ autoRenewPlan: (PlanPrice | null);
204
+ autoRenewDate: Scalars['DateTime'];
205
+ payments: SubscriptionPayment[];
206
+ invoices: SubscriptionInvoice[];
207
+ __typename: 'PlanSubscription';
208
+ }
209
+ export interface SubscriptionPayment {
210
+ _id: Scalars['String'];
211
+ payment: Payment;
212
+ subscriber: PlanSubscription;
213
+ __typename: 'SubscriptionPayment';
214
+ }
215
+ export interface AWSS3File {
216
+ _id: Scalars['String'];
217
+ name: (Scalars['String'] | null);
218
+ contentType: (Scalars['String'] | null);
219
+ size: (Scalars['Float'] | null);
220
+ useType: (Scalars['String'] | null);
221
+ url: Scalars['String'];
222
+ key: Scalars['String'];
223
+ pendingDelete: Scalars['Boolean'];
224
+ __typename: 'AWSS3File';
225
+ }
226
+ export interface MagicLink {
227
+ _id: Scalars['String'];
228
+ code: Scalars['String'];
229
+ type: Scalars['String'];
230
+ url: Scalars['String'];
231
+ expires: (Scalars['DateTime'] | null);
232
+ data: (Scalars['String'] | null);
233
+ isExpired: Scalars['Boolean'];
234
+ __typename: 'MagicLink';
235
+ }
236
+ export interface VerificationCode {
237
+ _id: Scalars['String'];
238
+ type: (Scalars['String'] | null);
239
+ recipient: (Scalars['String'] | null);
240
+ expires: (Scalars['DateTime'] | null);
241
+ data: (Scalars['String'] | null);
242
+ isExpired: Scalars['Boolean'];
243
+ createdDate: Scalars['DateTime'];
244
+ __typename: 'VerificationCode';
245
+ }
246
+ export interface ErrorInfo {
247
+ errorCode: Scalars['Float'];
248
+ errorMessage: Scalars['String'];
249
+ __typename: 'ErrorInfo';
250
+ }
251
+ export interface HttpRequestField {
252
+ key: Scalars['String'];
253
+ value: Scalars['String'];
254
+ __typename: 'HttpRequestField';
255
+ }
256
+ export interface AWSS3UploadUrl {
257
+ uploadUrl: Scalars['String'];
258
+ fields: HttpRequestField[];
259
+ downloadUrl: Scalars['String'];
260
+ bucket: Scalars['String'];
261
+ key: Scalars['String'];
262
+ __typename: 'AWSS3UploadUrl';
263
+ }
264
+ export interface AWSS3CallResult {
265
+ httpStatus: Scalars['Float'];
266
+ result: Scalars['String'];
267
+ message: Scalars['String'];
268
+ errors: (Scalars['String'][] | null);
269
+ __typename: 'AWSS3CallResult';
270
+ }
271
+ export interface DatabaseFile {
272
+ _id: Scalars['String'];
273
+ identifier: Scalars['String'];
274
+ version: Scalars['String'];
275
+ contentType: Scalars['String'];
276
+ updated: Scalars['DateTime'];
277
+ created: Scalars['DateTime'];
278
+ __typename: 'DatabaseFile';
279
+ }
280
+ export interface TextDatabaseFile {
281
+ _id: Scalars['String'];
282
+ identifier: Scalars['String'];
283
+ version: Scalars['String'];
284
+ contentType: Scalars['String'];
285
+ updated: Scalars['DateTime'];
286
+ created: Scalars['DateTime'];
287
+ content: Scalars['String'];
288
+ __typename: 'TextDatabaseFile';
289
+ }
290
+ export interface CodeVerificationResponse {
291
+ result: Scalars['String'];
292
+ code: (VerificationCode | null);
293
+ error: (ErrorInfo | null);
294
+ __typename: 'CodeVerificationResponse';
295
+ }
296
+ export interface BrandStats {
297
+ campaigns: (Scalars['Float'] | null);
298
+ sponsorships: (Scalars['Float'] | null);
299
+ sports: (Scalars['Float'] | null);
300
+ athletes: (Scalars['Float'] | null);
301
+ __typename: 'BrandStats';
302
+ }
303
+ export interface BrandTranslation {
304
+ _id: Scalars['String'];
305
+ brandId: Scalars['String'];
306
+ language: Scalars['String'];
307
+ name: (Scalars['String'] | null);
308
+ slogan: (Scalars['String'] | null);
309
+ description: (Scalars['String'] | null);
310
+ logo: (AWSS3File | null);
311
+ banner: (AWSS3File | null);
312
+ __typename: 'BrandTranslation';
73
313
  }
74
314
  export interface Brand {
75
315
  _id: Scalars['String'];
76
316
  name: Scalars['String'];
317
+ slogan: (Scalars['String'] | null);
318
+ website: (Scalars['String'] | null);
77
319
  description: (Scalars['String'] | null);
78
320
  approved: Scalars['Boolean'];
79
321
  published: Scalars['Boolean'];
322
+ logo: (AWSS3File | null);
323
+ banner: (AWSS3File | null);
324
+ stats: (BrandStats | null);
325
+ operatorIds: (Scalars['String'][] | null);
326
+ translations: (BrandTranslation[] | null);
80
327
  __typename: 'Brand';
81
328
  }
329
+ export interface StravaTpiRideDto {
330
+ distanceKm: Scalars['Float'];
331
+ distanceKmLast: Scalars['Float'];
332
+ elapsedTimeMin: Scalars['Float'];
333
+ elapsedTimeMinLast: Scalars['Float'];
334
+ averageSpeedKmh: Scalars['Float'];
335
+ averageSpeedKmhLast: Scalars['Float'];
336
+ maxSpeedKmh: Scalars['Float'];
337
+ maxSpeedKmhLast: Scalars['Float'];
338
+ averageHeartRateBpm: Scalars['Float'];
339
+ averageHeartRateBpmLast: Scalars['Float'];
340
+ maxHeartRateBpm: Scalars['Float'];
341
+ maxHeartRateBpmLast: Scalars['Float'];
342
+ averageCadenceStm: Scalars['Float'];
343
+ averageCadenceStmLast: Scalars['Float'];
344
+ lastDate: (Scalars['DateTime'] | null);
345
+ country: (Scalars['String'] | null);
346
+ state: (Scalars['String'] | null);
347
+ city: (Scalars['String'] | null);
348
+ tpi: Scalars['Float'];
349
+ __typename: 'StravaTpiRideDto';
350
+ }
351
+ export interface StravaTpiRunDto {
352
+ distanceKm: Scalars['Float'];
353
+ distanceKmLast: Scalars['Float'];
354
+ elapsedTimeMin: Scalars['Float'];
355
+ elapsedTimeMinLast: Scalars['Float'];
356
+ averageSpeedKmh: Scalars['Float'];
357
+ averageSpeedKmhLast: Scalars['Float'];
358
+ maxSpeedKmh: Scalars['Float'];
359
+ maxSpeedKmhLast: Scalars['Float'];
360
+ averageHeartRateBpm: Scalars['Float'];
361
+ averageHeartRateBpmLast: Scalars['Float'];
362
+ maxHeartRateBpm: Scalars['Float'];
363
+ maxHeartRateBpmLast: Scalars['Float'];
364
+ averageCadenceStm: Scalars['Float'];
365
+ averageCadenceStmLast: Scalars['Float'];
366
+ elevHigh: Scalars['Float'];
367
+ elevHighLast: Scalars['Float'];
368
+ elevLow: Scalars['Float'];
369
+ elevLowLast: Scalars['Float'];
370
+ lastDate: (Scalars['DateTime'] | null);
371
+ country: (Scalars['String'] | null);
372
+ state: (Scalars['String'] | null);
373
+ city: (Scalars['String'] | null);
374
+ tpi: Scalars['Float'];
375
+ __typename: 'StravaTpiRunDto';
376
+ }
377
+ export interface StravaTpiSwimDto {
378
+ distanceKm: Scalars['Float'];
379
+ distanceKmLast: Scalars['Float'];
380
+ elapsedTimeMin: Scalars['Float'];
381
+ elapsedTimeMinLast: Scalars['Float'];
382
+ averageSpeedKmh: Scalars['Float'];
383
+ averageSpeedKmhLast: Scalars['Float'];
384
+ maxSpeedKmh: Scalars['Float'];
385
+ maxSpeedKmhLast: Scalars['Float'];
386
+ averageHeartRateBpm: Scalars['Float'];
387
+ averageHeartRateBpmLast: Scalars['Float'];
388
+ maxHeartRateBpm: Scalars['Float'];
389
+ maxHeartRateBpmLast: Scalars['Float'];
390
+ averageCadenceStm: Scalars['Float'];
391
+ averageCadenceStmLast: Scalars['Float'];
392
+ lastDate: (Scalars['DateTime'] | null);
393
+ country: (Scalars['String'] | null);
394
+ state: (Scalars['String'] | null);
395
+ city: (Scalars['String'] | null);
396
+ tpi: Scalars['Float'];
397
+ __typename: 'StravaTpiSwimDto';
398
+ }
399
+ export interface City {
400
+ _id: Scalars['String'];
401
+ name: Scalars['String'];
402
+ localizedName: Scalars['String'];
403
+ state: (State | null);
404
+ latitude: (Scalars['Float'] | null);
405
+ longitude: (Scalars['Float'] | null);
406
+ timezone: (Scalars['String'] | null);
407
+ __typename: 'City';
408
+ }
409
+ export interface State {
410
+ _id: Scalars['String'];
411
+ name: Scalars['String'];
412
+ country: (Country | null);
413
+ cities: (City[] | null);
414
+ __typename: 'State';
415
+ }
416
+ export interface Country {
417
+ _id: Scalars['String'];
418
+ name: Scalars['String'];
419
+ states: (State[] | null);
420
+ __typename: 'Country';
421
+ }
422
+ export interface AgeQualification {
423
+ type: Scalars['String'];
424
+ value: Scalars['Float'];
425
+ operator: Scalars['String'];
426
+ __typename: 'AgeQualification';
427
+ }
428
+ export interface GenderQualification {
429
+ type: Scalars['String'];
430
+ operator: Scalars['String'];
431
+ values: Scalars['String'][];
432
+ __typename: 'GenderQualification';
433
+ }
434
+ export interface ScoreQualification {
435
+ type: Scalars['String'];
436
+ scoreType: Scalars['String'];
437
+ operator: Scalars['String'];
438
+ value: Scalars['Float'];
439
+ __typename: 'ScoreQualification';
440
+ }
441
+ export interface LocationQualification {
442
+ type: Scalars['String'];
443
+ operator: Scalars['String'];
444
+ countries: Country[];
445
+ states: State[];
446
+ cities: City[];
447
+ __typename: 'LocationQualification';
448
+ }
449
+ export interface NationalityQualification {
450
+ type: Scalars['String'];
451
+ operator: Scalars['String'];
452
+ countries: Country[];
453
+ __typename: 'NationalityQualification';
454
+ }
455
+ export interface DistanceQualification {
456
+ type: Scalars['String'];
457
+ maxDistance: Scalars['Float'];
458
+ latitude: (Scalars['Float'] | null);
459
+ longitude: (Scalars['Float'] | null);
460
+ cityId: (Scalars['String'] | null);
461
+ __typename: 'DistanceQualification';
462
+ }
463
+ export interface SportsQualification {
464
+ type: Scalars['String'];
465
+ sports: Scalars['String'][];
466
+ operator: Scalars['String'];
467
+ __typename: 'SportsQualification';
468
+ }
469
+ export interface SportsLevelQualification {
470
+ type: Scalars['String'];
471
+ operator: Scalars['String'];
472
+ level: Scalars['String'];
473
+ __typename: 'SportsLevelQualification';
474
+ }
475
+ export interface AthleteCriteria {
476
+ _id: Scalars['String'];
477
+ label: (Scalars['String'] | null);
478
+ qualifications: (QualificationTypeUnion[] | null);
479
+ __typename: 'AthleteCriteria';
480
+ }
481
+ export type QualificationTypeUnion = (AgeQualification | GenderQualification | ScoreQualification | LocationQualification | NationalityQualification | DistanceQualification | SportsQualification | SportsLevelQualification) & {
482
+ __isUnion?: true;
483
+ };
484
+ export interface Industry {
485
+ _id: Scalars['String'];
486
+ name: Scalars['String'];
487
+ __typename: 'Industry';
488
+ }
489
+ export interface SponsorStats {
490
+ sponsoredAthletes: Scalars['Float'];
491
+ totalBrands: Scalars['Float'];
492
+ activeCampaigns: Scalars['Float'];
493
+ activeSponsorships: Scalars['Float'];
494
+ __typename: 'SponsorStats';
495
+ }
496
+ export interface SponsorBrand {
497
+ _id: Scalars['String'];
498
+ name: Scalars['String'];
499
+ slogan: (Scalars['String'] | null);
500
+ website: (Scalars['String'] | null);
501
+ description: (Scalars['String'] | null);
502
+ approved: Scalars['Boolean'];
503
+ published: Scalars['Boolean'];
504
+ logo: (AWSS3File | null);
505
+ banner: (AWSS3File | null);
506
+ stats: (BrandStats | null);
507
+ operatorIds: (Scalars['String'][] | null);
508
+ translations: (BrandTranslation[] | null);
509
+ sponsorBrandId: Scalars['String'];
510
+ authorizedUse: Scalars['Boolean'];
511
+ isAuthorizer: Scalars['Boolean'];
512
+ __typename: 'SponsorBrand';
513
+ }
82
514
  export interface Sponsor {
83
515
  _id: Scalars['String'];
84
516
  name: Scalars['String'];
85
517
  description: Scalars['String'];
518
+ tenant: Tenant;
519
+ industry: (Industry | null);
520
+ stats: (SponsorStats | null);
521
+ brands: (SponsorBrand[] | null);
522
+ sponsorships: (Sponsorship[] | null);
523
+ approved: Scalars['Boolean'];
86
524
  __typename: 'Sponsor';
87
525
  }
88
- export interface Industry {
526
+ export interface SponsorshipItem {
527
+ _id: Scalars['String'];
528
+ quantity: Scalars['Float'];
529
+ title: Scalars['String'];
530
+ value: Scalars['Float'];
531
+ type: Scalars['String'];
532
+ __typename: 'SponsorshipItem';
533
+ }
534
+ export interface SponsorshipCommitment {
535
+ _id: Scalars['String'];
536
+ title: Scalars['String'];
537
+ details: (Scalars['String'] | null);
538
+ hashTags: Scalars['String'];
539
+ media: Scalars['String'];
540
+ actionType: Scalars['String'];
541
+ frequency: (Scalars['Float'] | null);
542
+ periodicity: Scalars['String'];
543
+ autoMeasurable: Scalars['Boolean'];
544
+ __typename: 'SponsorshipCommitment';
545
+ }
546
+ export interface Duration {
547
+ length: Scalars['Float'];
548
+ unit: Scalars['String'];
549
+ __typename: 'Duration';
550
+ }
551
+ export interface SponsorshipStats {
552
+ totalSponsorships: (Scalars['Float'] | null);
553
+ totalApplications: (Scalars['Float'] | null);
554
+ newApplications: (Scalars['Float'] | null);
555
+ discardedApplications: (Scalars['Float'] | null);
556
+ selectedApplications: (Scalars['Float'] | null);
557
+ approvedApplications: (Scalars['Float'] | null);
558
+ grantedSponsorships: (Scalars['Float'] | null);
559
+ remainingSponsorships: (Scalars['Float'] | null);
560
+ __typename: 'SponsorshipStats';
561
+ }
562
+ export interface SponsorshipTranslation {
563
+ _id: Scalars['String'];
564
+ sponsorshipId: Scalars['String'];
565
+ language: Scalars['String'];
566
+ title: (Scalars['String'] | null);
567
+ description: (Scalars['String'] | null);
568
+ terms: (Scalars['String'] | null);
569
+ banner: (AWSS3File | null);
570
+ __typename: 'SponsorshipTranslation';
571
+ }
572
+ export interface Sponsorship {
573
+ _id: Scalars['String'];
574
+ title: Scalars['String'];
575
+ description: (Scalars['String'] | null);
576
+ cashValue: Scalars['Float'];
577
+ otherValue: Scalars['Float'];
578
+ brand: (Brand | null);
579
+ banner: (AWSS3File | null);
580
+ criteria: (AthleteCriteria | null);
581
+ deadline: (Scalars['DateTime'] | null);
582
+ startDate: (Scalars['DateTime'] | null);
583
+ duration: Duration;
584
+ sponsor: (Sponsor | null);
585
+ sponsorshipItems: (SponsorshipItem[] | null);
586
+ commitments: (SponsorshipCommitment[] | null);
587
+ terms: (Scalars['String'] | null);
588
+ stats: (SponsorshipStats | null);
589
+ isPrivate: Scalars['Boolean'];
590
+ approved: Scalars['Boolean'];
591
+ published: Scalars['Boolean'];
592
+ translations: (SponsorshipTranslation[] | null);
593
+ __typename: 'Sponsorship';
594
+ }
595
+ export interface FollowStats {
596
+ followers: Scalars['Float'];
597
+ followed: Scalars['Float'];
598
+ raves: Scalars['Float'];
599
+ favorites: Scalars['Float'];
600
+ __typename: 'FollowStats';
601
+ }
602
+ export interface Sport {
89
603
  _id: Scalars['String'];
90
604
  name: Scalars['String'];
91
- __typename: 'Industry';
605
+ __typename: 'Sport';
606
+ }
607
+ export interface VtxScores {
608
+ vtxScore: Scalars['Float'];
609
+ socialScore: Scalars['Float'];
610
+ trainingScore: Scalars['Float'];
611
+ competitionScore: Scalars['Float'];
612
+ __typename: 'VtxScores';
613
+ }
614
+ export interface SportLevelTranslation {
615
+ _id: Scalars['String'];
616
+ language: Scalars['String'];
617
+ label: Scalars['String'];
618
+ __typename: 'SportLevelTranslation';
619
+ }
620
+ export interface SportLevel {
621
+ _id: Scalars['String'];
622
+ label: Scalars['String'];
623
+ index: Scalars['Float'];
624
+ translations: (SportLevelTranslation[] | null);
625
+ __typename: 'SportLevel';
626
+ }
627
+ export interface Ranking {
628
+ scope: Scalars['String'];
629
+ scopeId: Scalars['String'];
630
+ scopeName: Scalars['String'];
631
+ position: Scalars['Float'];
632
+ total: Scalars['Float'];
633
+ __typename: 'Ranking';
634
+ }
635
+ export interface AthleteRankings {
636
+ worldRanking: (Ranking | null);
637
+ countryRanking: (Ranking | null);
638
+ stateRanking: (Ranking | null);
639
+ cityRanking: (Ranking | null);
640
+ __typename: 'AthleteRankings';
641
+ }
642
+ export interface Team {
643
+ _id: Scalars['String'];
644
+ name: Scalars['String'];
645
+ description: (Scalars['String'] | null);
646
+ sports: (Sport[] | null);
647
+ approved: (Scalars['Boolean'] | null);
648
+ logo: (AWSS3File | null);
649
+ banner: (AWSS3File | null);
650
+ __typename: 'Team';
651
+ }
652
+ export interface WorldLocation {
653
+ _id: Scalars['String'];
654
+ userProvidedLatitude: (Scalars['Float'] | null);
655
+ userProvidedLongitude: (Scalars['Float'] | null);
656
+ cityNameGeocode: (Scalars['String'] | null);
657
+ stateNameGeocode: (Scalars['String'] | null);
658
+ countryIso2CodeGeocode: (Scalars['String'] | null);
659
+ timeZoneGeocode: (Scalars['String'] | null);
660
+ latitudeGeocode: (Scalars['Float'] | null);
661
+ longitudeGeocode: (Scalars['Float'] | null);
662
+ city: (City | null);
663
+ __typename: 'WorldLocation';
664
+ }
665
+ export interface SportsEvent {
666
+ _id: Scalars['String'];
667
+ name: Scalars['String'];
668
+ mainSport: (Sport | null);
669
+ eventWebSite: (Scalars['String'] | null);
670
+ startDate: Scalars['DateTime'];
671
+ endDate: (Scalars['DateTime'] | null);
672
+ verified: Scalars['Boolean'];
673
+ banner: (AWSS3File | null);
674
+ location: (WorldLocation | null);
675
+ __typename: 'SportsEvent';
676
+ }
677
+ export interface AthleteCompetitionResult {
678
+ _id: Scalars['String'];
679
+ resultType: Scalars['String'];
680
+ position: (Scalars['Float'] | null);
681
+ score: (Scalars['String'] | null);
682
+ finishTimeMS: (Scalars['Float'] | null);
683
+ resultWebLink: (Scalars['String'] | null);
684
+ __typename: 'AthleteCompetitionResult';
685
+ }
686
+ export interface BudgetItem {
687
+ _id: Scalars['String'];
688
+ quantity: Scalars['Float'];
689
+ concept: Scalars['String'];
690
+ itemCost: Scalars['Float'];
691
+ __typename: 'BudgetItem';
692
+ }
693
+ export interface Budget {
694
+ _id: Scalars['String'];
695
+ initialFunds: Scalars['Float'];
696
+ totalRequired: Scalars['Float'];
697
+ items: (BudgetItem[] | null);
698
+ __typename: 'Budget';
699
+ }
700
+ export interface AthleteCompetition {
701
+ _id: Scalars['String'];
702
+ event: SportsEvent;
703
+ participationDate: (Scalars['DateTime'] | null);
704
+ competitionNumber: (Scalars['String'] | null);
705
+ result: (AthleteCompetitionResult | null);
706
+ fundRaisingCampaignIds: (Scalars['String'][] | null);
707
+ budget: (Budget | null);
708
+ __typename: 'AthleteCompetition';
709
+ }
710
+ export interface MembershipOrganizationReference {
711
+ _id: Scalars['String'];
712
+ shortName: (Scalars['String'] | null);
713
+ acronym: (Scalars['String'] | null);
714
+ fullName: Scalars['String'];
715
+ website: (Scalars['String'] | null);
716
+ verified: Scalars['Boolean'];
717
+ logo: (AWSS3File | null);
718
+ country: (Country | null);
719
+ sport: (Sport | null);
720
+ __typename: 'MembershipOrganizationReference';
721
+ }
722
+ export interface MembershipOrganization {
723
+ _id: Scalars['String'];
724
+ shortName: (Scalars['String'] | null);
725
+ acronym: (Scalars['String'] | null);
726
+ fullName: Scalars['String'];
727
+ website: (Scalars['String'] | null);
728
+ verified: Scalars['Boolean'];
729
+ logo: (AWSS3File | null);
730
+ country: (Country | null);
731
+ sport: (Sport | null);
732
+ memberships: (AthleteMembership[] | null);
733
+ __typename: 'MembershipOrganization';
734
+ }
735
+ export interface AthleteMembership {
736
+ _id: Scalars['String'];
737
+ organization: MembershipOrganizationReference;
738
+ athlete: AthleteReference;
739
+ membershipNumber: (Scalars['String'] | null);
740
+ membershipType: (Scalars['String'] | null);
741
+ issueDate: (Scalars['DateTime'] | null);
742
+ expirationDate: (Scalars['DateTime'] | null);
743
+ __typename: 'AthleteMembership';
744
+ }
745
+ export interface NewsLink {
746
+ _id: Scalars['String'];
747
+ title: Scalars['String'];
748
+ url: Scalars['String'];
749
+ abstract: (Scalars['String'] | null);
750
+ __typename: 'NewsLink';
751
+ }
752
+ export interface Channel {
753
+ _id: Scalars['String'];
754
+ type: Scalars['String'];
755
+ handle: (Scalars['String'] | null);
756
+ url: Scalars['String'];
757
+ linked: Scalars['Boolean'];
758
+ __typename: 'Channel';
759
+ }
760
+ export interface PhotoAlbum {
761
+ _id: Scalars['String'];
762
+ photo: (AWSS3File | null);
763
+ __typename: 'PhotoAlbum';
764
+ }
765
+ export interface Album {
766
+ _id: Scalars['String'];
767
+ label: Scalars['String'];
768
+ description: (Scalars['String'] | null);
769
+ photos: (PhotoAlbum[] | null);
770
+ __typename: 'Album';
771
+ }
772
+ export interface AthletePreferences {
773
+ _id: Scalars['String'];
774
+ showProfileHelper: Scalars['Boolean'];
775
+ defaultAlbum: (Album | null);
776
+ __typename: 'AthletePreferences';
777
+ }
778
+ export interface FundRaisingCampaign {
779
+ _id: Scalars['String'];
780
+ athlete: AthleteReference;
781
+ budgetMode: Scalars['String'];
782
+ status: Scalars['String'];
783
+ title: Scalars['String'];
784
+ motivation: (Scalars['String'] | null);
785
+ website: (Scalars['String'] | null);
786
+ fundsRequired: Scalars['Float'];
787
+ initialFundsObtained: Scalars['Float'];
788
+ fundsObtained: Scalars['Float'];
789
+ location: (WorldLocation | null);
790
+ endingDate: Scalars['DateTime'];
791
+ budget: (Budget | null);
792
+ competitions: (AthleteCompetition[] | null);
793
+ vtxComissionPct: Scalars['Float'];
794
+ __typename: 'FundRaisingCampaign';
795
+ }
796
+ export interface StripeCapabilityType {
797
+ acss_debit_payments: (Scalars['String'] | null);
798
+ affirm_payments: (Scalars['String'] | null);
799
+ afterpay_clearpay_payments: (Scalars['String'] | null);
800
+ alma_payments: (Scalars['String'] | null);
801
+ amazon_pay_payments: (Scalars['String'] | null);
802
+ au_becs_debit_payments: (Scalars['String'] | null);
803
+ bacs_debit_payments: (Scalars['String'] | null);
804
+ bancontact_payments: (Scalars['String'] | null);
805
+ bank_transfer_payments: (Scalars['String'] | null);
806
+ blik_payments: (Scalars['String'] | null);
807
+ boleto_payments: (Scalars['String'] | null);
808
+ card_issuing: (Scalars['String'] | null);
809
+ card_payments: (Scalars['String'] | null);
810
+ cartes_bancaires_payments: (Scalars['String'] | null);
811
+ cashapp_payments: (Scalars['String'] | null);
812
+ eps_payments: (Scalars['String'] | null);
813
+ fpx_payments: (Scalars['String'] | null);
814
+ gb_bank_transfer_payments: (Scalars['String'] | null);
815
+ giropay_payments: (Scalars['String'] | null);
816
+ grabpay_payments: (Scalars['String'] | null);
817
+ ideal_payments: (Scalars['String'] | null);
818
+ india_international_payments: (Scalars['String'] | null);
819
+ jcb_payments: (Scalars['String'] | null);
820
+ jp_bank_transfer_payments: (Scalars['String'] | null);
821
+ kakao_pay_payments: (Scalars['String'] | null);
822
+ klarna_payments: (Scalars['String'] | null);
823
+ konbini_payments: (Scalars['String'] | null);
824
+ kr_card_payments: (Scalars['String'] | null);
825
+ legacy_payments: (Scalars['String'] | null);
826
+ link_payments: (Scalars['String'] | null);
827
+ mobilepay_payments: (Scalars['String'] | null);
828
+ multibanco_payments: (Scalars['String'] | null);
829
+ mx_bank_transfer_payments: (Scalars['String'] | null);
830
+ naver_pay_payments: (Scalars['String'] | null);
831
+ oxxo_payments: (Scalars['String'] | null);
832
+ p24_payments: (Scalars['String'] | null);
833
+ pay_by_bank_payments: (Scalars['String'] | null);
834
+ payco_payments: (Scalars['String'] | null);
835
+ paynow_payments: (Scalars['String'] | null);
836
+ promptpay_payments: (Scalars['String'] | null);
837
+ revolut_pay_payments: (Scalars['String'] | null);
838
+ samsung_pay_payments: (Scalars['String'] | null);
839
+ sepa_bank_transfer_payments: (Scalars['String'] | null);
840
+ sepa_debit_payments: (Scalars['String'] | null);
841
+ sofort_payments: (Scalars['String'] | null);
842
+ swish_payments: (Scalars['String'] | null);
843
+ tax_reporting_us_1099_k: (Scalars['String'] | null);
844
+ tax_reporting_us_1099_misc: (Scalars['String'] | null);
845
+ transfers: (Scalars['String'] | null);
846
+ treasury: (Scalars['String'] | null);
847
+ twint_payments: (Scalars['String'] | null);
848
+ us_bank_account_ach_payments: (Scalars['String'] | null);
849
+ us_bank_transfer_payments: (Scalars['String'] | null);
850
+ zip_payments: (Scalars['String'] | null);
851
+ __typename: 'StripeCapabilityType';
852
+ }
853
+ export interface StripeRequirementAlternativeType {
854
+ alternative_fields_due: Scalars['String'][];
855
+ original_fields_due: Scalars['String'][];
856
+ __typename: 'StripeRequirementAlternativeType';
857
+ }
858
+ export interface StripeFutureRequirementAlternativeType {
859
+ alternative_fields_due: Scalars['String'][];
860
+ original_fields_due: Scalars['String'][];
861
+ __typename: 'StripeFutureRequirementAlternativeType';
862
+ }
863
+ export interface StripeErrorType {
864
+ code: Scalars['String'];
865
+ reason: Scalars['String'];
866
+ requirement: Scalars['String'];
867
+ __typename: 'StripeErrorType';
868
+ }
869
+ export interface StripeRequirementType {
870
+ alternatives: (StripeRequirementAlternativeType[] | null);
871
+ current_deadline: (Scalars['DateTime'] | null);
872
+ currently_due: (Scalars['String'][] | null);
873
+ disabled_reason: (Scalars['String'] | null);
874
+ errors: (StripeErrorType[] | null);
875
+ eventually_due: (Scalars['String'][] | null);
876
+ past_due: (Scalars['String'][] | null);
877
+ pending_verification: (Scalars['String'][] | null);
878
+ __typename: 'StripeRequirementType';
879
+ }
880
+ export interface StripeFutureRequirementType {
881
+ alternatives: (StripeFutureRequirementAlternativeType[] | null);
882
+ current_deadline: (Scalars['DateTime'] | null);
883
+ currently_due: (Scalars['String'][] | null);
884
+ disabled_reason: (Scalars['String'] | null);
885
+ errors: (StripeErrorType[] | null);
886
+ eventually_due: (Scalars['String'][] | null);
887
+ past_due: (Scalars['String'][] | null);
888
+ pending_verification: (Scalars['String'][] | null);
889
+ __typename: 'StripeFutureRequirementType';
890
+ }
891
+ export interface StripeAccount {
892
+ id: Scalars['String'];
893
+ object: Scalars['String'];
894
+ business_type: (Scalars['String'] | null);
895
+ country: Scalars['String'];
896
+ email: (Scalars['String'] | null);
897
+ capabilities: (StripeCapabilityType | null);
898
+ requirements: (StripeRequirementType | null);
899
+ future_requirements: (StripeFutureRequirementType | null);
900
+ type: Scalars['String'];
901
+ charges_enabled: Scalars['Boolean'];
902
+ payouts_enabled: Scalars['Boolean'];
903
+ created: (Scalars['DateTime'] | null);
904
+ default_currency: (Scalars['String'] | null);
905
+ __typename: 'StripeAccount';
906
+ }
907
+ export interface StripeAccountReference {
908
+ _id: Scalars['String'];
909
+ stripeAccountId: Scalars['String'];
910
+ account: (StripeAccount | null);
911
+ __typename: 'StripeAccountReference';
912
+ }
913
+ export interface AthleteReference {
914
+ _id: Scalars['String'];
915
+ firstName: Scalars['String'];
916
+ lastName: Scalars['String'];
917
+ screenName: (Scalars['String'] | null);
918
+ dob: (Scalars['DateTime'] | null);
919
+ lgbt: (Scalars['Boolean'] | null);
920
+ competitionGender: (Scalars['String'] | null);
921
+ country: (Country | null);
922
+ location: (WorldLocation | null);
923
+ trainer: (Scalars['String'] | null);
924
+ trainerUrl: (Scalars['String'] | null);
925
+ followStats: (FollowStats | null);
926
+ mainSport: Sport;
927
+ mainSportLevel: SportLevel;
928
+ scores: VtxScores;
929
+ rankings: (AthleteRankings | null);
930
+ totalUpcomingCompetitions: (Scalars['Float'] | null);
931
+ totalPastCompetitions: (Scalars['Float'] | null);
932
+ profilePicture: (AWSS3File | null);
933
+ cardPicture: (AWSS3File | null);
934
+ bannerPicture: (AWSS3File | null);
935
+ aboutMe: (Scalars['String'] | null);
936
+ preferences: AthletePreferences;
937
+ __typename: 'AthleteReference';
938
+ }
939
+ export interface Athlete {
940
+ _id: Scalars['String'];
941
+ firstName: Scalars['String'];
942
+ lastName: Scalars['String'];
943
+ screenName: (Scalars['String'] | null);
944
+ dob: (Scalars['DateTime'] | null);
945
+ lgbt: (Scalars['Boolean'] | null);
946
+ competitionGender: (Scalars['String'] | null);
947
+ country: (Country | null);
948
+ location: (WorldLocation | null);
949
+ trainer: (Scalars['String'] | null);
950
+ trainerUrl: (Scalars['String'] | null);
951
+ followStats: (FollowStats | null);
952
+ mainSport: Sport;
953
+ mainSportLevel: SportLevel;
954
+ scores: VtxScores;
955
+ rankings: (AthleteRankings | null);
956
+ totalUpcomingCompetitions: (Scalars['Float'] | null);
957
+ totalPastCompetitions: (Scalars['Float'] | null);
958
+ profilePicture: (AWSS3File | null);
959
+ cardPicture: (AWSS3File | null);
960
+ bannerPicture: (AWSS3File | null);
961
+ aboutMe: (Scalars['String'] | null);
962
+ preferences: AthletePreferences;
963
+ allSports: (Sport[] | null);
964
+ teams: (Team[] | null);
965
+ sponsorBrands: (Brand[] | null);
966
+ competitions: (AthleteCompetition[] | null);
967
+ affiliations: (AthleteMembership[] | null);
968
+ newsLinks: (NewsLink[] | null);
969
+ channels: (Channel[] | null);
970
+ currentCampaign: (FundRaisingCampaign | null);
971
+ fundingCampaigns: (FundRaisingCampaign[] | null);
972
+ stripeAccountReference: (StripeAccountReference | null);
973
+ albums: (Album[] | null);
974
+ __typename: 'Athlete';
975
+ }
976
+ export interface SponsorAthleteInvitation {
977
+ _id: Scalars['String'];
978
+ name: (Scalars['String'] | null);
979
+ email: Scalars['String'];
980
+ dateSent: Scalars['DateTime'];
981
+ sponsor: Sponsor;
982
+ magicLink: MagicLink;
983
+ brand: (Brand | null);
984
+ status: Scalars['String'];
985
+ __typename: 'SponsorAthleteInvitation';
986
+ }
987
+ export interface StravaToken {
988
+ token_type: Scalars['String'];
989
+ expires_at: Scalars['String'];
990
+ refresh_token: Scalars['String'];
991
+ access_token: Scalars['String'];
992
+ __typename: 'StravaToken';
993
+ }
994
+ export interface StripeSession {
995
+ account: Scalars['String'];
996
+ client_secret: Scalars['String'];
997
+ expires_at: Scalars['Float'];
998
+ livemode: Scalars['Boolean'];
999
+ __typename: 'StripeSession';
1000
+ }
1001
+ export interface StripeCheckoutSession {
1002
+ client_secret: Scalars['String'];
1003
+ expires_at: Scalars['Float'];
1004
+ livemode: Scalars['Boolean'];
1005
+ __typename: 'StripeCheckoutSession';
1006
+ }
1007
+ export interface StravaAthleteData {
1008
+ id: Scalars['Float'];
1009
+ username: (Scalars['String'] | null);
1010
+ firstname: Scalars['String'];
1011
+ lastname: Scalars['String'];
1012
+ bio: (Scalars['String'] | null);
1013
+ city: (Scalars['String'] | null);
1014
+ state: (Scalars['String'] | null);
1015
+ country: (Scalars['String'] | null);
1016
+ sex: (Scalars['String'] | null);
1017
+ premium: Scalars['Boolean'];
1018
+ profile: (Scalars['String'] | null);
1019
+ created_at: (Scalars['String'] | null);
1020
+ updated_at: (Scalars['String'] | null);
1021
+ weight: (Scalars['Float'] | null);
1022
+ __typename: 'StravaAthleteData';
1023
+ }
1024
+ export interface InstagramCursors {
1025
+ before: (Scalars['String'] | null);
1026
+ after: (Scalars['String'] | null);
1027
+ __typename: 'InstagramCursors';
1028
+ }
1029
+ export interface InstagramPaging {
1030
+ cursors: (InstagramCursors | null);
1031
+ next: (Scalars['String'] | null);
1032
+ __typename: 'InstagramPaging';
1033
+ }
1034
+ export interface InstagramMetric {
1035
+ name: Scalars['String'];
1036
+ period: Scalars['String'];
1037
+ values: Scalars['String'];
1038
+ __typename: 'InstagramMetric';
1039
+ }
1040
+ export interface InstagramInsights {
1041
+ data: (InstagramMetric[] | null);
1042
+ __typename: 'InstagramInsights';
1043
+ }
1044
+ export interface InstagramMediaItem {
1045
+ id: Scalars['String'];
1046
+ caption: (Scalars['String'] | null);
1047
+ media_type: Scalars['String'];
1048
+ media_url: (Scalars['String'] | null);
1049
+ permalink: Scalars['String'];
1050
+ thumbnail_url: (Scalars['String'] | null);
1051
+ timestamp: Scalars['String'];
1052
+ username: Scalars['String'];
1053
+ like_count: (Scalars['Float'] | null);
1054
+ comments_count: (Scalars['Float'] | null);
1055
+ insights: (InstagramInsights | null);
1056
+ __typename: 'InstagramMediaItem';
1057
+ }
1058
+ export interface InstagramMediaData {
1059
+ data: (InstagramMediaItem[] | null);
1060
+ paging: (InstagramPaging | null);
1061
+ __typename: 'InstagramMediaData';
1062
+ }
1063
+ export interface InstagramUserData {
1064
+ user_id: Scalars['String'];
1065
+ username: Scalars['String'];
1066
+ name: (Scalars['String'] | null);
1067
+ account_type: (Scalars['String'] | null);
1068
+ followers_count: (Scalars['String'] | null);
1069
+ media_count: (Scalars['Float'] | null);
1070
+ __typename: 'InstagramUserData';
1071
+ }
1072
+ export interface AthleteIntegrationReference {
1073
+ _id: Scalars['String'];
1074
+ athlete: AthleteReference;
1075
+ hasStravaIntegration: (Scalars['Boolean'] | null);
1076
+ stravaTokenExpires: (Scalars['DateTime'] | null);
1077
+ stravaAthleteData: (StravaAthleteData | null);
1078
+ hasInstagramIntegration: (Scalars['Boolean'] | null);
1079
+ instagramTokenExpires: (Scalars['DateTime'] | null);
1080
+ instagramUserData: (InstagramUserData | null);
1081
+ instagramMediaData: (InstagramMediaData | null);
1082
+ __typename: 'AthleteIntegrationReference';
1083
+ }
1084
+ export interface EditValueResponse {
1085
+ field: Scalars['String'];
1086
+ oldValue: (Scalars['String'] | null);
1087
+ newValue: (Scalars['String'] | null);
1088
+ changed: Scalars['Boolean'];
1089
+ __typename: 'EditValueResponse';
1090
+ }
1091
+ export interface ErrorType {
1092
+ code: Scalars['Float'];
1093
+ message: Scalars['String'];
1094
+ __typename: 'ErrorType';
1095
+ }
1096
+ export interface DeleteValuesResponse {
1097
+ deleted: Scalars['String'][];
1098
+ failedToDelete: Scalars['String'][];
1099
+ failureReason: ErrorType[];
1100
+ result: Scalars['String'];
1101
+ __typename: 'DeleteValuesResponse';
1102
+ }
1103
+ export interface DeleteSingleValueResponse {
1104
+ idToDelete: Scalars['String'];
1105
+ deleted: Scalars['Boolean'];
1106
+ failureReason: (ErrorType | null);
1107
+ __typename: 'DeleteSingleValueResponse';
1108
+ }
1109
+ export interface SortOrder {
1110
+ sortField: Scalars['String'];
1111
+ order: Scalars['String'];
1112
+ __typename: 'SortOrder';
1113
+ }
1114
+ export interface CursorPaginationResponse {
1115
+ sort: (SortOrder | null);
1116
+ initialCursorId: (Scalars['String'] | null);
1117
+ nextCursorId: (Scalars['String'] | null);
1118
+ initialCursorValue: (Scalars['String'] | null);
1119
+ nextCursorValue: (Scalars['String'] | null);
1120
+ limit: Scalars['Float'];
1121
+ retrieved: Scalars['Float'];
1122
+ isLastPage: Scalars['Boolean'];
1123
+ __typename: 'CursorPaginationResponse';
1124
+ }
1125
+ export interface AthleteQueryResponse {
1126
+ athletes: Athlete[];
1127
+ cursor: CursorPaginationResponse;
1128
+ __typename: 'AthleteQueryResponse';
1129
+ }
1130
+ export interface EditPictureResponse {
1131
+ field: Scalars['String'];
1132
+ oldValue: (AWSS3File | null);
1133
+ newValue: (AWSS3File | null);
1134
+ changed: Scalars['Boolean'];
1135
+ __typename: 'EditPictureResponse';
1136
+ }
1137
+ export interface AddValuesResponse {
1138
+ added: Scalars['String'][];
1139
+ failedToAdd: (Scalars['String'][] | null);
1140
+ failureReason: (ErrorType[] | null);
1141
+ result: Scalars['String'];
1142
+ __typename: 'AddValuesResponse';
1143
+ }
1144
+ export interface StripeObject {
1145
+ type: Scalars['String'];
1146
+ json: Scalars['JSONObject'];
1147
+ __typename: 'StripeObject';
1148
+ }
1149
+ export interface UserImages {
1150
+ profilePictureUrl: (Scalars['String'] | null);
1151
+ cardPictureUrl: (Scalars['String'] | null);
1152
+ bannerPictureUrl: (Scalars['String'] | null);
1153
+ __typename: 'UserImages';
92
1154
  }
93
1155
  export interface Query {
94
- tenant: Tenant;
95
- tenantByEmail: Tenant;
96
- tenants: Tenant[];
1156
+ findTenantById: Tenant;
1157
+ findTenantByEmail: Tenant;
1158
+ getTenants: Tenant[];
97
1159
  isTenantUriAvailable: UriAvailableType;
98
- tenantApiKeys: ApiKey[];
99
- nontenantedUserById: User;
100
- nontenantedUserByEmail: User;
1160
+ findUserById: User;
1161
+ findUserByEmail: User;
1162
+ validateUserCredentials: User;
1163
+ getUploadUrl: AWSS3UploadUrl;
101
1164
  industries: Industry[];
102
1165
  findIndustryById: Industry;
103
1166
  brands: Brand[];
1167
+ getBrandByName: Brand;
1168
+ getBrandTranslation: BrandTranslation;
104
1169
  existsValidSponsorForEmail: Sponsor;
105
1170
  sponsors: Sponsor[];
1171
+ findSponsorAthleteInvitation: SponsorAthleteInvitation;
1172
+ getAthletes: Athlete[];
1173
+ queryAthleteFundingCampaigns: AthleteQueryResponse;
1174
+ searchAthletes: Athlete[];
1175
+ findAthleteById: Athlete;
1176
+ findAthleteForUser: Athlete;
1177
+ getRecommendedAthletes: Athlete[];
1178
+ getSponsorAthletesForTenant: Athlete[];
1179
+ getAthleteCompetitions: AthleteCompetition[];
1180
+ getAthleteMemberships: AthleteMembership[];
1181
+ findAthletebyIdpublic: Athlete;
1182
+ getAthleteAlbums: Album[];
1183
+ getAndSetAlbumById: Album;
1184
+ getAthleteAlbumId: Album;
1185
+ queryAthleteWithFilter: AthleteQueryResponse;
1186
+ getSports: Sport[];
1187
+ findSportById: Sport;
1188
+ getSportLevels: SportLevel[];
1189
+ getPublicSponsorships: Sponsorship[];
1190
+ getTenantSponsorships: Sponsorship[];
1191
+ getCountries: Country[];
1192
+ getCountryStates: State[];
1193
+ getStates: State[];
1194
+ getStateCities: City[];
1195
+ findCitiesStartingWith: City[];
1196
+ findCityById: City;
1197
+ findVtxUser: User;
1198
+ validateUserCredentialsVtx: User;
1199
+ getUserImagesFromEmail: UserImages;
1200
+ getResetVerificationCode: VerificationCode;
1201
+ verifyCode: CodeVerificationResponse;
1202
+ getStravaLoginUrl: Scalars['String'];
1203
+ getSportsEvents: SportsEvent[];
1204
+ getMembershipOrganizations: MembershipOrganizationReference[];
1205
+ getAthleteStravaIntegration: AthleteIntegrationReference;
1206
+ getAthleteInstagramIntegration: AthleteIntegrationReference;
1207
+ getAthleteIntegrations: AthleteIntegrationReference;
1208
+ stripeQuery: StripeObject;
1209
+ getDatabaseTextFile: TextDatabaseFile;
106
1210
  __typename: 'Query';
107
1211
  }
108
1212
  export interface Mutation {
109
- createTenant: Tenant;
110
- createTenantApiKey: ApiKey;
111
- createTenantApiKeyWithSystemKey: ApiKeyWithValue;
112
- createTenantWithLogin: TenantWithUserLogin;
113
- createTenantUserToken: TenantUserTokenWithInfo;
114
- createTenantUserTokenFromEmailAndUri: TenantUserTokenWithInfo;
115
- createNonTenantedUserWithLogin: UserWithToken;
116
- createNonTenantUserTokenFromEmail: UserToken;
1213
+ registerNewDomainTenant: Tenant;
1214
+ registerNewDomainTenantWithLogin: TenantWithUserLogin;
1215
+ createUserAndLogin: UserWithToken;
1216
+ loginUserFromEmail: UserToken;
1217
+ loginUserFromCredentials: UserWithToken;
1218
+ registerUserToDomainFromEmail: User;
1219
+ refreshToken: UserToken;
1220
+ deleteUploadedUseTypeFile: AWSS3CallResult;
1221
+ deleteUploadedBucketFile: AWSS3CallResult;
1222
+ deleteUploadedTypeKeyFile: AWSS3CallResult;
1223
+ registerS3UploadedFile: AWSS3File;
117
1224
  createIndustry: Industry;
118
1225
  createBrand: Brand;
119
1226
  registerSponsor: Sponsor;
120
1227
  createSponsor: Sponsor;
1228
+ sendAthleteInvitations: SponsorAthleteInvitation[];
1229
+ registerAthlete: Athlete;
1230
+ editProfileValue: EditValueResponse;
1231
+ editPicture: EditPictureResponse;
1232
+ AddAlbumPictures: AddValuesResponse;
1233
+ addAthleteCompetition: AthleteCompetition;
1234
+ deleteAthleteCompetition: DeleteSingleValueResponse;
1235
+ createAthleteAlbum: Album;
1236
+ deleteAthleteAlbum: DeleteSingleValueResponse;
1237
+ deleteAthletePhotos: DeleteValuesResponse;
1238
+ saveAthleteCompetitionResult: AthleteCompetitionResult;
1239
+ updateAthleteTpiScore: Athlete;
1240
+ createSport: Sport;
1241
+ updateSport: Sport;
1242
+ createSportLevel: SportLevel;
1243
+ createSponsorship: Sponsorship;
1244
+ createCountry: Country;
1245
+ createState: State;
1246
+ createCity: City;
1247
+ preRegisterAthleteUser: VerificationCode;
1248
+ confirmAthleteUserRegistrationAndLogin: UserWithToken;
1249
+ confirmAthleteUserRegistration: User;
1250
+ registerAthleteUser: User;
1251
+ registerSponsorUser: User;
1252
+ loginUserFromCredentialsVtx: UserWithToken;
1253
+ createResetPasswordCode: EditValueResponse;
1254
+ resetUserPassword: EditValueResponse;
1255
+ handleStravaCallback: StravaToken;
1256
+ refreshStravaToken: StravaToken;
1257
+ createSportsEvent: SportsEvent;
1258
+ setFundingStatus: FundRaisingCampaign;
1259
+ createFundingCampaign: FundRaisingCampaign;
1260
+ createMembershipOrganization: MembershipOrganizationReference;
1261
+ createAthleteMembershipAffilation: AthleteMembership;
1262
+ deleteAthleteMembershipAffilation: DeleteSingleValueResponse;
1263
+ updateAthleteIntegration: Scalars['Boolean'];
1264
+ createStripeAccount: StripeAccountReference;
1265
+ createAthleteStripeSession: StripeSession;
1266
+ createStripeCheckoutSession: StripeCheckoutSession;
121
1267
  __typename: 'Mutation';
122
1268
  }
123
- export interface ApiKeyGenqlSelection {
1269
+ export interface UserGenqlSelection {
124
1270
  _id?: boolean | number;
125
- keyName?: boolean | number;
126
- readAccess?: boolean | number;
127
- writeAccess?: boolean | number;
1271
+ loginEmail?: boolean | number;
1272
+ suspended?: boolean | number;
1273
+ domains?: DomainCredentialGenqlSelection;
1274
+ loginMethods?: boolean | number;
128
1275
  __typename?: boolean | number;
129
1276
  __scalar?: boolean | number;
130
1277
  }
131
- export interface ApiKeyWithValueGenqlSelection {
1278
+ export interface UserWithTokenGenqlSelection {
132
1279
  _id?: boolean | number;
133
- keyName?: boolean | number;
134
- readAccess?: boolean | number;
135
- writeAccess?: boolean | number;
136
- actualKey?: boolean | number;
1280
+ loginEmail?: boolean | number;
1281
+ suspended?: boolean | number;
1282
+ domains?: DomainCredentialGenqlSelection;
1283
+ loginMethods?: boolean | number;
1284
+ token?: UserTokenGenqlSelection;
137
1285
  __typename?: boolean | number;
138
1286
  __scalar?: boolean | number;
139
1287
  }
140
- export interface UserTokenGenqlSelection {
141
- actualToken?: boolean | number;
142
- refreshToken?: boolean | number;
1288
+ export interface BaseTenantGenqlSelection {
1289
+ _id?: boolean | number;
1290
+ name?: boolean | number;
1291
+ tenant_uri?: boolean | number;
1292
+ domain?: DomainGenqlSelection;
143
1293
  __typename?: boolean | number;
144
1294
  __scalar?: boolean | number;
145
1295
  }
146
- export interface DomainGenqlSelection {
1296
+ export interface TenantGenqlSelection {
147
1297
  _id?: boolean | number;
148
1298
  name?: boolean | number;
149
- description?: boolean | number;
1299
+ tenant_uri?: boolean | number;
1300
+ domain?: DomainGenqlSelection;
1301
+ email?: boolean | number;
1302
+ owner?: UserGenqlSelection;
150
1303
  __typename?: boolean | number;
151
1304
  __scalar?: boolean | number;
152
1305
  }
153
- export interface UserGenqlSelection {
1306
+ export interface DomainGenqlSelection {
154
1307
  _id?: boolean | number;
155
- loginEmail?: boolean | number;
156
- suspended?: boolean | number;
157
- domains?: DomainGenqlSelection;
1308
+ name?: boolean | number;
1309
+ description?: boolean | number;
158
1310
  __typename?: boolean | number;
159
1311
  __scalar?: boolean | number;
160
1312
  }
161
- export interface UserWithTokenGenqlSelection {
1313
+ export interface DomainCredentialGenqlSelection {
162
1314
  _id?: boolean | number;
163
- loginEmail?: boolean | number;
164
- suspended?: boolean | number;
165
- domains?: DomainGenqlSelection;
166
- token?: UserTokenGenqlSelection;
1315
+ name?: boolean | number;
1316
+ description?: boolean | number;
1317
+ tenant?: BaseTenantGenqlSelection;
167
1318
  __typename?: boolean | number;
168
1319
  __scalar?: boolean | number;
169
1320
  }
170
- export interface TenantGenqlSelection {
1321
+ export interface UserTokenGenqlSelection {
1322
+ actualToken?: boolean | number;
1323
+ refreshToken?: boolean | number;
1324
+ __typename?: boolean | number;
1325
+ __scalar?: boolean | number;
1326
+ }
1327
+ export interface DecodedTokenGenqlSelection {
1328
+ tokenId?: boolean | number;
1329
+ systemId?: boolean | number;
1330
+ userId?: boolean | number;
1331
+ email?: boolean | number;
1332
+ refreshTokenId?: boolean | number;
1333
+ domains?: DomainCredentialGenqlSelection;
1334
+ __typename?: boolean | number;
1335
+ __scalar?: boolean | number;
1336
+ }
1337
+ export interface DecodedRefreshTokenGenqlSelection {
1338
+ userId?: boolean | number;
1339
+ email?: boolean | number;
1340
+ originalTokenId?: boolean | number;
1341
+ __typename?: boolean | number;
1342
+ __scalar?: boolean | number;
1343
+ }
1344
+ export interface TenantWithUserLoginGenqlSelection {
171
1345
  _id?: boolean | number;
172
1346
  name?: boolean | number;
173
- email?: boolean | number;
174
1347
  tenant_uri?: boolean | number;
1348
+ domain?: DomainGenqlSelection;
1349
+ email?: boolean | number;
1350
+ owner?: UserGenqlSelection;
1351
+ user?: UserWithTokenGenqlSelection;
175
1352
  __typename?: boolean | number;
176
1353
  __scalar?: boolean | number;
177
1354
  }
@@ -181,30 +1358,478 @@ export interface UriAvailableTypeGenqlSelection {
181
1358
  __typename?: boolean | number;
182
1359
  __scalar?: boolean | number;
183
1360
  }
184
- export interface TenantWithUserLoginGenqlSelection {
1361
+ export interface AgreementGenqlSelection {
185
1362
  _id?: boolean | number;
1363
+ kind?: boolean | number;
1364
+ domain?: boolean | number;
1365
+ isActiveAgreement?: boolean | number;
1366
+ version?: boolean | number;
1367
+ publishedDate?: boolean | number;
1368
+ unPublishedDate?: boolean | number;
1369
+ locked?: boolean | number;
186
1370
  name?: boolean | number;
187
- email?: boolean | number;
188
- tenant_uri?: boolean | number;
189
- user?: UserWithTokenGenqlSelection;
1371
+ description?: boolean | number;
1372
+ content?: boolean | number;
1373
+ createdDate?: boolean | number;
1374
+ updatedDate?: boolean | number;
190
1375
  __typename?: boolean | number;
191
1376
  __scalar?: boolean | number;
192
1377
  }
193
- export interface TenantUserTokenWithInfoGenqlSelection {
194
- actualToken?: boolean | number;
195
- refreshToken?: boolean | number;
196
- tenantId?: boolean | number;
197
- tenantUri?: boolean | number;
198
- loginEmail?: boolean | number;
1378
+ export interface BillEntityGenqlSelection {
1379
+ name?: boolean | number;
1380
+ taxId?: boolean | number;
1381
+ line1?: boolean | number;
1382
+ line2?: boolean | number;
1383
+ line3?: boolean | number;
1384
+ city?: boolean | number;
1385
+ state?: boolean | number;
1386
+ country?: boolean | number;
1387
+ zip?: boolean | number;
1388
+ __typename?: boolean | number;
1389
+ __scalar?: boolean | number;
1390
+ }
1391
+ export interface InvoiceItemGenqlSelection {
1392
+ _id?: boolean | number;
1393
+ unitPrice?: boolean | number;
1394
+ unitTax?: boolean | number;
1395
+ quantity?: boolean | number;
1396
+ unit?: boolean | number;
1397
+ itemPrice?: boolean | number;
1398
+ itemTotal?: boolean | number;
1399
+ __typename?: boolean | number;
1400
+ __scalar?: boolean | number;
1401
+ }
1402
+ export interface PaymentGenqlSelection {
1403
+ _id?: boolean | number;
1404
+ amount?: boolean | number;
1405
+ currency?: boolean | number;
1406
+ datePaid?: boolean | number;
1407
+ paymentComment?: boolean | number;
1408
+ transactionId?: boolean | number;
1409
+ processorType?: boolean | number;
1410
+ processorReference?: boolean | number;
1411
+ paidItemReference?: boolean | number;
1412
+ payeeReference?: boolean | number;
1413
+ payorReference?: boolean | number;
1414
+ paymentMethodType?: boolean | number;
1415
+ paymentMethodReference?: boolean | number;
1416
+ __typename?: boolean | number;
1417
+ __scalar?: boolean | number;
1418
+ }
1419
+ export interface PlaFeatureGenqlSelection {
1420
+ _id?: boolean | number;
1421
+ title?: boolean | number;
1422
+ description?: boolean | number;
1423
+ quantity?: boolean | number;
1424
+ quantityUnit?: boolean | number;
1425
+ __typename?: boolean | number;
1426
+ __scalar?: boolean | number;
1427
+ }
1428
+ export interface PlanGenqlSelection {
1429
+ _id?: boolean | number;
1430
+ name?: boolean | number;
1431
+ description?: boolean | number;
1432
+ prices?: PlanPriceGenqlSelection;
1433
+ features?: PlaFeatureGenqlSelection;
1434
+ isPublic?: boolean | number;
1435
+ active?: boolean | number;
1436
+ startOfferingDate?: boolean | number;
1437
+ endOfferingDate?: boolean | number;
1438
+ termsAndConditions?: boolean | number;
1439
+ __typename?: boolean | number;
1440
+ __scalar?: boolean | number;
1441
+ }
1442
+ export interface PlanPriceGenqlSelection {
1443
+ _id?: boolean | number;
1444
+ currency?: boolean | number;
1445
+ price?: boolean | number;
1446
+ taxMode?: boolean | number;
1447
+ period?: boolean | number;
1448
+ customDays?: boolean | number;
1449
+ plan?: PlanGenqlSelection;
1450
+ __typename?: boolean | number;
1451
+ __scalar?: boolean | number;
1452
+ }
1453
+ export interface InvoiceGenqlSelection {
1454
+ _id?: boolean | number;
1455
+ invoiceDate?: boolean | number;
1456
+ billedEntity?: BillEntityGenqlSelection;
1457
+ dueDate?: boolean | number;
1458
+ billAmount?: boolean | number;
1459
+ tax?: boolean | number;
1460
+ total?: boolean | number;
1461
+ currency?: boolean | number;
1462
+ items?: InvoiceItemGenqlSelection;
1463
+ payment?: PaymentGenqlSelection;
1464
+ __typename?: boolean | number;
1465
+ __scalar?: boolean | number;
1466
+ }
1467
+ export interface SubscriptionInvoiceGenqlSelection {
1468
+ _id?: boolean | number;
1469
+ invoice?: InvoiceGenqlSelection;
1470
+ billedPlan?: PlanPriceGenqlSelection;
1471
+ subscriber?: PlanSubscriptionGenqlSelection;
1472
+ __typename?: boolean | number;
1473
+ __scalar?: boolean | number;
1474
+ }
1475
+ export interface PlanSubscriptionGenqlSelection {
1476
+ _id?: boolean | number;
1477
+ currentPlan?: PlanPriceGenqlSelection;
1478
+ billPrice?: boolean | number;
1479
+ billCurrency?: boolean | number;
1480
+ billPriceComment?: boolean | number;
1481
+ lastBillDate?: boolean | number;
1482
+ endAccessDate?: boolean | number;
1483
+ autoRenew?: boolean | number;
1484
+ autoRenewPlan?: PlanPriceGenqlSelection;
1485
+ autoRenewDate?: boolean | number;
1486
+ payments?: SubscriptionPaymentGenqlSelection;
1487
+ invoices?: SubscriptionInvoiceGenqlSelection;
1488
+ __typename?: boolean | number;
1489
+ __scalar?: boolean | number;
1490
+ }
1491
+ export interface SubscriptionPaymentGenqlSelection {
1492
+ _id?: boolean | number;
1493
+ payment?: PaymentGenqlSelection;
1494
+ subscriber?: PlanSubscriptionGenqlSelection;
1495
+ __typename?: boolean | number;
1496
+ __scalar?: boolean | number;
1497
+ }
1498
+ export interface AWSS3FileGenqlSelection {
1499
+ _id?: boolean | number;
1500
+ name?: boolean | number;
1501
+ contentType?: boolean | number;
1502
+ size?: boolean | number;
1503
+ useType?: boolean | number;
1504
+ url?: boolean | number;
1505
+ key?: boolean | number;
1506
+ pendingDelete?: boolean | number;
1507
+ __typename?: boolean | number;
1508
+ __scalar?: boolean | number;
1509
+ }
1510
+ export interface MagicLinkGenqlSelection {
1511
+ _id?: boolean | number;
1512
+ code?: boolean | number;
1513
+ type?: boolean | number;
1514
+ url?: boolean | number;
1515
+ expires?: boolean | number;
1516
+ data?: boolean | number;
1517
+ isExpired?: boolean | number;
1518
+ __typename?: boolean | number;
1519
+ __scalar?: boolean | number;
1520
+ }
1521
+ export interface VerificationCodeGenqlSelection {
1522
+ _id?: boolean | number;
1523
+ type?: boolean | number;
1524
+ recipient?: boolean | number;
1525
+ expires?: boolean | number;
1526
+ data?: boolean | number;
1527
+ isExpired?: boolean | number;
1528
+ createdDate?: boolean | number;
1529
+ __typename?: boolean | number;
1530
+ __scalar?: boolean | number;
1531
+ }
1532
+ export interface ErrorInfoGenqlSelection {
1533
+ errorCode?: boolean | number;
1534
+ errorMessage?: boolean | number;
1535
+ __typename?: boolean | number;
1536
+ __scalar?: boolean | number;
1537
+ }
1538
+ export interface HttpRequestFieldGenqlSelection {
1539
+ key?: boolean | number;
1540
+ value?: boolean | number;
1541
+ __typename?: boolean | number;
1542
+ __scalar?: boolean | number;
1543
+ }
1544
+ export interface AWSS3UploadUrlGenqlSelection {
1545
+ uploadUrl?: boolean | number;
1546
+ fields?: HttpRequestFieldGenqlSelection;
1547
+ downloadUrl?: boolean | number;
1548
+ bucket?: boolean | number;
1549
+ key?: boolean | number;
1550
+ __typename?: boolean | number;
1551
+ __scalar?: boolean | number;
1552
+ }
1553
+ export interface AWSS3CallResultGenqlSelection {
1554
+ httpStatus?: boolean | number;
1555
+ result?: boolean | number;
1556
+ message?: boolean | number;
1557
+ errors?: boolean | number;
1558
+ __typename?: boolean | number;
1559
+ __scalar?: boolean | number;
1560
+ }
1561
+ export interface DatabaseFileGenqlSelection {
1562
+ _id?: boolean | number;
1563
+ identifier?: boolean | number;
1564
+ version?: boolean | number;
1565
+ contentType?: boolean | number;
1566
+ updated?: boolean | number;
1567
+ created?: boolean | number;
1568
+ __typename?: boolean | number;
1569
+ __scalar?: boolean | number;
1570
+ }
1571
+ export interface TextDatabaseFileGenqlSelection {
1572
+ _id?: boolean | number;
1573
+ identifier?: boolean | number;
1574
+ version?: boolean | number;
1575
+ contentType?: boolean | number;
1576
+ updated?: boolean | number;
1577
+ created?: boolean | number;
1578
+ content?: boolean | number;
1579
+ __typename?: boolean | number;
1580
+ __scalar?: boolean | number;
1581
+ }
1582
+ export interface CodeVerificationResponseGenqlSelection {
1583
+ result?: boolean | number;
1584
+ code?: VerificationCodeGenqlSelection;
1585
+ error?: ErrorInfoGenqlSelection;
1586
+ __typename?: boolean | number;
1587
+ __scalar?: boolean | number;
1588
+ }
1589
+ export interface BrandStatsGenqlSelection {
1590
+ campaigns?: boolean | number;
1591
+ sponsorships?: boolean | number;
1592
+ sports?: boolean | number;
1593
+ athletes?: boolean | number;
1594
+ __typename?: boolean | number;
1595
+ __scalar?: boolean | number;
1596
+ }
1597
+ export interface BrandTranslationGenqlSelection {
1598
+ _id?: boolean | number;
1599
+ brandId?: boolean | number;
1600
+ language?: boolean | number;
1601
+ name?: boolean | number;
1602
+ slogan?: boolean | number;
1603
+ description?: boolean | number;
1604
+ logo?: AWSS3FileGenqlSelection;
1605
+ banner?: AWSS3FileGenqlSelection;
199
1606
  __typename?: boolean | number;
200
1607
  __scalar?: boolean | number;
201
1608
  }
202
1609
  export interface BrandGenqlSelection {
203
1610
  _id?: boolean | number;
204
1611
  name?: boolean | number;
1612
+ slogan?: boolean | number;
1613
+ website?: boolean | number;
1614
+ description?: boolean | number;
1615
+ approved?: boolean | number;
1616
+ published?: boolean | number;
1617
+ logo?: AWSS3FileGenqlSelection;
1618
+ banner?: AWSS3FileGenqlSelection;
1619
+ stats?: BrandStatsGenqlSelection;
1620
+ operatorIds?: boolean | number;
1621
+ translations?: BrandTranslationGenqlSelection;
1622
+ __typename?: boolean | number;
1623
+ __scalar?: boolean | number;
1624
+ }
1625
+ export interface StravaTpiRideDtoGenqlSelection {
1626
+ distanceKm?: boolean | number;
1627
+ distanceKmLast?: boolean | number;
1628
+ elapsedTimeMin?: boolean | number;
1629
+ elapsedTimeMinLast?: boolean | number;
1630
+ averageSpeedKmh?: boolean | number;
1631
+ averageSpeedKmhLast?: boolean | number;
1632
+ maxSpeedKmh?: boolean | number;
1633
+ maxSpeedKmhLast?: boolean | number;
1634
+ averageHeartRateBpm?: boolean | number;
1635
+ averageHeartRateBpmLast?: boolean | number;
1636
+ maxHeartRateBpm?: boolean | number;
1637
+ maxHeartRateBpmLast?: boolean | number;
1638
+ averageCadenceStm?: boolean | number;
1639
+ averageCadenceStmLast?: boolean | number;
1640
+ lastDate?: boolean | number;
1641
+ country?: boolean | number;
1642
+ state?: boolean | number;
1643
+ city?: boolean | number;
1644
+ tpi?: boolean | number;
1645
+ __typename?: boolean | number;
1646
+ __scalar?: boolean | number;
1647
+ }
1648
+ export interface StravaTpiRunDtoGenqlSelection {
1649
+ distanceKm?: boolean | number;
1650
+ distanceKmLast?: boolean | number;
1651
+ elapsedTimeMin?: boolean | number;
1652
+ elapsedTimeMinLast?: boolean | number;
1653
+ averageSpeedKmh?: boolean | number;
1654
+ averageSpeedKmhLast?: boolean | number;
1655
+ maxSpeedKmh?: boolean | number;
1656
+ maxSpeedKmhLast?: boolean | number;
1657
+ averageHeartRateBpm?: boolean | number;
1658
+ averageHeartRateBpmLast?: boolean | number;
1659
+ maxHeartRateBpm?: boolean | number;
1660
+ maxHeartRateBpmLast?: boolean | number;
1661
+ averageCadenceStm?: boolean | number;
1662
+ averageCadenceStmLast?: boolean | number;
1663
+ elevHigh?: boolean | number;
1664
+ elevHighLast?: boolean | number;
1665
+ elevLow?: boolean | number;
1666
+ elevLowLast?: boolean | number;
1667
+ lastDate?: boolean | number;
1668
+ country?: boolean | number;
1669
+ state?: boolean | number;
1670
+ city?: boolean | number;
1671
+ tpi?: boolean | number;
1672
+ __typename?: boolean | number;
1673
+ __scalar?: boolean | number;
1674
+ }
1675
+ export interface StravaTpiSwimDtoGenqlSelection {
1676
+ distanceKm?: boolean | number;
1677
+ distanceKmLast?: boolean | number;
1678
+ elapsedTimeMin?: boolean | number;
1679
+ elapsedTimeMinLast?: boolean | number;
1680
+ averageSpeedKmh?: boolean | number;
1681
+ averageSpeedKmhLast?: boolean | number;
1682
+ maxSpeedKmh?: boolean | number;
1683
+ maxSpeedKmhLast?: boolean | number;
1684
+ averageHeartRateBpm?: boolean | number;
1685
+ averageHeartRateBpmLast?: boolean | number;
1686
+ maxHeartRateBpm?: boolean | number;
1687
+ maxHeartRateBpmLast?: boolean | number;
1688
+ averageCadenceStm?: boolean | number;
1689
+ averageCadenceStmLast?: boolean | number;
1690
+ lastDate?: boolean | number;
1691
+ country?: boolean | number;
1692
+ state?: boolean | number;
1693
+ city?: boolean | number;
1694
+ tpi?: boolean | number;
1695
+ __typename?: boolean | number;
1696
+ __scalar?: boolean | number;
1697
+ }
1698
+ export interface CityGenqlSelection {
1699
+ _id?: boolean | number;
1700
+ name?: boolean | number;
1701
+ localizedName?: boolean | number;
1702
+ state?: StateGenqlSelection;
1703
+ latitude?: boolean | number;
1704
+ longitude?: boolean | number;
1705
+ timezone?: boolean | number;
1706
+ __typename?: boolean | number;
1707
+ __scalar?: boolean | number;
1708
+ }
1709
+ export interface StateGenqlSelection {
1710
+ _id?: boolean | number;
1711
+ name?: boolean | number;
1712
+ country?: CountryGenqlSelection;
1713
+ cities?: CityGenqlSelection;
1714
+ __typename?: boolean | number;
1715
+ __scalar?: boolean | number;
1716
+ }
1717
+ export interface CountryGenqlSelection {
1718
+ _id?: boolean | number;
1719
+ name?: boolean | number;
1720
+ states?: StateGenqlSelection;
1721
+ __typename?: boolean | number;
1722
+ __scalar?: boolean | number;
1723
+ }
1724
+ export interface AgeQualificationGenqlSelection {
1725
+ type?: boolean | number;
1726
+ value?: boolean | number;
1727
+ operator?: boolean | number;
1728
+ __typename?: boolean | number;
1729
+ __scalar?: boolean | number;
1730
+ }
1731
+ export interface GenderQualificationGenqlSelection {
1732
+ type?: boolean | number;
1733
+ operator?: boolean | number;
1734
+ values?: boolean | number;
1735
+ __typename?: boolean | number;
1736
+ __scalar?: boolean | number;
1737
+ }
1738
+ export interface ScoreQualificationGenqlSelection {
1739
+ type?: boolean | number;
1740
+ scoreType?: boolean | number;
1741
+ operator?: boolean | number;
1742
+ value?: boolean | number;
1743
+ __typename?: boolean | number;
1744
+ __scalar?: boolean | number;
1745
+ }
1746
+ export interface LocationQualificationGenqlSelection {
1747
+ type?: boolean | number;
1748
+ operator?: boolean | number;
1749
+ countries?: CountryGenqlSelection;
1750
+ states?: StateGenqlSelection;
1751
+ cities?: CityGenqlSelection;
1752
+ __typename?: boolean | number;
1753
+ __scalar?: boolean | number;
1754
+ }
1755
+ export interface NationalityQualificationGenqlSelection {
1756
+ type?: boolean | number;
1757
+ operator?: boolean | number;
1758
+ countries?: CountryGenqlSelection;
1759
+ __typename?: boolean | number;
1760
+ __scalar?: boolean | number;
1761
+ }
1762
+ export interface DistanceQualificationGenqlSelection {
1763
+ type?: boolean | number;
1764
+ maxDistance?: boolean | number;
1765
+ latitude?: boolean | number;
1766
+ longitude?: boolean | number;
1767
+ cityId?: boolean | number;
1768
+ __typename?: boolean | number;
1769
+ __scalar?: boolean | number;
1770
+ }
1771
+ export interface SportsQualificationGenqlSelection {
1772
+ type?: boolean | number;
1773
+ sports?: boolean | number;
1774
+ operator?: boolean | number;
1775
+ __typename?: boolean | number;
1776
+ __scalar?: boolean | number;
1777
+ }
1778
+ export interface SportsLevelQualificationGenqlSelection {
1779
+ type?: boolean | number;
1780
+ operator?: boolean | number;
1781
+ level?: boolean | number;
1782
+ __typename?: boolean | number;
1783
+ __scalar?: boolean | number;
1784
+ }
1785
+ export interface AthleteCriteriaGenqlSelection {
1786
+ _id?: boolean | number;
1787
+ label?: boolean | number;
1788
+ qualifications?: QualificationTypeUnionGenqlSelection;
1789
+ __typename?: boolean | number;
1790
+ __scalar?: boolean | number;
1791
+ }
1792
+ export interface QualificationTypeUnionGenqlSelection {
1793
+ on_AgeQualification?: AgeQualificationGenqlSelection;
1794
+ on_GenderQualification?: GenderQualificationGenqlSelection;
1795
+ on_ScoreQualification?: ScoreQualificationGenqlSelection;
1796
+ on_LocationQualification?: LocationQualificationGenqlSelection;
1797
+ on_NationalityQualification?: NationalityQualificationGenqlSelection;
1798
+ on_DistanceQualification?: DistanceQualificationGenqlSelection;
1799
+ on_SportsQualification?: SportsQualificationGenqlSelection;
1800
+ on_SportsLevelQualification?: SportsLevelQualificationGenqlSelection;
1801
+ __typename?: boolean | number;
1802
+ }
1803
+ export interface IndustryGenqlSelection {
1804
+ _id?: boolean | number;
1805
+ name?: boolean | number;
1806
+ __typename?: boolean | number;
1807
+ __scalar?: boolean | number;
1808
+ }
1809
+ export interface SponsorStatsGenqlSelection {
1810
+ sponsoredAthletes?: boolean | number;
1811
+ totalBrands?: boolean | number;
1812
+ activeCampaigns?: boolean | number;
1813
+ activeSponsorships?: boolean | number;
1814
+ __typename?: boolean | number;
1815
+ __scalar?: boolean | number;
1816
+ }
1817
+ export interface SponsorBrandGenqlSelection {
1818
+ _id?: boolean | number;
1819
+ name?: boolean | number;
1820
+ slogan?: boolean | number;
1821
+ website?: boolean | number;
205
1822
  description?: boolean | number;
206
1823
  approved?: boolean | number;
207
1824
  published?: boolean | number;
1825
+ logo?: AWSS3FileGenqlSelection;
1826
+ banner?: AWSS3FileGenqlSelection;
1827
+ stats?: BrandStatsGenqlSelection;
1828
+ operatorIds?: boolean | number;
1829
+ translations?: BrandTranslationGenqlSelection;
1830
+ sponsorBrandId?: boolean | number;
1831
+ authorizedUse?: boolean | number;
1832
+ isAuthorizer?: boolean | number;
208
1833
  __typename?: boolean | number;
209
1834
  __scalar?: boolean | number;
210
1835
  }
@@ -212,118 +1837,1513 @@ export interface SponsorGenqlSelection {
212
1837
  _id?: boolean | number;
213
1838
  name?: boolean | number;
214
1839
  description?: boolean | number;
1840
+ tenant?: TenantGenqlSelection;
1841
+ industry?: IndustryGenqlSelection;
1842
+ stats?: SponsorStatsGenqlSelection;
1843
+ brands?: SponsorBrandGenqlSelection;
1844
+ sponsorships?: SponsorshipGenqlSelection;
1845
+ approved?: boolean | number;
215
1846
  __typename?: boolean | number;
216
1847
  __scalar?: boolean | number;
217
1848
  }
218
- export interface IndustryGenqlSelection {
1849
+ export interface SponsorshipItemGenqlSelection {
1850
+ _id?: boolean | number;
1851
+ quantity?: boolean | number;
1852
+ title?: boolean | number;
1853
+ value?: boolean | number;
1854
+ type?: boolean | number;
1855
+ __typename?: boolean | number;
1856
+ __scalar?: boolean | number;
1857
+ }
1858
+ export interface SponsorshipCommitmentGenqlSelection {
1859
+ _id?: boolean | number;
1860
+ title?: boolean | number;
1861
+ details?: boolean | number;
1862
+ hashTags?: boolean | number;
1863
+ media?: boolean | number;
1864
+ actionType?: boolean | number;
1865
+ frequency?: boolean | number;
1866
+ periodicity?: boolean | number;
1867
+ autoMeasurable?: boolean | number;
1868
+ __typename?: boolean | number;
1869
+ __scalar?: boolean | number;
1870
+ }
1871
+ export interface DurationGenqlSelection {
1872
+ length?: boolean | number;
1873
+ unit?: boolean | number;
1874
+ __typename?: boolean | number;
1875
+ __scalar?: boolean | number;
1876
+ }
1877
+ export interface SponsorshipStatsGenqlSelection {
1878
+ totalSponsorships?: boolean | number;
1879
+ totalApplications?: boolean | number;
1880
+ newApplications?: boolean | number;
1881
+ discardedApplications?: boolean | number;
1882
+ selectedApplications?: boolean | number;
1883
+ approvedApplications?: boolean | number;
1884
+ grantedSponsorships?: boolean | number;
1885
+ remainingSponsorships?: boolean | number;
1886
+ __typename?: boolean | number;
1887
+ __scalar?: boolean | number;
1888
+ }
1889
+ export interface SponsorshipTranslationGenqlSelection {
1890
+ _id?: boolean | number;
1891
+ sponsorshipId?: boolean | number;
1892
+ language?: boolean | number;
1893
+ title?: boolean | number;
1894
+ description?: boolean | number;
1895
+ terms?: boolean | number;
1896
+ banner?: AWSS3FileGenqlSelection;
1897
+ __typename?: boolean | number;
1898
+ __scalar?: boolean | number;
1899
+ }
1900
+ export interface SponsorshipGenqlSelection {
1901
+ _id?: boolean | number;
1902
+ title?: boolean | number;
1903
+ description?: boolean | number;
1904
+ cashValue?: boolean | number;
1905
+ otherValue?: boolean | number;
1906
+ brand?: BrandGenqlSelection;
1907
+ banner?: AWSS3FileGenqlSelection;
1908
+ criteria?: AthleteCriteriaGenqlSelection;
1909
+ deadline?: boolean | number;
1910
+ startDate?: boolean | number;
1911
+ duration?: DurationGenqlSelection;
1912
+ sponsor?: SponsorGenqlSelection;
1913
+ sponsorshipItems?: SponsorshipItemGenqlSelection;
1914
+ commitments?: SponsorshipCommitmentGenqlSelection;
1915
+ terms?: boolean | number;
1916
+ stats?: SponsorshipStatsGenqlSelection;
1917
+ isPrivate?: boolean | number;
1918
+ approved?: boolean | number;
1919
+ published?: boolean | number;
1920
+ translations?: SponsorshipTranslationGenqlSelection;
1921
+ __typename?: boolean | number;
1922
+ __scalar?: boolean | number;
1923
+ }
1924
+ export interface FollowStatsGenqlSelection {
1925
+ followers?: boolean | number;
1926
+ followed?: boolean | number;
1927
+ raves?: boolean | number;
1928
+ favorites?: boolean | number;
1929
+ __typename?: boolean | number;
1930
+ __scalar?: boolean | number;
1931
+ }
1932
+ export interface SportGenqlSelection {
219
1933
  _id?: boolean | number;
220
1934
  name?: boolean | number;
221
1935
  __typename?: boolean | number;
222
1936
  __scalar?: boolean | number;
223
1937
  }
224
- export interface QueryGenqlSelection {
225
- tenant?: (TenantGenqlSelection & {
1938
+ export interface VtxScoresGenqlSelection {
1939
+ vtxScore?: boolean | number;
1940
+ socialScore?: boolean | number;
1941
+ trainingScore?: boolean | number;
1942
+ competitionScore?: boolean | number;
1943
+ __typename?: boolean | number;
1944
+ __scalar?: boolean | number;
1945
+ }
1946
+ export interface SportLevelTranslationGenqlSelection {
1947
+ _id?: boolean | number;
1948
+ language?: boolean | number;
1949
+ label?: boolean | number;
1950
+ __typename?: boolean | number;
1951
+ __scalar?: boolean | number;
1952
+ }
1953
+ export interface SportLevelGenqlSelection {
1954
+ _id?: boolean | number;
1955
+ label?: boolean | number;
1956
+ index?: boolean | number;
1957
+ translations?: SportLevelTranslationGenqlSelection;
1958
+ __typename?: boolean | number;
1959
+ __scalar?: boolean | number;
1960
+ }
1961
+ export interface RankingGenqlSelection {
1962
+ scope?: boolean | number;
1963
+ scopeId?: boolean | number;
1964
+ scopeName?: boolean | number;
1965
+ position?: boolean | number;
1966
+ total?: boolean | number;
1967
+ __typename?: boolean | number;
1968
+ __scalar?: boolean | number;
1969
+ }
1970
+ export interface AthleteRankingsGenqlSelection {
1971
+ worldRanking?: RankingGenqlSelection;
1972
+ countryRanking?: RankingGenqlSelection;
1973
+ stateRanking?: RankingGenqlSelection;
1974
+ cityRanking?: RankingGenqlSelection;
1975
+ __typename?: boolean | number;
1976
+ __scalar?: boolean | number;
1977
+ }
1978
+ export interface TeamGenqlSelection {
1979
+ _id?: boolean | number;
1980
+ name?: boolean | number;
1981
+ description?: boolean | number;
1982
+ sports?: SportGenqlSelection;
1983
+ approved?: boolean | number;
1984
+ logo?: AWSS3FileGenqlSelection;
1985
+ banner?: AWSS3FileGenqlSelection;
1986
+ __typename?: boolean | number;
1987
+ __scalar?: boolean | number;
1988
+ }
1989
+ export interface WorldLocationGenqlSelection {
1990
+ _id?: boolean | number;
1991
+ userProvidedLatitude?: boolean | number;
1992
+ userProvidedLongitude?: boolean | number;
1993
+ cityNameGeocode?: boolean | number;
1994
+ stateNameGeocode?: boolean | number;
1995
+ countryIso2CodeGeocode?: boolean | number;
1996
+ timeZoneGeocode?: boolean | number;
1997
+ latitudeGeocode?: boolean | number;
1998
+ longitudeGeocode?: boolean | number;
1999
+ city?: CityGenqlSelection;
2000
+ __typename?: boolean | number;
2001
+ __scalar?: boolean | number;
2002
+ }
2003
+ export interface SportsEventGenqlSelection {
2004
+ _id?: boolean | number;
2005
+ name?: boolean | number;
2006
+ mainSport?: SportGenqlSelection;
2007
+ eventWebSite?: boolean | number;
2008
+ startDate?: boolean | number;
2009
+ endDate?: boolean | number;
2010
+ verified?: boolean | number;
2011
+ banner?: AWSS3FileGenqlSelection;
2012
+ location?: WorldLocationGenqlSelection;
2013
+ __typename?: boolean | number;
2014
+ __scalar?: boolean | number;
2015
+ }
2016
+ export interface AthleteCompetitionResultGenqlSelection {
2017
+ _id?: boolean | number;
2018
+ resultType?: boolean | number;
2019
+ position?: boolean | number;
2020
+ score?: boolean | number;
2021
+ finishTimeMS?: boolean | number;
2022
+ resultWebLink?: boolean | number;
2023
+ __typename?: boolean | number;
2024
+ __scalar?: boolean | number;
2025
+ }
2026
+ export interface BudgetItemGenqlSelection {
2027
+ _id?: boolean | number;
2028
+ quantity?: boolean | number;
2029
+ concept?: boolean | number;
2030
+ itemCost?: boolean | number;
2031
+ __typename?: boolean | number;
2032
+ __scalar?: boolean | number;
2033
+ }
2034
+ export interface BudgetGenqlSelection {
2035
+ _id?: boolean | number;
2036
+ initialFunds?: boolean | number;
2037
+ totalRequired?: boolean | number;
2038
+ items?: BudgetItemGenqlSelection;
2039
+ __typename?: boolean | number;
2040
+ __scalar?: boolean | number;
2041
+ }
2042
+ export interface AthleteCompetitionGenqlSelection {
2043
+ _id?: boolean | number;
2044
+ event?: SportsEventGenqlSelection;
2045
+ participationDate?: boolean | number;
2046
+ competitionNumber?: boolean | number;
2047
+ result?: AthleteCompetitionResultGenqlSelection;
2048
+ fundRaisingCampaignIds?: boolean | number;
2049
+ budget?: BudgetGenqlSelection;
2050
+ __typename?: boolean | number;
2051
+ __scalar?: boolean | number;
2052
+ }
2053
+ export interface MembershipOrganizationReferenceGenqlSelection {
2054
+ _id?: boolean | number;
2055
+ shortName?: boolean | number;
2056
+ acronym?: boolean | number;
2057
+ fullName?: boolean | number;
2058
+ website?: boolean | number;
2059
+ verified?: boolean | number;
2060
+ logo?: AWSS3FileGenqlSelection;
2061
+ country?: CountryGenqlSelection;
2062
+ sport?: SportGenqlSelection;
2063
+ __typename?: boolean | number;
2064
+ __scalar?: boolean | number;
2065
+ }
2066
+ export interface MembershipOrganizationGenqlSelection {
2067
+ _id?: boolean | number;
2068
+ shortName?: boolean | number;
2069
+ acronym?: boolean | number;
2070
+ fullName?: boolean | number;
2071
+ website?: boolean | number;
2072
+ verified?: boolean | number;
2073
+ logo?: AWSS3FileGenqlSelection;
2074
+ country?: CountryGenqlSelection;
2075
+ sport?: SportGenqlSelection;
2076
+ memberships?: AthleteMembershipGenqlSelection;
2077
+ __typename?: boolean | number;
2078
+ __scalar?: boolean | number;
2079
+ }
2080
+ export interface AthleteMembershipGenqlSelection {
2081
+ _id?: boolean | number;
2082
+ organization?: MembershipOrganizationReferenceGenqlSelection;
2083
+ athlete?: AthleteReferenceGenqlSelection;
2084
+ membershipNumber?: boolean | number;
2085
+ membershipType?: boolean | number;
2086
+ issueDate?: boolean | number;
2087
+ expirationDate?: boolean | number;
2088
+ __typename?: boolean | number;
2089
+ __scalar?: boolean | number;
2090
+ }
2091
+ export interface NewsLinkGenqlSelection {
2092
+ _id?: boolean | number;
2093
+ title?: boolean | number;
2094
+ url?: boolean | number;
2095
+ abstract?: boolean | number;
2096
+ __typename?: boolean | number;
2097
+ __scalar?: boolean | number;
2098
+ }
2099
+ export interface ChannelGenqlSelection {
2100
+ _id?: boolean | number;
2101
+ type?: boolean | number;
2102
+ handle?: boolean | number;
2103
+ url?: boolean | number;
2104
+ linked?: boolean | number;
2105
+ __typename?: boolean | number;
2106
+ __scalar?: boolean | number;
2107
+ }
2108
+ export interface PhotoAlbumGenqlSelection {
2109
+ _id?: boolean | number;
2110
+ photo?: AWSS3FileGenqlSelection;
2111
+ __typename?: boolean | number;
2112
+ __scalar?: boolean | number;
2113
+ }
2114
+ export interface AlbumGenqlSelection {
2115
+ _id?: boolean | number;
2116
+ label?: boolean | number;
2117
+ description?: boolean | number;
2118
+ photos?: PhotoAlbumGenqlSelection;
2119
+ __typename?: boolean | number;
2120
+ __scalar?: boolean | number;
2121
+ }
2122
+ export interface AthletePreferencesGenqlSelection {
2123
+ _id?: boolean | number;
2124
+ showProfileHelper?: boolean | number;
2125
+ defaultAlbum?: AlbumGenqlSelection;
2126
+ __typename?: boolean | number;
2127
+ __scalar?: boolean | number;
2128
+ }
2129
+ export interface FundRaisingCampaignGenqlSelection {
2130
+ _id?: boolean | number;
2131
+ athlete?: AthleteReferenceGenqlSelection;
2132
+ budgetMode?: boolean | number;
2133
+ status?: boolean | number;
2134
+ title?: boolean | number;
2135
+ motivation?: boolean | number;
2136
+ website?: boolean | number;
2137
+ fundsRequired?: boolean | number;
2138
+ initialFundsObtained?: boolean | number;
2139
+ fundsObtained?: boolean | number;
2140
+ location?: WorldLocationGenqlSelection;
2141
+ endingDate?: boolean | number;
2142
+ budget?: BudgetGenqlSelection;
2143
+ competitions?: AthleteCompetitionGenqlSelection;
2144
+ vtxComissionPct?: boolean | number;
2145
+ __typename?: boolean | number;
2146
+ __scalar?: boolean | number;
2147
+ }
2148
+ export interface StripeCapabilityTypeGenqlSelection {
2149
+ acss_debit_payments?: boolean | number;
2150
+ affirm_payments?: boolean | number;
2151
+ afterpay_clearpay_payments?: boolean | number;
2152
+ alma_payments?: boolean | number;
2153
+ amazon_pay_payments?: boolean | number;
2154
+ au_becs_debit_payments?: boolean | number;
2155
+ bacs_debit_payments?: boolean | number;
2156
+ bancontact_payments?: boolean | number;
2157
+ bank_transfer_payments?: boolean | number;
2158
+ blik_payments?: boolean | number;
2159
+ boleto_payments?: boolean | number;
2160
+ card_issuing?: boolean | number;
2161
+ card_payments?: boolean | number;
2162
+ cartes_bancaires_payments?: boolean | number;
2163
+ cashapp_payments?: boolean | number;
2164
+ eps_payments?: boolean | number;
2165
+ fpx_payments?: boolean | number;
2166
+ gb_bank_transfer_payments?: boolean | number;
2167
+ giropay_payments?: boolean | number;
2168
+ grabpay_payments?: boolean | number;
2169
+ ideal_payments?: boolean | number;
2170
+ india_international_payments?: boolean | number;
2171
+ jcb_payments?: boolean | number;
2172
+ jp_bank_transfer_payments?: boolean | number;
2173
+ kakao_pay_payments?: boolean | number;
2174
+ klarna_payments?: boolean | number;
2175
+ konbini_payments?: boolean | number;
2176
+ kr_card_payments?: boolean | number;
2177
+ legacy_payments?: boolean | number;
2178
+ link_payments?: boolean | number;
2179
+ mobilepay_payments?: boolean | number;
2180
+ multibanco_payments?: boolean | number;
2181
+ mx_bank_transfer_payments?: boolean | number;
2182
+ naver_pay_payments?: boolean | number;
2183
+ oxxo_payments?: boolean | number;
2184
+ p24_payments?: boolean | number;
2185
+ pay_by_bank_payments?: boolean | number;
2186
+ payco_payments?: boolean | number;
2187
+ paynow_payments?: boolean | number;
2188
+ promptpay_payments?: boolean | number;
2189
+ revolut_pay_payments?: boolean | number;
2190
+ samsung_pay_payments?: boolean | number;
2191
+ sepa_bank_transfer_payments?: boolean | number;
2192
+ sepa_debit_payments?: boolean | number;
2193
+ sofort_payments?: boolean | number;
2194
+ swish_payments?: boolean | number;
2195
+ tax_reporting_us_1099_k?: boolean | number;
2196
+ tax_reporting_us_1099_misc?: boolean | number;
2197
+ transfers?: boolean | number;
2198
+ treasury?: boolean | number;
2199
+ twint_payments?: boolean | number;
2200
+ us_bank_account_ach_payments?: boolean | number;
2201
+ us_bank_transfer_payments?: boolean | number;
2202
+ zip_payments?: boolean | number;
2203
+ __typename?: boolean | number;
2204
+ __scalar?: boolean | number;
2205
+ }
2206
+ export interface StripeRequirementAlternativeTypeGenqlSelection {
2207
+ alternative_fields_due?: boolean | number;
2208
+ original_fields_due?: boolean | number;
2209
+ __typename?: boolean | number;
2210
+ __scalar?: boolean | number;
2211
+ }
2212
+ export interface StripeFutureRequirementAlternativeTypeGenqlSelection {
2213
+ alternative_fields_due?: boolean | number;
2214
+ original_fields_due?: boolean | number;
2215
+ __typename?: boolean | number;
2216
+ __scalar?: boolean | number;
2217
+ }
2218
+ export interface StripeErrorTypeGenqlSelection {
2219
+ code?: boolean | number;
2220
+ reason?: boolean | number;
2221
+ requirement?: boolean | number;
2222
+ __typename?: boolean | number;
2223
+ __scalar?: boolean | number;
2224
+ }
2225
+ export interface StripeRequirementTypeGenqlSelection {
2226
+ alternatives?: StripeRequirementAlternativeTypeGenqlSelection;
2227
+ current_deadline?: boolean | number;
2228
+ currently_due?: boolean | number;
2229
+ disabled_reason?: boolean | number;
2230
+ errors?: StripeErrorTypeGenqlSelection;
2231
+ eventually_due?: boolean | number;
2232
+ past_due?: boolean | number;
2233
+ pending_verification?: boolean | number;
2234
+ __typename?: boolean | number;
2235
+ __scalar?: boolean | number;
2236
+ }
2237
+ export interface StripeFutureRequirementTypeGenqlSelection {
2238
+ alternatives?: StripeFutureRequirementAlternativeTypeGenqlSelection;
2239
+ current_deadline?: boolean | number;
2240
+ currently_due?: boolean | number;
2241
+ disabled_reason?: boolean | number;
2242
+ errors?: StripeErrorTypeGenqlSelection;
2243
+ eventually_due?: boolean | number;
2244
+ past_due?: boolean | number;
2245
+ pending_verification?: boolean | number;
2246
+ __typename?: boolean | number;
2247
+ __scalar?: boolean | number;
2248
+ }
2249
+ export interface StripeAccountGenqlSelection {
2250
+ id?: boolean | number;
2251
+ object?: boolean | number;
2252
+ business_type?: boolean | number;
2253
+ country?: boolean | number;
2254
+ email?: boolean | number;
2255
+ capabilities?: StripeCapabilityTypeGenqlSelection;
2256
+ requirements?: StripeRequirementTypeGenqlSelection;
2257
+ future_requirements?: StripeFutureRequirementTypeGenqlSelection;
2258
+ type?: boolean | number;
2259
+ charges_enabled?: boolean | number;
2260
+ payouts_enabled?: boolean | number;
2261
+ created?: boolean | number;
2262
+ default_currency?: boolean | number;
2263
+ __typename?: boolean | number;
2264
+ __scalar?: boolean | number;
2265
+ }
2266
+ export interface StripeAccountReferenceGenqlSelection {
2267
+ _id?: boolean | number;
2268
+ stripeAccountId?: boolean | number;
2269
+ account?: StripeAccountGenqlSelection;
2270
+ __typename?: boolean | number;
2271
+ __scalar?: boolean | number;
2272
+ }
2273
+ export interface AthleteReferenceGenqlSelection {
2274
+ _id?: boolean | number;
2275
+ firstName?: boolean | number;
2276
+ lastName?: boolean | number;
2277
+ screenName?: boolean | number;
2278
+ dob?: boolean | number;
2279
+ lgbt?: boolean | number;
2280
+ competitionGender?: boolean | number;
2281
+ country?: CountryGenqlSelection;
2282
+ location?: WorldLocationGenqlSelection;
2283
+ trainer?: boolean | number;
2284
+ trainerUrl?: boolean | number;
2285
+ followStats?: FollowStatsGenqlSelection;
2286
+ mainSport?: SportGenqlSelection;
2287
+ mainSportLevel?: SportLevelGenqlSelection;
2288
+ scores?: VtxScoresGenqlSelection;
2289
+ rankings?: AthleteRankingsGenqlSelection;
2290
+ totalUpcomingCompetitions?: boolean | number;
2291
+ totalPastCompetitions?: boolean | number;
2292
+ profilePicture?: AWSS3FileGenqlSelection;
2293
+ cardPicture?: AWSS3FileGenqlSelection;
2294
+ bannerPicture?: AWSS3FileGenqlSelection;
2295
+ aboutMe?: boolean | number;
2296
+ preferences?: AthletePreferencesGenqlSelection;
2297
+ __typename?: boolean | number;
2298
+ __scalar?: boolean | number;
2299
+ }
2300
+ export interface AthleteGenqlSelection {
2301
+ _id?: boolean | number;
2302
+ firstName?: boolean | number;
2303
+ lastName?: boolean | number;
2304
+ screenName?: boolean | number;
2305
+ dob?: boolean | number;
2306
+ lgbt?: boolean | number;
2307
+ competitionGender?: boolean | number;
2308
+ country?: CountryGenqlSelection;
2309
+ location?: WorldLocationGenqlSelection;
2310
+ trainer?: boolean | number;
2311
+ trainerUrl?: boolean | number;
2312
+ followStats?: FollowStatsGenqlSelection;
2313
+ mainSport?: SportGenqlSelection;
2314
+ mainSportLevel?: SportLevelGenqlSelection;
2315
+ scores?: VtxScoresGenqlSelection;
2316
+ rankings?: AthleteRankingsGenqlSelection;
2317
+ totalUpcomingCompetitions?: boolean | number;
2318
+ totalPastCompetitions?: boolean | number;
2319
+ profilePicture?: AWSS3FileGenqlSelection;
2320
+ cardPicture?: AWSS3FileGenqlSelection;
2321
+ bannerPicture?: AWSS3FileGenqlSelection;
2322
+ aboutMe?: boolean | number;
2323
+ preferences?: AthletePreferencesGenqlSelection;
2324
+ allSports?: SportGenqlSelection;
2325
+ teams?: TeamGenqlSelection;
2326
+ sponsorBrands?: BrandGenqlSelection;
2327
+ competitions?: AthleteCompetitionGenqlSelection;
2328
+ affiliations?: AthleteMembershipGenqlSelection;
2329
+ newsLinks?: NewsLinkGenqlSelection;
2330
+ channels?: ChannelGenqlSelection;
2331
+ currentCampaign?: FundRaisingCampaignGenqlSelection;
2332
+ fundingCampaigns?: FundRaisingCampaignGenqlSelection;
2333
+ stripeAccountReference?: StripeAccountReferenceGenqlSelection;
2334
+ albums?: AlbumGenqlSelection;
2335
+ __typename?: boolean | number;
2336
+ __scalar?: boolean | number;
2337
+ }
2338
+ export interface SponsorAthleteInvitationGenqlSelection {
2339
+ _id?: boolean | number;
2340
+ name?: boolean | number;
2341
+ email?: boolean | number;
2342
+ dateSent?: boolean | number;
2343
+ sponsor?: SponsorGenqlSelection;
2344
+ magicLink?: MagicLinkGenqlSelection;
2345
+ brand?: BrandGenqlSelection;
2346
+ status?: boolean | number;
2347
+ __typename?: boolean | number;
2348
+ __scalar?: boolean | number;
2349
+ }
2350
+ export interface StravaTokenGenqlSelection {
2351
+ token_type?: boolean | number;
2352
+ expires_at?: boolean | number;
2353
+ refresh_token?: boolean | number;
2354
+ access_token?: boolean | number;
2355
+ __typename?: boolean | number;
2356
+ __scalar?: boolean | number;
2357
+ }
2358
+ export interface StripeSessionGenqlSelection {
2359
+ account?: boolean | number;
2360
+ client_secret?: boolean | number;
2361
+ expires_at?: boolean | number;
2362
+ livemode?: boolean | number;
2363
+ __typename?: boolean | number;
2364
+ __scalar?: boolean | number;
2365
+ }
2366
+ export interface StripeCheckoutSessionGenqlSelection {
2367
+ client_secret?: boolean | number;
2368
+ expires_at?: boolean | number;
2369
+ livemode?: boolean | number;
2370
+ __typename?: boolean | number;
2371
+ __scalar?: boolean | number;
2372
+ }
2373
+ export interface StravaAthleteDataGenqlSelection {
2374
+ id?: boolean | number;
2375
+ username?: boolean | number;
2376
+ firstname?: boolean | number;
2377
+ lastname?: boolean | number;
2378
+ bio?: boolean | number;
2379
+ city?: boolean | number;
2380
+ state?: boolean | number;
2381
+ country?: boolean | number;
2382
+ sex?: boolean | number;
2383
+ premium?: boolean | number;
2384
+ profile?: boolean | number;
2385
+ created_at?: boolean | number;
2386
+ updated_at?: boolean | number;
2387
+ weight?: boolean | number;
2388
+ __typename?: boolean | number;
2389
+ __scalar?: boolean | number;
2390
+ }
2391
+ export interface InstagramCursorsGenqlSelection {
2392
+ before?: boolean | number;
2393
+ after?: boolean | number;
2394
+ __typename?: boolean | number;
2395
+ __scalar?: boolean | number;
2396
+ }
2397
+ export interface InstagramPagingGenqlSelection {
2398
+ cursors?: InstagramCursorsGenqlSelection;
2399
+ next?: boolean | number;
2400
+ __typename?: boolean | number;
2401
+ __scalar?: boolean | number;
2402
+ }
2403
+ export interface InstagramMetricGenqlSelection {
2404
+ name?: boolean | number;
2405
+ period?: boolean | number;
2406
+ values?: boolean | number;
2407
+ __typename?: boolean | number;
2408
+ __scalar?: boolean | number;
2409
+ }
2410
+ export interface InstagramInsightsGenqlSelection {
2411
+ data?: InstagramMetricGenqlSelection;
2412
+ __typename?: boolean | number;
2413
+ __scalar?: boolean | number;
2414
+ }
2415
+ export interface InstagramMediaItemGenqlSelection {
2416
+ id?: boolean | number;
2417
+ caption?: boolean | number;
2418
+ media_type?: boolean | number;
2419
+ media_url?: boolean | number;
2420
+ permalink?: boolean | number;
2421
+ thumbnail_url?: boolean | number;
2422
+ timestamp?: boolean | number;
2423
+ username?: boolean | number;
2424
+ like_count?: boolean | number;
2425
+ comments_count?: boolean | number;
2426
+ insights?: InstagramInsightsGenqlSelection;
2427
+ __typename?: boolean | number;
2428
+ __scalar?: boolean | number;
2429
+ }
2430
+ export interface InstagramMediaDataGenqlSelection {
2431
+ data?: InstagramMediaItemGenqlSelection;
2432
+ paging?: InstagramPagingGenqlSelection;
2433
+ __typename?: boolean | number;
2434
+ __scalar?: boolean | number;
2435
+ }
2436
+ export interface InstagramUserDataGenqlSelection {
2437
+ user_id?: boolean | number;
2438
+ username?: boolean | number;
2439
+ name?: boolean | number;
2440
+ account_type?: boolean | number;
2441
+ followers_count?: boolean | number;
2442
+ media_count?: boolean | number;
2443
+ __typename?: boolean | number;
2444
+ __scalar?: boolean | number;
2445
+ }
2446
+ export interface AthleteIntegrationReferenceGenqlSelection {
2447
+ _id?: boolean | number;
2448
+ athlete?: AthleteReferenceGenqlSelection;
2449
+ hasStravaIntegration?: boolean | number;
2450
+ stravaTokenExpires?: boolean | number;
2451
+ stravaAthleteData?: StravaAthleteDataGenqlSelection;
2452
+ hasInstagramIntegration?: boolean | number;
2453
+ instagramTokenExpires?: boolean | number;
2454
+ instagramUserData?: InstagramUserDataGenqlSelection;
2455
+ instagramMediaData?: InstagramMediaDataGenqlSelection;
2456
+ __typename?: boolean | number;
2457
+ __scalar?: boolean | number;
2458
+ }
2459
+ export interface EditValueResponseGenqlSelection {
2460
+ field?: boolean | number;
2461
+ oldValue?: boolean | number;
2462
+ newValue?: boolean | number;
2463
+ changed?: boolean | number;
2464
+ __typename?: boolean | number;
2465
+ __scalar?: boolean | number;
2466
+ }
2467
+ export interface ErrorTypeGenqlSelection {
2468
+ code?: boolean | number;
2469
+ message?: boolean | number;
2470
+ __typename?: boolean | number;
2471
+ __scalar?: boolean | number;
2472
+ }
2473
+ export interface DeleteValuesResponseGenqlSelection {
2474
+ deleted?: boolean | number;
2475
+ failedToDelete?: boolean | number;
2476
+ failureReason?: ErrorTypeGenqlSelection;
2477
+ result?: boolean | number;
2478
+ __typename?: boolean | number;
2479
+ __scalar?: boolean | number;
2480
+ }
2481
+ export interface DeleteSingleValueResponseGenqlSelection {
2482
+ idToDelete?: boolean | number;
2483
+ deleted?: boolean | number;
2484
+ failureReason?: ErrorTypeGenqlSelection;
2485
+ __typename?: boolean | number;
2486
+ __scalar?: boolean | number;
2487
+ }
2488
+ export interface SortOrderGenqlSelection {
2489
+ sortField?: boolean | number;
2490
+ order?: boolean | number;
2491
+ __typename?: boolean | number;
2492
+ __scalar?: boolean | number;
2493
+ }
2494
+ export interface CursorPaginationResponseGenqlSelection {
2495
+ sort?: SortOrderGenqlSelection;
2496
+ initialCursorId?: boolean | number;
2497
+ nextCursorId?: boolean | number;
2498
+ initialCursorValue?: boolean | number;
2499
+ nextCursorValue?: boolean | number;
2500
+ limit?: boolean | number;
2501
+ retrieved?: boolean | number;
2502
+ isLastPage?: boolean | number;
2503
+ __typename?: boolean | number;
2504
+ __scalar?: boolean | number;
2505
+ }
2506
+ export interface AthleteQueryResponseGenqlSelection {
2507
+ athletes?: AthleteGenqlSelection;
2508
+ cursor?: CursorPaginationResponseGenqlSelection;
2509
+ __typename?: boolean | number;
2510
+ __scalar?: boolean | number;
2511
+ }
2512
+ export interface EditPictureResponseGenqlSelection {
2513
+ field?: boolean | number;
2514
+ oldValue?: AWSS3FileGenqlSelection;
2515
+ newValue?: AWSS3FileGenqlSelection;
2516
+ changed?: boolean | number;
2517
+ __typename?: boolean | number;
2518
+ __scalar?: boolean | number;
2519
+ }
2520
+ export interface AddValuesResponseGenqlSelection {
2521
+ added?: boolean | number;
2522
+ failedToAdd?: boolean | number;
2523
+ failureReason?: ErrorTypeGenqlSelection;
2524
+ result?: boolean | number;
2525
+ __typename?: boolean | number;
2526
+ __scalar?: boolean | number;
2527
+ }
2528
+ export interface StripeObjectGenqlSelection {
2529
+ type?: boolean | number;
2530
+ json?: boolean | number;
2531
+ __typename?: boolean | number;
2532
+ __scalar?: boolean | number;
2533
+ }
2534
+ export interface UserImagesGenqlSelection {
2535
+ profilePictureUrl?: boolean | number;
2536
+ cardPictureUrl?: boolean | number;
2537
+ bannerPictureUrl?: boolean | number;
2538
+ __typename?: boolean | number;
2539
+ __scalar?: boolean | number;
2540
+ }
2541
+ export interface CreateDatabaseFileDto {
2542
+ identifier: Scalars['String'];
2543
+ version?: Scalars['String'];
2544
+ contentType: Scalars['String'];
2545
+ }
2546
+ export interface CreateTextDatabaseFileDto {
2547
+ identifier: Scalars['String'];
2548
+ version?: Scalars['String'];
2549
+ contentType: Scalars['String'];
2550
+ content?: Scalars['String'];
2551
+ }
2552
+ export interface UpdateDatabaseFileDto {
2553
+ _id: Scalars['String'];
2554
+ identifier?: (Scalars['String'] | null);
2555
+ version?: (Scalars['String'] | null);
2556
+ contentType?: (Scalars['String'] | null);
2557
+ }
2558
+ export interface UpdateTextDatabaseFileDto {
2559
+ _id: Scalars['String'];
2560
+ identifier?: (Scalars['String'] | null);
2561
+ version?: (Scalars['String'] | null);
2562
+ contentType?: (Scalars['String'] | null);
2563
+ content?: (Scalars['String'] | null);
2564
+ }
2565
+ export interface CloneDatabaseFileDto {
2566
+ _id: Scalars['String'];
2567
+ version?: (Scalars['String'] | null);
2568
+ }
2569
+ export interface FindDatabaseFilesDto {
2570
+ _id?: (Scalars['String'] | null);
2571
+ identifier?: (Scalars['String'] | null);
2572
+ version?: (Scalars['String'] | null);
2573
+ }
2574
+ export interface GetDatabaseFileDto {
2575
+ identifier: Scalars['String'];
2576
+ version: Scalars['String'];
2577
+ }
2578
+ export interface CreateVerificationCodeDto {
2579
+ type?: (Scalars['String'] | null);
2580
+ recipient?: (Scalars['String'] | null);
2581
+ expiresTime?: (Scalars['Float'] | null);
2582
+ expiresUnit?: (Scalars['String'] | null);
2583
+ data?: (Scalars['String'] | null);
2584
+ }
2585
+ export interface VerifyCodeDto {
2586
+ codeId: Scalars['String'];
2587
+ enteredCodeValue: Scalars['String'];
2588
+ type?: (Scalars['String'] | null);
2589
+ }
2590
+ export interface AthleteInvitationDto {
2591
+ email: Scalars['String'];
2592
+ name?: (Scalars['String'] | null);
2593
+ sender?: (Scalars['String'] | null);
2594
+ brandId?: (Scalars['String'] | null);
2595
+ }
2596
+ export interface InviteAthletesDto {
2597
+ language?: (Scalars['String'] | null);
2598
+ invitations: AthleteInvitationDto[];
2599
+ }
2600
+ export interface CompetitionResultDto {
2601
+ resultType: Scalars['String'];
2602
+ position?: (Scalars['Float'] | null);
2603
+ score?: (Scalars['String'] | null);
2604
+ finishTimeMS?: (Scalars['Float'] | null);
2605
+ resultWebLink?: (Scalars['String'] | null);
2606
+ }
2607
+ export interface SetCompetitionResultDto {
2608
+ resultType: Scalars['String'];
2609
+ position?: (Scalars['Float'] | null);
2610
+ score?: (Scalars['String'] | null);
2611
+ finishTimeMS?: (Scalars['Float'] | null);
2612
+ resultWebLink?: (Scalars['String'] | null);
2613
+ competitionId: Scalars['String'];
2614
+ }
2615
+ export interface CreateAthleteCompetitionDto {
2616
+ event: Scalars['String'];
2617
+ date: Scalars['DateTime'];
2618
+ eventWebsite?: (Scalars['String'] | null);
2619
+ competitionNumber?: (Scalars['String'] | null);
2620
+ result?: (CompetitionResultDto | null);
2621
+ cityId?: (Scalars['String'] | null);
2622
+ }
2623
+ export interface CreateAthleteCompetitionForDto {
2624
+ event: Scalars['String'];
2625
+ date: Scalars['DateTime'];
2626
+ eventWebsite?: (Scalars['String'] | null);
2627
+ competitionNumber?: (Scalars['String'] | null);
2628
+ result?: (CompetitionResultDto | null);
2629
+ cityId?: (Scalars['String'] | null);
2630
+ loginEmail: Scalars['String'];
2631
+ }
2632
+ export interface CursorPositionDto {
2633
+ cursorId: Scalars['String'];
2634
+ cursorFieldValue: Scalars['String'];
2635
+ }
2636
+ export interface SortCriteriaDto {
2637
+ sortField: Scalars['String'];
2638
+ order?: Scalars['String'];
2639
+ }
2640
+ export interface CursorPaginationDto {
2641
+ sortCriteria?: (SortCriteriaDto | null);
2642
+ limit?: (Scalars['Float'] | null);
2643
+ cursorPosition?: (CursorPositionDto | null);
2644
+ }
2645
+ export interface DeleteSingleValueDto {
2646
+ idToDelete: Scalars['String'];
2647
+ }
2648
+ export interface FundCampaignFilterDto {
2649
+ campaignTitle?: (Scalars['String'] | null);
2650
+ status?: (Scalars['String'] | null);
2651
+ minCompletion?: (Scalars['Float'] | null);
2652
+ maxCompletion?: (Scalars['Float'] | null);
2653
+ minFundsRequired?: (Scalars['Float'] | null);
2654
+ maxFundsRequired?: (Scalars['Float'] | null);
2655
+ minEndingDate?: (Scalars['DateTime'] | null);
2656
+ maxEndingDate?: (Scalars['DateTime'] | null);
2657
+ competitions?: (Scalars['String'][] | null);
2658
+ cities?: (Scalars['String'][] | null);
2659
+ states?: (Scalars['String'][] | null);
2660
+ countries?: (Scalars['String'][] | null);
2661
+ }
2662
+ export interface AthleteFilterDto {
2663
+ name?: (Scalars['String'] | null);
2664
+ cities?: (Scalars['String'][] | null);
2665
+ states?: (Scalars['String'][] | null);
2666
+ countries?: (Scalars['String'][] | null);
2667
+ nacionalities?: (Scalars['String'][] | null);
2668
+ teams?: (Scalars['String'][] | null);
2669
+ currentCampaign?: (FundCampaignFilterDto | null);
2670
+ sports?: (Scalars['String'][] | null);
2671
+ sportLevels?: (Scalars['String'][] | null);
2672
+ mainSportOnly?: (Scalars['Boolean'] | null);
2673
+ gender?: (Scalars['String'] | null);
2674
+ minAge?: (Scalars['Float'] | null);
2675
+ maxAge?: (Scalars['Float'] | null);
2676
+ minDob?: (Scalars['DateTime'] | null);
2677
+ maxDob?: (Scalars['DateTime'] | null);
2678
+ minVTXScore?: (Scalars['Float'] | null);
2679
+ maxVTXScore?: (Scalars['Float'] | null);
2680
+ minSocialScore?: (Scalars['Float'] | null);
2681
+ maxSocialScore?: (Scalars['Float'] | null);
2682
+ minTrainingScore?: (Scalars['Float'] | null);
2683
+ maxTrainingScore?: (Scalars['Float'] | null);
2684
+ minPerformanceScore?: (Scalars['Float'] | null);
2685
+ maxPerformanceScore?: (Scalars['Float'] | null);
2686
+ }
2687
+ export interface AthleteQueryDto {
2688
+ cursor?: (CursorPaginationDto | null);
2689
+ filters?: (AthleteFilterDto | null);
2690
+ }
2691
+ export interface EditPictureDto {
2692
+ field: Scalars['String'];
2693
+ newPicture?: (AWSS3UploadedFileDto | null);
2694
+ }
2695
+ export interface AWSS3UploadedFileDto {
2696
+ key: Scalars['String'];
2697
+ useType: Scalars['String'];
2698
+ contentType: Scalars['String'];
2699
+ originalFileName?: (Scalars['String'] | null);
2700
+ fileSize?: (Scalars['Float'] | null);
2701
+ }
2702
+ export interface UploadAlbumsPicturesDto {
2703
+ label: Scalars['String'];
2704
+ description?: (Scalars['String'] | null);
2705
+ pictures?: (AWSS3UploadedFileDto[] | null);
2706
+ albumId?: (Scalars['String'] | null);
2707
+ }
2708
+ export interface DeleteValuesDto {
2709
+ idsToDelete: Scalars['String'][];
2710
+ allOrNone?: (Scalars['Boolean'] | null);
2711
+ }
2712
+ export interface QualificationDto {
2713
+ type: Scalars['String'];
2714
+ }
2715
+ export interface AgeQualificationDto {
2716
+ type: Scalars['String'];
2717
+ value: Scalars['Float'];
2718
+ operator: Scalars['String'];
2719
+ }
2720
+ export interface GenderQualificationDto {
2721
+ type: Scalars['String'];
2722
+ operator: Scalars['String'];
2723
+ values: Scalars['String'][];
2724
+ }
2725
+ export interface NationalityQualificationDto {
2726
+ type: Scalars['String'];
2727
+ operator: Scalars['String'];
2728
+ countries: Scalars['String'][];
2729
+ }
2730
+ export interface ScoreQualificationDto {
2731
+ type: Scalars['String'];
2732
+ scoreType: Scalars['String'];
2733
+ operator: Scalars['String'];
2734
+ value: Scalars['Float'];
2735
+ }
2736
+ export interface LocationQualificationDto {
2737
+ type: Scalars['String'];
2738
+ operator: Scalars['String'];
2739
+ countries: Scalars['String'][];
2740
+ states: Scalars['String'][];
2741
+ cities: Scalars['String'][];
2742
+ }
2743
+ export interface DistanceQualificationDto {
2744
+ type: Scalars['String'];
2745
+ maxDistance: Scalars['Float'];
2746
+ latitude?: (Scalars['Float'] | null);
2747
+ longitude?: (Scalars['Float'] | null);
2748
+ cityId?: (Scalars['String'] | null);
2749
+ }
2750
+ export interface SportsQualificationDto {
2751
+ type: Scalars['String'];
2752
+ sports: Scalars['String'][];
2753
+ operator: Scalars['String'];
2754
+ }
2755
+ export interface SportsLevelQualificationDto {
2756
+ type: Scalars['String'];
2757
+ operator: Scalars['String'];
2758
+ level: Scalars['String'];
2759
+ }
2760
+ export interface RegisterUserDto {
2761
+ email: Scalars['String'];
2762
+ password: Scalars['String'];
2763
+ inviteCode?: (Scalars['String'] | null);
2764
+ }
2765
+ export interface resetPasswordDto {
2766
+ code: VerifyCodeDto;
2767
+ newPassword?: (Scalars['String'] | null);
2768
+ }
2769
+ export interface BudgetItemDto {
2770
+ quantity: Scalars['Float'];
2771
+ concept: Scalars['String'];
2772
+ itemCost: Scalars['Float'];
2773
+ }
2774
+ export interface CreateBudgetItemDto {
2775
+ quantity: Scalars['Float'];
2776
+ concept: Scalars['String'];
2777
+ itemCost: Scalars['Float'];
2778
+ budgetId: Scalars['String'];
2779
+ }
2780
+ export interface CreateBudgetDto {
2781
+ initialFunds?: (Scalars['Float'] | null);
2782
+ items?: (BudgetItemDto[] | null);
2783
+ }
2784
+ export interface CreateCompetitionBudgetDto {
2785
+ initialFunds?: (Scalars['Float'] | null);
2786
+ items?: (BudgetItemDto[] | null);
2787
+ athleteCompetitionId: Scalars['String'];
2788
+ }
2789
+ export interface CreateFundingCampaignDto {
2790
+ budgetMode: Scalars['String'];
2791
+ title: Scalars['String'];
2792
+ motivation: Scalars['String'];
2793
+ website?: (Scalars['String'] | null);
2794
+ fundsRequired: Scalars['Float'];
2795
+ initialFundsObtained?: Scalars['Float'];
2796
+ cityId?: (Scalars['String'] | null);
2797
+ endingDate: Scalars['DateTime'];
2798
+ budget?: (CreateBudgetDto | null);
2799
+ competitionBudgets?: (CreateCompetitionBudgetDto[] | null);
2800
+ competitionIds?: (Scalars['String'][] | null);
2801
+ }
2802
+ export interface CreateFundingCampaignForDto {
2803
+ budgetMode: Scalars['String'];
2804
+ title: Scalars['String'];
2805
+ motivation: Scalars['String'];
2806
+ website?: (Scalars['String'] | null);
2807
+ fundsRequired: Scalars['Float'];
2808
+ initialFundsObtained?: Scalars['Float'];
2809
+ cityId?: (Scalars['String'] | null);
2810
+ endingDate: Scalars['DateTime'];
2811
+ budget?: (CreateBudgetDto | null);
2812
+ competitionBudgets?: (CreateCompetitionBudgetDto[] | null);
2813
+ competitionIds?: (Scalars['String'][] | null);
2814
+ loginEmail: Scalars['String'];
2815
+ }
2816
+ export interface SetFundingStatusDto {
2817
+ fundingCampaignId: Scalars['String'];
2818
+ newStatus: Scalars['String'];
2819
+ }
2820
+ export interface CreateMembershipOrganizationDto {
2821
+ shortName: Scalars['String'];
2822
+ acronym?: (Scalars['String'] | null);
2823
+ fullName: Scalars['String'];
2824
+ website?: (Scalars['String'] | null);
2825
+ logo?: (AWSS3UploadedFileDto | null);
2826
+ countryId?: (Scalars['String'] | null);
2827
+ sportId?: (Scalars['String'] | null);
2828
+ }
2829
+ export interface CreateAthleteMembershipDto {
2830
+ organizationId: Scalars['String'];
2831
+ membershipNumber?: (Scalars['String'] | null);
2832
+ membershipType?: (Scalars['String'] | null);
2833
+ issueDate?: (Scalars['DateTime'] | null);
2834
+ expirationDate?: (Scalars['DateTime'] | null);
2835
+ }
2836
+ export interface DonationCheckoutDto {
2837
+ fundingCampaignId: Scalars['String'];
2838
+ donationAmount: Scalars['Float'];
2839
+ mode?: Scalars['String'];
2840
+ fromName?: (Scalars['String'] | null);
2841
+ fromEmail?: (Scalars['String'] | null);
2842
+ fromPhone?: (Scalars['String'] | null);
2843
+ message?: (Scalars['String'] | null);
2844
+ }
2845
+ export interface StripeQueryDto {
2846
+ operation: Scalars['String'];
2847
+ id: Scalars['String'];
2848
+ params?: (Scalars['String'] | null);
2849
+ }
2850
+ export interface CreateAthleteIntegrationDto {
2851
+ athleteId: Scalars['String'];
2852
+ accessToken: Scalars['String'];
2853
+ refreshToken: Scalars['String'];
2854
+ expiresIn: Scalars['Float'];
2855
+ refreshExpiresIn?: (Scalars['Float'] | null);
2856
+ }
2857
+ export interface QueryGenqlSelection {
2858
+ findTenantById?: (TenantGenqlSelection & {
2859
+ __args: {
2860
+ _id: Scalars['String'];
2861
+ };
2862
+ });
2863
+ findTenantByEmail?: (TenantGenqlSelection & {
2864
+ __args: {
2865
+ email: Scalars['String'];
2866
+ domainId: Scalars['String'];
2867
+ };
2868
+ });
2869
+ getTenants?: TenantGenqlSelection;
2870
+ isTenantUriAvailable?: (UriAvailableTypeGenqlSelection & {
2871
+ __args: {
2872
+ tenant_uri: Scalars['String'];
2873
+ };
2874
+ });
2875
+ findUserById?: (UserGenqlSelection & {
2876
+ __args: {
2877
+ _id: Scalars['String'];
2878
+ };
2879
+ });
2880
+ findUserByEmail?: (UserGenqlSelection & {
2881
+ __args: {
2882
+ email: Scalars['String'];
2883
+ };
2884
+ });
2885
+ validateUserCredentials?: (UserGenqlSelection & {
2886
+ __args: {
2887
+ username: Scalars['String'];
2888
+ password: Scalars['String'];
2889
+ };
2890
+ });
2891
+ getUploadUrl?: (AWSS3UploadUrlGenqlSelection & {
2892
+ __args: {
2893
+ input: AWSS3GetUploadDto;
2894
+ };
2895
+ });
2896
+ industries?: IndustryGenqlSelection;
2897
+ findIndustryById?: (IndustryGenqlSelection & {
2898
+ __args: {
2899
+ industryId: Scalars['String'];
2900
+ };
2901
+ });
2902
+ brands?: BrandGenqlSelection;
2903
+ getBrandByName?: (BrandGenqlSelection & {
2904
+ __args: {
2905
+ name: Scalars['String'];
2906
+ translations: Scalars['Boolean'];
2907
+ };
2908
+ });
2909
+ getBrandTranslation?: (BrandTranslationGenqlSelection & {
2910
+ __args: {
2911
+ brandId: Scalars['String'];
2912
+ language: Scalars['String'];
2913
+ };
2914
+ });
2915
+ existsValidSponsorForEmail?: (SponsorGenqlSelection & {
2916
+ __args: {
2917
+ loginEmail: Scalars['String'];
2918
+ };
2919
+ });
2920
+ sponsors?: SponsorGenqlSelection;
2921
+ findSponsorAthleteInvitation?: (SponsorAthleteInvitationGenqlSelection & {
2922
+ __args: {
2923
+ input: FindSponsorAthleteInvitationDto;
2924
+ };
2925
+ });
2926
+ getAthletes?: AthleteGenqlSelection;
2927
+ queryAthleteFundingCampaigns?: (AthleteQueryResponseGenqlSelection & {
2928
+ __args: {
2929
+ input: AthleteQueryDto;
2930
+ };
2931
+ });
2932
+ searchAthletes?: (AthleteGenqlSelection & {
2933
+ __args: {
2934
+ searchString: Scalars['String'];
2935
+ };
2936
+ });
2937
+ findAthleteById?: (AthleteGenqlSelection & {
2938
+ __args: {
2939
+ athleteId: Scalars['String'];
2940
+ };
2941
+ });
2942
+ findAthleteForUser?: (AthleteGenqlSelection & {
2943
+ __args: {
2944
+ loginEmail: Scalars['String'];
2945
+ };
2946
+ });
2947
+ getRecommendedAthletes?: (AthleteGenqlSelection & {
2948
+ __args: {
2949
+ loginEmail: Scalars['String'];
2950
+ };
2951
+ });
2952
+ getSponsorAthletesForTenant?: AthleteGenqlSelection;
2953
+ getAthleteCompetitions?: (AthleteCompetitionGenqlSelection & {
2954
+ __args: {
2955
+ input: GetAthleteCompetitionsDto;
2956
+ };
2957
+ });
2958
+ getAthleteMemberships?: (AthleteMembershipGenqlSelection & {
2959
+ __args: {
2960
+ athleteId: Scalars['String'];
2961
+ };
2962
+ });
2963
+ findAthletebyIdpublic?: (AthleteGenqlSelection & {
2964
+ __args: {
2965
+ athleteId: Scalars['String'];
2966
+ };
2967
+ });
2968
+ getAthleteAlbums?: AlbumGenqlSelection;
2969
+ getAndSetAlbumById?: (AlbumGenqlSelection & {
2970
+ __args: {
2971
+ input: Scalars['String'];
2972
+ };
2973
+ });
2974
+ getAthleteAlbumId?: (AlbumGenqlSelection & {
2975
+ __args: {
2976
+ input: Scalars['String'];
2977
+ };
2978
+ });
2979
+ queryAthleteWithFilter?: (AthleteQueryResponseGenqlSelection & {
2980
+ __args: {
2981
+ input: AthleteQueryDto;
2982
+ };
2983
+ });
2984
+ getSports?: SportGenqlSelection;
2985
+ findSportById?: (SportGenqlSelection & {
2986
+ __args: {
2987
+ sportId: Scalars['String'];
2988
+ };
2989
+ });
2990
+ getSportLevels?: SportLevelGenqlSelection;
2991
+ getPublicSponsorships?: SponsorshipGenqlSelection;
2992
+ getTenantSponsorships?: SponsorshipGenqlSelection;
2993
+ getCountries?: CountryGenqlSelection;
2994
+ getCountryStates?: (StateGenqlSelection & {
2995
+ __args: {
2996
+ countryId: Scalars['String'];
2997
+ };
2998
+ });
2999
+ getStates?: StateGenqlSelection;
3000
+ getStateCities?: (CityGenqlSelection & {
3001
+ __args: {
3002
+ stateId: Scalars['String'];
3003
+ };
3004
+ });
3005
+ findCitiesStartingWith?: (CityGenqlSelection & {
3006
+ __args: {
3007
+ text: Scalars['String'];
3008
+ };
3009
+ });
3010
+ findCityById?: (CityGenqlSelection & {
3011
+ __args: {
3012
+ cityId: Scalars['String'];
3013
+ };
3014
+ });
3015
+ findVtxUser?: (UserGenqlSelection & {
3016
+ __args: {
3017
+ input: FindVtxUserDto;
3018
+ };
3019
+ });
3020
+ validateUserCredentialsVtx?: (UserGenqlSelection & {
3021
+ __args: {
3022
+ username: Scalars['String'];
3023
+ password: Scalars['String'];
3024
+ };
3025
+ });
3026
+ getUserImagesFromEmail?: (UserImagesGenqlSelection & {
3027
+ __args: {
3028
+ loginEmail: Scalars['String'];
3029
+ };
3030
+ });
3031
+ getResetVerificationCode?: (VerificationCodeGenqlSelection & {
3032
+ __args: {
3033
+ input: Scalars['String'];
3034
+ };
3035
+ });
3036
+ verifyCode?: (CodeVerificationResponseGenqlSelection & {
3037
+ __args: {
3038
+ input: VerifyCodeDto;
3039
+ };
3040
+ });
3041
+ getStravaLoginUrl?: boolean | number;
3042
+ getSportsEvents?: (SportsEventGenqlSelection & {
3043
+ __args: {
3044
+ input: GetSportEventsDto;
3045
+ };
3046
+ });
3047
+ getMembershipOrganizations?: MembershipOrganizationReferenceGenqlSelection;
3048
+ getAthleteStravaIntegration?: AthleteIntegrationReferenceGenqlSelection;
3049
+ getAthleteInstagramIntegration?: AthleteIntegrationReferenceGenqlSelection;
3050
+ getAthleteIntegrations?: AthleteIntegrationReferenceGenqlSelection;
3051
+ stripeQuery?: (StripeObjectGenqlSelection & {
3052
+ __args: {
3053
+ input: StripeQueryDto;
3054
+ };
3055
+ });
3056
+ getDatabaseTextFile?: (TextDatabaseFileGenqlSelection & {
3057
+ __args: {
3058
+ input: GetDatabaseFileDto;
3059
+ };
3060
+ });
3061
+ __typename?: boolean | number;
3062
+ __scalar?: boolean | number;
3063
+ }
3064
+ export interface AWSS3GetUploadDto {
3065
+ useType: Scalars['String'];
3066
+ name?: (Scalars['String'] | null);
3067
+ }
3068
+ export interface FindSponsorAthleteInvitationDto {
3069
+ code: Scalars['String'];
3070
+ type?: (Scalars['String'] | null);
3071
+ }
3072
+ export interface GetAthleteCompetitionsDto {
3073
+ athleteId: Scalars['String'];
3074
+ fromInclusive?: (Scalars['DateTime'] | null);
3075
+ toExclusive?: (Scalars['DateTime'] | null);
3076
+ }
3077
+ export interface FindVtxUserDto {
3078
+ loginEmail: Scalars['String'];
3079
+ }
3080
+ export interface GetSportEventsDto {
3081
+ matchString?: (Scalars['String'] | null);
3082
+ }
3083
+ export interface MutationGenqlSelection {
3084
+ registerNewDomainTenant?: (TenantGenqlSelection & {
3085
+ __args: {
3086
+ tenant: CreateTenantInput;
3087
+ };
3088
+ });
3089
+ registerNewDomainTenantWithLogin?: (TenantWithUserLoginGenqlSelection & {
3090
+ __args: {
3091
+ tenant: CreateTenantInput;
3092
+ };
3093
+ });
3094
+ createUserAndLogin?: (UserWithTokenGenqlSelection & {
3095
+ __args: {
3096
+ user: CreateActiveUserInput;
3097
+ };
3098
+ });
3099
+ loginUserFromEmail?: (UserTokenGenqlSelection & {
3100
+ __args: {
3101
+ email: Scalars['String'];
3102
+ loginMethod: Scalars['String'];
3103
+ };
3104
+ });
3105
+ loginUserFromCredentials?: (UserWithTokenGenqlSelection & {
3106
+ __args: {
3107
+ username: Scalars['String'];
3108
+ password: Scalars['String'];
3109
+ };
3110
+ });
3111
+ registerUserToDomainFromEmail?: (UserGenqlSelection & {
3112
+ __args: {
3113
+ input: RegisterUserToDomainFromEmailInput;
3114
+ };
3115
+ });
3116
+ refreshToken?: (UserTokenGenqlSelection & {
3117
+ __args: {
3118
+ dto: RefreshTokenInput;
3119
+ };
3120
+ });
3121
+ deleteUploadedUseTypeFile?: (AWSS3CallResultGenqlSelection & {
3122
+ __args: {
3123
+ input: AWSS3DeleteUseTypeFileDto;
3124
+ };
3125
+ });
3126
+ deleteUploadedBucketFile?: (AWSS3CallResultGenqlSelection & {
3127
+ __args: {
3128
+ input: AWSS3DeleteBucketFileDto;
3129
+ };
3130
+ });
3131
+ deleteUploadedTypeKeyFile?: (AWSS3CallResultGenqlSelection & {
3132
+ __args: {
3133
+ input: AWSS3DeleteUseTypeKeyDto;
3134
+ };
3135
+ });
3136
+ registerS3UploadedFile?: (AWSS3FileGenqlSelection & {
3137
+ __args: {
3138
+ input: AWSS3UploadedFileDto;
3139
+ };
3140
+ });
3141
+ createIndustry?: (IndustryGenqlSelection & {
3142
+ __args: {
3143
+ input: CreateIndustryDto;
3144
+ };
3145
+ });
3146
+ createBrand?: (BrandGenqlSelection & {
3147
+ __args: {
3148
+ input: CreateBrandDto;
3149
+ };
3150
+ });
3151
+ registerSponsor?: (SponsorGenqlSelection & {
3152
+ __args: {
3153
+ input: RegisterSponsorInput;
3154
+ };
3155
+ });
3156
+ createSponsor?: (SponsorGenqlSelection & {
3157
+ __args: {
3158
+ input: CreateSponsorDto;
3159
+ };
3160
+ });
3161
+ sendAthleteInvitations?: (SponsorAthleteInvitationGenqlSelection & {
3162
+ __args: {
3163
+ input: InviteAthletesDto;
3164
+ };
3165
+ });
3166
+ registerAthlete?: (AthleteGenqlSelection & {
3167
+ __args: {
3168
+ input: RegisterAthleteDto;
3169
+ };
3170
+ });
3171
+ editProfileValue?: (EditValueResponseGenqlSelection & {
226
3172
  __args: {
227
- _id: Scalars['String'];
3173
+ input: EditValueDto;
228
3174
  };
229
3175
  });
230
- tenantByEmail?: (TenantGenqlSelection & {
3176
+ editPicture?: (EditPictureResponseGenqlSelection & {
231
3177
  __args: {
232
- email: Scalars['String'];
3178
+ input: EditPictureDto;
233
3179
  };
234
3180
  });
235
- tenants?: TenantGenqlSelection;
236
- isTenantUriAvailable?: (UriAvailableTypeGenqlSelection & {
3181
+ AddAlbumPictures?: (AddValuesResponseGenqlSelection & {
237
3182
  __args: {
238
- tenant_uri: Scalars['String'];
3183
+ input: UploadAlbumsPicturesDto;
239
3184
  };
240
3185
  });
241
- tenantApiKeys?: ApiKeyGenqlSelection;
242
- nontenantedUserById?: (UserGenqlSelection & {
3186
+ addAthleteCompetition?: (AthleteCompetitionGenqlSelection & {
243
3187
  __args: {
244
- _id: Scalars['String'];
3188
+ input: CreateAthleteCompetitionDto;
245
3189
  };
246
3190
  });
247
- nontenantedUserByEmail?: (UserGenqlSelection & {
3191
+ deleteAthleteCompetition?: (DeleteSingleValueResponseGenqlSelection & {
248
3192
  __args: {
249
- email: Scalars['String'];
3193
+ input: DeleteSingleValueDto;
250
3194
  };
251
3195
  });
252
- industries?: IndustryGenqlSelection;
253
- findIndustryById?: (IndustryGenqlSelection & {
3196
+ createAthleteAlbum?: (AlbumGenqlSelection & {
254
3197
  __args: {
255
- industryId: Scalars['String'];
3198
+ input: UploadAlbumsPicturesDto;
256
3199
  };
257
3200
  });
258
- brands?: BrandGenqlSelection;
259
- existsValidSponsorForEmail?: (SponsorGenqlSelection & {
3201
+ deleteAthleteAlbum?: (DeleteSingleValueResponseGenqlSelection & {
260
3202
  __args: {
261
- loginEmail: Scalars['String'];
3203
+ input: DeleteSingleValueDto;
262
3204
  };
263
3205
  });
264
- sponsors?: SponsorGenqlSelection;
265
- __typename?: boolean | number;
266
- __scalar?: boolean | number;
267
- }
268
- export interface MutationGenqlSelection {
269
- createTenant?: (TenantGenqlSelection & {
3206
+ deleteAthletePhotos?: (DeleteValuesResponseGenqlSelection & {
270
3207
  __args: {
271
- tenant: CreateTenantInput;
3208
+ input: DeleteValuesDto;
272
3209
  };
273
3210
  });
274
- createTenantApiKey?: (ApiKeyGenqlSelection & {
3211
+ saveAthleteCompetitionResult?: (AthleteCompetitionResultGenqlSelection & {
275
3212
  __args: {
276
- newKeyInfo: CreateApiKeyInput;
3213
+ input: SetCompetitionResultDto;
277
3214
  };
278
3215
  });
279
- createTenantApiKeyWithSystemKey?: (ApiKeyWithValueGenqlSelection & {
3216
+ updateAthleteTpiScore?: AthleteGenqlSelection;
3217
+ createSport?: (SportGenqlSelection & {
280
3218
  __args: {
281
- newKeyInfo: CreateApiKeyInput;
3219
+ input: CreateSportDto;
282
3220
  };
283
3221
  });
284
- createTenantWithLogin?: (TenantWithUserLoginGenqlSelection & {
3222
+ updateSport?: (SportGenqlSelection & {
285
3223
  __args: {
286
- tenant: CreateTenantInput;
3224
+ input: UpdateSportDto;
287
3225
  };
288
3226
  });
289
- createTenantUserToken?: (TenantUserTokenWithInfoGenqlSelection & {
3227
+ createSportLevel?: (SportLevelGenqlSelection & {
290
3228
  __args: {
291
- requestTokenDto: CreateTenantUserTokenDto;
3229
+ input: CreateSportLevelDto;
292
3230
  };
293
3231
  });
294
- createTenantUserTokenFromEmailAndUri?: (TenantUserTokenWithInfoGenqlSelection & {
3232
+ createSponsorship?: (SponsorshipGenqlSelection & {
295
3233
  __args: {
296
- requestTokenInfoDto: CreateTenantUserTokenFromEmailAndUriDto;
3234
+ input: CreateSponsorshipDto;
297
3235
  };
298
3236
  });
299
- createNonTenantedUserWithLogin?: (UserWithTokenGenqlSelection & {
3237
+ createCountry?: (CountryGenqlSelection & {
300
3238
  __args: {
301
- user: CreateActiveUserInput;
3239
+ input: CreateCountryDto;
302
3240
  };
303
3241
  });
304
- createNonTenantUserTokenFromEmail?: (UserTokenGenqlSelection & {
3242
+ createState?: (StateGenqlSelection & {
305
3243
  __args: {
306
- email: Scalars['String'];
3244
+ input: CreateStateDto;
307
3245
  };
308
3246
  });
309
- createIndustry?: (IndustryGenqlSelection & {
3247
+ createCity?: (CityGenqlSelection & {
310
3248
  __args: {
311
- input: CreateIndustryDto;
3249
+ input: CreateCityDto;
312
3250
  };
313
3251
  });
314
- createBrand?: (BrandGenqlSelection & {
3252
+ preRegisterAthleteUser?: (VerificationCodeGenqlSelection & {
315
3253
  __args: {
316
- input: CreateBrandDto;
3254
+ input: RegisterUserDto;
317
3255
  };
318
3256
  });
319
- registerSponsor?: (SponsorGenqlSelection & {
3257
+ confirmAthleteUserRegistrationAndLogin?: (UserWithTokenGenqlSelection & {
320
3258
  __args: {
321
- input: RegisterSponsorInput;
3259
+ input: VerifyCodeDto;
322
3260
  };
323
3261
  });
324
- createSponsor?: (SponsorGenqlSelection & {
3262
+ confirmAthleteUserRegistration?: (UserGenqlSelection & {
325
3263
  __args: {
326
- input: CreateSponsorDto;
3264
+ input: VerifyCodeDto;
3265
+ };
3266
+ });
3267
+ registerAthleteUser?: (UserGenqlSelection & {
3268
+ __args: {
3269
+ input: RegisterUserDto;
3270
+ };
3271
+ });
3272
+ registerSponsorUser?: (UserGenqlSelection & {
3273
+ __args: {
3274
+ input: RegisterUserDto;
3275
+ };
3276
+ });
3277
+ loginUserFromCredentialsVtx?: (UserWithTokenGenqlSelection & {
3278
+ __args: {
3279
+ username: Scalars['String'];
3280
+ password: Scalars['String'];
3281
+ };
3282
+ });
3283
+ createResetPasswordCode?: (EditValueResponseGenqlSelection & {
3284
+ __args: {
3285
+ input: Scalars['String'];
3286
+ };
3287
+ });
3288
+ resetUserPassword?: (EditValueResponseGenqlSelection & {
3289
+ __args: {
3290
+ input: resetPasswordDto;
3291
+ };
3292
+ });
3293
+ handleStravaCallback?: (StravaTokenGenqlSelection & {
3294
+ __args: {
3295
+ data: RegisterStravaDto;
3296
+ };
3297
+ });
3298
+ refreshStravaToken?: (StravaTokenGenqlSelection & {
3299
+ __args: {
3300
+ input: Scalars['String'];
3301
+ };
3302
+ });
3303
+ createSportsEvent?: (SportsEventGenqlSelection & {
3304
+ __args: {
3305
+ input: CreateSportEventDto;
3306
+ };
3307
+ });
3308
+ setFundingStatus?: (FundRaisingCampaignGenqlSelection & {
3309
+ __args: {
3310
+ input: SetFundingStatusDto;
3311
+ };
3312
+ });
3313
+ createFundingCampaign?: (FundRaisingCampaignGenqlSelection & {
3314
+ __args: {
3315
+ input: CreateFundingCampaignDto;
3316
+ };
3317
+ });
3318
+ createMembershipOrganization?: (MembershipOrganizationReferenceGenqlSelection & {
3319
+ __args: {
3320
+ input: CreateMembershipOrganizationDto;
3321
+ };
3322
+ });
3323
+ createAthleteMembershipAffilation?: (AthleteMembershipGenqlSelection & {
3324
+ __args: {
3325
+ input: CreateAthleteMembershipDto;
3326
+ };
3327
+ });
3328
+ deleteAthleteMembershipAffilation?: (DeleteSingleValueResponseGenqlSelection & {
3329
+ __args: {
3330
+ input: DeleteSingleValueDto;
3331
+ };
3332
+ });
3333
+ updateAthleteIntegration?: {
3334
+ __args: {
3335
+ type: Scalars['String'];
3336
+ };
3337
+ };
3338
+ createStripeAccount?: (StripeAccountReferenceGenqlSelection & {
3339
+ __args: {
3340
+ input: CreateStripeAccountDto;
3341
+ };
3342
+ });
3343
+ createAthleteStripeSession?: StripeSessionGenqlSelection;
3344
+ createStripeCheckoutSession?: (StripeCheckoutSessionGenqlSelection & {
3345
+ __args: {
3346
+ input: DonationCheckoutDto;
327
3347
  };
328
3348
  });
329
3349
  __typename?: boolean | number;
@@ -333,22 +3353,34 @@ export interface CreateTenantInput {
333
3353
  name: Scalars['String'];
334
3354
  email: Scalars['String'];
335
3355
  tenant_uri: Scalars['String'];
336
- }
337
- export interface CreateApiKeyInput {
338
- keyName: Scalars['String'];
339
- readAccess: Scalars['Boolean'];
340
- writeAccess: Scalars['Boolean'];
341
- }
342
- export interface CreateTenantUserTokenDto {
343
- requestToken: Scalars['String'];
344
- }
345
- export interface CreateTenantUserTokenFromEmailAndUriDto {
346
- email: Scalars['String'];
347
- tenant_uri: Scalars['String'];
3356
+ domain: Scalars['String'];
348
3357
  }
349
3358
  export interface CreateActiveUserInput {
350
3359
  loginEmail: Scalars['String'];
351
3360
  password?: (Scalars['String'] | null);
3361
+ loginMethod?: (Scalars['String'] | null);
3362
+ }
3363
+ export interface RegisterUserToDomainFromEmailInput {
3364
+ email: Scalars['String'];
3365
+ domainId: Scalars['String'];
3366
+ tenantId?: (Scalars['String'] | null);
3367
+ createUserIfNotExist?: (Scalars['Boolean'] | null);
3368
+ }
3369
+ export interface RefreshTokenInput {
3370
+ refreshToken: Scalars['String'];
3371
+ }
3372
+ export interface AWSS3DeleteUseTypeFileDto {
3373
+ name: Scalars['String'];
3374
+ useType: Scalars['String'];
3375
+ }
3376
+ export interface AWSS3DeleteBucketFileDto {
3377
+ key: Scalars['String'];
3378
+ bucket: Scalars['String'];
3379
+ credentialsId?: (Scalars['String'] | null);
3380
+ }
3381
+ export interface AWSS3DeleteUseTypeKeyDto {
3382
+ key: Scalars['String'];
3383
+ useType: Scalars['String'];
352
3384
  }
353
3385
  export interface CreateIndustryDto {
354
3386
  name: Scalars['String'];
@@ -356,6 +3388,20 @@ export interface CreateIndustryDto {
356
3388
  export interface CreateBrandDto {
357
3389
  name: Scalars['String'];
358
3390
  description?: (Scalars['String'] | null);
3391
+ slogan?: (Scalars['String'] | null);
3392
+ website?: (Scalars['String'] | null);
3393
+ logo?: (AWSS3UploadedFileDto | null);
3394
+ banner?: (AWSS3UploadedFileDto | null);
3395
+ translations?: (BrandTranslationDto[] | null);
3396
+ }
3397
+ export interface BrandTranslationDto {
3398
+ brandId: Scalars['String'];
3399
+ language: Scalars['String'];
3400
+ name?: (Scalars['String'] | null);
3401
+ description?: (Scalars['String'] | null);
3402
+ slogan?: (Scalars['String'] | null);
3403
+ logo?: (AWSS3UploadedFileDto | null);
3404
+ banner?: (AWSS3UploadedFileDto | null);
359
3405
  }
360
3406
  export interface RegisterSponsorInput {
361
3407
  name: Scalars['String'];
@@ -373,45 +3419,511 @@ export interface CreateSponsorDto {
373
3419
  name: Scalars['String'];
374
3420
  description?: (Scalars['String'] | null);
375
3421
  }
376
- export declare const isApiKey: (obj?: {
377
- __typename?: any;
378
- } | null) => obj is ApiKey;
379
- export declare const isApiKeyWithValue: (obj?: {
380
- __typename?: any;
381
- } | null) => obj is ApiKeyWithValue;
382
- export declare const isUserToken: (obj?: {
383
- __typename?: any;
384
- } | null) => obj is UserToken;
385
- export declare const isDomain: (obj?: {
386
- __typename?: any;
387
- } | null) => obj is Domain;
3422
+ export interface RegisterAthleteDto {
3423
+ email: Scalars['String'];
3424
+ firstName: Scalars['String'];
3425
+ lastName: Scalars['String'];
3426
+ screenName?: (Scalars['String'] | null);
3427
+ nationality: Scalars['String'];
3428
+ cityId: Scalars['String'];
3429
+ locLatitude?: (Scalars['Float'] | null);
3430
+ locLongitude?: (Scalars['Float'] | null);
3431
+ dateOfBirth: Scalars['DateTime'];
3432
+ lgbt?: (Scalars['Boolean'] | null);
3433
+ trainer?: (Scalars['String'] | null);
3434
+ trainerUrl?: (Scalars['String'] | null);
3435
+ aboutMe?: (Scalars['String'] | null);
3436
+ team?: (Scalars['String'] | null);
3437
+ gender: Scalars['String'];
3438
+ mainSport: Scalars['String'];
3439
+ mainSportLevel: Scalars['String'];
3440
+ profilePicture?: (AWSS3UploadedFileDto | null);
3441
+ cardPicture?: (AWSS3UploadedFileDto | null);
3442
+ }
3443
+ export interface EditValueDto {
3444
+ field: Scalars['String'];
3445
+ newValue?: (Scalars['String'] | null);
3446
+ }
3447
+ export interface CreateSportDto {
3448
+ _id: Scalars['String'];
3449
+ name: Scalars['String'];
3450
+ priority?: (Scalars['Float'] | null);
3451
+ resultType?: (Scalars['String'] | null);
3452
+ }
3453
+ export interface UpdateSportDto {
3454
+ _id: Scalars['String'];
3455
+ name: Scalars['String'];
3456
+ }
3457
+ export interface CreateSportLevelDto {
3458
+ _id: Scalars['String'];
3459
+ label: Scalars['String'];
3460
+ index: Scalars['Float'];
3461
+ translations?: (CreateSportLevelTranslationDto[] | null);
3462
+ }
3463
+ export interface CreateSportLevelTranslationDto {
3464
+ language: Scalars['String'];
3465
+ label: Scalars['String'];
3466
+ }
3467
+ export interface CreateSponsorshipDto {
3468
+ title: Scalars['String'];
3469
+ brandId: Scalars['String'];
3470
+ description?: (Scalars['String'] | null);
3471
+ cashValue?: (Scalars['Float'] | null);
3472
+ otherValue?: (Scalars['Float'] | null);
3473
+ banner?: (AWSS3UploadedFileDto | null);
3474
+ criteria?: (AthleteCriteriaDto | null);
3475
+ deadline?: (Scalars['DateTime'] | null);
3476
+ startDate?: (Scalars['DateTime'] | null);
3477
+ duration: DurationDto;
3478
+ sponsorshipItems?: (SponsorshipItemDto[] | null);
3479
+ commitments?: (SponsorshipCommitmentDto[] | null);
3480
+ terms?: (Scalars['String'] | null);
3481
+ published?: (Scalars['Boolean'] | null);
3482
+ isPrivate?: (Scalars['Boolean'] | null);
3483
+ translations?: (SponsorshipTranslationDto[] | null);
3484
+ }
3485
+ export interface AthleteCriteriaDto {
3486
+ _id: Scalars['String'];
3487
+ label?: (Scalars['String'] | null);
3488
+ qualificationsBag?: (QualificationsBagDto | null);
3489
+ }
3490
+ export interface QualificationsBagDto {
3491
+ ageQualifications?: (AgeQualificationDto[] | null);
3492
+ genderQualifications?: (GenderQualificationDto[] | null);
3493
+ scoreQualifications?: (ScoreQualificationDto[] | null);
3494
+ locationQualifications?: (LocationQualificationDto[] | null);
3495
+ nationalityQualifications?: (NationalityQualificationDto[] | null);
3496
+ distanceQualifications?: (DistanceQualificationDto[] | null);
3497
+ sportsQualifications?: (SportsQualificationDto[] | null);
3498
+ levelQualifications?: (SportsLevelQualificationDto[] | null);
3499
+ }
3500
+ export interface DurationDto {
3501
+ length?: Scalars['Float'];
3502
+ unit?: Scalars['String'];
3503
+ }
3504
+ export interface SponsorshipItemDto {
3505
+ _id: Scalars['String'];
3506
+ quantity?: Scalars['Float'];
3507
+ title: Scalars['String'];
3508
+ value?: Scalars['Float'];
3509
+ }
3510
+ export interface SponsorshipCommitmentDto {
3511
+ _id: Scalars['String'];
3512
+ title: Scalars['String'];
3513
+ details?: (Scalars['String'] | null);
3514
+ hashTags?: (Scalars['String'][] | null);
3515
+ media: Scalars['String'];
3516
+ actionType: Scalars['String'];
3517
+ frequency?: (Scalars['Float'] | null);
3518
+ periodicity: Scalars['String'];
3519
+ }
3520
+ export interface SponsorshipTranslationDto {
3521
+ sponsorshipId: Scalars['String'];
3522
+ language: Scalars['String'];
3523
+ title?: (Scalars['String'] | null);
3524
+ description?: (Scalars['String'] | null);
3525
+ banner?: (AWSS3UploadedFileDto | null);
3526
+ terms?: (Scalars['String'] | null);
3527
+ }
3528
+ export interface CreateCountryDto {
3529
+ _id: Scalars['String'];
3530
+ name: Scalars['String'];
3531
+ }
3532
+ export interface CreateStateDto {
3533
+ _id: Scalars['String'];
3534
+ name: Scalars['String'];
3535
+ countryId: Scalars['String'];
3536
+ }
3537
+ export interface CreateCityDto {
3538
+ _id: Scalars['String'];
3539
+ cityName: Scalars['String'];
3540
+ cityNameLocalized: Scalars['String'];
3541
+ lat: Scalars['Float'];
3542
+ lng: Scalars['Float'];
3543
+ stateId: Scalars['String'];
3544
+ timezone: Scalars['String'];
3545
+ city_alt?: (Scalars['String'] | null);
3546
+ iso3?: (Scalars['String'] | null);
3547
+ admin_type?: (Scalars['String'] | null);
3548
+ capital?: (Scalars['String'] | null);
3549
+ density?: (Scalars['Float'] | null);
3550
+ population?: (Scalars['Float'] | null);
3551
+ population_proper?: (Scalars['Float'] | null);
3552
+ ranking?: (Scalars['Float'] | null);
3553
+ same_name?: (Scalars['String'] | null);
3554
+ }
3555
+ export interface RegisterStravaDto {
3556
+ idAthlete: Scalars['String'];
3557
+ code: Scalars['String'];
3558
+ }
3559
+ export interface CreateSportEventDto {
3560
+ name: Scalars['String'];
3561
+ cityId?: (Scalars['String'] | null);
3562
+ sportId?: (Scalars['String'] | null);
3563
+ startDate: Scalars['DateTime'];
3564
+ endDate?: (Scalars['DateTime'] | null);
3565
+ website?: (Scalars['String'] | null);
3566
+ banner?: (AWSS3UploadedFileDto | null);
3567
+ }
3568
+ export interface CreateStripeAccountDto {
3569
+ countryId: Scalars['String'];
3570
+ acceptedTermsId: Scalars['String'];
3571
+ acceptedPrivacyId: Scalars['String'];
3572
+ }
388
3573
  export declare const isUser: (obj?: {
389
3574
  __typename?: any;
390
3575
  } | null) => obj is User;
391
3576
  export declare const isUserWithToken: (obj?: {
392
3577
  __typename?: any;
393
3578
  } | null) => obj is UserWithToken;
3579
+ export declare const isBaseTenant: (obj?: {
3580
+ __typename?: any;
3581
+ } | null) => obj is BaseTenant;
394
3582
  export declare const isTenant: (obj?: {
395
3583
  __typename?: any;
396
3584
  } | null) => obj is Tenant;
397
- export declare const isUriAvailableType: (obj?: {
3585
+ export declare const isDomain: (obj?: {
398
3586
  __typename?: any;
399
- } | null) => obj is UriAvailableType;
3587
+ } | null) => obj is Domain;
3588
+ export declare const isDomainCredential: (obj?: {
3589
+ __typename?: any;
3590
+ } | null) => obj is DomainCredential;
3591
+ export declare const isUserToken: (obj?: {
3592
+ __typename?: any;
3593
+ } | null) => obj is UserToken;
3594
+ export declare const isDecodedToken: (obj?: {
3595
+ __typename?: any;
3596
+ } | null) => obj is DecodedToken;
3597
+ export declare const isDecodedRefreshToken: (obj?: {
3598
+ __typename?: any;
3599
+ } | null) => obj is DecodedRefreshToken;
400
3600
  export declare const isTenantWithUserLogin: (obj?: {
401
3601
  __typename?: any;
402
3602
  } | null) => obj is TenantWithUserLogin;
403
- export declare const isTenantUserTokenWithInfo: (obj?: {
3603
+ export declare const isUriAvailableType: (obj?: {
3604
+ __typename?: any;
3605
+ } | null) => obj is UriAvailableType;
3606
+ export declare const isAgreement: (obj?: {
3607
+ __typename?: any;
3608
+ } | null) => obj is Agreement;
3609
+ export declare const isBillEntity: (obj?: {
3610
+ __typename?: any;
3611
+ } | null) => obj is BillEntity;
3612
+ export declare const isInvoiceItem: (obj?: {
3613
+ __typename?: any;
3614
+ } | null) => obj is InvoiceItem;
3615
+ export declare const isPayment: (obj?: {
3616
+ __typename?: any;
3617
+ } | null) => obj is Payment;
3618
+ export declare const isPlaFeature: (obj?: {
3619
+ __typename?: any;
3620
+ } | null) => obj is PlaFeature;
3621
+ export declare const isPlan: (obj?: {
3622
+ __typename?: any;
3623
+ } | null) => obj is Plan;
3624
+ export declare const isPlanPrice: (obj?: {
3625
+ __typename?: any;
3626
+ } | null) => obj is PlanPrice;
3627
+ export declare const isInvoice: (obj?: {
3628
+ __typename?: any;
3629
+ } | null) => obj is Invoice;
3630
+ export declare const isSubscriptionInvoice: (obj?: {
3631
+ __typename?: any;
3632
+ } | null) => obj is SubscriptionInvoice;
3633
+ export declare const isPlanSubscription: (obj?: {
3634
+ __typename?: any;
3635
+ } | null) => obj is PlanSubscription;
3636
+ export declare const isSubscriptionPayment: (obj?: {
3637
+ __typename?: any;
3638
+ } | null) => obj is SubscriptionPayment;
3639
+ export declare const isAWSS3File: (obj?: {
404
3640
  __typename?: any;
405
- } | null) => obj is TenantUserTokenWithInfo;
3641
+ } | null) => obj is AWSS3File;
3642
+ export declare const isMagicLink: (obj?: {
3643
+ __typename?: any;
3644
+ } | null) => obj is MagicLink;
3645
+ export declare const isVerificationCode: (obj?: {
3646
+ __typename?: any;
3647
+ } | null) => obj is VerificationCode;
3648
+ export declare const isErrorInfo: (obj?: {
3649
+ __typename?: any;
3650
+ } | null) => obj is ErrorInfo;
3651
+ export declare const isHttpRequestField: (obj?: {
3652
+ __typename?: any;
3653
+ } | null) => obj is HttpRequestField;
3654
+ export declare const isAWSS3UploadUrl: (obj?: {
3655
+ __typename?: any;
3656
+ } | null) => obj is AWSS3UploadUrl;
3657
+ export declare const isAWSS3CallResult: (obj?: {
3658
+ __typename?: any;
3659
+ } | null) => obj is AWSS3CallResult;
3660
+ export declare const isDatabaseFile: (obj?: {
3661
+ __typename?: any;
3662
+ } | null) => obj is DatabaseFile;
3663
+ export declare const isTextDatabaseFile: (obj?: {
3664
+ __typename?: any;
3665
+ } | null) => obj is TextDatabaseFile;
3666
+ export declare const isCodeVerificationResponse: (obj?: {
3667
+ __typename?: any;
3668
+ } | null) => obj is CodeVerificationResponse;
3669
+ export declare const isBrandStats: (obj?: {
3670
+ __typename?: any;
3671
+ } | null) => obj is BrandStats;
3672
+ export declare const isBrandTranslation: (obj?: {
3673
+ __typename?: any;
3674
+ } | null) => obj is BrandTranslation;
406
3675
  export declare const isBrand: (obj?: {
407
3676
  __typename?: any;
408
3677
  } | null) => obj is Brand;
409
- export declare const isSponsor: (obj?: {
3678
+ export declare const isStravaTpiRideDto: (obj?: {
410
3679
  __typename?: any;
411
- } | null) => obj is Sponsor;
3680
+ } | null) => obj is StravaTpiRideDto;
3681
+ export declare const isStravaTpiRunDto: (obj?: {
3682
+ __typename?: any;
3683
+ } | null) => obj is StravaTpiRunDto;
3684
+ export declare const isStravaTpiSwimDto: (obj?: {
3685
+ __typename?: any;
3686
+ } | null) => obj is StravaTpiSwimDto;
3687
+ export declare const isCity: (obj?: {
3688
+ __typename?: any;
3689
+ } | null) => obj is City;
3690
+ export declare const isState: (obj?: {
3691
+ __typename?: any;
3692
+ } | null) => obj is State;
3693
+ export declare const isCountry: (obj?: {
3694
+ __typename?: any;
3695
+ } | null) => obj is Country;
3696
+ export declare const isAgeQualification: (obj?: {
3697
+ __typename?: any;
3698
+ } | null) => obj is AgeQualification;
3699
+ export declare const isGenderQualification: (obj?: {
3700
+ __typename?: any;
3701
+ } | null) => obj is GenderQualification;
3702
+ export declare const isScoreQualification: (obj?: {
3703
+ __typename?: any;
3704
+ } | null) => obj is ScoreQualification;
3705
+ export declare const isLocationQualification: (obj?: {
3706
+ __typename?: any;
3707
+ } | null) => obj is LocationQualification;
3708
+ export declare const isNationalityQualification: (obj?: {
3709
+ __typename?: any;
3710
+ } | null) => obj is NationalityQualification;
3711
+ export declare const isDistanceQualification: (obj?: {
3712
+ __typename?: any;
3713
+ } | null) => obj is DistanceQualification;
3714
+ export declare const isSportsQualification: (obj?: {
3715
+ __typename?: any;
3716
+ } | null) => obj is SportsQualification;
3717
+ export declare const isSportsLevelQualification: (obj?: {
3718
+ __typename?: any;
3719
+ } | null) => obj is SportsLevelQualification;
3720
+ export declare const isAthleteCriteria: (obj?: {
3721
+ __typename?: any;
3722
+ } | null) => obj is AthleteCriteria;
3723
+ export declare const isQualificationTypeUnion: (obj?: {
3724
+ __typename?: any;
3725
+ } | null) => obj is QualificationTypeUnion;
412
3726
  export declare const isIndustry: (obj?: {
413
3727
  __typename?: any;
414
3728
  } | null) => obj is Industry;
3729
+ export declare const isSponsorStats: (obj?: {
3730
+ __typename?: any;
3731
+ } | null) => obj is SponsorStats;
3732
+ export declare const isSponsorBrand: (obj?: {
3733
+ __typename?: any;
3734
+ } | null) => obj is SponsorBrand;
3735
+ export declare const isSponsor: (obj?: {
3736
+ __typename?: any;
3737
+ } | null) => obj is Sponsor;
3738
+ export declare const isSponsorshipItem: (obj?: {
3739
+ __typename?: any;
3740
+ } | null) => obj is SponsorshipItem;
3741
+ export declare const isSponsorshipCommitment: (obj?: {
3742
+ __typename?: any;
3743
+ } | null) => obj is SponsorshipCommitment;
3744
+ export declare const isDuration: (obj?: {
3745
+ __typename?: any;
3746
+ } | null) => obj is Duration;
3747
+ export declare const isSponsorshipStats: (obj?: {
3748
+ __typename?: any;
3749
+ } | null) => obj is SponsorshipStats;
3750
+ export declare const isSponsorshipTranslation: (obj?: {
3751
+ __typename?: any;
3752
+ } | null) => obj is SponsorshipTranslation;
3753
+ export declare const isSponsorship: (obj?: {
3754
+ __typename?: any;
3755
+ } | null) => obj is Sponsorship;
3756
+ export declare const isFollowStats: (obj?: {
3757
+ __typename?: any;
3758
+ } | null) => obj is FollowStats;
3759
+ export declare const isSport: (obj?: {
3760
+ __typename?: any;
3761
+ } | null) => obj is Sport;
3762
+ export declare const isVtxScores: (obj?: {
3763
+ __typename?: any;
3764
+ } | null) => obj is VtxScores;
3765
+ export declare const isSportLevelTranslation: (obj?: {
3766
+ __typename?: any;
3767
+ } | null) => obj is SportLevelTranslation;
3768
+ export declare const isSportLevel: (obj?: {
3769
+ __typename?: any;
3770
+ } | null) => obj is SportLevel;
3771
+ export declare const isRanking: (obj?: {
3772
+ __typename?: any;
3773
+ } | null) => obj is Ranking;
3774
+ export declare const isAthleteRankings: (obj?: {
3775
+ __typename?: any;
3776
+ } | null) => obj is AthleteRankings;
3777
+ export declare const isTeam: (obj?: {
3778
+ __typename?: any;
3779
+ } | null) => obj is Team;
3780
+ export declare const isWorldLocation: (obj?: {
3781
+ __typename?: any;
3782
+ } | null) => obj is WorldLocation;
3783
+ export declare const isSportsEvent: (obj?: {
3784
+ __typename?: any;
3785
+ } | null) => obj is SportsEvent;
3786
+ export declare const isAthleteCompetitionResult: (obj?: {
3787
+ __typename?: any;
3788
+ } | null) => obj is AthleteCompetitionResult;
3789
+ export declare const isBudgetItem: (obj?: {
3790
+ __typename?: any;
3791
+ } | null) => obj is BudgetItem;
3792
+ export declare const isBudget: (obj?: {
3793
+ __typename?: any;
3794
+ } | null) => obj is Budget;
3795
+ export declare const isAthleteCompetition: (obj?: {
3796
+ __typename?: any;
3797
+ } | null) => obj is AthleteCompetition;
3798
+ export declare const isMembershipOrganizationReference: (obj?: {
3799
+ __typename?: any;
3800
+ } | null) => obj is MembershipOrganizationReference;
3801
+ export declare const isMembershipOrganization: (obj?: {
3802
+ __typename?: any;
3803
+ } | null) => obj is MembershipOrganization;
3804
+ export declare const isAthleteMembership: (obj?: {
3805
+ __typename?: any;
3806
+ } | null) => obj is AthleteMembership;
3807
+ export declare const isNewsLink: (obj?: {
3808
+ __typename?: any;
3809
+ } | null) => obj is NewsLink;
3810
+ export declare const isChannel: (obj?: {
3811
+ __typename?: any;
3812
+ } | null) => obj is Channel;
3813
+ export declare const isPhotoAlbum: (obj?: {
3814
+ __typename?: any;
3815
+ } | null) => obj is PhotoAlbum;
3816
+ export declare const isAlbum: (obj?: {
3817
+ __typename?: any;
3818
+ } | null) => obj is Album;
3819
+ export declare const isAthletePreferences: (obj?: {
3820
+ __typename?: any;
3821
+ } | null) => obj is AthletePreferences;
3822
+ export declare const isFundRaisingCampaign: (obj?: {
3823
+ __typename?: any;
3824
+ } | null) => obj is FundRaisingCampaign;
3825
+ export declare const isStripeCapabilityType: (obj?: {
3826
+ __typename?: any;
3827
+ } | null) => obj is StripeCapabilityType;
3828
+ export declare const isStripeRequirementAlternativeType: (obj?: {
3829
+ __typename?: any;
3830
+ } | null) => obj is StripeRequirementAlternativeType;
3831
+ export declare const isStripeFutureRequirementAlternativeType: (obj?: {
3832
+ __typename?: any;
3833
+ } | null) => obj is StripeFutureRequirementAlternativeType;
3834
+ export declare const isStripeErrorType: (obj?: {
3835
+ __typename?: any;
3836
+ } | null) => obj is StripeErrorType;
3837
+ export declare const isStripeRequirementType: (obj?: {
3838
+ __typename?: any;
3839
+ } | null) => obj is StripeRequirementType;
3840
+ export declare const isStripeFutureRequirementType: (obj?: {
3841
+ __typename?: any;
3842
+ } | null) => obj is StripeFutureRequirementType;
3843
+ export declare const isStripeAccount: (obj?: {
3844
+ __typename?: any;
3845
+ } | null) => obj is StripeAccount;
3846
+ export declare const isStripeAccountReference: (obj?: {
3847
+ __typename?: any;
3848
+ } | null) => obj is StripeAccountReference;
3849
+ export declare const isAthleteReference: (obj?: {
3850
+ __typename?: any;
3851
+ } | null) => obj is AthleteReference;
3852
+ export declare const isAthlete: (obj?: {
3853
+ __typename?: any;
3854
+ } | null) => obj is Athlete;
3855
+ export declare const isSponsorAthleteInvitation: (obj?: {
3856
+ __typename?: any;
3857
+ } | null) => obj is SponsorAthleteInvitation;
3858
+ export declare const isStravaToken: (obj?: {
3859
+ __typename?: any;
3860
+ } | null) => obj is StravaToken;
3861
+ export declare const isStripeSession: (obj?: {
3862
+ __typename?: any;
3863
+ } | null) => obj is StripeSession;
3864
+ export declare const isStripeCheckoutSession: (obj?: {
3865
+ __typename?: any;
3866
+ } | null) => obj is StripeCheckoutSession;
3867
+ export declare const isStravaAthleteData: (obj?: {
3868
+ __typename?: any;
3869
+ } | null) => obj is StravaAthleteData;
3870
+ export declare const isInstagramCursors: (obj?: {
3871
+ __typename?: any;
3872
+ } | null) => obj is InstagramCursors;
3873
+ export declare const isInstagramPaging: (obj?: {
3874
+ __typename?: any;
3875
+ } | null) => obj is InstagramPaging;
3876
+ export declare const isInstagramMetric: (obj?: {
3877
+ __typename?: any;
3878
+ } | null) => obj is InstagramMetric;
3879
+ export declare const isInstagramInsights: (obj?: {
3880
+ __typename?: any;
3881
+ } | null) => obj is InstagramInsights;
3882
+ export declare const isInstagramMediaItem: (obj?: {
3883
+ __typename?: any;
3884
+ } | null) => obj is InstagramMediaItem;
3885
+ export declare const isInstagramMediaData: (obj?: {
3886
+ __typename?: any;
3887
+ } | null) => obj is InstagramMediaData;
3888
+ export declare const isInstagramUserData: (obj?: {
3889
+ __typename?: any;
3890
+ } | null) => obj is InstagramUserData;
3891
+ export declare const isAthleteIntegrationReference: (obj?: {
3892
+ __typename?: any;
3893
+ } | null) => obj is AthleteIntegrationReference;
3894
+ export declare const isEditValueResponse: (obj?: {
3895
+ __typename?: any;
3896
+ } | null) => obj is EditValueResponse;
3897
+ export declare const isErrorType: (obj?: {
3898
+ __typename?: any;
3899
+ } | null) => obj is ErrorType;
3900
+ export declare const isDeleteValuesResponse: (obj?: {
3901
+ __typename?: any;
3902
+ } | null) => obj is DeleteValuesResponse;
3903
+ export declare const isDeleteSingleValueResponse: (obj?: {
3904
+ __typename?: any;
3905
+ } | null) => obj is DeleteSingleValueResponse;
3906
+ export declare const isSortOrder: (obj?: {
3907
+ __typename?: any;
3908
+ } | null) => obj is SortOrder;
3909
+ export declare const isCursorPaginationResponse: (obj?: {
3910
+ __typename?: any;
3911
+ } | null) => obj is CursorPaginationResponse;
3912
+ export declare const isAthleteQueryResponse: (obj?: {
3913
+ __typename?: any;
3914
+ } | null) => obj is AthleteQueryResponse;
3915
+ export declare const isEditPictureResponse: (obj?: {
3916
+ __typename?: any;
3917
+ } | null) => obj is EditPictureResponse;
3918
+ export declare const isAddValuesResponse: (obj?: {
3919
+ __typename?: any;
3920
+ } | null) => obj is AddValuesResponse;
3921
+ export declare const isStripeObject: (obj?: {
3922
+ __typename?: any;
3923
+ } | null) => obj is StripeObject;
3924
+ export declare const isUserImages: (obj?: {
3925
+ __typename?: any;
3926
+ } | null) => obj is UserImages;
415
3927
  export declare const isQuery: (obj?: {
416
3928
  __typename?: any;
417
3929
  } | null) => obj is Query;