@vertikalx/vtx-backend-client 1.0.0-preprod.3 → 1.0.0-preprod.4

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 (100) hide show
  1. package/package.json +1 -1
  2. package/src/api/response-builder.js +2 -3
  3. package/src/api/response-builder.js.map +1 -1
  4. package/src/api/vtx-base-api.d.ts +26 -6
  5. package/src/api/vtx-base-api.js +1301 -24
  6. package/src/api/vtx-base-api.js.map +1 -1
  7. package/src/client/runtime/generateGraphqlOperation.d.ts +1 -1
  8. package/src/client/schema.d.ts +535 -35
  9. package/src/client/schema.js +108 -10
  10. package/src/client/schema.js.map +1 -1
  11. package/src/client/types.d.ts +257 -22
  12. package/src/client/types.js +927 -290
  13. package/src/client/types.js.map +1 -1
  14. package/tsconfig.lib.tsbuildinfo +1 -1
  15. package/libs/vtx-backend-client/package.json +0 -16
  16. package/libs/vtx-backend-client/src/api/api-call-headers.d.ts +0 -16
  17. package/libs/vtx-backend-client/src/api/api-call-headers.js +0 -20
  18. package/libs/vtx-backend-client/src/api/api-call-headers.js.map +0 -1
  19. package/libs/vtx-backend-client/src/api/backend-response.d.ts +0 -10
  20. package/libs/vtx-backend-client/src/api/backend-response.js +0 -3
  21. package/libs/vtx-backend-client/src/api/backend-response.js.map +0 -1
  22. package/libs/vtx-backend-client/src/api/domains.d.ts +0 -3
  23. package/libs/vtx-backend-client/src/api/domains.js +0 -7
  24. package/libs/vtx-backend-client/src/api/domains.js.map +0 -1
  25. package/libs/vtx-backend-client/src/api/response-builder.d.ts +0 -4
  26. package/libs/vtx-backend-client/src/api/response-builder.js +0 -123
  27. package/libs/vtx-backend-client/src/api/response-builder.js.map +0 -1
  28. package/libs/vtx-backend-client/src/api/types.d.ts +0 -2
  29. package/libs/vtx-backend-client/src/api/types.js +0 -3
  30. package/libs/vtx-backend-client/src/api/types.js.map +0 -1
  31. package/libs/vtx-backend-client/src/api/vtx-apikey-api.d.ts +0 -6
  32. package/libs/vtx-backend-client/src/api/vtx-apikey-api.js +0 -19
  33. package/libs/vtx-backend-client/src/api/vtx-apikey-api.js.map +0 -1
  34. package/libs/vtx-backend-client/src/api/vtx-base-api.d.ts +0 -82
  35. package/libs/vtx-backend-client/src/api/vtx-base-api.js +0 -5725
  36. package/libs/vtx-backend-client/src/api/vtx-base-api.js.map +0 -1
  37. package/libs/vtx-backend-client/src/api/vtx-mobile-api.d.ts +0 -6
  38. package/libs/vtx-backend-client/src/api/vtx-mobile-api.js +0 -27
  39. package/libs/vtx-backend-client/src/api/vtx-mobile-api.js.map +0 -1
  40. package/libs/vtx-backend-client/src/api/vtx-web-browser-api.d.ts +0 -7
  41. package/libs/vtx-backend-client/src/api/vtx-web-browser-api.js +0 -36
  42. package/libs/vtx-backend-client/src/api/vtx-web-browser-api.js.map +0 -1
  43. package/libs/vtx-backend-client/src/api/vtx-web-server-api.d.ts +0 -7
  44. package/libs/vtx-backend-client/src/api/vtx-web-server-api.js +0 -33
  45. package/libs/vtx-backend-client/src/api/vtx-web-server-api.js.map +0 -1
  46. package/libs/vtx-backend-client/src/client/index.d.ts +0 -25
  47. package/libs/vtx-backend-client/src/client/index.js +0 -44
  48. package/libs/vtx-backend-client/src/client/index.js.map +0 -1
  49. package/libs/vtx-backend-client/src/client/runtime/batcher.d.ts +0 -36
  50. package/libs/vtx-backend-client/src/client/runtime/batcher.js +0 -123
  51. package/libs/vtx-backend-client/src/client/runtime/batcher.js.map +0 -1
  52. package/libs/vtx-backend-client/src/client/runtime/createClient.d.ts +0 -17
  53. package/libs/vtx-backend-client/src/client/runtime/createClient.js +0 -28
  54. package/libs/vtx-backend-client/src/client/runtime/createClient.js.map +0 -1
  55. package/libs/vtx-backend-client/src/client/runtime/error.d.ts +0 -15
  56. package/libs/vtx-backend-client/src/client/runtime/error.js +0 -19
  57. package/libs/vtx-backend-client/src/client/runtime/error.js.map +0 -1
  58. package/libs/vtx-backend-client/src/client/runtime/fetcher.d.ts +0 -10
  59. package/libs/vtx-backend-client/src/client/runtime/fetcher.js +0 -68
  60. package/libs/vtx-backend-client/src/client/runtime/fetcher.js.map +0 -1
  61. package/libs/vtx-backend-client/src/client/runtime/generateGraphqlOperation.d.ts +0 -30
  62. package/libs/vtx-backend-client/src/client/runtime/generateGraphqlOperation.js +0 -134
  63. package/libs/vtx-backend-client/src/client/runtime/generateGraphqlOperation.js.map +0 -1
  64. package/libs/vtx-backend-client/src/client/runtime/index.d.ts +0 -11
  65. package/libs/vtx-backend-client/src/client/runtime/index.js +0 -17
  66. package/libs/vtx-backend-client/src/client/runtime/index.js.map +0 -1
  67. package/libs/vtx-backend-client/src/client/runtime/linkTypeMap.d.ts +0 -9
  68. package/libs/vtx-backend-client/src/client/runtime/linkTypeMap.js +0 -95
  69. package/libs/vtx-backend-client/src/client/runtime/linkTypeMap.js.map +0 -1
  70. package/libs/vtx-backend-client/src/client/runtime/typeSelection.d.ts +0 -28
  71. package/libs/vtx-backend-client/src/client/runtime/typeSelection.js +0 -3
  72. package/libs/vtx-backend-client/src/client/runtime/typeSelection.js.map +0 -1
  73. package/libs/vtx-backend-client/src/client/runtime/types.d.ts +0 -55
  74. package/libs/vtx-backend-client/src/client/runtime/types.js +0 -3
  75. package/libs/vtx-backend-client/src/client/runtime/types.js.map +0 -1
  76. package/libs/vtx-backend-client/src/client/schema.d.ts +0 -3444
  77. package/libs/vtx-backend-client/src/client/schema.js +0 -748
  78. package/libs/vtx-backend-client/src/client/schema.js.map +0 -1
  79. package/libs/vtx-backend-client/src/client/types.d.ts +0 -1876
  80. package/libs/vtx-backend-client/src/client/types.js +0 -4870
  81. package/libs/vtx-backend-client/src/client/types.js.map +0 -1
  82. package/libs/vtx-backend-client/src/index.d.ts +0 -11
  83. package/libs/vtx-backend-client/src/index.js +0 -28
  84. package/libs/vtx-backend-client/src/index.js.map +0 -1
  85. package/src/api/dto/edit-picture.dto.d.ts +0 -5
  86. package/src/api/dto/edit-picture.dto.js +0 -31
  87. package/src/api/dto/edit-picture.dto.js.map +0 -1
  88. package/src/api/types/add-values-response.type.d.ts +0 -7
  89. package/src/api/types/add-values-response.type.js +0 -42
  90. package/src/api/types/add-values-response.type.js.map +0 -1
  91. package/src/api/types/delete-single-value-response.type.d.ts +0 -6
  92. package/src/api/types/delete-single-value-response.type.js +0 -36
  93. package/src/api/types/delete-single-value-response.type.js.map +0 -1
  94. package/src/api/types/edit-picture-response.type.d.ts +0 -7
  95. package/src/api/types/edit-picture-response.type.js +0 -39
  96. package/src/api/types/edit-picture-response.type.js.map +0 -1
  97. package/src/api/types/error.type.d.ts +0 -4
  98. package/src/api/types/error.type.js +0 -28
  99. package/src/api/types/error.type.js.map +0 -1
  100. package/src/client/schema.graphql +0 -1705
@@ -1,1705 +0,0 @@
1
- type User {
2
- _id: String!
3
- loginEmail: String!
4
- suspended: Boolean!
5
- domains: [DomainCredential!]
6
- loginMethods: [String!]
7
- }
8
-
9
- type UserWithToken {
10
- _id: String!
11
- loginEmail: String!
12
- suspended: Boolean!
13
- domains: [DomainCredential!]
14
- loginMethods: [String!]
15
- token: UserToken!
16
- }
17
-
18
- type BaseTenant {
19
- _id: String!
20
- name: String!
21
- tenant_uri: String!
22
- domain: Domain!
23
- }
24
-
25
- type Tenant {
26
- _id: String!
27
- name: String!
28
- tenant_uri: String!
29
- domain: Domain!
30
- email: String!
31
- owner: User
32
- }
33
-
34
- type Domain {
35
- _id: String!
36
- name: String!
37
- description: String
38
- }
39
-
40
- type DomainCredential {
41
- _id: String!
42
- name: String!
43
- description: String
44
- tenant: BaseTenant
45
- }
46
-
47
- type UserToken {
48
- actualToken: String!
49
- refreshToken: String!
50
- }
51
-
52
- type DecodedToken {
53
- tokenId: String!
54
- systemId: String!
55
- userId: String!
56
- email: String!
57
- refreshTokenId: String!
58
- domains: [DomainCredential!]!
59
- }
60
-
61
- type DecodedRefreshToken {
62
- userId: String!
63
- email: String!
64
- originalTokenId: String!
65
- }
66
-
67
- type TenantWithUserLogin {
68
- _id: String!
69
- name: String!
70
- tenant_uri: String!
71
- domain: Domain!
72
- email: String!
73
- owner: User
74
- user: UserWithToken!
75
- }
76
-
77
- type UriAvailableType {
78
- available: Boolean!
79
- valid: Boolean!
80
- }
81
-
82
- type Agreement {
83
- _id: String!
84
- kind: String!
85
- domain: String!
86
- isActiveAgreement: Boolean!
87
- version: String!
88
- publishedDate: DateTime
89
- unPublishedDate: DateTime
90
- locked: Boolean!
91
- name: String!
92
- description: String
93
- content: String
94
- createdDate: DateTime!
95
- updatedDate: DateTime!
96
- }
97
-
98
- """
99
- A date-time string at UTC, such as 2019-12-03T09:54:33Z, compliant with the date-time format.
100
- """
101
- scalar DateTime
102
-
103
- type BillEntity {
104
- name: String!
105
- taxId: String
106
- line1: String
107
- line2: String
108
- line3: String
109
- city: String
110
- state: String
111
- country: String
112
- zip: String
113
- }
114
-
115
- type InvoiceItem {
116
- _id: String!
117
- unitPrice: Float!
118
- unitTax: Float!
119
- quantity: Float!
120
- unit: String!
121
- itemPrice: Float!
122
- itemTotal: Float!
123
- }
124
-
125
- type Payment {
126
- _id: String!
127
- amount: Float!
128
- currency: String!
129
- datePaid: DateTime!
130
- paymentComment: String
131
- transactionId: String
132
- processorType: String
133
- processorReference: String
134
- paidItemReference: String
135
- payeeReference: String
136
- payorReference: String
137
- paymentMethodType: String
138
- paymentMethodReference: String
139
- }
140
-
141
- type PlaFeature {
142
- _id: String!
143
- title: String!
144
- description: String
145
- quantity: Float
146
- quantityUnit: String
147
- }
148
-
149
- type Plan {
150
- _id: String!
151
- name: String
152
- description: String
153
- prices: [PlanPrice!]!
154
- features: [PlaFeature!]!
155
- isPublic: Boolean!
156
- active: Boolean!
157
- startOfferingDate: DateTime
158
- endOfferingDate: DateTime
159
- termsAndConditions: String
160
- }
161
-
162
- type PlanPrice {
163
- _id: String!
164
- currency: String!
165
- price: Float!
166
- taxMode: String!
167
- period: String!
168
- customDays: Float
169
- plan: Plan
170
- }
171
-
172
- type Invoice {
173
- _id: String!
174
- invoiceDate: DateTime!
175
- billedEntity: BillEntity!
176
- dueDate: DateTime!
177
- billAmount: Float!
178
- tax: Float!
179
- total: Float!
180
- currency: String!
181
- items: [InvoiceItem!]
182
- payment: Payment
183
- }
184
-
185
- type SubscriptionInvoice {
186
- _id: String!
187
- invoice: Invoice!
188
- billedPlan: PlanPrice!
189
- subscriber: PlanSubscription!
190
- }
191
-
192
- type PlanSubscription {
193
- _id: String!
194
- currentPlan: PlanPrice!
195
- billPrice: Float!
196
- billCurrency: String!
197
- billPriceComment: String
198
- lastBillDate: DateTime!
199
- endAccessDate: DateTime!
200
- autoRenew: Boolean!
201
- autoRenewPlan: PlanPrice
202
- autoRenewDate: DateTime!
203
- payments: [SubscriptionPayment!]!
204
- invoices: [SubscriptionInvoice!]!
205
- }
206
-
207
- type SubscriptionPayment {
208
- _id: String!
209
- payment: Payment!
210
- subscriber: PlanSubscription!
211
- }
212
-
213
- type AWSS3File {
214
- _id: String!
215
- name: String
216
- contentType: String
217
- size: Float
218
- useType: String
219
- url: String!
220
- key: String!
221
- pendingDelete: Boolean!
222
- }
223
-
224
- type MagicLink {
225
- _id: String!
226
- code: String!
227
- type: String!
228
- url: String!
229
- expires: DateTime
230
- data: String
231
- isExpired: Boolean!
232
- }
233
-
234
- type VerificationCode {
235
- _id: String!
236
- type: String
237
- recipient: String
238
- expires: DateTime
239
- data: String
240
- isExpired: Boolean!
241
- createdDate: DateTime!
242
- }
243
-
244
- type ErrorInfo {
245
- errorCode: Float!
246
- errorMessage: String!
247
- }
248
-
249
- type HttpRequestField {
250
- key: String!
251
- value: String!
252
- }
253
-
254
- type AWSS3UploadUrl {
255
- uploadUrl: String!
256
- fields: [HttpRequestField!]!
257
- downloadUrl: String!
258
- bucket: String!
259
- key: String!
260
- }
261
-
262
- type AWSS3CallResult {
263
- httpStatus: Float!
264
- result: String!
265
- message: String!
266
- errors: [String!]
267
- }
268
-
269
- type DatabaseFile {
270
- _id: String!
271
- identifier: String!
272
- version: String!
273
- contentType: String!
274
- updated: DateTime!
275
- created: DateTime!
276
- }
277
-
278
- type TextDatabaseFile {
279
- _id: String!
280
- identifier: String!
281
- version: String!
282
- contentType: String!
283
- updated: DateTime!
284
- created: DateTime!
285
- content: String!
286
- }
287
-
288
- type CodeVerificationResponse {
289
- result: String!
290
- code: VerificationCode
291
- error: ErrorInfo
292
- }
293
-
294
- type BrandStats {
295
- campaigns: Float
296
- sponsorships: Float
297
- sports: Float
298
- athletes: Float
299
- }
300
-
301
- type BrandTranslation {
302
- _id: String!
303
- brandId: String!
304
- language: String!
305
- name: String
306
- slogan: String
307
- description: String
308
- logo: AWSS3File
309
- banner: AWSS3File
310
- }
311
-
312
- type Brand {
313
- _id: String!
314
- name: String!
315
- slogan: String
316
- website: String
317
- description: String
318
- approved: Boolean!
319
- published: Boolean!
320
- logo: AWSS3File
321
- banner: AWSS3File
322
- stats: BrandStats
323
- operatorIds: [String!]
324
- translations: [BrandTranslation!]
325
- }
326
-
327
- type City {
328
- _id: String!
329
- name: String!
330
- localizedName: String!
331
- state: State
332
- latitude: Float
333
- longitude: Float
334
- timezone: String
335
- }
336
-
337
- type State {
338
- _id: String!
339
- name: String!
340
- country: Country
341
- cities: [City!]
342
- }
343
-
344
- type Country {
345
- _id: String!
346
- name: String!
347
- states: [State!]
348
- }
349
-
350
- type AgeQualification {
351
- type: String!
352
- value: Float!
353
- operator: String!
354
- }
355
-
356
- type GenderQualification {
357
- type: String!
358
- operator: String!
359
- values: [String!]!
360
- }
361
-
362
- type ScoreQualification {
363
- type: String!
364
- scoreType: String!
365
- operator: String!
366
- value: Float!
367
- }
368
-
369
- type LocationQualification {
370
- type: String!
371
- operator: String!
372
- countries: [Country!]!
373
- states: [State!]!
374
- cities: [City!]!
375
- }
376
-
377
- type NationalityQualification {
378
- type: String!
379
- operator: String!
380
- countries: [Country!]!
381
- }
382
-
383
- type DistanceQualification {
384
- type: String!
385
- maxDistance: Float!
386
- latitude: Float
387
- longitude: Float
388
- cityId: String
389
- }
390
-
391
- type SportsQualification {
392
- type: String!
393
- sports: [String!]!
394
- operator: String!
395
- }
396
-
397
- type SportsLevelQualification {
398
- type: String!
399
- operator: String!
400
- level: String!
401
- }
402
-
403
- type AthleteCriteria {
404
- _id: String!
405
- label: String
406
- qualifications: [QualificationTypeUnion!]
407
- }
408
-
409
- union QualificationTypeUnion = AgeQualification | GenderQualification | ScoreQualification | LocationQualification | NationalityQualification | DistanceQualification | SportsQualification | SportsLevelQualification
410
-
411
- type Industry {
412
- _id: String!
413
- name: String!
414
- }
415
-
416
- type SponsorStats {
417
- sponsoredAthletes: Float!
418
- totalBrands: Float!
419
- activeCampaigns: Float!
420
- activeSponsorships: Float!
421
- }
422
-
423
- type SponsorBrand {
424
- _id: String!
425
- name: String!
426
- slogan: String
427
- website: String
428
- description: String
429
- approved: Boolean!
430
- published: Boolean!
431
- logo: AWSS3File
432
- banner: AWSS3File
433
- stats: BrandStats
434
- operatorIds: [String!]
435
- translations: [BrandTranslation!]
436
- sponsorBrandId: String!
437
- authorizedUse: Boolean!
438
- isAuthorizer: Boolean!
439
- }
440
-
441
- type Sponsor {
442
- _id: String!
443
- name: String!
444
- description: String!
445
- tenant: Tenant!
446
- industry: Industry
447
- stats: SponsorStats
448
- brands: [SponsorBrand!]
449
- sponsorships: [Sponsorship!]
450
- approved: Boolean!
451
- }
452
-
453
- type SponsorshipItem {
454
- _id: String!
455
- quantity: Float!
456
- title: String!
457
- value: Float!
458
- type: String!
459
- }
460
-
461
- type SponsorshipCommitment {
462
- _id: String!
463
- title: String!
464
- details: String
465
- hashTags: String!
466
- media: String!
467
- actionType: String!
468
- frequency: Float
469
- periodicity: String!
470
- autoMeasurable: Boolean!
471
- }
472
-
473
- type Duration {
474
- length: Float!
475
- unit: String!
476
- }
477
-
478
- type SponsorshipStats {
479
- totalSponsorships: Float
480
- totalApplications: Float
481
- newApplications: Float
482
- discardedApplications: Float
483
- selectedApplications: Float
484
- approvedApplications: Float
485
- grantedSponsorships: Float
486
- remainingSponsorships: Float
487
- }
488
-
489
- type SponsorshipTranslation {
490
- _id: String!
491
- sponsorshipId: String!
492
- language: String!
493
- title: String
494
- description: String
495
- terms: String
496
- banner: AWSS3File
497
- }
498
-
499
- type Sponsorship {
500
- _id: String!
501
- title: String!
502
- description: String
503
- cashValue: Float!
504
- otherValue: Float!
505
- brand: Brand
506
- banner: AWSS3File
507
- criteria: AthleteCriteria
508
- deadline: DateTime
509
- startDate: DateTime
510
- duration: Duration!
511
- sponsor: Sponsor
512
- sponsorshipItems: [SponsorshipItem!]
513
- commitments: [SponsorshipCommitment!]
514
- terms: String
515
- stats: SponsorshipStats
516
- isPrivate: Boolean!
517
- approved: Boolean!
518
- published: Boolean!
519
- translations: [SponsorshipTranslation!]
520
- }
521
-
522
- type FollowStats {
523
- followers: Float!
524
- followed: Float!
525
- raves: Float!
526
- favorites: Float!
527
- }
528
-
529
- type Sport {
530
- _id: String!
531
- name: String!
532
- }
533
-
534
- type VtxScores {
535
- vtxScore: Float!
536
- socialScore: Float!
537
- trainingScore: Float!
538
- competitionScore: Float!
539
- }
540
-
541
- type SportLevelTranslation {
542
- _id: String!
543
- language: String!
544
- label: String!
545
- }
546
-
547
- type SportLevel {
548
- _id: String!
549
- label: String!
550
- index: Float!
551
- translations: [SportLevelTranslation!]
552
- }
553
-
554
- type Ranking {
555
- scope: String!
556
- scopeId: String!
557
- scopeName: String!
558
- position: Float!
559
- total: Float!
560
- }
561
-
562
- type AthleteRankings {
563
- worldRanking: Ranking
564
- countryRanking: Ranking
565
- stateRanking: Ranking
566
- cityRanking: Ranking
567
- }
568
-
569
- type Team {
570
- _id: String!
571
- name: String!
572
- description: String
573
- sports: [Sport!]
574
- approved: Boolean
575
- logo: AWSS3File
576
- banner: AWSS3File
577
- }
578
-
579
- type WorldLocation {
580
- _id: String!
581
- userProvidedLatitude: Float
582
- userProvidedLongitude: Float
583
- cityNameGeocode: String
584
- stateNameGeocode: String
585
- countryIso2CodeGeocode: String
586
- timeZoneGeocode: String
587
- latitudeGeocode: Float
588
- longitudeGeocode: Float
589
- city: City
590
- }
591
-
592
- type SportsEvent {
593
- _id: String!
594
- name: String!
595
- mainSport: Sport
596
- eventWebSite: String
597
- startDate: DateTime!
598
- endDate: DateTime
599
- verified: Boolean!
600
- banner: AWSS3File
601
- location: WorldLocation
602
- }
603
-
604
- type AthleteCompetitionResult {
605
- _id: String!
606
- resultType: String!
607
- position: Float
608
- score: String
609
- finishTimeMS: Float
610
- resultWebLink: String
611
- }
612
-
613
- type BudgetItem {
614
- _id: String!
615
- quantity: Float!
616
- concept: String!
617
- itemCost: Float!
618
- }
619
-
620
- type Budget {
621
- _id: String!
622
- initialFunds: Float!
623
- totalRequired: Float!
624
- items: [BudgetItem!]
625
- }
626
-
627
- type AthleteCompetition {
628
- _id: String!
629
- event: SportsEvent!
630
- participationDate: DateTime
631
- competitionNumber: String
632
- result: AthleteCompetitionResult
633
- fundRaisingCampaignIds: [String!]
634
- budget: Budget
635
- }
636
-
637
- type MembershipOrganizationReference {
638
- _id: String!
639
- shortName: String
640
- acronym: String
641
- fullName: String!
642
- website: String
643
- verified: Boolean!
644
- logo: AWSS3File
645
- country: Country
646
- sport: Sport
647
- }
648
-
649
- type MembershipOrganization {
650
- _id: String!
651
- shortName: String
652
- acronym: String
653
- fullName: String!
654
- website: String
655
- verified: Boolean!
656
- logo: AWSS3File
657
- country: Country
658
- sport: Sport
659
- memberships: [AthleteMembership!]
660
- }
661
-
662
- type AthleteMembership {
663
- _id: String!
664
- organization: MembershipOrganizationReference!
665
- athlete: AthleteReference!
666
- membershipNumber: String
667
- membershipType: String
668
- issueDate: DateTime
669
- expirationDate: DateTime
670
- }
671
-
672
- type NewsLink {
673
- _id: String!
674
- title: String!
675
- url: String!
676
- abstract: String
677
- }
678
-
679
- type Channel {
680
- _id: String!
681
- type: String!
682
- handle: String
683
- url: String!
684
- linked: Boolean!
685
- }
686
-
687
- type AthletePreferences {
688
- _id: String!
689
- showProfileHelper: Boolean!
690
- }
691
-
692
- type FundRaisingCampaign {
693
- _id: String!
694
- athlete: AthleteReference!
695
- budgetMode: String!
696
- status: String!
697
- title: String!
698
- motivation: String
699
- website: String
700
- fundsRequired: Float!
701
- initialFundsObtained: Float!
702
- fundsObtained: Float!
703
- location: WorldLocation
704
- endingDate: DateTime!
705
- budget: Budget
706
- competitions: [AthleteCompetition!]
707
- }
708
-
709
- type StripeCapabilityType {
710
- acss_debit_payments: String
711
- affirm_payments: String
712
- afterpay_clearpay_payments: String
713
- alma_payments: String
714
- amazon_pay_payments: String
715
- au_becs_debit_payments: String
716
- bacs_debit_payments: String
717
- bancontact_payments: String
718
- bank_transfer_payments: String
719
- blik_payments: String
720
- boleto_payments: String
721
- card_issuing: String
722
- card_payments: String
723
- cartes_bancaires_payments: String
724
- cashapp_payments: String
725
- eps_payments: String
726
- fpx_payments: String
727
- gb_bank_transfer_payments: String
728
- giropay_payments: String
729
- grabpay_payments: String
730
- ideal_payments: String
731
- india_international_payments: String
732
- jcb_payments: String
733
- jp_bank_transfer_payments: String
734
- kakao_pay_payments: String
735
- klarna_payments: String
736
- konbini_payments: String
737
- kr_card_payments: String
738
- legacy_payments: String
739
- link_payments: String
740
- mobilepay_payments: String
741
- multibanco_payments: String
742
- mx_bank_transfer_payments: String
743
- naver_pay_payments: String
744
- oxxo_payments: String
745
- p24_payments: String
746
- pay_by_bank_payments: String
747
- payco_payments: String
748
- paynow_payments: String
749
- promptpay_payments: String
750
- revolut_pay_payments: String
751
- samsung_pay_payments: String
752
- sepa_bank_transfer_payments: String
753
- sepa_debit_payments: String
754
- sofort_payments: String
755
- swish_payments: String
756
- tax_reporting_us_1099_k: String
757
- tax_reporting_us_1099_misc: String
758
- transfers: String
759
- treasury: String
760
- twint_payments: String
761
- us_bank_account_ach_payments: String
762
- us_bank_transfer_payments: String
763
- zip_payments: String
764
- }
765
-
766
- type StripeRequirementAlternativeType {
767
- alternative_fields_due: [String!]!
768
- original_fields_due: [String!]!
769
- }
770
-
771
- type StripeFutureRequirementAlternativeType {
772
- alternative_fields_due: [String!]!
773
- original_fields_due: [String!]!
774
- }
775
-
776
- type StripeErrorType {
777
- code: String!
778
- reason: String!
779
- requirement: String!
780
- }
781
-
782
- type StripeRequirementType {
783
- alternatives: [StripeRequirementAlternativeType!]
784
- current_deadline: DateTime
785
- currently_due: [String!]
786
- disabled_reason: String
787
- errors: [StripeErrorType!]
788
- eventually_due: [String!]
789
- past_due: [String!]
790
- pending_verification: [String!]
791
- }
792
-
793
- type StripeFutureRequirementType {
794
- alternatives: [StripeFutureRequirementAlternativeType!]
795
- current_deadline: DateTime
796
- currently_due: [String!]
797
- disabled_reason: String
798
- errors: [StripeErrorType!]
799
- eventually_due: [String!]
800
- past_due: [String!]
801
- pending_verification: [String!]
802
- }
803
-
804
- type StripeAccount {
805
- id: String!
806
- object: String!
807
- business_type: String
808
- country: String!
809
- email: String
810
- capabilities: StripeCapabilityType
811
- requirements: StripeRequirementType
812
- future_requirements: StripeFutureRequirementType
813
- type: String!
814
- charges_enabled: Boolean!
815
- payouts_enabled: Boolean!
816
- created: DateTime
817
- default_currency: String
818
- }
819
-
820
- type StripeAccountReference {
821
- _id: String!
822
- stripeAccountId: String!
823
- account: StripeAccount
824
- }
825
-
826
- type AthleteReference {
827
- _id: String!
828
- firstName: String!
829
- lastName: String!
830
- screenName: String
831
- dob: DateTime
832
- lgbt: Boolean
833
- competitionGender: String
834
- country: Country
835
- location: WorldLocation
836
- trainer: String
837
- trainerUrl: String
838
- followStats: FollowStats
839
- mainSport: Sport!
840
- mainSportLevel: SportLevel!
841
- scores: VtxScores!
842
- rankings: AthleteRankings
843
- totalUpcomingCompetitions: Float
844
- totalPastCompetitions: Float
845
- profilePicture: AWSS3File
846
- cardPicture: AWSS3File
847
- aboutMe: String
848
- preferences: AthletePreferences!
849
- }
850
-
851
- type Athlete {
852
- _id: String!
853
- firstName: String!
854
- lastName: String!
855
- screenName: String
856
- dob: DateTime
857
- lgbt: Boolean
858
- competitionGender: String
859
- country: Country
860
- location: WorldLocation
861
- trainer: String
862
- trainerUrl: String
863
- followStats: FollowStats
864
- mainSport: Sport!
865
- mainSportLevel: SportLevel!
866
- scores: VtxScores!
867
- rankings: AthleteRankings
868
- totalUpcomingCompetitions: Float
869
- totalPastCompetitions: Float
870
- profilePicture: AWSS3File
871
- cardPicture: AWSS3File
872
- aboutMe: String
873
- preferences: AthletePreferences!
874
- allSports: [Sport!]
875
- teams: [Team!]
876
- sponsorBrands: [Brand!]
877
- competitions: [AthleteCompetition!]
878
- affiliations: [AthleteMembership!]
879
- newsLinks: [NewsLink!]
880
- channels: [Channel!]
881
- currentCampaign: FundRaisingCampaign
882
- fundingCampaigns: [FundRaisingCampaign!]
883
- stripeAccountReference: StripeAccountReference
884
- }
885
-
886
- type SponsorAthleteInvitation {
887
- _id: String!
888
- name: String
889
- email: String!
890
- dateSent: DateTime!
891
- sponsor: Sponsor!
892
- magicLink: MagicLink!
893
- brand: Brand
894
- status: String!
895
- }
896
-
897
- type StravaToken {
898
- token_type: String!
899
- expires_at: String!
900
- refresh_token: String!
901
- access_token: String!
902
- }
903
-
904
- type StripeSession {
905
- account: String!
906
- client_secret: String!
907
- expires_at: Float!
908
- livemode: Boolean!
909
- }
910
-
911
- type StripeCheckoutSession {
912
- client_secret: String!
913
- expires_at: Float!
914
- livemode: Boolean!
915
- }
916
-
917
- type EditValueResponse {
918
- field: String!
919
- oldValue: String
920
- newValue: String
921
- changed: Boolean!
922
- }
923
-
924
- type ErrorType {
925
- code: Float!
926
- message: String!
927
- }
928
-
929
- type DeleteSingleValueResponse {
930
- idToDelete: String!
931
- deleted: Boolean!
932
- failureReason: ErrorType
933
- }
934
-
935
- type SortOrder {
936
- sortField: String!
937
- order: String!
938
- }
939
-
940
- type CursorPaginationResponse {
941
- sort: SortOrder
942
- initialCursorId: String
943
- nextCursorId: String
944
- initialCursorValue: String
945
- nextCursorValue: String
946
- limit: Float!
947
- retrieved: Float!
948
- isLastPage: Boolean!
949
- }
950
-
951
- type AthleteQueryResponse {
952
- athletes: [Athlete!]!
953
- cursor: CursorPaginationResponse!
954
- }
955
-
956
- type EditPictureResponse {
957
- field: String!
958
- oldValue: AWSS3File
959
- newValue: AWSS3File
960
- changed: Boolean!
961
- }
962
-
963
- type AddValuesResponse {
964
- added: [String!]!
965
- failedToAdd: [String!]
966
- failureReason: [ErrorType!]
967
- result: String!
968
- }
969
-
970
- type StripeObject {
971
- type: String!
972
- json: JSONObject!
973
- }
974
-
975
- """
976
- The `JSONObject` scalar type represents JSON objects as specified by [ECMA-404](http://www.ecma-international.org/publications/files/ECMA-ST/ECMA-404.pdf).
977
- """
978
- scalar JSONObject
979
-
980
- type UserImages {
981
- profilePictureUrl: String
982
- cardPictureUrl: String
983
- bannerPictureUrl: String
984
- }
985
-
986
- type DeleteValuesResponse {
987
- deleted: [String!]!
988
- failedToDelete: [String!]!
989
- failureReason: [ErrorType!]!
990
- result: String!
991
- }
992
-
993
- input CreateDatabaseFileDto {
994
- identifier: String!
995
- version: String! = "1.0.0"
996
- contentType: String!
997
- }
998
-
999
- input CreateTextDatabaseFileDto {
1000
- identifier: String!
1001
- version: String! = "1.0.0"
1002
- contentType: String!
1003
- content: String! = ""
1004
- }
1005
-
1006
- input UpdateDatabaseFileDto {
1007
- _id: String!
1008
- identifier: String
1009
- version: String
1010
- contentType: String
1011
- }
1012
-
1013
- input UpdateTextDatabaseFileDto {
1014
- _id: String!
1015
- identifier: String
1016
- version: String
1017
- contentType: String
1018
- content: String
1019
- }
1020
-
1021
- input CloneDatabaseFileDto {
1022
- _id: String!
1023
- version: String
1024
- }
1025
-
1026
- input FindDatabaseFilesDto {
1027
- _id: String
1028
- identifier: String
1029
- version: String
1030
- }
1031
-
1032
- input GetDatabaseFileDto {
1033
- identifier: String!
1034
- version: String!
1035
- }
1036
-
1037
- input CreateVerificationCodeDto {
1038
- type: String
1039
- recipient: String
1040
- expiresTime: Float = 10
1041
- expiresUnit: String = "MINUTES"
1042
- data: String
1043
- }
1044
-
1045
- input VerifyCodeDto {
1046
- codeId: String!
1047
- enteredCodeValue: String!
1048
- type: String
1049
- }
1050
-
1051
- input AthleteInvitationDto {
1052
- email: String!
1053
- name: String
1054
- sender: String
1055
- brandId: String
1056
- }
1057
-
1058
- input InviteAthletesDto {
1059
- language: String = "en"
1060
- invitations: [AthleteInvitationDto!]!
1061
- }
1062
-
1063
- input CompetitionResultDto {
1064
- resultType: String!
1065
- position: Float
1066
- score: String
1067
- finishTimeMS: Float
1068
- resultWebLink: String
1069
- }
1070
-
1071
- input SetCompetitionResultDto {
1072
- resultType: String!
1073
- position: Float
1074
- score: String
1075
- finishTimeMS: Float
1076
- resultWebLink: String
1077
- competitionId: String!
1078
- }
1079
-
1080
- input CreateAthleteCompetitionDto {
1081
- event: String!
1082
- date: DateTime!
1083
- eventWebsite: String
1084
- competitionNumber: String
1085
- result: CompetitionResultDto
1086
- cityId: String
1087
- }
1088
-
1089
- input CreateAthleteCompetitionForDto {
1090
- event: String!
1091
- date: DateTime!
1092
- eventWebsite: String
1093
- competitionNumber: String
1094
- result: CompetitionResultDto
1095
- cityId: String
1096
- loginEmail: String!
1097
- }
1098
-
1099
- input CursorPositionDto {
1100
- cursorId: String!
1101
- cursorFieldValue: String!
1102
- }
1103
-
1104
- input SortCriteriaDto {
1105
- sortField: String!
1106
- order: String! = "ASC"
1107
- }
1108
-
1109
- input CursorPaginationDto {
1110
- sortCriteria: SortCriteriaDto
1111
- limit: Float = 25
1112
- cursorPosition: CursorPositionDto
1113
- }
1114
-
1115
- input DeleteSingleValueDto {
1116
- idToDelete: String!
1117
- }
1118
-
1119
- input FundCampaignFilterDto {
1120
- campaignTitle: String
1121
- status: String
1122
- minCompletion: Float
1123
- maxCompletion: Float
1124
- minFundsRequired: Float
1125
- maxFundsRequired: Float
1126
- minEndingDate: DateTime
1127
- maxEndingDate: DateTime
1128
- competitions: [String!]
1129
- cities: [String!]
1130
- states: [String!]
1131
- countries: [String!]
1132
- }
1133
-
1134
- input AthleteFilterDto {
1135
- name: String
1136
- cities: [String!]
1137
- states: [String!]
1138
- countries: [String!]
1139
- teams: [String!]
1140
- currentCampaign: FundCampaignFilterDto
1141
- sports: [String!]
1142
- mainSportOnly: Boolean = true
1143
- gender: String
1144
- minAge: Float
1145
- maxAge: Float
1146
- minDob: DateTime
1147
- maxDob: DateTime
1148
- minVTXScore: Float
1149
- maxVTXScore: Float
1150
- minSocialScore: Float
1151
- maxSocialScore: Float
1152
- minTrainingScore: Float
1153
- maxTrainingScore: Float
1154
- minPerformanceScore: Float
1155
- maxPerformanceScore: Float
1156
- }
1157
-
1158
- input AthleteQueryDto {
1159
- cursor: CursorPaginationDto
1160
- filters: AthleteFilterDto
1161
- }
1162
-
1163
- input UploadAlbumsPicturesDto {
1164
- label: String!
1165
- description: String
1166
- pictures: [AWSS3UploadedFileDto!]
1167
- }
1168
-
1169
- input AWSS3UploadedFileDto {
1170
- key: String!
1171
- useType: String!
1172
- contentType: String!
1173
- originalFileName: String
1174
- fileSize: Float
1175
- }
1176
-
1177
- input QualificationDto {
1178
- type: String!
1179
- }
1180
-
1181
- input AgeQualificationDto {
1182
- type: String!
1183
- value: Float!
1184
- operator: String!
1185
- }
1186
-
1187
- input GenderQualificationDto {
1188
- type: String!
1189
- operator: String!
1190
- values: [String!]!
1191
- }
1192
-
1193
- input NationalityQualificationDto {
1194
- type: String!
1195
- operator: String!
1196
- countries: [String!]!
1197
- }
1198
-
1199
- input ScoreQualificationDto {
1200
- type: String!
1201
- scoreType: String!
1202
- operator: String!
1203
- value: Float!
1204
- }
1205
-
1206
- input LocationQualificationDto {
1207
- type: String!
1208
- operator: String!
1209
- countries: [String!]!
1210
- states: [String!]!
1211
- cities: [String!]!
1212
- }
1213
-
1214
- input DistanceQualificationDto {
1215
- type: String!
1216
- maxDistance: Float!
1217
- latitude: Float
1218
- longitude: Float
1219
- cityId: String
1220
- }
1221
-
1222
- input SportsQualificationDto {
1223
- type: String!
1224
- sports: [String!]!
1225
- operator: String!
1226
- }
1227
-
1228
- input SportsLevelQualificationDto {
1229
- type: String!
1230
- operator: String!
1231
- level: String!
1232
- }
1233
-
1234
- input RegisterUserDto {
1235
- email: String!
1236
- password: String!
1237
- inviteCode: String
1238
- }
1239
-
1240
- input DeleteValuesDto {
1241
- idsToDelete: [String!]!
1242
- allOrNone: Boolean = true
1243
- }
1244
-
1245
- input BudgetItemDto {
1246
- quantity: Float!
1247
- concept: String!
1248
- itemCost: Float!
1249
- }
1250
-
1251
- input CreateBudgetItemDto {
1252
- quantity: Float!
1253
- concept: String!
1254
- itemCost: Float!
1255
- budgetId: String!
1256
- }
1257
-
1258
- input CreateBudgetDto {
1259
- initialFunds: Float = 0
1260
- items: [BudgetItemDto!]
1261
- }
1262
-
1263
- input CreateCompetitionBudgetDto {
1264
- initialFunds: Float = 0
1265
- items: [BudgetItemDto!]
1266
- athleteCompetitionId: String!
1267
- }
1268
-
1269
- input CreateFundingCampaignDto {
1270
- budgetMode: String!
1271
- title: String!
1272
- motivation: String!
1273
- website: String
1274
- fundsRequired: Float!
1275
- initialFundsObtained: Float! = 0
1276
- cityId: String
1277
- endingDate: DateTime!
1278
- budget: CreateBudgetDto
1279
- competitionBudgets: [CreateCompetitionBudgetDto!]
1280
- competitionIds: [String!]
1281
- }
1282
-
1283
- input CreateFundingCampaignForDto {
1284
- budgetMode: String!
1285
- title: String!
1286
- motivation: String!
1287
- website: String
1288
- fundsRequired: Float!
1289
- initialFundsObtained: Float! = 0
1290
- cityId: String
1291
- endingDate: DateTime!
1292
- budget: CreateBudgetDto
1293
- competitionBudgets: [CreateCompetitionBudgetDto!]
1294
- competitionIds: [String!]
1295
- loginEmail: String!
1296
- }
1297
-
1298
- input SetFundingStatusDto {
1299
- fundingCampaignId: String!
1300
- newStatus: String!
1301
- }
1302
-
1303
- input CreateMembershipOrganizationDto {
1304
- shortName: String!
1305
- acronym: String
1306
- fullName: String!
1307
- website: String
1308
- logo: AWSS3UploadedFileDto
1309
- countryId: String
1310
- sportId: String
1311
- }
1312
-
1313
- input CreateAthleteMembershipDto {
1314
- organizationId: String!
1315
- membershipNumber: String
1316
- membershipType: String
1317
- issueDate: DateTime
1318
- expirationDate: DateTime
1319
- }
1320
-
1321
- input DonationCheckoutDto {
1322
- fundingCampaignId: String!
1323
- donationAmount: Float!
1324
- mode: String! = "private"
1325
- fromName: String
1326
- fromEmail: String
1327
- fromPhone: String
1328
- message: String
1329
- }
1330
-
1331
- input StripeQueryDto {
1332
- operation: String!
1333
- id: String!
1334
- params: String
1335
- }
1336
-
1337
- type Query {
1338
- findTenantById(_id: String!): Tenant!
1339
- findTenantByEmail(email: String!, domainId: String!): Tenant!
1340
- getTenants: [Tenant!]!
1341
- isTenantUriAvailable(tenant_uri: String!): UriAvailableType!
1342
- findUserById(_id: String!): User!
1343
- findUserByEmail(email: String!): User!
1344
- validateUserCredentials(username: String!, password: String!): User!
1345
- getUploadUrl(input: AWSS3GetUploadDto!): AWSS3UploadUrl!
1346
- industries: [Industry!]!
1347
- findIndustryById(industryId: String!): Industry!
1348
- brands: [Brand!]!
1349
- getBrandByName(name: String!, translations: Boolean!): Brand!
1350
- getBrandTranslation(brandId: String!, language: String!): BrandTranslation!
1351
- existsValidSponsorForEmail(loginEmail: String!): Sponsor!
1352
- sponsors: [Sponsor!]!
1353
- findSponsorAthleteInvitation(input: FindSponsorAthleteInvitationDto!): SponsorAthleteInvitation!
1354
- getAthletes: [Athlete!]!
1355
- queryAthleteFundingCampaigns(input: AthleteQueryDto!): AthleteQueryResponse!
1356
- searchAthletes(searchString: String!): [Athlete!]!
1357
- findAthleteById(athleteId: String!): Athlete!
1358
- findAthleteForUser(loginEmail: String!): Athlete!
1359
- getRecommendedAthletes(loginEmail: String!): [Athlete!]!
1360
- getSponsorAthletesForTenant: [Athlete!]!
1361
- getAthleteCompetitions(input: GetAthleteCompetitionsDto!): [AthleteCompetition!]!
1362
- getAthleteMemberships(athleteId: String!): [AthleteMembership!]!
1363
- findAthletebyIdpublic(athleteId: String!): Athlete!
1364
- getSports: [Sport!]!
1365
- findSportById(sportId: String!): Sport!
1366
- getSportLevels: [SportLevel!]!
1367
- getPublicSponsorships: [Sponsorship!]!
1368
- getTenantSponsorships: [Sponsorship!]!
1369
- getCountries: [Country!]!
1370
- getCountryStates(countryId: String!): [State!]!
1371
- getStateCities(stateId: String!): [City!]!
1372
- findCitiesStartingWith(text: String!): [City!]!
1373
- findCityById(cityId: String!): City!
1374
- findVtxUser(input: FindVtxUserDto!): User!
1375
- validateUserCredentialsVtx(username: String!, password: String!): User!
1376
- getUserImagesFromEmail(loginEmail: String!): UserImages!
1377
- getStravaLoginUrl: String!
1378
- getSportsEvents(input: GetSportEventsDto!): [SportsEvent!]!
1379
- getMembershipOrganizations: [MembershipOrganizationReference!]!
1380
- stripeQuery(input: StripeQueryDto!): StripeObject!
1381
- getDatabaseTextFile(input: GetDatabaseFileDto!): TextDatabaseFile!
1382
- }
1383
-
1384
- input AWSS3GetUploadDto {
1385
- useType: String!
1386
- name: String
1387
- }
1388
-
1389
- input FindSponsorAthleteInvitationDto {
1390
- code: String!
1391
- type: String
1392
- }
1393
-
1394
- input GetAthleteCompetitionsDto {
1395
- athleteId: String!
1396
- fromInclusive: DateTime
1397
- toExclusive: DateTime
1398
- }
1399
-
1400
- input FindVtxUserDto {
1401
- loginEmail: String!
1402
- }
1403
-
1404
- input GetSportEventsDto {
1405
- matchString: String
1406
- }
1407
-
1408
- type Mutation {
1409
- registerNewDomainTenant(tenant: CreateTenantInput!): Tenant!
1410
- registerNewDomainTenantWithLogin(tenant: CreateTenantInput!): TenantWithUserLogin!
1411
- createUserAndLogin(user: CreateActiveUserInput!): UserWithToken!
1412
- loginUserFromEmail(email: String!, loginMethod: String!): UserToken!
1413
- loginUserFromCredentials(username: String!, password: String!): UserWithToken!
1414
- registerUserToDomainFromEmail(input: RegisterUserToDomainFromEmailInput!): User!
1415
- refreshToken(dto: RefreshTokenInput!): UserToken!
1416
- deleteUploadedUseTypeFile(input: AWSS3DeleteUseTypeFileDto!): AWSS3CallResult!
1417
- deleteUploadedBucketFile(input: AWSS3DeleteBucketFileDto!): AWSS3CallResult!
1418
- registerS3UploadedFile(input: AWSS3UploadedFileDto!): AWSS3File!
1419
- createIndustry(input: CreateIndustryDto!): Industry!
1420
- createBrand(input: CreateBrandDto!): Brand!
1421
- registerSponsor(input: RegisterSponsorInput!): Sponsor!
1422
- createSponsor(input: CreateSponsorDto!): Sponsor!
1423
- sendAthleteInvitations(input: InviteAthletesDto!): [SponsorAthleteInvitation!]!
1424
- registerAthlete(input: RegisterAthleteDto!): Athlete!
1425
- editProfileValue(input: EditValueDto!): EditValueResponse!
1426
- editPicture(input: EditPictureDto!): EditPictureResponse!
1427
- AddAlbumPictures(input: UploadAlbumsPicturesDto!): AddValuesResponse!
1428
- DeletePictureBuket(input: AWSS3DeleteUseTypeFileDto!): DeleteSingleValueResponse!
1429
- addAthleteCompetition(input: CreateAthleteCompetitionDto!): AthleteCompetition!
1430
- deleteAthleteCompetition(input: DeleteSingleValueDto!): DeleteSingleValueResponse!
1431
- createSport(input: CreateSportDto!): Sport!
1432
- updateSport(input: UpdateSportDto!): Sport!
1433
- createSportLevel(input: CreateSportLevelDto!): SportLevel!
1434
- createSponsorship(input: CreateSponsorshipDto!): Sponsorship!
1435
- createCountry(input: CreateCountryDto!): Country!
1436
- createState(input: CreateStateDto!): State!
1437
- createCity(input: CreateCityDto!): City!
1438
- preRegisterAthleteUser(input: RegisterUserDto!): VerificationCode!
1439
- confirmAthleteUserRegistrationAndLogin(input: VerifyCodeDto!): UserWithToken!
1440
- confirmAthleteUserRegistration(input: VerifyCodeDto!): User!
1441
- registerAthleteUser(input: RegisterUserDto!): User!
1442
- registerSponsorUser(input: RegisterUserDto!): User!
1443
- loginUserFromCredentialsVtx(username: String!, password: String!): UserWithToken!
1444
- handleStravaCallback(data: RegisterStravaDto!): StravaToken!
1445
- refreshStravaToken(input: String!): StravaToken!
1446
- createSportsEvent(input: CreateSportEventDto!): SportsEvent!
1447
- setFundingStatus(input: SetFundingStatusDto!): FundRaisingCampaign!
1448
- createFundingCampaign(input: CreateFundingCampaignDto!): FundRaisingCampaign!
1449
- createMembershipOrganization(input: CreateMembershipOrganizationDto!): MembershipOrganizationReference!
1450
- createAthleteMembershipAffilation(input: CreateAthleteMembershipDto!): AthleteMembership!
1451
- deleteAthleteMembershipAffilation(input: DeleteSingleValueDto!): DeleteSingleValueResponse!
1452
- createStripeAccount(input: CreateStripeAccountDto!): StripeAccountReference!
1453
- createAthleteStripeSession: StripeSession!
1454
- createStripeCheckoutSession(input: DonationCheckoutDto!): StripeCheckoutSession!
1455
- }
1456
-
1457
- input CreateTenantInput {
1458
- name: String!
1459
- email: String!
1460
- tenant_uri: String!
1461
- domain: String!
1462
- }
1463
-
1464
- input CreateActiveUserInput {
1465
- loginEmail: String!
1466
- password: String
1467
- loginMethod: String
1468
- }
1469
-
1470
- input RegisterUserToDomainFromEmailInput {
1471
- email: String!
1472
- domainId: String!
1473
- tenantId: String
1474
- createUserIfNotExist: Boolean = false
1475
- }
1476
-
1477
- input RefreshTokenInput {
1478
- refreshToken: String!
1479
- }
1480
-
1481
- input AWSS3DeleteUseTypeFileDto {
1482
- name: String!
1483
- useType: String!
1484
- }
1485
-
1486
- input AWSS3DeleteBucketFileDto {
1487
- key: String!
1488
- bucket: String!
1489
- credentialsId: String
1490
- }
1491
-
1492
- input CreateIndustryDto {
1493
- name: String!
1494
- }
1495
-
1496
- input CreateBrandDto {
1497
- name: String!
1498
- description: String
1499
- slogan: String
1500
- website: String
1501
- logo: AWSS3UploadedFileDto
1502
- banner: AWSS3UploadedFileDto
1503
- translations: [BrandTranslationDto!]
1504
- }
1505
-
1506
- input BrandTranslationDto {
1507
- brandId: String!
1508
- language: String!
1509
- name: String
1510
- description: String
1511
- slogan: String
1512
- logo: AWSS3UploadedFileDto
1513
- banner: AWSS3UploadedFileDto
1514
- }
1515
-
1516
- input RegisterSponsorInput {
1517
- name: String!
1518
- phone: String
1519
- hasWhatsapp: Boolean! = false
1520
- companyName: String
1521
- companyEmail: String!
1522
- industryId: String!
1523
- companySize: String!
1524
- operatorType: String!
1525
- numberOfAthletes: String!
1526
- brands: [String!]!
1527
- }
1528
-
1529
- input CreateSponsorDto {
1530
- name: String!
1531
- description: String
1532
- }
1533
-
1534
- input RegisterAthleteDto {
1535
- email: String!
1536
- firstName: String!
1537
- lastName: String!
1538
- screenName: String
1539
- nationality: String!
1540
- cityId: String!
1541
- locLatitude: Float
1542
- locLongitude: Float
1543
- dateOfBirth: DateTime!
1544
- lgbt: Boolean = false
1545
- trainer: String
1546
- trainerUrl: String
1547
- aboutMe: String
1548
- team: String
1549
- gender: String!
1550
- mainSport: String!
1551
- mainSportLevel: String!
1552
- profilePicture: AWSS3UploadedFileDto
1553
- cardPicture: AWSS3UploadedFileDto
1554
- }
1555
-
1556
- input EditValueDto {
1557
- field: String!
1558
- newValue: String
1559
- }
1560
-
1561
- input EditPictureDto {
1562
- field: String!
1563
- newPicture: AWSS3UploadedFileDto
1564
- }
1565
-
1566
- input CreateSportDto {
1567
- name: String!
1568
- resultType: String = "POSITION"
1569
- }
1570
-
1571
- input UpdateSportDto {
1572
- _id: String!
1573
- name: String!
1574
- }
1575
-
1576
- input CreateSportLevelDto {
1577
- _id: String!
1578
- label: String!
1579
- index: Float!
1580
- translations: [CreateSportLevelTranslationDto!]
1581
- }
1582
-
1583
- input CreateSportLevelTranslationDto {
1584
- language: String!
1585
- label: String!
1586
- }
1587
-
1588
- input CreateSponsorshipDto {
1589
- title: String!
1590
- brandId: String!
1591
- description: String
1592
- cashValue: Float = 0
1593
- otherValue: Float = 0
1594
- banner: AWSS3UploadedFileDto
1595
- criteria: AthleteCriteriaDto
1596
- deadline: DateTime
1597
- startDate: DateTime
1598
- duration: DurationDto!
1599
- sponsorshipItems: [SponsorshipItemDto!]
1600
- commitments: [SponsorshipCommitmentDto!]
1601
- terms: String
1602
- published: Boolean = true
1603
- isPrivate: Boolean = false
1604
- translations: [SponsorshipTranslationDto!]
1605
- }
1606
-
1607
- input AthleteCriteriaDto {
1608
- _id: String!
1609
- label: String
1610
- qualificationsBag: QualificationsBagDto
1611
- }
1612
-
1613
- input QualificationsBagDto {
1614
- ageQualifications: [AgeQualificationDto!]
1615
- genderQualifications: [GenderQualificationDto!]
1616
- scoreQualifications: [ScoreQualificationDto!]
1617
- locationQualifications: [LocationQualificationDto!]
1618
- nationalityQualifications: [NationalityQualificationDto!]
1619
- distanceQualifications: [DistanceQualificationDto!]
1620
- sportsQualifications: [SportsQualificationDto!]
1621
- levelQualifications: [SportsLevelQualificationDto!]
1622
- }
1623
-
1624
- input DurationDto {
1625
- length: Float! = 1
1626
- unit: String! = "YEARS"
1627
- }
1628
-
1629
- input SponsorshipItemDto {
1630
- _id: String!
1631
- quantity: Float! = 1
1632
- title: String!
1633
- value: Float! = 0
1634
- }
1635
-
1636
- input SponsorshipCommitmentDto {
1637
- _id: String!
1638
- title: String!
1639
- details: String
1640
- hashTags: [String!]
1641
- media: String!
1642
- actionType: String!
1643
- frequency: Float = 1
1644
- periodicity: String!
1645
- }
1646
-
1647
- input SponsorshipTranslationDto {
1648
- sponsorshipId: String!
1649
- language: String!
1650
- title: String
1651
- description: String
1652
- banner: AWSS3UploadedFileDto
1653
- terms: String
1654
- }
1655
-
1656
- input CreateCountryDto {
1657
- _id: String!
1658
- name: String!
1659
- }
1660
-
1661
- input CreateStateDto {
1662
- _id: String!
1663
- name: String!
1664
- countryId: String!
1665
- }
1666
-
1667
- input CreateCityDto {
1668
- _id: String!
1669
- cityName: String!
1670
- cityNameLocalized: String!
1671
- lat: Float!
1672
- lng: Float!
1673
- stateId: String!
1674
- timezone: String!
1675
- city_alt: String
1676
- iso3: String
1677
- admin_type: String
1678
- capital: String
1679
- density: Float
1680
- population: Float
1681
- population_proper: Float
1682
- ranking: Float
1683
- same_name: String
1684
- }
1685
-
1686
- input RegisterStravaDto {
1687
- idAthlete: String!
1688
- code: String!
1689
- }
1690
-
1691
- input CreateSportEventDto {
1692
- name: String!
1693
- cityId: String
1694
- sportId: String
1695
- startDate: DateTime!
1696
- endDate: DateTime
1697
- website: String
1698
- banner: AWSS3UploadedFileDto
1699
- }
1700
-
1701
- input CreateStripeAccountDto {
1702
- countryId: String!
1703
- acceptedTermsId: String!
1704
- acceptedPrivacyId: String!
1705
- }