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