@vertikalx/vtx-backend-client 1.0.0-dev.8 → 1.0.0-dev.80

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