@globalscoutme/api-client 1.1.0 → 1.1.2

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.
package/index.ts CHANGED
@@ -3,15 +3,18 @@
3
3
  export {
4
4
  Achievements,
5
5
  Auth,
6
+ Billing,
6
7
  Body,
7
8
  Challenges,
8
9
  Clubs,
10
+ Cmj,
9
11
  Dashboard,
10
12
  Documents,
11
13
  GlobalScoutMeClient,
12
14
  Index,
13
15
  Invitations,
14
16
  Kyc,
17
+ Measurements,
15
18
  Notifications,
16
19
  Offers,
17
20
  type Options,
@@ -25,7 +28,20 @@ export {
25
28
  } from './sdk.gen.js';
26
29
  export type {
27
30
  AchievementCatalogDto,
31
+ AiReportClipDto,
32
+ AiReportClipTargetDto,
33
+ AiReportMetaDto,
34
+ AiReportResultResponseDto,
35
+ AiReportViewDto,
28
36
  AuthMeResponseDto,
37
+ BillingEntitlementResponseDto,
38
+ BillingManageActionDto,
39
+ BillingPlanDto,
40
+ BillingPlansResponseDto,
41
+ BillingProductDto,
42
+ BillingProductsResponseDto,
43
+ BillingProviderProductDto,
44
+ BodyMeasurementProfileDto,
29
45
  BodyMeasurementResponseDto,
30
46
  CancelKycRequestDto,
31
47
  CareerAchievementDto,
@@ -33,6 +49,8 @@ export type {
33
49
  CheckoutResultDto,
34
50
  ClientOptions,
35
51
  ClubResponseDto,
52
+ CmjMeasurementProfileDto,
53
+ CmjMeasurementResponseDto,
36
54
  ConversationDetailDto,
37
55
  ConversationItemDto,
38
56
  ConversationListResultDto,
@@ -44,6 +62,7 @@ export type {
44
62
  CreateClubDto,
45
63
  CreateConversationDto,
46
64
  CreateDocumentDto,
65
+ CreateMeasurementPlayerSessionDto,
47
66
  CreatePortalDto,
48
67
  CreateUploadUrlDto,
49
68
  CreateVideoDto,
@@ -83,6 +102,21 @@ export type {
83
102
  GetApiAuthMeErrors,
84
103
  GetApiAuthMeResponse,
85
104
  GetApiAuthMeResponses,
105
+ GetApiBillingMeData,
106
+ GetApiBillingMeResponse,
107
+ GetApiBillingMeResponses,
108
+ GetApiBillingPlansData,
109
+ GetApiBillingPlansResponse,
110
+ GetApiBillingPlansResponses,
111
+ GetApiBillingProductsData,
112
+ GetApiBillingProductsResponse,
113
+ GetApiBillingProductsResponses,
114
+ GetApiBillingReportPurchasesByIdReportData,
115
+ GetApiBillingReportPurchasesByIdReportResponse,
116
+ GetApiBillingReportPurchasesByIdReportResponses,
117
+ GetApiBillingReportPurchasesCurrentData,
118
+ GetApiBillingReportPurchasesCurrentResponse,
119
+ GetApiBillingReportPurchasesCurrentResponses,
86
120
  GetApiBodyMeasurementsMeData,
87
121
  GetApiBodyMeasurementsMeErrors,
88
122
  GetApiBodyMeasurementsMeResponse,
@@ -99,6 +133,10 @@ export type {
99
133
  GetApiClubsMeErrors,
100
134
  GetApiClubsMeResponse,
101
135
  GetApiClubsMeResponses,
136
+ GetApiCmjMeasurementsMeData,
137
+ GetApiCmjMeasurementsMeErrors,
138
+ GetApiCmjMeasurementsMeResponse,
139
+ GetApiCmjMeasurementsMeResponses,
102
140
  GetApiDashboardMeData,
103
141
  GetApiDashboardMeErrors,
104
142
  GetApiDashboardMeResponse,
@@ -126,6 +164,10 @@ export type {
126
164
  GetApiKycStatusByUserIdErrors,
127
165
  GetApiKycStatusByUserIdResponse,
128
166
  GetApiKycStatusByUserIdResponses,
167
+ GetApiMeasurementsProfileMeData,
168
+ GetApiMeasurementsProfileMeErrors,
169
+ GetApiMeasurementsProfileMeResponse,
170
+ GetApiMeasurementsProfileMeResponses,
129
171
  GetApiNotificationsPreferencesData,
130
172
  GetApiNotificationsPreferencesResponse,
131
173
  GetApiNotificationsPreferencesResponses,
@@ -190,6 +232,10 @@ export type {
190
232
  KycStatusDto,
191
233
  KycWebhookDto,
192
234
  MarkSubmittedKycRequestDto,
235
+ MeasurementProfileResponseDto,
236
+ MeasurementSessionDto,
237
+ MeasurementSessionMetricsDto,
238
+ MeasurementTagEvaluationDto,
193
239
  MessageItemDto,
194
240
  MessageListResultDto,
195
241
  MessageSenderDto,
@@ -224,6 +270,23 @@ export type {
224
270
  PlayerVideoDto,
225
271
  PlayUrlResponseDto,
226
272
  PortalResultDto,
273
+ PostApiBillingAccessCodesRedeemData,
274
+ PostApiBillingAccessCodesRedeemResponse,
275
+ PostApiBillingAccessCodesRedeemResponses,
276
+ PostApiBillingAppleSyncPurchaseData,
277
+ PostApiBillingAppleSyncPurchaseResponses,
278
+ PostApiBillingGoogleSyncPurchaseData,
279
+ PostApiBillingGoogleSyncPurchaseResponses,
280
+ PostApiBillingReportPurchasesByIdStartGenerationData,
281
+ PostApiBillingReportPurchasesByIdStartGenerationResponse,
282
+ PostApiBillingReportPurchasesByIdStartGenerationResponses,
283
+ PostApiBillingReportPurchasesPlayerCandidatesData,
284
+ PostApiBillingReportPurchasesPlayerCandidatesResponse,
285
+ PostApiBillingReportPurchasesPlayerCandidatesResponses,
286
+ PostApiBillingStripeCheckoutSessionData,
287
+ PostApiBillingStripeCheckoutSessionResponses,
288
+ PostApiBillingStripePortalSessionData,
289
+ PostApiBillingStripePortalSessionResponses,
227
290
  PostApiBodyMeasurementsData,
228
291
  PostApiBodyMeasurementsErrors,
229
292
  PostApiBodyMeasurementsResponse,
@@ -262,6 +325,10 @@ export type {
262
325
  PostApiKycWebhookData,
263
326
  PostApiKycWebhookErrors,
264
327
  PostApiKycWebhookResponses,
328
+ PostApiMeasurementsPlayerSessionMeData,
329
+ PostApiMeasurementsPlayerSessionMeErrors,
330
+ PostApiMeasurementsPlayerSessionMeResponse,
331
+ PostApiMeasurementsPlayerSessionMeResponses,
265
332
  PostApiNotificationsDevicesData,
266
333
  PostApiNotificationsDevicesResponse,
267
334
  PostApiNotificationsDevicesResponses,
@@ -310,6 +377,7 @@ export type {
310
377
  PostApiVideosResponses,
311
378
  PreviousClubDto,
312
379
  ProfileResponseDto,
380
+ ProviderCheckoutRequestDto,
313
381
  PushDeviceRegistrationResultDto,
314
382
  PutApiOrganizationsMeData,
315
383
  PutApiOrganizationsMeErrors,
@@ -319,16 +387,30 @@ export type {
319
387
  PutApiProfileMeErrors,
320
388
  PutApiProfileMeResponse,
321
389
  PutApiProfileMeResponses,
390
+ RedeemAccessCodeDto,
322
391
  RegisterAgentDto,
323
392
  RegisterAgentResponseDto,
324
393
  RegisterClubDto,
325
394
  RegisterClubResponseDto,
326
395
  RegisterPushDeviceDto,
396
+ ReportGenerationStartResponseDto,
397
+ ReportPlayerCandidateBboxDto,
398
+ ReportPlayerCandidateDto,
399
+ ReportPlayerCandidatesRequestDto,
400
+ ReportPlayerCandidatesResponseDto,
401
+ ReportPlayerCandidateTargetDto,
402
+ ReportPrerequisiteDto,
403
+ ReportPurchaseDto,
404
+ ReportPurchaseStatusResponseDto,
405
+ ReportVideoCandidatesDto,
327
406
  ScoutDashboardResponseDto,
328
407
  SendInvitationRequestDto,
329
408
  SendMessageDto,
330
409
  StartKycRequestDto,
331
410
  StartKycResponseDto,
411
+ StartReportGenerationClipDto,
412
+ StartReportGenerationRequestDto,
413
+ StorePurchaseSyncRequestDto,
332
414
  SubscriptionPlanDto,
333
415
  TrainingCategoryGroupDto,
334
416
  TrainingContentDetailDto,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@globalscoutme/api-client",
3
- "version": "1.1.0",
3
+ "version": "1.1.2",
4
4
  "description": "GlobalScoutMe API client (generated)",
5
5
  "author": "GlobalScoutMe",
6
6
  "license": "UNLICENSED",
package/sdk.gen.ts CHANGED
@@ -29,6 +29,16 @@ import type {
29
29
  GetApiAuthMeData,
30
30
  GetApiAuthMeErrors,
31
31
  GetApiAuthMeResponses,
32
+ GetApiBillingMeData,
33
+ GetApiBillingMeResponses,
34
+ GetApiBillingPlansData,
35
+ GetApiBillingPlansResponses,
36
+ GetApiBillingProductsData,
37
+ GetApiBillingProductsResponses,
38
+ GetApiBillingReportPurchasesByIdReportData,
39
+ GetApiBillingReportPurchasesByIdReportResponses,
40
+ GetApiBillingReportPurchasesCurrentData,
41
+ GetApiBillingReportPurchasesCurrentResponses,
32
42
  GetApiBodyMeasurementsMeData,
33
43
  GetApiBodyMeasurementsMeErrors,
34
44
  GetApiBodyMeasurementsMeResponses,
@@ -41,6 +51,9 @@ import type {
41
51
  GetApiClubsMeData,
42
52
  GetApiClubsMeErrors,
43
53
  GetApiClubsMeResponses,
54
+ GetApiCmjMeasurementsMeData,
55
+ GetApiCmjMeasurementsMeErrors,
56
+ GetApiCmjMeasurementsMeResponses,
44
57
  GetApiDashboardMeData,
45
58
  GetApiDashboardMeErrors,
46
59
  GetApiDashboardMeResponses,
@@ -61,6 +74,9 @@ import type {
61
74
  GetApiKycStatusByUserIdData,
62
75
  GetApiKycStatusByUserIdErrors,
63
76
  GetApiKycStatusByUserIdResponses,
77
+ GetApiMeasurementsProfileMeData,
78
+ GetApiMeasurementsProfileMeErrors,
79
+ GetApiMeasurementsProfileMeResponses,
64
80
  GetApiNotificationsPreferencesData,
65
81
  GetApiNotificationsPreferencesResponses,
66
82
  GetApiOffersConversationsByIdMessagesData,
@@ -114,6 +130,20 @@ import type {
114
130
  PatchApiPlayersMeData,
115
131
  PatchApiPlayersMeErrors,
116
132
  PatchApiPlayersMeResponses,
133
+ PostApiBillingAccessCodesRedeemData,
134
+ PostApiBillingAccessCodesRedeemResponses,
135
+ PostApiBillingAppleSyncPurchaseData,
136
+ PostApiBillingAppleSyncPurchaseResponses,
137
+ PostApiBillingGoogleSyncPurchaseData,
138
+ PostApiBillingGoogleSyncPurchaseResponses,
139
+ PostApiBillingReportPurchasesByIdStartGenerationData,
140
+ PostApiBillingReportPurchasesByIdStartGenerationResponses,
141
+ PostApiBillingReportPurchasesPlayerCandidatesData,
142
+ PostApiBillingReportPurchasesPlayerCandidatesResponses,
143
+ PostApiBillingStripeCheckoutSessionData,
144
+ PostApiBillingStripeCheckoutSessionResponses,
145
+ PostApiBillingStripePortalSessionData,
146
+ PostApiBillingStripePortalSessionResponses,
117
147
  PostApiBodyMeasurementsData,
118
148
  PostApiBodyMeasurementsErrors,
119
149
  PostApiBodyMeasurementsResponses,
@@ -143,6 +173,9 @@ import type {
143
173
  PostApiKycWebhookData,
144
174
  PostApiKycWebhookErrors,
145
175
  PostApiKycWebhookResponses,
176
+ PostApiMeasurementsPlayerSessionMeData,
177
+ PostApiMeasurementsPlayerSessionMeErrors,
178
+ PostApiMeasurementsPlayerSessionMeResponses,
146
179
  PostApiNotificationsDevicesData,
147
180
  PostApiNotificationsDevicesResponses,
148
181
  PostApiOffersConversationsByIdMessagesData,
@@ -339,6 +372,241 @@ export class Players extends HeyApiClient {
339
372
  }
340
373
  }
341
374
 
375
+ export class Billing extends HeyApiClient {
376
+ public listBillingPlans<ThrowOnError extends boolean = false>(
377
+ options?: Options<GetApiBillingPlansData, ThrowOnError>,
378
+ ) {
379
+ return (options?.client ?? this.client).get<
380
+ GetApiBillingPlansResponses,
381
+ unknown,
382
+ ThrowOnError
383
+ >({ url: '/api/billing/plans', ...options });
384
+ }
385
+
386
+ public listBillingProducts<ThrowOnError extends boolean = false>(
387
+ options?: Options<GetApiBillingProductsData, ThrowOnError>,
388
+ ) {
389
+ return (options?.client ?? this.client).get<
390
+ GetApiBillingProductsResponses,
391
+ unknown,
392
+ ThrowOnError
393
+ >({ url: '/api/billing/products', ...options });
394
+ }
395
+
396
+ public getMyBillingEntitlement<ThrowOnError extends boolean = false>(
397
+ options?: Options<GetApiBillingMeData, ThrowOnError>,
398
+ ) {
399
+ return (options?.client ?? this.client).get<
400
+ GetApiBillingMeResponses,
401
+ unknown,
402
+ ThrowOnError
403
+ >({ url: '/api/billing/me', ...options });
404
+ }
405
+
406
+ public redeemBillingAccessCode<ThrowOnError extends boolean = false>(
407
+ options: Options<PostApiBillingAccessCodesRedeemData, ThrowOnError>,
408
+ ) {
409
+ return (options.client ?? this.client).post<
410
+ PostApiBillingAccessCodesRedeemResponses,
411
+ unknown,
412
+ ThrowOnError
413
+ >({
414
+ url: '/api/billing/access-codes/redeem',
415
+ ...options,
416
+ headers: {
417
+ 'Content-Type': 'application/json',
418
+ ...options.headers,
419
+ },
420
+ });
421
+ }
422
+
423
+ public getCurrentBillingReportPurchase<ThrowOnError extends boolean = false>(
424
+ options?: Options<GetApiBillingReportPurchasesCurrentData, ThrowOnError>,
425
+ ) {
426
+ return (options?.client ?? this.client).get<
427
+ GetApiBillingReportPurchasesCurrentResponses,
428
+ unknown,
429
+ ThrowOnError
430
+ >({ url: '/api/billing/report-purchases/current', ...options });
431
+ }
432
+
433
+ public getBillingReportResult<ThrowOnError extends boolean = false>(
434
+ options: Options<GetApiBillingReportPurchasesByIdReportData, ThrowOnError>,
435
+ ) {
436
+ return (options.client ?? this.client).get<
437
+ GetApiBillingReportPurchasesByIdReportResponses,
438
+ unknown,
439
+ ThrowOnError
440
+ >({ url: '/api/billing/report-purchases/{id}/report', ...options });
441
+ }
442
+
443
+ public startBillingReportGeneration<ThrowOnError extends boolean = false>(
444
+ options: Options<
445
+ PostApiBillingReportPurchasesByIdStartGenerationData,
446
+ ThrowOnError
447
+ >,
448
+ ) {
449
+ return (options.client ?? this.client).post<
450
+ PostApiBillingReportPurchasesByIdStartGenerationResponses,
451
+ unknown,
452
+ ThrowOnError
453
+ >({
454
+ url: '/api/billing/report-purchases/{id}/start-generation',
455
+ ...options,
456
+ headers: {
457
+ 'Content-Type': 'application/json',
458
+ ...options.headers,
459
+ },
460
+ });
461
+ }
462
+
463
+ public findBillingReportPlayerCandidates<
464
+ ThrowOnError extends boolean = false,
465
+ >(
466
+ options: Options<
467
+ PostApiBillingReportPurchasesPlayerCandidatesData,
468
+ ThrowOnError
469
+ >,
470
+ ) {
471
+ return (options.client ?? this.client).post<
472
+ PostApiBillingReportPurchasesPlayerCandidatesResponses,
473
+ unknown,
474
+ ThrowOnError
475
+ >({
476
+ url: '/api/billing/report-purchases/player-candidates',
477
+ ...options,
478
+ headers: {
479
+ 'Content-Type': 'application/json',
480
+ ...options.headers,
481
+ },
482
+ });
483
+ }
484
+
485
+ public createStripeCheckoutSession<ThrowOnError extends boolean = false>(
486
+ options: Options<PostApiBillingStripeCheckoutSessionData, ThrowOnError>,
487
+ ) {
488
+ return (options.client ?? this.client).post<
489
+ PostApiBillingStripeCheckoutSessionResponses,
490
+ unknown,
491
+ ThrowOnError
492
+ >({
493
+ url: '/api/billing/stripe/checkout-session',
494
+ ...options,
495
+ headers: {
496
+ 'Content-Type': 'application/json',
497
+ ...options.headers,
498
+ },
499
+ });
500
+ }
501
+
502
+ public createStripePortalSession<ThrowOnError extends boolean = false>(
503
+ options?: Options<PostApiBillingStripePortalSessionData, ThrowOnError>,
504
+ ) {
505
+ return (options?.client ?? this.client).post<
506
+ PostApiBillingStripePortalSessionResponses,
507
+ unknown,
508
+ ThrowOnError
509
+ >({ url: '/api/billing/stripe/portal-session', ...options });
510
+ }
511
+
512
+ public syncAppleBillingPurchase<ThrowOnError extends boolean = false>(
513
+ options: Options<PostApiBillingAppleSyncPurchaseData, ThrowOnError>,
514
+ ) {
515
+ return (options.client ?? this.client).post<
516
+ PostApiBillingAppleSyncPurchaseResponses,
517
+ unknown,
518
+ ThrowOnError
519
+ >({
520
+ url: '/api/billing/apple/sync-purchase',
521
+ ...options,
522
+ headers: {
523
+ 'Content-Type': 'application/json',
524
+ ...options.headers,
525
+ },
526
+ });
527
+ }
528
+
529
+ public syncGoogleBillingPurchase<ThrowOnError extends boolean = false>(
530
+ options: Options<PostApiBillingGoogleSyncPurchaseData, ThrowOnError>,
531
+ ) {
532
+ return (options.client ?? this.client).post<
533
+ PostApiBillingGoogleSyncPurchaseResponses,
534
+ unknown,
535
+ ThrowOnError
536
+ >({
537
+ url: '/api/billing/google/sync-purchase',
538
+ ...options,
539
+ headers: {
540
+ 'Content-Type': 'application/json',
541
+ ...options.headers,
542
+ },
543
+ });
544
+ }
545
+ }
546
+
547
+ export class Notifications extends HeyApiClient {
548
+ public getNotificationPreferences<ThrowOnError extends boolean = false>(
549
+ options?: Options<GetApiNotificationsPreferencesData, ThrowOnError>,
550
+ ) {
551
+ return (options?.client ?? this.client).get<
552
+ GetApiNotificationsPreferencesResponses,
553
+ unknown,
554
+ ThrowOnError
555
+ >({ url: '/api/notifications/preferences', ...options });
556
+ }
557
+
558
+ public updateNotificationPreferences<ThrowOnError extends boolean = false>(
559
+ options: Options<PatchApiNotificationsPreferencesData, ThrowOnError>,
560
+ ) {
561
+ return (options.client ?? this.client).patch<
562
+ PatchApiNotificationsPreferencesResponses,
563
+ unknown,
564
+ ThrowOnError
565
+ >({
566
+ url: '/api/notifications/preferences',
567
+ ...options,
568
+ headers: {
569
+ 'Content-Type': 'application/json',
570
+ ...options.headers,
571
+ },
572
+ });
573
+ }
574
+
575
+ public registerPushDevice<ThrowOnError extends boolean = false>(
576
+ options: Options<PostApiNotificationsDevicesData, ThrowOnError>,
577
+ ) {
578
+ return (options.client ?? this.client).post<
579
+ PostApiNotificationsDevicesResponses,
580
+ unknown,
581
+ ThrowOnError
582
+ >({
583
+ url: '/api/notifications/devices',
584
+ ...options,
585
+ headers: {
586
+ 'Content-Type': 'application/json',
587
+ ...options.headers,
588
+ },
589
+ });
590
+ }
591
+
592
+ public deactivateCurrentPushDevice<ThrowOnError extends boolean = false>(
593
+ options: Options<DeleteApiNotificationsDevicesCurrentData, ThrowOnError>,
594
+ ) {
595
+ return (options.client ?? this.client).delete<
596
+ DeleteApiNotificationsDevicesCurrentResponses,
597
+ unknown,
598
+ ThrowOnError
599
+ >({
600
+ url: '/api/notifications/devices/current',
601
+ ...options,
602
+ headers: {
603
+ 'Content-Type': 'application/json',
604
+ ...options.headers,
605
+ },
606
+ });
607
+ }
608
+ }
609
+
342
610
  export class Profile extends HeyApiClient {
343
611
  public getProfileMe<ThrowOnError extends boolean = false>(
344
612
  options?: Options<GetApiProfileMeData, ThrowOnError>,
@@ -419,6 +687,18 @@ export class Body extends HeyApiClient {
419
687
  }
420
688
  }
421
689
 
690
+ export class Cmj extends HeyApiClient {
691
+ public getMyCmjMeasurements<ThrowOnError extends boolean = false>(
692
+ options?: Options<GetApiCmjMeasurementsMeData, ThrowOnError>,
693
+ ) {
694
+ return (options?.client ?? this.client).get<
695
+ GetApiCmjMeasurementsMeResponses,
696
+ GetApiCmjMeasurementsMeErrors,
697
+ ThrowOnError
698
+ >({ url: '/api/cmj/measurements/me', ...options });
699
+ }
700
+ }
701
+
422
702
  export class Challenges extends HeyApiClient {
423
703
  /**
424
704
  * List all active challenges
@@ -620,69 +900,6 @@ export class Offers extends HeyApiClient {
620
900
  }
621
901
  }
622
902
 
623
- export class Notifications extends HeyApiClient {
624
- public getNotificationPreferences<ThrowOnError extends boolean = false>(
625
- options?: Options<GetApiNotificationsPreferencesData, ThrowOnError>,
626
- ) {
627
- return (options?.client ?? this.client).get<
628
- GetApiNotificationsPreferencesResponses,
629
- unknown,
630
- ThrowOnError
631
- >({ url: '/api/notifications/preferences', ...options });
632
- }
633
-
634
- public updateNotificationPreferences<ThrowOnError extends boolean = false>(
635
- options: Options<PatchApiNotificationsPreferencesData, ThrowOnError>,
636
- ) {
637
- return (options.client ?? this.client).patch<
638
- PatchApiNotificationsPreferencesResponses,
639
- unknown,
640
- ThrowOnError
641
- >({
642
- url: '/api/notifications/preferences',
643
- ...options,
644
- headers: {
645
- 'Content-Type': 'application/json',
646
- ...options.headers,
647
- },
648
- });
649
- }
650
-
651
- public registerPushDevice<ThrowOnError extends boolean = false>(
652
- options: Options<PostApiNotificationsDevicesData, ThrowOnError>,
653
- ) {
654
- return (options.client ?? this.client).post<
655
- PostApiNotificationsDevicesResponses,
656
- unknown,
657
- ThrowOnError
658
- >({
659
- url: '/api/notifications/devices',
660
- ...options,
661
- headers: {
662
- 'Content-Type': 'application/json',
663
- ...options.headers,
664
- },
665
- });
666
- }
667
-
668
- public deactivateCurrentPushDevice<ThrowOnError extends boolean = false>(
669
- options: Options<DeleteApiNotificationsDevicesCurrentData, ThrowOnError>,
670
- ) {
671
- return (options.client ?? this.client).delete<
672
- DeleteApiNotificationsDevicesCurrentResponses,
673
- unknown,
674
- ThrowOnError
675
- >({
676
- url: '/api/notifications/devices/current',
677
- ...options,
678
- headers: {
679
- 'Content-Type': 'application/json',
680
- ...options.headers,
681
- },
682
- });
683
- }
684
- }
685
-
686
903
  export class Organizations extends HeyApiClient {
687
904
  public registerClub<ThrowOnError extends boolean = false>(
688
905
  options: Options<PostApiOrganizationsRegisterClubData, ThrowOnError>,
@@ -922,6 +1139,35 @@ export class Kyc extends HeyApiClient {
922
1139
  }
923
1140
  }
924
1141
 
1142
+ export class Measurements extends HeyApiClient {
1143
+ public getMyMeasurementProfile<ThrowOnError extends boolean = false>(
1144
+ options?: Options<GetApiMeasurementsProfileMeData, ThrowOnError>,
1145
+ ) {
1146
+ return (options?.client ?? this.client).get<
1147
+ GetApiMeasurementsProfileMeResponses,
1148
+ GetApiMeasurementsProfileMeErrors,
1149
+ ThrowOnError
1150
+ >({ url: '/api/measurements/profile/me', ...options });
1151
+ }
1152
+
1153
+ public createMyMeasurementPlayerSession<ThrowOnError extends boolean = false>(
1154
+ options: Options<PostApiMeasurementsPlayerSessionMeData, ThrowOnError>,
1155
+ ) {
1156
+ return (options.client ?? this.client).post<
1157
+ PostApiMeasurementsPlayerSessionMeResponses,
1158
+ PostApiMeasurementsPlayerSessionMeErrors,
1159
+ ThrowOnError
1160
+ >({
1161
+ url: '/api/measurements/player-session/me',
1162
+ ...options,
1163
+ headers: {
1164
+ 'Content-Type': 'application/json',
1165
+ ...options.headers,
1166
+ },
1167
+ });
1168
+ }
1169
+ }
1170
+
925
1171
  export class Training extends HeyApiClient {
926
1172
  /**
927
1173
  * Get training content grouped by category, top 3 per category
@@ -1136,6 +1382,16 @@ export class GlobalScoutMeClient extends HeyApiClient {
1136
1382
  return (this._players ??= new Players({ client: this.client }));
1137
1383
  }
1138
1384
 
1385
+ private _billing?: Billing;
1386
+ get billing(): Billing {
1387
+ return (this._billing ??= new Billing({ client: this.client }));
1388
+ }
1389
+
1390
+ private _notifications?: Notifications;
1391
+ get notifications(): Notifications {
1392
+ return (this._notifications ??= new Notifications({ client: this.client }));
1393
+ }
1394
+
1139
1395
  private _profile?: Profile;
1140
1396
  get profile(): Profile {
1141
1397
  return (this._profile ??= new Profile({ client: this.client }));
@@ -1151,6 +1407,11 @@ export class GlobalScoutMeClient extends HeyApiClient {
1151
1407
  return (this._body ??= new Body({ client: this.client }));
1152
1408
  }
1153
1409
 
1410
+ private _cmj?: Cmj;
1411
+ get cmj(): Cmj {
1412
+ return (this._cmj ??= new Cmj({ client: this.client }));
1413
+ }
1414
+
1154
1415
  private _challenges?: Challenges;
1155
1416
  get challenges(): Challenges {
1156
1417
  return (this._challenges ??= new Challenges({ client: this.client }));
@@ -1176,11 +1437,6 @@ export class GlobalScoutMeClient extends HeyApiClient {
1176
1437
  return (this._offers ??= new Offers({ client: this.client }));
1177
1438
  }
1178
1439
 
1179
- private _notifications?: Notifications;
1180
- get notifications(): Notifications {
1181
- return (this._notifications ??= new Notifications({ client: this.client }));
1182
- }
1183
-
1184
1440
  private _organizations?: Organizations;
1185
1441
  get organizations(): Organizations {
1186
1442
  return (this._organizations ??= new Organizations({ client: this.client }));
@@ -1201,6 +1457,11 @@ export class GlobalScoutMeClient extends HeyApiClient {
1201
1457
  return (this._kyc ??= new Kyc({ client: this.client }));
1202
1458
  }
1203
1459
 
1460
+ private _measurements?: Measurements;
1461
+ get measurements(): Measurements {
1462
+ return (this._measurements ??= new Measurements({ client: this.client }));
1463
+ }
1464
+
1204
1465
  private _training?: Training;
1205
1466
  get training(): Training {
1206
1467
  return (this._training ??= new Training({ client: this.client }));