@globalscoutme/api-client 1.0.3 → 1.0.5

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.
@@ -0,0 +1,1177 @@
1
+ export type ClientOptions = {
2
+ baseUrl: string;
3
+ };
4
+ export type PlayerResponseDto = {
5
+ /**
6
+ * Internal user_data id (UUID)
7
+ */
8
+ id: string;
9
+ /**
10
+ * Email address
11
+ */
12
+ email: string;
13
+ /**
14
+ * First name
15
+ */
16
+ firstName?: {
17
+ [key: string]: unknown;
18
+ };
19
+ /**
20
+ * Last name
21
+ */
22
+ lastName?: {
23
+ [key: string]: unknown;
24
+ };
25
+ /**
26
+ * Date of birth
27
+ */
28
+ dateOfBirth?: {
29
+ [key: string]: unknown;
30
+ };
31
+ /**
32
+ * Registration step code
33
+ */
34
+ registrationStep?: {
35
+ [key: string]: unknown;
36
+ };
37
+ /**
38
+ * User type code (player / scout / coach)
39
+ */
40
+ userType?: {
41
+ [key: string]: unknown;
42
+ };
43
+ /**
44
+ * KYC verified flag
45
+ */
46
+ kycIsVerified: boolean;
47
+ /**
48
+ * Avatar URL
49
+ */
50
+ avatarUrl?: {
51
+ [key: string]: unknown;
52
+ };
53
+ /**
54
+ * Created at
55
+ */
56
+ createdAt?: {
57
+ [key: string]: unknown;
58
+ };
59
+ /**
60
+ * Updated at
61
+ */
62
+ updatedAt?: {
63
+ [key: string]: unknown;
64
+ };
65
+ };
66
+ export type DashboardResponseDto = {
67
+ /**
68
+ * First name
69
+ */
70
+ firstName?: {
71
+ [key: string]: unknown;
72
+ };
73
+ /**
74
+ * Last name
75
+ */
76
+ lastName?: {
77
+ [key: string]: unknown;
78
+ };
79
+ /**
80
+ * Avatar URL
81
+ */
82
+ avatarUrl?: {
83
+ [key: string]: unknown;
84
+ };
85
+ /**
86
+ * Profile completion 0–100
87
+ */
88
+ profileCompletionPercent: number;
89
+ /**
90
+ * Total videos count
91
+ */
92
+ videosCount: number;
93
+ /**
94
+ * Has at least one body measurement
95
+ */
96
+ hasBodyMeasurement: boolean;
97
+ /**
98
+ * KYC is verified
99
+ */
100
+ hasKycVerified: boolean;
101
+ /**
102
+ * Has at least one earned achievement
103
+ */
104
+ hasAchievement: boolean;
105
+ /**
106
+ * Has at least one KYC document
107
+ */
108
+ hasDocument: boolean;
109
+ /**
110
+ * Has player sub-profile (height/weight/foot)
111
+ */
112
+ hasPlayerProfile: boolean;
113
+ /**
114
+ * Has at least one language set
115
+ */
116
+ hasLanguages: boolean;
117
+ };
118
+ export type UpdatePlayerDto = {
119
+ /**
120
+ * Registration step code
121
+ */
122
+ registrationStep?: string;
123
+ /**
124
+ * First name
125
+ */
126
+ firstName?: string;
127
+ /**
128
+ * Last name
129
+ */
130
+ lastName?: string;
131
+ /**
132
+ * Date of birth (ISO 8601 date)
133
+ */
134
+ dateOfBirth?: {
135
+ [key: string]: unknown;
136
+ };
137
+ /**
138
+ * User type code
139
+ */
140
+ userType?: string;
141
+ /**
142
+ * Avatar URL
143
+ */
144
+ avatarUrl?: string;
145
+ /**
146
+ * City
147
+ */
148
+ city?: string;
149
+ /**
150
+ * Bio
151
+ */
152
+ bio?: string;
153
+ };
154
+ export type PreviousClubDto = {
155
+ /**
156
+ * Club name
157
+ */
158
+ clubName: string;
159
+ /**
160
+ * Join date (ISO 8601 date, e.g. "2018-01-01")
161
+ */
162
+ joinedAt?: string;
163
+ /**
164
+ * Leave date (ISO 8601 date, e.g. "2021-06-30")
165
+ */
166
+ leftAt?: string;
167
+ };
168
+ export type CareerAchievementDto = {
169
+ /**
170
+ * Achievement title (e.g. "League Winner")
171
+ */
172
+ title: string;
173
+ /**
174
+ * Year (e.g. 2021)
175
+ */
176
+ year?: number;
177
+ /**
178
+ * Recurrence (e.g. "1 time", "3 times")
179
+ */
180
+ recurrence?: string;
181
+ };
182
+ export type ProfileResponseDto = {
183
+ /**
184
+ * Internal user_data id
185
+ */
186
+ id: string;
187
+ /**
188
+ * First name
189
+ */
190
+ firstName?: {
191
+ [key: string]: unknown;
192
+ };
193
+ /**
194
+ * Last name
195
+ */
196
+ lastName?: {
197
+ [key: string]: unknown;
198
+ };
199
+ /**
200
+ * Date of birth
201
+ */
202
+ dateOfBirth?: {
203
+ [key: string]: unknown;
204
+ };
205
+ /**
206
+ * Phone number
207
+ */
208
+ phone?: {
209
+ [key: string]: unknown;
210
+ };
211
+ /**
212
+ * Country of residence (2-letter code)
213
+ */
214
+ country?: {
215
+ [key: string]: unknown;
216
+ };
217
+ /**
218
+ * Nationality (2-letter code)
219
+ */
220
+ nationality?: {
221
+ [key: string]: unknown;
222
+ };
223
+ /**
224
+ * Gender code
225
+ */
226
+ gender?: {
227
+ [key: string]: unknown;
228
+ };
229
+ /**
230
+ * City
231
+ */
232
+ city?: {
233
+ [key: string]: unknown;
234
+ };
235
+ /**
236
+ * Bio
237
+ */
238
+ bio?: {
239
+ [key: string]: unknown;
240
+ };
241
+ /**
242
+ * Avatar URL
243
+ */
244
+ avatarUrl?: {
245
+ [key: string]: unknown;
246
+ };
247
+ /**
248
+ * Cover image URL
249
+ */
250
+ coverImageUrl?: {
251
+ [key: string]: unknown;
252
+ };
253
+ /**
254
+ * Is free agent
255
+ */
256
+ isFreeAgent?: {
257
+ [key: string]: unknown;
258
+ };
259
+ /**
260
+ * Is EU visa holder
261
+ */
262
+ isEuVisaHolder?: {
263
+ [key: string]: unknown;
264
+ };
265
+ /**
266
+ * Visa expiration date
267
+ */
268
+ visaExpirationDate?: {
269
+ [key: string]: unknown;
270
+ };
271
+ /**
272
+ * Marital status code
273
+ */
274
+ maritalStatusCode?: {
275
+ [key: string]: unknown;
276
+ };
277
+ /**
278
+ * Languages spoken (codes)
279
+ */
280
+ languages?: Array<string>;
281
+ /**
282
+ * Preferred foot code
283
+ */
284
+ preferredFoot?: {
285
+ [key: string]: unknown;
286
+ };
287
+ /**
288
+ * Height in cm
289
+ */
290
+ heightCm?: {
291
+ [key: string]: unknown;
292
+ };
293
+ /**
294
+ * Weight in kg
295
+ */
296
+ weightKg?: {
297
+ [key: string]: unknown;
298
+ };
299
+ /**
300
+ * Current club name
301
+ */
302
+ currentClub?: {
303
+ [key: string]: unknown;
304
+ };
305
+ /**
306
+ * Previous clubs
307
+ */
308
+ previousClubs?: Array<PreviousClubDto>;
309
+ /**
310
+ * Main position code (e.g. "ST")
311
+ */
312
+ mainPosition?: {
313
+ [key: string]: unknown;
314
+ };
315
+ /**
316
+ * Additional position codes (e.g. ["RW","LW"])
317
+ */
318
+ additionalPositions?: Array<string>;
319
+ /**
320
+ * Career achievements (coach)
321
+ */
322
+ careerAchievements?: Array<CareerAchievementDto>;
323
+ /**
324
+ * Agency name
325
+ */
326
+ agencyName?: {
327
+ [key: string]: unknown;
328
+ };
329
+ /**
330
+ * Agency website URL
331
+ */
332
+ agencyWebsite?: {
333
+ [key: string]: unknown;
334
+ };
335
+ /**
336
+ * Primary market region code
337
+ */
338
+ primaryMarket?: {
339
+ [key: string]: unknown;
340
+ };
341
+ /**
342
+ * Players represented (e.g. "1-5", "6-10", "more_than_10")
343
+ */
344
+ playersRepresented?: {
345
+ [key: string]: unknown;
346
+ };
347
+ /**
348
+ * About the agency
349
+ */
350
+ aboutAgency?: {
351
+ [key: string]: unknown;
352
+ };
353
+ /**
354
+ * Updated at
355
+ */
356
+ updatedAt?: {
357
+ [key: string]: unknown;
358
+ };
359
+ };
360
+ export type UpdateProfileDto = {
361
+ /**
362
+ * First name
363
+ */
364
+ firstName?: string;
365
+ /**
366
+ * Last name
367
+ */
368
+ lastName?: string;
369
+ /**
370
+ * Date of birth (ISO 8601 date, e.g. "1999-06-15")
371
+ */
372
+ dateOfBirth?: string;
373
+ /**
374
+ * Phone number
375
+ */
376
+ phone?: string;
377
+ /**
378
+ * Country of residence (2-letter code)
379
+ */
380
+ country?: string;
381
+ /**
382
+ * Nationality (2-letter code)
383
+ */
384
+ nationality?: string;
385
+ /**
386
+ * Gender code
387
+ */
388
+ gender?: string;
389
+ /**
390
+ * City
391
+ */
392
+ city?: string;
393
+ /**
394
+ * Bio
395
+ */
396
+ bio?: string;
397
+ /**
398
+ * Avatar URL
399
+ */
400
+ avatarUrl?: string;
401
+ /**
402
+ * Cover image URL
403
+ */
404
+ coverImageUrl?: string;
405
+ /**
406
+ * Is free agent
407
+ */
408
+ isFreeAgent?: boolean;
409
+ /**
410
+ * Is EU visa holder
411
+ */
412
+ isEuVisaHolder?: boolean;
413
+ /**
414
+ * Visa expiration date (ISO 8601)
415
+ */
416
+ visaExpirationDate?: string;
417
+ /**
418
+ * Marital status code
419
+ */
420
+ maritalStatusCode?: string;
421
+ /**
422
+ * Languages spoken (codes)
423
+ */
424
+ languages?: Array<string>;
425
+ /**
426
+ * Preferred foot code
427
+ */
428
+ preferredFoot?: string;
429
+ /**
430
+ * Height in cm
431
+ */
432
+ heightCm?: number;
433
+ /**
434
+ * Weight in kg
435
+ */
436
+ weightKg?: number;
437
+ /**
438
+ * Current club name (sets is_current=true)
439
+ */
440
+ currentClub?: string;
441
+ /**
442
+ * Previous clubs (replaces all existing previous clubs)
443
+ */
444
+ previousClubs?: Array<PreviousClubDto>;
445
+ /**
446
+ * Main position code (e.g. "ST"), null to clear
447
+ */
448
+ mainPosition?: {
449
+ [key: string]: unknown;
450
+ };
451
+ /**
452
+ * Additional position codes (e.g. ["RW","LW"]), empty array to clear
453
+ */
454
+ additionalPositions?: Array<string>;
455
+ /**
456
+ * Career achievements (coach, replaces all existing)
457
+ */
458
+ careerAchievements?: Array<CareerAchievementDto>;
459
+ /**
460
+ * Agency name
461
+ */
462
+ agencyName?: string;
463
+ /**
464
+ * Agency website URL
465
+ */
466
+ agencyWebsite?: string;
467
+ /**
468
+ * Primary market region code
469
+ */
470
+ primaryMarket?: string;
471
+ /**
472
+ * Players represented (e.g. "1-5", "6-10", "more_than_10")
473
+ */
474
+ playersRepresented?: string;
475
+ /**
476
+ * About the agency
477
+ */
478
+ aboutAgency?: string;
479
+ };
480
+ export type AchievementCatalogDto = {
481
+ id: string;
482
+ code: string;
483
+ name: string;
484
+ description?: {
485
+ [key: string]: unknown;
486
+ };
487
+ iconUrl?: {
488
+ [key: string]: unknown;
489
+ };
490
+ pointsAwarded?: {
491
+ [key: string]: unknown;
492
+ };
493
+ category?: {
494
+ [key: string]: unknown;
495
+ };
496
+ rarity?: {
497
+ [key: string]: unknown;
498
+ };
499
+ isActive?: {
500
+ [key: string]: unknown;
501
+ };
502
+ };
503
+ export type UserAchievementResponseDto = {
504
+ id: string;
505
+ userId: string;
506
+ achievementId: string;
507
+ earnedAt?: {
508
+ [key: string]: unknown;
509
+ };
510
+ progress?: {
511
+ [key: string]: unknown;
512
+ };
513
+ isCompleted?: {
514
+ [key: string]: unknown;
515
+ };
516
+ achievement?: AchievementCatalogDto;
517
+ };
518
+ export type BodyMeasurementResponseDto = {
519
+ id: string;
520
+ userId: string;
521
+ measurementDate?: {
522
+ [key: string]: unknown;
523
+ };
524
+ imageUrl?: {
525
+ [key: string]: unknown;
526
+ };
527
+ shoulderWidthCm?: {
528
+ [key: string]: unknown;
529
+ };
530
+ chestCircumferenceCm?: {
531
+ [key: string]: unknown;
532
+ };
533
+ waistCircumferenceCm?: {
534
+ [key: string]: unknown;
535
+ };
536
+ hipCircumferenceCm?: {
537
+ [key: string]: unknown;
538
+ };
539
+ processingStatus?: {
540
+ [key: string]: unknown;
541
+ };
542
+ createdAt?: {
543
+ [key: string]: unknown;
544
+ };
545
+ };
546
+ export type CreateBodyMeasurementDto = {
547
+ /**
548
+ * Image URL or path
549
+ */
550
+ imageUrl?: string;
551
+ };
552
+ export type DocumentResponseDto = {
553
+ id: string;
554
+ userId: string;
555
+ documentType?: {
556
+ [key: string]: unknown;
557
+ };
558
+ fileUrl?: {
559
+ [key: string]: unknown;
560
+ };
561
+ filePath?: {
562
+ [key: string]: unknown;
563
+ };
564
+ status?: {
565
+ [key: string]: unknown;
566
+ };
567
+ uploadedAt?: {
568
+ [key: string]: unknown;
569
+ };
570
+ };
571
+ export type CreateDocumentDto = {
572
+ /**
573
+ * Document type code (e.g. passport, license)
574
+ */
575
+ documentType: string;
576
+ /**
577
+ * Public file URL
578
+ */
579
+ fileUrl: string;
580
+ /**
581
+ * Storage path
582
+ */
583
+ filePath: string;
584
+ /**
585
+ * KYC verification id this document belongs to
586
+ */
587
+ kycVerificationId: string;
588
+ };
589
+ export type IndexItemDto = {
590
+ /**
591
+ * Stable machine-readable code
592
+ */
593
+ code: string;
594
+ /**
595
+ * Display name
596
+ */
597
+ name: string;
598
+ /**
599
+ * Display order for clients
600
+ */
601
+ displayOrder: number | null;
602
+ };
603
+ export type RegisterClubDto = {
604
+ /**
605
+ * Club name
606
+ */
607
+ clubName: string;
608
+ /**
609
+ * Representative first name
610
+ */
611
+ firstName: string;
612
+ /**
613
+ * Representative last name
614
+ */
615
+ lastName: string;
616
+ /**
617
+ * Representative email
618
+ */
619
+ email: string;
620
+ /**
621
+ * Password (min 8 characters)
622
+ */
623
+ password: string;
624
+ /**
625
+ * Representative phone number
626
+ */
627
+ phone?: string;
628
+ };
629
+ export type RegisterClubResponseDto = {
630
+ /**
631
+ * Internal user_data id
632
+ */
633
+ userId: string;
634
+ /**
635
+ * Organization id
636
+ */
637
+ organizationId: string;
638
+ /**
639
+ * Club name
640
+ */
641
+ clubName: string;
642
+ /**
643
+ * Club slug
644
+ */
645
+ slug?: string;
646
+ };
647
+ export type OrganizationResponseDto = {
648
+ /**
649
+ * Organization id
650
+ */
651
+ id: string;
652
+ /**
653
+ * Club name
654
+ */
655
+ name: string;
656
+ /**
657
+ * Slug
658
+ */
659
+ slug?: string;
660
+ /**
661
+ * Country code
662
+ */
663
+ country?: {
664
+ [key: string]: unknown;
665
+ };
666
+ /**
667
+ * League tier code
668
+ */
669
+ leagueTier?: {
670
+ [key: string]: unknown;
671
+ };
672
+ /**
673
+ * FIFA club category code
674
+ */
675
+ fifaCategory?: {
676
+ [key: string]: unknown;
677
+ };
678
+ /**
679
+ * Stadium name
680
+ */
681
+ stadiumName?: {
682
+ [key: string]: unknown;
683
+ };
684
+ /**
685
+ * Official club email
686
+ */
687
+ email?: {
688
+ [key: string]: unknown;
689
+ };
690
+ /**
691
+ * Official website
692
+ */
693
+ website?: {
694
+ [key: string]: unknown;
695
+ };
696
+ /**
697
+ * Club description
698
+ */
699
+ description?: {
700
+ [key: string]: unknown;
701
+ };
702
+ /**
703
+ * Phone
704
+ */
705
+ phone?: {
706
+ [key: string]: unknown;
707
+ };
708
+ /**
709
+ * Updated at
710
+ */
711
+ updatedAt?: {
712
+ [key: string]: unknown;
713
+ };
714
+ };
715
+ export type UpdateOrganizationDto = {
716
+ /**
717
+ * Club name
718
+ */
719
+ name?: string;
720
+ /**
721
+ * Country code (2-letter ISO)
722
+ */
723
+ country?: string;
724
+ /**
725
+ * Division / league tier code
726
+ */
727
+ leagueTier?: string;
728
+ /**
729
+ * FIFA club category code
730
+ */
731
+ fifaCategory?: string;
732
+ /**
733
+ * Stadium / home ground name
734
+ */
735
+ stadiumName?: string;
736
+ /**
737
+ * Official club email
738
+ */
739
+ email?: string;
740
+ /**
741
+ * Official website URL
742
+ */
743
+ website?: string;
744
+ /**
745
+ * Club description
746
+ */
747
+ description?: string;
748
+ /**
749
+ * Representative phone number
750
+ */
751
+ phone?: string;
752
+ };
753
+ export type VideoResponseDto = {
754
+ id: string;
755
+ userId: string;
756
+ title: string;
757
+ videoUrl: string;
758
+ videoType?: {
759
+ [key: string]: unknown;
760
+ };
761
+ durationSeconds?: {
762
+ [key: string]: unknown;
763
+ };
764
+ uploadStatus?: {
765
+ [key: string]: unknown;
766
+ };
767
+ processingStatus?: {
768
+ [key: string]: unknown;
769
+ };
770
+ isPublic?: {
771
+ [key: string]: unknown;
772
+ };
773
+ uploadDate?: {
774
+ [key: string]: unknown;
775
+ };
776
+ };
777
+ export type CreateVideoDto = {
778
+ /**
779
+ * Video URL (from upload)
780
+ */
781
+ videoUrl: string;
782
+ /**
783
+ * Video path in storage
784
+ */
785
+ videoPath: string;
786
+ /**
787
+ * Title
788
+ */
789
+ title: string;
790
+ /**
791
+ * Video type code (e.g. best_moment, cmj)
792
+ */
793
+ videoType?: string;
794
+ /**
795
+ * Duration in seconds
796
+ */
797
+ durationSeconds?: number;
798
+ /**
799
+ * Make video public
800
+ */
801
+ isPublic?: boolean;
802
+ };
803
+ export type GetAuthMeData = {
804
+ body?: never;
805
+ path?: never;
806
+ query?: never;
807
+ url: '/auth/me';
808
+ };
809
+ export type GetAuthMeResponses = {
810
+ 200: unknown;
811
+ };
812
+ export type DeletePlayersMeData = {
813
+ body?: never;
814
+ path?: never;
815
+ query?: never;
816
+ url: '/players/me';
817
+ };
818
+ export type DeletePlayersMeErrors = {
819
+ /**
820
+ * Deletion not configured
821
+ */
822
+ 503: unknown;
823
+ };
824
+ export type DeletePlayersMeResponses = {
825
+ 204: void;
826
+ };
827
+ export type DeletePlayersMeResponse = DeletePlayersMeResponses[keyof DeletePlayersMeResponses];
828
+ export type GetPlayersMeData = {
829
+ body?: never;
830
+ path?: never;
831
+ query?: never;
832
+ url: '/players/me';
833
+ };
834
+ export type GetPlayersMeErrors = {
835
+ /**
836
+ * Unauthorized
837
+ */
838
+ 401: unknown;
839
+ };
840
+ export type GetPlayersMeResponses = {
841
+ 200: PlayerResponseDto;
842
+ };
843
+ export type GetPlayersMeResponse = GetPlayersMeResponses[keyof GetPlayersMeResponses];
844
+ export type PatchPlayersMeData = {
845
+ body: UpdatePlayerDto;
846
+ path?: never;
847
+ query?: never;
848
+ url: '/players/me';
849
+ };
850
+ export type PatchPlayersMeErrors = {
851
+ /**
852
+ * Unauthorized
853
+ */
854
+ 401: unknown;
855
+ };
856
+ export type PatchPlayersMeResponses = {
857
+ 200: PlayerResponseDto;
858
+ };
859
+ export type PatchPlayersMeResponse = PatchPlayersMeResponses[keyof PatchPlayersMeResponses];
860
+ export type GetPlayersMeDashboardData = {
861
+ body?: never;
862
+ path?: never;
863
+ query?: never;
864
+ url: '/players/me/dashboard';
865
+ };
866
+ export type GetPlayersMeDashboardErrors = {
867
+ /**
868
+ * Unauthorized
869
+ */
870
+ 401: unknown;
871
+ };
872
+ export type GetPlayersMeDashboardResponses = {
873
+ 200: DashboardResponseDto;
874
+ };
875
+ export type GetPlayersMeDashboardResponse = GetPlayersMeDashboardResponses[keyof GetPlayersMeDashboardResponses];
876
+ export type GetProfileMeData = {
877
+ body?: never;
878
+ path?: never;
879
+ query?: never;
880
+ url: '/profile/me';
881
+ };
882
+ export type GetProfileMeErrors = {
883
+ /**
884
+ * Unauthorized
885
+ */
886
+ 401: unknown;
887
+ /**
888
+ * Profile not found
889
+ */
890
+ 404: unknown;
891
+ };
892
+ export type GetProfileMeResponses = {
893
+ /**
894
+ * Current player profile
895
+ */
896
+ 200: ProfileResponseDto;
897
+ };
898
+ export type GetProfileMeResponse = GetProfileMeResponses[keyof GetProfileMeResponses];
899
+ export type PutProfileMeData = {
900
+ body: UpdateProfileDto;
901
+ path?: never;
902
+ query?: never;
903
+ url: '/profile/me';
904
+ };
905
+ export type PutProfileMeErrors = {
906
+ /**
907
+ * Unauthorized
908
+ */
909
+ 401: unknown;
910
+ };
911
+ export type PutProfileMeResponses = {
912
+ /**
913
+ * Updated profile
914
+ */
915
+ 200: ProfileResponseDto;
916
+ };
917
+ export type PutProfileMeResponse = PutProfileMeResponses[keyof PutProfileMeResponses];
918
+ export type GetAchievementsData = {
919
+ body?: never;
920
+ path?: never;
921
+ query?: never;
922
+ url: '/achievements';
923
+ };
924
+ export type GetAchievementsResponses = {
925
+ 200: Array<AchievementCatalogDto>;
926
+ };
927
+ export type GetAchievementsResponse = GetAchievementsResponses[keyof GetAchievementsResponses];
928
+ export type GetAchievementsMeData = {
929
+ body?: never;
930
+ path?: never;
931
+ query?: never;
932
+ url: '/achievements/me';
933
+ };
934
+ export type GetAchievementsMeErrors = {
935
+ /**
936
+ * Unauthorized
937
+ */
938
+ 401: unknown;
939
+ };
940
+ export type GetAchievementsMeResponses = {
941
+ 200: Array<UserAchievementResponseDto>;
942
+ };
943
+ export type GetAchievementsMeResponse = GetAchievementsMeResponses[keyof GetAchievementsMeResponses];
944
+ export type GetBodyMeasurementsMeData = {
945
+ body?: never;
946
+ path?: never;
947
+ query?: never;
948
+ url: '/body/measurements/me';
949
+ };
950
+ export type GetBodyMeasurementsMeErrors = {
951
+ /**
952
+ * Unauthorized
953
+ */
954
+ 401: unknown;
955
+ /**
956
+ * No measurement found
957
+ */
958
+ 404: unknown;
959
+ };
960
+ export type GetBodyMeasurementsMeResponses = {
961
+ /**
962
+ * Latest body measurement
963
+ */
964
+ 200: BodyMeasurementResponseDto;
965
+ };
966
+ export type GetBodyMeasurementsMeResponse = GetBodyMeasurementsMeResponses[keyof GetBodyMeasurementsMeResponses];
967
+ export type PostBodyMeasurementsData = {
968
+ body: CreateBodyMeasurementDto;
969
+ path?: never;
970
+ query?: never;
971
+ url: '/body/measurements';
972
+ };
973
+ export type PostBodyMeasurementsErrors = {
974
+ /**
975
+ * Unauthorized
976
+ */
977
+ 401: unknown;
978
+ };
979
+ export type PostBodyMeasurementsResponses = {
980
+ /**
981
+ * Body measurement created
982
+ */
983
+ 201: BodyMeasurementResponseDto;
984
+ };
985
+ export type PostBodyMeasurementsResponse = PostBodyMeasurementsResponses[keyof PostBodyMeasurementsResponses];
986
+ export type GetDocumentsMeData = {
987
+ body?: never;
988
+ path?: never;
989
+ query?: never;
990
+ url: '/documents/me';
991
+ };
992
+ export type GetDocumentsMeErrors = {
993
+ /**
994
+ * Unauthorized
995
+ */
996
+ 401: unknown;
997
+ };
998
+ export type GetDocumentsMeResponses = {
999
+ /**
1000
+ * List of documents
1001
+ */
1002
+ 200: Array<DocumentResponseDto>;
1003
+ };
1004
+ export type GetDocumentsMeResponse = GetDocumentsMeResponses[keyof GetDocumentsMeResponses];
1005
+ export type PostDocumentsData = {
1006
+ body: CreateDocumentDto;
1007
+ path?: never;
1008
+ query?: never;
1009
+ url: '/documents';
1010
+ };
1011
+ export type PostDocumentsErrors = {
1012
+ /**
1013
+ * Unauthorized
1014
+ */
1015
+ 401: unknown;
1016
+ };
1017
+ export type PostDocumentsResponses = {
1018
+ /**
1019
+ * Document created
1020
+ */
1021
+ 201: DocumentResponseDto;
1022
+ };
1023
+ export type PostDocumentsResponse = PostDocumentsResponses[keyof PostDocumentsResponses];
1024
+ export type GetIndexByTableNameData = {
1025
+ body?: never;
1026
+ path: {
1027
+ tableName: string;
1028
+ };
1029
+ query?: never;
1030
+ url: '/index/{tableName}';
1031
+ };
1032
+ export type GetIndexByTableNameErrors = {
1033
+ /**
1034
+ * Invalid index table
1035
+ */
1036
+ 400: unknown;
1037
+ /**
1038
+ * Unauthorized
1039
+ */
1040
+ 401: unknown;
1041
+ };
1042
+ export type GetIndexByTableNameResponses = {
1043
+ /**
1044
+ * Index table items
1045
+ */
1046
+ 200: Array<IndexItemDto>;
1047
+ };
1048
+ export type GetIndexByTableNameResponse = GetIndexByTableNameResponses[keyof GetIndexByTableNameResponses];
1049
+ export type PostOrganizationsRegisterClubData = {
1050
+ body: RegisterClubDto;
1051
+ path?: never;
1052
+ query?: never;
1053
+ url: '/organizations/register-club';
1054
+ };
1055
+ export type PostOrganizationsRegisterClubErrors = {
1056
+ /**
1057
+ * Bad request
1058
+ */
1059
+ 400: unknown;
1060
+ /**
1061
+ * Email already exists
1062
+ */
1063
+ 409: unknown;
1064
+ };
1065
+ export type PostOrganizationsRegisterClubResponses = {
1066
+ 201: RegisterClubResponseDto;
1067
+ };
1068
+ export type PostOrganizationsRegisterClubResponse = PostOrganizationsRegisterClubResponses[keyof PostOrganizationsRegisterClubResponses];
1069
+ export type GetOrganizationsMeData = {
1070
+ body?: never;
1071
+ path?: never;
1072
+ query?: never;
1073
+ url: '/organizations/me';
1074
+ };
1075
+ export type GetOrganizationsMeErrors = {
1076
+ /**
1077
+ * Unauthorized
1078
+ */
1079
+ 401: unknown;
1080
+ /**
1081
+ * Organization not found
1082
+ */
1083
+ 404: unknown;
1084
+ };
1085
+ export type GetOrganizationsMeResponses = {
1086
+ 200: OrganizationResponseDto;
1087
+ };
1088
+ export type GetOrganizationsMeResponse = GetOrganizationsMeResponses[keyof GetOrganizationsMeResponses];
1089
+ export type PutOrganizationsMeData = {
1090
+ body: UpdateOrganizationDto;
1091
+ path?: never;
1092
+ query?: never;
1093
+ url: '/organizations/me';
1094
+ };
1095
+ export type PutOrganizationsMeErrors = {
1096
+ /**
1097
+ * Unauthorized
1098
+ */
1099
+ 401: unknown;
1100
+ /**
1101
+ * Organization not found
1102
+ */
1103
+ 404: unknown;
1104
+ };
1105
+ export type PutOrganizationsMeResponses = {
1106
+ 200: OrganizationResponseDto;
1107
+ };
1108
+ export type PutOrganizationsMeResponse = PutOrganizationsMeResponses[keyof PutOrganizationsMeResponses];
1109
+ export type GetVideosMeData = {
1110
+ body?: never;
1111
+ path?: never;
1112
+ query: {
1113
+ type: string;
1114
+ };
1115
+ url: '/videos/me';
1116
+ };
1117
+ export type GetVideosMeErrors = {
1118
+ /**
1119
+ * Unauthorized
1120
+ */
1121
+ 401: unknown;
1122
+ };
1123
+ export type GetVideosMeResponses = {
1124
+ /**
1125
+ * List of videos
1126
+ */
1127
+ 200: Array<VideoResponseDto>;
1128
+ };
1129
+ export type GetVideosMeResponse = GetVideosMeResponses[keyof GetVideosMeResponses];
1130
+ export type PostVideosData = {
1131
+ body: CreateVideoDto;
1132
+ path?: never;
1133
+ query?: never;
1134
+ url: '/videos';
1135
+ };
1136
+ export type PostVideosErrors = {
1137
+ /**
1138
+ * Invalid input or best_moment limit exceeded
1139
+ */
1140
+ 400: unknown;
1141
+ /**
1142
+ * Unauthorized
1143
+ */
1144
+ 401: unknown;
1145
+ };
1146
+ export type PostVideosResponses = {
1147
+ /**
1148
+ * Video created
1149
+ */
1150
+ 201: VideoResponseDto;
1151
+ };
1152
+ export type PostVideosResponse = PostVideosResponses[keyof PostVideosResponses];
1153
+ export type DeleteVideosByIdData = {
1154
+ body?: never;
1155
+ path: {
1156
+ id: string;
1157
+ };
1158
+ query?: never;
1159
+ url: '/videos/{id}';
1160
+ };
1161
+ export type DeleteVideosByIdErrors = {
1162
+ /**
1163
+ * Unauthorized
1164
+ */
1165
+ 401: unknown;
1166
+ /**
1167
+ * Video not found
1168
+ */
1169
+ 404: unknown;
1170
+ };
1171
+ export type DeleteVideosByIdResponses = {
1172
+ /**
1173
+ * Video deleted
1174
+ */
1175
+ 204: void;
1176
+ };
1177
+ export type DeleteVideosByIdResponse = DeleteVideosByIdResponses[keyof DeleteVideosByIdResponses];