@accelbyte/sdk 0.2.0-beta.1 → 0.2.0-beta.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -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 };
@@ -8539,7 +8625,7 @@ const uponRefreshComplete = (error, tokenResponse, onGetUserSession, onSessionEx
8539
8625
  };
8540
8626
 
8541
8627
  /*
8542
- * Copyright (c) 2022 AccelByte Inc. All Rights Reserved
8628
+ * Copyright (c) 2022-2023 AccelByte Inc. All Rights Reserved
8543
8629
  * This is licensed software from AccelByte Inc, for limitations
8544
8630
  * and restrictions contact your company contract manager.
8545
8631
  */
@@ -15259,7 +15345,7 @@ var rabbitLegacy = {exports: {}};
15259
15345
  var cryptoJs = cryptoJs$1.exports;
15260
15346
 
15261
15347
  /*
15262
- * Copyright (c) 2022 AccelByte Inc. All Rights Reserved
15348
+ * Copyright (c) 2022-2023 AccelByte Inc. All Rights Reserved
15263
15349
  * This is licensed software from AccelByte Inc, for limitations
15264
15350
  * and restrictions contact your company contract manager.
15265
15351
  */
@@ -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();
@@ -16740,7 +16828,7 @@ class UserAuthorization {
16740
16828
  const axios = Network.create(config);
16741
16829
  const data = {
16742
16830
  grant_type: 'authorization_code',
16743
- code: code,
16831
+ code,
16744
16832
  code_verifier: codeVerifier,
16745
16833
  client_id: this.options.clientId,
16746
16834
  redirect_uri: this.options.redirectURI
@@ -16755,25 +16843,58 @@ 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)
16761
16852
  return;
16762
- // eslint-disable-next-line camelcase
16763
- const { mfa_token, factors, default_factor, email } = errorResponse.data;
16764
- const result = { mfaToken: mfa_token, factors, defaultFactor: default_factor, email };
16853
+ const { mfa_token: mfaToken, factors, default_factor: defaultFactor, email } = errorResponse.data;
16854
+ const result = { mfaToken, factors, defaultFactor, email };
16765
16855
  if (BrowserHelper.isOnBrowser()) {
16766
16856
  localStorage.setItem(MFA_DATA_STORAGE_KEY, JSON.stringify(result));
16767
16857
  }
16768
16858
  return result;
16769
16859
  };
16860
+ /**
16861
+ * @internal
16862
+ */
16770
16863
  this.getMfaDataFromStorage = () => {
16771
16864
  const storedMFAData = BrowserHelper.isOnBrowser() && localStorage.getItem(MFA_DATA_STORAGE_KEY);
16772
16865
  return storedMFAData ? JSON.parse(storedMFAData) : null;
16773
16866
  };
16867
+ /**
16868
+ * @internal
16869
+ */
16774
16870
  this.removeMfaDataFromStorage = () => {
16775
16871
  localStorage.removeItem(MFA_DATA_STORAGE_KEY);
16776
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
+ */
16777
16898
  this.deduceLoginError = (error) => {
16778
16899
  switch (error) {
16779
16900
  case LoginErrorParam.Enum.login_session_expired:
@@ -16815,6 +16936,11 @@ class UserAuthorization {
16815
16936
  returnPath
16816
16937
  };
16817
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
+ */
16818
16944
  this.createLoginURL = (returnPath, targetAuthPage, oneTimeLinkCode) => {
16819
16945
  const { verifier, challenge } = CodeChallenge.generateChallenge();
16820
16946
  const csrf = CodeChallenge.generateCsrf();
@@ -16838,6 +16964,11 @@ class UserAuthorization {
16838
16964
  const url = new URL(UrlHelper.combineURLPaths(this.options.baseURL, `${AUTHORIZE_URL}?${searchParams.toString()}`));
16839
16965
  return url.toString();
16840
16966
  };
16967
+ /**
16968
+ * GET [/iam/v3/oauth/authorize](api)
16969
+ *
16970
+ * Creates a URL to be used for password recovery
16971
+ */
16841
16972
  this.createForgotPasswordURL = () => {
16842
16973
  const { verifier, challenge } = CodeChallenge.generateChallenge();
16843
16974
  const csrf = CodeChallenge.generateCsrf();
@@ -16856,9 +16987,15 @@ class UserAuthorization {
16856
16987
  const url = new URL(UrlHelper.combineURLPaths(this.options.baseURL, `${AUTHORIZE_URL}?${searchParams.toString()}`));
16857
16988
  return url.toString();
16858
16989
  };
16990
+ /**
16991
+ * @internal
16992
+ */
16859
16993
  this.getCodeChallenge = () => {
16860
16994
  return CodeChallenge.generateChallenge();
16861
16995
  };
16996
+ /**
16997
+ * @internal
16998
+ */
16862
16999
  this.refreshToken = () => {
16863
17000
  const { clientId, refreshToken } = this.options;
16864
17001
  if (DesktopChecker.isDesktopApp()) {
@@ -16866,6 +17003,9 @@ class UserAuthorization {
16866
17003
  }
16867
17004
  return refreshWithLock({ axiosConfig: this.conf, clientId });
16868
17005
  };
17006
+ /**
17007
+ * @internal
17008
+ */
16869
17009
  this.getSearchParams = (sentState, challenge) => {
16870
17010
  const searchParams = new URLSearchParams();
16871
17011
  searchParams.append('response_type', 'code');
@@ -16877,25 +17017,6 @@ class UserAuthorization {
16877
17017
  return searchParams;
16878
17018
  };
16879
17019
  }
16880
- matchReceivedState(maybeSentState) {
16881
- const sentStateResult = CodeChallenge.parseSentState(maybeSentState);
16882
- if (sentStateResult.error)
16883
- return { error: sentStateResult.error, result: null };
16884
- const storedStateResult = CodeChallenge.load();
16885
- if (storedStateResult.error)
16886
- return { error: storedStateResult.error, result: null };
16887
- const sentState = sentStateResult.sentState;
16888
- const storedState = storedStateResult.storedState;
16889
- if (sentState.csrf !== storedState.csrf)
16890
- return { error: null, result: null };
16891
- return {
16892
- error: null,
16893
- result: {
16894
- payload: sentState.payload,
16895
- codeVerifier: storedState.codeVerifier
16896
- }
16897
- };
16898
- }
16899
17020
  }
16900
17021
  function isAxiosError(error) {
16901
17022
  return !!error && !!error.config;
@@ -17304,12 +17425,18 @@ class OAuthApi {
17304
17425
  this.cache = cache;
17305
17426
  this.options = options;
17306
17427
  /**
17307
- * <p>This method is used to remove <b>access_token</b>, <b>refresh_token</b> from cookie and revoke token from usage.</p>
17308
- * <p>Supported methods:</p>
17309
- * <ul>
17310
- * <li>VerifyToken to verify token from header</li>
17311
- * <li>AddTokenToRevocationList to revoke token with TTL</li>
17312
- * </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
17313
17440
  */
17314
17441
  this.logout = () => {
17315
17442
  const axios = Network.create({
@@ -17321,8 +17448,10 @@ class OAuthApi {
17321
17448
  return new OAuth20Extension$(axios, this.namespace, this.cache).postIamV3Logout();
17322
17449
  };
17323
17450
  /**
17324
- * <p>This method revokes a token.</p>
17325
- * <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
17326
17455
  */
17327
17456
  this.revoke = ({ token }) => {
17328
17457
  const axios = Network.create({
@@ -17336,10 +17465,12 @@ class OAuthApi {
17336
17465
  return new OAuth20$(axios, this.namespace, this.cache).postIamV3OauthRevoke({ token });
17337
17466
  };
17338
17467
  /**
17339
- * Verify 2FA code<br/>
17340
- * <p>This method is used for verifying 2FA code.</p>
17341
- * <h2>2FA remember device</h2>
17342
- * <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
17343
17474
  *
17344
17475
  */
17345
17476
  this.verify2FA = async ({ factor, code, mfaToken = null, rememberDevice }) => {
@@ -17351,6 +17482,9 @@ class OAuthApi {
17351
17482
  localStorage.removeItem(MFA_DATA_STORAGE_KEY);
17352
17483
  return result.response;
17353
17484
  };
17485
+ /**
17486
+ * POST [/iam/v3/oauth/mfa/code](api)
17487
+ */
17354
17488
  this.request2FAEmailCode = async ({ mfaToken = null, factor }) => {
17355
17489
  const result = await this.newInstance().postIamV3OauthMfaCode({ mfaToken, clientId: this.options.clientId, factor });
17356
17490
  if (result.error)
@@ -17358,70 +17492,72 @@ class OAuthApi {
17358
17492
  return result.response;
17359
17493
  };
17360
17494
  /**
17361
- * <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.
17362
17498
  */
17363
17499
  this.getCurrentLocationCountry = () => {
17364
17500
  return this.newOAuth20Extension().fetchIamV3LocationCountry();
17365
17501
  };
17366
17502
  /**
17367
- * Retrieve User Third Party Platform Token<br/>
17368
- * <p>
17503
+ * GET [/iam/v3/oauth/namespaces/{namespace}/users/{userId}/platforms/{platformId}/platformToken](api)
17504
+ *
17505
+ * Retrieve User Third Party Platform Token
17506
+ *
17369
17507
  * This method used for retrieving third party platform token for user that login using third party,
17370
17508
  * if user have not link requested platform in game namespace, will try to retrieving third party platform token from publisher namespace.
17371
17509
  * Passing platform group name or it's member will return same access token that can be used across the platform members.
17372
- * </p>
17373
- * <p>The third party platform and platform group covered for this is:</p>
17374
- * <ul>
17375
- * <li>(psn) ps4web</li>
17376
- * <li>(psn) ps4</li>
17377
- * <li>(psn) ps5</li>
17378
- * <li>epicgames</li>
17379
- * <li>twitch</li>
17380
- * <li>awscognito</li>
17381
- * </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
+ *
17382
17519
  */
17383
17520
  this.getThirdPartyPlatformToken = (userId, platformId) => {
17384
17521
  return this.newInstance().fetchV3OauthUsersByUseridPlatformsByPlatformidPlatformToken(userId, platformId);
17385
17522
  };
17386
17523
  /**
17524
+ * POST [/iam/v3/authenticateWithLink](api)
17525
+ *
17387
17526
  * This method is being used to authenticate a user account and perform platform link.
17388
17527
  * It validates user's email / username and password.
17389
- * 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.
17390
17529
  *
17391
- * <h2>Device Cookie Validation</h2>
17530
+ * ##Device Cookie Validation
17392
17531
  *
17393
- * 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>.
17394
- * 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.
17395
17535
  *
17396
17536
  */
17397
17537
  this.authenticateWithLink = (data) => {
17398
17538
  return this.newOAuth20Extension().postIamV3AuthenticateWithLink(data);
17399
17539
  };
17400
- }
17401
- /**
17402
- * @internal
17403
- */
17404
- newOAuth20Extension() {
17405
- return new OAuth20Extension$(Network.create(this.conf), this.namespace, this.cache);
17406
- }
17407
- /**
17408
- * This method is being used to validate one time link code.
17409
- * It require a valid user token.
17410
- * Should specify the target platform id and current user should already linked to this platform.
17411
- * Current user should be a headless account.
17412
- *
17413
- */
17414
- validateOneTimeLinkCode(data) {
17415
- return this.newOAuth20Extension().postIamV3LinkCodeValidate(data);
17416
- }
17417
- /**
17418
- * This method is being used to generate user's token by one time link code.
17419
- * It require publisher ClientID
17420
- * It required a code which can be generated from <strong>/iam/v3/link/code/request</strong>.<br>
17421
- *
17422
- */
17423
- exchangeTokenByOneTimeLinkCode(data) {
17424
- 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
+ };
17425
17561
  }
17426
17562
  newInstance() {
17427
17563
  return new OAuth20$(Network.create(this.conf), this.namespace, this.cache);
@@ -17500,6 +17636,8 @@ class ThirdPartyCredentialApi {
17500
17636
  this.namespace = namespace;
17501
17637
  this.cache = cache;
17502
17638
  /**
17639
+ * GET [/iam/v3/public/namespaces/{namespace}/platforms/clients/active](api)
17640
+ *
17503
17641
  * This is the Public API to Get All Active 3rd Platform Credential.
17504
17642
  */
17505
17643
  this.getThirdPartyPlatformInfo = () => {
@@ -18001,85 +18139,112 @@ class TwoFA {
18001
18139
  this.namespace = namespace;
18002
18140
  this.cache = cache;
18003
18141
  /**
18004
- * <p>This method is used to get 8-digits backup codes.
18005
- * Each code is a one-time code and will be deleted once used.</p>
18006
- * <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.
18007
18146
  *
18147
+ * _Requires a valid user access token_
18008
18148
  */
18009
18149
  this.getBackupCode = () => {
18010
18150
  return this.newInstance().fetchV4NsUsersMeMfaBackupCode();
18011
18151
  };
18012
18152
  /**
18013
- * <p>This method is used to enable 2FA backup codes.</p>
18014
- * <p>This method Requires valid user access token</p>
18153
+ * POST [/iam/v4/public/namespaces/{namespace}/users/me/mfa/backupCode/enable](api)
18015
18154
  *
18155
+ * This method is used to enable 2FA backup codes.
18156
+ *
18157
+ * _Requires a valid user access token_
18016
18158
  */
18017
18159
  this.enable2FABackupCodes = () => {
18018
18160
  return this.newInstance().postV4NsUsersMeMfaBackupCodeEnable();
18019
18161
  };
18020
18162
  /**
18021
- * <p>This method is used to enable 2FA backup codes.</p>
18022
- * <p>This method Requires valid user access token</p>
18163
+ * POST [/iam/v4/public/namespaces/{namespace}/users/me/mfa/backupCode](api)
18164
+ *
18165
+ * This method is used to enable 2FA backup codes.
18023
18166
  *
18167
+ * _Requires a valid user access token_
18024
18168
  */
18025
18169
  this.generateBackupCodes = () => {
18026
18170
  return this.newInstance().postV4NsUsersMeMfaBackupCode();
18027
18171
  };
18028
18172
  /**
18029
- * <p>This method is used to enable 2FA backup codes.</p>
18030
- * <p>This method Requires valid user access token</p>
18173
+ * DELETE [/iam/v4/public/namespaces/{namespace}/users/me/mfa/backupCode/disable](api)
18031
18174
  *
18175
+ * This method is used to enable 2FA backup codes.
18176
+ *
18177
+ * _Requires a valid user access token_
18032
18178
  */
18033
18179
  this.disableBackupCodes = () => {
18034
18180
  return this.newInstance().deleteV4NsUsersMeMfaBackupCodeDisable();
18035
18181
  };
18036
18182
  /**
18037
- * <p>This method is used to disable 2FA authenticator.</p>
18038
- * <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.
18039
18186
  *
18187
+ * _Requires a valid user access token_
18040
18188
  */
18041
18189
  this.disableAuthenticator = () => {
18042
18190
  return this.newInstance().deleteV4NsUsersMeMfaAuthenticatorDisable();
18043
18191
  };
18044
18192
  /**
18045
- * <p>This method is used to get user enabled factors.</p>
18046
- * <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.
18047
18196
  *
18197
+ * _Requires a valid user access token_
18048
18198
  */
18049
18199
  this.getEnabledMethods = () => {
18050
18200
  return this.newInstance().fetchV4NsUsersMeMfaFactor();
18051
18201
  };
18052
18202
  /**
18053
- * <p>This method is used to make 2FA factor default.</p>
18054
- * <p>This method Requires valid user access token</p>
18203
+ * POST [/iam/v4/public/namespaces/{namespace}/users/me/mfa/factor](api)
18055
18204
  *
18205
+ * This method is used to make 2FA factor default.
18206
+ *
18207
+ * _Requires a valid user access token_
18056
18208
  */
18057
18209
  this.set2FAAsDefault = (factor) => {
18058
18210
  return this.newInstance().postV4NsUsersMeMfaFactor({ factor });
18059
18211
  };
18060
18212
  /**
18061
- * <p>This method is used to enable 2FA authenticator.</p>
18062
- * <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.
18063
18216
  *
18217
+ * _Requires a valid user access token_
18064
18218
  */
18065
18219
  this.enable2FAAuthenticator = (code) => {
18066
18220
  return this.newInstance().postV4NsUsersMeMfaAuthenticatorEnable({ code });
18067
18221
  };
18068
18222
  /**
18069
- * <p>This method is used to generate a secret key for 3rd-party authenticator app.
18070
- * A QR code URI is also returned so that frontend can generate QR code image.</p>
18071
- * <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.
18072
18227
  *
18228
+ * _Requires a valid user access token_
18073
18229
  */
18074
18230
  this.generateSecretKey = () => {
18075
18231
  return this.newInstance().postV4NsUsersMeMfaAuthenticatorKey();
18076
18232
  };
18233
+ /**
18234
+ * POST [/iam/v4/public/namespaces/{namespace}/users/me/mfa/email/code](api)
18235
+ */
18077
18236
  this.requestEmailCode = () => {
18078
18237
  return this.newInstance().postV4NsUsersMeMfaEmailCode();
18079
18238
  };
18239
+ /**
18240
+ * POST [/iam/v4/public/namespaces/{namespace}/users/me/mfa/email/enable](api)
18241
+ */
18080
18242
  this.enableEmailMethod = (code) => {
18081
18243
  return this.newInstance().postV4NsUsersMeMfaEmailEnable({ code });
18082
18244
  };
18245
+ /**
18246
+ * POST [/iam/v4/public/namespaces/{namespace}/users/me/mfa/email/disable](api)
18247
+ */
18083
18248
  this.disableEmailMethod = () => {
18084
18249
  return this.newInstance().postV4NsUsersMeMfaEmailDisable();
18085
18250
  };
@@ -19293,295 +19458,326 @@ class UserApi {
19293
19458
  this.namespace = namespace;
19294
19459
  this.cache = cache;
19295
19460
  /**
19296
- * get currently logged in user
19461
+ * GET [/iam/v3/public/users/me](api)
19462
+ *
19463
+ * get currently logged-in user
19297
19464
  */
19298
19465
  this.getCurrentUser = () => {
19299
19466
  return this.newInstance().fetchIamV3PublicUsersMe();
19300
19467
  };
19301
19468
  /**
19302
- * update current user
19469
+ * PATCH [/iam/v3/public/namespaces/{namespace}/users/me](api)
19470
+ *
19471
+ * Update current user
19303
19472
  */
19304
19473
  this.updateUserMe = (data) => {
19305
19474
  return this.newInstance().patchV3NsUsersMe(data);
19306
19475
  };
19307
19476
  /**
19477
+ * PUT [/iam/v4/public/namespaces/{namespace}/users/me/email](api)
19478
+ *
19308
19479
  * update current user's email
19309
19480
  */
19310
19481
  this.updateEmailMe = (data) => {
19311
19482
  return this.newInstance4().putV4NsUsersMeEmail(data);
19312
19483
  };
19313
19484
  /**
19485
+ * PUT [/iam/v3/public/namespaces/{namespace}/users/me/password](api)
19486
+ *
19314
19487
  * update current user's password
19315
19488
  */
19316
19489
  this.updatePasswordMe = (data) => {
19317
19490
  return this.newInstance().putV3NsUsersMePassword(data);
19318
19491
  };
19319
19492
  /**
19493
+ * POST [/iam/v3/public/namespaces/{namespace}/users/me/code/request](api)
19494
+ *
19320
19495
  * Required valid user authorization
19321
- * <p>The verification code is sent to email address</p>
19322
- * <p>Available contexts for use : </p>
19323
- * <ol>
19324
- * <li>
19325
- * <strong>UserAccountRegistration</strong>
19326
- * <p>a context type used for verifying email address in user account registration. It returns 409 if the email address already verified.
19327
- * <strong><em>It is the default context if the Context field is empty</em></strong></p>
19328
- * </li>
19329
- * <li>
19330
- * <strong>UpdateEmailAddress</strong>
19331
- * <p>a context type used for verify user before updating email address.(Without email address verified checking)</p>
19332
- * </li>
19333
- * <li><strong>upgradeHeadlessAccount</strong>
19334
- * <p>The context is intended to be used whenever the email address wanted to be automatically verified on upgrading a headless account.
19335
- * If this context used, IAM rejects the request if the email address is already used by others by returning HTTP Status Code 409.</p>
19336
- * </li>
19337
- * </ol>
19338
- * <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
19339
19511
  *
19340
19512
  */
19341
19513
  this.requestVerificationCode = (data) => {
19342
19514
  return this.newInstance().postV3NsUsersMeCodeRequest(data);
19343
19515
  };
19344
19516
  /**
19345
- * <p>Will consume code if validateOnly is set false</p>
19346
- * <p>Required valid user authorization</p>
19347
- * <p>Redeems a verification code sent to a user to verify the user's contact address is correct</p>
19348
- * <p>Available ContactType : <b>email</b></p>
19349
- * <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
19350
19524
  *
19351
19525
  */
19352
19526
  this.verifyCode = (data) => {
19353
19527
  return this.newInstance().postV3NsUsersMeCodeVerify(data);
19354
19528
  };
19355
19529
  /**
19356
- * <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
19357
19533
  * Require valid user access token.
19358
- * <p>The method upgrades a headless account by linking the headless account with the email address and the password.
19359
- * By upgrading the headless account into a full account, the user could use the email address and password for using Justice IAM. </p>
19360
- * <p>The method is a shortcut for upgrading a headless account and verifying the email address in one call.
19361
- * In order to get a verification code for the method, please check the send verification code method.</p>
19362
- * <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.
19363
19539
  * Supported user data fields :
19364
- * <ul>
19365
- * <li>displayName</li>
19366
- * <li>dateOfBirth : format YYYY-MM-DD, e.g. 2019-04-29</li>
19367
- * <li>country : format ISO3166-1 alpha-2 two letter, e.g. US</li>
19368
- * </ul>
19369
- * <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
19370
19546
  */
19371
19547
  this.upgradeHeadlessAccount = (data) => {
19372
19548
  return this.newInstance().postV3NsUsersMeHeadlessCodeVerify(data);
19373
19549
  };
19374
19550
  /**
19551
+ * POST [/iam/v4/public/namespaces/{namespace}/users/me/headless/code/verify](api)
19552
+ *
19375
19553
  * Require valid user access token.
19376
19554
  * The method upgrades a headless account by linking the headless account with the email address, username, and password.
19377
19555
  * By upgrading the headless account into a full account, the user could use the email address, username, and password for using Justice IAM.
19378
- * <br>
19556
+ *
19379
19557
  * The method is a shortcut for upgrading a headless account and verifying the email address in one call.
19380
- * In order to get a verification code for the method, please check the <a href="#operations-Users-PublicSendVerificationCodeV3">send verification code method</a>.
19381
- * <br>
19558
+ *
19382
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.
19383
19560
  * Supported user data fields:
19384
- * <ul>
19385
- * <li>displayName</li>
19386
- * <li>dateOfBirth : format YYYY-MM-DD, e.g. 2019-04-29</li>
19387
- * <li>country : format ISO3166-1 alpha-2 two letter, e.g. US</li>
19388
- * </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
+ *
19389
19566
  * action code : 10124
19390
19567
  */
19391
19568
  this.upgradeHeadlessAccountV4 = (data) => {
19392
19569
  return this.newInstance4().postV4NsUsersMeHeadlessCodeVerify(data);
19393
19570
  };
19394
19571
  /**
19395
- * <p>This method retrieves platform accounts linked to user. Required valid user authorization.
19396
- * <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
19397
19576
  */
19398
19577
  this.getUserLinkedPlatform = (userId) => {
19399
19578
  return this.newInstance().fetchV3NsUsersByUseridPlatforms(userId);
19400
19579
  };
19401
19580
  /**
19581
+ * POST [/iam/v3/public/namespaces/{namespace}/users/me/platforms/{platformId}](api)
19582
+ *
19402
19583
  * Required valid user authorization.
19403
- * <p><br><b>Prerequisite:</b>
19584
+ * __Prerequisite:__
19404
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).
19405
- * <h2>Supported platforms:</h2>
19406
- * <ul>
19407
- * <li><strong>steam</strong>: The ticket’s value is the authentication code returned by Steam.</li>
19408
- * <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>
19409
- * <li><strong>facebook</strong>: The ticket’s value is the authorization code returned by Facebook OAuth</li>
19410
- * <li><strong>google</strong>: The ticket’s value is the authorization code returned by Google OAuth</li>
19411
- * <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>
19412
- * <li><strong>twitch</strong>: The ticket’s value is the authorization code returned by Twitch OAuth.</li>
19413
- * <li><strong>android</strong>: The ticket's value is the Android’s device ID</li>
19414
- * <li><strong>ios</strong>: The ticket's value is the iOS’s device ID.</li>
19415
- * <li><strong>apple</strong>: The ticket’s value is the authorization code returned by Apple OAuth.</li>
19416
- * <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>
19417
- * <li><strong>discord</strong>: The ticket’s value is the authorization code returned by Discord OAuth.</li>
19418
- * <li><strong>ps4web</strong>: The ticket’s value is the authorization code returned by PSN OAuth.</li>
19419
- * <li><strong>xblweb</strong>: The ticket’s value is the authorization code returned by XBox Live OAuth.</li>
19420
- * <li><strong>awscognito</strong>: The ticket’s value is the aws cognito access token (JWT).</li>
19421
- * <li><strong>epicgames</strong>: The ticket’s value is an access-token obtained from Epicgames EOS Account Service.</li>
19422
- * <li><strong>nintendo</strong>: The ticket’s value is the authorization code(id_token) returned by Nintendo OAuth.</li>
19423
- * <li><strong>stadia</strong>: The ticket’s value is a JWT Token, which can be obtained after calling the Stadia SDK's function.</li>
19424
- * </ul>
19425
- * <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
19426
19607
  */
19427
19608
  this.linkAccountToPlatform = ({ platformId, data }) => {
19428
19609
  return this.newInstance().postV3NsUsersMePlatformsByPlatformid(platformId, data);
19429
19610
  };
19430
19611
  /**
19612
+ * GET [/iam/v3/public/namespaces/{namespace}/requests/{requestId}/async/status](api)
19613
+ *
19431
19614
  * Get the linking status between a third-party platform to a user
19432
19615
  */
19433
19616
  this.getLinkRequestStatus = (requestId) => {
19434
19617
  return this.newInstance().fetchV3NsRequestsByRequestidAsyncStatus(requestId);
19435
19618
  };
19436
19619
  /**
19437
- * It is going to be <strong>DEPRECATED</strong>.
19620
+ * @internal
19621
+ * It is going to be __DEPRECATED__.
19438
19622
  * Update Platform Account relation to current User Account.
19439
19623
  * Note: Game progression data (statistics, reward, etc) associated with previous User Account will not be
19440
19624
  * transferred. If the data is tight to game user ID, the user will have the game progression data.
19441
- *
19442
19625
  */
19443
19626
  this.linkPlatformToUserAccount = ({ userId, data }) => {
19444
19627
  return this.newInstance().postV3NsUsersByUseridPlatformsLink(userId, data);
19445
19628
  };
19446
19629
  /**
19630
+ * DELETE [/iam/v3/public/namespaces/{namespace}/users/me/platforms/{platformId}](api)
19631
+ *
19447
19632
  * Required valid user authorization.
19448
- * <h2>Supported platforms:</h2>
19449
- * <ul>
19450
- * <li><strong>steam</strong></li>
19451
- * <li><strong>steamopenid</strong></li>
19452
- * <li><strong>facebook</strong></li>
19453
- * <li><strong>google</strong></li>
19454
- * <li><strong>oculus</strong></li>
19455
- * <li><strong>twitch</strong></li>
19456
- * <li><strong>android</strong></li>
19457
- * <li><strong>ios</strong></li>
19458
- * <li><strong>apple</strong></li>
19459
- * <li><strong>device</strong></li>
19460
- * <li><strong>discord</strong></li>
19461
- * <li><strong>awscognito</strong></li>
19462
- * <li><strong>epicgames</strong></li>
19463
- * <li><strong>nintendo</strong></li>
19464
- * <li><strong>stadia</strong></li>
19465
- * </ul>
19466
- * <p>Unlink user's account from a specific platform. 'justice' platform might have multiple accounts from different namespaces linked.
19467
- * <br><i>platformNamespace</i> need to be specified when the platform ID is 'justice'.
19468
- * <br>
19469
- * <br>Unlink user's account from justice platform will enable password token grant and password update.
19470
- * <br>
19471
- * <br>If you want to unlink user's account in a game namespace, you have to specify <i>platformNamespace</i> to that game namespace.
19472
- * <br>
19473
- * <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
19474
19659
  */
19475
19660
  this.unLinkAccountFromPlatform = ({ platformId, data }) => {
19476
19661
  return this.newInstance().deleteV3NsUsersMePlatformsByPlatformid(platformId, data);
19477
19662
  };
19478
19663
  /**
19664
+ * GET [/iam/v3/public/namespaces/{namespace}/users/me/platforms/{platformId}/web/link](api)
19665
+ *
19479
19666
  * This method is used to generate third party login page which will redirected to establish method.
19480
19667
  */
19481
19668
  this.getThirdPartyURL = ({ platformId, queryParams }) => {
19482
19669
  return this.newInstance().fetchV3NsUsersMePlatformsByPlatformidWebLink(platformId, queryParams);
19483
19670
  };
19484
19671
  /**
19672
+ * GET [/iam/v3/public/namespaces/{namespace}/agerestrictions/countries/{countryCode}](api)
19673
+ *
19485
19674
  * Get age restriction by country code. It will always get by publisher namespace
19486
19675
  */
19487
19676
  this.getAgeRestrictionByCountry = (countryCode) => {
19488
19677
  return this.newInstance().fetchV3NsAgerestrictionsCountriesByCountrycode(countryCode);
19489
19678
  };
19490
- }
19491
- /**
19492
- * Render 2D Avatar via readyplayer.me (https://docs.readyplayer.me/ready-player-me/avatars/2d-avatars/render-api)
19493
- */
19494
- renderImageFromGlbModel(data) {
19495
- const axios = Network.create({
19496
- ...this.conf
19497
- });
19498
- return Validate.responseType(() => axios.post('https://render.readyplayer.me/render', data), ReadyPlayerMe);
19499
- }
19500
- // TODO: evaluate the use of this method. It looks too generic for a function that should notify game SDK
19501
- notifyGameSDK(url) {
19502
- const axios = Network.create({
19503
- ...this.conf
19504
- });
19505
- return Validate.responseType(() => axios.get(url), mod.string());
19506
- }
19507
- /**
19508
- * This method will validate the request's email address.
19509
- *
19510
- * If it already been used, will response 409.
19511
- *
19512
- * If it is available, we will send a verification code to this email address.
19513
- * This code can be verified by this <a href="#operations-Users-PublicVerifyRegistrationCode">method</a>.
19514
- *
19515
- */
19516
- requestNewUserVerificationCode(data) {
19517
- return this.newInstance().postV3NsUsersCodeRequest(data);
19518
- }
19519
- /**
19520
- * Create a new user with unique email address and username.
19521
- * <p>
19522
- * <b>Required attributes:</b>
19523
- * - authType: possible value is EMAILPASSWD
19524
- * - emailAddress: Please refer to the rule from /v3/public/inputValidations API.
19525
- * - username: Please refer to the rule from /v3/public/inputValidations API.
19526
- * - password: Please refer to the rule from /v3/public/inputValidations API.
19527
- * - country: ISO3166-1 alpha-2 two letter, e.g. US.
19528
- * - dateOfBirth: YYYY-MM-DD, e.g. 1990-01-01. valid values are between 1905-01-01 until current date.
19529
- * <br/>
19530
- * <b>Not required attributes:</b>
19531
- * - displayName: Please refer to the rule from /v3/public/inputValidations API.
19532
- * </p>
19533
- * <p>This method support accepting agreements for the created user. Supply the accepted agreements in acceptedPolicies attribute.</p>
19534
- *
19535
- */
19536
- createUser(data) {
19537
- return this.newInstance4().postV4NsUsers(data);
19538
- }
19539
- /**
19540
- * <p>This method retrieves platform accounts linked to user.
19541
- * <br>It will query all linked platform accounts and result will be distinct & grouped, same platform we will pick oldest linked one.
19542
- * <br>Required valid user authorization.</p>
19543
- */
19544
- getUserDistinctLinkedPlatform(userId) {
19545
- return this.newInstance().fetchV3NsUsersByUseridDistinctPlatforms(userId);
19546
- }
19547
- /**
19548
- * Required valid user authorization.
19549
- * <p>Unlink user's account from for all third platforms. </p>
19550
- */
19551
- unLinkAccountFromPlatformDistinct(platformId) {
19552
- return this.newInstance().deleteV3NsUsersMePlatformsByPlatformidAll(platformId);
19553
- }
19554
- /**
19555
- * Required valid user authorization
19556
- * <p>The verification link is sent to email address</p>
19557
- * <p>It will not send request if user email is already verified</p>
19558
- *
19559
- */
19560
- sendVerificationLink(languageTag) {
19561
- return this.newInstance().postIamV3PublicUsersMeVerifyLinkRequest({ languageTag });
19562
- }
19563
- /**
19564
- * <p>This method retrieves platform accounts linked to user. Required valid user authorization.
19565
- * <br>action code: 10128 </p>
19566
- */
19567
- getLinkedAccount(userId) {
19568
- return this.newInstance().fetchV3NsUsersByUseridPlatforms(userId);
19569
- }
19570
- /**
19571
- * Note:<br>
19572
- * 1. My account should be full account
19573
- * 2. My account not linked to request headless account's third platform.
19574
- */
19575
- getLinkAccountByOneTimeCodeConflict(params) {
19576
- return this.newInstance().fetchIamV3PublicUsersMeHeadlessLinkConflict(params);
19577
- }
19578
- /**
19579
- * Note:<br>
19580
- * 1. My account should be full account
19581
- * 2. My account not linked to headless account's third platform.
19582
- */
19583
- linkWithProgression(data) {
19584
- 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
+ };
19585
19781
  }
19586
19782
  /**
19587
19783
  * @internal
@@ -19738,24 +19934,36 @@ class AgreementApi {
19738
19934
  this.conf = conf;
19739
19935
  this.namespace = namespace;
19740
19936
  this.cache = cache;
19741
- }
19742
- /**
19743
- * 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>
19744
- */
19745
- acceptLegalPolicies(acceptAgreements) {
19746
- return this.newInstance().postPublicAgreementsPolicies(acceptAgreements);
19747
- }
19748
- /**
19749
- * Retrieve accepted Legal Agreements.<br>Other detail info: <ul><li><i>Required permission</i>: login user</li></ul>
19750
- */
19751
- getAgreements() {
19752
- return this.newInstance().fetchPublicAgreementsPolicies();
19753
- }
19754
- /**
19755
- * Change marketing preference consent.<br>Other detail info: <ul><li><i>Required permission</i>: login user</li></ul>
19756
- */
19757
- updateMarketingPreferences(acceptAgreements) {
19758
- 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
+ };
19759
19967
  }
19760
19968
  newInstance() {
19761
19969
  return new Agreement$(Network.create(this.conf), this.namespace, this.cache);
@@ -19868,12 +20076,16 @@ class EligibilitiesApi {
19868
20076
  this.conf = conf;
19869
20077
  this.namespace = namespace;
19870
20078
  this.cache = cache;
19871
- }
19872
- /**
19873
- * 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>
19874
- */
19875
- getUserEligibilities() {
19876
- 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
+ };
19877
20089
  }
19878
20090
  newInstance() {
19879
20091
  return new Eligibilities$(Network.create(this.conf), this.namespace, this.cache);
@@ -19976,12 +20188,14 @@ class LocalizedPolicyVersionsApi {
19976
20188
  this.conf = conf;
19977
20189
  this.namespace = namespace;
19978
20190
  this.cache = cache;
19979
- }
19980
- /**
19981
- * 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>
19982
- */
19983
- fetchLocalizedPolicyVersionById(localizedPolicyVersionId) {
19984
- 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
+ };
19985
20199
  }
19986
20200
  newInstance() {
19987
20201
  return new LocalizedPolicyVersions$(Network.create(this.conf), this.namespace, this.cache);
@@ -20087,18 +20301,37 @@ class PoliciesApi {
20087
20301
  this.conf = conf;
20088
20302
  this.namespace = namespace;
20089
20303
  this.cache = cache;
20090
- }
20091
- /**
20092
- * 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>
20093
- */
20094
- fetchPoliciesByCountry({ countryCode, queryParams }) {
20095
- return this.newInstance().fetchPublicPoliciesNamespacesByNamespaceCountriesByCountrycode(countryCode, queryParams);
20096
- }
20097
- /**
20098
- * 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>
20099
- */
20100
- fetchAllPoliciesByCountry({ countryCode, queryParams }) {
20101
- 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
+ };
20102
20335
  }
20103
20336
  newInstance() {
20104
20337
  return new Policies$(Network.create(this.conf), this.namespace, this.cache);
@@ -20182,12 +20415,21 @@ class PublicTemplateApi {
20182
20415
  this.conf = conf;
20183
20416
  this.namespace = namespace;
20184
20417
  this.cache = cache;
20418
+ /**
20419
+ * @internal
20420
+ */
20185
20421
  this.getTemplateConfigs = (template) => {
20186
20422
  return this.newInstance().fetchV1NsTemplatesByTemplateConfigs(template);
20187
20423
  };
20424
+ /**
20425
+ * @internal
20426
+ */
20188
20427
  this.getTemplateConfig = (template, configId) => {
20189
20428
  return this.newInstance().fetchV1NsTemplatesByTemplateConfigsByConfig(template, configId);
20190
20429
  };
20430
+ /**
20431
+ * @internal
20432
+ */
20191
20433
  this.getDiscoveryTemplateConfigs = () => {
20192
20434
  return this.newInstance().fetchV1NsTemplatesByTemplateConfigs(DISCOVERY_TEMPLATE_NAME);
20193
20435
  };
@@ -20257,13 +20499,19 @@ class CurrencyApi {
20257
20499
  this.namespace = namespace;
20258
20500
  this.cache = cache;
20259
20501
  /**
20260
- * 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
20261
20507
  */
20262
20508
  this.getCurrencies = () => {
20263
20509
  return this.newInstance().fetchNsCurrencies();
20264
20510
  };
20265
20511
  /**
20266
20512
  * Get the currencies list and convert into a map of currency code and the currency itself
20513
+ *
20514
+ * @internal
20267
20515
  */
20268
20516
  this.getCurrencyMap = async () => {
20269
20517
  const result = await this.getCurrencies();
@@ -20876,38 +21124,42 @@ class EntitlementApi {
20876
21124
  this.conf = conf;
20877
21125
  this.namespace = namespace;
20878
21126
  this.cache = cache;
20879
- }
20880
- /**
20881
- * 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>
20882
- */
20883
- getEntitlementByAppId({ userId, appId }) {
20884
- return this.newInstance().fetchNsUsersByUseridEntitlementsByAppId(userId, {
20885
- appId
20886
- });
20887
- }
20888
- /**
20889
- * 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>
20890
- */
20891
- getEntitlements({ userId, queryParams }) {
20892
- return this.newInstance().fetchNsUsersByUseridEntitlements(userId, queryParams);
20893
- }
20894
- /**
20895
- * 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>
20896
- */
20897
- getEntitlementOwnerShip({ userId, queryParams }) {
20898
- return this.newInstance().fetchNsUsersByUseridEntitlementsOwnershipAny(userId, queryParams);
20899
- }
20900
- /**
20901
- * 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>
20902
- */
20903
- getEntitlementByItemIds({ userId, queryParams }) {
20904
- return this.newInstance().fetchNsUsersByUseridEntitlementsOwnershipByItemIds(userId, queryParams);
20905
- }
20906
- /**
20907
- * 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>
20908
- */
20909
- claimEntitlement({ userId, entitlementId, data }) {
20910
- 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
+ };
20911
21163
  }
20912
21164
  newInstance() {
20913
21165
  return new Entitlement$(Network.create(this.conf), this.namespace, this.cache);
@@ -21007,7 +21259,11 @@ class FulfillmentApi {
21007
21259
  this.namespace = namespace;
21008
21260
  this.cache = cache;
21009
21261
  /**
21010
- * 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
21011
21267
  */
21012
21268
  this.redeemCode = ({ userId, data }) => {
21013
21269
  return this.newInstance().postNsUsersByUseridFulfillmentCode(userId, data);
@@ -21560,64 +21816,90 @@ class ItemApi {
21560
21816
  this.conf = conf;
21561
21817
  this.namespace = namespace;
21562
21818
  this.cache = cache;
21563
- }
21564
- /**
21565
- * 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>
21566
- */
21567
- getItemByAppId({ ...queryParams }) {
21568
- return this.newInstance().fetchNsItemsByAppId(queryParams);
21569
- }
21570
- /**
21571
- * Get item dynamic data for a published item.<br>Other detail info: <ul><li><i>Returns</i>: item dynamic data</li></ul>
21572
- */
21573
- getItemByItemIdDynamic(itemId) {
21574
- return this.newInstance().fetchNsItemsByItemidDynamic(itemId);
21575
- }
21576
- fetchItemsByCriteria({ queryParams }) {
21577
- return this.newInstance().fetchNsItemsByCriteria(queryParams);
21578
- }
21579
- /**
21580
- * 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>
21581
- */
21582
- getItemsByItemIds({ queryParams }) {
21583
- return this.newInstance().fetchNsItemsLocaleByIds(queryParams);
21584
- }
21585
- /**
21586
- * Fetch the items and convert it into a map of `itemId` and its item info
21587
- */
21588
- async fetchAvailableItemInfoMap({ queryParams }) {
21589
- const result = await this.getItemsByItemIds({ queryParams });
21590
- if (result.response) {
21591
- return {
21592
- error: null,
21593
- value: result.response.data.reduce((map, availableItemInfo) => {
21594
- const { itemId } = availableItemInfo;
21595
- if (itemId) {
21596
- map.set(itemId, availableItemInfo);
21597
- }
21598
- return map;
21599
- }, new Map())
21600
- };
21601
- }
21602
- return result;
21603
- }
21604
- /**
21605
- * 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>
21606
- */
21607
- getItemsByItemIdLocale({ itemId, queryParams }) {
21608
- return this.newInstance().fetchNsItemsByItemidLocale(itemId, queryParams);
21609
- }
21610
- /**
21611
- * 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>
21612
- */
21613
- getAppInfoByItemId({ itemId, queryParams }) {
21614
- return this.newInstance().fetchNsItemsByItemidAppLocale(itemId, queryParams);
21615
- }
21616
- /**
21617
- * This API is used to validate user item purchase condition
21618
- */
21619
- validatePurchaseCondition(data) {
21620
- 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
+ };
21621
21903
  }
21622
21904
  newInstance() {
21623
21905
  return new Item$(Network.create(this.conf), this.namespace, this.cache);
@@ -21858,31 +22140,102 @@ class OrderApi {
21858
22140
  this.namespace = namespace;
21859
22141
  this.cache = cache;
21860
22142
  /**
21861
- * 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>
21862
22200
  */
21863
22201
  this.getOrderList = ({ userId, queryParams }) => {
21864
22202
  return this.newInstance().fetchNsUsersByUseridOrders(userId, queryParams);
21865
22203
  };
21866
22204
  /**
21867
- * 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`
21868
22210
  */
21869
22211
  this.getOrderByOrderNo = ({ userId, orderNo }) => {
21870
22212
  return this.newInstance().fetchNsUsersByUseridOrdersByOrderno(userId, orderNo);
21871
22213
  };
21872
22214
  /**
21873
- * 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`
21874
22220
  */
21875
22221
  this.cancelOrder = ({ userId, orderNo }) => {
21876
22222
  return this.newInstance().putNsUsersByUseridOrdersByOrdernoCancel(userId, orderNo);
21877
22223
  };
21878
22224
  /**
21879
- * 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`
21880
22231
  */
21881
22232
  this.createOrder = ({ userId, data }) => {
21882
22233
  return this.newInstance().postNsUsersByUseridOrders(userId, data);
21883
22234
  };
21884
22235
  /**
21885
22236
  * Fetch all information needed for a user to check the user's availability to purchase the item
22237
+ *
22238
+ * @internal
21886
22239
  */
21887
22240
  this.fetchPrePurchaseInformation = async ({ userId, item }) => {
21888
22241
  const currencyApi = new CurrencyApi(this.conf, this.namespace, this.cache);
@@ -22211,31 +22564,49 @@ class PaymentApi {
22211
22564
  this.namespace = namespace;
22212
22565
  this.cache = cache;
22213
22566
  /**
22214
- * 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`
22215
22572
  */
22216
22573
  this.getPaymentAccounts = (userId) => {
22217
22574
  return this.newInstance().fetchNsUsersByUseridPaymentAccounts(userId);
22218
22575
  };
22219
22576
  /**
22220
- * 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.
22221
22580
  */
22222
22581
  this.deletePaymentAccount = ({ userId, type, id }) => {
22223
22582
  return this.newInstance().deleteNsUsersByUseridPaymentAccountsByTypeById(userId, type, id);
22224
22583
  };
22225
22584
  /**
22226
- * 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`
22227
22590
  */
22228
22591
  this.getPaymentInfo = (paymentOrderNo) => {
22229
22592
  return new PaymentStation$(Network.create(this.conf), this.namespace, this.cache).fetchNsPaymentOrdersByPaymentordernoInfo(paymentOrderNo);
22230
22593
  };
22231
22594
  /**
22232
- * 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
22233
22600
  */
22234
22601
  this.processPaymentOrder = (paymentOrderNo, data, queryParams) => {
22235
22602
  return new PaymentStation$(Network.create(this.conf), this.namespace, this.cache).postNsPaymentOrdersByPaymentordernoPay(paymentOrderNo, data, queryParams);
22236
22603
  };
22237
22604
  /**
22238
- * 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
22239
22610
  */
22240
22611
  this.getPaymentProviderPublicConfig = (paymentProvider, region, sandbox) => {
22241
22612
  return new PaymentStation$(Network.create(this.conf), this.namespace, this.cache).fetchNsPaymentPublicconfig({
@@ -22245,19 +22616,28 @@ class PaymentApi {
22245
22616
  });
22246
22617
  };
22247
22618
  /**
22248
- * 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
22249
22624
  */
22250
22625
  this.getPaymentOrderStatus = (paymentOrderNo) => {
22251
22626
  return new PaymentStation$(Network.create(this.conf), this.namespace, this.cache).fetchNsPaymentOrdersByPaymentordernoStatus(paymentOrderNo);
22252
22627
  };
22253
22628
  /**
22254
- * 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
22255
22631
  */
22256
22632
  this.getPaymentMethods = (paymentOrderNo) => {
22257
22633
  return new PaymentStation$(Network.create(this.conf), this.namespace, this.cache).fetchNsPaymentMethods({ paymentOrderNo });
22258
22634
  };
22259
22635
  /**
22260
- * 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
22261
22641
  */
22262
22642
  this.getPaymentTax = (paymentProvider, paymentOrderNo, zipCode) => {
22263
22643
  return new PaymentStation$(Network.create(this.conf), this.namespace, this.cache).fetchNsPaymentTax({
@@ -22267,7 +22647,11 @@ class PaymentApi {
22267
22647
  });
22268
22648
  };
22269
22649
  /**
22270
- * 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
22271
22655
  */
22272
22656
  this.createPaymentUrl = (data) => {
22273
22657
  return new PaymentStation$(Network.create(this.conf), this.namespace, this.cache).postNsPaymentLink(data);
@@ -22523,42 +22907,73 @@ class SubscriptionApi {
22523
22907
  this.conf = conf;
22524
22908
  this.namespace = namespace;
22525
22909
  this.cache = cache;
22526
- }
22527
- /**
22528
- * 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>
22529
- */
22530
- getUserSubscriptions({ userId, queryParams }) {
22531
- return this.newInstance().fetchNsUsersByUseridSubscriptions(userId, queryParams);
22532
- }
22533
- /**
22534
- * 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>
22535
- */
22536
- getUserSubscriptionBySubscriptionId({ userId, subscriptionId }) {
22537
- return this.newInstance().fetchNsUsersByUseridSubscriptionsBySubscriptionid(userId, subscriptionId);
22538
- }
22539
- /**
22540
- * 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>
22541
- */
22542
- createSubscription({ userId, data }) {
22543
- return this.newInstance().postNsUsersByUseridSubscriptions(userId, data);
22544
- }
22545
- /**
22546
- * 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>
22547
- */
22548
- getUserSubscriptionBillingHistory({ userId, subscriptionId, queryParams }) {
22549
- return this.newInstance().fetchNsUsersByUseridSubscriptionsBySubscriptionidHistory(userId, subscriptionId, queryParams);
22550
- }
22551
- /**
22552
- * 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>
22553
- */
22554
- updateUserSubscriptionPaymentMethod({ userId, subscriptionId }) {
22555
- return this.newInstance().putNsUsersByUseridSubscriptionsBySubscriptionidBillingAccount(userId, subscriptionId);
22556
- }
22557
- /**
22558
- * 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>
22559
- */
22560
- cancelUserSubscription({ userId, subscriptionId, data }) {
22561
- 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
+ };
22562
22977
  }
22563
22978
  newInstance() {
22564
22979
  return new Subscription$(Network.create(this.conf), this.namespace, this.cache);
@@ -22725,19 +23140,32 @@ class WalletApi {
22725
23140
  this.namespace = namespace;
22726
23141
  this.cache = cache;
22727
23142
  /**
22728
- * 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__
22729
23152
  */
22730
23153
  this.getUserMeWallet = (currencyCode) => {
22731
23154
  return this.newInstance().fetchNsUsersMeWalletsByCurrencycode(currencyCode);
22732
23155
  };
22733
23156
  /**
22734
- * 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
22735
23162
  */
22736
23163
  this.getWalletByUserId = (userId, currencyCode) => {
22737
23164
  return this.newInstance().fetchNsUsersByUseridWalletsByCurrencycode(userId, currencyCode);
22738
23165
  };
22739
23166
  /**
22740
23167
  * get a map of wallet represented by its currency code
23168
+ * @internal
22741
23169
  */
22742
23170
  this.getWalletMap = async ({ userId, currencyCodes }) => {
22743
23171
  try {
@@ -22767,7 +23195,7 @@ class WalletApi {
22767
23195
  class ApiFactory {
22768
23196
  static userAuthorization(config, options, refreshToken, namespace, overrides) {
22769
23197
  const conf = ApiFactory.mergedConfigs(config, overrides);
22770
- return new UserAuthorization(conf, namespace, false, {
23198
+ return new UserAuthorizationApi(conf, namespace, false, {
22771
23199
  clientId: options.clientId,
22772
23200
  redirectURI: options.redirectURI,
22773
23201
  baseURL: options.baseURL,
@@ -22928,7 +23356,93 @@ const injectErrorInterceptors = (baseUrl, onUserEligibilityChange, onError) => {
22928
23356
  var version$1="x.y.z";var build$1="x.y.z";var timestamp="x.y.z";var buildInfo = {version:version$1,build:build$1,timestamp:timestamp};
22929
23357
 
22930
23358
  /*
22931
- * Copyright (c) 2022 AccelByte Inc. All Rights Reserved
23359
+ * Copyright (c) 2023 AccelByte Inc. All Rights Reserved
23360
+ * This is licensed software from AccelByte Inc, for limitations
23361
+ * and restrictions contact your company contract manager.
23362
+ */
23363
+ var BasicVersion = {
23364
+ title: '-',
23365
+ name: 'justice-basic-service',
23366
+ version: '2.6.0',
23367
+ buildDate: '2023-02-21T23:52:43.996Z'
23368
+ };
23369
+
23370
+ /*
23371
+ * Copyright (c) 2023 AccelByte Inc. All Rights Reserved
23372
+ * This is licensed software from AccelByte Inc, for limitations
23373
+ * and restrictions contact your company contract manager.
23374
+ */
23375
+ var BuildinfoVersion = {
23376
+ title: '-',
23377
+ name: 'justice-buildinfo-service',
23378
+ version: '3.28.2',
23379
+ buildDate: '2023-02-21T23:52:43.996Z'
23380
+ };
23381
+
23382
+ /*
23383
+ * Copyright (c) 2023 AccelByte Inc. All Rights Reserved
23384
+ * This is licensed software from AccelByte Inc, for limitations
23385
+ * and restrictions contact your company contract manager.
23386
+ */
23387
+ var EventVersion = {
23388
+ title: '-',
23389
+ name: 'justice-event-log-service',
23390
+ version: undefined,
23391
+ buildDate: '2023-02-21T23:52:43.996Z'
23392
+ };
23393
+
23394
+ /*
23395
+ * Copyright (c) 2023 AccelByte Inc. All Rights Reserved
23396
+ * This is licensed software from AccelByte Inc, for limitations
23397
+ * and restrictions contact your company contract manager.
23398
+ */
23399
+ var GdprVersion = {
23400
+ title: '-',
23401
+ name: 'justice-gdpr-service',
23402
+ version: '1.19.1',
23403
+ buildDate: '2023-02-21T23:52:43.996Z'
23404
+ };
23405
+
23406
+ /*
23407
+ * Copyright (c) 2023 AccelByte Inc. All Rights Reserved
23408
+ * This is licensed software from AccelByte Inc, for limitations
23409
+ * and restrictions contact your company contract manager.
23410
+ */
23411
+ var IamVersion = {
23412
+ title: '-',
23413
+ name: 'justice-iam-service',
23414
+ version: '5.28.0',
23415
+ buildDate: '2023-02-21T23:52:43.996Z'
23416
+ };
23417
+
23418
+ /*
23419
+ * Copyright (c) 2023 AccelByte Inc. All Rights Reserved
23420
+ * This is licensed software from AccelByte Inc, for limitations
23421
+ * and restrictions contact your company contract manager.
23422
+ */
23423
+ var LegalVersion = {
23424
+ title: '-',
23425
+ name: 'justice-legal-service',
23426
+ version: '1.27.0',
23427
+ buildDate: '2023-02-21T23:52:43.996Z'
23428
+ };
23429
+
23430
+ /*
23431
+ * Copyright (c) 2023 AccelByte Inc. All Rights Reserved
23432
+ * This is licensed software from AccelByte Inc, for limitations
23433
+ * and restrictions contact your company contract manager.
23434
+ */
23435
+ var OdinConfigVersion = { title: '-', name: 'config-service-app', version: 'dev', buildDate: '2023-02-21T23:43:05.354Z' };
23436
+
23437
+ /*
23438
+ * Copyright (c) 2023 AccelByte Inc. All Rights Reserved
23439
+ * This is licensed software from AccelByte Inc, for limitations
23440
+ * and restrictions contact your company contract manager.
23441
+ */
23442
+ var PlatformVersion = { title: '-', name: 'justice-platform-service', version: '4.24.0', buildDate: '2023-02-21T23:43:05.402Z' };
23443
+
23444
+ /*
23445
+ * Copyright (c) 2022-2023 AccelByte Inc. All Rights Reserved
22932
23446
  * This is licensed software from AccelByte Inc, for limitations
22933
23447
  * and restrictions contact your company contract manager.
22934
23448
  */
@@ -23005,18 +23519,21 @@ class AccelbyteSDKFactory {
23005
23519
  OAuth: (overrides) => ApiFactory.oauthApi(this.config, this.options, this.options.namespace, this.override(overrides)),
23006
23520
  InputValidation: (overrides) => ApiFactory.inputValidationApi(this.config, this.options.namespace, this.override(overrides)),
23007
23521
  ThirdPartyCredential: (overrides) => ApiFactory.thirdPartyCredentialApi(this.config, this.options.namespace, this.override(overrides)),
23008
- TwoFA: (overrides) => ApiFactory.twoFA(this.config, this.options.namespace, this.override(overrides))
23522
+ TwoFA: (overrides) => ApiFactory.twoFA(this.config, this.options.namespace, this.override(overrides)),
23523
+ version: IamVersion
23009
23524
  },
23010
23525
  BuildInfo: {
23011
23526
  Downloader: (overrides) => ApiFactory.downloaderApi(this.config, this.options.namespace, this.override(overrides)),
23012
23527
  Caching: (overrides) => ApiFactory.cachingApi(this.config, this.options.namespace, this.override(overrides)),
23013
- DLC: (overrides) => ApiFactory.dlcApi(this.config, this.options.namespace, this.override(overrides))
23528
+ DLC: (overrides) => ApiFactory.dlcApi(this.config, this.options.namespace, this.override(overrides)),
23529
+ version: BuildinfoVersion
23014
23530
  },
23015
23531
  Basic: {
23016
23532
  Misc: (overrides) => ApiFactory.miscApi(this.config, this.options.namespace, this.override(overrides)),
23017
23533
  UserProfile: (overrides) => ApiFactory.userProfileApi(this.config, this.options.namespace, this.override(overrides)),
23018
23534
  FileUpload: (overrides) => ApiFactory.fileUploadApi(this.config, this.options.namespace, this.override(overrides)),
23019
- Namespace: (overrides) => ApiFactory.namespaceApi(this.config, this.options.namespace, this.override(overrides))
23535
+ Namespace: (overrides) => ApiFactory.namespaceApi(this.config, this.options.namespace, this.override(overrides)),
23536
+ version: BasicVersion
23020
23537
  },
23021
23538
  Platform: {
23022
23539
  Currency: (overrides) => ApiFactory.currencyApi(this.config, this.options.namespace, this.override(overrides)),
@@ -23026,23 +23543,47 @@ class AccelbyteSDKFactory {
23026
23543
  Order: (overrides) => ApiFactory.orderApi(this.config, this.options.namespace, this.override(overrides)),
23027
23544
  Payment: (overrides) => ApiFactory.paymentApi(this.config, this.options.namespace, this.override(overrides)),
23028
23545
  Subscription: (overrides) => ApiFactory.subscriptionApi(this.config, this.options.namespace, this.override(overrides)),
23029
- Wallet: (overrides) => ApiFactory.walletApi(this.config, this.options.namespace, this.override(overrides))
23546
+ Wallet: (overrides) => ApiFactory.walletApi(this.config, this.options.namespace, this.override(overrides)),
23547
+ version: PlatformVersion
23030
23548
  },
23031
23549
  Legal: {
23032
23550
  Eligibilities: (overrides) => ApiFactory.eligibillitiesApi(this.config, this.options.namespace, this.override(overrides)),
23033
23551
  Agreement: (overrides) => ApiFactory.agreementApi(this.config, this.options.namespace, this.override(overrides)),
23034
23552
  Policies: (overrides) => ApiFactory.policiesApi(this.config, this.options.namespace, this.override(overrides)),
23035
- LocalizedPolicyVersions: (overrides) => ApiFactory.localizedPolicyVersionsApi(this.config, this.options.namespace, this.override(overrides))
23553
+ LocalizedPolicyVersions: (overrides) => ApiFactory.localizedPolicyVersionsApi(this.config, this.options.namespace, this.override(overrides)),
23554
+ version: LegalVersion
23036
23555
  },
23037
23556
  GDPR: {
23038
23557
  DataDeletion: (overrides) => ApiFactory.dataDeletionApi(this.config, this.options.namespace, this.override(overrides)),
23039
- DataRetrieval: (overrides) => ApiFactory.dataRetrievalApi(this.config, this.options.namespace, this.override(overrides))
23558
+ DataRetrieval: (overrides) => ApiFactory.dataRetrievalApi(this.config, this.options.namespace, this.override(overrides)),
23559
+ version: GdprVersion
23040
23560
  },
23041
23561
  Event: {
23042
- Event: (overrides) => ApiFactory.eventApi(this.config, this.options.namespace, this.override(overrides))
23562
+ Event: (overrides) => ApiFactory.eventApi(this.config, this.options.namespace, this.override(overrides)),
23563
+ version: EventVersion
23043
23564
  },
23044
23565
  AccelbyteConfig: {
23045
- PublicTemplate: (overrides) => ApiFactory.publicTemplateApi(this.config, this.options.namespace, this.override(overrides))
23566
+ PublicTemplate: (overrides) => ApiFactory.publicTemplateApi(this.config, this.options.namespace, this.override(overrides)),
23567
+ version: OdinConfigVersion
23568
+ },
23569
+ version: () => {
23570
+ console.log('IamVersion: ', IamVersion.version);
23571
+ console.log('BuildinfoVersion: ', BuildinfoVersion.version);
23572
+ console.log('BasicVersion: ', BasicVersion.version);
23573
+ console.log('PlatformVersion: ', PlatformVersion.version);
23574
+ console.log('LegalVersion: ', LegalVersion.version);
23575
+ console.log('GdprVersion: ', GdprVersion.version);
23576
+ console.log('EventVersion: ', EventVersion.version);
23577
+ const axiosInstance = Network.create(this.config);
23578
+ axiosInstance
23579
+ .get('https://development.accelbyte.io/iam/version')
23580
+ .then(res => {
23581
+ console.log('-- axiosInstance res', res);
23582
+ console.log('-- current ver', IamVersion);
23583
+ })
23584
+ .catch(err => {
23585
+ console.log('-- axiosInstance err', err);
23586
+ });
23046
23587
  }
23047
23588
  };
23048
23589
  }
@@ -39725,7 +40266,7 @@ const PageConfig = mod.object({
39725
40266
  });
39726
40267
 
39727
40268
  /*
39728
- * Copyright (c) 2022 AccelByte Inc. All Rights Reserved
40269
+ * Copyright (c) 2022-2023 AccelByte Inc. All Rights Reserved
39729
40270
  * This is licensed software from AccelByte Inc, for limitations
39730
40271
  * and restrictions contact your company contract manager.
39731
40272
  */
@@ -40084,5 +40625,5 @@ CodeGenUtil.getFormUrlEncodedData = (data) => {
40084
40625
  return formPayload;
40085
40626
  };
40086
40627
 
40087
- 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 };
40628
+ 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, DesktopChecker, 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 };
40088
40629
  //# sourceMappingURL=index.browser.es.js.map