@accelbyte/sdk 0.2.0-beta.3 → 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.
@@ -5980,7 +5980,10 @@ class FileUploadApi {
5980
5980
  this.conf = conf;
5981
5981
  this.namespace = namespace;
5982
5982
  /**
5983
- * Generate an upload URL. It's valid for 10 minutes.<br/>Other detail info: <ul><li><i>Required permission</i>: resource = <b>"NAMESPACE:{namespace}:FILEUPLOAD"</b>, action=1 <b>(CREATE)</b></li><li><i>Action code</i>: 11101</li><li><i>Returns</i>: URL data</li></ul>
5983
+ * POST [/basic/v1/public/namespaces/{namespace}/folders/{folder}/files](api)
5984
+ *
5985
+ * Generate an upload URL. It's valid for 10 minutes.
5986
+ * Returns: URL data
5984
5987
  */
5985
5988
  this.generateFolderUploadFileUrl = ({ folder, queryParams }) => {
5986
5989
  return this.newInstance().postV1NsFoldersByFolderFiles(folder, queryParams);
@@ -6101,11 +6104,18 @@ class MiscApi {
6101
6104
  this.namespace = namespace;
6102
6105
  this.cache = cache;
6103
6106
  /**
6104
- * List countries.<br>Other detail info: <ul><li><i>Returns</i>: country code list</li></ul>
6107
+ * GET [/basic/v1/public/namespaces/{namespace}/misc/countries](api)
6108
+ *
6109
+ * _Returns_: country code list
6105
6110
  */
6106
6111
  this.getCountries = (lang) => {
6107
6112
  return this.newInstance().fetchV1NsMiscCountries({ lang });
6108
6113
  };
6114
+ /**
6115
+ * GET [/basic/v1/public/namespaces/{namespace}/misc/languages](api)
6116
+ *
6117
+ * _Returns_: language list
6118
+ */
6109
6119
  this.getLanguages = () => {
6110
6120
  return this.newInstance().fetchV1NsMiscLanguages();
6111
6121
  };
@@ -6195,7 +6205,13 @@ class NamespaceApi {
6195
6205
  this.namespace = namespace;
6196
6206
  this.cache = cache;
6197
6207
  /**
6198
- * Get all namespaces.<br>Other detail info: <ul><li><i>Required permission</i>: login user</li><li><i>Action code</i>: 11303</li><li><i>Returns</i>: list of namespaces</li></ul>
6208
+ * GET [/basic/v1/public/namespaces](api)
6209
+ *
6210
+ * Get all namespaces.
6211
+ *
6212
+ * - _Required permission_: login user
6213
+ * - _Action code_: 11303
6214
+ * - _Returns_: list of namespaces
6199
6215
  */
6200
6216
  this.getNamespaces = (activeOnly) => {
6201
6217
  return this.newInstance().fetchV1PublicNamespaces({ activeOnly });
@@ -6502,25 +6518,39 @@ class UserProfileApi {
6502
6518
  this.namespace = namespace;
6503
6519
  this.cache = cache;
6504
6520
  /**
6505
- * Get my profile<br><b>Client with user token can get user profile in target namespace</b><br>Other detail info: <ul><li><i>Required permission</i>: resource=<b>"NAMESPACE:{namespace}:PROFILE"</b>, action=2 <b>(READ)</b></li><li><i>Action code</i>: 11403</li><li><i>Returns</i>: user profile</li><li><i>Path's namespace</i> : <ul><li>can be filled with <b>publisher namespace</b> in order to get <b>publisher user profile</b></li><li>can be filled with <b>game namespace</b> in order to get <b>game user profile</b></li></ul></li><li><i>Language</i> : allowed format: en, en-US</li><li><i>Timezone</i> : IANA time zone, e.g. Asia/Shanghai</li></ul>
6521
+ * GET [/basic/v1/public/namespaces/{namespace}/users/me/profiles](api)
6522
+ *
6523
+ * Get my profile
6524
+ *
6525
+ * __Client with user token can get user profile in target namespace__
6506
6526
  */
6507
6527
  this.getUsersMeProfiles = () => {
6508
6528
  return this.newInstance().fetchV1NsUsersMeProfiles();
6509
6529
  };
6510
6530
  /**
6511
- * Create my profile.<br><b>Client with user token can create user profile in target namespace</b><br>Other detail info: <ul><li><i>Required permission</i>: resource=<b>"NAMESPACE:{namespace}:PROFILE"</b>, action=1 <b>(CREATE)</b></li><li><i>Action code</i>: 11401</li><li><i>Returns</i>: Created user profile</li><li><i>Path's namespace</i> : <ul><li>can be filled with <b>publisher namespace</b> in order to create <b>publisher user profile</b></li><li>can be filled with <b>game namespace</b> in order to create <b>game user profile</b></li></ul></li><li><i>Language</i> : allowed format: en, en-US</li><li><i>Country</i> : ISO3166-1 alpha-2 two letter, e.g. US </li><li><i>Timezone</i> : IANA time zone, e.g. Asia/Shanghai</li></ul>
6531
+ * POST [/basic/v1/public/namespaces/{namespace}/users/me/profiles](api)
6532
+ *
6533
+ * Create my profile.
6534
+ *
6535
+ * __Client with user token can create user profile in target namespace__
6512
6536
  */
6513
6537
  this.createUserMeProfile = (data) => {
6514
6538
  return this.newInstance().postV1NsUsersMeProfiles(data);
6515
6539
  };
6516
6540
  /**
6517
- * Update my profile.<br>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.<br>Other detail info: <ul><li><i>Required permission</i>: resource=<b>"NAMESPACE:{namespace}:PROFILE"</b>, action=4 <b>(UPDATE)</b></li><li><i>Action code</i>: 11402</li><li><i>Returns</i>: user profile</li><li><i>Path's namespace</i> : <ul><li>can be filled with <b>publisher namespace</b> in order to update <b>publisher user profile</b></li><li>can be filled with <b>game namespace</b> in order to update <b>game user profile</b></li></ul></li><li><i>Language</i> : allowed format: en, en-US</li><li><i>Timezone</i> : IANA time zone, e.g. Asia/Shanghai</li></ul>
6541
+ * PUT [/basic/v1/public/namespaces/{namespace}/users/me/profiles](api)
6542
+ *
6543
+ * Update my profile.
6544
+ * 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.
6518
6545
  */
6519
6546
  this.updateUserMeProfile = (data) => {
6520
6547
  return this.newInstance().putV1NsUsersMeProfiles(data);
6521
6548
  };
6522
6549
  /**
6523
- * Update partially custom attributes tied to user id.<br>Other detail info: <ul><li><i>Required permission</i>: resource=<b>"NAMESPACE:{namespace}:USER:{userId}:PROFILE"</b>, action=4 <b>(UPDATE)</b></li><li><i>Action code</i>: 11402</li><li><i>Request body</i> : allowed format: JSON object</li><li><i>Returns</i>: Updated custom attributes</li></ul>
6550
+ * PUT [/basic/v1/public/namespaces/{namespace}/users/{userId}/profiles/customAttributes](api)
6551
+ *
6552
+ * Update partially custom attributes tied to user id.
6553
+ * _Returns_: Updated custom attributes
6524
6554
  */
6525
6555
  this.updateUserCustomAttributes = (userId, data) => {
6526
6556
  return this.newInstance().putV1NsUsersByUseridProfilesCustomAttributes(userId, data);
@@ -6587,12 +6617,17 @@ class CachingApi {
6587
6617
  constructor(conf, namespace) {
6588
6618
  this.conf = conf;
6589
6619
  this.namespace = namespace;
6590
- }
6591
- /**
6592
- * This API is used to retrieve detailed diff cache.<br/>The response will contains list of diff cache files along with its download url.<br/><br/>Other detail info: <ul><li><i>Required permission</i>: login user</li></ul>
6593
- */
6594
- getDiffCache(sourceBuildId, destinationBuildId) {
6595
- return this.newInstance().fetchNsDiffCacheSourceBySourcebuildidDestByDestinationbuildid(sourceBuildId, destinationBuildId);
6620
+ /**
6621
+ * GET [/buildinfo/public/namespaces/{namespace}/diff/cache/source/{sourceBuildId}/dest/{destinationBuildId}](api)
6622
+ *
6623
+ * This API is used to retrieve detailed diff cache.
6624
+ * The response will contains list of diff cache files along with its download url.
6625
+ *
6626
+ * _Required permission_: login user
6627
+ */
6628
+ this.getDiffCache = (sourceBuildId, destinationBuildId) => {
6629
+ return this.newInstance().fetchNsDiffCacheSourceBySourcebuildidDestByDestinationbuildid(sourceBuildId, destinationBuildId);
6630
+ };
6596
6631
  }
6597
6632
  newInstance() {
6598
6633
  // this is expensive to cache, apply "cache: false"
@@ -6766,18 +6801,26 @@ class DlcApi {
6766
6801
  constructor(conf, namespace) {
6767
6802
  this.conf = conf;
6768
6803
  this.namespace = namespace;
6769
- }
6770
- /**
6771
- * Retrieve the list of DLC available on specific game. Use game's appId to query.<p>Other detail info: <ul><li><i>Returns</i>: list of DLC</li></ul>
6772
- */
6773
- getLatestDLCByGameAppId(appId) {
6774
- return this.newInstance().fetchNsDlcsLatestByGameAppIdByAppid(appId);
6775
- }
6776
- /**
6777
- * Retrieve the list of DLC available on specific game. Use DLC's appId to query.<p>Other detail info: <ul><li><i>Returns</i>: appId of game and list of its builds by platformId</li></ul>
6778
- */
6779
- getBaseGamesByDlcAppId(dlcAppId) {
6780
- return this.newInstance().fetchNsAppsLatestByDlcAppIdByDlcappid(dlcAppId);
6804
+ /**
6805
+ * GET [/buildinfo/public/namespaces/{namespace}/dlcs/latest/byGameAppId/{appId}](api)
6806
+ *
6807
+ * Retrieve the list of DLC available on specific game. Use game's appId to query.
6808
+ *
6809
+ * _Returns_: list of DLC
6810
+ */
6811
+ this.getLatestDLCByGameAppId = (appId) => {
6812
+ return this.newInstance().fetchNsDlcsLatestByGameAppIdByAppid(appId);
6813
+ };
6814
+ /**
6815
+ * GET [/buildinfo/public/namespaces/{namespace}/apps/latest/byDLCAppId/{dlcAppId}](api)
6816
+ *
6817
+ * Retrieve the list of DLC available on specific game. Use DLC's appId to query.
6818
+ *
6819
+ * _Returns_: appId of game and list of its builds by platformId
6820
+ */
6821
+ this.getBaseGamesByDlcAppId = (dlcAppId) => {
6822
+ return this.newInstance().fetchNsAppsLatestByDlcAppIdByDlcappid(dlcAppId);
6823
+ };
6781
6824
  }
6782
6825
  newInstance() {
6783
6826
  // this is be expensive to cache, apply "cache: false"
@@ -7144,56 +7187,76 @@ class DownloaderApi {
7144
7187
  constructor(conf, namespace) {
7145
7188
  this.conf = conf;
7146
7189
  this.namespace = namespace;
7147
- }
7148
- /**
7149
- * This API is used to get simple build manifest that contains list of current build in various platform.<p>Other detail info: <ul><li><i>Required permission</i>: login user</li><li><i>Returns</i>: build manifest</li></ul>
7150
- */
7151
- getAvailableBuilds(appId) {
7152
- return this.newInstance().fetchNsAvailablebuildsByAppid(appId);
7153
- }
7154
- /**
7155
- * This API is used to get build manifest of release version of the application.<p>Other detail info: <ul><li><i>Required permission</i>: login user</li><li><i>Returns</i>: build manifest</li></ul>
7156
- */
7157
- getBuildManifest(appId, platformId) {
7158
- const axios = Network.create({ ...this.conf, timeout: 1800000 });
7159
- return new Downloader$(axios, this.namespace, false).fetchNsV2UpdategameByAppidByPlatformid(appId, platformId);
7160
- }
7161
- /**
7162
- * This API is used to retrieve detailed diff cache.<br/>The response will contains list of diff cache files along with its download url.<br/><br/>Other detail info: <ul><li><i>Required permission</i>: login user</li></ul>
7163
- */
7164
- getDiffCache(sourceBuildId, destinationBuildId) {
7165
- return new Caching$(Network.create(this.conf), this.namespace, false).fetchNsDiffCacheSourceBySourcebuildidDestByDestinationbuildid(sourceBuildId, destinationBuildId);
7166
- }
7167
- /**
7168
- * Check which platform is available for the user to download the game
7169
- */
7170
- getMatchPlatform({ buildsAvailability, userPlatform }) {
7171
- const availablePlatformID = new Set();
7172
- for (const buildAvailability of buildsAvailability) {
7173
- if (buildAvailability.platformId) {
7174
- availablePlatformID.add(buildAvailability.platformId);
7190
+ /**
7191
+ * GET [/buildinfo/public/namespaces/{namespace}/availablebuilds/{appId}](api)
7192
+ *
7193
+ * This API is used to get simple build manifest that contains list of current build in various platform.
7194
+ *
7195
+ * - _Required permission_: login user
7196
+ * - _Returns_: build manifest
7197
+ */
7198
+ this.getAvailableBuilds = (appId) => {
7199
+ return this.newInstance().fetchNsAvailablebuildsByAppid(appId);
7200
+ };
7201
+ /**
7202
+ * GET [/buildinfo/public/namespaces/{namespace}/v2/updategame/{appId}/{platformId}](api)
7203
+ *
7204
+ * This API is used to get build manifest of release version of the application.
7205
+ *
7206
+ * - _Required permission_: login user
7207
+ * - _Returns_: build manifest
7208
+ */
7209
+ this.getBuildManifest = (appId, platformId) => {
7210
+ const axios = Network.create({ ...this.conf, timeout: 1800000 });
7211
+ return new Downloader$(axios, this.namespace, false).fetchNsV2UpdategameByAppidByPlatformid(appId, platformId);
7212
+ };
7213
+ /**
7214
+ * GET [/buildinfo/public/namespaces/{namespace}/diff/cache/source/{sourceBuildId}/dest/{destinationBuildId}](api)
7215
+ *
7216
+ * This API is used to retrieve detailed diff cache.
7217
+ * The response will contains list of diff cache files along with its download url.
7218
+ *
7219
+ * - _Required permission_: login user
7220
+ */
7221
+ this.getDiffCache = (sourceBuildId, destinationBuildId) => {
7222
+ return new Caching$(Network.create(this.conf), this.namespace, false).fetchNsDiffCacheSourceBySourcebuildidDestByDestinationbuildid(sourceBuildId, destinationBuildId);
7223
+ };
7224
+ /**
7225
+ * Check which platform is available for the user to download the game
7226
+ *
7227
+ * @internal
7228
+ */
7229
+ this.getMatchPlatform = ({ buildsAvailability, userPlatform }) => {
7230
+ const availablePlatformID = new Set();
7231
+ for (const buildAvailability of buildsAvailability) {
7232
+ if (buildAvailability.platformId) {
7233
+ availablePlatformID.add(buildAvailability.platformId);
7234
+ }
7175
7235
  }
7176
- }
7177
- const currentMatchPlatform = this.getCurrentPlatform(userPlatform);
7178
- if (currentMatchPlatform) {
7179
- for (const key in currentMatchPlatform.targetPlatform) {
7180
- if (availablePlatformID.has(currentMatchPlatform.targetPlatform[key])) {
7181
- return currentMatchPlatform.targetPlatform[key];
7236
+ const currentMatchPlatform = this.getCurrentPlatform(userPlatform);
7237
+ if (currentMatchPlatform) {
7238
+ for (const key in currentMatchPlatform.targetPlatform) {
7239
+ if (availablePlatformID.has(currentMatchPlatform.targetPlatform[key])) {
7240
+ return currentMatchPlatform.targetPlatform[key];
7241
+ }
7182
7242
  }
7183
7243
  }
7184
- }
7185
- return null;
7244
+ return null;
7245
+ };
7246
+ /**
7247
+ * @internal
7248
+ */
7249
+ this.getCurrentPlatform = (userPlatform) => {
7250
+ const devicePlatform = userPlatform.platform;
7251
+ const deviceArch = userPlatform.arch;
7252
+ const currentPlatform = AvailablePlatform.find((platform) => platform.platform === devicePlatform && platform.arch.includes(deviceArch));
7253
+ return currentPlatform;
7254
+ };
7186
7255
  }
7187
7256
  newInstance() {
7188
7257
  // this is be expensive to cache, apply "cache: false"
7189
7258
  return new Downloader$(Network.create(this.conf), this.namespace, false);
7190
7259
  }
7191
- getCurrentPlatform(userPlatform) {
7192
- const devicePlatform = userPlatform.platform;
7193
- const deviceArch = userPlatform.arch;
7194
- const currentPlatform = AvailablePlatform.find((platform) => platform.platform === devicePlatform && platform.arch.includes(deviceArch));
7195
- return currentPlatform;
7196
- }
7197
7260
  }
7198
7261
 
7199
7262
  /*
@@ -7297,16 +7360,17 @@ class EventApi {
7297
7360
  this.namespace = namespace;
7298
7361
  this.cache = cache;
7299
7362
  /**
7300
- * <p>Available Type: </p>
7301
- * <ul>
7302
- * <li>email</li>
7303
- * <li>password</li>
7304
- * <li>displayname</li>
7305
- * <li>dateofbirth</li>
7306
- * <li>country</li>
7307
- * <li>language</li>
7308
- * </ul>
7309
- * <p>Requires a valid user access token</p>
7363
+ * GET [/event/v2/public/namespaces/{namespace}/users/{userId}/edithistory](api)
7364
+ *
7365
+ * Available Type:
7366
+ * - email
7367
+ * - password
7368
+ * - displayname
7369
+ * - dateofbirth
7370
+ * - country
7371
+ * - language
7372
+ *
7373
+ * _Requires a valid user access token_
7310
7374
  */
7311
7375
  this.getAccountHistoryByUserId = ({ userId, queryParams }) => {
7312
7376
  return this.newInstance().fetchEventV2NsUsersByUseridEdithistory(userId, queryParams);
@@ -7400,27 +7464,36 @@ class DataDeletionApi {
7400
7464
  this.conf = conf;
7401
7465
  this.namespace = namespace;
7402
7466
  this.cache = cache;
7403
- }
7404
- /**
7405
- * <p>Fetch the status to check whether or not a user's account is on a deletion status</p>
7406
- * <p>Requires valid user access token</p>
7407
- */
7408
- getGdprDeletionStatus(userId) {
7409
- return this.newInstance().fetchGdprNsUsersByUseridDeletionsStatus(userId);
7410
- }
7411
- /**
7412
- * <p>Request an account's deletion</p>
7413
- * <p>Requires valid user access token and password
7414
- */
7415
- requestAccountDeletion({ userId, data }) {
7416
- return this.newInstance().postGdprNsUsersByUseridDeletions(userId, data);
7417
- }
7418
- /**
7419
- * <p>Cancel a deletion request</p>
7420
- * <p>Requires valid user access token</p>
7421
- */
7422
- cancelAccountDeletion(userId) {
7423
- return this.newInstance().deleteGdprNsUsersByUseridDeletions(userId);
7467
+ /**
7468
+ * GET [/gdpr/public/namespaces/{namespace}/users/{userId}/deletions/status](api)
7469
+ *
7470
+ * Fetch the status to check whether or not a user's account is on a deletion status
7471
+ *
7472
+ * _Requires a valid user access token_
7473
+ */
7474
+ this.getGdprDeletionStatus = (userId) => {
7475
+ return this.newInstance().fetchGdprNsUsersByUseridDeletionsStatus(userId);
7476
+ };
7477
+ /**
7478
+ * POST [/gdpr/public/namespaces/{namespace}/users/{userId}/deletions](api)
7479
+ *
7480
+ * Request an account's deletion
7481
+ *
7482
+ * _Requires a valid user access token and password_
7483
+ */
7484
+ this.requestAccountDeletion = ({ userId, data }) => {
7485
+ return this.newInstance().postGdprNsUsersByUseridDeletions(userId, data);
7486
+ };
7487
+ /**
7488
+ * DELETE [/gdpr/public/namespaces/{namespace}/users/{userId}/deletions](api)
7489
+ *
7490
+ * Cancel a deletion request
7491
+ *
7492
+ * _Requires a valid user access token_
7493
+ */
7494
+ this.cancelAccountDeletion = (userId) => {
7495
+ return this.newInstance().deleteGdprNsUsersByUseridDeletions(userId);
7496
+ };
7424
7497
  }
7425
7498
  newInstance() {
7426
7499
  return new DataDeletion$(Network.create(this.conf), this.namespace, this.cache);
@@ -7541,34 +7614,46 @@ class DataRetrievalApi {
7541
7614
  this.conf = conf;
7542
7615
  this.namespace = namespace;
7543
7616
  this.cache = cache;
7544
- }
7545
- /**
7546
- * <p>Fetch personal data request list</p>
7547
- * <p>Requires valid user access token</p>
7548
- */
7549
- getGdprDataRequestList({ userId, queryParams }) {
7550
- return this.newInstance().fetchGdprNsUsersByUseridRequests(userId, queryParams);
7551
- }
7552
- /**
7553
- * <p>Create a request for personal data download</p>
7554
- * <p>Requires valid user access token</p>
7555
- */
7556
- requestGdprData({ userId, data }) {
7557
- return this.newInstance().postGdprNsUsersByUseridRequests(userId, data);
7558
- }
7559
- /**
7560
- * <p>Cancel the request for personal data dowwnload</p>
7561
- * <p>Requires valid user access token</p>
7562
- */
7563
- cancelGdprDataRequest({ userId, requestDate }) {
7564
- return this.newInstance().deleteGdprNsUsersByUseridRequestsByRequestdate(userId, requestDate);
7565
- }
7566
- /**
7567
- * <p>Create a download URL for personal data request</p>
7568
- * <p>Requires valid user access token</p>
7569
- */
7570
- requestGdprDataDownloadUrl({ userId, requestDate, data }) {
7571
- return this.newInstance().postGdprNsUsersByUseridRequestsByRequestdateGenerate(userId, requestDate, data);
7617
+ /**
7618
+ * GET [/gdpr/public/namespaces/{namespace}/users/{userId}/requests](api)
7619
+ *
7620
+ * Fetch personal data request list
7621
+ *
7622
+ * _Requires a valid user access token_
7623
+ */
7624
+ this.getGdprDataRequestList = ({ userId, queryParams }) => {
7625
+ return this.newInstance().fetchGdprNsUsersByUseridRequests(userId, queryParams);
7626
+ };
7627
+ /**
7628
+ * POST [/gdpr/public/namespaces/{namespace}/users/{userId}/requests](api)
7629
+ *
7630
+ * Create a request for personal data download
7631
+ *
7632
+ * _Requires a valid user access token_
7633
+ */
7634
+ this.requestGdprData = ({ userId, data }) => {
7635
+ return this.newInstance().postGdprNsUsersByUseridRequests(userId, data);
7636
+ };
7637
+ /**
7638
+ * DELETE [/gdpr/public/namespaces/{namespace}/users/{userId}/requests/{requestDate}](api)
7639
+ *
7640
+ * Cancel the request for personal data download
7641
+ *
7642
+ * _Requires a valid user access token_
7643
+ */
7644
+ this.cancelGdprDataRequest = ({ userId, requestDate }) => {
7645
+ return this.newInstance().deleteGdprNsUsersByUseridRequestsByRequestdate(userId, requestDate);
7646
+ };
7647
+ /**
7648
+ * POST [/gdpr/public/namespaces/{namespace}/users/{userId}/requests/{requestDate}/generate](api)
7649
+ *
7650
+ * Create a download URL for personal data request
7651
+ *
7652
+ * _Requires a valid user access token_
7653
+ */
7654
+ this.requestGdprDataDownloadUrl = ({ userId, requestDate, data }) => {
7655
+ return this.newInstance().postGdprNsUsersByUseridRequestsByRequestdateGenerate(userId, requestDate, data);
7656
+ };
7572
7657
  }
7573
7658
  newInstance() {
7574
7659
  return new DataRetrieval$(Network.create(this.conf), this.namespace, this.cache);
@@ -7661,10 +7746,11 @@ class InputValidationsApi {
7661
7746
  this.namespace = namespace;
7662
7747
  this.cache = cache;
7663
7748
  /**
7664
- * <p>No role required</p>
7665
- * <p>This method is to get list of input validation configuration.</p>
7666
- * <p><code>regex</code> parameter will be returned if <code>isCustomRegex</code> is true. Otherwise, it will be empty.</p>
7749
+ * GET [/iam/v3/public/inputValidations](api)
7667
7750
  *
7751
+ * No role required
7752
+ * This method is to get list of input validation configuration.
7753
+ * `regex` parameter will be returned if `isCustomRegex` is true. Otherwise, it will be empty.
7668
7754
  */
7669
7755
  this.getValidations = (languageCode, defaultOnEmpty) => {
7670
7756
  const queryParams = { languageCode, defaultOnEmpty };
@@ -16639,7 +16725,7 @@ class LoginErrorUnknown extends Error {
16639
16725
  }
16640
16726
  class LoginErrorUnmatchedState extends Error {
16641
16727
  }
16642
- class UserAuthorization {
16728
+ class UserAuthorizationApi {
16643
16729
  /**
16644
16730
  * @internal
16645
16731
  */
@@ -16649,81 +16735,83 @@ class UserAuthorization {
16649
16735
  this.cache = cache;
16650
16736
  this.options = options;
16651
16737
  /**
16652
- * <p>This method supports grant type:</p><ol>
16653
- * <li>Grant Type == <code>authorization_code</code>:<br />
16738
+ * POST: [/iam/v3/oauth/token](api)
16739
+ *
16740
+ * This method supports grant type:
16741
+ * - Grant Type == `authorization_code`:
16654
16742
  * &nbsp;&nbsp;&nbsp; It generates the user token by given the authorization
16655
16743
  * code which generated in "/iam/v3/authenticate" API response. It should also pass
16656
16744
  * in the redirect_uri, which should be the same as generating the
16657
16745
  * authorization code request.
16658
- * </li>
16659
- * <li>Grant Type == <code>password</code>:<br />
16746
+ *
16747
+ * - Grant Type == `password`:
16660
16748
  * &nbsp;&nbsp;&nbsp; The grant type to use for authenticating a user, whether it's by email / username and password combination
16661
16749
  * or through platform.
16662
- * </li>
16663
- * <li>Grant Type == <code>refresh_token</code>:<br />
16750
+ *
16751
+ * - Grant Type == `refresh_token`:
16664
16752
  * &nbsp;&nbsp;&nbsp; Used to get a new access token for a valid refresh token.
16665
- * </li>
16666
- * <li>Grant Type == <code>client_credentials</code>:<br />
16753
+ *
16754
+ * - Grant Type == `client_credentials`:
16667
16755
  * &nbsp;&nbsp;&nbsp; It generates a token by checking the client credentials provided through Authorization header.
16668
- * </li></ol>
16669
- * <h2>Access Token Content</h2>
16670
- * <p>Following is the access token’s content:</p>
16671
- * <ul>
16672
- * <li>
16673
- * <p><strong>namespace</strong>. It is the namespace the token was generated from.</p>
16674
- * </li>
16675
- * <li>
16676
- * <p><strong>display_name</strong>. The display name of the sub. It is empty if the token is generated from the client credential</p>
16677
- * </li>
16678
- * <li>
16679
- * <p><strong>roles</strong>. The sub’s roles. It is empty if the token is generated from the client credential</p>
16680
- * </li>
16681
- * <li>
16682
- * <p><strong>namespace_roles</strong>. The sub’s roles scoped to namespace. Improvement from roles, which make the role scoped to specific namespace instead of global to publisher namespace</p>
16683
- * </li>
16684
- * <li>
16685
- * <p><strong>permissions</strong>. The sub or aud’ permissions</p>
16686
- * </li>
16687
- * <li>
16688
- * <p><strong>bans</strong>. The sub’s list of bans. It is used by the IAM client for validating the token.</p>
16689
- * </li>
16690
- * <li>
16691
- * <p><strong>jflgs</strong>. It stands for Justice Flags. It is a special flag used for storing additional status information regarding the sub. It is implemented as a bit mask. Following explains what each bit represents:</p>
16692
- * <ul>
16693
- * <li><p>1: Email Address Verified</p></li>
16694
- * <li><p>2: Phone Number Verified</p></li>
16695
- * <li><p>4: Anonymous</p></li>
16696
- * <li><p>8: Suspicious Login</p></li>
16697
- * </ul>
16698
- * </li>
16699
- * <li>
16700
- * <p><strong>aud</strong>. The aud is the targeted resource server.</p>
16701
- * </li>
16702
- * <li>
16703
- * <p><strong>iat</strong>. The time the token issues at. It is in Epoch time format</p>
16704
- * </li>
16705
- * <li>
16706
- * <p><strong>exp</strong>. The time the token expires. It is in Epoch time format</p>
16707
- * </li>
16708
- * <li>
16709
- * <p><strong>client_id</strong>. The UserID. The sub is omitted if the token is generated from client credential</p>
16710
- * </li>
16711
- * <li>
16712
- * <p><strong>scope</strong>. The scope of the access request, expressed as a list of space-delimited, case-sensitive strings</p>
16713
- * </li>
16714
- * </ul>
16715
- * <h2>Bans</h2>
16716
- * <p>The JWT contains user's active bans with its expiry date. List of ban types can be obtained from /bans.</p>
16717
- * <h2>Device Cookie Validation</h2>
16718
- * <p><i><b>For grant type "password" only</b></i></p>
16719
- * <p>Device Cookie is used to protect the user account from brute force login attack, <a target="_blank" href="https://owasp.org/www-community/Slow_Down_Online_Guessing_Attacks_with_Device_Cookies">more detail from OWASP<a>.</p>
16720
- * <p>This method will read device cookie from request header <b>Auth-Trust-Id</b>. If device cookie not found, it will generate a new one and set it into response body <b>auth_trust_id</b> when successfully login.</p>
16721
- * <h2>Track Login History</h2>
16722
- * <p>This method will track login history to detect suspicious login activity, please provide <b>Device-Id</b> (alphanumeric) in request header parameter otherwise it will set to "unknown".</p>
16723
- * <p>Align with General Data Protection Regulation in Europe, user login history will be kept within 28 days by default"</p>
16724
- * <h2>2FA remember device</h2>
16725
- * <p>To remember device for 2FA, should provide cookie: device_token or header: Device-Token</p>
16726
- * <p>action code: 10703
16756
+ * ##Access Token Content
16757
+ * Following is the access token’s content:
16758
+ *
16759
+ * -
16760
+ * __namespace__. It is the namespace the token was generated from.
16761
+ *
16762
+ * -
16763
+ * __display_name__. The display name of the sub. It is empty if the token is generated from the client credential
16764
+ *
16765
+ * -
16766
+ * __roles__. The sub’s roles. It is empty if the token is generated from the client credential
16767
+ *
16768
+ * -
16769
+ * __namespace_roles__. The sub’s roles scoped to namespace. Improvement from roles, which make the role scoped to specific namespace instead of global to publisher namespace
16770
+ *
16771
+ * -
16772
+ * __permissions__. The sub or aud’ permissions
16773
+ *
16774
+ * -
16775
+ * __bans__. The sub’s list of bans. It is used by the IAM client for validating the token.
16776
+ *
16777
+ * -
16778
+ * __jflgs__. It stands for Justice Flags. It is a special flag used for storing additional status information regarding the sub. It is implemented as a bit mask. Following explains what each bit represents:
16779
+ *
16780
+ * - 1: Email Address Verified
16781
+ * - 2: Phone Number Verified
16782
+ * - 4: Anonymous
16783
+ * - 8: Suspicious Login
16784
+ *
16785
+ *
16786
+ * -
16787
+ * __aud__. The aud is the targeted resource server.
16788
+ *
16789
+ * -
16790
+ * __iat__. The time the token issues at. It is in Epoch time format
16791
+ *
16792
+ * -
16793
+ * __exp__. The time the token expires. It is in Epoch time format
16794
+ *
16795
+ * -
16796
+ * __client_id__. The UserID. The sub is omitted if the token is generated from client credential
16797
+ *
16798
+ * -
16799
+ * __scope__. The scope of the access request, expressed as a list of space-delimited, case-sensitive strings
16800
+ *
16801
+ *
16802
+ * ##Bans
16803
+ * The JWT contains user's active bans with its expiry date. List of ban types can be obtained from /bans.
16804
+ * ##Device Cookie Validation
16805
+ * __For grant type "password" only__
16806
+ * Device Cookie is used to protect the user account from brute force login attack,
16807
+ * [more detail from OWASP](https://owasp.org/www-community/Slow_Down_Online_Guessing_Attacks_with_Device_Cookies)
16808
+ * This method will read device cookie from request header __Auth-Trust-Id__. If device cookie not found, it will generate a new one and set it into response body __auth_trust_id__ when successfully login.
16809
+ * ##Track Login History
16810
+ * This method will track login history to detect suspicious login activity, please provide __Device-Id__ (alphanumeric) in request header parameter otherwise it will set to "unknown".
16811
+ * Align with General Data Protection Regulation in Europe, user login history will be kept within 28 days by default"
16812
+ * ##2FA remember device
16813
+ * To remember device for 2FA, should provide cookie: device_token or header: Device-Token
16814
+ * action code: 10703
16727
16815
  */
16728
16816
  this.loginWithAuthorizationCode = async ({ code, codeVerifier }) => {
16729
16817
  const deviceId = SdkDevice.getDeviceId();
@@ -16755,6 +16843,9 @@ class UserAuthorization {
16755
16843
  CodeChallenge.clear();
16756
16844
  return { ...result, mfaData };
16757
16845
  };
16846
+ /**
16847
+ * @internal
16848
+ */
16758
16849
  this.getMfaDataFromError = (errorResponse) => {
16759
16850
  const doesMFADataExist = Validate.safeParse(errorResponse.data, MFADataResponse);
16760
16851
  if (!doesMFADataExist)
@@ -16766,13 +16857,44 @@ class UserAuthorization {
16766
16857
  }
16767
16858
  return result;
16768
16859
  };
16860
+ /**
16861
+ * @internal
16862
+ */
16769
16863
  this.getMfaDataFromStorage = () => {
16770
16864
  const storedMFAData = BrowserHelper.isOnBrowser() && localStorage.getItem(MFA_DATA_STORAGE_KEY);
16771
16865
  return storedMFAData ? JSON.parse(storedMFAData) : null;
16772
16866
  };
16867
+ /**
16868
+ * @internal
16869
+ */
16773
16870
  this.removeMfaDataFromStorage = () => {
16774
16871
  localStorage.removeItem(MFA_DATA_STORAGE_KEY);
16775
16872
  };
16873
+ /**
16874
+ * @internal
16875
+ */
16876
+ this.matchReceivedState = (maybeSentState) => {
16877
+ const sentStateResult = CodeChallenge.parseSentState(maybeSentState);
16878
+ if (sentStateResult.error)
16879
+ return { error: sentStateResult.error, result: null };
16880
+ const storedStateResult = CodeChallenge.load();
16881
+ if (storedStateResult.error)
16882
+ return { error: storedStateResult.error, result: null };
16883
+ const sentState = sentStateResult.sentState;
16884
+ const storedState = storedStateResult.storedState;
16885
+ if (sentState.csrf !== storedState.csrf)
16886
+ return { error: null, result: null };
16887
+ return {
16888
+ error: null,
16889
+ result: {
16890
+ payload: sentState.payload,
16891
+ codeVerifier: storedState.codeVerifier
16892
+ }
16893
+ };
16894
+ };
16895
+ /**
16896
+ * @internal
16897
+ */
16776
16898
  this.deduceLoginError = (error) => {
16777
16899
  switch (error) {
16778
16900
  case LoginErrorParam.Enum.login_session_expired:
@@ -16814,6 +16936,11 @@ class UserAuthorization {
16814
16936
  returnPath
16815
16937
  };
16816
16938
  };
16939
+ /**
16940
+ * GET [/iam/v3/oauth/authorize](api)
16941
+ *
16942
+ * Creates a URL to be used for Login, Register, Link to existing account or Twitch Link
16943
+ */
16817
16944
  this.createLoginURL = (returnPath, targetAuthPage, oneTimeLinkCode) => {
16818
16945
  const { verifier, challenge } = CodeChallenge.generateChallenge();
16819
16946
  const csrf = CodeChallenge.generateCsrf();
@@ -16837,6 +16964,11 @@ class UserAuthorization {
16837
16964
  const url = new URL(UrlHelper.combineURLPaths(this.options.baseURL, `${AUTHORIZE_URL}?${searchParams.toString()}`));
16838
16965
  return url.toString();
16839
16966
  };
16967
+ /**
16968
+ * GET [/iam/v3/oauth/authorize](api)
16969
+ *
16970
+ * Creates a URL to be used for password recovery
16971
+ */
16840
16972
  this.createForgotPasswordURL = () => {
16841
16973
  const { verifier, challenge } = CodeChallenge.generateChallenge();
16842
16974
  const csrf = CodeChallenge.generateCsrf();
@@ -16855,9 +16987,15 @@ class UserAuthorization {
16855
16987
  const url = new URL(UrlHelper.combineURLPaths(this.options.baseURL, `${AUTHORIZE_URL}?${searchParams.toString()}`));
16856
16988
  return url.toString();
16857
16989
  };
16990
+ /**
16991
+ * @internal
16992
+ */
16858
16993
  this.getCodeChallenge = () => {
16859
16994
  return CodeChallenge.generateChallenge();
16860
16995
  };
16996
+ /**
16997
+ * @internal
16998
+ */
16861
16999
  this.refreshToken = () => {
16862
17000
  const { clientId, refreshToken } = this.options;
16863
17001
  if (DesktopChecker.isDesktopApp()) {
@@ -16865,6 +17003,9 @@ class UserAuthorization {
16865
17003
  }
16866
17004
  return refreshWithLock({ axiosConfig: this.conf, clientId });
16867
17005
  };
17006
+ /**
17007
+ * @internal
17008
+ */
16868
17009
  this.getSearchParams = (sentState, challenge) => {
16869
17010
  const searchParams = new URLSearchParams();
16870
17011
  searchParams.append('response_type', 'code');
@@ -16876,25 +17017,6 @@ class UserAuthorization {
16876
17017
  return searchParams;
16877
17018
  };
16878
17019
  }
16879
- matchReceivedState(maybeSentState) {
16880
- const sentStateResult = CodeChallenge.parseSentState(maybeSentState);
16881
- if (sentStateResult.error)
16882
- return { error: sentStateResult.error, result: null };
16883
- const storedStateResult = CodeChallenge.load();
16884
- if (storedStateResult.error)
16885
- return { error: storedStateResult.error, result: null };
16886
- const sentState = sentStateResult.sentState;
16887
- const storedState = storedStateResult.storedState;
16888
- if (sentState.csrf !== storedState.csrf)
16889
- return { error: null, result: null };
16890
- return {
16891
- error: null,
16892
- result: {
16893
- payload: sentState.payload,
16894
- codeVerifier: storedState.codeVerifier
16895
- }
16896
- };
16897
- }
16898
17020
  }
16899
17021
  function isAxiosError(error) {
16900
17022
  return !!error && !!error.config;
@@ -17303,12 +17425,18 @@ class OAuthApi {
17303
17425
  this.cache = cache;
17304
17426
  this.options = options;
17305
17427
  /**
17306
- * <p>This method is used to remove <b>access_token</b>, <b>refresh_token</b> from cookie and revoke token from usage.</p>
17307
- * <p>Supported methods:</p>
17308
- * <ul>
17309
- * <li>VerifyToken to verify token from header</li>
17310
- * <li>AddTokenToRevocationList to revoke token with TTL</li>
17311
- * </ul>
17428
+ * @internal
17429
+ */
17430
+ this.newOAuth20Extension = () => {
17431
+ return new OAuth20Extension$(Network.create(this.conf), this.namespace, this.cache);
17432
+ };
17433
+ /**
17434
+ * POST [/iam/v3/logout](api)
17435
+ *
17436
+ * This method is used to remove __access_token__, __refresh_token__ from cookie and revoke token from usage.
17437
+ * Supported methods:
17438
+ * - VerifyToken to verify token from header
17439
+ * - AddTokenToRevocationList to revoke token with TTL
17312
17440
  */
17313
17441
  this.logout = () => {
17314
17442
  const axios = Network.create({
@@ -17320,8 +17448,10 @@ class OAuthApi {
17320
17448
  return new OAuth20Extension$(axios, this.namespace, this.cache).postIamV3Logout();
17321
17449
  };
17322
17450
  /**
17323
- * <p>This method revokes a token.</p>
17324
- * <p>This method requires authorized requests header with Basic Authentication from client that establish the token.</p><br>action code: 10706
17451
+ * POST [/iam/v3/oauth/revoke](api)
17452
+ *
17453
+ * This method revokes a token.
17454
+ * This method requires authorized requests header with Basic Authentication from client that establish the token.action code: 10706
17325
17455
  */
17326
17456
  this.revoke = ({ token }) => {
17327
17457
  const axios = Network.create({
@@ -17335,10 +17465,12 @@ class OAuthApi {
17335
17465
  return new OAuth20$(axios, this.namespace, this.cache).postIamV3OauthRevoke({ token });
17336
17466
  };
17337
17467
  /**
17338
- * Verify 2FA code<br/>
17339
- * <p>This method is used for verifying 2FA code.</p>
17340
- * <h2>2FA remember device</h2>
17341
- * <p>To remember device for 2FA, should provide cookie: device_token or header: Device-Token</p>
17468
+ * POST [/iam/v3/oauth/mfa/verify](api)
17469
+ *
17470
+ * Verify 2FA code
17471
+ * This method is used for verifying 2FA code.
17472
+ * ##2FA remember device
17473
+ * To remember device for 2FA, should provide cookie: device_token or header: Device-Token
17342
17474
  *
17343
17475
  */
17344
17476
  this.verify2FA = async ({ factor, code, mfaToken = null, rememberDevice }) => {
@@ -17350,6 +17482,9 @@ class OAuthApi {
17350
17482
  localStorage.removeItem(MFA_DATA_STORAGE_KEY);
17351
17483
  return result.response;
17352
17484
  };
17485
+ /**
17486
+ * POST [/iam/v3/oauth/mfa/code](api)
17487
+ */
17353
17488
  this.request2FAEmailCode = async ({ mfaToken = null, factor }) => {
17354
17489
  const result = await this.newInstance().postIamV3OauthMfaCode({ mfaToken, clientId: this.options.clientId, factor });
17355
17490
  if (result.error)
@@ -17357,70 +17492,72 @@ class OAuthApi {
17357
17492
  return result.response;
17358
17493
  };
17359
17494
  /**
17360
- * <p>This method get country location based on the request.</p>
17495
+ * GET [/iam/v3/location/country](api)
17496
+ *
17497
+ * This method get country location based on the request.
17361
17498
  */
17362
17499
  this.getCurrentLocationCountry = () => {
17363
17500
  return this.newOAuth20Extension().fetchIamV3LocationCountry();
17364
17501
  };
17365
17502
  /**
17366
- * Retrieve User Third Party Platform Token<br/>
17367
- * <p>
17503
+ * GET [/iam/v3/oauth/namespaces/{namespace}/users/{userId}/platforms/{platformId}/platformToken](api)
17504
+ *
17505
+ * Retrieve User Third Party Platform Token
17506
+ *
17368
17507
  * This method used for retrieving third party platform token for user that login using third party,
17369
17508
  * if user have not link requested platform in game namespace, will try to retrieving third party platform token from publisher namespace.
17370
17509
  * Passing platform group name or it's member will return same access token that can be used across the platform members.
17371
- * </p>
17372
- * <p>The third party platform and platform group covered for this is:</p>
17373
- * <ul>
17374
- * <li>(psn) ps4web</li>
17375
- * <li>(psn) ps4</li>
17376
- * <li>(psn) ps5</li>
17377
- * <li>epicgames</li>
17378
- * <li>twitch</li>
17379
- * <li>awscognito</li>
17380
- * </ul>
17510
+ *
17511
+ * The third party platform and platform group covered for this is:
17512
+ * - (psn) ps4web
17513
+ * - (psn) ps4
17514
+ * - (psn) ps5
17515
+ * - epicgames
17516
+ * - twitch
17517
+ * - awscognito
17518
+ *
17381
17519
  */
17382
17520
  this.getThirdPartyPlatformToken = (userId, platformId) => {
17383
17521
  return this.newInstance().fetchV3OauthUsersByUseridPlatformsByPlatformidPlatformToken(userId, platformId);
17384
17522
  };
17385
17523
  /**
17524
+ * POST [/iam/v3/authenticateWithLink](api)
17525
+ *
17386
17526
  * This method is being used to authenticate a user account and perform platform link.
17387
17527
  * It validates user's email / username and password.
17388
- * If user already enable 2FA, then invoke <i>/mfa/verify</i> using <b>mfa_token</b> from this method response.
17528
+ * If user already enable 2FA, then invoke _/mfa/verify_ using __mfa_token__ from this method response.
17389
17529
  *
17390
- * <h2>Device Cookie Validation</h2>
17530
+ * ##Device Cookie Validation
17391
17531
  *
17392
- * Device Cookie is used to protect the user account from brute force login attack, <a target="_blank" href="https://owasp.org/www-community/Slow_Down_Online_Guessing_Attacks_with_Device_Cookies">more detail from OWASP<a>.
17393
- * This method will read device cookie from cookie <b>auth-trust-id</b>. If device cookie not found, it will generate a new one and set it into cookie when successfully authenticate.
17532
+ * Device Cookie is used to protect the user account from brute force login attack,
17533
+ * [more detail from OWASP](https://owasp.org/www-community/Slow_Down_Online_Guessing_Attacks_with_Device_Cookies).
17534
+ * This method will read device cookie from cookie __auth-trust-id__. If device cookie not found, it will generate a new one and set it into cookie when successfully authenticate.
17394
17535
  *
17395
17536
  */
17396
17537
  this.authenticateWithLink = (data) => {
17397
17538
  return this.newOAuth20Extension().postIamV3AuthenticateWithLink(data);
17398
17539
  };
17399
- }
17400
- /**
17401
- * @internal
17402
- */
17403
- newOAuth20Extension() {
17404
- return new OAuth20Extension$(Network.create(this.conf), this.namespace, this.cache);
17405
- }
17406
- /**
17407
- * This method is being used to validate one time link code.
17408
- * It require a valid user token.
17409
- * Should specify the target platform id and current user should already linked to this platform.
17410
- * Current user should be a headless account.
17411
- *
17412
- */
17413
- validateOneTimeLinkCode(data) {
17414
- return this.newOAuth20Extension().postIamV3LinkCodeValidate(data);
17415
- }
17416
- /**
17417
- * This method is being used to generate user's token by one time link code.
17418
- * It require publisher ClientID
17419
- * It required a code which can be generated from <strong>/iam/v3/link/code/request</strong>.<br>
17420
- *
17421
- */
17422
- exchangeTokenByOneTimeLinkCode(data) {
17423
- return this.newOAuth20Extension().postIamV3LinkTokenExchange(data);
17540
+ /**
17541
+ * POST [/iam/v3/link/code/validate](api)
17542
+ *
17543
+ * This method is being used to validate one time link code.
17544
+ * It require a valid user token.
17545
+ * Should specify the target platform id and current user should already linked to this platform.
17546
+ * Current user should be a headless account.
17547
+ */
17548
+ this.validateOneTimeLinkCode = (data) => {
17549
+ return this.newOAuth20Extension().postIamV3LinkCodeValidate(data);
17550
+ };
17551
+ /**
17552
+ * POST [/iam/v3/link/token/exchange](api)
17553
+ *
17554
+ * This method is being used to generate user's token by one time link code.
17555
+ * It require publisher ClientID
17556
+ * It required a code which can be generated from __/iam/v3/link/code/request__.
17557
+ */
17558
+ this.exchangeTokenByOneTimeLinkCode = (data) => {
17559
+ return this.newOAuth20Extension().postIamV3LinkTokenExchange(data);
17560
+ };
17424
17561
  }
17425
17562
  newInstance() {
17426
17563
  return new OAuth20$(Network.create(this.conf), this.namespace, this.cache);
@@ -17499,6 +17636,8 @@ class ThirdPartyCredentialApi {
17499
17636
  this.namespace = namespace;
17500
17637
  this.cache = cache;
17501
17638
  /**
17639
+ * GET [/iam/v3/public/namespaces/{namespace}/platforms/clients/active](api)
17640
+ *
17502
17641
  * This is the Public API to Get All Active 3rd Platform Credential.
17503
17642
  */
17504
17643
  this.getThirdPartyPlatformInfo = () => {
@@ -18000,85 +18139,112 @@ class TwoFA {
18000
18139
  this.namespace = namespace;
18001
18140
  this.cache = cache;
18002
18141
  /**
18003
- * <p>This method is used to get 8-digits backup codes.
18004
- * Each code is a one-time code and will be deleted once used.</p>
18005
- * <p>This method Requires valid user access token</p>
18142
+ * GET [/iam/v4/public/namespaces/{namespace}/users/me/mfa/backupCode](api)
18143
+ *
18144
+ * This method is used to get 8-digits backup codes.
18145
+ * Each code is a one-time code and will be deleted once used.
18006
18146
  *
18147
+ * _Requires a valid user access token_
18007
18148
  */
18008
18149
  this.getBackupCode = () => {
18009
18150
  return this.newInstance().fetchV4NsUsersMeMfaBackupCode();
18010
18151
  };
18011
18152
  /**
18012
- * <p>This method is used to enable 2FA backup codes.</p>
18013
- * <p>This method Requires valid user access token</p>
18153
+ * POST [/iam/v4/public/namespaces/{namespace}/users/me/mfa/backupCode/enable](api)
18154
+ *
18155
+ * This method is used to enable 2FA backup codes.
18014
18156
  *
18157
+ * _Requires a valid user access token_
18015
18158
  */
18016
18159
  this.enable2FABackupCodes = () => {
18017
18160
  return this.newInstance().postV4NsUsersMeMfaBackupCodeEnable();
18018
18161
  };
18019
18162
  /**
18020
- * <p>This method is used to enable 2FA backup codes.</p>
18021
- * <p>This method Requires valid user access token</p>
18163
+ * POST [/iam/v4/public/namespaces/{namespace}/users/me/mfa/backupCode](api)
18022
18164
  *
18165
+ * This method is used to enable 2FA backup codes.
18166
+ *
18167
+ * _Requires a valid user access token_
18023
18168
  */
18024
18169
  this.generateBackupCodes = () => {
18025
18170
  return this.newInstance().postV4NsUsersMeMfaBackupCode();
18026
18171
  };
18027
18172
  /**
18028
- * <p>This method is used to enable 2FA backup codes.</p>
18029
- * <p>This method Requires valid user access token</p>
18173
+ * DELETE [/iam/v4/public/namespaces/{namespace}/users/me/mfa/backupCode/disable](api)
18174
+ *
18175
+ * This method is used to enable 2FA backup codes.
18030
18176
  *
18177
+ * _Requires a valid user access token_
18031
18178
  */
18032
18179
  this.disableBackupCodes = () => {
18033
18180
  return this.newInstance().deleteV4NsUsersMeMfaBackupCodeDisable();
18034
18181
  };
18035
18182
  /**
18036
- * <p>This method is used to disable 2FA authenticator.</p>
18037
- * <p>This method Requires valid user access token</p>
18183
+ * DELETE [/iam/v4/public/namespaces/{namespace}/users/me/mfa/authenticator/disable](api)
18184
+ * }
18185
+ * This method is used to disable 2FA authenticator.
18038
18186
  *
18187
+ * _Requires a valid user access token_
18039
18188
  */
18040
18189
  this.disableAuthenticator = () => {
18041
18190
  return this.newInstance().deleteV4NsUsersMeMfaAuthenticatorDisable();
18042
18191
  };
18043
18192
  /**
18044
- * <p>This method is used to get user enabled factors.</p>
18045
- * <p>This method Requires valid user access token</p>
18193
+ * GET [/iam/v4/public/namespaces/{namespace}/users/me/mfa/factor](api)
18194
+ *
18195
+ * This method is used to get user enabled factors.
18046
18196
  *
18197
+ * _Requires a valid user access token_
18047
18198
  */
18048
18199
  this.getEnabledMethods = () => {
18049
18200
  return this.newInstance().fetchV4NsUsersMeMfaFactor();
18050
18201
  };
18051
18202
  /**
18052
- * <p>This method is used to make 2FA factor default.</p>
18053
- * <p>This method Requires valid user access token</p>
18203
+ * POST [/iam/v4/public/namespaces/{namespace}/users/me/mfa/factor](api)
18054
18204
  *
18205
+ * This method is used to make 2FA factor default.
18206
+ *
18207
+ * _Requires a valid user access token_
18055
18208
  */
18056
18209
  this.set2FAAsDefault = (factor) => {
18057
18210
  return this.newInstance().postV4NsUsersMeMfaFactor({ factor });
18058
18211
  };
18059
18212
  /**
18060
- * <p>This method is used to enable 2FA authenticator.</p>
18061
- * <p>This method Requires valid user access token</p>
18213
+ * POST [/iam/v4/public/namespaces/{namespace}/users/me/mfa/authenticator/enable](api)
18214
+ *
18215
+ * This method is used to enable 2FA authenticator.
18062
18216
  *
18217
+ * _Requires a valid user access token_
18063
18218
  */
18064
18219
  this.enable2FAAuthenticator = (code) => {
18065
18220
  return this.newInstance().postV4NsUsersMeMfaAuthenticatorEnable({ code });
18066
18221
  };
18067
18222
  /**
18068
- * <p>This method is used to generate a secret key for 3rd-party authenticator app.
18069
- * A QR code URI is also returned so that frontend can generate QR code image.</p>
18070
- * <p>This method Requires valid user access token</p>
18223
+ * POST [/iam/v4/public/namespaces/{namespace}/users/me/mfa/authenticator/key](api)
18224
+ *
18225
+ * This method is used to generate a secret key for 3rd-party authenticator app.
18226
+ * A QR code URI is also returned so that frontend can generate QR code image.
18071
18227
  *
18228
+ * _Requires a valid user access token_
18072
18229
  */
18073
18230
  this.generateSecretKey = () => {
18074
18231
  return this.newInstance().postV4NsUsersMeMfaAuthenticatorKey();
18075
18232
  };
18233
+ /**
18234
+ * POST [/iam/v4/public/namespaces/{namespace}/users/me/mfa/email/code](api)
18235
+ */
18076
18236
  this.requestEmailCode = () => {
18077
18237
  return this.newInstance().postV4NsUsersMeMfaEmailCode();
18078
18238
  };
18239
+ /**
18240
+ * POST [/iam/v4/public/namespaces/{namespace}/users/me/mfa/email/enable](api)
18241
+ */
18079
18242
  this.enableEmailMethod = (code) => {
18080
18243
  return this.newInstance().postV4NsUsersMeMfaEmailEnable({ code });
18081
18244
  };
18245
+ /**
18246
+ * POST [/iam/v4/public/namespaces/{namespace}/users/me/mfa/email/disable](api)
18247
+ */
18082
18248
  this.disableEmailMethod = () => {
18083
18249
  return this.newInstance().postV4NsUsersMeMfaEmailDisable();
18084
18250
  };
@@ -19292,295 +19458,326 @@ class UserApi {
19292
19458
  this.namespace = namespace;
19293
19459
  this.cache = cache;
19294
19460
  /**
19295
- * get currently logged in user
19461
+ * GET [/iam/v3/public/users/me](api)
19462
+ *
19463
+ * get currently logged-in user
19296
19464
  */
19297
19465
  this.getCurrentUser = () => {
19298
19466
  return this.newInstance().fetchIamV3PublicUsersMe();
19299
19467
  };
19300
19468
  /**
19301
- * update current user
19469
+ * PATCH [/iam/v3/public/namespaces/{namespace}/users/me](api)
19470
+ *
19471
+ * Update current user
19302
19472
  */
19303
19473
  this.updateUserMe = (data) => {
19304
19474
  return this.newInstance().patchV3NsUsersMe(data);
19305
19475
  };
19306
19476
  /**
19477
+ * PUT [/iam/v4/public/namespaces/{namespace}/users/me/email](api)
19478
+ *
19307
19479
  * update current user's email
19308
19480
  */
19309
19481
  this.updateEmailMe = (data) => {
19310
19482
  return this.newInstance4().putV4NsUsersMeEmail(data);
19311
19483
  };
19312
19484
  /**
19485
+ * PUT [/iam/v3/public/namespaces/{namespace}/users/me/password](api)
19486
+ *
19313
19487
  * update current user's password
19314
19488
  */
19315
19489
  this.updatePasswordMe = (data) => {
19316
19490
  return this.newInstance().putV3NsUsersMePassword(data);
19317
19491
  };
19318
19492
  /**
19493
+ * POST [/iam/v3/public/namespaces/{namespace}/users/me/code/request](api)
19494
+ *
19319
19495
  * Required valid user authorization
19320
- * <p>The verification code is sent to email address</p>
19321
- * <p>Available contexts for use : </p>
19322
- * <ol>
19323
- * <li>
19324
- * <strong>UserAccountRegistration</strong>
19325
- * <p>a context type used for verifying email address in user account registration. It returns 409 if the email address already verified.
19326
- * <strong><em>It is the default context if the Context field is empty</em></strong></p>
19327
- * </li>
19328
- * <li>
19329
- * <strong>UpdateEmailAddress</strong>
19330
- * <p>a context type used for verify user before updating email address.(Without email address verified checking)</p>
19331
- * </li>
19332
- * <li><strong>upgradeHeadlessAccount</strong>
19333
- * <p>The context is intended to be used whenever the email address wanted to be automatically verified on upgrading a headless account.
19334
- * If this context used, IAM rejects the request if the email address is already used by others by returning HTTP Status Code 409.</p>
19335
- * </li>
19336
- * </ol>
19337
- * <p>action code: 10116</p>
19496
+ * The verification code is sent to email address
19497
+ * Available contexts for use :
19498
+ * -
19499
+ * __UserAccountRegistration__
19500
+ * a context type used for verifying email address in user account registration. It returns 409 if the email address already verified.
19501
+ * __It is the default context if the Context field is empty__
19502
+ *
19503
+ * -
19504
+ * __UpdateEmailAddress__
19505
+ * a context type used for verify user before updating email address.(Without email address verified checking)
19506
+ *
19507
+ * - __upgradeHeadlessAccount__
19508
+ * The context is intended to be used whenever the email address wanted to be automatically verified on upgrading a headless account.
19509
+ * If this context used, IAM rejects the request if the email address is already used by others by returning HTTP Status Code 409.
19510
+ * action code: 10116
19338
19511
  *
19339
19512
  */
19340
19513
  this.requestVerificationCode = (data) => {
19341
19514
  return this.newInstance().postV3NsUsersMeCodeRequest(data);
19342
19515
  };
19343
19516
  /**
19344
- * <p>Will consume code if validateOnly is set false</p>
19345
- * <p>Required valid user authorization</p>
19346
- * <p>Redeems a verification code sent to a user to verify the user's contact address is correct</p>
19347
- * <p>Available ContactType : <b>email</b></p>
19348
- * <p>action code: 10107</p>
19517
+ * POST [/iam/v3/public/namespaces/{namespace}/users/me/code/verify](api)
19518
+ *
19519
+ * Will consume code if validateOnly is set false
19520
+ * Required valid user authorization
19521
+ * Redeems a verification code sent to a user to verify the user's contact address is correct
19522
+ * Available ContactType : __email__
19523
+ * action code: 10107
19349
19524
  *
19350
19525
  */
19351
19526
  this.verifyCode = (data) => {
19352
19527
  return this.newInstance().postV3NsUsersMeCodeVerify(data);
19353
19528
  };
19354
19529
  /**
19355
- * <p>If validateOnly is set false, consume code and upgrade headless account and automatically verified the email address if it is succeeded</p>
19530
+ * POST [/iam/v3/public/namespaces/{namespace}/users/me/headless/code/verify](api)
19531
+ *
19532
+ * If validateOnly is set false, consume code and upgrade headless account and automatically verified the email address if it is succeeded
19356
19533
  * Require valid user access token.
19357
- * <p>The method upgrades a headless account by linking the headless account with the email address and the password.
19358
- * By upgrading the headless account into a full account, the user could use the email address and password for using Justice IAM. </p>
19359
- * <p>The method is a shortcut for upgrading a headless account and verifying the email address in one call.
19360
- * In order to get a verification code for the method, please check the send verification code method.</p>
19361
- * <p>This method also have an ability to update user data (if the user data field is specified) right after the upgrade account process is done.<br/>
19534
+ * The method upgrades a headless account by linking the headless account with the email address and the password.
19535
+ * By upgrading the headless account into a full account, the user could use the email address and password for using Justice IAM.
19536
+ * The method is a shortcut for upgrading a headless account and verifying the email address in one call.
19537
+ * In order to get a verification code for the method, please check the send verification code method.
19538
+ * This method also have an ability to update user data (if the user data field is specified) right after the upgrade account process is done.
19362
19539
  * Supported user data fields :
19363
- * <ul>
19364
- * <li>displayName</li>
19365
- * <li>dateOfBirth : format YYYY-MM-DD, e.g. 2019-04-29</li>
19366
- * <li>country : format ISO3166-1 alpha-2 two letter, e.g. US</li>
19367
- * </ul>
19368
- * <br>action code : 10124</p>
19540
+ *
19541
+ * - displayName
19542
+ * - dateOfBirth : format YYYY-MM-DD, e.g. 2019-04-29
19543
+ * - country : format ISO3166-1 alpha-2 two letter, e.g. US
19544
+ *
19545
+ * action code : 10124
19369
19546
  */
19370
19547
  this.upgradeHeadlessAccount = (data) => {
19371
19548
  return this.newInstance().postV3NsUsersMeHeadlessCodeVerify(data);
19372
19549
  };
19373
19550
  /**
19551
+ * POST [/iam/v4/public/namespaces/{namespace}/users/me/headless/code/verify](api)
19552
+ *
19374
19553
  * Require valid user access token.
19375
19554
  * The method upgrades a headless account by linking the headless account with the email address, username, and password.
19376
19555
  * By upgrading the headless account into a full account, the user could use the email address, username, and password for using Justice IAM.
19377
- * <br>
19556
+ *
19378
19557
  * The method is a shortcut for upgrading a headless account and verifying the email address in one call.
19379
- * In order to get a verification code for the method, please check the <a href="#operations-Users-PublicSendVerificationCodeV3">send verification code method</a>.
19380
- * <br>
19558
+ *
19381
19559
  * This method also have an ability to update user data (if the user data field is specified) right after the upgrade account process is done.
19382
19560
  * Supported user data fields:
19383
- * <ul>
19384
- * <li>displayName</li>
19385
- * <li>dateOfBirth : format YYYY-MM-DD, e.g. 2019-04-29</li>
19386
- * <li>country : format ISO3166-1 alpha-2 two letter, e.g. US</li>
19387
- * </ul>
19561
+ *
19562
+ * - displayName
19563
+ * - dateOfBirth : format YYYY-MM-DD, e.g. 2019-04-29
19564
+ * - country : format ISO3166-1 alpha-2 two letter, e.g. US
19565
+ *
19388
19566
  * action code : 10124
19389
19567
  */
19390
19568
  this.upgradeHeadlessAccountV4 = (data) => {
19391
19569
  return this.newInstance4().postV4NsUsersMeHeadlessCodeVerify(data);
19392
19570
  };
19393
19571
  /**
19394
- * <p>This method retrieves platform accounts linked to user. Required valid user authorization.
19395
- * <br>action code: 10128 </p>
19572
+ * GET [/iam/v3/public/namespaces/{namespace}/users/{userId}/platforms](api)
19573
+ *
19574
+ * This method retrieves platform accounts linked to user. Required valid user authorization.
19575
+ * action code: 10128
19396
19576
  */
19397
19577
  this.getUserLinkedPlatform = (userId) => {
19398
19578
  return this.newInstance().fetchV3NsUsersByUseridPlatforms(userId);
19399
19579
  };
19400
19580
  /**
19581
+ * POST [/iam/v3/public/namespaces/{namespace}/users/me/platforms/{platformId}](api)
19582
+ *
19401
19583
  * Required valid user authorization.
19402
- * <p><br><b>Prerequisite:</b>
19584
+ * __Prerequisite:__
19403
19585
  * Platform client configuration need to be added to database for specific platformId. Namespace service URL need to be specified (refer to required environment variables).
19404
- * <h2>Supported platforms:</h2>
19405
- * <ul>
19406
- * <li><strong>steam</strong>: The ticket’s value is the authentication code returned by Steam.</li>
19407
- * <li><strong>steamopenid</strong>: Steam's user authentication method using OpenID 2.0. The ticket's value is URL generated by Steam on web authentication</li>
19408
- * <li><strong>facebook</strong>: The ticket’s value is the authorization code returned by Facebook OAuth</li>
19409
- * <li><strong>google</strong>: The ticket’s value is the authorization code returned by Google OAuth</li>
19410
- * <li><strong>oculus</strong>: The ticket’s value is a string composed of Oculus's user ID and the nonce separated by a colon (:).</li>
19411
- * <li><strong>twitch</strong>: The ticket’s value is the authorization code returned by Twitch OAuth.</li>
19412
- * <li><strong>android</strong>: The ticket's value is the Android’s device ID</li>
19413
- * <li><strong>ios</strong>: The ticket's value is the iOS’s device ID.</li>
19414
- * <li><strong>apple</strong>: The ticket’s value is the authorization code returned by Apple OAuth.</li>
19415
- * <li><strong>device</strong>: Every device that doesn't run Android and iOS is categorized as a device platform. The ticket's value is the device’s ID.</li>
19416
- * <li><strong>discord</strong>: The ticket’s value is the authorization code returned by Discord OAuth.</li>
19417
- * <li><strong>ps4web</strong>: The ticket’s value is the authorization code returned by PSN OAuth.</li>
19418
- * <li><strong>xblweb</strong>: The ticket’s value is the authorization code returned by XBox Live OAuth.</li>
19419
- * <li><strong>awscognito</strong>: The ticket’s value is the aws cognito access token (JWT).</li>
19420
- * <li><strong>epicgames</strong>: The ticket’s value is an access-token obtained from Epicgames EOS Account Service.</li>
19421
- * <li><strong>nintendo</strong>: The ticket’s value is the authorization code(id_token) returned by Nintendo OAuth.</li>
19422
- * <li><strong>stadia</strong>: The ticket’s value is a JWT Token, which can be obtained after calling the Stadia SDK's function.</li>
19423
- * </ul>
19424
- * <br>action code : 10144
19586
+ * ##Supported platforms:
19587
+ *
19588
+ * - __steam__: The ticket’s value is the authentication code returned by Steam.
19589
+ * - __steamopenid__: Steam's user authentication method using OpenID 2.0. The ticket's value is URL generated by Steam on web authentication
19590
+ * - __facebook__: The ticket’s value is the authorization code returned by Facebook OAuth
19591
+ * - __google__: The ticket’s value is the authorization code returned by Google OAuth
19592
+ * - __oculus__: The ticket’s value is a string composed of Oculus's user ID and the nonce separated by a colon (:).
19593
+ * - __twitch__: The ticket’s value is the authorization code returned by Twitch OAuth.
19594
+ * - __android__: The ticket's value is the Android’s device ID
19595
+ * - __ios__: The ticket's value is the iOS’s device ID.
19596
+ * - __apple__: The ticket’s value is the authorization code returned by Apple OAuth.
19597
+ * - __device__: Every device that doesn't run Android and iOS is categorized as a device platform. The ticket's value is the device’s ID.
19598
+ * - __discord__: The ticket’s value is the authorization code returned by Discord OAuth.
19599
+ * - __ps4web__: The ticket’s value is the authorization code returned by PSN OAuth.
19600
+ * - __xblweb__: The ticket’s value is the authorization code returned by XBox Live OAuth.
19601
+ * - __awscognito__: The ticket’s value is the aws cognito access token (JWT).
19602
+ * - __epicgames__: The ticket’s value is an access-token obtained from Epicgames EOS Account Service.
19603
+ * - __nintendo__: The ticket’s value is the authorization code(id_token) returned by Nintendo OAuth.
19604
+ * - __stadia__: The ticket’s value is a JWT Token, which can be obtained after calling the Stadia SDK's function.
19605
+ *
19606
+ * action code : 10144
19425
19607
  */
19426
19608
  this.linkAccountToPlatform = ({ platformId, data }) => {
19427
19609
  return this.newInstance().postV3NsUsersMePlatformsByPlatformid(platformId, data);
19428
19610
  };
19429
19611
  /**
19612
+ * GET [/iam/v3/public/namespaces/{namespace}/requests/{requestId}/async/status](api)
19613
+ *
19430
19614
  * Get the linking status between a third-party platform to a user
19431
19615
  */
19432
19616
  this.getLinkRequestStatus = (requestId) => {
19433
19617
  return this.newInstance().fetchV3NsRequestsByRequestidAsyncStatus(requestId);
19434
19618
  };
19435
19619
  /**
19436
- * It is going to be <strong>DEPRECATED</strong>.
19620
+ * @internal
19621
+ * It is going to be __DEPRECATED__.
19437
19622
  * Update Platform Account relation to current User Account.
19438
19623
  * Note: Game progression data (statistics, reward, etc) associated with previous User Account will not be
19439
19624
  * transferred. If the data is tight to game user ID, the user will have the game progression data.
19440
- *
19441
19625
  */
19442
19626
  this.linkPlatformToUserAccount = ({ userId, data }) => {
19443
19627
  return this.newInstance().postV3NsUsersByUseridPlatformsLink(userId, data);
19444
19628
  };
19445
19629
  /**
19630
+ * DELETE [/iam/v3/public/namespaces/{namespace}/users/me/platforms/{platformId}](api)
19631
+ *
19446
19632
  * Required valid user authorization.
19447
- * <h2>Supported platforms:</h2>
19448
- * <ul>
19449
- * <li><strong>steam</strong></li>
19450
- * <li><strong>steamopenid</strong></li>
19451
- * <li><strong>facebook</strong></li>
19452
- * <li><strong>google</strong></li>
19453
- * <li><strong>oculus</strong></li>
19454
- * <li><strong>twitch</strong></li>
19455
- * <li><strong>android</strong></li>
19456
- * <li><strong>ios</strong></li>
19457
- * <li><strong>apple</strong></li>
19458
- * <li><strong>device</strong></li>
19459
- * <li><strong>discord</strong></li>
19460
- * <li><strong>awscognito</strong></li>
19461
- * <li><strong>epicgames</strong></li>
19462
- * <li><strong>nintendo</strong></li>
19463
- * <li><strong>stadia</strong></li>
19464
- * </ul>
19465
- * <p>Unlink user's account from a specific platform. 'justice' platform might have multiple accounts from different namespaces linked.
19466
- * <br><i>platformNamespace</i> need to be specified when the platform ID is 'justice'.
19467
- * <br>
19468
- * <br>Unlink user's account from justice platform will enable password token grant and password update.
19469
- * <br>
19470
- * <br>If you want to unlink user's account in a game namespace, you have to specify <i>platformNamespace</i> to that game namespace.
19471
- * <br>
19472
- * <br>action code : 10121 </p>
19633
+ * ##Supported platforms:
19634
+ *
19635
+ * - __steam__
19636
+ * - __steamopenid__
19637
+ * - __facebook__
19638
+ * - __google__
19639
+ * - __oculus__
19640
+ * - __twitch__
19641
+ * - __android__
19642
+ * - __ios__
19643
+ * - __apple__
19644
+ * - __device__
19645
+ * - __discord__
19646
+ * - __awscognito__
19647
+ * - __epicgames__
19648
+ * - __nintendo__
19649
+ * - __stadia__
19650
+ *
19651
+ * Unlink user's account from a specific platform. 'justice' platform might have multiple accounts from different namespaces linked.
19652
+ * _platformNamespace_ need to be specified when the platform ID is 'justice'.
19653
+ *
19654
+ * Unlink user's account from justice platform will enable password token grant and password update.
19655
+ *
19656
+ * If you want to unlink user's account in a game namespace, you have to specify _platformNamespace_ to that game namespace.
19657
+ *
19658
+ * action code : 10121
19473
19659
  */
19474
19660
  this.unLinkAccountFromPlatform = ({ platformId, data }) => {
19475
19661
  return this.newInstance().deleteV3NsUsersMePlatformsByPlatformid(platformId, data);
19476
19662
  };
19477
19663
  /**
19664
+ * GET [/iam/v3/public/namespaces/{namespace}/users/me/platforms/{platformId}/web/link](api)
19665
+ *
19478
19666
  * This method is used to generate third party login page which will redirected to establish method.
19479
19667
  */
19480
19668
  this.getThirdPartyURL = ({ platformId, queryParams }) => {
19481
19669
  return this.newInstance().fetchV3NsUsersMePlatformsByPlatformidWebLink(platformId, queryParams);
19482
19670
  };
19483
19671
  /**
19672
+ * GET [/iam/v3/public/namespaces/{namespace}/agerestrictions/countries/{countryCode}](api)
19673
+ *
19484
19674
  * Get age restriction by country code. It will always get by publisher namespace
19485
19675
  */
19486
19676
  this.getAgeRestrictionByCountry = (countryCode) => {
19487
19677
  return this.newInstance().fetchV3NsAgerestrictionsCountriesByCountrycode(countryCode);
19488
19678
  };
19489
- }
19490
- /**
19491
- * Render 2D Avatar via readyplayer.me (https://docs.readyplayer.me/ready-player-me/avatars/2d-avatars/render-api)
19492
- */
19493
- renderImageFromGlbModel(data) {
19494
- const axios = Network.create({
19495
- ...this.conf
19496
- });
19497
- return Validate.responseType(() => axios.post('https://render.readyplayer.me/render', data), ReadyPlayerMe);
19498
- }
19499
- // TODO: evaluate the use of this method. It looks too generic for a function that should notify game SDK
19500
- notifyGameSDK(url) {
19501
- const axios = Network.create({
19502
- ...this.conf
19503
- });
19504
- return Validate.responseType(() => axios.get(url), mod.string());
19505
- }
19506
- /**
19507
- * This method will validate the request's email address.
19508
- *
19509
- * If it already been used, will response 409.
19510
- *
19511
- * If it is available, we will send a verification code to this email address.
19512
- * This code can be verified by this <a href="#operations-Users-PublicVerifyRegistrationCode">method</a>.
19513
- *
19514
- */
19515
- requestNewUserVerificationCode(data) {
19516
- return this.newInstance().postV3NsUsersCodeRequest(data);
19517
- }
19518
- /**
19519
- * Create a new user with unique email address and username.
19520
- * <p>
19521
- * <b>Required attributes:</b>
19522
- * - authType: possible value is EMAILPASSWD
19523
- * - emailAddress: Please refer to the rule from /v3/public/inputValidations API.
19524
- * - username: Please refer to the rule from /v3/public/inputValidations API.
19525
- * - password: Please refer to the rule from /v3/public/inputValidations API.
19526
- * - country: ISO3166-1 alpha-2 two letter, e.g. US.
19527
- * - dateOfBirth: YYYY-MM-DD, e.g. 1990-01-01. valid values are between 1905-01-01 until current date.
19528
- * <br/>
19529
- * <b>Not required attributes:</b>
19530
- * - displayName: Please refer to the rule from /v3/public/inputValidations API.
19531
- * </p>
19532
- * <p>This method support accepting agreements for the created user. Supply the accepted agreements in acceptedPolicies attribute.</p>
19533
- *
19534
- */
19535
- createUser(data) {
19536
- return this.newInstance4().postV4NsUsers(data);
19537
- }
19538
- /**
19539
- * <p>This method retrieves platform accounts linked to user.
19540
- * <br>It will query all linked platform accounts and result will be distinct & grouped, same platform we will pick oldest linked one.
19541
- * <br>Required valid user authorization.</p>
19542
- */
19543
- getUserDistinctLinkedPlatform(userId) {
19544
- return this.newInstance().fetchV3NsUsersByUseridDistinctPlatforms(userId);
19545
- }
19546
- /**
19547
- * Required valid user authorization.
19548
- * <p>Unlink user's account from for all third platforms. </p>
19549
- */
19550
- unLinkAccountFromPlatformDistinct(platformId) {
19551
- return this.newInstance().deleteV3NsUsersMePlatformsByPlatformidAll(platformId);
19552
- }
19553
- /**
19554
- * Required valid user authorization
19555
- * <p>The verification link is sent to email address</p>
19556
- * <p>It will not send request if user email is already verified</p>
19557
- *
19558
- */
19559
- sendVerificationLink(languageTag) {
19560
- return this.newInstance().postIamV3PublicUsersMeVerifyLinkRequest({ languageTag });
19561
- }
19562
- /**
19563
- * <p>This method retrieves platform accounts linked to user. Required valid user authorization.
19564
- * <br>action code: 10128 </p>
19565
- */
19566
- getLinkedAccount(userId) {
19567
- return this.newInstance().fetchV3NsUsersByUseridPlatforms(userId);
19568
- }
19569
- /**
19570
- * Note:<br>
19571
- * 1. My account should be full account
19572
- * 2. My account not linked to request headless account's third platform.
19573
- */
19574
- getLinkAccountByOneTimeCodeConflict(params) {
19575
- return this.newInstance().fetchIamV3PublicUsersMeHeadlessLinkConflict(params);
19576
- }
19577
- /**
19578
- * Note:<br>
19579
- * 1. My account should be full account
19580
- * 2. My account not linked to headless account's third platform.
19581
- */
19582
- linkWithProgression(data) {
19583
- return this.newInstance().postIamV3PublicUsersMeHeadlessLinkWithProgression(data);
19679
+ /**
19680
+ * Render 2D Avatar via readyplayer.me POST [](https://docs.readyplayer.me/ready-player-me/avatars/2d-avatars/render-api)
19681
+ * @internal
19682
+ */
19683
+ this.renderImageFromGlbModel = (data) => {
19684
+ const axios = Network.create({
19685
+ ...this.conf
19686
+ });
19687
+ return Validate.responseType(() => axios.post('https://render.readyplayer.me/render', data), ReadyPlayerMe);
19688
+ };
19689
+ /**
19690
+ * POST [/iam/v3/public/namespaces/{namespace}/users/code/request](api)
19691
+ *
19692
+ * This method will validate the request's email address.
19693
+ *
19694
+ * If it already been used, will response 409.
19695
+ *
19696
+ * If it is available, we will send a verification code to this email address.
19697
+ */
19698
+ this.requestNewUserVerificationCode = (data) => {
19699
+ return this.newInstance().postV3NsUsersCodeRequest(data);
19700
+ };
19701
+ /**
19702
+ * POST [/iam/v4/public/namespaces/{namespace}/users](api)
19703
+ *
19704
+ * Create a new user with unique email address and username.
19705
+ *
19706
+ * __Required attributes:__
19707
+ * - authType: possible value is EMAILPASSWD
19708
+ * - emailAddress: Please refer to the rule from /v3/public/inputValidations API.
19709
+ * - username: Please refer to the rule from /v3/public/inputValidations API.
19710
+ * - password: Please refer to the rule from /v3/public/inputValidations API.
19711
+ * - country: ISO3166-1 alpha-2 two letter, e.g. US.
19712
+ * - dateOfBirth: YYYY-MM-DD, e.g. 1990-01-01. valid values are between 1905-01-01 until current date.
19713
+ *
19714
+ * __Not required attributes:__
19715
+ * - displayName: Please refer to the rule from /v3/public/inputValidations API.
19716
+ *
19717
+ * This method support accepting agreements for the created user. Supply the accepted agreements in acceptedPolicies attribute.
19718
+ *
19719
+ */
19720
+ this.createUser = (data) => {
19721
+ return this.newInstance4().postV4NsUsers(data);
19722
+ };
19723
+ /**
19724
+ * GET [/iam/v3/public/namespaces/{namespace}/users/{userId}/distinctPlatforms](api)
19725
+ *
19726
+ * This method retrieves platform accounts linked to user.
19727
+ * It will query all linked platform accounts and result will be distinct & grouped, same platform we will pick oldest linked one.
19728
+ * Required valid user authorization.
19729
+ */
19730
+ this.getUserDistinctLinkedPlatform = (userId) => {
19731
+ return this.newInstance().fetchV3NsUsersByUseridDistinctPlatforms(userId);
19732
+ };
19733
+ /**
19734
+ * DELETE [/iam/v3/public/namespaces/{namespace}/users/me/platforms/{platformId}/all](api)
19735
+ *
19736
+ * Required valid user authorization.
19737
+ * Unlink user's account from for all third platforms.
19738
+ */
19739
+ this.unLinkAccountFromPlatformDistinct = (platformId) => {
19740
+ return this.newInstance().deleteV3NsUsersMePlatformsByPlatformidAll(platformId);
19741
+ };
19742
+ /**
19743
+ * POST [/iam/v3/public/users/me/verify_link/request](api)
19744
+ *
19745
+ * Required valid user authorization
19746
+ * The verification link is sent to email address
19747
+ * It will not send request if user email is already verified
19748
+ */
19749
+ this.sendVerificationLink = (languageTag) => {
19750
+ return this.newInstance().postIamV3PublicUsersMeVerifyLinkRequest({ languageTag });
19751
+ };
19752
+ /**
19753
+ * GET [/iam/v3/public/namespaces/{namespace}/users/{userId}/platforms](api)
19754
+ *
19755
+ * This method retrieves platform accounts linked to user. Required valid user authorization.
19756
+ * action code: 10128
19757
+ */
19758
+ this.getLinkedAccount = (userId) => {
19759
+ return this.newInstance().fetchV3NsUsersByUseridPlatforms(userId);
19760
+ };
19761
+ /**
19762
+ * GET [/iam/v3/public/users/me/headless/link/conflict](api)
19763
+ *
19764
+ * Note:
19765
+ * 1. My account should be full account
19766
+ * 2. My account not linked to request headless account's third platform.
19767
+ */
19768
+ this.getLinkAccountByOneTimeCodeConflict = (params) => {
19769
+ return this.newInstance().fetchIamV3PublicUsersMeHeadlessLinkConflict(params);
19770
+ };
19771
+ /**
19772
+ * POST [/iam/v3/public/users/me/headless/linkWithProgression](api)
19773
+ *
19774
+ * Note:
19775
+ * 1. My account should be full account
19776
+ * 2. My account not linked to headless account's third platform.
19777
+ */
19778
+ this.linkWithProgression = (data) => {
19779
+ return this.newInstance().postIamV3PublicUsersMeHeadlessLinkWithProgression(data);
19780
+ };
19584
19781
  }
19585
19782
  /**
19586
19783
  * @internal
@@ -19737,24 +19934,36 @@ class AgreementApi {
19737
19934
  this.conf = conf;
19738
19935
  this.namespace = namespace;
19739
19936
  this.cache = cache;
19740
- }
19741
- /**
19742
- * Accepts many legal policy versions all at once. Supply with localized version policy id to accept an agreement.<br>Other detail info: <ul><li><i>Required permission</i>: login user</li></ul>
19743
- */
19744
- acceptLegalPolicies(acceptAgreements) {
19745
- return this.newInstance().postPublicAgreementsPolicies(acceptAgreements);
19746
- }
19747
- /**
19748
- * Retrieve accepted Legal Agreements.<br>Other detail info: <ul><li><i>Required permission</i>: login user</li></ul>
19749
- */
19750
- getAgreements() {
19751
- return this.newInstance().fetchPublicAgreementsPolicies();
19752
- }
19753
- /**
19754
- * Change marketing preference consent.<br>Other detail info: <ul><li><i>Required permission</i>: login user</li></ul>
19755
- */
19756
- updateMarketingPreferences(acceptAgreements) {
19757
- return this.newInstance().patchPublicAgreementsLocalizedPolicyVersionsPreferences(acceptAgreements);
19937
+ /**
19938
+ * POST [/agreement/public/agreements/policies](api)
19939
+ *
19940
+ * Accepts many legal policy versions all at once. Supply with localized version policy id to accept an agreement.
19941
+ *
19942
+ * _Required permission_: login user
19943
+ */
19944
+ this.acceptLegalPolicies = (acceptAgreements) => {
19945
+ return this.newInstance().postPublicAgreementsPolicies(acceptAgreements);
19946
+ };
19947
+ /**
19948
+ * GET [/agreement/public/agreements/policies](api)
19949
+ *
19950
+ * Retrieve accepted Legal Agreements.
19951
+ *
19952
+ * _Required permission_: login user
19953
+ */
19954
+ this.getAgreements = () => {
19955
+ return this.newInstance().fetchPublicAgreementsPolicies();
19956
+ };
19957
+ /**
19958
+ * PATCH [/agreement/public/agreements/localized-policy-versions/preferences](api)
19959
+ *
19960
+ * Change marketing preference consent
19961
+ *
19962
+ * _Required permission_: login user
19963
+ */
19964
+ this.updateMarketingPreferences = (acceptAgreements) => {
19965
+ return this.newInstance().patchPublicAgreementsLocalizedPolicyVersionsPreferences(acceptAgreements);
19966
+ };
19758
19967
  }
19759
19968
  newInstance() {
19760
19969
  return new Agreement$(Network.create(this.conf), this.namespace, this.cache);
@@ -19867,12 +20076,16 @@ class EligibilitiesApi {
19867
20076
  this.conf = conf;
19868
20077
  this.namespace = namespace;
19869
20078
  this.cache = cache;
19870
- }
19871
- /**
19872
- * Retrieve the active policies and its conformance status by user.<br>This process supports cross-namespace checking, that means if the active policy already accepted by the same user in other namespace, then it will be considered as eligible.<br/><br/>Other detail info: <ul><li><i>Required permission</i>: login user</li></ul>
19873
- */
19874
- getUserEligibilities() {
19875
- return this.newInstance().fetchPublicEligibilitiesNamespacesByNamespace();
20079
+ /**
20080
+ * GET [/agreement/public/eligibilities/namespaces/{namespace}](api)
20081
+ *
20082
+ * 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.
20083
+ *
20084
+ * _Required permission_: login user
20085
+ */
20086
+ this.getUserEligibilities = () => {
20087
+ return this.newInstance().fetchPublicEligibilitiesNamespacesByNamespace();
20088
+ };
19876
20089
  }
19877
20090
  newInstance() {
19878
20091
  return new Eligibilities$(Network.create(this.conf), this.namespace, this.cache);
@@ -19975,12 +20188,14 @@ class LocalizedPolicyVersionsApi {
19975
20188
  this.conf = conf;
19976
20189
  this.namespace = namespace;
19977
20190
  this.cache = cache;
19978
- }
19979
- /**
19980
- * Retrieve specific localized policy version including the policy version and base policy version where the localized policy version located.<br>Other detail info: <ul></ul>
19981
- */
19982
- fetchLocalizedPolicyVersionById(localizedPolicyVersionId) {
19983
- return this.newInstance().fetchPublicLocalizedPolicyVersionsByLocalizedpolicyversionid(localizedPolicyVersionId);
20191
+ /**
20192
+ * GET [/agreement/public/localized-policy-versions/{localizedPolicyVersionId}](api)
20193
+ *
20194
+ * Retrieve specific localized policy version including the policy version and base policy version where the localized policy version located.
20195
+ */
20196
+ this.fetchLocalizedPolicyVersionById = (localizedPolicyVersionId) => {
20197
+ return this.newInstance().fetchPublicLocalizedPolicyVersionsByLocalizedpolicyversionid(localizedPolicyVersionId);
20198
+ };
19984
20199
  }
19985
20200
  newInstance() {
19986
20201
  return new LocalizedPolicyVersions$(Network.create(this.conf), this.namespace, this.cache);
@@ -20086,18 +20301,37 @@ class PoliciesApi {
20086
20301
  this.conf = conf;
20087
20302
  this.namespace = namespace;
20088
20303
  this.cache = cache;
20089
- }
20090
- /**
20091
- * Retrieve all active latest policies based on a namespace and country.<br>Other detail info: <ul><li><i>Leave the policyType empty if you want to be responded with all policy type</i></li><li><i>Fill the tags if you want to filter the responded policy by tags</i></li><li><i>Fill the defaultOnEmpty with true if you want to be responded with default country-specific policy if your requested country is not exist</i></li><li><i>Fill the alwaysIncludeDefault with true if you want to be responded with always include default policy. If there are duplicate policies (default policies and country specific policies with same base policy) it'll include policy with same country code, for example:<ul><li>Document 1 (default): Region US (default), UA</li><li>Document 2 (default): Region US (default)</li><li>Document 3 (default): Region US (default)</li><li>User: Region UA</li><li>Query: alwaysIncludeDefault: true</li><li>Response: Document 1 (UA), Document 2 (US), Document 3 (US)</li></ul>
20092
- */
20093
- fetchPoliciesByCountry({ countryCode, queryParams }) {
20094
- return this.newInstance().fetchPublicPoliciesNamespacesByNamespaceCountriesByCountrycode(countryCode, queryParams);
20095
- }
20096
- /**
20097
- * Retrieve all active latest policies based on country from all namespaces.<br>Other detail info: <ul><li><i>Leave the policyType empty if you want to be responded with all policy type</i></li><li><i>Fill the tags if you want to filter the responded policy by tags</i></li><li><i>Fill the defaultOnEmpty with true if you want to be responded with default country-specific policy if your requested country is not exist</i></li></ul>
20098
- */
20099
- fetchAllPoliciesByCountry({ countryCode, queryParams }) {
20100
- return this.newInstance().fetchPublicPoliciesCountriesByCountrycode(countryCode, queryParams);
20304
+ /**
20305
+ * GET [/agreement/public/policies/namespaces/{namespace}/countries/{countryCode}](api)
20306
+ *
20307
+ * Retrieve all active latest policies based on a namespace and country.
20308
+ *
20309
+ * - _Leave the policyType empty if you want to be responded with all policy type_
20310
+ * - _Fill the tags if you want to filter the responded policy by tags_
20311
+ * - _Fill the defaultOnEmpty with true if you want to be responded with default country-specific policy if your requested country is not exist_
20312
+ * - _Fill the alwaysIncludeDefault with true if you want to be responded with always include default policy. If there are duplicate policies (default policies and country specific policies with same base policy) it'll include policy with same country code, for example:_
20313
+ *
20314
+ * - Document 1 (default): Region US (default), UA
20315
+ * - Document 2 (default): Region US (default)
20316
+ * - Document 3 (default): Region US (default)
20317
+ * - User: Region UA
20318
+ * - Query: alwaysIncludeDefault: true
20319
+ * - Response: Document 1 (UA), Document 2 (US), Document 3 (US)
20320
+ */
20321
+ this.fetchPoliciesByCountry = ({ countryCode, queryParams }) => {
20322
+ return this.newInstance().fetchPublicPoliciesNamespacesByNamespaceCountriesByCountrycode(countryCode, queryParams);
20323
+ };
20324
+ /**
20325
+ * GET [/agreement/public/policies/countries/{countryCode}](api)
20326
+ *
20327
+ * Retrieve all active latest policies based on country from all namespaces.
20328
+ * - _Leave the policyType empty if you want to be responded with all policy type_
20329
+ * - _Fill the tags if you want to filter the responded policy by tags_
20330
+ * - _Fill the defaultOnEmpty with true if you want to be responded with default country-specific policy if your requested country is not exist_
20331
+ */
20332
+ this.fetchAllPoliciesByCountry = ({ countryCode, queryParams }) => {
20333
+ return this.newInstance().fetchPublicPoliciesCountriesByCountrycode(countryCode, queryParams);
20334
+ };
20101
20335
  }
20102
20336
  newInstance() {
20103
20337
  return new Policies$(Network.create(this.conf), this.namespace, this.cache);
@@ -20181,12 +20415,21 @@ class PublicTemplateApi {
20181
20415
  this.conf = conf;
20182
20416
  this.namespace = namespace;
20183
20417
  this.cache = cache;
20418
+ /**
20419
+ * @internal
20420
+ */
20184
20421
  this.getTemplateConfigs = (template) => {
20185
20422
  return this.newInstance().fetchV1NsTemplatesByTemplateConfigs(template);
20186
20423
  };
20424
+ /**
20425
+ * @internal
20426
+ */
20187
20427
  this.getTemplateConfig = (template, configId) => {
20188
20428
  return this.newInstance().fetchV1NsTemplatesByTemplateConfigsByConfig(template, configId);
20189
20429
  };
20430
+ /**
20431
+ * @internal
20432
+ */
20190
20433
  this.getDiscoveryTemplateConfigs = () => {
20191
20434
  return this.newInstance().fetchV1NsTemplatesByTemplateConfigs(DISCOVERY_TEMPLATE_NAME);
20192
20435
  };
@@ -20256,13 +20499,19 @@ class CurrencyApi {
20256
20499
  this.namespace = namespace;
20257
20500
  this.cache = cache;
20258
20501
  /**
20259
- * List currencies of a namespace.<br>Other detail info: <ul><li><i>Returns</i>: Currency List</li></ul>
20502
+ * GET [/platform/public/namespaces/{namespace}/currencies](api)
20503
+ *
20504
+ * List currencies of a namespace.
20505
+ *
20506
+ * Returns: Currency List
20260
20507
  */
20261
20508
  this.getCurrencies = () => {
20262
20509
  return this.newInstance().fetchNsCurrencies();
20263
20510
  };
20264
20511
  /**
20265
20512
  * Get the currencies list and convert into a map of currency code and the currency itself
20513
+ *
20514
+ * @internal
20266
20515
  */
20267
20516
  this.getCurrencyMap = async () => {
20268
20517
  const result = await this.getCurrencies();
@@ -20875,38 +21124,42 @@ class EntitlementApi {
20875
21124
  this.conf = conf;
20876
21125
  this.namespace = namespace;
20877
21126
  this.cache = cache;
20878
- }
20879
- /**
20880
- * Get user app entitlement by appId.<p>Other detail info: <ul><li><i>Required permission</i>: resource="NAMESPACE:{namespace}:USER:{userId}:ENTITLEMENT", action=2 (READ)</li></ul>
20881
- */
20882
- getEntitlementByAppId({ userId, appId }) {
20883
- return this.newInstance().fetchNsUsersByUseridEntitlementsByAppId(userId, {
20884
- appId
20885
- });
20886
- }
20887
- /**
20888
- * Query user entitlements for a specific user.<p>Other detail info: <ul><li><i>Required permission</i>: resource="NAMESPACE:{namespace}:USER:{userId}:ENTITLEMENT", action=2 (READ)</li><li><i>Returns</i>: entitlement list</li></ul>
20889
- */
20890
- getEntitlements({ userId, queryParams }) {
20891
- return this.newInstance().fetchNsUsersByUseridEntitlements(userId, queryParams);
20892
- }
20893
- /**
20894
- * Exists any user active entitlement of specified itemIds, skus and appIds<p>Other detail info: <ul><li><i>Required permission</i>: resource="NAMESPACE:{namespace}:USER:{userId}:ENTITLEMENT", action=2 (READ)</li></ul>
20895
- */
20896
- getEntitlementOwnerShip({ userId, queryParams }) {
20897
- return this.newInstance().fetchNsUsersByUseridEntitlementsOwnershipAny(userId, queryParams);
20898
- }
20899
- /**
20900
- * Get user entitlement ownership by itemIds.<p>Other detail info: <ul><li><i>Required permission</i>: resource="NAMESPACE:{namespace}:USER:{userId}:ENTITLEMENT", action=2 (READ)</li></ul>
20901
- */
20902
- getEntitlementByItemIds({ userId, queryParams }) {
20903
- return this.newInstance().fetchNsUsersByUseridEntitlementsOwnershipByItemIds(userId, queryParams);
20904
- }
20905
- /**
20906
- * Consume user entitlement. If the entitlement useCount is 0, the status will be CONSUMED. Client should pass item id in options if entitlement clazz is OPTIONBOX<br>Other detail info: <ul><li><i>Required permission</i>: resource="NAMESPACE:{namespace}:USER:{userId}:ENTITLEMENT", action=4 (UPDATE)</li><li><i>Returns</i>: consumed entitlement</li></ul>
20907
- */
20908
- claimEntitlement({ userId, entitlementId, data }) {
20909
- return this.newInstance().putNsUsersByUseridEntitlementsByEntitlementidDecrement(userId, entitlementId, data);
21127
+ /**
21128
+ * GET [/platform/public/namespaces/{namespace}/users/{userId}/entitlements/byAppId](api)
21129
+ *
21130
+ * Get user app entitlement by appId.
21131
+ */
21132
+ this.getEntitlementByAppId = ({ userId, appId }) => {
21133
+ return this.newInstance().fetchNsUsersByUseridEntitlementsByAppId(userId, {
21134
+ appId
21135
+ });
21136
+ };
21137
+ /**
21138
+ * Query user entitlements for a specific user.
21139
+ * Returns: entitlement list
21140
+ */
21141
+ this.getEntitlements = ({ userId, queryParams }) => {
21142
+ return this.newInstance().fetchNsUsersByUseridEntitlements(userId, queryParams);
21143
+ };
21144
+ /**
21145
+ * Exists any user active entitlement of specified itemIds, skus and appIds
21146
+ */
21147
+ this.getEntitlementOwnerShip = ({ userId, queryParams }) => {
21148
+ return this.newInstance().fetchNsUsersByUseridEntitlementsOwnershipAny(userId, queryParams);
21149
+ };
21150
+ /**
21151
+ * Get user entitlement ownership by itemIds.
21152
+ */
21153
+ this.getEntitlementByItemIds = ({ userId, queryParams }) => {
21154
+ return this.newInstance().fetchNsUsersByUseridEntitlementsOwnershipByItemIds(userId, queryParams);
21155
+ };
21156
+ /**
21157
+ * 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
21158
+ * Returns: consumed entitlement
21159
+ */
21160
+ this.claimEntitlement = ({ userId, entitlementId, data }) => {
21161
+ return this.newInstance().putNsUsersByUseridEntitlementsByEntitlementidDecrement(userId, entitlementId, data);
21162
+ };
20910
21163
  }
20911
21164
  newInstance() {
20912
21165
  return new Entitlement$(Network.create(this.conf), this.namespace, this.cache);
@@ -21006,7 +21259,11 @@ class FulfillmentApi {
21006
21259
  this.namespace = namespace;
21007
21260
  this.cache = cache;
21008
21261
  /**
21009
- * Redeem campaign code.<br>Other detail info: <ul><li><i>Required permission</i>: resource="NAMESPACE:{namespace}:USER:{userId}:FULFILLMENT", action=1 (CREATED)</li><li><i>Returns</i>: fulfillment result</li></ul>
21262
+ * POST [/platform/public/namespaces/{namespace}/users/{userId}/fulfillment/code](api)
21263
+ *
21264
+ * Redeem campaign code
21265
+ *
21266
+ * Returns: fulfillment result
21010
21267
  */
21011
21268
  this.redeemCode = ({ userId, data }) => {
21012
21269
  return this.newInstance().postNsUsersByUseridFulfillmentCode(userId, data);
@@ -21559,64 +21816,90 @@ class ItemApi {
21559
21816
  this.conf = conf;
21560
21817
  this.namespace = namespace;
21561
21818
  this.cache = cache;
21562
- }
21563
- /**
21564
- * This API is used to get item by appId.<p>Other detail info: <ul><li><i>Optional permission</i>: resource="PREVIEW", action=1(CREATE) (user with this permission can view draft store item)</li><li><i>Optional permission</i>: resource="SANDBOX", action=1(CREATE) (user with this permission can view draft store item)</li><li><i>Returns</i>: the item with that appId</li></ul>
21565
- */
21566
- getItemByAppId({ ...queryParams }) {
21567
- return this.newInstance().fetchNsItemsByAppId(queryParams);
21568
- }
21569
- /**
21570
- * Get item dynamic data for a published item.<br>Other detail info: <ul><li><i>Returns</i>: item dynamic data</li></ul>
21571
- */
21572
- getItemByItemIdDynamic(itemId) {
21573
- return this.newInstance().fetchNsItemsByItemidDynamic(itemId);
21574
- }
21575
- fetchItemsByCriteria({ queryParams }) {
21576
- return this.newInstance().fetchNsItemsByCriteria(queryParams);
21577
- }
21578
- /**
21579
- * This API is used to query items by criteria within a store. If item not exist in specific region, default region item will return.<p>Other detail info: <ul><li><i>Optional permission</i>: resource="PREVIEW", action=1(CREATE) (user with this permission can view draft store item)</li><li><i>Optional permission</i>: resource="SANDBOX", action=1(CREATE) (user with this permission can view draft store item)</li><li><i>Returns</i>: the list of items</li></ul>
21580
- */
21581
- getItemsByItemIds({ queryParams }) {
21582
- return this.newInstance().fetchNsItemsLocaleByIds(queryParams);
21583
- }
21584
- /**
21585
- * Fetch the items and convert it into a map of `itemId` and its item info
21586
- */
21587
- async fetchAvailableItemInfoMap({ queryParams }) {
21588
- const result = await this.getItemsByItemIds({ queryParams });
21589
- if (result.response) {
21590
- return {
21591
- error: null,
21592
- value: result.response.data.reduce((map, availableItemInfo) => {
21593
- const { itemId } = availableItemInfo;
21594
- if (itemId) {
21595
- map.set(itemId, availableItemInfo);
21596
- }
21597
- return map;
21598
- }, new Map())
21599
- };
21600
- }
21601
- return result;
21602
- }
21603
- /**
21604
- * This API is used to get an item in locale. If item not exist in specific region, default region item will return.<p>Other detail info: <ul><li><i>Optional permission</i>: resource="PREVIEW", action=1(CREATE) (user with this permission can view draft store item)</li><li><i>Optional permission</i>: resource="SANDBOX", action=1(CREATE) (user with this permission can view draft store item)</li><li><i>Returns</i>: item data</li></ul>
21605
- */
21606
- getItemsByItemIdLocale({ itemId, queryParams }) {
21607
- return this.newInstance().fetchNsItemsByItemidLocale(itemId, queryParams);
21608
- }
21609
- /**
21610
- * This API is used to get an app in locale. If app not exist in specific region, default region app will return.<p>Other detail info: <ul><li><i>Optional permission</i>: resource="PREVIEW", action=1(CREATE) (user with this permission can view draft store app)</li><li><i>Optional permission</i>: resource="SANDBOX", action=1(CREATE) (user with this permission can view draft store app)</li><li><i>Returns</i>: app data</li></ul>
21611
- */
21612
- getAppInfoByItemId({ itemId, queryParams }) {
21613
- return this.newInstance().fetchNsItemsByItemidAppLocale(itemId, queryParams);
21614
- }
21615
- /**
21616
- * This API is used to validate user item purchase condition
21617
- */
21618
- validatePurchaseCondition(data) {
21619
- return this.newInstance().postNsItemsPurchaseConditionsValidate(data);
21819
+ /**
21820
+ * GET [/platform/public/namespaces/{namespace}/items/byAppId](api)
21821
+ *
21822
+ * This API is used to get item by appId
21823
+ *
21824
+ * Returns: the item with that appId
21825
+ */
21826
+ this.getItemByAppId = ({ ...queryParams }) => {
21827
+ return this.newInstance().fetchNsItemsByAppId(queryParams);
21828
+ };
21829
+ /**
21830
+ * GET [/platform/public/namespaces/{namespace}/items/{itemId}/dynamic](api)
21831
+ *
21832
+ * Get item dynamic data for a published item
21833
+ *
21834
+ * Returns: item dynamic data
21835
+ */
21836
+ this.getItemByItemIdDynamic = (itemId) => {
21837
+ return this.newInstance().fetchNsItemsByItemidDynamic(itemId);
21838
+ };
21839
+ /**
21840
+ * GET [/platform/public/namespaces/{namespace}/items/byCriteria](api)
21841
+ */
21842
+ this.fetchItemsByCriteria = ({ queryParams }) => {
21843
+ return this.newInstance().fetchNsItemsByCriteria(queryParams);
21844
+ };
21845
+ /**
21846
+ * GET [/platform/public/namespaces/{namespace}/items/locale/byIds](api)
21847
+ *
21848
+ * This API is used to query items by criteria within a store. If item not exist in specific region, default region item will return.
21849
+ *
21850
+ * Returns: the list of items
21851
+ */
21852
+ this.getItemsByItemIds = ({ queryParams }) => {
21853
+ return this.newInstance().fetchNsItemsLocaleByIds(queryParams);
21854
+ };
21855
+ // TODO if not used, delete below
21856
+ // /**
21857
+ // * Fetch the items and convert it into a map of `itemId` and its item info
21858
+ // */
21859
+ // fetchAvailableItemInfoMap = async ({ queryParams }: { queryParams: QueryParamsItemIds }) => {
21860
+ // const result = await this.getItemsByItemIds({ queryParams })
21861
+ // if (result.response) {
21862
+ // return {
21863
+ // error: null,
21864
+ // value: result.response.data.reduce((map: Map<string, ItemInfo>, availableItemInfo) => {
21865
+ // const { itemId } = availableItemInfo
21866
+ // if (itemId) {
21867
+ // map.set(itemId, availableItemInfo)
21868
+ // }
21869
+ // return map
21870
+ // }, new Map())
21871
+ // }
21872
+ // }
21873
+ // return result
21874
+ // }
21875
+ /**
21876
+ * GET [/platform/public/namespaces/{namespace}/items/{itemId}/locale](api)
21877
+ *
21878
+ * This API is used to get an item in locale. If item not exist in specific region, default region item will return.
21879
+ *
21880
+ * Returns: item data
21881
+ */
21882
+ this.getItemsByItemIdLocale = ({ itemId, queryParams }) => {
21883
+ return this.newInstance().fetchNsItemsByItemidLocale(itemId, queryParams);
21884
+ };
21885
+ /**
21886
+ * GET [/platform/public/namespaces/{namespace}/items/{itemId}/app/locale](api)
21887
+ *
21888
+ * This API is used to get an app in locale. If app not exist in specific region, default region app will return.
21889
+ *
21890
+ * Returns: app data
21891
+ */
21892
+ this.getAppInfoByItemId = ({ itemId, queryParams }) => {
21893
+ return this.newInstance().fetchNsItemsByItemidAppLocale(itemId, queryParams);
21894
+ };
21895
+ /**
21896
+ * POST [/platform/public/namespaces/{namespace}/items/purchase/conditions/validate](api)
21897
+ *
21898
+ * This API is used to validate user item purchase condition
21899
+ */
21900
+ this.validatePurchaseCondition = (data) => {
21901
+ return this.newInstance().postNsItemsPurchaseConditionsValidate(data);
21902
+ };
21620
21903
  }
21621
21904
  newInstance() {
21622
21905
  return new Item$(Network.create(this.conf), this.namespace, this.cache);
@@ -21857,31 +22140,102 @@ class OrderApi {
21857
22140
  this.namespace = namespace;
21858
22141
  this.cache = cache;
21859
22142
  /**
21860
- * Query user orders.<br>Other detail info: <ul><li><i>Required permission</i>: resource="NAMESPACE:{namespace}:USER:{userId}:ORDER", action=2 (READ)</li><li><i>Returns</i>: get order</li></ul>
22143
+ * GET [/platform/public/namespaces/{namespace}/users/{userId}/orders](api)
22144
+ *
22145
+ * Query user orders
22146
+ *
22147
+ * Returns a paginated list of `OrderInfo`:
22148
+ * <pre lang="json">{
22149
+ orderNo,
22150
+ paymentOrderNo,
22151
+ namespace,
22152
+ userId,
22153
+ itemId,
22154
+ sandbox,
22155
+ quantity,
22156
+ price,
22157
+ discountedPrice,
22158
+ creationOptions
22159
+ paymentProvider: ('WALLET', 'XSOLLA', 'ADYEN', 'STRIPE', 'CHECKOUT', 'ALIPAY', 'WXPAY', 'PAYPAL'),
22160
+ paymentMethod,
22161
+ tax,
22162
+ vat,
22163
+ salesTax,
22164
+ paymentProviderFee,
22165
+ paymentMethodFee
22166
+ currency: CurrencySummary,
22167
+ paymentStationUrl,
22168
+ itemSnapshot,
22169
+ region,
22170
+ language,
22171
+ status: (
22172
+ 'INIT',
22173
+ 'CHARGED',
22174
+ 'CHARGEBACK',
22175
+ 'CHARGEBACK_REVERSED',
22176
+ 'FULFILLED',
22177
+ 'FULFILL_FAILED',
22178
+ 'REFUNDING',
22179
+ 'REFUNDED',
22180
+ 'REFUND_FAILED',
22181
+ 'CLOSED',
22182
+ 'DELETED'
22183
+ ),
22184
+ statusReason,
22185
+ createdTime,
22186
+ chargedTime,
22187
+ fulfilledTime,
22188
+ refundedTime,
22189
+ chargebackTime,
22190
+ chargebackReversedTime,
22191
+ expireTime,
22192
+ paymentRemainSeconds,
22193
+ ext,
22194
+ totalTax,
22195
+ totalPrice,
22196
+ subtotalPrice,
22197
+ createdAt,
22198
+ updatedAt
22199
+ }</pre>
21861
22200
  */
21862
22201
  this.getOrderList = ({ userId, queryParams }) => {
21863
22202
  return this.newInstance().fetchNsUsersByUseridOrders(userId, queryParams);
21864
22203
  };
21865
22204
  /**
21866
- * Get user order.<br>Other detail info: <ul><li><i>Required permission</i>: resource="NAMESPACE:{namespace}:USER:{userId}:ORDER", action=2 (READ)</li><li><i>Returns</i>: get order</li></ul>
22205
+ * GET [/platform/public/namespaces/{namespace}/users/{userId}/orders/{orderNo}](api)
22206
+ *
22207
+ * Get user order.
22208
+ *
22209
+ * Returns: `OrderInfo`
21867
22210
  */
21868
22211
  this.getOrderByOrderNo = ({ userId, orderNo }) => {
21869
22212
  return this.newInstance().fetchNsUsersByUseridOrdersByOrderno(userId, orderNo);
21870
22213
  };
21871
22214
  /**
21872
- * Cancel user order.<br>Other detail info: <ul><li><i>Required permission</i>: resource="NAMESPACE:{namespace}:USER:{userId}:ORDER", action=4 (UPDATE)</li><li><i>Returns</i>: cancelled order</li></ul>
22215
+ * PUT [/platform/public/namespaces/{namespace}/users/{userId}/orders/{orderNo}/cancel](api)
22216
+ *
22217
+ * Cancel user order.
22218
+ *
22219
+ * Returns: cancelled `OrderInfo`
21873
22220
  */
21874
22221
  this.cancelOrder = ({ userId, orderNo }) => {
21875
22222
  return this.newInstance().putNsUsersByUseridOrdersByOrdernoCancel(userId, orderNo);
21876
22223
  };
21877
22224
  /**
21878
- * Create an order. The result contains the checkout link and payment token. User with permission SANDBOX will create sandbox order that not real paid for xsolla/alipay and not validate price for wxpay.<br>Other detail info: <ul><li><i>Required permission</i>: resource="NAMESPACE:{namespace}:USER:{userId}:ORDER", action=1 (CREATE)</li><li><i>Optional permission(user with this permission will create sandbox order)</i>: resource="SANDBOX", action=1 (CREATE)</li><li>It will be forbidden while the user is banned: ORDER_INITIATE or ORDER_AND_PAYMENT</li><li><i>Returns</i>: created order</li></ul>
22225
+ * POST [/platform/public/namespaces/{namespace}/users/{userId}/orders](api)
22226
+ *
22227
+ * Create an order. The result contains the checkout link and payment token.
22228
+ * User with permission SANDBOX will create sandbox order that not real paid for xsolla/alipay and not validate price for wxpay.
22229
+ *
22230
+ * Returns: created `OrderInfo`
21879
22231
  */
21880
22232
  this.createOrder = ({ userId, data }) => {
21881
22233
  return this.newInstance().postNsUsersByUseridOrders(userId, data);
21882
22234
  };
21883
22235
  /**
21884
22236
  * Fetch all information needed for a user to check the user's availability to purchase the item
22237
+ *
22238
+ * @internal
21885
22239
  */
21886
22240
  this.fetchPrePurchaseInformation = async ({ userId, item }) => {
21887
22241
  const currencyApi = new CurrencyApi(this.conf, this.namespace, this.cache);
@@ -22210,31 +22564,49 @@ class PaymentApi {
22210
22564
  this.namespace = namespace;
22211
22565
  this.cache = cache;
22212
22566
  /**
22213
- * Get payment accounts.<br>Other detail info: <ul><li><i>Required permission</i>: resource="NAMESPACE:{namespace}:USER:{userId}:PAYMENT:ACCOUNT", action=2 (READ)</li><li><i>Returns</i>: Payment account list</li></ul>
22567
+ * GET [/platform/public/namespaces/{namespace}/users/{userId}/payment/accounts](api)
22568
+ *
22569
+ * Get payment accounts.
22570
+ *
22571
+ * Returns: Payment account list `PaymentAccountArray`
22214
22572
  */
22215
22573
  this.getPaymentAccounts = (userId) => {
22216
22574
  return this.newInstance().fetchNsUsersByUseridPaymentAccounts(userId);
22217
22575
  };
22218
22576
  /**
22219
- * Delete payment account.<br>Other detail info: <ul><li><i>Required permission</i>: resource="NAMESPACE:{namespace}:USER:{userId}:PAYMENT:ACCOUNT", action=8 (DELETE)</li><li><i>Returns</i>:</li></ul>
22577
+ * DELETE [/platform/public/namespaces/{namespace}/users/{userId}/payment/accounts/{type}/{id}](api)
22578
+ *
22579
+ * Delete payment account.
22220
22580
  */
22221
22581
  this.deletePaymentAccount = ({ userId, type, id }) => {
22222
22582
  return this.newInstance().deleteNsUsersByUseridPaymentAccountsByTypeById(userId, type, id);
22223
22583
  };
22224
22584
  /**
22225
- * Get payment order info.<br>Other detail info: <ul><li><i>Returns</i>: Payment order details</li></ul>
22585
+ * GET [/platform/public/namespaces/{namespace}/payment/orders/{paymentOrderNo}/info](api)
22586
+ *
22587
+ * Get payment order info.
22588
+ *
22589
+ * Returns: Payment order details `PaymentOrderDetails`
22226
22590
  */
22227
22591
  this.getPaymentInfo = (paymentOrderNo) => {
22228
22592
  return new PaymentStation$(Network.create(this.conf), this.namespace, this.cache).fetchNsPaymentOrdersByPaymentordernoInfo(paymentOrderNo);
22229
22593
  };
22230
22594
  /**
22231
- * Do payment(For now, this only support checkout.com).<br>Other detail info: <ul><li><i>Returns</i>: Payment process result</li></ul>
22595
+ * POST [/platform/public/namespaces/{namespace}/payment/orders/{paymentOrderNo}/pay](api)
22596
+ *
22597
+ * Do payment(For now, this only support checkout.com).
22598
+ *
22599
+ * Returns: Payment process result
22232
22600
  */
22233
22601
  this.processPaymentOrder = (paymentOrderNo, data, queryParams) => {
22234
22602
  return new PaymentStation$(Network.create(this.conf), this.namespace, this.cache).postNsPaymentOrdersByPaymentordernoPay(paymentOrderNo, data, queryParams);
22235
22603
  };
22236
22604
  /**
22237
- * Get payment provider public config, at current only Strip provide public config.<br>Other detail info: <ul><li><i>Returns</i>: Public config</li></ul>
22605
+ * GET [/platform/public/namespaces/{namespace}/payment/publicconfig](api)
22606
+ *
22607
+ * Get payment provider public config, at current only Strip provide public config.
22608
+ *
22609
+ * Returns: Public config
22238
22610
  */
22239
22611
  this.getPaymentProviderPublicConfig = (paymentProvider, region, sandbox) => {
22240
22612
  return new PaymentStation$(Network.create(this.conf), this.namespace, this.cache).fetchNsPaymentPublicconfig({
@@ -22244,19 +22616,28 @@ class PaymentApi {
22244
22616
  });
22245
22617
  };
22246
22618
  /**
22247
- * Check payment order paid status.<br>Other detail info: <ul><li><i>Returns</i>: Payment order paid result</li></ul>
22619
+ * GET [/platform/public/namespaces/{namespace}/payment/orders/{paymentOrderNo}/status](api)
22620
+ *
22621
+ * Check payment order paid status.
22622
+ *
22623
+ * Returns: Payment order paid result
22248
22624
  */
22249
22625
  this.getPaymentOrderStatus = (paymentOrderNo) => {
22250
22626
  return new PaymentStation$(Network.create(this.conf), this.namespace, this.cache).fetchNsPaymentOrdersByPaymentordernoStatus(paymentOrderNo);
22251
22627
  };
22252
22628
  /**
22253
- * Get payment methods.<br>Other detail info: <ul><li><i>Returns</i>: Payment method list</li></ul>
22629
+ * Get payment methods.
22630
+ * Returns: Payment method list
22254
22631
  */
22255
22632
  this.getPaymentMethods = (paymentOrderNo) => {
22256
22633
  return new PaymentStation$(Network.create(this.conf), this.namespace, this.cache).fetchNsPaymentMethods({ paymentOrderNo });
22257
22634
  };
22258
22635
  /**
22259
- * Check and get a payment order's should pay tax.<br>Other detail info: <ul><li><i>Returns</i>: tax result</li></ul>
22636
+ * GET [/platform/public/namespaces/{namespace}/payment/methods](api)
22637
+ *
22638
+ * Check and get a payment order's should pay tax.
22639
+ *
22640
+ * Returns: tax result
22260
22641
  */
22261
22642
  this.getPaymentTax = (paymentProvider, paymentOrderNo, zipCode) => {
22262
22643
  return new PaymentStation$(Network.create(this.conf), this.namespace, this.cache).fetchNsPaymentTax({
@@ -22266,7 +22647,11 @@ class PaymentApi {
22266
22647
  });
22267
22648
  };
22268
22649
  /**
22269
- * Get payment url.<br>Other detail info: <ul><li><i>Returns</i>: Get payment link</li></ul>
22650
+ * POST [/platform/public/namespaces/{namespace}/payment/link](api)
22651
+ *
22652
+ * Get payment url.
22653
+ *
22654
+ * Returns: Get payment link
22270
22655
  */
22271
22656
  this.createPaymentUrl = (data) => {
22272
22657
  return new PaymentStation$(Network.create(this.conf), this.namespace, this.cache).postNsPaymentLink(data);
@@ -22522,42 +22907,73 @@ class SubscriptionApi {
22522
22907
  this.conf = conf;
22523
22908
  this.namespace = namespace;
22524
22909
  this.cache = cache;
22525
- }
22526
- /**
22527
- * Query user subscriptions.<br>Other detail info: <ul><li><i>Required permission</i>: resource="NAMESPACE:{namespace}:USER:{userId}:SUBSCRIPTION", action=2 (READ)</li><li><i>Returns</i>: paginated subscription</li></ul>
22528
- */
22529
- getUserSubscriptions({ userId, queryParams }) {
22530
- return this.newInstance().fetchNsUsersByUseridSubscriptions(userId, queryParams);
22531
- }
22532
- /**
22533
- * Get user subscription.<br>Other detail info: <ul><li><i>Required permission</i>: resource="NAMESPACE:{namespace}:USER:{userId}:SUBSCRIPTION", action=2 (READ)</li><li><i>Returns</i>: subscription</li></ul>
22534
- */
22535
- getUserSubscriptionBySubscriptionId({ userId, subscriptionId }) {
22536
- return this.newInstance().fetchNsUsersByUseridSubscriptionsBySubscriptionid(userId, subscriptionId);
22537
- }
22538
- /**
22539
- * Subscribe a subscription. Support both real and virtual payment. Need go through payment flow using the paymentOrderNo if paymentFlowRequired true.<br><b>ACTIVE USER subscription can't do subscribe again.</b><br><b>The next billing date will be X(default 4) hours before the current period ends if correctly subscribed.</b><br>User with permission SANDBOX will create sandbox subscription that not real paid.<br>Other detail info: <ul><li><i>Required permission</i>: resource="NAMESPACE:{namespace}:USER:{userId}:SUBSCRIPTION", action=1 (CREATE)</li><li><i>Optional permission(user with this permission will create sandbox subscription)</i>: resource="SANDBOX", action=1 (CREATE)</li><li>It will be forbidden while the user is banned: ORDER_INITIATE or ORDER_AND_PAYMENT</li><li><i>Returns</i>: created subscription</li></ul>
22540
- */
22541
- createSubscription({ userId, data }) {
22542
- return this.newInstance().postNsUsersByUseridSubscriptions(userId, data);
22543
- }
22544
- /**
22545
- * Get user subscription billing histories.<br>Other detail info: <ul><li><i>Required permission</i>: resource="NAMESPACE:{namespace}:USER:{userId}:SUBSCRIPTION", action=2 (READ)</li><li><i>Returns</i>: paginated subscription history</li></ul>
22546
- */
22547
- getUserSubscriptionBillingHistory({ userId, subscriptionId, queryParams }) {
22548
- return this.newInstance().fetchNsUsersByUseridSubscriptionsBySubscriptionidHistory(userId, subscriptionId, queryParams);
22549
- }
22550
- /**
22551
- * Request to change a subscription billing account, this will guide user to payment station. The actual change will happen at the 0 payment notification successfully handled.<br>Only ACTIVE USER subscription with real currency billing account can be changed.<br>Other detail info: <ul><li><i>Required permission</i>: resource="NAMESPACE:{namespace}:USER:{userId}:SUBSCRIPTION", action=4 (UPDATE)</li><li><i>Returns</i>: updated subscription</li></ul>
22552
- */
22553
- updateUserSubscriptionPaymentMethod({ userId, subscriptionId }) {
22554
- return this.newInstance().putNsUsersByUseridSubscriptionsBySubscriptionidBillingAccount(userId, subscriptionId);
22555
- }
22556
- /**
22557
- * Cancel a subscription, only ACTIVE subscription can be cancelled. <b>Ensure successfully cancel, recommend at least 1 day before current period ends, otherwise it may be charging or charged.</b><br>Set immediate true, the subscription will be terminated immediately, otherwise till the end of current billing cycle.<br>Other detail info: <ul><li><i>Required permission</i>: resource="NAMESPACE:{namespace}:USER:{userId}:SUBSCRIPTION", action=4 (UPDATE)</li><li><i>Returns</i>: cancelled subscription</li></ul>
22558
- */
22559
- cancelUserSubscription({ userId, subscriptionId, data }) {
22560
- return this.newInstance().putNsUsersByUseridSubscriptionsBySubscriptionidCancel(userId, subscriptionId, data);
22910
+ /**
22911
+ * GET [/platform/public/namespaces/{namespace}/users/{userId}/subscriptions](api)
22912
+ *
22913
+ * Query user subscriptions.
22914
+ *
22915
+ * Returns: paginated subscription
22916
+ */
22917
+ this.getUserSubscriptions = ({ userId, queryParams }) => {
22918
+ return this.newInstance().fetchNsUsersByUseridSubscriptions(userId, queryParams);
22919
+ };
22920
+ /**
22921
+ * GET [/platform/public/namespaces/{namespace}/users/{userId}/subscriptions/{subscriptionId}](api)
22922
+ *
22923
+ * Get user subscription.
22924
+ *
22925
+ * Returns: subscription
22926
+ */
22927
+ this.getUserSubscriptionBySubscriptionId = ({ userId, subscriptionId }) => {
22928
+ return this.newInstance().fetchNsUsersByUseridSubscriptionsBySubscriptionid(userId, subscriptionId);
22929
+ };
22930
+ /**
22931
+ * POST [/platform/public/namespaces/{namespace}/users/{userId}/subscriptions](api)
22932
+ *
22933
+ * Subscribe a subscription. Support both real and virtual payment. Need go through payment flow using the paymentOrderNo if paymentFlowRequired true.
22934
+ * __ACTIVE USER subscription can't do subscribe again.__
22935
+ * __The next billing date will be X(default 4) hours before the current period ends if correctly subscribed.__
22936
+ * User with permission SANDBOX will create sandbox subscription that not real paid.
22937
+ *
22938
+ * Returns: created subscription
22939
+ */
22940
+ this.createSubscription = ({ userId, data }) => {
22941
+ return this.newInstance().postNsUsersByUseridSubscriptions(userId, data);
22942
+ };
22943
+ /**
22944
+ * GET [/platform/public/namespaces/{namespace}/users/{userId}/subscriptions/{subscriptionId}/history](api)
22945
+ *
22946
+ * Get user subscription billing histories.
22947
+ *
22948
+ * Returns: paginated subscription history
22949
+ */
22950
+ this.getUserSubscriptionBillingHistory = ({ userId, subscriptionId, queryParams }) => {
22951
+ return this.newInstance().fetchNsUsersByUseridSubscriptionsBySubscriptionidHistory(userId, subscriptionId, queryParams);
22952
+ };
22953
+ /**
22954
+ * PUT [/platform/public/namespaces/{namespace}/users/{userId}/subscriptions/{subscriptionId}/billingAccount](api)
22955
+ *
22956
+ * Request to change a subscription billing account, this will guide user to payment station.
22957
+ * The actual change will happen at the 0 payment notification successfully handled.
22958
+ * Only ACTIVE USER subscription with real currency billing account can be changed.
22959
+ *
22960
+ * Returns: updated subscription
22961
+ */
22962
+ this.updateUserSubscriptionPaymentMethod = ({ userId, subscriptionId }) => {
22963
+ return this.newInstance().putNsUsersByUseridSubscriptionsBySubscriptionidBillingAccount(userId, subscriptionId);
22964
+ };
22965
+ /**
22966
+ * PUT [/platform/public/namespaces/{namespace}/users/{userId}/subscriptions/{subscriptionId}/cancel](api)
22967
+ *
22968
+ * Cancel a subscription, only ACTIVE subscription can be cancelled.
22969
+ * __Ensure successfully cancel, recommend at least 1 day before current period ends, otherwise it may be charging or charged.__
22970
+ * Set immediate true, the subscription will be terminated immediately, otherwise till the end of current billing cycle.
22971
+ *
22972
+ * Returns: cancelled subscription
22973
+ */
22974
+ this.cancelUserSubscription = ({ userId, subscriptionId, data }) => {
22975
+ return this.newInstance().putNsUsersByUseridSubscriptionsBySubscriptionidCancel(userId, subscriptionId, data);
22976
+ };
22561
22977
  }
22562
22978
  newInstance() {
22563
22979
  return new Subscription$(Network.create(this.conf), this.namespace, this.cache);
@@ -22724,19 +23140,32 @@ class WalletApi {
22724
23140
  this.namespace = namespace;
22725
23141
  this.cache = cache;
22726
23142
  /**
22727
- * get my wallet by currency code and namespace.<br>Other detail info: <ul><li><i>Required permission</i>: resource="NAMESPACE:{namespace}:WALLET", action=2 (READ)</li><li><i>Returns</i>: wallet info</li><li><i>Path's namespace</i> : <ul> <li>can be filled with <b>publisher namespace</b> in order to get <b>publisher user wallet</b></li> <li>can be filled with <b>game namespace</b> in order to get <b>game user wallet</b></li> </ul></li></ul>
23143
+ * GET [/platform/public/namespaces/{namespace}/users/me/wallets/{currencyCode}](api)
23144
+ *
23145
+ * get my wallet by currency code and namespace.
23146
+ *
23147
+ * Returns: wallet info
23148
+ *
23149
+ * Path's namespace:
23150
+ * - can be filled with __publisher namespace__ in order to get __publisher user wallet__
23151
+ * - can be filled with __game namespace__ in order to get __game user wallet__
22728
23152
  */
22729
23153
  this.getUserMeWallet = (currencyCode) => {
22730
23154
  return this.newInstance().fetchNsUsersMeWalletsByCurrencycode(currencyCode);
22731
23155
  };
22732
23156
  /**
22733
- * get a wallet by currency code.<br>Other detail info: <ul><li><i>Required permission</i>: resource="NAMESPACE:{namespace}:USER:{userId}:WALLET", action=2 (READ)</li><li><i>Returns</i>: wallet info</li></ul>
23157
+ * GET [/platform/public/namespaces/{namespace}/users/{userId}/wallets/{currencyCode}](api)
23158
+ *
23159
+ * Get a wallet by currency code.
23160
+ *
23161
+ * Returns: wallet info
22734
23162
  */
22735
23163
  this.getWalletByUserId = (userId, currencyCode) => {
22736
23164
  return this.newInstance().fetchNsUsersByUseridWalletsByCurrencycode(userId, currencyCode);
22737
23165
  };
22738
23166
  /**
22739
23167
  * get a map of wallet represented by its currency code
23168
+ * @internal
22740
23169
  */
22741
23170
  this.getWalletMap = async ({ userId, currencyCodes }) => {
22742
23171
  try {
@@ -22766,7 +23195,7 @@ class WalletApi {
22766
23195
  class ApiFactory {
22767
23196
  static userAuthorization(config, options, refreshToken, namespace, overrides) {
22768
23197
  const conf = ApiFactory.mergedConfigs(config, overrides);
22769
- return new UserAuthorization(conf, namespace, false, {
23198
+ return new UserAuthorizationApi(conf, namespace, false, {
22770
23199
  clientId: options.clientId,
22771
23200
  redirectURI: options.redirectURI,
22772
23201
  baseURL: options.baseURL,
@@ -40083,5 +40512,5 @@ CodeGenUtil.getFormUrlEncodedData = (data) => {
40083
40512
  return formPayload;
40084
40513
  };
40085
40514
 
40086
- export { ADtoForUnbanUserApiCall, ADtoForUpdateEqu8ConfigApiCall, ADtoObjectForEqu8UserBanStatus, ADtoObjectForEqu8UserStatus, ARCH, Accelbyte, AcceptAgreementRequest, AcceptAgreementResponse, AcceptedPoliciesRequest, AccountProgressionInfo, Achievement, AchievementInfo, Action, AddCountryGroupRequest, AddCountryGroupResponse, AddUserRoleV4Request, AdditionalData, AdminOrderCreate, AdyenConfig, AgeRestrictionRequest, AgeRestrictionRequestV3, AgeRestrictionResponse, AgeRestrictionResponseV3, AgentType, Agreement$, AliPayConfig, AppEntitlementInfo, AppEntitlementPagingSlicedResult, AppInfo, AppLocalization, AppUpdate, AppleIapConfigInfo, AppleIapConfigRequest, AppleIapReceipt, AssignUserV4Request, AssignedUserV4Response, AuthenticatorKeyResponseV4, AuthenticatorSecretKey, AvailableComparison, AvailablePlatform, AvailablePredicate, AvatarSyncRequestV4, BUILDINFO_PLATFORM_ID, BackgroundOverlay, BackgroundOverlayType, BackupCodesResponseV4, Ban, BanCreateRequest, BanReason, BanReasonV3, BanReasons, BanReasonsV3, BanType, BanUpdateRequest, BanV3, BannedBy, BannedByV3, Bans, BansV3, BasicBuildManifest, BasicBuildManifestArray, BasicCategoryInfo, BasicItem, BillingAccount, BillingHistoryChargeStatus, BillingHistoryInfo, BillingHistoryPagingSlicedResult, BinaryUpload, BlockData, BlockDownloadUrls, BlockDownloadUrlsRequest, BlockManifest, BoxItem, BrowserHelper, BuildAvailability, BuildAvailabilityArray, BuildDeletionData, BuildIdManifest, BuildIdVersion, BuildInfoPii, BuildManifest, BulkBanCreateRequestV3, BulkOperationResult, BulkUnbanCreateRequestV3, BundledItemInfo, Caching$, CalculateDiffCacheRequest, CampaignCreate, CampaignDynamicInfo, CampaignInfo, CampaignPagingSlicedResult, CampaignUpdate, CancelRequest, CatalogChangeInfo, CatalogChangePagingSlicedResult, CatalogChangeStatistics, Category$, CategoryCreate, CategoryInfo, CategoryInfoArray, CategoryUpdate, CheckValidUserIdRequestV4, CheckoutConfig, CleanerConfigObject, ClientCreateRequest, ClientCreationResponse, ClientCreationV3Request, ClientPayload, ClientPermission, ClientPermissionV3, ClientPermissions, ClientPermissionsV3, ClientRequestParameter, ClientResponse, ClientUpdateRequest, ClientUpdateSecretRequest, ClientUpdateV3Request, ClientV3Response, ClientsV3Response, CodeCreate, CodeCreateResult, CodeGenUtil, CodeInfo, CodeInfoPagingSlicedResult, ColorConfig, ColorConfigs, CommitDiffCacheRequest, CommitMultipartUploadRequest, CompanyLogo, CompanyLogoConfig, CompatibilityObject, ConditionGroup, ConditionGroupValidateResult, ConditionMatchResult, Config, Configs, ConfigurationInfo, ConfigurationUpdate, ConflictedUserPlatformAccounts, ConsumeItem, Country, CountryAgeRestriction, CountryAgeRestrictionRequest, CountryAgeRestrictionV3Request, CountryGroupObject, CountryLocationResponse, CountryObject, CountryObjectArray, CountryV3Response, CreateBasePolicyRequest, CreateBasePolicyRequestV2, CreateBasePolicyResponse, CreateDependencyLinkRequest, CreateDiffCacheRequest, CreateJusticeUserResponse, CreateLocalizedPolicyVersionRequest, CreateLocalizedPolicyVersionResponse, CreatePolicyVersionRequest, CreatePolicyVersionResponse, CreateTestUserRequestV4, CreateTestUserResponseV4, CreateTestUsersRequestV4, CreateTestUsersResponseV4, CreateUserRequestV4, CreateUserResponseV4, CreditRequest, CreditRevocation, CreditSummary, Currency$, CurrencyConfig, CurrencyCreate, CurrencyInfo, CurrencyInfoArray, CurrencySummary, CurrencyUpdate, CurrencyWallet, Customization, DISCOVERY_TEMPLATE_NAME, DataDeletion$, DataRetrieval$, DataRetrievalResponse, DebitByCurrencyCodeRequest, DebitRequest, DecodeError, DefaultLaunchProfile, DeleteRewardConditionRequest, DeletionData, DeletionStatus, DependencyObject, Description, DetailedWalletTransactionInfo, DetailedWalletTransactionPagingSlicedResult, DeviceBanRequestV4, DeviceBanResponseV4, DeviceBanUpdateRequestV4, DeviceBannedResponseV4, DeviceBansResponseV4, DeviceIdDecryptResponseV4, DeviceResponseV4, DeviceTypeResponseV4, DeviceTypesResponseV4, DeviceUserResponseV4, DeviceUsersResponseV4, DevicesResponseV4, DiffCacheObject, DiffPatchRequest, DiffStatusReport, DifferentialBuildManifest, DifferentialFileManifest, DifferentialUploadSummary, DisableUserRequest, DiscoveryConfigData, DisplayedPolicy, DistinctLinkedPlatformV3, DistinctPlatformResponseV3, Dlc$, DlcItem, DlcItemConfigInfo, DlcItemConfigUpdate, DlcRecord, Downloader$, DownloaderApi, Drm$, DurableEntitlementRevocationConfig, ERROR_CODE_LINK_DELETION_ACCOUNT, ERROR_CODE_TOKEN_EXPIRED, ERROR_LINK_ANOTHER_3RD_PARTY_ACCOUNT, ERROR_USER_BANNED, Eligibilities$, EligibleUser, EmailUpdateRequestV4, EnabledFactorsResponseV4, EncryptedIdentity, Entitlement$, EntitlementDecrement, EntitlementDecrementResult, EntitlementGrant, EntitlementHistoryInfo, EntitlementInfo, EntitlementLootBoxReward, EntitlementOwnership, EntitlementOwnershipArray, EntitlementPagingSlicedResult, EntitlementRevocation, EntitlementRevocationConfig, EntitlementSummary, EntitlementUpdate, EpicGamesDlcSyncRequest, EpicGamesIapConfigInfo, EpicGamesIapConfigRequest, EpicGamesReconcileRequest, EpicGamesReconcileResult, EpicGamesReconcileResultArray, Equ8Config, Error$1 as Error, ErrorEntity, ErrorResponse, ErrorResponseWithConflictedUserPlatformAccounts, Event, EventId, EventLevel, EventPayload, EventRegistry, EventResponse, EventResponseV2, EventType, EventV2, EventV2$, ExportStoreRequest, ExtensionFulfillmentSummary, ExternalPaymentOrderCreate, FailedBanUnbanUserV3, FieldValidationError, FileDiffingStatus, FileManifest, FileUpload$, FileUploadUrlInfo, FilterJson, FixedPeriodRotationConfig, FontConfigs, ForgotPasswordRequestV3, FulfillCodeRequest, Fulfillment$, FulfillmentError, FulfillmentHistoryInfo, FulfillmentHistoryPagingSlicedResult, FulfillmentItem, FulfillmentRequest, FulfillmentResult, FulfillmentScriptContext, FulfillmentScriptCreate, FulfillmentScriptEvalTestRequest, FulfillmentScriptEvalTestResult, FulfillmentScriptInfo, FulfillmentScriptUpdate, FullAppInfo, FullCategoryInfo, FullItemInfo, FullItemPagingSlicedResult, FullSectionInfo, FullViewInfo, GameTokenCodeResponse, GenericQueryPayload, GetAdminUsersResponse, GetLinkHeadlessAccountConflictResponse, GetPublisherUserResponse, GetPublisherUserV3Response, GetUserBanV3Response, GetUserJusticePlatformAccountResponse, GetUserMapping, GetUserMappingV3, GetUserMappingV3Array, GetUsersResponseWithPaginationV3, GlobalStyleConfig, GoogleIapConfigInfo, GoogleIapConfigRequest, GoogleIapReceipt, GoogleReceiptResolveResult, GrantSubscriptionDaysRequest, HierarchicalCategoryInfo, HierarchicalCategoryInfoArray, IamHelper, Iap$, IapConsumeHistoryInfo, IapConsumeHistoryPagingSlicedResult, IapItemConfigInfo, IapItemConfigUpdate, IapItemEntry, IapOrderInfo, IapOrderPagingSlicedResult, Image, ImportErrorDetails, ImportStoreError, ImportStoreItemInfo, ImportStoreResult, InGameItemSync, InputValidationData, InputValidationDataPublic, InputValidationDescription, InputValidationHelper, InputValidationUpdatePayload, InputValidations$, InputValidationsApi, InputValidationsPublicResponse, InputValidationsResponse, InviteUserRequestV3, InviteUserRequestV4, InviteUserResponseV3, InvoiceCurrencySummary, InvoiceSummary, Item$, ItemAcquireRequest, ItemAcquireResult, ItemCreate, ItemDynamicDataInfo, ItemId, ItemInfo, ItemInfoArray, ItemNaming, ItemPagingSlicedResult, ItemPurchaseConditionValidateRequest, ItemPurchaseConditionValidateResult, ItemPurchaseConditionValidateResultArray, ItemReturnRequest, ItemRevocation, ItemSnapshot, ItemTypeConfigCreate, ItemTypeConfigInfo, ItemTypeConfigUpdate, ItemUpdate, JwkKey, JwkSet, JwtBanV3, KeyGroupCreate, KeyGroupDynamicInfo, KeyGroupInfo, KeyGroupPagingSlicedResult, KeyGroupUpdate, KeyInfo, KeyPagingSliceResult, LauncherPageConfig, LegalHelper, LegalPolicyType, LegalReadinessStatusResponse, LinkHeadlessAccountRequest, LinkPlatformAccountRequest, LinkPlatformAccountWithProgressionRequest, LinkRequest, LinkingHistoryResponseWithPaginationV3, ListAssignedUsersV4Response, ListBulkUserBanResponseV3, ListBulkUserResponse, ListDeletionDataResponse, ListEmailAddressRequest, ListPersonalDataResponse, ListRoleV4Response, ListUserInformationResult, ListUserResponseV3, ListUserRolesV4Response, ListUsersWithPlatformAccountsResponse, ListValidUserIdResponseV4, ListViewInfo, Localization, LocalizedPolicyVersionObject, LocalizedPolicyVersions$, LocalizedPolicyVersionsWithNamespace$, LogLevel, LoginErrorCancelled, LoginErrorExpired, LoginErrorParam, LoginErrorUnknown, LoginErrorUnmatchedState, LoginHistoriesResponse, LogoVariantConfig, LootBoxConfig, LootBoxReward, MFADataResponse, MFA_DATA_STORAGE_KEY, MachineIdentity, Misc$, MiscApi, MockIapReceipt, ModelCountry, MultipartUploadSummary, MultipartUploadUrl, MultipartUploadedPart, MultipleAgentType, MultipleEventId, MultipleEventLevel, MultipleEventType, MultipleUx, Namespace$, NamespaceCreate, NamespaceInfo, NamespaceInfoArray, NamespacePublisherInfo, NamespaceRole, NamespaceRoleRequest, NamespaceStatusUpdate, NamespaceUpdate, NetflixCertificates, Network, NotificationProcessResult, OAuth20$, OAuth20Extension$, ObsoleteFileManifest, OneTimeLinkingCodeResponse, OneTimeLinkingCodeValidationResponse, OptionBoxConfig, Order, Order$, OrderCreate, OrderCreationOptions, OrderGrantInfo, OrderHistoryInfo, OrderHistoryInfoArray, OrderInfo, OrderPagingResult, OrderPagingSlicedResult, OrderRefundCreate, OrderStatistics, OrderStatus, OrderSummary, OrderSyncResult, OrderUpdate, Ownership, OwnershipToken, PLATFORM, PageConfig, PagedRetrieveUserAcceptedAgreementResponse, Pagination$1 as Pagination, PaginationV3, Paging$1 as Paging, PayPalConfig, PaymentAccount, PaymentAccount$, PaymentAccountArray, PaymentApi, PaymentCallbackConfigInfo, PaymentCallbackConfigUpdate, PaymentMerchantConfigInfo, PaymentMethod, PaymentMethodArray, PaymentNotificationInfo, PaymentNotificationPagingSlicedResult, PaymentOrder, PaymentOrderChargeRequest, PaymentOrderChargeStatus, PaymentOrderCreate, PaymentOrderCreateResult, PaymentOrderDetails, PaymentOrderInfo, PaymentOrderNotifySimulation, PaymentOrderPagingSlicedResult, PaymentOrderPaidResult, PaymentOrderRefund, PaymentOrderRefundResult, PaymentOrderSyncResult, PaymentProcessResult, PaymentProviderConfigEdit, PaymentProviderConfigInfo, PaymentProviderConfigPagingSlicedResult, PaymentRequest, PaymentStation$, PaymentTaxConfigEdit, PaymentTaxConfigInfo, PaymentToken, PaymentUrl, PaymentUrlCreate, Permission, PermissionDeleteRequest, PermissionV3, Permissions, PermissionsV3, PersonalData, PingResultResponse, PlatformAccount, PlatformDlcConfigInfo, PlatformDlcConfigUpdate, PlatformDlcEntry, PlatformDomainDeleteRequest, PlatformDomainResponse, PlatformDomainUpdateRequest, PlatformReward, PlatformRewardCurrency, PlatformRewardItem, PlatformSubscribeRequest, PlatformUserIdRequest, PlatformUserInformation, PlatformUserInformationV3, PlatformWallet, PlatformWalletConfigInfo, PlatformWalletConfigUpdate, PlayStationDlcSyncMultiServiceLabelsRequest, PlayStationDlcSyncRequest, PlayStationIapConfigInfo, PlayStationMultiServiceLabelsReconcileRequest, PlayStationReconcileRequest, PlayStationReconcileResult, PlayStationReconcileResultArray, PlayerPortalConfigData, PlayerPortalFeatureFlagsConfig, PlayerPortalFooterConfig, PlayerPortalFooterConfigLink, PlayerPortalFooterIDs, PlayerPortalHomePageKeys, PlayerPortalHomepageConfig, PlayerPortalHomepageKeys, PlaystationIapConfigRequest, Policies$, PoliciesApi, PolicyObject, PolicyVersionObject, PolicyVersionWithLocalizedVersionObject, PopulatedItemInfo, PreCheckUploadRequest, Predicate, PredicateValidateResult, PublicKeyPresignedUrl, PublicThirdPartyPlatformInfo, PublicThirdPartyPlatformInfoArray, PublicUserInformationResponseV3, PublicUserInformationV3, PublicUserResponse, PublicUserResponseV3, PublicUsersResponse, PurchaseCondition, PurchaseConditionUpdate, PurchasedItemCount, ReadyPlayerMe, Recurring, RecurringChargeResult, RedeemHistoryInfo, RedeemHistoryPagingSlicedResult, RedeemRequest, RedeemResult, RedeemableItem, RegionDataItem, RegisteredDomain, ReleaseNoteDto, ReleaseNoteLocalizationDto, ReleaseNoteManifest, RemoveUserRoleV4Request, RequestDeleteResponse, RequestHistory, Requirement, ResetPasswordRequest, ResetPasswordRequestV3, RestErrorResponse, RetrieveAcceptedAgreementResponse, RetrieveAcceptedAgreementResponseArray, RetrieveBaseGameResponse, RetrieveBaseGameResponseArray, RetrieveBasePolicyResponse, RetrieveCountryGroupResponse, RetrieveDependencyCompatibilityResponse, RetrieveDependencyLinkResponse, RetrieveDiffCacheResponse, RetrieveLatestDlcResponse, RetrieveLatestDlcResponseArray, RetrieveLocalizedPolicyVersionPublicResponse, RetrieveLocalizedPolicyVersionResponse, RetrievePolicyPublicResponse, RetrievePolicyPublicResponseArray, RetrievePolicyResponse, RetrievePolicyTypeResponse, RetrievePolicyVersionResponse, RetrieveTimeResponse, RetrieveUserAcceptedAgreementResponse, RetrieveUserEligibilitiesIndirectResponse, RetrieveUserEligibilitiesResponse, RetrieveUserEligibilitiesResponseArray, RetrieveUserInfoCacheStatusResponse, RevocationConfigInfo, RevocationConfigUpdate, RevocationHistoryInfo, RevocationHistoryPagingSlicedResult, RevocationList, RevocationRequest, RevocationResult, RevokeCurrency, RevokeEntitlement, RevokeEntry, RevokeItem, RevokeItemSummary, RevokeResult, RevokeUserV4Request, Reward$, RewardCondition, RewardCreate, RewardInfo, RewardItem, RewardPagingSlicedResult, RewardUpdate, RewardsRequest, Role, RoleAdminStatusResponse, RoleAdminStatusResponseV3, RoleCreateRequest, RoleCreateV3Request, RoleManager, RoleManagerV3, RoleManagersRequest, RoleManagersRequestV3, RoleManagersResponse, RoleManagersResponsesV3, RoleMember, RoleMemberV3, RoleMembersRequest, RoleMembersRequestV3, RoleMembersResponse, RoleMembersResponseV3, RoleNamesResponseV3, RoleResponse, RoleResponseV3, RoleResponseWithManagers, RoleResponseWithManagersAndPaginationV3, RoleResponseWithManagersV3, RoleUpdateRequest, RoleUpdateRequestV3, RoleV3, RoleV4Request, RoleV4Response, Roles$, SdkCache, SdkDevice, SearchUsersByPlatformIdResponse, SearchUsersResponse, SearchUsersResponseWithPaginationV3, Section$, SectionCreate, SectionInfo, SectionInfoArray, SectionItem, SectionPagingSlicedResult, SectionUpdate, SendRegisterVerificationCodeRequest, SendVerificationCodeRequest, SendVerificationCodeRequestV3, SendVerificationLinkRequest, ServicePluginConfigInfo, ServicePluginConfigUpdate, SimpleLatestBaseGame, SimpleUserPlatformInfoV3, Slide, SocialLinkConfig, Sso$, SsoPlatformCredentialRequest, SsoPlatformCredentialResponse, SsoSaml20$, StackableEntitlementInfo, StartMultipartUploadRequest, StaticConfigs$, SteamAchievementUpdateRequest, SteamDlcSyncRequest, SteamIapConfig, SteamIapConfigInfo, SteamIapConfigRequest, SteamSyncRequest, Store$, StoreBackupInfo, StoreCreate, StoreInfo, StoreInfoArray, StoreUpdate, StripeConfig, Subscribable, SubscribeRequest, Subscription$, SubscriptionActivityInfo, SubscriptionActivityPagingSlicedResult, SubscriptionChargeStatus, SubscriptionInfo, SubscriptionPagingSlicedResult, SubscriptionStatus, SubscriptionSummary, TWOFA_PAGE, TaxResult, Template, TemplateCompact, TemplateConfig, TemplateInfoConfig, Templates$, TestResult, ThirdPartyCredential$, ThirdPartyLoginPlatformCredentialRequest, ThirdPartyLoginPlatformCredentialResponse, TicketAcquireRequest, TicketAcquireResult, TicketBoothId, TicketDynamicInfo, TicketSaleDecrementRequest, TicketSaleIncrementRequest, TicketSaleIncrementResult, TimeLimitedBalance, TimedOwnership, TokenIntrospectResponse, TokenResponse, TokenResponseV3, TokenThirdPartyLinkStatusResponse, TokenThirdPartyResponse, TokenWithDeviceCookieResponseV3, TradeNotification, Transaction, TransactionAmountDetails, TwitchIapConfigInfo, TwitchIapConfigRequest, TwitchSyncRequest, UnlinkUserPlatformRequest, UpdateBasePolicyRequest, UpdateBasePolicyRequestV2, UpdateBasePolicyResponse, UpdateBuildMetadataRequest, UpdateCountryGroupRequest, UpdateLocalizedPolicyVersionRequest, UpdateLocalizedPolicyVersionResponse, UpdatePermissionScheduleRequest, UpdatePolicyRequest, UpdatePolicyVersionRequest, UpdatePolicyVersionResponse, UpdateUserDeletionStatusRequest, UpdateUserStatusRequest, UpgradeHeadlessAccountRequest, UpgradeHeadlessAccountRequestV4, UpgradeHeadlessAccountV3Request, UpgradeHeadlessAccountWithVerificationCodeRequest, UpgradeHeadlessAccountWithVerificationCodeRequestV3, UpgradeHeadlessAccountWithVerificationCodeRequestV4, UploadBuildManifest, UploadLocalizedPolicyVersionAttachmentResponse, UploadModeCheck, UploadPolicyVersionAttachmentRequest, UploadSummary, UrlHelper, UserAction$, UserActiveBanResponse, UserActiveBanResponseV3, UserActiveBanResponseV4, UserApi, UserAuthorization, UserBan, UserBanRequest, UserBanResponse, UserBanResponseV3, UserBaseInfo, UserCreateFromInvitationRequestV3, UserCreateFromInvitationRequestV4, UserCreateRequest, UserCreateRequestV3, UserCreateResponse, UserCreateResponseV3, UserDataUrl, UserDeletionStatusResponse, UserDlc, UserIDsRequest, UserInfoResponse, UserInformation, UserInformationV3, UserInvitationV3, UserLastActivity, UserLinkedPlatform, UserLinkedPlatformV3, UserLinkedPlatformsResponseV3, UserLoginHistoryResponse, UserPasswordUpdateRequest, UserPasswordUpdateV3Request, UserPermissionsResponseV3, UserPermissionsResponseV4, UserPersonalData, UserPersonalDataResponse, UserPlatformInfo, UserPlatforms, UserProfile$, UserProfileAdmin, UserProfileApi, UserProfileBulkRequest, UserProfileCreate, UserProfileInfo, UserProfilePrivateCreate, UserProfilePrivateInfo, UserProfilePrivateUpdate, UserProfilePublicInfo, UserProfilePublicInfoArray, UserProfileStatusUpdate, UserProfileUpdate, UserReportRequest, UserResponse, UserResponseV3, UserResponseV4, UserRevocationListRecord, UserRolesV4Response, UserSearchByPlatformIdResult, UserSearchResult, UserUnbanCreateRequestV3, UserUpdateRequest, UserUpdateRequestV3, UserVerificationRequest, UserVerificationRequestV3, UserWithLinkedPlatformAccounts, UserWithPlatformAccounts, UserZipCode, UserZipCodeUpdate, Users$, UsersV4$, Utility$, Ux, V3ClientUpdateSecretRequest, VALIDATION_ERROR_CODE, ValidUserIdResponseV4, Validate, ValidateableInputField, Validation, ValidationConfig, ValidationDescription, ValidationDetail, ValidationDetailPublic, ValidationErrorEntity, VerificationCodeResponse, VerifyRegistrationCode, VersionChain, VersionNode, View$, ViewCreate, ViewInfo, ViewInfoArray, ViewUpdate, Wallet$, WalletInfo, WalletPagingSlicedResult, WalletRevocationConfig, WalletTransactionInfo, WalletTransactionPagingSlicedResult, WebLinkingResponse, WxPayConfigInfo, WxPayConfigRequest, XblAchievementUpdateRequest, XblDlcSyncRequest, XblIapConfigInfo, XblIapConfigRequest, XblReconcileRequest, XblReconcileResult, XblReconcileResultArray, XblUserAchievements, XsollaConfig, XsollaPaywallConfig, XsollaPaywallConfigRequest, ZsyncDiffRequest, ZsyncFileManifest, injectRequestInterceptors, injectResponseInterceptors };
40515
+ export { ADtoForUnbanUserApiCall, ADtoForUpdateEqu8ConfigApiCall, ADtoObjectForEqu8UserBanStatus, ADtoObjectForEqu8UserStatus, ARCH, Accelbyte, AcceptAgreementRequest, AcceptAgreementResponse, AcceptedPoliciesRequest, AccountProgressionInfo, Achievement, AchievementInfo, Action, AddCountryGroupRequest, AddCountryGroupResponse, AddUserRoleV4Request, AdditionalData, AdminOrderCreate, AdyenConfig, AgeRestrictionRequest, AgeRestrictionRequestV3, AgeRestrictionResponse, AgeRestrictionResponseV3, AgentType, Agreement$, AliPayConfig, AppEntitlementInfo, AppEntitlementPagingSlicedResult, AppInfo, AppLocalization, AppUpdate, AppleIapConfigInfo, AppleIapConfigRequest, AppleIapReceipt, AssignUserV4Request, AssignedUserV4Response, AuthenticatorKeyResponseV4, AuthenticatorSecretKey, AvailableComparison, AvailablePlatform, AvailablePredicate, AvatarSyncRequestV4, BUILDINFO_PLATFORM_ID, BackgroundOverlay, BackgroundOverlayType, BackupCodesResponseV4, Ban, BanCreateRequest, BanReason, BanReasonV3, BanReasons, BanReasonsV3, BanType, BanUpdateRequest, BanV3, BannedBy, BannedByV3, Bans, BansV3, BasicBuildManifest, BasicBuildManifestArray, BasicCategoryInfo, BasicItem, BillingAccount, BillingHistoryChargeStatus, BillingHistoryInfo, BillingHistoryPagingSlicedResult, BinaryUpload, BlockData, BlockDownloadUrls, BlockDownloadUrlsRequest, BlockManifest, BoxItem, BrowserHelper, BuildAvailability, BuildAvailabilityArray, BuildDeletionData, BuildIdManifest, BuildIdVersion, BuildInfoPii, BuildManifest, BulkBanCreateRequestV3, BulkOperationResult, BulkUnbanCreateRequestV3, BundledItemInfo, Caching$, CalculateDiffCacheRequest, CampaignCreate, CampaignDynamicInfo, CampaignInfo, CampaignPagingSlicedResult, CampaignUpdate, CancelRequest, CatalogChangeInfo, CatalogChangePagingSlicedResult, CatalogChangeStatistics, Category$, CategoryCreate, CategoryInfo, CategoryInfoArray, CategoryUpdate, CheckValidUserIdRequestV4, CheckoutConfig, CleanerConfigObject, ClientCreateRequest, ClientCreationResponse, ClientCreationV3Request, ClientPayload, ClientPermission, ClientPermissionV3, ClientPermissions, ClientPermissionsV3, ClientRequestParameter, ClientResponse, ClientUpdateRequest, ClientUpdateSecretRequest, ClientUpdateV3Request, ClientV3Response, ClientsV3Response, CodeCreate, CodeCreateResult, CodeGenUtil, CodeInfo, CodeInfoPagingSlicedResult, ColorConfig, ColorConfigs, CommitDiffCacheRequest, CommitMultipartUploadRequest, CompanyLogo, CompanyLogoConfig, CompatibilityObject, ConditionGroup, ConditionGroupValidateResult, ConditionMatchResult, Config, Configs, ConfigurationInfo, ConfigurationUpdate, ConflictedUserPlatformAccounts, ConsumeItem, Country, CountryAgeRestriction, CountryAgeRestrictionRequest, CountryAgeRestrictionV3Request, CountryGroupObject, CountryLocationResponse, CountryObject, CountryObjectArray, CountryV3Response, CreateBasePolicyRequest, CreateBasePolicyRequestV2, CreateBasePolicyResponse, CreateDependencyLinkRequest, CreateDiffCacheRequest, CreateJusticeUserResponse, CreateLocalizedPolicyVersionRequest, CreateLocalizedPolicyVersionResponse, CreatePolicyVersionRequest, CreatePolicyVersionResponse, CreateTestUserRequestV4, CreateTestUserResponseV4, CreateTestUsersRequestV4, CreateTestUsersResponseV4, CreateUserRequestV4, CreateUserResponseV4, CreditRequest, CreditRevocation, CreditSummary, Currency$, CurrencyConfig, CurrencyCreate, CurrencyInfo, CurrencyInfoArray, CurrencySummary, CurrencyUpdate, CurrencyWallet, Customization, DISCOVERY_TEMPLATE_NAME, DataDeletion$, DataRetrieval$, DataRetrievalResponse, DebitByCurrencyCodeRequest, DebitRequest, DecodeError, DefaultLaunchProfile, DeleteRewardConditionRequest, DeletionData, DeletionStatus, DependencyObject, Description, DetailedWalletTransactionInfo, DetailedWalletTransactionPagingSlicedResult, DeviceBanRequestV4, DeviceBanResponseV4, DeviceBanUpdateRequestV4, DeviceBannedResponseV4, DeviceBansResponseV4, DeviceIdDecryptResponseV4, DeviceResponseV4, DeviceTypeResponseV4, DeviceTypesResponseV4, DeviceUserResponseV4, DeviceUsersResponseV4, DevicesResponseV4, DiffCacheObject, DiffPatchRequest, DiffStatusReport, DifferentialBuildManifest, DifferentialFileManifest, DifferentialUploadSummary, DisableUserRequest, DiscoveryConfigData, DisplayedPolicy, DistinctLinkedPlatformV3, DistinctPlatformResponseV3, Dlc$, DlcItem, DlcItemConfigInfo, DlcItemConfigUpdate, DlcRecord, Downloader$, DownloaderApi, Drm$, DurableEntitlementRevocationConfig, ERROR_CODE_LINK_DELETION_ACCOUNT, ERROR_CODE_TOKEN_EXPIRED, ERROR_LINK_ANOTHER_3RD_PARTY_ACCOUNT, ERROR_USER_BANNED, Eligibilities$, EligibleUser, EmailUpdateRequestV4, EnabledFactorsResponseV4, EncryptedIdentity, Entitlement$, EntitlementDecrement, EntitlementDecrementResult, EntitlementGrant, EntitlementHistoryInfo, EntitlementInfo, EntitlementLootBoxReward, EntitlementOwnership, EntitlementOwnershipArray, EntitlementPagingSlicedResult, EntitlementRevocation, EntitlementRevocationConfig, EntitlementSummary, EntitlementUpdate, EpicGamesDlcSyncRequest, EpicGamesIapConfigInfo, EpicGamesIapConfigRequest, EpicGamesReconcileRequest, EpicGamesReconcileResult, EpicGamesReconcileResultArray, Equ8Config, Error$1 as Error, ErrorEntity, ErrorResponse, ErrorResponseWithConflictedUserPlatformAccounts, Event, EventId, EventLevel, EventPayload, EventRegistry, EventResponse, EventResponseV2, EventType, EventV2, EventV2$, ExportStoreRequest, ExtensionFulfillmentSummary, ExternalPaymentOrderCreate, FailedBanUnbanUserV3, FieldValidationError, FileDiffingStatus, FileManifest, FileUpload$, FileUploadUrlInfo, FilterJson, FixedPeriodRotationConfig, FontConfigs, ForgotPasswordRequestV3, FulfillCodeRequest, Fulfillment$, FulfillmentError, FulfillmentHistoryInfo, FulfillmentHistoryPagingSlicedResult, FulfillmentItem, FulfillmentRequest, FulfillmentResult, FulfillmentScriptContext, FulfillmentScriptCreate, FulfillmentScriptEvalTestRequest, FulfillmentScriptEvalTestResult, FulfillmentScriptInfo, FulfillmentScriptUpdate, FullAppInfo, FullCategoryInfo, FullItemInfo, FullItemPagingSlicedResult, FullSectionInfo, FullViewInfo, GameTokenCodeResponse, GenericQueryPayload, GetAdminUsersResponse, GetLinkHeadlessAccountConflictResponse, GetPublisherUserResponse, GetPublisherUserV3Response, GetUserBanV3Response, GetUserJusticePlatformAccountResponse, GetUserMapping, GetUserMappingV3, GetUserMappingV3Array, GetUsersResponseWithPaginationV3, GlobalStyleConfig, GoogleIapConfigInfo, GoogleIapConfigRequest, GoogleIapReceipt, GoogleReceiptResolveResult, GrantSubscriptionDaysRequest, HierarchicalCategoryInfo, HierarchicalCategoryInfoArray, IamHelper, Iap$, IapConsumeHistoryInfo, IapConsumeHistoryPagingSlicedResult, IapItemConfigInfo, IapItemConfigUpdate, IapItemEntry, IapOrderInfo, IapOrderPagingSlicedResult, Image, ImportErrorDetails, ImportStoreError, ImportStoreItemInfo, ImportStoreResult, InGameItemSync, InputValidationData, InputValidationDataPublic, InputValidationDescription, InputValidationHelper, InputValidationUpdatePayload, InputValidations$, InputValidationsApi, InputValidationsPublicResponse, InputValidationsResponse, InviteUserRequestV3, InviteUserRequestV4, InviteUserResponseV3, InvoiceCurrencySummary, InvoiceSummary, Item$, ItemAcquireRequest, ItemAcquireResult, ItemCreate, ItemDynamicDataInfo, ItemId, ItemInfo, ItemInfoArray, ItemNaming, ItemPagingSlicedResult, ItemPurchaseConditionValidateRequest, ItemPurchaseConditionValidateResult, ItemPurchaseConditionValidateResultArray, ItemReturnRequest, ItemRevocation, ItemSnapshot, ItemTypeConfigCreate, ItemTypeConfigInfo, ItemTypeConfigUpdate, ItemUpdate, JwkKey, JwkSet, JwtBanV3, KeyGroupCreate, KeyGroupDynamicInfo, KeyGroupInfo, KeyGroupPagingSlicedResult, KeyGroupUpdate, KeyInfo, KeyPagingSliceResult, LauncherPageConfig, LegalHelper, LegalPolicyType, LegalReadinessStatusResponse, LinkHeadlessAccountRequest, LinkPlatformAccountRequest, LinkPlatformAccountWithProgressionRequest, LinkRequest, LinkingHistoryResponseWithPaginationV3, ListAssignedUsersV4Response, ListBulkUserBanResponseV3, ListBulkUserResponse, ListDeletionDataResponse, ListEmailAddressRequest, ListPersonalDataResponse, ListRoleV4Response, ListUserInformationResult, ListUserResponseV3, ListUserRolesV4Response, ListUsersWithPlatformAccountsResponse, ListValidUserIdResponseV4, ListViewInfo, Localization, LocalizedPolicyVersionObject, LocalizedPolicyVersions$, LocalizedPolicyVersionsWithNamespace$, LogLevel, LoginErrorCancelled, LoginErrorExpired, LoginErrorParam, LoginErrorUnknown, LoginErrorUnmatchedState, LoginHistoriesResponse, LogoVariantConfig, LootBoxConfig, LootBoxReward, MFADataResponse, MFA_DATA_STORAGE_KEY, MachineIdentity, Misc$, MiscApi, MockIapReceipt, ModelCountry, MultipartUploadSummary, MultipartUploadUrl, MultipartUploadedPart, MultipleAgentType, MultipleEventId, MultipleEventLevel, MultipleEventType, MultipleUx, Namespace$, NamespaceCreate, NamespaceInfo, NamespaceInfoArray, NamespacePublisherInfo, NamespaceRole, NamespaceRoleRequest, NamespaceStatusUpdate, NamespaceUpdate, NetflixCertificates, Network, NotificationProcessResult, OAuth20$, OAuth20Extension$, ObsoleteFileManifest, OneTimeLinkingCodeResponse, OneTimeLinkingCodeValidationResponse, OptionBoxConfig, Order, Order$, OrderCreate, OrderCreationOptions, OrderGrantInfo, OrderHistoryInfo, OrderHistoryInfoArray, OrderInfo, OrderPagingResult, OrderPagingSlicedResult, OrderRefundCreate, OrderStatistics, OrderStatus, OrderSummary, OrderSyncResult, OrderUpdate, Ownership, OwnershipToken, PLATFORM, PageConfig, PagedRetrieveUserAcceptedAgreementResponse, Pagination$1 as Pagination, PaginationV3, Paging$1 as Paging, PayPalConfig, PaymentAccount, PaymentAccount$, PaymentAccountArray, PaymentApi, PaymentCallbackConfigInfo, PaymentCallbackConfigUpdate, PaymentMerchantConfigInfo, PaymentMethod, PaymentMethodArray, PaymentNotificationInfo, PaymentNotificationPagingSlicedResult, PaymentOrder, PaymentOrderChargeRequest, PaymentOrderChargeStatus, PaymentOrderCreate, PaymentOrderCreateResult, PaymentOrderDetails, PaymentOrderInfo, PaymentOrderNotifySimulation, PaymentOrderPagingSlicedResult, PaymentOrderPaidResult, PaymentOrderRefund, PaymentOrderRefundResult, PaymentOrderSyncResult, PaymentProcessResult, PaymentProviderConfigEdit, PaymentProviderConfigInfo, PaymentProviderConfigPagingSlicedResult, PaymentRequest, PaymentStation$, PaymentTaxConfigEdit, PaymentTaxConfigInfo, PaymentToken, PaymentUrl, PaymentUrlCreate, Permission, PermissionDeleteRequest, PermissionV3, Permissions, PermissionsV3, PersonalData, PingResultResponse, PlatformAccount, PlatformDlcConfigInfo, PlatformDlcConfigUpdate, PlatformDlcEntry, PlatformDomainDeleteRequest, PlatformDomainResponse, PlatformDomainUpdateRequest, PlatformReward, PlatformRewardCurrency, PlatformRewardItem, PlatformSubscribeRequest, PlatformUserIdRequest, PlatformUserInformation, PlatformUserInformationV3, PlatformWallet, PlatformWalletConfigInfo, PlatformWalletConfigUpdate, PlayStationDlcSyncMultiServiceLabelsRequest, PlayStationDlcSyncRequest, PlayStationIapConfigInfo, PlayStationMultiServiceLabelsReconcileRequest, PlayStationReconcileRequest, PlayStationReconcileResult, PlayStationReconcileResultArray, PlayerPortalConfigData, PlayerPortalFeatureFlagsConfig, PlayerPortalFooterConfig, PlayerPortalFooterConfigLink, PlayerPortalFooterIDs, PlayerPortalHomePageKeys, PlayerPortalHomepageConfig, PlayerPortalHomepageKeys, PlaystationIapConfigRequest, Policies$, PoliciesApi, PolicyObject, PolicyVersionObject, PolicyVersionWithLocalizedVersionObject, PopulatedItemInfo, PreCheckUploadRequest, Predicate, PredicateValidateResult, PublicKeyPresignedUrl, PublicThirdPartyPlatformInfo, PublicThirdPartyPlatformInfoArray, PublicUserInformationResponseV3, PublicUserInformationV3, PublicUserResponse, PublicUserResponseV3, PublicUsersResponse, PurchaseCondition, PurchaseConditionUpdate, PurchasedItemCount, ReadyPlayerMe, Recurring, RecurringChargeResult, RedeemHistoryInfo, RedeemHistoryPagingSlicedResult, RedeemRequest, RedeemResult, RedeemableItem, RegionDataItem, RegisteredDomain, ReleaseNoteDto, ReleaseNoteLocalizationDto, ReleaseNoteManifest, RemoveUserRoleV4Request, RequestDeleteResponse, RequestHistory, Requirement, ResetPasswordRequest, ResetPasswordRequestV3, RestErrorResponse, RetrieveAcceptedAgreementResponse, RetrieveAcceptedAgreementResponseArray, RetrieveBaseGameResponse, RetrieveBaseGameResponseArray, RetrieveBasePolicyResponse, RetrieveCountryGroupResponse, RetrieveDependencyCompatibilityResponse, RetrieveDependencyLinkResponse, RetrieveDiffCacheResponse, RetrieveLatestDlcResponse, RetrieveLatestDlcResponseArray, RetrieveLocalizedPolicyVersionPublicResponse, RetrieveLocalizedPolicyVersionResponse, RetrievePolicyPublicResponse, RetrievePolicyPublicResponseArray, RetrievePolicyResponse, RetrievePolicyTypeResponse, RetrievePolicyVersionResponse, RetrieveTimeResponse, RetrieveUserAcceptedAgreementResponse, RetrieveUserEligibilitiesIndirectResponse, RetrieveUserEligibilitiesResponse, RetrieveUserEligibilitiesResponseArray, RetrieveUserInfoCacheStatusResponse, RevocationConfigInfo, RevocationConfigUpdate, RevocationHistoryInfo, RevocationHistoryPagingSlicedResult, RevocationList, RevocationRequest, RevocationResult, RevokeCurrency, RevokeEntitlement, RevokeEntry, RevokeItem, RevokeItemSummary, RevokeResult, RevokeUserV4Request, Reward$, RewardCondition, RewardCreate, RewardInfo, RewardItem, RewardPagingSlicedResult, RewardUpdate, RewardsRequest, Role, RoleAdminStatusResponse, RoleAdminStatusResponseV3, RoleCreateRequest, RoleCreateV3Request, RoleManager, RoleManagerV3, RoleManagersRequest, RoleManagersRequestV3, RoleManagersResponse, RoleManagersResponsesV3, RoleMember, RoleMemberV3, RoleMembersRequest, RoleMembersRequestV3, RoleMembersResponse, RoleMembersResponseV3, RoleNamesResponseV3, RoleResponse, RoleResponseV3, RoleResponseWithManagers, RoleResponseWithManagersAndPaginationV3, RoleResponseWithManagersV3, RoleUpdateRequest, RoleUpdateRequestV3, RoleV3, RoleV4Request, RoleV4Response, Roles$, SdkCache, SdkDevice, SearchUsersByPlatformIdResponse, SearchUsersResponse, SearchUsersResponseWithPaginationV3, Section$, SectionCreate, SectionInfo, SectionInfoArray, SectionItem, SectionPagingSlicedResult, SectionUpdate, SendRegisterVerificationCodeRequest, SendVerificationCodeRequest, SendVerificationCodeRequestV3, SendVerificationLinkRequest, ServicePluginConfigInfo, ServicePluginConfigUpdate, SimpleLatestBaseGame, SimpleUserPlatformInfoV3, Slide, SocialLinkConfig, Sso$, SsoPlatformCredentialRequest, SsoPlatformCredentialResponse, SsoSaml20$, StackableEntitlementInfo, StartMultipartUploadRequest, StaticConfigs$, SteamAchievementUpdateRequest, SteamDlcSyncRequest, SteamIapConfig, SteamIapConfigInfo, SteamIapConfigRequest, SteamSyncRequest, Store$, StoreBackupInfo, StoreCreate, StoreInfo, StoreInfoArray, StoreUpdate, StripeConfig, Subscribable, SubscribeRequest, Subscription$, SubscriptionActivityInfo, SubscriptionActivityPagingSlicedResult, SubscriptionChargeStatus, SubscriptionInfo, SubscriptionPagingSlicedResult, SubscriptionStatus, SubscriptionSummary, TWOFA_PAGE, TaxResult, Template, TemplateCompact, TemplateConfig, TemplateInfoConfig, Templates$, TestResult, ThirdPartyCredential$, ThirdPartyLoginPlatformCredentialRequest, ThirdPartyLoginPlatformCredentialResponse, TicketAcquireRequest, TicketAcquireResult, TicketBoothId, TicketDynamicInfo, TicketSaleDecrementRequest, TicketSaleIncrementRequest, TicketSaleIncrementResult, TimeLimitedBalance, TimedOwnership, TokenIntrospectResponse, TokenResponse, TokenResponseV3, TokenThirdPartyLinkStatusResponse, TokenThirdPartyResponse, TokenWithDeviceCookieResponseV3, TradeNotification, Transaction, TransactionAmountDetails, TwitchIapConfigInfo, TwitchIapConfigRequest, TwitchSyncRequest, UnlinkUserPlatformRequest, UpdateBasePolicyRequest, UpdateBasePolicyRequestV2, UpdateBasePolicyResponse, UpdateBuildMetadataRequest, UpdateCountryGroupRequest, UpdateLocalizedPolicyVersionRequest, UpdateLocalizedPolicyVersionResponse, UpdatePermissionScheduleRequest, UpdatePolicyRequest, UpdatePolicyVersionRequest, UpdatePolicyVersionResponse, UpdateUserDeletionStatusRequest, UpdateUserStatusRequest, UpgradeHeadlessAccountRequest, UpgradeHeadlessAccountRequestV4, UpgradeHeadlessAccountV3Request, UpgradeHeadlessAccountWithVerificationCodeRequest, UpgradeHeadlessAccountWithVerificationCodeRequestV3, UpgradeHeadlessAccountWithVerificationCodeRequestV4, UploadBuildManifest, UploadLocalizedPolicyVersionAttachmentResponse, UploadModeCheck, UploadPolicyVersionAttachmentRequest, UploadSummary, UrlHelper, UserAction$, UserActiveBanResponse, UserActiveBanResponseV3, UserActiveBanResponseV4, UserApi, UserAuthorizationApi, UserBan, UserBanRequest, UserBanResponse, UserBanResponseV3, UserBaseInfo, UserCreateFromInvitationRequestV3, UserCreateFromInvitationRequestV4, UserCreateRequest, UserCreateRequestV3, UserCreateResponse, UserCreateResponseV3, UserDataUrl, UserDeletionStatusResponse, UserDlc, UserIDsRequest, UserInfoResponse, UserInformation, UserInformationV3, UserInvitationV3, UserLastActivity, UserLinkedPlatform, UserLinkedPlatformV3, UserLinkedPlatformsResponseV3, UserLoginHistoryResponse, UserPasswordUpdateRequest, UserPasswordUpdateV3Request, UserPermissionsResponseV3, UserPermissionsResponseV4, UserPersonalData, UserPersonalDataResponse, UserPlatformInfo, UserPlatforms, UserProfile$, UserProfileAdmin, UserProfileApi, UserProfileBulkRequest, UserProfileCreate, UserProfileInfo, UserProfilePrivateCreate, UserProfilePrivateInfo, UserProfilePrivateUpdate, UserProfilePublicInfo, UserProfilePublicInfoArray, UserProfileStatusUpdate, UserProfileUpdate, UserReportRequest, UserResponse, UserResponseV3, UserResponseV4, UserRevocationListRecord, UserRolesV4Response, UserSearchByPlatformIdResult, UserSearchResult, UserUnbanCreateRequestV3, UserUpdateRequest, UserUpdateRequestV3, UserVerificationRequest, UserVerificationRequestV3, UserWithLinkedPlatformAccounts, UserWithPlatformAccounts, UserZipCode, UserZipCodeUpdate, Users$, UsersV4$, Utility$, Ux, V3ClientUpdateSecretRequest, VALIDATION_ERROR_CODE, ValidUserIdResponseV4, Validate, ValidateableInputField, Validation, ValidationConfig, ValidationDescription, ValidationDetail, ValidationDetailPublic, ValidationErrorEntity, VerificationCodeResponse, VerifyRegistrationCode, VersionChain, VersionNode, View$, ViewCreate, ViewInfo, ViewInfoArray, ViewUpdate, Wallet$, WalletInfo, WalletPagingSlicedResult, WalletRevocationConfig, WalletTransactionInfo, WalletTransactionPagingSlicedResult, WebLinkingResponse, WxPayConfigInfo, WxPayConfigRequest, XblAchievementUpdateRequest, XblDlcSyncRequest, XblIapConfigInfo, XblIapConfigRequest, XblReconcileRequest, XblReconcileResult, XblReconcileResultArray, XblUserAchievements, XsollaConfig, XsollaPaywallConfig, XsollaPaywallConfigRequest, ZsyncDiffRequest, ZsyncFileManifest, injectRequestInterceptors, injectResponseInterceptors };
40087
40516
  //# sourceMappingURL=index.browser.es.js.map