@vertikalx/vtx-backend-client 1.0.0-dev.4 → 1.0.0-dev.41

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 (98) hide show
  1. package/package.json +3 -2
  2. package/src/api/api-call-headers.d.ts +16 -0
  3. package/src/api/api-call-headers.js +20 -0
  4. package/src/api/api-call-headers.js.map +1 -0
  5. package/src/api/backend-response.d.ts +4 -0
  6. package/src/api/backend-response.js +3 -0
  7. package/src/api/backend-response.js.map +1 -0
  8. package/src/api/domains.d.ts +3 -0
  9. package/src/api/domains.js +7 -0
  10. package/src/api/domains.js.map +1 -0
  11. package/src/api/response-builder.d.ts +4 -0
  12. package/src/api/response-builder.js +63 -0
  13. package/src/api/response-builder.js.map +1 -0
  14. package/src/api/vtx-apikey-api.d.ts +6 -0
  15. package/src/api/vtx-apikey-api.js +19 -0
  16. package/src/api/vtx-apikey-api.js.map +1 -0
  17. package/src/api/vtx-base-api.d.ts +26 -0
  18. package/src/api/vtx-base-api.js +897 -0
  19. package/src/api/vtx-base-api.js.map +1 -0
  20. package/src/api/vtx-mobile-api.d.ts +6 -0
  21. package/src/api/vtx-mobile-api.js +27 -0
  22. package/src/api/vtx-mobile-api.js.map +1 -0
  23. package/src/api/vtx-web-browser-api.d.ts +7 -0
  24. package/src/api/vtx-web-browser-api.js +36 -0
  25. package/src/api/vtx-web-browser-api.js.map +1 -0
  26. package/src/api/vtx-web-server-api.d.ts +7 -0
  27. package/src/api/vtx-web-server-api.js +33 -0
  28. package/src/api/vtx-web-server-api.js.map +1 -0
  29. package/src/client/index.js.map +1 -0
  30. package/src/client/runtime/batcher.js.map +1 -0
  31. package/{runtime → src/client/runtime}/createClient.d.ts +4 -10
  32. package/src/client/runtime/createClient.js.map +1 -0
  33. package/src/client/runtime/error.js.map +1 -0
  34. package/src/client/runtime/fetcher.js.map +1 -0
  35. package/{runtime → src/client/runtime}/generateGraphqlOperation.d.ts +1 -1
  36. package/src/client/runtime/generateGraphqlOperation.js.map +1 -0
  37. package/src/client/runtime/index.js.map +1 -0
  38. package/src/client/runtime/linkTypeMap.js.map +1 -0
  39. package/src/client/runtime/typeSelection.js.map +1 -0
  40. package/src/client/runtime/types.js.map +1 -0
  41. package/src/client/schema.d.ts +1884 -0
  42. package/src/client/schema.graphql +893 -0
  43. package/src/client/schema.js +453 -0
  44. package/src/client/schema.js.map +1 -0
  45. package/src/client/types.d.ts +974 -0
  46. package/src/client/types.js +2512 -0
  47. package/src/client/types.js.map +1 -0
  48. package/src/index.d.ts +10 -0
  49. package/src/index.js +27 -0
  50. package/src/index.js.map +1 -0
  51. package/tsconfig.lib.tsbuildinfo +1 -1
  52. package/index.js.map +0 -1
  53. package/index.ts +0 -65
  54. package/runtime/batcher.js.map +0 -1
  55. package/runtime/batcher.ts +0 -275
  56. package/runtime/createClient.js.map +0 -1
  57. package/runtime/createClient.ts +0 -68
  58. package/runtime/error.js.map +0 -1
  59. package/runtime/error.ts +0 -29
  60. package/runtime/fetcher.js.map +0 -1
  61. package/runtime/fetcher.ts +0 -97
  62. package/runtime/generateGraphqlOperation.js.map +0 -1
  63. package/runtime/generateGraphqlOperation.ts +0 -225
  64. package/runtime/index.js.map +0 -1
  65. package/runtime/index.ts +0 -13
  66. package/runtime/linkTypeMap.js.map +0 -1
  67. package/runtime/linkTypeMap.ts +0 -156
  68. package/runtime/typeSelection.js.map +0 -1
  69. package/runtime/typeSelection.ts +0 -95
  70. package/runtime/types.js.map +0 -1
  71. package/runtime/types.ts +0 -69
  72. package/schema.d.ts +0 -406
  73. package/schema.graphql +0 -162
  74. package/schema.js +0 -109
  75. package/schema.js.map +0 -1
  76. package/schema.ts +0 -420
  77. package/types.d.ts +0 -207
  78. package/types.js +0 -518
  79. package/types.js.map +0 -1
  80. package/types.ts +0 -515
  81. /package/{index.d.ts → src/client/index.d.ts} +0 -0
  82. /package/{index.js → src/client/index.js} +0 -0
  83. /package/{runtime → src/client/runtime}/batcher.d.ts +0 -0
  84. /package/{runtime → src/client/runtime}/batcher.js +0 -0
  85. /package/{runtime → src/client/runtime}/createClient.js +0 -0
  86. /package/{runtime → src/client/runtime}/error.d.ts +0 -0
  87. /package/{runtime → src/client/runtime}/error.js +0 -0
  88. /package/{runtime → src/client/runtime}/fetcher.d.ts +0 -0
  89. /package/{runtime → src/client/runtime}/fetcher.js +0 -0
  90. /package/{runtime → src/client/runtime}/generateGraphqlOperation.js +0 -0
  91. /package/{runtime → src/client/runtime}/index.d.ts +0 -0
  92. /package/{runtime → src/client/runtime}/index.js +0 -0
  93. /package/{runtime → src/client/runtime}/linkTypeMap.d.ts +0 -0
  94. /package/{runtime → src/client/runtime}/linkTypeMap.js +0 -0
  95. /package/{runtime → src/client/runtime}/typeSelection.d.ts +0 -0
  96. /package/{runtime → src/client/runtime}/typeSelection.js +0 -0
  97. /package/{runtime → src/client/runtime}/types.d.ts +0 -0
  98. /package/{runtime → src/client/runtime}/types.js +0 -0
@@ -0,0 +1,1884 @@
1
+ export type Scalars = {
2
+ String: string;
3
+ Boolean: boolean;
4
+ DateTime: any;
5
+ Float: number;
6
+ };
7
+ export interface User {
8
+ _id: Scalars['String'];
9
+ loginEmail: Scalars['String'];
10
+ suspended: Scalars['Boolean'];
11
+ domains: (DomainCredential[] | null);
12
+ __typename: 'User';
13
+ }
14
+ export interface UserWithToken {
15
+ _id: Scalars['String'];
16
+ loginEmail: Scalars['String'];
17
+ suspended: Scalars['Boolean'];
18
+ domains: (DomainCredential[] | null);
19
+ token: UserToken;
20
+ __typename: 'UserWithToken';
21
+ }
22
+ export interface BaseTenant {
23
+ _id: Scalars['String'];
24
+ name: Scalars['String'];
25
+ tenant_uri: Scalars['String'];
26
+ domain: Domain;
27
+ __typename: 'BaseTenant';
28
+ }
29
+ export interface Tenant {
30
+ _id: Scalars['String'];
31
+ name: Scalars['String'];
32
+ tenant_uri: Scalars['String'];
33
+ domain: Domain;
34
+ email: Scalars['String'];
35
+ owner: (User | null);
36
+ __typename: 'Tenant';
37
+ }
38
+ export interface Domain {
39
+ _id: Scalars['String'];
40
+ name: Scalars['String'];
41
+ description: (Scalars['String'] | null);
42
+ __typename: 'Domain';
43
+ }
44
+ export interface DomainCredential {
45
+ _id: Scalars['String'];
46
+ name: Scalars['String'];
47
+ description: (Scalars['String'] | null);
48
+ tenant: (BaseTenant | null);
49
+ __typename: 'DomainCredential';
50
+ }
51
+ export interface UserToken {
52
+ actualToken: Scalars['String'];
53
+ refreshToken: Scalars['String'];
54
+ __typename: 'UserToken';
55
+ }
56
+ export interface DecodedToken {
57
+ tokenId: Scalars['String'];
58
+ systemId: Scalars['String'];
59
+ userId: Scalars['String'];
60
+ email: Scalars['String'];
61
+ refreshTokenId: Scalars['String'];
62
+ domains: DomainCredential[];
63
+ __typename: 'DecodedToken';
64
+ }
65
+ export interface DecodedRefreshToken {
66
+ userId: Scalars['String'];
67
+ email: Scalars['String'];
68
+ originalTokenId: Scalars['String'];
69
+ __typename: 'DecodedRefreshToken';
70
+ }
71
+ export interface TenantWithUserLogin {
72
+ _id: Scalars['String'];
73
+ name: Scalars['String'];
74
+ tenant_uri: Scalars['String'];
75
+ domain: Domain;
76
+ email: Scalars['String'];
77
+ owner: (User | null);
78
+ user: UserWithToken;
79
+ __typename: 'TenantWithUserLogin';
80
+ }
81
+ export interface UriAvailableType {
82
+ available: Scalars['Boolean'];
83
+ valid: Scalars['Boolean'];
84
+ __typename: 'UriAvailableType';
85
+ }
86
+ export interface Agreement {
87
+ _id: Scalars['String'];
88
+ kind: Scalars['String'];
89
+ domain: Scalars['String'];
90
+ isActiveAgreement: Scalars['Boolean'];
91
+ version: Scalars['String'];
92
+ publishedDate: (Scalars['DateTime'] | null);
93
+ unPublishedDate: (Scalars['DateTime'] | null);
94
+ locked: Scalars['Boolean'];
95
+ name: Scalars['String'];
96
+ description: (Scalars['String'] | null);
97
+ content: (Scalars['String'] | null);
98
+ createdDate: Scalars['DateTime'];
99
+ updatedDate: Scalars['DateTime'];
100
+ __typename: 'Agreement';
101
+ }
102
+ export interface BillEntity {
103
+ name: Scalars['String'];
104
+ taxId: (Scalars['String'] | null);
105
+ line1: (Scalars['String'] | null);
106
+ line2: (Scalars['String'] | null);
107
+ line3: (Scalars['String'] | null);
108
+ city: (Scalars['String'] | null);
109
+ state: (Scalars['String'] | null);
110
+ country: (Scalars['String'] | null);
111
+ zip: (Scalars['String'] | null);
112
+ __typename: 'BillEntity';
113
+ }
114
+ export interface InvoiceItem {
115
+ _id: Scalars['String'];
116
+ unitPrice: Scalars['Float'];
117
+ unitTax: Scalars['Float'];
118
+ quantity: Scalars['Float'];
119
+ unit: Scalars['String'];
120
+ itemPrice: Scalars['Float'];
121
+ itemTotal: Scalars['Float'];
122
+ __typename: 'InvoiceItem';
123
+ }
124
+ export interface Payment {
125
+ _id: Scalars['String'];
126
+ amount: Scalars['Float'];
127
+ currency: Scalars['String'];
128
+ datePaid: Scalars['DateTime'];
129
+ paymentComment: (Scalars['String'] | null);
130
+ transactionId: (Scalars['String'] | null);
131
+ processorType: (Scalars['String'] | null);
132
+ processorReference: (Scalars['String'] | null);
133
+ paidItemReference: (Scalars['String'] | null);
134
+ payeeReference: (Scalars['String'] | null);
135
+ payorReference: (Scalars['String'] | null);
136
+ paymentMethodType: (Scalars['String'] | null);
137
+ paymentMethodReference: (Scalars['String'] | null);
138
+ __typename: 'Payment';
139
+ }
140
+ export interface PlaFeature {
141
+ _id: Scalars['String'];
142
+ title: Scalars['String'];
143
+ description: (Scalars['String'] | null);
144
+ quantity: (Scalars['Float'] | null);
145
+ quantityUnit: (Scalars['String'] | null);
146
+ __typename: 'PlaFeature';
147
+ }
148
+ export interface Plan {
149
+ _id: Scalars['String'];
150
+ name: (Scalars['String'] | null);
151
+ description: (Scalars['String'] | null);
152
+ prices: PlanPrice[];
153
+ features: PlaFeature[];
154
+ isPublic: Scalars['Boolean'];
155
+ active: Scalars['Boolean'];
156
+ startOfferingDate: (Scalars['DateTime'] | null);
157
+ endOfferingDate: (Scalars['DateTime'] | null);
158
+ termsAndConditions: (Scalars['String'] | null);
159
+ __typename: 'Plan';
160
+ }
161
+ export interface PlanPrice {
162
+ _id: Scalars['String'];
163
+ currency: Scalars['String'];
164
+ price: Scalars['Float'];
165
+ taxMode: Scalars['String'];
166
+ period: Scalars['String'];
167
+ customDays: (Scalars['Float'] | null);
168
+ plan: (Plan | null);
169
+ __typename: 'PlanPrice';
170
+ }
171
+ export interface Invoice {
172
+ _id: Scalars['String'];
173
+ invoiceDate: Scalars['DateTime'];
174
+ billedEntity: BillEntity;
175
+ dueDate: Scalars['DateTime'];
176
+ billAmount: Scalars['Float'];
177
+ tax: Scalars['Float'];
178
+ total: Scalars['Float'];
179
+ currency: Scalars['String'];
180
+ items: (InvoiceItem[] | null);
181
+ payment: (Payment | null);
182
+ __typename: 'Invoice';
183
+ }
184
+ export interface SubscriptionInvoice {
185
+ _id: Scalars['String'];
186
+ invoice: Invoice;
187
+ billedPlan: PlanPrice;
188
+ subscriber: PlanSubscription;
189
+ __typename: 'SubscriptionInvoice';
190
+ }
191
+ export interface PlanSubscription {
192
+ _id: Scalars['String'];
193
+ currentPlan: PlanPrice;
194
+ billPrice: Scalars['Float'];
195
+ billCurrency: Scalars['String'];
196
+ billPriceComment: (Scalars['String'] | null);
197
+ lastBillDate: Scalars['DateTime'];
198
+ endAccessDate: Scalars['DateTime'];
199
+ autoRenew: Scalars['Boolean'];
200
+ autoRenewPlan: (PlanPrice | null);
201
+ autoRenewDate: Scalars['DateTime'];
202
+ payments: SubscriptionPayment[];
203
+ invoices: SubscriptionInvoice[];
204
+ __typename: 'PlanSubscription';
205
+ }
206
+ export interface SubscriptionPayment {
207
+ _id: Scalars['String'];
208
+ payment: Payment;
209
+ subscriber: PlanSubscription;
210
+ __typename: 'SubscriptionPayment';
211
+ }
212
+ export interface AWSS3File {
213
+ _id: Scalars['String'];
214
+ name: (Scalars['String'] | null);
215
+ contentType: (Scalars['String'] | null);
216
+ size: (Scalars['Float'] | null);
217
+ useType: (Scalars['String'] | null);
218
+ url: Scalars['String'];
219
+ key: Scalars['String'];
220
+ pendingDelete: Scalars['Boolean'];
221
+ __typename: 'AWSS3File';
222
+ }
223
+ export interface HttpRequestField {
224
+ key: Scalars['String'];
225
+ value: Scalars['String'];
226
+ __typename: 'HttpRequestField';
227
+ }
228
+ export interface AWSS3UploadUrl {
229
+ uploadUrl: Scalars['String'];
230
+ fields: HttpRequestField[];
231
+ downloadUrl: Scalars['String'];
232
+ bucket: Scalars['String'];
233
+ key: Scalars['String'];
234
+ __typename: 'AWSS3UploadUrl';
235
+ }
236
+ export interface AWSS3CallResult {
237
+ httpStatus: Scalars['Float'];
238
+ result: Scalars['String'];
239
+ message: Scalars['String'];
240
+ errors: (Scalars['String'][] | null);
241
+ __typename: 'AWSS3CallResult';
242
+ }
243
+ export interface BrandStats {
244
+ campaigns: (Scalars['Float'] | null);
245
+ sponsorships: (Scalars['Float'] | null);
246
+ sports: (Scalars['Float'] | null);
247
+ athletes: (Scalars['Float'] | null);
248
+ __typename: 'BrandStats';
249
+ }
250
+ export interface BrandTranslation {
251
+ _id: Scalars['String'];
252
+ brandId: Scalars['String'];
253
+ language: Scalars['String'];
254
+ name: (Scalars['String'] | null);
255
+ slogan: (Scalars['String'] | null);
256
+ description: (Scalars['String'] | null);
257
+ logo: (AWSS3File | null);
258
+ banner: (AWSS3File | null);
259
+ __typename: 'BrandTranslation';
260
+ }
261
+ export interface Brand {
262
+ _id: Scalars['String'];
263
+ name: Scalars['String'];
264
+ slogan: (Scalars['String'] | null);
265
+ website: (Scalars['String'] | null);
266
+ description: (Scalars['String'] | null);
267
+ approved: Scalars['Boolean'];
268
+ published: Scalars['Boolean'];
269
+ logo: (AWSS3File | null);
270
+ banner: (AWSS3File | null);
271
+ stats: (BrandStats | null);
272
+ operatorIds: (Scalars['String'][] | null);
273
+ translations: (BrandTranslation[] | null);
274
+ __typename: 'Brand';
275
+ }
276
+ export interface City {
277
+ _id: Scalars['String'];
278
+ name: Scalars['String'];
279
+ localizedName: Scalars['String'];
280
+ state: (State | null);
281
+ latitude: (Scalars['Float'] | null);
282
+ longitude: (Scalars['Float'] | null);
283
+ timezone: (Scalars['String'] | null);
284
+ __typename: 'City';
285
+ }
286
+ export interface State {
287
+ _id: Scalars['String'];
288
+ name: Scalars['String'];
289
+ country: (Country | null);
290
+ cities: (City[] | null);
291
+ __typename: 'State';
292
+ }
293
+ export interface Country {
294
+ _id: Scalars['String'];
295
+ name: Scalars['String'];
296
+ states: (State[] | null);
297
+ __typename: 'Country';
298
+ }
299
+ export interface Qualification {
300
+ type: Scalars['String'];
301
+ __typename: 'Qualification';
302
+ }
303
+ export interface ScoreQualification {
304
+ type: Scalars['String'];
305
+ scoreType: Scalars['String'];
306
+ operator: Scalars['String'];
307
+ value: Scalars['Float'];
308
+ __typename: 'ScoreQualification';
309
+ }
310
+ export interface LocationQualification {
311
+ type: Scalars['String'];
312
+ operator: Scalars['String'];
313
+ countries: Country[];
314
+ states: State[];
315
+ cities: City[];
316
+ __typename: 'LocationQualification';
317
+ }
318
+ export interface DistanceQualification {
319
+ type: Scalars['String'];
320
+ maxDistance: Scalars['Float'];
321
+ latitude: (Scalars['Float'] | null);
322
+ longitude: (Scalars['Float'] | null);
323
+ cityId: (Scalars['String'] | null);
324
+ __typename: 'DistanceQualification';
325
+ }
326
+ export interface SportsQualification {
327
+ type: Scalars['String'];
328
+ sports: Scalars['String'][];
329
+ operator: Scalars['String'];
330
+ __typename: 'SportsQualification';
331
+ }
332
+ export interface SportsLevelQualification {
333
+ type: Scalars['String'];
334
+ operator: Scalars['String'];
335
+ level: Scalars['String'];
336
+ __typename: 'SportsLevelQualification';
337
+ }
338
+ export interface AthleteCriteria {
339
+ _id: Scalars['String'];
340
+ label: (Scalars['String'] | null);
341
+ qualifications: (Qualification[] | null);
342
+ __typename: 'AthleteCriteria';
343
+ }
344
+ export interface Industry {
345
+ _id: Scalars['String'];
346
+ name: Scalars['String'];
347
+ __typename: 'Industry';
348
+ }
349
+ export interface SponsorStats {
350
+ sponsoredAthletes: Scalars['Float'];
351
+ totalBrands: Scalars['Float'];
352
+ activeCampaigns: Scalars['Float'];
353
+ activeSponsorships: Scalars['Float'];
354
+ __typename: 'SponsorStats';
355
+ }
356
+ export interface SponsorBrand {
357
+ _id: Scalars['String'];
358
+ name: Scalars['String'];
359
+ slogan: (Scalars['String'] | null);
360
+ website: (Scalars['String'] | null);
361
+ description: (Scalars['String'] | null);
362
+ approved: Scalars['Boolean'];
363
+ published: Scalars['Boolean'];
364
+ logo: (AWSS3File | null);
365
+ banner: (AWSS3File | null);
366
+ stats: (BrandStats | null);
367
+ operatorIds: (Scalars['String'][] | null);
368
+ translations: (BrandTranslation[] | null);
369
+ sponsorBrandId: Scalars['String'];
370
+ authorizedUse: Scalars['Boolean'];
371
+ isAuthorizer: Scalars['Boolean'];
372
+ __typename: 'SponsorBrand';
373
+ }
374
+ export interface Sponsor {
375
+ _id: Scalars['String'];
376
+ name: Scalars['String'];
377
+ description: Scalars['String'];
378
+ tenant: Tenant;
379
+ industry: (Industry | null);
380
+ stats: (SponsorStats | null);
381
+ brands: (SponsorBrand[] | null);
382
+ sponsorships: (Sponsorship[] | null);
383
+ approved: Scalars['Boolean'];
384
+ __typename: 'Sponsor';
385
+ }
386
+ export interface SponsorshipItem {
387
+ _id: Scalars['String'];
388
+ quantity: Scalars['Float'];
389
+ title: Scalars['String'];
390
+ value: Scalars['Float'];
391
+ type: Scalars['String'];
392
+ __typename: 'SponsorshipItem';
393
+ }
394
+ export interface SponsorshipCommitment {
395
+ _id: Scalars['String'];
396
+ title: Scalars['String'];
397
+ details: (Scalars['String'] | null);
398
+ hashTags: Scalars['String'];
399
+ media: Scalars['String'];
400
+ actionType: Scalars['String'];
401
+ frequency: (Scalars['Float'] | null);
402
+ periodicity: Scalars['String'];
403
+ autoMeasurable: Scalars['Boolean'];
404
+ __typename: 'SponsorshipCommitment';
405
+ }
406
+ export interface Duration {
407
+ length: Scalars['Float'];
408
+ unit: Scalars['String'];
409
+ __typename: 'Duration';
410
+ }
411
+ export interface SponsorshipStats {
412
+ totalSponsorships: (Scalars['Float'] | null);
413
+ totalApplications: (Scalars['Float'] | null);
414
+ newApplications: (Scalars['Float'] | null);
415
+ discardedApplications: (Scalars['Float'] | null);
416
+ selectedApplications: (Scalars['Float'] | null);
417
+ approvedApplications: (Scalars['Float'] | null);
418
+ grantedSponsorships: (Scalars['Float'] | null);
419
+ remainingSponsorships: (Scalars['Float'] | null);
420
+ __typename: 'SponsorshipStats';
421
+ }
422
+ export interface SponsorshipTranslation {
423
+ _id: Scalars['String'];
424
+ sponsorshipId: Scalars['String'];
425
+ language: Scalars['String'];
426
+ title: (Scalars['String'] | null);
427
+ description: (Scalars['String'] | null);
428
+ terms: (Scalars['String'] | null);
429
+ banner: (AWSS3File | null);
430
+ __typename: 'SponsorshipTranslation';
431
+ }
432
+ export interface Sponsorship {
433
+ _id: Scalars['String'];
434
+ title: Scalars['String'];
435
+ description: (Scalars['String'] | null);
436
+ cashValue: Scalars['Float'];
437
+ otherValue: Scalars['Float'];
438
+ brand: (Brand | null);
439
+ banner: (AWSS3File | null);
440
+ criteria: (AthleteCriteria | null);
441
+ deadline: (Scalars['DateTime'] | null);
442
+ startDate: (Scalars['DateTime'] | null);
443
+ duration: Duration;
444
+ sponsor: (Sponsor | null);
445
+ sponsorshipItems: (SponsorshipItem[] | null);
446
+ commitments: (SponsorshipCommitment[] | null);
447
+ terms: (Scalars['String'] | null);
448
+ stats: (SponsorshipStats | null);
449
+ isPrivate: Scalars['Boolean'];
450
+ approved: Scalars['Boolean'];
451
+ published: Scalars['Boolean'];
452
+ translations: (SponsorshipTranslation[] | null);
453
+ __typename: 'Sponsorship';
454
+ }
455
+ export interface FollowStats {
456
+ followers: Scalars['Float'];
457
+ followed: Scalars['Float'];
458
+ raves: Scalars['Float'];
459
+ favorites: Scalars['Float'];
460
+ __typename: 'FollowStats';
461
+ }
462
+ export interface Sport {
463
+ _id: Scalars['String'];
464
+ name: Scalars['String'];
465
+ __typename: 'Sport';
466
+ }
467
+ export interface VtxScores {
468
+ vtxScore: Scalars['Float'];
469
+ socialScore: Scalars['Float'];
470
+ trainingScore: Scalars['Float'];
471
+ competitionScore: Scalars['Float'];
472
+ __typename: 'VtxScores';
473
+ }
474
+ export interface SportLevelTranslation {
475
+ _id: Scalars['String'];
476
+ language: Scalars['String'];
477
+ label: Scalars['String'];
478
+ __typename: 'SportLevelTranslation';
479
+ }
480
+ export interface SportLevel {
481
+ _id: Scalars['String'];
482
+ label: Scalars['String'];
483
+ index: Scalars['Float'];
484
+ translations: (SportLevelTranslation[] | null);
485
+ __typename: 'SportLevel';
486
+ }
487
+ export interface Ranking {
488
+ scope: Scalars['String'];
489
+ scopeId: Scalars['String'];
490
+ scopeName: Scalars['String'];
491
+ position: Scalars['Float'];
492
+ total: Scalars['Float'];
493
+ __typename: 'Ranking';
494
+ }
495
+ export interface AthleteRankings {
496
+ worldRanking: (Ranking | null);
497
+ countryRanking: (Ranking | null);
498
+ stateRanking: (Ranking | null);
499
+ cityRanking: (Ranking | null);
500
+ __typename: 'AthleteRankings';
501
+ }
502
+ export interface Team {
503
+ _id: Scalars['String'];
504
+ name: Scalars['String'];
505
+ description: (Scalars['String'] | null);
506
+ sports: (Sport[] | null);
507
+ approved: (Scalars['Boolean'] | null);
508
+ logo: (AWSS3File | null);
509
+ banner: (AWSS3File | null);
510
+ __typename: 'Team';
511
+ }
512
+ export interface SportsEvent {
513
+ _id: Scalars['String'];
514
+ name: Scalars['String'];
515
+ eventWebSite: (Scalars['String'] | null);
516
+ startDate: Scalars['DateTime'];
517
+ endDate: (Scalars['DateTime'] | null);
518
+ verified: Scalars['Boolean'];
519
+ banner: (AWSS3File | null);
520
+ __typename: 'SportsEvent';
521
+ }
522
+ export interface AthleteCompetitionResult {
523
+ _id: Scalars['String'];
524
+ type: Scalars['String'];
525
+ position: (Scalars['Float'] | null);
526
+ score: (Scalars['String'] | null);
527
+ timems: (Scalars['Float'] | null);
528
+ resultWebLink: (Scalars['String'] | null);
529
+ __typename: 'AthleteCompetitionResult';
530
+ }
531
+ export interface AthleteCompetition {
532
+ _id: Scalars['String'];
533
+ event: SportsEvent;
534
+ eventName: Scalars['String'];
535
+ date: Scalars['DateTime'];
536
+ result: (AthleteCompetitionResult | null);
537
+ __typename: 'AthleteCompetition';
538
+ }
539
+ export interface WorldLocation {
540
+ _id: Scalars['String'];
541
+ userProvidedLatitude: (Scalars['Float'] | null);
542
+ userProvidedLongitude: (Scalars['Float'] | null);
543
+ cityNameGeocode: (Scalars['String'] | null);
544
+ stateNameGeocode: (Scalars['String'] | null);
545
+ countryIso2CodeGeocode: (Scalars['String'] | null);
546
+ timeZoneGeocode: (Scalars['String'] | null);
547
+ latitudeGeocode: (Scalars['Float'] | null);
548
+ longitudeGeocode: (Scalars['Float'] | null);
549
+ city: (City | null);
550
+ __typename: 'WorldLocation';
551
+ }
552
+ export interface Athlete {
553
+ _id: Scalars['String'];
554
+ firstName: Scalars['String'];
555
+ lastName: Scalars['String'];
556
+ screenName: (Scalars['String'] | null);
557
+ dob: (Scalars['DateTime'] | null);
558
+ lgbt: (Scalars['Boolean'] | null);
559
+ competitionGender: (Scalars['String'] | null);
560
+ country: (Country | null);
561
+ location: (WorldLocation | null);
562
+ trainer: (Scalars['String'] | null);
563
+ trainerUrl: (Scalars['String'] | null);
564
+ followStats: (FollowStats | null);
565
+ mainSport: Sport;
566
+ mainSportLevel: SportLevel;
567
+ scores: VtxScores;
568
+ rankings: (AthleteRankings | null);
569
+ allSports: (Sport[] | null);
570
+ teams: (Team[] | null);
571
+ sponsorBrands: (Brand[] | null);
572
+ competitions: (AthleteCompetition[] | null);
573
+ totalUpcomingCompetitions: (Scalars['Float'] | null);
574
+ totalPastCompetitions: (Scalars['Float'] | null);
575
+ __typename: 'Athlete';
576
+ }
577
+ export interface Query {
578
+ findTenantById: Tenant;
579
+ findTenantByEmail: Tenant;
580
+ getTenants: Tenant[];
581
+ isTenantUriAvailable: UriAvailableType;
582
+ findUserById: User;
583
+ findUserByEmail: User;
584
+ getUploadUrl: AWSS3UploadUrl;
585
+ industries: Industry[];
586
+ findIndustryById: Industry;
587
+ brands: Brand[];
588
+ getBrandByName: Brand;
589
+ getBrandTranslation: BrandTranslation;
590
+ existsValidSponsorForEmail: Sponsor;
591
+ sponsors: Sponsor[];
592
+ getAthletes: Athlete[];
593
+ findAthleteById: Athlete;
594
+ getSports: Sport[];
595
+ findSportById: Sport;
596
+ getSportLevels: SportLevel[];
597
+ getPublicSponsorships: Sponsorship[];
598
+ getTenantSponsorships: Sponsorship[];
599
+ getCountries: Country[];
600
+ getCountryStates: State[];
601
+ getStateCities: City[];
602
+ findCitiesStartingWith: City[];
603
+ __typename: 'Query';
604
+ }
605
+ export interface Mutation {
606
+ registerNewDomainTenant: Tenant;
607
+ registerNewDomainTenantWithLogin: TenantWithUserLogin;
608
+ createUserAndLogin: UserWithToken;
609
+ loginUserFromEmail: UserToken;
610
+ registerUserToDomainFromEmail: User;
611
+ refreshToken: UserToken;
612
+ deleteUploadedUseTypeFile: AWSS3CallResult;
613
+ deleteUploadedBucketFile: AWSS3CallResult;
614
+ registerS3UploadedFile: AWSS3File;
615
+ createIndustry: Industry;
616
+ createBrand: Brand;
617
+ registerSponsor: Sponsor;
618
+ createSponsor: Sponsor;
619
+ registerAthlete: Athlete;
620
+ createSport: Sport;
621
+ updateSport: Sport;
622
+ createSportLevel: SportLevel;
623
+ createSponsorwhip: Sponsorship;
624
+ createCountry: Country;
625
+ createState: State;
626
+ createCity: City;
627
+ __typename: 'Mutation';
628
+ }
629
+ export interface UserGenqlSelection {
630
+ _id?: boolean | number;
631
+ loginEmail?: boolean | number;
632
+ suspended?: boolean | number;
633
+ domains?: DomainCredentialGenqlSelection;
634
+ __typename?: boolean | number;
635
+ __scalar?: boolean | number;
636
+ }
637
+ export interface UserWithTokenGenqlSelection {
638
+ _id?: boolean | number;
639
+ loginEmail?: boolean | number;
640
+ suspended?: boolean | number;
641
+ domains?: DomainCredentialGenqlSelection;
642
+ token?: UserTokenGenqlSelection;
643
+ __typename?: boolean | number;
644
+ __scalar?: boolean | number;
645
+ }
646
+ export interface BaseTenantGenqlSelection {
647
+ _id?: boolean | number;
648
+ name?: boolean | number;
649
+ tenant_uri?: boolean | number;
650
+ domain?: DomainGenqlSelection;
651
+ __typename?: boolean | number;
652
+ __scalar?: boolean | number;
653
+ }
654
+ export interface TenantGenqlSelection {
655
+ _id?: boolean | number;
656
+ name?: boolean | number;
657
+ tenant_uri?: boolean | number;
658
+ domain?: DomainGenqlSelection;
659
+ email?: boolean | number;
660
+ owner?: UserGenqlSelection;
661
+ __typename?: boolean | number;
662
+ __scalar?: boolean | number;
663
+ }
664
+ export interface DomainGenqlSelection {
665
+ _id?: boolean | number;
666
+ name?: boolean | number;
667
+ description?: boolean | number;
668
+ __typename?: boolean | number;
669
+ __scalar?: boolean | number;
670
+ }
671
+ export interface DomainCredentialGenqlSelection {
672
+ _id?: boolean | number;
673
+ name?: boolean | number;
674
+ description?: boolean | number;
675
+ tenant?: BaseTenantGenqlSelection;
676
+ __typename?: boolean | number;
677
+ __scalar?: boolean | number;
678
+ }
679
+ export interface UserTokenGenqlSelection {
680
+ actualToken?: boolean | number;
681
+ refreshToken?: boolean | number;
682
+ __typename?: boolean | number;
683
+ __scalar?: boolean | number;
684
+ }
685
+ export interface DecodedTokenGenqlSelection {
686
+ tokenId?: boolean | number;
687
+ systemId?: boolean | number;
688
+ userId?: boolean | number;
689
+ email?: boolean | number;
690
+ refreshTokenId?: boolean | number;
691
+ domains?: DomainCredentialGenqlSelection;
692
+ __typename?: boolean | number;
693
+ __scalar?: boolean | number;
694
+ }
695
+ export interface DecodedRefreshTokenGenqlSelection {
696
+ userId?: boolean | number;
697
+ email?: boolean | number;
698
+ originalTokenId?: boolean | number;
699
+ __typename?: boolean | number;
700
+ __scalar?: boolean | number;
701
+ }
702
+ export interface TenantWithUserLoginGenqlSelection {
703
+ _id?: boolean | number;
704
+ name?: boolean | number;
705
+ tenant_uri?: boolean | number;
706
+ domain?: DomainGenqlSelection;
707
+ email?: boolean | number;
708
+ owner?: UserGenqlSelection;
709
+ user?: UserWithTokenGenqlSelection;
710
+ __typename?: boolean | number;
711
+ __scalar?: boolean | number;
712
+ }
713
+ export interface UriAvailableTypeGenqlSelection {
714
+ available?: boolean | number;
715
+ valid?: boolean | number;
716
+ __typename?: boolean | number;
717
+ __scalar?: boolean | number;
718
+ }
719
+ export interface AgreementGenqlSelection {
720
+ _id?: boolean | number;
721
+ kind?: boolean | number;
722
+ domain?: boolean | number;
723
+ isActiveAgreement?: boolean | number;
724
+ version?: boolean | number;
725
+ publishedDate?: boolean | number;
726
+ unPublishedDate?: boolean | number;
727
+ locked?: boolean | number;
728
+ name?: boolean | number;
729
+ description?: boolean | number;
730
+ content?: boolean | number;
731
+ createdDate?: boolean | number;
732
+ updatedDate?: boolean | number;
733
+ __typename?: boolean | number;
734
+ __scalar?: boolean | number;
735
+ }
736
+ export interface BillEntityGenqlSelection {
737
+ name?: boolean | number;
738
+ taxId?: boolean | number;
739
+ line1?: boolean | number;
740
+ line2?: boolean | number;
741
+ line3?: boolean | number;
742
+ city?: boolean | number;
743
+ state?: boolean | number;
744
+ country?: boolean | number;
745
+ zip?: boolean | number;
746
+ __typename?: boolean | number;
747
+ __scalar?: boolean | number;
748
+ }
749
+ export interface InvoiceItemGenqlSelection {
750
+ _id?: boolean | number;
751
+ unitPrice?: boolean | number;
752
+ unitTax?: boolean | number;
753
+ quantity?: boolean | number;
754
+ unit?: boolean | number;
755
+ itemPrice?: boolean | number;
756
+ itemTotal?: boolean | number;
757
+ __typename?: boolean | number;
758
+ __scalar?: boolean | number;
759
+ }
760
+ export interface PaymentGenqlSelection {
761
+ _id?: boolean | number;
762
+ amount?: boolean | number;
763
+ currency?: boolean | number;
764
+ datePaid?: boolean | number;
765
+ paymentComment?: boolean | number;
766
+ transactionId?: boolean | number;
767
+ processorType?: boolean | number;
768
+ processorReference?: boolean | number;
769
+ paidItemReference?: boolean | number;
770
+ payeeReference?: boolean | number;
771
+ payorReference?: boolean | number;
772
+ paymentMethodType?: boolean | number;
773
+ paymentMethodReference?: boolean | number;
774
+ __typename?: boolean | number;
775
+ __scalar?: boolean | number;
776
+ }
777
+ export interface PlaFeatureGenqlSelection {
778
+ _id?: boolean | number;
779
+ title?: boolean | number;
780
+ description?: boolean | number;
781
+ quantity?: boolean | number;
782
+ quantityUnit?: boolean | number;
783
+ __typename?: boolean | number;
784
+ __scalar?: boolean | number;
785
+ }
786
+ export interface PlanGenqlSelection {
787
+ _id?: boolean | number;
788
+ name?: boolean | number;
789
+ description?: boolean | number;
790
+ prices?: PlanPriceGenqlSelection;
791
+ features?: PlaFeatureGenqlSelection;
792
+ isPublic?: boolean | number;
793
+ active?: boolean | number;
794
+ startOfferingDate?: boolean | number;
795
+ endOfferingDate?: boolean | number;
796
+ termsAndConditions?: boolean | number;
797
+ __typename?: boolean | number;
798
+ __scalar?: boolean | number;
799
+ }
800
+ export interface PlanPriceGenqlSelection {
801
+ _id?: boolean | number;
802
+ currency?: boolean | number;
803
+ price?: boolean | number;
804
+ taxMode?: boolean | number;
805
+ period?: boolean | number;
806
+ customDays?: boolean | number;
807
+ plan?: PlanGenqlSelection;
808
+ __typename?: boolean | number;
809
+ __scalar?: boolean | number;
810
+ }
811
+ export interface InvoiceGenqlSelection {
812
+ _id?: boolean | number;
813
+ invoiceDate?: boolean | number;
814
+ billedEntity?: BillEntityGenqlSelection;
815
+ dueDate?: boolean | number;
816
+ billAmount?: boolean | number;
817
+ tax?: boolean | number;
818
+ total?: boolean | number;
819
+ currency?: boolean | number;
820
+ items?: InvoiceItemGenqlSelection;
821
+ payment?: PaymentGenqlSelection;
822
+ __typename?: boolean | number;
823
+ __scalar?: boolean | number;
824
+ }
825
+ export interface SubscriptionInvoiceGenqlSelection {
826
+ _id?: boolean | number;
827
+ invoice?: InvoiceGenqlSelection;
828
+ billedPlan?: PlanPriceGenqlSelection;
829
+ subscriber?: PlanSubscriptionGenqlSelection;
830
+ __typename?: boolean | number;
831
+ __scalar?: boolean | number;
832
+ }
833
+ export interface PlanSubscriptionGenqlSelection {
834
+ _id?: boolean | number;
835
+ currentPlan?: PlanPriceGenqlSelection;
836
+ billPrice?: boolean | number;
837
+ billCurrency?: boolean | number;
838
+ billPriceComment?: boolean | number;
839
+ lastBillDate?: boolean | number;
840
+ endAccessDate?: boolean | number;
841
+ autoRenew?: boolean | number;
842
+ autoRenewPlan?: PlanPriceGenqlSelection;
843
+ autoRenewDate?: boolean | number;
844
+ payments?: SubscriptionPaymentGenqlSelection;
845
+ invoices?: SubscriptionInvoiceGenqlSelection;
846
+ __typename?: boolean | number;
847
+ __scalar?: boolean | number;
848
+ }
849
+ export interface SubscriptionPaymentGenqlSelection {
850
+ _id?: boolean | number;
851
+ payment?: PaymentGenqlSelection;
852
+ subscriber?: PlanSubscriptionGenqlSelection;
853
+ __typename?: boolean | number;
854
+ __scalar?: boolean | number;
855
+ }
856
+ export interface AWSS3FileGenqlSelection {
857
+ _id?: boolean | number;
858
+ name?: boolean | number;
859
+ contentType?: boolean | number;
860
+ size?: boolean | number;
861
+ useType?: boolean | number;
862
+ url?: boolean | number;
863
+ key?: boolean | number;
864
+ pendingDelete?: boolean | number;
865
+ __typename?: boolean | number;
866
+ __scalar?: boolean | number;
867
+ }
868
+ export interface HttpRequestFieldGenqlSelection {
869
+ key?: boolean | number;
870
+ value?: boolean | number;
871
+ __typename?: boolean | number;
872
+ __scalar?: boolean | number;
873
+ }
874
+ export interface AWSS3UploadUrlGenqlSelection {
875
+ uploadUrl?: boolean | number;
876
+ fields?: HttpRequestFieldGenqlSelection;
877
+ downloadUrl?: boolean | number;
878
+ bucket?: boolean | number;
879
+ key?: boolean | number;
880
+ __typename?: boolean | number;
881
+ __scalar?: boolean | number;
882
+ }
883
+ export interface AWSS3CallResultGenqlSelection {
884
+ httpStatus?: boolean | number;
885
+ result?: boolean | number;
886
+ message?: boolean | number;
887
+ errors?: boolean | number;
888
+ __typename?: boolean | number;
889
+ __scalar?: boolean | number;
890
+ }
891
+ export interface BrandStatsGenqlSelection {
892
+ campaigns?: boolean | number;
893
+ sponsorships?: boolean | number;
894
+ sports?: boolean | number;
895
+ athletes?: boolean | number;
896
+ __typename?: boolean | number;
897
+ __scalar?: boolean | number;
898
+ }
899
+ export interface BrandTranslationGenqlSelection {
900
+ _id?: boolean | number;
901
+ brandId?: boolean | number;
902
+ language?: boolean | number;
903
+ name?: boolean | number;
904
+ slogan?: boolean | number;
905
+ description?: boolean | number;
906
+ logo?: AWSS3FileGenqlSelection;
907
+ banner?: AWSS3FileGenqlSelection;
908
+ __typename?: boolean | number;
909
+ __scalar?: boolean | number;
910
+ }
911
+ export interface BrandGenqlSelection {
912
+ _id?: boolean | number;
913
+ name?: boolean | number;
914
+ slogan?: boolean | number;
915
+ website?: boolean | number;
916
+ description?: boolean | number;
917
+ approved?: boolean | number;
918
+ published?: boolean | number;
919
+ logo?: AWSS3FileGenqlSelection;
920
+ banner?: AWSS3FileGenqlSelection;
921
+ stats?: BrandStatsGenqlSelection;
922
+ operatorIds?: boolean | number;
923
+ translations?: BrandTranslationGenqlSelection;
924
+ __typename?: boolean | number;
925
+ __scalar?: boolean | number;
926
+ }
927
+ export interface CityGenqlSelection {
928
+ _id?: boolean | number;
929
+ name?: boolean | number;
930
+ localizedName?: boolean | number;
931
+ state?: StateGenqlSelection;
932
+ latitude?: boolean | number;
933
+ longitude?: boolean | number;
934
+ timezone?: boolean | number;
935
+ __typename?: boolean | number;
936
+ __scalar?: boolean | number;
937
+ }
938
+ export interface StateGenqlSelection {
939
+ _id?: boolean | number;
940
+ name?: boolean | number;
941
+ country?: CountryGenqlSelection;
942
+ cities?: CityGenqlSelection;
943
+ __typename?: boolean | number;
944
+ __scalar?: boolean | number;
945
+ }
946
+ export interface CountryGenqlSelection {
947
+ _id?: boolean | number;
948
+ name?: boolean | number;
949
+ states?: StateGenqlSelection;
950
+ __typename?: boolean | number;
951
+ __scalar?: boolean | number;
952
+ }
953
+ export interface QualificationGenqlSelection {
954
+ type?: boolean | number;
955
+ __typename?: boolean | number;
956
+ __scalar?: boolean | number;
957
+ }
958
+ export interface ScoreQualificationGenqlSelection {
959
+ type?: boolean | number;
960
+ scoreType?: boolean | number;
961
+ operator?: boolean | number;
962
+ value?: boolean | number;
963
+ __typename?: boolean | number;
964
+ __scalar?: boolean | number;
965
+ }
966
+ export interface LocationQualificationGenqlSelection {
967
+ type?: boolean | number;
968
+ operator?: boolean | number;
969
+ countries?: CountryGenqlSelection;
970
+ states?: StateGenqlSelection;
971
+ cities?: CityGenqlSelection;
972
+ __typename?: boolean | number;
973
+ __scalar?: boolean | number;
974
+ }
975
+ export interface DistanceQualificationGenqlSelection {
976
+ type?: boolean | number;
977
+ maxDistance?: boolean | number;
978
+ latitude?: boolean | number;
979
+ longitude?: boolean | number;
980
+ cityId?: boolean | number;
981
+ __typename?: boolean | number;
982
+ __scalar?: boolean | number;
983
+ }
984
+ export interface SportsQualificationGenqlSelection {
985
+ type?: boolean | number;
986
+ sports?: boolean | number;
987
+ operator?: boolean | number;
988
+ __typename?: boolean | number;
989
+ __scalar?: boolean | number;
990
+ }
991
+ export interface SportsLevelQualificationGenqlSelection {
992
+ type?: boolean | number;
993
+ operator?: boolean | number;
994
+ level?: boolean | number;
995
+ __typename?: boolean | number;
996
+ __scalar?: boolean | number;
997
+ }
998
+ export interface AthleteCriteriaGenqlSelection {
999
+ _id?: boolean | number;
1000
+ label?: boolean | number;
1001
+ qualifications?: QualificationGenqlSelection;
1002
+ __typename?: boolean | number;
1003
+ __scalar?: boolean | number;
1004
+ }
1005
+ export interface IndustryGenqlSelection {
1006
+ _id?: boolean | number;
1007
+ name?: boolean | number;
1008
+ __typename?: boolean | number;
1009
+ __scalar?: boolean | number;
1010
+ }
1011
+ export interface SponsorStatsGenqlSelection {
1012
+ sponsoredAthletes?: boolean | number;
1013
+ totalBrands?: boolean | number;
1014
+ activeCampaigns?: boolean | number;
1015
+ activeSponsorships?: boolean | number;
1016
+ __typename?: boolean | number;
1017
+ __scalar?: boolean | number;
1018
+ }
1019
+ export interface SponsorBrandGenqlSelection {
1020
+ _id?: boolean | number;
1021
+ name?: boolean | number;
1022
+ slogan?: boolean | number;
1023
+ website?: boolean | number;
1024
+ description?: boolean | number;
1025
+ approved?: boolean | number;
1026
+ published?: boolean | number;
1027
+ logo?: AWSS3FileGenqlSelection;
1028
+ banner?: AWSS3FileGenqlSelection;
1029
+ stats?: BrandStatsGenqlSelection;
1030
+ operatorIds?: boolean | number;
1031
+ translations?: BrandTranslationGenqlSelection;
1032
+ sponsorBrandId?: boolean | number;
1033
+ authorizedUse?: boolean | number;
1034
+ isAuthorizer?: boolean | number;
1035
+ __typename?: boolean | number;
1036
+ __scalar?: boolean | number;
1037
+ }
1038
+ export interface SponsorGenqlSelection {
1039
+ _id?: boolean | number;
1040
+ name?: boolean | number;
1041
+ description?: boolean | number;
1042
+ tenant?: TenantGenqlSelection;
1043
+ industry?: IndustryGenqlSelection;
1044
+ stats?: SponsorStatsGenqlSelection;
1045
+ brands?: SponsorBrandGenqlSelection;
1046
+ sponsorships?: SponsorshipGenqlSelection;
1047
+ approved?: boolean | number;
1048
+ __typename?: boolean | number;
1049
+ __scalar?: boolean | number;
1050
+ }
1051
+ export interface SponsorshipItemGenqlSelection {
1052
+ _id?: boolean | number;
1053
+ quantity?: boolean | number;
1054
+ title?: boolean | number;
1055
+ value?: boolean | number;
1056
+ type?: boolean | number;
1057
+ __typename?: boolean | number;
1058
+ __scalar?: boolean | number;
1059
+ }
1060
+ export interface SponsorshipCommitmentGenqlSelection {
1061
+ _id?: boolean | number;
1062
+ title?: boolean | number;
1063
+ details?: boolean | number;
1064
+ hashTags?: boolean | number;
1065
+ media?: boolean | number;
1066
+ actionType?: boolean | number;
1067
+ frequency?: boolean | number;
1068
+ periodicity?: boolean | number;
1069
+ autoMeasurable?: boolean | number;
1070
+ __typename?: boolean | number;
1071
+ __scalar?: boolean | number;
1072
+ }
1073
+ export interface DurationGenqlSelection {
1074
+ length?: boolean | number;
1075
+ unit?: boolean | number;
1076
+ __typename?: boolean | number;
1077
+ __scalar?: boolean | number;
1078
+ }
1079
+ export interface SponsorshipStatsGenqlSelection {
1080
+ totalSponsorships?: boolean | number;
1081
+ totalApplications?: boolean | number;
1082
+ newApplications?: boolean | number;
1083
+ discardedApplications?: boolean | number;
1084
+ selectedApplications?: boolean | number;
1085
+ approvedApplications?: boolean | number;
1086
+ grantedSponsorships?: boolean | number;
1087
+ remainingSponsorships?: boolean | number;
1088
+ __typename?: boolean | number;
1089
+ __scalar?: boolean | number;
1090
+ }
1091
+ export interface SponsorshipTranslationGenqlSelection {
1092
+ _id?: boolean | number;
1093
+ sponsorshipId?: boolean | number;
1094
+ language?: boolean | number;
1095
+ title?: boolean | number;
1096
+ description?: boolean | number;
1097
+ terms?: boolean | number;
1098
+ banner?: AWSS3FileGenqlSelection;
1099
+ __typename?: boolean | number;
1100
+ __scalar?: boolean | number;
1101
+ }
1102
+ export interface SponsorshipGenqlSelection {
1103
+ _id?: boolean | number;
1104
+ title?: boolean | number;
1105
+ description?: boolean | number;
1106
+ cashValue?: boolean | number;
1107
+ otherValue?: boolean | number;
1108
+ brand?: BrandGenqlSelection;
1109
+ banner?: AWSS3FileGenqlSelection;
1110
+ criteria?: AthleteCriteriaGenqlSelection;
1111
+ deadline?: boolean | number;
1112
+ startDate?: boolean | number;
1113
+ duration?: DurationGenqlSelection;
1114
+ sponsor?: SponsorGenqlSelection;
1115
+ sponsorshipItems?: SponsorshipItemGenqlSelection;
1116
+ commitments?: SponsorshipCommitmentGenqlSelection;
1117
+ terms?: boolean | number;
1118
+ stats?: SponsorshipStatsGenqlSelection;
1119
+ isPrivate?: boolean | number;
1120
+ approved?: boolean | number;
1121
+ published?: boolean | number;
1122
+ translations?: SponsorshipTranslationGenqlSelection;
1123
+ __typename?: boolean | number;
1124
+ __scalar?: boolean | number;
1125
+ }
1126
+ export interface FollowStatsGenqlSelection {
1127
+ followers?: boolean | number;
1128
+ followed?: boolean | number;
1129
+ raves?: boolean | number;
1130
+ favorites?: boolean | number;
1131
+ __typename?: boolean | number;
1132
+ __scalar?: boolean | number;
1133
+ }
1134
+ export interface SportGenqlSelection {
1135
+ _id?: boolean | number;
1136
+ name?: boolean | number;
1137
+ __typename?: boolean | number;
1138
+ __scalar?: boolean | number;
1139
+ }
1140
+ export interface VtxScoresGenqlSelection {
1141
+ vtxScore?: boolean | number;
1142
+ socialScore?: boolean | number;
1143
+ trainingScore?: boolean | number;
1144
+ competitionScore?: boolean | number;
1145
+ __typename?: boolean | number;
1146
+ __scalar?: boolean | number;
1147
+ }
1148
+ export interface SportLevelTranslationGenqlSelection {
1149
+ _id?: boolean | number;
1150
+ language?: boolean | number;
1151
+ label?: boolean | number;
1152
+ __typename?: boolean | number;
1153
+ __scalar?: boolean | number;
1154
+ }
1155
+ export interface SportLevelGenqlSelection {
1156
+ _id?: boolean | number;
1157
+ label?: boolean | number;
1158
+ index?: boolean | number;
1159
+ translations?: SportLevelTranslationGenqlSelection;
1160
+ __typename?: boolean | number;
1161
+ __scalar?: boolean | number;
1162
+ }
1163
+ export interface RankingGenqlSelection {
1164
+ scope?: boolean | number;
1165
+ scopeId?: boolean | number;
1166
+ scopeName?: boolean | number;
1167
+ position?: boolean | number;
1168
+ total?: boolean | number;
1169
+ __typename?: boolean | number;
1170
+ __scalar?: boolean | number;
1171
+ }
1172
+ export interface AthleteRankingsGenqlSelection {
1173
+ worldRanking?: RankingGenqlSelection;
1174
+ countryRanking?: RankingGenqlSelection;
1175
+ stateRanking?: RankingGenqlSelection;
1176
+ cityRanking?: RankingGenqlSelection;
1177
+ __typename?: boolean | number;
1178
+ __scalar?: boolean | number;
1179
+ }
1180
+ export interface TeamGenqlSelection {
1181
+ _id?: boolean | number;
1182
+ name?: boolean | number;
1183
+ description?: boolean | number;
1184
+ sports?: SportGenqlSelection;
1185
+ approved?: boolean | number;
1186
+ logo?: AWSS3FileGenqlSelection;
1187
+ banner?: AWSS3FileGenqlSelection;
1188
+ __typename?: boolean | number;
1189
+ __scalar?: boolean | number;
1190
+ }
1191
+ export interface SportsEventGenqlSelection {
1192
+ _id?: boolean | number;
1193
+ name?: boolean | number;
1194
+ eventWebSite?: boolean | number;
1195
+ startDate?: boolean | number;
1196
+ endDate?: boolean | number;
1197
+ verified?: boolean | number;
1198
+ banner?: AWSS3FileGenqlSelection;
1199
+ __typename?: boolean | number;
1200
+ __scalar?: boolean | number;
1201
+ }
1202
+ export interface AthleteCompetitionResultGenqlSelection {
1203
+ _id?: boolean | number;
1204
+ type?: boolean | number;
1205
+ position?: boolean | number;
1206
+ score?: boolean | number;
1207
+ timems?: boolean | number;
1208
+ resultWebLink?: boolean | number;
1209
+ __typename?: boolean | number;
1210
+ __scalar?: boolean | number;
1211
+ }
1212
+ export interface AthleteCompetitionGenqlSelection {
1213
+ _id?: boolean | number;
1214
+ event?: SportsEventGenqlSelection;
1215
+ eventName?: boolean | number;
1216
+ date?: boolean | number;
1217
+ result?: AthleteCompetitionResultGenqlSelection;
1218
+ __typename?: boolean | number;
1219
+ __scalar?: boolean | number;
1220
+ }
1221
+ export interface WorldLocationGenqlSelection {
1222
+ _id?: boolean | number;
1223
+ userProvidedLatitude?: boolean | number;
1224
+ userProvidedLongitude?: boolean | number;
1225
+ cityNameGeocode?: boolean | number;
1226
+ stateNameGeocode?: boolean | number;
1227
+ countryIso2CodeGeocode?: boolean | number;
1228
+ timeZoneGeocode?: boolean | number;
1229
+ latitudeGeocode?: boolean | number;
1230
+ longitudeGeocode?: boolean | number;
1231
+ city?: CityGenqlSelection;
1232
+ __typename?: boolean | number;
1233
+ __scalar?: boolean | number;
1234
+ }
1235
+ export interface AthleteGenqlSelection {
1236
+ _id?: boolean | number;
1237
+ firstName?: boolean | number;
1238
+ lastName?: boolean | number;
1239
+ screenName?: boolean | number;
1240
+ dob?: boolean | number;
1241
+ lgbt?: boolean | number;
1242
+ competitionGender?: boolean | number;
1243
+ country?: CountryGenqlSelection;
1244
+ location?: WorldLocationGenqlSelection;
1245
+ trainer?: boolean | number;
1246
+ trainerUrl?: boolean | number;
1247
+ followStats?: FollowStatsGenqlSelection;
1248
+ mainSport?: SportGenqlSelection;
1249
+ mainSportLevel?: SportLevelGenqlSelection;
1250
+ scores?: VtxScoresGenqlSelection;
1251
+ rankings?: AthleteRankingsGenqlSelection;
1252
+ allSports?: SportGenqlSelection;
1253
+ teams?: TeamGenqlSelection;
1254
+ sponsorBrands?: BrandGenqlSelection;
1255
+ competitions?: AthleteCompetitionGenqlSelection;
1256
+ totalUpcomingCompetitions?: boolean | number;
1257
+ totalPastCompetitions?: boolean | number;
1258
+ __typename?: boolean | number;
1259
+ __scalar?: boolean | number;
1260
+ }
1261
+ export interface ScoreQualificationDto {
1262
+ type: Scalars['String'];
1263
+ scoreType: Scalars['String'];
1264
+ operator: Scalars['String'];
1265
+ value: Scalars['Float'];
1266
+ }
1267
+ export interface LocationQualificationDto {
1268
+ type: Scalars['String'];
1269
+ operator: Scalars['String'];
1270
+ countries: CountryReferenceDto[];
1271
+ states: StateReferenceDto[];
1272
+ cities: CityReferenceDto[];
1273
+ }
1274
+ export interface CountryReferenceDto {
1275
+ _id: Scalars['String'];
1276
+ name: Scalars['String'];
1277
+ }
1278
+ export interface StateReferenceDto {
1279
+ _id: Scalars['String'];
1280
+ name: Scalars['String'];
1281
+ country?: (CountryReferenceDto | null);
1282
+ }
1283
+ export interface CityReferenceDto {
1284
+ _id: Scalars['String'];
1285
+ name: Scalars['String'];
1286
+ state?: (StateReferenceDto | null);
1287
+ }
1288
+ export interface DistanceQualificationDto {
1289
+ type: Scalars['String'];
1290
+ maxDistance: Scalars['Float'];
1291
+ latitude?: (Scalars['Float'] | null);
1292
+ longitude?: (Scalars['Float'] | null);
1293
+ cityId?: (Scalars['String'] | null);
1294
+ }
1295
+ export interface SportsQualificationDto {
1296
+ type: Scalars['String'];
1297
+ sports: Scalars['String'][];
1298
+ operator: Scalars['String'];
1299
+ }
1300
+ export interface SportsLevelQualificationDto {
1301
+ type: Scalars['String'];
1302
+ operator: Scalars['String'];
1303
+ level: Scalars['String'];
1304
+ }
1305
+ export interface QueryGenqlSelection {
1306
+ findTenantById?: (TenantGenqlSelection & {
1307
+ __args: {
1308
+ _id: Scalars['String'];
1309
+ };
1310
+ });
1311
+ findTenantByEmail?: (TenantGenqlSelection & {
1312
+ __args: {
1313
+ email: Scalars['String'];
1314
+ domainId: Scalars['String'];
1315
+ };
1316
+ });
1317
+ getTenants?: TenantGenqlSelection;
1318
+ isTenantUriAvailable?: (UriAvailableTypeGenqlSelection & {
1319
+ __args: {
1320
+ tenant_uri: Scalars['String'];
1321
+ };
1322
+ });
1323
+ findUserById?: (UserGenqlSelection & {
1324
+ __args: {
1325
+ _id: Scalars['String'];
1326
+ };
1327
+ });
1328
+ findUserByEmail?: (UserGenqlSelection & {
1329
+ __args: {
1330
+ email: Scalars['String'];
1331
+ };
1332
+ });
1333
+ getUploadUrl?: (AWSS3UploadUrlGenqlSelection & {
1334
+ __args: {
1335
+ input: AWSS3GetUploadDto;
1336
+ };
1337
+ });
1338
+ industries?: IndustryGenqlSelection;
1339
+ findIndustryById?: (IndustryGenqlSelection & {
1340
+ __args: {
1341
+ industryId: Scalars['String'];
1342
+ };
1343
+ });
1344
+ brands?: BrandGenqlSelection;
1345
+ getBrandByName?: (BrandGenqlSelection & {
1346
+ __args: {
1347
+ name: Scalars['String'];
1348
+ translations: Scalars['Boolean'];
1349
+ };
1350
+ });
1351
+ getBrandTranslation?: (BrandTranslationGenqlSelection & {
1352
+ __args: {
1353
+ brandId: Scalars['String'];
1354
+ language: Scalars['String'];
1355
+ };
1356
+ });
1357
+ existsValidSponsorForEmail?: (SponsorGenqlSelection & {
1358
+ __args: {
1359
+ loginEmail: Scalars['String'];
1360
+ };
1361
+ });
1362
+ sponsors?: SponsorGenqlSelection;
1363
+ getAthletes?: AthleteGenqlSelection;
1364
+ findAthleteById?: (AthleteGenqlSelection & {
1365
+ __args: {
1366
+ athleteId: Scalars['String'];
1367
+ };
1368
+ });
1369
+ getSports?: SportGenqlSelection;
1370
+ findSportById?: (SportGenqlSelection & {
1371
+ __args: {
1372
+ sportId: Scalars['String'];
1373
+ };
1374
+ });
1375
+ getSportLevels?: SportLevelGenqlSelection;
1376
+ getPublicSponsorships?: SponsorshipGenqlSelection;
1377
+ getTenantSponsorships?: SponsorshipGenqlSelection;
1378
+ getCountries?: CountryGenqlSelection;
1379
+ getCountryStates?: (StateGenqlSelection & {
1380
+ __args: {
1381
+ countryId: Scalars['String'];
1382
+ };
1383
+ });
1384
+ getStateCities?: (CityGenqlSelection & {
1385
+ __args: {
1386
+ stateId: Scalars['String'];
1387
+ };
1388
+ });
1389
+ findCitiesStartingWith?: (CityGenqlSelection & {
1390
+ __args: {
1391
+ text: Scalars['String'];
1392
+ };
1393
+ });
1394
+ __typename?: boolean | number;
1395
+ __scalar?: boolean | number;
1396
+ }
1397
+ export interface AWSS3GetUploadDto {
1398
+ useType: Scalars['String'];
1399
+ name?: (Scalars['String'] | null);
1400
+ }
1401
+ export interface MutationGenqlSelection {
1402
+ registerNewDomainTenant?: (TenantGenqlSelection & {
1403
+ __args: {
1404
+ tenant: CreateTenantInput;
1405
+ };
1406
+ });
1407
+ registerNewDomainTenantWithLogin?: (TenantWithUserLoginGenqlSelection & {
1408
+ __args: {
1409
+ tenant: CreateTenantInput;
1410
+ };
1411
+ });
1412
+ createUserAndLogin?: (UserWithTokenGenqlSelection & {
1413
+ __args: {
1414
+ user: CreateActiveUserInput;
1415
+ };
1416
+ });
1417
+ loginUserFromEmail?: (UserTokenGenqlSelection & {
1418
+ __args: {
1419
+ email: Scalars['String'];
1420
+ };
1421
+ });
1422
+ registerUserToDomainFromEmail?: (UserGenqlSelection & {
1423
+ __args: {
1424
+ input: RegisterUserToDomainFromEmailInput;
1425
+ };
1426
+ });
1427
+ refreshToken?: (UserTokenGenqlSelection & {
1428
+ __args: {
1429
+ dto: RefreshTokenInput;
1430
+ };
1431
+ });
1432
+ deleteUploadedUseTypeFile?: (AWSS3CallResultGenqlSelection & {
1433
+ __args: {
1434
+ input: AWSS3DeleteUseTypeFileDto;
1435
+ };
1436
+ });
1437
+ deleteUploadedBucketFile?: (AWSS3CallResultGenqlSelection & {
1438
+ __args: {
1439
+ input: AWSS3DeleteBucketFileDto;
1440
+ };
1441
+ });
1442
+ registerS3UploadedFile?: (AWSS3FileGenqlSelection & {
1443
+ __args: {
1444
+ input: AWSS3UploadedFileDto;
1445
+ };
1446
+ });
1447
+ createIndustry?: (IndustryGenqlSelection & {
1448
+ __args: {
1449
+ input: CreateIndustryDto;
1450
+ };
1451
+ });
1452
+ createBrand?: (BrandGenqlSelection & {
1453
+ __args: {
1454
+ input: CreateBrandDto;
1455
+ };
1456
+ });
1457
+ registerSponsor?: (SponsorGenqlSelection & {
1458
+ __args: {
1459
+ input: RegisterSponsorInput;
1460
+ };
1461
+ });
1462
+ createSponsor?: (SponsorGenqlSelection & {
1463
+ __args: {
1464
+ input: CreateSponsorDto;
1465
+ };
1466
+ });
1467
+ registerAthlete?: (AthleteGenqlSelection & {
1468
+ __args: {
1469
+ input: RegisterAthleteDto;
1470
+ };
1471
+ });
1472
+ createSport?: (SportGenqlSelection & {
1473
+ __args: {
1474
+ input: CreateSportDto;
1475
+ };
1476
+ });
1477
+ updateSport?: (SportGenqlSelection & {
1478
+ __args: {
1479
+ input: UpdateSportDto;
1480
+ };
1481
+ });
1482
+ createSportLevel?: (SportLevelGenqlSelection & {
1483
+ __args: {
1484
+ input: CreateSportLevelDto;
1485
+ };
1486
+ });
1487
+ createSponsorwhip?: (SponsorshipGenqlSelection & {
1488
+ __args: {
1489
+ input: CreateSponsorshipDto;
1490
+ };
1491
+ });
1492
+ createCountry?: (CountryGenqlSelection & {
1493
+ __args: {
1494
+ input: CreateCountryDto;
1495
+ };
1496
+ });
1497
+ createState?: (StateGenqlSelection & {
1498
+ __args: {
1499
+ input: CreateStateDto;
1500
+ };
1501
+ });
1502
+ createCity?: (CityGenqlSelection & {
1503
+ __args: {
1504
+ input: CreateCityDto;
1505
+ };
1506
+ });
1507
+ __typename?: boolean | number;
1508
+ __scalar?: boolean | number;
1509
+ }
1510
+ export interface CreateTenantInput {
1511
+ name: Scalars['String'];
1512
+ email: Scalars['String'];
1513
+ tenant_uri: Scalars['String'];
1514
+ domain: Scalars['String'];
1515
+ }
1516
+ export interface CreateActiveUserInput {
1517
+ loginEmail: Scalars['String'];
1518
+ password?: (Scalars['String'] | null);
1519
+ }
1520
+ export interface RegisterUserToDomainFromEmailInput {
1521
+ email: Scalars['String'];
1522
+ domainId: Scalars['String'];
1523
+ tenantId?: (Scalars['String'] | null);
1524
+ createUserIfNotExist?: (Scalars['Boolean'] | null);
1525
+ }
1526
+ export interface RefreshTokenInput {
1527
+ refreshToken: Scalars['String'];
1528
+ }
1529
+ export interface AWSS3DeleteUseTypeFileDto {
1530
+ name: Scalars['String'];
1531
+ useType: Scalars['String'];
1532
+ }
1533
+ export interface AWSS3DeleteBucketFileDto {
1534
+ key: Scalars['String'];
1535
+ bucket: Scalars['String'];
1536
+ credentialsId?: (Scalars['String'] | null);
1537
+ }
1538
+ export interface AWSS3UploadedFileDto {
1539
+ key: Scalars['String'];
1540
+ useType: Scalars['String'];
1541
+ contentType: Scalars['String'];
1542
+ originalFileName?: (Scalars['String'] | null);
1543
+ fileSize?: (Scalars['Float'] | null);
1544
+ }
1545
+ export interface CreateIndustryDto {
1546
+ name: Scalars['String'];
1547
+ }
1548
+ export interface CreateBrandDto {
1549
+ name: Scalars['String'];
1550
+ description?: (Scalars['String'] | null);
1551
+ slogan?: (Scalars['String'] | null);
1552
+ website?: (Scalars['String'] | null);
1553
+ logo?: (AWSS3UploadedFileDto | null);
1554
+ banner?: (AWSS3UploadedFileDto | null);
1555
+ translations?: (BrandTranslationDto[] | null);
1556
+ }
1557
+ export interface BrandTranslationDto {
1558
+ brandId: Scalars['String'];
1559
+ language: Scalars['String'];
1560
+ name?: (Scalars['String'] | null);
1561
+ description?: (Scalars['String'] | null);
1562
+ slogan?: (Scalars['String'] | null);
1563
+ logo?: (AWSS3UploadedFileDto | null);
1564
+ banner?: (AWSS3UploadedFileDto | null);
1565
+ }
1566
+ export interface RegisterSponsorInput {
1567
+ name: Scalars['String'];
1568
+ phone?: (Scalars['String'] | null);
1569
+ hasWhatsapp?: Scalars['Boolean'];
1570
+ companyName?: (Scalars['String'] | null);
1571
+ companyEmail: Scalars['String'];
1572
+ industryId: Scalars['String'];
1573
+ companySize: Scalars['String'];
1574
+ operatorType: Scalars['String'];
1575
+ numberOfAthletes: Scalars['String'];
1576
+ brands: Scalars['String'][];
1577
+ }
1578
+ export interface CreateSponsorDto {
1579
+ name: Scalars['String'];
1580
+ description?: (Scalars['String'] | null);
1581
+ }
1582
+ export interface RegisterAthleteDto {
1583
+ email: Scalars['String'];
1584
+ firstName: Scalars['String'];
1585
+ lastName: Scalars['String'];
1586
+ screenName?: (Scalars['String'] | null);
1587
+ nationality: Scalars['String'];
1588
+ cityId: Scalars['String'];
1589
+ locLatitude?: (Scalars['Float'] | null);
1590
+ locLongitude?: (Scalars['Float'] | null);
1591
+ dateOfBirth: Scalars['DateTime'];
1592
+ team?: (Scalars['String'] | null);
1593
+ gender: Scalars['String'];
1594
+ mainSport: Scalars['String'];
1595
+ mainSportLevel: Scalars['String'];
1596
+ }
1597
+ export interface CreateSportDto {
1598
+ name: Scalars['String'];
1599
+ }
1600
+ export interface UpdateSportDto {
1601
+ _id: Scalars['String'];
1602
+ name: Scalars['String'];
1603
+ }
1604
+ export interface CreateSportLevelDto {
1605
+ _id: Scalars['String'];
1606
+ label: Scalars['String'];
1607
+ index: Scalars['Float'];
1608
+ translations?: (CreateSportLevelTranslationDto[] | null);
1609
+ }
1610
+ export interface CreateSportLevelTranslationDto {
1611
+ language: Scalars['String'];
1612
+ label: Scalars['String'];
1613
+ }
1614
+ export interface CreateSponsorshipDto {
1615
+ title: Scalars['String'];
1616
+ brandId: Scalars['String'];
1617
+ description?: (Scalars['String'] | null);
1618
+ cashValue?: (Scalars['Float'] | null);
1619
+ otherValue?: (Scalars['Float'] | null);
1620
+ banner?: (AWSS3UploadedFileDto | null);
1621
+ criteria?: (AthleteCriteriaDto | null);
1622
+ deadline?: (Scalars['DateTime'] | null);
1623
+ startDate?: (Scalars['DateTime'] | null);
1624
+ duration: DurationDto;
1625
+ sponsorshipItems?: (SponsorshipItemDto[] | null);
1626
+ commitments?: (SponsorshipCommitmentDto[] | null);
1627
+ terms?: (Scalars['String'] | null);
1628
+ published?: (Scalars['Boolean'] | null);
1629
+ isPrivate?: (Scalars['Boolean'] | null);
1630
+ translations?: (SponsorshipTranslationDto[] | null);
1631
+ }
1632
+ export interface AthleteCriteriaDto {
1633
+ _id: Scalars['String'];
1634
+ label?: (Scalars['String'] | null);
1635
+ qualifications?: (QualificationDto[] | null);
1636
+ }
1637
+ export interface QualificationDto {
1638
+ type: Scalars['String'];
1639
+ }
1640
+ export interface DurationDto {
1641
+ length?: Scalars['Float'];
1642
+ unit?: Scalars['String'];
1643
+ }
1644
+ export interface SponsorshipItemDto {
1645
+ _id: Scalars['String'];
1646
+ quantity?: Scalars['Float'];
1647
+ title: Scalars['String'];
1648
+ value?: Scalars['Float'];
1649
+ }
1650
+ export interface SponsorshipCommitmentDto {
1651
+ _id: Scalars['String'];
1652
+ title: Scalars['String'];
1653
+ details?: (Scalars['String'] | null);
1654
+ hashTags?: (Scalars['String'][] | null);
1655
+ media: Scalars['String'];
1656
+ actionType: Scalars['String'];
1657
+ frequency?: (Scalars['Float'] | null);
1658
+ periodicity: Scalars['String'];
1659
+ }
1660
+ export interface SponsorshipTranslationDto {
1661
+ title?: (Scalars['String'] | null);
1662
+ description?: (Scalars['String'] | null);
1663
+ banner?: (AWSS3UploadedFileDto | null);
1664
+ terms?: (Scalars['String'] | null);
1665
+ }
1666
+ export interface CreateCountryDto {
1667
+ _id: Scalars['String'];
1668
+ name: Scalars['String'];
1669
+ }
1670
+ export interface CreateStateDto {
1671
+ _id: Scalars['String'];
1672
+ name: Scalars['String'];
1673
+ countryId: Scalars['String'];
1674
+ }
1675
+ export interface CreateCityDto {
1676
+ _id: Scalars['String'];
1677
+ cityName: Scalars['String'];
1678
+ cityNameLocalized: Scalars['String'];
1679
+ lat: Scalars['Float'];
1680
+ lng: Scalars['Float'];
1681
+ stateId: Scalars['String'];
1682
+ timezone: Scalars['String'];
1683
+ city_alt?: (Scalars['String'] | null);
1684
+ iso3?: (Scalars['String'] | null);
1685
+ admin_type?: (Scalars['String'] | null);
1686
+ capital?: (Scalars['String'] | null);
1687
+ density?: (Scalars['Float'] | null);
1688
+ population?: (Scalars['Float'] | null);
1689
+ population_proper?: (Scalars['Float'] | null);
1690
+ ranking?: (Scalars['Float'] | null);
1691
+ same_name?: (Scalars['String'] | null);
1692
+ }
1693
+ export declare const isUser: (obj?: {
1694
+ __typename?: any;
1695
+ } | null) => obj is User;
1696
+ export declare const isUserWithToken: (obj?: {
1697
+ __typename?: any;
1698
+ } | null) => obj is UserWithToken;
1699
+ export declare const isBaseTenant: (obj?: {
1700
+ __typename?: any;
1701
+ } | null) => obj is BaseTenant;
1702
+ export declare const isTenant: (obj?: {
1703
+ __typename?: any;
1704
+ } | null) => obj is Tenant;
1705
+ export declare const isDomain: (obj?: {
1706
+ __typename?: any;
1707
+ } | null) => obj is Domain;
1708
+ export declare const isDomainCredential: (obj?: {
1709
+ __typename?: any;
1710
+ } | null) => obj is DomainCredential;
1711
+ export declare const isUserToken: (obj?: {
1712
+ __typename?: any;
1713
+ } | null) => obj is UserToken;
1714
+ export declare const isDecodedToken: (obj?: {
1715
+ __typename?: any;
1716
+ } | null) => obj is DecodedToken;
1717
+ export declare const isDecodedRefreshToken: (obj?: {
1718
+ __typename?: any;
1719
+ } | null) => obj is DecodedRefreshToken;
1720
+ export declare const isTenantWithUserLogin: (obj?: {
1721
+ __typename?: any;
1722
+ } | null) => obj is TenantWithUserLogin;
1723
+ export declare const isUriAvailableType: (obj?: {
1724
+ __typename?: any;
1725
+ } | null) => obj is UriAvailableType;
1726
+ export declare const isAgreement: (obj?: {
1727
+ __typename?: any;
1728
+ } | null) => obj is Agreement;
1729
+ export declare const isBillEntity: (obj?: {
1730
+ __typename?: any;
1731
+ } | null) => obj is BillEntity;
1732
+ export declare const isInvoiceItem: (obj?: {
1733
+ __typename?: any;
1734
+ } | null) => obj is InvoiceItem;
1735
+ export declare const isPayment: (obj?: {
1736
+ __typename?: any;
1737
+ } | null) => obj is Payment;
1738
+ export declare const isPlaFeature: (obj?: {
1739
+ __typename?: any;
1740
+ } | null) => obj is PlaFeature;
1741
+ export declare const isPlan: (obj?: {
1742
+ __typename?: any;
1743
+ } | null) => obj is Plan;
1744
+ export declare const isPlanPrice: (obj?: {
1745
+ __typename?: any;
1746
+ } | null) => obj is PlanPrice;
1747
+ export declare const isInvoice: (obj?: {
1748
+ __typename?: any;
1749
+ } | null) => obj is Invoice;
1750
+ export declare const isSubscriptionInvoice: (obj?: {
1751
+ __typename?: any;
1752
+ } | null) => obj is SubscriptionInvoice;
1753
+ export declare const isPlanSubscription: (obj?: {
1754
+ __typename?: any;
1755
+ } | null) => obj is PlanSubscription;
1756
+ export declare const isSubscriptionPayment: (obj?: {
1757
+ __typename?: any;
1758
+ } | null) => obj is SubscriptionPayment;
1759
+ export declare const isAWSS3File: (obj?: {
1760
+ __typename?: any;
1761
+ } | null) => obj is AWSS3File;
1762
+ export declare const isHttpRequestField: (obj?: {
1763
+ __typename?: any;
1764
+ } | null) => obj is HttpRequestField;
1765
+ export declare const isAWSS3UploadUrl: (obj?: {
1766
+ __typename?: any;
1767
+ } | null) => obj is AWSS3UploadUrl;
1768
+ export declare const isAWSS3CallResult: (obj?: {
1769
+ __typename?: any;
1770
+ } | null) => obj is AWSS3CallResult;
1771
+ export declare const isBrandStats: (obj?: {
1772
+ __typename?: any;
1773
+ } | null) => obj is BrandStats;
1774
+ export declare const isBrandTranslation: (obj?: {
1775
+ __typename?: any;
1776
+ } | null) => obj is BrandTranslation;
1777
+ export declare const isBrand: (obj?: {
1778
+ __typename?: any;
1779
+ } | null) => obj is Brand;
1780
+ export declare const isCity: (obj?: {
1781
+ __typename?: any;
1782
+ } | null) => obj is City;
1783
+ export declare const isState: (obj?: {
1784
+ __typename?: any;
1785
+ } | null) => obj is State;
1786
+ export declare const isCountry: (obj?: {
1787
+ __typename?: any;
1788
+ } | null) => obj is Country;
1789
+ export declare const isQualification: (obj?: {
1790
+ __typename?: any;
1791
+ } | null) => obj is Qualification;
1792
+ export declare const isScoreQualification: (obj?: {
1793
+ __typename?: any;
1794
+ } | null) => obj is ScoreQualification;
1795
+ export declare const isLocationQualification: (obj?: {
1796
+ __typename?: any;
1797
+ } | null) => obj is LocationQualification;
1798
+ export declare const isDistanceQualification: (obj?: {
1799
+ __typename?: any;
1800
+ } | null) => obj is DistanceQualification;
1801
+ export declare const isSportsQualification: (obj?: {
1802
+ __typename?: any;
1803
+ } | null) => obj is SportsQualification;
1804
+ export declare const isSportsLevelQualification: (obj?: {
1805
+ __typename?: any;
1806
+ } | null) => obj is SportsLevelQualification;
1807
+ export declare const isAthleteCriteria: (obj?: {
1808
+ __typename?: any;
1809
+ } | null) => obj is AthleteCriteria;
1810
+ export declare const isIndustry: (obj?: {
1811
+ __typename?: any;
1812
+ } | null) => obj is Industry;
1813
+ export declare const isSponsorStats: (obj?: {
1814
+ __typename?: any;
1815
+ } | null) => obj is SponsorStats;
1816
+ export declare const isSponsorBrand: (obj?: {
1817
+ __typename?: any;
1818
+ } | null) => obj is SponsorBrand;
1819
+ export declare const isSponsor: (obj?: {
1820
+ __typename?: any;
1821
+ } | null) => obj is Sponsor;
1822
+ export declare const isSponsorshipItem: (obj?: {
1823
+ __typename?: any;
1824
+ } | null) => obj is SponsorshipItem;
1825
+ export declare const isSponsorshipCommitment: (obj?: {
1826
+ __typename?: any;
1827
+ } | null) => obj is SponsorshipCommitment;
1828
+ export declare const isDuration: (obj?: {
1829
+ __typename?: any;
1830
+ } | null) => obj is Duration;
1831
+ export declare const isSponsorshipStats: (obj?: {
1832
+ __typename?: any;
1833
+ } | null) => obj is SponsorshipStats;
1834
+ export declare const isSponsorshipTranslation: (obj?: {
1835
+ __typename?: any;
1836
+ } | null) => obj is SponsorshipTranslation;
1837
+ export declare const isSponsorship: (obj?: {
1838
+ __typename?: any;
1839
+ } | null) => obj is Sponsorship;
1840
+ export declare const isFollowStats: (obj?: {
1841
+ __typename?: any;
1842
+ } | null) => obj is FollowStats;
1843
+ export declare const isSport: (obj?: {
1844
+ __typename?: any;
1845
+ } | null) => obj is Sport;
1846
+ export declare const isVtxScores: (obj?: {
1847
+ __typename?: any;
1848
+ } | null) => obj is VtxScores;
1849
+ export declare const isSportLevelTranslation: (obj?: {
1850
+ __typename?: any;
1851
+ } | null) => obj is SportLevelTranslation;
1852
+ export declare const isSportLevel: (obj?: {
1853
+ __typename?: any;
1854
+ } | null) => obj is SportLevel;
1855
+ export declare const isRanking: (obj?: {
1856
+ __typename?: any;
1857
+ } | null) => obj is Ranking;
1858
+ export declare const isAthleteRankings: (obj?: {
1859
+ __typename?: any;
1860
+ } | null) => obj is AthleteRankings;
1861
+ export declare const isTeam: (obj?: {
1862
+ __typename?: any;
1863
+ } | null) => obj is Team;
1864
+ export declare const isSportsEvent: (obj?: {
1865
+ __typename?: any;
1866
+ } | null) => obj is SportsEvent;
1867
+ export declare const isAthleteCompetitionResult: (obj?: {
1868
+ __typename?: any;
1869
+ } | null) => obj is AthleteCompetitionResult;
1870
+ export declare const isAthleteCompetition: (obj?: {
1871
+ __typename?: any;
1872
+ } | null) => obj is AthleteCompetition;
1873
+ export declare const isWorldLocation: (obj?: {
1874
+ __typename?: any;
1875
+ } | null) => obj is WorldLocation;
1876
+ export declare const isAthlete: (obj?: {
1877
+ __typename?: any;
1878
+ } | null) => obj is Athlete;
1879
+ export declare const isQuery: (obj?: {
1880
+ __typename?: any;
1881
+ } | null) => obj is Query;
1882
+ export declare const isMutation: (obj?: {
1883
+ __typename?: any;
1884
+ } | null) => obj is Mutation;