@globalscoutme/api-client 1.2.6 → 1.3.0
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/dist/index.d.ts +2 -2
- package/dist/index.js +1 -1
- package/dist/sdk.gen.d.ts +74 -2
- package/dist/sdk.gen.js +169 -0
- package/dist/types.gen.d.ts +528 -1
- package/index.ts +85 -0
- package/package.json +1 -1
- package/sdk.gen.ts +320 -1
- package/types.gen.ts +634 -1
package/types.gen.ts
CHANGED
|
@@ -21,6 +21,14 @@ export type AuthMeResponseDto = {
|
|
|
21
21
|
* Preferred application and generated-content locale. Null until first selected.
|
|
22
22
|
*/
|
|
23
23
|
preferredLocale?: 'en' | 'es' | 'fr' | 'de' | 'ro';
|
|
24
|
+
/**
|
|
25
|
+
* Whether this account can access the Super Admin portal.
|
|
26
|
+
*/
|
|
27
|
+
isSuperAdmin: boolean;
|
|
28
|
+
/**
|
|
29
|
+
* Current account lifecycle status.
|
|
30
|
+
*/
|
|
31
|
+
accountStatus: 'active' | 'pending' | 'suspended' | 'deactivated';
|
|
24
32
|
};
|
|
25
33
|
|
|
26
34
|
export type UpdateLocalePreferenceDto = {
|
|
@@ -1049,6 +1057,38 @@ export type RedeemAccessCodeDto = {
|
|
|
1049
1057
|
code: string;
|
|
1050
1058
|
};
|
|
1051
1059
|
|
|
1060
|
+
export type RedeemAccessCodeResponseDto = {
|
|
1061
|
+
hasAccess: boolean;
|
|
1062
|
+
status: string;
|
|
1063
|
+
provider?: string | null;
|
|
1064
|
+
plan?: BillingPlanDto | null;
|
|
1065
|
+
currentPeriodEnd?: string | null;
|
|
1066
|
+
gracePeriodUntil?: string | null;
|
|
1067
|
+
blockingReason?: string | null;
|
|
1068
|
+
manageAction: BillingManageActionDto;
|
|
1069
|
+
redemptionOutcome?: 'redeemed' | 'already_redeemed';
|
|
1070
|
+
};
|
|
1071
|
+
|
|
1072
|
+
export type AccessCodeBadRequestResponseDto = {
|
|
1073
|
+
statusCode: number;
|
|
1074
|
+
error: string;
|
|
1075
|
+
code?:
|
|
1076
|
+
| 'ACCESS_CODE_REQUIRED'
|
|
1077
|
+
| 'ACCESS_CODE_INVALID'
|
|
1078
|
+
| 'ACCESS_CODE_INACTIVE'
|
|
1079
|
+
| 'ACCESS_CODE_NOT_ACTIVE_YET'
|
|
1080
|
+
| 'ACCESS_CODE_EXPIRED'
|
|
1081
|
+
| 'ACCESS_CODE_REDEMPTION_LIMIT_REACHED'
|
|
1082
|
+
| 'ACCESS_CODE_MISCONFIGURED';
|
|
1083
|
+
message: string;
|
|
1084
|
+
};
|
|
1085
|
+
|
|
1086
|
+
export type AccessCodeConflictResponseDto = {
|
|
1087
|
+
statusCode: number;
|
|
1088
|
+
code: 'ACCESS_CODE_ALREADY_REDEEMED' | 'ACTIVE_BILLING_ACCESS_EXISTS';
|
|
1089
|
+
message: string;
|
|
1090
|
+
};
|
|
1091
|
+
|
|
1052
1092
|
export type ReportPurchaseDto = {
|
|
1053
1093
|
id: string;
|
|
1054
1094
|
paymentStatus: string;
|
|
@@ -2827,6 +2867,274 @@ export type UpdateGlobalChatNotificationsDto = {
|
|
|
2827
2867
|
notificationsEnabled: boolean;
|
|
2828
2868
|
};
|
|
2829
2869
|
|
|
2870
|
+
export type AdminMetricDto = {
|
|
2871
|
+
current: number;
|
|
2872
|
+
periodCount: number;
|
|
2873
|
+
byRole?: {
|
|
2874
|
+
[key: string]: number;
|
|
2875
|
+
};
|
|
2876
|
+
};
|
|
2877
|
+
|
|
2878
|
+
export type AdminDashboardMetricsDto = {
|
|
2879
|
+
registeredUsers: AdminMetricDto;
|
|
2880
|
+
activeSubscriptions: AdminMetricDto;
|
|
2881
|
+
pendingKyc: AdminMetricDto;
|
|
2882
|
+
verifiedKyc: AdminMetricDto;
|
|
2883
|
+
videosUploaded: AdminMetricDto;
|
|
2884
|
+
aiReports: AdminMetricDto;
|
|
2885
|
+
bodyMeasurements: AdminMetricDto;
|
|
2886
|
+
speedSprintTests: AdminMetricDto;
|
|
2887
|
+
};
|
|
2888
|
+
|
|
2889
|
+
export type AdminActivityBucketDto = {
|
|
2890
|
+
bucketStart: string;
|
|
2891
|
+
registrations: number;
|
|
2892
|
+
videos: number;
|
|
2893
|
+
aiReports: number;
|
|
2894
|
+
bodyMeasurements: number;
|
|
2895
|
+
speedSprintTests: number;
|
|
2896
|
+
};
|
|
2897
|
+
|
|
2898
|
+
export type AdminSubscriptionHealthDto = {
|
|
2899
|
+
role: string;
|
|
2900
|
+
active: number;
|
|
2901
|
+
cancelled: number;
|
|
2902
|
+
expired: number;
|
|
2903
|
+
};
|
|
2904
|
+
|
|
2905
|
+
export type AdminDashboardResponseDto = {
|
|
2906
|
+
range: '7d' | '30d' | '3mo';
|
|
2907
|
+
generatedAt: string;
|
|
2908
|
+
metrics: AdminDashboardMetricsDto;
|
|
2909
|
+
activity: Array<AdminActivityBucketDto>;
|
|
2910
|
+
subscriptionHealth: Array<AdminSubscriptionHealthDto>;
|
|
2911
|
+
};
|
|
2912
|
+
|
|
2913
|
+
export type AdminUserListItemDto = {
|
|
2914
|
+
id: string;
|
|
2915
|
+
name: string;
|
|
2916
|
+
email: string;
|
|
2917
|
+
role: string | null;
|
|
2918
|
+
countryCode: string | null;
|
|
2919
|
+
country: string | null;
|
|
2920
|
+
accountStatus: 'active' | 'pending' | 'suspended' | 'deactivated';
|
|
2921
|
+
kycStatus: string;
|
|
2922
|
+
subscriptionStatus: string;
|
|
2923
|
+
registrationDate: string | null;
|
|
2924
|
+
isSuperAdmin: boolean;
|
|
2925
|
+
};
|
|
2926
|
+
|
|
2927
|
+
export type AdminUserListResultDto = {
|
|
2928
|
+
items: Array<AdminUserListItemDto>;
|
|
2929
|
+
/**
|
|
2930
|
+
* Total matching records
|
|
2931
|
+
*/
|
|
2932
|
+
total: number;
|
|
2933
|
+
page: number;
|
|
2934
|
+
pageSize: number;
|
|
2935
|
+
};
|
|
2936
|
+
|
|
2937
|
+
export type AdminUserDetailDto = {
|
|
2938
|
+
id: string;
|
|
2939
|
+
name: string;
|
|
2940
|
+
email: string;
|
|
2941
|
+
role: string | null;
|
|
2942
|
+
countryCode: string | null;
|
|
2943
|
+
country: string | null;
|
|
2944
|
+
accountStatus: 'active' | 'pending' | 'suspended' | 'deactivated';
|
|
2945
|
+
kycStatus: string;
|
|
2946
|
+
subscriptionStatus: string;
|
|
2947
|
+
registrationDate: string | null;
|
|
2948
|
+
isSuperAdmin: boolean;
|
|
2949
|
+
};
|
|
2950
|
+
|
|
2951
|
+
export type AdminSubscriptionListItemDto = {
|
|
2952
|
+
id: string;
|
|
2953
|
+
userId: string;
|
|
2954
|
+
userName: string;
|
|
2955
|
+
email: string;
|
|
2956
|
+
role: string | null;
|
|
2957
|
+
plan: string;
|
|
2958
|
+
planInterval: string | null;
|
|
2959
|
+
platform: string;
|
|
2960
|
+
price: number;
|
|
2961
|
+
currency: string;
|
|
2962
|
+
status: string;
|
|
2963
|
+
cancelsAtPeriodEnd: boolean;
|
|
2964
|
+
startDate: string | null;
|
|
2965
|
+
nextBillingDate: string | null;
|
|
2966
|
+
externalUrl: string | null;
|
|
2967
|
+
};
|
|
2968
|
+
|
|
2969
|
+
export type AdminSubscriptionListResultDto = {
|
|
2970
|
+
items: Array<AdminSubscriptionListItemDto>;
|
|
2971
|
+
/**
|
|
2972
|
+
* Total matching records
|
|
2973
|
+
*/
|
|
2974
|
+
total: number;
|
|
2975
|
+
page: number;
|
|
2976
|
+
pageSize: number;
|
|
2977
|
+
};
|
|
2978
|
+
|
|
2979
|
+
export type AdminKycListItemDto = {
|
|
2980
|
+
id: string;
|
|
2981
|
+
userId: string;
|
|
2982
|
+
userName: string;
|
|
2983
|
+
email: string;
|
|
2984
|
+
role: string | null;
|
|
2985
|
+
country: string | null;
|
|
2986
|
+
status: string;
|
|
2987
|
+
provider: string;
|
|
2988
|
+
submittedAt: string | null;
|
|
2989
|
+
updatedAt: string | null;
|
|
2990
|
+
};
|
|
2991
|
+
|
|
2992
|
+
export type AdminKycListResultDto = {
|
|
2993
|
+
items: Array<AdminKycListItemDto>;
|
|
2994
|
+
/**
|
|
2995
|
+
* Total matching records
|
|
2996
|
+
*/
|
|
2997
|
+
total: number;
|
|
2998
|
+
page: number;
|
|
2999
|
+
pageSize: number;
|
|
3000
|
+
};
|
|
3001
|
+
|
|
3002
|
+
export type AdminAccessCodePlanDto = {
|
|
3003
|
+
id: string;
|
|
3004
|
+
name: string;
|
|
3005
|
+
role: string | null;
|
|
3006
|
+
};
|
|
3007
|
+
|
|
3008
|
+
export type AdminAccessCodeDto = {
|
|
3009
|
+
id: string;
|
|
3010
|
+
code: string | null;
|
|
3011
|
+
description: string | null;
|
|
3012
|
+
codeSuffix: string | null;
|
|
3013
|
+
planId: string;
|
|
3014
|
+
planName: string;
|
|
3015
|
+
role: string | null;
|
|
3016
|
+
durationDays: number;
|
|
3017
|
+
startsAt: string | null;
|
|
3018
|
+
expiresAt: string | null;
|
|
3019
|
+
maxRedemptions: number | null;
|
|
3020
|
+
redemptionCount: number;
|
|
3021
|
+
isActive: boolean;
|
|
3022
|
+
status: 'scheduled' | 'active' | 'inactive' | 'expired' | 'exhausted';
|
|
3023
|
+
createdAt: string;
|
|
3024
|
+
};
|
|
3025
|
+
|
|
3026
|
+
export type AdminAccessCodeListResultDto = {
|
|
3027
|
+
items: Array<AdminAccessCodeDto>;
|
|
3028
|
+
/**
|
|
3029
|
+
* Total matching records
|
|
3030
|
+
*/
|
|
3031
|
+
total: number;
|
|
3032
|
+
page: number;
|
|
3033
|
+
pageSize: number;
|
|
3034
|
+
};
|
|
3035
|
+
|
|
3036
|
+
export type AdminCreateAccessCodeDto = {
|
|
3037
|
+
planId: string;
|
|
3038
|
+
description?: string;
|
|
3039
|
+
durationDays: number;
|
|
3040
|
+
startsAt?: string | null;
|
|
3041
|
+
expiresAt?: string | null;
|
|
3042
|
+
maxRedemptions?: number | null;
|
|
3043
|
+
};
|
|
3044
|
+
|
|
3045
|
+
export type AdminCreateAccessCodeResponseDto = {
|
|
3046
|
+
id: string;
|
|
3047
|
+
/**
|
|
3048
|
+
* Generated access code visible to Super Admins.
|
|
3049
|
+
*/
|
|
3050
|
+
code: string | null;
|
|
3051
|
+
description: string | null;
|
|
3052
|
+
codeSuffix: string | null;
|
|
3053
|
+
planId: string;
|
|
3054
|
+
planName: string;
|
|
3055
|
+
role: string | null;
|
|
3056
|
+
durationDays: number;
|
|
3057
|
+
startsAt: string | null;
|
|
3058
|
+
expiresAt: string | null;
|
|
3059
|
+
maxRedemptions: number | null;
|
|
3060
|
+
redemptionCount: number;
|
|
3061
|
+
isActive: boolean;
|
|
3062
|
+
status: 'scheduled' | 'active' | 'inactive' | 'expired' | 'exhausted';
|
|
3063
|
+
createdAt: string;
|
|
3064
|
+
};
|
|
3065
|
+
|
|
3066
|
+
export type AdminSetAccessCodeStateDto = {
|
|
3067
|
+
isActive: boolean;
|
|
3068
|
+
reason?: string;
|
|
3069
|
+
};
|
|
3070
|
+
|
|
3071
|
+
export type AdminAccessCodeRedemptionDto = {
|
|
3072
|
+
id: string;
|
|
3073
|
+
userId: string;
|
|
3074
|
+
userName: string;
|
|
3075
|
+
email: string;
|
|
3076
|
+
redeemedAt: string;
|
|
3077
|
+
startsAt: string;
|
|
3078
|
+
endsAt: string;
|
|
3079
|
+
};
|
|
3080
|
+
|
|
3081
|
+
export type AdminAccessCodeRedemptionListResultDto = {
|
|
3082
|
+
items: Array<AdminAccessCodeRedemptionDto>;
|
|
3083
|
+
/**
|
|
3084
|
+
* Total matching records
|
|
3085
|
+
*/
|
|
3086
|
+
total: number;
|
|
3087
|
+
page: number;
|
|
3088
|
+
pageSize: number;
|
|
3089
|
+
};
|
|
3090
|
+
|
|
3091
|
+
export type AdminUserAccessDto = {
|
|
3092
|
+
hasAccess: boolean;
|
|
3093
|
+
status: string;
|
|
3094
|
+
provider: string | null;
|
|
3095
|
+
planId: string | null;
|
|
3096
|
+
planName: string | null;
|
|
3097
|
+
startsAt: string | null;
|
|
3098
|
+
endsAt: string | null;
|
|
3099
|
+
adminGrantId: string | null;
|
|
3100
|
+
};
|
|
3101
|
+
|
|
3102
|
+
export type AdminGrantAccessDto = {
|
|
3103
|
+
planId: string;
|
|
3104
|
+
durationDays: number;
|
|
3105
|
+
reason?: string;
|
|
3106
|
+
};
|
|
3107
|
+
|
|
3108
|
+
export type AdminAccessGrantDto = {
|
|
3109
|
+
id: string;
|
|
3110
|
+
userId: string;
|
|
3111
|
+
planId: string;
|
|
3112
|
+
planName: string;
|
|
3113
|
+
startsAt: string;
|
|
3114
|
+
endsAt: string;
|
|
3115
|
+
status: 'active' | 'revoked';
|
|
3116
|
+
};
|
|
3117
|
+
|
|
3118
|
+
export type AdminRevokeAccessGrantDto = {
|
|
3119
|
+
reason?: string;
|
|
3120
|
+
};
|
|
3121
|
+
|
|
3122
|
+
export type AdminUserActionRequestDto = {
|
|
3123
|
+
/**
|
|
3124
|
+
* Optional reason stored in the audit trail
|
|
3125
|
+
*/
|
|
3126
|
+
reason?: string;
|
|
3127
|
+
};
|
|
3128
|
+
|
|
3129
|
+
export type AdminAccountActionResponseDto = {
|
|
3130
|
+
accountStatus: 'active' | 'pending' | 'suspended' | 'deactivated';
|
|
3131
|
+
authSyncStatus: 'succeeded' | 'failed';
|
|
3132
|
+
};
|
|
3133
|
+
|
|
3134
|
+
export type AdminPasswordResetResponseDto = {
|
|
3135
|
+
deliveryStatus: 'succeeded' | 'failed';
|
|
3136
|
+
};
|
|
3137
|
+
|
|
2830
3138
|
export type GetApiAuthMeData = {
|
|
2831
3139
|
body?: never;
|
|
2832
3140
|
path?: never;
|
|
@@ -3060,6 +3368,9 @@ export type GetApiPlayersByIdVideoMetricsResponse =
|
|
|
3060
3368
|
|
|
3061
3369
|
export type GetApiPlayersByIdReportPdfData = {
|
|
3062
3370
|
body?: never;
|
|
3371
|
+
headers?: {
|
|
3372
|
+
'Accept-Language'?: 'en' | 'es' | 'fr' | 'de' | 'ro';
|
|
3373
|
+
};
|
|
3063
3374
|
path: {
|
|
3064
3375
|
id: string;
|
|
3065
3376
|
};
|
|
@@ -3087,6 +3398,9 @@ export type GetApiPlayersByIdReportPdfResponse =
|
|
|
3087
3398
|
|
|
3088
3399
|
export type GetApiPlayersByIdReportData = {
|
|
3089
3400
|
body?: never;
|
|
3401
|
+
headers?: {
|
|
3402
|
+
'Accept-Language'?: 'en' | 'es' | 'fr' | 'de' | 'ro';
|
|
3403
|
+
};
|
|
3090
3404
|
path: {
|
|
3091
3405
|
id: string;
|
|
3092
3406
|
};
|
|
@@ -3164,6 +3478,9 @@ export type PostApiPlayersByIdWatchlistResponse =
|
|
|
3164
3478
|
|
|
3165
3479
|
export type GetApiPlayersByIdData = {
|
|
3166
3480
|
body?: never;
|
|
3481
|
+
headers?: {
|
|
3482
|
+
'Accept-Language'?: 'en' | 'es' | 'fr' | 'de' | 'ro';
|
|
3483
|
+
};
|
|
3167
3484
|
path: {
|
|
3168
3485
|
id: string;
|
|
3169
3486
|
};
|
|
@@ -3250,11 +3567,25 @@ export type PostApiBillingAccessCodesRedeemData = {
|
|
|
3250
3567
|
url: '/api/billing/access-codes/redeem';
|
|
3251
3568
|
};
|
|
3252
3569
|
|
|
3570
|
+
export type PostApiBillingAccessCodesRedeemErrors = {
|
|
3571
|
+
/**
|
|
3572
|
+
* The code is invalid, inactive, not yet active, expired, or unavailable
|
|
3573
|
+
*/
|
|
3574
|
+
400: AccessCodeBadRequestResponseDto;
|
|
3575
|
+
/**
|
|
3576
|
+
* The code was already redeemed or another entitlement is still active
|
|
3577
|
+
*/
|
|
3578
|
+
409: AccessCodeConflictResponseDto;
|
|
3579
|
+
};
|
|
3580
|
+
|
|
3581
|
+
export type PostApiBillingAccessCodesRedeemError =
|
|
3582
|
+
PostApiBillingAccessCodesRedeemErrors[keyof PostApiBillingAccessCodesRedeemErrors];
|
|
3583
|
+
|
|
3253
3584
|
export type PostApiBillingAccessCodesRedeemResponses = {
|
|
3254
3585
|
/**
|
|
3255
3586
|
* Redeemed access entitlement
|
|
3256
3587
|
*/
|
|
3257
|
-
201:
|
|
3588
|
+
201: RedeemAccessCodeResponseDto;
|
|
3258
3589
|
};
|
|
3259
3590
|
|
|
3260
3591
|
export type PostApiBillingAccessCodesRedeemResponse =
|
|
@@ -5356,3 +5687,305 @@ export type PatchApiGlobalChatNotificationsResponses = {
|
|
|
5356
5687
|
|
|
5357
5688
|
export type PatchApiGlobalChatNotificationsResponse =
|
|
5358
5689
|
PatchApiGlobalChatNotificationsResponses[keyof PatchApiGlobalChatNotificationsResponses];
|
|
5690
|
+
|
|
5691
|
+
export type GetApiAdminDashboardData = {
|
|
5692
|
+
body?: never;
|
|
5693
|
+
path?: never;
|
|
5694
|
+
query?: {
|
|
5695
|
+
range?: '7d' | '30d' | '3mo';
|
|
5696
|
+
};
|
|
5697
|
+
url: '/api/admin/dashboard';
|
|
5698
|
+
};
|
|
5699
|
+
|
|
5700
|
+
export type GetApiAdminDashboardErrors = {
|
|
5701
|
+
/**
|
|
5702
|
+
* Unauthorized
|
|
5703
|
+
*/
|
|
5704
|
+
401: unknown;
|
|
5705
|
+
/**
|
|
5706
|
+
* Super Admin access required
|
|
5707
|
+
*/
|
|
5708
|
+
403: unknown;
|
|
5709
|
+
};
|
|
5710
|
+
|
|
5711
|
+
export type GetApiAdminDashboardResponses = {
|
|
5712
|
+
200: AdminDashboardResponseDto;
|
|
5713
|
+
};
|
|
5714
|
+
|
|
5715
|
+
export type GetApiAdminDashboardResponse =
|
|
5716
|
+
GetApiAdminDashboardResponses[keyof GetApiAdminDashboardResponses];
|
|
5717
|
+
|
|
5718
|
+
export type GetApiAdminUsersData = {
|
|
5719
|
+
body?: never;
|
|
5720
|
+
path?: never;
|
|
5721
|
+
query?: {
|
|
5722
|
+
page?: number;
|
|
5723
|
+
pageSize?: number;
|
|
5724
|
+
search?: string;
|
|
5725
|
+
role?: string;
|
|
5726
|
+
status?: 'active' | 'pending' | 'suspended' | 'deactivated';
|
|
5727
|
+
subscriptionStatus?: string;
|
|
5728
|
+
country?: string;
|
|
5729
|
+
};
|
|
5730
|
+
url: '/api/admin/users';
|
|
5731
|
+
};
|
|
5732
|
+
|
|
5733
|
+
export type GetApiAdminUsersResponses = {
|
|
5734
|
+
200: AdminUserListResultDto;
|
|
5735
|
+
};
|
|
5736
|
+
|
|
5737
|
+
export type GetApiAdminUsersResponse = GetApiAdminUsersResponses[keyof GetApiAdminUsersResponses];
|
|
5738
|
+
|
|
5739
|
+
export type GetApiAdminUsersByIdData = {
|
|
5740
|
+
body?: never;
|
|
5741
|
+
path: {
|
|
5742
|
+
id: string;
|
|
5743
|
+
};
|
|
5744
|
+
query?: never;
|
|
5745
|
+
url: '/api/admin/users/{id}';
|
|
5746
|
+
};
|
|
5747
|
+
|
|
5748
|
+
export type GetApiAdminUsersByIdErrors = {
|
|
5749
|
+
/**
|
|
5750
|
+
* User not found
|
|
5751
|
+
*/
|
|
5752
|
+
404: unknown;
|
|
5753
|
+
};
|
|
5754
|
+
|
|
5755
|
+
export type GetApiAdminUsersByIdResponses = {
|
|
5756
|
+
200: AdminUserDetailDto;
|
|
5757
|
+
};
|
|
5758
|
+
|
|
5759
|
+
export type GetApiAdminUsersByIdResponse =
|
|
5760
|
+
GetApiAdminUsersByIdResponses[keyof GetApiAdminUsersByIdResponses];
|
|
5761
|
+
|
|
5762
|
+
export type GetApiAdminSubscriptionsData = {
|
|
5763
|
+
body?: never;
|
|
5764
|
+
path?: never;
|
|
5765
|
+
query?: {
|
|
5766
|
+
page?: number;
|
|
5767
|
+
pageSize?: number;
|
|
5768
|
+
search?: string;
|
|
5769
|
+
role?: string;
|
|
5770
|
+
plan?: string;
|
|
5771
|
+
status?: string;
|
|
5772
|
+
};
|
|
5773
|
+
url: '/api/admin/subscriptions';
|
|
5774
|
+
};
|
|
5775
|
+
|
|
5776
|
+
export type GetApiAdminSubscriptionsResponses = {
|
|
5777
|
+
200: AdminSubscriptionListResultDto;
|
|
5778
|
+
};
|
|
5779
|
+
|
|
5780
|
+
export type GetApiAdminSubscriptionsResponse =
|
|
5781
|
+
GetApiAdminSubscriptionsResponses[keyof GetApiAdminSubscriptionsResponses];
|
|
5782
|
+
|
|
5783
|
+
export type GetApiAdminKycData = {
|
|
5784
|
+
body?: never;
|
|
5785
|
+
path?: never;
|
|
5786
|
+
query?: {
|
|
5787
|
+
page?: number;
|
|
5788
|
+
pageSize?: number;
|
|
5789
|
+
search?: string;
|
|
5790
|
+
status?: string;
|
|
5791
|
+
country?: string;
|
|
5792
|
+
};
|
|
5793
|
+
url: '/api/admin/kyc';
|
|
5794
|
+
};
|
|
5795
|
+
|
|
5796
|
+
export type GetApiAdminKycResponses = {
|
|
5797
|
+
200: AdminKycListResultDto;
|
|
5798
|
+
};
|
|
5799
|
+
|
|
5800
|
+
export type GetApiAdminKycResponse = GetApiAdminKycResponses[keyof GetApiAdminKycResponses];
|
|
5801
|
+
|
|
5802
|
+
export type GetApiAdminAccessCodesPlansData = {
|
|
5803
|
+
body?: never;
|
|
5804
|
+
path?: never;
|
|
5805
|
+
query?: never;
|
|
5806
|
+
url: '/api/admin/access-codes/plans';
|
|
5807
|
+
};
|
|
5808
|
+
|
|
5809
|
+
export type GetApiAdminAccessCodesPlansResponses = {
|
|
5810
|
+
200: Array<AdminAccessCodePlanDto>;
|
|
5811
|
+
};
|
|
5812
|
+
|
|
5813
|
+
export type GetApiAdminAccessCodesPlansResponse =
|
|
5814
|
+
GetApiAdminAccessCodesPlansResponses[keyof GetApiAdminAccessCodesPlansResponses];
|
|
5815
|
+
|
|
5816
|
+
export type GetApiAdminAccessCodesData = {
|
|
5817
|
+
body?: never;
|
|
5818
|
+
path?: never;
|
|
5819
|
+
query?: {
|
|
5820
|
+
page?: number;
|
|
5821
|
+
pageSize?: number;
|
|
5822
|
+
status?: 'scheduled' | 'active' | 'inactive' | 'expired' | 'exhausted';
|
|
5823
|
+
};
|
|
5824
|
+
url: '/api/admin/access-codes';
|
|
5825
|
+
};
|
|
5826
|
+
|
|
5827
|
+
export type GetApiAdminAccessCodesResponses = {
|
|
5828
|
+
200: AdminAccessCodeListResultDto;
|
|
5829
|
+
};
|
|
5830
|
+
|
|
5831
|
+
export type GetApiAdminAccessCodesResponse =
|
|
5832
|
+
GetApiAdminAccessCodesResponses[keyof GetApiAdminAccessCodesResponses];
|
|
5833
|
+
|
|
5834
|
+
export type PostApiAdminAccessCodesData = {
|
|
5835
|
+
body: AdminCreateAccessCodeDto;
|
|
5836
|
+
path?: never;
|
|
5837
|
+
query?: never;
|
|
5838
|
+
url: '/api/admin/access-codes';
|
|
5839
|
+
};
|
|
5840
|
+
|
|
5841
|
+
export type PostApiAdminAccessCodesResponses = {
|
|
5842
|
+
201: AdminCreateAccessCodeResponseDto;
|
|
5843
|
+
};
|
|
5844
|
+
|
|
5845
|
+
export type PostApiAdminAccessCodesResponse =
|
|
5846
|
+
PostApiAdminAccessCodesResponses[keyof PostApiAdminAccessCodesResponses];
|
|
5847
|
+
|
|
5848
|
+
export type PatchApiAdminAccessCodesByIdData = {
|
|
5849
|
+
body: AdminSetAccessCodeStateDto;
|
|
5850
|
+
path: {
|
|
5851
|
+
id: string;
|
|
5852
|
+
};
|
|
5853
|
+
query?: never;
|
|
5854
|
+
url: '/api/admin/access-codes/{id}';
|
|
5855
|
+
};
|
|
5856
|
+
|
|
5857
|
+
export type PatchApiAdminAccessCodesByIdResponses = {
|
|
5858
|
+
200: AdminAccessCodeDto;
|
|
5859
|
+
};
|
|
5860
|
+
|
|
5861
|
+
export type PatchApiAdminAccessCodesByIdResponse =
|
|
5862
|
+
PatchApiAdminAccessCodesByIdResponses[keyof PatchApiAdminAccessCodesByIdResponses];
|
|
5863
|
+
|
|
5864
|
+
export type GetApiAdminAccessCodesByIdRedemptionsData = {
|
|
5865
|
+
body?: never;
|
|
5866
|
+
path: {
|
|
5867
|
+
id: string;
|
|
5868
|
+
};
|
|
5869
|
+
query: {
|
|
5870
|
+
page: number;
|
|
5871
|
+
pageSize: number;
|
|
5872
|
+
};
|
|
5873
|
+
url: '/api/admin/access-codes/{id}/redemptions';
|
|
5874
|
+
};
|
|
5875
|
+
|
|
5876
|
+
export type GetApiAdminAccessCodesByIdRedemptionsResponses = {
|
|
5877
|
+
200: AdminAccessCodeRedemptionListResultDto;
|
|
5878
|
+
};
|
|
5879
|
+
|
|
5880
|
+
export type GetApiAdminAccessCodesByIdRedemptionsResponse =
|
|
5881
|
+
GetApiAdminAccessCodesByIdRedemptionsResponses[keyof GetApiAdminAccessCodesByIdRedemptionsResponses];
|
|
5882
|
+
|
|
5883
|
+
export type GetApiAdminUsersByIdAccessData = {
|
|
5884
|
+
body?: never;
|
|
5885
|
+
path: {
|
|
5886
|
+
id: string;
|
|
5887
|
+
};
|
|
5888
|
+
query?: never;
|
|
5889
|
+
url: '/api/admin/users/{id}/access';
|
|
5890
|
+
};
|
|
5891
|
+
|
|
5892
|
+
export type GetApiAdminUsersByIdAccessResponses = {
|
|
5893
|
+
200: AdminUserAccessDto;
|
|
5894
|
+
};
|
|
5895
|
+
|
|
5896
|
+
export type GetApiAdminUsersByIdAccessResponse =
|
|
5897
|
+
GetApiAdminUsersByIdAccessResponses[keyof GetApiAdminUsersByIdAccessResponses];
|
|
5898
|
+
|
|
5899
|
+
export type PostApiAdminUsersByIdAccessGrantsData = {
|
|
5900
|
+
body: AdminGrantAccessDto;
|
|
5901
|
+
path: {
|
|
5902
|
+
id: string;
|
|
5903
|
+
};
|
|
5904
|
+
query?: never;
|
|
5905
|
+
url: '/api/admin/users/{id}/access-grants';
|
|
5906
|
+
};
|
|
5907
|
+
|
|
5908
|
+
export type PostApiAdminUsersByIdAccessGrantsResponses = {
|
|
5909
|
+
201: AdminAccessGrantDto;
|
|
5910
|
+
};
|
|
5911
|
+
|
|
5912
|
+
export type PostApiAdminUsersByIdAccessGrantsResponse =
|
|
5913
|
+
PostApiAdminUsersByIdAccessGrantsResponses[keyof PostApiAdminUsersByIdAccessGrantsResponses];
|
|
5914
|
+
|
|
5915
|
+
export type PostApiAdminUsersByIdAccessGrantsByGrantIdRevokeData = {
|
|
5916
|
+
body: AdminRevokeAccessGrantDto;
|
|
5917
|
+
path: {
|
|
5918
|
+
id: string;
|
|
5919
|
+
grantId: string;
|
|
5920
|
+
};
|
|
5921
|
+
query?: never;
|
|
5922
|
+
url: '/api/admin/users/{id}/access-grants/{grantId}/revoke';
|
|
5923
|
+
};
|
|
5924
|
+
|
|
5925
|
+
export type PostApiAdminUsersByIdAccessGrantsByGrantIdRevokeResponses = {
|
|
5926
|
+
201: unknown;
|
|
5927
|
+
};
|
|
5928
|
+
|
|
5929
|
+
export type PostApiAdminUsersByIdSuspendData = {
|
|
5930
|
+
body: AdminUserActionRequestDto;
|
|
5931
|
+
path: {
|
|
5932
|
+
id: string;
|
|
5933
|
+
};
|
|
5934
|
+
query?: never;
|
|
5935
|
+
url: '/api/admin/users/{id}/suspend';
|
|
5936
|
+
};
|
|
5937
|
+
|
|
5938
|
+
export type PostApiAdminUsersByIdSuspendResponses = {
|
|
5939
|
+
201: AdminAccountActionResponseDto;
|
|
5940
|
+
};
|
|
5941
|
+
|
|
5942
|
+
export type PostApiAdminUsersByIdSuspendResponse =
|
|
5943
|
+
PostApiAdminUsersByIdSuspendResponses[keyof PostApiAdminUsersByIdSuspendResponses];
|
|
5944
|
+
|
|
5945
|
+
export type PostApiAdminUsersByIdReactivateData = {
|
|
5946
|
+
body: AdminUserActionRequestDto;
|
|
5947
|
+
path: {
|
|
5948
|
+
id: string;
|
|
5949
|
+
};
|
|
5950
|
+
query?: never;
|
|
5951
|
+
url: '/api/admin/users/{id}/reactivate';
|
|
5952
|
+
};
|
|
5953
|
+
|
|
5954
|
+
export type PostApiAdminUsersByIdReactivateResponses = {
|
|
5955
|
+
201: AdminAccountActionResponseDto;
|
|
5956
|
+
};
|
|
5957
|
+
|
|
5958
|
+
export type PostApiAdminUsersByIdReactivateResponse =
|
|
5959
|
+
PostApiAdminUsersByIdReactivateResponses[keyof PostApiAdminUsersByIdReactivateResponses];
|
|
5960
|
+
|
|
5961
|
+
export type PostApiAdminUsersByIdResetPasswordData = {
|
|
5962
|
+
body: AdminUserActionRequestDto;
|
|
5963
|
+
path: {
|
|
5964
|
+
id: string;
|
|
5965
|
+
};
|
|
5966
|
+
query?: never;
|
|
5967
|
+
url: '/api/admin/users/{id}/reset-password';
|
|
5968
|
+
};
|
|
5969
|
+
|
|
5970
|
+
export type PostApiAdminUsersByIdResetPasswordResponses = {
|
|
5971
|
+
201: AdminPasswordResetResponseDto;
|
|
5972
|
+
};
|
|
5973
|
+
|
|
5974
|
+
export type PostApiAdminUsersByIdResetPasswordResponse =
|
|
5975
|
+
PostApiAdminUsersByIdResetPasswordResponses[keyof PostApiAdminUsersByIdResetPasswordResponses];
|
|
5976
|
+
|
|
5977
|
+
export type PostApiAdminUsersByIdDeactivateData = {
|
|
5978
|
+
body: AdminUserActionRequestDto;
|
|
5979
|
+
path: {
|
|
5980
|
+
id: string;
|
|
5981
|
+
};
|
|
5982
|
+
query?: never;
|
|
5983
|
+
url: '/api/admin/users/{id}/deactivate';
|
|
5984
|
+
};
|
|
5985
|
+
|
|
5986
|
+
export type PostApiAdminUsersByIdDeactivateResponses = {
|
|
5987
|
+
201: AdminAccountActionResponseDto;
|
|
5988
|
+
};
|
|
5989
|
+
|
|
5990
|
+
export type PostApiAdminUsersByIdDeactivateResponse =
|
|
5991
|
+
PostApiAdminUsersByIdDeactivateResponses[keyof PostApiAdminUsersByIdDeactivateResponses];
|