@accelbyte/sdk 0.2.0-beta.4 → 0.2.0-beta.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -82,6 +82,8 @@ declare class FileUploadApi {
82
82
  */
83
83
  constructor(conf: SDKRequestConfig, namespace: string);
84
84
  /**
85
+ * POST [/basic/v1/public/namespaces/{namespace}/folders/{folder}/files](api)
86
+ *
85
87
  * Generate an upload URL. It's valid for 10 minutes.
86
88
  * Returns: URL data
87
89
  */
@@ -108,10 +110,16 @@ declare class MiscApi {
108
110
  */
109
111
  constructor(conf: SDKRequestConfig, namespace: string, cache?: boolean);
110
112
  /**
111
- * List countries.
112
- * - _Returns_: country code list
113
+ * GET [/basic/v1/public/namespaces/{namespace}/misc/countries](api)
114
+ *
115
+ * _Returns_: country code list
113
116
  */
114
117
  getCountries: (lang?: string | undefined) => Promise<IResponseWithSync<CountryObjectArray>>;
118
+ /**
119
+ * GET [/basic/v1/public/namespaces/{namespace}/misc/languages](api)
120
+ *
121
+ * _Returns_: language list
122
+ */
115
123
  getLanguages: () => Promise<IResponseWithSync<unknown>>;
116
124
  private newInstance;
117
125
  }
@@ -125,9 +133,10 @@ declare class NamespaceApi {
125
133
  */
126
134
  constructor(conf: SDKRequestConfig, namespace: string, cache?: boolean);
127
135
  /**
136
+ * GET [/basic/v1/public/namespaces](api)
137
+ *
128
138
  * Get all namespaces.
129
139
  *
130
- * Other detail info:
131
140
  * - _Required permission_: login user
132
141
  * - _Action code_: 11303
133
142
  * - _Returns_: list of namespaces
@@ -222,23 +231,31 @@ declare class UserProfileApi {
222
231
  */
223
232
  constructor(conf: SDKRequestConfig, namespace: string, cache?: boolean);
224
233
  /**
234
+ * GET [/basic/v1/public/namespaces/{namespace}/users/me/profiles](api)
235
+ *
225
236
  * Get my profile
226
237
  *
227
238
  * __Client with user token can get user profile in target namespace__
228
239
  */
229
240
  getUsersMeProfiles: () => Promise<IResponseWithSync<UserProfilePrivateInfo>>;
230
241
  /**
242
+ * POST [/basic/v1/public/namespaces/{namespace}/users/me/profiles](api)
243
+ *
231
244
  * Create my profile.
232
245
  *
233
246
  * __Client with user token can create user profile in target namespace__
234
247
  */
235
248
  createUserMeProfile: (data: UserProfilePrivateCreate) => Promise<IResponse<UserProfilePrivateInfo>>;
236
249
  /**
250
+ * PUT [/basic/v1/public/namespaces/{namespace}/users/me/profiles](api)
251
+ *
237
252
  * Update my profile.
238
253
  * Updates user profile in the target namespace. 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 method returns the updated user profile on a successful call.
239
254
  */
240
255
  updateUserMeProfile: (data: UserProfilePrivateUpdate) => Promise<IResponse<UserProfilePrivateInfo>>;
241
256
  /**
257
+ * PUT [/basic/v1/public/namespaces/{namespace}/users/{userId}/profiles/customAttributes](api)
258
+ *
242
259
  * Update partially custom attributes tied to user id.
243
260
  * _Returns_: Updated custom attributes
244
261
  */
@@ -254,13 +271,14 @@ declare class CachingApi {
254
271
  */
255
272
  constructor(conf: SDKRequestConfig, namespace: string);
256
273
  /**
274
+ * GET [/buildinfo/public/namespaces/{namespace}/diff/cache/source/{sourceBuildId}/dest/{destinationBuildId}](api)
275
+ *
257
276
  * This API is used to retrieve detailed diff cache.
258
277
  * The response will contains list of diff cache files along with its download url.
259
278
  *
260
- * Other detail info:
261
- * - _Required permission_: login user
279
+ * _Required permission_: login user
262
280
  */
263
- getDiffCache(sourceBuildId: string, destinationBuildId: string): Promise<IResponseWithSync<RetrieveDiffCacheResponse>>;
281
+ getDiffCache: (sourceBuildId: string, destinationBuildId: string) => Promise<IResponseWithSync<RetrieveDiffCacheResponse>>;
264
282
  private newInstance;
265
283
  }
266
284
 
@@ -272,19 +290,45 @@ declare class DlcApi {
272
290
  */
273
291
  constructor(conf: SDKRequestConfig, namespace: string);
274
292
  /**
293
+ * GET [/buildinfo/public/namespaces/{namespace}/dlcs/latest/byGameAppId/{appId}](api)
294
+ *
275
295
  * Retrieve the list of DLC available on specific game. Use game's appId to query.
276
296
  *
277
- * - _Returns_: list of DLC
297
+ * _Returns_: list of DLC
278
298
  */
279
- getLatestDLCByGameAppId(appId: string): Promise<IResponseWithSync<RetrieveLatestDlcResponseArray>>;
299
+ getLatestDLCByGameAppId: (appId: string) => Promise<IResponseWithSync<RetrieveLatestDlcResponseArray>>;
280
300
  /**
301
+ * GET [/buildinfo/public/namespaces/{namespace}/apps/latest/byDLCAppId/{dlcAppId}](api)
302
+ *
281
303
  * Retrieve the list of DLC available on specific game. Use DLC's appId to query.
282
- * - _Returns_: appId of game and list of its builds by platformId
304
+ *
305
+ * _Returns_: appId of game and list of its builds by platformId
283
306
  */
284
- getBaseGamesByDlcAppId(dlcAppId: string): Promise<IResponseWithSync<RetrieveBaseGameResponseArray>>;
307
+ getBaseGamesByDlcAppId: (dlcAppId: string) => Promise<IResponseWithSync<RetrieveBaseGameResponseArray>>;
285
308
  private newInstance;
286
309
  }
287
310
 
311
+ declare const PLATFORM: {
312
+ LINUX: string;
313
+ WINDOWS: string;
314
+ };
315
+ declare const ARCH: {
316
+ [arch: string]: string;
317
+ };
318
+ declare const BUILDINFO_PLATFORM_ID: {
319
+ [platformId: string]: string;
320
+ };
321
+ interface PlatformMatchMap {
322
+ arch: string[];
323
+ platform: string;
324
+ targetPlatform: string[];
325
+ }
326
+ declare const AvailablePlatform: PlatformMatchMap[];
327
+ declare enum LogLevel {
328
+ 'DEBUG' = "DEBUG",
329
+ 'INFO' = "INFO"
330
+ }
331
+
288
332
  declare const BasicBuildManifest: z.ZodObject<{
289
333
  buildId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
290
334
  platformId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -319,36 +363,46 @@ declare class DownloaderApi {
319
363
  */
320
364
  constructor(conf: SDKRequestConfig, namespace: string);
321
365
  /**
366
+ * GET [/buildinfo/public/namespaces/{namespace}/availablebuilds/{appId}](api)
367
+ *
322
368
  * This API is used to get simple build manifest that contains list of current build in various platform.
323
- * Other detail info:
369
+ *
324
370
  * - _Required permission_: login user
325
371
  * - _Returns_: build manifest
326
372
  */
327
- getAvailableBuilds(appId: string): Promise<IResponseWithSync<BasicBuildManifestArray>>;
373
+ getAvailableBuilds: (appId: string) => Promise<IResponseWithSync<BasicBuildManifestArray>>;
328
374
  /**
375
+ * GET [/buildinfo/public/namespaces/{namespace}/v2/updategame/{appId}/{platformId}](api)
376
+ *
329
377
  * This API is used to get build manifest of release version of the application.
330
378
  *
331
- * Other detail info:
332
379
  * - _Required permission_: login user
333
380
  * - _Returns_: build manifest
334
381
  */
335
- getBuildManifest(appId: string, platformId: string): Promise<IResponseWithSync<BuildManifest>>;
382
+ getBuildManifest: (appId: string, platformId: string) => Promise<IResponseWithSync<BuildManifest>>;
336
383
  /**
384
+ * GET [/buildinfo/public/namespaces/{namespace}/diff/cache/source/{sourceBuildId}/dest/{destinationBuildId}](api)
385
+ *
337
386
  * This API is used to retrieve detailed diff cache.
338
387
  * The response will contains list of diff cache files along with its download url.
339
388
  *
340
389
  * - _Required permission_: login user
341
390
  */
342
- getDiffCache(sourceBuildId: string, destinationBuildId: string): Promise<IResponseWithSync<RetrieveDiffCacheResponse>>;
391
+ getDiffCache: (sourceBuildId: string, destinationBuildId: string) => Promise<IResponseWithSync<RetrieveDiffCacheResponse>>;
343
392
  /**
344
393
  * Check which platform is available for the user to download the game
394
+ *
395
+ * @internal
345
396
  */
346
- getMatchPlatform({ buildsAvailability, userPlatform }: {
397
+ getMatchPlatform: ({ buildsAvailability, userPlatform }: {
347
398
  buildsAvailability: BasicBuildManifest[];
348
399
  userPlatform: IUserPlatform;
349
- }): string | null;
400
+ }) => string | null;
401
+ /**
402
+ * @internal
403
+ */
404
+ getCurrentPlatform: (userPlatform: IUserPlatform) => PlatformMatchMap | undefined;
350
405
  private newInstance;
351
- private getCurrentPlatform;
352
406
  }
353
407
 
354
408
  declare class EventApi {
@@ -360,6 +414,8 @@ declare class EventApi {
360
414
  */
361
415
  constructor(conf: SDKRequestConfig, namespace: string, cache?: boolean);
362
416
  /**
417
+ * GET [/event/v2/public/namespaces/{namespace}/users/{userId}/edithistory](api)
418
+ *
363
419
  * Available Type:
364
420
  * - email
365
421
  * - password
@@ -368,7 +424,7 @@ declare class EventApi {
368
424
  * - country
369
425
  * - language
370
426
  *
371
- * Requires a valid user access token
427
+ * _Requires a valid user access token_
372
428
  */
373
429
  getAccountHistoryByUserId: ({ userId, queryParams }: {
374
430
  userId: string;
@@ -392,25 +448,34 @@ declare class DataDeletionApi {
392
448
  */
393
449
  constructor(conf: SDKRequestConfig, namespace: string, cache?: boolean);
394
450
  /**
451
+ * GET [/gdpr/public/namespaces/{namespace}/users/{userId}/deletions/status](api)
452
+ *
395
453
  * Fetch the status to check whether or not a user's account is on a deletion status
396
- * Requires valid user access token
454
+ *
455
+ * _Requires a valid user access token_
397
456
  */
398
- getGdprDeletionStatus(userId: string): Promise<IResponseWithSync<DeletionStatus>>;
457
+ getGdprDeletionStatus: (userId: string) => Promise<IResponseWithSync<DeletionStatus>>;
399
458
  /**
459
+ * POST [/gdpr/public/namespaces/{namespace}/users/{userId}/deletions](api)
460
+ *
400
461
  * Request an account's deletion
401
- * Requires valid user access token and password
462
+ *
463
+ * _Requires a valid user access token and password_
402
464
  */
403
- requestAccountDeletion({ userId, data }: {
465
+ requestAccountDeletion: ({ userId, data }: {
404
466
  userId: string;
405
467
  data: {
406
468
  password: string | null;
407
469
  };
408
- }): Promise<IResponse<RequestDeleteResponse>>;
470
+ }) => Promise<IResponse<RequestDeleteResponse>>;
409
471
  /**
472
+ * DELETE [/gdpr/public/namespaces/{namespace}/users/{userId}/deletions](api)
473
+ *
410
474
  * Cancel a deletion request
411
- * Requires valid user access token
475
+ *
476
+ * _Requires a valid user access token_
412
477
  */
413
- cancelAccountDeletion(userId: string): Promise<IResponse<unknown>>;
478
+ cancelAccountDeletion: (userId: string) => Promise<IResponse<unknown>>;
414
479
  private newInstance;
415
480
  }
416
481
 
@@ -423,45 +488,57 @@ declare class DataRetrievalApi {
423
488
  */
424
489
  constructor(conf: SDKRequestConfig, namespace: string, cache?: boolean);
425
490
  /**
491
+ * GET [/gdpr/public/namespaces/{namespace}/users/{userId}/requests](api)
492
+ *
426
493
  * Fetch personal data request list
427
- * Requires valid user access token
494
+ *
495
+ * _Requires a valid user access token_
428
496
  */
429
- getGdprDataRequestList({ userId, queryParams }: {
497
+ getGdprDataRequestList: ({ userId, queryParams }: {
430
498
  userId: string;
431
499
  queryParams?: {
432
- limit?: number;
433
- offset?: number;
434
- };
435
- }): Promise<IResponseWithSync<UserPersonalDataResponse>>;
500
+ limit?: number | undefined;
501
+ offset?: number | undefined;
502
+ } | undefined;
503
+ }) => Promise<IResponseWithSync<UserPersonalDataResponse>>;
436
504
  /**
505
+ * POST [/gdpr/public/namespaces/{namespace}/users/{userId}/requests](api)
506
+ *
437
507
  * Create a request for personal data download
438
- * Requires valid user access token
508
+ *
509
+ * _Requires a valid user access token_
439
510
  */
440
- requestGdprData({ userId, data }: {
511
+ requestGdprData: ({ userId, data }: {
441
512
  userId: string;
442
513
  data: {
443
514
  password: string | null;
444
515
  };
445
- }): Promise<IResponse<DataRetrievalResponse>>;
516
+ }) => Promise<IResponse<DataRetrievalResponse>>;
446
517
  /**
447
- * Cancel the request for personal data dowwnload
448
- * Requires valid user access token
518
+ * DELETE [/gdpr/public/namespaces/{namespace}/users/{userId}/requests/{requestDate}](api)
519
+ *
520
+ * Cancel the request for personal data download
521
+ *
522
+ * _Requires a valid user access token_
449
523
  */
450
- cancelGdprDataRequest({ userId, requestDate }: {
524
+ cancelGdprDataRequest: ({ userId, requestDate }: {
451
525
  userId: string;
452
526
  requestDate: string;
453
- }): Promise<IResponse<unknown>>;
527
+ }) => Promise<IResponse<unknown>>;
454
528
  /**
529
+ * POST [/gdpr/public/namespaces/{namespace}/users/{userId}/requests/{requestDate}/generate](api)
530
+ *
455
531
  * Create a download URL for personal data request
456
- * Requires valid user access token
532
+ *
533
+ * _Requires a valid user access token_
457
534
  */
458
- requestGdprDataDownloadUrl({ userId, requestDate, data }: {
535
+ requestGdprDataDownloadUrl: ({ userId, requestDate, data }: {
459
536
  userId: string;
460
537
  requestDate: string;
461
538
  data: {
462
539
  password: string | null;
463
540
  };
464
- }): Promise<IResponse<UserDataUrl>>;
541
+ }) => Promise<IResponse<UserDataUrl>>;
465
542
  private newInstance;
466
543
  }
467
544
 
@@ -474,10 +551,11 @@ declare class InputValidationsApi {
474
551
  */
475
552
  constructor(conf: SDKRequestConfig, namespace: string, cache?: boolean);
476
553
  /**
554
+ * GET [/iam/v3/public/inputValidations](api)
555
+ *
477
556
  * No role required
478
557
  * This method is to get list of input validation configuration.
479
558
  * `regex` parameter will be returned if `isCustomRegex` is true. Otherwise, it will be empty.
480
- *
481
559
  */
482
560
  getValidations: (languageCode?: string | null | undefined, defaultOnEmpty?: boolean | null | undefined) => Promise<IResponseWithSync<InputValidationsPublicResponse>>;
483
561
  private newInstance;
@@ -916,8 +994,10 @@ declare class OAuthApi {
916
994
  /**
917
995
  * @internal
918
996
  */
919
- newOAuth20Extension(): OAuth20Extension$;
997
+ newOAuth20Extension: () => OAuth20Extension$;
920
998
  /**
999
+ * POST [/iam/v3/logout](api)
1000
+ *
921
1001
  * This method is used to remove __access_token__, __refresh_token__ from cookie and revoke token from usage.
922
1002
  * Supported methods:
923
1003
  * - VerifyToken to verify token from header
@@ -925,6 +1005,8 @@ declare class OAuthApi {
925
1005
  */
926
1006
  logout: () => Promise<IResponse<unknown>>;
927
1007
  /**
1008
+ * POST [/iam/v3/oauth/revoke](api)
1009
+ *
928
1010
  * This method revokes a token.
929
1011
  * This method requires authorized requests header with Basic Authentication from client that establish the token.action code: 10706
930
1012
  */
@@ -932,6 +1014,8 @@ declare class OAuthApi {
932
1014
  token: string;
933
1015
  }) => Promise<IResponse<unknown>>;
934
1016
  /**
1017
+ * POST [/iam/v3/oauth/mfa/verify](api)
1018
+ *
935
1019
  * Verify 2FA code
936
1020
  * This method is used for verifying 2FA code.
937
1021
  * ##2FA remember device
@@ -939,12 +1023,19 @@ declare class OAuthApi {
939
1023
  *
940
1024
  */
941
1025
  verify2FA: ({ factor, code, mfaToken, rememberDevice }: Verify2FAParam) => Promise<IDataStatus<TokenResponseV3>>;
1026
+ /**
1027
+ * POST [/iam/v3/oauth/mfa/code](api)
1028
+ */
942
1029
  request2FAEmailCode: ({ mfaToken, factor }: Request2FAEmailCode) => Promise<IDataStatus<unknown>>;
943
1030
  /**
1031
+ * GET [/iam/v3/location/country](api)
1032
+ *
944
1033
  * This method get country location based on the request.
945
1034
  */
946
1035
  getCurrentLocationCountry: () => Promise<IResponseWithSync<CountryLocationResponse>>;
947
1036
  /**
1037
+ * GET [/iam/v3/oauth/namespaces/{namespace}/users/{userId}/platforms/{platformId}/platformToken](api)
1038
+ *
948
1039
  * Retrieve User Third Party Platform Token
949
1040
  *
950
1041
  * This method used for retrieving third party platform token for user that login using third party,
@@ -962,6 +1053,8 @@ declare class OAuthApi {
962
1053
  */
963
1054
  getThirdPartyPlatformToken: (userId: string, platformId: string) => Promise<IResponseWithSync<TokenThirdPartyResponse>>;
964
1055
  /**
1056
+ * POST [/iam/v3/authenticateWithLink](api)
1057
+ *
965
1058
  * This method is being used to authenticate a user account and perform platform link.
966
1059
  * It validates user's email / username and password.
967
1060
  * If user already enable 2FA, then invoke _/mfa/verify_ using __mfa_token__ from this method response.
@@ -981,25 +1074,27 @@ declare class OAuthApi {
981
1074
  extend_exp?: boolean | null;
982
1075
  }) => Promise<IResponse<TokenResponseV3>>;
983
1076
  /**
1077
+ * POST [/iam/v3/link/code/validate](api)
1078
+ *
984
1079
  * This method is being used to validate one time link code.
985
1080
  * It require a valid user token.
986
1081
  * Should specify the target platform id and current user should already linked to this platform.
987
1082
  * Current user should be a headless account.
988
- *
989
1083
  */
990
- validateOneTimeLinkCode(data: {
1084
+ validateOneTimeLinkCode: (data: {
991
1085
  oneTimeLinkCode: string | null;
992
- }): Promise<IResponse<OneTimeLinkingCodeValidationResponse>>;
1086
+ }) => Promise<IResponse<OneTimeLinkingCodeValidationResponse>>;
993
1087
  /**
1088
+ * POST [/iam/v3/link/token/exchange](api)
1089
+ *
994
1090
  * This method is being used to generate user's token by one time link code.
995
1091
  * It require publisher ClientID
996
1092
  * It required a code which can be generated from __/iam/v3/link/code/request__.
997
- *
998
1093
  */
999
- exchangeTokenByOneTimeLinkCode(data: {
1094
+ exchangeTokenByOneTimeLinkCode: (data: {
1000
1095
  oneTimeLinkCode: string | null;
1001
1096
  client_id: string | null;
1002
- }): Promise<IResponse<TokenResponseV3>>;
1097
+ }) => Promise<IResponse<TokenResponseV3>>;
1003
1098
  private newInstance;
1004
1099
  }
1005
1100
 
@@ -1058,6 +1153,8 @@ declare class ThirdPartyCredentialApi {
1058
1153
  */
1059
1154
  constructor(conf: SDKRequestConfig, namespace: string, cache?: boolean);
1060
1155
  /**
1156
+ * GET [/iam/v3/public/namespaces/{namespace}/platforms/clients/active](api)
1157
+ *
1061
1158
  * This is the Public API to Get All Active 3rd Platform Credential.
1062
1159
  */
1063
1160
  getThirdPartyPlatformInfo: () => Promise<IResponseWithSync<PublicThirdPartyPlatformInfoArray>>;
@@ -1076,63 +1173,90 @@ declare class TwoFA {
1076
1173
  */
1077
1174
  constructor(conf: SDKRequestConfig, namespace: string, cache?: boolean);
1078
1175
  /**
1176
+ * GET [/iam/v4/public/namespaces/{namespace}/users/me/mfa/backupCode](api)
1177
+ *
1079
1178
  * This method is used to get 8-digits backup codes.
1080
1179
  * Each code is a one-time code and will be deleted once used.
1081
- * This method Requires valid user access token
1082
1180
  *
1181
+ * _Requires a valid user access token_
1083
1182
  */
1084
1183
  getBackupCode: () => Promise<IResponseWithSync<BackupCodesResponseV4>>;
1085
1184
  /**
1185
+ * POST [/iam/v4/public/namespaces/{namespace}/users/me/mfa/backupCode/enable](api)
1186
+ *
1086
1187
  * This method is used to enable 2FA backup codes.
1087
- * This method Requires valid user access token
1088
1188
  *
1189
+ * _Requires a valid user access token_
1089
1190
  */
1090
1191
  enable2FABackupCodes: () => Promise<IResponse<BackupCodesResponseV4>>;
1091
1192
  /**
1193
+ * POST [/iam/v4/public/namespaces/{namespace}/users/me/mfa/backupCode](api)
1194
+ *
1092
1195
  * This method is used to enable 2FA backup codes.
1093
- * This method Requires valid user access token
1094
1196
  *
1197
+ * _Requires a valid user access token_
1095
1198
  */
1096
1199
  generateBackupCodes: () => Promise<IResponse<BackupCodesResponseV4>>;
1097
1200
  /**
1201
+ * DELETE [/iam/v4/public/namespaces/{namespace}/users/me/mfa/backupCode/disable](api)
1202
+ *
1098
1203
  * This method is used to enable 2FA backup codes.
1099
- * This method Requires valid user access token
1100
1204
  *
1205
+ * _Requires a valid user access token_
1101
1206
  */
1102
1207
  disableBackupCodes: () => Promise<IResponse<unknown>>;
1103
1208
  /**
1209
+ * DELETE [/iam/v4/public/namespaces/{namespace}/users/me/mfa/authenticator/disable](api)
1210
+ * }
1104
1211
  * This method is used to disable 2FA authenticator.
1105
- * This method Requires valid user access token
1106
1212
  *
1213
+ * _Requires a valid user access token_
1107
1214
  */
1108
1215
  disableAuthenticator: () => Promise<IResponse<unknown>>;
1109
1216
  /**
1217
+ * GET [/iam/v4/public/namespaces/{namespace}/users/me/mfa/factor](api)
1218
+ *
1110
1219
  * This method is used to get user enabled factors.
1111
- * This method Requires valid user access token
1112
1220
  *
1221
+ * _Requires a valid user access token_
1113
1222
  */
1114
1223
  getEnabledMethods: () => Promise<IResponseWithSync<EnabledFactorsResponseV4>>;
1115
1224
  /**
1225
+ * POST [/iam/v4/public/namespaces/{namespace}/users/me/mfa/factor](api)
1226
+ *
1116
1227
  * This method is used to make 2FA factor default.
1117
- * This method Requires valid user access token
1118
1228
  *
1229
+ * _Requires a valid user access token_
1119
1230
  */
1120
1231
  set2FAAsDefault: (factor: string) => Promise<IResponse<unknown>>;
1121
1232
  /**
1233
+ * POST [/iam/v4/public/namespaces/{namespace}/users/me/mfa/authenticator/enable](api)
1234
+ *
1122
1235
  * This method is used to enable 2FA authenticator.
1123
- * This method Requires valid user access token
1124
1236
  *
1237
+ * _Requires a valid user access token_
1125
1238
  */
1126
1239
  enable2FAAuthenticator: (code: string) => Promise<IResponse<unknown>>;
1127
1240
  /**
1241
+ * POST [/iam/v4/public/namespaces/{namespace}/users/me/mfa/authenticator/key](api)
1242
+ *
1128
1243
  * This method is used to generate a secret key for 3rd-party authenticator app.
1129
1244
  * A QR code URI is also returned so that frontend can generate QR code image.
1130
- * This method Requires valid user access token
1131
1245
  *
1246
+ * _Requires a valid user access token_
1132
1247
  */
1133
1248
  generateSecretKey: () => Promise<IResponse<AuthenticatorKeyResponseV4>>;
1249
+ /**
1250
+ * POST [/iam/v4/public/namespaces/{namespace}/users/me/mfa/email/code](api)
1251
+ */
1134
1252
  requestEmailCode: () => Promise<IResponse<unknown>>;
1253
+ /**
1254
+ * POST [/iam/v4/public/namespaces/{namespace}/users/me/mfa/email/enable](api)
1255
+ */
1135
1256
  enableEmailMethod: (code: string) => Promise<IResponse<unknown>>;
1257
+ /**
1258
+ * POST [/iam/v4/public/namespaces/{namespace}/users/me/mfa/email/disable](api)
1259
+ */
1136
1260
  disableEmailMethod: () => Promise<IResponse<unknown>>;
1137
1261
  private newInstance;
1138
1262
  }
@@ -3857,22 +3981,32 @@ declare class UserApi {
3857
3981
  */
3858
3982
  constructor(conf: SDKRequestConfig, namespace: string, cache?: boolean);
3859
3983
  /**
3860
- * get currently logged in user
3984
+ * GET [/iam/v3/public/users/me](api)
3985
+ *
3986
+ * get currently logged-in user
3861
3987
  */
3862
3988
  getCurrentUser: () => Promise<IResponseWithSync<UserResponseV3>>;
3863
3989
  /**
3864
- * update current user
3990
+ * PATCH [/iam/v3/public/namespaces/{namespace}/users/me](api)
3991
+ *
3992
+ * Update current user
3865
3993
  */
3866
3994
  updateUserMe: (data: UserUpdateRequestV3) => Promise<IResponse<UserResponseV3>>;
3867
3995
  /**
3996
+ * PUT [/iam/v4/public/namespaces/{namespace}/users/me/email](api)
3997
+ *
3868
3998
  * update current user's email
3869
3999
  */
3870
4000
  updateEmailMe: (data: EmailUpdateRequestV4) => Promise<IResponse<unknown>>;
3871
4001
  /**
4002
+ * PUT [/iam/v3/public/namespaces/{namespace}/users/me/password](api)
4003
+ *
3872
4004
  * update current user's password
3873
4005
  */
3874
4006
  updatePasswordMe: (data: UserPasswordUpdateV3Request) => Promise<IResponse<unknown>>;
3875
4007
  /**
4008
+ * POST [/iam/v3/public/namespaces/{namespace}/users/me/code/request](api)
4009
+ *
3876
4010
  * Required valid user authorization
3877
4011
  * The verification code is sent to email address
3878
4012
  * Available contexts for use :
@@ -3893,6 +4027,8 @@ declare class UserApi {
3893
4027
  */
3894
4028
  requestVerificationCode: (data: SendVerificationCodeRequestV3) => Promise<IResponse<unknown>>;
3895
4029
  /**
4030
+ * POST [/iam/v3/public/namespaces/{namespace}/users/me/code/verify](api)
4031
+ *
3896
4032
  * Will consume code if validateOnly is set false
3897
4033
  * Required valid user authorization
3898
4034
  * Redeems a verification code sent to a user to verify the user's contact address is correct
@@ -3902,6 +4038,8 @@ declare class UserApi {
3902
4038
  */
3903
4039
  verifyCode: (data: UserVerificationRequestV3) => Promise<IResponse<unknown>>;
3904
4040
  /**
4041
+ * POST [/iam/v3/public/namespaces/{namespace}/users/me/headless/code/verify](api)
4042
+ *
3905
4043
  * If validateOnly is set false, consume code and upgrade headless account and automatically verified the email address if it is succeeded
3906
4044
  * Require valid user access token.
3907
4045
  * The method upgrades a headless account by linking the headless account with the email address and the password.
@@ -3919,6 +4057,8 @@ declare class UserApi {
3919
4057
  */
3920
4058
  upgradeHeadlessAccount: (data: UpgradeHeadlessAccountWithVerificationCodeRequestV3) => Promise<IResponse<UserResponseV3>>;
3921
4059
  /**
4060
+ * POST [/iam/v4/public/namespaces/{namespace}/users/me/headless/code/verify](api)
4061
+ *
3922
4062
  * Require valid user access token.
3923
4063
  * The method upgrades a headless account by linking the headless account with the email address, username, and password.
3924
4064
  * By upgrading the headless account into a full account, the user could use the email address, username, and password for using Justice IAM.
@@ -3936,11 +4076,15 @@ declare class UserApi {
3936
4076
  */
3937
4077
  upgradeHeadlessAccountV4: (data: UpgradeHeadlessAccountWithVerificationCodeRequestV4) => Promise<IResponse<UserResponseV4>>;
3938
4078
  /**
4079
+ * GET [/iam/v3/public/namespaces/{namespace}/users/{userId}/platforms](api)
4080
+ *
3939
4081
  * This method retrieves platform accounts linked to user. Required valid user authorization.
3940
- * action code: 10128
4082
+ * action code: 10128
3941
4083
  */
3942
4084
  getUserLinkedPlatform: (userId: string) => Promise<IResponseWithSync<UserLinkedPlatformsResponseV3>>;
3943
4085
  /**
4086
+ * POST [/iam/v3/public/namespaces/{namespace}/users/me/platforms/{platformId}](api)
4087
+ *
3944
4088
  * Required valid user authorization.
3945
4089
  * __Prerequisite:__
3946
4090
  * Platform client configuration need to be added to database for specific platformId. Namespace service URL need to be specified (refer to required environment variables).
@@ -3974,21 +4118,25 @@ declare class UserApi {
3974
4118
  };
3975
4119
  }) => Promise<IResponse<unknown>>;
3976
4120
  /**
4121
+ * GET [/iam/v3/public/namespaces/{namespace}/requests/{requestId}/async/status](api)
4122
+ *
3977
4123
  * Get the linking status between a third-party platform to a user
3978
4124
  */
3979
4125
  getLinkRequestStatus: (requestId: string) => Promise<IResponseWithSync<LinkRequest>>;
3980
4126
  /**
4127
+ * @internal
3981
4128
  * It is going to be __DEPRECATED__.
3982
4129
  * Update Platform Account relation to current User Account.
3983
4130
  * Note: Game progression data (statistics, reward, etc) associated with previous User Account will not be
3984
4131
  * transferred. If the data is tight to game user ID, the user will have the game progression data.
3985
- *
3986
4132
  */
3987
4133
  linkPlatformToUserAccount: ({ userId, data }: {
3988
4134
  userId: string;
3989
4135
  data: LinkPlatformAccountRequest;
3990
4136
  }) => Promise<IResponse<unknown>>;
3991
4137
  /**
4138
+ * DELETE [/iam/v3/public/namespaces/{namespace}/users/me/platforms/{platformId}](api)
4139
+ *
3992
4140
  * Required valid user authorization.
3993
4141
  * ##Supported platforms:
3994
4142
  *
@@ -4022,6 +4170,8 @@ declare class UserApi {
4022
4170
  data: UnlinkUserPlatformRequest;
4023
4171
  }) => Promise<IResponse<unknown>>;
4024
4172
  /**
4173
+ * GET [/iam/v3/public/namespaces/{namespace}/users/me/platforms/{platformId}/web/link](api)
4174
+ *
4025
4175
  * This method is used to generate third party login page which will redirected to establish method.
4026
4176
  */
4027
4177
  getThirdPartyURL: ({ platformId, queryParams }: {
@@ -4032,28 +4182,34 @@ declare class UserApi {
4032
4182
  } | undefined;
4033
4183
  }) => Promise<IResponseWithSync<WebLinkingResponse>>;
4034
4184
  /**
4185
+ * GET [/iam/v3/public/namespaces/{namespace}/agerestrictions/countries/{countryCode}](api)
4186
+ *
4035
4187
  * Get age restriction by country code. It will always get by publisher namespace
4036
4188
  */
4037
4189
  getAgeRestrictionByCountry: (countryCode: string) => Promise<IResponseWithSync<CountryV3Response>>;
4038
4190
  /**
4039
- * Render 2D Avatar via readyplayer.me (https://docs.readyplayer.me/ready-player-me/avatars/2d-avatars/render-api)
4191
+ * Render 2D Avatar via readyplayer.me POST [](https://docs.readyplayer.me/ready-player-me/avatars/2d-avatars/render-api)
4192
+ * @internal
4040
4193
  */
4041
- renderImageFromGlbModel(data: {
4194
+ renderImageFromGlbModel: (data: {
4042
4195
  model: string;
4043
4196
  scene: string;
4044
- }): Promise<IResponse<{
4197
+ }) => Promise<IResponse<{
4045
4198
  renders: string[];
4046
4199
  }>>;
4047
- notifyGameSDK(url: string): Promise<IResponse<string>>;
4048
4200
  /**
4201
+ * POST [/iam/v3/public/namespaces/{namespace}/users/code/request](api)
4202
+ *
4049
4203
  * This method will validate the request's email address.
4050
4204
  *
4051
4205
  * If it already been used, will response 409.
4052
4206
  *
4053
4207
  * If it is available, we will send a verification code to this email address.
4054
4208
  */
4055
- requestNewUserVerificationCode(data: SendRegisterVerificationCodeRequest): Promise<IResponse<unknown>>;
4209
+ requestNewUserVerificationCode: (data: SendRegisterVerificationCodeRequest) => Promise<IResponse<unknown>>;
4056
4210
  /**
4211
+ * POST [/iam/v4/public/namespaces/{namespace}/users](api)
4212
+ *
4057
4213
  * Create a new user with unique email address and username.
4058
4214
  *
4059
4215
  * __Required attributes:__
@@ -4070,44 +4226,55 @@ declare class UserApi {
4070
4226
  * This method support accepting agreements for the created user. Supply the accepted agreements in acceptedPolicies attribute.
4071
4227
  *
4072
4228
  */
4073
- createUser(data: CreateUserRequestV4): Promise<IResponse<CreateUserResponseV4>>;
4229
+ createUser: (data: CreateUserRequestV4) => Promise<IResponse<CreateUserResponseV4>>;
4074
4230
  /**
4231
+ * GET [/iam/v3/public/namespaces/{namespace}/users/{userId}/distinctPlatforms](api)
4232
+ *
4075
4233
  * This method retrieves platform accounts linked to user.
4076
4234
  * It will query all linked platform accounts and result will be distinct & grouped, same platform we will pick oldest linked one.
4077
4235
  * Required valid user authorization.
4078
4236
  */
4079
- getUserDistinctLinkedPlatform(userId: string): Promise<IResponseWithSync<DistinctPlatformResponseV3>>;
4237
+ getUserDistinctLinkedPlatform: (userId: string) => Promise<IResponseWithSync<DistinctPlatformResponseV3>>;
4080
4238
  /**
4239
+ * DELETE [/iam/v3/public/namespaces/{namespace}/users/me/platforms/{platformId}/all](api)
4240
+ *
4081
4241
  * Required valid user authorization.
4082
4242
  * Unlink user's account from for all third platforms.
4083
4243
  */
4084
- unLinkAccountFromPlatformDistinct(platformId: string): Promise<IResponse<unknown>>;
4244
+ unLinkAccountFromPlatformDistinct: (platformId: string) => Promise<IResponse<unknown>>;
4085
4245
  /**
4246
+ * POST [/iam/v3/public/users/me/verify_link/request](api)
4247
+ *
4086
4248
  * Required valid user authorization
4087
4249
  * The verification link is sent to email address
4088
4250
  * It will not send request if user email is already verified
4089
- *
4090
4251
  */
4091
- sendVerificationLink(languageTag: string): Promise<IResponse<unknown>>;
4252
+ sendVerificationLink: (languageTag: string) => Promise<IResponse<unknown>>;
4092
4253
  /**
4254
+ * GET [/iam/v3/public/namespaces/{namespace}/users/{userId}/platforms](api)
4255
+ *
4093
4256
  * This method retrieves platform accounts linked to user. Required valid user authorization.
4094
4257
  * action code: 10128
4095
4258
  */
4096
- getLinkedAccount(userId: string): Promise<IResponseWithSync<UserLinkedPlatformsResponseV3>>;
4259
+ getLinkedAccount: (userId: string) => Promise<IResponseWithSync<UserLinkedPlatformsResponseV3>>;
4097
4260
  /**
4261
+ * GET [/iam/v3/public/users/me/headless/link/conflict](api)
4262
+ *
4098
4263
  * Note:
4099
4264
  * 1. My account should be full account
4100
4265
  * 2. My account not linked to request headless account's third platform.
4101
4266
  */
4102
- getLinkAccountByOneTimeCodeConflict(params: {
4267
+ getLinkAccountByOneTimeCodeConflict: (params: {
4103
4268
  oneTimeLinkCode: string | null;
4104
- }): Promise<IResponseWithSync<GetLinkHeadlessAccountConflictResponse>>;
4269
+ }) => Promise<IResponseWithSync<GetLinkHeadlessAccountConflictResponse>>;
4105
4270
  /**
4271
+ * POST [/iam/v3/public/users/me/headless/linkWithProgression](api)
4272
+ *
4106
4273
  * Note:
4107
4274
  * 1. My account should be full account
4108
4275
  * 2. My account not linked to headless account's third platform.
4109
4276
  */
4110
- linkWithProgression(data: LinkHeadlessAccountRequest): Promise<IResponse<unknown>>;
4277
+ linkWithProgression: (data: LinkHeadlessAccountRequest) => Promise<IResponse<unknown>>;
4111
4278
  /**
4112
4279
  * @internal
4113
4280
  */
@@ -4299,6 +4466,8 @@ declare class UserAuthorizationApi {
4299
4466
  */
4300
4467
  constructor(conf: SDKRequestConfig, namespace: string, cache: boolean, options: UserAuthorizationOptions);
4301
4468
  /**
4469
+ * POST: [/iam/v3/oauth/token](api)
4470
+ *
4302
4471
  * This method supports grant type:
4303
4472
  * - Grant Type == `authorization_code`:
4304
4473
  * &nbsp;&nbsp;&nbsp; It generates the user token by given the authorization
@@ -4397,15 +4566,30 @@ declare class UserAuthorizationApi {
4397
4566
  response: IDataStatus<TokenWithDeviceCookieResponseV3>;
4398
4567
  error: null;
4399
4568
  }>;
4569
+ /**
4570
+ * @internal
4571
+ */
4400
4572
  getMfaDataFromError: (errorResponse: AxiosResponse) => {
4401
4573
  mfaToken: any;
4402
4574
  factors: any;
4403
4575
  defaultFactor: any;
4404
4576
  email: any;
4405
4577
  } | undefined;
4578
+ /**
4579
+ * @internal
4580
+ */
4406
4581
  getMfaDataFromStorage: () => any;
4582
+ /**
4583
+ * @internal
4584
+ */
4407
4585
  removeMfaDataFromStorage: () => void;
4408
- matchReceivedState(maybeSentState: string): MatchReceivedStateResult;
4586
+ /**
4587
+ * @internal
4588
+ */
4589
+ matchReceivedState: (maybeSentState: string) => MatchReceivedStateResult;
4590
+ /**
4591
+ * @internal
4592
+ */
4409
4593
  deduceLoginError: (error: string) => LoginErrorCancelled | LoginErrorExpired | LoginErrorUnknown;
4410
4594
  exchangeAuthorizationCode: ({ code, error, state }: {
4411
4595
  code?: string | null | undefined;
@@ -4421,13 +4605,32 @@ declare class UserAuthorizationApi {
4421
4605
  } | undefined;
4422
4606
  returnPath: any;
4423
4607
  } | null>;
4608
+ /**
4609
+ * GET [/iam/v3/oauth/authorize](api)
4610
+ *
4611
+ * Creates a URL to be used for Login, Register, Link to existing account or Twitch Link
4612
+ */
4424
4613
  createLoginURL: (returnPath?: string | null | undefined, targetAuthPage?: string | undefined, oneTimeLinkCode?: string | undefined) => string;
4614
+ /**
4615
+ * GET [/iam/v3/oauth/authorize](api)
4616
+ *
4617
+ * Creates a URL to be used for password recovery
4618
+ */
4425
4619
  createForgotPasswordURL: () => string;
4620
+ /**
4621
+ * @internal
4622
+ */
4426
4623
  getCodeChallenge: () => {
4427
4624
  verifier: string;
4428
4625
  challenge: string;
4429
4626
  };
4627
+ /**
4628
+ * @internal
4629
+ */
4430
4630
  refreshToken: () => Promise<Partial<TokenWithDeviceCookieResponseV3> | false>;
4631
+ /**
4632
+ * @internal
4633
+ */
4431
4634
  private getSearchParams;
4432
4635
  }
4433
4636
 
@@ -4462,20 +4665,29 @@ declare class AgreementApi {
4462
4665
  */
4463
4666
  constructor(conf: SDKRequestConfig, namespace: string, cache?: boolean);
4464
4667
  /**
4668
+ * POST [/agreement/public/agreements/policies](api)
4669
+ *
4465
4670
  * Accepts many legal policy versions all at once. Supply with localized version policy id to accept an agreement.
4466
- * - _Required permission_: login user
4671
+ *
4672
+ * _Required permission_: login user
4467
4673
  */
4468
- acceptLegalPolicies(acceptAgreements: AcceptAgreementRequest[]): Promise<IResponse<AcceptAgreementResponse>>;
4674
+ acceptLegalPolicies: (acceptAgreements: AcceptAgreementRequest[]) => Promise<IResponse<AcceptAgreementResponse>>;
4469
4675
  /**
4676
+ * GET [/agreement/public/agreements/policies](api)
4677
+ *
4470
4678
  * Retrieve accepted Legal Agreements.
4471
- * - _Required permission_: login user
4679
+ *
4680
+ * _Required permission_: login user
4472
4681
  */
4473
- getAgreements(): Promise<IResponseWithSync<RetrieveAcceptedAgreementResponseArray>>;
4682
+ getAgreements: () => Promise<IResponseWithSync<RetrieveAcceptedAgreementResponseArray>>;
4474
4683
  /**
4475
- * Change marketing preference consent.
4476
- * - _Required permission_: login user
4684
+ * PATCH [/agreement/public/agreements/localized-policy-versions/preferences](api)
4685
+ *
4686
+ * Change marketing preference consent
4687
+ *
4688
+ * _Required permission_: login user
4477
4689
  */
4478
- updateMarketingPreferences(acceptAgreements: AcceptAgreementRequest[]): Promise<IResponse<unknown>>;
4690
+ updateMarketingPreferences: (acceptAgreements: AcceptAgreementRequest[]) => Promise<IResponse<unknown>>;
4479
4691
  private newInstance;
4480
4692
  }
4481
4693
 
@@ -4488,10 +4700,13 @@ declare class EligibilitiesApi {
4488
4700
  */
4489
4701
  constructor(conf: SDKRequestConfig, namespace: string, cache?: boolean);
4490
4702
  /**
4491
- * Retrieve the active policies and its conformance status by user.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.Other detail info:
4492
- * - _Required permission_: login user
4703
+ * GET [/agreement/public/eligibilities/namespaces/{namespace}](api)
4704
+ *
4705
+ * Retrieve the active policies and its conformance status by user.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.
4706
+ *
4707
+ * _Required permission_: login user
4493
4708
  */
4494
- getUserEligibilities(): Promise<IResponseWithSync<RetrieveUserEligibilitiesResponseArray>>;
4709
+ getUserEligibilities: () => Promise<IResponseWithSync<RetrieveUserEligibilitiesResponseArray>>;
4495
4710
  private newInstance;
4496
4711
  }
4497
4712
 
@@ -4504,9 +4719,11 @@ declare class LocalizedPolicyVersionsApi {
4504
4719
  */
4505
4720
  constructor(conf: SDKRequestConfig, namespace: string, cache?: boolean);
4506
4721
  /**
4507
- * Retrieve specific localized policy version including the policy version and base policy version where the localized policy version located.Other detail info:
4722
+ * GET [/agreement/public/localized-policy-versions/{localizedPolicyVersionId}](api)
4723
+ *
4724
+ * Retrieve specific localized policy version including the policy version and base policy version where the localized policy version located.
4508
4725
  */
4509
- fetchLocalizedPolicyVersionById(localizedPolicyVersionId: string): Promise<IResponseWithSync<RetrieveLocalizedPolicyVersionPublicResponse>>;
4726
+ fetchLocalizedPolicyVersionById: (localizedPolicyVersionId: string) => Promise<IResponseWithSync<RetrieveLocalizedPolicyVersionPublicResponse>>;
4510
4727
  private newInstance;
4511
4728
  }
4512
4729
 
@@ -4763,7 +4980,9 @@ declare class PoliciesApi {
4763
4980
  */
4764
4981
  constructor(conf: SDKRequestConfig, namespace: string, cache?: boolean);
4765
4982
  /**
4766
- * Retrieve all active latest policies based on a namespace and country.Other detail info:
4983
+ * GET [/agreement/public/policies/namespaces/{namespace}/countries/{countryCode}](api)
4984
+ *
4985
+ * Retrieve all active latest policies based on a namespace and country.
4767
4986
  *
4768
4987
  * - _Leave the policyType empty if you want to be responded with all policy type_
4769
4988
  * - _Fill the tags if you want to filter the responded policy by tags_
@@ -4777,22 +4996,22 @@ declare class PoliciesApi {
4777
4996
  * - Query: alwaysIncludeDefault: true
4778
4997
  * - Response: Document 1 (UA), Document 2 (US), Document 3 (US)
4779
4998
  */
4780
- fetchPoliciesByCountry({ countryCode, queryParams }: {
4999
+ fetchPoliciesByCountry: ({ countryCode, queryParams }: {
4781
5000
  countryCode: string;
4782
5001
  queryParams: Parameters<Policies$['fetchPublicPoliciesNamespacesByNamespaceCountriesByCountrycode']>[1];
4783
- }): Promise<IResponseWithSync<RetrievePolicyPublicResponseArray>>;
5002
+ }) => Promise<IResponseWithSync<RetrievePolicyPublicResponseArray>>;
4784
5003
  /**
4785
- * Retrieve all active latest policies based on country from all namespaces.
4786
- * Other detail info:
5004
+ * GET [/agreement/public/policies/countries/{countryCode}](api)
4787
5005
  *
5006
+ * Retrieve all active latest policies based on country from all namespaces.
4788
5007
  * - _Leave the policyType empty if you want to be responded with all policy type_
4789
5008
  * - _Fill the tags if you want to filter the responded policy by tags_
4790
5009
  * - _Fill the defaultOnEmpty with true if you want to be responded with default country-specific policy if your requested country is not exist_
4791
5010
  */
4792
- fetchAllPoliciesByCountry({ countryCode, queryParams }: {
5011
+ fetchAllPoliciesByCountry: ({ countryCode, queryParams }: {
4793
5012
  countryCode: string;
4794
5013
  queryParams?: Parameters<Policies$['fetchPublicPoliciesCountriesByCountrycode']>[1];
4795
- }): Promise<IResponseWithSync<RetrievePolicyPublicResponseArray>>;
5014
+ }) => Promise<IResponseWithSync<RetrievePolicyPublicResponseArray>>;
4796
5015
  private newInstance;
4797
5016
  }
4798
5017
 
@@ -7648,8 +7867,17 @@ declare class PublicTemplateApi<ConfigKeysEnum extends string> {
7648
7867
  private readonly namespace;
7649
7868
  private cache;
7650
7869
  constructor(conf: SDKRequestConfig, namespace: string, cache?: boolean);
7870
+ /**
7871
+ * @internal
7872
+ */
7651
7873
  getTemplateConfigs: (template: string) => Promise<IResponseWithSync<Configs>>;
7874
+ /**
7875
+ * @internal
7876
+ */
7652
7877
  getTemplateConfig: (template: string, configId: ConfigKeysEnum) => Promise<IResponseWithSync<Config>>;
7878
+ /**
7879
+ * @internal
7880
+ */
7653
7881
  getDiscoveryTemplateConfigs: () => Promise<IResponseWithSync<DiscoveryConfigData>>;
7654
7882
  private newInstance;
7655
7883
  }
@@ -7694,12 +7922,17 @@ declare class CurrencyApi {
7694
7922
  */
7695
7923
  constructor(conf: SDKRequestConfig, namespace: string, cache?: boolean);
7696
7924
  /**
7925
+ * GET [/platform/public/namespaces/{namespace}/currencies](api)
7926
+ *
7697
7927
  * List currencies of a namespace.
7928
+ *
7698
7929
  * Returns: Currency List
7699
7930
  */
7700
7931
  getCurrencies: () => Promise<IResponseWithSync<CurrencyInfoArray>>;
7701
7932
  /**
7702
7933
  * Get the currencies list and convert into a map of currency code and the currency itself
7934
+ *
7935
+ * @internal
7703
7936
  */
7704
7937
  getCurrencyMap: () => Promise<{
7705
7938
  response: null;
@@ -11202,49 +11435,51 @@ declare class EntitlementApi {
11202
11435
  */
11203
11436
  constructor(conf: SDKRequestConfig, namespace: string, cache?: boolean);
11204
11437
  /**
11438
+ * GET [/platform/public/namespaces/{namespace}/users/{userId}/entitlements/byAppId](api)
11439
+ *
11205
11440
  * Get user app entitlement by appId.
11206
11441
  */
11207
- getEntitlementByAppId({ userId, appId }: {
11442
+ getEntitlementByAppId: ({ userId, appId }: {
11208
11443
  userId: string;
11209
11444
  appId: string;
11210
- }): Promise<IResponseWithSync<AppEntitlementInfo>>;
11445
+ }) => Promise<IResponseWithSync<AppEntitlementInfo>>;
11211
11446
  /**
11212
11447
  * Query user entitlements for a specific user.
11213
11448
  * Returns: entitlement list
11214
11449
  */
11215
- getEntitlements({ userId, queryParams }: {
11450
+ getEntitlements: ({ userId, queryParams }: {
11216
11451
  userId: string;
11217
11452
  queryParams: Parameters<Entitlement$['fetchNsUsersByUseridEntitlements']>[1];
11218
- }): Promise<IResponseWithSync<EntitlementPagingSlicedResult>>;
11453
+ }) => Promise<IResponseWithSync<EntitlementPagingSlicedResult>>;
11219
11454
  /**
11220
11455
  * Exists any user active entitlement of specified itemIds, skus and appIds
11221
11456
  */
11222
- getEntitlementOwnerShip({ userId, queryParams }: {
11457
+ getEntitlementOwnerShip: ({ userId, queryParams }: {
11223
11458
  userId: string;
11224
11459
  queryParams: {
11225
11460
  itemIds?: string[];
11226
11461
  appIds?: string[];
11227
11462
  skus?: string[];
11228
11463
  };
11229
- }): Promise<IResponseWithSync<Ownership>>;
11464
+ }) => Promise<IResponseWithSync<Ownership>>;
11230
11465
  /**
11231
11466
  * Get user entitlement ownership by itemIds.
11232
11467
  */
11233
- getEntitlementByItemIds({ userId, queryParams }: {
11468
+ getEntitlementByItemIds: ({ userId, queryParams }: {
11234
11469
  userId: string;
11235
11470
  queryParams?: {
11236
- ids?: string[];
11237
- };
11238
- }): Promise<IResponseWithSync<EntitlementOwnershipArray>>;
11471
+ ids?: string[] | undefined;
11472
+ } | undefined;
11473
+ }) => Promise<IResponseWithSync<EntitlementOwnershipArray>>;
11239
11474
  /**
11240
11475
  * 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
11241
11476
  * Returns: consumed entitlement
11242
11477
  */
11243
- claimEntitlement({ userId, entitlementId, data }: {
11478
+ claimEntitlement: ({ userId, entitlementId, data }: {
11244
11479
  userId: string;
11245
11480
  entitlementId: string;
11246
11481
  data: EntitlementDecrement;
11247
- }): Promise<IResponse<EntitlementDecrementResult>>;
11482
+ }) => Promise<IResponse<EntitlementDecrementResult>>;
11248
11483
  private newInstance;
11249
11484
  }
11250
11485
 
@@ -11273,7 +11508,10 @@ declare class FulfillmentApi {
11273
11508
  */
11274
11509
  constructor(conf: SDKRequestConfig, namespace: string, cache?: boolean);
11275
11510
  /**
11276
- * Redeem campaign code.
11511
+ * POST [/platform/public/namespaces/{namespace}/users/{userId}/fulfillment/code](api)
11512
+ *
11513
+ * Redeem campaign code
11514
+ *
11277
11515
  * Returns: fulfillment result
11278
11516
  */
11279
11517
  redeemCode: ({ userId, data }: {
@@ -11283,370 +11521,993 @@ declare class FulfillmentApi {
11283
11521
  private newInstance;
11284
11522
  }
11285
11523
 
11286
- declare const ItemInfo: z.ZodObject<{
11287
- title: z.ZodString;
11288
- description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
11289
- longDescription: z.ZodNullable<z.ZodOptional<z.ZodString>>;
11290
- itemId: z.ZodString;
11291
- appId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
11292
- appType: z.ZodNullable<z.ZodOptional<z.ZodEnum<["GAME", "SOFTWARE", "DLC", "DEMO"]>>>;
11293
- seasonType: z.ZodNullable<z.ZodOptional<z.ZodEnum<["PASS", "TIER"]>>>;
11294
- baseAppId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
11295
- sku: z.ZodNullable<z.ZodOptional<z.ZodString>>;
11296
- namespace: z.ZodString;
11297
- name: z.ZodString;
11298
- entitlementType: z.ZodEnum<["DURABLE", "CONSUMABLE"]>;
11299
- useCount: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
11300
- stackable: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
11301
- categoryPath: z.ZodString;
11302
- status: z.ZodEnum<["ACTIVE", "INACTIVE"]>;
11303
- listable: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
11304
- purchasable: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
11305
- itemType: z.ZodEnum<["APP", "COINS", "INGAMEITEM", "BUNDLE", "CODE", "SUBSCRIPTION", "SEASON", "MEDIA", "OPTIONBOX", "EXTENSION", "LOOTBOX"]>;
11306
- targetNamespace: z.ZodNullable<z.ZodOptional<z.ZodString>>;
11307
- targetCurrencyCode: z.ZodNullable<z.ZodOptional<z.ZodString>>;
11308
- targetItemId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
11309
- images: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
11310
- as: z.ZodNullable<z.ZodOptional<z.ZodString>>;
11311
- caption: z.ZodNullable<z.ZodOptional<z.ZodString>>;
11312
- height: z.ZodNumber;
11313
- width: z.ZodNumber;
11314
- imageUrl: z.ZodString;
11315
- smallImageUrl: z.ZodString;
11316
- }, "strip", z.ZodTypeAny, {
11317
- as?: string | null | undefined;
11318
- caption?: string | null | undefined;
11319
- height: number;
11320
- width: number;
11321
- imageUrl: string;
11322
- smallImageUrl: string;
11323
- }, {
11324
- as?: string | null | undefined;
11325
- caption?: string | null | undefined;
11326
- height: number;
11327
- width: number;
11328
- imageUrl: string;
11329
- smallImageUrl: string;
11330
- }>, "many">>>;
11331
- thumbnailUrl: z.ZodNullable<z.ZodOptional<z.ZodString>>;
11332
- regionData: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
11333
- price: z.ZodNumber;
11334
- discountPercentage: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
11335
- discountAmount: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
11336
- discountedPrice: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
11337
- currencyCode: z.ZodString;
11338
- currencyType: z.ZodEnum<["REAL", "VIRTUAL"]>;
11339
- currencyNamespace: z.ZodString;
11340
- trialPrice: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
11341
- purchaseAt: z.ZodNullable<z.ZodOptional<z.ZodString>>;
11342
- expireAt: z.ZodNullable<z.ZodOptional<z.ZodString>>;
11343
- discountPurchaseAt: z.ZodNullable<z.ZodOptional<z.ZodString>>;
11344
- discountExpireAt: z.ZodNullable<z.ZodOptional<z.ZodString>>;
11345
- }, "strip", z.ZodTypeAny, {
11346
- discountPercentage?: number | null | undefined;
11347
- discountAmount?: number | null | undefined;
11348
- discountedPrice?: number | null | undefined;
11349
- trialPrice?: number | null | undefined;
11350
- purchaseAt?: string | null | undefined;
11351
- expireAt?: string | null | undefined;
11352
- discountPurchaseAt?: string | null | undefined;
11353
- discountExpireAt?: string | null | undefined;
11354
- currencyCode: string;
11355
- currencyType: "REAL" | "VIRTUAL";
11356
- price: number;
11357
- currencyNamespace: string;
11358
- }, {
11359
- discountPercentage?: number | null | undefined;
11360
- discountAmount?: number | null | undefined;
11361
- discountedPrice?: number | null | undefined;
11362
- trialPrice?: number | null | undefined;
11363
- purchaseAt?: string | null | undefined;
11364
- expireAt?: string | null | undefined;
11365
- discountPurchaseAt?: string | null | undefined;
11366
- discountExpireAt?: string | null | undefined;
11367
- currencyCode: string;
11368
- currencyType: "REAL" | "VIRTUAL";
11369
- price: number;
11370
- currencyNamespace: string;
11371
- }>, "many">>>;
11372
- recurring: z.ZodNullable<z.ZodOptional<z.ZodObject<{
11373
- cycle: z.ZodEnum<["WEEKLY", "MONTHLY", "QUARTERLY", "YEARLY"]>;
11374
- fixedFreeDays: z.ZodNumber;
11375
- fixedTrialCycles: z.ZodNumber;
11376
- graceDays: z.ZodNumber;
11377
- }, "strip", z.ZodTypeAny, {
11378
- cycle: "WEEKLY" | "MONTHLY" | "QUARTERLY" | "YEARLY";
11379
- fixedFreeDays: number;
11380
- fixedTrialCycles: number;
11381
- graceDays: number;
11382
- }, {
11383
- cycle: "WEEKLY" | "MONTHLY" | "QUARTERLY" | "YEARLY";
11384
- fixedFreeDays: number;
11385
- fixedTrialCycles: number;
11386
- graceDays: number;
11387
- }>>>;
11388
- itemIds: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
11389
- itemQty: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>>;
11390
- boundItemIds: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
11391
- tags: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
11392
- features: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
11393
- maxCountPerUser: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
11394
- maxCount: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
11395
- clazz: z.ZodNullable<z.ZodOptional<z.ZodString>>;
11396
- boothName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
11397
- displayOrder: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
11398
- ext: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
11399
- region: z.ZodString;
11400
- language: z.ZodString;
11401
- createdAt: z.ZodString;
11402
- updatedAt: z.ZodString;
11403
- purchaseCondition: z.ZodNullable<z.ZodOptional<z.ZodObject<{
11404
- conditionGroups: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
11405
- predicates: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
11406
- name: z.ZodNullable<z.ZodOptional<z.ZodString>>;
11407
- predicateType: z.ZodNullable<z.ZodOptional<z.ZodEnum<["EntitlementPredicate", "SeasonPassPredicate", "SeasonTierPredicate"]>>>;
11408
- comparison: z.ZodNullable<z.ZodOptional<z.ZodEnum<["is", "isNot", "isGreaterThan", "isGreaterThanOrEqual", "isLessThan", "isLessThanOrEqual", "includes", "excludes"]>>>;
11409
- anyOf: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
11410
- values: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
11411
- value: z.ZodNullable<z.ZodOptional<z.ZodString>>;
11412
- }, "strip", z.ZodTypeAny, {
11413
- name?: string | null | undefined;
11414
- values?: string[] | null | undefined;
11415
- value?: string | null | undefined;
11416
- predicateType?: "EntitlementPredicate" | "SeasonPassPredicate" | "SeasonTierPredicate" | null | undefined;
11417
- comparison?: "is" | "isNot" | "isGreaterThan" | "isGreaterThanOrEqual" | "isLessThan" | "isLessThanOrEqual" | "includes" | "excludes" | null | undefined;
11418
- anyOf?: number | null | undefined;
11419
- }, {
11420
- name?: string | null | undefined;
11421
- values?: string[] | null | undefined;
11422
- value?: string | null | undefined;
11423
- predicateType?: "EntitlementPredicate" | "SeasonPassPredicate" | "SeasonTierPredicate" | null | undefined;
11424
- comparison?: "is" | "isNot" | "isGreaterThan" | "isGreaterThanOrEqual" | "isLessThan" | "isLessThanOrEqual" | "includes" | "excludes" | null | undefined;
11425
- anyOf?: number | null | undefined;
11426
- }>, "many">>>;
11427
- operator: z.ZodNullable<z.ZodOptional<z.ZodEnum<["and", "or"]>>>;
11524
+ declare const ItemPagingSlicedResult: z.ZodObject<{
11525
+ data: z.ZodArray<z.ZodObject<{
11526
+ title: z.ZodString;
11527
+ description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
11528
+ longDescription: z.ZodNullable<z.ZodOptional<z.ZodString>>;
11529
+ itemId: z.ZodString;
11530
+ appId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
11531
+ appType: z.ZodNullable<z.ZodOptional<z.ZodEnum<["GAME", "SOFTWARE", "DLC", "DEMO"]>>>;
11532
+ seasonType: z.ZodNullable<z.ZodOptional<z.ZodEnum<["PASS", "TIER"]>>>;
11533
+ baseAppId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
11534
+ sku: z.ZodNullable<z.ZodOptional<z.ZodString>>;
11535
+ namespace: z.ZodString;
11536
+ name: z.ZodString;
11537
+ entitlementType: z.ZodEnum<["DURABLE", "CONSUMABLE"]>;
11538
+ useCount: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
11539
+ stackable: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
11540
+ categoryPath: z.ZodString;
11541
+ status: z.ZodEnum<["ACTIVE", "INACTIVE"]>;
11542
+ listable: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
11543
+ purchasable: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
11544
+ itemType: z.ZodEnum<["APP", "COINS", "INGAMEITEM", "BUNDLE", "CODE", "SUBSCRIPTION", "SEASON", "MEDIA", "OPTIONBOX", "EXTENSION", "LOOTBOX"]>;
11545
+ targetNamespace: z.ZodNullable<z.ZodOptional<z.ZodString>>;
11546
+ targetCurrencyCode: z.ZodNullable<z.ZodOptional<z.ZodString>>;
11547
+ targetItemId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
11548
+ images: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
11549
+ as: z.ZodNullable<z.ZodOptional<z.ZodString>>;
11550
+ caption: z.ZodNullable<z.ZodOptional<z.ZodString>>;
11551
+ height: z.ZodNumber;
11552
+ width: z.ZodNumber;
11553
+ imageUrl: z.ZodString;
11554
+ smallImageUrl: z.ZodString;
11428
11555
  }, "strip", z.ZodTypeAny, {
11429
- predicates?: {
11430
- name?: string | null | undefined;
11431
- values?: string[] | null | undefined;
11432
- value?: string | null | undefined;
11433
- predicateType?: "EntitlementPredicate" | "SeasonPassPredicate" | "SeasonTierPredicate" | null | undefined;
11434
- comparison?: "is" | "isNot" | "isGreaterThan" | "isGreaterThanOrEqual" | "isLessThan" | "isLessThanOrEqual" | "includes" | "excludes" | null | undefined;
11435
- anyOf?: number | null | undefined;
11436
- }[] | null | undefined;
11437
- operator?: "and" | "or" | null | undefined;
11556
+ as?: string | null | undefined;
11557
+ caption?: string | null | undefined;
11558
+ height: number;
11559
+ width: number;
11560
+ imageUrl: string;
11561
+ smallImageUrl: string;
11438
11562
  }, {
11439
- predicates?: {
11440
- name?: string | null | undefined;
11441
- values?: string[] | null | undefined;
11442
- value?: string | null | undefined;
11443
- predicateType?: "EntitlementPredicate" | "SeasonPassPredicate" | "SeasonTierPredicate" | null | undefined;
11444
- comparison?: "is" | "isNot" | "isGreaterThan" | "isGreaterThanOrEqual" | "isLessThan" | "isLessThanOrEqual" | "includes" | "excludes" | null | undefined;
11445
- anyOf?: number | null | undefined;
11446
- }[] | null | undefined;
11447
- operator?: "and" | "or" | null | undefined;
11563
+ as?: string | null | undefined;
11564
+ caption?: string | null | undefined;
11565
+ height: number;
11566
+ width: number;
11567
+ imageUrl: string;
11568
+ smallImageUrl: string;
11448
11569
  }>, "many">>>;
11449
- }, "strip", z.ZodTypeAny, {
11450
- conditionGroups?: {
11451
- predicates?: {
11452
- name?: string | null | undefined;
11453
- values?: string[] | null | undefined;
11454
- value?: string | null | undefined;
11455
- predicateType?: "EntitlementPredicate" | "SeasonPassPredicate" | "SeasonTierPredicate" | null | undefined;
11456
- comparison?: "is" | "isNot" | "isGreaterThan" | "isGreaterThanOrEqual" | "isLessThan" | "isLessThanOrEqual" | "includes" | "excludes" | null | undefined;
11457
- anyOf?: number | null | undefined;
11458
- }[] | null | undefined;
11459
- operator?: "and" | "or" | null | undefined;
11460
- }[] | null | undefined;
11461
- }, {
11462
- conditionGroups?: {
11463
- predicates?: {
11464
- name?: string | null | undefined;
11465
- values?: string[] | null | undefined;
11466
- value?: string | null | undefined;
11467
- predicateType?: "EntitlementPredicate" | "SeasonPassPredicate" | "SeasonTierPredicate" | null | undefined;
11468
- comparison?: "is" | "isNot" | "isGreaterThan" | "isGreaterThanOrEqual" | "isLessThan" | "isLessThanOrEqual" | "includes" | "excludes" | null | undefined;
11469
- anyOf?: number | null | undefined;
11470
- }[] | null | undefined;
11471
- operator?: "and" | "or" | null | undefined;
11472
- }[] | null | undefined;
11473
- }>>>;
11474
- optionBoxConfig: z.ZodNullable<z.ZodOptional<z.ZodObject<{
11475
- boxItems: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
11476
- itemId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
11477
- itemSku: z.ZodNullable<z.ZodOptional<z.ZodString>>;
11478
- itemType: z.ZodNullable<z.ZodOptional<z.ZodString>>;
11479
- count: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
11570
+ thumbnailUrl: z.ZodNullable<z.ZodOptional<z.ZodString>>;
11571
+ regionData: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
11572
+ price: z.ZodNumber;
11573
+ discountPercentage: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
11574
+ discountAmount: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
11575
+ discountedPrice: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
11576
+ currencyCode: z.ZodString;
11577
+ currencyType: z.ZodEnum<["REAL", "VIRTUAL"]>;
11578
+ currencyNamespace: z.ZodString;
11579
+ trialPrice: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
11580
+ purchaseAt: z.ZodNullable<z.ZodOptional<z.ZodString>>;
11581
+ expireAt: z.ZodNullable<z.ZodOptional<z.ZodString>>;
11582
+ discountPurchaseAt: z.ZodNullable<z.ZodOptional<z.ZodString>>;
11583
+ discountExpireAt: z.ZodNullable<z.ZodOptional<z.ZodString>>;
11480
11584
  }, "strip", z.ZodTypeAny, {
11481
- itemId?: string | null | undefined;
11482
- itemSku?: string | null | undefined;
11483
- itemType?: string | null | undefined;
11484
- count?: number | null | undefined;
11585
+ discountPercentage?: number | null | undefined;
11586
+ discountAmount?: number | null | undefined;
11587
+ discountedPrice?: number | null | undefined;
11588
+ trialPrice?: number | null | undefined;
11589
+ purchaseAt?: string | null | undefined;
11590
+ expireAt?: string | null | undefined;
11591
+ discountPurchaseAt?: string | null | undefined;
11592
+ discountExpireAt?: string | null | undefined;
11593
+ currencyCode: string;
11594
+ currencyType: "REAL" | "VIRTUAL";
11595
+ price: number;
11596
+ currencyNamespace: string;
11485
11597
  }, {
11486
- itemId?: string | null | undefined;
11487
- itemSku?: string | null | undefined;
11488
- itemType?: string | null | undefined;
11489
- count?: number | null | undefined;
11598
+ discountPercentage?: number | null | undefined;
11599
+ discountAmount?: number | null | undefined;
11600
+ discountedPrice?: number | null | undefined;
11601
+ trialPrice?: number | null | undefined;
11602
+ purchaseAt?: string | null | undefined;
11603
+ expireAt?: string | null | undefined;
11604
+ discountPurchaseAt?: string | null | undefined;
11605
+ discountExpireAt?: string | null | undefined;
11606
+ currencyCode: string;
11607
+ currencyType: "REAL" | "VIRTUAL";
11608
+ price: number;
11609
+ currencyNamespace: string;
11490
11610
  }>, "many">>>;
11491
- }, "strip", z.ZodTypeAny, {
11492
- boxItems?: {
11493
- itemId?: string | null | undefined;
11494
- itemSku?: string | null | undefined;
11495
- itemType?: string | null | undefined;
11496
- count?: number | null | undefined;
11497
- }[] | null | undefined;
11498
- }, {
11499
- boxItems?: {
11500
- itemId?: string | null | undefined;
11501
- itemSku?: string | null | undefined;
11502
- itemType?: string | null | undefined;
11503
- count?: number | null | undefined;
11504
- }[] | null | undefined;
11505
- }>>>;
11506
- lootBoxConfig: z.ZodNullable<z.ZodOptional<z.ZodObject<{
11507
- rewardCount: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
11508
- rewards: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
11509
- name: z.ZodNullable<z.ZodOptional<z.ZodString>>;
11510
- type: z.ZodNullable<z.ZodOptional<z.ZodEnum<["REWARD", "REWARD_GROUP", "PROBABILITY_GROUP"]>>>;
11511
- lootBoxItems: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
11512
- itemId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
11513
- itemSku: z.ZodNullable<z.ZodOptional<z.ZodString>>;
11514
- itemType: z.ZodNullable<z.ZodOptional<z.ZodString>>;
11515
- count: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
11516
- }, "strip", z.ZodTypeAny, {
11517
- itemId?: string | null | undefined;
11518
- itemSku?: string | null | undefined;
11519
- itemType?: string | null | undefined;
11520
- count?: number | null | undefined;
11521
- }, {
11522
- itemId?: string | null | undefined;
11523
- itemSku?: string | null | undefined;
11524
- itemType?: string | null | undefined;
11525
- count?: number | null | undefined;
11526
- }>, "many">>>;
11527
- weight: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
11528
- odds: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
11611
+ recurring: z.ZodNullable<z.ZodOptional<z.ZodObject<{
11612
+ cycle: z.ZodEnum<["WEEKLY", "MONTHLY", "QUARTERLY", "YEARLY"]>;
11613
+ fixedFreeDays: z.ZodNumber;
11614
+ fixedTrialCycles: z.ZodNumber;
11615
+ graceDays: z.ZodNumber;
11529
11616
  }, "strip", z.ZodTypeAny, {
11530
- name?: string | null | undefined;
11531
- type?: "REWARD" | "REWARD_GROUP" | "PROBABILITY_GROUP" | null | undefined;
11532
- lootBoxItems?: {
11617
+ cycle: "WEEKLY" | "MONTHLY" | "QUARTERLY" | "YEARLY";
11618
+ fixedFreeDays: number;
11619
+ fixedTrialCycles: number;
11620
+ graceDays: number;
11621
+ }, {
11622
+ cycle: "WEEKLY" | "MONTHLY" | "QUARTERLY" | "YEARLY";
11623
+ fixedFreeDays: number;
11624
+ fixedTrialCycles: number;
11625
+ graceDays: number;
11626
+ }>>>;
11627
+ itemIds: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
11628
+ itemQty: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>>;
11629
+ boundItemIds: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
11630
+ tags: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
11631
+ features: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
11632
+ maxCountPerUser: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
11633
+ maxCount: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
11634
+ clazz: z.ZodNullable<z.ZodOptional<z.ZodString>>;
11635
+ boothName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
11636
+ displayOrder: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
11637
+ ext: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
11638
+ region: z.ZodString;
11639
+ language: z.ZodString;
11640
+ createdAt: z.ZodString;
11641
+ updatedAt: z.ZodString;
11642
+ purchaseCondition: z.ZodNullable<z.ZodOptional<z.ZodObject<{
11643
+ conditionGroups: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
11644
+ predicates: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
11645
+ name: z.ZodNullable<z.ZodOptional<z.ZodString>>;
11646
+ predicateType: z.ZodNullable<z.ZodOptional<z.ZodEnum<["EntitlementPredicate", "SeasonPassPredicate", "SeasonTierPredicate"]>>>;
11647
+ comparison: z.ZodNullable<z.ZodOptional<z.ZodEnum<["is", "isNot", "isGreaterThan", "isGreaterThanOrEqual", "isLessThan", "isLessThanOrEqual", "includes", "excludes"]>>>;
11648
+ anyOf: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
11649
+ values: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
11650
+ value: z.ZodNullable<z.ZodOptional<z.ZodString>>;
11651
+ }, "strip", z.ZodTypeAny, {
11652
+ name?: string | null | undefined;
11653
+ values?: string[] | null | undefined;
11654
+ value?: string | null | undefined;
11655
+ predicateType?: "EntitlementPredicate" | "SeasonPassPredicate" | "SeasonTierPredicate" | null | undefined;
11656
+ comparison?: "is" | "isNot" | "isGreaterThan" | "isGreaterThanOrEqual" | "isLessThan" | "isLessThanOrEqual" | "includes" | "excludes" | null | undefined;
11657
+ anyOf?: number | null | undefined;
11658
+ }, {
11659
+ name?: string | null | undefined;
11660
+ values?: string[] | null | undefined;
11661
+ value?: string | null | undefined;
11662
+ predicateType?: "EntitlementPredicate" | "SeasonPassPredicate" | "SeasonTierPredicate" | null | undefined;
11663
+ comparison?: "is" | "isNot" | "isGreaterThan" | "isGreaterThanOrEqual" | "isLessThan" | "isLessThanOrEqual" | "includes" | "excludes" | null | undefined;
11664
+ anyOf?: number | null | undefined;
11665
+ }>, "many">>>;
11666
+ operator: z.ZodNullable<z.ZodOptional<z.ZodEnum<["and", "or"]>>>;
11667
+ }, "strip", z.ZodTypeAny, {
11668
+ predicates?: {
11669
+ name?: string | null | undefined;
11670
+ values?: string[] | null | undefined;
11671
+ value?: string | null | undefined;
11672
+ predicateType?: "EntitlementPredicate" | "SeasonPassPredicate" | "SeasonTierPredicate" | null | undefined;
11673
+ comparison?: "is" | "isNot" | "isGreaterThan" | "isGreaterThanOrEqual" | "isLessThan" | "isLessThanOrEqual" | "includes" | "excludes" | null | undefined;
11674
+ anyOf?: number | null | undefined;
11675
+ }[] | null | undefined;
11676
+ operator?: "and" | "or" | null | undefined;
11677
+ }, {
11678
+ predicates?: {
11679
+ name?: string | null | undefined;
11680
+ values?: string[] | null | undefined;
11681
+ value?: string | null | undefined;
11682
+ predicateType?: "EntitlementPredicate" | "SeasonPassPredicate" | "SeasonTierPredicate" | null | undefined;
11683
+ comparison?: "is" | "isNot" | "isGreaterThan" | "isGreaterThanOrEqual" | "isLessThan" | "isLessThanOrEqual" | "includes" | "excludes" | null | undefined;
11684
+ anyOf?: number | null | undefined;
11685
+ }[] | null | undefined;
11686
+ operator?: "and" | "or" | null | undefined;
11687
+ }>, "many">>>;
11688
+ }, "strip", z.ZodTypeAny, {
11689
+ conditionGroups?: {
11690
+ predicates?: {
11691
+ name?: string | null | undefined;
11692
+ values?: string[] | null | undefined;
11693
+ value?: string | null | undefined;
11694
+ predicateType?: "EntitlementPredicate" | "SeasonPassPredicate" | "SeasonTierPredicate" | null | undefined;
11695
+ comparison?: "is" | "isNot" | "isGreaterThan" | "isGreaterThanOrEqual" | "isLessThan" | "isLessThanOrEqual" | "includes" | "excludes" | null | undefined;
11696
+ anyOf?: number | null | undefined;
11697
+ }[] | null | undefined;
11698
+ operator?: "and" | "or" | null | undefined;
11699
+ }[] | null | undefined;
11700
+ }, {
11701
+ conditionGroups?: {
11702
+ predicates?: {
11703
+ name?: string | null | undefined;
11704
+ values?: string[] | null | undefined;
11705
+ value?: string | null | undefined;
11706
+ predicateType?: "EntitlementPredicate" | "SeasonPassPredicate" | "SeasonTierPredicate" | null | undefined;
11707
+ comparison?: "is" | "isNot" | "isGreaterThan" | "isGreaterThanOrEqual" | "isLessThan" | "isLessThanOrEqual" | "includes" | "excludes" | null | undefined;
11708
+ anyOf?: number | null | undefined;
11709
+ }[] | null | undefined;
11710
+ operator?: "and" | "or" | null | undefined;
11711
+ }[] | null | undefined;
11712
+ }>>>;
11713
+ optionBoxConfig: z.ZodNullable<z.ZodOptional<z.ZodObject<{
11714
+ boxItems: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
11715
+ itemId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
11716
+ itemSku: z.ZodNullable<z.ZodOptional<z.ZodString>>;
11717
+ itemType: z.ZodNullable<z.ZodOptional<z.ZodString>>;
11718
+ count: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
11719
+ }, "strip", z.ZodTypeAny, {
11720
+ itemId?: string | null | undefined;
11721
+ itemSku?: string | null | undefined;
11722
+ itemType?: string | null | undefined;
11723
+ count?: number | null | undefined;
11724
+ }, {
11725
+ itemId?: string | null | undefined;
11726
+ itemSku?: string | null | undefined;
11727
+ itemType?: string | null | undefined;
11728
+ count?: number | null | undefined;
11729
+ }>, "many">>>;
11730
+ }, "strip", z.ZodTypeAny, {
11731
+ boxItems?: {
11533
11732
  itemId?: string | null | undefined;
11534
11733
  itemSku?: string | null | undefined;
11535
11734
  itemType?: string | null | undefined;
11536
11735
  count?: number | null | undefined;
11537
11736
  }[] | null | undefined;
11538
- weight?: number | null | undefined;
11539
- odds?: number | null | undefined;
11540
11737
  }, {
11541
- name?: string | null | undefined;
11542
- type?: "REWARD" | "REWARD_GROUP" | "PROBABILITY_GROUP" | null | undefined;
11543
- lootBoxItems?: {
11738
+ boxItems?: {
11544
11739
  itemId?: string | null | undefined;
11545
11740
  itemSku?: string | null | undefined;
11546
11741
  itemType?: string | null | undefined;
11547
11742
  count?: number | null | undefined;
11548
11743
  }[] | null | undefined;
11549
- weight?: number | null | undefined;
11550
- odds?: number | null | undefined;
11551
- }>, "many">>>;
11552
- rollFunction: z.ZodNullable<z.ZodOptional<z.ZodEnum<["DEFAULT", "CUSTOM"]>>>;
11744
+ }>>>;
11745
+ lootBoxConfig: z.ZodNullable<z.ZodOptional<z.ZodObject<{
11746
+ rewardCount: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
11747
+ rewards: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
11748
+ name: z.ZodNullable<z.ZodOptional<z.ZodString>>;
11749
+ type: z.ZodNullable<z.ZodOptional<z.ZodEnum<["REWARD", "REWARD_GROUP", "PROBABILITY_GROUP"]>>>;
11750
+ lootBoxItems: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
11751
+ itemId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
11752
+ itemSku: z.ZodNullable<z.ZodOptional<z.ZodString>>;
11753
+ itemType: z.ZodNullable<z.ZodOptional<z.ZodString>>;
11754
+ count: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
11755
+ }, "strip", z.ZodTypeAny, {
11756
+ itemId?: string | null | undefined;
11757
+ itemSku?: string | null | undefined;
11758
+ itemType?: string | null | undefined;
11759
+ count?: number | null | undefined;
11760
+ }, {
11761
+ itemId?: string | null | undefined;
11762
+ itemSku?: string | null | undefined;
11763
+ itemType?: string | null | undefined;
11764
+ count?: number | null | undefined;
11765
+ }>, "many">>>;
11766
+ weight: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
11767
+ odds: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
11768
+ }, "strip", z.ZodTypeAny, {
11769
+ name?: string | null | undefined;
11770
+ type?: "REWARD" | "REWARD_GROUP" | "PROBABILITY_GROUP" | null | undefined;
11771
+ lootBoxItems?: {
11772
+ itemId?: string | null | undefined;
11773
+ itemSku?: string | null | undefined;
11774
+ itemType?: string | null | undefined;
11775
+ count?: number | null | undefined;
11776
+ }[] | null | undefined;
11777
+ weight?: number | null | undefined;
11778
+ odds?: number | null | undefined;
11779
+ }, {
11780
+ name?: string | null | undefined;
11781
+ type?: "REWARD" | "REWARD_GROUP" | "PROBABILITY_GROUP" | null | undefined;
11782
+ lootBoxItems?: {
11783
+ itemId?: string | null | undefined;
11784
+ itemSku?: string | null | undefined;
11785
+ itemType?: string | null | undefined;
11786
+ count?: number | null | undefined;
11787
+ }[] | null | undefined;
11788
+ weight?: number | null | undefined;
11789
+ odds?: number | null | undefined;
11790
+ }>, "many">>>;
11791
+ rollFunction: z.ZodNullable<z.ZodOptional<z.ZodEnum<["DEFAULT", "CUSTOM"]>>>;
11792
+ }, "strip", z.ZodTypeAny, {
11793
+ rewardCount?: number | null | undefined;
11794
+ rewards?: {
11795
+ name?: string | null | undefined;
11796
+ type?: "REWARD" | "REWARD_GROUP" | "PROBABILITY_GROUP" | null | undefined;
11797
+ lootBoxItems?: {
11798
+ itemId?: string | null | undefined;
11799
+ itemSku?: string | null | undefined;
11800
+ itemType?: string | null | undefined;
11801
+ count?: number | null | undefined;
11802
+ }[] | null | undefined;
11803
+ weight?: number | null | undefined;
11804
+ odds?: number | null | undefined;
11805
+ }[] | null | undefined;
11806
+ rollFunction?: "DEFAULT" | "CUSTOM" | null | undefined;
11807
+ }, {
11808
+ rewardCount?: number | null | undefined;
11809
+ rewards?: {
11810
+ name?: string | null | undefined;
11811
+ type?: "REWARD" | "REWARD_GROUP" | "PROBABILITY_GROUP" | null | undefined;
11812
+ lootBoxItems?: {
11813
+ itemId?: string | null | undefined;
11814
+ itemSku?: string | null | undefined;
11815
+ itemType?: string | null | undefined;
11816
+ count?: number | null | undefined;
11817
+ }[] | null | undefined;
11818
+ weight?: number | null | undefined;
11819
+ odds?: number | null | undefined;
11820
+ }[] | null | undefined;
11821
+ rollFunction?: "DEFAULT" | "CUSTOM" | null | undefined;
11822
+ }>>>;
11823
+ fresh: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
11824
+ localExt: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
11553
11825
  }, "strip", z.ZodTypeAny, {
11554
- rewardCount?: number | null | undefined;
11555
- rewards?: {
11556
- name?: string | null | undefined;
11557
- type?: "REWARD" | "REWARD_GROUP" | "PROBABILITY_GROUP" | null | undefined;
11558
- lootBoxItems?: {
11826
+ appId?: string | null | undefined;
11827
+ appType?: "GAME" | "SOFTWARE" | "DLC" | "DEMO" | null | undefined;
11828
+ description?: string | null | undefined;
11829
+ ext?: Record<string, any> | null | undefined;
11830
+ tags?: string[] | null | undefined;
11831
+ images?: {
11832
+ as?: string | null | undefined;
11833
+ caption?: string | null | undefined;
11834
+ height: number;
11835
+ width: number;
11836
+ imageUrl: string;
11837
+ smallImageUrl: string;
11838
+ }[] | null | undefined;
11839
+ useCount?: number | null | undefined;
11840
+ seasonType?: "PASS" | "TIER" | null | undefined;
11841
+ baseAppId?: string | null | undefined;
11842
+ sku?: string | null | undefined;
11843
+ listable?: boolean | null | undefined;
11844
+ purchasable?: boolean | null | undefined;
11845
+ stackable?: boolean | null | undefined;
11846
+ thumbnailUrl?: string | null | undefined;
11847
+ targetNamespace?: string | null | undefined;
11848
+ targetCurrencyCode?: string | null | undefined;
11849
+ targetItemId?: string | null | undefined;
11850
+ recurring?: {
11851
+ cycle: "WEEKLY" | "MONTHLY" | "QUARTERLY" | "YEARLY";
11852
+ fixedFreeDays: number;
11853
+ fixedTrialCycles: number;
11854
+ graceDays: number;
11855
+ } | null | undefined;
11856
+ itemIds?: string[] | null | undefined;
11857
+ itemQty?: Record<string, number> | null | undefined;
11858
+ features?: string[] | null | undefined;
11859
+ maxCountPerUser?: number | null | undefined;
11860
+ maxCount?: number | null | undefined;
11861
+ boothName?: string | null | undefined;
11862
+ optionBoxConfig?: {
11863
+ boxItems?: {
11559
11864
  itemId?: string | null | undefined;
11560
11865
  itemSku?: string | null | undefined;
11561
11866
  itemType?: string | null | undefined;
11562
11867
  count?: number | null | undefined;
11563
11868
  }[] | null | undefined;
11564
- weight?: number | null | undefined;
11565
- odds?: number | null | undefined;
11566
- }[] | null | undefined;
11567
- rollFunction?: "DEFAULT" | "CUSTOM" | null | undefined;
11869
+ } | null | undefined;
11870
+ lootBoxConfig?: {
11871
+ rewardCount?: number | null | undefined;
11872
+ rewards?: {
11873
+ name?: string | null | undefined;
11874
+ type?: "REWARD" | "REWARD_GROUP" | "PROBABILITY_GROUP" | null | undefined;
11875
+ lootBoxItems?: {
11876
+ itemId?: string | null | undefined;
11877
+ itemSku?: string | null | undefined;
11878
+ itemType?: string | null | undefined;
11879
+ count?: number | null | undefined;
11880
+ }[] | null | undefined;
11881
+ weight?: number | null | undefined;
11882
+ odds?: number | null | undefined;
11883
+ }[] | null | undefined;
11884
+ rollFunction?: "DEFAULT" | "CUSTOM" | null | undefined;
11885
+ } | null | undefined;
11886
+ clazz?: string | null | undefined;
11887
+ longDescription?: string | null | undefined;
11888
+ regionData?: {
11889
+ discountPercentage?: number | null | undefined;
11890
+ discountAmount?: number | null | undefined;
11891
+ discountedPrice?: number | null | undefined;
11892
+ trialPrice?: number | null | undefined;
11893
+ purchaseAt?: string | null | undefined;
11894
+ expireAt?: string | null | undefined;
11895
+ discountPurchaseAt?: string | null | undefined;
11896
+ discountExpireAt?: string | null | undefined;
11897
+ currencyCode: string;
11898
+ currencyType: "REAL" | "VIRTUAL";
11899
+ price: number;
11900
+ currencyNamespace: string;
11901
+ }[] | null | undefined;
11902
+ boundItemIds?: string[] | null | undefined;
11903
+ displayOrder?: number | null | undefined;
11904
+ purchaseCondition?: {
11905
+ conditionGroups?: {
11906
+ predicates?: {
11907
+ name?: string | null | undefined;
11908
+ values?: string[] | null | undefined;
11909
+ value?: string | null | undefined;
11910
+ predicateType?: "EntitlementPredicate" | "SeasonPassPredicate" | "SeasonTierPredicate" | null | undefined;
11911
+ comparison?: "is" | "isNot" | "isGreaterThan" | "isGreaterThanOrEqual" | "isLessThan" | "isLessThanOrEqual" | "includes" | "excludes" | null | undefined;
11912
+ anyOf?: number | null | undefined;
11913
+ }[] | null | undefined;
11914
+ operator?: "and" | "or" | null | undefined;
11915
+ }[] | null | undefined;
11916
+ } | null | undefined;
11917
+ fresh?: boolean | null | undefined;
11918
+ localExt?: Record<string, any> | null | undefined;
11919
+ name: string;
11920
+ status: "ACTIVE" | "INACTIVE";
11921
+ namespace: string;
11922
+ createdAt: string;
11923
+ updatedAt: string;
11924
+ language: string;
11925
+ title: string;
11926
+ itemId: string;
11927
+ itemType: "APP" | "COINS" | "INGAMEITEM" | "BUNDLE" | "CODE" | "SUBSCRIPTION" | "SEASON" | "MEDIA" | "OPTIONBOX" | "EXTENSION" | "LOOTBOX";
11928
+ entitlementType: "DURABLE" | "CONSUMABLE";
11929
+ region: string;
11930
+ categoryPath: string;
11931
+ }, {
11932
+ appId?: string | null | undefined;
11933
+ appType?: "GAME" | "SOFTWARE" | "DLC" | "DEMO" | null | undefined;
11934
+ description?: string | null | undefined;
11935
+ ext?: Record<string, any> | null | undefined;
11936
+ tags?: string[] | null | undefined;
11937
+ images?: {
11938
+ as?: string | null | undefined;
11939
+ caption?: string | null | undefined;
11940
+ height: number;
11941
+ width: number;
11942
+ imageUrl: string;
11943
+ smallImageUrl: string;
11944
+ }[] | null | undefined;
11945
+ useCount?: number | null | undefined;
11946
+ seasonType?: "PASS" | "TIER" | null | undefined;
11947
+ baseAppId?: string | null | undefined;
11948
+ sku?: string | null | undefined;
11949
+ listable?: boolean | null | undefined;
11950
+ purchasable?: boolean | null | undefined;
11951
+ stackable?: boolean | null | undefined;
11952
+ thumbnailUrl?: string | null | undefined;
11953
+ targetNamespace?: string | null | undefined;
11954
+ targetCurrencyCode?: string | null | undefined;
11955
+ targetItemId?: string | null | undefined;
11956
+ recurring?: {
11957
+ cycle: "WEEKLY" | "MONTHLY" | "QUARTERLY" | "YEARLY";
11958
+ fixedFreeDays: number;
11959
+ fixedTrialCycles: number;
11960
+ graceDays: number;
11961
+ } | null | undefined;
11962
+ itemIds?: string[] | null | undefined;
11963
+ itemQty?: Record<string, number> | null | undefined;
11964
+ features?: string[] | null | undefined;
11965
+ maxCountPerUser?: number | null | undefined;
11966
+ maxCount?: number | null | undefined;
11967
+ boothName?: string | null | undefined;
11968
+ optionBoxConfig?: {
11969
+ boxItems?: {
11970
+ itemId?: string | null | undefined;
11971
+ itemSku?: string | null | undefined;
11972
+ itemType?: string | null | undefined;
11973
+ count?: number | null | undefined;
11974
+ }[] | null | undefined;
11975
+ } | null | undefined;
11976
+ lootBoxConfig?: {
11977
+ rewardCount?: number | null | undefined;
11978
+ rewards?: {
11979
+ name?: string | null | undefined;
11980
+ type?: "REWARD" | "REWARD_GROUP" | "PROBABILITY_GROUP" | null | undefined;
11981
+ lootBoxItems?: {
11982
+ itemId?: string | null | undefined;
11983
+ itemSku?: string | null | undefined;
11984
+ itemType?: string | null | undefined;
11985
+ count?: number | null | undefined;
11986
+ }[] | null | undefined;
11987
+ weight?: number | null | undefined;
11988
+ odds?: number | null | undefined;
11989
+ }[] | null | undefined;
11990
+ rollFunction?: "DEFAULT" | "CUSTOM" | null | undefined;
11991
+ } | null | undefined;
11992
+ clazz?: string | null | undefined;
11993
+ longDescription?: string | null | undefined;
11994
+ regionData?: {
11995
+ discountPercentage?: number | null | undefined;
11996
+ discountAmount?: number | null | undefined;
11997
+ discountedPrice?: number | null | undefined;
11998
+ trialPrice?: number | null | undefined;
11999
+ purchaseAt?: string | null | undefined;
12000
+ expireAt?: string | null | undefined;
12001
+ discountPurchaseAt?: string | null | undefined;
12002
+ discountExpireAt?: string | null | undefined;
12003
+ currencyCode: string;
12004
+ currencyType: "REAL" | "VIRTUAL";
12005
+ price: number;
12006
+ currencyNamespace: string;
12007
+ }[] | null | undefined;
12008
+ boundItemIds?: string[] | null | undefined;
12009
+ displayOrder?: number | null | undefined;
12010
+ purchaseCondition?: {
12011
+ conditionGroups?: {
12012
+ predicates?: {
12013
+ name?: string | null | undefined;
12014
+ values?: string[] | null | undefined;
12015
+ value?: string | null | undefined;
12016
+ predicateType?: "EntitlementPredicate" | "SeasonPassPredicate" | "SeasonTierPredicate" | null | undefined;
12017
+ comparison?: "is" | "isNot" | "isGreaterThan" | "isGreaterThanOrEqual" | "isLessThan" | "isLessThanOrEqual" | "includes" | "excludes" | null | undefined;
12018
+ anyOf?: number | null | undefined;
12019
+ }[] | null | undefined;
12020
+ operator?: "and" | "or" | null | undefined;
12021
+ }[] | null | undefined;
12022
+ } | null | undefined;
12023
+ fresh?: boolean | null | undefined;
12024
+ localExt?: Record<string, any> | null | undefined;
12025
+ name: string;
12026
+ status: "ACTIVE" | "INACTIVE";
12027
+ namespace: string;
12028
+ createdAt: string;
12029
+ updatedAt: string;
12030
+ language: string;
12031
+ title: string;
12032
+ itemId: string;
12033
+ itemType: "APP" | "COINS" | "INGAMEITEM" | "BUNDLE" | "CODE" | "SUBSCRIPTION" | "SEASON" | "MEDIA" | "OPTIONBOX" | "EXTENSION" | "LOOTBOX";
12034
+ entitlementType: "DURABLE" | "CONSUMABLE";
12035
+ region: string;
12036
+ categoryPath: string;
12037
+ }>, "many">;
12038
+ paging: z.ZodNullable<z.ZodOptional<z.ZodObject<{
12039
+ previous: z.ZodNullable<z.ZodOptional<z.ZodString>>;
12040
+ next: z.ZodNullable<z.ZodOptional<z.ZodString>>;
12041
+ }, "strip", z.ZodTypeAny, {
12042
+ next?: string | null | undefined;
12043
+ previous?: string | null | undefined;
12044
+ }, {
12045
+ next?: string | null | undefined;
12046
+ previous?: string | null | undefined;
12047
+ }>>>;
12048
+ }, "strip", z.ZodTypeAny, {
12049
+ paging?: {
12050
+ next?: string | null | undefined;
12051
+ previous?: string | null | undefined;
12052
+ } | null | undefined;
12053
+ data: {
12054
+ appId?: string | null | undefined;
12055
+ appType?: "GAME" | "SOFTWARE" | "DLC" | "DEMO" | null | undefined;
12056
+ description?: string | null | undefined;
12057
+ ext?: Record<string, any> | null | undefined;
12058
+ tags?: string[] | null | undefined;
12059
+ images?: {
12060
+ as?: string | null | undefined;
12061
+ caption?: string | null | undefined;
12062
+ height: number;
12063
+ width: number;
12064
+ imageUrl: string;
12065
+ smallImageUrl: string;
12066
+ }[] | null | undefined;
12067
+ useCount?: number | null | undefined;
12068
+ seasonType?: "PASS" | "TIER" | null | undefined;
12069
+ baseAppId?: string | null | undefined;
12070
+ sku?: string | null | undefined;
12071
+ listable?: boolean | null | undefined;
12072
+ purchasable?: boolean | null | undefined;
12073
+ stackable?: boolean | null | undefined;
12074
+ thumbnailUrl?: string | null | undefined;
12075
+ targetNamespace?: string | null | undefined;
12076
+ targetCurrencyCode?: string | null | undefined;
12077
+ targetItemId?: string | null | undefined;
12078
+ recurring?: {
12079
+ cycle: "WEEKLY" | "MONTHLY" | "QUARTERLY" | "YEARLY";
12080
+ fixedFreeDays: number;
12081
+ fixedTrialCycles: number;
12082
+ graceDays: number;
12083
+ } | null | undefined;
12084
+ itemIds?: string[] | null | undefined;
12085
+ itemQty?: Record<string, number> | null | undefined;
12086
+ features?: string[] | null | undefined;
12087
+ maxCountPerUser?: number | null | undefined;
12088
+ maxCount?: number | null | undefined;
12089
+ boothName?: string | null | undefined;
12090
+ optionBoxConfig?: {
12091
+ boxItems?: {
12092
+ itemId?: string | null | undefined;
12093
+ itemSku?: string | null | undefined;
12094
+ itemType?: string | null | undefined;
12095
+ count?: number | null | undefined;
12096
+ }[] | null | undefined;
12097
+ } | null | undefined;
12098
+ lootBoxConfig?: {
12099
+ rewardCount?: number | null | undefined;
12100
+ rewards?: {
12101
+ name?: string | null | undefined;
12102
+ type?: "REWARD" | "REWARD_GROUP" | "PROBABILITY_GROUP" | null | undefined;
12103
+ lootBoxItems?: {
12104
+ itemId?: string | null | undefined;
12105
+ itemSku?: string | null | undefined;
12106
+ itemType?: string | null | undefined;
12107
+ count?: number | null | undefined;
12108
+ }[] | null | undefined;
12109
+ weight?: number | null | undefined;
12110
+ odds?: number | null | undefined;
12111
+ }[] | null | undefined;
12112
+ rollFunction?: "DEFAULT" | "CUSTOM" | null | undefined;
12113
+ } | null | undefined;
12114
+ clazz?: string | null | undefined;
12115
+ longDescription?: string | null | undefined;
12116
+ regionData?: {
12117
+ discountPercentage?: number | null | undefined;
12118
+ discountAmount?: number | null | undefined;
12119
+ discountedPrice?: number | null | undefined;
12120
+ trialPrice?: number | null | undefined;
12121
+ purchaseAt?: string | null | undefined;
12122
+ expireAt?: string | null | undefined;
12123
+ discountPurchaseAt?: string | null | undefined;
12124
+ discountExpireAt?: string | null | undefined;
12125
+ currencyCode: string;
12126
+ currencyType: "REAL" | "VIRTUAL";
12127
+ price: number;
12128
+ currencyNamespace: string;
12129
+ }[] | null | undefined;
12130
+ boundItemIds?: string[] | null | undefined;
12131
+ displayOrder?: number | null | undefined;
12132
+ purchaseCondition?: {
12133
+ conditionGroups?: {
12134
+ predicates?: {
12135
+ name?: string | null | undefined;
12136
+ values?: string[] | null | undefined;
12137
+ value?: string | null | undefined;
12138
+ predicateType?: "EntitlementPredicate" | "SeasonPassPredicate" | "SeasonTierPredicate" | null | undefined;
12139
+ comparison?: "is" | "isNot" | "isGreaterThan" | "isGreaterThanOrEqual" | "isLessThan" | "isLessThanOrEqual" | "includes" | "excludes" | null | undefined;
12140
+ anyOf?: number | null | undefined;
12141
+ }[] | null | undefined;
12142
+ operator?: "and" | "or" | null | undefined;
12143
+ }[] | null | undefined;
12144
+ } | null | undefined;
12145
+ fresh?: boolean | null | undefined;
12146
+ localExt?: Record<string, any> | null | undefined;
12147
+ name: string;
12148
+ status: "ACTIVE" | "INACTIVE";
12149
+ namespace: string;
12150
+ createdAt: string;
12151
+ updatedAt: string;
12152
+ language: string;
12153
+ title: string;
12154
+ itemId: string;
12155
+ itemType: "APP" | "COINS" | "INGAMEITEM" | "BUNDLE" | "CODE" | "SUBSCRIPTION" | "SEASON" | "MEDIA" | "OPTIONBOX" | "EXTENSION" | "LOOTBOX";
12156
+ entitlementType: "DURABLE" | "CONSUMABLE";
12157
+ region: string;
12158
+ categoryPath: string;
12159
+ }[];
12160
+ }, {
12161
+ paging?: {
12162
+ next?: string | null | undefined;
12163
+ previous?: string | null | undefined;
12164
+ } | null | undefined;
12165
+ data: {
12166
+ appId?: string | null | undefined;
12167
+ appType?: "GAME" | "SOFTWARE" | "DLC" | "DEMO" | null | undefined;
12168
+ description?: string | null | undefined;
12169
+ ext?: Record<string, any> | null | undefined;
12170
+ tags?: string[] | null | undefined;
12171
+ images?: {
12172
+ as?: string | null | undefined;
12173
+ caption?: string | null | undefined;
12174
+ height: number;
12175
+ width: number;
12176
+ imageUrl: string;
12177
+ smallImageUrl: string;
12178
+ }[] | null | undefined;
12179
+ useCount?: number | null | undefined;
12180
+ seasonType?: "PASS" | "TIER" | null | undefined;
12181
+ baseAppId?: string | null | undefined;
12182
+ sku?: string | null | undefined;
12183
+ listable?: boolean | null | undefined;
12184
+ purchasable?: boolean | null | undefined;
12185
+ stackable?: boolean | null | undefined;
12186
+ thumbnailUrl?: string | null | undefined;
12187
+ targetNamespace?: string | null | undefined;
12188
+ targetCurrencyCode?: string | null | undefined;
12189
+ targetItemId?: string | null | undefined;
12190
+ recurring?: {
12191
+ cycle: "WEEKLY" | "MONTHLY" | "QUARTERLY" | "YEARLY";
12192
+ fixedFreeDays: number;
12193
+ fixedTrialCycles: number;
12194
+ graceDays: number;
12195
+ } | null | undefined;
12196
+ itemIds?: string[] | null | undefined;
12197
+ itemQty?: Record<string, number> | null | undefined;
12198
+ features?: string[] | null | undefined;
12199
+ maxCountPerUser?: number | null | undefined;
12200
+ maxCount?: number | null | undefined;
12201
+ boothName?: string | null | undefined;
12202
+ optionBoxConfig?: {
12203
+ boxItems?: {
12204
+ itemId?: string | null | undefined;
12205
+ itemSku?: string | null | undefined;
12206
+ itemType?: string | null | undefined;
12207
+ count?: number | null | undefined;
12208
+ }[] | null | undefined;
12209
+ } | null | undefined;
12210
+ lootBoxConfig?: {
12211
+ rewardCount?: number | null | undefined;
12212
+ rewards?: {
12213
+ name?: string | null | undefined;
12214
+ type?: "REWARD" | "REWARD_GROUP" | "PROBABILITY_GROUP" | null | undefined;
12215
+ lootBoxItems?: {
12216
+ itemId?: string | null | undefined;
12217
+ itemSku?: string | null | undefined;
12218
+ itemType?: string | null | undefined;
12219
+ count?: number | null | undefined;
12220
+ }[] | null | undefined;
12221
+ weight?: number | null | undefined;
12222
+ odds?: number | null | undefined;
12223
+ }[] | null | undefined;
12224
+ rollFunction?: "DEFAULT" | "CUSTOM" | null | undefined;
12225
+ } | null | undefined;
12226
+ clazz?: string | null | undefined;
12227
+ longDescription?: string | null | undefined;
12228
+ regionData?: {
12229
+ discountPercentage?: number | null | undefined;
12230
+ discountAmount?: number | null | undefined;
12231
+ discountedPrice?: number | null | undefined;
12232
+ trialPrice?: number | null | undefined;
12233
+ purchaseAt?: string | null | undefined;
12234
+ expireAt?: string | null | undefined;
12235
+ discountPurchaseAt?: string | null | undefined;
12236
+ discountExpireAt?: string | null | undefined;
12237
+ currencyCode: string;
12238
+ currencyType: "REAL" | "VIRTUAL";
12239
+ price: number;
12240
+ currencyNamespace: string;
12241
+ }[] | null | undefined;
12242
+ boundItemIds?: string[] | null | undefined;
12243
+ displayOrder?: number | null | undefined;
12244
+ purchaseCondition?: {
12245
+ conditionGroups?: {
12246
+ predicates?: {
12247
+ name?: string | null | undefined;
12248
+ values?: string[] | null | undefined;
12249
+ value?: string | null | undefined;
12250
+ predicateType?: "EntitlementPredicate" | "SeasonPassPredicate" | "SeasonTierPredicate" | null | undefined;
12251
+ comparison?: "is" | "isNot" | "isGreaterThan" | "isGreaterThanOrEqual" | "isLessThan" | "isLessThanOrEqual" | "includes" | "excludes" | null | undefined;
12252
+ anyOf?: number | null | undefined;
12253
+ }[] | null | undefined;
12254
+ operator?: "and" | "or" | null | undefined;
12255
+ }[] | null | undefined;
12256
+ } | null | undefined;
12257
+ fresh?: boolean | null | undefined;
12258
+ localExt?: Record<string, any> | null | undefined;
12259
+ name: string;
12260
+ status: "ACTIVE" | "INACTIVE";
12261
+ namespace: string;
12262
+ createdAt: string;
12263
+ updatedAt: string;
12264
+ language: string;
12265
+ title: string;
12266
+ itemId: string;
12267
+ itemType: "APP" | "COINS" | "INGAMEITEM" | "BUNDLE" | "CODE" | "SUBSCRIPTION" | "SEASON" | "MEDIA" | "OPTIONBOX" | "EXTENSION" | "LOOTBOX";
12268
+ entitlementType: "DURABLE" | "CONSUMABLE";
12269
+ region: string;
12270
+ categoryPath: string;
12271
+ }[];
12272
+ }>;
12273
+ interface ItemPagingSlicedResult extends z.TypeOf<typeof ItemPagingSlicedResult> {
12274
+ }
12275
+
12276
+ declare const ItemPurchaseConditionValidateRequest: z.ZodObject<{
12277
+ itemIds: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
12278
+ }, "strip", z.ZodTypeAny, {
12279
+ itemIds?: string[] | null | undefined;
12280
+ }, {
12281
+ itemIds?: string[] | null | undefined;
12282
+ }>;
12283
+ interface ItemPurchaseConditionValidateRequest extends z.TypeOf<typeof ItemPurchaseConditionValidateRequest> {
12284
+ }
12285
+
12286
+ declare const AppInfo: z.ZodObject<{
12287
+ slogan: z.ZodNullable<z.ZodOptional<z.ZodString>>;
12288
+ announcement: z.ZodNullable<z.ZodOptional<z.ZodString>>;
12289
+ itemId: z.ZodString;
12290
+ namespace: z.ZodString;
12291
+ carousel: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
12292
+ type: z.ZodNullable<z.ZodOptional<z.ZodEnum<["image", "video"]>>>;
12293
+ videoSource: z.ZodNullable<z.ZodOptional<z.ZodEnum<["generic", "youtube", "vimeo"]>>>;
12294
+ url: z.ZodNullable<z.ZodOptional<z.ZodString>>;
12295
+ alt: z.ZodNullable<z.ZodOptional<z.ZodString>>;
12296
+ thumbnailUrl: z.ZodNullable<z.ZodOptional<z.ZodString>>;
12297
+ previewUrl: z.ZodNullable<z.ZodOptional<z.ZodString>>;
12298
+ }, "strip", z.ZodTypeAny, {
12299
+ type?: "image" | "video" | null | undefined;
12300
+ url?: string | null | undefined;
12301
+ thumbnailUrl?: string | null | undefined;
12302
+ videoSource?: "generic" | "youtube" | "vimeo" | null | undefined;
12303
+ alt?: string | null | undefined;
12304
+ previewUrl?: string | null | undefined;
12305
+ }, {
12306
+ type?: "image" | "video" | null | undefined;
12307
+ url?: string | null | undefined;
12308
+ thumbnailUrl?: string | null | undefined;
12309
+ videoSource?: "generic" | "youtube" | "vimeo" | null | undefined;
12310
+ alt?: string | null | undefined;
12311
+ previewUrl?: string | null | undefined;
12312
+ }>, "many">>>;
12313
+ developer: z.ZodNullable<z.ZodOptional<z.ZodString>>;
12314
+ publisher: z.ZodNullable<z.ZodOptional<z.ZodString>>;
12315
+ websiteUrl: z.ZodNullable<z.ZodOptional<z.ZodString>>;
12316
+ forumUrl: z.ZodNullable<z.ZodOptional<z.ZodString>>;
12317
+ platforms: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodEnum<["Windows", "MacOS", "Linux", "IOS", "Android"]>, "many">>>;
12318
+ platformRequirements: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
12319
+ label: z.ZodString;
12320
+ osVersion: z.ZodNullable<z.ZodOptional<z.ZodString>>;
12321
+ processor: z.ZodNullable<z.ZodOptional<z.ZodString>>;
12322
+ ram: z.ZodNullable<z.ZodOptional<z.ZodString>>;
12323
+ graphics: z.ZodNullable<z.ZodOptional<z.ZodString>>;
12324
+ directXVersion: z.ZodNullable<z.ZodOptional<z.ZodString>>;
12325
+ diskSpace: z.ZodNullable<z.ZodOptional<z.ZodString>>;
12326
+ soundCard: z.ZodNullable<z.ZodOptional<z.ZodString>>;
12327
+ additionals: z.ZodNullable<z.ZodOptional<z.ZodString>>;
12328
+ }, "strip", z.ZodTypeAny, {
12329
+ osVersion?: string | null | undefined;
12330
+ processor?: string | null | undefined;
12331
+ ram?: string | null | undefined;
12332
+ graphics?: string | null | undefined;
12333
+ directXVersion?: string | null | undefined;
12334
+ diskSpace?: string | null | undefined;
12335
+ soundCard?: string | null | undefined;
12336
+ additionals?: string | null | undefined;
12337
+ label: string;
12338
+ }, {
12339
+ osVersion?: string | null | undefined;
12340
+ processor?: string | null | undefined;
12341
+ ram?: string | null | undefined;
12342
+ graphics?: string | null | undefined;
12343
+ directXVersion?: string | null | undefined;
12344
+ diskSpace?: string | null | undefined;
12345
+ soundCard?: string | null | undefined;
12346
+ additionals?: string | null | undefined;
12347
+ label: string;
12348
+ }>, "many">>>>;
12349
+ primaryGenre: z.ZodNullable<z.ZodOptional<z.ZodEnum<["Action", "Adventure", "Casual", "FreeToPlay", "Indie", "MassivelyMultiplayer", "Racing", "RPG", "Simulation", "Sports", "Strategy"]>>>;
12350
+ genres: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodEnum<["Action", "Adventure", "Casual", "FreeToPlay", "Indie", "MassivelyMultiplayer", "Racing", "RPG", "Simulation", "Sports", "Strategy"]>, "many">>>;
12351
+ players: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodEnum<["Single", "Multi", "CrossPlatformMulti", "MMO", "Coop", "LocalCoop"]>, "many">>>;
12352
+ releaseDate: z.ZodNullable<z.ZodOptional<z.ZodString>>;
12353
+ region: z.ZodNullable<z.ZodOptional<z.ZodString>>;
12354
+ language: z.ZodNullable<z.ZodOptional<z.ZodString>>;
12355
+ }, "strip", z.ZodTypeAny, {
12356
+ publisher?: string | null | undefined;
12357
+ language?: string | null | undefined;
12358
+ platforms?: ("Windows" | "MacOS" | "Linux" | "IOS" | "Android")[] | null | undefined;
12359
+ region?: string | null | undefined;
12360
+ slogan?: string | null | undefined;
12361
+ announcement?: string | null | undefined;
12362
+ carousel?: {
12363
+ type?: "image" | "video" | null | undefined;
12364
+ url?: string | null | undefined;
12365
+ thumbnailUrl?: string | null | undefined;
12366
+ videoSource?: "generic" | "youtube" | "vimeo" | null | undefined;
12367
+ alt?: string | null | undefined;
12368
+ previewUrl?: string | null | undefined;
12369
+ }[] | null | undefined;
12370
+ developer?: string | null | undefined;
12371
+ websiteUrl?: string | null | undefined;
12372
+ forumUrl?: string | null | undefined;
12373
+ platformRequirements?: Record<string, {
12374
+ osVersion?: string | null | undefined;
12375
+ processor?: string | null | undefined;
12376
+ ram?: string | null | undefined;
12377
+ graphics?: string | null | undefined;
12378
+ directXVersion?: string | null | undefined;
12379
+ diskSpace?: string | null | undefined;
12380
+ soundCard?: string | null | undefined;
12381
+ additionals?: string | null | undefined;
12382
+ label: string;
12383
+ }[]> | null | undefined;
12384
+ primaryGenre?: "Action" | "Adventure" | "Casual" | "FreeToPlay" | "Indie" | "MassivelyMultiplayer" | "Racing" | "RPG" | "Simulation" | "Sports" | "Strategy" | null | undefined;
12385
+ genres?: ("Action" | "Adventure" | "Casual" | "FreeToPlay" | "Indie" | "MassivelyMultiplayer" | "Racing" | "RPG" | "Simulation" | "Sports" | "Strategy")[] | null | undefined;
12386
+ players?: ("Single" | "Multi" | "CrossPlatformMulti" | "MMO" | "Coop" | "LocalCoop")[] | null | undefined;
12387
+ releaseDate?: string | null | undefined;
12388
+ namespace: string;
12389
+ itemId: string;
12390
+ }, {
12391
+ publisher?: string | null | undefined;
12392
+ language?: string | null | undefined;
12393
+ platforms?: ("Windows" | "MacOS" | "Linux" | "IOS" | "Android")[] | null | undefined;
12394
+ region?: string | null | undefined;
12395
+ slogan?: string | null | undefined;
12396
+ announcement?: string | null | undefined;
12397
+ carousel?: {
12398
+ type?: "image" | "video" | null | undefined;
12399
+ url?: string | null | undefined;
12400
+ thumbnailUrl?: string | null | undefined;
12401
+ videoSource?: "generic" | "youtube" | "vimeo" | null | undefined;
12402
+ alt?: string | null | undefined;
12403
+ previewUrl?: string | null | undefined;
12404
+ }[] | null | undefined;
12405
+ developer?: string | null | undefined;
12406
+ websiteUrl?: string | null | undefined;
12407
+ forumUrl?: string | null | undefined;
12408
+ platformRequirements?: Record<string, {
12409
+ osVersion?: string | null | undefined;
12410
+ processor?: string | null | undefined;
12411
+ ram?: string | null | undefined;
12412
+ graphics?: string | null | undefined;
12413
+ directXVersion?: string | null | undefined;
12414
+ diskSpace?: string | null | undefined;
12415
+ soundCard?: string | null | undefined;
12416
+ additionals?: string | null | undefined;
12417
+ label: string;
12418
+ }[]> | null | undefined;
12419
+ primaryGenre?: "Action" | "Adventure" | "Casual" | "FreeToPlay" | "Indie" | "MassivelyMultiplayer" | "Racing" | "RPG" | "Simulation" | "Sports" | "Strategy" | null | undefined;
12420
+ genres?: ("Action" | "Adventure" | "Casual" | "FreeToPlay" | "Indie" | "MassivelyMultiplayer" | "Racing" | "RPG" | "Simulation" | "Sports" | "Strategy")[] | null | undefined;
12421
+ players?: ("Single" | "Multi" | "CrossPlatformMulti" | "MMO" | "Coop" | "LocalCoop")[] | null | undefined;
12422
+ releaseDate?: string | null | undefined;
12423
+ namespace: string;
12424
+ itemId: string;
12425
+ }>;
12426
+ interface AppInfo extends z.TypeOf<typeof AppInfo> {
12427
+ }
12428
+
12429
+ declare const ItemDynamicDataInfo: z.ZodObject<{
12430
+ itemId: z.ZodString;
12431
+ namespace: z.ZodString;
12432
+ availableCount: z.ZodNumber;
12433
+ userAvailableCount: z.ZodNumber;
12434
+ userPurchaseLimit: z.ZodNumber;
12435
+ }, "strip", z.ZodTypeAny, {
12436
+ namespace: string;
12437
+ itemId: string;
12438
+ availableCount: number;
12439
+ userAvailableCount: number;
12440
+ userPurchaseLimit: number;
12441
+ }, {
12442
+ namespace: string;
12443
+ itemId: string;
12444
+ availableCount: number;
12445
+ userAvailableCount: number;
12446
+ userPurchaseLimit: number;
12447
+ }>;
12448
+ interface ItemDynamicDataInfo extends z.TypeOf<typeof ItemDynamicDataInfo> {
12449
+ }
12450
+
12451
+ declare const ItemInfo: z.ZodObject<{
12452
+ title: z.ZodString;
12453
+ description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
12454
+ longDescription: z.ZodNullable<z.ZodOptional<z.ZodString>>;
12455
+ itemId: z.ZodString;
12456
+ appId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
12457
+ appType: z.ZodNullable<z.ZodOptional<z.ZodEnum<["GAME", "SOFTWARE", "DLC", "DEMO"]>>>;
12458
+ seasonType: z.ZodNullable<z.ZodOptional<z.ZodEnum<["PASS", "TIER"]>>>;
12459
+ baseAppId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
12460
+ sku: z.ZodNullable<z.ZodOptional<z.ZodString>>;
12461
+ namespace: z.ZodString;
12462
+ name: z.ZodString;
12463
+ entitlementType: z.ZodEnum<["DURABLE", "CONSUMABLE"]>;
12464
+ useCount: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
12465
+ stackable: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
12466
+ categoryPath: z.ZodString;
12467
+ status: z.ZodEnum<["ACTIVE", "INACTIVE"]>;
12468
+ listable: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
12469
+ purchasable: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
12470
+ itemType: z.ZodEnum<["APP", "COINS", "INGAMEITEM", "BUNDLE", "CODE", "SUBSCRIPTION", "SEASON", "MEDIA", "OPTIONBOX", "EXTENSION", "LOOTBOX"]>;
12471
+ targetNamespace: z.ZodNullable<z.ZodOptional<z.ZodString>>;
12472
+ targetCurrencyCode: z.ZodNullable<z.ZodOptional<z.ZodString>>;
12473
+ targetItemId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
12474
+ images: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
12475
+ as: z.ZodNullable<z.ZodOptional<z.ZodString>>;
12476
+ caption: z.ZodNullable<z.ZodOptional<z.ZodString>>;
12477
+ height: z.ZodNumber;
12478
+ width: z.ZodNumber;
12479
+ imageUrl: z.ZodString;
12480
+ smallImageUrl: z.ZodString;
12481
+ }, "strip", z.ZodTypeAny, {
12482
+ as?: string | null | undefined;
12483
+ caption?: string | null | undefined;
12484
+ height: number;
12485
+ width: number;
12486
+ imageUrl: string;
12487
+ smallImageUrl: string;
11568
12488
  }, {
11569
- rewardCount?: number | null | undefined;
11570
- rewards?: {
11571
- name?: string | null | undefined;
11572
- type?: "REWARD" | "REWARD_GROUP" | "PROBABILITY_GROUP" | null | undefined;
11573
- lootBoxItems?: {
11574
- itemId?: string | null | undefined;
11575
- itemSku?: string | null | undefined;
11576
- itemType?: string | null | undefined;
11577
- count?: number | null | undefined;
11578
- }[] | null | undefined;
11579
- weight?: number | null | undefined;
11580
- odds?: number | null | undefined;
11581
- }[] | null | undefined;
11582
- rollFunction?: "DEFAULT" | "CUSTOM" | null | undefined;
11583
- }>>>;
11584
- fresh: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
11585
- localExt: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
11586
- }, "strip", z.ZodTypeAny, {
11587
- appId?: string | null | undefined;
11588
- appType?: "GAME" | "SOFTWARE" | "DLC" | "DEMO" | null | undefined;
11589
- description?: string | null | undefined;
11590
- ext?: Record<string, any> | null | undefined;
11591
- tags?: string[] | null | undefined;
11592
- images?: {
11593
12489
  as?: string | null | undefined;
11594
12490
  caption?: string | null | undefined;
11595
12491
  height: number;
11596
12492
  width: number;
11597
12493
  imageUrl: string;
11598
12494
  smallImageUrl: string;
11599
- }[] | null | undefined;
11600
- useCount?: number | null | undefined;
11601
- seasonType?: "PASS" | "TIER" | null | undefined;
11602
- baseAppId?: string | null | undefined;
11603
- sku?: string | null | undefined;
11604
- listable?: boolean | null | undefined;
11605
- purchasable?: boolean | null | undefined;
11606
- stackable?: boolean | null | undefined;
11607
- thumbnailUrl?: string | null | undefined;
11608
- targetNamespace?: string | null | undefined;
11609
- targetCurrencyCode?: string | null | undefined;
11610
- targetItemId?: string | null | undefined;
11611
- recurring?: {
11612
- cycle: "WEEKLY" | "MONTHLY" | "QUARTERLY" | "YEARLY";
11613
- fixedFreeDays: number;
11614
- fixedTrialCycles: number;
11615
- graceDays: number;
11616
- } | null | undefined;
11617
- itemIds?: string[] | null | undefined;
11618
- itemQty?: Record<string, number> | null | undefined;
11619
- features?: string[] | null | undefined;
11620
- maxCountPerUser?: number | null | undefined;
11621
- maxCount?: number | null | undefined;
11622
- boothName?: string | null | undefined;
11623
- optionBoxConfig?: {
11624
- boxItems?: {
11625
- itemId?: string | null | undefined;
11626
- itemSku?: string | null | undefined;
11627
- itemType?: string | null | undefined;
11628
- count?: number | null | undefined;
11629
- }[] | null | undefined;
11630
- } | null | undefined;
11631
- lootBoxConfig?: {
11632
- rewardCount?: number | null | undefined;
11633
- rewards?: {
11634
- name?: string | null | undefined;
11635
- type?: "REWARD" | "REWARD_GROUP" | "PROBABILITY_GROUP" | null | undefined;
11636
- lootBoxItems?: {
11637
- itemId?: string | null | undefined;
11638
- itemSku?: string | null | undefined;
11639
- itemType?: string | null | undefined;
11640
- count?: number | null | undefined;
11641
- }[] | null | undefined;
11642
- weight?: number | null | undefined;
11643
- odds?: number | null | undefined;
11644
- }[] | null | undefined;
11645
- rollFunction?: "DEFAULT" | "CUSTOM" | null | undefined;
11646
- } | null | undefined;
11647
- clazz?: string | null | undefined;
11648
- longDescription?: string | null | undefined;
11649
- regionData?: {
12495
+ }>, "many">>>;
12496
+ thumbnailUrl: z.ZodNullable<z.ZodOptional<z.ZodString>>;
12497
+ regionData: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
12498
+ price: z.ZodNumber;
12499
+ discountPercentage: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
12500
+ discountAmount: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
12501
+ discountedPrice: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
12502
+ currencyCode: z.ZodString;
12503
+ currencyType: z.ZodEnum<["REAL", "VIRTUAL"]>;
12504
+ currencyNamespace: z.ZodString;
12505
+ trialPrice: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
12506
+ purchaseAt: z.ZodNullable<z.ZodOptional<z.ZodString>>;
12507
+ expireAt: z.ZodNullable<z.ZodOptional<z.ZodString>>;
12508
+ discountPurchaseAt: z.ZodNullable<z.ZodOptional<z.ZodString>>;
12509
+ discountExpireAt: z.ZodNullable<z.ZodOptional<z.ZodString>>;
12510
+ }, "strip", z.ZodTypeAny, {
11650
12511
  discountPercentage?: number | null | undefined;
11651
12512
  discountAmount?: number | null | undefined;
11652
12513
  discountedPrice?: number | null | undefined;
@@ -11659,11 +12520,77 @@ declare const ItemInfo: z.ZodObject<{
11659
12520
  currencyType: "REAL" | "VIRTUAL";
11660
12521
  price: number;
11661
12522
  currencyNamespace: string;
11662
- }[] | null | undefined;
11663
- boundItemIds?: string[] | null | undefined;
11664
- displayOrder?: number | null | undefined;
11665
- purchaseCondition?: {
11666
- conditionGroups?: {
12523
+ }, {
12524
+ discountPercentage?: number | null | undefined;
12525
+ discountAmount?: number | null | undefined;
12526
+ discountedPrice?: number | null | undefined;
12527
+ trialPrice?: number | null | undefined;
12528
+ purchaseAt?: string | null | undefined;
12529
+ expireAt?: string | null | undefined;
12530
+ discountPurchaseAt?: string | null | undefined;
12531
+ discountExpireAt?: string | null | undefined;
12532
+ currencyCode: string;
12533
+ currencyType: "REAL" | "VIRTUAL";
12534
+ price: number;
12535
+ currencyNamespace: string;
12536
+ }>, "many">>>;
12537
+ recurring: z.ZodNullable<z.ZodOptional<z.ZodObject<{
12538
+ cycle: z.ZodEnum<["WEEKLY", "MONTHLY", "QUARTERLY", "YEARLY"]>;
12539
+ fixedFreeDays: z.ZodNumber;
12540
+ fixedTrialCycles: z.ZodNumber;
12541
+ graceDays: z.ZodNumber;
12542
+ }, "strip", z.ZodTypeAny, {
12543
+ cycle: "WEEKLY" | "MONTHLY" | "QUARTERLY" | "YEARLY";
12544
+ fixedFreeDays: number;
12545
+ fixedTrialCycles: number;
12546
+ graceDays: number;
12547
+ }, {
12548
+ cycle: "WEEKLY" | "MONTHLY" | "QUARTERLY" | "YEARLY";
12549
+ fixedFreeDays: number;
12550
+ fixedTrialCycles: number;
12551
+ graceDays: number;
12552
+ }>>>;
12553
+ itemIds: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
12554
+ itemQty: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>>;
12555
+ boundItemIds: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
12556
+ tags: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
12557
+ features: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
12558
+ maxCountPerUser: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
12559
+ maxCount: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
12560
+ clazz: z.ZodNullable<z.ZodOptional<z.ZodString>>;
12561
+ boothName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
12562
+ displayOrder: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
12563
+ ext: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
12564
+ region: z.ZodString;
12565
+ language: z.ZodString;
12566
+ createdAt: z.ZodString;
12567
+ updatedAt: z.ZodString;
12568
+ purchaseCondition: z.ZodNullable<z.ZodOptional<z.ZodObject<{
12569
+ conditionGroups: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
12570
+ predicates: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
12571
+ name: z.ZodNullable<z.ZodOptional<z.ZodString>>;
12572
+ predicateType: z.ZodNullable<z.ZodOptional<z.ZodEnum<["EntitlementPredicate", "SeasonPassPredicate", "SeasonTierPredicate"]>>>;
12573
+ comparison: z.ZodNullable<z.ZodOptional<z.ZodEnum<["is", "isNot", "isGreaterThan", "isGreaterThanOrEqual", "isLessThan", "isLessThanOrEqual", "includes", "excludes"]>>>;
12574
+ anyOf: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
12575
+ values: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
12576
+ value: z.ZodNullable<z.ZodOptional<z.ZodString>>;
12577
+ }, "strip", z.ZodTypeAny, {
12578
+ name?: string | null | undefined;
12579
+ values?: string[] | null | undefined;
12580
+ value?: string | null | undefined;
12581
+ predicateType?: "EntitlementPredicate" | "SeasonPassPredicate" | "SeasonTierPredicate" | null | undefined;
12582
+ comparison?: "is" | "isNot" | "isGreaterThan" | "isGreaterThanOrEqual" | "isLessThan" | "isLessThanOrEqual" | "includes" | "excludes" | null | undefined;
12583
+ anyOf?: number | null | undefined;
12584
+ }, {
12585
+ name?: string | null | undefined;
12586
+ values?: string[] | null | undefined;
12587
+ value?: string | null | undefined;
12588
+ predicateType?: "EntitlementPredicate" | "SeasonPassPredicate" | "SeasonTierPredicate" | null | undefined;
12589
+ comparison?: "is" | "isNot" | "isGreaterThan" | "isGreaterThanOrEqual" | "isLessThan" | "isLessThanOrEqual" | "includes" | "excludes" | null | undefined;
12590
+ anyOf?: number | null | undefined;
12591
+ }>, "many">>>;
12592
+ operator: z.ZodNullable<z.ZodOptional<z.ZodEnum<["and", "or"]>>>;
12593
+ }, "strip", z.ZodTypeAny, {
11667
12594
  predicates?: {
11668
12595
  name?: string | null | undefined;
11669
12596
  values?: string[] | null | undefined;
@@ -11673,102 +12600,30 @@ declare const ItemInfo: z.ZodObject<{
11673
12600
  anyOf?: number | null | undefined;
11674
12601
  }[] | null | undefined;
11675
12602
  operator?: "and" | "or" | null | undefined;
11676
- }[] | null | undefined;
11677
- } | null | undefined;
11678
- fresh?: boolean | null | undefined;
11679
- localExt?: Record<string, any> | null | undefined;
11680
- name: string;
11681
- status: "ACTIVE" | "INACTIVE";
11682
- namespace: string;
11683
- createdAt: string;
11684
- updatedAt: string;
11685
- language: string;
11686
- title: string;
11687
- itemId: string;
11688
- itemType: "APP" | "COINS" | "INGAMEITEM" | "BUNDLE" | "CODE" | "SUBSCRIPTION" | "SEASON" | "MEDIA" | "OPTIONBOX" | "EXTENSION" | "LOOTBOX";
11689
- entitlementType: "DURABLE" | "CONSUMABLE";
11690
- region: string;
11691
- categoryPath: string;
11692
- }, {
11693
- appId?: string | null | undefined;
11694
- appType?: "GAME" | "SOFTWARE" | "DLC" | "DEMO" | null | undefined;
11695
- description?: string | null | undefined;
11696
- ext?: Record<string, any> | null | undefined;
11697
- tags?: string[] | null | undefined;
11698
- images?: {
11699
- as?: string | null | undefined;
11700
- caption?: string | null | undefined;
11701
- height: number;
11702
- width: number;
11703
- imageUrl: string;
11704
- smallImageUrl: string;
11705
- }[] | null | undefined;
11706
- useCount?: number | null | undefined;
11707
- seasonType?: "PASS" | "TIER" | null | undefined;
11708
- baseAppId?: string | null | undefined;
11709
- sku?: string | null | undefined;
11710
- listable?: boolean | null | undefined;
11711
- purchasable?: boolean | null | undefined;
11712
- stackable?: boolean | null | undefined;
11713
- thumbnailUrl?: string | null | undefined;
11714
- targetNamespace?: string | null | undefined;
11715
- targetCurrencyCode?: string | null | undefined;
11716
- targetItemId?: string | null | undefined;
11717
- recurring?: {
11718
- cycle: "WEEKLY" | "MONTHLY" | "QUARTERLY" | "YEARLY";
11719
- fixedFreeDays: number;
11720
- fixedTrialCycles: number;
11721
- graceDays: number;
11722
- } | null | undefined;
11723
- itemIds?: string[] | null | undefined;
11724
- itemQty?: Record<string, number> | null | undefined;
11725
- features?: string[] | null | undefined;
11726
- maxCountPerUser?: number | null | undefined;
11727
- maxCount?: number | null | undefined;
11728
- boothName?: string | null | undefined;
11729
- optionBoxConfig?: {
11730
- boxItems?: {
11731
- itemId?: string | null | undefined;
11732
- itemSku?: string | null | undefined;
11733
- itemType?: string | null | undefined;
11734
- count?: number | null | undefined;
11735
- }[] | null | undefined;
11736
- } | null | undefined;
11737
- lootBoxConfig?: {
11738
- rewardCount?: number | null | undefined;
11739
- rewards?: {
11740
- name?: string | null | undefined;
11741
- type?: "REWARD" | "REWARD_GROUP" | "PROBABILITY_GROUP" | null | undefined;
11742
- lootBoxItems?: {
11743
- itemId?: string | null | undefined;
11744
- itemSku?: string | null | undefined;
11745
- itemType?: string | null | undefined;
11746
- count?: number | null | undefined;
12603
+ }, {
12604
+ predicates?: {
12605
+ name?: string | null | undefined;
12606
+ values?: string[] | null | undefined;
12607
+ value?: string | null | undefined;
12608
+ predicateType?: "EntitlementPredicate" | "SeasonPassPredicate" | "SeasonTierPredicate" | null | undefined;
12609
+ comparison?: "is" | "isNot" | "isGreaterThan" | "isGreaterThanOrEqual" | "isLessThan" | "isLessThanOrEqual" | "includes" | "excludes" | null | undefined;
12610
+ anyOf?: number | null | undefined;
12611
+ }[] | null | undefined;
12612
+ operator?: "and" | "or" | null | undefined;
12613
+ }>, "many">>>;
12614
+ }, "strip", z.ZodTypeAny, {
12615
+ conditionGroups?: {
12616
+ predicates?: {
12617
+ name?: string | null | undefined;
12618
+ values?: string[] | null | undefined;
12619
+ value?: string | null | undefined;
12620
+ predicateType?: "EntitlementPredicate" | "SeasonPassPredicate" | "SeasonTierPredicate" | null | undefined;
12621
+ comparison?: "is" | "isNot" | "isGreaterThan" | "isGreaterThanOrEqual" | "isLessThan" | "isLessThanOrEqual" | "includes" | "excludes" | null | undefined;
12622
+ anyOf?: number | null | undefined;
11747
12623
  }[] | null | undefined;
11748
- weight?: number | null | undefined;
11749
- odds?: number | null | undefined;
12624
+ operator?: "and" | "or" | null | undefined;
11750
12625
  }[] | null | undefined;
11751
- rollFunction?: "DEFAULT" | "CUSTOM" | null | undefined;
11752
- } | null | undefined;
11753
- clazz?: string | null | undefined;
11754
- longDescription?: string | null | undefined;
11755
- regionData?: {
11756
- discountPercentage?: number | null | undefined;
11757
- discountAmount?: number | null | undefined;
11758
- discountedPrice?: number | null | undefined;
11759
- trialPrice?: number | null | undefined;
11760
- purchaseAt?: string | null | undefined;
11761
- expireAt?: string | null | undefined;
11762
- discountPurchaseAt?: string | null | undefined;
11763
- discountExpireAt?: string | null | undefined;
11764
- currencyCode: string;
11765
- currencyType: "REAL" | "VIRTUAL";
11766
- price: number;
11767
- currencyNamespace: string;
11768
- }[] | null | undefined;
11769
- boundItemIds?: string[] | null | undefined;
11770
- displayOrder?: number | null | undefined;
11771
- purchaseCondition?: {
12626
+ }, {
11772
12627
  conditionGroups?: {
11773
12628
  predicates?: {
11774
12629
  name?: string | null | undefined;
@@ -11780,216 +12635,45 @@ declare const ItemInfo: z.ZodObject<{
11780
12635
  }[] | null | undefined;
11781
12636
  operator?: "and" | "or" | null | undefined;
11782
12637
  }[] | null | undefined;
11783
- } | null | undefined;
11784
- fresh?: boolean | null | undefined;
11785
- localExt?: Record<string, any> | null | undefined;
11786
- name: string;
11787
- status: "ACTIVE" | "INACTIVE";
11788
- namespace: string;
11789
- createdAt: string;
11790
- updatedAt: string;
11791
- language: string;
11792
- title: string;
11793
- itemId: string;
11794
- itemType: "APP" | "COINS" | "INGAMEITEM" | "BUNDLE" | "CODE" | "SUBSCRIPTION" | "SEASON" | "MEDIA" | "OPTIONBOX" | "EXTENSION" | "LOOTBOX";
11795
- entitlementType: "DURABLE" | "CONSUMABLE";
11796
- region: string;
11797
- categoryPath: string;
11798
- }>;
11799
- interface ItemInfo extends z.TypeOf<typeof ItemInfo> {
11800
- }
11801
-
11802
- declare const ItemPagingSlicedResult: z.ZodObject<{
11803
- data: z.ZodArray<z.ZodObject<{
11804
- title: z.ZodString;
11805
- description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
11806
- longDescription: z.ZodNullable<z.ZodOptional<z.ZodString>>;
11807
- itemId: z.ZodString;
11808
- appId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
11809
- appType: z.ZodNullable<z.ZodOptional<z.ZodEnum<["GAME", "SOFTWARE", "DLC", "DEMO"]>>>;
11810
- seasonType: z.ZodNullable<z.ZodOptional<z.ZodEnum<["PASS", "TIER"]>>>;
11811
- baseAppId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
11812
- sku: z.ZodNullable<z.ZodOptional<z.ZodString>>;
11813
- namespace: z.ZodString;
11814
- name: z.ZodString;
11815
- entitlementType: z.ZodEnum<["DURABLE", "CONSUMABLE"]>;
11816
- useCount: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
11817
- stackable: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
11818
- categoryPath: z.ZodString;
11819
- status: z.ZodEnum<["ACTIVE", "INACTIVE"]>;
11820
- listable: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
11821
- purchasable: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
11822
- itemType: z.ZodEnum<["APP", "COINS", "INGAMEITEM", "BUNDLE", "CODE", "SUBSCRIPTION", "SEASON", "MEDIA", "OPTIONBOX", "EXTENSION", "LOOTBOX"]>;
11823
- targetNamespace: z.ZodNullable<z.ZodOptional<z.ZodString>>;
11824
- targetCurrencyCode: z.ZodNullable<z.ZodOptional<z.ZodString>>;
11825
- targetItemId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
11826
- images: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
11827
- as: z.ZodNullable<z.ZodOptional<z.ZodString>>;
11828
- caption: z.ZodNullable<z.ZodOptional<z.ZodString>>;
11829
- height: z.ZodNumber;
11830
- width: z.ZodNumber;
11831
- imageUrl: z.ZodString;
11832
- smallImageUrl: z.ZodString;
11833
- }, "strip", z.ZodTypeAny, {
11834
- as?: string | null | undefined;
11835
- caption?: string | null | undefined;
11836
- height: number;
11837
- width: number;
11838
- imageUrl: string;
11839
- smallImageUrl: string;
11840
- }, {
11841
- as?: string | null | undefined;
11842
- caption?: string | null | undefined;
11843
- height: number;
11844
- width: number;
11845
- imageUrl: string;
11846
- smallImageUrl: string;
11847
- }>, "many">>>;
11848
- thumbnailUrl: z.ZodNullable<z.ZodOptional<z.ZodString>>;
11849
- regionData: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
11850
- price: z.ZodNumber;
11851
- discountPercentage: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
11852
- discountAmount: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
11853
- discountedPrice: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
11854
- currencyCode: z.ZodString;
11855
- currencyType: z.ZodEnum<["REAL", "VIRTUAL"]>;
11856
- currencyNamespace: z.ZodString;
11857
- trialPrice: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
11858
- purchaseAt: z.ZodNullable<z.ZodOptional<z.ZodString>>;
11859
- expireAt: z.ZodNullable<z.ZodOptional<z.ZodString>>;
11860
- discountPurchaseAt: z.ZodNullable<z.ZodOptional<z.ZodString>>;
11861
- discountExpireAt: z.ZodNullable<z.ZodOptional<z.ZodString>>;
12638
+ }>>>;
12639
+ optionBoxConfig: z.ZodNullable<z.ZodOptional<z.ZodObject<{
12640
+ boxItems: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
12641
+ itemId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
12642
+ itemSku: z.ZodNullable<z.ZodOptional<z.ZodString>>;
12643
+ itemType: z.ZodNullable<z.ZodOptional<z.ZodString>>;
12644
+ count: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
11862
12645
  }, "strip", z.ZodTypeAny, {
11863
- discountPercentage?: number | null | undefined;
11864
- discountAmount?: number | null | undefined;
11865
- discountedPrice?: number | null | undefined;
11866
- trialPrice?: number | null | undefined;
11867
- purchaseAt?: string | null | undefined;
11868
- expireAt?: string | null | undefined;
11869
- discountPurchaseAt?: string | null | undefined;
11870
- discountExpireAt?: string | null | undefined;
11871
- currencyCode: string;
11872
- currencyType: "REAL" | "VIRTUAL";
11873
- price: number;
11874
- currencyNamespace: string;
12646
+ itemId?: string | null | undefined;
12647
+ itemSku?: string | null | undefined;
12648
+ itemType?: string | null | undefined;
12649
+ count?: number | null | undefined;
11875
12650
  }, {
11876
- discountPercentage?: number | null | undefined;
11877
- discountAmount?: number | null | undefined;
11878
- discountedPrice?: number | null | undefined;
11879
- trialPrice?: number | null | undefined;
11880
- purchaseAt?: string | null | undefined;
11881
- expireAt?: string | null | undefined;
11882
- discountPurchaseAt?: string | null | undefined;
11883
- discountExpireAt?: string | null | undefined;
11884
- currencyCode: string;
11885
- currencyType: "REAL" | "VIRTUAL";
11886
- price: number;
11887
- currencyNamespace: string;
12651
+ itemId?: string | null | undefined;
12652
+ itemSku?: string | null | undefined;
12653
+ itemType?: string | null | undefined;
12654
+ count?: number | null | undefined;
11888
12655
  }>, "many">>>;
11889
- recurring: z.ZodNullable<z.ZodOptional<z.ZodObject<{
11890
- cycle: z.ZodEnum<["WEEKLY", "MONTHLY", "QUARTERLY", "YEARLY"]>;
11891
- fixedFreeDays: z.ZodNumber;
11892
- fixedTrialCycles: z.ZodNumber;
11893
- graceDays: z.ZodNumber;
11894
- }, "strip", z.ZodTypeAny, {
11895
- cycle: "WEEKLY" | "MONTHLY" | "QUARTERLY" | "YEARLY";
11896
- fixedFreeDays: number;
11897
- fixedTrialCycles: number;
11898
- graceDays: number;
11899
- }, {
11900
- cycle: "WEEKLY" | "MONTHLY" | "QUARTERLY" | "YEARLY";
11901
- fixedFreeDays: number;
11902
- fixedTrialCycles: number;
11903
- graceDays: number;
11904
- }>>>;
11905
- itemIds: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
11906
- itemQty: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>>;
11907
- boundItemIds: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
11908
- tags: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
11909
- features: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
11910
- maxCountPerUser: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
11911
- maxCount: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
11912
- clazz: z.ZodNullable<z.ZodOptional<z.ZodString>>;
11913
- boothName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
11914
- displayOrder: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
11915
- ext: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
11916
- region: z.ZodString;
11917
- language: z.ZodString;
11918
- createdAt: z.ZodString;
11919
- updatedAt: z.ZodString;
11920
- purchaseCondition: z.ZodNullable<z.ZodOptional<z.ZodObject<{
11921
- conditionGroups: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
11922
- predicates: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
11923
- name: z.ZodNullable<z.ZodOptional<z.ZodString>>;
11924
- predicateType: z.ZodNullable<z.ZodOptional<z.ZodEnum<["EntitlementPredicate", "SeasonPassPredicate", "SeasonTierPredicate"]>>>;
11925
- comparison: z.ZodNullable<z.ZodOptional<z.ZodEnum<["is", "isNot", "isGreaterThan", "isGreaterThanOrEqual", "isLessThan", "isLessThanOrEqual", "includes", "excludes"]>>>;
11926
- anyOf: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
11927
- values: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
11928
- value: z.ZodNullable<z.ZodOptional<z.ZodString>>;
11929
- }, "strip", z.ZodTypeAny, {
11930
- name?: string | null | undefined;
11931
- values?: string[] | null | undefined;
11932
- value?: string | null | undefined;
11933
- predicateType?: "EntitlementPredicate" | "SeasonPassPredicate" | "SeasonTierPredicate" | null | undefined;
11934
- comparison?: "is" | "isNot" | "isGreaterThan" | "isGreaterThanOrEqual" | "isLessThan" | "isLessThanOrEqual" | "includes" | "excludes" | null | undefined;
11935
- anyOf?: number | null | undefined;
11936
- }, {
11937
- name?: string | null | undefined;
11938
- values?: string[] | null | undefined;
11939
- value?: string | null | undefined;
11940
- predicateType?: "EntitlementPredicate" | "SeasonPassPredicate" | "SeasonTierPredicate" | null | undefined;
11941
- comparison?: "is" | "isNot" | "isGreaterThan" | "isGreaterThanOrEqual" | "isLessThan" | "isLessThanOrEqual" | "includes" | "excludes" | null | undefined;
11942
- anyOf?: number | null | undefined;
11943
- }>, "many">>>;
11944
- operator: z.ZodNullable<z.ZodOptional<z.ZodEnum<["and", "or"]>>>;
11945
- }, "strip", z.ZodTypeAny, {
11946
- predicates?: {
11947
- name?: string | null | undefined;
11948
- values?: string[] | null | undefined;
11949
- value?: string | null | undefined;
11950
- predicateType?: "EntitlementPredicate" | "SeasonPassPredicate" | "SeasonTierPredicate" | null | undefined;
11951
- comparison?: "is" | "isNot" | "isGreaterThan" | "isGreaterThanOrEqual" | "isLessThan" | "isLessThanOrEqual" | "includes" | "excludes" | null | undefined;
11952
- anyOf?: number | null | undefined;
11953
- }[] | null | undefined;
11954
- operator?: "and" | "or" | null | undefined;
11955
- }, {
11956
- predicates?: {
11957
- name?: string | null | undefined;
11958
- values?: string[] | null | undefined;
11959
- value?: string | null | undefined;
11960
- predicateType?: "EntitlementPredicate" | "SeasonPassPredicate" | "SeasonTierPredicate" | null | undefined;
11961
- comparison?: "is" | "isNot" | "isGreaterThan" | "isGreaterThanOrEqual" | "isLessThan" | "isLessThanOrEqual" | "includes" | "excludes" | null | undefined;
11962
- anyOf?: number | null | undefined;
11963
- }[] | null | undefined;
11964
- operator?: "and" | "or" | null | undefined;
11965
- }>, "many">>>;
11966
- }, "strip", z.ZodTypeAny, {
11967
- conditionGroups?: {
11968
- predicates?: {
11969
- name?: string | null | undefined;
11970
- values?: string[] | null | undefined;
11971
- value?: string | null | undefined;
11972
- predicateType?: "EntitlementPredicate" | "SeasonPassPredicate" | "SeasonTierPredicate" | null | undefined;
11973
- comparison?: "is" | "isNot" | "isGreaterThan" | "isGreaterThanOrEqual" | "isLessThan" | "isLessThanOrEqual" | "includes" | "excludes" | null | undefined;
11974
- anyOf?: number | null | undefined;
11975
- }[] | null | undefined;
11976
- operator?: "and" | "or" | null | undefined;
11977
- }[] | null | undefined;
11978
- }, {
11979
- conditionGroups?: {
11980
- predicates?: {
11981
- name?: string | null | undefined;
11982
- values?: string[] | null | undefined;
11983
- value?: string | null | undefined;
11984
- predicateType?: "EntitlementPredicate" | "SeasonPassPredicate" | "SeasonTierPredicate" | null | undefined;
11985
- comparison?: "is" | "isNot" | "isGreaterThan" | "isGreaterThanOrEqual" | "isLessThan" | "isLessThanOrEqual" | "includes" | "excludes" | null | undefined;
11986
- anyOf?: number | null | undefined;
11987
- }[] | null | undefined;
11988
- operator?: "and" | "or" | null | undefined;
11989
- }[] | null | undefined;
11990
- }>>>;
11991
- optionBoxConfig: z.ZodNullable<z.ZodOptional<z.ZodObject<{
11992
- boxItems: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
12656
+ }, "strip", z.ZodTypeAny, {
12657
+ boxItems?: {
12658
+ itemId?: string | null | undefined;
12659
+ itemSku?: string | null | undefined;
12660
+ itemType?: string | null | undefined;
12661
+ count?: number | null | undefined;
12662
+ }[] | null | undefined;
12663
+ }, {
12664
+ boxItems?: {
12665
+ itemId?: string | null | undefined;
12666
+ itemSku?: string | null | undefined;
12667
+ itemType?: string | null | undefined;
12668
+ count?: number | null | undefined;
12669
+ }[] | null | undefined;
12670
+ }>>>;
12671
+ lootBoxConfig: z.ZodNullable<z.ZodOptional<z.ZodObject<{
12672
+ rewardCount: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
12673
+ rewards: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
12674
+ name: z.ZodNullable<z.ZodOptional<z.ZodString>>;
12675
+ type: z.ZodNullable<z.ZodOptional<z.ZodEnum<["REWARD", "REWARD_GROUP", "PROBABILITY_GROUP"]>>>;
12676
+ lootBoxItems: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
11993
12677
  itemId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
11994
12678
  itemSku: z.ZodNullable<z.ZodOptional<z.ZodString>>;
11995
12679
  itemType: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -12005,725 +12689,279 @@ declare const ItemPagingSlicedResult: z.ZodObject<{
12005
12689
  itemType?: string | null | undefined;
12006
12690
  count?: number | null | undefined;
12007
12691
  }>, "many">>>;
12692
+ weight: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
12693
+ odds: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
12008
12694
  }, "strip", z.ZodTypeAny, {
12009
- boxItems?: {
12010
- itemId?: string | null | undefined;
12011
- itemSku?: string | null | undefined;
12012
- itemType?: string | null | undefined;
12013
- count?: number | null | undefined;
12014
- }[] | null | undefined;
12015
- }, {
12016
- boxItems?: {
12017
- itemId?: string | null | undefined;
12018
- itemSku?: string | null | undefined;
12019
- itemType?: string | null | undefined;
12020
- count?: number | null | undefined;
12021
- }[] | null | undefined;
12022
- }>>>;
12023
- lootBoxConfig: z.ZodNullable<z.ZodOptional<z.ZodObject<{
12024
- rewardCount: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
12025
- rewards: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
12026
- name: z.ZodNullable<z.ZodOptional<z.ZodString>>;
12027
- type: z.ZodNullable<z.ZodOptional<z.ZodEnum<["REWARD", "REWARD_GROUP", "PROBABILITY_GROUP"]>>>;
12028
- lootBoxItems: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
12029
- itemId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
12030
- itemSku: z.ZodNullable<z.ZodOptional<z.ZodString>>;
12031
- itemType: z.ZodNullable<z.ZodOptional<z.ZodString>>;
12032
- count: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
12033
- }, "strip", z.ZodTypeAny, {
12034
- itemId?: string | null | undefined;
12035
- itemSku?: string | null | undefined;
12036
- itemType?: string | null | undefined;
12037
- count?: number | null | undefined;
12038
- }, {
12039
- itemId?: string | null | undefined;
12040
- itemSku?: string | null | undefined;
12041
- itemType?: string | null | undefined;
12042
- count?: number | null | undefined;
12043
- }>, "many">>>;
12044
- weight: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
12045
- odds: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
12046
- }, "strip", z.ZodTypeAny, {
12047
- name?: string | null | undefined;
12048
- type?: "REWARD" | "REWARD_GROUP" | "PROBABILITY_GROUP" | null | undefined;
12049
- lootBoxItems?: {
12050
- itemId?: string | null | undefined;
12051
- itemSku?: string | null | undefined;
12052
- itemType?: string | null | undefined;
12053
- count?: number | null | undefined;
12054
- }[] | null | undefined;
12055
- weight?: number | null | undefined;
12056
- odds?: number | null | undefined;
12057
- }, {
12058
- name?: string | null | undefined;
12059
- type?: "REWARD" | "REWARD_GROUP" | "PROBABILITY_GROUP" | null | undefined;
12060
- lootBoxItems?: {
12061
- itemId?: string | null | undefined;
12062
- itemSku?: string | null | undefined;
12063
- itemType?: string | null | undefined;
12064
- count?: number | null | undefined;
12065
- }[] | null | undefined;
12066
- weight?: number | null | undefined;
12067
- odds?: number | null | undefined;
12068
- }>, "many">>>;
12069
- rollFunction: z.ZodNullable<z.ZodOptional<z.ZodEnum<["DEFAULT", "CUSTOM"]>>>;
12070
- }, "strip", z.ZodTypeAny, {
12071
- rewardCount?: number | null | undefined;
12072
- rewards?: {
12073
- name?: string | null | undefined;
12074
- type?: "REWARD" | "REWARD_GROUP" | "PROBABILITY_GROUP" | null | undefined;
12075
- lootBoxItems?: {
12076
- itemId?: string | null | undefined;
12077
- itemSku?: string | null | undefined;
12078
- itemType?: string | null | undefined;
12079
- count?: number | null | undefined;
12080
- }[] | null | undefined;
12081
- weight?: number | null | undefined;
12082
- odds?: number | null | undefined;
12083
- }[] | null | undefined;
12084
- rollFunction?: "DEFAULT" | "CUSTOM" | null | undefined;
12085
- }, {
12086
- rewardCount?: number | null | undefined;
12087
- rewards?: {
12088
- name?: string | null | undefined;
12089
- type?: "REWARD" | "REWARD_GROUP" | "PROBABILITY_GROUP" | null | undefined;
12090
- lootBoxItems?: {
12091
- itemId?: string | null | undefined;
12092
- itemSku?: string | null | undefined;
12093
- itemType?: string | null | undefined;
12094
- count?: number | null | undefined;
12095
- }[] | null | undefined;
12096
- weight?: number | null | undefined;
12097
- odds?: number | null | undefined;
12098
- }[] | null | undefined;
12099
- rollFunction?: "DEFAULT" | "CUSTOM" | null | undefined;
12100
- }>>>;
12101
- fresh: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
12102
- localExt: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
12103
- }, "strip", z.ZodTypeAny, {
12104
- appId?: string | null | undefined;
12105
- appType?: "GAME" | "SOFTWARE" | "DLC" | "DEMO" | null | undefined;
12106
- description?: string | null | undefined;
12107
- ext?: Record<string, any> | null | undefined;
12108
- tags?: string[] | null | undefined;
12109
- images?: {
12110
- as?: string | null | undefined;
12111
- caption?: string | null | undefined;
12112
- height: number;
12113
- width: number;
12114
- imageUrl: string;
12115
- smallImageUrl: string;
12116
- }[] | null | undefined;
12117
- useCount?: number | null | undefined;
12118
- seasonType?: "PASS" | "TIER" | null | undefined;
12119
- baseAppId?: string | null | undefined;
12120
- sku?: string | null | undefined;
12121
- listable?: boolean | null | undefined;
12122
- purchasable?: boolean | null | undefined;
12123
- stackable?: boolean | null | undefined;
12124
- thumbnailUrl?: string | null | undefined;
12125
- targetNamespace?: string | null | undefined;
12126
- targetCurrencyCode?: string | null | undefined;
12127
- targetItemId?: string | null | undefined;
12128
- recurring?: {
12129
- cycle: "WEEKLY" | "MONTHLY" | "QUARTERLY" | "YEARLY";
12130
- fixedFreeDays: number;
12131
- fixedTrialCycles: number;
12132
- graceDays: number;
12133
- } | null | undefined;
12134
- itemIds?: string[] | null | undefined;
12135
- itemQty?: Record<string, number> | null | undefined;
12136
- features?: string[] | null | undefined;
12137
- maxCountPerUser?: number | null | undefined;
12138
- maxCount?: number | null | undefined;
12139
- boothName?: string | null | undefined;
12140
- optionBoxConfig?: {
12141
- boxItems?: {
12695
+ name?: string | null | undefined;
12696
+ type?: "REWARD" | "REWARD_GROUP" | "PROBABILITY_GROUP" | null | undefined;
12697
+ lootBoxItems?: {
12142
12698
  itemId?: string | null | undefined;
12143
12699
  itemSku?: string | null | undefined;
12144
12700
  itemType?: string | null | undefined;
12145
12701
  count?: number | null | undefined;
12146
12702
  }[] | null | undefined;
12147
- } | null | undefined;
12148
- lootBoxConfig?: {
12149
- rewardCount?: number | null | undefined;
12150
- rewards?: {
12151
- name?: string | null | undefined;
12152
- type?: "REWARD" | "REWARD_GROUP" | "PROBABILITY_GROUP" | null | undefined;
12153
- lootBoxItems?: {
12154
- itemId?: string | null | undefined;
12155
- itemSku?: string | null | undefined;
12156
- itemType?: string | null | undefined;
12157
- count?: number | null | undefined;
12158
- }[] | null | undefined;
12159
- weight?: number | null | undefined;
12160
- odds?: number | null | undefined;
12161
- }[] | null | undefined;
12162
- rollFunction?: "DEFAULT" | "CUSTOM" | null | undefined;
12163
- } | null | undefined;
12164
- clazz?: string | null | undefined;
12165
- longDescription?: string | null | undefined;
12166
- regionData?: {
12167
- discountPercentage?: number | null | undefined;
12168
- discountAmount?: number | null | undefined;
12169
- discountedPrice?: number | null | undefined;
12170
- trialPrice?: number | null | undefined;
12171
- purchaseAt?: string | null | undefined;
12172
- expireAt?: string | null | undefined;
12173
- discountPurchaseAt?: string | null | undefined;
12174
- discountExpireAt?: string | null | undefined;
12175
- currencyCode: string;
12176
- currencyType: "REAL" | "VIRTUAL";
12177
- price: number;
12178
- currencyNamespace: string;
12179
- }[] | null | undefined;
12180
- boundItemIds?: string[] | null | undefined;
12181
- displayOrder?: number | null | undefined;
12182
- purchaseCondition?: {
12183
- conditionGroups?: {
12184
- predicates?: {
12185
- name?: string | null | undefined;
12186
- values?: string[] | null | undefined;
12187
- value?: string | null | undefined;
12188
- predicateType?: "EntitlementPredicate" | "SeasonPassPredicate" | "SeasonTierPredicate" | null | undefined;
12189
- comparison?: "is" | "isNot" | "isGreaterThan" | "isGreaterThanOrEqual" | "isLessThan" | "isLessThanOrEqual" | "includes" | "excludes" | null | undefined;
12190
- anyOf?: number | null | undefined;
12191
- }[] | null | undefined;
12192
- operator?: "and" | "or" | null | undefined;
12193
- }[] | null | undefined;
12194
- } | null | undefined;
12195
- fresh?: boolean | null | undefined;
12196
- localExt?: Record<string, any> | null | undefined;
12197
- name: string;
12198
- status: "ACTIVE" | "INACTIVE";
12199
- namespace: string;
12200
- createdAt: string;
12201
- updatedAt: string;
12202
- language: string;
12203
- title: string;
12204
- itemId: string;
12205
- itemType: "APP" | "COINS" | "INGAMEITEM" | "BUNDLE" | "CODE" | "SUBSCRIPTION" | "SEASON" | "MEDIA" | "OPTIONBOX" | "EXTENSION" | "LOOTBOX";
12206
- entitlementType: "DURABLE" | "CONSUMABLE";
12207
- region: string;
12208
- categoryPath: string;
12209
- }, {
12210
- appId?: string | null | undefined;
12211
- appType?: "GAME" | "SOFTWARE" | "DLC" | "DEMO" | null | undefined;
12212
- description?: string | null | undefined;
12213
- ext?: Record<string, any> | null | undefined;
12214
- tags?: string[] | null | undefined;
12215
- images?: {
12216
- as?: string | null | undefined;
12217
- caption?: string | null | undefined;
12218
- height: number;
12219
- width: number;
12220
- imageUrl: string;
12221
- smallImageUrl: string;
12222
- }[] | null | undefined;
12223
- useCount?: number | null | undefined;
12224
- seasonType?: "PASS" | "TIER" | null | undefined;
12225
- baseAppId?: string | null | undefined;
12226
- sku?: string | null | undefined;
12227
- listable?: boolean | null | undefined;
12228
- purchasable?: boolean | null | undefined;
12229
- stackable?: boolean | null | undefined;
12230
- thumbnailUrl?: string | null | undefined;
12231
- targetNamespace?: string | null | undefined;
12232
- targetCurrencyCode?: string | null | undefined;
12233
- targetItemId?: string | null | undefined;
12234
- recurring?: {
12235
- cycle: "WEEKLY" | "MONTHLY" | "QUARTERLY" | "YEARLY";
12236
- fixedFreeDays: number;
12237
- fixedTrialCycles: number;
12238
- graceDays: number;
12239
- } | null | undefined;
12240
- itemIds?: string[] | null | undefined;
12241
- itemQty?: Record<string, number> | null | undefined;
12242
- features?: string[] | null | undefined;
12243
- maxCountPerUser?: number | null | undefined;
12244
- maxCount?: number | null | undefined;
12245
- boothName?: string | null | undefined;
12246
- optionBoxConfig?: {
12247
- boxItems?: {
12703
+ weight?: number | null | undefined;
12704
+ odds?: number | null | undefined;
12705
+ }, {
12706
+ name?: string | null | undefined;
12707
+ type?: "REWARD" | "REWARD_GROUP" | "PROBABILITY_GROUP" | null | undefined;
12708
+ lootBoxItems?: {
12248
12709
  itemId?: string | null | undefined;
12249
12710
  itemSku?: string | null | undefined;
12250
12711
  itemType?: string | null | undefined;
12251
12712
  count?: number | null | undefined;
12252
12713
  }[] | null | undefined;
12253
- } | null | undefined;
12254
- lootBoxConfig?: {
12255
- rewardCount?: number | null | undefined;
12256
- rewards?: {
12257
- name?: string | null | undefined;
12258
- type?: "REWARD" | "REWARD_GROUP" | "PROBABILITY_GROUP" | null | undefined;
12259
- lootBoxItems?: {
12260
- itemId?: string | null | undefined;
12261
- itemSku?: string | null | undefined;
12262
- itemType?: string | null | undefined;
12263
- count?: number | null | undefined;
12264
- }[] | null | undefined;
12265
- weight?: number | null | undefined;
12266
- odds?: number | null | undefined;
12714
+ weight?: number | null | undefined;
12715
+ odds?: number | null | undefined;
12716
+ }>, "many">>>;
12717
+ rollFunction: z.ZodNullable<z.ZodOptional<z.ZodEnum<["DEFAULT", "CUSTOM"]>>>;
12718
+ }, "strip", z.ZodTypeAny, {
12719
+ rewardCount?: number | null | undefined;
12720
+ rewards?: {
12721
+ name?: string | null | undefined;
12722
+ type?: "REWARD" | "REWARD_GROUP" | "PROBABILITY_GROUP" | null | undefined;
12723
+ lootBoxItems?: {
12724
+ itemId?: string | null | undefined;
12725
+ itemSku?: string | null | undefined;
12726
+ itemType?: string | null | undefined;
12727
+ count?: number | null | undefined;
12267
12728
  }[] | null | undefined;
12268
- rollFunction?: "DEFAULT" | "CUSTOM" | null | undefined;
12269
- } | null | undefined;
12270
- clazz?: string | null | undefined;
12271
- longDescription?: string | null | undefined;
12272
- regionData?: {
12273
- discountPercentage?: number | null | undefined;
12274
- discountAmount?: number | null | undefined;
12275
- discountedPrice?: number | null | undefined;
12276
- trialPrice?: number | null | undefined;
12277
- purchaseAt?: string | null | undefined;
12278
- expireAt?: string | null | undefined;
12279
- discountPurchaseAt?: string | null | undefined;
12280
- discountExpireAt?: string | null | undefined;
12281
- currencyCode: string;
12282
- currencyType: "REAL" | "VIRTUAL";
12283
- price: number;
12284
- currencyNamespace: string;
12729
+ weight?: number | null | undefined;
12730
+ odds?: number | null | undefined;
12285
12731
  }[] | null | undefined;
12286
- boundItemIds?: string[] | null | undefined;
12287
- displayOrder?: number | null | undefined;
12288
- purchaseCondition?: {
12289
- conditionGroups?: {
12290
- predicates?: {
12291
- name?: string | null | undefined;
12292
- values?: string[] | null | undefined;
12293
- value?: string | null | undefined;
12294
- predicateType?: "EntitlementPredicate" | "SeasonPassPredicate" | "SeasonTierPredicate" | null | undefined;
12295
- comparison?: "is" | "isNot" | "isGreaterThan" | "isGreaterThanOrEqual" | "isLessThan" | "isLessThanOrEqual" | "includes" | "excludes" | null | undefined;
12296
- anyOf?: number | null | undefined;
12297
- }[] | null | undefined;
12298
- operator?: "and" | "or" | null | undefined;
12299
- }[] | null | undefined;
12300
- } | null | undefined;
12301
- fresh?: boolean | null | undefined;
12302
- localExt?: Record<string, any> | null | undefined;
12303
- name: string;
12304
- status: "ACTIVE" | "INACTIVE";
12305
- namespace: string;
12306
- createdAt: string;
12307
- updatedAt: string;
12308
- language: string;
12309
- title: string;
12310
- itemId: string;
12311
- itemType: "APP" | "COINS" | "INGAMEITEM" | "BUNDLE" | "CODE" | "SUBSCRIPTION" | "SEASON" | "MEDIA" | "OPTIONBOX" | "EXTENSION" | "LOOTBOX";
12312
- entitlementType: "DURABLE" | "CONSUMABLE";
12313
- region: string;
12314
- categoryPath: string;
12315
- }>, "many">;
12316
- paging: z.ZodNullable<z.ZodOptional<z.ZodObject<{
12317
- previous: z.ZodNullable<z.ZodOptional<z.ZodString>>;
12318
- next: z.ZodNullable<z.ZodOptional<z.ZodString>>;
12319
- }, "strip", z.ZodTypeAny, {
12320
- next?: string | null | undefined;
12321
- previous?: string | null | undefined;
12732
+ rollFunction?: "DEFAULT" | "CUSTOM" | null | undefined;
12322
12733
  }, {
12323
- next?: string | null | undefined;
12324
- previous?: string | null | undefined;
12325
- }>>>;
12326
- }, "strip", z.ZodTypeAny, {
12327
- paging?: {
12328
- next?: string | null | undefined;
12329
- previous?: string | null | undefined;
12330
- } | null | undefined;
12331
- data: {
12332
- appId?: string | null | undefined;
12333
- appType?: "GAME" | "SOFTWARE" | "DLC" | "DEMO" | null | undefined;
12334
- description?: string | null | undefined;
12335
- ext?: Record<string, any> | null | undefined;
12336
- tags?: string[] | null | undefined;
12337
- images?: {
12338
- as?: string | null | undefined;
12339
- caption?: string | null | undefined;
12340
- height: number;
12341
- width: number;
12342
- imageUrl: string;
12343
- smallImageUrl: string;
12344
- }[] | null | undefined;
12345
- useCount?: number | null | undefined;
12346
- seasonType?: "PASS" | "TIER" | null | undefined;
12347
- baseAppId?: string | null | undefined;
12348
- sku?: string | null | undefined;
12349
- listable?: boolean | null | undefined;
12350
- purchasable?: boolean | null | undefined;
12351
- stackable?: boolean | null | undefined;
12352
- thumbnailUrl?: string | null | undefined;
12353
- targetNamespace?: string | null | undefined;
12354
- targetCurrencyCode?: string | null | undefined;
12355
- targetItemId?: string | null | undefined;
12356
- recurring?: {
12357
- cycle: "WEEKLY" | "MONTHLY" | "QUARTERLY" | "YEARLY";
12358
- fixedFreeDays: number;
12359
- fixedTrialCycles: number;
12360
- graceDays: number;
12361
- } | null | undefined;
12362
- itemIds?: string[] | null | undefined;
12363
- itemQty?: Record<string, number> | null | undefined;
12364
- features?: string[] | null | undefined;
12365
- maxCountPerUser?: number | null | undefined;
12366
- maxCount?: number | null | undefined;
12367
- boothName?: string | null | undefined;
12368
- optionBoxConfig?: {
12369
- boxItems?: {
12734
+ rewardCount?: number | null | undefined;
12735
+ rewards?: {
12736
+ name?: string | null | undefined;
12737
+ type?: "REWARD" | "REWARD_GROUP" | "PROBABILITY_GROUP" | null | undefined;
12738
+ lootBoxItems?: {
12370
12739
  itemId?: string | null | undefined;
12371
12740
  itemSku?: string | null | undefined;
12372
12741
  itemType?: string | null | undefined;
12373
12742
  count?: number | null | undefined;
12374
12743
  }[] | null | undefined;
12375
- } | null | undefined;
12376
- lootBoxConfig?: {
12377
- rewardCount?: number | null | undefined;
12378
- rewards?: {
12379
- name?: string | null | undefined;
12380
- type?: "REWARD" | "REWARD_GROUP" | "PROBABILITY_GROUP" | null | undefined;
12381
- lootBoxItems?: {
12382
- itemId?: string | null | undefined;
12383
- itemSku?: string | null | undefined;
12384
- itemType?: string | null | undefined;
12385
- count?: number | null | undefined;
12386
- }[] | null | undefined;
12387
- weight?: number | null | undefined;
12388
- odds?: number | null | undefined;
12389
- }[] | null | undefined;
12390
- rollFunction?: "DEFAULT" | "CUSTOM" | null | undefined;
12391
- } | null | undefined;
12392
- clazz?: string | null | undefined;
12393
- longDescription?: string | null | undefined;
12394
- regionData?: {
12395
- discountPercentage?: number | null | undefined;
12396
- discountAmount?: number | null | undefined;
12397
- discountedPrice?: number | null | undefined;
12398
- trialPrice?: number | null | undefined;
12399
- purchaseAt?: string | null | undefined;
12400
- expireAt?: string | null | undefined;
12401
- discountPurchaseAt?: string | null | undefined;
12402
- discountExpireAt?: string | null | undefined;
12403
- currencyCode: string;
12404
- currencyType: "REAL" | "VIRTUAL";
12405
- price: number;
12406
- currencyNamespace: string;
12744
+ weight?: number | null | undefined;
12745
+ odds?: number | null | undefined;
12407
12746
  }[] | null | undefined;
12408
- boundItemIds?: string[] | null | undefined;
12409
- displayOrder?: number | null | undefined;
12410
- purchaseCondition?: {
12411
- conditionGroups?: {
12412
- predicates?: {
12413
- name?: string | null | undefined;
12414
- values?: string[] | null | undefined;
12415
- value?: string | null | undefined;
12416
- predicateType?: "EntitlementPredicate" | "SeasonPassPredicate" | "SeasonTierPredicate" | null | undefined;
12417
- comparison?: "is" | "isNot" | "isGreaterThan" | "isGreaterThanOrEqual" | "isLessThan" | "isLessThanOrEqual" | "includes" | "excludes" | null | undefined;
12418
- anyOf?: number | null | undefined;
12419
- }[] | null | undefined;
12420
- operator?: "and" | "or" | null | undefined;
12421
- }[] | null | undefined;
12422
- } | null | undefined;
12423
- fresh?: boolean | null | undefined;
12424
- localExt?: Record<string, any> | null | undefined;
12425
- name: string;
12426
- status: "ACTIVE" | "INACTIVE";
12427
- namespace: string;
12428
- createdAt: string;
12429
- updatedAt: string;
12430
- language: string;
12431
- title: string;
12432
- itemId: string;
12433
- itemType: "APP" | "COINS" | "INGAMEITEM" | "BUNDLE" | "CODE" | "SUBSCRIPTION" | "SEASON" | "MEDIA" | "OPTIONBOX" | "EXTENSION" | "LOOTBOX";
12434
- entitlementType: "DURABLE" | "CONSUMABLE";
12435
- region: string;
12436
- categoryPath: string;
12437
- }[];
12438
- }, {
12439
- paging?: {
12440
- next?: string | null | undefined;
12441
- previous?: string | null | undefined;
12442
- } | null | undefined;
12443
- data: {
12444
- appId?: string | null | undefined;
12445
- appType?: "GAME" | "SOFTWARE" | "DLC" | "DEMO" | null | undefined;
12446
- description?: string | null | undefined;
12447
- ext?: Record<string, any> | null | undefined;
12448
- tags?: string[] | null | undefined;
12449
- images?: {
12450
- as?: string | null | undefined;
12451
- caption?: string | null | undefined;
12452
- height: number;
12453
- width: number;
12454
- imageUrl: string;
12455
- smallImageUrl: string;
12747
+ rollFunction?: "DEFAULT" | "CUSTOM" | null | undefined;
12748
+ }>>>;
12749
+ fresh: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
12750
+ localExt: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
12751
+ }, "strip", z.ZodTypeAny, {
12752
+ appId?: string | null | undefined;
12753
+ appType?: "GAME" | "SOFTWARE" | "DLC" | "DEMO" | null | undefined;
12754
+ description?: string | null | undefined;
12755
+ ext?: Record<string, any> | null | undefined;
12756
+ tags?: string[] | null | undefined;
12757
+ images?: {
12758
+ as?: string | null | undefined;
12759
+ caption?: string | null | undefined;
12760
+ height: number;
12761
+ width: number;
12762
+ imageUrl: string;
12763
+ smallImageUrl: string;
12764
+ }[] | null | undefined;
12765
+ useCount?: number | null | undefined;
12766
+ seasonType?: "PASS" | "TIER" | null | undefined;
12767
+ baseAppId?: string | null | undefined;
12768
+ sku?: string | null | undefined;
12769
+ listable?: boolean | null | undefined;
12770
+ purchasable?: boolean | null | undefined;
12771
+ stackable?: boolean | null | undefined;
12772
+ thumbnailUrl?: string | null | undefined;
12773
+ targetNamespace?: string | null | undefined;
12774
+ targetCurrencyCode?: string | null | undefined;
12775
+ targetItemId?: string | null | undefined;
12776
+ recurring?: {
12777
+ cycle: "WEEKLY" | "MONTHLY" | "QUARTERLY" | "YEARLY";
12778
+ fixedFreeDays: number;
12779
+ fixedTrialCycles: number;
12780
+ graceDays: number;
12781
+ } | null | undefined;
12782
+ itemIds?: string[] | null | undefined;
12783
+ itemQty?: Record<string, number> | null | undefined;
12784
+ features?: string[] | null | undefined;
12785
+ maxCountPerUser?: number | null | undefined;
12786
+ maxCount?: number | null | undefined;
12787
+ boothName?: string | null | undefined;
12788
+ optionBoxConfig?: {
12789
+ boxItems?: {
12790
+ itemId?: string | null | undefined;
12791
+ itemSku?: string | null | undefined;
12792
+ itemType?: string | null | undefined;
12793
+ count?: number | null | undefined;
12456
12794
  }[] | null | undefined;
12457
- useCount?: number | null | undefined;
12458
- seasonType?: "PASS" | "TIER" | null | undefined;
12459
- baseAppId?: string | null | undefined;
12460
- sku?: string | null | undefined;
12461
- listable?: boolean | null | undefined;
12462
- purchasable?: boolean | null | undefined;
12463
- stackable?: boolean | null | undefined;
12464
- thumbnailUrl?: string | null | undefined;
12465
- targetNamespace?: string | null | undefined;
12466
- targetCurrencyCode?: string | null | undefined;
12467
- targetItemId?: string | null | undefined;
12468
- recurring?: {
12469
- cycle: "WEEKLY" | "MONTHLY" | "QUARTERLY" | "YEARLY";
12470
- fixedFreeDays: number;
12471
- fixedTrialCycles: number;
12472
- graceDays: number;
12473
- } | null | undefined;
12474
- itemIds?: string[] | null | undefined;
12475
- itemQty?: Record<string, number> | null | undefined;
12476
- features?: string[] | null | undefined;
12477
- maxCountPerUser?: number | null | undefined;
12478
- maxCount?: number | null | undefined;
12479
- boothName?: string | null | undefined;
12480
- optionBoxConfig?: {
12481
- boxItems?: {
12795
+ } | null | undefined;
12796
+ lootBoxConfig?: {
12797
+ rewardCount?: number | null | undefined;
12798
+ rewards?: {
12799
+ name?: string | null | undefined;
12800
+ type?: "REWARD" | "REWARD_GROUP" | "PROBABILITY_GROUP" | null | undefined;
12801
+ lootBoxItems?: {
12482
12802
  itemId?: string | null | undefined;
12483
12803
  itemSku?: string | null | undefined;
12484
12804
  itemType?: string | null | undefined;
12485
12805
  count?: number | null | undefined;
12486
12806
  }[] | null | undefined;
12487
- } | null | undefined;
12488
- lootBoxConfig?: {
12489
- rewardCount?: number | null | undefined;
12490
- rewards?: {
12807
+ weight?: number | null | undefined;
12808
+ odds?: number | null | undefined;
12809
+ }[] | null | undefined;
12810
+ rollFunction?: "DEFAULT" | "CUSTOM" | null | undefined;
12811
+ } | null | undefined;
12812
+ clazz?: string | null | undefined;
12813
+ longDescription?: string | null | undefined;
12814
+ regionData?: {
12815
+ discountPercentage?: number | null | undefined;
12816
+ discountAmount?: number | null | undefined;
12817
+ discountedPrice?: number | null | undefined;
12818
+ trialPrice?: number | null | undefined;
12819
+ purchaseAt?: string | null | undefined;
12820
+ expireAt?: string | null | undefined;
12821
+ discountPurchaseAt?: string | null | undefined;
12822
+ discountExpireAt?: string | null | undefined;
12823
+ currencyCode: string;
12824
+ currencyType: "REAL" | "VIRTUAL";
12825
+ price: number;
12826
+ currencyNamespace: string;
12827
+ }[] | null | undefined;
12828
+ boundItemIds?: string[] | null | undefined;
12829
+ displayOrder?: number | null | undefined;
12830
+ purchaseCondition?: {
12831
+ conditionGroups?: {
12832
+ predicates?: {
12491
12833
  name?: string | null | undefined;
12492
- type?: "REWARD" | "REWARD_GROUP" | "PROBABILITY_GROUP" | null | undefined;
12493
- lootBoxItems?: {
12494
- itemId?: string | null | undefined;
12495
- itemSku?: string | null | undefined;
12496
- itemType?: string | null | undefined;
12497
- count?: number | null | undefined;
12498
- }[] | null | undefined;
12499
- weight?: number | null | undefined;
12500
- odds?: number | null | undefined;
12834
+ values?: string[] | null | undefined;
12835
+ value?: string | null | undefined;
12836
+ predicateType?: "EntitlementPredicate" | "SeasonPassPredicate" | "SeasonTierPredicate" | null | undefined;
12837
+ comparison?: "is" | "isNot" | "isGreaterThan" | "isGreaterThanOrEqual" | "isLessThan" | "isLessThanOrEqual" | "includes" | "excludes" | null | undefined;
12838
+ anyOf?: number | null | undefined;
12501
12839
  }[] | null | undefined;
12502
- rollFunction?: "DEFAULT" | "CUSTOM" | null | undefined;
12503
- } | null | undefined;
12504
- clazz?: string | null | undefined;
12505
- longDescription?: string | null | undefined;
12506
- regionData?: {
12507
- discountPercentage?: number | null | undefined;
12508
- discountAmount?: number | null | undefined;
12509
- discountedPrice?: number | null | undefined;
12510
- trialPrice?: number | null | undefined;
12511
- purchaseAt?: string | null | undefined;
12512
- expireAt?: string | null | undefined;
12513
- discountPurchaseAt?: string | null | undefined;
12514
- discountExpireAt?: string | null | undefined;
12515
- currencyCode: string;
12516
- currencyType: "REAL" | "VIRTUAL";
12517
- price: number;
12518
- currencyNamespace: string;
12840
+ operator?: "and" | "or" | null | undefined;
12519
12841
  }[] | null | undefined;
12520
- boundItemIds?: string[] | null | undefined;
12521
- displayOrder?: number | null | undefined;
12522
- purchaseCondition?: {
12523
- conditionGroups?: {
12524
- predicates?: {
12525
- name?: string | null | undefined;
12526
- values?: string[] | null | undefined;
12527
- value?: string | null | undefined;
12528
- predicateType?: "EntitlementPredicate" | "SeasonPassPredicate" | "SeasonTierPredicate" | null | undefined;
12529
- comparison?: "is" | "isNot" | "isGreaterThan" | "isGreaterThanOrEqual" | "isLessThan" | "isLessThanOrEqual" | "includes" | "excludes" | null | undefined;
12530
- anyOf?: number | null | undefined;
12531
- }[] | null | undefined;
12532
- operator?: "and" | "or" | null | undefined;
12533
- }[] | null | undefined;
12534
- } | null | undefined;
12535
- fresh?: boolean | null | undefined;
12536
- localExt?: Record<string, any> | null | undefined;
12537
- name: string;
12538
- status: "ACTIVE" | "INACTIVE";
12539
- namespace: string;
12540
- createdAt: string;
12541
- updatedAt: string;
12542
- language: string;
12543
- title: string;
12544
- itemId: string;
12545
- itemType: "APP" | "COINS" | "INGAMEITEM" | "BUNDLE" | "CODE" | "SUBSCRIPTION" | "SEASON" | "MEDIA" | "OPTIONBOX" | "EXTENSION" | "LOOTBOX";
12546
- entitlementType: "DURABLE" | "CONSUMABLE";
12547
- region: string;
12548
- categoryPath: string;
12549
- }[];
12550
- }>;
12551
- interface ItemPagingSlicedResult extends z.TypeOf<typeof ItemPagingSlicedResult> {
12552
- }
12553
-
12554
- declare const ItemPurchaseConditionValidateRequest: z.ZodObject<{
12555
- itemIds: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
12556
- }, "strip", z.ZodTypeAny, {
12557
- itemIds?: string[] | null | undefined;
12558
- }, {
12559
- itemIds?: string[] | null | undefined;
12560
- }>;
12561
- interface ItemPurchaseConditionValidateRequest extends z.TypeOf<typeof ItemPurchaseConditionValidateRequest> {
12562
- }
12563
-
12564
- declare const AppInfo: z.ZodObject<{
12565
- slogan: z.ZodNullable<z.ZodOptional<z.ZodString>>;
12566
- announcement: z.ZodNullable<z.ZodOptional<z.ZodString>>;
12567
- itemId: z.ZodString;
12568
- namespace: z.ZodString;
12569
- carousel: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
12570
- type: z.ZodNullable<z.ZodOptional<z.ZodEnum<["image", "video"]>>>;
12571
- videoSource: z.ZodNullable<z.ZodOptional<z.ZodEnum<["generic", "youtube", "vimeo"]>>>;
12572
- url: z.ZodNullable<z.ZodOptional<z.ZodString>>;
12573
- alt: z.ZodNullable<z.ZodOptional<z.ZodString>>;
12574
- thumbnailUrl: z.ZodNullable<z.ZodOptional<z.ZodString>>;
12575
- previewUrl: z.ZodNullable<z.ZodOptional<z.ZodString>>;
12576
- }, "strip", z.ZodTypeAny, {
12577
- type?: "image" | "video" | null | undefined;
12578
- url?: string | null | undefined;
12579
- thumbnailUrl?: string | null | undefined;
12580
- videoSource?: "generic" | "youtube" | "vimeo" | null | undefined;
12581
- alt?: string | null | undefined;
12582
- previewUrl?: string | null | undefined;
12583
- }, {
12584
- type?: "image" | "video" | null | undefined;
12585
- url?: string | null | undefined;
12586
- thumbnailUrl?: string | null | undefined;
12587
- videoSource?: "generic" | "youtube" | "vimeo" | null | undefined;
12588
- alt?: string | null | undefined;
12589
- previewUrl?: string | null | undefined;
12590
- }>, "many">>>;
12591
- developer: z.ZodNullable<z.ZodOptional<z.ZodString>>;
12592
- publisher: z.ZodNullable<z.ZodOptional<z.ZodString>>;
12593
- websiteUrl: z.ZodNullable<z.ZodOptional<z.ZodString>>;
12594
- forumUrl: z.ZodNullable<z.ZodOptional<z.ZodString>>;
12595
- platforms: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodEnum<["Windows", "MacOS", "Linux", "IOS", "Android"]>, "many">>>;
12596
- platformRequirements: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
12597
- label: z.ZodString;
12598
- osVersion: z.ZodNullable<z.ZodOptional<z.ZodString>>;
12599
- processor: z.ZodNullable<z.ZodOptional<z.ZodString>>;
12600
- ram: z.ZodNullable<z.ZodOptional<z.ZodString>>;
12601
- graphics: z.ZodNullable<z.ZodOptional<z.ZodString>>;
12602
- directXVersion: z.ZodNullable<z.ZodOptional<z.ZodString>>;
12603
- diskSpace: z.ZodNullable<z.ZodOptional<z.ZodString>>;
12604
- soundCard: z.ZodNullable<z.ZodOptional<z.ZodString>>;
12605
- additionals: z.ZodNullable<z.ZodOptional<z.ZodString>>;
12606
- }, "strip", z.ZodTypeAny, {
12607
- osVersion?: string | null | undefined;
12608
- processor?: string | null | undefined;
12609
- ram?: string | null | undefined;
12610
- graphics?: string | null | undefined;
12611
- directXVersion?: string | null | undefined;
12612
- diskSpace?: string | null | undefined;
12613
- soundCard?: string | null | undefined;
12614
- additionals?: string | null | undefined;
12615
- label: string;
12616
- }, {
12617
- osVersion?: string | null | undefined;
12618
- processor?: string | null | undefined;
12619
- ram?: string | null | undefined;
12620
- graphics?: string | null | undefined;
12621
- directXVersion?: string | null | undefined;
12622
- diskSpace?: string | null | undefined;
12623
- soundCard?: string | null | undefined;
12624
- additionals?: string | null | undefined;
12625
- label: string;
12626
- }>, "many">>>>;
12627
- primaryGenre: z.ZodNullable<z.ZodOptional<z.ZodEnum<["Action", "Adventure", "Casual", "FreeToPlay", "Indie", "MassivelyMultiplayer", "Racing", "RPG", "Simulation", "Sports", "Strategy"]>>>;
12628
- genres: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodEnum<["Action", "Adventure", "Casual", "FreeToPlay", "Indie", "MassivelyMultiplayer", "Racing", "RPG", "Simulation", "Sports", "Strategy"]>, "many">>>;
12629
- players: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodEnum<["Single", "Multi", "CrossPlatformMulti", "MMO", "Coop", "LocalCoop"]>, "many">>>;
12630
- releaseDate: z.ZodNullable<z.ZodOptional<z.ZodString>>;
12631
- region: z.ZodNullable<z.ZodOptional<z.ZodString>>;
12632
- language: z.ZodNullable<z.ZodOptional<z.ZodString>>;
12633
- }, "strip", z.ZodTypeAny, {
12634
- publisher?: string | null | undefined;
12635
- language?: string | null | undefined;
12636
- platforms?: ("Windows" | "MacOS" | "Linux" | "IOS" | "Android")[] | null | undefined;
12637
- region?: string | null | undefined;
12638
- slogan?: string | null | undefined;
12639
- announcement?: string | null | undefined;
12640
- carousel?: {
12641
- type?: "image" | "video" | null | undefined;
12642
- url?: string | null | undefined;
12643
- thumbnailUrl?: string | null | undefined;
12644
- videoSource?: "generic" | "youtube" | "vimeo" | null | undefined;
12645
- alt?: string | null | undefined;
12646
- previewUrl?: string | null | undefined;
12647
- }[] | null | undefined;
12648
- developer?: string | null | undefined;
12649
- websiteUrl?: string | null | undefined;
12650
- forumUrl?: string | null | undefined;
12651
- platformRequirements?: Record<string, {
12652
- osVersion?: string | null | undefined;
12653
- processor?: string | null | undefined;
12654
- ram?: string | null | undefined;
12655
- graphics?: string | null | undefined;
12656
- directXVersion?: string | null | undefined;
12657
- diskSpace?: string | null | undefined;
12658
- soundCard?: string | null | undefined;
12659
- additionals?: string | null | undefined;
12660
- label: string;
12661
- }[]> | null | undefined;
12662
- primaryGenre?: "Action" | "Adventure" | "Casual" | "FreeToPlay" | "Indie" | "MassivelyMultiplayer" | "Racing" | "RPG" | "Simulation" | "Sports" | "Strategy" | null | undefined;
12663
- genres?: ("Action" | "Adventure" | "Casual" | "FreeToPlay" | "Indie" | "MassivelyMultiplayer" | "Racing" | "RPG" | "Simulation" | "Sports" | "Strategy")[] | null | undefined;
12664
- players?: ("Single" | "Multi" | "CrossPlatformMulti" | "MMO" | "Coop" | "LocalCoop")[] | null | undefined;
12665
- releaseDate?: string | null | undefined;
12842
+ } | null | undefined;
12843
+ fresh?: boolean | null | undefined;
12844
+ localExt?: Record<string, any> | null | undefined;
12845
+ name: string;
12846
+ status: "ACTIVE" | "INACTIVE";
12666
12847
  namespace: string;
12848
+ createdAt: string;
12849
+ updatedAt: string;
12850
+ language: string;
12851
+ title: string;
12667
12852
  itemId: string;
12853
+ itemType: "APP" | "COINS" | "INGAMEITEM" | "BUNDLE" | "CODE" | "SUBSCRIPTION" | "SEASON" | "MEDIA" | "OPTIONBOX" | "EXTENSION" | "LOOTBOX";
12854
+ entitlementType: "DURABLE" | "CONSUMABLE";
12855
+ region: string;
12856
+ categoryPath: string;
12668
12857
  }, {
12669
- publisher?: string | null | undefined;
12670
- language?: string | null | undefined;
12671
- platforms?: ("Windows" | "MacOS" | "Linux" | "IOS" | "Android")[] | null | undefined;
12672
- region?: string | null | undefined;
12673
- slogan?: string | null | undefined;
12674
- announcement?: string | null | undefined;
12675
- carousel?: {
12676
- type?: "image" | "video" | null | undefined;
12677
- url?: string | null | undefined;
12678
- thumbnailUrl?: string | null | undefined;
12679
- videoSource?: "generic" | "youtube" | "vimeo" | null | undefined;
12680
- alt?: string | null | undefined;
12681
- previewUrl?: string | null | undefined;
12858
+ appId?: string | null | undefined;
12859
+ appType?: "GAME" | "SOFTWARE" | "DLC" | "DEMO" | null | undefined;
12860
+ description?: string | null | undefined;
12861
+ ext?: Record<string, any> | null | undefined;
12862
+ tags?: string[] | null | undefined;
12863
+ images?: {
12864
+ as?: string | null | undefined;
12865
+ caption?: string | null | undefined;
12866
+ height: number;
12867
+ width: number;
12868
+ imageUrl: string;
12869
+ smallImageUrl: string;
12682
12870
  }[] | null | undefined;
12683
- developer?: string | null | undefined;
12684
- websiteUrl?: string | null | undefined;
12685
- forumUrl?: string | null | undefined;
12686
- platformRequirements?: Record<string, {
12687
- osVersion?: string | null | undefined;
12688
- processor?: string | null | undefined;
12689
- ram?: string | null | undefined;
12690
- graphics?: string | null | undefined;
12691
- directXVersion?: string | null | undefined;
12692
- diskSpace?: string | null | undefined;
12693
- soundCard?: string | null | undefined;
12694
- additionals?: string | null | undefined;
12695
- label: string;
12696
- }[]> | null | undefined;
12697
- primaryGenre?: "Action" | "Adventure" | "Casual" | "FreeToPlay" | "Indie" | "MassivelyMultiplayer" | "Racing" | "RPG" | "Simulation" | "Sports" | "Strategy" | null | undefined;
12698
- genres?: ("Action" | "Adventure" | "Casual" | "FreeToPlay" | "Indie" | "MassivelyMultiplayer" | "Racing" | "RPG" | "Simulation" | "Sports" | "Strategy")[] | null | undefined;
12699
- players?: ("Single" | "Multi" | "CrossPlatformMulti" | "MMO" | "Coop" | "LocalCoop")[] | null | undefined;
12700
- releaseDate?: string | null | undefined;
12701
- namespace: string;
12702
- itemId: string;
12703
- }>;
12704
- interface AppInfo extends z.TypeOf<typeof AppInfo> {
12705
- }
12706
-
12707
- declare const ItemDynamicDataInfo: z.ZodObject<{
12708
- itemId: z.ZodString;
12709
- namespace: z.ZodString;
12710
- availableCount: z.ZodNumber;
12711
- userAvailableCount: z.ZodNumber;
12712
- userPurchaseLimit: z.ZodNumber;
12713
- }, "strip", z.ZodTypeAny, {
12714
- namespace: string;
12715
- itemId: string;
12716
- availableCount: number;
12717
- userAvailableCount: number;
12718
- userPurchaseLimit: number;
12719
- }, {
12871
+ useCount?: number | null | undefined;
12872
+ seasonType?: "PASS" | "TIER" | null | undefined;
12873
+ baseAppId?: string | null | undefined;
12874
+ sku?: string | null | undefined;
12875
+ listable?: boolean | null | undefined;
12876
+ purchasable?: boolean | null | undefined;
12877
+ stackable?: boolean | null | undefined;
12878
+ thumbnailUrl?: string | null | undefined;
12879
+ targetNamespace?: string | null | undefined;
12880
+ targetCurrencyCode?: string | null | undefined;
12881
+ targetItemId?: string | null | undefined;
12882
+ recurring?: {
12883
+ cycle: "WEEKLY" | "MONTHLY" | "QUARTERLY" | "YEARLY";
12884
+ fixedFreeDays: number;
12885
+ fixedTrialCycles: number;
12886
+ graceDays: number;
12887
+ } | null | undefined;
12888
+ itemIds?: string[] | null | undefined;
12889
+ itemQty?: Record<string, number> | null | undefined;
12890
+ features?: string[] | null | undefined;
12891
+ maxCountPerUser?: number | null | undefined;
12892
+ maxCount?: number | null | undefined;
12893
+ boothName?: string | null | undefined;
12894
+ optionBoxConfig?: {
12895
+ boxItems?: {
12896
+ itemId?: string | null | undefined;
12897
+ itemSku?: string | null | undefined;
12898
+ itemType?: string | null | undefined;
12899
+ count?: number | null | undefined;
12900
+ }[] | null | undefined;
12901
+ } | null | undefined;
12902
+ lootBoxConfig?: {
12903
+ rewardCount?: number | null | undefined;
12904
+ rewards?: {
12905
+ name?: string | null | undefined;
12906
+ type?: "REWARD" | "REWARD_GROUP" | "PROBABILITY_GROUP" | null | undefined;
12907
+ lootBoxItems?: {
12908
+ itemId?: string | null | undefined;
12909
+ itemSku?: string | null | undefined;
12910
+ itemType?: string | null | undefined;
12911
+ count?: number | null | undefined;
12912
+ }[] | null | undefined;
12913
+ weight?: number | null | undefined;
12914
+ odds?: number | null | undefined;
12915
+ }[] | null | undefined;
12916
+ rollFunction?: "DEFAULT" | "CUSTOM" | null | undefined;
12917
+ } | null | undefined;
12918
+ clazz?: string | null | undefined;
12919
+ longDescription?: string | null | undefined;
12920
+ regionData?: {
12921
+ discountPercentage?: number | null | undefined;
12922
+ discountAmount?: number | null | undefined;
12923
+ discountedPrice?: number | null | undefined;
12924
+ trialPrice?: number | null | undefined;
12925
+ purchaseAt?: string | null | undefined;
12926
+ expireAt?: string | null | undefined;
12927
+ discountPurchaseAt?: string | null | undefined;
12928
+ discountExpireAt?: string | null | undefined;
12929
+ currencyCode: string;
12930
+ currencyType: "REAL" | "VIRTUAL";
12931
+ price: number;
12932
+ currencyNamespace: string;
12933
+ }[] | null | undefined;
12934
+ boundItemIds?: string[] | null | undefined;
12935
+ displayOrder?: number | null | undefined;
12936
+ purchaseCondition?: {
12937
+ conditionGroups?: {
12938
+ predicates?: {
12939
+ name?: string | null | undefined;
12940
+ values?: string[] | null | undefined;
12941
+ value?: string | null | undefined;
12942
+ predicateType?: "EntitlementPredicate" | "SeasonPassPredicate" | "SeasonTierPredicate" | null | undefined;
12943
+ comparison?: "is" | "isNot" | "isGreaterThan" | "isGreaterThanOrEqual" | "isLessThan" | "isLessThanOrEqual" | "includes" | "excludes" | null | undefined;
12944
+ anyOf?: number | null | undefined;
12945
+ }[] | null | undefined;
12946
+ operator?: "and" | "or" | null | undefined;
12947
+ }[] | null | undefined;
12948
+ } | null | undefined;
12949
+ fresh?: boolean | null | undefined;
12950
+ localExt?: Record<string, any> | null | undefined;
12951
+ name: string;
12952
+ status: "ACTIVE" | "INACTIVE";
12720
12953
  namespace: string;
12954
+ createdAt: string;
12955
+ updatedAt: string;
12956
+ language: string;
12957
+ title: string;
12721
12958
  itemId: string;
12722
- availableCount: number;
12723
- userAvailableCount: number;
12724
- userPurchaseLimit: number;
12959
+ itemType: "APP" | "COINS" | "INGAMEITEM" | "BUNDLE" | "CODE" | "SUBSCRIPTION" | "SEASON" | "MEDIA" | "OPTIONBOX" | "EXTENSION" | "LOOTBOX";
12960
+ entitlementType: "DURABLE" | "CONSUMABLE";
12961
+ region: string;
12962
+ categoryPath: string;
12725
12963
  }>;
12726
- interface ItemDynamicDataInfo extends z.TypeOf<typeof ItemDynamicDataInfo> {
12964
+ interface ItemInfo extends z.TypeOf<typeof ItemInfo> {
12727
12965
  }
12728
12966
 
12729
12967
  declare const ItemInfoArray: z.ZodArray<z.ZodObject<{
@@ -14667,63 +14905,70 @@ declare class ItemApi {
14667
14905
  */
14668
14906
  constructor(conf: SDKRequestConfig, namespace: string, cache?: boolean);
14669
14907
  /**
14670
- * This API is used to get item by appId.
14908
+ * GET [/platform/public/namespaces/{namespace}/items/byAppId](api)
14909
+ *
14910
+ * This API is used to get item by appId
14911
+ *
14671
14912
  * Returns: the item with that appId
14672
14913
  */
14673
- getItemByAppId({ ...queryParams }: {
14914
+ getItemByAppId: ({ ...queryParams }: {
14674
14915
  storeId?: string;
14675
14916
  appId: string;
14676
14917
  language?: string;
14677
14918
  region?: string;
14678
- }): Promise<IResponseWithSync<ItemInfo>>;
14919
+ }) => Promise<IResponseWithSync<ItemInfo>>;
14679
14920
  /**
14680
- * Get item dynamic data for a published item.
14921
+ * GET [/platform/public/namespaces/{namespace}/items/{itemId}/dynamic](api)
14922
+ *
14923
+ * Get item dynamic data for a published item
14924
+ *
14681
14925
  * Returns: item dynamic data
14682
14926
  */
14683
- getItemByItemIdDynamic(itemId: string): Promise<IResponseWithSync<ItemDynamicDataInfo>>;
14684
- fetchItemsByCriteria({ queryParams }: {
14927
+ getItemByItemIdDynamic: (itemId: string) => Promise<IResponseWithSync<ItemDynamicDataInfo>>;
14928
+ /**
14929
+ * GET [/platform/public/namespaces/{namespace}/items/byCriteria](api)
14930
+ */
14931
+ fetchItemsByCriteria: ({ queryParams }: {
14685
14932
  queryParams?: Parameters<Item$['fetchNsItemsByCriteria']>[0];
14686
- }): Promise<IResponseWithSync<ItemPagingSlicedResult>>;
14933
+ }) => Promise<IResponseWithSync<ItemPagingSlicedResult>>;
14687
14934
  /**
14935
+ * GET [/platform/public/namespaces/{namespace}/items/locale/byIds](api)
14936
+ *
14688
14937
  * This API is used to query items by criteria within a store. If item not exist in specific region, default region item will return.
14938
+ *
14689
14939
  * Returns: the list of items
14690
14940
  */
14691
- getItemsByItemIds({ queryParams }: {
14692
- queryParams: QueryParamsItemIds;
14693
- }): Promise<IResponseWithSync<ItemInfoArray>>;
14694
- /**
14695
- * Fetch the items and convert it into a map of `itemId` and its item info
14696
- */
14697
- fetchAvailableItemInfoMap({ queryParams }: {
14941
+ getItemsByItemIds: ({ queryParams }: {
14698
14942
  queryParams: QueryParamsItemIds;
14699
- }): Promise<{
14700
- response: null;
14701
- error: IResponseError;
14702
- onSync: (syncedData: (_: IResponse<ItemInfoArray>) => void) => void;
14703
- } | {
14704
- error: null;
14705
- value: Map<string, ItemInfo>;
14706
- }>;
14943
+ }) => Promise<IResponseWithSync<ItemInfoArray>>;
14707
14944
  /**
14945
+ * GET [/platform/public/namespaces/{namespace}/items/{itemId}/locale](api)
14946
+ *
14708
14947
  * This API is used to get an item in locale. If item not exist in specific region, default region item will return.
14948
+ *
14709
14949
  * Returns: item data
14710
14950
  */
14711
- getItemsByItemIdLocale({ itemId, queryParams }: {
14951
+ getItemsByItemIdLocale: ({ itemId, queryParams }: {
14712
14952
  itemId: string;
14713
14953
  queryParams?: Parameters<Item$['fetchNsItemsByItemidLocale']>[1];
14714
- }): Promise<IResponseWithSync<PopulatedItemInfo>>;
14954
+ }) => Promise<IResponseWithSync<PopulatedItemInfo>>;
14715
14955
  /**
14956
+ * GET [/platform/public/namespaces/{namespace}/items/{itemId}/app/locale](api)
14957
+ *
14716
14958
  * This API is used to get an app in locale. If app not exist in specific region, default region app will return.
14959
+ *
14717
14960
  * Returns: app data
14718
14961
  */
14719
- getAppInfoByItemId({ itemId, queryParams }: {
14962
+ getAppInfoByItemId: ({ itemId, queryParams }: {
14720
14963
  itemId: string;
14721
- queryParams?: QueryParams;
14722
- }): Promise<IResponseWithSync<AppInfo>>;
14964
+ queryParams?: QueryParams | undefined;
14965
+ }) => Promise<IResponseWithSync<AppInfo>>;
14723
14966
  /**
14967
+ * POST [/platform/public/namespaces/{namespace}/items/purchase/conditions/validate](api)
14968
+ *
14724
14969
  * This API is used to validate user item purchase condition
14725
14970
  */
14726
- validatePurchaseCondition(data: ItemPurchaseConditionValidateRequest): Promise<IResponse<ItemPurchaseConditionValidateResultArray>>;
14971
+ validatePurchaseCondition: (data: ItemPurchaseConditionValidateRequest) => Promise<IResponse<ItemPurchaseConditionValidateResultArray>>;
14727
14972
  private newInstance;
14728
14973
  }
14729
14974
 
@@ -16425,33 +16670,97 @@ declare class OrderApi {
16425
16670
  */
16426
16671
  constructor(conf: SDKRequestConfig, namespace: string, cache?: boolean);
16427
16672
  /**
16428
- * Query user orders.
16429
- * Returns: get order
16673
+ * GET [/platform/public/namespaces/{namespace}/users/{userId}/orders](api)
16674
+ *
16675
+ * Query user orders
16676
+ *
16677
+ * Returns a paginated list of `OrderInfo`:
16678
+ * <pre lang="json">{
16679
+ orderNo,
16680
+ paymentOrderNo,
16681
+ namespace,
16682
+ userId,
16683
+ itemId,
16684
+ sandbox,
16685
+ quantity,
16686
+ price,
16687
+ discountedPrice,
16688
+ creationOptions
16689
+ paymentProvider: ('WALLET', 'XSOLLA', 'ADYEN', 'STRIPE', 'CHECKOUT', 'ALIPAY', 'WXPAY', 'PAYPAL'),
16690
+ paymentMethod,
16691
+ tax,
16692
+ vat,
16693
+ salesTax,
16694
+ paymentProviderFee,
16695
+ paymentMethodFee
16696
+ currency: CurrencySummary,
16697
+ paymentStationUrl,
16698
+ itemSnapshot,
16699
+ region,
16700
+ language,
16701
+ status: (
16702
+ 'INIT',
16703
+ 'CHARGED',
16704
+ 'CHARGEBACK',
16705
+ 'CHARGEBACK_REVERSED',
16706
+ 'FULFILLED',
16707
+ 'FULFILL_FAILED',
16708
+ 'REFUNDING',
16709
+ 'REFUNDED',
16710
+ 'REFUND_FAILED',
16711
+ 'CLOSED',
16712
+ 'DELETED'
16713
+ ),
16714
+ statusReason,
16715
+ createdTime,
16716
+ chargedTime,
16717
+ fulfilledTime,
16718
+ refundedTime,
16719
+ chargebackTime,
16720
+ chargebackReversedTime,
16721
+ expireTime,
16722
+ paymentRemainSeconds,
16723
+ ext,
16724
+ totalTax,
16725
+ totalPrice,
16726
+ subtotalPrice,
16727
+ createdAt,
16728
+ updatedAt
16729
+ }</pre>
16430
16730
  */
16431
16731
  getOrderList: ({ userId, queryParams }: {
16432
16732
  userId: string;
16433
16733
  queryParams?: Parameters<Order$['fetchNsUsersByUseridOrders']>[1];
16434
16734
  }) => Promise<IResponseWithSync<OrderPagingSlicedResult>>;
16435
16735
  /**
16736
+ * GET [/platform/public/namespaces/{namespace}/users/{userId}/orders/{orderNo}](api)
16737
+ *
16436
16738
  * Get user order.
16437
- * Returns: get order
16739
+ *
16740
+ * Returns: `OrderInfo`
16438
16741
  */
16439
16742
  getOrderByOrderNo: ({ userId, orderNo }: {
16440
16743
  userId: string;
16441
16744
  orderNo: string;
16442
16745
  }) => Promise<IResponseWithSync<OrderInfo>>;
16443
16746
  /**
16747
+ * PUT [/platform/public/namespaces/{namespace}/users/{userId}/orders/{orderNo}/cancel](api)
16748
+ *
16444
16749
  * Cancel user order.
16445
- * Returns: cancelled order
16750
+ *
16751
+ * Returns: cancelled `OrderInfo`
16446
16752
  */
16447
16753
  cancelOrder: ({ userId, orderNo }: {
16448
16754
  userId: string;
16449
16755
  orderNo: string;
16450
16756
  }) => Promise<IResponse<OrderInfo>>;
16451
16757
  /**
16758
+ * POST [/platform/public/namespaces/{namespace}/users/{userId}/orders](api)
16759
+ *
16452
16760
  * Create an order. The result contains the checkout link and payment token.
16453
16761
  * User with permission SANDBOX will create sandbox order that not real paid for xsolla/alipay and not validate price for wxpay.
16454
- * Returns: created order
16762
+ *
16763
+ * Returns: created `OrderInfo`
16455
16764
  */
16456
16765
  createOrder: ({ userId, data }: {
16457
16766
  userId: string;
@@ -16459,6 +16768,8 @@ declare class OrderApi {
16459
16768
  }) => Promise<IResponse<OrderInfo>>;
16460
16769
  /**
16461
16770
  * Fetch all information needed for a user to check the user's availability to purchase the item
16771
+ *
16772
+ * @internal
16462
16773
  */
16463
16774
  fetchPrePurchaseInformation: ({ userId, item }: {
16464
16775
  userId?: string | null | undefined;
@@ -16727,14 +17038,17 @@ declare class PaymentApi {
16727
17038
  */
16728
17039
  constructor(conf: SDKRequestConfig, namespace: string, cache?: boolean);
16729
17040
  /**
16730
- * Get payment accounts.\
16731
- * Returns: Payment account list
17041
+ * GET [/platform/public/namespaces/{namespace}/users/{userId}/payment/accounts](api)
17042
+ *
17043
+ * Get payment accounts.
17044
+ *
17045
+ * Returns: Payment account list `PaymentAccountArray`
16732
17046
  */
16733
17047
  getPaymentAccounts: (userId: string) => Promise<IResponseWithSync<PaymentAccountArray>>;
16734
17048
  /**
16735
- * Delete payment account.
17049
+ * DELETE [/platform/public/namespaces/{namespace}/users/{userId}/payment/accounts/{type}/{id}](api)
16736
17050
  *
16737
- * Other detail info:
17051
+ * Delete payment account.
16738
17052
  */
16739
17053
  deletePaymentAccount: ({ userId, type, id }: {
16740
17054
  userId: string;
@@ -16742,22 +17056,34 @@ declare class PaymentApi {
16742
17056
  id: string;
16743
17057
  }) => Promise<IResponse<unknown>>;
16744
17058
  /**
17059
+ * GET [/platform/public/namespaces/{namespace}/payment/orders/{paymentOrderNo}/info](api)
17060
+ *
16745
17061
  * Get payment order info.
16746
- * Returns: Payment order details
17062
+ *
17063
+ * Returns: Payment order details `PaymentOrderDetails`
16747
17064
  */
16748
17065
  getPaymentInfo: (paymentOrderNo: string) => Promise<IResponseWithSync<PaymentOrderDetails>>;
16749
17066
  /**
17067
+ * POST [/platform/public/namespaces/{namespace}/payment/orders/{paymentOrderNo}/pay](api)
17068
+ *
16750
17069
  * Do payment(For now, this only support checkout.com).
17070
+ *
16751
17071
  * Returns: Payment process result
16752
17072
  */
16753
17073
  processPaymentOrder: (paymentOrderNo: string, data: PaymentToken, queryParams: Parameters<PaymentStation$['postNsPaymentOrdersByPaymentordernoPay']>[2]) => Promise<IResponse<PaymentProcessResult>>;
16754
17074
  /**
17075
+ * GET [/platform/public/namespaces/{namespace}/payment/publicconfig](api)
17076
+ *
16755
17077
  * Get payment provider public config, at current only Strip provide public config.
17078
+ *
16756
17079
  * Returns: Public config
16757
17080
  */
16758
17081
  getPaymentProviderPublicConfig: (paymentProvider: Parameters<PaymentStation$['fetchNsPaymentPublicconfig']>[0]['paymentProvider'], region: string | null, sandbox?: boolean | null | undefined) => Promise<IResponseWithSync<unknown>>;
16759
17082
  /**
17083
+ * GET [/platform/public/namespaces/{namespace}/payment/orders/{paymentOrderNo}/status](api)
17084
+ *
16760
17085
  * Check payment order paid status.
17086
+ *
16761
17087
  * Returns: Payment order paid result
16762
17088
  */
16763
17089
  getPaymentOrderStatus: (paymentOrderNo: string) => Promise<IResponseWithSync<PaymentOrderPaidResult>>;
@@ -16767,12 +17093,18 @@ declare class PaymentApi {
16767
17093
  */
16768
17094
  getPaymentMethods: (paymentOrderNo: string | null) => Promise<IResponseWithSync<PaymentMethodArray>>;
16769
17095
  /**
17096
+ * GET [/platform/public/namespaces/{namespace}/payment/methods](api)
17097
+ *
16770
17098
  * Check and get a payment order's should pay tax.
17099
+ *
16771
17100
  * Returns: tax result
16772
17101
  */
16773
17102
  getPaymentTax: (paymentProvider: Parameters<PaymentStation$['fetchNsPaymentTax']>[0]['paymentProvider'], paymentOrderNo: string | null, zipCode?: string | null | undefined) => Promise<IResponseWithSync<TaxResult>>;
16774
17103
  /**
17104
+ * POST [/platform/public/namespaces/{namespace}/payment/link](api)
17105
+ *
16775
17106
  * Get payment url.
17107
+ *
16776
17108
  * Returns: Get payment link
16777
17109
  */
16778
17110
  createPaymentUrl: (data: PaymentUrlCreate) => Promise<IResponse<PaymentUrl>>;
@@ -19050,22 +19382,30 @@ declare class SubscriptionApi {
19050
19382
  */
19051
19383
  constructor(conf: SDKRequestConfig, namespace: string, cache?: boolean);
19052
19384
  /**
19385
+ * GET [/platform/public/namespaces/{namespace}/users/{userId}/subscriptions](api)
19386
+ *
19053
19387
  * Query user subscriptions.
19388
+ *
19054
19389
  * Returns: paginated subscription
19055
19390
  */
19056
- getUserSubscriptions({ userId, queryParams }: {
19391
+ getUserSubscriptions: ({ userId, queryParams }: {
19057
19392
  userId: string;
19058
19393
  queryParams?: Parameters<Subscription$['fetchNsUsersByUseridSubscriptions']>[1];
19059
- }): Promise<IResponseWithSync<SubscriptionPagingSlicedResult>>;
19394
+ }) => Promise<IResponseWithSync<SubscriptionPagingSlicedResult>>;
19060
19395
  /**
19396
+ * GET [/platform/public/namespaces/{namespace}/users/{userId}/subscriptions/{subscriptionId}](api)
19397
+ *
19061
19398
  * Get user subscription.
19399
+ *
19062
19400
  * Returns: subscription
19063
19401
  */
19064
- getUserSubscriptionBySubscriptionId({ userId, subscriptionId }: {
19402
+ getUserSubscriptionBySubscriptionId: ({ userId, subscriptionId }: {
19065
19403
  userId: string;
19066
19404
  subscriptionId: string;
19067
- }): Promise<IResponseWithSync<SubscriptionInfo>>;
19405
+ }) => Promise<IResponseWithSync<SubscriptionInfo>>;
19068
19406
  /**
19407
+ * POST [/platform/public/namespaces/{namespace}/users/{userId}/subscriptions](api)
19408
+ *
19069
19409
  * Subscribe a subscription. Support both real and virtual payment. Need go through payment flow using the paymentOrderNo if paymentFlowRequired true.
19070
19410
  * __ACTIVE USER subscription can't do subscribe again.__
19071
19411
  * __The next billing date will be X(default 4) hours before the current period ends if correctly subscribed.__
@@ -19073,44 +19413,53 @@ declare class SubscriptionApi {
19073
19413
  *
19074
19414
  * Returns: created subscription
19075
19415
  */
19076
- createSubscription({ userId, data }: {
19416
+ createSubscription: ({ userId, data }: {
19077
19417
  userId: string;
19078
19418
  data: SubscribeRequest;
19079
- }): Promise<IResponse<unknown>>;
19419
+ }) => Promise<IResponse<unknown>>;
19080
19420
  /**
19421
+ * GET [/platform/public/namespaces/{namespace}/users/{userId}/subscriptions/{subscriptionId}/history](api)
19422
+ *
19081
19423
  * Get user subscription billing histories.
19424
+ *
19082
19425
  * Returns: paginated subscription history
19083
19426
  */
19084
- getUserSubscriptionBillingHistory({ userId, subscriptionId, queryParams }: {
19427
+ getUserSubscriptionBillingHistory: ({ userId, subscriptionId, queryParams }: {
19085
19428
  userId: string;
19086
19429
  subscriptionId: string;
19087
19430
  queryParams?: {
19088
- excludeFree?: boolean | null;
19089
- offset?: number;
19090
- limit?: number;
19091
- };
19092
- }): Promise<IResponseWithSync<BillingHistoryPagingSlicedResult>>;
19431
+ excludeFree?: boolean | null | undefined;
19432
+ offset?: number | undefined;
19433
+ limit?: number | undefined;
19434
+ } | undefined;
19435
+ }) => Promise<IResponseWithSync<BillingHistoryPagingSlicedResult>>;
19093
19436
  /**
19437
+ * PUT [/platform/public/namespaces/{namespace}/users/{userId}/subscriptions/{subscriptionId}/billingAccount](api)
19438
+ *
19094
19439
  * Request to change a subscription billing account, this will guide user to payment station.
19095
19440
  * The actual change will happen at the 0 payment notification successfully handled.
19096
19441
  * Only ACTIVE USER subscription with real currency billing account can be changed.
19442
+ *
19097
19443
  * Returns: updated subscription
19098
19444
  */
19099
- updateUserSubscriptionPaymentMethod({ userId, subscriptionId }: {
19445
+ updateUserSubscriptionPaymentMethod: ({ userId, subscriptionId }: {
19100
19446
  userId: string;
19101
19447
  subscriptionId: string;
19102
- }): Promise<IResponse<SubscriptionInfo>>;
19448
+ }) => Promise<IResponse<SubscriptionInfo>>;
19103
19449
  /**
19450
+ * PUT [/platform/public/namespaces/{namespace}/users/{userId}/subscriptions/{subscriptionId}/cancel](api)
19451
+ *
19104
19452
  * Cancel a subscription, only ACTIVE subscription can be cancelled.
19105
19453
  * __Ensure successfully cancel, recommend at least 1 day before current period ends, otherwise it may be charging or charged.__
19106
19454
  * Set immediate true, the subscription will be terminated immediately, otherwise till the end of current billing cycle.
19455
+ *
19107
19456
  * Returns: cancelled subscription
19108
19457
  */
19109
- cancelUserSubscription({ userId, subscriptionId, data }: {
19458
+ cancelUserSubscription: ({ userId, subscriptionId, data }: {
19110
19459
  userId: string;
19111
19460
  subscriptionId: string;
19112
19461
  data: CancelRequest;
19113
- }): Promise<IResponse<SubscriptionInfo>>;
19462
+ }) => Promise<IResponse<SubscriptionInfo>>;
19114
19463
  private newInstance;
19115
19464
  }
19116
19465
 
@@ -19189,21 +19538,28 @@ declare class WalletApi {
19189
19538
  */
19190
19539
  constructor(conf: SDKRequestConfig, namespace: string, cache?: boolean);
19191
19540
  /**
19541
+ * GET [/platform/public/namespaces/{namespace}/users/me/wallets/{currencyCode}](api)
19542
+ *
19192
19543
  * get my wallet by currency code and namespace.
19193
19544
  *
19194
19545
  * Returns: wallet info
19546
+ *
19195
19547
  * Path's namespace:
19196
19548
  * - can be filled with __publisher namespace__ in order to get __publisher user wallet__
19197
19549
  * - can be filled with __game namespace__ in order to get __game user wallet__
19198
19550
  */
19199
19551
  getUserMeWallet: (currencyCode: string) => Promise<IResponseWithSync<PlatformWallet>>;
19200
19552
  /**
19553
+ * GET [/platform/public/namespaces/{namespace}/users/{userId}/wallets/{currencyCode}](api)
19554
+ *
19201
19555
  * Get a wallet by currency code.
19556
+ *
19202
19557
  * Returns: wallet info
19203
19558
  */
19204
19559
  getWalletByUserId: (userId: string, currencyCode: string) => Promise<IResponseWithSync<PlatformWallet>>;
19205
19560
  /**
19206
19561
  * get a map of wallet represented by its currency code
19562
+ * @internal
19207
19563
  */
19208
19564
  getWalletMap: ({ userId, currencyCodes }: {
19209
19565
  userId: string;
@@ -19218,27 +19574,6 @@ declare class WalletApi {
19218
19574
  private newInstance;
19219
19575
  }
19220
19576
 
19221
- declare const PLATFORM: {
19222
- LINUX: string;
19223
- WINDOWS: string;
19224
- };
19225
- declare const ARCH: {
19226
- [arch: string]: string;
19227
- };
19228
- declare const BUILDINFO_PLATFORM_ID: {
19229
- [platformId: string]: string;
19230
- };
19231
- interface PlatformMatchMap {
19232
- arch: string[];
19233
- platform: string;
19234
- targetPlatform: string[];
19235
- }
19236
- declare const AvailablePlatform: PlatformMatchMap[];
19237
- declare enum LogLevel {
19238
- 'DEBUG' = "DEBUG",
19239
- 'INFO' = "INFO"
19240
- }
19241
-
19242
19577
  declare type Overrides = {
19243
19578
  config?: SDKRequestConfig;
19244
19579
  cache?: boolean;