@globalscoutme/api-client 1.1.10 → 1.1.11
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/README.md +3 -4
- package/client/client.gen.ts +25 -48
- package/client/types.gen.ts +12 -41
- package/client/utils.gen.ts +12 -33
- package/client.gen.ts +2 -7
- package/core/auth.gen.ts +2 -3
- package/core/bodySerializer.gen.ts +6 -22
- package/core/params.gen.ts +3 -10
- package/core/pathSerializer.gen.ts +6 -15
- package/core/queryKeySerializer.gen.ts +6 -25
- package/core/serverSentEvents.gen.ts +8 -31
- package/core/types.gen.ts +3 -13
- package/core/utils.gen.ts +4 -7
- package/dist/client/client.gen.js +1 -2
- package/dist/client/utils.gen.js +2 -5
- package/dist/client.gen.js +1 -1
- package/dist/core/bodySerializer.gen.js +1 -1
- package/dist/core/pathSerializer.gen.js +3 -11
- package/dist/core/queryKeySerializer.gen.js +4 -11
- package/dist/core/serverSentEvents.gen.js +3 -7
- package/dist/index.d.ts +1 -1
- package/dist/sdk.gen.js +8 -2
- package/dist/types.gen.d.ts +3 -0
- package/index.ts +1 -0
- package/package.json +1 -1
- package/sdk.gen.ts +104 -122
- package/types.gen.ts +21 -49
package/types.gen.ts
CHANGED
|
@@ -2052,13 +2052,7 @@ export type StartKycResponseDto = {
|
|
|
2052
2052
|
* SmileID job identifier
|
|
2053
2053
|
*/
|
|
2054
2054
|
jobId?: string | null;
|
|
2055
|
-
status:
|
|
2056
|
-
| 'pending'
|
|
2057
|
-
| 'capture_started'
|
|
2058
|
-
| 'processing'
|
|
2059
|
-
| 'approved'
|
|
2060
|
-
| 'rejected'
|
|
2061
|
-
| 'blocked';
|
|
2055
|
+
status: 'pending' | 'capture_started' | 'processing' | 'approved' | 'rejected' | 'blocked';
|
|
2062
2056
|
/**
|
|
2063
2057
|
* Number of retries left before the account is blocked
|
|
2064
2058
|
*/
|
|
@@ -2093,13 +2087,7 @@ export type SmileLinkResponseDto = {
|
|
|
2093
2087
|
* SmileID job identifier
|
|
2094
2088
|
*/
|
|
2095
2089
|
jobId?: string | null;
|
|
2096
|
-
status:
|
|
2097
|
-
| 'pending'
|
|
2098
|
-
| 'capture_started'
|
|
2099
|
-
| 'processing'
|
|
2100
|
-
| 'approved'
|
|
2101
|
-
| 'rejected'
|
|
2102
|
-
| 'blocked';
|
|
2090
|
+
status: 'pending' | 'capture_started' | 'processing' | 'approved' | 'rejected' | 'blocked';
|
|
2103
2091
|
/**
|
|
2104
2092
|
* Number of retries left before the account is blocked
|
|
2105
2093
|
*/
|
|
@@ -2144,13 +2132,7 @@ export type MarkSubmittedKycRequestDto = {
|
|
|
2144
2132
|
};
|
|
2145
2133
|
|
|
2146
2134
|
export type KycStatusDto = {
|
|
2147
|
-
status:
|
|
2148
|
-
| 'pending'
|
|
2149
|
-
| 'capture_started'
|
|
2150
|
-
| 'processing'
|
|
2151
|
-
| 'approved'
|
|
2152
|
-
| 'rejected'
|
|
2153
|
-
| 'blocked';
|
|
2135
|
+
status: 'pending' | 'capture_started' | 'processing' | 'approved' | 'rejected' | 'blocked';
|
|
2154
2136
|
retryCount: number;
|
|
2155
2137
|
retriesRemaining: number;
|
|
2156
2138
|
/**
|
|
@@ -2170,11 +2152,14 @@ export type CancelKycRequestDto = {
|
|
|
2170
2152
|
jobId: string;
|
|
2171
2153
|
};
|
|
2172
2154
|
|
|
2155
|
+
export type TrainingMediaTypeDto = 'video' | 'image' | 'text';
|
|
2156
|
+
|
|
2173
2157
|
export type TrainingContentListItemDto = {
|
|
2174
2158
|
id: string;
|
|
2175
2159
|
title: string;
|
|
2176
2160
|
summary?: string | null;
|
|
2177
2161
|
thumbnailUrl?: string | null;
|
|
2162
|
+
mediaType: TrainingMediaTypeDto;
|
|
2178
2163
|
durationSeconds?: number | null;
|
|
2179
2164
|
categoryCode: string;
|
|
2180
2165
|
difficultyLevel: string;
|
|
@@ -2205,6 +2190,7 @@ export type TrainingContentDetailDto = {
|
|
|
2205
2190
|
description?: string | null;
|
|
2206
2191
|
thumbnailUrl?: string | null;
|
|
2207
2192
|
videoUrl?: string | null;
|
|
2193
|
+
mediaType: TrainingMediaTypeDto;
|
|
2208
2194
|
durationSeconds?: number | null;
|
|
2209
2195
|
categoryCode: string;
|
|
2210
2196
|
difficultyLevel: string;
|
|
@@ -2441,8 +2427,7 @@ export type GetApiAuthMeResponses = {
|
|
|
2441
2427
|
200: AuthMeResponseDto;
|
|
2442
2428
|
};
|
|
2443
2429
|
|
|
2444
|
-
export type GetApiAuthMeResponse =
|
|
2445
|
-
GetApiAuthMeResponses[keyof GetApiAuthMeResponses];
|
|
2430
|
+
export type GetApiAuthMeResponse = GetApiAuthMeResponses[keyof GetApiAuthMeResponses];
|
|
2446
2431
|
|
|
2447
2432
|
export type DeleteApiPlayersMeData = {
|
|
2448
2433
|
body?: never;
|
|
@@ -2483,8 +2468,7 @@ export type GetApiPlayersMeResponses = {
|
|
|
2483
2468
|
200: PlayerResponseDto;
|
|
2484
2469
|
};
|
|
2485
2470
|
|
|
2486
|
-
export type GetApiPlayersMeResponse =
|
|
2487
|
-
GetApiPlayersMeResponses[keyof GetApiPlayersMeResponses];
|
|
2471
|
+
export type GetApiPlayersMeResponse = GetApiPlayersMeResponses[keyof GetApiPlayersMeResponses];
|
|
2488
2472
|
|
|
2489
2473
|
export type PatchApiPlayersMeData = {
|
|
2490
2474
|
body: UpdatePlayerDto;
|
|
@@ -2734,8 +2718,7 @@ export type GetApiBillingMeResponses = {
|
|
|
2734
2718
|
200: BillingEntitlementResponseDto;
|
|
2735
2719
|
};
|
|
2736
2720
|
|
|
2737
|
-
export type GetApiBillingMeResponse =
|
|
2738
|
-
GetApiBillingMeResponses[keyof GetApiBillingMeResponses];
|
|
2721
|
+
export type GetApiBillingMeResponse = GetApiBillingMeResponses[keyof GetApiBillingMeResponses];
|
|
2739
2722
|
|
|
2740
2723
|
export type PostApiBillingAccessCodesRedeemData = {
|
|
2741
2724
|
body: RedeemAccessCodeDto;
|
|
@@ -3096,8 +3079,7 @@ export type GetApiProfileMeResponses = {
|
|
|
3096
3079
|
200: ProfileResponseDto;
|
|
3097
3080
|
};
|
|
3098
3081
|
|
|
3099
|
-
export type GetApiProfileMeResponse =
|
|
3100
|
-
GetApiProfileMeResponses[keyof GetApiProfileMeResponses];
|
|
3082
|
+
export type GetApiProfileMeResponse = GetApiProfileMeResponses[keyof GetApiProfileMeResponses];
|
|
3101
3083
|
|
|
3102
3084
|
export type PutApiProfileMeData = {
|
|
3103
3085
|
body: UpdateProfileDto;
|
|
@@ -3125,8 +3107,7 @@ export type PutApiProfileMeResponses = {
|
|
|
3125
3107
|
200: ProfileResponseDto;
|
|
3126
3108
|
};
|
|
3127
3109
|
|
|
3128
|
-
export type PutApiProfileMeResponse =
|
|
3129
|
-
PutApiProfileMeResponses[keyof PutApiProfileMeResponses];
|
|
3110
|
+
export type PutApiProfileMeResponse = PutApiProfileMeResponses[keyof PutApiProfileMeResponses];
|
|
3130
3111
|
|
|
3131
3112
|
export type GetApiAchievementsData = {
|
|
3132
3113
|
body?: never;
|
|
@@ -3261,8 +3242,7 @@ export type GetApiChallengesResponses = {
|
|
|
3261
3242
|
200: Array<ChallengeCatalogDto>;
|
|
3262
3243
|
};
|
|
3263
3244
|
|
|
3264
|
-
export type GetApiChallengesResponse =
|
|
3265
|
-
GetApiChallengesResponses[keyof GetApiChallengesResponses];
|
|
3245
|
+
export type GetApiChallengesResponse = GetApiChallengesResponses[keyof GetApiChallengesResponses];
|
|
3266
3246
|
|
|
3267
3247
|
export type GetApiChallengesMeData = {
|
|
3268
3248
|
body?: never;
|
|
@@ -3307,8 +3287,7 @@ export type GetApiClubsMeResponses = {
|
|
|
3307
3287
|
200: Array<ClubResponseDto>;
|
|
3308
3288
|
};
|
|
3309
3289
|
|
|
3310
|
-
export type GetApiClubsMeResponse =
|
|
3311
|
-
GetApiClubsMeResponses[keyof GetApiClubsMeResponses];
|
|
3290
|
+
export type GetApiClubsMeResponse = GetApiClubsMeResponses[keyof GetApiClubsMeResponses];
|
|
3312
3291
|
|
|
3313
3292
|
export type PostApiClubsMeData = {
|
|
3314
3293
|
body: CreateClubDto;
|
|
@@ -3328,8 +3307,7 @@ export type PostApiClubsMeResponses = {
|
|
|
3328
3307
|
201: ClubResponseDto;
|
|
3329
3308
|
};
|
|
3330
3309
|
|
|
3331
|
-
export type PostApiClubsMeResponse =
|
|
3332
|
-
PostApiClubsMeResponses[keyof PostApiClubsMeResponses];
|
|
3310
|
+
export type PostApiClubsMeResponse = PostApiClubsMeResponses[keyof PostApiClubsMeResponses];
|
|
3333
3311
|
|
|
3334
3312
|
export type DeleteApiClubsMeByIdData = {
|
|
3335
3313
|
body?: never;
|
|
@@ -3433,8 +3411,7 @@ export type PostApiDocumentsResponses = {
|
|
|
3433
3411
|
201: DocumentResponseDto;
|
|
3434
3412
|
};
|
|
3435
3413
|
|
|
3436
|
-
export type PostApiDocumentsResponse =
|
|
3437
|
-
PostApiDocumentsResponses[keyof PostApiDocumentsResponses];
|
|
3414
|
+
export type PostApiDocumentsResponse = PostApiDocumentsResponses[keyof PostApiDocumentsResponses];
|
|
3438
3415
|
|
|
3439
3416
|
export type DeleteApiDocumentsByIdData = {
|
|
3440
3417
|
body?: never;
|
|
@@ -3895,8 +3872,7 @@ export type PostApiKycStartResponses = {
|
|
|
3895
3872
|
200: StartKycResponseDto;
|
|
3896
3873
|
};
|
|
3897
3874
|
|
|
3898
|
-
export type PostApiKycStartResponse =
|
|
3899
|
-
PostApiKycStartResponses[keyof PostApiKycStartResponses];
|
|
3875
|
+
export type PostApiKycStartResponse = PostApiKycStartResponses[keyof PostApiKycStartResponses];
|
|
3900
3876
|
|
|
3901
3877
|
export type PostApiKycSmileLinkData = {
|
|
3902
3878
|
body: SmileLinkRequestDto;
|
|
@@ -3995,8 +3971,7 @@ export type PostApiKycCancelResponses = {
|
|
|
3995
3971
|
200: KycStatusDto;
|
|
3996
3972
|
};
|
|
3997
3973
|
|
|
3998
|
-
export type PostApiKycCancelResponse =
|
|
3999
|
-
PostApiKycCancelResponses[keyof PostApiKycCancelResponses];
|
|
3974
|
+
export type PostApiKycCancelResponse = PostApiKycCancelResponses[keyof PostApiKycCancelResponses];
|
|
4000
3975
|
|
|
4001
3976
|
export type GetApiKycStatusByUserIdData = {
|
|
4002
3977
|
body?: never;
|
|
@@ -4068,8 +4043,7 @@ export type GetApiTrainingResponses = {
|
|
|
4068
4043
|
200: PaginatedTrainingContentDto;
|
|
4069
4044
|
};
|
|
4070
4045
|
|
|
4071
|
-
export type GetApiTrainingResponse =
|
|
4072
|
-
GetApiTrainingResponses[keyof GetApiTrainingResponses];
|
|
4046
|
+
export type GetApiTrainingResponse = GetApiTrainingResponses[keyof GetApiTrainingResponses];
|
|
4073
4047
|
|
|
4074
4048
|
export type GetApiTrainingByIdData = {
|
|
4075
4049
|
body?: never;
|
|
@@ -4121,8 +4095,7 @@ export type GetApiVideosMeResponses = {
|
|
|
4121
4095
|
200: Array<VideoResponseDto>;
|
|
4122
4096
|
};
|
|
4123
4097
|
|
|
4124
|
-
export type GetApiVideosMeResponse =
|
|
4125
|
-
GetApiVideosMeResponses[keyof GetApiVideosMeResponses];
|
|
4098
|
+
export type GetApiVideosMeResponse = GetApiVideosMeResponses[keyof GetApiVideosMeResponses];
|
|
4126
4099
|
|
|
4127
4100
|
export type PostApiVideosData = {
|
|
4128
4101
|
body: CreateVideoDto;
|
|
@@ -4149,8 +4122,7 @@ export type PostApiVideosResponses = {
|
|
|
4149
4122
|
201: VideoResponseDto;
|
|
4150
4123
|
};
|
|
4151
4124
|
|
|
4152
|
-
export type PostApiVideosResponse =
|
|
4153
|
-
PostApiVideosResponses[keyof PostApiVideosResponses];
|
|
4125
|
+
export type PostApiVideosResponse = PostApiVideosResponses[keyof PostApiVideosResponses];
|
|
4154
4126
|
|
|
4155
4127
|
export type GetApiVideosByIdPlayUrlData = {
|
|
4156
4128
|
body?: never;
|