@accelbyte/sdk 0.1.1-alpha.42 → 0.1.1-alpha.45
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/CHANGELOG.md +12 -0
- package/dist/index.browser.es.js +42240 -0
- package/dist/index.browser.es.js.map +1 -0
- package/dist/index.d.ts +236 -237
- package/dist/index.es.js +28290 -28616
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +28305 -28616
- package/dist/index.js.map +1 -1
- package/package.json +14 -3
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { AxiosResponse, AxiosInstance, Method, AxiosRequestConfig, AxiosError } from 'axios';
|
|
2
2
|
import * as zod from 'zod';
|
|
3
3
|
import { z, ZodError } from 'zod';
|
|
4
|
-
import { IResponse as IResponse$1, IResponseWithSync as IResponseWithSync$1 } from '@accelbyte/sdk';
|
|
5
4
|
import { RegexGeneratorParam } from 'justice-js-common-utils';
|
|
6
5
|
|
|
7
6
|
declare type IResponseError = Error | {
|
|
@@ -853,7 +852,7 @@ declare class OAuth20Extension$ {
|
|
|
853
852
|
redirect_uri?: string | null;
|
|
854
853
|
client_id?: string | null;
|
|
855
854
|
extend_exp?: boolean | null;
|
|
856
|
-
}): Promise<IResponse
|
|
855
|
+
}): Promise<IResponse<unknown>>;
|
|
857
856
|
/**
|
|
858
857
|
* This endpoint is being used to authenticate a user account and perform platform link.
|
|
859
858
|
* It validates user's email / username and password.
|
|
@@ -871,7 +870,7 @@ declare class OAuth20Extension$ {
|
|
|
871
870
|
linkingToken: string | null;
|
|
872
871
|
client_id: string | null;
|
|
873
872
|
extend_exp?: boolean | null;
|
|
874
|
-
}): Promise<IResponse
|
|
873
|
+
}): Promise<IResponse<T>>;
|
|
875
874
|
/**
|
|
876
875
|
* <p>This endpoint is being used to create headless account after 3rd platform authenticated, and response token .
|
|
877
876
|
* The 'linkingToken' in request body is received from "/platforms/{platformId}/token"
|
|
@@ -880,7 +879,7 @@ declare class OAuth20Extension$ {
|
|
|
880
879
|
postIamV3HeadlessToken<T = TokenResponseV3>(data: {
|
|
881
880
|
linkingToken: string | null;
|
|
882
881
|
extend_exp?: boolean | null;
|
|
883
|
-
}): Promise<IResponse
|
|
882
|
+
}): Promise<IResponse<T>>;
|
|
884
883
|
/**
|
|
885
884
|
* <p>This endpoint is being used to request the one time code [8 length] for headless account to link or upgrade to a full account.<br>
|
|
886
885
|
* It require a valid user token.<br>
|
|
@@ -890,7 +889,7 @@ declare class OAuth20Extension$ {
|
|
|
890
889
|
*/
|
|
891
890
|
postIamV3LinkCodeRequest<T = OneTimeLinkingCodeResponse>(data: {
|
|
892
891
|
platformId: string | null;
|
|
893
|
-
}): Promise<IResponse
|
|
892
|
+
}): Promise<IResponse<T>>;
|
|
894
893
|
/**
|
|
895
894
|
* <p>This endpoint is being used to validate one time link code.<br>
|
|
896
895
|
* It require a valid user token.<br>
|
|
@@ -900,7 +899,7 @@ declare class OAuth20Extension$ {
|
|
|
900
899
|
*/
|
|
901
900
|
postIamV3LinkCodeValidate<T = OneTimeLinkingCodeValidationResponse>(data: {
|
|
902
901
|
oneTimeLinkCode: string | null;
|
|
903
|
-
}): Promise<IResponse
|
|
902
|
+
}): Promise<IResponse<T>>;
|
|
904
903
|
/**
|
|
905
904
|
* <p>This endpoint is being used to generate user's token by one time link code.<br>
|
|
906
905
|
* It require publisher ClientID<br>
|
|
@@ -910,11 +909,11 @@ declare class OAuth20Extension$ {
|
|
|
910
909
|
postIamV3LinkTokenExchange<T = TokenResponseV3>(data: {
|
|
911
910
|
oneTimeLinkCode: string | null;
|
|
912
911
|
client_id: string | null;
|
|
913
|
-
}): Promise<IResponse
|
|
912
|
+
}): Promise<IResponse<T>>;
|
|
914
913
|
/**
|
|
915
914
|
* <p>This endpoint get country location based on the request.</p>
|
|
916
915
|
*/
|
|
917
|
-
fetchIamV3LocationCountry<T = CountryLocationResponse>(): Promise<IResponseWithSync
|
|
916
|
+
fetchIamV3LocationCountry<T = CountryLocationResponse>(): Promise<IResponseWithSync<T>>;
|
|
918
917
|
/**
|
|
919
918
|
* <p>This endpoint is used to remove <b>access_token</b>, <b>refresh_token</b> from cookie and revoke token from usage.</p>
|
|
920
919
|
* <p>Supported methods:</p>
|
|
@@ -923,7 +922,7 @@ declare class OAuth20Extension$ {
|
|
|
923
922
|
* <li>AddTokenToRevocationList to revoke token with TTL</li>
|
|
924
923
|
* </ul>
|
|
925
924
|
*/
|
|
926
|
-
postIamV3Logout(): Promise<IResponse
|
|
925
|
+
postIamV3Logout(): Promise<IResponse<unknown>>;
|
|
927
926
|
/**
|
|
928
927
|
* <p>This endpoint is being used to request the code to generate publisher user's game token.<br>
|
|
929
928
|
* It require a valid user token with publisher namespace.<br>
|
|
@@ -934,7 +933,7 @@ declare class OAuth20Extension$ {
|
|
|
934
933
|
*/
|
|
935
934
|
postV3NamespaceByNamespaceTokenRequest<T = GameTokenCodeResponse>(data: {
|
|
936
935
|
client_id: string | null;
|
|
937
|
-
}): Promise<IResponse
|
|
936
|
+
}): Promise<IResponse<T>>;
|
|
938
937
|
/**
|
|
939
938
|
* This endpoint authenticates user platform. It validates user to its
|
|
940
939
|
* respective platforms. Deactivated or login-banned users are unable to login. <br>
|
|
@@ -977,7 +976,7 @@ declare class OAuth20Extension$ {
|
|
|
977
976
|
sig?: string | null;
|
|
978
977
|
code?: string | null;
|
|
979
978
|
error?: string | null;
|
|
980
|
-
}): Promise<IResponseWithSync
|
|
979
|
+
}): Promise<IResponseWithSync<unknown>>;
|
|
981
980
|
/**
|
|
982
981
|
* <p>This endpoint is being used to generate publisher user's game token.<br>
|
|
983
982
|
* It require basic header with ClientID and Secret, it should match the ClientID when call <strong>/iam/v3/namespace/{namespace}/token/request</strong><br>
|
|
@@ -986,7 +985,7 @@ declare class OAuth20Extension$ {
|
|
|
986
985
|
*/
|
|
987
986
|
postIamV3TokenExchange<T = TokenResponseV3>(data: {
|
|
988
987
|
code: string | null;
|
|
989
|
-
}): Promise<IResponse
|
|
988
|
+
}): Promise<IResponse<T>>;
|
|
990
989
|
}
|
|
991
990
|
|
|
992
991
|
declare const MFADataResponse: z.ZodObject<{
|
|
@@ -1279,13 +1278,13 @@ declare class ThirdPartyCredential$ {
|
|
|
1279
1278
|
/**
|
|
1280
1279
|
* This is the Public API to Get All Active 3rd Platform Credential.
|
|
1281
1280
|
*/
|
|
1282
|
-
fetchV3PlatformsClientsActive<T = PublicThirdPartyPlatformInfoArray>(): Promise<IResponseWithSync
|
|
1281
|
+
fetchV3PlatformsClientsActive<T = PublicThirdPartyPlatformInfoArray>(): Promise<IResponseWithSync<T>>;
|
|
1283
1282
|
/**
|
|
1284
1283
|
* This is the Public API to Get All Active OIDC Platform Credential By Client ID
|
|
1285
1284
|
*/
|
|
1286
1285
|
fetchV3PlatformsClientsOidc<T = PublicThirdPartyPlatformInfoArray>(queryParams?: {
|
|
1287
1286
|
clientId: string | null;
|
|
1288
|
-
}): Promise<IResponseWithSync
|
|
1287
|
+
}): Promise<IResponseWithSync<T>>;
|
|
1289
1288
|
}
|
|
1290
1289
|
|
|
1291
1290
|
declare class ThirdPartyCredentialApi {
|
|
@@ -3096,7 +3095,7 @@ declare class Users$ {
|
|
|
3096
3095
|
/**
|
|
3097
3096
|
* Get age restriction by country code. It will always get by publisher namespace
|
|
3098
3097
|
*/
|
|
3099
|
-
fetchV3AgerestrictionsCountriesByCountrycode<T = CountryV3Response>(countryCode: string): Promise<IResponseWithSync
|
|
3098
|
+
fetchV3AgerestrictionsCountriesByCountrycode<T = CountryV3Response>(countryCode: string): Promise<IResponseWithSync<T>>;
|
|
3100
3099
|
/**
|
|
3101
3100
|
* List User ID By Platform User ID
|
|
3102
3101
|
* This endpoint intended to list game user ID from the given namespace
|
|
@@ -3105,7 +3104,7 @@ declare class Users$ {
|
|
|
3105
3104
|
* <strong>nintendo platform user ID</strong>: NSA ID need to be appended with Environment ID using colon as separator. e.g kmzwa8awaa:dd1
|
|
3106
3105
|
*
|
|
3107
3106
|
*/
|
|
3108
|
-
postV3PlatformsByPlatformidUsers<T = UserPlatforms>(platformId: string, data: PlatformUserIdRequest): Promise<IResponse
|
|
3107
|
+
postV3PlatformsByPlatformidUsers<T = UserPlatforms>(platformId: string, data: PlatformUserIdRequest): Promise<IResponse<T>>;
|
|
3109
3108
|
/**
|
|
3110
3109
|
* Get User By Platform User ID
|
|
3111
3110
|
*
|
|
@@ -3114,11 +3113,11 @@ declare class Users$ {
|
|
|
3114
3113
|
* <strong>nintendo platform user ID</strong>: NSA ID need to be appended with Environment ID using colon as separator. e.g kmzwa8awaa:dd1
|
|
3115
3114
|
*
|
|
3116
3115
|
*/
|
|
3117
|
-
fetchV3PlatformsByPlatformidUsersByPlatformuserid<T = UserResponseV3>(platformId: string, platformUserId: string): Promise<IResponseWithSync
|
|
3116
|
+
fetchV3PlatformsByPlatformidUsersByPlatformuserid<T = UserResponseV3>(platformId: string, platformUserId: string): Promise<IResponseWithSync<T>>;
|
|
3118
3117
|
/**
|
|
3119
3118
|
* This endpoint is used to get linking status.
|
|
3120
3119
|
*/
|
|
3121
|
-
fetchV3RequestsByRequestidAsyncStatus<T = LinkRequest>(requestId: string): Promise<IResponseWithSync
|
|
3120
|
+
fetchV3RequestsByRequestidAsyncStatus<T = LinkRequest>(requestId: string): Promise<IResponseWithSync<T>>;
|
|
3122
3121
|
/**
|
|
3123
3122
|
* <p>Requires valid user access token</p>
|
|
3124
3123
|
* <p>This endpoint search all users on the specified namespace that match the query on these fields: display name, and username.
|
|
@@ -3130,7 +3129,7 @@ declare class Users$ {
|
|
|
3130
3129
|
by?: string | null;
|
|
3131
3130
|
limit?: string | null;
|
|
3132
3131
|
offset?: string | null;
|
|
3133
|
-
}): Promise<IResponseWithSync
|
|
3132
|
+
}): Promise<IResponseWithSync<T>>;
|
|
3134
3133
|
/**
|
|
3135
3134
|
*
|
|
3136
3135
|
* <p>Available Authentication Types:</p>
|
|
@@ -3141,7 +3140,7 @@ declare class Users$ {
|
|
|
3141
3140
|
* <p>Date of Birth format : YYYY-MM-DD, e.g. 2019-04-29.</p>
|
|
3142
3141
|
* <p>This endpoint support accepting agreements for the created user. Supply the accepted agreements in acceptedPolicies attribute.</p>
|
|
3143
3142
|
*/
|
|
3144
|
-
postV3Users<T = UserCreateResponseV3>(data: UserCreateRequestV3): Promise<IResponse
|
|
3143
|
+
postV3Users<T = UserCreateResponseV3>(data: UserCreateRequestV3): Promise<IResponse<T>>;
|
|
3145
3144
|
/**
|
|
3146
3145
|
* Check user's account availability.
|
|
3147
3146
|
* Available field :
|
|
@@ -3158,7 +3157,7 @@ declare class Users$ {
|
|
|
3158
3157
|
fetchV3UsersAvailability(queryParams?: {
|
|
3159
3158
|
field: string | null;
|
|
3160
3159
|
query: string | null;
|
|
3161
|
-
}): Promise<IResponseWithSync
|
|
3160
|
+
}): Promise<IResponseWithSync<unknown>>;
|
|
3162
3161
|
/**
|
|
3163
3162
|
* <p>Notes:</p>
|
|
3164
3163
|
* <ul>
|
|
@@ -3168,7 +3167,7 @@ declare class Users$ {
|
|
|
3168
3167
|
* </ul>
|
|
3169
3168
|
*
|
|
3170
3169
|
*/
|
|
3171
|
-
postV3UsersBulkBasic<T = ListBulkUserResponse>(data: UserIDsRequest): Promise<IResponse
|
|
3170
|
+
postV3UsersBulkBasic<T = ListBulkUserResponse>(data: UserIDsRequest): Promise<IResponse<T>>;
|
|
3172
3171
|
/**
|
|
3173
3172
|
* This endpoint will validate the request's email address.
|
|
3174
3173
|
*
|
|
@@ -3178,12 +3177,12 @@ declare class Users$ {
|
|
|
3178
3177
|
* This code can be verified by this <a href="#operations-Users-PublicVerifyRegistrationCode">endpoint</a>.
|
|
3179
3178
|
*
|
|
3180
3179
|
*/
|
|
3181
|
-
postV3UsersCodeRequest(data: SendRegisterVerificationCodeRequest): Promise<IResponse
|
|
3180
|
+
postV3UsersCodeRequest(data: SendRegisterVerificationCodeRequest): Promise<IResponse<unknown>>;
|
|
3182
3181
|
/**
|
|
3183
3182
|
* <p>Verify the registration code</p>
|
|
3184
3183
|
*
|
|
3185
3184
|
*/
|
|
3186
|
-
postV3UsersCodeVerify(data: VerifyRegistrationCode): Promise<IResponse
|
|
3185
|
+
postV3UsersCodeVerify(data: VerifyRegistrationCode): Promise<IResponse<unknown>>;
|
|
3187
3186
|
/**
|
|
3188
3187
|
* <p><strong>Special note for publisher-game scenario:</strong>
|
|
3189
3188
|
* Game Client should provide game namespace path parameter and Publisher
|
|
@@ -3192,12 +3191,12 @@ declare class Users$ {
|
|
|
3192
3191
|
* <p>action code : 10104 </p>
|
|
3193
3192
|
*
|
|
3194
3193
|
*/
|
|
3195
|
-
postV3UsersForgot(data: ForgotPasswordRequestV3): Promise<IResponse
|
|
3194
|
+
postV3UsersForgot(data: ForgotPasswordRequestV3): Promise<IResponse<unknown>>;
|
|
3196
3195
|
/**
|
|
3197
3196
|
* Endpoint to validate user invitation. When not found, it could also means the invitation has expired.
|
|
3198
3197
|
*
|
|
3199
3198
|
*/
|
|
3200
|
-
fetchV3UsersInviteByInvitationid<T = UserInvitationV3>(invitationId: string): Promise<IResponseWithSync
|
|
3199
|
+
fetchV3UsersInviteByInvitationid<T = UserInvitationV3>(invitationId: string): Promise<IResponseWithSync<T>>;
|
|
3201
3200
|
/**
|
|
3202
3201
|
* This endpoint create user from saved roles when creating invitation and submitted data.
|
|
3203
3202
|
* User will be able to login after completing submitting the data through this endpoint.
|
|
@@ -3210,7 +3209,7 @@ declare class Users$ {
|
|
|
3210
3209
|
* Date of Birth format : YYYY-MM-DD, e.g. 2019-04-29.
|
|
3211
3210
|
*
|
|
3212
3211
|
*/
|
|
3213
|
-
postV3UsersInviteByInvitationid<T = UserCreateResponseV3>(invitationId: string, data: UserCreateFromInvitationRequestV3): Promise<IResponse
|
|
3212
|
+
postV3UsersInviteByInvitationid<T = UserCreateResponseV3>(invitationId: string, data: UserCreateFromInvitationRequestV3): Promise<IResponse<T>>;
|
|
3214
3213
|
/**
|
|
3215
3214
|
* <p>Requires valid user access token </p>
|
|
3216
3215
|
* <br><p>This Endpoint support update user based on given data. <b>Single request can update single field or multi fields.</b></p>
|
|
@@ -3226,7 +3225,7 @@ declare class Users$ {
|
|
|
3226
3225
|
* <br>If the client support PATCH method, use [PATCH] /iam/v3/public/namespaces/{namespace}/users/me instead</p><br>
|
|
3227
3226
|
* <p>action code : 10103 </p>
|
|
3228
3227
|
*/
|
|
3229
|
-
putV3UsersMe<T = UserResponseV3>(data: UserUpdateRequestV3): Promise<IResponse
|
|
3228
|
+
putV3UsersMe<T = UserResponseV3>(data: UserUpdateRequestV3): Promise<IResponse<T>>;
|
|
3230
3229
|
/**
|
|
3231
3230
|
* <p>Requires valid user access token </p>
|
|
3232
3231
|
* <br><p>This Endpoint support update user based on given data. <b>Single request can update single field or multi fields.</b></p>
|
|
@@ -3239,7 +3238,7 @@ declare class Users$ {
|
|
|
3239
3238
|
* <li>User want to update email address of which have been verified and updated before, { oldEmailAddress, emailAddress} response field will be filled with verified email before. newEmailAddress response field will be filled with newest email address. </li>
|
|
3240
3239
|
* <p>action code : 10103 </p>
|
|
3241
3240
|
*/
|
|
3242
|
-
patchV3UsersMe<T = UserResponseV3>(data: UserUpdateRequestV3): Promise<IResponse
|
|
3241
|
+
patchV3UsersMe<T = UserResponseV3>(data: UserUpdateRequestV3): Promise<IResponse<T>>;
|
|
3243
3242
|
/**
|
|
3244
3243
|
* Required valid user authorization
|
|
3245
3244
|
* <p>The verification code is sent to email address</p>
|
|
@@ -3262,7 +3261,7 @@ declare class Users$ {
|
|
|
3262
3261
|
* <p>action code: 10116</p>
|
|
3263
3262
|
*
|
|
3264
3263
|
*/
|
|
3265
|
-
postV3UsersMeCodeRequest(data: SendVerificationCodeRequestV3): Promise<IResponse
|
|
3264
|
+
postV3UsersMeCodeRequest(data: SendVerificationCodeRequestV3): Promise<IResponse<unknown>>;
|
|
3266
3265
|
/**
|
|
3267
3266
|
* <p>Will consume code if validateOnly is set false</p>
|
|
3268
3267
|
* <p>Required valid user authorization</p>
|
|
@@ -3271,7 +3270,7 @@ declare class Users$ {
|
|
|
3271
3270
|
* <p>action code: 10107</p>
|
|
3272
3271
|
*
|
|
3273
3272
|
*/
|
|
3274
|
-
postV3UsersMeCodeVerify(data: UserVerificationRequestV3): Promise<IResponse
|
|
3273
|
+
postV3UsersMeCodeVerify(data: UserVerificationRequestV3): Promise<IResponse<unknown>>;
|
|
3275
3274
|
/**
|
|
3276
3275
|
* <p>If validateOnly is set false, consume code and upgrade headless account and automatically verified the email address if it is succeeded</p>
|
|
3277
3276
|
* Require valid user access token.
|
|
@@ -3288,20 +3287,20 @@ declare class Users$ {
|
|
|
3288
3287
|
* </ul>
|
|
3289
3288
|
* <br>action code : 10124</p>
|
|
3290
3289
|
*/
|
|
3291
|
-
postV3UsersMeHeadlessCodeVerify<T = UserResponseV3>(data: UpgradeHeadlessAccountWithVerificationCodeRequestV3): Promise<IResponse
|
|
3290
|
+
postV3UsersMeHeadlessCodeVerify<T = UserResponseV3>(data: UpgradeHeadlessAccountWithVerificationCodeRequestV3): Promise<IResponse<T>>;
|
|
3292
3291
|
/**
|
|
3293
3292
|
* <p>Require valid user authorization<br>action code : 10124 </p>
|
|
3294
3293
|
*/
|
|
3295
|
-
postV3UsersMeHeadlessVerify<T = UserResponseV3>(data: UpgradeHeadlessAccountV3Request): Promise<IResponse
|
|
3294
|
+
postV3UsersMeHeadlessVerify<T = UserResponseV3>(data: UpgradeHeadlessAccountV3Request): Promise<IResponse<T>>;
|
|
3296
3295
|
/**
|
|
3297
3296
|
* Required valid user authorization. <br> action code: 10107
|
|
3298
3297
|
*/
|
|
3299
|
-
putV3UsersMePassword(data: UserPasswordUpdateV3Request): Promise<IResponse
|
|
3298
|
+
putV3UsersMePassword(data: UserPasswordUpdateV3Request): Promise<IResponse<unknown>>;
|
|
3300
3299
|
/**
|
|
3301
3300
|
* Create Justice User from Publisher User information. It will check first if Justice User on target namespace already exist.
|
|
3302
3301
|
*
|
|
3303
3302
|
*/
|
|
3304
|
-
postV3UsersMePlatformsJusticeByTargetnamespace<T = CreateJusticeUserResponse>(targetNamespace: string): Promise<IResponse
|
|
3303
|
+
postV3UsersMePlatformsJusticeByTargetnamespace<T = CreateJusticeUserResponse>(targetNamespace: string): Promise<IResponse<T>>;
|
|
3305
3304
|
/**
|
|
3306
3305
|
* Required valid user authorization.
|
|
3307
3306
|
* <p><br><b>Prerequisite:</b>
|
|
@@ -3331,7 +3330,7 @@ declare class Users$ {
|
|
|
3331
3330
|
postV3UsersMePlatformsByPlatformid(platformId: string, data: {
|
|
3332
3331
|
ticket: string | null;
|
|
3333
3332
|
redirectUri?: string | null;
|
|
3334
|
-
}): Promise<IResponse
|
|
3333
|
+
}): Promise<IResponse<unknown>>;
|
|
3335
3334
|
/**
|
|
3336
3335
|
* Required valid user authorization.
|
|
3337
3336
|
* <h2>Supported platforms:</h2>
|
|
@@ -3361,12 +3360,12 @@ declare class Users$ {
|
|
|
3361
3360
|
* <br>
|
|
3362
3361
|
* <br>action code : 10121 </p>
|
|
3363
3362
|
*/
|
|
3364
|
-
deleteV3UsersMePlatformsByPlatformid(platformId: string, data: UnlinkUserPlatformRequest): Promise<IResponse
|
|
3363
|
+
deleteV3UsersMePlatformsByPlatformid(platformId: string, data: UnlinkUserPlatformRequest): Promise<IResponse<unknown>>;
|
|
3365
3364
|
/**
|
|
3366
3365
|
* Required valid user authorization.
|
|
3367
3366
|
* <p>Unlink user's account from for all third platforms. </p>
|
|
3368
3367
|
*/
|
|
3369
|
-
deleteV3UsersMePlatformsByPlatformidAll(platformId: string): Promise<IResponse
|
|
3368
|
+
deleteV3UsersMePlatformsByPlatformidAll(platformId: string): Promise<IResponse<unknown>>;
|
|
3370
3369
|
/**
|
|
3371
3370
|
* Force linking user account with platform.
|
|
3372
3371
|
* <br> If this platform account was already linked to another user account, this endpoint will perform force linking and remove platform from that conflict user, not only from the current request namespace but also include all the enrolled namespaces.</br>
|
|
@@ -3400,28 +3399,28 @@ declare class Users$ {
|
|
|
3400
3399
|
*/
|
|
3401
3400
|
postV3UsersMePlatformsByPlatformidForce(platformId: string, data: {
|
|
3402
3401
|
ticket: string | null;
|
|
3403
|
-
}): Promise<IResponse
|
|
3402
|
+
}): Promise<IResponse<unknown>>;
|
|
3404
3403
|
/**
|
|
3405
3404
|
* This endpoint is used to generate third party login page which will redirected to establish endpoint.
|
|
3406
3405
|
*/
|
|
3407
3406
|
fetchV3UsersMePlatformsByPlatformidWebLink<T = WebLinkingResponse>(platformId: string, queryParams?: {
|
|
3408
3407
|
clientId?: string | null;
|
|
3409
3408
|
redirectUri?: string | null;
|
|
3410
|
-
}): Promise<IResponseWithSync
|
|
3409
|
+
}): Promise<IResponseWithSync<T>>;
|
|
3411
3410
|
/**
|
|
3412
3411
|
* This endpoint is used by third party to redirect the code for the purpose of linking the account third party to IAM account.
|
|
3413
3412
|
*/
|
|
3414
3413
|
fetchV3UsersMePlatformsByPlatformidWebLinkEstablish(platformId: string, queryParams?: {
|
|
3415
3414
|
state: string | null;
|
|
3416
|
-
}): Promise<IResponseWithSync
|
|
3415
|
+
}): Promise<IResponseWithSync<unknown>>;
|
|
3417
3416
|
/**
|
|
3418
3417
|
* <p>action code: 10105</p>
|
|
3419
3418
|
*/
|
|
3420
|
-
postV3UsersReset(data: ResetPasswordRequestV3): Promise<IResponse
|
|
3419
|
+
postV3UsersReset(data: ResetPasswordRequestV3): Promise<IResponse<unknown>>;
|
|
3421
3420
|
/**
|
|
3422
3421
|
* <p>This endpoint retrieve user attributes. action code: 10129</p>
|
|
3423
3422
|
*/
|
|
3424
|
-
fetchV3UsersByUserid<T = PublicUserResponseV3>(userId: string): Promise<IResponseWithSync
|
|
3423
|
+
fetchV3UsersByUserid<T = PublicUserResponseV3>(userId: string): Promise<IResponseWithSync<T>>;
|
|
3425
3424
|
/**
|
|
3426
3425
|
* Required valid user authorization.
|
|
3427
3426
|
* <p>Notes:</p>
|
|
@@ -3436,18 +3435,18 @@ declare class Users$ {
|
|
|
3436
3435
|
limit?: number;
|
|
3437
3436
|
before?: string | null;
|
|
3438
3437
|
after?: string | null;
|
|
3439
|
-
}): Promise<IResponseWithSync
|
|
3438
|
+
}): Promise<IResponseWithSync<T>>;
|
|
3440
3439
|
/**
|
|
3441
3440
|
* <p>This endpoint retrieves platform accounts linked to user.
|
|
3442
3441
|
* <br>It will query all linked platform accounts and result will be distinct & grouped, same platform we will pick oldest linked one.
|
|
3443
3442
|
* <br>Required valid user authorization.</p>
|
|
3444
3443
|
*/
|
|
3445
|
-
fetchV3UsersByUseridDistinctPlatforms<T = DistinctPlatformResponseV3>(userId: string): Promise<IResponseWithSync
|
|
3444
|
+
fetchV3UsersByUseridDistinctPlatforms<T = DistinctPlatformResponseV3>(userId: string): Promise<IResponseWithSync<T>>;
|
|
3446
3445
|
/**
|
|
3447
3446
|
* <p>This endpoint retrieves user info and linked platform accounts.
|
|
3448
3447
|
* Required permissions 'NAMESPACE:{namespace}:INFORMATION:USER:{userId} [READ]'</p>
|
|
3449
3448
|
*/
|
|
3450
|
-
fetchV3UsersByUseridInformation<T = UserInformationV3>(userId: string): Promise<IResponseWithSync
|
|
3449
|
+
fetchV3UsersByUseridInformation<T = UserInformationV3>(userId: string): Promise<IResponseWithSync<T>>;
|
|
3451
3450
|
/**
|
|
3452
3451
|
* Required valid user authorization.<p>Notes for this endpoint: </p> <ul><li>This endpoint retrieve the first page of the data if `after` and `before` parameters is empty.</li><li>The maximum value of the limit is 100 and the minimum value of the limit is 1.</li><li>This endpoint retrieve the next page of the data if we provide `after` parameters with valid Unix timestamp.</li><li>This endpoint retrieve the previous page of the data if we provide `before` parameter with valid data Unix timestamp.</li><ul>
|
|
3453
3452
|
*/
|
|
@@ -3455,7 +3454,7 @@ declare class Users$ {
|
|
|
3455
3454
|
before?: number | null;
|
|
3456
3455
|
after?: number | null;
|
|
3457
3456
|
limit?: number;
|
|
3458
|
-
}): Promise<IResponseWithSync
|
|
3457
|
+
}): Promise<IResponseWithSync<T>>;
|
|
3459
3458
|
/**
|
|
3460
3459
|
* <p>This endpoint retrieves platform accounts linked to user. Required valid user authorization.
|
|
3461
3460
|
* <br>action code: 10128 </p>
|
|
@@ -3464,12 +3463,12 @@ declare class Users$ {
|
|
|
3464
3463
|
limit?: number;
|
|
3465
3464
|
after?: string | null;
|
|
3466
3465
|
before?: string | null;
|
|
3467
|
-
}): Promise<IResponseWithSync
|
|
3466
|
+
}): Promise<IResponseWithSync<T>>;
|
|
3468
3467
|
/**
|
|
3469
3468
|
* This endpoint gets list justice platform account by providing publisher namespace and publisher userID</br>
|
|
3470
3469
|
* <p>Requires valid user access token </p></br>
|
|
3471
3470
|
*/
|
|
3472
|
-
fetchV3UsersByUseridPlatformsJustice<T = GetUserMappingV3Array>(userId: string): Promise<IResponseWithSync
|
|
3471
|
+
fetchV3UsersByUseridPlatformsJustice<T = GetUserMappingV3Array>(userId: string): Promise<IResponseWithSync<T>>;
|
|
3473
3472
|
/**
|
|
3474
3473
|
* It is going to be <strong>DEPRECATED</strong>.
|
|
3475
3474
|
* Update Platform Account relation to current User Account.
|
|
@@ -3477,20 +3476,20 @@ declare class Users$ {
|
|
|
3477
3476
|
* transferred. If the data is tight to game user ID, the user will have the game progression data.
|
|
3478
3477
|
*
|
|
3479
3478
|
*/
|
|
3480
|
-
postV3UsersByUseridPlatformsLink(userId: string, data: LinkPlatformAccountRequest): Promise<IResponse
|
|
3479
|
+
postV3UsersByUseridPlatformsLink(userId: string, data: LinkPlatformAccountRequest): Promise<IResponse<unknown>>;
|
|
3481
3480
|
/**
|
|
3482
3481
|
* Force update other account's Platform Account relation to current User Account. <br>
|
|
3483
3482
|
* This endpoint can transfer progression from 3rd platform binding account's to current account.
|
|
3484
3483
|
* This endpoint need the same requestID which also used in <a href="#operations-Users-PublicGetAsyncStatus">Get link status</a>.
|
|
3485
3484
|
*
|
|
3486
3485
|
*/
|
|
3487
|
-
postV3UsersByUseridPlatformsLinkWithProgression(userId: string, data: LinkPlatformAccountWithProgressionRequest): Promise<IResponse
|
|
3486
|
+
postV3UsersByUseridPlatformsLinkWithProgression(userId: string, data: LinkPlatformAccountWithProgressionRequest): Promise<IResponse<unknown>>;
|
|
3488
3487
|
/**
|
|
3489
3488
|
* <p>Required permissions 'NAMESPACE:{namespace}:USER:{userId}:PUBLISHER [READ].</p>
|
|
3490
3489
|
* <p><strong>Restriction:</strong>
|
|
3491
3490
|
* Path Parameter <strong>namespace</strong> can be provided only with game namespace</p>
|
|
3492
3491
|
*/
|
|
3493
|
-
fetchV3UsersByUseridPublisher<T = GetPublisherUserV3Response>(userId: string): Promise<IResponseWithSync
|
|
3492
|
+
fetchV3UsersByUseridPublisher<T = GetPublisherUserV3Response>(userId: string): Promise<IResponseWithSync<T>>;
|
|
3494
3493
|
/**
|
|
3495
3494
|
* This endpoint is used to validate the user password. Required valid user authorization and valid user ID.
|
|
3496
3495
|
* <p>Notes:</p>
|
|
@@ -3501,11 +3500,11 @@ declare class Users$ {
|
|
|
3501
3500
|
*/
|
|
3502
3501
|
postV3UsersByUseridValidate(userId: string, data: {
|
|
3503
3502
|
password: string | null;
|
|
3504
|
-
}): Promise<IResponse
|
|
3503
|
+
}): Promise<IResponse<unknown>>;
|
|
3505
3504
|
/**
|
|
3506
3505
|
* <p>Require valid user authorization<br>Get my user data<br>action code : 10147 </p>
|
|
3507
3506
|
*/
|
|
3508
|
-
fetchIamV3PublicUsersMe<T = UserResponseV3>(): Promise<IResponseWithSync
|
|
3507
|
+
fetchIamV3PublicUsersMe<T = UserResponseV3>(): Promise<IResponseWithSync<T>>;
|
|
3509
3508
|
/**
|
|
3510
3509
|
* Note:<br>
|
|
3511
3510
|
* 1. My account should be full account
|
|
@@ -3513,23 +3512,23 @@ declare class Users$ {
|
|
|
3513
3512
|
*/
|
|
3514
3513
|
fetchIamV3PublicUsersMeHeadlessLinkConflict<T = GetLinkHeadlessAccountConflictResponse>(queryParams?: {
|
|
3515
3514
|
oneTimeLinkCode: string | null;
|
|
3516
|
-
}): Promise<IResponseWithSync
|
|
3515
|
+
}): Promise<IResponseWithSync<T>>;
|
|
3517
3516
|
/**
|
|
3518
3517
|
* Note:<br>
|
|
3519
3518
|
* 1. My account should be full account
|
|
3520
3519
|
* 2. My account not linked to headless account's third platform.
|
|
3521
3520
|
*/
|
|
3522
|
-
postIamV3PublicUsersMeHeadlessLinkWithProgression(data: LinkHeadlessAccountRequest): Promise<IResponse
|
|
3521
|
+
postIamV3PublicUsersMeHeadlessLinkWithProgression(data: LinkHeadlessAccountRequest): Promise<IResponse<unknown>>;
|
|
3523
3522
|
/**
|
|
3524
3523
|
* Required valid user authorization
|
|
3525
3524
|
* <p>The verification link is sent to email address</p>
|
|
3526
3525
|
* <p>It will not send request if user email is already verified</p>
|
|
3527
3526
|
*
|
|
3528
3527
|
*/
|
|
3529
|
-
postIamV3PublicUsersMeVerifyLinkRequest(data: SendVerificationLinkRequest): Promise<IResponse
|
|
3528
|
+
postIamV3PublicUsersMeVerifyLinkRequest(data: SendVerificationLinkRequest): Promise<IResponse<unknown>>;
|
|
3530
3529
|
fetchIamV3PublicUsersVerifyLinkVerify(queryParams?: {
|
|
3531
3530
|
code?: string | null;
|
|
3532
|
-
}): Promise<IResponseWithSync
|
|
3531
|
+
}): Promise<IResponseWithSync<unknown>>;
|
|
3533
3532
|
}
|
|
3534
3533
|
|
|
3535
3534
|
declare const AuthenticatorKeyResponseV4: z.ZodObject<{
|
|
@@ -3884,7 +3883,7 @@ declare class UsersV4$ {
|
|
|
3884
3883
|
* <p>This endpoint support accepting agreements for the created user. Supply the accepted agreements in acceptedPolicies attribute.</p>
|
|
3885
3884
|
*
|
|
3886
3885
|
*/
|
|
3887
|
-
postV4TestUsers<T = CreateUserResponseV4>(data: CreateTestUserRequestV4): Promise<IResponse
|
|
3886
|
+
postV4TestUsers<T = CreateUserResponseV4>(data: CreateTestUserRequestV4): Promise<IResponse<T>>;
|
|
3888
3887
|
/**
|
|
3889
3888
|
* Create a new user with unique email address and username.
|
|
3890
3889
|
* <p>
|
|
@@ -3902,7 +3901,7 @@ declare class UsersV4$ {
|
|
|
3902
3901
|
* <p>This endpoint support accepting agreements for the created user. Supply the accepted agreements in acceptedPolicies attribute.</p>
|
|
3903
3902
|
*
|
|
3904
3903
|
*/
|
|
3905
|
-
postV4Users<T = CreateUserResponseV4>(data: CreateUserRequestV4): Promise<IResponse
|
|
3904
|
+
postV4Users<T = CreateUserResponseV4>(data: CreateUserRequestV4): Promise<IResponse<T>>;
|
|
3906
3905
|
/**
|
|
3907
3906
|
* This endpoint create user from saved roles when creating invitation and submitted data.
|
|
3908
3907
|
* User will be able to login after completing submitting the data through this endpoint.
|
|
@@ -3923,7 +3922,7 @@ declare class UsersV4$ {
|
|
|
3923
3922
|
* - username: Please refer to the rule from /v3/public/inputValidations API.
|
|
3924
3923
|
*
|
|
3925
3924
|
*/
|
|
3926
|
-
postV4UsersInviteByInvitationid<T = CreateUserResponseV4>(invitationId: string, data: UserCreateFromInvitationRequestV4): Promise<IResponse
|
|
3925
|
+
postV4UsersInviteByInvitationid<T = CreateUserResponseV4>(invitationId: string, data: UserCreateFromInvitationRequestV4): Promise<IResponse<T>>;
|
|
3927
3926
|
/**
|
|
3928
3927
|
* <p>Requires valid user access token </p>
|
|
3929
3928
|
* <br><p>This Endpoint support update user based on given data. <b>Single request can update single field or multi fields.</b></p>
|
|
@@ -3933,13 +3932,13 @@ declare class UsersV4$ {
|
|
|
3933
3932
|
* <br><b>Several case of updating email address</b>
|
|
3934
3933
|
* <p>action code : 10103 </p>
|
|
3935
3934
|
*/
|
|
3936
|
-
patchV4UsersMe<T = UserResponseV3>(data: UserUpdateRequestV3): Promise<IResponse
|
|
3935
|
+
patchV4UsersMe<T = UserResponseV3>(data: UserUpdateRequestV3): Promise<IResponse<T>>;
|
|
3937
3936
|
/**
|
|
3938
3937
|
* <p>The endpoint to update my email address. </p>
|
|
3939
3938
|
* <p>It requires a verification code from <pre>/users/me/code/request</pre> with <b>UpdateEmailAddress</b> context.</p>
|
|
3940
3939
|
*
|
|
3941
3940
|
*/
|
|
3942
|
-
putV4UsersMeEmail(data: EmailUpdateRequestV4): Promise<IResponse
|
|
3941
|
+
putV4UsersMeEmail(data: EmailUpdateRequestV4): Promise<IResponse<unknown>>;
|
|
3943
3942
|
/**
|
|
3944
3943
|
* Require valid user access token.
|
|
3945
3944
|
* The endpoint upgrades a headless account by linking the headless account with the email address, username, and password.
|
|
@@ -3957,19 +3956,19 @@ declare class UsersV4$ {
|
|
|
3957
3956
|
* </ul>
|
|
3958
3957
|
* action code : 10124
|
|
3959
3958
|
*/
|
|
3960
|
-
postV4UsersMeHeadlessCodeVerify<T = UserResponseV4>(data: UpgradeHeadlessAccountWithVerificationCodeRequestV4): Promise<IResponse
|
|
3959
|
+
postV4UsersMeHeadlessCodeVerify<T = UserResponseV4>(data: UpgradeHeadlessAccountWithVerificationCodeRequestV4): Promise<IResponse<T>>;
|
|
3961
3960
|
/**
|
|
3962
3961
|
* Require valid user authorization
|
|
3963
3962
|
* Upgrade headless account to full account without verifying email address. Client does not need to provide verification code which sent to email address.
|
|
3964
3963
|
* <br>action code : 10124 </p>
|
|
3965
3964
|
*/
|
|
3966
|
-
postV4UsersMeHeadlessVerify<T = UserResponseV4>(data: UpgradeHeadlessAccountRequestV4): Promise<IResponse
|
|
3965
|
+
postV4UsersMeHeadlessVerify<T = UserResponseV4>(data: UpgradeHeadlessAccountRequestV4): Promise<IResponse<T>>;
|
|
3967
3966
|
/**
|
|
3968
3967
|
* <p>This endpoint is used to disable 2FA authenticator.</p>
|
|
3969
3968
|
* <p>This endpoint Requires valid user access token</p>
|
|
3970
3969
|
*
|
|
3971
3970
|
*/
|
|
3972
|
-
deleteV4UsersMeMfaAuthenticatorDisable(): Promise<IResponse
|
|
3971
|
+
deleteV4UsersMeMfaAuthenticatorDisable(): Promise<IResponse<unknown>>;
|
|
3973
3972
|
/**
|
|
3974
3973
|
* <p>This endpoint is used to enable 2FA authenticator.</p>
|
|
3975
3974
|
* <p>This endpoint Requires valid user access token</p>
|
|
@@ -3977,65 +3976,65 @@ declare class UsersV4$ {
|
|
|
3977
3976
|
*/
|
|
3978
3977
|
postV4UsersMeMfaAuthenticatorEnable(data: {
|
|
3979
3978
|
code?: string | null;
|
|
3980
|
-
}): Promise<IResponse
|
|
3979
|
+
}): Promise<IResponse<unknown>>;
|
|
3981
3980
|
/**
|
|
3982
3981
|
* <p>This endpoint is used to generate a secret key for 3rd-party authenticator app.
|
|
3983
3982
|
* A QR code URI is also returned so that frontend can generate QR code image.</p>
|
|
3984
3983
|
* <p>This endpoint Requires valid user access token</p>
|
|
3985
3984
|
*
|
|
3986
3985
|
*/
|
|
3987
|
-
postV4UsersMeMfaAuthenticatorKey<T = AuthenticatorKeyResponseV4>(): Promise<IResponse
|
|
3986
|
+
postV4UsersMeMfaAuthenticatorKey<T = AuthenticatorKeyResponseV4>(): Promise<IResponse<T>>;
|
|
3988
3987
|
/**
|
|
3989
3988
|
* <p>This endpoint is used to get 8-digits backup codes.
|
|
3990
3989
|
* Each code is a one-time code and will be deleted once used.</p>
|
|
3991
3990
|
* <p>This endpoint Requires valid user access token</p>
|
|
3992
3991
|
*
|
|
3993
3992
|
*/
|
|
3994
|
-
fetchV4UsersMeMfaBackupCode<T = BackupCodesResponseV4>(): Promise<IResponseWithSync
|
|
3993
|
+
fetchV4UsersMeMfaBackupCode<T = BackupCodesResponseV4>(): Promise<IResponseWithSync<T>>;
|
|
3995
3994
|
/**
|
|
3996
3995
|
* <p>This endpoint is used to generate 8-digits backup codes.
|
|
3997
3996
|
* Each code is a one-time code and will be deleted once used.</p>
|
|
3998
3997
|
* <p>This endpoint Requires valid user access token</p>
|
|
3999
3998
|
*
|
|
4000
3999
|
*/
|
|
4001
|
-
postV4UsersMeMfaBackupCode<T = BackupCodesResponseV4>(): Promise<IResponse
|
|
4000
|
+
postV4UsersMeMfaBackupCode<T = BackupCodesResponseV4>(): Promise<IResponse<T>>;
|
|
4002
4001
|
/**
|
|
4003
4002
|
* <p>This endpoint is used to enable 2FA backup codes.</p>
|
|
4004
4003
|
* <p>This endpoint Requires valid user access token</p>
|
|
4005
4004
|
*
|
|
4006
4005
|
*/
|
|
4007
|
-
deleteV4UsersMeMfaBackupCodeDisable(): Promise<IResponse
|
|
4006
|
+
deleteV4UsersMeMfaBackupCodeDisable(): Promise<IResponse<unknown>>;
|
|
4008
4007
|
/**
|
|
4009
4008
|
* <p>This endpoint is used to download backup codes.</p>
|
|
4010
4009
|
* <p>This endpoint Requires valid user access token</p>
|
|
4011
4010
|
*
|
|
4012
4011
|
*/
|
|
4013
|
-
fetchV4UsersMeMfaBackupCodeDownload(): Promise<IResponseWithSync
|
|
4012
|
+
fetchV4UsersMeMfaBackupCodeDownload(): Promise<IResponseWithSync<unknown>>;
|
|
4014
4013
|
/**
|
|
4015
4014
|
* <p>This endpoint is used to enable 2FA backup codes.</p>
|
|
4016
4015
|
* <p>This endpoint Requires valid user access token</p>
|
|
4017
4016
|
*
|
|
4018
4017
|
*/
|
|
4019
|
-
postV4UsersMeMfaBackupCodeEnable<T = BackupCodesResponseV4>(): Promise<IResponse
|
|
4018
|
+
postV4UsersMeMfaBackupCodeEnable<T = BackupCodesResponseV4>(): Promise<IResponse<T>>;
|
|
4020
4019
|
/**
|
|
4021
4020
|
* <p>(Only for test)This endpoint is used to remove trusted device.</p>
|
|
4022
4021
|
* <p>This endpoint Requires valid user access token</p><br/>
|
|
4023
4022
|
* <p>This endpoint Requires device_token in cookie</p>
|
|
4024
4023
|
*
|
|
4025
4024
|
*/
|
|
4026
|
-
deleteV4UsersMeMfaDevice(): Promise<IResponse
|
|
4025
|
+
deleteV4UsersMeMfaDevice(): Promise<IResponse<unknown>>;
|
|
4027
4026
|
/**
|
|
4028
4027
|
* <p>This endpoint is used to send email code.</p>
|
|
4029
4028
|
* <p>This endpoint Requires valid user access token</p>
|
|
4030
4029
|
*
|
|
4031
4030
|
*/
|
|
4032
|
-
postV4UsersMeMfaEmailCode(): Promise<IResponse
|
|
4031
|
+
postV4UsersMeMfaEmailCode(): Promise<IResponse<unknown>>;
|
|
4033
4032
|
/**
|
|
4034
4033
|
* <p>This endpoint is used to disable 2FA email.</p>
|
|
4035
4034
|
* <p>This endpoint Requires valid user access token</p>
|
|
4036
4035
|
*
|
|
4037
4036
|
*/
|
|
4038
|
-
postV4UsersMeMfaEmailDisable(): Promise<IResponse
|
|
4037
|
+
postV4UsersMeMfaEmailDisable(): Promise<IResponse<unknown>>;
|
|
4039
4038
|
/**
|
|
4040
4039
|
* <p>This endpoint is used to enable 2FA email.</p>
|
|
4041
4040
|
* <p>This endpoint Requires valid user access token</p>
|
|
@@ -4043,13 +4042,13 @@ declare class UsersV4$ {
|
|
|
4043
4042
|
*/
|
|
4044
4043
|
postV4UsersMeMfaEmailEnable(data: {
|
|
4045
4044
|
code: string | null;
|
|
4046
|
-
}): Promise<IResponse
|
|
4045
|
+
}): Promise<IResponse<unknown>>;
|
|
4047
4046
|
/**
|
|
4048
4047
|
* <p>This endpoint is used to get user enabled factors.</p>
|
|
4049
4048
|
* <p>This endpoint Requires valid user access token</p>
|
|
4050
4049
|
*
|
|
4051
4050
|
*/
|
|
4052
|
-
fetchV4UsersMeMfaFactor<T = EnabledFactorsResponseV4>(): Promise<IResponseWithSync
|
|
4051
|
+
fetchV4UsersMeMfaFactor<T = EnabledFactorsResponseV4>(): Promise<IResponseWithSync<T>>;
|
|
4053
4052
|
/**
|
|
4054
4053
|
* <p>This endpoint is used to make 2FA factor default.</p>
|
|
4055
4054
|
* <p>This endpoint Requires valid user access token</p>
|
|
@@ -4057,7 +4056,7 @@ declare class UsersV4$ {
|
|
|
4057
4056
|
*/
|
|
4058
4057
|
postV4UsersMeMfaFactor(data: {
|
|
4059
4058
|
factor: string | null;
|
|
4060
|
-
}): Promise<IResponse
|
|
4059
|
+
}): Promise<IResponse<unknown>>;
|
|
4061
4060
|
}
|
|
4062
4061
|
|
|
4063
4062
|
declare class UserApi {
|
|
@@ -9123,7 +9122,7 @@ declare class Item$ {
|
|
|
9123
9122
|
storeId?: string | null;
|
|
9124
9123
|
region?: string | null;
|
|
9125
9124
|
language?: string | null;
|
|
9126
|
-
}): Promise<IResponseWithSync
|
|
9125
|
+
}): Promise<IResponseWithSync<T>>;
|
|
9127
9126
|
/**
|
|
9128
9127
|
* This API is used to get the item by sku.<p>Other detail info: <ul><li><i>Optional permission</i>: resource="PREVIEW", action=1(CREATE) (user with this permission can view draft store item)</li><li><i>Optional permission</i>: resource="SANDBOX", action=1(CREATE) (user with this permission can view draft store item)</li><li><i>Returns</i>: the item with sku</li></ul>
|
|
9129
9128
|
*/
|
|
@@ -9132,7 +9131,7 @@ declare class Item$ {
|
|
|
9132
9131
|
sku: string | null;
|
|
9133
9132
|
language?: string | null;
|
|
9134
9133
|
region?: string | null;
|
|
9135
|
-
}): Promise<IResponseWithSync
|
|
9134
|
+
}): Promise<IResponseWithSync<T>>;
|
|
9136
9135
|
/**
|
|
9137
9136
|
* This API is used to search items by keyword in title, description and long description, It's language constrained, also if item not exist in specific region, default region item will return.<p>Other detail info: <ul><li><i>Optional permission</i>: resource="PREVIEW", action=1(CREATE) (user with this permission can view draft store item)</li><li><i>Optional permission</i>: resource="SANDBOX", action=1(CREATE) (user with this permission can view draft store item)</li><li><i>Returns</i>: the list of items</li></ul>
|
|
9138
9137
|
*/
|
|
@@ -9144,7 +9143,7 @@ declare class Item$ {
|
|
|
9144
9143
|
region?: string | null;
|
|
9145
9144
|
offset?: number;
|
|
9146
9145
|
limit?: number;
|
|
9147
|
-
}): Promise<IResponseWithSync
|
|
9146
|
+
}): Promise<IResponseWithSync<T>>;
|
|
9148
9147
|
/**
|
|
9149
9148
|
* This API is used to get item by appId.<p>Other detail info: <ul><li><i>Optional permission</i>: resource="PREVIEW", action=1(CREATE) (user with this permission can view draft store item)</li><li><i>Optional permission</i>: resource="SANDBOX", action=1(CREATE) (user with this permission can view draft store item)</li><li><i>Returns</i>: the item with that appId</li></ul>
|
|
9150
9149
|
*/
|
|
@@ -9153,7 +9152,7 @@ declare class Item$ {
|
|
|
9153
9152
|
appId: string | null;
|
|
9154
9153
|
language?: string | null;
|
|
9155
9154
|
region?: string | null;
|
|
9156
|
-
}): Promise<IResponseWithSync
|
|
9155
|
+
}): Promise<IResponseWithSync<T>>;
|
|
9157
9156
|
/**
|
|
9158
9157
|
* This API is used to get an item in locale. If item not exist in specific region, default region item will return.<p>Other detail info: <ul><li><i>Optional permission</i>: resource="PREVIEW", action=1(CREATE) (user with this permission can view draft store item)</li><li><i>Optional permission</i>: resource="SANDBOX", action=1(CREATE) (user with this permission can view draft store item)</li><li><i>Returns</i>: item data</li></ul>
|
|
9159
9158
|
*/
|
|
@@ -9162,7 +9161,7 @@ declare class Item$ {
|
|
|
9162
9161
|
region?: string | null;
|
|
9163
9162
|
language?: string | null;
|
|
9164
9163
|
populateBundle?: boolean | null;
|
|
9165
|
-
}): Promise<IResponseWithSync
|
|
9164
|
+
}): Promise<IResponseWithSync<T>>;
|
|
9166
9165
|
/**
|
|
9167
9166
|
* This API is used to query items by criteria within a store. If item not exist in specific region, default region item will return.<p>Other detail info: <ul><li><i>Optional permission</i>: resource="PREVIEW", action=1(CREATE) (user with this permission can view draft store item)</li><li><i>Optional permission</i>: resource="SANDBOX", action=1(CREATE) (user with this permission can view draft store item)</li><li><i>Returns</i>: the list of items</li></ul>
|
|
9168
9167
|
*/
|
|
@@ -9180,15 +9179,15 @@ declare class Item$ {
|
|
|
9180
9179
|
offset?: number;
|
|
9181
9180
|
limit?: number;
|
|
9182
9181
|
sortBy?: string | null;
|
|
9183
|
-
}): Promise<IResponseWithSync
|
|
9182
|
+
}): Promise<IResponseWithSync<T>>;
|
|
9184
9183
|
/**
|
|
9185
9184
|
* Get item dynamic data for a published item.<br>Other detail info: <ul><li><i>Returns</i>: item dynamic data</li></ul>
|
|
9186
9185
|
*/
|
|
9187
|
-
fetchItemsByItemidDynamic<T = ItemDynamicDataInfo>(itemId: string): Promise<IResponseWithSync
|
|
9186
|
+
fetchItemsByItemidDynamic<T = ItemDynamicDataInfo>(itemId: string): Promise<IResponseWithSync<T>>;
|
|
9188
9187
|
/**
|
|
9189
9188
|
* This API is used to validate user item purchase condition
|
|
9190
9189
|
*/
|
|
9191
|
-
postItemsPurchaseConditionsValidate<T = ItemPurchaseConditionValidateResultArray>(data: ItemPurchaseConditionValidateRequest): Promise<IResponse
|
|
9190
|
+
postItemsPurchaseConditionsValidate<T = ItemPurchaseConditionValidateResultArray>(data: ItemPurchaseConditionValidateRequest): Promise<IResponse<T>>;
|
|
9192
9191
|
/**
|
|
9193
9192
|
* This API is used to bulk get locale items. If item not exist in specific region, default region item will return.<p>Other detail info: <ul><li><i>Optional permission</i>: resource="PREVIEW", action=1(CREATE) (user with this permission can view draft store items)</li><li><i>Optional permission</i>: resource="SANDBOX", action=1(CREATE) (user with this permission can view draft store items)</li><li><i>Returns</i>: the list of items info</li></ul>
|
|
9194
9193
|
*/
|
|
@@ -9197,7 +9196,7 @@ declare class Item$ {
|
|
|
9197
9196
|
itemIds: string | null;
|
|
9198
9197
|
region?: string | null;
|
|
9199
9198
|
language?: string | null;
|
|
9200
|
-
}): Promise<IResponseWithSync
|
|
9199
|
+
}): Promise<IResponseWithSync<T>>;
|
|
9201
9200
|
}
|
|
9202
9201
|
|
|
9203
9202
|
declare type QueryParams = {
|
|
@@ -11606,27 +11605,27 @@ declare class Order$ {
|
|
|
11606
11605
|
status?: string | null;
|
|
11607
11606
|
offset?: number;
|
|
11608
11607
|
limit?: number;
|
|
11609
|
-
}): Promise<IResponseWithSync
|
|
11608
|
+
}): Promise<IResponseWithSync<T>>;
|
|
11610
11609
|
/**
|
|
11611
11610
|
* Create an order. The result contains the checkout link and payment token. User with permission SANDBOX will create sandbox order that not real paid for xsolla/alipay and not validate price for wxpay.<br>Other detail info: <ul><li><i>Required permission</i>: resource="NAMESPACE:{namespace}:USER:{userId}:ORDER", action=1 (CREATE)</li><li><i>Optional permission(user with this permission will create sandbox order)</i>: resource="SANDBOX", action=1 (CREATE)</li><li>It will be forbidden while the user is banned: ORDER_INITIATE or ORDER_AND_PAYMENT</li><li><i>Returns</i>: created order</li></ul>
|
|
11612
11611
|
*/
|
|
11613
|
-
postUsersByUseridOrders<T = OrderInfo>(userId: string, data: OrderCreate): Promise<IResponse
|
|
11612
|
+
postUsersByUseridOrders<T = OrderInfo>(userId: string, data: OrderCreate): Promise<IResponse<T>>;
|
|
11614
11613
|
/**
|
|
11615
11614
|
* Get user order.<br>Other detail info: <ul><li><i>Required permission</i>: resource="NAMESPACE:{namespace}:USER:{userId}:ORDER", action=2 (READ)</li><li><i>Returns</i>: get order</li></ul>
|
|
11616
11615
|
*/
|
|
11617
|
-
fetchUsersByUseridOrdersByOrderno<T = OrderInfo>(userId: string, orderNo: string): Promise<IResponseWithSync
|
|
11616
|
+
fetchUsersByUseridOrdersByOrderno<T = OrderInfo>(userId: string, orderNo: string): Promise<IResponseWithSync<T>>;
|
|
11618
11617
|
/**
|
|
11619
11618
|
* Download user order receipt by orderNo.<br>Other detail info: <ul><li><i>Required permission</i>: resource="NAMESPACE:{namespace}:USER:{userId}:ORDER", action=2 (READ)</li><li><i>Returns</i>: order receipt pdf</li></ul>
|
|
11620
11619
|
*/
|
|
11621
|
-
fetchUsersByUseridOrdersByOrdernoReceiptPdf(userId: string, orderNo: string): Promise<IResponseWithSync
|
|
11620
|
+
fetchUsersByUseridOrdersByOrdernoReceiptPdf(userId: string, orderNo: string): Promise<IResponseWithSync<unknown>>;
|
|
11622
11621
|
/**
|
|
11623
11622
|
* Cancel user order.<br>Other detail info: <ul><li><i>Required permission</i>: resource="NAMESPACE:{namespace}:USER:{userId}:ORDER", action=4 (UPDATE)</li><li><i>Returns</i>: cancelled order</li></ul>
|
|
11624
11623
|
*/
|
|
11625
|
-
putUsersByUseridOrdersByOrdernoCancel<T = OrderInfo>(userId: string, orderNo: string): Promise<IResponse
|
|
11624
|
+
putUsersByUseridOrdersByOrdernoCancel<T = OrderInfo>(userId: string, orderNo: string): Promise<IResponse<T>>;
|
|
11626
11625
|
/**
|
|
11627
11626
|
* Get user order histories.<br>Other detail info: <ul><li><i>Required permission</i>: resource="NAMESPACE:{namespace}:USER:{userId}:ORDER", action=2 (READ)</li><li><i>Returns</i>: get order history</li></ul>
|
|
11628
11627
|
*/
|
|
11629
|
-
fetchUsersByUseridOrdersByOrdernoHistory<T = OrderHistoryInfoArray>(userId: string, orderNo: string): Promise<IResponseWithSync
|
|
11628
|
+
fetchUsersByUseridOrdersByOrdernoHistory<T = OrderHistoryInfoArray>(userId: string, orderNo: string): Promise<IResponseWithSync<T>>;
|
|
11630
11629
|
}
|
|
11631
11630
|
|
|
11632
11631
|
declare class OrderApi {
|
|
@@ -13628,7 +13627,7 @@ declare class OAuth20$ {
|
|
|
13628
13627
|
createHeadless?: boolean | null;
|
|
13629
13628
|
useRedirectUriAsLoginUrlWhenLocked?: boolean | null;
|
|
13630
13629
|
oneTimeLinkCode?: string | null;
|
|
13631
|
-
}): Promise<IResponseWithSync
|
|
13630
|
+
}): Promise<IResponseWithSync<unknown>>;
|
|
13632
13631
|
/**
|
|
13633
13632
|
* <p>This endpoint returns information about an access token intended to be used by resource servers or other internal servers.</p>
|
|
13634
13633
|
* <p>This endpoint requires authorized requests header with valid basic or bearer token.</p>
|
|
@@ -13636,7 +13635,7 @@ declare class OAuth20$ {
|
|
|
13636
13635
|
*/
|
|
13637
13636
|
postIamV3OauthIntrospect<T = TokenIntrospectResponse>(data: {
|
|
13638
13637
|
token: string | null;
|
|
13639
|
-
}): Promise<IResponse
|
|
13638
|
+
}): Promise<IResponse<T>>;
|
|
13640
13639
|
/**
|
|
13641
13640
|
* <p>This endpoint serves public keys for verifying JWT access tokens generated by this service.</p>
|
|
13642
13641
|
* <p>When a client application wants to verify a JWT token, it needs to get the 'kid' value found in the JWT token header and use it
|
|
@@ -13647,7 +13646,7 @@ declare class OAuth20$ {
|
|
|
13647
13646
|
* <p>Please refer to the RFC for more information about JWK (JSON Web Key): https://tools.ietf.org/html/rfc7517</p>
|
|
13648
13647
|
* <br>action code : 10709
|
|
13649
13648
|
*/
|
|
13650
|
-
fetchIamV3OauthJwks<T = JwkSet>(): Promise<IResponseWithSync
|
|
13649
|
+
fetchIamV3OauthJwks<T = JwkSet>(): Promise<IResponseWithSync<T>>;
|
|
13651
13650
|
/**
|
|
13652
13651
|
* Send 2FA code<br/>
|
|
13653
13652
|
* <p>This endpoint is used for sending 2FA code.</p>
|
|
@@ -13657,7 +13656,7 @@ declare class OAuth20$ {
|
|
|
13657
13656
|
mfaToken: string | null;
|
|
13658
13657
|
factor: string | null;
|
|
13659
13658
|
clientId: string | null;
|
|
13660
|
-
}): Promise<IResponse
|
|
13659
|
+
}): Promise<IResponse<unknown>>;
|
|
13661
13660
|
/**
|
|
13662
13661
|
* Change 2FA method<br/>
|
|
13663
13662
|
* <p>This endpoint is used for change 2FA method. Only enabled methods are accepted.</p>
|
|
@@ -13672,7 +13671,7 @@ declare class OAuth20$ {
|
|
|
13672
13671
|
postIamV3OauthMfaFactorChange(data: {
|
|
13673
13672
|
mfaToken: string | null;
|
|
13674
13673
|
factor: string | null;
|
|
13675
|
-
}): Promise<IResponse
|
|
13674
|
+
}): Promise<IResponse<unknown>>;
|
|
13676
13675
|
/**
|
|
13677
13676
|
* Verify 2FA code<br/>
|
|
13678
13677
|
* <p>This endpoint is used for verifying 2FA code.</p>
|
|
@@ -13685,7 +13684,7 @@ declare class OAuth20$ {
|
|
|
13685
13684
|
factor: string | null;
|
|
13686
13685
|
code: string | null;
|
|
13687
13686
|
rememberDevice: boolean | null;
|
|
13688
|
-
}): Promise<IResponse
|
|
13687
|
+
}): Promise<IResponse<T>>;
|
|
13689
13688
|
/**
|
|
13690
13689
|
* Retrieve User Third Party Platform Token<br/>
|
|
13691
13690
|
* <p>
|
|
@@ -13703,7 +13702,7 @@ declare class OAuth20$ {
|
|
|
13703
13702
|
* <li>awscognito</li>
|
|
13704
13703
|
* </ul>
|
|
13705
13704
|
*/
|
|
13706
|
-
fetchV3OauthUsersByUseridPlatformsByPlatformidPlatformToken<T = TokenThirdPartyResponse>(userId: string, platformId: string): Promise<IResponseWithSync
|
|
13705
|
+
fetchV3OauthUsersByUseridPlatformsByPlatformidPlatformToken<T = TokenThirdPartyResponse>(userId: string, platformId: string): Promise<IResponseWithSync<T>>;
|
|
13707
13706
|
/**
|
|
13708
13707
|
* Generate url to request auth code from third party platform <br>
|
|
13709
13708
|
* <h2>Supported platforms:</h2><ul>
|
|
@@ -13735,7 +13734,7 @@ declare class OAuth20$ {
|
|
|
13735
13734
|
request_id: string | null;
|
|
13736
13735
|
client_id?: string | null;
|
|
13737
13736
|
redirect_uri?: string | null;
|
|
13738
|
-
}): Promise<IResponseWithSync
|
|
13737
|
+
}): Promise<IResponseWithSync<unknown>>;
|
|
13739
13738
|
/**
|
|
13740
13739
|
* <p>Platform token grant specifically used for performing token grant using platform, e.g. Steam, Justice, etc. The endpoint automatically create an account if the account associated with the platform is not exists yet.
|
|
13741
13740
|
* This endpoint requires all requests to have Authorization header set with Basic access authentication
|
|
@@ -13830,21 +13829,21 @@ declare class OAuth20$ {
|
|
|
13830
13829
|
device_id?: string | null;
|
|
13831
13830
|
createHeadless?: boolean | null;
|
|
13832
13831
|
macAddress?: string | null;
|
|
13833
|
-
}): Promise<IResponse
|
|
13832
|
+
}): Promise<IResponse<T>>;
|
|
13834
13833
|
/**
|
|
13835
13834
|
* <p>This endpoint will return a list of revoked users and revoked tokens. List of revoked tokens in bloom filter format.</p>
|
|
13836
13835
|
* <p>This endpoint requires authorized requests header with valid access token.</p>
|
|
13837
13836
|
* <p>The bloom filter uses MurmurHash3 algorithm for hashing the values</p>
|
|
13838
13837
|
* <p>action code : 10708</p>
|
|
13839
13838
|
*/
|
|
13840
|
-
fetchIamV3OauthRevocationlist<T = RevocationList>(): Promise<IResponseWithSync
|
|
13839
|
+
fetchIamV3OauthRevocationlist<T = RevocationList>(): Promise<IResponseWithSync<T>>;
|
|
13841
13840
|
/**
|
|
13842
13841
|
* <p>This endpoint revokes a token.</p>
|
|
13843
13842
|
* <p>This endpoint requires authorized requests header with Basic Authentication from client that establish the token.</p><br>action code: 10706
|
|
13844
13843
|
*/
|
|
13845
13844
|
postIamV3OauthRevoke(data: {
|
|
13846
13845
|
token: string | null;
|
|
13847
|
-
}): Promise<IResponse
|
|
13846
|
+
}): Promise<IResponse<unknown>>;
|
|
13848
13847
|
/**
|
|
13849
13848
|
* <p>This endpoint supports grant type:</p><ol>
|
|
13850
13849
|
* <li>Grant Type == <code>authorization_code</code>:<br />
|
|
@@ -13932,13 +13931,13 @@ declare class OAuth20$ {
|
|
|
13932
13931
|
redirect_uri?: string | null;
|
|
13933
13932
|
refresh_token?: string | null;
|
|
13934
13933
|
extend_exp?: boolean | null;
|
|
13935
|
-
}): Promise<IResponse
|
|
13934
|
+
}): Promise<IResponse<T>>;
|
|
13936
13935
|
/**
|
|
13937
13936
|
* This endpoint requires all requests to have Authorization header set with Basic access authentication constructed from client id and client secret.
|
|
13938
13937
|
*/
|
|
13939
13938
|
postIamV3OauthVerify<T = TokenResponseV3>(data: {
|
|
13940
13939
|
token: string | null;
|
|
13941
|
-
}): Promise<IResponse
|
|
13940
|
+
}): Promise<IResponse<T>>;
|
|
13942
13941
|
}
|
|
13943
13942
|
|
|
13944
13943
|
declare const InputValidationsPublicResponse: z.ZodObject<{
|
|
@@ -14139,7 +14138,7 @@ declare class InputValidations$ {
|
|
|
14139
14138
|
fetchIamV3PublicInputValidations<T = InputValidationsPublicResponse>(queryParams?: {
|
|
14140
14139
|
languageCode?: string | null;
|
|
14141
14140
|
defaultOnEmpty?: boolean | null;
|
|
14142
|
-
}): Promise<IResponseWithSync
|
|
14141
|
+
}): Promise<IResponseWithSync<T>>;
|
|
14143
14142
|
}
|
|
14144
14143
|
|
|
14145
14144
|
declare const RoleNamesResponseV3: z.ZodObject<{
|
|
@@ -14244,11 +14243,11 @@ declare class Roles$ {
|
|
|
14244
14243
|
after?: string | null;
|
|
14245
14244
|
before?: string | null;
|
|
14246
14245
|
isWildcard?: boolean | null;
|
|
14247
|
-
}): Promise<IResponseWithSync
|
|
14246
|
+
}): Promise<IResponseWithSync<T>>;
|
|
14248
14247
|
/**
|
|
14249
14248
|
* <br>This endpoint is used to get non-admin role based on specify roleId. <br>action code : 10417
|
|
14250
14249
|
*/
|
|
14251
|
-
fetchV3PublicRolesByRoleid<T = RoleResponse>(roleId: string): Promise<IResponseWithSync
|
|
14250
|
+
fetchV3PublicRolesByRoleid<T = RoleResponse>(roleId: string): Promise<IResponseWithSync<T>>;
|
|
14252
14251
|
}
|
|
14253
14252
|
|
|
14254
14253
|
/**
|
|
@@ -14272,7 +14271,7 @@ declare class SsoSaml20$ {
|
|
|
14272
14271
|
state: string | null;
|
|
14273
14272
|
code?: string | null;
|
|
14274
14273
|
error?: string | null;
|
|
14275
|
-
}): Promise<IResponse
|
|
14274
|
+
}): Promise<IResponse<unknown>>;
|
|
14276
14275
|
}
|
|
14277
14276
|
|
|
14278
14277
|
/**
|
|
@@ -14286,7 +14285,7 @@ declare class Sso$ {
|
|
|
14286
14285
|
constructor(axiosInstance: AxiosInstance, namespace: string, cache?: boolean);
|
|
14287
14286
|
fetchV3SsoByPlatformid(platformId: string, queryParams?: {
|
|
14288
14287
|
payload?: string | null;
|
|
14289
|
-
}): Promise<IResponseWithSync
|
|
14288
|
+
}): Promise<IResponseWithSync<unknown>>;
|
|
14290
14289
|
/**
|
|
14291
14290
|
* Logout user's session on platform that logged in using SSO.
|
|
14292
14291
|
*
|
|
@@ -14294,7 +14293,7 @@ declare class Sso$ {
|
|
|
14294
14293
|
* - discourse
|
|
14295
14294
|
*
|
|
14296
14295
|
*/
|
|
14297
|
-
postV3SsoByPlatformidLogout(platformId: string): Promise<IResponse
|
|
14296
|
+
postV3SsoByPlatformidLogout(platformId: string): Promise<IResponse<unknown>>;
|
|
14298
14297
|
}
|
|
14299
14298
|
|
|
14300
14299
|
declare const BannedBy: z.ZodObject<{
|
|
@@ -22862,35 +22861,35 @@ declare class Category$ {
|
|
|
22862
22861
|
fetchCategoriesByCategorypathChildren<T = CategoryInfoArray>(categoryPath: string, queryParams?: {
|
|
22863
22862
|
storeId?: string | null;
|
|
22864
22863
|
language?: string | null;
|
|
22865
|
-
}): Promise<IResponseWithSync
|
|
22864
|
+
}): Promise<IResponseWithSync<T>>;
|
|
22866
22865
|
/**
|
|
22867
22866
|
* This API is used to get category by category path.<p>Other detail info: <ul><li><i>Optional permission</i>: resource="PREVIEW", action=1(CREATE) (user with this permission can view draft store category)</li><li><i>Optional permission</i>: resource="SANDBOX", action=1 (CREATE)(user with this permission can view draft store category)</li><li><i>Returns</i>: category data</li></ul>
|
|
22868
22867
|
*/
|
|
22869
22868
|
fetchCategoriesByCategorypath<T = CategoryInfo>(categoryPath: string, queryParams?: {
|
|
22870
22869
|
storeId?: string | null;
|
|
22871
22870
|
language?: string | null;
|
|
22872
|
-
}): Promise<IResponseWithSync
|
|
22871
|
+
}): Promise<IResponseWithSync<T>>;
|
|
22873
22872
|
/**
|
|
22874
22873
|
* This API is used to get root categories.<p>Other detail info: <ul><li><i>Optional permission</i>: resource="PREVIEW", action=1(CREATE) (user with this permission can view draft store category)</li><li><i>Optional permission</i>: resource="SANDBOX", action=1(CREATE) (user with this permission can view draft store category)</li><li><i>Returns</i>: root category data</li></ul>
|
|
22875
22874
|
*/
|
|
22876
22875
|
fetchCategories<T = CategoryInfoArray>(queryParams?: {
|
|
22877
22876
|
storeId?: string | null;
|
|
22878
22877
|
language?: string | null;
|
|
22879
|
-
}): Promise<IResponseWithSync
|
|
22878
|
+
}): Promise<IResponseWithSync<T>>;
|
|
22880
22879
|
/**
|
|
22881
22880
|
* This API is used to get descendant categories by category path.<p>Other detail info: <ul><li><i>Optional permission</i>: resource="PREVIEW", action=1(CREATE) (user with this permission can view draft store category)</li><li><i>Optional permission</i>: resource="SANDBOX", action=1(CREATE) (user with this permission can view draft store category)</li><li><i>Returns</i>: list of descendant categories data</li></ul>
|
|
22882
22881
|
*/
|
|
22883
22882
|
fetchCategoriesByCategorypathDescendants<T = CategoryInfoArray>(categoryPath: string, queryParams?: {
|
|
22884
22883
|
language?: string | null;
|
|
22885
22884
|
storeId?: string | null;
|
|
22886
|
-
}): Promise<IResponseWithSync
|
|
22885
|
+
}): Promise<IResponseWithSync<T>>;
|
|
22887
22886
|
/**
|
|
22888
22887
|
* This API is used to download store's structured categories.<p>Other detail info: <ul><li><i>Optional permission</i>: resource="PREVIEW", action=1(CREATE) (user with this permission can view draft store content)</li><li><i>Optional permission</i>: resource="SANDBOX", action=1(CREATE) (user with this permission can view draft store content)</li><li><i>Returns</i>: structured categories</li></ul>
|
|
22889
22888
|
*/
|
|
22890
22889
|
fetchCategoriesDownload<T = HierarchicalCategoryInfoArray>(queryParams?: {
|
|
22891
22890
|
storeId?: string | null;
|
|
22892
22891
|
language?: string | null;
|
|
22893
|
-
}): Promise<IResponseWithSync
|
|
22892
|
+
}): Promise<IResponseWithSync<T>>;
|
|
22894
22893
|
}
|
|
22895
22894
|
|
|
22896
22895
|
declare const StoreInfoArray: z.ZodArray<z.ZodObject<{
|
|
@@ -22947,7 +22946,7 @@ declare class Store$ {
|
|
|
22947
22946
|
/**
|
|
22948
22947
|
* This API is used to list all stores in a namespace.<p>Other detail info: <ul><li><i>Optional permission</i>: resource="PREVIEW", action=1(CREATE) (user with this permission can view draft store)</li><li><i>Optional permission</i>: resource="SANDBOX", action=1(CREATE) (user with this permission can view draft store)</li><li><i>Returns</i>: the list of stores</li></ul>
|
|
22949
22948
|
*/
|
|
22950
|
-
fetchStores<T = StoreInfoArray>(): Promise<IResponseWithSync
|
|
22949
|
+
fetchStores<T = StoreInfoArray>(): Promise<IResponseWithSync<T>>;
|
|
22951
22950
|
}
|
|
22952
22951
|
|
|
22953
22952
|
declare const CurrencyInfoArray: z.ZodArray<z.ZodObject<{
|
|
@@ -22994,7 +22993,7 @@ declare class Currency$ {
|
|
|
22994
22993
|
*/
|
|
22995
22994
|
fetchCurrencies<T = CurrencyInfoArray>(queryParams?: {
|
|
22996
22995
|
currencyType?: string | null;
|
|
22997
|
-
}): Promise<IResponseWithSync
|
|
22996
|
+
}): Promise<IResponseWithSync<T>>;
|
|
22998
22997
|
}
|
|
22999
22998
|
|
|
23000
22999
|
declare const AppEntitlementInfo: z.ZodObject<{
|
|
@@ -26270,7 +26269,7 @@ declare class Entitlement$ {
|
|
|
26270
26269
|
*/
|
|
26271
26270
|
fetchUsersMeEntitlementsOwnershipByAppId<T = Ownership>(queryParams?: {
|
|
26272
26271
|
appId: string | null;
|
|
26273
|
-
}): Promise<IResponseWithSync
|
|
26272
|
+
}): Promise<IResponseWithSync<T>>;
|
|
26274
26273
|
/**
|
|
26275
26274
|
* Exists any my active entitlement of specified itemIds, skus and appIds<p>Other detail info: <ul><li><i>Required permission</i>: resource="NAMESPACE:{namespace}:ENTITLEMENT", action=2 (READ)</li></ul>
|
|
26276
26275
|
*/
|
|
@@ -26278,21 +26277,21 @@ declare class Entitlement$ {
|
|
|
26278
26277
|
itemIds?: string[];
|
|
26279
26278
|
appIds?: string[];
|
|
26280
26279
|
skus?: string[];
|
|
26281
|
-
}): Promise<IResponseWithSync
|
|
26280
|
+
}): Promise<IResponseWithSync<T>>;
|
|
26282
26281
|
/**
|
|
26283
26282
|
* Get my entitlement ownership by sku.<p>Other detail info: <ul><li><i>Required permission</i>: resource="NAMESPACE:{namespace}:ENTITLEMENT", action=2 (READ)</li><li><i>Path's namespace</i> : <ul><li>can be filled with <b>publisher namespace</b> in order to get <b>publisher namespace entitlement ownership by sku</b></li><li>can be filled with <b>game namespace</b> in order to get <b>game namespace entitlement ownership by sku</b></li></ul></li></ul>
|
|
26284
26283
|
*/
|
|
26285
26284
|
fetchUsersMeEntitlementsOwnershipBySku<T = TimedOwnership>(queryParams?: {
|
|
26286
26285
|
sku: string | null;
|
|
26287
26286
|
entitlementClazz?: string | null;
|
|
26288
|
-
}): Promise<IResponseWithSync
|
|
26287
|
+
}): Promise<IResponseWithSync<T>>;
|
|
26289
26288
|
/**
|
|
26290
26289
|
* Get my entitlement ownership by itemId.<p>Other detail info: <ul><li><i>Required permission</i>: resource="NAMESPACE:{namespace}:ENTITLEMENT", action=2 (READ)</li><li><i>Path's namespace</i> : <ul><li>can be filled with <b>publisher namespace</b> in order to get <b>publisher namespace entitlement ownership by sku</b></li><li>can be filled with <b>game namespace</b> in order to get <b>game namespace entitlement ownership by sku</b></li></ul></li></ul>
|
|
26291
26290
|
*/
|
|
26292
26291
|
fetchUsersMeEntitlementsOwnershipByItemId<T = TimedOwnership>(queryParams?: {
|
|
26293
26292
|
itemId: string | null;
|
|
26294
26293
|
entitlementClazz?: string | null;
|
|
26295
|
-
}): Promise<IResponseWithSync
|
|
26294
|
+
}): Promise<IResponseWithSync<T>>;
|
|
26296
26295
|
/**
|
|
26297
26296
|
* Gets an entitlement ownership token of specified itemIds, skus and appIds<p>The decoded ownership token header like below:<p><pre><code>{
|
|
26298
26297
|
* "kid": "9fd4cd5f991cebe3323605cd12d3b8bfdfc73fa4",
|
|
@@ -26329,7 +26328,7 @@ declare class Entitlement$ {
|
|
|
26329
26328
|
itemIds?: string[];
|
|
26330
26329
|
appIds?: string[];
|
|
26331
26330
|
skus?: string[];
|
|
26332
|
-
}): Promise<IResponseWithSync
|
|
26331
|
+
}): Promise<IResponseWithSync<T>>;
|
|
26333
26332
|
/**
|
|
26334
26333
|
* Exists any user active entitlement of specified itemIds, skus and appIds<p>Other detail info: <ul><li><i>Required permission</i>: resource="NAMESPACE:{namespace}:USER:{userId}:ENTITLEMENT", action=2 (READ)</li></ul>
|
|
26335
26334
|
*/
|
|
@@ -26337,33 +26336,33 @@ declare class Entitlement$ {
|
|
|
26337
26336
|
itemIds?: string[];
|
|
26338
26337
|
appIds?: string[];
|
|
26339
26338
|
skus?: string[];
|
|
26340
|
-
}): Promise<IResponseWithSync
|
|
26339
|
+
}): Promise<IResponseWithSync<T>>;
|
|
26341
26340
|
/**
|
|
26342
26341
|
* Get user entitlement ownership by itemId.<p>Other detail info: <ul><li><i>Required permission</i>: resource="NAMESPACE:{namespace}:USER:{userId}:ENTITLEMENT", action=2 (READ)</li></ul>
|
|
26343
26342
|
*/
|
|
26344
26343
|
fetchUsersByUseridEntitlementsOwnershipByItemId<T = TimedOwnership>(userId: string, queryParams?: {
|
|
26345
26344
|
itemId: string | null;
|
|
26346
26345
|
entitlementClazz?: string | null;
|
|
26347
|
-
}): Promise<IResponseWithSync
|
|
26346
|
+
}): Promise<IResponseWithSync<T>>;
|
|
26348
26347
|
/**
|
|
26349
26348
|
* Get user app entitlement by appId.<p>Other detail info: <ul><li><i>Required permission</i>: resource="NAMESPACE:{namespace}:USER:{userId}:ENTITLEMENT", action=2 (READ)</li></ul>
|
|
26350
26349
|
*/
|
|
26351
26350
|
fetchUsersByUseridEntitlementsByAppId<T = AppEntitlementInfo>(userId: string, queryParams?: {
|
|
26352
26351
|
appId: string | null;
|
|
26353
|
-
}): Promise<IResponseWithSync
|
|
26352
|
+
}): Promise<IResponseWithSync<T>>;
|
|
26354
26353
|
/**
|
|
26355
26354
|
* Get user entitlement ownership by sku.<p>Other detail info: <ul><li><i>Required permission</i>: resource="NAMESPACE:{namespace}:USER:{userId}:ENTITLEMENT", action=2 (READ)</li></ul>
|
|
26356
26355
|
*/
|
|
26357
26356
|
fetchUsersByUseridEntitlementsOwnershipBySku<T = TimedOwnership>(userId: string, queryParams?: {
|
|
26358
26357
|
sku: string | null;
|
|
26359
26358
|
entitlementClazz?: string | null;
|
|
26360
|
-
}): Promise<IResponseWithSync
|
|
26359
|
+
}): Promise<IResponseWithSync<T>>;
|
|
26361
26360
|
/**
|
|
26362
26361
|
* Get user entitlement ownership by itemIds.<p>Other detail info: <ul><li><i>Required permission</i>: resource="NAMESPACE:{namespace}:USER:{userId}:ENTITLEMENT", action=2 (READ)</li></ul>
|
|
26363
26362
|
*/
|
|
26364
26363
|
fetchUsersByUseridEntitlementsOwnershipByItemIds<T = EntitlementOwnershipArray>(userId: string, queryParams?: {
|
|
26365
26364
|
ids?: string[];
|
|
26366
|
-
}): Promise<IResponseWithSync
|
|
26365
|
+
}): Promise<IResponseWithSync<T>>;
|
|
26367
26366
|
/**
|
|
26368
26367
|
* Query user entitlements for a specific user.<p>Other detail info: <ul><li><i>Required permission</i>: resource="NAMESPACE:{namespace}:USER:{userId}:ENTITLEMENT", action=2 (READ)</li><li><i>Returns</i>: entitlement list</li></ul>
|
|
26369
26368
|
*/
|
|
@@ -26375,31 +26374,31 @@ declare class Entitlement$ {
|
|
|
26375
26374
|
features?: string[];
|
|
26376
26375
|
offset?: number;
|
|
26377
26376
|
limit?: number;
|
|
26378
|
-
}): Promise<IResponseWithSync
|
|
26377
|
+
}): Promise<IResponseWithSync<T>>;
|
|
26379
26378
|
/**
|
|
26380
26379
|
* Get user entitlement by itemId.<p>Other detail info: <ul><li><i>Required permission</i>: resource="NAMESPACE:{namespace}:USER:{userId}:ENTITLEMENT", action=2 (READ)</li></ul>
|
|
26381
26380
|
*/
|
|
26382
26381
|
fetchUsersByUseridEntitlementsByItemId<T = EntitlementInfo>(userId: string, queryParams?: {
|
|
26383
26382
|
itemId: string | null;
|
|
26384
26383
|
entitlementClazz?: string | null;
|
|
26385
|
-
}): Promise<IResponseWithSync
|
|
26384
|
+
}): Promise<IResponseWithSync<T>>;
|
|
26386
26385
|
/**
|
|
26387
26386
|
* Get user entitlement.<p>Other detail info: <ul><li><i>Required permission</i>: resource="NAMESPACE:{namespace}:USER:{userId}:ENTITLEMENT", action=2 (READ)</li><li><i>Returns</i>: entitlement</li></ul>
|
|
26388
26387
|
*/
|
|
26389
|
-
fetchUsersByUseridEntitlementsByEntitlementid<T = EntitlementInfo>(userId: string, entitlementId: string): Promise<IResponseWithSync
|
|
26388
|
+
fetchUsersByUseridEntitlementsByEntitlementid<T = EntitlementInfo>(userId: string, entitlementId: string): Promise<IResponseWithSync<T>>;
|
|
26390
26389
|
/**
|
|
26391
26390
|
* Get user app entitlement ownership by appId.<p>Other detail info: <ul><li><i>Required permission</i>: resource="NAMESPACE:{namespace}:USER:{userId}:ENTITLEMENT", action=2 (READ)</li></ul>
|
|
26392
26391
|
*/
|
|
26393
26392
|
fetchUsersByUseridEntitlementsOwnershipByAppId<T = Ownership>(userId: string, queryParams?: {
|
|
26394
26393
|
appId: string | null;
|
|
26395
|
-
}): Promise<IResponseWithSync
|
|
26394
|
+
}): Promise<IResponseWithSync<T>>;
|
|
26396
26395
|
/**
|
|
26397
26396
|
* Get user entitlement by sku.<p>Other detail info: <ul><li><i>Required permission</i>: resource="NAMESPACE:{namespace}:USER:{userId}:ENTITLEMENT", action=2 (READ)</li></ul>
|
|
26398
26397
|
*/
|
|
26399
26398
|
fetchUsersByUseridEntitlementsBySku<T = EntitlementInfo>(userId: string, queryParams?: {
|
|
26400
26399
|
sku: string | null;
|
|
26401
26400
|
entitlementClazz?: string | null;
|
|
26402
|
-
}): Promise<IResponseWithSync
|
|
26401
|
+
}): Promise<IResponseWithSync<T>>;
|
|
26403
26402
|
/**
|
|
26404
26403
|
* Query app entitlements by appType.<p>Other detail info: <ul><li><i>Required permission</i>: resource="NAMESPACE:{namespace}:USER:{userId}:ENTITLEMENT", action=2 (READ)</li><li><i>Returns</i>: app entitlement pagination</li></ul>
|
|
26405
26404
|
*/
|
|
@@ -26407,11 +26406,11 @@ declare class Entitlement$ {
|
|
|
26407
26406
|
appType: string | null;
|
|
26408
26407
|
offset?: number;
|
|
26409
26408
|
limit?: number;
|
|
26410
|
-
}): Promise<IResponseWithSync
|
|
26409
|
+
}): Promise<IResponseWithSync<T>>;
|
|
26411
26410
|
/**
|
|
26412
26411
|
* Consume user entitlement. If the entitlement useCount is 0, the status will be CONSUMED. Client should pass item id in options if entitlement clazz is OPTIONBOX<br>Other detail info: <ul><li><i>Required permission</i>: resource="NAMESPACE:{namespace}:USER:{userId}:ENTITLEMENT", action=4 (UPDATE)</li><li><i>Returns</i>: consumed entitlement</li></ul>
|
|
26413
26412
|
*/
|
|
26414
|
-
putUsersByUseridEntitlementsByEntitlementidDecrement<T = EntitlementDecrementResult>(userId: string, entitlementId: string, data: EntitlementDecrement): Promise<IResponse
|
|
26413
|
+
putUsersByUseridEntitlementsByEntitlementidDecrement<T = EntitlementDecrementResult>(userId: string, entitlementId: string, data: EntitlementDecrement): Promise<IResponse<T>>;
|
|
26415
26414
|
}
|
|
26416
26415
|
|
|
26417
26416
|
declare const FulfillmentResult: z.ZodObject<{
|
|
@@ -26597,7 +26596,7 @@ declare class Fulfillment$ {
|
|
|
26597
26596
|
/**
|
|
26598
26597
|
* Redeem campaign code.<br>Other detail info: <ul><li><i>Required permission</i>: resource="NAMESPACE:{namespace}:USER:{userId}:FULFILLMENT", action=1 (CREATED)</li><li><i>Returns</i>: fulfillment result</li></ul>
|
|
26599
26598
|
*/
|
|
26600
|
-
postUsersByUseridFulfillmentCode<T = FulfillmentResult>(userId: string, data: FulfillCodeRequest): Promise<IResponse
|
|
26599
|
+
postUsersByUseridFulfillmentCode<T = FulfillmentResult>(userId: string, data: FulfillCodeRequest): Promise<IResponse<T>>;
|
|
26601
26600
|
}
|
|
26602
26601
|
|
|
26603
26602
|
declare const EpicGamesDlcSyncRequest: z.ZodObject<{
|
|
@@ -26660,23 +26659,23 @@ declare class Dlc$ {
|
|
|
26660
26659
|
/**
|
|
26661
26660
|
* Sync steam dlc.<p>Other detail info: <ul><li><i>Required permission</i>: resource=NAMESPACE:{namespace}:USER:{userId}:DLC, action=4 (UPDATE)</li><li><i>Returns</i>: </li></ul>
|
|
26662
26661
|
*/
|
|
26663
|
-
putUsersByUseridDlcSteamSync(userId: string, data: SteamDlcSyncRequest): Promise<IResponse
|
|
26662
|
+
putUsersByUseridDlcSteamSync(userId: string, data: SteamDlcSyncRequest): Promise<IResponse<unknown>>;
|
|
26664
26663
|
/**
|
|
26665
26664
|
* Sync Xbox inventory's dlc items.<p>Other detail info: <ul><li><i>Required permission</i>: resource=NAMESPACE:{namespace}:USER:{userId}:DLC, action=4 (UPDATE)</li><li><i>Returns</i>: </li></ul>
|
|
26666
26665
|
*/
|
|
26667
|
-
putUsersByUseridDlcXblSync(userId: string, data: XblDlcSyncRequest): Promise<IResponse
|
|
26666
|
+
putUsersByUseridDlcXblSync(userId: string, data: XblDlcSyncRequest): Promise<IResponse<unknown>>;
|
|
26668
26667
|
/**
|
|
26669
26668
|
* Synchronize with dlc entitlements in PSN Store.<p>Other detail info: <ul><li><i>Required permission</i>: resource=NAMESPACE:{namespace}:USER:{userId}:DLC, action=4 (UPDATE)</li><li><i>Returns</i>: result of synchronization</li></ul>
|
|
26670
26669
|
*/
|
|
26671
|
-
putUsersByUseridDlcPsnSync(userId: string, data: PlayStationDlcSyncRequest): Promise<IResponse
|
|
26670
|
+
putUsersByUseridDlcPsnSync(userId: string, data: PlayStationDlcSyncRequest): Promise<IResponse<unknown>>;
|
|
26672
26671
|
/**
|
|
26673
26672
|
* Sync epic games dlc items.<p>Other detail info: <ul><li><i>Required permission</i>: resource=NAMESPACE:{namespace}:USER:{userId}:DLC, action=4 (UPDATE)</li><li><i>Returns</i>: </li></ul>
|
|
26674
26673
|
*/
|
|
26675
|
-
putUsersByUseridDlcEpicgamesSync(userId: string, data: EpicGamesDlcSyncRequest): Promise<IResponse
|
|
26674
|
+
putUsersByUseridDlcEpicgamesSync(userId: string, data: EpicGamesDlcSyncRequest): Promise<IResponse<unknown>>;
|
|
26676
26675
|
/**
|
|
26677
26676
|
* Synchronize with dlc entitlements in PSN Store with multiple service labels.<p>Other detail info: <ul><li><i>Required permission</i>: resource=NAMESPACE:{namespace}:USER:{userId}:DLC, action=4 (UPDATE)</li><li><i>Returns</i>: result of synchronization</li></ul>
|
|
26678
26677
|
*/
|
|
26679
|
-
putUsersByUseridDlcPsnSyncMultiServiceLabels(userId: string, data: PlayStationDlcSyncMultiServiceLabelsRequest): Promise<IResponse
|
|
26678
|
+
putUsersByUseridDlcPsnSyncMultiServiceLabels(userId: string, data: PlayStationDlcSyncMultiServiceLabelsRequest): Promise<IResponse<unknown>>;
|
|
26680
26679
|
}
|
|
26681
26680
|
|
|
26682
26681
|
declare const AppleIapReceipt: z.ZodObject<{
|
|
@@ -26919,39 +26918,39 @@ declare class Iap$ {
|
|
|
26919
26918
|
/**
|
|
26920
26919
|
* Sync steam inventory's items.<p>Other detail info: <ul><li><i>Required permission</i>: resource="NAMESPACE:{namespace}:USER:{userId}:IAP", action=4 (UPDATE)</li><li><i>Returns</i>: </li></ul>
|
|
26921
26920
|
*/
|
|
26922
|
-
putUsersByUseridIapSteamSync(userId: string, data: SteamSyncRequest): Promise<IResponse
|
|
26921
|
+
putUsersByUseridIapSteamSync(userId: string, data: SteamSyncRequest): Promise<IResponse<unknown>>;
|
|
26923
26922
|
/**
|
|
26924
26923
|
* Verify apple iap receipt and fulfill item.<p>Other detail info: <ul><li><i>Required permission</i>: resource="NAMESPACE:{namespace}:USER:{userId}:IAP", action=4 (UPDATE)</li><li><i>Returns</i>: </li></ul>
|
|
26925
26924
|
*/
|
|
26926
|
-
putUsersByUseridIapAppleReceipt(userId: string, data: AppleIapReceipt): Promise<IResponse
|
|
26925
|
+
putUsersByUseridIapAppleReceipt(userId: string, data: AppleIapReceipt): Promise<IResponse<unknown>>;
|
|
26927
26926
|
/**
|
|
26928
26927
|
* Synchronize with entitlements in PSN Store with multiple service labels.<p>Other detail info: <ul><li><i>Required permission</i>: resource="NAMESPACE:{namespace}:USER:{userId}:IAP", action=4 (UPDATE)</li><li><i>Returns</i>: result of synchronization</li></ul>
|
|
26929
26928
|
*/
|
|
26930
|
-
putUsersByUseridIapPsnSyncMultiServiceLabels(userId: string, data: PlayStationMultiServiceLabelsReconcileRequest): Promise<IResponse
|
|
26929
|
+
putUsersByUseridIapPsnSyncMultiServiceLabels(userId: string, data: PlayStationMultiServiceLabelsReconcileRequest): Promise<IResponse<unknown>>;
|
|
26931
26930
|
/**
|
|
26932
26931
|
* Synchronize with entitlements in PSN Store.<p>Other detail info: <ul><li><i>Required permission</i>: resource="NAMESPACE:{namespace}:USER:{userId}:IAP", action=4 (UPDATE)</li><li><i>Returns</i>: result of synchronization</li></ul>
|
|
26933
26932
|
*/
|
|
26934
|
-
putUsersByUseridIapPsnSync(userId: string, data: PlayStationReconcileRequest): Promise<IResponse
|
|
26933
|
+
putUsersByUseridIapPsnSync(userId: string, data: PlayStationReconcileRequest): Promise<IResponse<unknown>>;
|
|
26935
26934
|
/**
|
|
26936
26935
|
* Sync twitch drops entitlements.<p>Other detail info: <ul><li><i>Required permission</i>: resource="NAMESPACE:{namespace}:USER:{userId}:IAP", action=4 (UPDATE)</li><li><i>Returns</i>: </li></ul>
|
|
26937
26936
|
*/
|
|
26938
|
-
putUsersByUseridIapTwitchSync(userId: string, data: TwitchSyncRequest): Promise<IResponse
|
|
26937
|
+
putUsersByUseridIapTwitchSync(userId: string, data: TwitchSyncRequest): Promise<IResponse<unknown>>;
|
|
26939
26938
|
/**
|
|
26940
26939
|
* Sync stadia entitlements.<p>Other detail info: <ul><li><i>Required permission</i>: resource="NAMESPACE:{namespace}:USER:{userId}:IAP", action=4 (UPDATE)</li><li><i>Returns</i>: </li></ul>
|
|
26941
26940
|
*/
|
|
26942
|
-
putUsersByUseridIapStadiaSync(userId: string, data: StadiaSyncRequest): Promise<IResponse
|
|
26941
|
+
putUsersByUseridIapStadiaSync(userId: string, data: StadiaSyncRequest): Promise<IResponse<unknown>>;
|
|
26943
26942
|
/**
|
|
26944
26943
|
* Verify google iap receipt and fulfill item.<p>Other detail info: <ul><li><i>Required permission</i>: resource="NAMESPACE:{namespace}:USER:{userId}:IAP", action=4 (UPDATE)</li><li><i>Returns</i>: </li></ul>
|
|
26945
26944
|
*/
|
|
26946
|
-
putUsersByUseridIapGoogleReceipt<T = GoogleReceiptResolveResult>(userId: string, data: GoogleIapReceipt): Promise<IResponse
|
|
26945
|
+
putUsersByUseridIapGoogleReceipt<T = GoogleReceiptResolveResult>(userId: string, data: GoogleIapReceipt): Promise<IResponse<T>>;
|
|
26947
26946
|
/**
|
|
26948
26947
|
* Sync Xbox inventory's items.<p>Other detail info: <ul><li><i>Required permission</i>: resource="NAMESPACE:{namespace}:USER:{userId}:IAP", action=4 (UPDATE)</li><li><i>Returns</i>: </li></ul>
|
|
26949
26948
|
*/
|
|
26950
|
-
putUsersByUseridIapXblSync<T = XblReconcileResultArray>(userId: string, data: XblReconcileRequest): Promise<IResponse
|
|
26949
|
+
putUsersByUseridIapXblSync<T = XblReconcileResultArray>(userId: string, data: XblReconcileRequest): Promise<IResponse<T>>;
|
|
26951
26950
|
/**
|
|
26952
26951
|
* Sync epic games inventory's items.<p>Other detail info: <ul><li><i>Required permission</i>: resource="NAMESPACE:{namespace}:USER:{userId}:IAP", action=4 (UPDATE)</li><li><i>Returns</i>: </li></ul>
|
|
26953
26952
|
*/
|
|
26954
|
-
putUsersByUseridIapEpicgamesSync<T = EpicGamesReconcileResultArray>(userId: string, data: EpicGamesReconcileRequest): Promise<IResponse
|
|
26953
|
+
putUsersByUseridIapEpicgamesSync<T = EpicGamesReconcileResultArray>(userId: string, data: EpicGamesReconcileRequest): Promise<IResponse<T>>;
|
|
26955
26954
|
}
|
|
26956
26955
|
|
|
26957
26956
|
declare const PaymentAccountArray: z.ZodArray<z.ZodObject<{
|
|
@@ -26981,11 +26980,11 @@ declare class PaymentAccount$ {
|
|
|
26981
26980
|
/**
|
|
26982
26981
|
* Get payment accounts.<br>Other detail info: <ul><li><i>Required permission</i>: resource="NAMESPACE:{namespace}:USER:{userId}:PAYMENT:ACCOUNT", action=2 (READ)</li><li><i>Returns</i>: Payment account list</li></ul>
|
|
26983
26982
|
*/
|
|
26984
|
-
fetchUsersByUseridPaymentAccounts<T = PaymentAccountArray>(userId: string): Promise<IResponseWithSync
|
|
26983
|
+
fetchUsersByUseridPaymentAccounts<T = PaymentAccountArray>(userId: string): Promise<IResponseWithSync<T>>;
|
|
26985
26984
|
/**
|
|
26986
26985
|
* Delete payment account.<br>Other detail info: <ul><li><i>Required permission</i>: resource="NAMESPACE:{namespace}:USER:{userId}:PAYMENT:ACCOUNT", action=8 (DELETE)</li><li><i>Returns</i>:</li></ul>
|
|
26987
26986
|
*/
|
|
26988
|
-
deleteUsersByUseridPaymentAccountsByTypeById(userId: string, type: string, id: string): Promise<IResponse
|
|
26987
|
+
deleteUsersByUseridPaymentAccountsByTypeById(userId: string, type: string, id: string): Promise<IResponse<unknown>>;
|
|
26989
26988
|
}
|
|
26990
26989
|
|
|
26991
26990
|
declare const PaymentMethodArray: z.ZodArray<z.ZodObject<{
|
|
@@ -27120,7 +27119,7 @@ declare class PaymentStation$ {
|
|
|
27120
27119
|
/**
|
|
27121
27120
|
* Check payment order paid status.<br>Other detail info: <ul><li><i>Returns</i>: Payment order paid result</li></ul>
|
|
27122
27121
|
*/
|
|
27123
|
-
fetchPaymentOrdersByPaymentordernoStatus<T = PaymentOrderPaidResult>(paymentOrderNo: string): Promise<IResponseWithSync
|
|
27122
|
+
fetchPaymentOrdersByPaymentordernoStatus<T = PaymentOrderPaidResult>(paymentOrderNo: string): Promise<IResponseWithSync<T>>;
|
|
27124
27123
|
/**
|
|
27125
27124
|
* Check and get a payment order's should pay tax.<br>Other detail info: <ul><li><i>Returns</i>: tax result</li></ul>
|
|
27126
27125
|
*/
|
|
@@ -27128,14 +27127,14 @@ declare class PaymentStation$ {
|
|
|
27128
27127
|
paymentProvider: string | null;
|
|
27129
27128
|
paymentOrderNo: string | null;
|
|
27130
27129
|
zipCode?: string | null;
|
|
27131
|
-
}): Promise<IResponseWithSync
|
|
27130
|
+
}): Promise<IResponseWithSync<T>>;
|
|
27132
27131
|
/**
|
|
27133
27132
|
* Do payment(For now, this only support checkout.com).<br>Other detail info: <ul><li><i>Returns</i>: Payment process result</li></ul>
|
|
27134
27133
|
*/
|
|
27135
27134
|
postPaymentOrdersByPaymentordernoPay<T = PaymentProcessResult>(paymentOrderNo: string, data: PaymentToken, queryParams?: {
|
|
27136
27135
|
paymentProvider?: string | null;
|
|
27137
27136
|
zipCode?: string | null;
|
|
27138
|
-
}): Promise<IResponse
|
|
27137
|
+
}): Promise<IResponse<T>>;
|
|
27139
27138
|
/**
|
|
27140
27139
|
* Get payment provider public config, at current only Strip provide public config.<br>Other detail info: <ul><li><i>Returns</i>: Public config</li></ul>
|
|
27141
27140
|
*/
|
|
@@ -27143,7 +27142,7 @@ declare class PaymentStation$ {
|
|
|
27143
27142
|
paymentProvider: string | null;
|
|
27144
27143
|
region: string | null;
|
|
27145
27144
|
sandbox?: boolean | null;
|
|
27146
|
-
}): Promise<IResponseWithSync
|
|
27145
|
+
}): Promise<IResponseWithSync<unknown>>;
|
|
27147
27146
|
/**
|
|
27148
27147
|
* Normalize payment return url for payment provider<br>Payment response: <table><tr><td>Field</td><td>Type</td><td>Required</td><td>Description</td></tr><tr><td>orderNo</td><td>String</td><td>Yes</td><td>order no</td></tr><tr><td>paymentStatus</td><td>String</td><td>Yes</td><td><ul><li>DONE: The payment was successfully completed.</li><li>CANCELLED: The payment was cancelled by the shopper before completion, or the shopper returned to the merchant's site before completing the transaction.</li><li>PENDING: Inform the shopper that you've received their order, and are waiting for the payment to be completed.
|
|
27149
27148
|
*
|
|
@@ -27165,27 +27164,27 @@ declare class PaymentStation$ {
|
|
|
27165
27164
|
payload?: string | null;
|
|
27166
27165
|
sessionId?: string | null;
|
|
27167
27166
|
redirectResult?: string | null;
|
|
27168
|
-
}): Promise<IResponseWithSync
|
|
27167
|
+
}): Promise<IResponseWithSync<unknown>>;
|
|
27169
27168
|
/**
|
|
27170
27169
|
* Get payment methods.<br>Other detail info: <ul><li><i>Returns</i>: Payment method list</li></ul>
|
|
27171
27170
|
*/
|
|
27172
27171
|
fetchPaymentMethods<T = PaymentMethodArray>(queryParams?: {
|
|
27173
27172
|
paymentOrderNo: string | null;
|
|
27174
|
-
}): Promise<IResponseWithSync
|
|
27173
|
+
}): Promise<IResponseWithSync<T>>;
|
|
27175
27174
|
/**
|
|
27176
27175
|
* Get payment order info.<br>Other detail info: <ul><li><i>Returns</i>: Payment order details</li></ul>
|
|
27177
27176
|
*/
|
|
27178
|
-
fetchPaymentOrdersByPaymentordernoInfo<T = PaymentOrderDetails>(paymentOrderNo: string): Promise<IResponseWithSync
|
|
27177
|
+
fetchPaymentOrdersByPaymentordernoInfo<T = PaymentOrderDetails>(paymentOrderNo: string): Promise<IResponseWithSync<T>>;
|
|
27179
27178
|
/**
|
|
27180
27179
|
* Get qrcode.<br>Other detail info: <ul><li><i>Returns</i>: QRCode image stream</li></ul>
|
|
27181
27180
|
*/
|
|
27182
27181
|
fetchPaymentQrcode(queryParams?: {
|
|
27183
27182
|
code: string | null;
|
|
27184
|
-
}): Promise<IResponseWithSync
|
|
27183
|
+
}): Promise<IResponseWithSync<unknown>>;
|
|
27185
27184
|
/**
|
|
27186
27185
|
* Get payment url.<br>Other detail info: <ul><li><i>Returns</i>: Get payment link</li></ul>
|
|
27187
27186
|
*/
|
|
27188
|
-
postPaymentLink<T = PaymentUrl>(data: PaymentUrlCreate): Promise<IResponse
|
|
27187
|
+
postPaymentLink<T = PaymentUrl>(data: PaymentUrlCreate): Promise<IResponse<T>>;
|
|
27189
27188
|
}
|
|
27190
27189
|
|
|
27191
27190
|
declare const RewardInfo: z.ZodObject<{
|
|
@@ -27460,11 +27459,11 @@ declare class Reward$ {
|
|
|
27460
27459
|
*/
|
|
27461
27460
|
fetchRewardsByCode<T = RewardInfo>(queryParams?: {
|
|
27462
27461
|
rewardCode: string | null;
|
|
27463
|
-
}): Promise<IResponseWithSync
|
|
27462
|
+
}): Promise<IResponseWithSync<T>>;
|
|
27464
27463
|
/**
|
|
27465
27464
|
* This API is used to get reward by reward Id.<br>Other detail info: <ul><li><i>Required permission</i>: resource="NAMESPACE:{namespace}:REWARD", action=2 (READ)</li><li><i>Returns</i>: reward instance</li></ul>
|
|
27466
27465
|
*/
|
|
27467
|
-
fetchRewardsByRewardid<T = RewardInfo>(rewardId: string): Promise<IResponseWithSync
|
|
27466
|
+
fetchRewardsByRewardid<T = RewardInfo>(rewardId: string): Promise<IResponseWithSync<T>>;
|
|
27468
27467
|
/**
|
|
27469
27468
|
* This API is used to query rewards by criteria.<p>Other detail info: <ul><li><i>Required permission</i>: resource="NAMESPACE:{namespace}:REWARD", action=2 (READ)</li><li><i>Returns</i>: the list of rewards</li></ul>
|
|
27470
27469
|
*/
|
|
@@ -27473,7 +27472,7 @@ declare class Reward$ {
|
|
|
27473
27472
|
offset?: number;
|
|
27474
27473
|
limit?: number;
|
|
27475
27474
|
sortBy?: string | null;
|
|
27476
|
-
}): Promise<IResponseWithSync
|
|
27475
|
+
}): Promise<IResponseWithSync<T>>;
|
|
27477
27476
|
}
|
|
27478
27477
|
|
|
27479
27478
|
declare const BillingHistoryPagingSlicedResult: z.ZodObject<{
|
|
@@ -29639,7 +29638,7 @@ declare class Subscription$ {
|
|
|
29639
29638
|
/**
|
|
29640
29639
|
* Get user subscription.<br>Other detail info: <ul><li><i>Required permission</i>: resource="NAMESPACE:{namespace}:USER:{userId}:SUBSCRIPTION", action=2 (READ)</li><li><i>Returns</i>: subscription</li></ul>
|
|
29641
29640
|
*/
|
|
29642
|
-
fetchUsersByUseridSubscriptionsBySubscriptionid<T = SubscriptionInfo>(userId: string, subscriptionId: string): Promise<IResponseWithSync
|
|
29641
|
+
fetchUsersByUseridSubscriptionsBySubscriptionid<T = SubscriptionInfo>(userId: string, subscriptionId: string): Promise<IResponseWithSync<T>>;
|
|
29643
29642
|
/**
|
|
29644
29643
|
* Get user subscription billing histories.<br>Other detail info: <ul><li><i>Required permission</i>: resource="NAMESPACE:{namespace}:USER:{userId}:SUBSCRIPTION", action=2 (READ)</li><li><i>Returns</i>: paginated subscription history</li></ul>
|
|
29645
29644
|
*/
|
|
@@ -29647,13 +29646,13 @@ declare class Subscription$ {
|
|
|
29647
29646
|
excludeFree?: boolean | null;
|
|
29648
29647
|
offset?: number;
|
|
29649
29648
|
limit?: number;
|
|
29650
|
-
}): Promise<IResponseWithSync
|
|
29649
|
+
}): Promise<IResponseWithSync<T>>;
|
|
29651
29650
|
/**
|
|
29652
29651
|
* Check user subscription subscribable by itemId, ACTIVE USER subscription can't do subscribe again.<p>Other detail info: <ul><li><i>Required permission</i>: resource="NAMESPACE:{namespace}:USER:{userId}:SUBSCRIPTION", action=2 (READ)</li><li><i>Returns</i>: subscribable info</li></ul>
|
|
29653
29652
|
*/
|
|
29654
29653
|
fetchUsersByUseridSubscriptionsSubscribableByItemId<T = Subscribable>(userId: string, queryParams?: {
|
|
29655
29654
|
itemId: string | null;
|
|
29656
|
-
}): Promise<IResponseWithSync
|
|
29655
|
+
}): Promise<IResponseWithSync<T>>;
|
|
29657
29656
|
/**
|
|
29658
29657
|
* Query user subscriptions.<br>Other detail info: <ul><li><i>Required permission</i>: resource="NAMESPACE:{namespace}:USER:{userId}:SUBSCRIPTION", action=2 (READ)</li><li><i>Returns</i>: paginated subscription</li></ul>
|
|
29659
29658
|
*/
|
|
@@ -29665,19 +29664,19 @@ declare class Subscription$ {
|
|
|
29665
29664
|
subscribedBy?: string | null;
|
|
29666
29665
|
offset?: number;
|
|
29667
29666
|
limit?: number;
|
|
29668
|
-
}): Promise<IResponseWithSync
|
|
29667
|
+
}): Promise<IResponseWithSync<T>>;
|
|
29669
29668
|
/**
|
|
29670
29669
|
* Subscribe a subscription. Support both real and virtual payment. Need go through payment flow using the paymentOrderNo if paymentFlowRequired true.<br><b>ACTIVE USER subscription can't do subscribe again.</b><br><b>The next billing date will be X(default 4) hours before the current period ends if correctly subscribed.</b><br>User with permission SANDBOX will create sandbox subscription that not real paid.<br>Other detail info: <ul><li><i>Required permission</i>: resource="NAMESPACE:{namespace}:USER:{userId}:SUBSCRIPTION", action=1 (CREATE)</li><li><i>Optional permission(user with this permission will create sandbox subscription)</i>: resource="SANDBOX", action=1 (CREATE)</li><li>It will be forbidden while the user is banned: ORDER_INITIATE or ORDER_AND_PAYMENT</li><li><i>Returns</i>: created subscription</li></ul>
|
|
29671
29670
|
*/
|
|
29672
|
-
postUsersByUseridSubscriptions(userId: string, data: SubscribeRequest): Promise<IResponse
|
|
29671
|
+
postUsersByUseridSubscriptions(userId: string, data: SubscribeRequest): Promise<IResponse<unknown>>;
|
|
29673
29672
|
/**
|
|
29674
29673
|
* Cancel a subscription, only ACTIVE subscription can be cancelled. <b>Ensure successfully cancel, recommend at least 1 day before current period ends, otherwise it may be charging or charged.</b><br>Set immediate true, the subscription will be terminated immediately, otherwise till the end of current billing cycle.<br>Other detail info: <ul><li><i>Required permission</i>: resource="NAMESPACE:{namespace}:USER:{userId}:SUBSCRIPTION", action=4 (UPDATE)</li><li><i>Returns</i>: cancelled subscription</li></ul>
|
|
29675
29674
|
*/
|
|
29676
|
-
putUsersByUseridSubscriptionsBySubscriptionidCancel<T = SubscriptionInfo>(userId: string, subscriptionId: string, data: CancelRequest): Promise<IResponse
|
|
29675
|
+
putUsersByUseridSubscriptionsBySubscriptionidCancel<T = SubscriptionInfo>(userId: string, subscriptionId: string, data: CancelRequest): Promise<IResponse<T>>;
|
|
29677
29676
|
/**
|
|
29678
29677
|
* Request to change a subscription billing account, this will guide user to payment station. The actual change will happen at the 0 payment notification successfully handled.<br>Only ACTIVE USER subscription with real currency billing account can be changed.<br>Other detail info: <ul><li><i>Required permission</i>: resource="NAMESPACE:{namespace}:USER:{userId}:SUBSCRIPTION", action=4 (UPDATE)</li><li><i>Returns</i>: updated subscription</li></ul>
|
|
29679
29678
|
*/
|
|
29680
|
-
putUsersByUseridSubscriptionsBySubscriptionidBillingAccount<T = SubscriptionInfo>(userId: string, subscriptionId: string): Promise<IResponse
|
|
29679
|
+
putUsersByUseridSubscriptionsBySubscriptionidBillingAccount<T = SubscriptionInfo>(userId: string, subscriptionId: string): Promise<IResponse<T>>;
|
|
29681
29680
|
}
|
|
29682
29681
|
|
|
29683
29682
|
declare const PlatformWallet: z.ZodObject<{
|
|
@@ -29945,18 +29944,18 @@ declare class Wallet$ {
|
|
|
29945
29944
|
/**
|
|
29946
29945
|
* get my wallet by currency code and namespace.<br>Other detail info: <ul><li><i>Required permission</i>: resource="NAMESPACE:{namespace}:WALLET", action=2 (READ)</li><li><i>Returns</i>: wallet info</li><li><i>Path's namespace</i> : <ul> <li>can be filled with <b>publisher namespace</b> in order to get <b>publisher user wallet</b></li> <li>can be filled with <b>game namespace</b> in order to get <b>game user wallet</b></li> </ul></li></ul>
|
|
29947
29946
|
*/
|
|
29948
|
-
fetchUsersMeWalletsByCurrencycode<T = PlatformWallet>(currencyCode: string): Promise<IResponseWithSync
|
|
29947
|
+
fetchUsersMeWalletsByCurrencycode<T = PlatformWallet>(currencyCode: string): Promise<IResponseWithSync<T>>;
|
|
29949
29948
|
/**
|
|
29950
29949
|
* List wallet transactions by currency code ordered by create time desc.<br>Other detail info: <ul><li><i>Required permission</i>: resource="NAMESPACE:{namespace}:USER:{userId}:WALLET", action=2 (READ)</li><li><i>Returns</i>: currency transaction info</li></ul>
|
|
29951
29950
|
*/
|
|
29952
29951
|
fetchUsersByUseridWalletsByCurrencycodeTransactions<T = WalletTransactionPagingSlicedResult>(userId: string, currencyCode: string, queryParams?: {
|
|
29953
29952
|
offset?: number;
|
|
29954
29953
|
limit?: number;
|
|
29955
|
-
}): Promise<IResponseWithSync
|
|
29954
|
+
}): Promise<IResponseWithSync<T>>;
|
|
29956
29955
|
/**
|
|
29957
29956
|
* get a wallet by currency code.<br>Other detail info: <ul><li><i>Required permission</i>: resource="NAMESPACE:{namespace}:USER:{userId}:WALLET", action=2 (READ)</li><li><i>Returns</i>: wallet info</li></ul>
|
|
29958
29957
|
*/
|
|
29959
|
-
fetchUsersByUseridWalletsByCurrencycode<T = PlatformWallet>(userId: string, currencyCode: string): Promise<IResponseWithSync
|
|
29958
|
+
fetchUsersByUseridWalletsByCurrencycode<T = PlatformWallet>(userId: string, currencyCode: string): Promise<IResponseWithSync<T>>;
|
|
29960
29959
|
}
|
|
29961
29960
|
|
|
29962
29961
|
declare const CampaignInfo: z.ZodObject<{
|
|
@@ -49234,7 +49233,7 @@ declare class UserAction$ {
|
|
|
49234
49233
|
/**
|
|
49235
49234
|
* This API is used to report a game user.<p>Other detail info: <ul><li><i>Required permission</i>: resource="NAMESPACE:{namespace}:USER:{userId}:ACTION", action=1 (CREATE)</li></ul>
|
|
49236
49235
|
*/
|
|
49237
|
-
postV1UsersByUseridActionsReport(userId: string, data: UserReportRequest): Promise<IResponse
|
|
49236
|
+
postV1UsersByUseridActionsReport(userId: string, data: UserReportRequest): Promise<IResponse<unknown>>;
|
|
49238
49237
|
}
|
|
49239
49238
|
|
|
49240
49239
|
declare const FileUploadUrlInfo: z.ZodObject<{
|
|
@@ -49269,14 +49268,14 @@ declare class FileUpload$ {
|
|
|
49269
49268
|
*/
|
|
49270
49269
|
postV1FoldersByFolderFiles<T = FileUploadUrlInfo>(folder: string, queryParams?: {
|
|
49271
49270
|
fileType: string | null;
|
|
49272
|
-
}): Promise<IResponse
|
|
49271
|
+
}): Promise<IResponse<T>>;
|
|
49273
49272
|
/**
|
|
49274
49273
|
* Generate an upload URL for user content. It's valid for 10 minutes.<br/>There are 2 kinds of storage limitation per user : maximum file count and maximum file size.<br/>The threshold of those limitations is different between upload category that is used.<br/>Other detail info: <ul><li><i>Required permission</i>: resource = <b>"NAMESPACE:{namespace}:USER:{userId}:FILEUPLOAD"</b>, action=1 <b>(CREATE)</b></li><li><i>Action code</i>: 11102</li><li><i>Default maximum file count per user</i>: 10 files</li><li><i>Default maximum file size per user</i>: 104857600 bytes</li><li><i>Returns</i>: URL data</li></ul>
|
|
49275
49274
|
*/
|
|
49276
49275
|
postV1UsersByUseridFiles<T = FileUploadUrlInfo>(userId: string, queryParams?: {
|
|
49277
49276
|
fileType: string | null;
|
|
49278
49277
|
category?: string | null;
|
|
49279
|
-
}): Promise<IResponse
|
|
49278
|
+
}): Promise<IResponse<T>>;
|
|
49280
49279
|
}
|
|
49281
49280
|
|
|
49282
49281
|
declare const CountryObjectArray: z.ZodArray<z.ZodObject<{
|
|
@@ -49312,21 +49311,21 @@ declare class Misc$ {
|
|
|
49312
49311
|
/**
|
|
49313
49312
|
* Get server time
|
|
49314
49313
|
*/
|
|
49315
|
-
fetchV1PublicMiscTime<T = RetrieveTimeResponse>(): Promise<IResponseWithSync
|
|
49314
|
+
fetchV1PublicMiscTime<T = RetrieveTimeResponse>(): Promise<IResponseWithSync<T>>;
|
|
49316
49315
|
/**
|
|
49317
49316
|
* List time zones.<br>Other detail info: <ul><li><i>Returns</i>: time zones</li></ul>
|
|
49318
49317
|
*/
|
|
49319
|
-
fetchV1MiscTimezones(): Promise<IResponseWithSync
|
|
49318
|
+
fetchV1MiscTimezones(): Promise<IResponseWithSync<unknown>>;
|
|
49320
49319
|
/**
|
|
49321
49320
|
* List languages.<br>Other detail info: <ul><li><i>Returns</i>: language list</li></ul>
|
|
49322
49321
|
*/
|
|
49323
|
-
fetchV1MiscLanguages(): Promise<IResponseWithSync
|
|
49322
|
+
fetchV1MiscLanguages(): Promise<IResponseWithSync<unknown>>;
|
|
49324
49323
|
/**
|
|
49325
49324
|
* List countries.<br>Other detail info: <ul><li><i>Returns</i>: country code list</li></ul>
|
|
49326
49325
|
*/
|
|
49327
49326
|
fetchV1MiscCountries<T = CountryObjectArray>(queryParams?: {
|
|
49328
49327
|
lang?: string | null;
|
|
49329
|
-
}): Promise<IResponseWithSync
|
|
49328
|
+
}): Promise<IResponseWithSync<T>>;
|
|
49330
49329
|
}
|
|
49331
49330
|
|
|
49332
49331
|
declare const NamespaceInfoArray: z.ZodArray<z.ZodObject<{
|
|
@@ -49374,13 +49373,13 @@ declare class Namespace$ {
|
|
|
49374
49373
|
/**
|
|
49375
49374
|
* Get namespace info related publisher namespace.<br>Other detail info: <ul><li><i>Required permission</i>: resource=<b>"NAMESPACE:{namespace}:NAMESPACE"</b>, action=2 <b>(READ)</b></li><li><i>Action code</i>: 11305</li><li><i>Returns</i>: Namespace info related publisher namespace</li></ul>
|
|
49376
49375
|
*/
|
|
49377
|
-
fetchV1Publisher<T = NamespacePublisherInfo>(): Promise<IResponseWithSync
|
|
49376
|
+
fetchV1Publisher<T = NamespacePublisherInfo>(): Promise<IResponseWithSync<T>>;
|
|
49378
49377
|
/**
|
|
49379
49378
|
* Get all namespaces.<br>Other detail info: <ul><li><i>Required permission</i>: login user</li><li><i>Action code</i>: 11303</li><li><i>Returns</i>: list of namespaces</li></ul>
|
|
49380
49379
|
*/
|
|
49381
49380
|
fetchV1PublicNamespaces<T = NamespaceInfoArray>(queryParams?: {
|
|
49382
49381
|
activeOnly?: boolean | null;
|
|
49383
|
-
}): Promise<IResponseWithSync
|
|
49382
|
+
}): Promise<IResponseWithSync<T>>;
|
|
49384
49383
|
}
|
|
49385
49384
|
|
|
49386
49385
|
declare const UserProfileCreate: z.ZodObject<{
|
|
@@ -49652,69 +49651,69 @@ declare class UserProfile$ {
|
|
|
49652
49651
|
*/
|
|
49653
49652
|
fetchV1ProfilesPublic<T = UserProfilePublicInfoArray>(queryParams?: {
|
|
49654
49653
|
userIds: string | null;
|
|
49655
|
-
}): Promise<IResponseWithSync
|
|
49654
|
+
}): Promise<IResponseWithSync<T>>;
|
|
49656
49655
|
/**
|
|
49657
49656
|
* Get user public profile by public id.<br>Other detail info: <ul><li><i>Returns</i>: user public profile</li></ul>
|
|
49658
49657
|
*/
|
|
49659
49658
|
fetchV1ProfilesPublicByPublicId<T = UserProfilePublicInfo>(queryParams?: {
|
|
49660
49659
|
publicId: string | null;
|
|
49661
|
-
}): Promise<IResponseWithSync
|
|
49660
|
+
}): Promise<IResponseWithSync<T>>;
|
|
49662
49661
|
/**
|
|
49663
49662
|
* Get my private custom attributes.<br>Other detail info: <ul><li><i>Required permission</i>: resource=<b>"NAMESPACE:{namespace}:PROFILE"</b>, action=2 <b>(READ)</b></li><li><i>Returns</i>: custom attributes</li><li><i>Action code</i>: 11403</li></ul>
|
|
49664
49663
|
*/
|
|
49665
|
-
fetchV1UsersMeProfilesPrivateCustomAttributes(): Promise<IResponseWithSync
|
|
49664
|
+
fetchV1UsersMeProfilesPrivateCustomAttributes(): Promise<IResponseWithSync<unknown>>;
|
|
49666
49665
|
/**
|
|
49667
49666
|
* Update partially private custom attributes tied to me.<br>Other detail info: <ul><li><i>Required permission</i>: resource=<b>"NAMESPACE:{namespace}:PROFILE"</b>, action=4 <b>(UPDATE)</b></li><li><i>Action code</i>: 11402</li><li><i>Request body</i>: allowed format: JSON object</li><li><i>Returns</i>: Updated custom attributes</li></ul>
|
|
49668
49667
|
*/
|
|
49669
|
-
putV1UsersMeProfilesPrivateCustomAttributes(data: any): Promise<IResponse
|
|
49668
|
+
putV1UsersMeProfilesPrivateCustomAttributes(data: any): Promise<IResponse<unknown>>;
|
|
49670
49669
|
/**
|
|
49671
49670
|
* Get my profile<br><b>Client with user token can get user profile in target namespace</b><br>Other detail info: <ul><li><i>Required permission</i>: resource=<b>"NAMESPACE:{namespace}:PROFILE"</b>, action=2 <b>(READ)</b></li><li><i>Action code</i>: 11403</li><li><i>Returns</i>: user profile</li><li><i>Path's namespace</i> : <ul><li>can be filled with <b>publisher namespace</b> in order to get <b>publisher user profile</b></li><li>can be filled with <b>game namespace</b> in order to get <b>game user profile</b></li></ul></li><li><i>Language</i> : allowed format: en, en-US</li><li><i>Timezone</i> : IANA time zone, e.g. Asia/Shanghai</li></ul>
|
|
49672
49671
|
*/
|
|
49673
|
-
fetchV1UsersMeProfiles<T = UserProfilePrivateInfo>(): Promise<IResponseWithSync
|
|
49672
|
+
fetchV1UsersMeProfiles<T = UserProfilePrivateInfo>(): Promise<IResponseWithSync<T>>;
|
|
49674
49673
|
/**
|
|
49675
49674
|
* Create my profile.<br><b>Client with user token can create user profile in target namespace</b><br>Other detail info: <ul><li><i>Required permission</i>: resource=<b>"NAMESPACE:{namespace}:PROFILE"</b>, action=1 <b>(CREATE)</b></li><li><i>Action code</i>: 11401</li><li><i>Returns</i>: Created user profile</li><li><i>Path's namespace</i> : <ul><li>can be filled with <b>publisher namespace</b> in order to create <b>publisher user profile</b></li><li>can be filled with <b>game namespace</b> in order to create <b>game user profile</b></li></ul></li><li><i>Language</i> : allowed format: en, en-US</li><li><i>Country</i> : ISO3166-1 alpha-2 two letter, e.g. US </li><li><i>Timezone</i> : IANA time zone, e.g. Asia/Shanghai</li></ul>
|
|
49676
49675
|
*/
|
|
49677
|
-
postV1UsersMeProfiles<T = UserProfilePrivateInfo>(data: UserProfilePrivateCreate): Promise<IResponse
|
|
49676
|
+
postV1UsersMeProfiles<T = UserProfilePrivateInfo>(data: UserProfilePrivateCreate): Promise<IResponse<T>>;
|
|
49678
49677
|
/**
|
|
49679
49678
|
* Update my profile.<br>Updates user profile in the target namespace (namespace in the path). If token's namespace doesn't match the target namespace, the service automatically maps the token's user ID into the user ID in the target namespace. The endpoint returns the updated user profile on a successful call.<br>Other detail info: <ul><li><i>Required permission</i>: resource=<b>"NAMESPACE:{namespace}:PROFILE"</b>, action=4 <b>(UPDATE)</b></li><li><i>Action code</i>: 11402</li><li><i>Returns</i>: user profile</li><li><i>Path's namespace</i> : <ul><li>can be filled with <b>publisher namespace</b> in order to update <b>publisher user profile</b></li><li>can be filled with <b>game namespace</b> in order to update <b>game user profile</b></li></ul></li><li><i>Language</i> : allowed format: en, en-US</li><li><i>Timezone</i> : IANA time zone, e.g. Asia/Shanghai</li></ul>
|
|
49680
49679
|
*/
|
|
49681
|
-
putV1UsersMeProfiles<T = UserProfilePrivateInfo>(data: UserProfilePrivateUpdate): Promise<IResponse
|
|
49680
|
+
putV1UsersMeProfiles<T = UserProfilePrivateInfo>(data: UserProfilePrivateUpdate): Promise<IResponse<T>>;
|
|
49682
49681
|
/**
|
|
49683
49682
|
* Get my zip code.<br>Other detail info: <ul><li><i>Required permission</i>: resource=<b>"NAMESPACE:{namespace}:PROFILE"</b>, action=2 <b>(READ)</b></li><li><i>Action code</i>: 11407</li><li><i>Returns</i>: user zip code</li></ul>
|
|
49684
49683
|
*/
|
|
49685
|
-
fetchV1UsersMeProfilesZipCode<T = UserZipCode>(): Promise<IResponseWithSync
|
|
49684
|
+
fetchV1UsersMeProfilesZipCode<T = UserZipCode>(): Promise<IResponseWithSync<T>>;
|
|
49686
49685
|
/**
|
|
49687
49686
|
* Update my zip code.<br>Other detail info: <ul><li><i>Required permission</i>: resource=<b>"NAMESPACE:{namespace}:PROFILE"</b>, action=4 <b>(UPDATE)</b></li><li><i>Action code</i>: 11408</li><li><i>Returns</i>: user zip code</li></ul>
|
|
49688
49687
|
*/
|
|
49689
|
-
patchV1UsersMeProfilesZipCode<T = UserZipCode>(data: UserZipCodeUpdate): Promise<IResponse
|
|
49688
|
+
patchV1UsersMeProfilesZipCode<T = UserZipCode>(data: UserZipCodeUpdate): Promise<IResponse<T>>;
|
|
49690
49689
|
/**
|
|
49691
49690
|
* Get user profile public info.<br>Other detail info: <ul><li><i>Action code</i>: 11404</li><li><i>Returns</i>: user public profile</li></ul>
|
|
49692
49691
|
*/
|
|
49693
|
-
fetchV1UsersByUseridProfilesPublic<T = UserProfilePublicInfo>(userId: string): Promise<IResponseWithSync
|
|
49692
|
+
fetchV1UsersByUseridProfilesPublic<T = UserProfilePublicInfo>(userId: string): Promise<IResponseWithSync<T>>;
|
|
49694
49693
|
/**
|
|
49695
49694
|
* Get custom attributes info.<br>Other detail info: <ul><li><i>Required permission</i>: resource=<b>"NAMESPACE:{namespace}:USER:{userId}:PROFILE"</b>, action=2 <b>(READ)</b></li><li><i>Action code</i>: 11404</li><li><i>Returns</i>: user custom attributes</li></ul>
|
|
49696
49695
|
*/
|
|
49697
|
-
fetchV1UsersByUseridProfilesCustomAttributes(userId: string): Promise<IResponseWithSync
|
|
49696
|
+
fetchV1UsersByUseridProfilesCustomAttributes(userId: string): Promise<IResponseWithSync<unknown>>;
|
|
49698
49697
|
/**
|
|
49699
49698
|
* Update partially custom attributes tied to user id.<br>Other detail info: <ul><li><i>Required permission</i>: resource=<b>"NAMESPACE:{namespace}:USER:{userId}:PROFILE"</b>, action=4 <b>(UPDATE)</b></li><li><i>Action code</i>: 11402</li><li><i>Request body</i> : allowed format: JSON object</li><li><i>Returns</i>: Updated custom attributes</li></ul>
|
|
49700
49699
|
*/
|
|
49701
|
-
putV1UsersByUseridProfilesCustomAttributes(userId: string, data: any): Promise<IResponse
|
|
49700
|
+
putV1UsersByUseridProfilesCustomAttributes(userId: string, data: any): Promise<IResponse<unknown>>;
|
|
49702
49701
|
/**
|
|
49703
49702
|
* Get user profile.<br>Other detail info: <ul><li><i>Required permission</i>: resource=<b>"NAMESPACE:{namespace}:USER:{userId}:PROFILE"</b>, action=2 <b>(READ)</b></li><li><i>Action code</i>: 11403</li><li><i>Returns</i>: user profile</li></ul>
|
|
49704
49703
|
*/
|
|
49705
|
-
fetchV1UsersByUseridProfiles<T = UserProfileInfo>(userId: string): Promise<IResponseWithSync
|
|
49704
|
+
fetchV1UsersByUseridProfiles<T = UserProfileInfo>(userId: string): Promise<IResponseWithSync<T>>;
|
|
49706
49705
|
/**
|
|
49707
49706
|
* Create user profile.<br>Other detail info: <ul><li><i>Required permission</i>: resource=<b>"NAMESPACE:{namespace}:USER:{userId}:PROFILE"</b>, action=1 <b>(CREATE)</b></li><li><i>Action code</i>: 11401</li><li><i>Language</i> : allowed format: en, en-US</li><li><i>Timezone</i> : IANA time zone, e.g. Asia/Shanghai</li><li><i>Returns</i>: Created user profile</li></ul>
|
|
49708
49707
|
*/
|
|
49709
|
-
postV1UsersByUseridProfiles<T = UserProfileInfo>(userId: string, data: UserProfileCreate): Promise<IResponse
|
|
49708
|
+
postV1UsersByUseridProfiles<T = UserProfileInfo>(userId: string, data: UserProfileCreate): Promise<IResponse<T>>;
|
|
49710
49709
|
/**
|
|
49711
49710
|
* Update user profile.<br>Other detail info: <ul><li><i>Required permission</i>: resource=<b>"NAMESPACE:{namespace}:USER:{userId}:PROFILE"</b>, action=4 <b>(UPDATE)</b></li><li><i>Action code</i>: 11402</li><li><i>Language</i> : allowed format: en, en-US</li><li><i>Timezone</i> : IANA time zone, e.g. Asia/Shanghai</li><li><i>Returns</i>: Updated user profile</li></ul>
|
|
49712
49711
|
*/
|
|
49713
|
-
putV1UsersByUseridProfiles<T = UserProfileInfo>(userId: string, data: UserProfileUpdate): Promise<IResponse
|
|
49712
|
+
putV1UsersByUseridProfiles<T = UserProfileInfo>(userId: string, data: UserProfileUpdate): Promise<IResponse<T>>;
|
|
49714
49713
|
/**
|
|
49715
49714
|
* Update user profile status.<br>Other detail info: <ul><li><i>Required permission</i>: resource=<b>"NAMESPACE:{namespace}:USER:{userId}:PROFILE"</b>, action=4 <b>(UPDATE)</b></li><li><i>Action code</i>: 11406</li><li><i>Returns</i>: user profile</li></ul>
|
|
49716
49715
|
*/
|
|
49717
|
-
patchV1UsersByUseridProfilesStatus<T = UserProfileInfo>(userId: string, data: UserProfileStatusUpdate): Promise<IResponse
|
|
49716
|
+
patchV1UsersByUseridProfilesStatus<T = UserProfileInfo>(userId: string, data: UserProfileStatusUpdate): Promise<IResponse<T>>;
|
|
49718
49717
|
}
|
|
49719
49718
|
|
|
49720
49719
|
declare const ADtoObjectForEqu8UserBanStatus: z.ZodObject<{
|
|
@@ -50119,11 +50118,11 @@ declare class Drm$ {
|
|
|
50119
50118
|
fetchDrmlicenseEncrypt<T = EncryptedIdentity>(queryParams?: {
|
|
50120
50119
|
appId: string | null;
|
|
50121
50120
|
machineId: string | null;
|
|
50122
|
-
}): Promise<IResponseWithSync
|
|
50121
|
+
}): Promise<IResponseWithSync<T>>;
|
|
50123
50122
|
/**
|
|
50124
50123
|
* This API is used to get public key.<p>Other detail info: <ul><li><i>Required permission</i>: resource="NAMESPACE:{namespace}:BUILDINFO", action=2 (READ)</li><li><i>Returns</i>: url to download the key</li></ul>
|
|
50125
50124
|
*/
|
|
50126
|
-
fetchDrmlicenseRetrievePublicKey<T = PublicKeyPresignedUrl>(): Promise<IResponseWithSync
|
|
50125
|
+
fetchDrmlicenseRetrievePublicKey<T = PublicKeyPresignedUrl>(): Promise<IResponseWithSync<T>>;
|
|
50127
50126
|
}
|
|
50128
50127
|
|
|
50129
50128
|
declare const BasicBuildManifestArray: z.ZodArray<z.ZodObject<{
|
|
@@ -50512,40 +50511,40 @@ declare class Downloader$ {
|
|
|
50512
50511
|
/**
|
|
50513
50512
|
* This API is used to Generate Download URLs for the requested blocks inside the specified buildId.<br/>The download URL generation may returns Signed URL or Public URL, depends on service configurations.<br/>Before processing the URL generation, it will validate the user entitlement first, if not entitled then the request will be refused.<br/><br/>Other detail info: <ul><li><i>Required permission</i>: login user</li><li><i>Returns</i>: Block Download URLs</li></ul>
|
|
50514
50513
|
*/
|
|
50515
|
-
postBuildsByBuildidBlocksUrls<T = BlockDownloadUrls>(buildId: string, data: BlockDownloadUrlsRequest): Promise<IResponse
|
|
50514
|
+
postBuildsByBuildidBlocksUrls<T = BlockDownloadUrls>(buildId: string, data: BlockDownloadUrlsRequest): Promise<IResponse<T>>;
|
|
50516
50515
|
/**
|
|
50517
50516
|
* This API is used to check whether supplied list of appId has valid buildmanifest and at least one of its build set as latest.<p>Other detail info: <ul><li><i>Required permission</i>: login user</li><li><i>Returns</i>: list of build availability</li></ul>
|
|
50518
50517
|
*/
|
|
50519
50518
|
fetchBulkCheckLatest<T = BuildAvailabilityArray>(queryParams?: {
|
|
50520
50519
|
appIds: string[];
|
|
50521
|
-
}): Promise<IResponseWithSync
|
|
50520
|
+
}): Promise<IResponseWithSync<T>>;
|
|
50522
50521
|
/**
|
|
50523
50522
|
* This API is used to get build manifest. The binary diff will be calculated in the client side, while obsolete file list will be generated by server side.<p>Other detail info: <ul><li><i>Required permission</i>: login user</li><li><i>Returns</i>: build manifest</li></ul>
|
|
50524
50523
|
*/
|
|
50525
|
-
fetchV2UpdategameByAppidByVersionByPlatformid<T = BuildManifest>(appId: string, version: string, platformId: string): Promise<IResponseWithSync
|
|
50524
|
+
fetchV2UpdategameByAppidByVersionByPlatformid<T = BuildManifest>(appId: string, version: string, platformId: string): Promise<IResponseWithSync<T>>;
|
|
50526
50525
|
/**
|
|
50527
50526
|
* This API is used to get simple build manifest that contains list of current build in various platform.<p>Other detail info: <ul><li><i>Required permission</i>: login user</li><li><i>Returns</i>: build manifest</li></ul>
|
|
50528
50527
|
*/
|
|
50529
|
-
fetchAvailablebuildsByAppid<T = BasicBuildManifestArray>(appId: string): Promise<IResponseWithSync
|
|
50528
|
+
fetchAvailablebuildsByAppid<T = BasicBuildManifestArray>(appId: string): Promise<IResponseWithSync<T>>;
|
|
50530
50529
|
/**
|
|
50531
50530
|
* This API fetch the diff status between two builds. The diff generated by diff wrapper and saved in the database. Return 404 if no diff found.<p>Other detail info: <ul><li><i>Required permission</i>: login user</li><li><i>Returns</i>: Simple diff status containing where to fetch diff manifest</li></ul>
|
|
50532
50531
|
*/
|
|
50533
|
-
fetchDiffBySourcebuildidByDestinationbuildid<T = DiffStatusReport>(sourceBuildId: string, destinationBuildId: string): Promise<IResponseWithSync
|
|
50532
|
+
fetchDiffBySourcebuildidByDestinationbuildid<T = DiffStatusReport>(sourceBuildId: string, destinationBuildId: string): Promise<IResponseWithSync<T>>;
|
|
50534
50533
|
/**
|
|
50535
50534
|
* This API is used to get version history.<p>Other detail info: <ul><li><i>Required permission</i>: login user</li><li><i>Returns</i>: version chain from specified build</li></ul>
|
|
50536
50535
|
*/
|
|
50537
50536
|
fetchVersionHistory<T = VersionChain>(queryParams?: {
|
|
50538
50537
|
appId: string | null;
|
|
50539
50538
|
comparedBuildId: string | null;
|
|
50540
|
-
}): Promise<IResponseWithSync
|
|
50539
|
+
}): Promise<IResponseWithSync<T>>;
|
|
50541
50540
|
/**
|
|
50542
50541
|
* This API is used to get build manifest of release version of the application.<p>Other detail info: <ul><li><i>Required permission</i>: login user</li><li><i>Returns</i>: build manifest</li></ul>
|
|
50543
50542
|
*/
|
|
50544
|
-
fetchV2UpdategameByAppidByPlatformid<T = BuildManifest>(appId: string, platformId: string): Promise<IResponseWithSync
|
|
50543
|
+
fetchV2UpdategameByAppidByPlatformid<T = BuildManifest>(appId: string, platformId: string): Promise<IResponseWithSync<T>>;
|
|
50545
50544
|
/**
|
|
50546
50545
|
* This API is used to get build manifest of release version of the application. Supply it with source buildId and BuildInfo will output release build and obsolete files list between two version. Only works for builds uploaded with BuildInfo v2<p>Other detail info: <ul><li><i>Required permission</i>: login user</li><li><i>Returns</i>: build manifest</li></ul>
|
|
50547
50546
|
*/
|
|
50548
|
-
fetchV2UpdategameBuildsByBuildid<T = BuildManifest>(buildId: string): Promise<IResponseWithSync
|
|
50547
|
+
fetchV2UpdategameBuildsByBuildid<T = BuildManifest>(buildId: string): Promise<IResponseWithSync<T>>;
|
|
50549
50548
|
}
|
|
50550
50549
|
|
|
50551
50550
|
declare const RetrieveDiffCacheResponse: z.ZodObject<{
|
|
@@ -50595,7 +50594,7 @@ declare class Caching$ {
|
|
|
50595
50594
|
/**
|
|
50596
50595
|
* This API is used to retrieve detailed diff cache.<br/>The response will contains list of diff cache files along with its download url.<br/><br/>Other detail info: <ul><li><i>Required permission</i>: login user</li></ul>
|
|
50597
50596
|
*/
|
|
50598
|
-
fetchDiffCacheSourceBySourcebuildidDestByDestinationbuildid<T = RetrieveDiffCacheResponse>(sourceBuildId: string, destinationBuildId: string): Promise<IResponseWithSync
|
|
50597
|
+
fetchDiffCacheSourceBySourcebuildidDestByDestinationbuildid<T = RetrieveDiffCacheResponse>(sourceBuildId: string, destinationBuildId: string): Promise<IResponseWithSync<T>>;
|
|
50599
50598
|
}
|
|
50600
50599
|
|
|
50601
50600
|
declare const BlockManifest: z.ZodObject<{
|
|
@@ -52793,27 +52792,27 @@ declare class Agreement$ {
|
|
|
52793
52792
|
/**
|
|
52794
52793
|
* Retrieve accepted Legal Agreements.<br>Other detail info: <ul><li><i>Required permission</i>: login user</li></ul>
|
|
52795
52794
|
*/
|
|
52796
|
-
fetchPublicAgreementsPolicies<T = RetrieveAcceptedAgreementResponseArray>(): Promise<IResponseWithSync
|
|
52795
|
+
fetchPublicAgreementsPolicies<T = RetrieveAcceptedAgreementResponseArray>(): Promise<IResponseWithSync<T>>;
|
|
52797
52796
|
/**
|
|
52798
52797
|
* Accepts many legal policy versions all at once. Supply with localized version policy id to accept an agreement.<br>Other detail info: <ul><li><i>Required permission</i>: login user</li></ul>
|
|
52799
52798
|
*/
|
|
52800
|
-
postPublicAgreementsPolicies<T = AcceptAgreementResponse>(data: AcceptAgreementRequest[]): Promise<IResponse
|
|
52799
|
+
postPublicAgreementsPolicies<T = AcceptAgreementResponse>(data: AcceptAgreementRequest[]): Promise<IResponse<T>>;
|
|
52801
52800
|
/**
|
|
52802
52801
|
* <b>IMPORTANT: GOING TO DEPRECATE</b><br/><br/>Accepts many legal policy versions all at once. Supply with localized version policy id, version policy id, policy id, userId, namespace, country code and client id to accept an agreement. This endpoint used by APIGateway during new user registration.<br>Other detail info: <ul><li><i>Required permission</i>: resource="NAMESPACE:{namespace}:LEGAL", action=1 (CREATE)</li></ul>
|
|
52803
52802
|
*/
|
|
52804
|
-
postPublicAgreementsPoliciesCountriesByCountrycodeClientsByClientidUsersByUserid<T = AcceptAgreementResponse>(userId: string, countryCode: string, clientId: string, data: AcceptAgreementRequest[]): Promise<IResponse
|
|
52803
|
+
postPublicAgreementsPoliciesCountriesByCountrycodeClientsByClientidUsersByUserid<T = AcceptAgreementResponse>(userId: string, countryCode: string, clientId: string, data: AcceptAgreementRequest[]): Promise<IResponse<T>>;
|
|
52805
52804
|
/**
|
|
52806
52805
|
* Change marketing preference consent.<br>Other detail info: <ul><li><i>Required permission</i>: login user</li></ul>
|
|
52807
52806
|
*/
|
|
52808
|
-
patchPublicAgreementsLocalizedPolicyVersionsPreferences(data: AcceptAgreementRequest[]): Promise<IResponse
|
|
52807
|
+
patchPublicAgreementsLocalizedPolicyVersionsPreferences(data: AcceptAgreementRequest[]): Promise<IResponse<unknown>>;
|
|
52809
52808
|
/**
|
|
52810
52809
|
* Accepts a legal policy version. Supply with localized version policy id to accept an agreement.<br>Other detail info: <ul><li><i>Required permission</i>: login user</li></ul>
|
|
52811
52810
|
*/
|
|
52812
|
-
postPublicAgreementsLocalizedPolicyVersionsByLocalizedpolicyversionid(localizedPolicyVersionId: string): Promise<IResponse
|
|
52811
|
+
postPublicAgreementsLocalizedPolicyVersionsByLocalizedpolicyversionid(localizedPolicyVersionId: string): Promise<IResponse<unknown>>;
|
|
52813
52812
|
/**
|
|
52814
52813
|
* Accepts many legal policy versions all at once. Supply with localized version policy id and userId to accept an agreement. This endpoint used by Authentication Service during new user registration.<br><br/>Available Extra Information to return: <br/><ul><li><b>userIds</b> : List of userId mapping (<b>IMPORTANT: GOING TO DEPRECATE</b>)</li></ul>Other detail info: <ul><li><i>Required permission</i>: login user</li></ul>
|
|
52815
52814
|
*/
|
|
52816
|
-
postPublicAgreementsPoliciesUsersByUserid<T = AcceptAgreementResponse>(userId: string, data: AcceptAgreementRequest[]): Promise<IResponse
|
|
52815
|
+
postPublicAgreementsPoliciesUsersByUserid<T = AcceptAgreementResponse>(userId: string, data: AcceptAgreementRequest[]): Promise<IResponse<T>>;
|
|
52817
52816
|
}
|
|
52818
52817
|
|
|
52819
52818
|
declare const RetrieveUserEligibilitiesIndirectResponse: z.ZodObject<{
|
|
@@ -53025,11 +53024,11 @@ declare class Eligibilities$ {
|
|
|
53025
53024
|
/**
|
|
53026
53025
|
* Retrieve the active policies and its conformance status by userThis process only supports cross-namespace checking between game namespace and publisher namespace , that means if the active policy already accepted by the same user in publisher namespace, then it will also be considered as eligible in non-publisher namespace.<br/><br/>Other detail info: <ul><li><i>Required permission</i>: login user</li></ul>
|
|
53027
53026
|
*/
|
|
53028
|
-
fetchPublicEligibilitiesCountriesByCountrycodeClientsByClientidUsersByUserid<T = RetrieveUserEligibilitiesIndirectResponse>(countryCode: string, clientId: string, userId: string): Promise<IResponseWithSync
|
|
53027
|
+
fetchPublicEligibilitiesCountriesByCountrycodeClientsByClientidUsersByUserid<T = RetrieveUserEligibilitiesIndirectResponse>(countryCode: string, clientId: string, userId: string): Promise<IResponseWithSync<T>>;
|
|
53029
53028
|
/**
|
|
53030
53029
|
* Retrieve the active policies and its conformance status by user.<br>This process supports cross-namespace checking, that means if the active policy already accepted by the same user in other namespace, then it will be considered as eligible.<br/><br/>Other detail info: <ul><li><i>Required permission</i>: login user</li></ul>
|
|
53031
53030
|
*/
|
|
53032
|
-
fetchPublicEligibilitiesNamespacesByNamespace<T = RetrieveUserEligibilitiesResponseArray>(): Promise<IResponseWithSync
|
|
53031
|
+
fetchPublicEligibilitiesNamespacesByNamespace<T = RetrieveUserEligibilitiesResponseArray>(): Promise<IResponseWithSync<T>>;
|
|
53033
53032
|
}
|
|
53034
53033
|
|
|
53035
53034
|
declare const RetrieveLocalizedPolicyVersionPublicResponse: z.ZodObject<{
|
|
@@ -53210,7 +53209,7 @@ declare class LocalizedPolicyVersions$ {
|
|
|
53210
53209
|
/**
|
|
53211
53210
|
* Retrieve specific localized policy version including the policy version and base policy version where the localized policy version located.<br>Other detail info: <ul></ul>
|
|
53212
53211
|
*/
|
|
53213
|
-
fetchPublicLocalizedPolicyVersionsByLocalizedpolicyversionid<T = RetrieveLocalizedPolicyVersionPublicResponse>(localizedPolicyVersionId: string): Promise<IResponseWithSync
|
|
53212
|
+
fetchPublicLocalizedPolicyVersionsByLocalizedpolicyversionid<T = RetrieveLocalizedPolicyVersionPublicResponse>(localizedPolicyVersionId: string): Promise<IResponseWithSync<T>>;
|
|
53214
53213
|
}
|
|
53215
53214
|
|
|
53216
53215
|
declare const RetrievePolicyPublicResponseArray: z.ZodArray<z.ZodObject<{
|
|
@@ -53436,7 +53435,7 @@ declare class Policies$ {
|
|
|
53436
53435
|
tags?: string | null;
|
|
53437
53436
|
defaultOnEmpty?: boolean | null;
|
|
53438
53437
|
alwaysIncludeDefault?: boolean | null;
|
|
53439
|
-
}): Promise<IResponseWithSync
|
|
53438
|
+
}): Promise<IResponseWithSync<T>>;
|
|
53440
53439
|
/**
|
|
53441
53440
|
* Retrieve all active latest policies based on a namespace and country. The country will be read from user token.<br>Other detail info: <ul><li><i>Leave the policyType empty if you want to be responded with all policy type</i></li><li><i>Fill the tags if you want to filter the responded policy by tags</i></li><li><i>Fill the defaultOnEmpty with true if you want to be responded with default country-specific policy if your requested country is not exist</i></li><li><i>Fill the alwaysIncludeDefault with true if you want to be responded with always include default policy. If there are duplicate policies (default policies and country specific policies with same base policy) it'll include policy with same country code, for example:<ul><li>Document 1 (default): Region US (default), UA</li><li>Document 2 (default): Region US (default)</li><li>Document 3 (default): Region US (default)</li><li>User: Region UA</li><li>Query: alwaysIncludeDefault: true</li><li>Response: Document 1 (UA), Document 2 (US), Document 3 (US)</li></ul></i></li><li><i>Required permission: login user </i></li></ul>
|
|
53442
53441
|
*/
|
|
@@ -53445,7 +53444,7 @@ declare class Policies$ {
|
|
|
53445
53444
|
tags?: string | null;
|
|
53446
53445
|
defaultOnEmpty?: boolean | null;
|
|
53447
53446
|
alwaysIncludeDefault?: boolean | null;
|
|
53448
|
-
}): Promise<IResponseWithSync
|
|
53447
|
+
}): Promise<IResponseWithSync<T>>;
|
|
53449
53448
|
/**
|
|
53450
53449
|
* Retrieve all active latest policies based on a country.<br>Other detail info: <ul><li><i>Leave the policyType empty if you want to be responded with all policy type</i></li><li><i>Fill the tags if you want to filter the responded policy by tags</i></li><li><i>Fill the defaultOnEmpty with true if you want to be responded with default country-specific policy if your requested country is not exist</i></li></ul>
|
|
53451
53450
|
*/
|
|
@@ -53453,7 +53452,7 @@ declare class Policies$ {
|
|
|
53453
53452
|
policyType?: string | null;
|
|
53454
53453
|
tags?: string | null;
|
|
53455
53454
|
defaultOnEmpty?: boolean | null;
|
|
53456
|
-
}): Promise<IResponseWithSync
|
|
53455
|
+
}): Promise<IResponseWithSync<T>>;
|
|
53457
53456
|
}
|
|
53458
53457
|
|
|
53459
53458
|
declare const LegalReadinessStatusResponse: z.ZodObject<{
|
|
@@ -53477,7 +53476,7 @@ declare class Utility$ {
|
|
|
53477
53476
|
/**
|
|
53478
53477
|
* Readiness status defined as at least one legal basePolicy is present and having active basePolicy.<br>Other detail info: <ul><li><i>Required permission</i>: resource="NAMESPACE:{namespace}:LEGAL", action=2 (READ)</li></ul>
|
|
53479
53478
|
*/
|
|
53480
|
-
fetchPublicReadiness<T = LegalReadinessStatusResponse>(): Promise<IResponseWithSync
|
|
53479
|
+
fetchPublicReadiness<T = LegalReadinessStatusResponse>(): Promise<IResponseWithSync<T>>;
|
|
53481
53480
|
}
|
|
53482
53481
|
|
|
53483
53482
|
declare const LocalizedPolicyVersionObject: z.ZodObject<{
|
|
@@ -55417,15 +55416,15 @@ declare class DataDeletion$ {
|
|
|
55417
55416
|
*/
|
|
55418
55417
|
postGdprUsersByUseridDeletions<T = RequestDeleteResponse>(userId: string, data: {
|
|
55419
55418
|
password: string | null;
|
|
55420
|
-
}): Promise<IResponse
|
|
55419
|
+
}): Promise<IResponse<T>>;
|
|
55421
55420
|
/**
|
|
55422
55421
|
* <p>Requires valid user access token</p>
|
|
55423
55422
|
*/
|
|
55424
|
-
deleteGdprUsersByUseridDeletions(userId: string): Promise<IResponse
|
|
55423
|
+
deleteGdprUsersByUseridDeletions(userId: string): Promise<IResponse<unknown>>;
|
|
55425
55424
|
/**
|
|
55426
55425
|
* <p>Requires valid user access token</p>
|
|
55427
55426
|
*/
|
|
55428
|
-
fetchGdprUsersByUseridDeletionsStatus<T = DeletionStatus>(userId: string): Promise<IResponseWithSync
|
|
55427
|
+
fetchGdprUsersByUseridDeletionsStatus<T = DeletionStatus>(userId: string): Promise<IResponseWithSync<T>>;
|
|
55429
55428
|
}
|
|
55430
55429
|
|
|
55431
55430
|
declare const DataRetrievalResponse: z.ZodObject<{
|
|
@@ -55524,23 +55523,23 @@ declare class DataRetrieval$ {
|
|
|
55524
55523
|
fetchGdprUsersByUseridRequests<T = UserPersonalDataResponse>(userId: string, queryParams?: {
|
|
55525
55524
|
limit?: number;
|
|
55526
55525
|
offset?: number;
|
|
55527
|
-
}): Promise<IResponseWithSync
|
|
55526
|
+
}): Promise<IResponseWithSync<T>>;
|
|
55528
55527
|
/**
|
|
55529
55528
|
* <p>Requires valid user access token</p>
|
|
55530
55529
|
*/
|
|
55531
55530
|
postGdprUsersByUseridRequests<T = DataRetrievalResponse>(userId: string, data: {
|
|
55532
55531
|
password: string | null;
|
|
55533
|
-
}): Promise<IResponse
|
|
55532
|
+
}): Promise<IResponse<T>>;
|
|
55534
55533
|
/**
|
|
55535
55534
|
* <p>Requires valid user access token</p>
|
|
55536
55535
|
*/
|
|
55537
|
-
deleteGdprUsersByUseridRequestsByRequestdate(userId: string, requestDate: string): Promise<IResponse
|
|
55536
|
+
deleteGdprUsersByUseridRequestsByRequestdate(userId: string, requestDate: string): Promise<IResponse<unknown>>;
|
|
55538
55537
|
/**
|
|
55539
55538
|
* <p>Requires valid user access token</p>
|
|
55540
55539
|
*/
|
|
55541
55540
|
postGdprUsersByUseridRequestsByRequestdateGenerate<T = UserDataUrl>(userId: string, requestDate: string, data: {
|
|
55542
55541
|
password: string | null;
|
|
55543
|
-
}): Promise<IResponse
|
|
55542
|
+
}): Promise<IResponse<T>>;
|
|
55544
55543
|
}
|
|
55545
55544
|
|
|
55546
55545
|
declare const DeletionData: z.ZodObject<{
|
|
@@ -55873,7 +55872,7 @@ declare class EventV2$ {
|
|
|
55873
55872
|
endDate?: string | null;
|
|
55874
55873
|
offset?: number | null;
|
|
55875
55874
|
type?: string | null;
|
|
55876
|
-
}): Promise<IResponseWithSync
|
|
55875
|
+
}): Promise<IResponseWithSync<T>>;
|
|
55877
55876
|
/**
|
|
55878
55877
|
* <p>Requires valid user access token</p>
|
|
55879
55878
|
*/
|
|
@@ -55883,7 +55882,7 @@ declare class EventV2$ {
|
|
|
55883
55882
|
endDate?: string | null;
|
|
55884
55883
|
offset?: number | null;
|
|
55885
55884
|
eventName?: string | null;
|
|
55886
|
-
}): Promise<IResponseWithSync
|
|
55885
|
+
}): Promise<IResponseWithSync<T>>;
|
|
55887
55886
|
}
|
|
55888
55887
|
|
|
55889
55888
|
declare const AgentType: z.ZodObject<{
|
|
@@ -56342,7 +56341,7 @@ declare class StaticConfigs$ {
|
|
|
56342
56341
|
private namespace;
|
|
56343
56342
|
private cache;
|
|
56344
56343
|
constructor(axiosInstance: AxiosInstance, namespace: string, cache?: boolean);
|
|
56345
|
-
fetchV1StaticConfigsByConfig<T = Config>(config: string): Promise<IResponseWithSync
|
|
56344
|
+
fetchV1StaticConfigsByConfig<T = Config>(config: string): Promise<IResponseWithSync<T>>;
|
|
56346
56345
|
}
|
|
56347
56346
|
|
|
56348
56347
|
declare const Configs: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
@@ -56375,8 +56374,8 @@ declare class Templates$ {
|
|
|
56375
56374
|
private namespace;
|
|
56376
56375
|
private cache;
|
|
56377
56376
|
constructor(axiosInstance: AxiosInstance, namespace: string, cache?: boolean);
|
|
56378
|
-
fetchV1TemplatesByTemplateConfigs<T = Configs>(template: string): Promise<IResponseWithSync
|
|
56379
|
-
fetchV1TemplatesByTemplateConfigsByConfig<T = Config>(template: string, config: string): Promise<IResponseWithSync
|
|
56377
|
+
fetchV1TemplatesByTemplateConfigs<T = Configs>(template: string): Promise<IResponseWithSync<T>>;
|
|
56378
|
+
fetchV1TemplatesByTemplateConfigsByConfig<T = Config>(template: string, config: string): Promise<IResponseWithSync<T>>;
|
|
56380
56379
|
}
|
|
56381
56380
|
|
|
56382
56381
|
declare const Template: z.ZodObject<{
|